* lisp/dired.el (dired-read-regexp): Make obsolete. [Backport]
[emacs/old-mirror.git] / lisp / ChangeLog
blob1118623b7a7be6a74c6868dcdcd45aeee9cdb36b
1 2014-10-20  Glenn Morris  <rgm@gnu.org>
3         * dired.el (dired-read-regexp): Make obsolete.
4         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
5         (dired-flag-files-regexp):
6         * dired-aux.el (dired-mark-read-regexp):
7         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11         * progmodes/python.el (inferior-python-mode): Use add-hook.
13         * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
15 2014-10-20  Glenn Morris  <rgm@gnu.org>
17         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
18         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
19         * emulation/ws-mode.el: Move to obsolete/.  [Backport]
21 2014-10-20  Glenn Morris  <rgm@gnu.org>
23         * cus-start.el (history-length): Bump :version.  [Backport]
25 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
27         * obsolete/cc-compat.el: Make obsolete (bug#18561).
29         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
31         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
32         case (bug#18767).
34 2014-10-20  Glenn Morris  <rgm@gnu.org>
36         * Version 24.4 released.
38 2014-10-15  Alan Mackenzie  <acm@muc.de>
40         * cus-edit.el (custom-command-apply): Specify the return value in
41         the doc string.
42         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
43         custom-command-apply has returned non-nil.
45 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
47         * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
48         Backported (bug#18688).
50 2014-10-14  Eli Zaretskii  <eliz@gnu.org>
52         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
53         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
54         buffer-menu display when the first buffer happens to start with
55         R2L letter.
57 2014-10-13  Glenn Morris  <rgm@gnu.org>
59         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
60         (authors-obsolete-files-regexps): Additions.
61         (authors-no-scan-regexps): New constant.
62         (authors-no-scan-file-p): New function.
63         (authors): Respect authors-no-scan-file-p.
65 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
67         Fix import completion.  (Bug#18582)
68         * progmodes/python.el (python-shell-completion-get-completions):
69         Fix import case regexp.
71 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
73         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
74         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
75         * progmodes/prolog.el (prolog-electric--underscore): Same.
77 2014-10-09  Glenn Morris  <rgm@gnu.org>
79         * frame.el (display-monitor-attributes-list): Doc tweaks.
81 2014-10-08  Eli Zaretskii  <eliz@gnu.org>
83         * faces.el (display-grayscale-p): Mention in the doc string that
84         the argument can be either a display name or a frame.
86         * frame.el (display-pixel-height, display-pixel-width)
87         (display-mm-height, display-mm-width, display-backing-store)
88         (display-save-under, display-planes, display-color-cells)
89         (display-visual-class, display-monitor-attributes-list)
90         (display-screens): Mention in the doc string that the argument can
91         be either a display name or a frame.  Improve the docs of the
92         monitor attributes.  (Bug#18636)
94 2014-10-06  Martin Rudalics  <rudalics@gmx.at>
96         * term.el (term-window-width): Subtract 1 from the width when
97         any fringe has zero width, not just the right fringe.  (Bug#18601)
99 2014-10-05  Leo Liu  <sdl.web@gmail.com>
101         * imenu.el (imenu-default-goto-function): Fix typo.
103 2014-10-04  Glenn Morris  <rgm@gnu.org>
105         * frame.el (frame-monitor-attributes)
106         (display-monitor-attributes-list): Doc fixes.
108 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
110         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
111         (vc-svn-ignore): Use it.  (Bug#18619)
113 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
115         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
116         In doc-string mention need to set `frame-resize-pixelwise'.
118 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
120         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
121         similarly to Rogers's 2010-06-16 change for the remote case
122         (bug#18605).
124 2014-10-01  Glenn Morris  <rgm@gnu.org>
126         * emacs-lisp/package.el (package-import-keyring):
127         Create gnupg directory private.  (Bug#17625#155)
129 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
131         * progmodes/python.el (python-shell-completion-get-completions):
132         Use python-shell--prompt-calculated-input-regexp from the
133         process buffer (bug#18582).
134         Don't assume that `line' comes from the process buffer.
136 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
138         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
139         (bug#18462).
141 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
143         * emacs-lisp/package.el (package-check-signature): Default to nil if
144         GPG is not available.
145         (package-refresh-contents): Don't mess with the keyring if we won't
146         check the signatures anyway.
148 2014-09-18  Kan-Ru Chen  <kanru@kanru.info>
150         * window.el (fit-window-to-buffer): When counting buffer width,
151         count the whole visible buffer.  Correctly convert the body-height
152         to pixel size for window-text-pixel-size (Bug#18498).
154 2014-09-14  Glenn Morris  <rgm@gnu.org>
156         * image.el (image-multi-frame-p): Fix thinko - do not force
157         a delay if none was specified.  (Bug#18334)
159 2014-09-12  Kan-Ru Chen  <kanru@kanru.info>
161         * window.el (fit-window-to-buffer): Doc fix.
163 2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
165         * desktop.el (desktop-create-buffer): Check that buffers are still live
166         before burying them (bug#18373).
168 2014-09-09  Glenn Morris  <rgm@gnu.org>
170         * calendar/diary-lib.el (diary-list-entries):
171         Restore 24.3 display behavior.  (Bug#18381)
173 2014-09-09  Eli Zaretskii  <eliz@gnu.org>
175         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
176         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
177         discrepancy between window-pixel-edges and mouse events, and
178         avoids moving mode line up when the mouse click is on the modeline
179         and no drag is attempted.
181 2014-09-08  Glenn Morris  <rgm@gnu.org>
183         * calendar/calendar.el (calendar-basic-setup):
184         Avoid clobbering calendar with diary.  (Bug#18381)
186 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
188         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
190 2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)
192         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
193         as well (bug#18400).
195 2014-09-04  Eli Zaretskii  <eliz@gnu.org>
197         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
199 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * emacs-lisp/package.el (package-generate-description-file):
202         Properly quote the arguments (bug#18332).  Change second arg.
203         (package--alist-to-plist-args): Rename from package--alist-to-plist and
204         quote the elements.
205         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
206         the *-pkg.el file.  Adjust to new calling convention of
207         package-generate-description-file.
209         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
210         (gud-gdb-completions): Remove obsolete workaround.
212 2014-09-02  Eli Zaretskii  <eliz@gnu.org>
214         * subr.el (posn-col-row): Revert the change from commit
215         r99634.2.576 eliz@gnu.org-20101113210758-8ml5kibjtza5ysmb, which
216         was inadvertently merged from emacs-23 release branch in r102428
217         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
218         introduced an off-by-one error in the reported row when there is a
219         header line.  (Bug#18384)
221 2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
223         * progmodes/python.el (python-indent-post-self-insert-function):
224         Avoid electric colon at beginning-of-defun.  (Bug#18228)
226 2014-09-01  Glenn Morris  <rgm@gnu.org>
228         * tutorial.el (tutorial--display-changes):
229         Fix 2014-07-29 change.  (Bug#18382)
231 2014-08-29  Ken Brown  <kbrown@cornell.edu>
233         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
234         the Cygwin-w32 build.  (Bug#18347)
236 2014-08-28  Glenn Morris  <rgm@gnu.org>
238         * tar-mode.el (tar--extract, tar-extract):
239         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
241 2014-08-27  Michael Albinus  <michael.albinus@gmx.de>
243         * emacs-lisp/authors.el (authors-aliases): Addition.
245         * net/tramp-adb.el: Spell author name correctly.
247 2014-08-27  João Távora  <joaotavora@gmail.com>
249         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
250         use url-expand-file-name.  (Bug#18310)
252 2014-08-25  Glenn Morris  <rgm@gnu.org>
254         * emulation/cua-rect.el (cua--highlight-rectangle):
255         Avoid error at point-min.  (Bug#18309)
257 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
259         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
260         executable-find (bug#18244).
262         * simple.el (self-insert-uses-region-functions): Defvar.
264 2014-08-13  Leo Liu  <sdl.web@gmail.com>
266         * speedbar.el (speedbar-generic-list-tag-p): Allow special
267         elements from imenu.
269 2014-08-11  Glenn Morris  <rgm@gnu.org>
271         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
273         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
274         chose coding system for writing before backing up, since it causes
275         a more serious problem than the one it solves.  (Closes Bug#18141,
276         reopens Bug#13522.)
278 2014-08-10  Martin Rudalics  <rudalics@gmx.at>
280         * window.el (window-total-size): Make doc-string more
281         self-contained.
283 2014-08-09  Martin Rudalics  <rudalics@gmx.at>
285         * window.el (display-buffer-below-selected): Restore original
286         behavior if buffer is already displayed in the window below the
287         selected one (Bug#18181).
289 2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
291         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
292         event (bug#18212).
294 2014-08-08  Eli Zaretskii  <eliz@gnu.org>
296         * info.el (info): Doc fix.
298 2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
300         * info.el (Info-mode-map): Override a global down-mouse-2 binding
301         (bug#18212).
303 2014-08-05  Eli Zaretskii  <eliz@gnu.org>
305         * simple.el (default-line-height): A floating-point value of
306         line-spacing means a fraction of the default frame font's height,
307         not of the font currently used by the 'default' face.
308         Truncate the pixel value, like the display engine does.
309         (window-screen-lines): Use window-inside-pixel-edges for
310         determining the window height in pixels.  (Bug#18195)
312 2014-07-29  Eli Zaretskii  <eliz@gnu.org>
314         * tutorial.el (tutorial--display-changes): Accept punctuation
315         characters before the key binding.  (Bug#18146)
317 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
319         * doc-view.el (doc-view-open-text): Don't require that the
320         document is saved in a file (e.g., email attachment).
322 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
324         * window.el (window--pixel-to-total): Use FRAME's root window, not
325         that of the selected frame.  (Bug#18112, Bug#16674)
327 2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>
329         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
330         (Bug#18117)
332 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
334         * progmodes/python.el (inferior-python-mode): Doc fix.
336 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
338         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
339         not a character, ignore it instead of raising an error.
341 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
343         * calendar/todo-mode.el: Fix handling of marked items and make
344         minor code improvements.
345         (todo-edit-item): If there are marked items, ensure user can only
346         invoke editing commands that work with marked items.
347         (todo-edit-item--text): When there are marked items, make it a
348         noop if invoked with point not on an item; otherwise, ensure it
349         applies only to item at point.
350         (todo-item-undone): If there are marked not-done items, return
351         point to its original position before signaling user error.
352         (todo--user-error-if-marked-done-item): New function.
353         (todo-edit-item--header, todo-edit-item--diary-inclusion)
354         (todo-item-done): Use it.
356 2014-07-25  Glenn Morris  <rgm@gnu.org>
358         * files.el (toggle-read-only): Re-add basic doc-string.
359         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
361         * progmodes/prolog.el (prolog-mode-keybindings-edit):
362         Replace missing `switch-to-prolog' with `run-prolog'.
363         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
365 2014-07-22  Stephen Berman  <stephen.berman@gmx.net>
367         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
368         of file-wide setting when changing category-wide setting.
370 2014-07-21  Glenn Morris  <rgm@gnu.org>
372         * progmodes/hideif.el (hide-ifdef-mode-submap):
373         Also substitute read-only-mode.
374         * bindings.el (mode-line-toggle-read-only):
375         * bs.el (bs-toggle-readonly):
376         * buff-menu.el (Buffer-menu-toggle-read-only):
377         * dired.el (dired-toggle-read-only):
378         * files.el (view-read-only, find-file-read-only)
379         (find-file-read-only-other-window)
380         (find-file-read-only-other-frame):
381         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
382         Doc fixes re toggle-read-only.
384 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
386         * progmodes/python.el: Add comment about pipe buffering and
387         solutions for missing/delayed output in inferior Python shells.
388         (Bug#17304)
390 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
392         * progmodes/python.el (python-mode): Don't set
393         mode-require-final-newline.  (Bug#17990)
395 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
397         Make python.el work with IPython automatically.  (Bug#15510)
398         * progmodes/python.el:
399         (python-shell-completion-setup-code): New value supporting iPython.
400         (python-shell-completion-string-code): New value supporting iPython.
401         (python-shell-completion-get-completions): Use them.
402         (python-shell-completion-module-string-code): Make obsolete.
403         (python-shell-prompt-input-regexps)
404         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
405         (python-shell-output-filter): Fix comment typo.
407 2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
409         Fix Python shell prompts detection for remote hosts.
410         * progmodes/python.el (python-shell-prompt-detect):
411         Replace call-process with process-file and make it more robust.
413 2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
415         Autodetect Python shell prompts.  (Bug#17370)
416         * progmodes/python.el:
417         (python-shell-interpreter-interactive-arg)
418         (python-shell-prompt-detect-enabled)
419         (python-shell-prompt-detect-failure-warning)
420         (python-shell-prompt-input-regexps)
421         (python-shell-prompt-output-regexps): New vars.
422         (python-shell-prompt-calculated-input-regexp)
423         (python-shell-prompt-calculated-output-regexp): New vars.
424         (python-shell-get-process-name)
425         (python-shell-internal-get-process-name)
426         (python-shell-output-filter)
427         (python-shell-completion-get-completions): Use them.
428         (python-shell-prompt-detect)
429         (python-shell-prompt-validate-regexps): New functions.
430         (python-shell-prompt-set-calculated-regexps): New function.
431         (inferior-python-mode): Use it.  Also honor overridden
432         python-shell-interpreter and python-shell-interpreter-args.
433         (python-shell-make-comint): Honor overridden
434         python-shell-interpreter and python-shell-interpreter-args.
435         (python-shell-get-or-create-process): Make it testable by allowing
436         to call run-python non-interactively.
437         (python-util-valid-regexp-p): New function.
438         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
439         (python-shell-prompt-output-regexp)
440         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
442 2014-07-16  Glenn Morris  <rgm@gnu.org>
444         * desktop.el (after-init-hook): Disable startup frame restoration
445         in non-graphical situations.  (Bug#17693)
447 2014-07-14  Glenn Morris  <rgm@gnu.org>
449         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
450         if it was "empty", or used for a different set of files.  (Bug#17884)
452 2014-07-13  Eli Zaretskii  <eliz@gnu.org>
454         * bindings.el (mode-line-remote): If default-directory is not a
455         string, don't call file-remote-p on it; instead state in the
456         help-echo that it is nil.  (Bug#17986)
458 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
460         Fix bug: C-x v v discarded existing log message (Bug#17884).
461         * vc/vc-dispatcher.el (vc-log-edit):
462         Don't clobber an already-existing log message.
464 2014-07-10  Glenn Morris  <rgm@gnu.org>
466         * vc/log-edit.el (log-edit-changelog-entries):
467         Check for a visited-but-never-saved ChangeLog.
469 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
471         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
472         a non-existing file (bug#17970).
474         * faces.el (face-name): Undo last change.
475         (x-resolve-font-name): Don't call face-name (bug#17956).
477 2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
479         Fix dedenters and electric colon handling. (Bug#15163)
481         * progmodes/python.el
482         (python-rx-constituents): Add dedenter and block-ender.
483         (python-indent-dedenters, python-indent-block-enders): Delete.
484         (python-indent-context): Return new case for dedenter-statement.
485         (python-indent-calculate-indentation): Handle new case.
486         (python-indent-calculate-levels): Fix levels calculation for
487         dedenter statements.
488         (python-indent-post-self-insert-function): Fix colon handling.
489         (python-info-dedenter-opening-block-message): New function.
490         (python-indent-line): Use it.
491         (python-info-closing-block)
492         (python-info-closing-block-message): Remove.
493         (python-info-dedenter-opening-block-position)
494         (python-info-dedenter-opening-block-positions)
495         (python-info-dedenter-statement-p): New functions.
497 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
499         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
500         the middle of a line (bug#17896).
502 2014-07-08  Juri Linkov  <juri@jurta.org>
504         * startup.el (command-line): Append displaying the warning about
505         the errors in the init file to the end of `after-init-hook'.
506         (Bug#17927)
508 2014-07-08  Juri Linkov  <juri@jurta.org>
510         * faces.el (face-name): Return input arg `face' as is
511         when it's not a symbol.
512         (x-resolve-font-name): Don't check if the face is a symbol.
513         (Bug#17956)
515 2014-07-08  Juri Linkov  <juri@jurta.org>
517         * facemenu.el (list-colors-print): In help-echo format use %.2f
518         instead of %d because now HSV values are floating-point components
519         between 0.0 and 1.0.
521 2014-07-06  Glenn Morris  <rgm@gnu.org>
523         * emulation/cua-rect.el (cua--activate-rectangle):
524         Avoid setting cua--rectangle to nil.  (Bug#17877)
526 2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
528         * calendar/todo-mode.el: Fix wrong-type-argument error when
529         marking multiple consecutive items.
530         (todo-toggle-mark-item): Don't try to mark the empty lines at the
531         end of the todo and done items sections.  Note in doc string that
532         items marked by passing a numeric prefix argument can include the
533         last todo and first done items.
534         (todo-mark-category): Don't try to mark the empty line between the
535         todo and done items sections.
537 2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
539         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
540         proper Lisp quoting (bug#17934).
542         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
543         require-final-newline since prog-mode already took care of it (bug#17947).
545 2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
547         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
548         refer to the Todo mode Info manual.  Update the comment on
549         requiring cl-lib.
550         (todo-find-filtered-items-file): Add todo-prefix overlays.
551         (todo-filter-items): Reorder a let-bound variable to avoid a
552         wrong-type-argument error on canceling the file choice dialog.
554 2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
556         * progmodes/octave.el (inferior-octave-mode):
557         Set comint-input-ring-size to a number (bug#17912).
559 2014-07-03  Juri Linkov  <juri@jurta.org>
561         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
562         and `isearch-mode' associated with nil.  (Bug#17849)
564 2014-07-02  Juri Linkov  <juri@jurta.org>
566         * desktop.el (desktop-save): Rename arg `auto-save' to
567         `only-if-changed'.  Doc fix.  (Bug#17873)
569 2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
571         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
572         Use insert-for-yank (bug#17271).
574 2014-07-02  Leo Liu  <sdl.web@gmail.com>
576         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
577         Support lexical-binding.
579 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
581         * vc/log-edit.el (log-edit-goto-eoh): New function.
582         (log-edit--match-first-line): Use it (bug#17861).
584 2014-07-01  Glenn Morris  <rgm@gnu.org>
586         * vc/log-edit.el (log-edit-hook): Add missing :version.
588 2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
590         * progmodes/python.el (python-indent-post-self-insert-function):
591         Enhancements to electric indentation behavior inside
592         parens. (Bug#17658)
594 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
596         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
597         buffer-invisibility-spec (bug#17867).
599 2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
601         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
602         pass "-a".
604 2014-06-29  Glenn Morris  <rgm@gnu.org>
606         * cus-edit.el (help):
607         * finder.el (finder-known-keywords):
608         * help.el (help-for-help-internal):
609         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
610         (ediff-redraw-registry-buffer):
611         * vc/ediff-ptch.el (ediff-patch-file-internal):
612         Doc fixes re "online" help.  (Bug#17803)
614         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
615         (idlwave-mode): Doc URL update.
617 2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
619         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
620         account for file-wide setting of todo-top-priorities-overrides.
621         Make code a bit cleaner.
623 2014-06-27  Leo Liu  <sdl.web@gmail.com>
625         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
627 2014-06-27  Glenn Morris  <rgm@gnu.org>
629         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
631 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
633         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
634         category-wide setting of todo-top-priorities-overrides, check for
635         a file-wide setting and fontify accordingly.
637 2014-06-26  Glenn Morris  <rgm@gnu.org>
639         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
641 2014-06-26  Daiki Ueno  <ueno@gnu.org>
643         * emacs-lisp/package.el (package--check-signature):
644         If package-check-signature is allow-unsigned, don't signal error when
645         we can't verify signature because of missing public key
646         (backport for bug#17625).
648 2014-06-26  Glenn Morris  <rgm@gnu.org>
650         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
651         Remove outdated declaration.
653         * emacs-lisp/authors.el (authors-valid-file-names)
654         (authors-renamed-files-alist): Additions.
656 2014-06-25  Leo Liu  <sdl.web@gmail.com>
658         * textmodes/picture.el (picture-set-tab-stops):
659         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
660         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
662         * progmodes/asm-mode.el (asm-calculate-indentation):
663         Use indent-next-tab-stop.
665         * indent.el (indent-accumulate-tab-stops): New function.
667 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
669         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
670         (package-desc-status): Obey it.
672 2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
674         * calendar/todo-mode.el: Fix two bugs.
675         (todo-insert-item--basic): If user cancels item insertion to
676         another category before setting priority, show original category
677         whether it is in the same or a different file.
678         (todo-set-item-priority): After selecting category, instead of
679         moving point to top, which extends an active region, restore it.
681 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
683         * help-fns.el (describe-function-1): Check file-name is a string before
684         calling help-fns--autoloaded-p (bug#17564).
686 2014-06-24  Juri Linkov  <juri@jurta.org>
688         * desktop.el (desktop-auto-save-enable)
689         (desktop-auto-save-disable): New functions.
690         (desktop-save-mode, desktop-auto-save-timeout): Use them.
691         (desktop-read): Disable the autosave before loading the desktop,
692         and enable afterwards.  (Bug#17351)
694 2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
696         Fix some indentation problem with \; and pipes (bug#17842).
697         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
698         (sh-smie--default-forward-token, sh-smie--default-backward-token):
699         New functions.
700         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
701         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
702         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
704 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
706         * international/fontset.el (script-representative-chars):
707         Add representative characters for scripts added in Unicode 7.0.
708         (otf-script-alist): Synchronize with the latest registry of OTF
709         script tags.
711         * international/characters.el (char-script-table): Update for
712         scripts added and codepoint ranges changed in Unicode 7.0.
714 2014-06-23  Leo Liu  <sdl.web@gmail.com>
716         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
717         tab-stop-list to nil.  (Bug#16381)
719         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
720         (indent-rigidly-left-to-tab-stop)
721         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
722         (move-to-tab-stop): Change callers.
724 2014-06-22  Eli Zaretskii  <eliz@gnu.org>
726         * skeleton.el (skeleton-insert): Yet another fix of the doc string
727         wrt behavior of \n as the first/last element of a skeleton.
729 2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
731         * net/tramp-adb.el (tramp-adb-handle-process-file):
732         * net/tramp-sh.el (tramp-sh-handle-process-file):
733         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
734         the output buffer when DISPLAY is non-nil.  (Bug#17815)
736 2014-06-21  Glenn Morris  <rgm@gnu.org>
738         * play/landmark.el (landmark-move-down, landmark-move-up):
739         Fix 2007-10-20 change - preserve horizontal position.
741 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
743         Fix completion retrieval parsing (bug#17209).
744         * progmodes/python.el (python-mode):
745         (python-util-strip-string): New function.
746         (python-shell-completion-get-completions): Use it.
748 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
750         * skeleton.el (skeleton-insert): Fix last change.
752 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
754         Enhancements for outline integration (bug#17796).
755         * progmodes/python.el (python-mode): Properly set
756         outline-heading-end-regexp so that comments after colons for
757         defuns are supported.
759 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
761         * skeleton.el (skeleton-insert): Doc fix.
763 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
765         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
766         (smie-config-guess): Use smie-config-local so the rules are obeyed
767         (bug#17818).
769         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
770         since it's already done inside the loop (bug#17819).
772 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
774         * mouse.el (mouse-drag-line): Re-remove code initially removed
775         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
776         (Bug#17819).
778 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
780         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
781         align with the surrounding parent (bug#17721).
783 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
785         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
786         locally to nil.
787         (texinfo-insert-block, texinfo-insert-@end)
788         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
789         local setting of skeleton-end-newline by adding an explicit \n to
790         the skeletons where appropriate.  (Bug#17801)
792 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
794         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
795         (smie-indent--hanging-p): Use it.
796         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
798 2014-06-20  Leo Liu  <sdl.web@gmail.com>
800         * simple.el (read-quoted-char): Don't let help chars pop up help
801         buffer.  (Bug#16617)
803 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
805         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
806         for | (bug#17621).
808 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
810         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
811         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
812         burping.
814 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
816         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
817         and later.  (Bug#17790)
819 2014-06-18  Juri Linkov  <juri@jurta.org>
821         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
822         to `soft'.  (Bug#17554)
824 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
826         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
827         (bug#17737).
829 2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
831         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
832         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
834 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
836         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
837         `unread-command-events'.
839 2014-06-14  Glenn Morris  <rgm@gnu.org>
841         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
842         Replace delete-duplicates and mapcan by cl- versions throughout.
843         And cl-macroexpand-all by macroexpand-all.
844         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
846 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
848         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
850 2014-06-14  Juri Linkov  <juri@jurta.org>
852         * bindings.el: Put `ascii-character' property on keypad keys
853         mapped to characters.  (Bug#17759)
855 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
857         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
858         bumping forward into a closing paren (bug#17761).
860         * term/xterm.el (xterm--version-handler): Work around for OSX
861         Terminal.app (bug#17607).
863 2014-06-08  Glenn Morris  <rgm@gnu.org>
865         * startup.el (initial-buffer-choice): Doc fix.
866         Reset :version (adding an option does not merit a :version bump).
868         * bookmark.el (bookmark-load):
869         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
871 2014-06-06  Juri Linkov  <juri@jurta.org>
873         * desktop.el: Activate auto-saving on window configuration changes.
874         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
875         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
876         (desktop-auto-save-set-timer): Change REPEAT arg of
877         `run-with-idle-timer' from t to nil.
878         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
880 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
882         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
883         vc-hg-command (bug#17570).
885 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
887         * international/mule-cmds.el (ucs-names): Add special entry for BEL
888         (bug#17702).
890 2014-06-06  Glenn Morris  <rgm@gnu.org>
892         * startup.el (window-setup-hook): Doc fix.
894 2014-06-05  Glenn Morris  <rgm@gnu.org>
896         * emacs-lisp/package.el (package-check-signature)
897         (package-unsigned-archives): Doc fixes.
899 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
901         * window.el (display-buffer-use-some-window): Don't make window
902         used smaller than it was before (Bug#17671).
904 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
906         * menu-bar.el (menu-bar-open): Fix last change: use the PC
907         'redisplay' instead of '(sit-for 0)'.
909 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
911         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
912         regexp.  (Bug#17653)
914 2014-06-03  Glenn Morris  <rgm@gnu.org>
916         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
918 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
920         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
922 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
924         * simple.el (keyboard-quit): Force update of mode lines, to remove
925         the "Def" indicator, if we were defining a macro.  (Bug#17615)
927 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
929         * minibuffer.el (minibuffer-force-complete-and-exit):
930         Obey minibuffer-default (bug#17545).
932         * progmodes/js.el (js-indent-line): Don't mix columns and chars
933         (bug#17619).
935 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
937         * subr.el (set-transient-map): Don't wait for some "nested"
938         transient-map to finish if we're only supposed to be active for
939         the next command (bug#17642).
941 2014-05-31  Leo Liu  <sdl.web@gmail.com>
943         * emacs-lisp/gv.el (window-buffer, window-display-table)
944         (window-dedicated-p, window-hscroll, window-point, window-start):
945         Fix gv-expander.  (Bug#17630)
947 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
949         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
950         clicks (bug#17633).
952         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
953         for the single comma, since ", " is *very* common in normal French text
954         (bug#17643).
956 2014-05-30  Glenn Morris  <rgm@gnu.org>
958         * emacs-lisp/package.el (package-check-signature)
959         (package-unsigned-archives): Fix :version.
961 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
963         * subr.el (sit-for): Don't run input-methods (bug#15614).
965 2014-05-28  Glenn Morris  <rgm@gnu.org>
967         * cus-start.el: Fix some :version numbers.
969 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
971         * simple.el (deactivate-mark): Set mark-active to nil even if
972         deactivation is done via setting transient-mark-mode to nil,
973         since one is buffer-local and the other is global.
975         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
976         there can't be more than 2 arguments (bug#17584).
978 2014-05-27  Glenn Morris  <rgm@gnu.org>
980         * simple.el (filter-buffer-substring-functions)
981         (filter-buffer-substring-function, buffer-substring-filters)
982         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
984         * minibuffer.el (completion-in-region-functions, completion-in-region)
985         (completion--in-region): Doc fixes.
987         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
988         (expand-abbrev, abbrev--default-expand): Doc fixes.
990 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
992         Include sources used to create macuvs.h.
993         * international/README: Refer to the Unicode Terms of Use rather
994         than copying it bodily here, as that simplifies maintenance.
996 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
998         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1000 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
1002         * window.el (window--dump-frame): Remove interactive
1003         specification.
1005 2014-05-23  Glenn Morris  <rgm@gnu.org>
1007         * hippie-exp.el (he-line-search-regexp):
1008         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1010 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1012         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1013         to avoid errors when trying to create or visit a file foo.todo
1014         located outside to todo-directory, and to allow having such files
1015         without them being tied to Todo mode (bug#17482).
1016         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1017         (todo-archive-done-item, todo-find-filtered-items-file)
1018         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1019         (todo-category-completions, todo-read-category): When visiting a
1020         Todo file, make sure we're in the right mode and the buffer local
1021         variables are set.
1022         (todo-make-categories-list, todo-reset-nondiary-marker)
1023         (todo-reset-done-string, todo-reset-comment-string):
1024         After processing all Todo files, kill the buffers of those files that
1025         weren't being visited before the processing.
1026         (todo-display-as-todo-file, todo-add-to-buffer-list)
1027         (todo-visit-files-commands): Comment out.
1028         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1029         (auto-mode-alist): Remove add-to-list calls making Todo file
1030         extensions unrestrictedly tied to Todo modes.
1032 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1034         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1035         (advice-function-member-p): Tell it to check both names and functions
1036         (bug#17531).
1037         (advice--add-function): Adjust call accordingly.
1039 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1041         * calendar/todo-mode.el: Miscellaneous bug fixes.
1042         (todo-delete-file): When deleting an archive but not its todo
1043         file, make sure to update the todo file's category sexp.
1044         (todo-move-category): Keep the moved category's name unless the
1045         file moved to already has a category with that name.  If the
1046         numerically last category of the source file was moved, make the
1047         first category current to avoid selecting a nonexisting category.
1048         (todo-merge-category): Fix implementation to make merging to a
1049         category in another file work as documented.  Eliminate now
1050         insufficient and unnecessary renaming of archive category, correct
1051         document string accordingly, and clarify it.  If the numerically
1052         last category of the source file was merged, make the first
1053         category current to avoid selecting a nonexisting category.
1054         (todo-archive-done-item): When there are marked items and point
1055         happens to be on an unmarked item, ignore the latter.  Don't leave
1056         point below last item after archiving marked items.
1057         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1058         from an archive with only one category deletes the archive only
1059         when the category is empty after unarchiving.  Make sure the todo
1060         file's category sexp is updated.
1061         (todo-read-file-name): Allow an existing file name even when it is
1062         not required (todo-move-category needs this to work as documented).
1063         (todo-add-file): Call todo-validate-name to reject the name of an
1064         existing todo file (needed due to fix in todo-read-file-name).
1065         (todo-reset-nondiary-marker): Also reset in filtered items files.
1066         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1067         regexp filtered items files.
1068         (todo-reset-highlight-item): Also reset in filtered items files.
1069         Fix incorrect variable reference in document string.
1071 2014-05-22  Glenn Morris  <rgm@gnu.org>
1073         * window.el (window--dump-frame): Avoid error in --without-x builds.
1075 2014-05-21  Glenn Morris  <rgm@gnu.org>
1077         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1079 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
1081         * frame.el (set-frame-font): Doc fix.
1083         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
1085 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
1087         * emacs-lisp/package.el (package--download-one-archive):
1088         Use `write-region' instead of `save-buffer' to avoid running various
1089         hooks.  (Bug#17155)
1090         (describe-package-1): Same.  Insert newline at the end of the
1091         buffer if appropriate.
1093 2014-05-20  Juri Linkov  <juri@jurta.org>
1095         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1096         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1097         Add more modifiers: meta, control, shift, hyper, super, alt.
1098         (Bug#17439)
1100         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1101         to allow changing its value with `set-variable'.
1103 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1105         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1106         #; comments.
1107         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1108         New functions.
1109         (scheme-mode-variables): Set syntax-propertize-function instead of
1110         font-lock-syntactic-face-function.
1111         (scheme-font-lock-syntactic-face-function): Delete.
1113         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1115 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1117         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1118         (bug#17392).
1120 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
1122         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1123         for a temporary file name.
1125 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
1127         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
1129 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
1131         * net/dbus.el (dbus-init-bus, dbus-call-method)
1132         (dbus-call-method-asynchronously, dbus-send-signal)
1133         (dbus-method-return-internal, dbus-method-error-internal):
1134         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
1136 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1138         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1139         methods which do not have a doc string.  (Bug#17490)
1141 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
1142             Stefan Monnier  <monnier@iro.umontreal.ca>
1144         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1145         suffix (bug#15419).
1147 2014-05-14  Glenn Morris  <rgm@gnu.org>
1149         * vc/emerge.el (emerge-temp-file-prefix):
1150         Make pointless option obsolete.
1151         (emerge-temp-file-mode): Make non-functional option obsolete.
1153 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
1155         * net/browse-url.el (browse-url):
1156         Use `unhandled-file-name-directory' when setting `default-directory',
1157         in order to circumvent stalled remote connections.  (Bug#17425)
1159 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1161         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1162         into autoloading just because of a silly indirection.
1164 2014-05-11  Santiago Payà i Miralta  <santiagopim@gmail.com>  (tiny change)
1166         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
1168 2014-05-11  Glenn Morris  <rgm@gnu.org>
1170         * emacs-lisp/find-gc.el: Move to ../admin.
1172 2014-05-10  Glenn Morris  <rgm@gnu.org>
1174         * printing.el (pr-version):
1175         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1177         * net/browse-url.el (browse-url-mosaic):
1178         Create /tmp/Mosaic.PID as a private file.
1180 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1182         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1183         (advice--member-p): If name is given, only compare the name.
1184         (advice--remove-function): Don't stop at the first match.
1185         (advice--normalize-place): New function.
1186         (add-function, remove-function): Use it.
1187         (advice--add-function): Pass the name, if any, to
1188         advice--remove-function.
1190 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
1192         * electric.el (electric-indent-post-self-insert-function): Don't use
1193         `pos' after modifying the buffer (bug#17449).
1195 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1197         * subr.el (function-put): Add function.
1199 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
1201         * calendar/todo-mode.el (todo-insert-item-from-calendar):
1202         Correct argument list to conform to todo-insert-item--basic.
1204 2014-05-09  Glenn Morris  <rgm@gnu.org>
1206         * files.el (cd-absolute): Test if directory is accessible
1207         rather than executable.  (Bug#17330)
1209         * progmodes/compile.el (recompile):
1210         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
1212 2014-05-08  Juri Linkov  <juri@jurta.org>
1214         * dired.el (dired-check-switches, dired-switches-recursive-p):
1215         New functions.  (Bug#17218)
1216         (dired-switches-escape-p, dired-move-to-end-of-filename):
1217         Use `dired-check-switches'.
1218         (dired-insert-old-subdirs, dired-build-subdir-alist)
1219         (dired-sort-R-check): Use `dired-switches-recursive-p'.
1221 2014-05-08  Glenn Morris  <rgm@gnu.org>
1223         * net/browse-url.el (browse-url-mosaic):
1224         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
1225         This is CVE-2014-3423.
1227 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1229         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1230         (xterm-mouse--read-event-sequence-1000): Return nil if something
1231         looks fishy.
1232         (xterm-mouse-event): Propagate it.
1233         (xterm-mouse-translate-1): Handle it.
1235 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
1237         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1238         four slots of the parameter list are filled, make sure to pass it
1239         to the argument list of todo-insert-item--basic.
1241 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1243         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1244         Add optional `seen' argument to detect and break infinite loops.
1246 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
1248         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1249         (trace-unsafe, trace-use-tree): Make parentheses style be
1250         according to Emacs style.
1252 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
1254         * net/tramp-sh.el (tramp-remote-process-environment):
1255         Remove HISTFILE and HISTSIZE; it's too late to set them here.
1256         Add :version entry.
1257         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1258         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
1259         extra "PSx=..." commands.
1260         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1261         (Bug#17295)
1263         (tramp-uudecode): Replace the hard-coded temporary file name by a
1264         format specifier.
1265         (tramp-remote-coding-commands): Enhance docstring.
1266         (tramp-find-inline-encoding): Replace "%t" by a temporary file
1267         name.  (Bug#17415)
1268         This is CVE-2014-3424.
1270 2014-05-06  Glenn Morris  <rgm@gnu.org>
1272         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1273         (find-gc-source-files): Update some names.
1274         (trace-call-tree): Simplify and update.
1275         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
1276         This is CVE-2014-3422.
1278 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1280         * minibuffer.el (completion--try-word-completion): Revert fix for
1281         Bug#15980 (bug#17375).
1283         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1284         Always store button numbers in the same way in xterm-mouse-last;
1285         Don't burp is xterm-mouse-last is not set as expected.
1286         Never return negative indices.
1288 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
1290         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1291         Backtrack one char if the global/char-literal var matcher hits
1292         inside a string.  The next char could be the beginning of an
1293         expression expansion.
1295 2014-05-05  Glenn Morris  <rgm@gnu.org>
1297         * help-fns.el (describe-function-1): Test for an autoload before a
1298         macro, since `macrop' works on autoloads.  (Bug#17410)
1300 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * electric.el (electric-indent-functions-without-reindent): Add yaml.
1304         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1305         Make sure the new point we return is within the new string (bug#17239).
1307 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
1309         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1311 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1314         Use nil rather than `default' for the "default" appearance (bug#17388).
1315         * vc/ediff-util.el (ediff-inferior-compare-regions)
1316         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1317         a misleading `default' value when it's really a boolean.
1318         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1319         overlay is not visible.
1321 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1323         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1324         (todo-menu): Uncomment and update.
1326 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1328         * calendar/todo-mode.el: Reimplement item editing to have the same
1329         basic user interface as item insertion, and make small UI and
1330         larger internal improvements to the latter.
1331         (todo-insert-item): Add reference to the Todo mode user manual to
1332         the documentation string.
1333         (todo-insert-item--basic): Rename from todo-basic-insert-item and
1334         adjust all callers.  Change signature to combine diary and
1335         nonmarking arguments.  Incorporate functionality of deleted item
1336         copying command and add error checking.  Remove detailed
1337         descriptions of the arguments from the documentation string, since
1338         this is treated in the Todo mode user manual.
1339         (todo-copy-item, todo-edit-multiline-item)
1340         (todo-edit-done-item-comment, todo-edit-item-header)
1341         (todo-edit-item-time, todo-edit-item-date-from-calendar)
1342         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1343         (todo-edit-item-date-year, todo-edit-item-date-month)
1344         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1345         Remove.
1346         (todo-edit-item): Reimplement as wrapper command for
1347         todo-edit-item--next-key and make it distinguish done and not done
1348         todo items.
1349         (todo-edit-item--text): New function, replacing old command
1350         todo-edit-item and incorporating deleted commands
1351         todo-edit-multiline-item and todo-edit-done-item-comment.
1352         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1353         Use only numeric value of prefix argument.  Remove detailed
1354         descriptions of the arguments from the documentation string, since
1355         this is treated in the Todo mode user manual.
1356         (todo-edit-item--diary-inclusion): New function, replacing old
1357         command todo-edit-item-diary-inclusion and incorporating and fixing
1358         functionality of deleted command todo-edit-item-diary-nonmarking,
1359         making sure to remove todo-nondiary-marker when adding
1360         diary-nonmarking-symbol.
1361         (todo-edit-category-diary-inclusion): Make sure to delete
1362         diary-nonmarking-symbol when adding todo-nondiary-marker.
1363         (todo-edit-category-diary-nonmarking): Fix indentation.
1364         (todo-insert-item--parameters): Group diary and nonmarking
1365         parameters together.
1366         (todo-insert-item--apply-args): Adjust to signature of
1367         todo-insert-item--basic and incorporate copy parameter.
1368         Make small code improvements.
1369         (todo-insert-item--next-param): Improve prompt and adjust it to
1370         new parameter grouping.  Remove obsolete code.
1371         (todo-edit-item--param-key-alist)
1372         (todo-edit-item--date-param-key-alist)
1373         (todo-edit-done-item--param-key-alist): New defconsts.
1374         (todo-edit-item--prompt): New variable.
1375         (todo-edit-item--next-key): New function.
1376         (todo-key-bindings-t): Bind "e" to todo-edit-item.
1377         Remove bindings of deleted commands.
1379 2014-05-02  Leo Liu  <sdl.web@gmail.com>
1381         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1383 2014-05-01  Glenn Morris  <rgm@gnu.org>
1385         * allout-widgets.el (allout-widgets-tally)
1386         (allout-decorate-item-guides):
1387         * menu-bar.el (menu-bar-positive-p):
1388         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1389         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1390         * progmodes/js.el (js--inside-param-list-p)
1391         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1392         * progmodes/prolog.el (region-exists-p):
1393         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1394         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1395         Doc fixes (replace `iff').
1397 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1399         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1401 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
1403         * dired.el (dired-initial-position-hook, dired-initial-position):
1404         Doc string fixes.
1406 2014-04-29  Glenn Morris  <rgm@gnu.org>
1408         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
1410 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
1412         * faces.el (face-spec-recalc): Apply X resources only after the
1413         defface spec has been applied. Thus, X resources are no longer
1414         overridden by the defface spec which also fixes issues on win32 where
1415         the toolbar coloring was wrong because it is set through X resources
1416         and was (wrongfully) overridden.  (Bug#16694)
1418 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1420         * textmodes/rst.el (electric-pair-pairs): Declare.
1421         (rst-mode): Set it (bug#17131).
1423 2014-04-27  Juri Linkov  <juri@jurta.org>
1425         * desktop.el (desktop-value-to-string): Let-bind `print-length'
1426         and `print-level' to nil.  (Bug#17351)
1428 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1430         * battery.el (battery-update): Handle the case where battery
1431         status is "N/A" (bug#17319).
1433 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
1435         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1436         Use equal-including-properties to compare help-echo strings (bug#17331).
1438 2014-04-24  Leo Liu  <sdl.web@gmail.com>
1440         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1441         Fix syntax for @.  (Bug#17325)
1443 2014-04-24  Daniel Colascione  <dancol@dancol.org>
1445         * emacs-lisp/cl.el (gv): Require gv early to break eager
1446         macro-expansion cycles.
1448 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1450         * simple.el (region-active-p): Check there's a mark (bug#17324).
1452         * simple.el (completion-list-mode-map): Use choose-completion for the
1453         mouse binding as well (bug#17302).
1454         (completion-list-mode, completion-setup-function): Adjust docstring and
1455         echo area message accordingly.
1456         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1457         calling convention of choose-completion.
1458         * comint.el (comint-dynamic-list-completions):
1459         * term.el (term-dynamic-list-completions): Accept choose-completion.
1461         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1462         &, |, +, - and * can't be a division (bug#17317).
1464 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1466         * term/xterm.el (xterm--version-handler): Don't use modern xterm
1467         features on gnome-terminal (bug#16988).
1469 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
1471         * dired.el (dired-insert-set-properties): Do not consider
1472         subdirectory headings and empty lines to be information that
1473         `dired-hide-details-mode' should hide.  (Bug#17228)
1475 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
1477         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1478         Remove test messages.
1479         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1480         and `target' twice.
1482 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1485         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1487         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1489 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
1491         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1492         Set "IFS=" when using read builtin, in order to preserve spaces in
1493         the file name.  Add test messages for hunting a bug on hydra.
1494         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
1496 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1498         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1499         Don't prettify a word within a symbol.
1501 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
1503         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1504         possible.
1506 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1508         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1509         assignments such as "case=hello" (bug#17297).
1511 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
1513         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1514         Do not autoload.
1515         (tramp-file-name-handler, tramp-completion-file-name-handler):
1516         Revert patch from 2014-04-10, it isn't necessary anymore.
1517         (tramp-autoload-file-name-handler)
1518         (tramp-register-autoload-file-name-handlers): New defuns.
1519         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1520         (tramp-register-file-name-handlers): Remove also
1521         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1522         Do not autoload its invocation, but eval it after loading of 'tramp.
1524         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1526         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1528 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1530         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1531         was done (bug#17264).
1532         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1533         comment to EOB.
1535         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1536         here-documents (bug#17262).
1538 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
1540         * term/pc-win.el (x-list-fonts, x-get-selection-value):
1541         Provide doc strings, as required by snarf-documentation.
1543 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1545         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1546         arg of overlays-at.  Use `invisible-p'.
1548         * obsolete/lucid.el (extent-at):
1549         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1550         overlays-at.
1551         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1553 2014-04-14  João Távora  <joaotavora@gmail.com>
1555         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1556         links.  (Bug#17217).
1558 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1560         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1561         Use mapc to loop over a vector.  (Bug#17257).
1563 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
1565         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1566         patch, there are new problems with file names containing spaces.
1567         Get rid of backticks.  (Bug#17238)
1569 2014-04-13  João Távora  <joaotavora@gmail.com>
1571         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1572         possible bug.
1574 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
1576         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1577         (blink-cursor-mode): Mention customization variables and the
1578         effect of 'blink-cursor-blinks'.
1580 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
1582         * simple.el (undo): Prevent insertion of identity mapping into
1583         undo-equiv-table so as undo-only does not inf loop in the presence
1584         of consecutive nils in undo list.
1586 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
1588         * faces.el (make-face): Deprecate optional argument as it is no
1589         longer needed/used since the conditional X resources handling
1590         has been pushed down to make-face-x-resource-internal itself.
1591         (make-empty-face): Don't pass optional argument to make-face.
1593 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
1595         * international/characters.el <standard-case-table>: Add entries
1596         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
1597         Set category of Coptic characters be 'g' (Greek).
1599 2014-04-12  Leo Liu  <sdl.web@gmail.com>
1601         * progmodes/octave.el (completion-table-with-cache): Define if not
1602         available.
1603         (octave-goto-function-definition)
1604         (octave-sync-function-file-names)
1605         (octave-find-definition-default-filename): Backquote upattern for
1606         compatibility.
1608 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
1610         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1611         name twice due to backticks.  (Bug#17238)
1613 2014-04-11  Glenn Morris  <rgm@gnu.org>
1615         * term/w32-win.el (x-win-suspend-error):
1616         * term/x-win.el (x-win-suspend-error): Sync docs.
1618 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1620         Ediff's overlay priorities cause more trouble than they solve.
1621         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1622         (ediff-highest-priority): Remove function (bug#17234).
1623         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1624         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1625         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1626         overlay priorities.
1628 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
1630         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1631         entry; use symbol boundaries to avoid mis-matches.
1633 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
1635         * net/tramp.el (tramp-file-name-handler)
1636         (tramp-completion-file-name-handler): Avoid recursive loading.
1638         * net/tramp-sh.el (tramp-make-copy-program-file-name):
1639         Quote result also locally.
1641 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
1643         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1644         Module methods.  (Bug#17216)
1646 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1648         * help.el (describe-bindings): Fix buffer handling (bug#17210).
1649         (describe-bindings-internal): Mark obsolete.
1651 2014-04-07  João Távora  <joaotavora@gmail.com>
1653         * elec-pair.el:
1654         (electric-pair--syntax-ppss): When inside comments parse from
1655         comment beginning.
1656         (electric-pair--balance-info): Fix typo in comment.
1657         (electric-pair--in-unterminated-string-p): Delete.
1658         (electric-pair--unbalanced-strings-p): New function.
1659         (electric-pair-string-bound-function): New var.
1660         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1661         according to `electric-pair--in-unterminated-string-p'
1663 2014-04-07  João Távora  <joaotavora@gmail.com>
1665         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1666         Inhibit quote pairing if point-max is inside an unterminated string.
1667         (electric-pair--looking-at-unterminated-string-p): Delete.
1668         (electric-pair--in-unterminated-string-p): New function.
1670 2014-04-07  Glenn Morris  <rgm@gnu.org>
1672         * shell.el (shell-directory-tracker):
1673         Go back to just ignoring failures.  (Bug#17159)
1675 2014-04-06  João Távora  <joaotavora@gmail.com>
1677         Fix `electric-pair-delete-adjacent-pairs' in modes binding
1678         backspace. (bug#16981)
1679         * elec-pair.el (electric-pair-backward-delete-char): Delete.
1680         (electric-pair-backward-delete-char-untabify): Delete.
1681         (electric-pair-mode-map): Bind backspace to a menu item filtering
1682         a new `electric-pair-delete-pair' command.
1683         (electric-pair-delete-pair): New command.
1685 2014-04-06  João Távora  <joaotavora@gmail.com>
1687         * progmodes/python.el (python-electric-pair-string-delimiter):
1688         Fix triple-quoting electricity.  (Bug#17192)
1690 2014-04-06  João Távora  <joaotavora@gmail.com>
1692         * elec-pair.el (electric-pair-post-self-insert-function):
1693         Don't skip whitespace when `electric-pair-text-pairs' and
1694         `electric-pair-pairs' were used. syntax to
1695         electric-pair--skip-whitespace.  (Bug#17183)
1697 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
1699         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1700         "<F>".  (Bug#17199)
1702 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1704         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1705         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1707 2014-04-05  Glenn Morris  <rgm@gnu.org>
1709         * help.el (view-lossage): Doc tweak.
1711 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
1713         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1714         only when inhibit-x-resources is nil, and do that earlier in the
1715         function.  Doc fix.  (Bug#16694)
1716         (face-spec-choose): Accept additional optional argument, whose
1717         value is returned if no matching attributes are found.
1718         (face-spec-recalc): Use the new optional argument when calling
1719         face-spec-choose.  (Bug#16378)
1720         (make-face-x-resource-internal): Do nothing when
1721         inhibit-x-resources is non-nil.  Don't touch the default face if
1722         reversed video is given--as was done in previous versions of Emacs.
1723         (face-set-after-frame-default): Don't call
1724         make-face-x-resource-internal here.  (Bug#16434)
1726 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
1728         * doc-view.el (doc-view-bookmark-jump):
1729         Use `bookmark-after-jump-hook' to jump to the right page after the
1730         buffer is shown in a window.  (bug#16090)
1732 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
1734         * international/characters.el (mirroring): Fix last change:
1735         instead of loading uni-mirrored.el explicitly, do that implicitly
1736         by creating the 'mirroring' uniprop table.  This avoids announcing
1737         the loading of uni-mirrored.el.
1739 2014-04-04  Glenn Morris  <rgm@gnu.org>
1741         * files.el (buffer-stale--default-function)
1742         (buffer-stale-function, revert-buffer--default):
1743         * autorevert.el (auto-revert-buffers): Doc tweaks.
1745 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
1747         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
1749 2014-04-03  Glenn Morris  <rgm@gnu.org>
1751         * files.el (make-backup-file-name-function)
1752         (make-backup-file-name, make-backup-file-name--default-function)
1753         (make-backup-file-name-1, find-backup-file-name)
1754         (revert-buffer-function, revert-buffer-insert-file-contents-function)
1755         (buffer-stale--default-function, buffer-stale-function)
1756         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1757         (revert-buffer, revert-buffer--default)
1758         (revert-buffer-insert-file-contents--default-function):
1759         Doc fixes related to defaults no longer being nil.
1760         (make-backup-file-name-function): Bump :version.
1761         Restore nil as a valid but deprecated custom type.
1763 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1766         used as a variable (bug#17174).
1768 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1770         * progmodes/perl-mode.el (perl-indent-new-calculate):
1771         Handle forward-sexp failure (bug#16985).
1772         (perl-syntax-propertize-function): Add "foreach" and "for" statement
1773         modifiers introducing expressions (bug#17116).
1775 2014-04-02  Glenn Morris  <rgm@gnu.org>
1777         * menu-bar.el (menu-bar-file-menu):
1778         * vc/ediff.el (ediff-current-file):
1779         Update for revert-buffer-function no longer being nil by default.
1781         * simple.el (command-execute): Respect nil disabled-command-function.
1783 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1785         * simple.el (command-execute): Do not execute the command when it
1786         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
1788 2014-03-29  Juri Linkov  <juri@jurta.org>
1790         * dired-aux.el (dired-compress-file): Don't use string-match-p
1791         because its match data is used afterwards.
1793 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1795         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1796         0 like nil.
1798 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
1800         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1801         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
1803         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1804         Don't propertize `?' or `!' as symbol constituent when after
1805         colon.  (Bug#17097)
1807 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
1809         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1810         which is no longer needed and causes trouble in GTK builds (bug#17046).
1812         * emacs-lisp/package-x.el (package--archive-contents-from-url):
1813         Use url-insert-file-contents; package-handle-response no longer exists.
1815 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
1817         * emacs-lisp/package.el: Fix bug#16733 (again).
1818         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1819         (url-http-target-url): Remove unused declarations.
1820         (package-handle-response): Remove.
1821         (package--with-work-buffer): Use url-insert-file-contents and simplify.
1822         (package--download-one-archive): Use current-buffer instead of
1823         dynamic binding of `buffer'.
1824         (describe-package-1): Do not decode readme-string.
1826 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
1828         * simple.el (primitive-undo): Correction to 2014-03-24 change.
1830 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
1832         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1834         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1835         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
1836         `remote-file-name-inhibit-cache' to nil in the second pass.
1837         (tramp-find-executable): Do not call "which" on SunOS.
1838         (tramp-send-command-and-check): Fix docstring.
1839         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1840         check whether source directory has set the sticky bit.
1842 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
1844         * simple.el (primitive-undo): Only process marker adjustments
1845         validated against their corresponding (TEXT . POS).  Issue warning
1846         for lone marker adjustments in undo history.  (Bug#16818)
1847         (undo-make-selective-list): Add marker adjustments to selective
1848         undo list based on whether their corresponding (TEXT . POS) is in
1849         the region.  Remove variable adjusted-markers, which was unused
1850         and only non nil during undo-make-selective-list.
1851         (undo-elt-in-region): Return nil when passed a marker adjustment
1852         and explain in function doc.
1854 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
1856         * emacs-lisp/package.el (package--add-to-archive-contents):
1857         Include already installed and built-in packages in
1858         `package-archive-contents'.
1859         (package-install): Don't include already installed packages in the
1860         options during interactive invocation.  (Bug#16762)
1862 2014-03-24  Daniel Colascione  <dancol@dancol.org>
1864         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1865         instead of cl-loop search function.
1867 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
1869         * frameset.el (frameset--initial-params): Fix typo in parameter name.
1871 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1873         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1875 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
1877         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1878         Match special global variables without curlies, too.
1879         (ruby-font-lock-keywords): Simplify the matcher for special global
1880         variables.  Don't require a non-word character after the variable.
1881         (Bug#17057)
1883 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1885         * simple.el (redisplay-highlight-region-function): Increase priority of
1886         overlay to make sure boundaries are visible (bug#15899).
1888 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
1890         * frameset.el (frameset-restore): Compare display strings with equal.
1892         * frame.el (make-frame): Don't quote display name in error message,
1893         it is already a string.
1895 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1897         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1898         the password.
1900 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
1902         * emacs-lisp/package.el (package-show-package-list): If the buffer
1903         is already displayed in another window, switch to that window.
1905 2014-03-21  Daniel Colascione  <dancol@dancol.org>
1907         * mail/emacsbug.el (report-emacs-bug): Include memory usage
1908         information in bug reports.
1910 2014-03-23  Daniel Colascione  <dancol@dancol.org>
1912         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1913         list to look for keyword arguments instead of `memq', fixing
1914         (Bug#3647) --- unfortunately, only for freshly-compiled code.
1915         Please make bootstrap.
1917 2014-03-23  Richard Stallman  <rms@gnu.org>
1919         * battery.el (battery-linux-sysfs): Search for each field
1920         from the beginning of the buffer.
1922 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
1924         * emacs-lisp/package.el (package-desc): Use the contents of the
1925         quoted form, not its cdr.  (Bug#16873)
1927 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
1929         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1930         benefit of doc.c; change parameter profile to match the X function.
1932 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
1934         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1935         and `tramp-copy-env'.
1937         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1938         (tramp-maybe-open-connection): Handle `tramp-login-env'.
1940 2014-03-21  Glenn Morris  <rgm@gnu.org>
1942         * electric.el (electric-indent-post-self-insert-function): Add doc.
1944 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1946         * emacs-lisp/package.el (package-compute-transaction):
1947         Use `version-list-<=' to compare the requirement version against
1948         the version of package already to be installed.  Update the error
1949         message.  (Bug#16826)
1951         * progmodes/ruby-mode.el (ruby-smie-rules):
1952         Add indentation rule for ` @ '.  (Bug#17050)
1954 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
1956         * align.el (align-regexp): Remove superfluous backslash.
1958         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1959         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1960         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1961         Fix docstring typos.
1962         (ffap-next): Use C-u in docstring.
1963         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1964         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1965         Remove superfluous backslashes.
1966         (ffap-string-at-point): Reflow docstring.
1968         * server.el (server-host): Reflow docstring.
1969         (server-unload-function): Fix docstring typo.
1970         (server-eval-at): Remove superfluous backslash.
1972         * skeleton.el (skeleton-insert): Remove superfluous backslash.
1973         (skeleton-insert): Doc fix.
1974         (skeleton-insert): Reflow docstring.
1976         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1977         (tty-color-approximate, tty-color-by-index, tty-color-values)
1978         (tty-color-desc): Remove superfluous backslashes.
1980 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1982         * electric.el (electric-newline-and-maybe-indent): New command.
1983         Bind it globally to C-j.
1984         (electric-indent-mode): Don't mess with the global map any more.
1985         Don't drop the post-self-insert-hook is some buffer is still using it
1986         (bug#16770).
1988         * bindings.el (global-map): Remove C-j binding.
1990         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1991         the docstring of functions advised before dumping (bug#16993).
1993 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1995         * ps-print.el (ps-generate-postscript-with-faces):
1996         Explicitly deactivate the mark (bug#16866).
1997         * simple.el (deactivate-mark): Update region highlight.
1999 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
2001         * emacs-lisp/package.el (describe-package-1):
2002         Decode commentary (bug#16733).
2004 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
2006         * custom.el (defcustom): Doc fix: recommend avoiding destructive
2007         modification of the value argument of :set (bug#16755).
2009 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2011         * simple.el (newline-and-indent): Do autofill (bug#17031).
2013 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
2015         * newcomment.el (comment-normalize-vars): Only add escaping check
2016         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
2017         (comment-beginning): Use `narrow-to-region' instead of moving back
2018         one character.
2019         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2020         (comment-start-skip): Update the docstring.
2022 2014-03-18  Richard Stallman  <rms@gnu.org>
2024         * dired.el (dired-display-file): Force use of other window.
2026 2014-03-18  Daniel Colascione  <dancol@dancol.org>
2028         * startup.el (tty-handle-args): Remove debug message from 2007.
2030 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2032         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2033         (advice--make-interactive-form): Use it to avoid (auto)loading function.
2034         (advice--make-1, advice-add, advice-remove):
2035         Remove braindead :advice-pending hack.
2037 2014-03-17  Glenn Morris  <rgm@gnu.org>
2039         * calendar/calendar.el (calendar-generate-month): Apply weekend
2040         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
2042 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
2044         * net/tramp.el (tramp-action-out-of-band): Read pending output.
2045         (tramp-call-process): Trace also DESTINATION.
2047         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2048         Quote file names when they are local.  Remove superfluous trace.
2050 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
2052         * newcomment.el (comment-beginning): If `comment-start-skip'
2053         doesn't match, move back one char and try again.  (Bug#16971)
2055         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2056         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2057         Set `comment-start-skip' to a simpler value that doesn't try to
2058         check if the semicolon is escaped (this is handled by
2059         `syntax-ppss' now).  (Bug#16971)
2061         * progmodes/scheme.el (scheme-mode-variables): Same.
2063 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
2065         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2066         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2067         current (Bug#16816, Bug#17007).
2068         (with-current-buffer-window): New macro doing the same as
2069         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2070         * help.el (help-print-return-message): Warn in doc-string to not
2071         use this in `with-help-window'.
2072         (describe-bindings-internal): Call `describe-buffer-bindings'
2073         from within help buffer.  See Juanma's scenario in (Bug#16816).
2074         (with-help-window): Update doc-string.
2075         * dired.el (dired-mark-pop-up):
2076         * files.el (save-buffers-kill-emacs):
2077         * register.el (register-preview): Use `with-current-buffer-window'
2078         instead of `with-temp-buffer-window'.
2080 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
2082         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2083         Implement inserting into current buffer, documented in their docstrings.
2084         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2085         (rst-section-tree-point, rst-forward-section, rst-indent)
2086         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2087         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2088         (rst-font-lock-handle-adornment-pre-match-form)
2089         (rst-repeat-last-character): Reflow docstrings.
2090         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2091         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2092         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2093         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2094         Fix docstring typos.
2095         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2096         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2097         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2099 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
2101         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2102         for compatibility with other ports.
2103         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
2104         from the -xrm command line argument, but in the Nextstep port its value
2105         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2107         * progmodes/python.el (defconst, python-syntax-count-quotes)
2108         (python-indent-region, python-indent-shift-right)
2109         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2110         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2111         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2112         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2113         (inferior-python-mode, python-shell-make-comint, run-python-internal)
2114         (python-shell-buffer-substring, python-shell-send-buffer)
2115         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2116         (python-completion-complete-at-point, python-fill-docstring-style)
2117         (python-eldoc-function, python-imenu-format-item-label)
2118         (python-imenu-format-parent-item-label)
2119         (python-imenu-format-parent-item-jump-label)
2120         (python-imenu--build-tree, python-imenu-create-index)
2121         (python-imenu-create-flat-index): Fix docstring typos.
2122         (python-indent-context, python-shell-prompt-regexp, run-python):
2123         Remove superfluous backslashes.
2124         (python-indent-line, python-nav-beginning-of-defun)
2125         (python-shell-get-buffer, python-shell-get-process)
2126         (python-info-current-defun, python-info-current-line-comment-p)
2127         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2128         (python-indent-post-self-insert-function, python-shell-send-file)
2129         (python-shell-completion-get-completions)
2130         (python-shell-completion-complete-or-indent)
2131         (python-eldoc--get-doc-at-point): Reflow docstrings.
2133 2014-03-14  Glenn Morris  <rgm@gnu.org>
2135         * emacs-lisp/package.el (package-menu-mode-map):
2136         Replace use of obsolete function alias.  Tweak menu item text.
2138         * info.el (Info-finder-find-node):
2139         Ignore the `emacs' metapackage.  (Bug#10813)
2141         * finder.el (finder-list-matches): Include unversioned packages
2142         in the result of a keyword search.
2144         * finder.el (finder--builtins-descriptions): New constant.
2145         (finder-compile-keywords): Use finder--builtins-descriptions.
2147 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
2149         * simple.el (blink-matching-paren): Describe the new value,
2150         `jump', enabling the old behavior.
2151         (blink-matching-open): Use that value.  (Bug#17008)
2153 2014-03-14  Glenn Morris  <rgm@gnu.org>
2155         * finder.el (finder-no-scan-regexp): Add leim-list.
2156         (finder-compile-keywords):
2157         Don't skip files with same basename.  (Bug#14010)
2158         * Makefile.in (setwins_finder): New, excluding leim.
2159         (finder-data): Use setwins_finder.
2161         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2162         (help-function-arglist, help-make-usage): Move from here...
2163         * help.el (help-split-fundoc, help-add-fundoc-usage)
2164         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
2165         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2167 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
2169         * net/socks.el (socks, socks-override-functions)
2170         (socks-find-services-entry):
2171         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2172         (hif-find-ifdef-block):
2173         * progmodes/modula2.el (m2-indent): Fix docstring typos.
2175         * net/tls.el (tls-program): Reflow docstring.
2177         * progmodes/pascal.el (pascal-mode-abbrev-table)
2178         (pascal-imenu-generic-expression, pascal-auto-endcomments)
2179         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2180         (pascal-outline-mode): Fix docstring typos.
2181         (pascal-mode): Let define-derived-mode document mode hook.
2182         (pascal-uncomment-area): Reflow.
2183         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2185         * progmodes/opascal.el (opascal-compound-block-indent)
2186         (opascal-case-label-indent): Fix docstring typos.
2187         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2189 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
2191         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2192         Fontify multiple adjacent negation chars.  (Bug#17004)
2194 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2196         * emacs-lisp/package.el (package--prepare-dependencies):
2197         Accept requirements without explicit version (bug#14941).
2199 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2201         * register.el (register-separator, copy-to-register): Doc fixes.
2202         (register-preview-default): Remove unnecessary call to concat.
2204         * frameset.el (frameset-restore): When checking for a visible frame,
2205         use the action map instead of calling visible-frame-list.
2207 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
2209         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2211 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
2213         * window.el (fit-frame-to-buffer): Get maximum width from
2214         display's width instead of height.
2216 2014-03-12  Glenn Morris  <rgm@gnu.org>
2218         * desktop.el (desktop-restore-frames)
2219         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2220         (desktop-restore-reuses-frames): Doc tweaks.
2222         * electric.el (electric-indent-mode): Doc fix.
2224 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2226         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2227         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2228         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2229         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2230         (cvs-dired-use-hook): Fix docstring typos.
2231         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2232         Doc fixes.
2234         * vc/pcvs-defs.el (cvs-auto-remove-handled)
2235         (cvs-auto-remove-directories, cvs-default-ignore-marks)
2236         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2237         (cvs-execute-single-dir): Fix docstring typos.
2239         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2240         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2242         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2244         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2245         Fix docstring typos.
2247 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2249         * frameset.el (frameset--jump-to-register): Add autoload; it could be
2250         called from jump-to-register after unloading the frameset package.
2252 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2254         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2255         (bug#16975).  Deactivate the mark before setting it to nil.
2256         (activate-mark): Do nothing if region is already active.
2258 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2260         * frameset.el (frameset--target-display): Remove definition; declare.
2261         (frameset-save, frameset-restore): Let-bind frameset--target-display.
2263 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2265         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2266         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2267         when the advice is pending.
2268         (advice-remove): Remove this marker when not needed any more.
2270 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2272         * frameset.el: Separate options for reusing frames and cleaning up.
2273         (frameset--reuse-list): Remove definition; declare.
2274         (frameset--action-map): Declare.
2275         (frameset--find-frame-if): Doc fix.
2276         (frameset--restore-frame): Cache frame action.
2277         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2278         how to clean up the frame list after restoring.  Remove cleaning
2279         options from REUSE-FRAMES.  Change all keyword values to symbols.
2280         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2282         * desktop.el (desktop-restore-forces-onscreen)
2283         (desktop-restore-reuses-frames): Use non-keyword values.
2284         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2286 2014-03-10  Glenn Morris  <rgm@gnu.org>
2288         * files.el (find-file): Doc fix: update info node name.
2290         * emacs-lisp/advice.el (ad-add-advice, defadvice):
2291         Doc fix: remove references to deleted info nodes.
2293 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
2295         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2296         Do not add `nil' to the environment, when there's no remote `locale'.
2297         (tramp-find-inline-encoding): Check, that the remote host has
2298         installed perl, before sending scripts.
2300 2014-03-10  Leo Liu  <sdl.web@gmail.com>
2302         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2303         Clear eldoc-last-message.  (Bug#16920)
2305 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2307         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2308         (bug#14430).
2310 2014-03-09  Juri Linkov  <juri@jurta.org>
2312         * ansi-color.el (ansi-color-names-vector): Copy default colors
2313         from `xterm-standard-colors' that look well on the default white
2314         background (and also on the black background) to avoid illegible
2315         color combinations like yellow-on-white and white-on-white.
2316         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2318 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
2320         * frameset.el (frameset-restore): When no frame is visible, do not
2321         generate a list of frames, just make visible the selected one.
2323 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
2325         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2326         it only contains the repository root.  (Bug#16897)
2328 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
2330         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2331         only when `remote-file-name-inhibit-cache' is nil.
2332         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
2334 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
2336         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2337         Fix doc-strings.
2338         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
2339         fit-frame-to-buffer variable.  Fix doc-string.
2340         (fit-window-to-buffer): Set ONLY argument in call of
2341         fit-frame-to-buffer.  Fix doc-string.
2343 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
2345         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2346         (tramp-action-password): Clear password cache if needed.
2347         (tramp-read-passwd): Do not clear password cache.
2349         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2350         cache unless it is the first password request.
2352 2014-03-06  Glenn Morris  <rgm@gnu.org>
2354         * simple.el (newline): Doc tweak.
2356         * emacs-lisp/shadow.el (load-path-shadows-find):
2357         Ignore dir-locals.  (Bug#12357)
2359 2014-03-05  Glenn Morris  <rgm@gnu.org>
2361         * files.el (interpreter-mode-alist):
2362         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
2364 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2366         * frameset.el (frameset--initial-params): Filter out null entries.
2368 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
2370         * window.el (window-min-height, window-min-width):
2371         Rewrite doc-strings.
2372         (window-body-size): Add PIXELWISE argument to make it consistent
2373         with its callees.
2375 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2377         * finder.el (finder-mode-map, finder-mode-syntax-table):
2378         Revert part of 2014-02-28 change.
2380 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
2382         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2383         (eww-setup-buffer): Clear next/prev/etc more reliably.
2384         (eww-textarea-map): [tab] doesn't work on tty.
2385         Reported by Mario Lang.
2387         * net/shr.el (shr-map): Ditto.
2389 2014-03-04  Glenn Morris  <rgm@gnu.org>
2391         * minibuffer.el (completion-hilit-commonality):
2392         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2394 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2396         * hilit-chg.el (hilit-chg-unload-function): New function.
2397         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2398         (hilit-chg-map-changes): Prefer cardinal number to digit.
2399         (hilit-chg-display-changes): Reflow docstring.
2400         (highlight-changes-rotate-faces): Remove superfluous backslash.
2402 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
2404         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2405         `tramp-send-command-and-check'.
2407 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2409         * hexl.el (hexl-address-region, hexl-ascii-region)
2410         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2411         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2412         (hexl-forward-word, hexl-previous-line, hexl-next-line):
2413         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2414         (hexl-mode): Doc fix.
2415         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2416         (hexl-mode-ruler): Fix typos in docstrings.
2418         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2419         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2420         Remove superfluous backslashes.
2421         (strokes-last-stroke, strokes-global-map, strokes-mode):
2422         Reflow docstrings.
2423         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2424         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2425         (strokes-distance-squared, strokes-global-set-stroke)
2426         (strokes-global-set-stroke-string): Doc fixes.
2427         (strokes-help): Fix typos; reflow docstring.
2429 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
2431         * window.el (window-in-direction): Fix doc-string.
2433 2014-03-04  Glenn Morris  <rgm@gnu.org>
2435         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2436         Explicit error if no grammar.
2437         (smie-config-save): Doc fix.  Fix quote typo.
2439 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2441         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2442         electric-indent-mode-hook if we obey electric-indent-mode.
2443         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2444         decide whether we obey electric-indent-mode.
2445         (c-change-set-fl-decl-start, c-extend-after-change-region):
2446         Silence warnings.
2447         (c-electric-indent-mode-hook): Assume we do want to obey
2448         electric-indent-mode.
2450         * electric.el (electric-indent-mode-has-been-called): Remove.
2451         (electric-indent-mode): Fix accordingly.
2453         * files.el (hack-local-variables): Mention file name in warning.
2455         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2457 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
2459         * bindings.el: Add comment describing why C-d binds to `delete-char'.
2460         * simple.el (delete-forward-char): Mark as interactive-only.
2462 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
2464         * icomplete.el (icomplete-completions):
2465         Follow-up to 2014-03-01 change.
2467         * icomplete.el: Miscellaneous doc fixes.
2468         Use Icomplete everywhere instead of icomplete for consistency.
2469         (icomplete-max-delay-chars): Fix typo.
2470         (icomplete-mode): Use \[].
2471         (icomplete-tidy, icomplete-exhibit): Reflow.
2472         (icomplete-minibuffer-setup-hook, icomplete-completions):
2473         Remove superfluous backlashes.
2475         * ido.el: Miscellaneous doc fixes.
2476         Use Ido everywhere instead of ido or `ido' for consistency.
2477         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2478         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2479         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2480         (ido-separator): Extract obsolescence info from docstring and declare
2481         with make-obsolete-variable.
2482         (ido-minibuffer-setup-hook): Simplify example.
2483         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2484         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2485         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2486         (ido-everywhere): Reflow docstring.
2487         (ido-toggle-vc): Doc fix.
2488         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2489         of long list of keybindings.
2491 2014-03-03  Glenn Morris  <rgm@gnu.org>
2493         * frame.el (display-pixel-height, display-pixel-width)
2494         (display-mm-dimensions-alist, display-mm-height)
2495         (display-mm-width): Doc tweaks.
2497 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
2499         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2500         case of undo in region.
2502 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
2504         * window.el (fit-window-to-buffer): Fix argument in window-size
2505         call when window is horizontally combined.
2507 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
2509         * icomplete.el (icomplete-completions): Use string-width.
2510         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2512 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
2514         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2515         Highlight regexp options.  (Bug#16914)
2517 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
2519         * window.el (window--max-delta-1): Round down when calculating
2520         how many lines/columns we can get from a window.
2522 2014-03-01  Glenn Morris  <rgm@gnu.org>
2524         * isearch.el (search-invisible): Doc fix.
2526         * minibuffer.el (completion-hilit-commonality):
2527         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
2528         * comint.el (comint-dynamic-list-completions): Doc fix.
2529         * comint.el (comint-dynamic-list-completions):
2530         * filecache.el (file-cache-minibuffer-complete):
2531         * tempo.el (tempo-display-completions):
2532         * eshell/em-hist.el (eshell-list-history):
2533         Replace use of obsolete argument of display-completion-list.
2535 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
2537         * icomplete.el (icomplete-completions):
2538         Revert back to using "..." when ?… cannot be displayed.
2540 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
2542         * finder.el (finder-unload-function): New function.
2544 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
2546         * dframe.el (dframe-detach):
2547         * find-dired.el (find-dired, find-name-dired):
2548         * finder.el (finder-mode-map, finder-mode-syntax-table)
2549         (finder-headmark, finder-select, finder-mouse-select):
2550         Fix docstring typos.
2552 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
2554         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2555         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2556         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2557         Fix doc-string based on a suggestion by Nicolas Richard
2558         <theonewiththeevillook@yahoo.fr>.
2559         * help.el (with-help-window): Fix doc-string.
2561 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
2563         * net/shr.el (shr-image-animate): New option.
2564         (shr-put-image): Respect shr-image-animate.
2566 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
2568         * net/tramp-adb.el (tramp-adb-parse-device-names):
2569         Use `accept-process-output'.
2570         (tramp-adb-handle-file-truename): Cache the localname only.
2571         (tramp-adb-handle-make-directory)
2572         (tramp-adb-handle-delete-directory): Flush file properties correctly.
2573         (tramp-adb-handle-set-file-modes): Do not raise an error when file
2574         modes cannot be changed.
2576         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2577         file properties of symlinks.
2579 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
2581         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2582         required/optional fields to match development biblatex.  (Bug#16781)
2584 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
2586         * saveplace.el (toggle-save-place):
2587         Fix argument handling.  (Bug#16673)
2589 2014-02-28  Glenn Morris  <rgm@gnu.org>
2591         * minibuffer.el (completions-first-difference)
2592         (completions-common-part, completion-hilit-commonality): Doc fixes.
2594 2014-02-28  Karl Berry  <karl@gnu.org>
2596         * info.el (Info-mode-map): Add H for describe-mode,
2597         to synchronize with standalone Info.
2599 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
2601         * progmodes/sql.el (sql-interactive-mode):
2602         Avoid setting global comint-input-ring-separator.  (Bug#16814)
2604 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
2606         * net/dbus.el (dbus--init-bus): Declare function.
2607         (dbus-path-local, dbus-interface-local): New defconst.
2608         (dbus-init-bus): Use them.
2609         (dbus-return-values-table): Extend doc.
2610         (dbus-handle-bus-disconnect): Extend error message.
2612 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
2614         * subr.el (y-or-n-p): Fix double space issue in message.
2616 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
2618         * net/tramp.el (tramp-call-process): Improve trace message.
2619         (tramp-handle-insert-file-contents): Trace error case.
2621         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2622         <insert-directory>: Use `tramp-handle-insert-directory'.
2623         (tramp-adb-handle-insert-directory): Remove function.
2624         (tramp-adb-send-command-and-check): New defun, replacing
2625         `tramp-adb-command-exit-status'.  Change all callees.
2626         (tramp-adb-handle-file-attributes)
2627         (tramp-adb-handle-directory-files-and-attributes): Use it.
2628         (tramp-adb-ls-output-name-less-p):
2629         Use `directory-listing-before-filename-regexp'.
2630         (tramp-adb-handle-delete-directory): Flush also file properties of
2631         the truename of directory.
2632         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2633         (tramp-adb-handle-file-local-copy): Make the local copy readable.
2634         (tramp-adb-handle-write-region): Implement APPEND.
2635         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
2636         properties correctly.
2637         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2638         variables.  Check for connected devices only when needed.
2640 2014-02-27  Glenn Morris  <rgm@gnu.org>
2642         * minibuffer.el (completion-table-dynamic)
2643         (completion-table-with-cache): Doc fixes.
2645         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2646         (completing-read-multiple): Doc fixes.
2648 2014-02-27  Daniel Colascione  <dancol@dancol.org>
2650         * minibuffer.el (completion--nth-completion): Fix indentation.
2652         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2653         explicit tramp path is empty.
2655 2014-02-27  Glenn Morris  <rgm@gnu.org>
2657         * emacs-lisp/crm.el (completing-read-multiple):
2658         Empower help-enable-auto-load.
2660 2014-02-26  Glenn Morris  <rgm@gnu.org>
2662         * startup.el (command-line): Don't init the tty in daemon mode.
2664         Avoid calling tty-setup-hook twice, eg if a term file
2665         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
2666         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2667         (tty-create-frame-with-faces): Use it.
2668         * startup.el (command-line): Pass run-hook argument
2669         to tty-run-terminal-initialization.
2671         * dired.el (dired-restore-desktop-buffer): Demote errors;
2672         eg in case a glob match fails.  (Bug#16884)
2674 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
2676         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2677         error from `read-from-string'.  (Bug#16850)
2679         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2680         result of `completing-read' in the interactive form.  (Bug#16854)
2682 2014-02-25  Glenn Morris  <rgm@gnu.org>
2684         * image.el (image-animate, image-animate-timeout):
2685         Stop animating images in dead buffers.  (Bug#16878)
2687         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
2689         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2690         Doc fixes.
2691         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
2692         * term/sun.el (sun-raw-prefix-hooks):
2693         Use tty-setup-hook instead of term-setup-hook.
2694         (terminal-init-sun): Construct message from bytecomp plist.
2695         * term/wyse50.el (enable-arrow-keys): Doc fix.
2697 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
2699         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2700         Fix docstring typos.
2702 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
2704         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2706 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2708         * minibuffer.el (completion--try-word-completion):
2709         Fix error when completing M-x commands (bug#16808).
2711 2014-02-24  Leo Liu  <sdl.web@gmail.com>
2713         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2715 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
2717         * apropos.el (apropos-print): Avoid formatting error when
2718         apropos-do-all and apropos-compact-layout are both t.
2720 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
2722         * apropos.el (apropos-property, apropos-all-words-regexp)
2723         (apropos-true-hit, apropos-variable, apropos-print):
2724         Fix docstring typos, and remove obsolete comment.
2726 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
2728         * net/tramp-sh.el (tramp-sh-handle-file-truename):
2729         Preserve trailing "/".  (Bug#16851)
2731 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
2733         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2734         after `=>' (bug#16811).
2735         (ruby-smie-rules): Handle the inconsistent second element of the
2736         list returned by `smie-indent--parent'.
2737         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2738         method call.
2740 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
2742         * elec-pair.el (electric-pair-text-syntax-table)
2743         (electric-pair-syntax-info, electric-pair--syntax-ppss)
2744         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2745         (electric-pair--looking-at-unterminated-string-p): Doc fix.
2746         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
2748 2014-02-22  Glenn Morris  <rgm@gnu.org>
2750         * imenu.el (imenu--generic-function): Doc fix.
2752         * register.el (frame-configuration-to-register): Make obsolete.
2754 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
2756         * desktop.el (desktop-save-buffer-p): Do not fail when
2757         desktop-files-not-to-save is nil.  Return t for true result
2758         as the doc says.
2760 2014-02-22  Daniel Colascione  <dancol@dancol.org>
2762         * net/secrets.el (secrets-create-item, secrets-search-items):
2763         Check that attribute values are strings, avoiding the construction
2764         of invalid dbus messages.
2766 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2768         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2769         defun-declarations-alist.
2771 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2773         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2774         (bug#16829).
2776 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2778         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2779         (whitespace-newline, whitespace-trailing, whitespace-line)
2780         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2781         (whitespace-space-after-tab): Fix typo in docstrings.
2783 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
2785         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2787         * electric.el (electric-indent-functions-without-reindent):
2788         Add `yaml-indent-line'.
2790 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2792         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2793         It has done nothing for years; should be removed after the release.
2795         * simple.el (choose-completion): Fix docstring typo.
2796         (read-quoted-char-radix): Remove unneeded * in docstring.
2797         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2798         Don't escape parentheses unnecessarily in docstrings.
2800 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
2802         Fix handling of window-min-height/-width (Bug#16738).
2803         * window.el (window--dump-window, window--dump-frame):
2804         New functions.
2805         (window--min-size-1): Account for window dividers.
2806         When window-resize-pixelwise is nil, delay rounding till after the
2807         sum of the window components has been calculated.
2808         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2809         nil make sure at least one text line and two text columns remain
2810         fully visible.
2811         (window-resize): Signal an error when window-resize-apply fails.
2812         (window--resize-child-windows): Fix calculation of by how many
2813         pixels a window can still be shrunk via window-new-normal.
2814         (adjust-window-trailing-edge): Call window--resizable with
2815         correct TRAIL argument.
2817         (with-temp-buffer-window): Don't evaluate BODY within
2818         with-current-buffer (Bug#16816).
2820 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
2822         * net/tramp.el (tramp-check-cached-permissions):
2823         Call `file-attributes' with `suffix' being a symbol but a string.
2825 2014-02-21  Daniel Colascione  <dancol@dancol.org>
2827         * net/dbus.el (dbus-init-bus-1): Declare new subr.
2828         (dbus-init-bus): New function: call into dbus-init-bus-1
2829         and installs a handler for the disconnect signal.
2830         (dbus-call-method): Rewrite to look for result in cons.
2831         (dbus-call-method-handler): Store result in cons.
2832         (dbus-check-event): Recognize events with nil sender as valid.
2833         (dbus-handle-bus-disconnect): New function.  React to bus
2834         disconnection signal by synthesizing dbus error for each
2835         pending synchronous or asynchronous call.
2836         (dbus-notice-synchronous-call-errors): New function.
2837         (dbus-handle-event): Raise errors directly only when `dbus-debug'
2838         is true, not all the time.
2840 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2842         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2843         Remove obsolescence declarations, these variables do not exist anymore.
2845         * savehist.el (savehist-save-minibuffer-history)
2846         (savehist-additional-variables, savehist-file, savehist-mode-hook)
2847         (savehist-save-hook, savehist-coding-system, savehist-loaded)
2848         (savehist-load, savehist-install, savehist-autosave): Fix typos;
2849         mostly, refer to "Savehist mode" when talking about the mode,
2850         and not the function.
2852         * saveplace.el (save-place): Remove redundant info in docstring.
2853         (save-place-forget-unreadable-files, toggle-save-place)
2854         (save-place-forget-unreadable-files, save-place-dired-hook):
2855         Fix typos and remove unneeded backslashes.
2857 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
2859         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2860         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2862         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2863         <insert-directory>: Use `tramp-handle-insert-directory'.
2864         (tramp-gvfs-handle-insert-directory): Remove function.
2866         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2867         Call `tramp-handle-insert-directory'.
2869 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
2871         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2872         before the start of buffer/region (bug#16799).
2874 2014-02-20  Glenn Morris  <rgm@gnu.org>
2876         * isearch.el (search-invisible): Doc fix.
2878 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
2880         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2881         (bug#16657).
2883 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
2885         * frameset.el (frameset-restore): Delay removing an old frame's
2886         duplicate id until the new frame has been correctly created.
2888 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
2890         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2891         (tramp-check-cached-permissions): Call `file-attributes' if the
2892         cache is empty.
2894         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2895         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2897         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2898         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2899         (tramp-gvfs-maybe-open-connection): Set always connection
2900         properties, even if target is mounted already.
2902         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2903         Set tramp-autoload cookie.
2904         (tramp-get-remote-touch): New defun.
2905         (tramp-sh-handle-set-file-times): Use it.
2906         (tramp-sh-handle-directory-files-and-attributes):
2907         Use `tramp-handle-directory-files-and-attributes' if neither stat
2908         nor perl are available on the remote host.
2910         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2911         "/".  Write long listing only when "l" belongs to the switches.
2913         * net/trampver.el: Update release number.
2915 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
2917         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2919 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
2921         * window.el (window-state-put): Allow WINDOW to refer to an
2922         internal window (Bug#16793).
2924 2014-02-19  Glenn Morris  <rgm@gnu.org>
2926         * textmodes/remember.el: Move provide statement to end.
2927         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2928         (remember-notes): Doc fixes.
2930 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2932         * delsel.el (delete-char): Restore incorrectly erased property
2933         (bug#16795).
2935 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
2937         * frameset.el (frameset--restore-frame): When a frame is being reused
2938         and its root window is not alive, delete all the frame's windows before
2939         restoring the window state.  This works around the issue in bug#16793.
2941 2014-02-18  Glenn Morris  <rgm@gnu.org>
2943         * textmodes/remember.el (remember-data-directory)
2944         (remember-directory-file-name-format, remember-store-in-files)
2945         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2946         (remember-notes-save-and-bury-buffer)
2947         (remember-notes--kill-buffer-query): Doc fixes.
2949         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2951 2014-02-17  Alan Mackenzie  <acm@muc.de>
2953         Connect electric-indent-mode up with CC Mode.  Bug #15478.
2954         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2955         to electric-indent-{,local-}-mode.
2956         (c-basic-common-init): Set electric-indent-inhibit.
2957         Initialise c-electric-flag from electric-indent-mode.
2958         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2959         New hook functions which propagate electric-indent-mode to CC mode.
2961         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2962         hit, toggle electric-indent-local-mode.
2964         * electric.el (electric-indent-mode-has-been-called):
2965         New variable.
2967 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
2969         * frameset.el (frameset-cfg-id): New function.
2970         (frameset--reuse-frame, frameset-restore): Use it.
2971         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2973 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2975         * ido.el (ido-file-internal): Remove unused var `d'.
2976         Use \` for to match BoS.  Fit within 80n columns.
2978 2014-02-17  Daniel Colascione  <dancol@dancol.org>
2980         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2981         dbus-call-method check for completion using a busy-wait loop with
2982         gradual backoff.
2984 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
2986         Sync with Tramp 2.2.9.
2988         * net/trampver.el: Update release number.
2990 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
2992         * ido.el (ido-file-internal): Don't add the name of an existing
2993         directory twice.  (Bug#16747)
2995 2014-02-16  Glenn Morris  <rgm@gnu.org>
2997         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2998         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
3000 2014-02-15  Michael R. Mauger  <michael@mauger.com>
3002         * progmodes/sql.el: Version 3.4
3003         (sql-oracle-options): New default value ("-L").
3004         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3005         (sql-placeholders-filter): Correct placeholder pattern.
3006         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
3007         (sql-login-delay): New variable.
3008         (sql-product-interactive): Use it.
3010 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
3012         * frameset.el (frameset--jump-to-register): Check that buffer is live
3013         (bug#16749).
3015 2014-02-15  Glenn Morris  <rgm@gnu.org>
3017         * info.el (info-initialize): Revert 2014-01-10 change.
3019 2014-02-14  Glenn Morris  <rgm@gnu.org>
3021         * replace.el (map-query-replace-regexp)
3022         (read-regexp-defaults-function, read-regexp): Doc fixes.
3024         * dired.el (dired-read-regexp):
3025         * faces.el (list-faces-display):
3026         * misearch.el (multi-isearch-read-matching-buffers)
3027         (multi-isearch-read-matching-files):
3028         * play/cookie1.el (cookie-apropos):
3029         * progmodes/grep.el (grep-read-regexp): Doc fixes.
3031         * textmodes/remember.el (remember): Use frameset-to-register
3032         rather than frame-configuration-to-register.
3034 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
3036         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3037         incorrect keybinding.
3039 2014-02-13  Daniel Colascione  <dancol@dancol.org>
3041         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3042         when adding overlays so that line numbers from compiler match line
3043         numbers we use.
3045 2014-02-13  Glenn Morris  <rgm@gnu.org>
3047         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
3049         * jit-lock.el (jit-lock-mode): Doc fix.
3051 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
3053         * apropos.el (apropos-read-pattern): When the user passes an empty
3054         string, give a more helpful error message than "Wrong type
3055         argument: stringp, nil".
3057 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3059         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3061 2014-02-13  Glenn Morris  <rgm@gnu.org>
3063         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3065 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3067         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3068         shift-select commands.
3070 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
3072         * progmodes/js.el (js-indent-line): Don't widen.
3073         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3075 2014-02-12  Glenn Morris  <rgm@gnu.org>
3077         * icomplete.el (icomplete): Add info-link to defgroup.
3078         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3079         (icomplete-minibuffer-map, icomplete-mode)
3080         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3082         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3083         (package-menu-filter): Rename from package-menu-filter-interactive.
3084         Doc fix.
3086 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
3088         * frameset.el (frameset--jump-to-register): Select the required
3089         window and buffer before restoring position (bug#16696).
3091 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
3093         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3095 2014-02-10  Glenn Morris  <rgm@gnu.org>
3097         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
3099 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
3101         * w32-common-fns.el (x-get-selection): Doc fix.
3102         * select.el (x-get-selection): Doc fix.  (Bug#15109)
3104         * face-remap.el (face-remap-add-relative)
3105         (face-remap-remove-relative, face-remap-reset-base)
3106         (face-remap-set-base): Call force-mode-line-update to redisplay
3107         the current buffer due to potential change in faces.  (Bug#16709)
3109 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
3111         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3112         script more robustly.
3114 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3116         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3118         * simple.el (choose-completion): Doc fix (bug#14160).
3120         * subr.el (event-start): Say what a nil EVENT value means.
3122         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3123         (bug#14197).
3125         * progmodes/grep.el (find-program): Doc fix (bug#14289).
3127         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3129         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3131         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3132         predicate function (bug#15455).
3134 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
3136         * ielm.el (inferior-emacs-lisp-mode): Instead of
3137         `comment-use-global-state', set `comment-use-syntax'.
3139 2014-02-10  Glenn Morris  <rgm@gnu.org>
3141         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3143 2014-02-09  Alan Mackenzie  <acm@muc.de>
3145         Fix c-invalidate-state-cache on narrowed buffers.
3146         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3147         Widen when setting and clearing the CPP delimiter properties.
3149 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
3151         * help.el (describe-bindings): Doc fix (bug#9888).
3153         * files.el (save-buffer): Use ARG as the parameter name for
3154         consistency (bug#10346).
3155         (save-buffer): Clarify the 0 argument (bug#10346).
3157         * cus-edit.el (customize-apropos): Fix error string.
3158         (custom-buffer-create): Doc fix (bug#11122).
3159         (custom-sort-items): Doc fix (bug#11121).
3161         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3163         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3164         (icomplete-simple-completing-p): Mention the previous variable.
3166         * font-lock.el (font-lock-value-in-major-mode): Clarify the
3167         meaning of the parameter (bug#12282).
3169         * files.el (find-file-noselect): Clarify prompt when changing
3170         readedness (bug#13261).
3171         (locate-file): Suffixes aren't returned, so don't say that they
3172         are (bug#12674).
3173         (backup-inhibited): Doc clarification (bug#12525).
3175         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3176         before we actually start to delete things (bug#16331).
3178         * subr.el (event-start): Doc fix (bug#14228).
3179         (event-end): Ditto.
3181 2014-02-09  Glenn Morris  <rgm@gnu.org>
3183         * emacs-lisp/warnings.el (lwarn):
3184         Empower help-enable-auto-load.  (Bug#15940)
3186 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3188         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3189         (Bug#16690)
3191 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
3193         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3194         Insert output at end of buffer.  (Bug#16120)
3196 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3198         * simple.el (choose-completion-string-functions): Document new
3199         calling convention (bug#14153).
3200         (execute-extended-command): Clarify doc string (bug#13373).
3202         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3204         * find-dired.el (find-name-dired): Doc fix (bug#14290).
3205         (find-grep-dired): Doc fix (bug#14288).
3207 2014-02-08  Juri Linkov  <juri@jurta.org>
3209         * isearch.el (isearch-quote-char): Check character validity
3210         like in `quoted-insert' (bug#16677).
3212 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3214         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3216         * isearch.el (isearch-hide-immediately): Doc clarification
3217         (bug#14723).
3219         * simple.el (line-move): Document utility function used many
3220         places in the Emacs sources (bug#14843).
3222         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3223         (dired-prev-marked-file): Doc fix (bug#14855).
3224         (dired-up-directory): Doc fix (bug#14848).
3226         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3228         * files.el (file-relative-name): Doc fix (bug#15159).
3230         * fringe.el (fringe-styles): Doc fix (bug#15239).
3232         * isearch.el (isearch-filter-predicate): Documentation typo fix
3233         (bug#15474).
3235         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3237         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3239         * replace.el (replace-match-maybe-edit): Doc clarification
3240         (bug#15632).
3242         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3244         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3246 2014-02-08  Glenn Morris  <rgm@gnu.org>
3248         * help-fns.el (describe-variable):
3249         Check {file,dir}-local-variables-alist, and buffer-file-name,
3250         in the correct buffer.
3252 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
3254         * help-fns.el (describe-variable): Fix the case where
3255         a value is directory-local with no dir-locals file.  (Bug#16635)
3257 2014-02-08  Glenn Morris  <rgm@gnu.org>
3259         * abbrev.el (edit-abbrevs-mode):
3260         Derive from fundamental-mode.  (Bug#16682)
3262 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
3264         * simple.el (quoted-insert): Check character validity (bug#16677).
3266 2014-02-07  Juri Linkov  <juri@jurta.org>
3268         * desktop.el (desktop-read): Claim the lock when the owner is not
3269         the current process.  (Bug#16157)
3271 2014-02-07  Juri Linkov  <juri@jurta.org>
3273         * desktop.el (desktop-buffers-not-to-save): Change default from nil
3274         to "\\` ".  (Bug#16651)
3276 2014-02-07  Juri Linkov  <juri@jurta.org>
3278         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3279         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3280         (desktop-auto-save-cancel-timer): New function with some code from
3281         `desktop-auto-save-set-timer'.
3282         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3283         Instead of setting `desktop-save-mode' to nil, call
3284         `desktop-save-mode' with arg 0.  (Bug#16630)
3286 2014-02-07  Glenn Morris  <rgm@gnu.org>
3288         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3289         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3290         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3292         * obsolete/iswitchb.el: Move to obsolete/.
3293         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3294         since obsolete/ is not scanned for autoloads.
3295         * emacs-lisp/authors.el (authors-valid-file-names):
3296         Add iswitchb.el.
3298         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3299         Disable now non-functional find-file-hook.
3301 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
3303         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3304         instead of ";" in order to avoid additional prompts.  Let heredoc
3305         scripts read from tty.  (Bug#16582)
3306         (tramp-send-command): No special handling of heredocs, it isn't
3307         necessary anymore.
3309 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3311         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3312         with a space (bug#16664).  Limit the symbols considered to the ones
3313         that are bound or fbound (bug#16646).
3315 2014-02-06  Glenn Morris  <rgm@gnu.org>
3317         * epa.el (epa-mail-aliases): Doc fix.
3319 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
3321         * emacs-lisp/lisp.el (lisp-completion-at-point):
3322         Use `completion-table-merge' instead of `completion-table-in-turn'
3323         (bug#16604).
3325         * minibuffer.el (completion-table-merge): New function.
3327 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
3329         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3330         (tramp-sh-handle-set-file-acl)
3331         (tramp-sh-handle-start-file-process)
3332         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3333         (tramp-find-executable, tramp-send-command): Use it.
3335 2014-02-05  Glenn Morris  <rgm@gnu.org>
3337         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
3339 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3341         * progmodes/python.el (python-shell-send-string)
3342         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3344 2014-02-04  Anders Lindgren  <andlind@gmail.com>
3346         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3347         the names (bug#16620).
3349 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
3351         * faces.el (window-divider): New default value.  Rewrite doc-string.
3352         (window-divider-first-pixel, window-divider-last-pixel): New faces.
3354 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
3356         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3357         `protected' and `public' can also be called without arguments.
3359 2014-02-03  Glenn Morris  <rgm@gnu.org>
3361         * register.el (window-configuration-to-register)
3362         (frame-configuration-to-register): Unadvertise unused argument.
3363         * frameset.el (frameset-to-register): Remove unused argument.
3365         * frameset.el (frameset-to-register):
3366         * kmacro.el (kmacro-to-register):
3367         * register.el (increment-register):
3368         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3369         (calc-append-to-register, calc-prepend-to-register):
3370         * play/gametree.el (gametree-layout-to-register)
3371         (gametree-apply-register-layout):
3372         * textmodes/picture.el (picture-clear-rectangle-to-register)
3373         (picture-yank-rectangle-from-register):
3374         * vc/emerge.el (emerge-combine-versions-register):
3375         Use register-read-with-preview to read registers.
3377 2014-02-03  João Távora  <joaotavora@gmail.com>
3379         * elec-pair.el (electric-pair-backward-delete-char): Don't error
3380         when at beginning of (possibly narrowed) buffer.
3382 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3384         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3385         Also try to display local help from just before point.
3387 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
3389         c-parse-state.  Don't "append-lower-brace-pair" in certain
3390         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
3391         recognised as a comment.
3393         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3394         as well as normal comment starter.
3395         (c-parse-state-get-strategy): Extra return possibility
3396         'back-and-forward.
3397         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3398         return value list to indicate replacement of a brace-pair cons
3399         with its car.
3400         (c-parse-state-1): With 'back-and-forward, only call
3401         c-append-lower-brace-pair-to state-cache when cons-separated.
3403 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
3405         * term/ns-win.el (ns-suspend-error): New function.
3406         (ns-initialize-window-system): Add ns-suspend-error to
3407         suspend-hook (Bug#16612).
3409 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3411         * progmodes/cc-defs.el (c-find-assignment-for-mode):
3412         Make loading cc-mode silent.
3414 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3416         * comint.el (comint-prompt-read-only): Change doc to suggest
3417         remap keybinding.
3419 2014-02-02  Glenn Morris  <rgm@gnu.org>
3421         * register.el (register-read-with-preview, point-to-register)
3422         (window-configuration-to-register, frame-configuration-to-register)
3423         (jump-to-register, number-to-register, view-register, insert-register)
3424         (copy-to-register, append-to-register, prepend-to-register)
3425         (copy-rectangle-to-register): Doc fixes.
3427 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3429         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3430         * emacs-lisp/find-func.el (find-function-C-source): Idem.
3431         * emacs-lisp/nadvice.el (advice--cd*r): New function.
3432         * help-fns.el (describe-function-1): Use it.
3434 2014-02-02  Glenn Morris  <rgm@gnu.org>
3436         * register.el (register-preview-default): New function,
3437         split from register-preview.
3438         (register-preview-function): Rename from register-preview-functions,
3439         make it not a hook.
3440         (register-preview): Use register-preview-function.
3441         (register-read-with-preview): Error on non-character event.  (Bug#16595)
3443 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
3445         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3446         `:' before binary operators (bug#16609).  Don't check for `:'
3447         before `[' and `(', or their syntax status.  A percent literal
3448         can't end with either.
3449         (ruby-font-lock-keywords): For built-ins that require arguments,
3450         check that they're followed by something that looks like argument
3451         (bug#16610).
3453 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
3455         * subr.el (butlast): Document what an omitted N means (bug#13437).
3456         (nbutlast): Ditto.
3458 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
3460         * net/shr.el (shr-generic): Make into a defsubst to make the stack
3461         depth shallower (bug#16587).
3462         (shr-tag-svg): Respect `shr-inhibit-images'.
3463         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3465 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
3467         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3468         (ruby-smie-grammar): Make "." right-associative.  Make its priority
3469         lower than the ternary and all binary operators.
3470         (ruby-smie-rules): Indent "(" relative to the first non-"."
3471         parent, or the first "." parent at indentation.
3472         Use `ruby-align-chained-calls' for indentation of "." tokens.
3473         (Bug#16593)
3475 2014-01-31  Juri Linkov  <juri@jurta.org>
3477         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3478         from `make-hash-table'.
3480         * textmodes/ispell.el (ispell-init-process): Change message format
3481         to be consistent with other messages.
3483 2014-01-31  Glenn Morris  <rgm@gnu.org>
3485         * delsel.el (delete-selection-mode): Doc fix.
3487         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3488         (trace-function-background): Doc fixes.
3490         * ido.el (ido-use-virtual-buffers): Doc fix.
3491         Reset :version, since the default value has not changed.
3493         * register.el (register-preview-delay, register-read-with-preview):
3494         Doc fixes.
3496         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3497         do not mess with mail-buffer position (fixes 2009-11-03 change).
3498         * progmodes/cc-mode.el (c-submit-bug-report):
3499         Check auto-fill-mode is bound.  (Bug#16592)
3501 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
3503         * startup.el (fancy-splash-image-file): New function,
3504         split from fancy-splash-head.
3505         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3506         so that we are both using the same image.  (Bug#16574)
3508 2014-01-30  Glenn Morris  <rgm@gnu.org>
3510         * simple.el (eval-expression): Doc fix.
3512         * hexl.el (hexl-mode-hook):
3513         * ielm.el (ielm-mode-hook):
3514         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3515         (lisp-interaction-mode-hook):
3516         * progmodes/cfengine.el (cfengine3-documentation-function):
3517         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3519 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3521         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3522         is a symbol (bug#16584).
3524 2014-01-30  Glenn Morris  <rgm@gnu.org>
3526         * help.el (help-for-help-internal): Add "P" to text.
3528 2014-01-29  Glenn Morris  <rgm@gnu.org>
3530         * simple.el (just-one-space, cycle-spacing): Doc fixes.
3532 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
3534         * window.el (fit-frame-to-buffer): Fix calculations for margins and
3535         height constraints.
3537 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
3539         * progmodes/hideif.el: Extend to full CPP expression syntax.
3540         (hif-token-alist): Add missing tokens.
3541         (hif-token-regexp): Add support for float/octal/hex immediates.
3542         (hif-string-literal-regexp): New const.
3543         (hif-tokenize): Recognize strings and float/octal/hex immediates.
3544         (hif-exprlist): New function.
3545         (hif-parse-if-exp): Use it.
3546         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3547         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3548         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3549         (hif-logxor, hif-comma): New functions.
3551 2014-01-28  Glenn Morris  <rgm@gnu.org>
3553         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3555         * indent.el (tab-stop-list): Doc fix.  Add :version.
3557         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3558         (cvs-append-to-ignore): Add compatibility alias.
3560 2014-01-27  Glenn Morris  <rgm@gnu.org>
3562         * dired.el (dired-hide-details-mode): Don't autoload it,
3563         since it cannot be used outside Dired buffers anyway.
3565         * emulation/cua-base.el (cua-mode): Doc fix.
3567         * dired.el (dired-hide-details-hide-symlink-targets)
3568         (dired-hide-details-hide-information-lines)
3569         (dired-hide-details-mode): Doc fixes.
3571         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3572         * strokes.el (strokes-file): Doc fix.  Bump :version.
3573         (strokes-help): Doc fix.
3574         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3575         * emulation/viper.el (viper): Doc fix for custom group.
3576         (top-level): Remove oh-so-no-longer-relevant text about vip.
3577         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3579         * ido.el (ido-save-directory-list-file):
3580         * saveplace.el (save-place-file):
3581         * calendar/timeclock.el (timeclock-file):
3582         * net/quickurl.el (quickurl-url-file):
3583         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3584         * progmodes/idlwave.el (idlwave-config-directory):
3585         * textmodes/remember.el (remember-data-file):
3586         Bump :version.
3588 2014-01-26  Glenn Morris  <rgm@gnu.org>
3590         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3591         Doc fix.  Make obsolete.
3592         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3594         * sort.el (delete-duplicate-lines): Doc fix.
3596 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3598         * progmodes/ada-mode.el (ada):
3599         * woman.el (woman): Link to info manual and Commentary section.
3601         * progmodes/flymake.el (flymake):
3602         * nxml/nxml-mode.el (nxml):
3603         * net/eww.el (eww):
3604         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3605         * htmlfontify.el (htmlfontify):
3606         * ses.el (ses):
3607         * epa.el (epa):
3608         * ido.el (ido): Link to info manual.
3610 2014-01-25  Leo Liu  <sdl.web@gmail.com>
3612         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3614 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
3616         * net/shr.el (shr-tag-img): Prefer the title over the alt text
3617         (bug#16537).
3619 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
3621         * net/eww.el (eww-download-callback):
3622         Fix reference to eww-download-directory.
3624         * emacs-lisp/bytecomp.el (byte-compile-file):
3625         Remove unused local variable `file-name'.
3627 2014-01-24  Glenn Morris  <rgm@gnu.org>
3629         * woman.el (woman-default-faces, woman-monochrome-faces):
3630         Fix obsolescence specification.
3632         * subr.el (with-demoted-errors): Doc fix.
3634 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3636         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3637         (cl--macroexp-fboundp): New function.
3638         (cl--make-type-test): Use it.
3640 2014-01-23  Glenn Morris  <rgm@gnu.org>
3642         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3643         * simple.el (eval-expression): Doc fixes.
3645 2014-01-22  Glenn Morris  <rgm@gnu.org>
3647         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3649 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3651         * emacs-lisp/package.el: Write files silently.
3652         (package-autoload-ensure-default-file, package--write-file-no-coding)
3653         (package-generate-description-file, package--download-one-archive)
3654         (package-install-from-archive): Tell `write-region' to stay quiet.
3655         (package-menu-mode, package-menu--print-info): Omit the Archive column
3656         if there's only one archive.
3657         (package-all-keywords, package--has-keyword-p): Remove dead code.
3659 2014-01-22  Glenn Morris  <rgm@gnu.org>
3661         * version.el (emacs-bzr-version-bzr): Fix typo.
3663         * version.el (emacs-repository-get-version):
3664         Check either .bzr or .git, but not both.
3665         Make the git case actually use the DIR argument, and return nil
3666         rather than the empty string.
3667         Avoid error if .git exists but the git executable is not found.
3669 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
3671         Fixes in window size functions around Bug#16430 and Bug#16470.
3672         * window.el (window-total-size, window-size): New argument ROUND.
3673         (window--min-delta-1, window-min-delta, window--max-delta-1):
3674         Be more conservative when calculating the numbers of lines or
3675         columns a window can shrink (Bug#16430).
3676         (fit-window-to-buffer): Simplify code.
3677         * term.el (term-window-width): Call window-body-width again.
3679 2014-01-22  Glenn Morris  <rgm@gnu.org>
3681         * image.el (image-format-suffixes): Doc fix.
3683         * international/quail.el (quail-define-package): Doc fix.
3685         * emacs-lisp/authors.el (authors-valid-file-names)
3686         (authors-renamed-files-alist): Additions.
3688         * vc/vc-git.el (vc-git-print-log): Remove --follow;
3689         reverts 2014-01-09 change.  (Bug#16422)
3691         * calc/calc-embed.el (thing-at-point-looking-at):
3692         * emacs-lisp/map-ynp.el (x-popup-dialog):
3693         * obsolete/lmenu.el (x-popup-dialog):
3694         * emacs-lisp/package.el (url-recreate-url):
3695         * mail/mailclient.el (clipboard-kill-ring-save):
3696         * subr.el (x-popup-dialog): Update declaration.
3697         * mail/rmail.el (rmail-mime-message-p):
3698         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3700 2014-01-21  Daniel Colascione  <dancol@dancol.org>
3702         * progmodes/sh-script.el (sh--inside-noncommand-expression):
3703         Correctly detect when we're inside an arithmetic expansion form
3704         containing nested parenthesis.
3705         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3706         to detect cases where we shouldn't expand "<<" to a heredoc
3707         skeleton.
3709 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3712         (eldoc--message-command-p): New function.
3713         (eldoc-display-message-p): Use it.
3714         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3715         message is not automatically erased for us.
3716         (eldoc-print-current-symbol-info): Erase previous message, if any.
3718 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
3720         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3721         specify it's an interactive function.
3723         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3724         Fix regex used for scanning for citation keys which failed for
3725         citations with optional arguments.
3727 2014-01-21  Leo Liu  <sdl.web@gmail.com>
3729         * simple.el (read--expression): Don't enable eldoc-mode.
3731 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3733         * simple.el (move-beginning-of-line): Make sure we don't move forward
3734         (bug#16497).
3736 2014-01-20  Juri Linkov  <juri@jurta.org>
3738         * saveplace.el (toggle-save-place, save-place-to-alist)
3739         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3740         'dired-mode) before checking for dired-directory.  (Bug#16477)
3742 2014-01-20  Juri Linkov  <juri@jurta.org>
3744         * indent.el (indent-line-to): Use backward-to-indentation
3745         instead of back-to-indentation.  (Bug#16461)
3747 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
3749         Revert some of the CANNOT_DUMP fix (Bug#16494).
3750         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3751         but fixing this can wait until after the next release.
3752         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3754 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
3756         * eshell/esh-mode.el (eshell-password-prompt-regexp):
3757         Use `password-word-equivalents'.
3758         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3759         to t.  (Bug#5664, Bug#13124)
3761 2014-01-19  Alan Mackenzie  <acm@muc.de>
3763         Bind open-paren-in-column-0-is-defun-start to nil at some entry
3764         points.
3765         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3766         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3767         * progmodes/cc-mode.el (c-before-change, c-after-change)
3768         (c-font-lock-fontify-region): Bind it here.
3770 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
3772         * term.el (term-window-width): Call window-text-width instead of
3773         window-width (Bug#16470).
3775 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
3777         * simple.el (password-word-equivalents): Remove duplicates.
3778         Sort, to make this easier next time.
3779         Downcase.  Omit ": " after "jelszó".
3781 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
3783         * term/common-win.el (saved-region-selection): Defvar it.
3784         (x-select-text): Set saved-region-selection (Bug#16382).
3786 2014-01-18  Glenn Morris  <rgm@gnu.org>
3788         * emacs-lisp/authors.el (authors-aliases)
3789         (authors-renamed-files-alist): Add some entries.
3791 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
3793         * net/tramp.el (tramp-password-prompt-regexp):
3794         Use `password-word-equivalents' if available.
3795         (tramp-action-password, tramp-process-one-action)
3796         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
3798 2014-01-17  Chong Yidong  <cyd@gnu.org>
3800         * simple.el (password-word-equivalents): New defcustom.
3801         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
3802         to 24.4.
3803         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3804         to t.  (Bug#13124)
3806 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
3808         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3809         (ruby-align-to-stmt-keywords): Change the default value.
3810         Use `ruby-alignable-keywords' to generate the possible customization
3811         choices.
3812         (ruby-smie-rules): Instead of using a hardcoded list of alignable
3813         keywords, check against the value of `ruby-alignable-keywords'
3814         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3816 2014-01-17  Glenn Morris  <rgm@gnu.org>
3818         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3820         Make M-x authors return zero *Authors Errors* from current logs.
3821         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3822         (authors-ignored-files): Add some entries, remove others.
3823         (authors-ambiguous-files, authors-valid-file-names):
3824         Add some entries.
3825         (authors-renamed-files-alist): Add, remove, and adjust entries.
3826         (authors-renamed-files-regexps): Add some entries.
3827         Remove some very broad ones.  Make some entries `lax'.
3828         (authors-lax-changelogs): New constant.
3829         (authors-disambiguate-file-name): Treat top-level specially.
3830         (authors-lax-changelog-p): New function.
3831         (authors-canonical-file-name): Check file as written against
3832         authors-valid-file-names.  Do not special-case etc/.
3833         Handle `lax' logs and authors-renamed-files-regexps elements.
3835 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
3837         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3838         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
3839         callers.
3841 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3843         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3844         Assume we're already in the proper buffer.
3845         Inspired by Anders Lindgren <andlind@gmail.com>.
3846         (follow-post-command-hook): Call it from the right buffer.
3847         (follow-comint-scroll-to-bottom): Adjust call.
3848         (follow-all-followers): Use get-buffer-window-list.
3850 2014-01-15  Daniel Colascione  <dancol@dancol.org>
3852         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3853         `buffer-file-name' in interactive-form so that we don't leave
3854         pathless file names in `file-name-history'.
3856 2014-01-15  Juri Linkov  <juri@jurta.org>
3858         * indent.el (indent-rigidly): Set deactivate-mark to nil
3859         in transient indentation mode.  (Bug#16438)
3861 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
3863         * emacs-lisp/package.el (package-desc-keywords): New function
3864         (Bug#16222).
3865         (describe-package-1, package-all-keywords)
3866         (package--has-keyword-p): Use it.
3868 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3870         * simple.el (define-alternatives): When creating the
3871         COMMAND-alternatives variable, assign COMMAND as its definition
3872         name so that `describe-variable' can relocate it.
3874 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
3876         * font-lock.el (font-lock-keywords): Fix typo in docstring
3877         (bug#16307).
3879 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3881         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3882         line instead of wrongly reset `add-coment' (bug#13577).
3884 2014-01-14  Daiki Ueno  <ueno@gnu.org>
3886         * epa-file.el (epa-file-write-region): Encode the region according
3887         to `buffer-file-format'.  Problem reported at:
3888         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3890 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3892         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3893         so it applies in the right buffer (bug#16410).
3895 2014-01-13  Daniel Colascione  <dancol@dancol.org>
3897         * textmodes/rst.el (rst-define-key): Provide deprecated
3898         keybindings through named functions instead of anonymous ones so
3899         that "??" doesn't appear in describe-mode output.
3901 2014-01-13  Bastien Guerry  <bzg@gnu.org>
3903         * simple.el (define-alternatives): Call the selected command
3904         interactively.  When setting `COMMAND--implementation' for the
3905         first time, tell the user how to chose another implementation.
3906         Enhance the docstring.
3908 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3910         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3911         (log-edit--match-first-line): New function.
3912         (log-edit-font-lock-keywords): Use it.
3913         (log-edit-mode): Make jit-lock-defer-multiline work.
3915 2014-01-13  Bastien Guerry  <bzg@gnu.org>
3917         * rect.el (rectangle-mark-mode): When the region is not active,
3918         display a message saying that the mark as been set and that
3919         rectangle mode is in use.
3920         (rectangle--highlight-for-redisplay): Only put an overlay with a
3921         visible vertical bar when (display-graphic-p) is non-nil.
3922         This partially fixes Bug#16403.
3924 2014-01-13  Juri Linkov  <juri@jurta.org>
3926         * info.el (Info-find-file): Go to DIR before displaying the error
3927         about a nonexistent file if no previous Info file is visited.
3928         Use `user-error' instead of `error' for "Info file %s does not exist".
3929         (Info-find-node-2): In case of a nonexistent node in unwind forms
3930         go to the Top node if there is no previous node to revert to.
3931         (Bug#16405)
3933 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
3935         fit-frame/window-to-buffer code fixes including one for Bug#14096.
3936         * window.el (fit-frame-to-buffer): Fix doc-string.
3937         Respect window-min-height/-width.  Fit pixelwise when
3938         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
3939         when avoiding that frame goes partially off-screen.
3940         (fit-window-to-buffer): Respect window-min-height/-width
3941         (Bug#14096).
3943 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3945         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3946         after an empty line.
3948 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3950         * net/shr.el (shr-render-region): Autoload.
3952 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
3954         * net/eww.el (eww-download-directory): Rename from
3955         `eww-download-path' (Bug#16419).
3957 2014-01-12  Leo Liu  <sdl.web@gmail.com>
3959         * dired-x.el (dired-mode-map): Fix last change.
3961         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3963 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
3965         Spelling fixes.
3966         * emacs-lisp/generic.el (generic--normalize-comments):
3967         Rename from generic--normalise-comments.  All uses changed.
3968         * play/bubbles.el (bubbles--neighborhood-score)
3969         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3970         (bubbles--neighborhood-available)
3971         (bubbles--update-neighborhood-score):
3972         Rename from names with 'neighbourhood'.  All uses changed.
3974 2014-01-12  Leo Liu  <sdl.web@gmail.com>
3976         Re-implement the feature of showing eldoc info after editing.
3977         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3978         (eldoc-edit-message-commands): New function.
3979         (eldoc-print-after-edit): New variable.
3980         (eldoc-pre-command-refresh-echo-area): Emit message only by
3981         eldoc-message-commands.
3982         (eldoc-mode): Restrict eldoc-message-commands to editing commands
3983         if eldoc-print-after-edit is set.  (Bug#16346)
3984         * simple.el (read--expression): Enable eldoc-mode.
3985         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3987 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
3988             Eric S. Raymond  <esr@thyrsus.com>
3990         * version.el (emacs-repository-get-version): Enhance so the
3991         function works correctly in either a Bazaar or Git repo.
3993 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
3995         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3996         Goes with removal of the joke manpages from /etc.
3998 2014-01-10  Kenichi Handa  <handa@gnu.org>
4000         * mail/rmail.el (rmail-get-coding-system):
4001         Check rmail-get-coding-function before "funcall"ing it.
4003 2014-01-10  Glenn Morris  <rgm@gnu.org>
4005         * emacs-lisp/authors.el (authors-fixed-entries):
4006         Update for files that no longer exist.
4008 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
4010         * version.el (emacs-bzr-get-version): Restore compatibilty with
4011         24.3 (Tested).
4013 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
4015         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4016         and Podfile.
4018 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
4020         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4022 2014-01-10  Chong Yidong  <cyd@gnu.org>
4024         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4026 2014-01-10  Anders Lindgren  <andlind@gmail.com>
4028         * follow.el (follow-cache-command-list): Include right-char and
4029         left-char.
4031 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4033         Spelling fixes.
4034         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4035         * woman.el (woman-mark-horizontal-position):
4036         Rename from woman-mark-horizonal-position.  Use changed.
4038 2014-01-10  Glenn Morris  <rgm@gnu.org>
4040         * info.el (info-initialize): If running uninstalled, ensure our
4041         own info files are always found first, even if INFOPATH is set.
4043         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4045 2014-01-09  David Engster  <deng@randomsample.de>
4047         * emacs-lisp/eieio-custom.el:
4048         * emacs-lisp/eieio-opt.el: Set generated autoload file to
4049         'eieio.el'.  This was accidentally removed in rev. 110325.
4050         * emacs-lisp/eieio.el: Regenerate autoloads.
4052 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
4054         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4055         following renames.  (Bug#8756)
4057 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4060         (bug#16382).
4061         (activate-mark): Add `no-tmm' argument.
4062         (set-mark, push-mark-command): Use it instead of running
4063         activate-mark-hook by hand.
4065 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
4067         In preparation for the move to git, sanitize out some
4068         Bazaar-specific names.
4070         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4072         * version.el (emacs-bzr-version): Name changed to
4073         emacs-repository-version.  Obsolete-variable alias made.
4074         * loadup.el: Follow through on this name change.
4075         * mail/emacsbug.el (report-emacs-bug): Factor out any
4076         assumption about the version control system in use.
4078 2014-01-08  David Engster  <deng@randomsample.de>
4080         * help-fns.el (help-fns-describe-function-functions):
4081         New variable to call functions for augmenting help buffers.
4082         (describe-function-1): Remove explicit calls to
4083         `help-fns--compiler-macro', `help-fns--parent-mode' and
4084         `help-fns--obsolete'.  Put them in above new variable instead, and
4085         call them through `run-hook-with-args'.
4086         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4087         `eieio-describe-class'.  Not meant for interactive use anymore,
4088         but to augment existing help buffers.  Remove optional second
4089         argument.  Create proper button for file location.
4090         Rewrite function to use `insert' instead of `princ' and `prin1' where
4091         possible.
4092         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4093         (eieio-method-def, eieio-class-def): Move further up.
4094         (describe-method, describe-generic, eieio-describe-method):
4095         Remove aliases.
4096         (eieio-help-constructor, eieio-help-generic): Rename from
4097         `eieio-describe-constructor' and `eieio-describe-generic', resp.
4098         Rewrite to use `insert' in the current buffer and use proper help
4099         buttons.
4100         (eieio-help-find-method-definition)
4101         (eieio-help-find-class-definition): Also accept symbols as
4102         arguments.
4103         (eieio-help-mode-augmentation-maybee): Remove.
4104         (eieio-describe-class-sb): Use `describe-function'.
4105         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4106         Add `eieio-help-generic' and `eieio-help-constructor'.
4108 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
4110         Spelling fixes.
4111         * language/china-util.el (hz-ascii-designation):
4112         Rename from hz-ascii-designnation.
4113         (hz-ascii-designation): Rename from hz-ascii-designnation.
4114         All uses changed.
4116 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4118         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4119         package-alist.
4121 2014-01-08  Bastien Guerry  <bzg@gnu.org>
4123         * emacs-lisp/package.el (package-delete):
4124         Correctly delete the package from package-alist.
4126 2014-01-08  Daiki Ueno  <ueno@gnu.org>
4128         * emacs-lisp/package.el (url-recreate-url): Declare.
4129         (url-http-target-url): Declare.
4130         (package-handle-response): Include requested URL in the error message.
4131         (package--check-signature): Don't re-signal errors from
4132         package--with-work-buffer.  Suggested by Stefan Monnier.
4134 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4136         * minibuffer.el (completion--try-word-completion): When both a
4137         hyphen and a space are possible candidates for the character
4138         following a word, display both candidates.  (Bug#15980)
4140 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
4142         * window.el (balance-windows-2): While rounding don't give a
4143         window more than the remainder.  Bug#16351, bug#16383.
4145 2014-01-07  Glenn Morris  <rgm@gnu.org>
4147         * menu-bar.el (menu-bar-help-extra-packages): Remove.
4148         (menu-bar-help-menu): Use view-external-packages instead.
4150 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4152         * emacs-lisp/package.el (package-delete): Also delete the package
4153         name from `package-alist', not its description only.
4155 2014-01-07  Glenn Morris  <rgm@gnu.org>
4157         * help.el (view-external-packages):
4158         * menu-bar.el (menu-bar-help-extra-packages):
4159         Visit efaq.info rather than etc/MORE.STUFF.
4161 2014-01-07  Juri Linkov  <juri@jurta.org>
4163         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4164         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
4166         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4167         that shadows RET.  (Bug#16342)
4169 2014-01-07  Chong Yidong  <cyd@gnu.org>
4171         * isearch.el (isearch-yank-char, isearch-yank-word)
4172         (isearch-yank-line): Doc fix.
4174 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4176         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4177         * emacs-lisp/elint.el (elint-find-builtins):
4178         * emacs-lisp/eldoc.el (eldoc-symbol-function):
4179         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4180         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4181         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4182         * apropos.el (apropos-safe-documentation):
4183         * subr.el (symbol-file): Remove redundant fboundp.
4184         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4186 2014-01-06  Bastien Guerry  <bzg@gnu.org>
4188         * hl-line.el (global-hl-line-overlay): Make a local variable.
4189         (global-hl-line-overlays): New variable to store all overlays.
4190         (global-hl-line-mode): Don't delete overlays from the current
4191         buffer when `global-hl-line-sticky-flag' is non-nil.
4192         (global-hl-line-highlight): Add new overlays to
4193         `global-hl-line-overlays'.
4194         (global-hl-line-unhighlight-all): New function to delete all
4195         overlays when turning off `global-hl-line-mode'.
4196         This fixes Bug#16183.
4198 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4200         * subr.el (set-transient-map): Fix nested case and docstring.
4202 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
4204         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4205         `Texinfo' entry.
4207 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4209         Fix defun navigation in vc log view.
4211         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4212         like `beginning-of-defun'.
4213         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4214         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
4215         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4216         (log-view-extract-comment): Call `log-view-current-entry' directly
4217         instead of relying on broken `log-view-beginning-of-defun' behavior.
4219 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
4221         Spelling fixes.
4222         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4223         * emacs-lisp/debug.el (cancel-debug-on-entry):
4224         * epg.el (epg-error-to-string):
4225         * files.el (recover-file):
4226         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4227         * mail/emacsbug.el (report-emacs-bug-hook):
4228         * mail/sendmail.el (mail-recover):
4229         * ses.el (ses-yank-resize):
4230         * term/ns-win.el (ns-print-buffer):
4231         Spelling fixes in diagnostics, mostly for "canceled" with one L.
4232         * epg.el (epg-key-capability-alist): Rename from misspelled version.
4233         All uses changed.
4234         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4236 2014-01-06  Leo Liu  <sdl.web@gmail.com>
4238         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4239         to avoid shadowing global key.  (Bug#16354)
4241 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4243         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4244         rst-mode.
4246 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
4248         * window.el (balance-windows): Add mising t to fix Bug#16351.
4250 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4252         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4253         (bug#16285).
4254         (shr-insert): If we have a word that's longer than `shr-width',
4255         break after it anyway.  Otherwise we'll do no breaking once we get
4256         such a long word.
4258 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4260         * net/eww.el (eww): Support single/double quote for search.
4261         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4262         (eww-history-quit): Delete and use quit-window.
4263         (eww-history-kill): Delete, because it doesn't work well and
4264         not necessary.
4265         (eww-history-mode-map): Delete some keys and add easy-menu.
4267 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4269         Fix misspelling of 'chinese' in rx (Bug#16237).
4270         * emacs-lisp/rx.el (rx-categories): Correct spelling of
4271         chinese-two-byte.
4273         Change subword regexps back to vars (Bug#16296).
4274         * progmodes/subword.el (subword-forward-regexp)
4275         (subword-backward-regexp): Change these back to variables.
4277 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4279         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4280         syntax-begin-function (bug#16247).
4282 2014-01-03  Chong Yidong  <cyd@gnu.org>
4284         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4285         (advice--docstring): Delete variable.
4286         (advice--make-1): Leave the docstring empty.
4287         (advice-add): Use function-documentation for advised docstring.
4289         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4290         Ignore function-documentation property when getting documentation.
4291         (ad-activate-advised-definition): Use function-documentation
4292         generate the docstring.
4293         (ad-make-advised-definition): Don't call
4294         ad-make-advised-definition-docstring.
4295         (ad-make-advised-definition-docstring, ad-advised-definition-p):
4296         Delete functions.
4298         * progmodes/sql.el (sql-help): Use function-documentation instead
4299         of dynamic-docstring-function property.  No need to autoload now.
4300         (sql--help-docstring): New variable.
4301         (sql--make-help-docstring): Use it.
4303 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4305         * ielm.el (ielm-tab): Retarget.
4306         (ielm-map): Use ielm-tab for tab.
4307         (ielm-complete-filename): Use comint-filename-completion.
4308         (ielm-complete-symbol): Remove.
4309         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4310         remove ielm-tab from completion-at-point-functions (bug#16224).
4312         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4313         Beware signals raised by predicates (bug#16201).
4315 2014-01-02  Richard Stallman  <rms@gnu.org>
4317         * dired-aux.el (dired-do-print): Handle printer-name.
4319         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4320         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4321         (rmail-epa-decrypt): Turn off mime processing.
4323         * mail/rmail.el (rmail-make-in-reply-to-field):
4324         Add parens in message-id.
4326         * mail/rmail.el (rmail-get-coding-function): Variable.
4327         (rmail-get-coding-system): Use it.
4329 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
4331         * international/mule-conf.el: Unify the charset indian-is13194.
4332         (indian-is13194): Specify unify-map.
4334 2013-12-31  Leo Liu  <sdl.web@gmail.com>
4336         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
4338 2013-12-30  Daniel Colascione  <dancol@dancol.org>
4340         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4341         of printing a useless when we resume from sleep.
4343         * progmodes/sh-script.el
4344         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4345         in indentation code.  (Bug#16233)
4347 2013-12-28  João Távora  <joaotavora@gmail.com>
4349         * elec-pair.el (electric-pair-post-self-insert-function):
4350         Don't open extra newlines at beginning of buffer.  (Bug#16272)
4352 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
4354         * frame.el (window-system-for-display): Don't allow to create a
4355         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
4357 2013-12-28  Glenn Morris  <rgm@gnu.org>
4359         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4360         Update callers.
4362         * apropos.el (apropos-match-face):
4363         * calculator.el (calculator-displayer):
4364         * dabbrev.el (dabbrev-search-these-buffers-only):
4365         * face-remap.el (buffer-face-mode-face):
4366         * simple.el (yank-handled-properties):
4367         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4368         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4369         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4370         (hashcash-double-spend-database):
4371         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4372         (ruby-deep-indent-paren-style):
4373         * textmodes/flyspell.el (flyspell-auto-correct-binding):
4374         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4375         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4376         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4377         Specify custom types.
4379         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4380         * bookmark.el (bookmark-bmenu-use-header-line):
4381         * doc-view.el (doc-view-scale-internally):
4382         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4383         * register.el (register-preview-delay):
4384         * net/shr.el (shr-bullet):
4385         * progmodes/cfengine.el (cfengine-cf-promises)
4386         (cfengine-parameters-indent):
4387         * progmodes/octave.el (inferior-octave-error-regexp-alist):
4388         * textmodes/reftex-vars.el (reftex-label-regexps):
4389         * vc/log-edit.el (log-edit-setup-add-author): Add version.
4391         * net/tls.el (tls-certtool-program): Fix default value.
4393         * desktop.el (desktop-restore-in-current-display):
4394         * newcomment.el (comment-empty-lines):
4395         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4396         (idlwave-pad-keyword):
4397         * progmodes/tcl.el (tcl-tab-always-indent):
4398         * textmodes/reftex-vars.el (reftex-index-default-tag):
4399         * elec-pair.el (electric-pair-skip-whitespace):
4400         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4402         * emacs-lisp/authors.el (authors-ignored-files)
4403         (authors-valid-file-names, authors-renamed-files-alist): Additions.
4405 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
4407         * shell.el (shell-dynamic-complete-command): Doc fix.
4408         (shell--command-completion-data): Shell completion now matches
4409         executable filenames from the current buffer's directory, on
4410         systems in which this behavior is the default (windows-nt, ms-dos).
4412 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4414         * net/shr.el (shr-insert): Don't infloop if the width is zero.
4416 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4418         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4419         (bug#16251).
4421         * electric.el: Move all electric-pair-* to elec-pair.el.
4422         * elec-pair.el: New file, split from electric.el.
4424 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4426         * net/shr.el (shr-find-fill-point): Don't try to fill if the
4427         indentation level is larger than the width, because that will
4428         infloop.
4429         (shr-insert): Fill repeatedly long texts, so that Japanese is
4430         formatted correctly (bug#16263).
4431         (shr-find-fill-point): Off by one error in comparison with the
4432         indentation.
4434 2013-12-26  João Távora  <joaotavora@gmail.com>
4436         * electric.el (electric-pair-mode): More flexible engine for skip-
4437         and inhibit predicates, new options for pairing-related functionality.
4438         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4439         if that keeps or improves their balance in buffers.
4440         (electric-pair-delete-adjacent-pairs): Delete the pair when
4441         backspacing over adjacent matched delimiters.
4442         (electric-pair-open-extra-newline): Open extra newline when
4443         inserting newlines between adjacent matched delimiters.
4444         (electric--sort-post-self-insertion-hook):
4445         Sort post-self-insert-hook according to priority values when
4446         minor-modes are activated.
4447         * simple.el (newline-and-indent): Call newline with interactive
4448         set to t.
4449         (blink-paren-post-self-insert-function): Set priority to 100.
4450         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4451         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4452         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
4453         electric-pair-open-newline-between-pairs to nil.
4455 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4457         * progmodes/python.el: Use lexical-binding.
4458         (python-nav-beginning-of-defun): Stop searching ASAP.
4460 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
4462         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4463         Fix interactive spec.  Doc fix.  (Bug#15754)
4465 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
4467         * emacs-lisp/byte-run.el (eval-when-compile):
4468         * progmodes/cc-defs.el (cc-eval-when-compile):
4469         Fix edebug spec (bug#16184).
4471 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
4473         * net/shr.el (shr-visit-file): Remove debugging function.
4474         (shr-insert): Don't infloop if we can't find a good place to break
4475         the line (bug#16256).
4477 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4479         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4480         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
4481         python-nav-lisp-forward-sexp-safe.
4482         (python-nav--forward-sexp): New argument SAFE allows switching
4483         forward sexp movement behavior for parens.
4484         (python-nav-forward-sexp): Throw errors on unterminated parens
4485         (Bug#16191).
4486         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4487         (python-nav-backward-sexp-safe): New functions.
4488         (python-shell-buffer-substring):
4489         Use `python-nav-forward-sexp-safe'.
4491 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
4493         * net/shr.el (shr-find-fill-point): Don't break lines before a
4494         quotation mark.
4495         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4496         (shr-find-fill-point): Remove the special checks for the quotation
4497         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4499 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4501         * net/eww.el (eww-form-textarea): Use a different face for
4502         textareas than text input since they have different keymaps
4503         (bug#16142).
4505 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4507         * progmodes/python.el (python-nav-beginning-of-statement):
4508         Speed up (Bug#15295).
4510 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4512         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4513         the window configuration.
4515 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
4517         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4518         we run on MS-Windows or MS-DOS.
4520 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
4522         * window.el (balance-windows-area): Call window-size instead of
4523         window-height and window-width.  Bug#16241.
4525 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4527         * net/eww.el (eww-bookmark-quit): Remove.
4528         (eww-bookmark-browse): Restore the window configuration when you
4529         choose a bookmark (bug#16144).
4531 2013-12-24  Daniel Colascione  <dancol@dancol.org>
4533         * icomplete.el: Remove redundant :group arguments to `defcustom'
4534         throughout.
4535         (icomplete-show-matches-on-no-input): New customizable variable.
4536         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4537         we have something to show.
4538         (icomplete-exhibit): Compute completions even if we have no user input.
4540 2013-12-23  Daniel Colascione  <dancol@dancol.org>
4542         * icomplete.el: Move `provide' to end of file.
4544 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
4546         * net/gnutls.el (gnutls-verify-error): Add version tag.
4548 2013-12-23  Chong Yidong  <cyd@gnu.org>
4550         * subr.el (set-transient-map): Rename from
4551         set-temporary-overlay-map.  Doc fix.
4553         * face-remap.el (text-scale-adjust):
4554         * indent.el (indent-rigidly):
4555         * kmacro.el (kmacro-call-macro):
4556         * minibuffer.el (minibuffer-force-complete):
4557         * repeat.el (repeat):
4558         * simple.el (universal-argument--mode):
4559         * calendar/todo-mode.el (todo-insert-item--next-param):
4560         * progmodes/f90.el (f90-abbrev-start): Callers changed.
4562         * indent.el (indent-rigidly): Use substitute-command-keys.
4564 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4566         * net/eww.el (eww-tag-select): Add text-property to jump to next
4567         select field.
4568         (eww): Add non-supported ftp error.
4570 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4572         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4573         comments.  Handle electric indent after typing `?' and `!'.
4575 2013-12-22  Chong Yidong  <cyd@gnu.org>
4577         * faces.el (face-spec-recalc): If the theme specs are not
4578         applicable to a frame, fall back on the defface spec.
4579         This prevents themes from obliterating faces on low-color terminals.
4581 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4583         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4584         after `{'.  We need it after block openers, and it doesn't seem
4585         to hurt after hash openers.
4587 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4589         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4590         extracted from `ruby-smie-rules'.
4591         (ruby--electric-indent-chars): New variable.
4592         (ruby--electric-indent-p): New function.
4593         (ruby-mode): Use `electric-indent-functions' instead of
4594         `electric-indent-chars'.
4596 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4598         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4599         docstring.
4600         (ruby-smie-rules): Indent plus one level after `=>'.
4602 2013-12-21  Richard Stallman  <rms@gnu.org>
4604         * simple.el (newline): Doc fix.
4606 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4608         * net/eww.el (eww-list-histories, eww-list-histories)
4609         (eww-history-browse, eww-history-quit, eww-history-kill)
4610         (eww-history-mode-map, eww-history-mode): New command and
4611         functions to list browser histories.
4612         (eww-form-text): Support text form with disabled
4613         and readonly attributes.
4614         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4616 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4618         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4619         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4620         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4621         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4622         Use `user-error'.
4623         (eww-bookmark-mode-map): Add menu.
4624         (eww-render, eww-mode): Use `setq-local'.
4625         (eww-tool-bar-map): New variable.
4626         (eww-mode): Set `tool-bar-map'.
4627         (eww-view-source): Check for `html-mode' with `fboundp'.
4629 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4631         * net/shr.el (shr--extract-best-source): Don't bug out on audio
4632         elements with text inside.  Also remove debugging.
4634 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
4636         * cus-start.el (all): Add ns-use-srgb-colorspace.
4638 2013-12-21  Chong Yidong  <cyd@gnu.org>
4640         * custom.el (custom-theme-recalc-face): Do nothing if the face is
4641         undefined.  Thus, theme settings for undefined faces do not take
4642         effect until the faces are defined with defface, the same as with
4643         theme variables.
4645         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4646         (face-spec-reset-face): Don't assign extra properties in temacs.
4647         (face-spec-recalc): Apply X resources too.
4649 2013-12-21  Chong Yidong  <cyd@gnu.org>
4651         * faces.el (face-spec-set):
4652         * cus-face.el (custom-theme-set-faces, custom-set-faces):
4653         * custom.el (defface): Doc fixes (Bug#16203).
4655         * indent.el (indent-rigidly-map): Add docstring, and move commands
4656         into named functions.
4657         (indent-rigidly-left, indent-rigidly-right)
4658         (indent-rigidly-left-to-tab-stop)
4659         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
4660         indentation direction based on bidi direction, and accumulate
4661         sequential commands in a single undo boundary.
4662         (indent-rigidly--pop-undo): New utility function.
4664 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
4666         * faces.el (read-face-name): Require crm.el when using crm-separator.
4668 2013-12-20  Daniel Colascione  <dancol@dancol.org>
4670         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4671         so that we don't reflow comments into the shebang line.
4673 2013-12-20  Juri Linkov  <juri@jurta.org>
4675         * saveplace.el (save-place-to-alist): Add `dired-filename' as
4676         a position when `dired-directory' is non-nil.  Check integer
4677         positions with `integerp'.
4678         (toggle-save-place, save-places-to-alist): Add check for
4679         `dired-directory'.
4680         (save-place-find-file-hook): Check integer positions with
4681         `integerp'.
4682         (save-place-dired-hook): Use `dired-goto-file' when
4683         `dired-filename' is found in the assoc list.  Check integer
4684         positions with `integerp'.
4685         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4687         * dired.el (dired-initial-position-hook): Rename back from
4688         `dired-initial-point-hook'.
4689         (dired-initial-position): Rename `dired-initial-point-hook' to
4690         `dired-initial-position-hook'.
4691         (dired-file-name-at-point): Doc fix.  (Bug#15329)
4693 2013-12-20  Juri Linkov  <juri@jurta.org>
4695         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4696         (read-regexp-suggestions): New function.
4697         (read-regexp): Use `read-regexp-defaults-function' to get default values.
4698         Use `read-regexp-suggestions'.  Add non-empty default to history
4699         for empty input.
4700         (occur-read-regexp-defaults-function): Remove function.
4701         (occur-read-primary-args): Use `regexp-history-last' instead of
4702         `occur-read-regexp-defaults-function'.
4704         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4705         (hi-lock-line-face-buffer, hi-lock-face-buffer)
4706         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4707         `hi-lock-read-regexp-defaults-function'.  Doc fix.
4708         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4709         with `find-tag-default-as-symbol-regexp'.  Doc fix.
4710         (hi-lock-read-regexp-defaults): Remove function.
4711         (hi-lock-regexp-okay): Add check for null.
4713         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4714         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
4716         * subr.el (find-tag-default-as-symbol-regexp): New function.
4717         (find-tag-default-as-regexp): Move symbol regexp formatting to
4718         `find-tag-default-as-symbol-regexp'.
4720 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
4722         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4723         (Bug#14179)
4725 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
4727         * calendar/todo-mode.el: New implementation of item insertion
4728         commands and key bindings.
4729         (todo-key-prompt): New face.
4730         (todo-insert-item): New command.
4731         (todo-insert-item--parameters): New defconst, replacing defvar
4732         todo-insertion-commands-args-genlist.
4733         (todo-insert-item--param-key-alist): New defconst, replacing
4734         defvar todo-insertion-commands-arg-key-list.
4735         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4736         (todo-insert-item--argsleft, todo-insert-item--apply-args)
4737         (todo-insert-item--next-param): New functions.
4738         (todo-insert-item--args, todo-insert-item--argleft)
4739         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4740         New variables.
4741         (todo-key-bindings-t): Change binding of "i" from
4742         todo-insertion-map to todo-insert-item.
4743         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4744         (todo-insertion-command-name, todo-insertion-commands-names)
4745         (todo-define-insertion-command, todo-insertion-commands)
4746         (todo-insertion-key-bindings, todo-insertion-map): Remove.
4748 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
4750         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4751         (todo-toggle-item-highlighting): Use eval-and-compile instead of
4752         eval-when-compile.
4753         (todo-move-category): Allow choosing a non-existing todo file to
4754         move the category to, and create that file.
4755         (todo-default-priority): New user option.
4756         (todo-set-item-priority): Use it.
4757         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4758         (desktop-restore-file-buffer): Declare.
4759         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4760         (todo-modes-set-2): Locally set desktop-save-buffer to
4761         todo-desktop-save-buffer.
4762         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4763         (auto-mode-alist): Add autoload cookie.
4765 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
4767         * emacs-lisp/subr-x.el: Renamed from helpers.el.
4768         helpers.el was a poor choice of name.
4769         (string-remove-prefix): New function.
4770         (string-remove-suffix): New function.
4772 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
4774         Fix assignment for new window total sizes.
4775         * window.el (window--pixel-to-size): Remove function.
4776         (window--pixel-to-total-1, window--pixel-to-total):
4777         Fix calculation of new total sizes.
4779 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
4781         * comint.el (comint-output-filter): Fix rear-nonsticky property
4782         placement (Bug#16010).
4784 2013-12-20  Chong Yidong  <cyd@gnu.org>
4786         * faces.el (read-color): Minor fix for completion function.
4788 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
4790         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4791         New option.  (Bug#16182)
4792         (ruby-smie--indent-to-stmt-p): Use it.
4793         (ruby-smie-rules): Revert the logic in the handling of `when'.
4794         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4795         (ruby-deep-arglist, ruby-deep-indent-paren)
4796         (ruby-deep-indent-paren-style): Update docstrings to note that the
4797         vars don't have any effect with SMIE.
4799 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
4801         * calc/calc.el (calc-enter, calc-pop): Use the variable
4802         `calc-context-sensitive-enter'.
4804 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4806         * net/shr.el (shr-insert): Protect against infloops in degenerate
4807         tables.
4809 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4811         * progmodes/octave.el (octave): Add link to manual and octave
4812         homepage.
4813         (octave-mode-menu): Link to octave-mode manual.
4815 2013-12-20  Leo Liu  <sdl.web@gmail.com>
4817         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4818         insertion using skeleton-end-newline.  (Bug#16138)
4820 2013-12-20  Juri Linkov  <juri@jurta.org>
4822         * replace.el (occur-engine): Use `add-face-text-property'
4823         to add the face property to matches and titles.  (Bug#14645)
4825         * hi-lock.el (hi-green): Use lighter color "light green" closer to
4826         the palette of other hi-lock colors.
4827         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4829 2013-12-19  Juri Linkov  <juri@jurta.org>
4831         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4832         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
4833         (minibuffer-history-symbol): Move variable declaration closer to
4834         its usage.
4836         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4837         (Bug#14785)
4839 2013-12-19  Juri Linkov  <juri@jurta.org>
4841         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4842         New function.
4843         (log-edit-hook): Add it to :options.  (Bug#16170)
4845 2013-12-19  Juri Linkov  <juri@jurta.org>
4847         * simple.el (eval-expression-print-format): Don't check for
4848         command names and the last command.  Always display additional
4849         formats of the integer result in the echo area, and insert them
4850         to the current buffer only with a zero prefix arg.
4851         Display character when char-displayable-p is non-nil.
4852         (eval-expression): With a zero prefix arg, set `print-length' and
4853         `print-level' to nil, and insert the integer values from
4854         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
4856         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4857         `eval-last-sexp-arg-internal'.  Doc fix.
4858         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4859         `eval-last-sexp-print-value'.  Doc fix.
4860         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4861         Set `print-length' and `print-level' to nil when arg is zero.
4862         (eval-last-sexp): Doc fix.
4863         (eval-defun-2): Print the integer values from
4864         `eval-expression-print-format' at the end.
4866         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4867         values from `eval-expression-print-format' at the end.
4869         * ielm.el (ielm-eval-input): Print the integer
4870         values from `eval-expression-print-format' at the end.
4872 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
4874         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4875         2013-12-11 (r115470).
4877 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4879         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
4880         (hl-line-highlight, global-hl-line-highlight): Use it.
4881         (hl-line-overlay): Use defvar-local.
4883 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
4885         * term/ns-win.el: Require dnd.
4886         (global-map): Remove drag items.
4887         (ns-insert-text, ns-set-foreground-at-mouse)
4888         (ns-set-background-at-mouse):
4889         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4890         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4891         New functions.
4893 2013-12-19  Glenn Morris  <rgm@gnu.org>
4895         * emacs-lisp/ert.el (ert-select-tests):
4896         Fix string/symbol mixup.  (Bug#16121)
4898 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
4900         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4901         keywords to their parent.
4903 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
4905         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4906         first arg to be a string (fixed dead code), or an operator symbol.
4907         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4908         operator symbols.
4909         (ruby-smie-rules): Remove parent token check in the `.' clause, it
4910         did nothing.  Don't respond to `(:after ".")', it will be called
4911         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
4912         change anything.  Only return indentation for binary operators
4913         when they are hanging.  De-dent opening paren when its parent is
4914         `.', otherwise it looks bad when the dot is not at bol or eol
4915         (bug#16182).
4917 2013-12-19  Juri Linkov  <juri@jurta.org>
4919         * replace.el (query-replace-read-args): Split a non-negative arg
4920         and a negative arg into separate elements.
4921         (query-replace, query-replace-regexp, replace-string)
4922         (replace-regexp): Add arg `backward'.  Doc fix.
4923         (replace-match-maybe-edit): When new arg `backward' is non-nil,
4924         move point to the beginning of the match.
4925         (replace-search, replace-highlight): Use new arg `backward'
4926         to set the value of `isearch-forward'.
4927         (perform-replace): Add arg `backward' and use it to perform
4928         replacement backward.  (Bug#14979)
4930         * isearch.el (isearch-query-replace): Use a negative prefix arg
4931         to call `perform-replace' with a non-nil arg `backward'.
4933 2013-12-18  Juri Linkov  <juri@jurta.org>
4935         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4936         to the default list.  Move `log-edit-show-files' to the end.
4937         Add more available functions to options.
4938         (log-edit): Move default specific settings to
4939         `log-edit-insert-message-template'.  Don't move point.
4940         (log-edit-insert-message-template): New function.
4941         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4942         (Bug#16170)
4944 2013-12-18  Juri Linkov  <juri@jurta.org>
4946         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4947         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
4949 2013-12-18  Leo Liu  <sdl.web@gmail.com>
4951         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4952         (Bug#16186)
4954 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
4956         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4957         formats for displaying file sizes when the -s switch is given.
4958         Instead, compute a separate format for displaying the size in
4959         blocks, which is displayed in addition to the "regular" size.
4960         When -h is given in addition to -s, produce size in blocks in
4961         human-readable form as well.  (Bug#16179)
4963 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
4965         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4966         Reference tables with ~\ref{...} instead of only \ref{...}.
4968 2013-12-18  Chong Yidong  <cyd@gnu.org>
4970         * cus-edit.el (custom-magic-alist): Fix "themed" description
4971         (Bug#14348).
4973         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4974         is non-nil, do not create a new entry in the symbol's theme-value
4975         or theme-face property; update theme-settings only (Bug#14664).
4976         (custom-available-themes): Doc fix.
4978         * cus-theme.el (custom-new-theme-mode-map): Add bindings
4979         (Bug#15674).
4981         * replace.el (occur-engine): Avoid infloop (Bug#7593).
4983 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
4985         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4986         (Bug#13914).
4988 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
4990         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4992 2013-12-18  Glenn Morris  <rgm@gnu.org>
4994         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4995         * cus-start.el (load-prefer-newer): New option.
4997 2013-12-18  Le Wang  <l26wang@gmail.com>
4999         * comint.el (comint-previous-matching-input-from-input):
5000         Retain point (Bug#13404).
5002 2013-12-18  Chong Yidong  <cyd@gnu.org>
5004         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5006 2013-12-18  Glenn Morris  <rgm@gnu.org>
5008         * mail/emacsbug.el (report-emacs-bug):
5009         Only mention enable-multibyte-characters if non-standard.
5011 2013-12-17  Juri Linkov  <juri@jurta.org>
5013         * arc-mode.el (archive-extract-by-file): Check if directory exists
5014         before deletion to not show irrelevant errors if it doesn't exist.
5016 2013-12-17  Juri Linkov  <juri@jurta.org>
5018         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5019         (Bug#14751)
5021         * net/eww.el (browse-web): Add alias to `eww'.
5022         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5023         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
5025         * net/browse-url.el (browse-url-browser-function): Move `eww'
5026         closer to similar functions.
5028         * startup.el (fancy-startup-screen, fancy-about-screen):
5029         Set browse-url-browser-function to eww-browse-url locally.
5030         (Bug#14751)
5032 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5034         * window.el (window--pixel-to-total): Remove unused `mini' var.
5035         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5036         (split-window): Remove unused `new' var.
5037         (window--display-buffer): Remove unused `frame' and `delta' vars.
5038         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5039         and display-width'.
5041 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
5043         * dired.el (dired-mark-pop-up):
5044         * register.el (register-preview): Don't bind
5045         split-height-threshold here since it's now done in
5046         display-buffer-below-selected.
5048 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
5050         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5051         xterm-rgb-convert-to-16bit.
5052         (rxvt-register-default-colors): Standardize with
5053         xterm-register-default-colors (Bug#14078).
5055 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5057         * simple.el (kill-region): Pass mark first, then point, so that
5058         kill-append works right (Bug#12819).
5059         (copy-region-as-kill, kill-ring-save): Likewise.
5061 2013-12-17  Leo Liu  <sdl.web@gmail.com>
5063         * net/rcirc.el (rcirc-add-face):
5064         * eshell/em-prompt.el (eshell-emit-prompt):
5065         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5066         (Bug#16167)
5068 2013-12-17  Chong Yidong  <cyd@gnu.org>
5070         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5071         Suggested by Xue Fuqiao.
5073 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5075         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5077 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5079         * net/shr.el (shr-insert-document): Remove unused var
5080         `shr-preliminary-table-render'.
5081         (shr-rescale-image): Remove unused arg `force'.
5082         (shr-put-image): Update calls accordingly.
5083         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5085 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5087         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5088         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5089         :close-all, to see which indentation method to use (Bug#16116).
5090         (smie-rules-function): Document the method :close-all.
5092 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5094         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5096         * net/eww.el (eww-display-html): If we can't find the anchor we're
5097         looking for, then go to point-min.
5099 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
5101         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5102         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5103         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5104         Expand dir too, in case it's relative.
5106 2013-12-16  Juri Linkov  <juri@jurta.org>
5108         * desktop.el (desktop-auto-save-timeout): Change default to
5109         `auto-save-timeout'.  Doc fix.
5110         (desktop-save): Skip the timestamp in desktop-saved-frameset
5111         when checking for auto-save changes.
5112         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5113         `desktop-auto-save' is called repeatedly by the idle timer.
5114         (desktop-auto-save-set-timer): Replace `run-with-timer' with
5115         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
5116         (Bug#15331)
5118 2013-12-16  Juri Linkov  <juri@jurta.org>
5120         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5121         (Bug#16035)
5122         (isearch-pre-command-hook): Check `this-command' for symbolp.
5124 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5126         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5128 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
5130         * progmodes/cfengine.el (cfengine3--current-word): Remove.
5131         (cfengine3--current-function): Bring in the current-function
5132         functionality from `cfengine3--current-word'.
5133         (cfengine3-completion-function): Bring in the
5134         bounds-of-current-word functionality from
5135         `cfengine3--current-word'.
5137 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
5139         * window.el (display-buffer-below-selected):
5140         Bind split-height-threshold to 0 as suggested by Juri Linkov.
5142 2013-12-16  Leo Liu  <sdl.web@gmail.com>
5144         * progmodes/compile.el (compile-goto-error): Do not push-mark.
5145         Remove NOMSG arg and all uses changed.
5147 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5149         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5150         (cua--deactivate-rectangle): Don't deactivate the mark.
5151         (cua-set-rectangle-mark): Don't set mark-active since
5152         cua--activate-rectangle already does it for us.
5153         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5154         non-rectangular region.
5156         * emulation/cua-base.el (cua-repeat-replace-region):
5157         Use with-current-buffer.
5159         * net/gnutls.el: Use cl-lib.
5160         (gnutls-negotiate): `mapcan' -> cl-mapcan.
5162 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5164         * emacs-lisp/package.el (package-built-in-p): Support both
5165         built-in and the package.el converted package descriptions.
5166         (package-show-package-list): Allow keywords.
5167         (package-keyword-button-action): Use it instead of
5168         `finder-list-matches'.
5169         (package-menu-filter-interactive): Interactive filtering (by
5170         keyword) function.
5171         (package-menu--generate): Support keywords and change keymappings
5172         and headers when they are given.
5173         (package--has-keyword-p): Helper function.
5174         (package-menu--refresh): Use it.
5175         (package--mapc): Helper function.
5176         (package-all-keywords): Use it.
5177         (package-menu-mode-map): Set up menu items and keybindings to
5178         provide a filtering UI.
5180 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5182         * net/gnutls.el (gnutls-verify-error): New defcustom to control
5183         the behavior when a certificate fails validation.  Defaults to
5184         old behavior: never abort, just warn.
5185         (gnutls-negotiate): Use it.
5187 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
5189         * window.el (display-buffer-below-selected): Never split window
5190         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
5192 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
5194         * emacs-lisp/package.el (package--prepare-dependencies): New function.
5195         (package-buffer-info): Use it (bug#15108).
5197 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5199         * icomplete.el (icomplete-completions): Make sure the prefix is already
5200         displayed elsewhere before hiding it (bug#16219).
5202 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
5204         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5205         open-paren tokens when preceded by a open-paren, too.
5206         (ruby-smie-rules): Handle virtual indentation after open-paren
5207         tokens specially.  If there is code between it and eol, return the
5208         column where is starts (Bug#16118).
5210 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5212         * progmodes/cfengine.el: Fix `add-hook' doc.
5213         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5214         (cfengine3--current-word): Fix parameters.
5215         (cfengine3-make-syntax-cache): Simplify further.
5216         (cfengine3-completion-function, cfengine3--current-function):
5217         Use `assq' for symbols.
5218         (cfengine3--current-function): Fix `cfengine3--current-word' call.
5220 2013-12-13  Glenn Morris  <rgm@gnu.org>
5222         * loadup.el (load-path): Warn if site-load or site-init changes it.
5223         No more need to reset it when bootstrapping.
5225 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5227         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5228         locations for cf-promises.
5229         (cfengine-mode-syntax-functions-regex): New caching variable.
5230         (cfengine3-fallback-syntax): Fallback syntax for cases where
5231         cf-promises doesn't run.
5232         (cfengine3--current-word): Reimplement using
5233         `cfengine-mode-syntax-functions-regex'.
5234         (cfengine3-completion-function, cfengine3--current-function):
5235         Use `cfengine3-make-syntax-cache' directly.
5236         (cfengine3-clear-syntax-cache): New function.
5237         (cfengine3-make-syntax-cache): Simplify and create
5238         `cfengine-mode-syntax-functions-regex' on demand.
5239         (cfengine3-format-function-docstring): Don't call
5240         `cfengine3-make-syntax-cache' explicitly.
5242 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
5244         Fix windmove-find-other-window broken after pixelwise resizing
5245         (Bug#16017).
5246         * windmove.el (windmove-other-window-loc): Revert change from
5247         2013-12-04.
5248         (windmove-find-other-window): Call window-in-direction.
5249         * window.el (window-in-direction): New arguments SIGN, WRAP and
5250         MINI to emulate original windmove-find-other-window behavior.
5252 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
5254         * simple.el (blink-matching--overlay): New variable.
5255         (blink-matching-open): Instead of moving point, highlight the
5256         matching paren with an overlay
5257         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5259         * faces.el (paren-showing-faces, show-paren-match)
5260         (show-paren-mismatch): Move from paren.el.
5262 2013-12-13  Leo Liu  <sdl.web@gmail.com>
5264         * indent.el (indent-region): Disable progress reporter in
5265         minibuffer.  (Bug#16108)
5267         * bindings.el (visual-order-cursor-movement): Fix version.
5269 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5271         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5272         Also match after beginning of line.
5273         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5274         files.  Thanks to Russell Sim.  (Bug#15378)
5276 2013-12-13  Juri Linkov  <juri@jurta.org>
5278         * simple.el <Keypad support>: Remove key bindings duplicated
5279         with bindings.el.  (Bug#14397)
5281 2013-12-13  Juri Linkov  <juri@jurta.org>
5283         * comint.el (comint-mode-map): Replace `delete-char' with
5284         `delete-forward-char'.  (Bug#16109)
5286 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5288         * progmodes/python.el (python-indent-calculate-indentation):
5289         Fix de-denters cornercase.  (Bug#15731)
5291 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5293         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5294         (advice--make): Pay attention to `depth'.
5295         (advice--make-1): Don't autoload commands eagerly.
5296         * emacs-lisp/elp.el (elp-instrument-function):
5297         * emacs-lisp/trace.el (trace-function-internal):
5298         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5300         * iswitchb.el (iswitchb-mode): Don't belittle ido.
5302 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
5304         * term/w32-win.el (w32-handle-dropped-file):
5305         * startup.el (normal-top-level):
5306         * net/browse-url.el (browse-url-file-url):
5307         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5308         decode file names using 'utf-8' rather than
5309         file-name-coding-system.
5311 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5313         * progmodes/python.el (python-indent-context)
5314         (python-indent-calculate-indentation): Fix auto-identation
5315         behavior for comment blocks.  (Bug#15916)
5317 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5319         * progmodes/python.el (python-indent-calculate-indentation):
5320         When determining indentation, don't treat "return", "pass", etc., as
5321         operators when they are just string constituents.  (Bug#15812)
5323 2013-12-12  Juri Linkov  <juri@jurta.org>
5325         * uniquify.el (uniquify-buffer-name-style): Change default to
5326         `post-forward-angle-brackets'.
5328         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5329         `uniquify'.  Change default to `post-forward-angle-brackets'.
5331 2013-12-11  Glenn Morris  <rgm@gnu.org>
5333         * emacs-lisp/package.el (finder-list-matches):
5334         Autoload rather than falsely declaring.
5336 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
5338         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5339         (eww-mode-map): Use them.
5341 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
5343         * window.el (display-buffer-in-side-window): Fix doc-string
5344         (Bug#16115).
5346 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
5348         * vc/vc-git.el: Silence byte-compiler warnings.
5349         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5350         (log-edit-set-header): Declare.
5352 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
5354         * Makefile.in (custom-deps, finder-data): Run output file names
5355         through unmsys--file-name.  (Bug#16099)
5357 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5359         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5360         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5362         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5363         instead of deleting the selection "by hand" (bug#16098).
5364         Rely on insert-for-yank to yank rectangles.
5365         (cua-highlight-region-shift-only): Mark obsolete.
5366         (cua-mode): Don't enable/disable transient-mark-mode,
5367         shift-select-mode (cua-mode works both with and without them), and
5368         pc-selection-mode (obsolete).
5369         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5370         (cua--deactivate-rectangle): Deactivate it.
5372         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5373         (delete-selection-helper): Make sure yank starts at the top of the
5374         deleted region.
5375         (minibuffer-keyboard-quit): Use region-active-p.
5377         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5379         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5380         to `delete' (bug#16109).
5382 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5384         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5385         info manual and show keybindings and set `:group' keyword.
5387 2013-12-11  Juri Linkov  <juri@jurta.org>
5389         * delsel.el (delete-active-region): Let-bind `this-command'
5390         to prevent `kill-region' from changing its original value.
5391         (delete-selection-helper): Handle `overwrite-mode' for the type
5392         `kill' exactly the same way as for the type `t'.
5393         (insert-char, quoted-insert, reindent-then-newline-and-indent):
5394         Support more commands.  (Bug#13312)
5396 2013-12-11  Juri Linkov  <juri@jurta.org>
5398         * bindings.el: Map kp keys to non-kp keys systematically
5399         with basic modifiers control, meta and shift.  (Bug#14397)
5401 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5403         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5404         "Close browser" menu items.  Fix wrong function of "List
5405         bookmarks".
5407 2013-12-11  Juri Linkov  <juri@jurta.org>
5409         * misearch.el (multi-isearch-buffers): Set the value of
5410         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5411         arg of isearch-forward to t.
5412         (multi-isearch-buffers-regexp): Set the value of
5413         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5414         arg of isearch-forward-regexp to t.
5415         (multi-isearch-files): Set the value of
5416         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5417         arg of isearch-forward to t.
5418         (multi-isearch-files-regexp): Set the value of
5419         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5420         arg of isearch-forward-regexp to t.  (Bug#16035)
5422         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5423         arg of isearch-forward to t.
5424         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5425         arg of isearch-forward-regexp to t.
5426         (dired-isearch-filter-filenames): Remove unnecessary check for
5427         `dired-isearch-filenames'.
5429         * comint.el (comint-history-isearch-backward):
5430         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5431         (comint-history-isearch-backward-regexp):
5432         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5434 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
5436         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5437         unmsys--file-name.  (Bug#16099)
5439 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
5441         * emacs-lisp/package.el (package-keyword-button-action):
5442         Remove finder.el require dependency.
5444 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
5446         * emacs-lisp/package.el: Require finder.el.
5447         (describe-package-1): Add keyword buttons.
5448         (package-make-button): New convenience function.
5449         (package-keyword-button-action): Keyword button action using
5450         `finder-list-matches'.
5452 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
5454         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5455         last commit.
5457 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
5459         * autorevert.el (auto-revert-notify-add-watch): Do not handle
5460         symlinked files.
5462 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
5464         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5465         after the end of a percent literal.
5467 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
5469         * progmodes/ruby-mode.el (ruby-forward-string): Document.
5470         Handle caret-delimited strings (Bug#16079).
5472 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
5474         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5475         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5476         `ruby-parse-partial' (Bug#16078).
5478 2013-12-09  Leo Liu  <sdl.web@gmail.com>
5480         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
5482 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
5484         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5485         (js-switch-indent-offset): New option.
5486         (js--proper-indentation): Use it.  And handle the case when
5487         "default" is actually a key in an object literal.
5488         (js--same-line): New function.
5489         (js--multi-line-declaration-indentation): Use it.
5490         (js--indent-in-array-comp, js--array-comp-indentation):
5491         New functions.
5492         (js--proper-indentation): Use them, to handle array comprehension
5493         continuations.
5495 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5497         * progmodes/flymake.el (flymake-highlight-line): Re-write.
5498         (flymake-make-overlay): Remove arg MOUSE-FACE.
5499         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5501 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5503         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5504         New function.
5505         (redisplay-highlight-region-function): Use it.
5507         * emulation/cua-base.el (cua--explicit-region-start)
5508         (cua--last-region-shifted): Remove.
5509         (cua--deactivate): Use deactivate-mark.
5510         (cua--pre-command-handler-1): Don't handle shift-selection.
5511         (cua--post-command-handler-1): Don't change transient-mark-mode.
5512         (cua--select-keymaps): Use region-active-p rather than
5513         cua--explicit-region-start or cua--last-region-shifted.
5514         (cua-mode): Enable shift-select-mode.
5516 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5518         * progmodes/flymake.el (flymake-popup-current-error-menu):
5519         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
5520         (flymake-posn-at-point-as-event, flymake-popup-menu)
5521         (flymake-make-emacs-menu): Remove.  (Bug#16077)
5523 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5525         * rect.el (rectangle-mark-mode): Activate mark even if
5526         transient-mark-mode is off (bug#16066).
5527         (rectangle--highlight-for-redisplay): Fix boundary condition when point
5528         is > mark and at bolp.
5530         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5531         (region-extract-function): Use it.
5532         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5533         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5534         Delete functions.
5535         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5536         kill-ring-save, kill-region, delete-char, delete-forward-char.
5537         Ignore self-insert-iso.
5539         * emulation/cua-gmrk.el (cua--init-global-mark):
5540         Ignore `self-insert-iso'.
5542         * emulation/cua-base.el (cua--prefix-copy-handler)
5543         (cua--prefix-cut-handler): Rely on region-extract-function rather than
5544         checking cua--rectangle.
5545         (cua-delete-region): Use region-extract-function.
5546         (cua-replace-region): Delete function.
5547         (cua-copy-region, cua-cut-region): Obey region-extract-function.
5548         (cua--pre-command-handler-1): Don't do the delete-selection thing.
5549         (cua--self-insert-char-p): Ignore `self-insert-iso'.
5550         (cua--init-keymaps): Don't remap delete-selection commands.
5551         (cua-mode): Use delete-selection-mode instead of rolling our own
5552         (bug#16085).
5554         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5555         Obey region-extract-function.
5557         Make registers and delete-selection-mode work on rectangles.
5558         * register.el (describe-register-1): Don't modify the register's value.
5559         (copy-to-register): Obey region-extract-function.
5560         * delsel.el (delete-active-region): Obey region-extract-function.
5562 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5564         * progmodes/flymake.el (flymake, flymake-error-bitmap)
5565         (flymake-warning-bitmap, flymake-fringe-indicator-position)
5566         (flymake-compilation-prevents-syntax-check)
5567         (flymake-start-syntax-check-on-newline)
5568         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5569         (flymake-start-syntax-check-on-find-file, flymake-log-level)
5570         (flymake-xml-program, flymake-master-file-dirs)
5571         (flymake-master-file-count-limit)
5572         (flymake-allowed-file-name-masks): Relocate.
5573         (flymake-makehash, flymake-float-time)
5574         (flymake-replace-regexp-in-string, flymake-split-string)
5575         (flymake-get-temp-dir): Remove.
5576         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5577         (flymake-current-row, flymake-selected-frame)
5578         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5579         related functions.  (Bug#16077)
5581 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
5583         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5585 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
5587         * help-fns.el (describe-function-1): Use new advice-* functions
5588         rather than old ad-* functions.  Fix function type description and
5589         source links for advised functions and subrs.
5591 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5593         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5595 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
5597         * progmodes/compile.el (compilation-start):
5598         * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
5600         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5601         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
5603 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
5605         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5606         Touch up the last change.
5608 2013-12-06  Leo Liu  <sdl.web@gmail.com>
5610         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5611         (inferior-octave-startup): Always use "octave> " for prompt.
5612         (octave-goto-function-definition)
5613         (octave-sync-function-file-names)
5614         (octave-find-definition-default-filename): Remove redundant backquotes.
5616 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
5618         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5619         syntax for `?'.
5620         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5621         where appropriate already.
5622         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5623         end of method names (Bug#15874).
5625 2013-12-06  Juri Linkov  <juri@jurta.org>
5627         * isearch.el (isearch--saved-overriding-local-map):
5628         New internal variable.
5629         (isearch-mode): Set it to the initial value of
5630         `overriding-terminal-local-map'.
5631         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5632         with `isearch--saved-overriding-local-map'.  (Bug#16035)
5634 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
5636         * progmodes/octave.el (inferior-octave-completion-table):
5637         Turn back into function, use `completion-table-with-cache'
5638         (Bug#11906).  Update all references.
5640         * minibuffer.el (completion-table-with-cache): New function.
5642 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
5644         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5646 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
5648         * net/eww.el (eww-current-source): New variable to store page
5649         source.
5650         (eww-display-html, eww-mode, eww-save-history)
5651         (eww-restore-history): Use it.
5652         (eww-view-source): New command to view page source.
5653         Opportunistically uses `html-mode' to highlight the buffer.
5654         (eww-mode-map): Install it.
5656 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
5658         * net/dbus.el (dbus-unregister-service)
5659         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5660         Fix docstring.
5661         (dbus-unregister-service): Skip :serial entries in
5662         `dbus-registered-objects-table'.
5663         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5665 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
5667         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5668         around keywords with extra `split-string' argument.
5670 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
5672         * windmove.el (windmove-other-window-loc): Handle navigation
5673         between windows (excluding the minibuffer window - Bug#16017).
5675 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
5677         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5678         in D-Bus type syntax.
5679         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5680         preserve unibyte strings.  (Bug#16048)
5682 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5684         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5685         Call force-mode-line-update is the proper buffer (bug#16042).
5687 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
5689         * vc/log-edit.el (log-edit-add-new-comment): Rename to
5690         `log-edit-remember-comment', make argument optional.  Adjust all
5691         callers.
5692         (log-edit-mode): Add `log-edit-remember-comment' to
5693         `kill-buffer-hook' locally.
5694         (log-edit-kill-buffer): Don't remember comment explicitly since
5695         the buffer is killed anyway.
5697 2013-12-04  Juri Linkov  <juri@jurta.org>
5699         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5700         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
5702 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
5704         * notifications.el (notifications-close-notification): Call the
5705         D-Bus method with ID being a `:uint32'.  (Bug#16030)
5707 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
5709         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5711 2013-12-03  Juri Linkov  <juri@jurta.org>
5713         * progmodes/compile.el (compilation-start): Rename window alist
5714         entry `no-display-ok' to `allow-no-window'.
5716         * simple.el (shell-command): Add window alist entry
5717         `allow-no-window' to `display-buffer'.
5718         (async-shell-command): Doc fix.
5720         * window.el (display-buffer-no-window): New action function.
5721         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
5723 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
5725         * vc/log-edit.el (log-edit-set-header): Extract from
5726         `log-edit-toggle-header'.
5727         (log-edit-extract-headers): Separate the summary, when extracted
5728         from header, from the rest of the message with an empty line.
5730         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5731         line, if present, to the Summary header.
5733 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5735         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5736         in current-buffer (bug#16029).
5738 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
5740         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5741         (debugger-mode-map): Bind it.
5742         (debugger--backtrace-base): New function.
5743         (debugger-eval-expression): Use it.
5744         (debugger-frame-number): Skip local vars when present.
5745         (debugger--locals-visible-p, debugger--insert-locals)
5746         (debugger--show-locals, debugger--hide-locals): New functions.
5748 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
5750         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5751         "LC_ALL".
5752         (tramp-get-remote-locale): New defun.
5753         (tramp-open-connection-setup-interactive-shell): Use it.
5755 2013-12-02  Leo Liu  <sdl.web@gmail.com>
5757         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
5759         * progmodes/sh-script.el (sh-shell-process):
5760         * progmodes/octave.el (inferior-octave-process-live-p):
5761         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5762         (gdb-inferior-io-sentinel):
5763         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5765 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
5767         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5768         `save-selected-window' to `log-edit-hide-buf'.  This makes
5769         `log-edit-show-files' idempotent.
5770         (log-edit-show-files): Mark the new window as dedicated.
5772 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
5774         * vc/log-edit.el (log-edit-mode-map): Add binding for
5775         `log-edit-kill-biffer'.
5776         (log-edit-hide-buf): Add a FIXME comment.
5777         (log-edit-add-new-comment): New function, extracted from
5778         `log-edit-done'.
5779         (log-edit-done, log-edit-add-to-changelog): Use it.
5780         (log-edit-kill-buffer): New command.
5782 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5784         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5785         instead of killing the buffer.
5787 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5789         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5791 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5793         * net/eww.el (eww-form-checkbox-selected-symbol)
5794         (eww-form-checkbox-symbol): New customizable variable.
5795         (eww-form-checkbox, eww-toggle-checkbox):
5796         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5798         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5799         (shr--get-media-pref, shr--extract-best-source): New function.
5800         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5801         no :src tag was specified.
5803         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5804         (eww-render): Handle `eww-use-external-browser-for-content-type'.
5805         Use \\` to match beginning of string instead of ^.
5806         (eww-browse-with-external-browser): Provide optional URL parameter.
5807         (eww-render): Set `eww-current-title' back to "".
5809         * net/shr.el (shr-tag-video): Display content for video if no
5810         poster is available.
5811         (shr-tag-audio): Add support for <audio> tag.
5813         * net/eww.el (eww-text-input-types): New const.
5814         (eww-process-text-input): Treat input types in
5815         `eww-text-input-types' as text.
5817         * net/shr.el (shr-tag-table): Fix comment typo.
5819 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5821         * net/eww.el (eww-follow-link): New command to avoid reloading
5822         pages when we follow #target links (bug#15243).
5823         (eww-quit): Special mode buffers shouldn't query before exiting.
5825 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5827         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5828         forms.
5830 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5832         * net/eww.el (eww-restore-history): Update the window title after
5833         moving in the history.
5834         (eww-current-dom): New variable used to save the current DOM.
5836 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
5838         * vc/log-edit.el (log-edit-mode-map): Add binding for
5839         `log-edit-beginning-of-line'.
5840         (log-edit-setup-add-author): New user option.
5841         (log-edit-beginning-of-line): New command.
5842         (log-edit): Move major mode call above the contents setup so that
5843         the local variable values are already applied.
5844         (log-edit): Only insert "Author: " when
5845         `log-edit-setup-add-author' is non-nil.
5846         (log-edit): When SETUP is non-nil, position point after ": "
5847         instead of point-min.
5849 2013-12-01  Glenn Morris  <rgm@gnu.org>
5851         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5853 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
5855         * startup.el (fancy-splash-frame): On MS-Windows, trigger
5856         redisplay to make sure the initial frame gets a chance to become
5857         visible.  (Bug#16014)
5859 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
5861         Support resizing frames and windows pixelwise.
5862         * cus-start.el (frame-resize-pixelwise)
5863         (window-resize-pixelwise): New entries.
5864         * emacs-lisp/debug.el (debug): Use window-total-height instead
5865         of window-total-size.
5866         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5867         * help.el (describe-bindings-internal): Use help-buffer as
5868         argument for with-help-window.
5869         (temp-buffer-max-width): New option.
5870         (resize-temp-buffer-window, help-window-setup)
5871         (with-help-window): Rewrite.
5872         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
5873         dragging dividers.
5874         * window.el (frame-char-size, window-min-pixel-height)
5875         (window-safe-min-pixel-height, window-safe-min-pixel-width)
5876         (window-min-pixel-width, window-safe-min-pixel-size)
5877         (window-combination-p, window-safe-min-size)
5878         (window-resizable-p, window--size-to-pixel)
5879         (window--pixel-to-size, window--resize-apply-p): New functions.
5880         (window-safe-min-height): Fix doc-string.
5881         (window-size, window-min-size, window--min-size-1)
5882         (window-sizable, window-sizable-p, window--min-delta-1)
5883         (window-min-delta, window--max-delta-1, window-max-delta)
5884         (window--resizable, window--resizable-p, window-resizable)
5885         (window-full-height-p, window-full-width-p, window-at-side-p)
5886         (window--in-direction-2, window-in-direction)
5887         (window--resize-reset-1, window--resize-mini-window)
5888         (window-resize, window-resize-no-error)
5889         (window--resize-child-windows-normal)
5890         (window--resize-child-windows, window--resize-siblings)
5891         (window--resize-this-window, window--resize-root-window)
5892         (window--resize-root-window-vertically)
5893         (adjust-window-trailing-edge, enlarge-window, shrink-window)
5894         (maximize-window, minimize-window, delete-window)
5895         (quit-restore-window, window-split-min-size, split-window)
5896         (balance-windows-2, balance-windows)
5897         (balance-windows-area-adjust, balance-windows-area)
5898         (window--state-get-1, window-state-get, window--state-put-1)
5899         (window--state-put-2, window-state-put)
5900         (display-buffer-record-window, window--display-buffer):
5901         Make functions handle pixelwise sizing of windows.
5902         (display-buffer--action-function-custom-type)
5903         (display-buffer-fallback-action):
5904         Add display-buffer-in-previous-window.
5905         (display-buffer-use-some-window): Resize window to height it had
5906         before.
5907         (fit-window-to-buffer-horizontally): New option.
5908         (fit-frame-to-buffer): Describe new values.
5909         (fit-frame-to-buffer-bottom-margin): Replace with
5910         fit-frame-to-buffer-margins.
5911         (window--sanitize-margin): New function.
5912         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5913         using window-text-pixel-size.
5915 2013-11-30  Glenn Morris  <rgm@gnu.org>
5917         * emacs-lisp/bytecomp.el (byte-compile-form):
5918         Make the `interactive-only' warning like the `obsolete' one.
5919         * comint.el (comint-run):
5920         * files.el (insert-file-literally, insert-file):
5921         * replace.el (replace-string, replace-regexp):
5922         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5923         (goto-line, insert-buffer, next-line, previous-line):
5924         Tweak `interactive-only' spec.
5926         Stop keeping (most) generated cedet grammar files in the repository.
5927         * Makefile.in (semantic): New.
5928         (compile-main): Depend on semantic.
5930 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5932         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5933         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5935         * uniquify.el (uniquify-buffer-name-style): Change default.
5937         * loadup.el: Preload "uniquify".
5939         * time.el (display-time-update): Update all mode lines (bug#15999).
5941         * electric.el (electric-indent-mode): Enable by default.
5942         * loadup.el: Preload "electric".
5944 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
5946         * emacs-lisp/helpers.el (string-empty-p): New function.
5947         (string-blank-p): New function.
5949 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
5951         * imenu.el (imenu--index-alist): Add missing dot to the docstring
5952         (Bug#14029).
5954 2013-11-29  Andreas Politz  <politza@fh-trier.de>
5955         * imenu.el (imenu--subalist-p): Don't error on non-conses and
5956         allow non-lambda lists as functions.
5957         (imenu--in-alist): Don't recurse into non-subalists.
5958         (imenu): Don't pass function itself as an argument (Bug#14029).
5960 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5962         * progmodes/python.el (python-mode-map): Remove binding for ":".
5963         (python-indent-electric-colon): Remove command.
5964         (python-indent-post-self-insert-function): Integrate the previous code
5965         of python-indent-electric-colon.  Make it conditional on
5966         electric-indent-mode.
5967         (python-mode): Add ?: to electric-indent-chars.
5968         Move python-indent-post-self-insert-function to the end of
5969         post-self-insert-hook.
5971 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5973         * doc-view.el (doc-view-goto-page): Update mode-line.
5975         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5977 2013-11-27  Glenn Morris  <rgm@gnu.org>
5979         * international/charprop.el, international/uni-bidi.el:
5980         * international/uni-category.el, international/uni-combining.el:
5981         * international/uni-comment.el, international/uni-decimal.el:
5982         * international/uni-decomposition.el, international/uni-digit.el:
5983         * international/uni-lowercase.el, international/uni-mirrored.el:
5984         * international/uni-name.el, international/uni-numeric.el:
5985         * international/uni-old-name.el, international/uni-titlecase.el:
5986         * international/uni-uppercase.el:
5987         Remove generated files from VCS repository.
5989 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
5991         * filenotify.el (file-notify-add-watch): Don't special-case
5992         w32notify when computing the directory to watch.
5994 2013-11-27  Glenn Morris  <rgm@gnu.org>
5996         Make bootstrap without generated uni-*.el files possible again.
5997         * loadup.el: Update command-line-args checking for unidata-gen.
5998         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5999         * composite.el, international/characters.el:
6000         Handle unicode tables being undefined.
6002         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6003         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6004         (compile-main): Depend on leim rule.
6005         (leim): New rule.
6006         * loadup.el: Move leim-list.el to leim/ subdirectory.
6007         * startup.el (normal-top-level): No more leim directory.
6008         * international/ja-dic-cnv.el (skkdic-convert):
6009         Disable version-control and autoloads in output files.
6010         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6011         Disable version-control and autoloads in output files.
6012         * leim/quail: Move here from ../leim.
6013         * leim/quail/hangul.el (hangul-input-method-activate):
6014         Add autoload cookie.
6015         (generated-autoload-load-name): Set file-local value.
6016         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6017         (generated-autoload-load-name): Set file-local value.
6019 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
6021         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6022         (eww-add-bookmark): Ask confirmation when add to bookmarks.
6023         (eww-quit): Ask confirmation before quitting eww.
6025 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
6027         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6028         reading output from Diff on MS-Windows and MS-DOS.
6030 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
6032         * emacs-lisp/helpers.el (string-reverse): New function.
6034 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
6036         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6037         names on MS Windows, like "/[::1]:".
6039         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6040         SWITCHES.
6042 2013-11-26  Glenn Morris  <rgm@gnu.org>
6044         * progmodes/python.el (python-indent-guess-indent-offset):
6045         Avoid corner-case error.  (Bug#15975)
6047         Preload leim-list.el.  (Bug#4789)
6048         * loadup.el: Load leim-list.el when found.
6049         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6051 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
6053         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6055         * emacs-lisp/helpers.el (string-join): New function.
6057 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
6059         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6060         Mark as obsolete and replace it with a symbol property.
6061         (byte-compile-form): Use new 'interactive-only property.
6062         * comint.el, files.el, replace.el, simple.el:
6063         Apply new 'interactive-only properly.
6065 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
6067         * window.el (display-buffer-at-bottom): Make sure that
6068         split-window-sensibly creates the new window on bottom
6069         (Bug#15961).
6071 2013-11-23  David Kastrup  <dak@gnu.org>
6073         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6074         on the conflict markers when available.
6075         (smerge--get-marker): New function.
6076         (smerge-end-re, smerge-base-re): Add subgroup.
6078 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6080         * frame.el (handle-focus-in, handle-focus-out): Add missing
6081         interactive spec.
6083 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
6085         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6086         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6088 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6090         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
6091         (gomoku--last-pos): New var.
6092         (gomoku--intangible-chars): New const.
6093         (gomoku--intangible): New function.
6094         (gomoku-mode): Use it.  Derive from special-mode.
6095         (gomoku-move-up): Adjust line count.
6096         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6097         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6098         Simplify accordingly.
6100         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6101         Remove blink-cursor code.
6102         (blink-cursor-timer-function, blink-cursor-suspend):
6103         Don't special-case GUIs.
6104         (blink-cursor-mode): Use focus-in/out-hook.
6106 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
6108         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6109         work when annotation is invisible (Bug#13886).
6111 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
6113         * json.el (json-alist-p): Only return non-nil if the alist has
6114         simple keys (Bug#13518).
6116 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
6118         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6119         when control-statement is the first statement in a buffer (Bug#15956).
6121 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
6123         * imenu.el (imenu-generic-skip-comments-and-strings):
6124         New option (Bug#15560).
6125         (imenu--generic-function): Use it.
6127 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
6129         * minibuffer.el (completion--in-region-1): Scroll the correct window.
6130         (Bug#13898)
6132 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
6134         * emacs-lisp/helpers.el: Add some string helpers.
6135         (string-trim-left): Removes leading whitespace.
6136         (string-trim-right): Removes trailing whitespace.
6137         (string-trim): Removes leading and trailing whitespace.
6139         * subr.el (string-suffix-p): New function.
6141 2013-11-23  Glenn Morris  <rgm@gnu.org>
6143         * progmodes/python.el (python-shell-send-file):
6144         Add option to delete file when done.  (Bug#15647)
6145         (python-shell-send-string, python-shell-send-region): Use it.
6147 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
6149         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6150         to set buffer-read-only to t, never to nil.  (Bug#15938)
6152         * textmodes/tex-mode.el (latex-noindent-environments):
6153         Add safe-local-variable property.  (Bug#15936)
6155 2013-11-23  Glenn Morris  <rgm@gnu.org>
6157         * textmodes/enriched.el (enriched-mode): Doc fix.
6158         * emacs-lisp/authors.el (authors-renamed-files-alist):
6159         Add enriched.doc -> enriched.txt.
6161         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6163 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6165         * progmodes/octave.el (inferior-octave-startup): Spit out error
6166         message.
6168 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
6170         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6171         Improve docstring.
6172         Add :version.
6173         (ruby-encoding-magic-comment-style): Add :version.
6175 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6177         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6178         (Bug#15076)
6179         (octave-help-mode): Adapt to change to help-mode-finish to use
6180         derived-mode-p on 2013-09-17.
6181         (inferior-octave-prompt): Also match octave-gui.
6182         (octave-kill-process): Don't ask twice.  (Bug#10564)
6184 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6186         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6187         (inferior-octave-startup, inferior-octave-check-process)
6188         (inferior-octave-track-window-width-change)
6189         (octave-completion-at-point, octave-eldoc-function): Use it.
6190         (octave-kill-process): Provide confirmation.  (Bug#10564)
6192 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6194         * progmodes/octave.el (octave-mode, inferior-octave-mode):
6195         Fix obsolete variable comment-use-global-state.
6197 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6199         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6200         Add `octave-source-file'.
6201         (octave-source-file): New function.  (Bug#15935)
6203 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
6205         * net/eww.el (eww-local-regex): New variable.
6206         (eww): Use it to detect localhost and similar.
6208 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6210         Add completion for command `ag'.
6211         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6212         (pcomplete/ag): New function.
6213         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
6215 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6217         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6218         (bug#14646).
6219         (make-obsolete): Remove interactive spec.
6221 2013-11-21  Glenn Morris  <rgm@gnu.org>
6223         * startup.el (command-line-1): Use path-separator with -L.
6225 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
6227         * emacs-lisp/package.el (describe-package-1): Add package archive
6228         to shown fields.
6230 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
6232         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6233         Change default to "# encoding: %s" to differentiate it from the
6234         default Ruby encoding comment template.
6236 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
6238         * ses.el (ses-mode): Doc fix.  (Bug#14748)
6240 2013-11-20  Leo Liu  <sdl.web@gmail.com>
6242         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
6244 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
6246         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6247         when rebase or bisect are in progress.
6249 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
6251         * filenotify.el (file-notify-add-watch): Doc fix.
6253 2013-11-19  Leo Liu  <sdl.web@gmail.com>
6255         * obsolete/rcompile.el: Mark obsolete.
6257         * progmodes/compile.el (compilation-start)
6258         (compilation-goto-locus, compilation-find-file):
6259         Pass no-display-ok and handle nil value from display-buffer.
6260         (Bug#13594)
6262         * window.el (display-buffer-alist, display-buffer): Document the
6263         new parameter no-display-ok.  Return either a window or nil
6264         but never a non-window value.
6266 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6268         * electric.el (electric-indent-mode-map): Remove.
6269         (electric-indent-mode): Change the global-map instead (bug#15915).
6271         * textmodes/text-mode.el (paragraph-indent-minor-mode):
6272         Use add-function.
6274 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6276         * emacs-lisp/nadvice.el (remove-function): Align with
6277         add-function's behavior.
6279         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6280         (gdb--string-regexp): New constant.
6281         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6282         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6283         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6284         submatch 1.
6285         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6286         Adjust use accordingly.
6287         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6289 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
6291         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6292         interpolation curlies (Bug#15914).
6294 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
6296         * calc/calc.el (calc-context-sensitive-enter): New variable.
6297         (calc-enter): Use `calc-context-sensitive-enter'.
6299 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
6301         * progmodes/cfengine.el: Version bump.
6302         (cfengine-cf-promises): New defcustom to locate cf-promises.
6303         (cfengine3-vartypes): Add new "data" type.
6304         (cfengine3--current-word): New function to get current name-like
6305         word or its bounds.
6306         (cfengine3--current-function): New function to look up a CFEngine
6307         function's definition.
6308         (cfengine3-format-function-docstring): New function.
6309         (cfengine3-make-syntax-cache): New function.
6310         (cfengine3-documentation-function): New function: ElDoc glue.
6311         (cfengine3-completion-function): New function: completion glue.
6312         (cfengine3-mode): Set `compile-command',
6313         `eldoc-documentation-function', and add to
6314         `completion-at-point-functions'.
6316 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
6318         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6319         `tramp-current-connection'.
6321 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
6323         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6324         nil/self/true/false with "end of symbol".
6326 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
6328         * subr.el (version-regexp-alist): Fix a typo.
6330 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
6332         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6333         "en_US.utf8" and "LC_CTYPE" to "".
6334         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6335         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6337 2013-11-15  Leo Liu  <sdl.web@gmail.com>
6339         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
6341 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6343         * progmodes/gud.el (ctl-x-map):
6344         Remove C-x SPC binding.  (Bug#12342)
6345         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6347 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
6349         * subr.el (version-regexp-alist):
6350         Recognize hg, svn and darcs versions as snapshot versions.
6352         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6353         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6354         (ruby--encoding-comment-required-p): Extract from
6355         `ruby-mode-set-encoding'.
6356         (ruby-mode-set-encoding): Add the ability to always insert an
6357         utf-8 encoding comment.  Fix and simplify coding comment update
6358         logic.
6360 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
6362         * net/tramp-gvfs.el (top): Run init code only when
6363         `tramp-gvfs-enabled' is not nil.
6364         (tramp-gvfs-enabled): Check also :system bus.
6366 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6368         Sync with upstream verilog-mode revision 78e66ba.
6369         * progmodes/verilog-mode.el (verilog-end-of-defun)
6370         (verilog-type-completion, verilog-get-list): Remove unused funcs.
6371         (verilog-get-end-of-defun): Remove unused argument.
6372         (verilog-comment-depth): Remove unused local `e'.
6373         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6374         Don't pass arg to verilog-get-end-of-defun.
6376 2013-11-14  Glenn Morris  <rgm@gnu.org>
6378         * obsolete/assoc.el (aget): Prefix dynamic variable.
6380         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6382 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6384         * widget.el, hfy-cmap.el: Remove bogus package version number.
6386 2013-11-13  Glenn Morris  <rgm@gnu.org>
6388         * replace.el (replace-eval-replacement):
6389         Try to give more helpful error message.  (Bug#15836)
6391         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6392         (archive-7z-update): Avoid custom type mismatches.
6394         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6396 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
6398         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6399         address can be empty.
6401         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6402         Accept nil SWITCHES.
6403         (tramp-gvfs-handle-write-region): Implement APPEND.
6405 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
6407         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6408         binary "|" operator and closing block args delimiter.
6409         Remove FIXME comment referring to Ruby 1.8-only syntax.
6410         (ruby-smie--implicit-semi-p): Not after "|" operator.
6411         (ruby-smie--closing-pipe-p): New function.
6412         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6413         (ruby-smie-rules): Indent after "|".
6415 2013-11-12  Glenn Morris  <rgm@gnu.org>
6417         * ps-print.el (ps-face-attribute-list):
6418         Handle anonymous faces.  (Bug#15827)
6420 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
6422         * window.el (display-buffer-other-frame): Fix doc-string.
6423         (Bug#15868)
6425 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6427         * subr.el (force-mode-line-update): Delete, move to buffer.c.
6429 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
6431         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6432         (tramp-sh-handle-file-local-copy): Don't write a message when
6433         saving temporary files.
6435         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6436         both directories are remote.
6437         (tramp-smb-handle-directory-files): Do not return double entries.
6438         Do not expand full file names.
6439         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6440         (tramp-smb-handle-write-region): Implement APPEND.
6441         (tramp-smb-get-stat-capability): Fix a stupid bug.
6443 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6445         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6447 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6449         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6450         throwing error over malformed let/let* (bug#15814).
6452 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6454         * iswitchb.el (iswitchb-mode): Mark obsolete.
6456 2013-11-11  Glenn Morris  <rgm@gnu.org>
6458         * international/uni-bidi.el, international/uni-category.el:
6459         * international/uni-name.el, international/uni-numeric.el:
6460         Regenerate for Unicode 6.3.0.
6462 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
6464         * net/tramp.el (tramp-methods):
6465         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6466         2013-10-29 (r114834).
6468 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
6470         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6471         Force highlighting text after Summary keyword in doc face for rpm.
6473 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
6475         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6476         available and the word has no wildcards, append one to the grep pattern.
6477         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6478         (ispell-complete-word): Call `ispell-lookup-words' with the value
6479         independent of `ispell-look-p'.
6481 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6483         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6484         Not after "||".
6485         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6486         their parent.
6488 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6490         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
6491         (ruby-font-lock-keywords): Use backquote.
6493 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6495         * progmodes/ruby-mode.el (ruby-smie--forward-token)
6496         (ruby-smie--backward-token): Only consider full-string matches.
6498 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
6500         * faces.el (describe-face): Add distant-foreground.
6502 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
6504         * progmodes/ruby-mode.el: Improve encoding comment handling.
6505         (ruby-encoding-magic-comment-style): New option.
6506         (ruby-custom-encoding-magic-comment-template): New option.
6507         (ruby--insert-coding-comment, ruby--detect-encoding):
6508         New functions extracted from `ruby-mode-set-encoding'.
6509         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6510         to control the style of the auto-inserted encoding comment.
6512 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6514         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6515         Use `smie-backward-sexp' with token argument.
6517 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
6519         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6520         Remove instrumentation code.
6522 2013-11-08  Glenn Morris  <rgm@gnu.org>
6524         * progmodes/autoconf.el (autoconf-mode):
6525         Tweak comment-start-skip.  (Bug#15822)
6527 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6529         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6530         at bobp (bug#15826).
6531         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6533 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
6535         * man.el (Man-start-calling): New macro, extracted from
6536         Man-getpage-in-background.
6537         (Man-getpage-in-background): Use it.
6538         (Man-update-manpage): New command.
6539         (Man-mode-map): Bind it.
6541 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6543         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6544         of "and", "or", "&&" and "||".
6545         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6546         argument.  Prohibit opening curly brace because it could only be a
6547         block opener in that position.
6548         (ruby-smie--forward-token, ruby-smie--backward-token):
6549         Separate "|" from "&" or "*" going after it.  That can happen in block
6550         arguments.
6551         (ruby-smie--indent-to-stmt): New function, seeks the end of
6552         previous statement or beginning of buffer.
6553         (ruby-smie-rules): Use it.
6554         (ruby-smie-rules): Check if there's a ":" before a curly block
6555         opener candidate; if there is, it's a hash.
6557 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6559         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6560         (cl--block-wrapper): Fix last accidental change.
6562 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
6564         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6565         Instrument, in order to hunt failure on hydra.
6567 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6569         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6570         malformed bindings form (bug#15814).
6572 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
6574         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6575         "." compared to " @ ".  This incidentally fixes some indentation
6576         examples with "do".
6577         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6578         (ruby-smie-grammar): New tokens: "and" and "or".
6579         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6580         Exclude "and" and "or".  Remove "do" in order to work around token
6581         priorities.
6582         (ruby-smie-rules): Add all infix tokens.  Handle the case of
6583         beginning-of-buffer.
6585 2013-11-06  Glenn Morris  <rgm@gnu.org>
6587         * Makefile.in (setwins_almost, setwins_for_subdirs):
6588         Avoid accidental matches.
6590 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6592         * menu-bar.el (popup-menu): Use key-binding.
6594 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
6596         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6597         menus, support also the menus produced by minor modes.
6598         (Bug#15817)
6600 2013-11-06  Leo Liu  <sdl.web@gmail.com>
6602         * thingatpt.el (thing-at-point-looking-at): Add optional arg
6603         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
6605 2013-11-06  Glenn Morris  <rgm@gnu.org>
6607         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6608         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6609         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6611 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * electric.el (electric-indent-just-newline): New command.
6614         (electric-indent-mode-map): New keymap.
6615         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6616         Re-add :group which weren't redundant.
6618         * electric.el (electric-indent-local-mode): New minor mode.
6619         (electric-indent-functions-without-reindent): New var.
6620         (electric-indent-post-self-insert-function): Use it.
6621         * emacs-lisp/gv.el (buffer-local-value): Add setter.
6623 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
6625         * international/quail.el (quail-help): Be more explicit about the
6626         meaning of the labels shown on the keys.  (Bug#15800)
6628         * startup.el (normal-top-level): Load the subdirs.el files before
6629         setting the locale environment.  (Bug#15805)
6631 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6633         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6634         via arguments so as to get the right ones (bug#15418).
6636         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6638 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
6640         Fix problems found while writing a test suite.
6642         * net/tramp-compat.el (tramp-compat-load): New defun.
6643         * net/tramp.el (tramp-handle-load): Use it.
6645         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6646         "(numberp ok-if-already-exists)" correctly.
6648 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
6650         * international/characters.el (glyphless-char-display-control):
6651         Add usage note.
6653 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
6655         * progmodes/python.el (python-mode):
6656         * progmodes/scheme.el (scheme-mode):
6657         * progmodes/prolog.el (prolog-mode):
6658         * progmodes/ruby-mode.el (ruby-mode):
6659         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6660         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6662 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6664         * rect.el (rectangle--highlight-for-redisplay):
6665         * emacs-lisp/smie.el (smie--next-indent-change):
6666         Use buffer-chars-modified-tick.
6668         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6670         * electric.el (electric-indent-post-self-insert-function):
6671         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6673 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
6675         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6677 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6679         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6680         (bug#15786).
6682 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6684         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
6686         * progmodes/python.el: Fix up last change.
6687         (python-shell--save-temp-file): New function.
6688         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
6689         `string' comes from the current buffer.
6690         (python-shell-send-string-no-output): Remove `msg' arg.
6691         (python--use-fake-loc): New var.
6692         (python-shell-buffer-substring): Obey it.  Try to compensate for the
6693         extra coding line added by python-shell--save-temp-file.
6694         (python-shell-send-region): Use python-shell--save-temp-file and
6695         python-shell-send-file directly.  Add `nomain' argument.
6696         (python-shell-send-buffer): Use python-shell-send-region.
6697         (python-electric-pair-string-delimiter): New function.
6698         (python-mode): Use it.
6700 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
6702         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6703         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6704         environment and decoding all of the default-directory's to here
6705         from command-line.
6706         (command-line): Decode also argv[0].
6708         * loadup.el: Error out if default-directory is a multibyte string
6709         when we are dumping.
6711         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
6713 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
6715         * emacs-lisp/package.el (package-menu-mode)
6716         (package-menu--print-info, package-menu--archive-predicate):
6717         Add Archive column to package list.
6719 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
6721         Fix problems found while writing a test suite.
6723         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6724         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6725         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6726         to nil when running original file name handler.  Otherwise,
6727         there are problems with constructs like "$$FOO".
6729         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6730         for `localname'.
6732 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
6734         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6736         * subr.el (version<, version<=, version=):
6737         Update docstrings with information for snapshot versions.
6739         * helpers.el: New library for misc helper functions.
6740         (hash-table-keys): New function returning a list of hash keys.
6741         (hash-table-values): New function returning a list of hash values.
6743 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
6745         * progmodes/ruby-mode.el (ruby-smie--forward-token)
6746         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6748 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
6750         * textmodes/fill.el (fill-single-char-nobreak-p): New function
6751         checking whether point is after a 1-letter word.
6753 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6755         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6756         Don't infloop when expanding region over `multiline' syntax-type that
6757         begins a line (bug#15778).
6759 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6761         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6762         Make it into a proper minor mode.
6763         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6764         (rectangle-mark-mode-map): New keymap.
6765         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6767 2013-11-04  Glenn Morris  <rgm@gnu.org>
6769         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6771 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6773         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6774         (ruby-smie-rules): Use smie-rule-parent instead.
6776         * emacs-lisp/smie.el (smie-rule-parent): Always call
6777         smie-indent-virtual rather than only for hanging tokens.
6778         (smie--next-indent-change): New helper command.
6780 2013-11-03  Glenn Morris  <rgm@gnu.org>
6782         * Makefile.in (abs_srcdir): Remove.
6783         (emacs): Unset EMACSLOADPATH.
6785 2013-11-02  Glenn Morris  <rgm@gnu.org>
6787         * Makefile.in (EMACS): Use a relative filename.
6788         (abs_top_builddir): Remove.
6789         (custom-deps, finder-data, autoloads): Use --chdir.
6791         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6793         Use relative filenames in TAGS files.
6794         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6795         (lisptagsfiles4, TAGS): Use relative file names.
6796         (TAGS-LISP): Remove.
6797         (maintainer-clean): No more TAGS-LISP file.
6799         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6800         (lisptagsfiles4): Use absolute filenames again.
6801         (TAGS, TAGS-LISP): Not everything needs to run in one line.
6802         Remove all *loaddefs files, not just the first.  Remove esh-groups.
6803         (maintainer-clean): Delete TAGS, TAGS-LISP.
6805 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
6807         * emacs-lisp/package.el (package-version-join):
6808         Recognize snapshot versions.
6810 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
6812         * subr.el (version-regexp-alist): Add support for snapshot versions.
6814 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
6816         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6817         New function, replacement for `smie-rule-parent' for when we want to
6818         skip over our direct parent if it's an assignment token..
6819         (ruby-smie-rules): Use it.
6821 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
6823         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6824         unconditionally.  Remove now unnecessary forward declarations.
6825         Remove XEmacs-specific setup.
6826         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6827         (ruby-font-lock-syntactic-keywords)
6828         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6829         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6830         (ruby-here-doc-end-syntax): Remove.
6831         (ruby-mode): Don't check whether `syntax-propertize-rules' is
6832         defined as function.
6834 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
6836         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6838 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
6840         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6841         table and abbrev table, `define-derived-mode' does that for us
6842         anyway.
6844 2013-11-01  Glenn Morris  <rgm@gnu.org>
6846         * Makefile.in: Remove manual mh-e dependencies (writing .elc
6847         files is atomic for some time, so no parallel compilation issues).
6849 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
6851         * faces.el (face-x-resources): Add :distant-foreground.
6852         (region): Use :distant-foreground for gtk and ns.
6854 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
6856         Allow multiple bibliographies when BibLaTeX is used rather than
6857         BibTeX.
6858         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6859         (reftex-locate-bibliography-files): Us it.
6861 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
6863         * image.el (image-type-header-regexps): Fix the 'pbm' part to
6864         allow comments in pbm files.
6866         * term/w32-win.el (dynamic-library-alist): Support newer versions
6867         of libjpeg starting with v7: look only for the DLL from the
6868         version against which Emacs was built.
6869         Support versions of libpng beyond 1.4.x.
6870         Support libtiff v4.x.
6872 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
6874         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6875         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6876         Add property :safe.
6877         (ruby-deep-arglist): Add property :type.
6879 2013-10-31  Glenn Morris  <rgm@gnu.org>
6881         * Makefile.in (custom-deps, finder-data): No need to setq the target
6882         variables, we are in the right directory and the defaults work fine.
6884 2013-10-30  Glenn Morris  <rgm@gnu.org>
6886         * Makefile.in (autoloads): Do not use abs_lisp.
6888         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6889         `newline' does not respect `standard-output', so use `princ'.
6891 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
6893         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
6894         * buff-menu.el (Buffer-menu--unmark): New function.
6895         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6897 2013-10-30  Glenn Morris  <rgm@gnu.org>
6899         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6901         * emacs-lisp/package.el (lm-homepage): Declare.
6903         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6904         Fix doc typos.
6906         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6908         * Makefile.in (finder-data, autoloads, update-subdirs)
6909         (compile-main, compile-clean, compile-always, bootstrap-clean):
6910         Check return value of cd.
6911         (compile-calc): Remove.
6913 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6915         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6917         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6918         (byte-compile-and-folded): New function.
6919         (=, <, >, <=, >=): Use it.
6921         * dos-w32.el (minibuffer-history-case-insensitive-variables)
6922         (path-separator, null-device, buffer-file-coding-system)
6923         (lpr-headers-switches): Check system-type before modifying them.
6924         (find-buffer-file-type-coding-system): Mark obsolete.
6925         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6926         find-file-not-found-set-buffer-file-coding-system.
6927         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6928         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6929         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6930         (w32-direct-print-region-helper, w32-direct-print-region-function)
6931         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6932         * startup.el (normal-top-level-add-subdirs-to-load-path):
6933         * ps-print.el (ps-print-region-function):
6934         * lpr.el (print-region-function): Use new name.
6936         * subr.el (custom-declare-variable-early): Remove function.
6937         (custom-declare-variable-list): Remove var.
6938         (error, user-error): Remove `while' loop.
6939         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6940         (user-emacs-directory-warning, locate-user-emacs-file):
6941         Move to files.el.
6942         * simple.el (read-quoted-char-radix, read-quoted-char):
6943         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6944         Move from subr.el.
6945         * custom.el (custom-declare-variable-list): Don't process
6946         custom-declare-variable-list.
6948         * progmodes/python.el (python-shell-get-buffer): New function.
6949         (python-shell-get-process): Use it.
6950         (python-shell-send-string): Always use utf-8 and add a cookie to tell
6951         Python which encoding was used.  Don't split-string since we only care
6952         about the first line.  Return the temp-file, if applicable.
6953         (python-shell-send-region): Tell compile.el how to turn locations in
6954         the temp-file into locations in the source buffer.
6956 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6958         * subr.el (undefined): Add missing behavior from the C code for
6959         unbound keys.
6961         * rect.el: Use lexical-binding.  Add new rectangular region support.
6962         (rectangle-mark): New command.
6963         (rectangle--region): New var.
6964         (deactivate-mark-hook): Reset rectangle--region.
6965         (rectangle--extract-region, rectangle--insert-for-yank)
6966         (rectangle--highlight-for-redisplay)
6967         (rectangle--unhighlight-for-redisplay): New functions.
6968         (region-extract-function, redisplay-unhighlight-region-function)
6969         (redisplay-highlight-region-function): Use them to handle
6970         rectangular region.
6971         * simple.el (region-extract-function): New var.
6972         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6973         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6974         (kill-region): Replace obsolete `yank-handler' arg with `region'.
6975         (copy-region-as-kill, kill-ring-save): Add `region' argument.
6976         (redisplay-unhighlight-region-function)
6977         (redisplay-highlight-region-function): New vars.
6978         (redisplay--update-region-highlight): New function.
6979         (pre-redisplay-function): Use it.
6980         (exchange-point-and-mark): Don't deactivate the mark before
6981         reactivate-it anyway.
6982         * comint.el (comint-kill-region): Remove yank-handler argument.
6983         * delsel.el (delete-backward-char, backward-delete-char-untabify)
6984         (delete-char): Remove property, since it's now part of their
6985         default behavior.
6986         (self-insert-iso): Remove property since this command doesn't exist.
6988         * emacs-lisp/package.el (package--download-one-archive)
6989         (describe-package-1): Don't query the user about final newline.
6991 2013-10-29  Daniel Colascione  <dancol@dancol.org>
6993         * net/tramp.el (tramp-methods): Document new functionality.
6994         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6995         tramp-hostname-checker if method provides one instead of scanning
6996         argument list for "%h" to decide hostname acceptability.
6998 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
7000         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7001         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7002         Handle COPY-CONTENTS.  (Bug#15737)
7004 2013-10-28  Daiki Ueno  <ueno@gnu.org>
7006         * epa-file.el
7007         (epa-file-cache-passphrase-for-symmetric-encryption):
7008         Document that this option has no effect with GnuPG 2.0 (bug#15552).
7010 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
7012         * image.el (defimage, image-load-path): Doc fixes.
7014 2013-10-27  Alan Mackenzie  <acm@muc.de>
7016         Indent statements in macros following "##" correctly.
7017         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7018         Modify the "#" arm of a cond form to handle "#" and "##" operators.
7020 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7022         * linum.el (linum-update-window): Fix boundary test (bug#13446).
7024 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
7026         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7027         after `=' is probably a new expression.
7029 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7031         * man.el (man-imenu-title): New option.
7032         (Man-mode-map): Add menu.  (Bug#15722)
7033         (Man-mode): Add imenu to menu.
7035 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
7037         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7038         specific in what the first arg can be: a non-keyword word,
7039         string/regexp/percent literal opener, opening paren, or unary
7040         operator followed directly by word.
7042 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7044         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7045         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7046         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7047         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7048         Remove vars, they do not apply any more.
7049         (prolog-mode-abbrev-table): Remove redundant declaration.
7050         (prolog-upper-case-string, prolog-lower-case-string): Remove.
7051         (prolog-use-smie): Remove.
7052         (prolog-smie-rules): Add indentation rule for the if-then-else layout
7053         supported by prolog-electric-if-then-else-flag.
7054         (prolog-mode-variables, prolog-menu): Use setq-local.
7055         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7056         Remove binding to `Backspace' since this key doesn't exist anyway.
7057         Remove bindings for electric self-inserting keys.
7058         (prog-mode): Assume it's defined.
7059         (prolog-post-self-insert): New function.
7060         (prolog-mode): Use it.
7061         (prolog-indent-line, prolog-indent-level)
7062         (prolog-find-indent-of-matching-paren)
7063         (prolog-indentation-level-of-line, prolog-goto-comment-column)
7064         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7065         (prolog-goto-next-paren, prolog-in-string-or-comment)
7066         (prolog-tokenize, prolog-inside-mline-comment)
7067         (prolog-find-start-of-mline-comment): Remove functions.
7068         (prolog-find-unmatched-paren, prolog-clause-end)
7069         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7070         (prolog-electric--if-then-else): Rename from
7071         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7072         (prolog-tokenize-searchkey): Remove const.
7073         (prolog-clause-info): Use forward-sexp.
7074         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7075         (prolog-electric-if-then-else): Remove commands.
7076         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7077         for use in post-self-insert-hook.
7078         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7079         for use in post-self-insert-hook.
7080         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7081         for use in post-self-insert-hook.
7082         (prolog-electric--underscore): Rename from prolog-electric--underscore;
7083         adapt it for use in post-self-insert-hook.
7085 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
7087         * emacs-lisp/ert.el (ert-run-tests-interactively):
7088         Use `completing-read'.  (Bug#9756)
7090 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
7092         * simple.el (line-move): Call line-move-1 instead of
7093         line-move-visual when the current window hscroll is zero, but
7094         temporary-goal-column indicates we will need to hscroll as result
7095         of the movement.  (Bug#15712)
7097 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
7099         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7100         capitalization.  Use :visible instead of :active.
7101         Fix `ruby-indent-exp' reference.  Add menu items for the generic
7102         commands that are used with SMIE.
7103         (ruby-do-end-to-brace): Insert space after `{'.
7105 2013-10-25  John Anthony  <john@jo.hnanthony.com>
7107         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
7109         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
7111 2013-10-25  Glenn Morris  <rgm@gnu.org>
7113         * vc/vc.el (vc-print-log): Don't use a working revision unless
7114         one was explicitly specified.  (Bug#15322)
7116 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7118         * subr.el (add-to-list): Preserve return value in compiler-macro
7119         (bug#15692).
7121 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7123         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7124         result.  Ask user to retry using '-all' flag.  (Bug#15701)
7126 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7128         * emacs-lisp/smie.el: New smie-config system.
7129         (smie-config): New defcustom.
7130         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7131         (smie-config-guess, smie-config-save): New commands.
7132         (smie-config--mode-local, smie-config--buffer-local)
7133         (smie-config--trace, smie-config--modefuns): New vars.
7134         (smie-config--advice, smie-config--mode-hook)
7135         (smie-config--setter, smie-config-local, smie-config--get-trace)
7136         (smie-config--guess-value, smie-config--guess): New functions.
7137         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7138         text properties.  Treat "string fence" syntax like string syntax.
7140         * progmodes/sh-script.el (sh-use-smie): Change default.
7141         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7142         (sh-var-value): Simplify by CSE.
7143         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7144         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7145         is used.
7146         (sh-guess-basic-offset): Use cl-incf.
7147         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7149 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
7151         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7152         (bug#15699).
7154 2013-10-24  Glenn Morris  <rgm@gnu.org>
7156         * Makefile.in (abs_top_srcdir): Remove.
7157         (update-subdirs): Use relative path to update-subdirs.
7159 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
7161         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7162         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7163         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7164         Call unmsys--file-name before expand-file-name, not after it.
7166 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
7168         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7169         (ert-test-skipped): New error.
7170         (ert-skip, ert-stats-skipped): New defuns.
7171         (ert--skip-unless): New macro.
7172         (ert-test-skipped): New struct.
7173         (ert--run-test-debugger, ert-test-result-type-p)
7174         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7175         (ert--stats-set-test-and-result, ert-char-for-test-result)
7176         (ert-string-for-test-result, ert-run-tests-batch)
7177         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7178         Handle skipped tests.  (Bug#9803)
7180 2013-10-24  Glenn Morris  <rgm@gnu.org>
7182         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7184         * Makefile.in (abs_top_srcdir): New, set by configure.
7185         (update-subdirs): Correct build-aux location.
7187 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
7189         * vc/vc.el (vc-print-root-log): Always set `default-directory'
7190         value, whether we could auto-deduce `backend', or not.
7192         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7193         with parameters" example.  Simplify the "is it block or is it
7194         hash" check, but also make it more thorough.
7196 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
7198         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
7200 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7202         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7203         { if it is hanging.
7205         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7206         :before ";".
7208 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
7210         * progmodes/compile.el (compilation-directory-matcher)
7211         (compilation-page-delimiter):
7212         Support GNU Make-4.0 directory quoting.  (Bug#15678)
7214 2013-10-23  Leo Liu  <sdl.web@gmail.com>
7216         * ido.el (ido-tidy): Handle read-only text.
7218 2013-10-23  Glenn Morris  <rgm@gnu.org>
7220         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7221         (emacs, compile, compile-always):
7222         Quote entities that might contain whitespace.
7223         (custom-deps, finder-data, autoloads): Use abs_lisp.
7224         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7225         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7226         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7228 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
7230         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7231         Use `following-char'.
7233 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7236         * progmodes/ruby-mode.el (ruby-smie-rules):
7237         Remove corresponding workaround.  Fix indentation rule of ";" so it
7238         also applies when ";" is the parent.
7240 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
7242         * frame.el (display-screens, display-pixel-height)
7243         (display-pixel-width, display-mm-width, display-backing-store)
7244         (display-save-under, display-planes, display-color-cells)
7245         (display-visual-class, display-monitor-attributes-list):
7246         Mention the optional ‘display’ argument in doc strings.
7248 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
7250         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7251         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
7253 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7255         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7256         TODO.  Add "." after " @ ".
7257         (ruby-smie--at-dot-call): New function.  Checks if point at method
7258         call with explicit target.
7259         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7260         to the method name tokens when it precedes them.
7261         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7262         (ruby-smie-rules): Add rule for indentation before and after "."
7263         token.
7265 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7267         * textmodes/remember.el (remember-diary-extract-entries):
7268         Avoid add-to-list.
7270         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7271         an instruction.
7273 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7275         * progmodes/ruby-mode.el (ruby-smie-grammar):
7276         Add (almost) all infix operators.
7277         (ruby-smie--implicit-semi-p): Add new operator chars.
7279         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7280         `smie-down-list'.
7281         (ruby-smie--args-separator-p): Check that there's no newline
7282         between method call and its arguments.
7284 2013-10-20  Alan Mackenzie  <acm@muc.de>
7286         Allow comma separated lists after Java "implements".
7288         * progmodes/cc-engine.el (c-backward-over-enum-header):
7289         Parse commas.
7290         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7291         from a "disallowed" list in enum fontification.
7293 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
7295         * startup.el (default-frame-background-mode): Remove unused defvar.
7297         * progmodes/verilog-mode.el (verilog-mode): Don't set
7298         comment-indent-function globally.
7300 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
7302         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7303         Move Info menu item creation to ns-win.el.
7305         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7306         in menu bar.
7308         * menu-bar.el: Move GNUstep specific menus...
7310         * term/ns-win.el (ns-initialize-window-system): ... to here.
7312 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7314         * simple.el (newline): Only run post-self-insert-hook when
7315         called interactively.
7317 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
7319         * icomplete.el (icomplete-with-completion-tables): Add :version.
7321 2013-10-19  Alan Mackenzie  <acm@muc.de>
7323         Fix fontification bugs with constructors and const.
7325         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7326         CASE 2) Remove the check for the absence of a suffix construct
7327         after a function declaration with only types (no identifiers) in
7328         the parentheses.  Also, accept a function declaration with just a
7329         type inside the parentheses, if this type can be positively
7330         recognised as such, or if a prefix keyword like "explicit" nails
7331         down the construct as a declaration.
7333 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
7335         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7336         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
7337         the problem whereby selecting a menu item that leads to a
7338         minibuffer prompt moves the cursor out of the minibuffer window,
7339         making it hard to type at the prompt.  Suggested by Stefan Monnier
7340         <monnier@iro.umontreal.ca>.
7342 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
7344         * menu-bar.el: Don't make Services menu.
7346 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7348         * ffap.el: Handle "/usr/include/c++/<version>" directories.
7349         (ffap-alist): Use ffap-c++-mode for c++-mode.
7350         (ffap-c++-path): New variable.
7351         (ffap-c++-mode): New function.
7353 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
7355         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
7357 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
7359         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7360         introduced on 2013-09-08, which results in an infinite loop
7361         requesting a password.
7363 2013-10-18  Glenn Morris  <rgm@gnu.org>
7365         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7367 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
7369         Sync with upstream verilog-mode revision 1a6ecec7.
7370         * progmodes/verilog-mode.el (verilog-mode-version): Update.
7371         (verilog-mode-release-date): Remove.
7372         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7373         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7374         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7375         (verilog-auto-tieoff-ignore-regexp)
7376         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7377         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7378         (verilog-signals-with, verilog-dir-cache-preserving)
7379         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7380         Doc fixes.
7381         (verilog-case-fold): New option, to control case folding in
7382         regexp searches, bug597.
7383         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7384         (verilog-string-match-fold, verilog-in-paren-count)
7385         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7386         (verilog-at-close-struct-p): New functions.
7387         (verilog-beg-block-re-ordered, verilog-extended-case-re)
7388         (verilog-forward-sexp, verilog-set-auto-endcomments)
7389         (verilog-leap-to-case-head): Handle "unique0" case.
7390         (verilog-in-constraint-re): New constant.
7391         (verilog-keywords, verilog-type-font-keywords):
7392         Add some SystemVerilog 1800-2012 keywords.
7393         (verilog-label-be): Remove unimplemented argument, bug669.
7394         (verilog-batch-execute-func): When batch expanding clear
7395         create-lockfiles to prevent spurious user locks when a file ends
7396         up not changing.
7397         (verilog-calculate-indent, verilog-calc-1)
7398         (verilog-at-close-constraint-p, verilog-at-constraint-p)
7399         (verilog-do-indent): Fix indentation of nested constraints
7400         and structures.
7401         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7402         (verilog-auto-inst-param): Use verilog-string-match-fold.
7403         (verilog-read-inst-module-matcher):
7404         Fix AUTOINST on gate primitives with #1.
7405         (verilog-read-decls): Fix double-declaring user-defined typed signals.
7406         Reads all user-defined typed variables.
7407         (verilog-read-defines): Fix reading definitions inside comments, bug647.
7408         (verilog-signals-matching-regexp)
7409         (verilog-signals-not-matching-regexp, verilog-auto):
7410         Respect verilog-case-fold.
7411         (verilog-diff-report): Fix line count.
7412         (verilog-auto-assign-modport): Remove unused local `modi'.
7413         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7414         better handle multidimensional arrays.
7415         Fix packed array ports misadding bit index in AUTOINST, bug637.
7416         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7417         to not double-declare existing outputs and inputs, respectively.
7418         (verilog-template-map): Bind U to verilog-sk-uvm-component.
7419         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7420         (verilog-sk-uvm-component): New skeleton.
7421         (verilog-submit-bug-report): Add verilog-case-fold,
7422         remove verilog-mode-release-date.
7424 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
7426         * subr.el (sit-for): Call (input-pending-p t) so as to behave
7427         as before.
7429 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
7431         * textmodes/remember.el (remember): Set buffer-offer-save in
7432         remember buffers (bug#13566).
7434 2013-10-18  Daniel Colascione  <dancol@dancol.org>
7436         When evaluating forms in ielm, direct standard output to ielm
7437         buffer.  Add new ielm-return-for-effect command.  Remove trailing
7438         whitespace throughout.
7440         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7441         (ielm-return-for-effect): New command.
7442         (ielm-send-input): Accept optional `for-effect' parameter.
7443         (ielm-eval-input): Accept optional `for-effect' parameter.
7444         Bind `standard-output' to stream we create using
7445         `ielm-standard-output-impl'.  Suppress printing result when
7446         `for-effect'.
7447         (ielm-standard-output-impl): New function.
7448         (inferior-emacs-lisp-mode): Explain new features in documentation.
7450 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
7452         Code cleanup.
7454         * net/tramp.el (tramp-debug-message): Do not check for connection
7455         buffer.
7456         (tramp-message): Use "vector" connection property.
7458         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7459         (tramp-equal-remote, tramp-eshell-directory-change)
7460         * net/tramp-adb.el (tramp-adb-handle-copy-file)
7461         (tramp-adb-handle-rename-file)
7462         * net/tramp-cmds.el (tramp-list-remote-buffers)
7463         (tramp-cleanup-connection, tramp-cleanup-this-connection)
7464         * net/tramp-compat.el (tramp-compat-process-running-p)
7465         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7466         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7467         (tramp-gvfs-handle-rename-file)
7468         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7469         (tramp-set-file-uid-gid)
7470         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7471         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7472         of `file-remote-p'.
7474         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7475         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7476         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7477         (tramp-gw-open-network-stream): Suppress unrelated traces.
7479         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7480         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7481         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7482         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7483         connection property.
7485         * net/tramp-cache.el (top): Suppress traces when reading
7486         persistency file.
7488         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7489         Refactor common code.  Improve debug message.
7490         (tramp-maybe-open-connection)
7491         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7492         connection buffer too early.
7494         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7495         from `tramp-smb-actions-with-acl'.
7496         (tramp-smb-actions-set-acl): New defconst.
7497         (tramp-smb-handle-copy-directory)
7498         (tramp-smb-action-get-acl): New defun, renamed from
7499         `tramp-smb-action-with-acl'.
7500         (tramp-smb-action-set-acl): New defun.
7501         (tramp-smb-handle-set-file-acl): Rewrite.
7503 2013-10-17  Glenn Morris  <rgm@gnu.org>
7505         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
7507 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7509         * skeleton.el (skeleton-newline): Remove.
7510         (skeleton-internal-1): Use (insert "\n") instead.
7512         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7513         let-bindings.
7515         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7516         forward-sexp-function while we redo its job (bug#15613).
7518 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
7520         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7521         represented by lists.
7523 2013-10-16  Glenn Morris  <rgm@gnu.org>
7525         * tmm.el (tmm--history): New dynamic variable.
7526         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
7528 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
7530         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7531         (tramp-smb-errors): Add error messages.
7532         (tramp-smb-actions-with-acl): New defconst.
7533         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7534         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7535         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7536         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7537         (tramp-smb-get-stat-capability): Fix tests.
7539 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7541         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7542         (bug#15580).
7544 2013-10-16  Glenn Morris  <rgm@gnu.org>
7546         * ansi-color.el (ansi-color-drop-regexp):
7547         Add 1J, 1K, 2K.  (Bug#15617)
7549         * files.el (hack-local-variables--warned-lexical): New.
7550         (hack-local-variables):
7551         Warn about misplaced lexical-binding.  (Bug#15616)
7553         * net/eww.el (eww-render): Always set eww-current-url,
7554         and update header line.  (Bug#15622)
7555         (eww-display-html): ... Rather than just doing it here.
7557 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
7559         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7560         menu navigations commands.
7562 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7564         * progmodes/subword.el (subword-capitalize): Be careful when
7565         the search for [[:alpha:]] fails (bug#15580).
7567 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
7569         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7570         to commands that scroll the menu.
7572 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
7574         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7575         Handle methods ending with `?' and `!'.
7577 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
7579         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7580         `japanese-cp932' to `cp932' to fix the problem where saving a
7581         source file written in Shift_JIS twice would end up having
7582         `coding: japanese-cp932' which Ruby could not recognize.
7583         (ruby-mode-set-encoding): Add support for encodings mapped to nil
7584         in `ruby-encoding-map'.
7585         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7586         doesn't need to be explicitly declared in magic comment.
7587         (ruby-encoding-map): Add type declaration for better customize UI.
7589 2013-10-13  Glenn Morris  <rgm@gnu.org>
7591         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7592         Occur buffers are read-only.  http://bugs.debian.org/720775
7594         * emacs-lisp/authors.el (authors-fixed-entries):
7595         Comment out old alpha stuff.
7597 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
7599         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7600         to `after-save-hook' instead of `before-save-hook'.
7601         (ruby-mode-set-encoding): Use the value of coding system used to
7602         write the file.  Call `basic-save-buffer-1' after modifying the
7603         buffer.
7605 2013-10-13  Alan Mackenzie  <acm@muc.de>
7607         Fix indentation/fontification of Java enum with
7608         "implements"/generic.
7610         * progmodes/cc-engine.el (c-backward-over-enum-header):
7611         Extracted from the three other places and enhanced to handle generics.
7612         (c-inside-bracelist-p): Uses new function above.
7613         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7614         function above.
7615         (c-font-lock-enum-tail): Uses new function above.
7617 2013-10-13  Kenichi Handa  <handa@gnu.org>
7619         * international/mule-cmds.el (select-safe-coding-system): Remove a
7620         superfluous condition in chekcing whether a coding system is safe
7621         or not.
7623 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
7625         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
7627 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
7629         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
7631 2013-10-13  Glenn Morris  <rgm@gnu.org>
7633         * menu-bar.el (menu-bar-update-buffers):
7634         Unify Buffers menu prompt string.  (Bug#15576)
7636         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
7638         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7639         Add some entries.
7640         (authors-fixed-entries): Use accented form of name.
7642 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7644         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7645         method calls (bug#15594).
7646         (ruby-smie--args-separator-p): New function.
7647         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7648         recognize paren-free method calls.
7650         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7651         internals of universal-argument.
7653 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
7655         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7656         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7657         dropped menu on second mouse click on the menu bar.
7659 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7661         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7662         (explicit-shell-file-name): Declare.
7663         (sh--vars-before-point, sh--cmd-completion-table): New functions.
7664         (sh-completion-at-point-function): New function.
7665         (sh-mode): Use it.
7666         (sh-smie--keyword-p): Remove unused argument.
7667         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7668         vars.
7669         (sh-set-shell): Always setup SMIE, even if we use the
7670         old indentation code.
7672 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
7674         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7675         cases of ? and =.
7676         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
7677         predicate would return nil are almost non-existent.
7678         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7680         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7681         cache also after commands that modify the buffer but don't move
7682         point.
7684 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7686         * env.el (substitute-env-in-file-name): New function.
7687         (substitute-env-vars): Extend the meaning of the optional arg.
7689 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
7691         * term/w32-win.el (dynamic-library-alist): Define separate lists
7692         of GIF DLLs for versions before and after 5.0.0 of giflib.
7693         (Bug#15531)
7695 2013-10-10  João Távora  <joaotavora@gmail.com>
7697         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7698         not locked, use last revision and current source as
7699         defaults.  (Bug#15569)
7701 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
7703         * menu-bar.el (menu-bar-open): Don't use popup-menu if
7704         menu-bar is hidden.
7706 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
7708         * window.el (pop-to-buffer-same-window): Fix doc-string.
7709         (Bug#15492)
7711 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7715 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
7717         * calendar/icalendar.el (icalendar-import-file):
7718         Fix interactive spec.  (Bug#15482)
7720 2013-10-10  Glenn Morris  <rgm@gnu.org>
7722         * desktop.el (desktop-save): Default to saving in .emacs.d,
7723         since PWD is no longer in desktop-path by default.  (Bug#15319)
7725         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7726         now that text mode has a menu with the same entry.
7727         (menu-bar-text-mode-auto-fill): Remove now unused func.
7728         * textmodes/text-mode.el (text-mode-map):
7729         Use auto-fill help text from menu-bar.el.
7731 2013-10-10  John Anthony  <john@jo.hnanthony.com>
7733         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
7735 2013-10-09  Juri Linkov  <juri@jurta.org>
7737         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7738         instead of this-command-keys.  Add universal-argument-more and
7739         universal-argument-minus to the list of prefix commands.  (Bug#15568)
7741 2013-10-09  Glenn Morris  <rgm@gnu.org>
7743         * vc/vc-svn.el (vc-svn-create-repo):
7744         Expand paths in file://... url.  (Bug#15446)
7746         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7747         Add some entries.
7748         (authors): Remove unused local variables.
7750 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7752         * profiler.el: Create a more coherent calltree from partial backtraces.
7753         (profiler-format): Hide the tail with `invisible' so that C-s can still
7754         find the hidden elements.
7755         (profiler-calltree-depth): Don't recurse so enthusiastically.
7756         (profiler-function-equal): New hash-table-test.
7757         (profiler-calltree-build-unified): New function.
7758         (profiler-calltree-build): Use it.
7759         (profiler-report-make-name-part): Indent the calltree less.
7760         (profiler-report-mode): Add visibility specs for profiler-format.
7761         (profiler-report-expand-entry, profiler-report-toggle-entry):
7762         Expand the whole subtree when provided with a prefix arg.
7764 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
7766         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7767         iuwu-mod token.
7768         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7769         hanging iuwu-mod token.
7770         (ruby-smie--forward-token): Do not include a dot after a token in
7771         that token.
7772         (ruby-smie--backward-token): Likewise.
7774 2013-10-08  Juri Linkov  <juri@jurta.org>
7776         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7777         to isearch-other-control-char.
7778         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7779         and isearch-post-command-hook to post-command-hook.
7780         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7781         and isearch-post-command-hook from post-command-hook.
7782         (isearch-unread-key-sequence)
7783         (isearch-reread-key-sequence-naturally)
7784         (isearch-lookup-scroll-key, isearch-other-control-char)
7785         (isearch-other-meta-char): Remove functions.
7786         (isearch-pre-command-hook, isearch-post-command-hook):
7787         New functions based on isearch-other-meta-char rewritten
7788         relying on the new behavior of overriding-terminal-local-map
7789         that does not replace the local keymaps any more.  (Bug#15200)
7791 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
7793         Support menus on text-mode terminals.
7794         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7795         functionality.
7797         * tooltip.el (tooltip-mode): Don't error out on TTYs.
7799         * menu-bar.el (popup-menu, popup-menu-normalize-position):
7800         Move here from mouse.el.
7801         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7802         and arrow keys.
7803         (tty-menu-navigation-map): New map for TTY menu navigation.
7805         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7807         * frame.el (display-mouse-p): Report text-mode mouse as available
7808         on w32.
7809         (display-popup-menus-p): Report availability if mouse is
7810         available; don't condition on window-system.
7812         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7813         (tty-menu-selected-face): New faces.
7815 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7817         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7818         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7819         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7820         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7821         New constants.
7822         (lisp-mode-variables): New `elisp' argument.
7823         (emacs-lisp-mode): Use it.
7824         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7825         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7827         * indent.el: Use lexical-binding.
7828         (indent-region): Add progress reporter.
7829         (tab-stop-list): Make it implicitly extend to infinity by repeating the
7830         last step.
7831         (indent--next-tab-stop): New function to implement this behavior.
7832         (tab-to-tab-stop, move-to-tab-stop): Use it.
7834 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
7836         * indent.el (indent-rigidly--current-indentation): New function.
7837         (indent-rigidly-map): New var.
7838         (indent-rigidly): Use it to provide interactive mode (bug#8196).
7840 2013-10-08  Bastien Guerry  <bzg@gnu.org>
7842         * register.el (insert-register): Fix 2013-10-07 change.
7844 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7846         * progmodes/perl-mode.el: Use lexical-binding.
7847         Remove redundant :group args.
7848         (perl-nochange): Change default to be closer to other major modes's
7849         standard behavior.
7850         (perl-indent-line): Don't consider text on current line as a
7851         valid beginning of function from which to indent.
7853         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7854         with more than one argument (bug#15538).
7856         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7858         * vc/pcvs.el: Use lexical-binding.
7859         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7860         environment of `eval'.
7861         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7862         than a list of expressions.  Adjust callers.
7863         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7865 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
7867         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7868         case of the dot in a chained method call being on the following line.
7870 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7872         * electric.el (electric-indent-inhibit): New var.
7873         (electric-indent-post-self-insert-function): Use it.
7874         * progmodes/python.el (python-mode): Set it.
7876         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7877         open braces.
7879         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7881         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7882         (css-mode): Use electric-indent-chars.
7884         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7885         (font-lock-beg, font-lock-end): Move before first use.
7886         (nxml-mode): Use syntax-propertize-function.
7887         (nxml-after-change, nxml-after-change1): Adjust accordingly.
7888         (nxml-extend-after-change-region): Remove.
7889         * nxml/xmltok.el: Use lexical-binding.
7890         (xmltok-save): Use `declare'.
7891         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7892         * nxml/nxml-util.el: Use lexical-binding.
7893         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7894         Use `declare'.
7895         * nxml/nxml-ns.el: Use lexical-binding.
7896         (nxml-ns-save): Use `declare'.
7897         (nxml-ns-prefixes-for): Avoid add-to-list.
7898         * nxml/rng-match.el: Use lexical-binding.
7899         (rng--ipattern): Use cl-defstruct.
7900         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7901         (rng-cons-group-after, rng-subst-group-after)
7902         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7903         Use closures instead of `(lambda...).
7905 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
7907         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7908         of BEG and END.
7910         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7911         Use `tramp-handle-insert-file-contents'.
7912         (tramp-gvfs-handle-insert-file-contents): Remove function.
7914         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7915         Use `save-restriction' in order to keep markers.
7917         * net/trampver.el: Update release number.
7919 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7921         * progmodes/compile.el (compilation-parse-errors):
7922         Use compilation--put-prop.
7923         (compilation--ensure-parse): Check compilation-multiline.
7925         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7927         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7928         lexical-binding.
7930         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7932         * progmodes/ruby-mode.el: Fix recently added tests.
7933         (ruby-smie-grammar): Add - and +.
7934         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7935         (ruby-smie--backward-id): New functions.
7936         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7937         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
7938         any more.
7940 2013-10-07  Leo Liu  <sdl.web@gmail.com>
7942         * register.el (register-preview-delay)
7943         (register-preview-functions): New variables.
7944         (register-read-with-preview, register-preview)
7945         (register-describe-oneline): New functions.
7946         (point-to-register, window-configuration-to-register)
7947         (frame-configuration-to-register, jump-to-register)
7948         (number-to-register, view-register, insert-register)
7949         (copy-to-register, append-to-register, prepend-to-register)
7950         (copy-rectangle-to-register): Use register-read-with-preview to
7951         read register.  (Bug#15525)
7953 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
7955         * net/network-stream.el (network-stream-open-starttls): Don't add
7956         --insecure if it's already present, because that gnutls-cli
7957         rejects getting that parameter twice.
7959 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
7961         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7962         keyword, too.
7964 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
7966         * newcomment.el (comment-use-global-state): Change default value
7967         to t, mark obsolete (Bug#15251).
7968         (comment-beginning): In addition to `comment-to-syntax', check the
7969         value of `comment-use-global-state'.
7971 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7973         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7974         (ruby-comment-column): Follow the global default, by default.
7975         (ruby-smie-grammar): Add assignment syntax.
7976         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7977         open-paren, a comma, or a \.
7978         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7979         and line continuations.
7980         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7981         followed by implicit semi-colons.  Add rule for string concatenation
7982         and for indentation at BOB.
7983         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7985         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7986         calling next-sexp, since next-token may have skipped chars which
7987         next-sexp doesn't know should be skipped!
7989 2013-10-05  Leo Liu  <sdl.web@gmail.com>
7991         * progmodes/octave.el (octave-send-region):
7992         Call compilation-forget-errors.
7994 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
7996         * vc/vc-svn.el (vc-svn-find-admin-dir):
7997         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7998         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7999         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8000         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8002 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8004         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8006 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8008         * subr.el (read-passwd): Hide chars even when called within a context
8009         where after-change-functions is disabled (bug#15501).
8010         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8011         until we removed ourself from overriding-terminal-local-map.
8013 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8015         * progmodes/octave.el (inferior-octave-mode):
8016         Call compilation-forget-errors.
8018 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8020         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8022 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
8024         * net/secrets.el (secrets-create-collection): Add optional
8025         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
8026         dbus-call-method argument.  (Bug#15516)
8028 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8030         * progmodes/octave.el (inferior-octave-error-regexp-alist)
8031         (inferior-octave-compilation-font-lock-keywords): New variables.
8032         (compilation-error-regexp-alist)
8033         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8034         (inferior-octave-mode): Use compilation-shell-minor-mode.
8036 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
8038         * minibuffer.el (completion--replace): Be careful that `end' might be
8039         a marker.
8041 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8043         Add support for package signature checking.
8044         * emacs-lisp/package.el (url-http-file-exists-p)
8045         (epg-make-context, epg-context-set-home-directory)
8046         (epg-verify-string, epg-context-result-for)
8047         (epg-signature-status, epg-signature-to-string)
8048         (epg-check-configuration, epg-configuration)
8049         (epg-import-keys-from-file): Declare.
8050         (package-check-signature): New user option.
8051         (package-unsigned-archives): New user option.
8052         (package-desc): Add `signed' field.
8053         (package-load-descriptor): Set `signed' field if .signed file exists.
8054         (package--archive-file-exists-p): New function.
8055         (package--check-signature): New function.
8056         (package-install-from-archive): Check package signature.
8057         (package--download-one-archive): Check archive signature.
8058         (package-delete): Remove .signed file.
8059         (package-import-keyring): New command.
8060         (package-refresh-contents): Import default keyring.
8061         (package-desc-status): Add "unsigned" status.
8062         (describe-package-1, package-menu--print-info)
8063         (package-menu-mark-delete, package-menu--find-upgrades)
8064         (package-menu--status-predicate): Support "unsigned" status.
8066 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8068         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8069         the new compilation scheme using the new byte-codes.
8071         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8072         (byte-pophandler): New byte codes.
8073         (byte-goto-ops): Adjust accordingly.
8074         (byte-compile--use-old-handlers): New var.
8075         (byte-compile-catch): Use new byte codes depending on
8076         byte-compile--use-old-handlers.
8077         (byte-compile-condition-case--old): Rename from
8078         byte-compile-condition-case.
8079         (byte-compile-condition-case--new): New function.
8080         (byte-compile-condition-case): New function that dispatches depending
8081         on byte-compile--use-old-handlers.
8082         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8083         when we can.
8085         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8086         Optimize under `condition-case' and `catch' if
8087         byte-compile--use-old-handlers is nil.
8088         (disassemble-offset): Handle new bytecodes.
8090 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8092         * subr.el (error): Use `declare'.
8093         (decode-char, encode-char): Use advertised-calling-convention instead
8094         of the docstring to discourage use of the `restriction' arg.
8096 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8098         * epg.el (epg-verify-file): Add a comment saying that it does not
8099         notify verification error as a return value nor a signal.
8100         (epg-verify-string): Ditto.
8102 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
8104         * progmodes/compile.el (compilation-start): Try globbing the arg to
8105         `cd' (bug#15417).
8107 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
8109         Sync with Tramp 2.2.8.
8111         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8112         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8113         * net/trampver.el: Update release number.
8115 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
8117         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8118         and default-process-coding-system for darwin only.
8120 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8122         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8124 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
8126         * vc/vc-git.el (vc-git-grep): Disable pager.
8128 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
8130         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8131         Use :url instead of :homepage, as per
8132         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8134         * newcomment.el (comment-beginning): When `comment-use-syntax' is
8135         non-nil, use `syntax-ppss' (Bug#15251).
8137 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8139         * progmodes/octave.el (inferior-octave-startup-file):
8140         Prefer ~/.emacs.d/init_octave.m.
8142 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
8144         * emacs-lisp/package.el (package-desc-from-define):
8145         Accept additional arguments as plist, convert them to an alist and store
8146         them in the `extras' slot.
8147         (package-generate-description-file): Convert extras alist back to
8148         plist and append to the `define-package' form arguments.
8149         (package--alist-to-plist): New function.
8150         (package--ac-desc): Add `extras' slot.
8151         (package--add-to-archive-contents): Check if the archive-contents
8152         vector is long enough, and if it is, pass its `extras' slot value
8153         to `package-desc-create'.
8154         (package-buffer-info): Call `lm-homepage', pass the returned value
8155         to `package-desc-from-define'.
8156         (describe-package-1): Render the homepage button (Bug#13291).
8158         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8159         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8161 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
8163         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8164         and default-process-coding-system to utf-8-unix (Bug#15402).
8166 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
8168         * subr.el (looking-back): Do not recommend using looking-back.
8170 2013-09-28  Alan Mackenzie  <acm@muc.de>
8172         Fix indentation/fontification of Java enum with "implements".
8174         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8175         regexp which matches "implements", etc., in Java.
8176         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8177         specifier clauses coming after "enum".
8178         * progmodes/cc-fonts.el (c-font-lock-declarations)
8179         (c-font-lock-enum-tail): Check for extra specifier clauses coming
8180         after "enum".
8182 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
8184         * faces.el (region): Change ns_selection_color to
8185         ns_selection_fg_color, add ns_selection_bg_color.
8187 2013-09-28  Leo Liu  <sdl.web@gmail.com>
8189         * progmodes/octave.el (inferior-octave-completion-table)
8190         (inferior-octave-completion-at-point): Minor tweaks.
8192         * textmodes/ispell.el (ispell-lookup-words): Rename from
8193         lookup-words.  (Bug#15460)
8194         (lookup-words): Obsolete.
8195         (ispell-complete-word, ispell-command-loop): All uses changed.
8197 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8199         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8200         (octave-mode-menu): Add octave-send-buffer.
8201         (octave-send-buffer): New function.
8203 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8205         * progmodes/octave.el (octave-mode-map): Add key binding for
8206         octave-lookfor.
8207         (octave-mode-menu): Add octave-lookfor.
8208         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8209         octave-lookfor.
8210         (octave-lookfor): New function.
8212 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8214         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8215         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8216         its convention.
8217         (cl--loop-set-iterator-function): New function.
8218         (cl-loop): Adjust accordingly, so as not to use cl-subst.
8219         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8220         Bind `it' with `let' instead of substituting it with `cl-subst'.
8221         (cl--unused-var-p): New function.
8222         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8223         Eliminate some unused variable warnings (bug#15326).
8225 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
8227         * doc-view.el (doc-view-scale-reset): Rename from
8228         `doc-view-reset-zoom-level'.
8229         (doc-view-scale-adjust): New command.
8230         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8231         `doc-view-scale-adjust'.
8233 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
8235         * doc-view.el (doc-view-reset-zoom-level): New command.
8236         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8237         zoom commands (bug#15466).
8239 2013-09-26  Kenichi Handa  <handa@gnu.org>
8241         * international/quail.el (quail-help): Make it not a command.
8243 2013-09-26  Leo Liu  <sdl.web@gmail.com>
8245         * minibuffer.el (completion-all-sorted-completions): Make args
8246         optional as they are.
8248 2013-09-25  Daniel Colascione  <dancol@dancol.org>
8250         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8251         specs are and that they're not evaluated.
8253 2013-09-24  Sam Steingold  <sds@gnu.org>
8255         * midnight.el (clean-buffer-list-kill-regexps)
8256         (clean-buffer-list-kill-buffer-names): Update for the new Man
8257         buffer naming which includes the object name.
8259 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8261         * eshell/esh-cmd.el (eshell--sep-terms): New var.
8262         (eshell-parse-command, eshell-parse-pipeline): Use it since
8263         eshell-separate-commands requires a dynamic scoped var.
8264         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8266 2013-09-23  Leo Liu  <sdl.web@gmail.com>
8268         * autoinsert.el (auto-insert-alist): Make the value of
8269         lexical-binding match its file setting.
8271 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
8273         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8275         * autoarg.el (autoarg-kp-digit-argument):
8276         * electric.el (Electric-command-loop):
8277         * kmacro.el (kmacro-step-edit-insert):
8278         Do not set universal-argument-num-events.
8280 2013-09-22  Leo Liu  <sdl.web@gmail.com>
8282         * files.el (interpreter-mode-alist): Add octave.
8284 2013-09-21  Alan Mackenzie  <acm@muc.de>
8286         C++: fontify identifier in declaration following "public:" correctly.
8287         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8288         to match "public", etc.
8289         (c-decl-prefix-re): Add ":" into the C++ value.
8290         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8291         bit.  Add a check for a ":" preceded by "public", etc.
8293 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
8295         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8296         recognized by GDB 7.5 and later.
8298 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
8300         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8302 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8304         * subr.el (internal--call-interactively): New const.
8305         (called-interactively-p): Use it (bug#3984).
8307 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
8309         * vc/pcvs.el (cvs-mode-ignore):
8310         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8311         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8313 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8315         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
8316         (eshell-ls-orig-insert-directory): Remove.
8317         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
8318         (eshell-ls-use-in-dired): Use advice-add/remove.
8319         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8320         Add `orig-fun' arg for use in :around advice.
8321         Make it check (redundantly) eshell-ls-use-in-dired.
8323 2013-09-19  Glenn Morris  <rgm@gnu.org>
8325         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8327         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8329         * emacs-lisp/eieio.el (class-parent): Undo previous change.
8331 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
8333         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8334         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8335         (tramp-get-remote-python): New defuns.
8336         (tramp-get-remote-uid-with-perl)
8337         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
8338         contributed by yary <not.com@gmail.com> (tiny change).
8339         (tramp-get-remote-uid-with-python)
8340         (tramp-get-remote-gid-with-python): New defuns.  Python code
8341         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8342         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8344 2013-09-19  Glenn Morris  <rgm@gnu.org>
8346         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8348         * eshell/em-unix.el (eshell-remove-entries):
8349         Rename argument to avoid name-clash with global `top-level'.
8351         * eshell/esh-proc.el (eshell-kill-process-function):
8352         Remove eshell-reset-after-proc from eshell-kill-hook if present.
8353         (eshell-reset-after-proc): Remove unused arg `proc'.
8355         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8356         (directory-files-and-attributes): Mark unused arg.
8358         * eshell/em-unix.el (eshell-remove-entries):
8359         Remove unused arg `path'.  Update callers.
8361         * eshell/em-hist.el (eshell-hist-parse-arguments):
8362         Remove unused arg `silent'.  Update callers.
8364         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8365         Fix (f)boundp mix-up.
8367         * eshell/em-smart.el (eshell-smart-scroll-window)
8368         (eshell-disable-after-change):
8369         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8371 2013-09-18  Alan Mackenzie  <acm@muc.de>
8373         Fix fontification of type when followed by "const".
8374         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8375         "known" types from fontification.
8377 2013-09-18  Glenn Morris  <rgm@gnu.org>
8379         * emacs-lisp/chart.el (x-display-color-cells): Declare.
8380         (chart-face-list): Drop Emacsen without display-color-p.
8382         * net/eww.el (libxml-parse-html-region): Declare.
8383         (eww-display-html): Explicit error if no libxml2 support.
8385         * doc-view.el (doc-view-mode): Silence --without-x compilation.
8387         * image.el (image-type-from-buffer, image-multi-frame-p):
8388         Remove --without-x warning/error.
8390         * mouse.el (mouse-yank-primary):
8391         * term.el (term-mouse-paste):
8392         Reorder to silence --without-x compilation.
8394         * mpc.el (doc-view-mode): Silence --without-x compilation.
8396         * mail/rmailmm.el (rmail-mime-set-bulk-data):
8397         Silence --without-x compilation.
8399         * progmodes/gud.el (gud-find-file, gud-mode):
8400         Silence --without-x compilation.
8401         (tooltip-mode): Declare.
8403         * wdired.el (dired-backup-overwrite): Remove declaration.
8404         (wdired-mode-map): Add doc string.
8406         * custom.el (x-get-resource): Declare.
8408         * eshell/em-glob.el (ange-cache):
8409         * eshell/em-unix.el (ange-cache): Declare.
8411         * faces.el (x-display-list, x-open-connection, x-get-resource):
8412         Declare.
8414         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8415         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8416         Declare.
8418         * frame.el (x-display-grayscale-p, x-display-name): Declare.
8420         * net/gnutls.el (gnutls-log-level): Declare.
8422         * net/shr.el (image-size, image-animate): Declare.
8424         * simple.el (font-info): Declare.
8426         * subr.el (x-popup-dialog): Declare.
8428         * term/common-win.el (x-select-enable-primary)
8429         (x-last-selected-text-primary, x-last-selected-text-clipboard):
8430         Declare.
8432         * term/ns-win.el (x-handle-args): Declare.
8434         * term/x-win.el (x-select-enable-clipboard): Declare.
8436         * term/w32-win.el (create-default-fontset): Declare.
8438         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8439         Declare.
8441         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8442         (fit-frame-to-buffer): Explicit error if --without-x.
8443         (mouse-autoselect-window-select): Silence compiler.
8445         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8447         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8448         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8449         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8450         * eshell/esh-util.el (eshell-sublist):
8451         Remove unused local variables.
8453         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8455         * textmodes/two-column.el: Make 2C-split work for --without-x.
8456         (scroll-bar-columns): Autoload.
8457         (top-level): Require fringe when compiling.
8459 2013-09-18  Leo Liu  <sdl.web@gmail.com>
8461         * subr.el (add-hook): Robustify to handle closure as well.
8463 2013-09-17  Glenn Morris  <rgm@gnu.org>
8465         * simple.el (messages-buffer-mode-map): Unbind "g".
8467 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8469         * help-mode.el (help-mode-finish): Use derived-mode-p.
8470         Remove obsolete highlighting.
8472         * play/life.el (life-mode): Use define-derived-mode.  Derive from
8473         special-mode.
8474         (life): Let-bind inhibit-read-only.
8475         (life-setup): Avoid `setq'.  Use `life-mode'.
8477         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8478         which should not be needed any more.
8479         (package-menu-refresh, package-menu-describe-package): Use user-error.
8481         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8482         (eshell-post-rewrite-command-hook): Make obsolete.
8483         (eshell-parse-command): Simplify.
8484         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8485         (eshell--cmd): Declare.
8486         (eshell-parse-pipeline): Remove unused var `final-p'.
8487         Pass a dynvar to eshell-post-rewrite-command-hook.
8488         Implement the new eshell-post-rewrite-command-function.
8489         (eshell-invoke-directly): Remove unused arg `input'.
8490         * eshell/esh-io.el (eshell-io-initialize):
8491         Use eshell-post-rewrite-command-function (bug#15399).
8492         (eshell--apply-redirections): Rename from eshell-apply-redirections;
8493         adjust to new calling convention.
8494         (eshell-create-handles): Rename args to avoid clashing with dynvar
8495         `standard-output'.
8497 2013-09-17  Glenn Morris  <rgm@gnu.org>
8499         * simple.el (messages-buffer-mode): New major mode.
8500         (messages-buffer): New function.
8501         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8502         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8503         (ert-run-test): Use `messages-buffer' function.
8504         (ert--force-message-log-buffer-truncation): Ignore read-only.
8505         * help.el (view-echo-area-messages): Use `messages-buffer' function.
8506         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8508 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8510         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8512         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8514 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8516         * icomplete.el (icomplete-in-buffer): New var.
8517         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8518         vars and replace them with functions.
8519         (icomplete-minibuffer-setup): Adjust accordingly.
8520         (icomplete--completion-table, icomplete--completion-predicate)
8521         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8522         New functions.
8523         (icomplete-forward-completions, icomplete-backward-completions)
8524         (icomplete-simple-completing-p, icomplete-exhibit)
8525         (icomplete-completions): Use them.
8526         (icomplete--in-region-buffer): New var.
8527         (icomplete--in-region-setup): New function.
8528         (icomplete-mode): Use it.
8530         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8531         (bug#15379).
8532         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8533         return args and options.
8534         (eshell-eval-using-options): Use the new return value of
8535         eshell--do-opts to set the options's vars in their scope.
8536         (eshell--set-option): Rename from eshell-set-option.
8537         Add arg `opt-vals'.
8538         (eshell--process-option): Rename from eshell-process-option.
8539         Add arg `opt-vals'.
8540         (eshell--process-args): Use an `opt-vals' alist to store the options's
8541         values during their processing and return them additionally to the
8542         remaining args.
8544 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
8546         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8547         continuation character an operator, as far as indentation is
8548         concerned (Bug#15369).
8550 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
8552         * window.el (window--state-put-2): Don't process buffer state
8553         when buffer doesn't exist any more (Bug#15382).
8555 2013-09-15  Glenn Morris  <rgm@gnu.org>
8557         * eshell/em-unix.el (eshell/rm):
8558         Make -f ignore missing files.  (Bug#15373)
8560         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
8561         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8562         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8564 2013-09-14  Glenn Morris  <rgm@gnu.org>
8566         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8568 2013-09-13  Glenn Morris  <rgm@gnu.org>
8570         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8571         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
8573 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
8575         * frame.el (x-focus-frame): Mark as declared in frame.c.
8577 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8579         * ls-lisp.el: Use advice-add.
8580         (original-insert-directory): Remove.
8581         (ls-lisp--insert-directory): Rename from insert-directory; add
8582         `orig-fun' argument.
8583         (insert-directory): Advise.
8585 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
8587         * term.el (term-emulate-terminal): Decode the command string
8588         before passing it to term-command-hook.  (Bug#15337)
8590 2013-09-13  Glenn Morris  <rgm@gnu.org>
8592         * eshell/esh-util.el (ange-cache): Move declaration earlier.
8594         * eshell/esh-ext.el (eshell-search-path): Declare.
8596         * eshell/em-prompt.el (eshell/pwd): Autoload it.
8597         Otherwise an error occurs if eshell-dirs module not loaded.
8599         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8601 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
8603         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8604         `tramp-check-proper-host'.  Check for a valid method name.
8606         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8607         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8608         * net/tramp-sh.el (tramp-maybe-open-connection):
8609         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8611         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8612         also for hash values.
8614 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8616         * term/ns-win.el (parameters): Don't declare as dynamic.
8617         (before-make-frame-hook): Don't add ineffective function.
8619         * eshell/*.el: Use lexical-binding (bug#15231).
8621 2013-09-12  Kenichi Handa  <handa@gnu.org>
8623         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8625 2013-09-12  Glenn Morris  <rgm@gnu.org>
8627         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8628         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8630         * subr.el (do-after-load-evaluation): Also give compiler warnings
8631         when obsolete files are used (except by obsolete files).
8633         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8634         in the status output, assume `filename' is the first.  (Bug#15322)
8636         * vc/vc.el (vc-deduce-fileset): Doc fix.
8638         * calc/calc-help.el (Info-goto-node):
8639         * progmodes/cperl-mode.el (Info-find-node):
8640         * vc/ediff.el (Info-goto-node): Update declarations.
8642         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8644         * vc/vc-bzr.el (vc-compilation-mode): Declare.
8645         (vc-bzr-pull): Require vc-dispatcher.
8646         * vc/vc-git.el (vc-compilation-mode): Declare.
8647         (vc-git-pull): Require vc-dispatcher.
8649         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8651         * progmodes/octave.el (help-button-action): Declare.
8653         * shell.el (shell-directory-tracker): Output error as a message
8654         rather than just returning it as a string.
8655         (shell-process-pushd): Remove useless use of message.
8657         * dframe.el (dframe-timer-fn):
8658         * files.el (dir-locals-read-from-file):
8659         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8660         (mpc-format):
8661         * reveal.el (reveal-post-command):
8662         * saveplace.el (load-save-place-alist-from-file):
8663         * shell.el (shell-resync-dirs):
8664         * w32-common-fns.el (x-get-selection-value):
8665         * emacs-lisp/copyright.el (copyright-find-copyright):
8666         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8667         * emulation/tpu-edt.el (tpu-copy-keyfile):
8668         * play/bubbles.el (bubbles--mark-neighbourhood):
8669         * progmodes/executable.el
8670         (executable-make-buffer-file-executable-if-script-p):
8671         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8673 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8675         Cleanup Eshell to rely less on dynamic scoping.
8676         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8677         last-value, and ext-command here.  Bind `args' closer to `body'.
8678         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8679         (eshell--args): Declare new dynamic var.
8680         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
8681         last-value, and ext-command.  Pass `args' to `body'.
8682         (eshell-process-args): Bind eshell--args.
8683         (eshell-set-option): Use eshell--args.
8684         * eshell/eshell.el (eshell): Use derived-mode-p.
8685         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8686         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8687         (eshell-glob-function): Declare.
8688         * eshell/esh-util.el: Require cl-lib.
8689         (eshell-read-hosts-file): Avoid add-to-list.
8690         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8691         `err'.
8692         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8693         Declare.
8694         (eshell/diff): Remove unused var `err'.
8695         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8696         `killflag'.
8697         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8698         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8699         first use.
8700         * eshell/em-glob.el (eshell-glob-matches, message-shown):
8701         Move declaration before first use.
8702         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8703         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8704         rely on cl-return.
8706 2013-09-12  Glenn Morris  <rgm@gnu.org>
8708         * term/ns-win.el (global-map): Remove binding for ispell-next,
8709         deleted 1999-05-29.  (Bug#15357)
8711 2013-09-11  Glenn Morris  <rgm@gnu.org>
8713         * echistory.el (electric-command-history): Remove call to deleted func.
8715         * play/landmark.el (landmark-mode): Fix typos.
8717         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8718         Check cvs-sort-ignore-file is bound.
8720         * savehist.el: No need for cl when compiling on Emacs.
8722 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8724         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8725         (bug#15338).
8726         (eshell-self-insert-command, eshell-send-invisible):
8727         Remove unused argument.
8728         (eshell-handle-control-codes): Remove unused var `orig'.
8729         Avoid delete-backward-char.
8731         * files.el (set-auto-mode): Simplify a bit further.
8733 2013-09-11  Glenn Morris  <rgm@gnu.org>
8735         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8736         (set-auto-mode): Don't regexp-quote elements.
8737         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8738         * progmodes/cc-mode.el (interpreter-mode-alist):
8739         * progmodes/ruby-mode.el (interpreter-mode-alist):
8740         Revert previous change.
8742 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8744         * play/snake.el (snake-mode):
8745         * play/mpuz.el (mpuz-mode):
8746         * play/landmark.el (lm-mode):
8747         * play/blackbox.el (blackbox-mode):
8748         * play/5x5.el (5x5-mode):
8749         * obsolete/options.el (Edit-options-mode):
8750         * net/quickurl.el (quickurl-list-mode):
8751         * net/newst-treeview.el (newsticker-treeview-mode):
8752         * mail/rmailsum.el (rmail-summary-mode):
8753         * mail/mspools.el (mspools-mode):
8754         * locate.el (locate-mode):
8755         * ibuffer.el (ibuffer-mode):
8756         * emulation/ws-mode.el (wordstar-mode):
8757         * emacs-lisp/debug.el (debugger-mode):
8758         * array.el (array-mode):
8759         * net/eudc.el (eudc-mode): Use define-derived-mode.
8760         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8761         Move initialization into declaration.
8762         (mairix-searches-mode): Use define-derived-mode.
8763         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8764         (eudc-edit-hotlist): Use dolist.
8765         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8766         (Man-mode): Use define-derived-mode.
8767         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8768         (Info-edit-mode): Use define-derived-mode.
8769         (Info-cease-edit): Use Info-mode.
8770         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8771         into declaration.
8772         (eshell-mode): Use define-derived-mode.
8773         * chistory.el (command-history-mode-map): Rename from
8774         command-history-map.
8775         (command-history-mode): Use define-derived-mode.
8776         (Command-history-setup): Remove function.
8777         * calc/calc.el (calc-trail-mode-map): New var.
8778         (calc-trail-mode): Use define-derived-mode.
8779         (calc-trail-buffer): Set calc-main-buffer manually.
8780         * bookmark.el (bookmark-insert-annotation): New function.
8781         (bookmark-edit-annotation): Use it.
8782         (bookmark-edit-annotation-mode): Make it a proper major mode.
8783         (bookmark-send-edited-annotation): Use derived-mode-p.
8784         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8785         closer to its ideal place.  Use \' to match EOS.
8787         * profiler.el (profiler-calltree-find): Use function-equal.
8789 2013-09-10  Glenn Morris  <rgm@gnu.org>
8791         * files.el (interpreter-mode-alist): Convert to regexps.
8792         (set-auto-mode): Adapt for this.  (Bug#15306)
8793         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8794         Comment out unused variable.
8795         * progmodes/cc-mode.el (interpreter-mode-alist):
8796         * progmodes/python.el (interpreter-mode-alist):
8797         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8798         * progmodes/sh-script.el (sh-set-shell):
8799         No longer use interpreter-mode-alist to get list of shells.
8801         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8803 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8805         * simple.el: Use set-temporary-overlay-map for universal-argument.
8806         (universal-argument-map): Don't use default-bindings (bug#15317).
8807         Bind switch-frame explicitly.  Replace universal-argument-minus with
8808         a conditional binding.
8809         (universal-argument-num-events, saved-overriding-map): Remove.
8810         (restore-overriding-map): Remove.
8811         (universal-argument--mode): Rename from save&set-overriding-map,
8812         and rewrite.
8813         (universal-argument, universal-argument-more, negative-argument)
8814         (digit-argument): Adjust accordingly.
8815         (universal-argument-minus): Remove.
8816         (universal-argument-other-key): Remove.
8818         * subr.el (with-demoted-errors): Add `format' argument.
8820 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
8822         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
8823         `tramp-cleanup-connection'.
8825         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8826         parameters KEEP-DEBUG and KEEP-PASSWORD.
8828         * net/tramp.el (tramp-file-name-handler):
8829         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8830         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8831         (tramp-maybe-open-connection):
8832         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8833         Use `tramp-cleanup-connection'.
8835         * net/tramp-sh.el (tramp-maybe-open-connection):
8836         Catch 'uname-changed inside the progress reporter.
8838 2013-09-10  Glenn Morris  <rgm@gnu.org>
8840         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
8842         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8843         returns "alternate access method" in mode (eg "-rw-r--r--.").
8845 2013-09-08  Glenn Morris  <rgm@gnu.org>
8847         * saveplace.el (load-save-place-alist-from-file):
8848         Demote errors.  (Bug#15305)
8850 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
8852         Improve compatibility with older Emacsen, and XEmacs.
8854         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8855         only if it is bound.  It isn't for XEmacs.
8856         (with-tramp-progress-reporter): Do not let-bind `result'.
8857         This yields to scoping errors in XEmacs.
8858         (tramp-handle-make-auto-save-file-name): New function, moved from
8859         tramp-sh.el.
8861         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8862         for `make-auto-save-file-name'.
8863         (tramp-adb--gnu-switches-to-ash):
8864         Use `tramp-compat-replace-regexp-in-string'.
8866         * net/tramp-cache.el (tramp-cache-print): Call
8867         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
8869         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8870         bound.  It isn't for XEmacs.
8872         * net/tramp-compat.el (tramp-compat-copy-file):
8873         Catch `wrong-number-of-arguments' error.
8874         (tramp-compat-replace-regexp-in-string): New defun.
8876         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8877         for `make-auto-save-file-name'.
8878         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8879         `copy-file'.
8880         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8881         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8882         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8884         * net/tramp-gw.el (tramp-gw-open-network-stream):
8885         Use `tramp-compat-replace-regexp-in-string'.
8887         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8888         Call `tramp-handle-make-auto-save-file-name'.
8889         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8890         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8891         (tramp-sh-file-inotifywait-process-filter):
8892         Use `tramp-compat-replace-regexp-in-string'.
8893         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8895         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8896         for `make-auto-save-file-name'.
8897         (tramp-smb-handle-copy-directory):
8898         Call `tramp-compat-replace-regexp-in-string'.
8899         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8900         (tramp-smb-handle-copy-file): Improve error message.
8901         (tramp-smb-handle-rename-file): Rename directly only in case
8902         `newname' does not exist yet.  This is a restriction of smbclient.
8903         (tramp-smb-maybe-open-connection): Rerun the function only when
8904         `auth-sources' is non-nil.
8906 2013-09-08  Kenichi Handa  <handa@gnu.org>
8908         * international/characters.el: Set category "^" (Combining) for
8909         more characters.
8911 2013-09-07  Alan Mackenzie  <acm@muc.de>
8913         Correctly fontify Java class constructors.
8914         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8915         in Java Mode.
8916         (c-recognize-typeless-decls): Set the Java value to t.
8917         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8918         While handling a "(", add a check for, effectively, Java, and handle a
8919         "typeless" declaration there.
8921 2013-09-07  Roland Winkler  <winkler@gnu.org>
8923         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8924         field subtitle for entry type book.
8926 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8928         * minibuffer.el: Make minibuffer-complete call completion-in-region
8929         rather than other way around.
8930         (completion--some, completion-pcm--find-all-completions):
8931         Don't delay signals when debugging.
8932         (minibuffer-completion-contents): Beware fields within the
8933         minibuffer contents.
8934         (completion-all-sorted-completions): Use defvar-local.
8935         (completion--do-completion, completion--cache-all-sorted-completions)
8936         (completion-all-sorted-completions, minibuffer-force-complete):
8937         Add args `beg' and `end'.
8938         (completion--in-region-1): New fun, extracted from minibuffer-complete.
8939         (minibuffer-complete): Use completion-in-region.
8940         (completion-complete-and-exit): New fun, extracted from
8941         minibuffer-complete-and-exit.
8942         (minibuffer-complete-and-exit): Use it.
8943         (completion--complete-and-exit): Rename from
8944         minibuffer--complete-and-exit.
8945         (completion-in-region--single-word): New function, extracted from
8946         minibuffer-complete-word.
8947         (minibuffer-complete-word): Use it.
8948         (display-completion-list): Make `common-substring' argument obsolete.
8949         (completion--in-region): Call completion--in-region-1 instead of
8950         minibuffer-complete.
8951         (completion-help-at-point): Pass boundaries to
8952         minibuffer-completion-help as args rather than via an overlay.
8953         (completion-pcm--string->pattern): Use `any-delim'.
8954         (completion-pcm--optimize-pattern): New function.
8955         (completion-pcm--pattern->regex): Handle `any-delim'.
8956         * icomplete.el (icomplete-forward-completions)
8957         (icomplete-backward-completions, icomplete-completions):
8958         Adjust calls to completion-all-sorted-completions and
8959         completion--cache-all-sorted-completions.
8960         (icomplete-with-completion-tables): Default to t.
8961         * emacs-lisp/crm.el (crm--current-element): Rename from
8962         crm--select-current-element.  Don't put an overlay but return the
8963         boundaries instead.
8964         (crm--completion-command): Take two new args to bind to the boundaries.
8965         (crm-completion-help): Adjust accordingly.
8966         (crm-complete): Use completion-in-region.
8967         (crm-complete-word): Use completion-in-region--single-word.
8968         (crm-complete-and-exit): Use completion-complete-and-exit.
8970 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8972         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8973         than dynamically.
8975 2013-09-06  Juri Linkov  <juri@jurta.org>
8977         * info.el (Info-display-images-node): When image file doesn't exist
8978         display text version of the image if it's provided in the Info file.
8979         Otherwise, display the location of missing image from SRC attribute.
8980         Add help-echo text property from ALT attribute.  (Bug#15279)
8982 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8984         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8985         (edit-abbrevs-mode): Use define-derived-mode.
8987         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8988         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8989         that it's defined.
8990         (epa-key-list-mode, epa-key-mode, epa-info-mode):
8991         Use define-derived-mode.
8993         * epg.el (epg-start-encrypt): Minor CSE simplification.
8995 2013-09-06  William Xu  <william.xwl@gmail.com>
8997         * arc-mode.el: Add support for 7za (bug#15264).
8998         (archive-7z-program): New var.
8999         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9000         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9001         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9003 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
9005         Remove URL syntax.
9007         * net/tramp.el (tramp-syntax, tramp-prefix-format)
9008         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9009         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9010         (tramp-postfix-host-format, tramp-file-name-regexp)
9011         (tramp-completion-file-name-regexp)
9012         (tramp-completion-dissect-file-name)
9013         (tramp-handle-substitute-in-file-name): Remove 'url case.
9014         (tramp-file-name-regexp-url)
9015         (tramp-completion-file-name-regexp-url): Remove constants.
9017 2013-09-06  Glenn Morris  <rgm@gnu.org>
9019         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
9021 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
9023         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9024         keywords" below "here-doc beginnings" (Bug#15270).
9026 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9028         * subr.el (pop): Use `car-safe'.
9029         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9030         to detect unused `pop' return value.
9032         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9033         var `block-regexp'.
9034         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9035         (python-fill-string): Remove unused var `marker'.
9036         (python-skeleton-add-menu-items): Remove unused var `items'.
9038         * international/mule-cmds.el: Require CL.
9039         (find-coding-systems-for-charsets): Avoid add-to-list.
9040         (sanitize-coding-system-list): New function, extracted from
9041         select-safe-coding-system-interactively.
9042         (select-safe-coding-system-interactively): Use it.
9043         (read-input-method-name): Accept symbols for `default'.
9045         * emacs-lisp/advice.el (defadvice): Add indent rule.
9047 2013-09-05  Daniel Hackney  <dan@haxney.org>
9049         * dired-x.el:
9050         * net/ange-ftp.el:
9051         * net/browse-url.el:
9052         * net/dbus.el:
9053         * net/eudc.el:
9054         * net/eudcb-ldap.el:
9055         * net/eww.el:
9056         * net/imap.el:
9057         * printing.el:
9058         * vc/ediff-diff.el:
9059         * vc/ediff-init.el:
9060         * vc/ediff-merg.el:
9061         * vc/ediff-mult.el:
9062         * vc/ediff-util.el:
9063         * vc/ediff-wind.el:
9064         * vc/ediff.el:
9065         * vc/emerge.el:
9066         * vc/pcvs.el:
9067         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9068         byte compiler.  Remove some unused let-bound variables.
9070 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9072         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9073         a "ref-cell", since it gets better optimized (bug#14883).
9075 2013-09-05  Glenn Morris  <rgm@gnu.org>
9077         * progmodes/cc-awk.el (c-forward-sws): Declare.
9079 2013-09-04  Glenn Morris  <rgm@gnu.org>
9081         * generic-x.el [rul-generic-mode]: Require cc-mode.
9082         (c++-mode-syntax-table): Declare.
9083         (rul-generic-mode-syntax-table): Init in the defvar.
9085 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9087         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9088         (vc-do-command, vc-set-async-update):
9089         * vc/vc-mtn.el (vc-mtn-dir-status):
9090         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9091         (vc-hg-pull, vc-hg-merge-branch):
9092         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9093         (vc-git-merge-branch):
9094         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9095         (vc-cvs-dir-status-files):
9096         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9097         (vc-bzr-dir-status-files):
9098         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9099         * vc/vc-annotate.el: Use lexical-binding.
9100         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9101         (vc-sentinel-movepoint): Declare.
9102         (vc-annotate): Don't use `goto-line'.
9103         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9104         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9105         (vc-sentinel-movepoint): Declare.
9106         * vc/vc-svn.el: Use lexical-binding.
9107         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9108         * vc/vc-sccs.el:
9109         * vc/vc-rcs.el: Use lexical-binding.
9111         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9112         `deleted'.  Don't drop errors silently.
9114         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9116 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
9118         * vc/vc.el (vc-ignore): Rewrite.
9119         (vc-default-ignore): New function.
9120         (vc-default-ignore-completion-table): Use find-ignore-file.
9122         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9123         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9124         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9125         Remove.  Most code moved to vc.el.
9127 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9129         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9130         * net/tramp-smb.el (tramp-smb-get-file-entries):
9131         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9132         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9134         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9135         Update call to it.
9136         (eww-change-select): Remove unused var `properties'.
9137         (eww-make-unique-file-name): Remove unused var `base'.
9139         * finder.el (finder-compile-keywords): Don't mess with windows.
9141         * calculator.el (calculator-funcall): Fix typo in last change.
9143         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9145         * emacs-lisp/package.el (package-activate-1): Don't let a missing
9146         <pkg>-autoloads.el file stop us.
9148         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9149         warnings, and factor out common code.
9151 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
9153         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9154         two-character operators and whether the character preceding them
9155         changes their meaning (Bug#15208).
9157 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9159         Format code sent to Python shell for robustness.
9160         * progmodes/python.el (python-shell-buffer-substring):
9161         New function.
9162         (python-shell-send-region, python-shell-send-buffer): Use it.
9164 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
9166         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9167         * net/tramp.el (tramp-user-error): ... here.
9168         (tramp-find-method, tramp-check-proper-host)
9169         (tramp-dissect-file-name, tramp-debug-message)
9170         (tramp-handle-shell-command):
9171         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9172         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9174         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9176 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
9178         * avoid.el (mouse-avoidance-point-position)
9179         (mouse-avoidance-too-close-p): Handle case where posn-at-point
9180         returns nil.
9182 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9184         * progmodes/python.el (python-shell-completion-get-completions):
9185         Drop use of deleted `comint-last-prompt-overlay'.
9186         (python-nav-if-name-main): New command.
9188 2013-09-01  Glenn Morris  <rgm@gnu.org>
9190         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9191         Avoid leading space in $wins.  Otherwise the sed command used by
9192         eg compile-main ends up containing "/*.el".  (Bug#15170)
9194         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
9196 2013-08-30  Glenn Morris  <rgm@gnu.org>
9198         * emacs-lisp/bytecomp.el (byte-recompile-directory):
9199         Fix is-this-a-directory logic.  (Bug#15220)
9201 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9203         * textmodes/css-mode.el: Use SMIE.
9204         (css-smie-grammar): New var.
9205         (css-smie--forward-token, css-smie--backward-token)
9206         (css-smie-rules): New functions.
9207         (css-mode): Use them.
9208         (css-navigation-syntax-table): Remove var.
9209         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9210         (css-indent-calculate, css-indent-line): Remove functions.
9212         Misc changes to reduce use of `(lambda...); and other cleanups.
9213         * cus-edit.el: Use lexical-binding.
9214         (customize-push-and-save, customize-apropos)
9215         (custom-buffer-create-internal): Use closures.
9216         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9217         * progmodes/ada-xref.el: Use setq.
9218         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9219         * dframe.el: Use lexical-binding.
9220         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
9221         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9222         * descr-text.el: Use lexical-binding.
9223         (describe-text-widget, describe-text-sexp, describe-property-list):
9224         Use closures.
9225         * comint.el (comint-history-isearch-push-state): Use a closure.
9226         * calculator.el: Use lexical-binding.
9227         (calculator-number-to-string): Make it work with lexical-binding.
9228         (calculator-funcall): Same and use cl-letf.
9230         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9231         (lisp--company-doc-string, lisp--company-location): New functions.
9232         (lisp-completion-at-point): Use them to improve Company support.
9234         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9235         params of lambda expressions.
9236         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9237         (ruby-smie--opening-pipe-p): New function.
9238         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9239         symbols and matched |...| for formal params.
9240         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9241         from being treated as hanging.  Handle "rescue".
9243 2013-08-29  Glenn Morris  <rgm@gnu.org>
9245         * progmodes/cc-engine.el (c-pull-open-brace):
9246         Move definition before use.
9248 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9250         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9251         are immutable.  Don't use `unsafe' any more.
9252         (cl--defsubst-expand): Don't substitute at the same time as keeping
9253         a residual unused let-binding.  Don't use `unsafe' any more.
9255 2013-08-29  Glenn Morris  <rgm@gnu.org>
9257         * calendar/cal-china.el (calendar-chinese-year-cache):
9258         Recenter on 2015.
9260         * nxml/nxml-util.el (nxml-debug-clear-inside):
9261         Use cl-loop rather than loop.
9263         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9265         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9267 2013-08-28  Glenn Morris  <rgm@gnu.org>
9269         * progmodes/antlr-mode.el: No need to require cc-mode twice.
9271         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9273         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9275 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9277         * simple.el (repeat-complex-command--called-interactively-skip):
9278         New function.
9279         (repeat-complex-command): Use it (bug#14136).
9281         * progmodes/cc-mode.el: Minor cleanup of var declarations.
9282         (c-define-abbrev-table): Add `doc' argument.
9283         (c-mode-abbrev-table, c++-mode-abbrev-table)
9284         (objc-mode-abbrev-table, java-mode-abbrev-table)
9285         (idl-mode-abbrev-table, pike-mode-abbrev-table)
9286         (awk-mode-abbrev-table): Use it.
9287         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9288         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9289         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9290         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9291         Move initialization into the declaration; and remove any
9292         autoload cookie.
9294         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9295         and dynamic let binding.
9297         * vc/smerge-mode.el: Remove redundant :group args.
9299         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9300         to load-path.
9302 2013-08-28  Juri Linkov  <juri@jurta.org>
9304         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9305         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9306         (isearch-other-meta-char): Handle an undefined shifted printing
9307         character by downshifting it.  (Bug#15200)
9309 2013-08-28  Juri Linkov  <juri@jurta.org>
9311         * isearch.el (isearch-search): Change regexp error message for
9312         non-regexp searches.  (Bug#15166)
9314 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
9316         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9317         for portability to hosts where /bin/sh has problems.
9319 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9321         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9323 2013-08-27  Juri Linkov  <juri@jurta.org>
9325         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9326         in the keyboard macro.  (Bug#15126)
9328 2013-08-27  Juri Linkov  <juri@jurta.org>
9330         * isearch.el (isearch-quote-char): Comment out converting unibyte
9331         to multibyte, thus syncing with its `quoted-insert' counterpart.
9332         (Bug#15166)
9334 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
9336         * window.el (display-buffer-use-some-window): Add missing
9337         argument in call of get-largest-window (Bug#15185).
9338         Reported by Stephen Leake.
9340 2013-08-27  Glenn Morris  <rgm@gnu.org>
9342         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9344 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9346         * progmodes/python.el (python-font-lock-keywords): Don't return nil
9347         from a matcher-function unless there's no more matches (bug#15161).
9349 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9351         * minibuffer.el: Revert change from 2013-08-20.
9353         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9354         with text property `tramp-default', if appropriate.
9355         (tramp-check-proper-host): New defun.
9356         (tramp-dissect-file-name): Do not check hostname.  Revert change
9357         of 2013-03-18.
9358         (tramp-backtrace): Make VEC-OR-PROC optional.
9360         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9361         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9362         * net/tramp-sh.el (tramp-maybe-open-connection):
9363         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9364         Apply `tramp-check-proper-host'.
9366 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
9368         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9369         lambda expression in order to have `describe-variable' display it.
9371 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9373         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9374         BUF can be optional.  (Bug#15186)
9376 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
9378         * progmodes/flymake.el (flymake-get-real-file-name-function):
9379         Fix broken customization.  (Bug#15184)
9381 2013-08-25  Alan Mackenzie  <acm@muc.de>
9383         Improve indentation of bracelists defined by macros (without "=").
9385         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9386         expansion begins with "{", regard it as bracelist when it doesn't
9387         contain a ";".
9389         Parse C++ inher-intro when there's a template split over 2 lines.
9391         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9392         rigorously the search for "class" etc. followed by ":".
9394         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9395         random languages a regexp which never matches rather than nil.
9397         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9399         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9400         (c-awk-regexp-one-line-possibly-open-char-list-re)
9401         (c-awk-one-line-possibly-open-regexp-re)
9402         (c-awk-one-line-non-syn-ws*-re): Remove.
9403         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9404         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9405         (c-awk-space*-unclosed-regexp-/-re): New constants.
9406         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9407         aren't regexp delimiters.
9409         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9410         handling for a rare situation in AWK Mode involving unterminated
9411         strings/regexps.
9413 2013-08-23  Glenn Morris  <rgm@gnu.org>
9415         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9417         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9419         * files.el (create-file-buffer): If the result would begin with
9420         spaces, prepend a "|" instead of removing them.  (Bug#15162)
9422 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9424         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9425         text-properties (bug#15155).
9427         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9428         exist any more.
9429         (calc-keypad-redraw): Remove unused var `pad'.
9430         (calc-keypad-press): Remove unused var `menu'.
9432 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
9434         * window.el (display-buffer-pop-up-frame):
9435         Call pop-up-frame-function with BUFFER current so `make-frame' will
9436         use it as the new frame's buffer (Bug#15133).
9438 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9440         * calendar/timeclock.el: Minor cleanups.
9441         (timeclock-ask-before-exiting, timeclock-use-display-time):
9442         Use `symbol'.
9443         (timeclock-modeline-display): Define as alias before the
9444         actual definition.
9445         (timeclock-mode-line-display): Use define-minor-mode.
9446         (timeclock-day-list-template): Make it a function, add an argument.
9447         (timeclock-day-list-required, timeclock-day-list-length)
9448         (timeclock-day-list-debt, timeclock-day-list-span)
9449         (timeclock-day-list-break): Adjust calls accordingly.
9451 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9453         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9454         Use read--expression so that completion works again.
9456 2013-08-21  Sam Steingold  <sds@gnu.org>
9458         Add rudimentary inferior shell interaction
9459         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9460         (sh-set-shell): Reset it.
9461         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9462         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9464 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9466         * align.el: Use lexical-binding.
9467         (align-region): Simplify accordingly.
9469 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
9471         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9473         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9474         `non-essential' up.
9476 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
9478         * net/tramp.el:
9479         * net/tramp-adb.el:
9480         * net/tramp-cmds.el:
9481         * net/tramp-ftp.el:
9482         * net/tramp-gvfs.el:
9483         * net/tramp-gw.el:
9484         * net/tramp-sh.el: Don't wrap external variable declarations by
9485         `eval-when-compile'.
9487 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9489         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9490         now that Emacs supports ImageMagick animations.
9492 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
9494         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9495         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9497 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
9499         * window.el (mouse-autoselect-window-select): Do autoselect when
9500         mouse pointer is on margin.
9502 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
9504         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
9506 2013-08-16  Glenn Morris  <rgm@gnu.org>
9508         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9509         Handle "Remote Directory" response of some clients.  (Bug#15058)
9511         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9512         Tweak warning.  (Bug#14926)
9514         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9515         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
9517         * image-mode.el (image-mode-map): Add menu items to reverse,
9518         increase, decrease, reset animation speed.
9519         (image--set-speed, image-increase-speed, image-decrease-speed)
9520         (image-reverse-speed, image-reset-speed): New functions.
9521         (image-mode-map): Add bindings for speed commands.
9523         * image.el (image-animate-get-speed, image-animate-set-speed):
9524         New functions.
9525         (image-animate-timeout): Respect image :speed property.
9527 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9529         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9530         previous line (bug#15101).
9531         (debugger-eval-expression, debugger-record-expression):
9532         Use read--expression (bug#15102).
9534 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
9536         Remove byte compiler warnings, visible when compiling with
9537         `byte-compile-force-lexical-warnings' set to t.
9539         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9540         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9541         (tramp-handle-unhandled-file-name-directory)
9542         (tramp-handle-file-notify-add-watch, tramp-action-login)
9543         (tramp-action-succeed, tramp-action-permission-denied)
9544         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9545         arguments with "_".
9547         * net/tramp-adb.el (tramp-adb-parse-device-names)
9548         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9549         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9550         (tramp-adb-handle-file-truename): Remove unused arguments.
9552         * net/tramp-cache.el (tramp-flush-directory-property)
9553         (tramp-flush-connection-property, tramp-list-connections)
9554         (tramp-parse-connection-properties): Prefix unused arguments with "_".
9556         * net/tramp-compat.el (tramp-compat-make-temp-file):
9557         Rename FILENAME to F.
9559         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9560         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9561         (tramp-zeroconf-parse-workstation-device-names)
9562         (tramp-zeroconf-parse-webdav-device-names)
9563         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9565         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9566         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9568         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9569         arguments.
9570         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9571         (tramp-sh-handle-insert-file-contents-literally)
9572         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9573         with "_".
9574         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9575         Remove unused variables.
9577         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9578         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9579         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9581         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9582         Make them a defconst.
9583         (tramp-uuencode-region): Remove unused variable.
9585 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
9587         * frameset.el (frameset--prop-setter): New function.
9588         (frameset-prop): Add gv-setter declaration.
9589         (frameset-filter-minibuffer): Deal with the case that the minibuffer
9590         parameter was already set in FILTERED.  Doc fix.
9591         (frameset--record-minibuffer-relationships): Allow saving a
9592         minibufferless frame without its corresponding minibuffer frame.
9593         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9594         frame, if the frame id matches.
9595         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9596         frames before orphaned ones.
9597         (frameset-restore): Warn about orphaned windows, instead of error out.
9599 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
9601         * window.el (window-make-atom): Don't overwrite parameter
9602         already present.
9603         (display-buffer-in-atom-window): Handle special case where we
9604         split an already atomic window.
9605         (window--major-non-side-window, display-buffer-in-side-window)
9606         (window--side-check): Ignore minibuffer window when walking
9607         window tree.
9608         (window-deletable-p): Return 'frame only if no other frame uses
9609         our minibuffer window.
9610         (record-window-buffer): Run buffer-list-update-hook.
9611         (split-window): Make sure window--check-frame won't destroy an
9612         existing atomic window in case the new window gets nested
9613         inside.
9614         (display-buffer-at-bottom): Ignore minibuffer window when
9615         walking window tree.  Don't split a side window.
9616         (pop-to-buffer): Don't set-buffer here, the select-window call
9617         should do that.
9618         (mouse-autoselect-window-select): Autoselect only if we are in the
9619         text portion of the window.
9621 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9623         * net/shr.el (shr-parse-image-data): New function to grab both the
9624         data itself and the Content-Type.
9625         (shr-put-image): Use it.
9627         * net/eww.el (eww-display-image): Ditto.
9629         * image.el (image-content-type-suffixes): New variable.
9631 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9633         * progmodes/python.el (python-imenu--build-tree)
9634         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9636 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
9638         * simple.el (backward-word): Mention the optional argument.
9640 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9642         * frameset.el (frameset--make): Rename constructor from make-frameset.
9643         (frameset-p, frameset-valid-p): Don't autoload.
9644         (frameset-valid-p): Use normal accessors.
9646 2013-08-13  Glenn Morris  <rgm@gnu.org>
9648         * progmodes/compile.el (compile-command): Tweak example in doc.
9649         * obsolete/scribe.el (scribe-mode):
9650         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
9652         * mail/feedmail.el (feedmail-confirm-outgoing)
9653         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9655         * cus-start.el (truncate-partial-width-windows): Fix type.
9657         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9659         * net/shr.el (shr-table-horizontal-line): Fix custom type.
9661 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9663         * emacs-lisp/timer.el (timer--time-setter): New function.
9664         (timer--time): Use it as gv-setter.
9666         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9667         setter is not a symbol.
9669 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
9671         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9672         if sending fails.  This makes debugging easier.
9674 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
9676         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9677         revno:113793, which breaks the test suite).
9678         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9680 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
9682         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9684 2013-08-12  Glenn Morris  <rgm@gnu.org>
9686         * format.el (format-annotate-function):
9687         Handle read-only text properties in the source.  (Bug#14887)
9689 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9691         * net/eww.el (eww-display-html): Ignore coding system errors.
9692         One web site uses "utf-8lias" as the coding system.
9694 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
9696         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9698 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
9700         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9701         (tutorial--detailed-help): Remove unused local variables.
9702         (tutorial--save-tutorial-to): Use ignore-errors.
9703         (help-with-tutorial): Use looking-at-p.
9705         * view.el (view-buffer-other-window, view-buffer-other-frame):
9706         Mark unused arguments.
9708         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9709         (woman-select-symbol-fonts, woman, woman-find-file)
9710         (woman-insert-file-contents, woman-non-underline-faces):
9711         Use string-match-p.
9712         (woman1-unquote): Move declaration.
9714         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9715         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
9716         argument.  Remove unused local variable.
9717         (xml-parse-elem-type): Use string-match-p.
9718         (xml-substitute-numeric-entities): Use ignore-errors.
9720         * calculator.el (calculator): Mark unused argument.
9721         (calculator-paste, calculator-quit, calculator-integer-p):
9722         Use ignore-errors.
9723         (calculator-string-to-number, calculator-decimal, calculator-exp)
9724         (calculator-op-or-exp): Use string-match-p.
9726         * dired.el (dired-buffer-more-recently-used-p): Declare.
9727         (dired-insert-set-properties, dired-insert-old-subdirs):
9728         Use ignore-errors.
9730         * dired-aux.el (dired-compress): Use ignore-errors.
9731         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9732         (dired-do-async-shell-command, dired-do-shell-command)
9733         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9734         (dired-insert-subdir-validate): Use string-match-p.
9735         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9736         (dired-add-entry): Use string-match-p, looking-at-p.
9737         (dired-insert-subdir-newpos): Remove unused local variable.
9739         * filenotify.el (file-notify-callback): Remove unused local variable.
9741         * filesets.el (filesets-error): Mark unused argument.
9742         (filesets-which-command-p, filesets-filter-dir-names)
9743         (filesets-directory-files, filesets-get-external-viewer)
9744         (filesets-ingroup-get-data): Use string-match-p.
9746         * find-file.el (ff-other-file-name, ff-other-file-name)
9747         (ff-find-the-other-file, ff-cc-hh-converter):
9748         Remove unused local variables.
9749         (ff-get-file-name): Use string-match-p.
9750         (ff-all-dirs-under): Use ignore-errors.
9752         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9753         (follow-select-if-visible): Remove unused local variable.
9755         * forms.el (read-file-filter): Move declaration.
9756         (forms--make-format, forms--make-parser, forms-insert-record):
9757         Quote function with #'.
9758         (forms--update): Use string-match-p.  Quote function with #'.
9760         * help-mode.el (help-dir-local-var-def): Mark unused argument.
9761         (help-make-xrefs): Use looking-at-p.
9762         (help-xref-on-pp): Use looking-at-p, ignore-errors.
9764         * ibuffer.el (ibuffer-ext-visible-p): Declare.
9765         (ibuffer-confirm-operation-on): Use string-match-p.
9767         * msb.el (msb-item-handler, msb-dired-item-handler):
9768         Mark unused arguments.
9770         * ses.el (ses-decode-cell-symbol)
9771         (ses-kill-override): Remove unused local variable.
9772         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9773         (ses-load): Use ignore-errors, looking-at-p.
9774         (ses-jump-safe): Use ignore-errors.
9775         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9777         * tabify.el (untabify, tabify): Mark unused arguments.
9779         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9780         Mark unused argument.
9781         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9782         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9784         * emacs-lisp/timer.el (timer--time): Define setter with
9785         gv-define-setter to avoid deprecation warning.
9787         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9788         (*record-cmpl-statistics-p*): Remove (was commented out).
9789         (cmpl-statistics-block): Remove (body was commented out).
9790         All callers changed.
9791         (add-completions-from-buffer, load-completions-from-file):
9792         Remove unused variables.
9794 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
9796         * filecache.el (file-cache-delete-file-list):
9797         Print message only when told so.
9798         (file-cache-files-matching): Use #' in mapconcat argument.
9800         * ffap.el (ffap-url-at-point): Fix reference to variable
9801         thing-at-point-default-mail-uri-scheme.
9803 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9805         * subr.el (define-error): New function.
9806         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9807         error-file-not-found and define with define-error.
9808         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9809         and define with define-error.
9810         * userlock.el (file-locked, file-supersession):
9811         * simple.el (mark-inactive):
9812         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9813         * progmodes/ada-mode.el (ada-mode-errors):
9814         * play/life.el (life-extinct):
9815         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9816         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9817         * nxml/rng-util.el (rng-error):
9818         * nxml/rng-uri.el (rng-uri-error):
9819         * nxml/rng-match.el (rng-compile-error):
9820         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9821         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9822         * nxml/nxml-rap.el (nxml-scan-error):
9823         * nxml/nxml-outln.el (nxml-outline-error):
9824         * net/soap-client.el (soap-error):
9825         * net/gnutls.el (gnutls-error):
9826         * net/ange-ftp.el (ftp-error):
9827         * mpc.el (mpc-proc-error):
9828         * json.el (json-error, json-readtable-error, json-unknown-keyword)
9829         (json-number-format, json-string-escape, json-string-format)
9830         (json-key-format, json-object-format):
9831         * jka-compr.el (compression-error):
9832         * international/quail.el (quail-error):
9833         * international/kkc.el (kkc-error):
9834         * emacs-lisp/ert.el (ert-test-failed):
9835         * calc/calc.el (calc-error, inexact-result, math-overflow)
9836         (math-underflow):
9837         * bookmark.el (bookmark-error-no-filename):
9838         * epg.el (epg-error): Define with define-error.
9840         * time.el (display-time-event-handler)
9841         (display-time-next-load-average): Don't call sit-for since it seems
9842         unnecessary (bug#15045).
9844         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9845         Use #' instead of ' to quote functions.
9846         (checkdoc-output-mode): Use setq-local.
9847         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9848         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9849         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9850         (checkdoc-ispell, checkdoc-ispell-current-buffer)
9851         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9852         (checkdoc-ispell-message-text, checkdoc-ispell-start)
9853         (checkdoc-ispell-continue, checkdoc-ispell-comments)
9854         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9856         * ido.el (ido-completion-help): Fix up compiler warning.
9858 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
9860         * frameset.el (frameset-p): Add autoload cookie.
9861         (frameset--jump-to-register): New function, based on code moved from
9862         register.el.
9863         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
9865         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9866         (frameset-restore, frameset-save, frameset-session-filter-alist):
9867         Remove declarations.
9868         (register-alist): Doc fix.
9869         (frameset-to-register): Move to frameset.el.
9870         (jump-to-register, describe-register-1): Remove frameset-specific code.
9872 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9874         * allout-widgets.el (allout-widgets-pre-command-business)
9875         (allout-widgets-post-command-business)
9876         (allout-widgets-after-change-handler)
9877         (allout-decorate-item-and-context, allout-set-boundary-marker)
9878         (allout-body-modification-handler)
9879         (allout-graphics-modification-handler): Mark ignored arguments.
9880         (allout-widgets-post-command-business)
9881         (allout-widgets-exposure-change-processor)
9882         (allout-widgets-exposure-undo-processor)
9883         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9884         (allout-parse-item-at-point, allout-decorate-item-guides)
9885         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9886         * allout.el (epa-passphrase-callback-function): Declare.
9887         (allout-overlay-insert-in-front-handler)
9888         (allout-overlay-interior-modification-handler)
9889         (allout-isearch-end-handler, allout-chart-siblings)
9890         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9891         (allout-yank-processing, allout-process-exposed)
9892         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9893         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9894         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9895         (lisp-indent-defform): Mark ignored arguments.
9896         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
9897         (calculate-lisp-indent): Remove unused variables.
9898         * international/characters.el (indian-2-column, arabic-2-column)
9899         (tibetan): Mark ignored arguments.
9900         (use-cjk-char-width-table): Mark ignored arguments.
9901         Remove unused variables.
9902         * international/fontset.el (build-default-fontset-data)
9903         (x-compose-font-name, create-fontset-from-fontset-spec):
9904         Mark ignored arguments.
9905         (fontset-plain-name): Remove unused variables.
9906         * international/mule.el (charset-id, charset-bytes, generic-char-p)
9907         (keyboard-coding-system): Mark ignored arguments.
9908         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
9909         * help.el (resize-temp-buffer-window):
9910         * window.el (display-buffer-in-major-side-window)
9911         (display-buffer-in-side-window, display-buffer-in-previous-window):
9912         Remove unused variables.
9913         * isearch.el (isearch-forward-symbol):
9914         * version.el (emacs-bzr-version-bzr):
9915         * international/mule-cmds.el (current-language-environment):
9916         * term/common-win.el (x-handle-iconic, x-handle-geometry)
9917         (x-handle-display):
9918         * term/pc-win.el (x-list-fonts, x-display-planes)
9919         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9920         (x-server-version, x-display-screens, x-display-mm-height)
9921         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9922         (x-selection-owner-p, x-own-selection-internal)
9923         (x-disown-selection-internal, x-get-selection-internal)
9924         (msdos-initialize-window-system):
9925         * term/tty-colors.el (tty-color-alist, tty-color-clear):
9926         * term/x-win.el (x-handle-no-bitmap-icon):
9927         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9928         (vc-default-find-file-hook, vc-default-extra-menu):
9929         Mark ignored arguments.
9931 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9933         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9934         break-condition in the context of the debugged code (bug#12685).
9936 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
9938         * comint.el:
9939         Do not use an overlay to highlight the last prompt.  (Bug#14744)
9940         (comint-mode): Make comint-last-prompt buffer local.
9941         (comint-last-prompt): New variable.
9942         (comint-last-prompt-overlay): Remove.  Superseded by
9943         comint-last-prompt.
9944         (comint-snapshot-last-prompt, comint-output-filter):
9945         Use comint-last-prompt.
9947 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9949         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
9950         (frameset-save): Check validity of the resulting frameset.
9952 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
9954         * ido.el (ido-record-command): Add doc string.
9956 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9958         * frameset.el (frameset): Do not disable creation of the default
9959         frameset-p predicate.  Doc fix.
9960         (frameset-valid-p): New function, copied from the old predicate-p.
9961         Add additional checks.
9962         (frameset-restore): Check with frameset-valid-p.
9963         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9964         (frameset-name, frameset-description, frameset-properties)
9965         (frameset-states): Add docstring.
9966         (frameset-session-filter-alist, frameset-persistent-filter-alist)
9967         (frameset-filter-alist): Doc fixes.
9969 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9971         * frameset.el (frameset-p, frameset-prop): Doc fixes.
9973 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9975         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9976         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9977         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9978         (byte-compile-normal-call): Remove obsolescence check.
9980 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9982         * frameset.el (frameset-restore): Doc fix.
9984         * register.el (frameset-frame-id, frameset-frame-with-id)
9985         (frameset-p, frameset-restore, frameset-save): Declare.
9986         (register-alist): Document framesets.
9987         (frameset-session-filter-alist): Declare.
9988         (frameset-to-register): New function.
9989         (jump-to-register): Implement jumping to framesets.  Doc fix.
9990         (describe-register-1): Describe framesets.
9992         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9994 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
9996         * desktop.el (desktop-save-frameset): Use new frameset-save args.
9997         Use lexical-binding.
9999         * frameset.el (frameset): Use type vector, not list (incompatible
10000         change).  Do not declare a new constructor, use the default one.
10001         Upgrade suggested properties `app', `name' and `desc' to slots `app',
10002         `name' and `description', respectively, and add read-only slot
10003         `timestamp'.  Doc fixes.
10004         (frameset-copy, frameset-persistent-filter-alist)
10005         (frameset-filter-alist, frameset-switch-to-gui-p)
10006         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10007         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10008         (frameset-filter-iconified, frameset-keep-original-display-p):
10009         Doc fixes.
10010         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10011         Rename from frameset-filter-(save|restore)-param.  All callers changed.
10012         Doc fix.
10013         (frameset-p): Adapt to change to vector and be more thorough.
10014         Change arg name to OBJECT.  Doc fix.
10015         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
10016         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10017         All callers changed.
10018         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10019         All callers changed.
10020         (frameset--record-minibuffer-relationships): Rename from
10021         frameset--process-minibuffer-frames.  All callers changed.
10022         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10023         Use new default constructor (again).  Doc fix.
10024         (frameset--find-frame-if): Rename from `frameset--find-frame'.
10025         All callers changed.
10026         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10027         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10028         Doc fix.
10029         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10030         PARAMETERS and WINDOW-STATE, respectively.
10031         (frameset-restore): Add new keyword argument PREDICATE.
10032         Reset frameset--target-display to nil.  Doc fix.
10034 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10036         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10037         (bat-mode): Use it.
10038         (bat-mode-syntax-table): Mark \n as end-of-comment.
10039         (bat-font-lock-keywords): Remove comment rule.
10041         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
10042         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
10044         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10045         (byte-compile-callargs-warn): Use `push'.
10046         (byte-compile-arglist-warn): Ignore higher-order "calls".
10047         (byte-compile-file-form-autoload): Use `pcase'.
10048         (byte-compile-function-form): If quoting a symbol, check that it exists.
10050 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
10052         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10053         and add a few popular commands found in batch files.
10054         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10055         (dos-mode): Doc fixes.
10057 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10059         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10060         (dos-mode): Use setq-local.  Add space after "rem".
10061         (dos-mode-syntax-table): Don't use "w" for symbol chars.
10062         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10064 2013-08-07  Arni Magnusson  <arnima@hafro.is>
10066         * progmodes/dos.el: New file.
10067         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10068         dos-mode.
10070 2013-08-06  Glenn Morris  <rgm@gnu.org>
10072         * calendar/calendar.el: Add new faces, and day-header-array.
10073         (calendar-weekday-header, calendar-weekend-header)
10074         (calendar-month-header): New faces.
10075         (calendar-day-header-construct): New function.
10076         (calendar-day-header-width): Also :set calendar-day-header-array.
10077         (calendar-american-month-header, calendar-european-month-header)
10078         (calendar-iso-month-header): Use calendar- faces.
10079         (calendar-generate-month):
10080         Use calendar-day-header-array for day headers; apply faces to them.
10081         (calendar-mode): Check calendar-font-lock-keywords non-nil.
10082         (calendar-abbrev-construct): Add optional maxlen argument.
10083         (calendar-day-name-array): Doc fix.
10084         (calendar-day-name-array, calendar-abbrev-length)
10085         (calendar-day-abbrev-array):
10086         Also :set calendar-day-header-array, and maybe redraw.
10087         (calendar-day-header-array): New option.  (Bug#15007)
10088         (calendar-font-lock-keywords): Set to nil and make obsolete.
10089         (calendar-day-name): Add option to use header array.
10091 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10093         * net/shr.el (shr-render-td): Remove debugging.
10094         (shr-render-td): Make width computation consistent by defaulting
10095         all zero-width columns to 10 characters.  This may not be optimal,
10096         but it's at least consistent.
10097         (shr-make-table-1): Redo last change to fix the real problem in
10098         colspan handling.
10100 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10102         * files.el (cache-long-line-scans):
10103         Make obsolete alias to `cache-long-scans'.
10105 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10107         * frameset.el (frameset, frameset-filter-alist)
10108         (frameset-filter-params, frameset-save, frameset--reuse-frame)
10109         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10110         (frameset-compute-pos): Rename from frameset--compute-pos,
10111         and add docstring.
10112         (frameset-move-onscreen): Use frameset-compute-pos.
10113         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10115         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10116         Fix typos in docstrings.
10118 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10120         * frame.el (get-other-frame): Tiny cleanup.
10122 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10124         * vc/vc.el (vc-default-ignore-completion-table):
10125         Silence byte-compiler warning.
10127         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10128         slot, which can indeed be nil.
10129         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10130         Move entry for `left' from persistent to live filter alist.
10131         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10132         Doc fixes.
10133         (frameset-filter-params): When restoring a frame, copy items added to
10134         `filtered', to avoid unwittingly modifying the original parameters.
10135         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
10136         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10138         * dired.el (dired-insert-directory): Revert change in revno:113117
10139         to use looking-at-p instead of looking-at.  (Bug#15028)
10141 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10143         Revert introduction of isearch-filter-predicates (bug#14714).
10144         Rely on add-function instead.
10145         * isearch.el (isearch-filter-predicates): Rename it back to
10146         isearch-filter-predicate.
10147         (isearch-message-prefix): Use advice-function-mapc and advice
10148         properties to get the isearch-message-prefix.
10149         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10150         instead of run-hook-with-args-until-failure.
10151         (isearch-filter-visible): Not obsolete any more.
10152         * loadup.el: Preload nadvice.
10153         * replace.el (perform-replace): Revert to funcall
10154         instead of run-hook-with-args-until-failure.
10155         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10156         * dired-aux.el (dired-isearch-filenames-mode): Rename from
10157         dired-isearch-filenames-toggle; make it into a proper minor mode.
10158         Use add/remove-function.
10159         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10160         Call the minor-mode rather than add/remove-hook.
10161         (dired-isearch-filter-filenames):
10162         Remove isearch-message-prefix property.
10163         * info.el (Info--search-loop): New function, extracted from Info-search.
10164         Funcall isearch-filter-predicate instead of
10165         run-hook-with-args-until-failure isearch-filter-predicates.
10166         (Info-search): Use it.
10167         (Info-mode): Use isearch-filter-predicate instead of
10168         isearch-filter-predicates.
10170 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10172         Do not call to `selected-window' where it is assumed by default.
10173         Affected functions are `window-minibuffer-p', `window-dedicated-p',
10174         `window-hscroll', `window-width', `window-height', `window-buffer',
10175         `window-frame', `window-start', `window-point', `next-window'
10176         and `window-display-table'.
10177         * abbrev.el (abbrev--default-expand):
10178         * bs.el (bs--show-with-configuration):
10179         * buff-menu.el (Buffer-menu-mouse-select):
10180         * calc/calc.el (calc):
10181         * calendar/calendar.el (calendar-generate-window):
10182         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10183         (diary-make-entry):
10184         * comint.el (send-invisible, comint-dynamic-complete-filename)
10185         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10186         * completion.el (complete):
10187         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10188         * disp-table.el (describe-current-display-table):
10189         * doc-view.el (doc-view-insert-image):
10190         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10191         * ehelp.el (with-electric-help):
10192         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10193         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10194         * emacs-lisp/helper.el (Helper-help-scroller):
10195         * emulation/cua-base.el (cua--post-command-handler-1):
10196         * eshell/esh-mode.el (eshell-output-filter):
10197         * ffap.el (ffap-gnus-wrapper):
10198         * help-macro.el (make-help-screen):
10199         * hilit-chg.el (highlight-compare-buffers):
10200         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10201         * hl-line.el (global-hl-line-highlight):
10202         * icomplete.el (icomplete-simple-completing-p):
10203         * isearch.el (isearch-done):
10204         * jit-lock.el (jit-lock-stealth-fontify):
10205         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10206         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10207         * mpc.el (mpc-tagbrowser, mpc):
10208         * net/rcirc.el (rcirc-any-buffer):
10209         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10210         * play/landmark.el (landmark-max-width, landmark-max-height):
10211         * play/zone.el (zone):
10212         * progmodes/compile.el (compilation-goto-locus):
10213         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10214         * progmodes/etags.el (find-tag-other-window):
10215         * progmodes/fortran.el (fortran-column-ruler):
10216         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10217         * progmodes/verilog-mode.el (verilog-point-text):
10218         * reposition.el (reposition-window):
10219         * rot13.el (toggle-rot13-mode):
10220         * server.el (server-switch-buffer):
10221         * shell.el (shell-dynamic-complete-command)
10222         (shell-dynamic-complete-environment-variable):
10223         * simple.el (insert-buffer, set-selective-display)
10224         (delete-completion-window):
10225         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10226         (speedbar-recenter):
10227         * startup.el (fancy-splash-head):
10228         * textmodes/ispell.el (ispell-command-loop):
10229         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10230         * tutorial.el (help-with-tutorial):
10231         * vc/add-log.el (add-change-log-entry):
10232         * vc/compare-w.el (compare-windows):
10233         * vc/ediff-help.el (ediff-indent-help-message):
10234         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10235         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10236         (ediff-setup-control-frame):
10237         * vc/emerge.el (emerge-position-region):
10238         * vc/pcvs-util.el (cvs-bury-buffer):
10239         * window.el (walk-windows, mouse-autoselect-window-select):
10240         * winner.el (winner-set-conf, winner-undo): Related users changed.
10242 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10244         * frameset.el (frameset--set-id): Doc fix.
10245         (frameset-frame-id, frameset-frame-id-equal-p)
10246         (frameset-locate-frame-id): New functions.
10247         (frameset--process-minibuffer-frames, frameset--reuse-frame)
10248         (frameset-restore): Use them.
10250 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10252         Do not call to `selected-frame' where it is assumed by default.
10253         Affected functions are `raise-frame', `redraw-frame',
10254         `frame-first-window', `frame-terminal' and `delete-frame'.
10255         * calendar/appt.el (appt-disp-window):
10256         * epg.el (epg-wait-for-completion):
10257         * follow.el (follow-delete-other-windows-and-split)
10258         (follow-avoid-tail-recenter):
10259         * international/mule.el (set-terminal-coding-system):
10260         * mail/rmail.el (rmail-mail-return):
10261         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10262         * progmodes/f90.el (f90-add-imenu-menu):
10263         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10264         * server.el (server-switch-buffer):
10265         * simple.el (delete-completion-window):
10266         * talk.el (talk):
10267         * term/xterm.el (terminal-init-xterm-modify-other-keys)
10268         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10269         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10270         * vc/ediff.el (ediff-documentation): Related users changed.
10271         * frame.el (selected-terminal): Remove the leftover.
10273 2013-08-05  Glenn Morris  <rgm@gnu.org>
10275         * calendar/calendar.el (calendar-generate-month):
10276         Fix for calendar-column-width != 1 + calendar-day-digit-width.
10277         (calendar-generate-month, calendar-font-lock-keywords):
10278         Fix for calendar-day-header-width > length of any day name.
10280 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10282         * desktop.el (desktop-clear): Use new name of sort predicate.
10284         * frameset.el (frameset): Add docstring.  Move :version property to its
10285         own `version' slot.
10286         (frameset-copy): Rename from copy-frameset.
10287         (frameset-p): Check more thoroughly.
10288         (frameset-prop): Do not check for :version, which is no longer a prop.
10289         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10290         Use new :never value instead of t.
10291         (frameset-filter-alist): Expand and clarify docstring.
10292         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10293         (frameset-filter-minibuffer, frameset-filter-save-param)
10294         (frameset-filter-restore-param, frameset-filter-iconified):
10295         Add pointer to docstring of frameset-filter-alist.
10296         (frameset-filter-params): Rename filter values to be more meaningful:
10297         :never instead of t, and reverse the meanings of :save and :restore.
10298         (frameset--process-minibuffer-frames): Clarify error message.
10299         (frameset-save): Avoid unnecessary and confusing call to framep.
10300         Use new BOA constructor for framesets.
10301         (frameset--reuse-list): Doc fix.
10302         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
10303         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10304         (frameset-minibufferless-first-p): Doc fix.
10305         Rename from frameset-sort-frames-for-deletion.
10306         (frameset-restore): Doc fixes.  Use new function names.
10307         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10309 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10311         * desktop.el (desktop-restore-forces-onscreen)
10312         (desktop-restore-reuses-frames): Document :keyword constant values.
10313         (desktop-filter-parameters-alist): Remove, now identical to
10314         frameset-filter-alist.
10315         (desktop--filter-tty*): Remove, moved to frameset.el.
10316         (desktop-save-frameset, desktop-restore-frameset):
10317         Do not pass :filters argument.
10319         * frameset.el (frameset-live-filter-alist)
10320         (frameset-persistent-filter-alist): New variables.
10321         (frameset-filter-alist): Use them.  Add autoload cookie.
10322         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10323         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10324         `frameset--id' (it's supposed to be internal to frameset.el).
10325         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
10326         (frameset--initial-params): New function.
10327         (frameset--get-frame): Use it.  Doc fix.
10328         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10329         Accept :all, not 'all.
10330         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10331         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
10332         with fbound symbols.  Fix frame id matching, and remove matching ids if
10333         the frame being restored is deleted.  Obey :delete.
10335 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10337         * subr.el (macrop): New function.
10338         (text-clone--maintaining): New var.
10339         (text-clone--maintain): Rename from text-clone-maintain.  Use it
10340         instead of inhibit-modification-hooks.
10342         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10343         a proxy, so as handle autoloads and redefinitions of the target.
10344         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10346         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10347         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
10348         (pcase--mutually-exclusive-p): New function.
10349         (pcase--split-consp): Use it.
10350         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
10351         mutually exclusive with the current predicate.
10353         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10354         (edebug-macrop): Remove.  Use `macrop' instead.
10355         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
10356         (ad-macro-p):
10357         * eshell/esh-cmd.el (eshell-macrop):
10358         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
10360 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10362         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10363         (advice-mapc): New function, using it.
10364         (advice-function-member-p): New function.
10365         (advice--normalize): Store the cdr in advice--saved-rewrite since
10366         that's the part that will be changed.
10367         (advice--symbol-function): New function.
10368         (advice-remove): Handle removal before the function is defined.
10369         Adjust to new advice--saved-rewrite.
10370         (advice-member-p): Use advice-function-member-p and
10371         advice--symbol-function.
10373 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10375         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10376         (frameset-filter-minibuffer): Doc fix.
10377         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
10378         (frameset--set-id, frameset--process-minibuffer-frames)
10379         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10380         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10382         * desktop.el (desktop-clear): Only delete frames when called
10383         interactively and desktop-restore-frames is non-nil.  Doc fix.
10384         (desktop-read): Set desktop-saved-frameset to nil.
10386 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
10388         * vc/vc.el (vc-ignore): Rewrite.
10389         (vc-default-ignore-completion-table, vc--read-lines)
10390         (vc--add-line, vc--remove-regexp): New functions.
10392         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10393         (vc-svn-ignore-completion-table): New function.
10395         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10396         (vc-hg-ignore-completion-table)
10397         (vc-hg-find-ignore-file): New functions.
10399         * vc/vc-git.el (vc-git-ignore): Rewrite.
10400         (vc-git-ignore-completion-table)
10401         (vc-git-find-ignore-file): New functions.
10403         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10405         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10406         (vc-bzr-ignore-completion-table)
10407         (vc-bzr-find-ignore-file): New functions.
10409 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
10411         * frameset.el (frameset-prop): New function and setter.
10412         (frameset-save): Do not modify frame list passed by the caller.
10414 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10416         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10418 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10420         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10421         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10423         * custom.el (custom-initialize-default, custom-initialize-set)
10424         (custom-initialize-reset, custom-initialize-changed): Affect the
10425         toplevel-default-value (bug#6275, bug#14586).
10426         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10427         for bug#6275.
10429 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10431         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10432         Add cl-def* expressions.
10434         * frameset.el (frameset-filter-params): Fix order of arguments.
10436 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10438         Move code related to saving frames to frameset.el.
10439         * desktop.el: Require frameset.
10440         (desktop-restore-frames): Doc fix.
10441         (desktop-restore-reuses-frames): Rename from
10442         desktop-restoring-reuses-frames.
10443         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10444         (desktop-clear): Clear frames too.
10445         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10446         (desktop--filter-tty*, desktop-save, desktop-read):
10447         Use frameset functions.
10448         (desktop-before-saving-frames-functions, desktop--filter-*-color)
10449         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10450         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10451         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10452         (desktop--process-minibuffer-frames, desktop-save-frames)
10453         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10454         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10455         (desktop--sort-states, desktop-restoring-frames-p)
10456         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
10457         (desktop-restoring-frameset-p, desktop-restore-frameset)
10458         (desktop--check-dont-save, desktop-save-frameset): New functions.
10459         (desktop--app-id): New constant.
10460         (desktop-first-buffer, desktop-buffer-ok-count)
10461         (desktop-buffer-fail-count): Move before first use.
10462         * frameset.el: New file.
10464 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10466         * files.el: Use lexical-binding.
10467         (dir-locals-read-from-file): Remove unused `err' variable.
10468         (hack-dir-local-variables--warned-coding): New var.
10469         (hack-dir-local-variables): Use it to avoid repeated warnings.
10470         (make-backup-file-name--default-function): New function.
10471         (make-backup-file-name-function): Use it as default.
10472         (buffer-stale--default-function): New function.
10473         (buffer-stale-function): Use it as default.
10474         (revert-buffer-insert-file-contents--default-function): New function.
10475         (revert-buffer-insert-file-contents-function): Use it as default.
10476         (insert-directory): Avoid add-to-list.
10478         * autorevert.el (auto-revert-handler): Simplify.
10479         Use buffer-stale--default-function.
10481 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
10483         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10485         * whitespace.el (whitespace-ensure-local-variables): New function.
10486         (whitespace-cleanup-region): Call it.
10487         (whitespace-turn-on): Call it.
10489 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
10491         Complete file name handlers.
10493         * net/tramp.el (tramp-handle-set-visited-file-modtime)
10494         (tramp-handle-verify-visited-file-modtime)
10495         (tramp-handle-file-notify-rm-watch): New functions.
10496         (tramp-call-process): Do not bind `default-directory'.
10498         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10499         Order alphabetically.
10500         <access-file, add-name-to-file, dired-call-process>:
10501         <dired-compress-file, file-acl, file-notify-rm-watch>:
10502         <file-ownership-preserved-p, file-selinux-context>:
10503         <make-directory-internal, make-symbolic-link, set-file-acl>:
10504         <set-file-selinux-context, set-visited-file-modtime>:
10505         <verify-visited-file-modtime>: Add handler.
10506         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10508         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10509         <file-notify-add-watch, file-notify-rm-watch>:
10510         <set-file-times, set-visited-file-modtime>:
10511         <verify-visited-file-modtime>: Add handler.
10512         (with-tramp-gvfs-error-message)
10513         (tramp-gvfs-handle-set-visited-file-modtime)
10514         (tramp-gvfs-fuse-file-name): Remove.
10515         (tramp-gvfs-handle-file-notify-add-watch)
10516         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10517         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10519         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10520         Order alphabetically.
10521         <file-notify-rm-watch>: Use default Tramp handler.
10522         <executable-find>: Remove private handler.
10523         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10524         `default-directory'.
10525         (tramp-sh-handle-executable-find)
10526         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10527         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10528         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10529         Do not use `format' in `tramp-message'.
10531         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10532         <file-notify-rm-watch, set-visited-file-modtime>:
10533         <verify-visited-file-modtime>: Add handler.
10534         (tramp-smb-call-winexe): Do not bind `default-directory'.
10536 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
10538         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10540 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
10542         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10543         use it.
10544         (log-view-diff-changeset): Same.
10545         (log-view-diff-common): Call backend command `previous-revision'
10546         to find out the previous revision, in both cases.  Swap the
10547         variables `to' and `fr', so that `fr' usually refers to the
10548         earlier revision (Bug#14989).
10550 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
10552         * ibuf-ext.el (ibuffer-filter-by-filename):
10553         Make it work with dired buffers too.
10555 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
10557         * emacs-lisp/re-builder.el (reb-color-display-p):
10558         * files.el (save-buffers-kill-terminal):
10559         * net/browse-url.el (browse-url):
10560         * server.el (server-save-buffers-kill-terminal):
10561         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10562         Prefer nil to selected-frame for the first arg of frame-parameter.
10564 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
10566         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10568 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
10570         * minibuffer.el (completion--twq-all): Try and preserve each
10571         completion's case choice (bug#14907).
10573 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10575         * net/network-stream.el (open-network-stream): Mention the new
10576         :nogreeting parameter.
10577         (network-stream-open-starttls): Use the :nogreeting parameter
10578         (bug#14938).
10580         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10582         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10583         more natural than popping.
10585         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10586         (shr-urlify): Highlight under mouse.
10588 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
10590         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10592         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10594         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
10595         buffer for output.
10597         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
10598         point-min==1.  Fix search string.  Fix parentheses missing.
10600         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
10601         assume point-min==1.  Fix search string.  Fix parentheses missing.
10603         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10605         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
10606         buffer for output.
10608 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
10610         * frame.el (frame-notice-user-settings): Avoid inflooping when the
10611         initial frame is minibuffer-less.  (Bug#14841)
10613 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
10615         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10616         option.
10618         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10619         (tramp-maybe-open-connection): Use it.
10621 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
10623         * desktop.el (desktop--make-frame): Include `minibuffer' in the
10624         minimal set of parameters passed when creating a frame, because
10625         the minibuffer status of a frame cannot be changed later.
10627 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
10629         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10630         replace-regexp-in-string and inadvertent omissions in previous change.
10631         (todo-filter-items): Ensure only file names are comma-separated in
10632         name of filtered items buffer.
10634 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
10636         * desktop.el: Optionally force offscreen frames back onscreen.
10637         (desktop-restoring-reuses-frames): New option.
10638         (desktop--compute-pos, desktop--move-onscreen): New functions.
10639         (desktop--make-frame): Use desktop--move-onscreen.
10641 2013-07-27  Alan Mackenzie  <acm@muc.de>
10643         Fontify a Java generic method as a function.
10644         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10645         value to t.
10647 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
10649         * calendar/todo-mode.el: Add command to rename todo files.
10650         (todo-rename-file): New command.
10651         (todo-key-bindings-t): Add key binding for it.  Change the
10652         bindings of todo-filter-regexp-items(-multifile) to use `x'
10653         instead of `r', since the latter is better suited to the new
10654         renaming command.
10656 2013-07-27  Alan Mackenzie  <acm@muc.de>
10658         Make Java try-with-resources statement parse properly.
10659         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10660         (c-block-stmt-1-2-key): New language constants/variables.
10661         * progmodes/cc-engine.el (c-beginning-of-statement-1)
10662         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10663         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10664         with c-block-stmt-1-2-key.
10666 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
10668         * desktop.el (desktop--make-frame): Apply most frame parameters after
10669         creating the frame to force (partially or totally) offscreen frames to
10670         be restored as such.
10672 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
10674         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10675         (Bug#14948)
10677 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10679         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10680         `base' arg of backtrace-frame.
10682 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
10684         * simple.el (list-processes): Doc fix.
10686 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
10688         * desktop.el (desktop--select-frame):
10689         Try harder to reuse existing frames.
10691 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10693         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10694         (edebug-eval): Use backtrace-eval.
10695         (edebug--display, edebug--recursive-edit): Don't let-bind the
10696         edebug-outer-* vars that keep track of variables we locally let-bind.
10697         (edebug-outside-excursion): Don't restore outside values of locally
10698         let-bound vars.
10699         (edebug--display): Use user-error.
10700         (cl-lexical-debug, cl-debug-env): Remove.
10702 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
10704         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10705         are restored to be sure that they are visible before deleting any
10706         remaining ones.
10708 2013-07-26  Matthias Meulien  <orontee@gmail.com>
10710         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10711         vc-print-root-log.  (Bug#14948)
10713 2013-07-26  Richard Stallman  <rms@gnu.org>
10715         Add aliases for encrypting mail.
10716         * epa.el (epa-mail-aliases): New option.
10717         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10718         Bind inhibit-read-only so read-only text doesn't ruin everything.
10719         (epa-mail-default-recipients): New subroutine broken out.
10720         Handle epa-mail-aliases.
10722 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10724         Add support for lexical variables to the debugger's `e' command.
10725         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10726         vars, except for debugger-outer-match-data.
10727         (debugger-frame-number): Move check for "on a function call" from
10728         callers into it.  Add `skip-base' argument.
10729         (debugger-frame, debugger-frame-clear): Simplify accordingly.
10730         (debugger-env-macro): Only reset the state stored in non-variables,
10731         i.e. current-buffer and match-data.
10732         (debugger-eval-expression): Rewrite using backtrace-eval.
10733         * subr.el (internal--called-interactively-p--get-frame): Remove.
10734         (called-interactively-p):
10735         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10736         `base' arg of backtrace-frame instead.
10738 2013-07-26  Glenn Morris  <rgm@gnu.org>
10740         * align.el (align-regexp): Doc fix.  (Bug#14857)
10741         (align-region): Explicit error if subexpression missing/does not match.
10743         * simple.el (global-visual-line-mode):
10744         Do not duplicate the mode lighter.  (Bug#14858)
10746 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
10748         * window.el (display-buffer): In display-buffer bind
10749         split-window-keep-point to t, bug#14829.
10751 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
10753         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10754         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10755         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10756         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10757         Change accordingly.
10758         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10759         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10761 2013-07-25  Glenn Morris  <rgm@gnu.org>
10763         * dired-x.el (dired-mark-extension): Convert comment to doc string.
10765 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
10767         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10768         parameter to modify-frame-parameters if the value has not changed;
10769         this is a workaround for bug#14949.
10770         (desktop--make-frame): On cl-delete-if call, check parameter name,
10771         not full parameter.
10773 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
10775         * vc/vc.el (vc-ignore): New function.
10777         * vc/vc-svn.el (vc-svn-ignore): New function.
10779         * vc/vc-hg.el (vc-hg-ignore): New function.
10781         * vc/vc-git.el (vc-git-ignore): New function.
10783         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10784         (vc-dir-ignore): New function.
10786         * vc/vc-cvs.el (vc-cvs-ignore): New function.
10787         (cvs-append-to-ignore): Move here from pcvs.el.
10789         * vc/vc-bzr.el (vc-bzr-ignore): New function.
10791         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10793 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
10795         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10796         (desktop-restore-frames): Warn when deleting an existing frame failed.
10798 2013-07-24  Glenn Morris  <rgm@gnu.org>
10800         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
10802 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
10804         * filenotify.el (file-notify-supported-p):
10805         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10806         Remove functions.
10808         * autorevert.el (auto-revert-use-notify)
10809         (auto-revert-notify-add-watch):
10810         * net/tramp.el (tramp-file-name-for-operation):
10811         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10812         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10813         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10814         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10815         Remove `file-notify-supported-p' entry.
10817 2013-07-24  Glenn Morris  <rgm@gnu.org>
10819         * printing.el: Replace all uses of deleted ps-windows-system,
10820         ps-lp-system, ps-flatten-list with lpr- versions.
10822 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10824         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10825         checked with memq (bug#14935).
10827         * files.el (revert-buffer-function): Use a non-nil default.
10828         (revert-buffer-preserve-modes): Declare var to
10829         provide access to the `preserve-modes' argument.
10830         (revert-buffer): Let-bind it.
10831         (revert-buffer--default): New function, extracted from revert-buffer.
10833 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10835         * lpr.el: Signal print errors more prominently.
10836         (print-region-function): Don't default to nil.
10837         (lpr-print-region): New function, extracted from print-region-1.
10838         Check lpr's return value and signal an error in case of problem.
10839         (print-region-1): Use it.
10840         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
10841         versions instead.
10842         (ps-printer-name): Default to nil.
10843         (ps-printer-name-option): Default to lpr-printer-switch.
10844         (ps-print-region-function): Don't default to nil.
10845         (ps-postscript-code-directory): Simplify default.
10846         (ps-do-despool): Use lpr-print-region to properly check the outcome.
10847         (ps-string-list, ps-eval-switch, ps-flatten-list)
10848         (ps-flatten-list-1): Remove.
10849         (ps-multibyte-buffer): Avoid setq.
10850         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10851         (print-region-function, ps-print-region-function): Don't set them here.
10853 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
10855         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10856         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10857         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10858         (ido-decorations): Doc fix.
10860         * ansi-color.el: Fix old URL.
10862 2013-07-23  Michael R. Mauger  <michael@mauger.com>
10864         * progmodes/sql.el: Version 3.3
10865         (sql-product-alist): Improve oracle :prompt-cont-regexp.
10866         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10867         (sql-interactive-remove-continuation-prompt): Rewrite, use
10868         functions above.  Fix continuation prompt and complete output line
10869         handling.
10870         (sql-redirect-one, sql-execute): Use `read-only-mode' on
10871         redirected output buffer.
10872         (sql-mode): Restore deleted code (Bug#13591).
10874 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
10876         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10878 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
10880         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10882         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10883         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10884         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10886 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
10888         * desktop.el (desktop-clear): Simplify; remove useless checks
10889         against invalid buffer names.
10890         (desktop-list*): Use cl-list*.
10891         (desktop-buffer-info, desktop-create-buffer): Simplify.
10893 2013-07-23  Leo Liu  <sdl.web@gmail.com>
10895         * bookmark.el (bookmark-make-record): Restore NAME as a default
10896         value.  (Bug#14933)
10898 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10900         * emacs-lisp/autoload.el (autoload--setup-output): New function,
10901         extracted from autoload--insert-text.
10902         (autoload--insert-text): Remove.
10903         (autoload--print-cookie-text): New function, extracted from
10904         autoload--insert-cookie-text.
10905         (autoload--insert-cookie-text): Remove.
10906         (autoload-generate-file-autoloads): Adjust calls accordingly.
10908         * winner.el (winner-hook-installed-p): Remove.
10909         (winner-mode): Simplify accordingly.
10911         * subr.el (add-to-list): Fix compiler-macro when `append' is
10912         not constant.  Don't use `cl-member' for the base case.
10914         * progmodes/subword.el: Fix boundary case (bug#13758).
10915         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
10916         own group.
10917         (subword-backward-regexp): Make it a constant.
10918         (subword-forward-internal): Don't treat a trailing capital as the
10919         beginning of a word.
10921 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
10923         * emacs-lisp/package.el (package-menu-mode): Don't modify the
10924         global value of tabulated-list-revert-hook (bug#14930).
10926 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
10928         * desktop.el: Require 'cl-lib.
10929         (desktop-before-saving-frames-functions): New hook.
10930         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10931         for frames being saved.  Rename from desktop--save-minibuffer-frames.
10932         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10933         Do not save frames with non-nil `desktop-dont-save' parameter.
10934         Filter out deleted frames.
10935         (desktop--find-frame): Use cl-find-if.
10936         (desktop--select-frame): Use cl-(first|second|third) to access values
10937         of desktop-mini.
10938         (desktop--make-frame): Use cl-delete-if.
10939         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10940         (desktop-restore-frames): Use cl-(first|second|third) to access values
10941         of desktop-mini.  Look for visible frame at the end, not while
10942         restoring frames.
10944         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10945         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10946         Use string-match-p, looking-at-p (bug#14927).
10948 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
10950         * desktop.el (desktop-saved-frame-states):
10951         Rename from desktop--saved-states; all users changed.
10952         (desktop-save-frames): Rename from desktop--save-frames.
10953         Do not save state to desktop file.
10954         (desktop-save): Save desktop-saved-frame-states to desktop file
10955         and reset to nil.
10956         (desktop-restoring-frames-p): New function.
10957         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
10958         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
10959         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
10961         * desktop.el: Correctly restore iconified frames.
10962         (desktop--filter-iconified-position): New function.
10963         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10965 2013-07-20  Glenn Morris  <rgm@gnu.org>
10967         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10968         Let `message' do the formatting.
10969         (def-gdb-preempt-display-buffer): Add explicit format.
10971         * image-dired.el (image-dired-track-original-file):
10972         Use with-current-buffer.
10973         (image-dired-track-thumbnail): Use with-current-buffer.
10974         Avoid changing point of wrong window.
10976         * image-dired.el (image-dired-track-original-file):
10977         Avoid changing point of wrong window.  (Bug#14909)
10979 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
10981         * progmodes/gdb-mi.el (gdb-done-or-error):
10982         Guard against "%" in gdb output.  (Bug#14127)
10984 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
10986         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10987         (Bug#14826)
10989         * international/mule.el (coding-system-iso-2022-flags): Fix last
10990         change.
10992 2013-07-20  Kenichi Handa  <handa@gnu.org>
10994         * international/mule.el (coding-system-iso-2022-flags):
10995         Add `8-bit-level-4'.  (Bug#8522)
10997 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10999         * net/shr.el (shr-mouse-browse-url): New command and keystroke
11000         (bug#14815).
11002         * net/eww.el (eww-process-text-input): Allow inputting when the
11003         point is at the start of the line, as the properties aren't
11004         front-sticky.
11006         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11007         degenerate widths.
11009 2013-07-19  Richard Stallman  <rms@gnu.org>
11011         * epa.el (epa-popup-info-window): Doc fix.
11013         * subr.el (split-string): New arg TRIM.
11015 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
11017         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11018         Add check for W32 (followup to revno:113431).
11020 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
11022         * filenotify.el (file-notify--library): Rename from
11023         `file-notify-support'.  Do not autoload.  Adapt all uses.
11024         (file-notify-supported-p): New defun.
11026         * autorevert.el (auto-revert-use-notify):
11027         Use `file-notify-supported-p' instead of `file-notify-support'.
11028         Adapt docstring.
11029         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11031         * net/tramp.el (tramp-file-name-for-operation):
11032         Add `file-notify-supported-p'.
11034         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11035         New defun.
11036         (tramp-sh-file-name-handler-alist): Add it as handler for
11037         `file-notify-supported-p '.
11039         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11040         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11041         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11042         Add `ignore' as handler for `file-notify-*' functions.
11044 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
11046         * simple.el (line-move-partial, line-move): Don't start vscroll or
11047         scroll-up if the current line is not taller than the window.
11048         (Bug#14881)
11050 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
11052         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11053         highlight question marks in the method names as strings.
11054         (ruby-block-beg-keywords): Inline.
11055         (ruby-font-lock-keyword-beg-re): Extract from
11056         `ruby-font-lock-keywords'.
11058 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
11060         * frame.el (blink-cursor-blinks): New defcustom.
11061         (blink-cursor-blinks-done): New defvar.
11062         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11063         (blink-cursor-timer-function): Check if number of blinks has been
11064         done on X and NS.
11065         (blink-cursor-suspend, blink-cursor-check): New defuns.
11067 2013-07-15  Glenn Morris  <rgm@gnu.org>
11069         * edmacro.el (edmacro-format-keys): Fix previous change.
11071 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
11073         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11074         The hack didn't work outside English locales anyway.
11076 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
11078         * simple.el (define-alternatives): Rename from alternatives-define,
11079         per RMS' suggestion.
11081 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
11083         * desktop.el (desktop-restore-frames): Change default to t.
11084         (desktop-restore-in-current-display): Now offer more options.
11085         (desktop-restoring-reuses-frames): New customization option.
11086         (desktop--saved-states): Doc fix.
11087         (desktop-filter-parameters-alist): New variable, renamed and expanded
11088         from desktop--excluded-frame-parameters.
11089         (desktop--target-display): New variable.
11090         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11091         (desktop--filter-tty*, desktop--filter-*-color)
11092         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11093         (desktop--filter-save-desktop-parm)
11094         (desktop-restore-in-original-display-p): New functions.
11095         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11096         (desktop--save-minibuffer-frames): New function, inspired by a similar
11097         function from Martin Rudalics.
11098         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11099         (desktop--restore-in-this-display-p): Remove.
11100         (desktop--find-frame): Rename from desktop--find-frame-in-display
11101         and add predicate argument.
11102         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11103         (desktop--reuse-list): New variable.
11104         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11105         New functions.
11106         (desktop--restore-frames): Add support for "minibuffer-special" frames.
11108 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
11110         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11112 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
11114         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11115         Highlight conversion methods on Kernel.
11117 2013-07-13  Alan Mackenzie  <acm@muc.de>
11119         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11120         and comment it out.  This out-commenting enables certain C++
11121         declarations to be parsed correctly.
11123 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
11125         * international/mule.el (define-coding-system): Doc fix.
11127         * simple.el (default-font-height): Don't call font-info if the
11128         frame's default font didn't change since the frame was created.
11129         (Bug#14838)
11131 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11133         * ido.el (ido-read-file-name): Guard against non-symbol value.
11135 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11137         * progmodes/python.el (python-imenu--build-tree): Fix corner case
11138         in nested defuns.
11140 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11142         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11143         ido-set-matches call.  (Bug#6852)
11145 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
11147         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11148         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11149         Ruby 2.0.
11150         (ruby-font-lock-keywords): Distinguish calls to functions with
11151         module-like names from module references.  Highlight character
11152         literals.
11154 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
11156         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11157         (gdb-send): Handle continued commands.  (Bug#14847)
11159 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11161         * desktop.el (desktop--v2s): Remove unused local variable.
11162         (desktop-save-buffer): Make defvar-local; adjust docstring.
11163         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11164         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11166 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
11168         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11170 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
11172         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11173         (Bug#14842)
11175 2013-07-12  Glenn Morris  <rgm@gnu.org>
11177         * doc-view.el: Require cl-lib at runtime too.
11178         (doc-view-remove-if): Remove.
11179         (doc-view-search-next-match, doc-view-search-previous-match):
11180         Use cl-remove-if.
11182         * edmacro.el: Require cl-lib at runtime too.
11183         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11184         (edmacro-mismatch, edmacro-subseq): Remove.
11186         * shadowfile.el: Require cl-lib.
11187         (shadow-remove-if): Remove.
11188         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11189         Use cl-remove-if.
11191         * wid-edit.el: Require cl-lib.
11192         (widget-choose): Use cl-remove-if.
11193         (widget-remove-if): Remove.
11195         * progmodes/ebrowse.el: Require cl-lib at runtime too.
11196         (ebrowse-delete-if-not): Remove.
11197         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11198         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11199         Use cl-delete-if-not.
11201 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11203         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11204         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11206 2013-07-12  Leo Liu  <sdl.web@gmail.com>
11208         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
11210 2013-07-11  Glenn Morris  <rgm@gnu.org>
11212         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11213         (edebug-gensym-index, edebug-gensym):
11214         Remove reimplementation of cl-gensym.
11215         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11217         * thumbs.el: Require cl-lib at run-time too.
11218         (thumbs-gensym-counter, thumbs-gensym):
11219         Remove reimplementation of cl-gensym.
11220         (thumbs-temp-file): Use cl-gensym.
11222         * emacs-lisp/ert.el: Require cl-lib at runtime too.
11223         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11224         (ert--intersection, ert--set-difference, ert--set-difference-eq)
11225         (ert--union, ert--gensym-counter, ert--gensym-counter)
11226         (ert--coerce-to-vector, ert--remove*, ert--string-position)
11227         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11228         (ert-make-test-unbound, ert--expand-should-1)
11229         (ert--expand-should, ert--should-error-handle-error)
11230         (should-error, ert--explain-equal-rec)
11231         (ert--plist-difference-explanation, ert-select-tests)
11232         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11233         Use cl-lib functions rather than reimplementations.
11235 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
11237         * net/tramp.el (tramp-methods): Extend docstring.
11238         (tramp-connection-timeout): New defcustom.
11239         (tramp-error-with-buffer): Reset timestamp only when appropriate.
11240         (with-tramp-progress-reporter): Simplify.
11241         (tramp-process-actions): Improve messages.
11243         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11244         * net/tramp-sh.el (tramp-maybe-open-connection):
11245         Use `tramp-connection-timeout'.
11246         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11247         (Bug#14808)
11249 2013-07-11  Leo Liu  <sdl.web@gmail.com>
11251         * ido.el (ido-read-file-name): Conform to the requirements of
11252         read-file-name.  (Bug#11861)
11253         (ido-read-directory-name): Conform to the requirements of
11254         read-directory-name.
11256 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
11258         * subr.el (delay-warning): New function.
11260 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
11262         * simple.el (default-line-height): New function.
11263         (line-move-partial, line-move): Use it instead of computing the
11264         line height inline.
11265         (line-move-partial): Always compute ROWH.  If the last line is
11266         partially-visible, but its text is completely visible, allow
11267         cursor to enter such a partially-visible line.
11269 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
11271         Improve error messages.  (Bug#14808)
11273         * net/tramp.el (tramp-current-connection): New defvar, moved from
11274         tramp-sh.el.
11275         (tramp-message-show-progress-reporter-message): Remove, not
11276         needed anymore.
11277         (tramp-error-with-buffer): Show message in minibuffer.
11278         Discard input before waiting.  Reset connection timestamp.
11279         (with-tramp-progress-reporter): Improve messages.
11280         (tramp-process-actions): Use progress reporter.  Delete process in
11281         case of error.  Improve messages.
11283         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11284         Call `tramp-error-with-buffer' with vector and buffer.
11285         (tramp-current-connection): Remove.
11286         (tramp-maybe-open-connection): The car of
11287         `tramp-current-connection' are the first 3 slots of the vector.
11289 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
11291         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11292         inside continued strings.
11294 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
11296         Timestamp fixes for undo (Bug#14824).
11297         * files.el (clear-visited-file-modtime): Move here from fileio.c.
11299 2013-07-10  Leo Liu  <sdl.web@gmail.com>
11301         * files.el (require-final-newline): Allow safe local value.
11302         (Bug#14834)
11304 2013-07-09  Leo Liu  <sdl.web@gmail.com>
11306         * ido.el (ido-read-directory-name): Handle fallback.
11307         (ido-read-file-name): Update DIR to ido-current-directory.
11308         (Bug#1516)
11309         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
11311 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
11313         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11314         "autoload".  Remove "warn lower camel case" section, previously
11315         commented out.  Highlight negation char.  Do not highlight the
11316         target in singleton method definitions.
11318 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11320         * faces.el (tty-setup-hook): Declare the hook.
11322         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11323         and detect when a guard/pred depends on local vars (bug#14773).
11324         (pcase--u1): Adjust caller.
11326 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
11328         * simple.el (line-move-partial, line-move): Account for
11329         line-spacing.
11330         (line-move-partial): Avoid setting vscroll when the last
11331         partially-visible line in window is of default height.
11333 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11335         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11336         been used a while.
11338 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
11340         * subr.el (read-quoted-char): Remove unused local variable `char'.
11342 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11344         * vc/ediff.el (ediff-version): Version update.
11345         (ediff-files-command, ediff3-files-command, ediff-merge-command)
11346         (ediff-merge-with-ancestor-command, ediff-directories-command)
11347         (ediff-directories3-command, ediff-merge-directories-command)
11348         (ediff-merge-directories-with-ancestor-command): New functions.
11349         All are command-line interfaces to ediff: to facilitate calling
11350         Emacs with the appropriate ediff functions invoked.
11352         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11353         New function.
11354         (viper-save-kill-buffer): Check if buffer is modified.
11356         * emulation/viper.el (viper-version): Version update.
11357         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11359 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11362         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11363         (viper-intercept-ESC-key): Simplify.
11364         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11365         don't use kbd.
11366         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11367         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11368         (viper-setup-ESC-to-escape): New functions.
11369         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11370         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
11372 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
11374         * simple.el (default-font-height, window-screen-lines):
11375         New functions.
11376         (line-move, line-move-partial): Use them instead of
11377         frame-char-height and window-text-height.  This makes scrolling
11378         text smoother when the buffer's default face uses a font that is
11379         different from the frame's default font.
11381 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
11383         * files.el (write-file): Do not display confirm dialog for NS,
11384         it does its own dialog, which can't be canceled (Bug#14578).
11386 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
11388         * simple.el (line-move-partial): Adjust the row returned by
11389         posn-at-point for the current window-vscroll.  (Bug#14567)
11391 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
11393         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11394         (tramp-sh-file-inotifywait-process-filter): Handle file names with
11395         spaces.
11397 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
11399         * window.el (window-state-put-stale-windows): New variable.
11400         (window--state-put-2): Save list of windows without matching buffer.
11401         (window-state-put): Remove "bufferless" windows if possible.
11403 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11405         * simple.el (alternatives-define): Remove leftover :group keyword.
11406         Tweak docstring.
11408 2013-07-06  Leo Liu  <sdl.web@gmail.com>
11410         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11411         (ido-enable-virtual-buffers): New variable.
11412         (ido-buffer-internal, ido-toggle-virtual-buffers)
11413         (ido-make-buffer-list): Use it.
11414         (ido-exhibit): Support turning on and off virtual buffers
11415         automatically.
11417 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11419         * simple.el (alternatives-define): New macro.
11421 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11423         * subr.el (read-quoted-char): Use read-key.
11424         (sit-for): Let read-event decode tty input (bug#14782).
11426 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
11428         * calendar/todo-mode.el: Add handling of file deletion, both by
11429         mode command and externally.  Fix various related bugs.
11430         Clarify Commentary and improve some documentation strings and code.
11431         (todo-delete-file): New command.
11432         (todo-check-file): New function.
11433         (todo-show): Handle external deletion of the file we're trying to
11434         show (bug#14688).  Replace called-interactively-p by an optional
11435         prefix argument to avoid problematic interaction with catch form
11436         when byte compiled (bug#14702).
11437         (todo-quit): Handle external deletion of the archive's todo file.
11438         Make sure the buffer that was visiting the archive file is still
11439         live before trying to bury it.
11440         (todo-category-completions): Handle external deletion of any
11441         category completion files.
11442         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11443         of todo files, in case of external deletion.
11444         (todo-add-file): Replace unnecessary setq by let-binding.
11445         (todo-find-archive): Check whether there are any archives.
11446         Replace unnecessary setq by let-binding.
11447         (todo-archive-done-item): Use find-file-noselect to get the
11448         archive buffer whether or not the archive already exists.
11449         Remove superfluous code.  Use file size instead of buffer-file-name to
11450         check if the archive is new; if it is, update list of archives.
11451         (todo-default-todo-file): Allow nil to be a valid value for when
11452         there are no todo files.
11453         (todo-reevaluate-default-file-defcustom): Use corrected definition
11454         of todo-default-todo-file.
11455         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11456         (todo-delete-category, todo-show-categories-table)
11457         (todo-category-number): Clarify comment.
11458         (todo-filter-items): Clarify documentation string.
11459         (todo-show-current-file, todo-display-as-todo-file)
11460         (todo-reset-and-enable-done-separator): Tweak documentation string.
11461         (todo-done-separator): Make separator length window-width, since
11462         bug#2749 is now fixed.
11464 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
11466         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11467         Support both "gvfs-monitor-dir" and "inotifywait".
11468         (tramp-sh-file-inotifywait-process-filter): Rename from
11469         `tramp-sh-file-notify-process-filter'.
11470         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11471         (tramp-get-remote-gvfs-monitor-dir): New defuns.
11473 2013-07-05  Leo Liu  <sdl.web@gmail.com>
11475         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11477 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11479         * frame.el (display-pixel-height, display-pixel-width)
11480         (display-mm-height, display-mm-width): Mention behavior on
11481         multi-monitor setups in docstrings.
11482         (w32-display-monitor-attributes-list): Declare function.
11483         (display-monitor-attributes-list): Use it.
11485 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
11487         * filenotify.el: New package.
11489         * autorevert.el (top): Require filenotify.el.
11490         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
11491         instead.
11492         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11493         (auto-revert-notify-handler): Use `file-notify-*' functions.
11495         * subr.el (file-notify-handle-event): Move function to filenotify.el.
11497         * net/tramp.el (tramp-file-name-for-operation):
11498         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11500         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11501         for `file-notify-add-watch' and `file-notify-rm-watch'.
11502         (tramp-process-sentinel): Improve trace.
11503         (tramp-sh-handle-file-notify-add-watch)
11504         (tramp-sh-file-notify-process-filter)
11505         (tramp-sh-handle-file-notify-rm-watch)
11506         (tramp-get-remote-inotifywait): New defuns.
11508 2013-07-03  Juri Linkov  <juri@jurta.org>
11510         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11511         call of `occur-read-primary-args' to interactive spec.
11513         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11514         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
11516 2013-07-03  Matthias Meulien  <orontee@gmail.com>
11518         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11519         `Buffer-menu-multi-occur'.  Add it to the menu.
11520         (Buffer-menu-mode): Document it in docstring.
11521         (Buffer-menu-multi-occur): New command.  (Bug#14673)
11523 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
11525         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11526         keywords and built-ins.
11528 2013-07-03  Glenn Morris  <rgm@gnu.org>
11530         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
11532         Make info-xref checks case-sensitive by default
11533         * info.el (Info-find-node, Info-find-in-tag-table)
11534         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11535         Add option for exact case matching of nodes.
11536         * info-xref.el (info-xref): New custom group.
11537         (info-xref-case-fold): New option.
11538         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11540 2013-07-03  Leo Liu  <sdl.web@gmail.com>
11542         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11544 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
11546         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11547         middle of block statement initially, lower the depth.  Remove
11548         FIXME comment, not longer valid.  Remove middle of block statement
11549         detection, no need to do that anymore since we've been using
11550         `ruby-parse-region' here.
11552 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
11554         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11556 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
11558         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11560 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
11562         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11563         (desktop-restore-in-current-display): New customization option.
11564         (desktop--excluded-frame-parameters): Add `font'.
11565         (desktop--save-frames): Rename from desktop--save-windows.
11566         (desktop--restore-in-this-display-p): New function.
11567         (desktop--make-full-frame): Remove unwanted width/height from
11568         full(width|height) frames.
11569         (desktop--restore-frames): Rename from desktop--restore-windows.
11570         Obey desktop-restore-current-display.  Do not delete old frames or
11571         select a new frame unless we were able to restore at least one frame.
11573 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
11575         * files.el (find-file-noselect): Simplify conditional expression.
11577         * textmodes/remember.el (remember-append-to-file):
11578         Don't mix `find-buffer-visiting' and `get-file-buffer'.
11580         Add `remember-notes' function to store random notes across Emacs
11581         restarts.
11582         * textmodes/remember.el (remember-data-file): Add :set callback to
11583         affect notes buffer (if any).
11584         (remember-notes): New command.
11585         (remember-notes-buffer-name, bury-remember-notes-on-kill):
11586         New defcustoms for the `remember-notes' function.
11587         (remember-notes-save-and-bury-buffer): New command.
11588         (remember-notes-mode-map): New variable.
11589         (remember-mode): New minor mode.
11590         (remember-notes--kill-buffer-query): New function.
11591         * startup.el (initial-buffer-choice): Add notes to custom type.
11593 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
11595         * bindings.el (right-char, left-char): Don't call sit-for, this is
11596         no longer needed.  Use arithmetic comparison only for numerical
11597         arguments.
11599         * international/mule-cmds.el (select-safe-coding-system):
11600         Handle the case of FROM being a string correctly.  (Bug#14755)
11602 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11604         * net/shr.el (shr-make-table-1): Add a sanity check that allows
11605         progression on degenerate tables.
11606         (shr-rescale-image): ImageMagick animated images currently don't work.
11608 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
11610         Some fixes and improvements for desktop frame restoration.
11611         It is still experimental and disabled by default.
11612         * desktop.el (desktop--save-windows): Put the selected frame at
11613         the head of the list.
11614         (desktop--make-full-frame): New function.
11615         (desktop--restore-windows): Try to re-select the frame that was
11616         selected upon saving.  Do not abort if some frames fail to restore,
11617         just show an error message and continue.  Set up maximized frames
11618         so they have default non-maximized dimensions.
11620 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
11622         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11623         Don't start heredoc inside a string or comment.
11625 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
11627         * bindings.el (visual-order-cursor-movement): New defcustom.
11628         (right-char, left-char): Provide visual-order cursor motion by
11629         calling move-point-visually.  Update the doc strings.
11631 2013-06-28  Kenichi Handa  <handa@gnu.org>
11633         * international/mule.el (define-coding-system): New coding system
11634         properties :inhibit-null-byte-detection,
11635         :inhibit-iso-escape-detection, and :prefer-utf-8.
11636         (set-buffer-file-coding-system): If :charset-list property of
11637         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11638         appropriate for setting.
11640         * international/mule-cmds.el (select-safe-coding-system):
11641         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11642         multibyte characters, return utf-8 (or one of its siblings).
11644         * international/mule-conf.el (prefer-utf-8): New coding system.
11645         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11646         files.
11648 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
11650         * net/shr.el (shr-render-region): New function.
11652         * net/eww.el: Autoload `eww-browse-url'.
11654 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
11656         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11657         Adapt to `package-desc-version' being a list.
11658         Use `package--ac-desc-version' to retrieve version from a package
11659         archive element.
11661 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
11663         New experimental feature to save&restore window and frame setup.
11664         * desktop.el (desktop-save-windows): New defcustom.
11665         (desktop--saved-states): New var.
11666         (desktop--excluded-frame-parameters): New defconst.
11667         (desktop--filter-frame-parms, desktop--find-frame-in-display)
11668         (desktop--restore-windows, desktop--save-windows): New functions.
11669         (desktop-save): Call `desktop--save-windows'.
11670         (desktop-read): Call `desktop--restore-windows'.
11672 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11674         * net/shr.el (add-face-text-property): Remove compat definition.
11676 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
11678         * info.el (Info-try-follow-nearest-node): Move search for footnote
11679         above search for node name to prevent missing a footnote (bug#14717).
11681 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
11683         * obsolete/otodo-mode.el: Add obsolescence info to file header.
11685 2013-06-27  Leo Liu  <sdl.web@gmail.com>
11687         * net/eww.el (eww-read-bookmarks): Check file size.
11689 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11691         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11692         advice--pending if newdef is nil or an autoload (bug#13820).
11693         (advice-mapc): New function.
11695 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11697         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11698         probably.
11699         (eww-mode-map): Add a menu bar.
11700         (eww-add-bookmark): New command.
11701         (eww-bookmark-mode): New mode and commands.
11702         (eww-add-bookmark): Remove newlines from the title.
11703         (eww-bookmark-browse): Don't bug out if it's the only window.
11705 2013-06-26  Glenn Morris  <rgm@gnu.org>
11707         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11708         (hfy-size): Handle ttys.  (Bug#14668)
11710         * info-xref.el: Update for Texinfo 5 change in *note format.
11711         (info-xref-node-re, info-xref-note-re): New constants.
11712         (info-xref-check-buffer): Use info-xref-note-re.
11714 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11716         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11718         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11719         nil terminate the loop (bug#14718).
11721 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11723         * net/eww.el: Rework history traversal.  When going forward/back,
11724         put these actions into the history, too, so that they can be
11725         replayed.
11726         (eww-render): Move the history reset to the correct buffer.
11728 2013-06-25  Juri Linkov  <juri@jurta.org>
11730         * files-x.el (modify-dir-local-variable): Change the header comment
11731         in the file with directory local variables.  (Bug#14692)
11733         * files-x.el (read-file-local-variable-value): Add `default'.
11734         (Bug#14710)
11736 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11738         * net/eww.el (eww-make-unique-file-name): Create a unique file
11739         name before saving to entering `y' accidentally asynchronously.
11741 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
11743         * net/eww.el (eww-download): New command and keystroke.
11745 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11747         * net/eww.el (eww-copy-page-url): Change name of command.
11749         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11750         be more consistent with Info and dired.
11752         * net/eww.el (eww-mode-map): Ditto.
11754 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11756         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
11757         packages from archives.
11758         (package-archive-contents): Change format; include obsolete packages.
11759         (package-desc): Use `dir' to mark builtin packages.
11760         (package--from-builtin): Set the `dir' field to `builtin'.
11761         (generated-autoload-file, version-control): Declare.
11762         (package-compute-transaction): Change first arg and return value to be
11763         lists of package-descs.  Adjust to new package-archive-contents format.
11764         (package--add-to-archive-contents): Adjust to new
11765         package-archive-contents format.
11766         (package-download-transaction): Arg is now a list of package-descs.
11767         (package-install): If `pkg' is a package name, pass it as
11768         a requirement, so it is subject to the usual (e.g. disabled) checks.
11769         (describe-package): Accept package-desc as well.
11770         (describe-package-1): Describe a specific package-desc.  Add links to
11771         other package-descs for the same package name.
11772         (package-menu-describe-package): Pass the actual package-desc.
11773         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11774         works correctly.
11775         (package-desc-status): New function.
11776         (package-menu--refresh): New function, extracted
11777         from package-menu--generate.
11778         (package-menu--generate): Use it.
11779         (package-delete): Update package-alist.
11780         (package-menu-execute): Don't call package-initialize.
11782         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11783         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11784         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11785         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11786         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11787         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11789 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
11791         * window.el (window--state-get-1): Workaround for bug#14527.
11792         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11794 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11796         * net/eww.el (eww-back-url): Implement the history by stashing all
11797         the data into a list.
11798         (eww-forward-url): Allow going forward in the history, too.
11800 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11802         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11803         for values and use read--expression for expressions (bug#14710).
11804         (read-file-local-variable): Avoid setq.
11805         (read-file-local-variable-mode): Use minor-mode-list.
11807 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11809         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11810         for DOI URLs.
11812 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11814         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11815         Update imenu-support when dialect changes.
11817 2013-06-25  Leo Liu  <sdl.web@gmail.com>
11819         * ido.el (ido-read-internal): Allow forward slash on windows.
11821 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11823         * net/eww.el (eww): Start of strings is \\`, not ^.
11825 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
11827         * net/shr.el (shr-browse-url): Fix interactive spec.
11829         * net/eww.el (eww): Add a trailing slash to domain names.
11831 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
11833         * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
11835 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11837         * net/shr.el (shr-browse-url): Use an external browser if given a
11838         prefix.
11840         * net/eww.el (eww-external-browser): Move to shr.
11842 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
11844         * net/eww.el (eww): Work more correctly for file: URLs.
11845         (eww-detect-charset): Allow quoted charsets.
11846         (eww-yank-page-url): New command and keystroke.
11848 2013-06-24  Daiki Ueno  <ueno@gnu.org>
11850         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11851         file name of gpg executable.
11852         (epg-context-program): New function.
11853         (epg-context-home-directory): New function.
11854         (epg-context-set-program): New function.
11855         (epg-context-set-home-directory): New function.
11856         (epg--start): Use `epg-context-program' instead of
11857         'epg-gpg-program'.
11858         (epg--list-keys-1): Likewise.
11860 2013-06-24  Leo Liu  <sdl.web@gmail.com>
11862         * ido.el (ido-read-internal): Fix bug#14620.
11864 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
11866         * faces.el (face-documentation): Simplify.
11867         (read-face-attribute, tty-find-type, x-resolve-font-name):
11868         Use `string-match-p'.
11869         (list-faces-display): Use `string-match-p'.  Simplify.
11870         (face-spec-recalc): Check face to avoid face alias loops.
11871         (read-color): Use `string-match-p' and non-capturing parenthesis.
11873 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11875         * net/shr.el (shr-rescale-image): Use the new
11876         :max-width/:max-height functionality.
11878 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
11880         * net/eww.el (eww-search-prefix): New variable.
11881         (eww): Use it.
11882         (eww-external-browser): New variable.
11883         (eww-mode-map): New keystroke.
11884         (eww-browse-with-external-browser): New command.
11886         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11888 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
11890         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11891         Don't skip aligning the next header field when padding is 0;
11892         otherwise, field width is not respected unless the title is as
11893         wide as the field.
11895 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11897         * emacs-lisp/package.el (package-el-version): Remove.
11898         (package-process-define-package): Fix inf-loop.
11899         (package-install): Allow symbols as arguments again.
11901 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
11903         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11904         add some more keyword-like methods.
11905         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11907 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
11909         * bs.el (bs-buffer-show-mark): Make defvar-local.
11910         (bs-mode): Use setq-local.
11912         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11913         (emacs-lock--try-unlocking): Make defvar-local.
11915 2013-06-22  Glenn Morris  <rgm@gnu.org>
11917         * play/cookie1.el (cookie-apropos): Minor simplification.
11919         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11921 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
11923         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11924         `regexp-opt', it breaks the build during dumping.
11926 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
11928         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11929         Highlight keyword-like methods on Kernel and Module with
11930         font-lock-builtin-face.
11931         (auto-mode-alist): Consolidate different entries into one regexp
11932         and add more *file-s.
11934 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
11936         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11938         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11939         (diary-entry): Use it in the action of this button type instead of
11940         diary-goto-entry.
11942         * calendar/todo-mode.el: New version.
11943         (todo-add-category): Append new category to end of file and give
11944         it the highest number, instead of putting it at the beginning and
11945         giving it 0.  Incorporate noninteractive functionality.
11946         (todo-forward-category): Adapt to 1-based category numbering.
11947         Allow skipping over archived categories.
11948         (todo-backward-category): Derive from todo-forward-category.
11949         (todo-backward-item, todo-forward-item): Make noninteractive and
11950         delegate interactive part to new commands.  Make sensitive to done items.
11951         (todo-categories): Make value an alist of category names and
11952         vectors of item counts.
11953         (todo-category-beg): Make a defconst.
11954         (todo-category-number): Use 1 instead of 0 as initial value.
11955         (todo-category-select): Make sensitive to overlays, optional item
11956         highlighting and done items.
11957         (todo-delete-item): Make sensitive to overlays and marked and done items.
11958         (todo-edit-item): Make sensitive to overlays and editing of
11959         date/time header optional.  Add format checks.
11960         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
11961         no-op if point is not on an item.  Advertise using todo-edit-quit.
11962         (todo-edit-mode): Make sensitive to new format, font-locking, and
11963         multiple todo files.
11964         (todo-insert-item, todo-insert-item-here): Derive from
11965         todo-basic-insert-item and extend functionality.
11966         (todo-item-end, todo-item-start): Make sensitive to done items.
11967         (todo-item-string): Don't return text properties.  Restore point.
11968         (todo-jump-to-category): Make sensitive to multiple todo files and
11969         todo archives.  Use extended category completion.
11970         (todo-lower-item, todo-raise-item): Rename to *-priority and
11971         derive from todo-set-item-priority.
11972         (todo-mode): Derive from special-mode.  Make sensitive to new
11973         format, font-locking and multiple todo files.  Make read-only.
11974         (todo-mode-map): Don't suppress digit keys, so they can supply
11975         prefix arguments.  Add many new key bindings.
11976         (todo-prefix): Insert as an overlay instead of file text.
11977         Change semantics from diary date expression to purely visual mark.
11978         (todo-print): Rename to todo-print-buffer.  Make buffer display
11979         features printable.  Remove option to restrict number of items
11980         printed.  Add option to print to file.
11981         (todo-print-function): Rename to todo-print-buffer-function.
11982         (todo-quit): Extend to handle exiting new todo modes.
11983         (todo-remove-item): Make sensitive to overlays.
11984         (todo-save): Extend to buffers of filtered items.
11985         (todo-show): Make sensitive to done items, multiple todo files and
11986         new todo modes.  Offer to convert legacy todo file before creating
11987         first new todo file.
11988         (todo-show-priorities): Rename to todo-top-priorities.
11989         Change semantics of value 0.
11990         (todo-top-priorities): Rename to todo-filter-top-priorities,
11991         derive from todo-filter-items and extend functionality.
11992         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11993         and extend functionality to other types of filtered items.
11994         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11995         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11996         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11997         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11998         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11999         (todo-edit-mode-hook, todo-entry-prefix-function)
12000         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12001         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12002         (todo-initials, todo-insert-threshold, todo-item-string-start)
12003         (todo-line-string, todo-menu, todo-mode-hook)
12004         (todo-more-important-p, todo-previous-answer, todo-previous-line)
12005         (todo-print-priorities, todo-remove-separator)
12006         (todo-save-top-priorities-too, todo-string-count-lines)
12007         (todo-string-multiline-p, todo-time-string-format)
12008         (todo-tmp-buffer-name): Remove.
12009         (todo-add-file, todo-archive-done-item, todo-choose-archive)
12010         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12011         (todo-edit-category-diary-inclusion)
12012         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12013         (todo-edit-file, todo-edit-item-date-day)
12014         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12015         (todo-edit-item-date-month, todo-edit-item-date-to-today)
12016         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12017         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12018         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12019         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12020         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12021         (todo-filter-top-priorities-multifile, todo-find-archive)
12022         (todo-find-filtered-items-file, todo-go-to-source-item)
12023         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12024         (todo-jump-to-archive-category, todo-lower-category)
12025         (todo-mark-category, todo-marked-item-p, todo-merge-category)
12026         (todo-move-category, todo-move-item, todo-next-button)
12027         (todo-next-item, todo-padded-string, todo-powerset)
12028         (todo-previous-button, todo-previous-item)
12029         (todo-print-buffer-to-file, todo-raise-category)
12030         (todo-rename-category, todo-repair-categories-sexp, todo-search)
12031         (todo-set-category-number, todo-set-item-priority)
12032         (todo-set-top-priorities-in-category)
12033         (todo-set-top-priorities-in-file, todo-show-categories-table)
12034         (todo-sort-categories-alphabetically-or-numerically)
12035         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12036         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12037         (todo-toggle-item-header, todo-toggle-item-highlighting)
12038         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12039         (todo-toggle-view-done-items, todo-toggle-view-done-only)
12040         (todo-unarchive-items, todo-unmark-category): New commands.
12041         (todo-absolute-file-name, todo-add-to-buffer-list)
12042         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12043         (todo-basic-insert-item, todo-category-completions)
12044         (todo-category-number, todo-category-string-matcher-1)
12045         (todo-category-string-matcher-2, todo-check-filtered-items-file)
12046         (todo-check-format, todo-clear-matches)
12047         (todo-comment-string-matcher, todo-convert-legacy-date-time)
12048         (todo-current-category, todo-date-string-matcher)
12049         (todo-define-insertion-command, todo-diary-expired-matcher)
12050         (todo-diary-goto-entry, todo-diary-item-p)
12051         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12052         (todo-display-categories, todo-display-sorted, todo-done-item-p)
12053         (todo-done-item-section-p, todo-done-separator)
12054         (todo-done-string-matcher, todo-files, todo-filter-items)
12055         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12056         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12057         (todo-insert-category-line, todo-insert-item-from-calendar)
12058         (todo-insert-sort-button, todo-insert-with-overlays)
12059         (todo-insertion-command-name, todo-insertion-key-bindings)
12060         (todo-label-to-key, todo-longest-category-name-length)
12061         (todo-make-categories-list, todo-mode-external-set)
12062         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12063         (todo-modes-set-3, todo-multiple-filter-files)
12064         (todo-nondiary-marker-matcher, todo-prefix-overlays)
12065         (todo-read-category, todo-read-date, todo-read-dayname)
12066         (todo-read-file-name, todo-read-time)
12067         (todo-reevaluate-category-completions-files-defcustom)
12068         (todo-reevaluate-default-file-defcustom)
12069         (todo-reevaluate-filelist-defcustoms)
12070         (todo-reevaluate-filter-files-defcustom)
12071         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12072         (todo-reset-done-separator, todo-reset-done-separator-string)
12073         (todo-reset-done-string, todo-reset-global-current-todo-file)
12074         (todo-reset-highlight-item, todo-reset-nondiary-marker)
12075         (todo-reset-prefix, todo-set-categories)
12076         (todo-set-date-from-calendar, todo-set-show-current-file)
12077         (todo-set-top-priorities, todo-short-file-name)
12078         (todo-show-current-file, todo-sort, todo-time-string-matcher)
12079         (todo-total-item-counts, todo-update-buffer-list)
12080         (todo-update-categories-display, todo-update-categories-sexp)
12081         (todo-update-count, todo-validate-name, todo-y-or-n-p):
12082         New functions.
12083         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12084         New major modes.
12085         (todo-categories, todo-display, todo-edit, todo-faces)
12086         (todo-filtered): New defgroups.
12087         (todo-archived-only, todo-button, todo-category-string, todo-date)
12088         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12089         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12090         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12091         (todo-add-item-if-new-category, todo-always-add-time-string)
12092         (todo-categories-align, todo-categories-archived-label)
12093         (todo-categories-category-label, todo-categories-diary-label)
12094         (todo-categories-done-label, todo-categories-number-separator)
12095         (todo-categories-todo-label, todo-categories-totals-label)
12096         (todo-category-completions-files, todo-completion-ignore-case)
12097         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12098         (todo-done-separator-string, todo-done-string)
12099         (todo-files-function, todo-filter-done-items, todo-filter-files)
12100         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12101         (todo-initial-category, todo-initial-file, todo-item-mark)
12102         (todo-legacy-date-time-regexp, todo-mode-line-function)
12103         (todo-nondiary-marker, todo-number-prefix)
12104         (todo-print-buffer-function, todo-show-current-file)
12105         (todo-show-done-only, todo-show-first, todo-show-with-done)
12106         (todo-skip-archived-categories, todo-top-priorities-overrides)
12107         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12108         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12109         New defcustoms.
12110         (todo-category-done, todo-date-pattern, todo-date-string-start)
12111         (todo-diary-items-buffer, todo-done-string-start)
12112         (todo-filtered-items-buffer, todo-item-start)
12113         (todo-month-abbrev-array, todo-month-name-array)
12114         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12115         (todo-top-priorities-buffer): New defconsts.
12116         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12117         (todo-categories-with-marks, todo-category-string-face)
12118         (todo-comment-face, todo-comment-string, todo-current-todo-file)
12119         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12120         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12121         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12122         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12123         (todo-font-lock-keywords, todo-global-current-todo-file)
12124         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12125         (todo-insertion-commands-args)
12126         (todo-insertion-commands-args-genlist)
12127         (todo-insertion-commands-names, todo-insertion-map)
12128         (todo-key-bindings-t, todo-key-bindings-t+a)
12129         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12130         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12131         (todo-nondiary-face, todo-print-buffer, todo-time-face)
12132         (todo-visited): New variables.
12134 2013-06-21  Glenn Morris  <rgm@gnu.org>
12136         * play/cookie1.el (cookie-apropos): Add optional display argument.
12137         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12138         (psychoanalyze-pinhead): Use cookie-doctor.
12140 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12142         * emacs-lisp/package.el (tar-get-file-descriptor)
12143         (tar--extract): Declare.
12145 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
12147         Extend flymake's warning predicate to be a function (bug#14217).
12148         * progmodes/flymake.el (flymake-warning-predicate): New.
12149         (flymake-parse-line): Use it.
12150         (flymake-warning-re): Make obsolete alias to
12151         `flymake-warning-predicate'.
12153 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12155         * emacs-lisp/package.el (package-alist): Include obsolete packages.
12156         (package-obsolete-list): Remove.
12157         (package-activate): Remove min-version argument.  Add `force' argument.
12158         Adjust to new package-alist format.
12159         (package-mark-obsolete): Remove.
12160         (package-unpack): Force reload of the package's autoloads.
12161         (package-installed-p): Check builtins if the installed package is not
12162         recent enough.
12163         (package-initialize): Don't reset package-obsolete-list.
12164         Don't specify which package version to activate.
12165         (package-process-define-package, describe-package-1)
12166         (package-menu--generate): Adjust to new package-alist format.
12168 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12170         * allout-widgets.el (allout-widgets-mode-off)
12171         (allout-widgets-mode-on, allout-widgets-pre-command-business)
12172         (allout-widgets-post-command-business)
12173         (allout-widgets-after-copy-or-kill-function)
12174         (allout-widgets-after-undo-function, allout-test-range-overlaps)
12175         (allout-decorate-item-and-context)
12176         (allout-graphics-modification-handler): Fix typos in docstrings.
12177         (allout-get-or-create-parent-widget): Use `looking-at-p'.
12179         * cmuscheme.el (scheme-start-file): Doc fix.
12180         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12181         (scheme-input-filter): Use `string-match-p'.
12183         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12185         * dired-x.el: Use Dired consistently in docstrings.
12187         * dired.el: Use Dired consistently in docstrings.
12188         (dired-readin, dired-mode): Use `setq-local'.
12189         (dired-switches-alist): Make defvar-local.
12190         (dired-buffers-for-dir): Use `zerop'.
12191         (dired-safe-switches-p, dired-switches-escape-p)
12192         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12193         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12194         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12195         (dired-goto-next-nontrivial-file): Use `string-match-p'.
12196         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12197         (dired-toggle-marks, dired-mark-files-containing-regexp)
12198         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12199         (dired-flag-auto-save-files, dired-flag-backup-files):
12200         Use `looking-at-p'.
12201         (dired-mark-files-regexp, dired-build-subdir-alist):
12202         Use `string-match-p', `looking-at-p'.
12204         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12205         (direct-print-region-helper): Use `string-match-p'.
12207 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12209         * comint.el (comint-redirect-results-list-from-process):
12210         Fix infinite loop.
12212 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12214         * net/eww.el (eww-update-header-line-format): Quote % characters.
12216 2013-06-21  Glenn Morris  <rgm@gnu.org>
12218         * play/cookie1.el (cookie): New custom group.
12219         (cookie-file): New option.
12220         (cookie-check-file): New function.
12221         (cookie): Make it interactive.  Make start and end messages optional.
12222         Interactively, display the result.  Default to cookie-file.
12223         (cookie-insert): Default to cookie-file.
12224         (cookie-snarf): Make start and end messages optional.
12225         Default to cookie-file.  Use with-temp-buffer.
12226         (cookie-read): Rename from read-cookie.
12227         Make start and end messages optional.  Default to cookie-file.
12228         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
12229         Do not autoload it.
12230         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12231         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12233 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12235         * progmodes/octave.el (octave-mode): Backward compatibility fix.
12237 2013-06-21  Glenn Morris  <rgm@gnu.org>
12239         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12241 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12242             Daniel Hackney  <dan@haxney.org>
12244         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12245         Consolidate the single-file vs tarball code.
12246         (package-desc-suffix): New function.
12247         (package-desc-full-name): Don't bother inlining it.
12248         (package-load-descriptor): Return the new package-desc.
12249         (package-mark-obsolete): Remove unused arg `package'.
12250         (package-unpack): Make it work for single files as well.
12251         Make it update package-alist.
12252         (package--make-autoloads-and-stuff): Rename from
12253         package--make-autoloads-and-compile.  Don't compile any more.
12254         (package--compile): New function.
12255         (package-generate-description-file): New function, extracted from
12256         package-unpack-single.
12257         (package-unpack-single): Remove.
12258         (package--with-work-buffer): Add indentation and debugging info.
12259         (package-download-single): Remove.
12260         (package-install-from-archive): Rename from package-download-tar, make
12261         it take a pkg-desc, and make it work for single files as well.
12262         (package-download-transaction): Simplify.
12263         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
12264         external tar program.
12265         (package-install-from-buffer): Remove `pkg-desc' argument.
12266         Use package-tar-file-info for tar-mode buffers.
12267         (package-install-file): Simplify accordingly.
12268         (package-archive-base): Change to take a pkg-desc.
12269         * tar-mode.el (tar--check-descriptor): New function, extracted from
12270         tar-get-descriptor.
12271         (tar-get-descriptor): Use it.
12272         (tar-get-file-descriptor): New function.
12273         (tar--extract): New function, extracted from tar-extract.
12274         (tar--extract): Use it.
12275         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12276         case the summary uses non-ascii.  Adjust to new calling convention of
12277         package-tar-file-info.
12279 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12281         * comint.el (comint-redirect-results-list-from-process):
12282         Fix random delay.  (Bug#14681)
12284 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12286         * profiler.el (profiler-format-number): Use log, not log10.
12288 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12290         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12292 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12294         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12295         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12296         yet available.
12297         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12298         (AUTOGENEL): ... here.
12299         * emacs-lisp/cl-macs.el (cl--sublis): New function.
12300         (cl--defsubst-expand): Use it.
12302 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
12304         * subr.el (log10): Move here from C code, and declare as obsolete.
12305         All uses of (log10 X) replaced with (log X 10).
12307 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12309         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12310         Declare with `defvar-local'.
12311         (tabulated-list-use-header-line, tabulated-list-entries)
12312         (tabulated-list-padding, tabulated-list-printer)
12313         (tabulated-list-sort-key): Declare with `defvar-local'.
12314         (tabulated-list-init-header, tabulated-list-print-fake-header):
12315         Use `setq-local'.
12317 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
12319         * arc-mode.el (archive-mode): Add `archive-write-file' to
12320         `write-contents-functions' also for remote files.  (Bug#14652)
12322 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12324         * cus-edit.el (custom-commands): Fix typos.
12325         (custom-display): Fix tooltip text.
12326         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12327         Fix typos in docstrings.
12328         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12329         (custom-unlispify-menu-entry, custom-magic-value-create)
12330         (custom-add-see-also, custom-group-value-create): Use ?\s.
12331         (custom-guess-type, customize-apropos, editable-field)
12332         (custom-face-value-create): Use `string-match-p'.
12333         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12335         * custom.el (custom-load-symbol): Use `string-match-p'.
12337         * ansi-color.el: Convert to lexical binding.
12338         (ansi-colors): Fix URL.
12339         (ansi-color-context, ansi-color-context-region): Use defvar-local.
12340         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12341         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12343 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12345         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12347         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12349 2013-06-19  Tom Tromey  <tromey@redhat.com>
12351         * net/eww.el (eww-top-url): Remove.
12352         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12353         (eww-render): Set new variables.  Don't set eww-top-url.
12354         (eww-handle-link): Handle "prev", "home", and "contents".
12355         Downcase the rel text.
12356         (eww-top-url): Choose best top URL.
12358 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12360         * net/eww.el: Rewrite to implement form elements "by hand" instead of
12361         relying in widget.el.  Using widget.el leads to too many
12362         user interface inconsistencies.
12363         (eww-self-insert): Implement entering commands in text fields.
12364         (eww-process-text-input): New function to make text input field editing
12365         work.
12366         (eww-submit): Rewrite to use the new-style form methods.
12367         (eww-select-display): Display the correct selected item.
12368         (eww-change-select): Implement changing the select value.
12369         (eww-toggle-checkbox): Implement radio/checkboxes.
12370         (eww-update-field): Fix compilation error.
12371         (eww-tag-textarea): Implement <textarea>.
12373         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12374         we don't shadow mode-specific bindings.
12376         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12377         nothing to push.
12379         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12381 2013-06-19  Glenn Morris  <rgm@gnu.org>
12383         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12385 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12387         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12388         not needed.
12390         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12392 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12394         * net/browse-url.el (browse-url-browser-function):
12395         `eww-browse-url' has the right calling signature, `eww' does not.
12397 2013-06-19  Glenn Morris  <rgm@gnu.org>
12399         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12400         Only eval autoloaded macros.
12401         (byte-compile-autoload): Only give the macro warning for macros.
12403         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12404         (ps-underlined-faces): Declare.
12406         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12407         (speedbar-add-supported-extension): Declare.
12409         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12410         Don't include a date stamp in the header of the generated file;
12411         it leads to needless differences between output files.
12413 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12415         * net/secrets.el (secrets-struct-secret-content-type):
12416         Replace check of introspection data by a test call of "CreateItem".
12417         Some servers do not offer introspection.
12419 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12421         * electric.el (electric-pair-mode): Improve interaction with
12422         electric-layout-mode.
12423         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12424         (electric-pair-syntax): Use text-mode-syntax-table in comments
12425         and strings.
12426         (electric-pair--insert): New function.
12427         (electric-pair-post-self-insert-function): Use it and
12428         electric--after-char-pos.
12430 2013-06-19  Leo Liu  <sdl.web@gmail.com>
12432         * progmodes/octave.el (octave-help): Fix regexp.
12434 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12436         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12437         (shr-table-horizontal-line): Allow nil as a value, and change the
12438         default.
12439         (shr-insert-table-ruler): Respect the nil value.
12441 2013-06-18  Tom Tromey  <tromey@barimba>
12443         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12444         New defvars.
12445         (eww-open-file): New defun.
12446         (eww-render): Initialize new variables.
12447         (eww-display-html): Handle "link" and "a".
12448         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12449         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
12450         (eww-back-url): Rename from eww-previous-url.
12451         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12452         New defuns.
12454 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
12456         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12457         Distinguish ternary operator tokens from slash symbol and slash
12458         char literal.
12460 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
12462         Convert symbol prettification into minor mode and global minor mode.
12464         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12465         `prog-prettify-symbols', and make a local defvar instead of defcustom.
12466         (prettify-symbols--keywords): Rename from
12467         `prog-prettify-symbols-alist' and make a local defvar.
12468         (prettify-symbols--compose-symbol): Rename from
12469         `prog--prettify-font-lock-compose-symbol'.
12470         (prettify-symbols--make-keywords): Rename from
12471         `prog-prettify-font-lock-symbols-keywords' and simplify.
12472         (prog-prettify-install): Remove.
12473         (prettify-symbols-mode): New minor mode, based on
12474         `prog-prettify-install'.
12475         (turn-on-prettify-symbols-mode): New function.
12476         (global-prettify-symbols-mode): New globalized minor mode.
12478         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12479         * progmodes/cfengine.el (cfengine3-mode):
12480         * progmodes/perl-mode.el (perl-mode): Don't call
12481         `prog-prettify-install'; set `prettify-symbols-alist' instead.
12483 2013-06-18  Juri Linkov  <juri@jurta.org>
12485         * files-x.el (modify-file-local-variable-message): New function.
12486         (modify-file-local-variable)
12487         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12488         and call `modify-file-local-variable-message' when it's non-nil.
12489         (add-file-local-variable, delete-file-local-variable)
12490         (add-file-local-variable-prop-line)
12491         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12492         and use it.  (Bug#9820)
12494 2013-06-18  Juri Linkov  <juri@jurta.org>
12496         * emulation/vi.el (vi-shell-op):
12497         * emulation/vip.el (vip-execute-com, ex-command):
12498         * emulation/viper-cmd.el (viper-exec-bang):
12499         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12500         the call of `shell-command-on-region'.  (Bug#14637)
12502         * simple.el (shell-command-on-region): Doc fix.
12504 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12506         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12507         (bug#14633).
12509 2013-06-18  Glenn Morris  <rgm@gnu.org>
12511         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12513         * newcomment.el (comment-search-forward, comment-search-backward):
12514         Doc fix.  (Bug#14376)
12516 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
12518         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12519         (buffer-face-mode-invoke): Doc fix.
12521 2013-06-18  Matthias Meulien  <orontee@gmail.com>
12523         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12524         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12526 2013-06-18  Glenn Morris  <rgm@gnu.org>
12528         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12529         Replace obsolete function generic-make-keywords with its expansion.
12531         * progmodes/python.el (ffap-alist): Declare.
12533         * textmodes/reftex.el (bibtex-mode-map): Declare.
12535 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12537         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12538         (package-unpack, package-unpack-single): Return the pkg-dir.
12539         (package-download-transaction): Use it to update package-alist.
12541 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12543         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12544         possible choice.
12546 2013-06-17  Juri Linkov  <juri@jurta.org>
12548         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12550 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
12552         * emacs-lisp/package.el (package-load-descriptor):
12553         Remove `with-syntax-table' call, `read' doesn't need it.
12554         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12556 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
12558         * startup.el (command-line): Expand package name returned by
12559         `package--description-file' (bug#14639).
12561 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
12563         * emacs-lisp/package.el (package-load-descriptor): Do not call
12564         `emacs-lisp-mode', just use its syntax table.
12566 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
12568         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12569         `font-lock-extra-managed-props' if any prettifying keyword is added.
12570         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12571         (prog-mode): Use `setq-local'.
12573 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12575         * international/characters.el (standard-case-table): Set syntax of ?»
12576         and ?« to punctuation.
12578 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
12580         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12581         Save relevant match data before calling `syntax-ppss' (bug#14595).
12583 2013-06-15  Juri Linkov  <juri@jurta.org>
12585         * files-x.el (modify-file-local-variable-prop-line): Add local
12586         variables to the end of the existing comment on the first line.
12587         Use `file-auto-mode-skip' to skip interpreter magic line,
12588         and also skip XML declaration.
12590 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12592         * startup.el (package--builtin-versions): New var.
12593         (package-subdirectory-regexp): Remove.
12594         (package--description-file): Hard code its value instead.
12596         * emacs-lisp/package.el: Don't activate packages older than builtin.
12597         (package-obsolete-list): Rename from package-obsolete-alist, and make
12598         it into a simple list of package-desc.
12599         (package-strip-version): Remove.
12600         (package-built-in-p): Use package--builtin-versions.
12601         (package-mark-obsolete): Simplify.
12602         (package-process-define-package): Mark it obsolete if older than the
12603         builtin version.
12604         (package-handle-response): Use line-end-position.
12605         (package-read-archive-contents, package--download-one-archive):
12606         Simplify.
12607         (package--add-to-archive-contents): Skip if older than the builtin or
12608         installed version.
12609         (package-menu-describe-package): Fix last change.
12610         (package-list-unversioned): New var.
12611         (package-menu--generate): Use it.
12613         * emacs-lisp/autoload.el: Manage package--builtin-versions.
12614         (autoload--insert-text, autoload--insert-cookie-text): New functions.
12615         (autoload-builtin-package-versions): New variable.
12616         (autoload-generate-file-autoloads): Use them.
12617         Remove the list of autoloaded functions/macros from the
12618         (autoload...) comments.
12620         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12622 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
12624         * simple.el (line-move-partial): Don't jump to the next screen
12625         line as soon as it becomes visible.  Instead, continue enlarging
12626         the vscroll until the portion of a tall screen line that's left on
12627         display is about the height of the frame's default font.
12628         (Bug#14567)
12630 2013-06-15  Glenn Morris  <rgm@gnu.org>
12632         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12633         compilation-error-regexp-alist void, or local while let-bound.
12635         * progmodes/make-mode.el (makefile-mode-syntax-table):
12636         Treat "=" as punctuation.  (Bug#14614)
12638 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
12640         * help-fns.el (describe-variable):
12641         Add extra line for permanent-local variables.
12643 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
12645         * progmodes/scheme.el (scheme-font-lock-keywords-2):
12646         Add export, import, library.  (Bug#9164)
12647         (library): Set indent function.
12649 2013-06-14  Glenn Morris  <rgm@gnu.org>
12651         * term/xterm.el (xterm--query):
12652         Stop after first matching handler.  (Bug#14615)
12654 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
12656         Add support for dired in saveplace.
12657         * dired.el (dired-initial-position-hook): New variable.
12658         (dired-initial-position): Call hook to place cursor position.
12659         * saveplace.el (save-place-to-alist): Add dired position.
12660         (save-place-dired-hook): New function.
12662 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12664         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12665         through a symbol rather than letrec.
12667         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
12668         (package-desc): Add `dir' field.
12669         (package-desc-full-name): New function.
12670         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
12671         (package-maybe-load-descriptor): Remove.
12672         (package-load-all-descriptors): Just call package-load-descriptor.
12673         (package--disabled-p): New function.
12674         (package-desc-vers, package-desc-doc): Remove aliases.
12675         (package--dir): Remove function.
12676         (package-activate): Check if a package is disabled.
12677         (package-process-define-package): New function, extracted from
12678         define-package.
12679         (define-package): Turn into a place holder.
12680         (package-unpack-single, package-tar-file-info):
12681         Use package--description-file.
12682         (package-compute-transaction): Use package--disabled-p.
12683         (package-download-transaction): Don't call
12684         package-maybe-load-descriptor since they're all loaded anyway.
12685         (package-install): Change argument to be a pkg-desc.
12686         (package-delete): Use a single pkg-desc argument.
12687         (describe-package-1): Use package-desc-dir instead of package--dir.
12688         Use package-desc property instead of package-symbol.
12689         (package-install-button-action): Adjust accordingly.
12690         (package--push): Rewrite.
12691         (package-menu--print-info): Adjust accordingly.  Change the ID format
12692         to be a pkg-desc.
12693         (package-menu-describe-package, package-menu-get-status)
12694         (package-menu--find-upgrades, package-menu-mark-upgrades)
12695         (package-menu-execute, package-menu--name-predicate):
12696         Adjust accordingly.
12697         * startup.el (package--description-file): New function.
12698         (command-line): Use it.
12699         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12700         Use package-desc-version.
12702         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12703         (byte-compile-preprocess): Use it.
12704         (byte-compile-file-form-defalias): Try a bit harder to use macros we
12705         can't quite recognize.
12706         (byte-compile-add-to-list): Remove.
12707         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12708         (cconv-closure-convert): Add assertion.
12710         * emacs-lisp/map-ynp.el: Use lexical-binding.
12711         (map-y-or-n-p): Remove unused vars `tail' and `object'.
12712         Factor out some repeated code.
12714 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12716         * subr.el (with-eval-after-load): New macro.
12717         (eval-after-load): Allow form to be a function.
12718         take advantage of lexical-binding.
12719         (do-after-load-evaluation): Use dolist and adjust to new format.
12720         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12722 2013-06-13  Juri Linkov  <juri@jurta.org>
12724         * replace.el (perform-replace): Display "symbol " and other search
12725         modes from `isearch-message-prefix' in the *Help* buffer.
12727         * isearch.el (isearch-query-replace): Add " symbol" and other
12728         possible search modes from `isearch-message-prefix' to the prompt.
12729         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12730         when reading a regexp to collect.
12732 2013-06-13  Juri Linkov  <juri@jurta.org>
12734         * isearch.el (word-search-regexp): Match whitespace if the search
12735         string begins or ends in whitespace.  The LAX arg is applied to
12736         both ends of the search string.  Use `regexp-quote' and explicit
12737         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
12738         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12739         boundaries are replaced with symbol boundaries, and characters
12740         between symbols match non-word non-symbol syntax.  (Bug#14602)
12742 2013-06-13  Juri Linkov  <juri@jurta.org>
12744         * isearch.el (isearch-del-char): Don't exceed the length of
12745         `isearch-string' by the prefix arg.  (Bug#14563)
12747 2013-06-13  Juri Linkov  <juri@jurta.org>
12749         * isearch.el (isearch-yank-word, isearch-yank-line)
12750         (isearch-char-by-name, isearch-quote-char)
12751         (isearch-printing-char, isearch-process-search-char):
12752         Add optional count prefix arg.  (Bug#14563)
12754         * international/isearch-x.el
12755         (isearch-process-search-multibyte-characters):
12756         Add optional count prefix arg.
12758 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12760         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12761         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12762         lexical-binding.
12764 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
12766         * subr.el (set-temporary-overlay-map): Add on-exit argument.
12768 2013-06-13  Glenn Morris  <rgm@gnu.org>
12770         * startup.el (tty-handle-args):
12771         Don't just discard "--" and anything after.  (Bug#14608)
12773         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12775 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
12777         Implement changes in Secret Service API.  Make it backward compatible.
12778         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12779         (secrets-create-item): Use it.  Prefix properties with interface.
12781 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
12783         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
12784         (term-emulate-terminal): Respect term-suppress-hard-newline.
12786 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
12788         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12789         Only remove a `thumb-file' overlay.  (Bug#14548)
12791 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
12793         * mail/reporter.el (reporter-submit-bug-report):
12794         Handle missing package-name.  (Bug#14600)
12796 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12798         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12799         (reftex-citation-prompt, reftex-default-bibliography)
12800         (reftex-bib-or-thebib, reftex-get-bibfile-list)
12801         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12802         (reftex-bib-sort-author, reftex-bib-sort-year)
12803         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12804         (reftex-extract-bib-entries-from-thebibliography)
12805         (reftex-get-bibkey-default, reftex-get-bib-names)
12806         (reftex-parse-bibtex-entry, reftex-get-bib-field)
12807         (reftex-format-bib-entry, reftex-parse-bibitem)
12808         (reftex-format-bibitem, reftex-do-citation)
12809         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12810         (reftex-restrict-bib-matches, reftex-extract-bib-file)
12811         (reftex-insert-bib-matches, reftex-format-citation)
12812         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12813         (reftex-create-bibtex-file): Add docstrings, mostly by converting
12814         existing comments into docstrings.
12816 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
12818         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12820 2013-06-12  Andreas Schwab  <schwab@suse.de>
12822         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12823         for auto-save files.
12825 2013-06-12  Glenn Morris  <rgm@gnu.org>
12827         * ido.el (ido-delete-ignored-files): Remove.
12828         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12829         Go back to calling ido-ignore-item-p directly.
12831 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
12833         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12835         * ido.el (ido-delete-ignored-files): New function,
12836         split from ido-make-file-list-1.
12837         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
12838         (ido-make-file-list-1): Use ido-delete-ignored-files.
12840 2013-06-12  Leo Liu  <sdl.web@gmail.com>
12842         * progmodes/octave.el (inferior-octave-startup)
12843         (inferior-octave-completion-table)
12844         (inferior-octave-track-window-width-change)
12845         (octave-eldoc-function-signatures, octave-help)
12846         (octave-find-definition): Use single quoted strings.
12847         (inferior-octave-startup-args): Change default value.
12848         (inferior-octave-startup): Do not hard code "-i" and
12849         "--no-line-editing".
12850         (inferior-octave-resync-dirs): Add optional arg NOERROR.
12851         (inferior-octave-directory-tracker): Use it.
12852         (octave-goto-function-definition): Robustify.
12853         (octave-help): Support highlighting operators in 'See also'.
12854         (octave-find-definition): Find subfunctions only in Octave mode.
12856 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12858         * help-fns.el (help-fns--compiler-macro): If the handler function is
12859         named, then put a link to it.
12860         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12861         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12862         (cl-typep): Use it.
12863         (cl-eval-when): Simplify debug spec.
12864         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
12865         compiler-macro function instead of setting `compiler-macro-file'.
12867 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
12869         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12870         * vc/vc-hooks.el (vc-stay-local): Doc fix.
12872 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12873             Daniel Hackney  <dan@haxney.org>
12875         First part of Daniel Hackney's patch to package.el.
12876         * emacs-lisp/package.el: Use defstruct.
12877         (package-desc): New, main struct.
12878         (package--bi-desc, package--ac-desc): New structs, used to describe the
12879         format in external files.
12880         (package-desc-vers): Replace with package-desc-version accessor.
12881         (package-desc-doc): Replace with package-desc-summary accessor.
12882         (package-activate-1): Remove `package' arg since the pkg-vec now
12883         includes the name.
12884         (define-package): Use package-desc-from-define.
12885         (package-unpack-single): Change file-name arg to be a symbol.
12886         (package--add-to-archive-contents): Use package-desc-create and new
12887         accessor functions to package--ac-desc.
12888         (package-buffer-info, package-tar-file-info): Return a package-desc.
12889         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
12890         arg to be a package-desc.
12891         (package-install-file): Adjust accordingly.  Use \' to match EOS.
12892         (package--from-builtin): New function.
12893         (describe-package-1, package-menu--generate): Use it.
12894         (package--make-autoloads-and-compile): Change name arg to be a symbol.
12895         (package-generate-autoloads): Idem and return the name of the file.
12896         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12897         Change pkg-info arg to be a package-desc.
12898         Use package-make-ac-desc.
12899         (package-upload-file): Use \' to match EOS.
12900         * finder.el (finder-compile-keywords): Use package-make-builtin.
12902 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12904         * vc/vc.el (vc-deduce-fileset): Change error message.
12905         (vc-read-backend): New function.
12906         (vc-next-action): Use it.
12908         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12910         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12911         (prolog-font-lock-keywords): Use regexp-opt instead.
12912         Don't manually highlight strings.
12913         (prolog-mode-variables): Simplify comment-start-skip.
12914         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
12916         * emacs-lisp/generic.el (generic--normalise-comments)
12917         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12918         (generic-mode-set-comments): Use them.
12919         (generic-bracket-support): Use setq-local.
12920         (generic-make-keywords-list): Declare obsolete.
12922 2013-06-11  Glenn Morris  <rgm@gnu.org>
12924         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12925         Prettify after setting font-lock-defaults.  (Bug#14574)
12927 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
12929         * replace.el (query-replace, occur-read-regexp-defaults-function)
12930         (replace-search):
12931         * subr.el (declare-function, number-sequence, local-set-key)
12932         (substitute-key-definition, locate-user-emacs-file)
12933         (with-silent-modifications, split-string, eval-after-load):
12934         Fix typos, remove unneeded backslashes and reflow some docstrings.
12936 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12938         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12939         default for Elisp files.
12941 2013-06-11  Glenn Morris  <rgm@gnu.org>
12943         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12944         although define-derived-mode was doing this anyway.  (Bug#14583)
12946 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
12948         * allout.el (allout-encryption-plaintext-sanitization-regexps):
12949         Fix make-variable-buffer-local call to refer to the correct variable.
12951 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
12953         * eshell/em-term.el (eshell-visual-commands)
12954         (eshell-visual-subcommands, eshell-visual-options):
12955         Add summary line to docstrings.  Add cross-references.
12957 2013-06-10  Glenn Morris  <rgm@gnu.org>
12959         * epa.el (epa-read-file-name): New function.  (Bug#14510)
12960         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
12962 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
12964         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12965         output redirection to be ignored with visual commands.
12967 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
12969         * eshell/em-term.el (eshell-visual-command-p): New function.
12970         (eshell-term-initialize): Move long lambda to separate function
12971         eshell-visual-command-p.
12972         * eshell/em-dirs.el (eshell-dirs-initialize):
12973         * eshell/em-script.el (eshell-script-initialize):
12974         Add missing #' to lambda.
12976 2013-06-08  Leo Liu  <sdl.web@gmail.com>
12978         * progmodes/octave.el (octave-add-log-current-defun): New function.
12979         (octave-mode): Set add-log-current-defun-function.
12980         (octave-goto-function-definition): Do not move point if not found.
12981         (octave-find-definition): Enhance to try subfunctions first.
12983 2013-06-08  Glenn Morris  <rgm@gnu.org>
12985         * emacs-lisp/bytecomp.el (byte-compile-char-before)
12986         (byte-compile-backward-char, byte-compile-backward-word):
12987         Improve previous change, to handle non-explicit nil.
12989 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12991         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12992         (smie--opener/closer-at-point): New function.
12993         (smie--matching-block-data): Use it.  Don't match from right after an
12994         opener or right before a closer.  Obey smie-blink-matching-inners.
12995         Don't signal a mismatch for repeated inners like "switch..case..case".
12997 2013-06-07  Leo Liu  <sdl.web@gmail.com>
12999         * progmodes/octave.el (octave-mode): Set comment-use-global-state
13000         to t.  (Bug#14303)
13001         (octave-function-header-regexp): Fix.  (Bug#14570)
13002         (octave-help-mode-finish-hook, octave-help-mode-finish):
13003         Remove.  Just use temp-buffer-show-hook.
13005         * newcomment.el (comment-search-backward): Revert last change.
13006         (Bug#14434)
13008         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13010 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
13012         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13013         through xargs, to avoid failure due to MS-Windows limitations on
13014         command-line length.
13016 2013-06-06  Glenn Morris  <rgm@gnu.org>
13018         * font-lock.el (lisp-font-lock-keywords-2):
13019         Treat user-error like error.
13021         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13022         (byte-compile-backward-char, byte-compile-backward-word):
13023         Handle explicit nil arguments.  (Bug#14565)
13025 2013-06-05  Alan Mackenzie  <acm@muc.de>
13027         * isearch.el (isearch-allow-prefix): New user option.
13028         (isearch-other-meta-char): Don't exit isearch when a prefix
13029         argument is typed whilst `isearch-allow-prefix' is non-nil.
13030         (Bug#9706)
13032 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13034         * autorevert.el (auto-revert-notify-handler): Use memq.
13035         Hide assertion failure.
13037         * skeleton.el: Use cl-lib.
13038         (skeleton-further-elements): Use defvar-local.
13039         (skeleton-insert): Use cl-progv.
13041 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13043         * progmodes/prog-mode.el (prog-prettify-symbols)
13044         (prog-prettify-install): Update docstrings.
13046 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13048         * simple.el: Move all the prog-mode code to prog-mode.el.
13049         * progmodes/prog-mode.el: New file.
13050         * loadup.el: Add prog-mode.el.
13052 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13054         * simple.el (prog-prettify-symbols): Add version.
13055         (prog-prettify-install): Add convenience function to prettify symbols.
13057         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13058         (perl--augmented-font-lock-keywords-1)
13059         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13060         variables and use it.
13062         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13063         (cfengine3-mode): Remove unneeded variable and use it.
13065         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13066         (lisp--augmented-font-lock-keywords-1)
13067         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13068         Remove unneeded variables and use it.
13070 2013-06-05  João Távora  <joaotavora@gmail.com>
13072         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13073         to point when opening the connection.  (Bug#14380)
13075 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13077         * subr.el (load-history-regexp, load-history-filename-element)
13078         (eval-after-load, after-load-functions, do-after-load-evaluation)
13079         (eval-next-after-load, display-delayed-warnings)
13080         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13081         definition of save-match-data.
13082         (overriding-local-map): Remove accidental obsolescence declaration.
13084         * emacs-lisp/edebug.el (edebug-result): Move before first use.
13086 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13088         Generalize symbol prettify support to prog-mode and implement it
13089         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13090         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13091         (prog--prettify-font-lock-compose-symbol)
13092         (prog-prettify-font-lock-symbols-keywords): New variables and
13093         functions to support symbol prettification.
13094         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13095         (lisp--augmented-font-lock-keywords-1)
13096         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13097         (lisp--prettify-symbols-alist): Implement prettify of lambda.
13098         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13099         (cfengine3--prettify-symbols-alist, cfengine3-mode):
13100         Implement prettify of -> => :: strings.
13101         * progmodes/perl-mode.el (perl-prettify-symbols)
13102         (perl--font-lock-compose-symbol)
13103         (perl--font-lock-symbols-keywords): Move to prog-mode.
13104         (perl--prettify-symbols-alist): Prettify -> => :: strings.
13105         (perl-font-lock-keywords-1)
13106         (perl-font-lock-keywords-2): Remove explicit prettify support.
13107         (perl--augmented-font-lock-keywords)
13108         (perl--augmented-font-lock-keywords-1)
13109         (perl--augmented-font-lock-keywords-2, perl-mode):
13110         Implement prettify support.
13112 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13114         Re-implement SMIE matching block highlight using
13115         show-paren-data-function.  (Bug#14395)
13116         * emacs-lisp/smie.el (smie-matching-block-highlight)
13117         (smie--highlight-matching-block-overlay)
13118         (smie--highlight-matching-block-lastpos)
13119         (smie-highlight-matching-block)
13120         (smie-highlight-matching-block-mode): Remove.
13121         (smie--matching-block-data-cache): New variable.
13122         (smie--matching-block-data): New function.
13123         (smie-setup): Use smie--matching-block-data for
13124         show-paren-data-function.
13126         * progmodes/octave.el (octave-mode-menu): Fix.
13127         (octave-find-definition): Skip garbage lines.
13129 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13131         Fix compilation error with simultaneous dynamic+lexical scoping.
13132         Add warning when a defvar appears after the first let-binding.
13133         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13134         (byte-compile-close-variables): Initialize it.
13135         (byte-compile--declare-var): New function.
13136         (byte-compile-file-form-defvar)
13137         (byte-compile-file-form-define-abbrev-table)
13138         (byte-compile-file-form-custom-declare-variable): Use it.
13139         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
13140         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13141         (byte-compile-bind): Handle dynamic bindings that shadow
13142         lexical bindings.
13143         (byte-compile-unbind): Make arg non-optional.
13144         (byte-compile-let): Simplify.
13145         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13146         (cconv--analyse-function, cconv-analyse-form): Populate it.
13147         Protect byte-compile-bound-variables to limit the scope of defvars.
13148         (cconv-analyse-form): Add missing rule for (defvar <foo>).
13149         Remove unneeded rule for `declare'.
13151         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13152         so as to avoid depending on cl-adjoin at run-time.
13153         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13155         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13156         (macroexp--warn-and-return): Use it.
13158 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13160         * subr.el: Convert to lexical binding.
13161         (overriding-local-map): Make obsolete.
13162         (add-to-list): Doc fix.  Add compiler macro.
13163         (read-key): Swap values of local maps.
13165 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13167         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13169 2013-06-04  Leo Liu  <sdl.web@gmail.com>
13171         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13172         (compilation-auto-jump): Suppress the "Mark set" message to give
13173         way to exit message.
13175 2013-06-04  Alan Mackenzie  <acm@muc.de>
13177         Remove faulty optimisation from indentation calculation.
13178         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13179         search limit based on 2000 characters back from indent-point.
13181 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13183         * eshell/em-term.el (cl-lib): Require `cl-lib'.
13185 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13187         * emacs-lisp/lisp.el: Use lexical-binding.
13188         (lisp--local-variables-1, lisp--local-variables): New functions.
13189         (lisp--local-variables-completion-table): New var.
13190         (lisp-completion-at-point): Use it complete let-bound vars.
13192         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13193         eagerly (bug#14422).
13195 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
13197         * autorevert.el (auto-revert-notify-enabled)
13198         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13199         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13200         (auto-revert-notify-handler): Handle also gfilenotify.
13202         * subr.el (file-notify-handle-event): New defun.  Replacing ...
13203         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13204         Remove.
13206 2013-06-03  Juri Linkov  <juri@jurta.org>
13208         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13209         `M-s h .'.  (Bug#14427)
13211         * hi-lock.el (highlight-symbol-at-point): New alias for the new
13212         command `hi-lock-face-symbol-at-point'.
13213         (hi-lock-face-symbol-at-point): New command.
13214         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13215         (hi-lock-menu): Add `highlight-symbol-at-point'.
13216         (hi-lock-mode): Doc fix.
13218         * isearch.el (isearch-forward-symbol-at-point): New command.
13219         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13220         (isearch-highlight-regexp): Add a regexp which matches
13221         words/symbols for word/symbol mode.
13223         * subr.el (find-tag-default-bounds): New function with the body
13224         mostly moved from `find-tag-default'.
13225         (find-tag-default): Move most code to `find-tag-default-bounds',
13226         call it and apply `buffer-substring-no-properties' afterwards.
13228 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13230         * eshell/em-term.el (eshell-term-initialize):
13231         Use `cl-intersection' rather than `intersection'.
13233 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
13235         * vc/log-view.el: Doc fix.
13236         (log-view-mode-map): Copy keymap from `special-mode-map'.
13238 2013-06-02  Eric Ludlam  <zappo@gnu.org>
13240         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13241         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13242         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13243         (eieio-unbound, eieio-default-superclass)
13244         (eieio--define-field-accessors, method-static, method-before)
13245         (method-primary, method-after, method-num-lists)
13246         (method-generic-before, method-generic-primary)
13247         (method-generic-after, method-num-slots)
13248         (eieio-specialized-key-to-generic-key)
13249         (eieio--check-type, class-v, class-p)
13250         (eieio-class-name, define-obsolete-function-alias)
13251         (eieio-class-parents-fast, eieio-class-children-fast)
13252         (same-class-fast-p, class-constructor, generic-p)
13253         (generic-primary-only-p, generic-primary-only-one-p)
13254         (class-option-assoc, class-option, eieio-object-p)
13255         (class-abstract-p, class-method-invocation-order)
13256         (eieio-defclass-autoload-map, eieio-defclass-autoload)
13257         (eieio-class-un-autoload, eieio-defclass)
13258         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13259         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13260         (eieio--defgeneric-init-form, eieio-defgeneric-form)
13261         (eieio-defgeneric-reset-generic-form)
13262         (eieio-defgeneric-form-primary-only)
13263         (eieio-defgeneric-reset-generic-form-primary-only)
13264         (eieio-defgeneric-form-primary-only-one)
13265         (eieio-defgeneric-reset-generic-form-primary-only-one)
13266         (eieio-unbind-method-implementations)
13267         (eieio--defmethod, eieio--typep)
13268         (eieio-perform-slot-validation, eieio-validate-slot-value)
13269         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13270         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13271         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13272         (eieio-slot-name-index, eieio-class-slot-name-index)
13273         (eieio-set-defaults, eieio-initarg-to-attribute)
13274         (eieio-attribute-to-initarg, eieio-c3-candidate)
13275         (eieio-c3-merge-lists, eieio-class-precedence-c3)
13276         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13277         (eieio-class-precedence-list, eieio-generic-call-methodname)
13278         (eieio-generic-call-arglst, eieio-generic-call-key)
13279         (eieio-generic-call-next-method-list)
13280         (eieio-pre-method-execution-functions, eieio-generic-call)
13281         (eieio-generic-call-primary-only, eieiomt-method-list)
13282         (eieiomt-optimizing-obarray, eieiomt-install)
13283         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13284         (eieio-generic-form, eieio-defmethod, make-obsolete)
13285         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13286         (defclass): Remove `eval-and-compile' from macro.
13287         (call-next-method, shared-initialize): Instead of using
13288         `scoped-class' variable, use new eieio--scoped-class, and
13289         eieio--with-scoped-class.
13290         (initialize-instance): Rename local variable 'scoped-class' to
13291         'this-class' to remove ambiguitity from old global.
13293         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
13294         eieio.el.
13295         (eieio--scoped-class-stack): New variable.
13296         (eieio--scoped-class): New fcn.
13297         (eieio--with-scoped-class): New scoping macro.
13298         (eieio-defclass): Use pushnew instead of add-to-list.
13299         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13300         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13301         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13302         `scoped-class' variable, use new eieio--scoped-class, and
13303         eieio--with-scoped-class.
13305         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13307 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
13309         * eshell/esh-ext.el (eshell-external-command): Pass args to
13310         `eshell-find-interpreter'.
13311         (eshell-find-interpreter): Add new second parameter ARGS.
13313         * eshell/em-script.el (eshell-script-initialize): Add second arg
13314         to the function added as MATCH to `eshell-interpreter-alist'.
13316         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13317         the function added as MATCH to `eshell-interpreter-alist'.
13319         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13320         (eshell-visual-options): New defcustom.
13321         (eshell-escape-control-x): Adapt docstring.
13322         (eshell-term-initialize): Test `eshell-visual-subcommands' and
13323         `eshell-visual-options' in addition to `eshell-visual-commands'.
13324         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13326 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13328         * progmodes/python.el (python-indent-block-enders): Add break,
13329         continue and raise keywords.
13331 2013-06-01  Glenn Morris  <rgm@gnu.org>
13333         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13335         Plain (f)boundp silences compilation warnings since Emacs 22.1.
13336         * progmodes/cc-cmds.el (delete-forward-p):
13337         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13338         * progmodes/cc-engine.el (buffer-syntactic-context):
13339         * progmodes/cc-fonts.el (face-property-instance):
13340         * progmodes/cc-mode.el (set-keymap-parents):
13341         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13342         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13343         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13344         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13345         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13347         * progmodes/cc-vars.el (other): Emacs has this widget since
13348         at least 21.1, so don't (re)define it.
13350         * eshell/em-cmpl.el (eshell-cmpl-initialize):
13351         Replace the obsolete alias pcomplete-arg-quote-list.
13353 2013-06-01  Leo Liu  <sdl.web@gmail.com>
13355         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13356         punctuation syntax.
13357         (inferior-octave-minimal-columns)
13358         (inferior-octave-last-column-width): New variables.
13359         (inferior-octave-track-window-width-change): New function.
13360         (inferior-octave-mode): Adjust column width so that Octave output,
13361         for example from 'ls', can fit into the window nicely.
13363 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13365         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13366         Highlight expansions inside regexp literals.
13368 2013-05-31  Glenn Morris  <rgm@gnu.org>
13370         * obsolete/sym-comp.el (symbol-complete):
13371         Replace obsolete completion-annotate-function.
13373         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13375 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13377         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13378         New function, checks if point is inside a literal that allows
13379         expression expansion.
13380         (ruby-syntax-propertize-expansion): Use it.
13381         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13382         around the body.
13384 2013-05-30  Juri Linkov  <juri@jurta.org>
13386         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13387         to "\M-si".
13388         (isearch-invisible): New variable.
13389         (isearch-forward): Doc fix.
13390         (isearch-mode): Set `isearch-invisible'
13391         to the value of `search-invisible'.
13392         (isearch-toggle-case-fold): Doc fix.
13393         (isearch-toggle-invisible): New command.
13394         (isearch-query-replace): Let-bind `search-invisible'
13395         to the value of `isearch-invisible'.
13396         (isearch-search): Use `isearch-invisible' instead of
13397         `search-invisible'.  Let-bind `search-invisible'
13398         to the value of `isearch-invisible'.  (Bug#11378)
13400 2013-05-30  Juri Linkov  <juri@jurta.org>
13402         * replace.el (perform-replace): Avoid `isearch-range-invisible'
13403         call when `query-flag' is nil and `search-invisible' is non-nil.
13404         (Bug#11746)
13406 2013-05-30  Glenn Morris  <rgm@gnu.org>
13408         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13410         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13411         (cc-require): Suppress spurious "noruntime" warnings.
13412         (cc-require-when-compile): Use fboundp, for sake of compiler.
13414         * progmodes/cc-mode.el: Move load of cc-vars before that of
13415         cc-langs (which in turn loads cc-vars), to quieten compiler.
13417 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13419         * paren.el: Simplify the code.
13420         (show-paren-mode): Always start the timer.
13421         (show-paren--idle-timer): Rename from show-paren-idle-timer.
13422         (show-paren--overlay, show-paren--overlay-1): Rename from
13423         show-paren-overlay and show-paren-overlay-1, and initialize to an
13424         overlay rather than to nil.
13425         (show-paren-function): Misc cleanup and simplifications.
13427 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13429         * paren.el (show-paren-data-function): New hook.
13430         (show-paren--default): New function, extracted from show-paren-function.
13431         (show-paren-function): Use show-paren-data-function.
13433 2013-05-30  Glenn Morris  <rgm@gnu.org>
13435         * ielm.el (ielm-map, ielm-complete-symbol):
13436         Use completion-at-point rather than obsolete functions.
13437         (inferior-emacs-lisp-mode): Doc fix.
13438         Set completion-at-point-functions, rather than
13439         comint-dynamic-complete-functions.
13441         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13442         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13443         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13445         * image.el (image-animated-p): Tweak definition.
13447         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13448         (rlogin-process-connection-type): Tweak default.  Add set-after.
13449         (rlogin-host): Doc fix.
13450         (rlogin): Tweak prompt.
13451         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13453         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13454         * progmodes/tcl.el (inferior-tcl-mode-map):
13455         Use completion-at-point rather than obsolete alias.
13457         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13459         * minibuffer.el (read-file-name-completion-ignore-case):
13460         Move before completion--in-region, for eager macro expansion.
13462 2013-05-29  Juri Linkov  <juri@jurta.org>
13464         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13465         for total count of matching lines.  Add `global-matches' for total
13466         count of matches.  Rename `matches' to `lines' for count of
13467         matching lines.  Add `matches' for count of matches.
13468         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
13469         to `prev-line' for line number of prev match endpt.
13470         Increment `matches' for every match.  Print the number of
13471         matching lines in the header.
13472         (occur-context-lines): Rename `lines' to `curr-line'.
13473         Rename `prev-lines' to `prev-line'.  (Bug#14017)
13475 2013-05-29  Juri Linkov  <juri@jurta.org>
13477         * replace.el (perform-replace): Add `skip-read-only-count',
13478         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13479         Increment them for corresponding conditions and report the number
13480         of skipped occurrences in the final message.  (Bug#11746)
13481         (query-replace, query-replace-regexp, query-replace-regexp-eval)
13482         (replace-string, replace-regexp): Doc fix.
13484 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13486         * emacs-lisp/trace.el (trace--read-args): Provide a default.
13488         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13489         prog-mode-map (bug#14504).
13491 2013-05-29  Leo Liu  <sdl.web@gmail.com>
13493         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13494         (octave-help): Small simplification.
13496         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13497         off the highlight first.
13499 2013-05-29  Glenn Morris  <rgm@gnu.org>
13501         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13502         Handle idlwave-last-system-routine-info-cons-cell being nil.
13504         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13505         (idlwave-write-paths): Simplify via with-temp-buffer.
13507         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13508         * emulation/cua-rect.el: Also load cua-base at run time.
13510         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13511         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13512         (cperl-imenu-on-info): Require imenu.
13514 2013-05-28  Alan Mackenzie  <acm@muc.de>
13516         Handle "capitalised keywords" correctly.
13517         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13519 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
13521         * eshell/em-unix.el: Add -r option to cp.
13523 2013-05-28  Glenn Morris  <rgm@gnu.org>
13525         * vc/vc-arch.el (vc-exec-after): Declare.
13526         (vc-switches): Autoload.
13527         * vc/vc-bzr.el: No need to require vc when compiling.
13528         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13529         (vc-resynch-buffer, vc-dir-refresh): Declare.
13530         (vc-setup-buffer, vc-switches): Autoload.
13531         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13532         (vc-resynch-buffer): Declare.
13533         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13534         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13535         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13536         (grep-read-regexp, grep-read-files, grep-expand-template)
13537         (vc-dir-refresh): Declare.
13538         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13539         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13540         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13541         * vc/vc-mtn.el (vc-exec-after): Declare.
13542         (vc-switches): Autoload.
13543         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13544         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13545         (vc-file-tree-walk): Declare.
13546         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13547         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13548         (vc-tag-precondition, vc-rename-master): Autoload.
13549         * vc/vc-svn.el (vc-exec-after): Declare.
13550         (vc-switches, vc-setup-buffer): Autoload.
13551         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13552         Autoload.
13553         (vc-resynch-buffer): Declare.
13555         * obsolete/fast-lock.el (byte-compile-warnings):
13556         Don't warn about obsolete features in this obsolete file.
13558         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13559         Move definition before use.
13561         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13562         (dun-unix-verbs): Remove dun-zippy.
13563         (dun-zippy): Remove function.
13565         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13567 2013-05-27  Juri Linkov  <juri@jurta.org>
13569         * replace.el (replace-search): New function with code moved out
13570         from `perform-replace'.
13571         (replace-highlight, replace-dehighlight): Move function definitions
13572         up closer to `replace-search'.  (Bug#11746)
13574 2013-05-27  Juri Linkov  <juri@jurta.org>
13576         * replace.el (perform-replace): Ignore invisible matches.
13577         In addition to checking `query-replace-skip-read-only', also
13578         filter out matches by calling `run-hook-with-args-until-failure'
13579         on `isearch-filter-predicates', and also check `search-invisible'
13580         for t or call `isearch-range-invisible'.
13581         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
13583 2013-05-27  Juri Linkov  <juri@jurta.org>
13585         * isearch.el (isearch-filter-predicates): Rename from
13586         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
13587         (isearch-message-prefix): Display text from the property
13588         `isearch-message-prefix' of the currently active filters.
13589         (isearch-search): Don't compare `isearch-filter-predicate' with
13590         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
13591         on `isearch-filter-predicates'.  Also check `search-invisible' for t
13592         or call `isearch-range-invisible'.
13593         (isearch-filter-visible): Make obsolete.
13594         (isearch-lazy-highlight-search):
13595         Call `run-hook-with-args-until-failure' on
13596         `isearch-filter-predicates' and use `isearch-range-invisible'.
13598         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13599         `isearch-filter-predicates' instead of `funcall'ing
13600         `isearch-filter-predicate'.
13601         (Info-mode): Set `Info-isearch-filter' to
13602         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13604         * dired-aux.el (dired-isearch-filter-predicate-orig):
13605         Remove variable.
13606         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13607         (dired-isearch-filenames-end): Add and remove
13608         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13609         instead of changing the value of `isearch-filter-predicate'.
13610         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13611         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13612         Put property `isearch-message-prefix' to "filename " on
13613         `dired-isearch-filter-filenames'.
13615         * wdired.el (wdired-change-to-wdired-mode):
13616         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13617         locally instead of changing `isearch-filter-predicate'.
13618         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13620 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
13622         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13623         return the commit hash (Bug#14459).  Also set the
13624         `vc-git-detached' property.
13625         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13626         (vc-git-mode-line-string): Use the same help-echo format whether
13627         in detached mode or not, because we know the actual revision now.
13628         When in detached mode, shorten the revision to 7 chars.
13630 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13632         * emacs-lisp/easy-mmode.el (define-minor-mode):
13633         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13634         mode hook and provide a docstring.
13636 2013-05-27  Alan Mackenzie  <acm@muc.de>
13638         Remove spurious syntax-table text properties inserted by C-y.
13639         * progmodes/cc-mode.el (c-after-change): Also clear hard
13640         syntax-table property with value nil.
13642 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
13644         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13645         when reading the events; the buffer layout shall not be changed.
13647 2013-05-27  Leo Liu  <sdl.web@gmail.com>
13649         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13650         New variable.
13651         (inferior-octave-directory-tracker): Automatically re-sync
13652         default-directory.
13653         (octave-help): Improve handling of 'See also'.
13655 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13657         * doc-view.el: Minor naming convention tweaks.
13658         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13660         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13661         even if there's no `display' property yet (bug#14435).
13663 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
13665         * subr.el (unmsys--file-name): Rename from reveal-filename.
13667         * Makefile.in (custom-deps, finder-data, autoloads)
13668         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13669         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13670         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13672 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13674         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13675         error-completion on the first 2 args of condition-case (bug#14446).
13676         Don't burp at EOB.
13678 2013-05-25  Leo Liu  <sdl.web@gmail.com>
13680         * comint.el (comint-previous-matching-input): Do not flood the
13681         *Messages* buffer with trivial messages.
13683 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13685         * progmodes/flymake.el (flymake-nop): Don't return a string.
13686         (flymake-set-at): Fix typo.
13688         * simple.el (read--expression): New function, extracted from
13689         eval-expression.  Set completion-at-point-functions (bug#14465).
13690         (eval-expression, eval-minibuffer): Use it.
13692 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
13694         * progmodes/flymake.el (flymake-save-buffer-in-file)
13695         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13696         (flymake-selected-frame, flymake-log, flymake-ins-after)
13697         (flymake-set-at, flymake-get-buildfile-from-cache)
13698         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13699         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13700         Refine the doc string.
13701         (flymake-get-file-name-mode-and-masks): Reformat.
13702         (flymake-get-real-file-name-function): Fix a minor bug.
13704 2013-05-24  Juri Linkov  <juri@jurta.org>
13706         * progmodes/grep.el (grep-mode-font-lock-keywords):
13707         Support =linenumber= format used by git-grep for lines with
13708         function names.  (Bug#13549)
13710 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13712         * progmodes/octave.el (octave-smie-rules): Return nil rather than
13713         0 after a semi-colon; it works better for smie-auto-fill.
13714         (octave--indent-new-comment-line): New function.
13715         (octave-indent-new-comment-line): Use it (indirectly).
13716         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
13717         modify comment-line-break-function.
13719         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13720         (smie-setup): Use add-function to set it.
13722 2013-05-24  Sam Steingold  <sds@gnu.org>
13724         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13725         argument (before the `interactive' argument).
13727 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13729         * image-mode.el (image-mode-winprops): Add winprops to
13730         image-mode-winprops-alist before running
13731         image-mode-new-window-functions.
13732         * doc-view.el (doc-view-new-window-function): Don't delay
13733         doc-view-goto-page via timers (bug#14435).
13735 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
13737         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
13738         (doc-view-desktop-save-buffer): New function.
13739         (doc-view-restore-desktop-buffer): New function.
13740         (desktop-buffer-mode-handlers):
13741         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13742         handler.
13743         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13744         `desktop-save-buffer' function.
13746 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
13748         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13749         (tramp-gvfs-file-name-handler): Raise a user error when
13750         `tramp-gvfs-enabled' is nil.
13751         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13752         Do not raise a user error when loading package.  (Bug#14447)
13754         * net/xesam.el: Move to obsolete/.
13756 2013-05-24  Glenn Morris  <rgm@gnu.org>
13758         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13760         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13762         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13763         (Info-find-node, Man-getpage-in-background): Declare.
13765         * mail/unrmail.el (unrmail):
13766         Replace obsolete detect-coding-with-priority.
13768         * net/socks.el (socks-split-string): Use this rather than split-string.
13769         (socks-nslookup-host): Update for above change.
13770         (dynamic-choice, s5-dynamic-choice-match)
13771         (s5-dynamic-choice-match-inline, s5-widget-value-create):
13772         Comment out unused code.
13774         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13775         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13776         (gud-tooltip-echo-area): Make obsolete.
13777         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13779         * progmodes/js.el (js--optimize-arglist): Declare.
13781         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13783         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13784         (ediff-window-C): Declare.
13786         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13787         Tweak requires to silence compiler.
13789         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13790         (he-search-string, he-tried-table, he-expand-list)
13791         (he-init-string, he-string-member, he-substitute-string)
13792         (he-reset-string): Declare.
13794         * obsolete/options.el (list-options): Use custom-variable-p,
13795         rather than obsolete alias.
13797 2013-05-23  Sam Steingold  <sds@gnu.org>
13799         * simple.el (shell-command-on-region): Pass the `replace' argument
13800         down to `call-process-region' to comply with the doc as reported on
13801         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13803 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13805         * emacs-lisp/smie.el (smie-indent-forward-token)
13806         (smie-indent-backward-token): Handle string tokens (bug#14381).
13808 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13810         * ielm.el (ielm-menu): New menu.
13811         (inferior-emacs-lisp-mode): Set comment-start.
13813 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13815         * textmodes/reftex.el (reftex-ref-style-toggle):
13816         Fix deactivate action.
13818         * textmodes/reftex-vars.el (reftex-ref-style-alist):
13819         Add cleveref macros.
13821         * textmodes/reftex-parse.el
13822         (reftex-locate-bibliography-files): Accept options for
13823         bibliography commands.
13824         * textmodes/reftex-vars.el (reftex-bibliography-commands):
13825         Add addbibresource.  Basic Biblatex support.
13827 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
13829         * net/tramp-gvfs.el (top):
13830         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13831         when loading package.  (Bug#14447)
13833 2013-05-23  Glenn Morris  <rgm@gnu.org>
13835         * progmodes/js.el: No need to load comint when compiling.
13836         (ring-insert, comint-send-string, comint-send-input)
13837         (comint-last-input-end, ido-chop): Declare.
13839         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13840         * vc/ediff-mult.el: Adjust requires.
13841         (ediff-directories-internal, ediff-directory-revisions-internal)
13842         (ediff-patch-file-internal): Declare.
13843         * vc/ediff-ptch.el: Adjust requires.
13844         (ediff-use-last-dir, ediff-buffers-internal): Declare.
13845         (ediff-find-file): Autoload.
13846         * vc/ediff-util.el: No need to load ediff when compiling.
13847         (ediff-regions-internal): Declare.
13848         * vc/ediff-wind.el: Adjust requires.
13849         (ediff-compute-toolbar-width): Define when compiling.
13850         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13851         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13852         (dired-get-filename, dired-get-marked-files)
13853         (ediff-last-dir-patch, ediff-patch-default-directory)
13854         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13855         (ediff-patch-buffer-internal): Declare.
13857         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13858         (ispell-process, ispell-buffer-local-words, lm-summary)
13859         (lm-section-start, lm-section-end): Declare.
13860         (checkdoc-ispell-init): Simplify.
13862         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13863         (he-string-member, he-reset-string, he-substitute-string): Declare.
13865         * eshell/em-ls.el: Adjust requires.
13866         (eshell-glob-regexp): Declare.
13867         * eshell/em-tramp.el: Adjust requires.
13868         (eshell-parse-command): Autoload.
13869         * eshell/em-xtra.el: Adjust requires.
13870         (eshell-parse-command): Autoload.
13871         * eshell/esh-ext.el: Adjust requires.
13872         (eshell-parse-command, eshell-close-handles): Autoload.
13873         * eshell/esh-io.el: Adjust requires.
13874         (eshell-output-filter): Autoload.
13875         * eshell/esh-util.el: No need to load tramp when compiling.
13876         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13877         Declare.
13878         (eshell-parse-ange-ls): Require ange-ftp and tramp.
13879         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13880         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13881         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13882         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13883         * eshell/esh-opt.el, eshell/esh-proc.el:
13884         * eshell/esh-var.el: Adjust requires.
13885         * eshell/eshell.el: Do not require esh-util twice.
13886         (eshell-add-input-to-history): Declare.
13887         (eshell-command): Check history module is active before using it.
13889         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13891 2013-05-22  Leo Liu  <sdl.web@gmail.com>
13893         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13895 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
13897         * autorevert.el (auto-revert-notify-add-watch)
13898         (auto-revert-notify-handler): Add `attrib' for the inotify case,
13899         it indicates changes in file modification time.
13901 2013-05-22  Glenn Morris  <rgm@gnu.org>
13903         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13904         Always delete the autoloaded function from the noruntime and
13905         unresolved functions lists.
13907         * allout.el: No need to load epa, epg, overlay when compiling.
13908         (epg-context-set-passphrase-callback, epg-list-keys)
13909         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13910         (epg-key-user-id-list): Declare.
13912         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13913         (viper-set-parsing-style-toggling-macro)
13914         (viper-set-emacs-state-searchstyle-macros):
13915         Use called-interactively-p on Emacs.
13916         (viper-looking-back): Make it an obsolete alias.  Update callers.
13917         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13918         Use looking-back rather than viper-looking-back.
13919         (viper-tmp-insert-at-eob, viper-enlarge-region)
13920         (viper-read-string-with-history, viper-register-to-point)
13921         (viper-append-to-register, viper-change-state-to-vi)
13922         (viper-backward-char-carefully, viper-forward-char-carefully)
13923         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13924         (viper-change-state-to-emacs): Declare.
13925         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13926         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13927         * emulation/viper-mous.el: Do not load viper-cmd.
13928         (viper-backward-char-carefully, viper-forward-char-carefully)
13929         (viper-forward-word, viper-adjust-window): Declare.
13931         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13933         * progmodes/idlw-help.el (idlwave-help-fontify):
13934         Use called-interactively-p.
13936         * term/w32console.el (w32-get-console-codepage)
13937         (w32-get-console-output-codepage): Declare.
13939         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13940         Remove unnecessary declarations.
13941         (dframe-message): Doc fix.
13943         * info.el (dframe-select-attached-frame, dframe-current-frame):
13944         Declare.
13946         * speedbar.el (speedbar-message): Make it an obsolete alias.
13947         Update all callers.
13948         (speedbar-with-attached-buffer)
13949         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13950         (speedbar-with-writable): Use backquote.
13951         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13952         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13953         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13954         rather than speedbar- aliases.
13955         * mail/rmail.el: Load dframe rather than speedbar when compiling.
13956         (speedbar-make-specialized-keymap, speedbar-insert-button)
13957         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13958         (speedbar-do-function-pointer): Declare.
13959         (rmail-speedbar-button, rmail-speedbar-find-file)
13960         (rmail-speedbar-move-message):
13961         Use dframe-with-attached-buffer rather than speedbar- alias.
13962         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13963         (dframe-message, speedbar-make-specialized-keymap)
13964         (speedbar-add-expansion-list, speedbar-mode-functions-list)
13965         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13966         (speedbar-insert-button, dframe-select-attached-frame)
13967         (dframe-maybee-jump-to-attached-frame)
13968         (speedbar-change-initial-expansion-list)
13969         (speedbar-previously-used-expansion-list-name): Declare.
13970         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13971         Use dframe-message, dframe-with-attached-buffer rather than
13972         speedbar- aliases.
13973         (gud-sentinel): Silence compiler.
13974         * progmodes/vhdl-mode.el (speedbar-refresh)
13975         (speedbar-do-function-pointer, speedbar-add-supported-extension)
13976         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13977         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13978         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13979         (speedbar-file-lists, speedbar-make-tag-line)
13980         (speedbar-line-directory, speedbar-goto-this-file)
13981         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13982         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13983         (speedbar-make-button, speedbar-reset-scanners)
13984         (speedbar-files-item-info, speedbar-line-text)
13985         (speedbar-find-file-in-frame, speedbar-set-timer)
13986         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13987         (speedbar-with-writable): Do not (re)define it.
13988         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13989         rather than speedbar- alias.
13991 2013-05-21  Leo Liu  <sdl.web@gmail.com>
13993         * progmodes/octave.el (octave-mode-menu): Update and re-organize
13994         menu items.
13995         (octave-mode): Tweak fill-nobreak-predicate.
13996         (inferior-octave-startup): Check process to avoid infinite loop.
13997         (inferior-octave): Pop to buffer first to show abornmal process
13998         exit information.
14000 2013-05-21  Glenn Morris  <rgm@gnu.org>
14002         * printing.el (pr-menu-bar): Define when compiling.
14004 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14006         * progmodes/octave.el (octave-auto-fill): Remove.
14007         (octave-indent-new-comment-line): Improve.
14008         (octave-mode): Use auto fill mode through
14009         comment-line-break-function and fill-nobreak-predicate.
14010         (octave-goto-function-definition): Support DEFUN_DLD.
14011         (octave-beginning-of-defun): Small tweak.
14012         (octave-help): Show parent directory.
14014 2013-05-21  Glenn Morris  <rgm@gnu.org>
14016         * files.el (dired-unmark):
14017         * progmodes/gud.el (gdb-input): Update declarations.
14019         * calculator.el (electric, ehelp): No need to load when compiling.
14020         (Electric-command-loop, electric-describe-mode): Declare.
14022         * doc-view.el (doc-view-current-converter-processes): Move before use.
14024         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14025         Move MODE-set-explicitly definition before use.
14027         * international/mule-diag.el (mule-diag):
14028         Don't use obsolete window-system-version.
14030         * mail/feedmail.el (smtpmail): No need to load when compiling.
14031         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14033         * mail/mail-utils.el (rfc822): No need to load when compiling.
14034         (rfc822-addresses): Autoload it.
14035         (mail-strip-quoted-names): Trivial simplification.
14037         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14038         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14040         * net/snmp-mode.el (tempo): Don't duplicate requires.
14042         * progmodes/prolog.el (info): No need to load when compiling.
14043         (comint): Require before shell requires it.
14044         (Info-goto-node): Autoload it.
14045         (Info-follow-nearest-node): Declare.
14046         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14048         * textmodes/artist.el (picture-mode-exit): Declare.
14050         * textmodes/reftex-parse.el (reftex-parse-from-file):
14051         Trivial rewrite so the compiler can parse it better.
14053 2013-05-20  Leo Liu  <sdl.web@gmail.com>
14055         * progmodes/octave.el (octave-help-mode-map)
14056         (octave-help-mode-finish-hook): New variables.
14057         (octave-help-mode, octave-help-mode-finish): New functions.
14058         (octave-help): Use octave-help-mode.
14060 2013-05-20  Glenn Morris  <rgm@gnu.org>
14062         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
14064 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
14066         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14067         start at point, so that expansion starting right after opening
14068         slash in a regexp is recognized.
14069         (ruby-syntax-before-regexp-re): New defvar, extracted from
14070         ruby-syntax-propertize-function.  Since the value of this regexp
14071         is looked up at runtime now, we should be able to turn
14072         `ruby-syntax-methods-before-regexp' into a defcustom later.
14073         (ruby-syntax-propertize-function): Split regexp matching into two
14074         parts, for opening and closing slashes.  That allows us to skip
14075         over string interpolations and support multiline regexps.
14076         Don't call `ruby-syntax-propertize-expansions', instead use another rule
14077         for them, which calls `ruby-syntax-propertize-expansion'.
14078         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14079         call to `ruby-syntax-propertize-function'.
14080         (ruby-syntax-propertize-expansion): Extracted from
14081         `ruby-syntax-propertize-expansions'.  Handles one expansion.
14082         (ruby-syntax-propertize-percent-literal): Leave point right after
14083         the percent symbol, so that the expression expansion rule can
14084         propertize the contents.
14085         (ruby-syntax-propertize-heredoc): Leave point at bol following the
14086         heredoc openers.
14087         (ruby-syntax-propertize-expansions): Remove.
14089 2013-05-18  Juri Linkov  <juri@jurta.org>
14091         * man.el (Man-default-man-entry): Remove `-' from the end
14092         of the default value.  (Bug#14400)
14094 2013-05-18  Glenn Morris  <rgm@gnu.org>
14096         * comint.el (comint-password-prompt-regexp):
14097         Allow "password for XXX" where XXX contains colons (eg https://...).
14099 2013-05-18  Leo Liu  <sdl.web@gmail.com>
14101         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14102         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
14103         (octave-source-directories): Don't check process.
14104         (octave-source-directories, octave-find-definition): Doc fix.
14106 2013-05-18  Glenn Morris  <rgm@gnu.org>
14108         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14109         Remove backspace/delete bindings.  (Bug#14392)
14111         * cus-dep.el (custom-make-dependencies): Sort the output.
14112         (custom-versions-load-alist): Convert comment to doc.
14114 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14116         * newcomment.el (comment-search-backward): Stricter in finding
14117         comment start.  (Bug#14303)
14119         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14120         (octave-comment-start-skip): Properly anchored.
14122 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14124         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14125         Clean up when turned off.  (Bug#14395)
14126         (smie--highlight-matching-block-overlay): No longer buffer-local.
14127         (smie-highlight-matching-block): Adjust.
14129 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
14131         Doc string fix for "nanoseconds" (Bug#14406).
14132         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14133         Fix doc string typo that had "nanoseconds" instead of "microseconds".
14135 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
14137         * calc/calc-units.el (math-extract-units): Preserve powers
14138         of units.
14140 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14142         * subr.el (delete-consecutive-dups): New function.
14143         * ido.el (ido-set-matches-1): Use it.
14144         * progmodes/octave.el (inferior-octave-completion-table): Use it.
14145         * ido.el (ido-remove-consecutive-dups): Remove.
14147 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14149         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14150         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14151         regexp-opt's `words'.
14153 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14155         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14156         (smie--highlight-matching-block-overlay)
14157         (smie--highlight-matching-block-lastpos)
14158         (smie--highlight-matching-block-timer): New variables.
14159         (smie-highlight-matching-block): New function.
14160         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
14161         (smie-setup): Conditionally enable smie-blink-matching-open.
14163 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
14165         Sync with upstream verilog-mode r840.
14166         * progmodes/verilog-mode.el (verilog-mode-version)
14167         (verilog-mode-release-date): Update.
14168         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14169         (verilog-sig-tieoff): Fix string error on
14170         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
14171         (verilog-read-decls): Fix parameters confusing
14172         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
14174 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
14176         * subr.el (reveal-filename): New function.
14178         * loadup.el: Compute Emacs executable versions on MS-Windows,
14179         where executables have the .exe extension.  Add a hard link
14180         emacs-XX.YY.ZZ.exe on MS-Windows.
14182         * Makefile.in (XARGS_LIMIT): New variable.
14183         (custom-deps, finder-data, autoloads)
14184         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14185         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14186         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14187         (compile-main): Limit xargs according to $(XARGS_LIMIT).
14189 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14191         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14192         (octave-mode-menu, octave-mode-map): Remove its uses.
14194 2013-05-16  Reto Zimmermann  <reto@gnu.org>
14196         Sync with upstream vhdl mode v3.34.2.
14197         * progmodes/vhdl-mode.el: Use `push' throughout.
14198         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14199         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14200         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
14201         (vhdl-actual-generic-name): New option to derive actual generic name.
14202         (vhdl-port-paste-signals): Replace formal by actual generics.
14203         (vhdl-beautify): New name for old group vhdl-align.  Update users.
14204         (vhdl-beautify-options): New option.
14205         (vhdl-last-input-event): New compat alias.  Use throughout.
14206         (vhdl-goto-line): Replace user level function `goto-line'.
14207         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14208         vhdl-fix-statement-buffer.
14209         (vhdl-create-mode-menu): Add some entries.
14210         (vhdl-align-region-groups): Respect vhdl-beautify-options.
14211         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14212         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14213         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14214         to force statements on one line.
14215         (vhdl-remove-trailing-spaces-region):
14216         New, split from vhdl-remove-trailing-spaces.
14217         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14218         Respect vhdl-beautify-options.
14219         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14220         (vhdl-update-sensitivity-list): Not add with index if exists without.
14221         Not include array index with signal.  Ignore keywords in comments.
14222         (vhdl-get-visible-signals): Regexp tweaks.
14223         (vhdl-template-component-inst): Handle empty library.
14224         (vhdl-template-type): Add template for 'enum' type.
14225         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14226         Use vhdl-replace-string.
14227         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14228         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14229         (vhdl-speedbar-initialize): Update for above name change.
14230         (vhdl-compose-wire-components): Fix in handling of constants.
14231         (vhdl-error-regexp-emacs-alist): New variable.
14232         (vhdl-error-regexp-add-emacs): New function;
14233         adds support for new compile.el (Emacs 22+)
14234         (vhdl-generate-makefile-1): Change target order for single lib. units.
14235         Allow use of absolute file names.
14237 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14239         * simple.el (prog-indent-sexp): Indent enclosing defun.
14241 2013-05-15  Glenn Morris  <rgm@gnu.org>
14243         * cus-start.el (show-trailing-whitespace): Move to editing basics.
14244         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14245         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14246         (whitespace-highlight): Move to whitespace group.
14248         * comint.el (comint-source):
14249         * pcmpl-linux.el (pcmpl-linux):
14250         * shell.el (shell-faces):
14251         * eshell/esh-opt.el (eshell-opt):
14252         * international/ccl.el (ccl): Remove empty custom groups.
14254         * completion.el (dynamic-completion-mode):
14255         * jit-lock.el (jit-lock-debug-mode):
14256         * minibuffer.el (completion-in-region-mode):
14257         * type-break.el (type-break-mode-line-message-mode)
14258         (type-break-query-mode):
14259         * emulation/tpu-edt.el (tpu-edt-mode):
14260         * progmodes/subword.el (global-subword-mode, global-superword-mode):
14261         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14262         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14264         * term/xterm.el (xterm): Change parent group to terminals.
14266         * master.el (master): Remove empty custom group.
14267         (master-mode): Remove unused :group argument.
14268         * textmodes/refill.el (refill): Remove empty custom group.
14269         (refill-mode): Remove unused :group argument.
14271         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14273         * cus-dep.el: Provide a feature.
14274         (custom-make-dependencies): Ignore dotfiles (dir-locals).
14275         Don't mistakenly ignore files whose basenames match a basename
14276         from preloaded-file-list (eg cedet/ede/simple.el).
14277         Add a fallback method for getting :group.
14279 2013-05-15  Juri Linkov  <juri@jurta.org>
14281         * isearch.el (isearch-char-by-name): Rename from
14282         `isearch-insert-char-by-name'.  Doc fix.
14283         (isearch-forward): Mention `isearch-char-by-name' in
14284         the docstring.  (Bug#13348)
14286         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14287         `exit-minibuffer' instead of
14288         `isearch-nonincremental-exit-minibuffer'.
14289         (isearch-edit-string): Remove mention of
14290         `isearch-nonincremental-exit-minibuffer' from docstring.
14291         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14292         (isearch-forward-exit-minibuffer)
14293         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
14295 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14297         * loadup.el: Just use unversioned DOC.
14299         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14300         literals as extending to EOB.
14301         (nxml-last-fontify-end): Remove unused variable.
14302         (nxml-after-change1): Use with-silent-modifications.
14303         (nxml-extend-after-change-region): Simplify.
14304         (nxml-extend-after-change-region1): Remove function.
14305         (nxml-after-change1): Don't adjust for dependent regions.
14306         (nxml-fontify-matcher): Simplify.
14307         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14308         (xmltok-add-dependent): Remove function.
14309         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14310         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14311         (xmltok-scan-prolog-after-processing-instruction-open): Treat
14312         unclosed <[[, <?, comment, and other literals as extending to EOB.
14313         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14314         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14315         Remove functions.
14316         (rng-do-some-validation-1): Don't mark dependent regions.
14317         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14318         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14319         (nxml-clear-dependent-regions): Remove functions.
14320         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14321         (nxml-ensure-scan-up-to-date):
14322         Don't clear&mark dependent regions.
14324 2013-05-15  Leo Liu  <sdl.web@gmail.com>
14326         * progmodes/octave.el (octave-goto-function-definition):
14327         Improve and fix callers.
14329 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14331         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14332         the setter (bug#14387).
14334         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14335         surrounding group (bug#14402).
14337 2013-05-14  Juri Linkov  <juri@jurta.org>
14339         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14340         (Bug#14390)
14342 2013-05-14  Glenn Morris  <rgm@gnu.org>
14344         * progmodes/f90.el (f90-imenu-generic-expression):
14345         Fix typo in 2013-05-08 change.  (Bug#14402)
14347 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14349         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14350         Remove signals for which replies are never received.
14352 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14354         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14355         (gdb-handler-alist, gdb-handler-number): Remove variables.
14356         (gdb-handler-list): New variable.
14357         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14358         (gdb-pending-handler-p, gdb-handle-reply)
14359         (gdb-remove-all-pending-triggers): New functions.
14360         (gdb-discard-unordered-replies): New defcustom.
14361         (gdb-handler): New defstruct.
14362         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
14363         instead of gdb-pending-triggers.  Update docstring.
14364         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
14365         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14366         (gdb-var-update-handler, def-gdb-auto-update-trigger)
14367         (def-gdb-auto-update-handler, gdb-get-changed-registers)
14368         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14369         (gdb-frame-handler): Pending triggers are now automatically managed.
14370         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14371         Remove argument.
14372         (gdb-input): Automatically handles pending triggers.  Update docstring.
14373         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14374         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14375         Update comments.
14376         (gdb-done-or-error): Now use gdb-handle-reply.
14378 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14380         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14381         gdb-debug-log.
14383 2013-05-14  Glenn Morris  <rgm@gnu.org>
14385         * subr.el (user-emacs-directory-warning): New option.
14386         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
14388 2013-05-14  Leo Liu  <sdl.web@gmail.com>
14390         * progmodes/octave.el (octave-font-lock-keywords): Fix error
14391         during redisplay.
14392         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14393         (octave-font-lock-texinfo-comment): Fix invalid search bound
14394         error: wrong side of point.
14396 2013-05-14  Glenn Morris  <rgm@gnu.org>
14398         * progmodes/flymake.el (flymake-xml-program): New option.
14399         (flymake-xml-init): Use it.
14401         * term/xterm.el: Provide a feature.
14403         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
14405 2013-05-13  Glenn Morris  <rgm@gnu.org>
14407         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14408         Add compat aliases as a hack workaround.  (Bug#14384)
14410 2013-05-13  Leo Liu  <sdl.web@gmail.com>
14412         * progmodes/octave.el (octave-indent-comment): Fix indentation for
14413         ###, and %!.
14414         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14415         C-M-q.
14416         (octave-comment-start-skip): Include %!.
14417         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14419 2013-05-12  Leo Liu  <sdl.web@gmail.com>
14421         * progmodes/octave.el (inferior-octave-startup): Store the value
14422         of __octave_srcdir__ for octave-source-directories.
14423         (inferior-octave-check-process): New function refactored out of
14424         inferior-octave-send-list-and-digest.
14425         (octave-source-directories)
14426         (octave-find-definition-filename-function): New variables.
14427         (octave-source-directories)
14428         (octave-find-definition-default-filename): New functions.
14429         (octave-find-definition): Improve to find functions implemented in C++.
14431 2013-05-12  Glenn Morris  <rgm@gnu.org>
14433         * calendar/diary-lib.el (diary-outlook-format-1):
14434         Don't include dayname in the output.  (Bug#14349)
14436 2013-05-11  Glenn Morris  <rgm@gnu.org>
14438         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14440         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14441         Treat cc-provide like provide.
14443 2013-05-11  Kevin Ryde  <user42@zip.com.au>
14445         * cus-dep.el (custom-make-dependencies):
14446         Use generated-autoload-load-name for the sake of files such
14447         such cedet/semantic/bovine/c.el, where the base file name
14448         is not in load-path.  (Bug#5277)
14450 2013-05-11  Glenn Morris  <rgm@gnu.org>
14452         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14453         Provide features.
14455 2013-05-11  Leo Liu  <sdl.web@gmail.com>
14457         * progmodes/octave.el (octave-indent-comment): Improve.
14458         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14459         (octave-eldoc-function-signatures, octave-eldoc-function):
14460         New functions.
14461         (octave-mode, inferior-octave-mode): Add eldoc support.
14463 2013-05-11  Richard Stallman  <rms@gnu.org>
14465         * epa.el (epa-decrypt-file): Take output file name as argument
14466         and read it using `interactive'.
14468 2013-05-11  Leo Liu  <sdl.web@gmail.com>
14470         * progmodes/octave.el (octave-beginning-of-line)
14471         (octave-end-of-line): Check before using up-list because it jumps
14472         out of more syntactic contructs since moving to smie.
14473         (octave-indent-comment): New function.
14474         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
14475         (octave-begin-keywords, octave-end-keywords)
14476         (octave-reserved-words, octave-smie-bnf-table)
14477         (octave-smie-rules): Add new keywords from Octave 3.6.4.
14479 2013-05-11  Glenn Morris  <rgm@gnu.org>
14481         * faces.el (internal-face-x-get-resource):
14482         * frame.el (ns-display-monitor-attributes-list):
14483         * calc/calc-aent.el (math-to-radians-2):
14484         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14485         Fix declarations.
14487         * calc/calc-menu.el: Make it loadable in isolation.
14489         * net/eudcb-bbdb.el: Make it loadable without bbdb.
14490         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14491         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14492         (eudc-bbdb-query-internal): Require 'bbdb.
14494         * lpr.el (lpr-headers-switches):
14495         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14497         * progmodes/sql.el (sql-login-params): Fix and improve :type.
14499         * emulation/edt-mapper.el: In batch mode, error rather than hang.
14501         * term.el (term-set-escape-char): Make it idempotent.
14503 2013-05-10  Leo Liu  <sdl.web@gmail.com>
14505         * progmodes/octave.el (inferior-octave-completion-table):
14506         No longer a function and all uses changed.  Use cache to speed up
14507         completion due to bug#11906.
14508         (octave-beginning-of-defun): Re-write to be more general.
14510 2013-05-10  Glenn Morris  <rgm@gnu.org>
14512         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14514 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14516         * comint.el (comint-redirect-send-command-to-process): Use :around
14517         rather than :override for comint-redirect-filter.
14518         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14519         Call it instead of comint-redirect-original-filter-function (which
14520         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
14522 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
14524         * frame.el (display-monitor-attributes-list): Add NS case.
14525         (ns-display-monitor-attributes-list): Declare.
14527 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
14529         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
14531 2013-05-09  Glenn Morris  <rgm@gnu.org>
14533         * international/fontset.el (vertical-centering-font-regexp):
14534         Set standard-value.
14536         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14538         * bookmark.el (bookmark-search-delay):
14539         * cus-start.el (vertical-centering-font-regexp):
14540         * ps-mule.el (ps-mule-font-info-database-default):
14541         * ps-print.el (ps-default-fg, ps-default-bg):
14542         * type-break.el (type-break-good-break-interval):
14543         * whitespace.el (whitespace-indentation-regexp)
14544         (whitespace-space-after-tab-regexp):
14545         * emacs-lisp/testcover.el (testcover-1value-functions)
14546         (testcover-noreturn-functions, testcover-progn-functions)
14547         (testcover-prog1-functions):
14548         * emulation/viper-init.el (viper-emacs-state-cursor-color):
14549         * eshell/em-glob.el (eshell-glob-translate-alist):
14550         * play/tetris.el (tetris-tty-colors):
14551         * progmodes/cpp.el (cpp-face-default-list):
14552         * progmodes/flymake.el (flymake-allowed-file-name-masks):
14553         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14554         (idlwave-help-browser-generic-args):
14555         * progmodes/make-mode.el (makefile-special-targets-list):
14556         * progmodes/python.el (python-shell-virtualenv-path):
14557         * progmodes/verilog-mode.el (verilog-active-low-regexp)
14558         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14559         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14560         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14561         * textmodes/reftex-vars.el (reftex-format-label-function):
14562         * textmodes/remember.el (remember-diary-file): Fix custom types.
14564         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14565         Add :version.
14567 2013-05-09  Leo Liu  <sdl.web@gmail.com>
14569         * progmodes/octave.el (inferior-octave-completion-at-point):
14570         Restore file completion.  (Bug#14300)
14571         (inferior-octave-startup): Fix incorrect highlighting for the
14572         first prompt.
14574 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14576         * progmodes/ruby-mode.el: First cut at SMIE support.
14577         (ruby-use-smie): New var.
14578         (ruby-smie-grammar): New constant.
14579         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14580         (ruby-smie--forward-token, ruby-smie--backward-token)
14581         (ruby-smie-rules): New functions.
14582         (ruby-mode-variables): Setup SMIE if applicable.
14584 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
14586         * simple.el (line-move-visual): Signal beginning/end of buffer
14587         only if vertical-motion moved less than it was requested.  Avoids
14588         silly incorrect error messages when there are display strings with
14589         multiple newlines at EOL.
14591 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14593         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14594         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14595         (prolog-char-quote-workaround):
14596         * progmodes/cperl-mode.el (cperl-under-as-char):
14597         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14598         Mark as obsolete.
14599         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14600         their declaration.
14601         (vhdl-mode-syntax-table-init): Remove.
14603         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14604         last change.
14606         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14607         syntax for "_".
14608         (ld-script-font-lock-keywords):
14609         Change regexps to use things like \_< and \_>.
14611         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14612         Change all regexps to use things like \_< and \_>.
14614         * progmodes/autoconf.el (autoconf-definition-regexp)
14615         (autoconf-font-lock-keywords, autoconf-current-defun-function):
14616         Handle a _ with symbol syntax.
14617         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14619         * progmodes/ada-mode.el (ada-mode-abbrev-table):
14620         Consolidate declaration.
14621         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14622         the declaration.
14623         (ada-create-syntax-table): Remove.
14624         (ada-capitalize-word): Don't mess with the syntax of "_" since it
14625         already has the right syntax nowadays.
14626         (ada-goto-next-word): Don't change the syntax of "_".
14628         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14629         with-wrapper-hook.
14631 2013-05-08  Sam Steingold  <sds@gnu.org>
14633         * thingatpt.el (thing-at-point): Accept optional second argument
14634         NO-PROPERTIES to strip the text properties from the return value.
14635         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14636         to `thing-at-point' instead of stripping the properties ourselves.
14637         Also, when `thing-at-point' fails to find a url, prepend "http://"
14638         to the filename at point on the assumption that the user is
14639         pointing at something like gnu.org/gnu.
14641 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
14643         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14644         * faces.el (crm-separator):
14645         Silence byte-compiler.
14647         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14648         (tool-bar-map): Remove unneeded defvars.
14650 2013-05-08  Leo Liu  <sdl.web@gmail.com>
14652         Re-work a fix for bug#10994 based on Le Wang's patch.
14653         * ido.el (ido-remove-consecutive-dups): New helper.
14654         (ido-completing-read): Use it.
14655         (ido-chop): Revert fix for bug#10994.
14657 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
14659         * cus-edit.el (custom-save-variables):
14660         Pretty-print long values.  (Bug#14187)
14662 2013-05-08  Glenn Morris  <rgm@gnu.org>
14664         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14665         (m4-mode-syntax-table): Init in the defvar.
14666         (m4-mode-abbrev-table): Let define-derived-mode define it.
14668 2013-05-08  Tom Tromey  <tromey@redhat.com>
14670         * progmodes/m4-mode.el (m4-mode-syntax-table):
14671         Do not treat "_" as word constituent.  (Bug#14167)
14673 2013-05-07  Glenn Morris  <rgm@gnu.org>
14675         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14676         Remove explicit eshell-isearch-cancel-map.
14678         * progmodes/f90.el (f90-smart-end-names): New option.
14679         (f90-smart-end): Doc fix.
14680         (f90-end-block-optional-name): New constant.
14681         (f90-block-match): Respect f90-smart-end-names.
14683 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14685         * progmodes/octave.el (octave-smie-forward-token): Be more careful
14686         about implicit semi-colons (bug#14218).
14688 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14690         * frame.el (display-monitor-attributes-list)
14691         (frame-monitor-attributes): New functions.
14693 2013-05-06  Leo Liu  <sdl.web@gmail.com>
14695         * progmodes/octave.el (octave-syntax-propertize-function): Change
14696         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
14697         (octave-font-lock-keywords): Use octave-operator-regexp.
14698         (octave-completion-at-point): Rename from
14699         octave-completion-at-point-function.
14700         (inferior-octave-directory-tracker): Robustify.
14701         (octave-text-functions): Remove and fix its uses.  No such things
14702         any more.
14704 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14706         * emacs-lisp/trace.el (trace--display-buffer): New function.
14707         (trace-make-advice): Use it.
14709 2013-05-06  Juri Linkov  <juri@jurta.org>
14711         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
14712         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14713         Doc fix.
14714         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14715         in the help string.  (Bug#12985)
14717 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
14719         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
14721 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14723         * progmodes/perl-mode.el: Add support for here documents.
14724         (perl-syntax-propertize-function): Match here-doc markers.
14725         (perl-syntax-propertize-special-constructs): Find their end.
14726         (perl-imenu-generic-expression): Use [:alnum:].
14728         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14729         (advice--add-function): Refresh the advice if already present
14730         (bug#14317).
14732 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
14734         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
14736 2013-05-06  Glenn Morris  <rgm@gnu.org>
14738         * w32-fns.el (w32-charset-info-alist): Declare.
14740         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14741         of its defcustom properties.
14742         (eshell-cmpl-initialize): No need to load pcomplete.
14744         * generic-x.el: No need to require comint when compiling.
14746         * net/eudc-export.el: Make it loadable without bbdb.
14747         (top-level): Use require rather than load-library.
14748         (eudc-create-bbdb-record, eudc-bbdbify-phone)
14749         (eudc-batch-export-records-to-bbdb)
14750         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14751         Require bbdb.
14753 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14755         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14756         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14757         some tweaks, instead.
14759 2013-05-05  Leo Liu  <sdl.web@gmail.com>
14761         * progmodes/octave.el (octave-font-lock-keywords)
14762         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14763         (inferior-octave-send-list-and-digest): Improve error message.
14764         (octave-mode, inferior-octave-mode): Use setq-local.
14765         (octave-help): Set info-lookup-mode.
14767 2013-05-05  Richard Stallman  <rms@gnu.org>
14769         * vc/compare-w.el (compare-windows-whitespace):
14770         Treat no-break space as whitespace.
14772         * mail/rmailsum.el (rmail-summary-rmail-update):
14773         Detect empty summary and don't change selected message.
14774         (rmail-summary-goto-msg): Likewise.
14776         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14777         Doc fixes, rename args.
14779 2013-05-05  Alan Mackenzie  <acm@muc.de>
14781         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14783 2013-05-05  Juri Linkov  <juri@jurta.org>
14785         * info.el (Info-read-subfile): Use (point-min) instead of (point)
14786         to not add the length of the summary segment to the return value.
14787         (Bug#14125)
14789 2013-05-05  Leo Liu  <sdl.web@gmail.com>
14791         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14792         (inferior-octave-output-filter): Remove.
14793         (octave-send-region, inferior-octave-startup): Fix callers.
14794         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14795         (octave-binary-file-extensions): New user variable.
14796         (octave-find-definition): Confirm if opening binary files.
14797         (octave-help-file): Use octave-find-definition to get the binary
14798         confirmation.
14799         (octave-help): Adjust for octave-help-file change.
14801 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14803         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14804         Merge the two entries that handle function definitions.
14805         (pascal--syntax-propertize): New const.
14806         (pascal-mode): Use it.  Use setq-local.
14808 2013-05-04  Glenn Morris  <rgm@gnu.org>
14810         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14811         (diary-from-outlook): Respect diary-from-outlook-function.
14813 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14815         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14816         Move the declaration from C.
14817         (read-minibuffer, eval-minibuffer): Move from C.
14818         (completion-setup-function): Avoid minibuffer-completion-contents.
14820 2013-05-03  Leo Liu  <sdl.web@gmail.com>
14822         * progmodes/octave.el (octave-font-lock-keywords): Do not
14823         dehighlight 'end' in comments or strings.
14824         (octave-completing-read, octave-goto-function-definition):
14825         New helpers.
14826         (octave-help-buffer): New user variable.
14827         (octave-help-file, octave-help-function): New button types.
14828         (octave-help): New command and bind it to C-h ;.
14829         (octave-find-definition): New command and bind it to M-.
14830         (user-error): Alias to error if not defined.
14832 2013-05-02  Leo Liu  <sdl.web@gmail.com>
14834         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14835         for \.  (bug#14332)
14836         (octave-font-lock-keywords): Include [ and {.
14838 2013-05-02  Leo Liu  <sdl.web@gmail.com>
14840         * progmodes/octave.el (inferior-octave-startup-file): Change default.
14841         (inferior-octave): Remove calling comint-mode and return the buffer.
14842         (inferior-octave-startup): Cosmetic changes.
14844 2013-05-02  Leo Liu  <sdl.web@gmail.com>
14846         * progmodes/octave.el (octave-syntax-propertize-function):
14847         Include the case when ' is at line beginning.  (Bug#14336)
14849 2013-05-02  Glenn Morris  <rgm@gnu.org>
14851         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14852         * desktop.el (vc-dir-mode): Just autoload it here.
14854 2013-05-02  Alan Mackenzie  <acm@muc.de>
14856         Eliminate variable c-standard-font-lock-fontify-region-function.
14857         * progmodes/cc-mode.el
14858         (c-standard-font-lock-fontify-region-function): Remove.
14859         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14861 2013-05-01  Leo Liu  <sdl.web@gmail.com>
14863         * progmodes/octave.el: Compatible with older emacs-24 releases.
14864         (inferior-octave-has-built-in-variables): Remove.  Built-in
14865         variables were removed from Octave in 2007.
14866         (inferior-octave-startup): Fix uses.
14867         (comint-line-beginning-position): Remove compatibility code for
14868         emacs 21.
14870 2013-05-01  Juri Linkov  <juri@jurta.org>
14872         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
14874 2013-05-01  Juri Linkov  <juri@jurta.org>
14876         * comint.el (comint-previous-matching-input): Don't print message
14877         "History item: %d" when `isearch-mode' is active.
14878         (comint-history-isearch-message): Print message "History item: %d"
14879         when `comint-input-ring-index' is not empty and this function is
14880         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
14882 2013-05-01  Leo Liu  <sdl.web@gmail.com>
14884         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14885         definitions.  Use completion-at-point to insert keywords.
14886         (octave-abbrev-start): Remove.
14887         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14889 2013-04-30  Leo Liu  <sdl.web@gmail.com>
14891         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14892         change.
14894 2013-04-30  Alan Mackenzie  <acm@muc.de>
14896         Handle arbitrarily long C++ member initialisation lists.
14897         * progmodes/cc-engine.el (c-back-over-member-initializers):
14898         new function.
14899         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14900         (most) member init lists.
14902 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14904         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14905         variable.
14907 2013-04-30  Leo Liu  <sdl.web@gmail.com>
14909         * progmodes/octave.el (octave-variables): Remove.  No builtin
14910         variables any more.  All converted to functions.
14911         (octave-font-lock-keywords, octave-completion-at-point-function):
14912         Fix uses.
14913         (octave-font-lock-texinfo-comment): New user variable.
14914         (octave-texinfo-font-lock-keywords): New variable for texinfo
14915         comment block.
14916         (octave-function-comment-block): New face.
14917         (octave-font-lock-texinfo-comment): New function.
14918         (octave-mode): Font lock texinfo comment block.
14920 2013-04-29  Leo Liu  <sdl.web@gmail.com>
14922         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14923         indexing expression.
14924         (octave-continuation-string): Do not use \.
14925         (inferior-octave-complete-impossible): Remove.
14926         (inferior-octave-completion-table)
14927         (inferior-octave-completion-at-point): Remove its uses.
14928         (inferior-octave-startup): completion_matches was introduced to
14929         Octave in 1996 so safe to assume it.
14930         (octave-function-file-comment): Improve to follow how Octave does it.
14931         (octave-update-function-file-comment): Tweak.
14933 2013-04-29  Leo Liu  <sdl.web@gmail.com>
14935         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14936         (inferior-octave-startup): Remove inferior-octave-startup-hook.
14937         (octave-function-file-comment): Fix typo.
14938         (octave-sync-function-file-names): Use read-char-choice.
14940 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
14942         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14943         to t for the less important warnings.
14945 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
14947         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
14949 2013-04-27  Glenn Morris  <rgm@gnu.org>
14951         * vc/log-view.el (log-view-current-entry):
14952         Treat "---" separator lines as part of the following rev.  (Bug#14169)
14954 2013-04-27  Juri Linkov  <juri@jurta.org>
14956         * subr.el (read-number): Doc fix about using it by interactive
14957         code letter `n'.  (Bug#14254)
14959 2013-04-27  Juri Linkov  <juri@jurta.org>
14961         * desktop.el (desktop-auto-save-timeout): New option.
14962         (desktop-file-checksum): New variable.
14963         (desktop-save): Add optional arg `auto-save' and don't auto-save
14964         if nothing changed.
14965         (desktop-auto-save-timer): New variable.
14966         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14967         (after-init-hook): Call `desktop-auto-save-set-timer'.
14968         Suggested by Reuben Thomas <rrt@sc3d.org> in
14969         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14971 2013-04-27  Leo Liu  <sdl.web@gmail.com>
14973         * progmodes/octave.el (octave-function-file-p)
14974         (octave-skip-comment-forward, octave-function-file-comment)
14975         (octave-update-function-file-comment): New functions.
14976         (octave-mode-map): Bind C-c ; to
14977         octave-update-function-file-comment.
14978         (octave-mode-menu): Add octave-update-function-file-comment.
14979         (octave-mode, inferior-octave-mode): Fix doc-string.
14980         (octave-insert-defun): Conform to Octave's coding convention.
14981         (Bug#14285)
14983         * files.el (basic-save-buffer): Don't let errors in
14984         before-save-hook prevent saving buffer.
14986 2013-04-20  Roland Winkler  <winkler@gnu.org>
14988         * faces.el (read-face-name): Use completing-read if arg multiple
14989         is nil.
14991 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
14993         * ls-lisp.el (ls-lisp-insert-directory): If no files are
14994         displayed, move point to after the totals line.
14995         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14996         for the details.
14998 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15000         * emacs-lisp/package.el (package-autoload-ensure-default-file):
15001         Add current dir to the load-path.
15002         (package-generate-autoloads): Don't rely on
15003         autoload-ensure-default-file.
15005 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
15007         * textmodes/remember.el (remember-store-in-files): Document that
15008         the file name format is passed to `format-time-string'.
15010 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15012         * progmodes/octave.el (octave-sync-function-file-names): New function.
15013         (octave-mode): Use it in before-save-hook.
15015 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15017         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15018         (bug#14274).
15020         * progmodes/octave.el (octave-smie-forward-token): Properly skip
15021         \n and comment, even if it's not an implicit ; (bug#14218).
15023 2013-04-26  Glenn Morris  <rgm@gnu.org>
15025         * subr.el (read-number): Once more use `read' rather than
15026         `string-to-number', to trap non-numeric input.  (Bug#14254)
15028 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
15030         * emacs-lisp/syntax.el (syntax-propertize-multiline):
15031         Use `syntax-multiline' text property consistently instead of
15032         `font-lock-multiline'.  (Bug#14237)
15034 2013-04-26  Glenn Morris  <rgm@gnu.org>
15036         * emacs-lisp/shadow.el (list-load-path-shadows):
15037         No longer necessary to check for duplicate simple.el, since
15038         2012-07-07 change to init_lread to not include installation lisp
15039         directories in load-path when running uninstalled.  (Bug#14270)
15041 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15043         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15044         (octave-mode, inferior-octave-mode): Use setq-local.
15045         (octave-not-in-string-or-comment-p): Rename to
15046         octave-in-string-or-comment-p.
15047         (octave-in-comment-p, octave-in-string-p)
15048         (octave-in-string-or-comment-p): Replace defsubst with defun.
15050 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
15052         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15054 2013-04-25  Bastien Guerry  <bzg@gnu.org>
15056         * textmodes/remember.el (remember-data-directory)
15057         (remember-directory-file-name-format): Fix custom types.
15059 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15061         * progmodes/octave.el (octave-completion-at-point-function):
15062         Make use of inferior octave process.
15063         (octave-initialize-completions): Remove.
15064         (inferior-octave-completion-table): New function.
15065         (inferior-octave-completion-at-point): Use it.
15066         (octave-completion-alist): Remove.
15068 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15070         * progmodes/opascal.el: Use font-lock and syntax-propertize.
15071         (opascal-mode-syntax-table): New var.
15072         (opascal-literal-kind, opascal-is-literal-end)
15073         (opascal-literal-token-at): Rewrite.
15074         (opascal--literal-start-re, opascal-font-lock-keywords)
15075         (opascal--syntax-propertize): New constants.
15076         (opascal-font-lock-defaults): Adjust.
15077         (opascal-mode): Use them.  Set comment-<foo> variables as well.
15078         (delphi-comment-face, opascal-comment-face, delphi-string-face)
15079         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15080         (delphi-other-face, opascal-other-face): Remove face variables.
15081         (opascal-save-state): Remove macro.
15082         (opascal-fontifying-progress-step): Remove constant.
15083         (opascal--ignore-changes): Remove var.
15084         (opascal-set-token-property, opascal-parse-next-literal)
15085         (opascal-is-stable-literal, opascal-complete-literal)
15086         (opascal-is-literal-start, opascal-face-of)
15087         (opascal-parse-region, opascal-parse-region-until-stable)
15088         (opascal-fontify-region, opascal-after-change)
15089         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15090         (opascal-debug-parse-region, opascal-debug-parse-window)
15091         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15092         (opascal-debug-fontify-buffer): Remove.
15093         (opascal-debug-mode-map): Adjust accordingly.
15095 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15097         Merge octave-mod.el and octave-inf.el into octave.el with some
15098         cleanups.
15099         * progmodes/octave.el: New file renamed from octave-mod.el.
15100         * progmodes/octave-inf.el: Merged into octave.el.
15101         * progmodes/octave-mod.el: Renamed to octave.el.
15103 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
15105         * textmodes/reftex-vars.el
15106         (reftex-label-ignored-macros-and-environments): New defcustom.
15108         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15110 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15112         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15113         (smie-indent-keyword): Improve the check to ensure that the next
15114         comment is really on the same line.
15115         (smie-indent-comment): Don't align with a subsequent closer (or eob).
15117         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15118         semi-colons if the line is not otherwise empty (bug#14218).
15120 2013-04-25  Glenn Morris  <rgm@gnu.org>
15122         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15124 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15126         * progmodes/opascal.el (opascal-set-token-property): Rename from
15127         opascal-set-text-properties and only set `token' (bug#14134).
15128         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15129         (opascal-literal-text-properties): Remove.
15130         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15131         Adjust callers.
15133 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
15135         * textmodes/remember.el (remember-handler-functions): Add an
15136         option for a new handler `remember-store-in-files'.
15137         (remember-data-directory, remember-directory-file-name-format):
15138         New options.
15139         (remember-store-in-files): New function to store remember notes
15140         as separate files within a directory.
15142 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
15144         * progmodes/compile.el (compilation-next-error-function):
15145         Pass "formats" to compilation-find-file (bug#11777).
15147 2013-04-24  Glenn Morris  <rgm@gnu.org>
15149         * vc/vc-bzr.el (vc-bzr-print-log):
15150         * vc/vc-hg.el (vc-hg-print-log):
15151         * vc/vc-svn.el (vc-svn-print-log):
15152         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
15154         * vc/vc-bzr.el (vc-bzr-print-log):
15155         * vc/vc-cvs.el (vc-cvs-print-log):
15156         * vc/vc-git.el (vc-git-print-log):
15157         * vc/vc-hg.el (vc-hg-print-log):
15158         * vc/vc-mtn.el (vc-mtn-print-log):
15159         * vc/vc-rcs.el (vc-rcs-print-log):
15160         * vc/vc-sccs.el (vc-sccs-print-log):
15161         * vc/vc-svn.el (vc-svn-print-log):
15162         * vc/vc.el (vc-print-log-internal): Doc fixes.
15164 2013-04-23  Glenn Morris  <rgm@gnu.org>
15166         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15167         Remove venerable code attempting to avoid substitute-command-keys.
15169 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
15171         * textmodes/reftex-vars.el (reftex-label-regexps):
15172         Call `reftex-compile-variables' after changes to this variable.
15174 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15176         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15177         Use lexical-binding.
15178         (jit-lock-force-redisplay): Use markers, check buffer's continued
15179         existence and beware narrowed buffers.
15180         (jit-lock-fontify-now): Adjust call accordingly.
15182 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15184         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15185         to avoid misleading the user.
15187 2013-04-22  Leo Liu  <sdl.web@gmail.com>
15189         * info-look.el: Prefer latex2e.info.  (Bug#14240)
15191 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
15193         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
15195         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15196         * net/tramp.el (tramp-call-process): ... here.
15197         (tramp-set-completion-function, tramp-parse-putty):
15198         * net/tramp-adb.el (tramp-adb-execute-adb-command):
15199         * net/tramp-gvfs.el (tramp-gvfs-send-command):
15200         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15201         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15202         (tramp-call-local-coding-command): Use `tramp-call-process'
15203         instead of `tramp-compat-call-process'.
15205         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15206         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15207         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15208         (tramp-find-inline-compress): Improve traces.
15209         (tramp-maybe-send-script): Check for Perl binary.
15210         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15212 2013-04-22  Daiki Ueno  <ueno@gnu.org>
15214         * epg.el (epg-context-pinentry-mode): New function.
15215         (epg-context-set-pinentry-mode): New function.
15216         (epg--start): Pass --pinentry-mode option to gpg command.
15218 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
15220         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15221         `comint-dynamic-complete' is obsolete since 24.1, replaced by
15222         `completion-at-point'.  (Bug#13774)
15224         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15225         default key binding for `describe-distribution' has been moved to
15226         `C-h C-o'.  (Bug#13970)
15228 2013-04-21  Glenn Morris  <rgm@gnu.org>
15230         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15231         Add doc strings.
15232         (vc-print-log): Clarify interactive prompt.
15234 2013-04-20  Glenn Morris  <rgm@gnu.org>
15236         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15237         No longer include timestamp etc information.
15239 2013-04-20  Roland Winkler  <winkler@gnu.org>
15241         * faces.el (read-face-name): Bug fix, return just one face if arg
15242         multiple is nil.  (Bug#14209)
15244 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15246         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15247         (remove-function): Autoload.
15249         * comint.el (comint-redirect-original-filter-function): Remove.
15250         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15251         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15252         (vc-cvs-annotate-command):
15253         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15254         * progmodes/prolog.el (prolog-consult-compile):
15255         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15256         Use add/remove-function instead.
15257         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15258         (gud-tooltip-process-output, gud-tooltip-tips):
15259         Use add/remove-function instead.
15260         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15261         (scheme-interaction-mode, exit-scheme-interaction-mode):
15262         Use add/remove-function instead.
15264         * vc/vc-dispatcher.el: Use lexical-binding.
15265         (vc--process-sentinel): Rename from vc-process-sentinel.
15266         Change last arg to be the code to run.  Don't use vc-previous-sentinel
15267         and vc-sentinel-commands any more.
15268         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
15269         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15271 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
15273         * progmodes/sh-script.el (sh-imenu-generic-expression):
15274         Handle function names with a single character.  (Bug#14111)
15276 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15278         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15279         for subroutines defined in an eval (bug#14182).
15281 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15283         * bookmark.el (bookmark-completing-read): Improve handling of empty
15284         string (bug#14176).
15286 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15288         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15290 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15292         New faster Imenu implementation (bug#14058).
15293         * progmodes/python.el:
15294         (python-imenu-prev-index-position):
15295         (python-imenu-format-item-label-function)
15296         (python-imenu-format-parent-item-label-function)
15297         (python-imenu-format-parent-item-jump-label-function):
15298         New vars.
15299         (python-imenu-format-item-label)
15300         (python-imenu-format-parent-item-label)
15301         (python-imenu-format-parent-item-jump-label)
15302         (python-imenu--put-parent, python-imenu--build-tree)
15303         (python-imenu-create-index, python-imenu-create-flat-index)
15304         (python-util-popn): New functions.
15305         (python-mode): Set imenu-create-index-function to
15306         python-imenu-create-index.
15308 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15310         * winner.el (winner-active-region): Use region-active-p, activate-mark
15311         and deactivate-mark (bug#14225).
15313         * simple.el (deactivate-mark): Don't inline it.
15315 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
15317         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15319 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
15321         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15322         file extensions from the archive-mode entry in order to prefer
15323         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15325 2013-04-18  Leo Liu  <sdl.web@gmail.com>
15327         * bindings.el (help-event-list): Add ?\?.
15329 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15331         * subr.el (with-wrapper-hook): Declare obsolete.
15332         * simple.el (filter-buffer-substring-function): New hook.
15333         (filter-buffer-substring): Use it.
15334         (filter-buffer-substring-functions): Mark obsolete.
15335         * minibuffer.el (completion-in-region-function): New hook.
15336         (completion-in-region): Use it.
15337         (completion-in-region-functions): Mark obsolete.
15338         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15339         * abbrev.el (abbrev-expand-function): New hook.
15340         (expand-abbrev): Use it.
15341         (abbrev-expand-functions): Mark obsolete.
15342         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15343         and :filter-return.
15345 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15347         * progmodes/python.el (python-nav--syntactically): Fix cornercases
15348         and do not care about match data.
15350 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15352         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15353         completion tables when completing error conditions and
15354         `declare' arguments.
15355         (lisp-complete-symbol, field-complete): Mark as obsolete.
15356         (check-parens): Unmatched parens are user errors.
15357         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15359 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
15361         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15362         command changed buffer (ie. `flyspell-pre-buffer' is not current
15363         buffer), which prevents making decisions based on invalid value of
15364         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
15365         cause an error when `flyspell-pre-point' was nil after switching
15366         buffers.
15367         (flyspell-post-command-hook): No longer needs to change buffers when
15368         checking pre-word.  While at it remove unnecessary progn.
15370 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
15372         * textmodes/ispell.el (ispell-add-per-file-word-list):
15373         Fix `flyspell-correct-word-before-point' error when accepting
15374         words and `coment-padding' is an integer by using
15375         `comment-normalize-vars' (Bug #14214).
15377 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15379         New defun movement commands.
15380         * progmodes/python.el (python-nav--syntactically)
15381         (python-nav--forward-defun, python-nav-backward-defun)
15382         (python-nav-forward-defun): New functions.
15384 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15386         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15387         (python-syntax-context): Use named compiler-macro for backwards
15388         compatibility with Emacs 24.x.
15390 2013-04-17  Leo Liu  <sdl.web@gmail.com>
15392         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15393         octave-hide-process-buffer.
15395 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15397         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15398         (bug#14216).
15400 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
15402         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15403         Fix adjustment of offset when receiving incomplete responses from GDB
15404         (bug#14129).
15406 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15408         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15409         python-mode-abbrev-table.
15410         (python-skeleton-define): Adjust accordingly.
15411         (python-mode-abbrev-table): New table that inherits from it so that
15412         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15414         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15415         (abbrev-symbol): Use it.
15416         (abbrev--before-point): Use it since we already handle inheritance.
15418 2013-04-16  Leo Liu  <sdl.web@gmail.com>
15420         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15421         binding to info-lookup-symbol.
15423 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
15425         * minibuffer.el (completion--twq-all):
15426         * term/ns-win.el (ns-initialize-window-system):
15427         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15429 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15431         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15432         global bindings.
15434         * doc-view.el (doc-view-start-process): Handle url-handler directories.
15436 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
15438         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15439         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15440         to nil.
15441         (ruby-end-of-defun): Remove the unused arg, change the docstring
15442         to reflect that this function is only used as the value of
15443         `end-of-defun-function'.
15444         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15445         to reflect an earlier change that beginning/end-of-defun functions
15446         jump between methods in a class definition, as well as top-level
15447         functions.
15449 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15451         * minibuffer.el (minibuffer-complete): Don't just scroll
15452         a *Completions* that's been iconified.
15453         (minibuffer-force-complete): Make sure repetitions do cycle when going
15454         through completion-in-region -> minibuffer-complete.
15456 2013-04-15  Alan Mackenzie  <acm@muc.de>
15458         Correct the placement of c-cpp-delimiters when there're #s not at
15459         col 0.
15461         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15462         place a submatch around the #.
15463         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15464         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
15465         on the #, not BOL.
15467 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15469         * emacs-lisp/nadvice.el: Properly test names when adding advice.
15470         (advice--member-p): New arg `name'.
15471         (advice--add-function, advice-member-p): Use it (bug#14202).
15473 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
15475         Reformulate java imenu-generic-expression.
15476         The old expression contained ill formed regexps.
15478         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15479         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15480         (cc-imenu-java-method-arg-regexp): New defconsts.
15481         (cc-imenu-java-build-type-args-regex): New defun.
15482         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15483         handling of spaces in the regexp.
15485 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15487         * textmodes/ispell.el (ispell-command-loop): Remove
15488         flyspell highlight of a word when ispell accepts it (bug #14178).
15490 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
15492         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15493         uses code from the previous `ange-ftp-run-real-handler'.
15494         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15495         only in case that function exist.  This is needed for proper
15496         unloading of Tramp.
15498 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
15500         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15502         * textmodes/reftex.el (reftex-compile-variables): Use it.
15504 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15506         * files.el (normal-mode): Only use default major-mode if no other mode
15507         was specified.
15509         * emacs-lisp/trace.el (trace-values): New function.
15511         * files.el: Allow : in local variables (bug#14089).
15512         (hack-local-variable-regexp): New var.
15513         (hack-local-variables-prop-line, hack-local-variables): Use it.
15515 2013-04-13  Roland Winkler  <winkler@gnu.org>
15517         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
15518         data before it gets modified by bibtex-beginning-of-entry.
15520 2013-04-13  Roland Winkler  <winkler@gnu.org>
15522         * textmodes/bibtex.el (bibtex-url): Doc fix.
15524 2013-04-13  Roland Winkler  <winkler@gnu.org>
15526         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15527         does not visit a BibTeX file, exclude it from the list of buffers
15528         returned by bibtex-initialize.
15530 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
15532         * window.el (split-window): Remove interactive form, since as a
15533         command this function is a special case of split-window-below.
15534         Correct doc string.
15536 2013-04-12  Roland Winkler  <winkler@gnu.org>
15538         * faces.el (read-face-name): Do not override value of arg default.
15539         Allow single faces and strings as default values.  Remove those
15540         elements from return value that are not faces.
15541         (describe-face): Simplify.
15542         (face-at-point): New optional args thing and multiple so that this
15543         function can provide the same functionality previously provided by
15544         read-face-name.
15545         (make-face-bold, make-face-unbold, make-face-italic)
15546         (make-face-unitalic, make-face-bold-italic, invert-face)
15547         (modify-face, read-face-and-attribute): Use face-at-point.
15549         * cus-edit.el (customize-face, customize-face-other-window)
15550         * cus-theme.el (custom-theme-add-face)
15551         * face-remap.el (buffer-face-set)
15552         * facemenu.el (facemenu-set-face): Use face-at-point.
15554 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
15556         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15558 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
15560         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15561         off leading { and trailing } from field values.
15563 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15565         * emacs-lisp/timer.el (timer--check): New function.
15566         (timer--time, timer-set-function, timer-event-handler): Use it.
15567         (timer-set-idle-time): Simplify.
15568         (timer--activate): CSE.
15569         (timer-event-handler): Give more info in error message.
15570         (internal-timer-start-idle): New function, moved from C.
15572         * mpc.el (mpc-proc): Add `restart' argument.
15573         (mpc-proc-cmd): Use it.
15574         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15575         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15576         less often.
15578 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
15580         * progmodes/sh-script.el: Implement `sh-mode' own
15581         `add-log-current-defun-function' (bug#14112).
15582         (sh-current-defun-name): New function.
15583         (sh-mode): Use the function.
15585 2013-04-09  Bastien Guerry  <bzg@gnu.org>
15587         * simple.el (choose-completion-string): Fix docstring (bug#14163).
15589 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15591         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15593         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15594         timer (bug#14156).
15596 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
15598         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15599         declaration.
15601 2013-04-07  Leo Liu  <sdl.web@gmail.com>
15603         * pcmpl-x.el: New file.
15605 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
15607         Do not set x-display-name until X connection is established.
15608         This is needed to prevent from weird situation described at
15609         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15610         * frame.el (make-frame): Set x-display-name after call to
15611         window system initialization function, not before.
15612         * term/x-win.el (x-initialize-window-system): Add optional
15613         display argument and use it.
15614         * term/w32-win.el (w32-initialize-window-system):
15615         * term/ns-win.el (ns-initialize-window-system):
15616         * term/pc-win.el (msdos-initialize-window-system):
15617         Add compatible optional display argument.
15619 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
15621         * files.el (normal-backup-enable-predicate): On MS-Windows and
15622         MS-DOS compare truenames of temporary-file-directory and of the
15623         file, so that 8+3 aliases (usually found in $TEMP on Windows)
15624         don't fail comparison by compare-strings.  Also, compare file
15625         names case-insensitively on MS-Windows and MS-DOS.
15627 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15629         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15630         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15632 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
15634         * whitespace.el (whitespace-color-on, whitespace-color-off):
15635         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15637 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
15639         * ispell.el (ispell-set-spellchecker-params):
15640         Really set `ispell-args' for all equivs.
15642 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15644         * ido.el (ido-completions): Use extra elements of ido-decorations
15645         (bug#14143).
15646         (ido-decorations): Update docstring.
15648 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
15650         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15651         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15652         nil during initialization, in order not to miss changes since the
15653         file was opened.  (Bug#14140)
15655 2013-04-05  Leo Liu  <sdl.web@gmail.com>
15657         * kmacro.el (kmacro-call-macro): Fix bug#14135.
15659 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
15661         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15663 2013-04-04  Glenn Morris  <rgm@gnu.org>
15665         * electric.el (electric-pair-inhibit-predicate): Add :version.
15667 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15669         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15670         when a package is required several times (bug#14082).
15672 2013-04-04  Roland Winkler  <winkler@gnu.org>
15674         * faces.el (read-face-name): Behave as promised by the docstring.
15675         Assume that arg default is a list of faces.
15676         (describe-face): Call read-face-name with list of default faces.
15678 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15680         * bookmark.el: Fix deletion of bookmarks (bug#13972).
15681         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15682         (bookmark-bmenu-execute-deletions): Only skip first line if it's
15683         the header.
15684         (bookmark-exit-hook-internal): Save even if list is empty.
15686 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
15688         * emacs-lisp/package.el (package-pinned-packages): New var.
15689         (package--add-to-archive-contents): Obey it (bug#14118).
15691 2013-04-03  Alan Mackenzie  <acm@muc.de>
15693         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15694         Also adapt to the new values of element 7 of a parse state.
15696         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15697         parameter `not-in-delimiter'.  Handle being inside comment opener.
15698         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15699         character in case we're typing a '*' after a '/'.
15700         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15701         instead by passing the parameter to c-state-pp-to-literal.
15703         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15704         for elt. 7 of a parse state.
15706 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
15708         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15709         * international/latin1-disp.el, international/mule-util.el:
15710         * language/cyril-util.el, language/european.el, language/ind-util.el:
15711         * language/lao-util.el, language/thai.el, language/tibet-util.el:
15712         * language/tibetan.el, language/viet-util.el:
15713         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15715 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15717         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15718         (electric-pair-post-self-insert-function): Use it.
15719         (electric-pair-default-inhibit): New function, extracted from
15720         electric-pair-post-self-insert-function.
15722 2013-03-31  Roland Winkler  <winkler@gnu.org>
15724         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15726 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15728         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15730 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
15732         Un-indent after "pass" and "return" statements (Bug#13888)
15733         * progmodes/python.el (python-indent-block-enders): New var.
15734         (python-indent-calculate-indentation): Use it.
15736 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
15738         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15739         defun.  Defining it as defalias could introduce too eager
15740         byte-compiler optimization.  (Bug#14030)
15742 2013-03-30  Chong Yidong  <cyd@gnu.org>
15744         * iswitchb.el (iswitchb-read-buffer): Fix typo.
15746 2013-03-30  Leo Liu  <sdl.web@gmail.com>
15748         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15749         (kmacro-execute-from-register): Pass the keyboard macro to
15750         kmacro-call-macro or repeating won't work correctly.
15752 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
15754         * progmodes/subword.el: Back to using `forward-symbol'.
15756         * subr.el (forward-whitespace, forward-symbol)
15757         (forward-same-syntax): Move from thingatpt.el.
15759 2013-03-29  Leo Liu  <sdl.web@gmail.com>
15761         * kmacro.el (kmacro-to-register): New command.
15762         (kmacro-execute-from-register): New function.
15763         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
15765 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15767         * mpc.el: Use defvar-local and setq-local.
15768         (mpc--proc-connect): Connection failures are not bugs.
15769         (mpc-mode-map): `follow-link' only applies to the buffer's content.
15770         (mpc-volume-map): Bind to the up-events.
15772 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
15774         * progmodes/subword.el (superword-mode): Use `forward-sexp'
15775         instead of `forward-symbol'.
15777 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15779         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15780         (edebug--recursive-edit): Use it.
15781         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15782         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15784 2013-03-28  Leo Liu  <sdl.web@gmail.com>
15786         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
15788 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
15790         * facemenu.el (list-colors-callback): New defvar.
15791         (list-colors-redisplay): New function.
15792         (list-colors-display): Install list-colors-redisplay as the
15793         revert-buffer-function.  (Bug#14063)
15795 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15797         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15798         and suffixes don't overlap (bug#14061).
15800         * case-table.el: Use lexical-binding.
15801         (case-table-get-table): New function.
15802         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
15804 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
15806         * progmodes/subword.el: Add `superword-mode' to do word motion
15807         over symbol_words (parallels and leverages `subword-mode' which
15808         does word motion inside MixedCaseWords).
15810 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
15812         * eshell/em-unix.el: Move su and sudo to...
15813         * eshell/em-tramp.el: ...Eshell tramp module.
15815 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15817         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15818         Change return value to be a sexp.  Delay `get-buffer' to after
15819         restoring the desktop (bug#13951).
15821 2013-03-26  Leo Liu  <sdl.web@gmail.com>
15823         * register.el: Move semantic tag handling back to
15824         cedet/semantic/senator.el.  (Bug#14052)
15826 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15828         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15829         into the prompt either (bug#13963).
15831 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15833         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15834         part of "(error-foo)".
15836 2013-03-24  Juri Linkov  <juri@jurta.org>
15838         * replace.el (list-matching-lines-prefix-face): New defcustom.
15839         (occur-1): Pass `list-matching-lines-prefix-face' to the function
15840         `occur-engine' if `face-differs-from-default-p' returns t.
15841         (occur-engine): Add `,' inside backquote construct to evaluate
15842         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
15843         Pass `prefix-face' to the functions `occur-context-lines' and
15844         `occur-engine-add-prefix'.
15845         (occur-engine-add-prefix, occur-context-lines): Add optional arg
15846         `prefix-face' and propertize the prefix with `prefix-face'.
15847         (Bug#14017)
15849 2013-03-24  Leo Liu  <sdl.web@gmail.com>
15851         * nxml/rng-valid.el (rng-validate-while-idle)
15852         (rng-validate-quick-while-idle): Guard against deleted buffer.
15853         (Bug#13999)
15855         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15856         is the last entry in kill-buffer-hook.
15858         * files.el (kill-buffer-hook): Doc fix.
15860 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
15862         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15863         Make it safe-local.
15865         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15867 2013-03-23  Leo Liu  <sdl.web@gmail.com>
15869         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15870         Remove.
15872         * nxml/rng-valid.el (rng-validate-mode)
15873         (rng-after-change-function, rng-do-some-validation):
15874         * nxml/rng-maint.el (rng-validate-buffer):
15875         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15876         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15877         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15878         (nxml-extend-after-change-region): Use with-silent-modifications.
15880         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15881         timer-idle-list.
15883         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15884         (rng-next-error-1, rng-previous-error-1): Do not let-bind
15885         timer-idle-list.  (Bug#13999)
15887 2013-03-23  Juri Linkov  <juri@jurta.org>
15889         * info.el (info-index-match): New face.
15890         (Info-index, Info-apropos-matches): Add a nested subgroup to the
15891         main pattern and add text properties with the new face to matches
15892         in index entries relative to the beginning of the index entry.
15893         (Bug#14015)
15895 2013-03-21  Eric Ludlam  <zappo@gnu.org>
15897         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15898         Inhibit read only while inserting objects.
15900 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
15902         * progmodes/cfengine.el: Update docs to mention
15903         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
15904         symbol motion.  Remove "_" from the word syntax.
15906 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
15908         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15909         syntax for both `cfengine2-mode' and `cfengine3-mode'.
15911 2013-03-20  Juri Linkov  <juri@jurta.org>
15913         * info.el (Info-next-reference-or-link)
15914         (Info-prev-reference-or-link): New functions.
15915         (Info-next-reference, Info-prev-reference): Use them.
15916         (Info-try-follow-nearest-node): Handle footnote navigation.
15917         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
15919 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15921         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15922         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15924 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
15926         Suppress unnecessary non-ASCII chatter during build process.
15927         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15928         (batch-skkdic-convert): Suppress most of the chatter.
15929         It's not needed so much now that machines are faster,
15930         and its non-ASCII component was confusing; see Dmitry Gutov in
15931         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15933 2013-03-20  Leo Liu  <sdl.web@gmail.com>
15935         * ido.el (ido-chop): Fix bug#10994.
15937 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
15939         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15940         Remove vars.
15941         (whitespace-color-on, whitespace-color-off):
15942         Use `font-lock-fontify-buffer' (Bug#13817).
15944 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15946         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15947         remapping in mode-line.
15948         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15950 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
15952         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15953         value for `whitespace-line' face (Bug#13875).
15954         (whitespace-font-lock-keywords): Change description.
15955         (whitespace-color-on): Don't save `font-lock-keywords' value, save
15956         the constructed keywords instead.
15957         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15959 2013-03-19  Leo Liu  <sdl.web@gmail.com>
15961         * progmodes/compile.el (compilation-display-error): New command.
15962         (compilation-mode-map, compilation-minor-mode-map): Bind it to
15963         C-o.  (Bug#13992)
15965 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
15967         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15969 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
15971         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15973 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
15975         * net/tramp-compat.el (tramp-compat-user-error): New defun.
15977         * net/tramp-adb.el (tramp-adb-handle-shell-command):
15978         * net/tramp-gvfs.el (top):
15979         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15980         (tramp-handle-shell-command): Use it.
15981         (tramp-dissect-file-name): Raise an error when hostname is a
15982         method name, and neither method nor user is specified.
15984         * net/trampver.el: Update release number.
15986 2013-03-18  Leo Liu  <sdl.web@gmail.com>
15988         Make sure eldoc can be turned off properly.
15989         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15990         eldoc-mode.
15991         (eldoc-display-message-p): Revert last change.
15992         (eldoc-display-message-no-interference-p)
15993         (eldoc-print-current-symbol-info): Tweak.
15995 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
15997         * doc-view.el (doc-view-new-window-function): Check the new window
15998         overlay's display property instead the char property of the
15999         buffer's first char.  Use `with-selected-window' instead of
16000         `save-window-excursion' with `select-window'.
16001         (doc-view-document->bitmap): Check the current doc-view overlay's
16002         display property instead the char property of the buffer's first char.
16004 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16006         Automate the build of ja-dic.el (Bug#13984).
16007         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16008         from the input, rather than assume that it's been done for us by the
16009         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
16010         the current date into a ja-dic.el comment, as that complicates
16011         regression testing.
16013 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16015         * whitespace.el: Fix double evaluation.
16016         (whitespace-space, whitespace-hspace, whitespace-tab)
16017         (whitespace-newline, whitespace-trailing, whitespace-line)
16018         (whitespace-space-before-tab, whitespace-indentation)
16019         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16020         obsolete defvars.
16021         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16022         (whitespace-color-on): Use a single font-lock-add-keywords call.
16023         Fix double-evaluation of face variables.
16025 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
16027         * net/tramp-adb.el (tramp-adb-parse-device-names):
16028         Use `start-process' instead of `call-process'.  Otherwise, the
16029         function might be blocked under MS Windows.  (Bug#13299)
16031 2013-03-17  Leo Liu  <sdl.web@gmail.com>
16033         Extend eldoc to display info in the mode-line.  (Bug#13978)
16034         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16035         (eldoc-mode-line-string): New variable.
16036         (eldoc-minibuffer-message): New function.
16037         (eldoc-message-function): New variable.
16038         (eldoc-message): Use it.
16039         (eldoc-display-message-p)
16040         (eldoc-display-message-no-interference-p):
16041         Support eldoc-post-insert-mode.
16043         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16044         (eval-expression): Run it.
16046 2013-03-17  Roland Winkler  <winkler@gnu.org>
16048         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16049         strings in the list of return values.
16051 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16053         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16054         radix before checking for HMS forms.
16056 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16058         * progmodes/scheme.el: Add indentation and font-locking for λ.
16059         (Bug#13975)
16061 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16063         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16064         token before point (bug#13942).
16066 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16068         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
16070 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
16072         * startup.el (command-line-normalize-file-name): Fix handling of
16073         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
16074         <xfq.free@gmail.com> in
16075         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16077 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
16079         Sync with Tramp 2.2.7.
16081         * net/trampver.el: Update release number.
16083 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
16085         * doc-view.el: Fix bug#13887.
16086         (doc-view-insert-image): Don't modify overlay associated to
16087         non-live windows, and implement horizontal centering of image in
16088         case it's smaller than the window.
16089         (doc-view-new-window-function): Force redisplay of new windows on
16090         doc-view buffers.
16092 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
16094         * saveplace.el (save-place-alist-to-file): Don't sort
16095         `save-place-alist', just pretty-print it (bug#13882).
16097 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
16099         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16100         Check whether `default-file-name-coding-system' is bound.
16101         It isn't in XEmacs.
16103 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16105         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16106         backquotes for `obsolete' (bug#13929).
16108         * international/mule.el (find-auto-coding): Include file name in
16109         obsolescence warning (bug#13922).
16111 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
16113         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16114         for CFEngine 3-specific indentation.
16115         (cfengine3-indent-line): Use it.  Fix up category regex.
16116         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16118 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16120         * type-break.el (type-break-file-name):
16121         * textmodes/remember.el (remember-data-file):
16122         * strokes.el (strokes-file):
16123         * shadowfile.el (shadow-initialize):
16124         * saveplace.el (save-place-file):
16125         * ps-bdf.el (bdf-cache-file):
16126         * progmodes/idlwave.el (idlwave-config-directory):
16127         * net/quickurl.el (quickurl-url-file):
16128         * international/kkc.el (kkc-init-file-name):
16129         * ido.el (ido-save-directory-list-file):
16130         * emulation/viper.el (viper-custom-file-name):
16131         * emulation/vip.el (vip-startup-file):
16132         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16133         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16135 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
16137         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16138         * language/thai-word.el: Switch to UTF-8.
16140 See ChangeLog.16 for earlier changes.
16142 ;; Local Variables:
16143 ;; coding: utf-8
16144 ;; End:
16146   Copyright (C) 2011-2014 Free Software Foundation, Inc.
16148   This file is part of GNU Emacs.
16150   GNU Emacs is free software: you can redistribute it and/or modify
16151   it under the terms of the GNU General Public License as published by
16152   the Free Software Foundation, either version 3 of the License, or
16153   (at your option) any later version.
16155   GNU Emacs is distributed in the hope that it will be useful,
16156   but WITHOUT ANY WARRANTY; without even the implied warranty of
16157   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16158   GNU General Public License for more details.
16160   You should have received a copy of the GNU General Public License
16161   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.