* lisp/calendar/calendar.el (calendar-font-lock-keywords): Set to nil
[emacs.git] / lisp / ChangeLog
blob09e0349e7f1e9533a440185ff412cbe1cc3988cf
1 2013-08-06  Glenn Morris  <rgm@gnu.org>
3         * calendar/calendar.el: Add new faces, and day-header-array.
4         (calendar-weekday-header, calendar-weekend-header)
5         (calendar-month-header): New faces.
6         (calendar-day-header-construct): New function.
7         (calendar-day-header-width): Also :set calendar-day-header-array.
8         (calendar-american-month-header, calendar-european-month-header)
9         (calendar-iso-month-header): Use calendar- faces.
10         (calendar-generate-month):
11         Use calendar-day-header-array for day headers; apply faces to them.
12         (calendar-mode): Check calendar-font-lock-keywords non-nil.
13         (calendar-abbrev-construct): Add optional maxlen argument.
14         (calendar-day-name-array): Doc fix.
15         (calendar-day-name-array, calendar-abbrev-length)
16         (calendar-day-abbrev-array):
17         Also :set calendar-day-header-array, and maybe redraw.
18         (calendar-day-header-array): New option.  (Bug#15007)
19         (calendar-font-lock-keywords): Set to nil and make obsolete.
20         (calendar-day-name): Add option to use header array.
22 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24         * net/shr.el (shr-render-td): Remove debugging.
25         (shr-render-td): Make width computation consistent by defaulting
26         all zero-width columns to 10 characters.  This may not be optimal,
27         but it's at least consistent.
28         (shr-make-table-1): Redo last change to fix the real problem in
29         colspan handling.
31 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
33         * files.el (cache-long-line-scans): Make
34         obsolete alias to `cache-long-scans'.
36 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
38         * frameset.el (frameset, frameset-filter-alist)
39         (frameset-filter-params, frameset-save, frameset--reuse-frame)
40         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
41         (frameset-compute-pos): Rename from frameset--compute-pos,
42         and add docstring.
43         (frameset-move-onscreen): Use frameset-compute-pos.
44         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
46         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
47         Fix typos in docstrings.
49 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
51         * frame.el (get-other-frame): Tiny cleanup.
53 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
55         * vc/vc.el (vc-default-ignore-completion-table):
56         Silence byte-compiler warning.
58         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
59         slot , which can indeed be nil.
60         (frameset-live-filter-alist, frameset-persistent-filter-alist):
61         Move entry for `left' from persistent to live filter alist.
62         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
63         Doc fixes.
64         (frameset-filter-params): When restoring a frame, copy items added to
65         `filtered', to avoid unwittingly modifying the original parameters.
66         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
67         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
69         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
70         to use looking-at-p instead of looking-at.  (Bug#15028)
72 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
74         Revert introduction of isearch-filter-predicates (bug#14714).
75         Rely on add-function instead.
76         * isearch.el (isearch-filter-predicates): Rename it back to
77         isearch-filter-predicate.
78         (isearch-message-prefix): Use advice-function-mapc and advice
79         properties to get the isearch-message-prefix.
80         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
81         instead of run-hook-with-args-until-failure.
82         (isearch-filter-visible): Not obsolete any more.
83         * loadup.el: Preload nadvice.
84         * replace.el (perform-replace): Revert to funcall
85         instead of run-hook-with-args-until-failure.
86         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
87         * dired-aux.el (dired-isearch-filenames-mode): Rename from
88         dired-isearch-filenames-toggle; make it into a proper minor mode.
89         Use add/remove-function.
90         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
91         Call the minor-mode rather than add/remove-hook.
92         (dired-isearch-filter-filenames):
93         Remove isearch-message-prefix property.
94         * info.el (Info--search-loop): New function, extracted from Info-search.
95         Funcall isearch-filter-predicate instead of
96         run-hook-with-args-until-failure isearch-filter-predicates.
97         (Info-search): Use it.
98         (Info-mode): Use isearch-filter-predicate instead of
99         isearch-filter-predicates.
101 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
103         Do not call to `selected-window' where it is assumed by default.
104         Affected functions are `window-minibuffer-p', `window-dedicated-p',
105         `window-hscroll', `window-width', `window-height', `window-buffer',
106         `window-frame', `window-start', `window-point', `next-window'
107         and `window-display-table'.
108         * abbrev.el (abbrev--default-expand):
109         * bs.el (bs--show-with-configuration):
110         * buff-menu.el (Buffer-menu-mouse-select):
111         * calc/calc.el (calc):
112         * calendar/calendar.el (calendar-generate-window):
113         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
114         (diary-make-entry):
115         * comint.el (send-invisible, comint-dynamic-complete-filename)
116         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
117         * completion.el (complete):
118         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
119         * disp-table.el (describe-current-display-table):
120         * doc-view.el (doc-view-insert-image):
121         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
122         * ehelp.el (with-electric-help):
123         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
124         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
125         * emacs-lisp/helper.el (Helper-help-scroller):
126         * emulation/cua-base.el (cua--post-command-handler-1):
127         * eshell/esh-mode.el (eshell-output-filter):
128         * ffap.el (ffap-gnus-wrapper):
129         * help-macro.el (make-help-screen):
130         * hilit-chg.el (highlight-compare-buffers):
131         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
132         * hl-line.el (global-hl-line-highlight):
133         * icomplete.el (icomplete-simple-completing-p):
134         * isearch.el (isearch-done):
135         * jit-lock.el (jit-lock-stealth-fontify):
136         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
137         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
138         * mpc.el (mpc-tagbrowser, mpc):
139         * net/rcirc.el (rcirc-any-buffer):
140         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
141         * play/landmark.el (landmark-max-width, landmark-max-height):
142         * play/zone.el (zone):
143         * progmodes/compile.el (compilation-goto-locus):
144         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
145         * progmodes/etags.el (find-tag-other-window):
146         * progmodes/fortran.el (fortran-column-ruler):
147         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
148         * progmodes/verilog-mode.el (verilog-point-text):
149         * reposition.el (reposition-window):
150         * rot13.el (toggle-rot13-mode):
151         * server.el (server-switch-buffer):
152         * shell.el (shell-dynamic-complete-command)
153         (shell-dynamic-complete-environment-variable):
154         * simple.el (insert-buffer, set-selective-display)
155         (delete-completion-window):
156         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
157         (speedbar-recenter):
158         * startup.el (fancy-splash-head):
159         * textmodes/ispell.el (ispell-command-loop):
160         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
161         * tutorial.el (help-with-tutorial):
162         * vc/add-log.el (add-change-log-entry):
163         * vc/compare-w.el (compare-windows):
164         * vc/ediff-help.el (ediff-indent-help-message):
165         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
166         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
167         (ediff-setup-control-frame):
168         * vc/emerge.el (emerge-position-region):
169         * vc/pcvs-util.el (cvs-bury-buffer):
170         * window.el (walk-windows, mouse-autoselect-window-select):
171         * winner.el (winner-set-conf, winner-undo): Related users changed.
173 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
175         * frameset.el (frameset--set-id): Doc fix.
176         (frameset-frame-id, frameset-frame-id-equal-p)
177         (frameset-locate-frame-id): New functions.
178         (frameset--process-minibuffer-frames, frameset--reuse-frame)
179         (frameset-restore): Use them.
181 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
183         Do not call to `selected-frame' where it is assumed by default.
184         Affected functions are `raise-frame', `redraw-frame',
185         `frame-first-window', `frame-terminal' and `delete-frame'.
186         * calendar/appt.el (appt-disp-window):
187         * epg.el (epg-wait-for-completion):
188         * follow.el (follow-delete-other-windows-and-split)
189         (follow-avoid-tail-recenter):
190         * international/mule.el (set-terminal-coding-system):
191         * mail/rmail.el (rmail-mail-return):
192         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
193         * progmodes/f90.el (f90-add-imenu-menu):
194         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
195         * server.el (server-switch-buffer):
196         * simple.el (delete-completion-window):
197         * talk.el (talk):
198         * term/xterm.el (terminal-init-xterm-modify-other-keys)
199         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
200         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
201         * vc/ediff.el (ediff-documentation): Related users changed.
202         * frame.el (selected-terminal): Remove the leftover.
204 2013-08-05  Glenn Morris  <rgm@gnu.org>
206         * calendar/calendar.el (calendar-generate-month):
207         Fix for calendar-column-width != 1 + calendar-day-digit-width.
208         (calendar-generate-month, calendar-font-lock-keywords):
209         Fix for calendar-day-header-width > length of any day name.
211 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
213         * desktop.el (desktop-clear): Use new name of sort predicate.
215         * frameset.el (frameset): Add docstring.  Move :version property to its
216         own `version' slot.
217         (frameset-copy): Rename from copy-frameset.
218         (frameset-p): Check more thoroughly.
219         (frameset-prop): Do not check for :version, which is no longer a prop.
220         (frameset-live-filter-alist, frameset-persistent-filter-alist):
221         Use new :never value instead of t.
222         (frameset-filter-alist): Expand and clarify docstring.
223         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
224         (frameset-filter-minibuffer, frameset-filter-save-param)
225         (frameset-filter-restore-param, frameset-filter-iconified):
226         Add pointer to docstring of frameset-filter-alist.
227         (frameset-filter-params): Rename filter values to be more meaningful:
228         :never instead of t, and reverse the meanings of :save and :restore.
229         (frameset--process-minibuffer-frames): Clarify error message.
230         (frameset-save): Avoid unnecessary and confusing call to framep.
231         Use new BOA constructor for framesets.
232         (frameset--reuse-list): Doc fix.
233         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
234         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
235         (frameset-minibufferless-first-p): Doc fix.
236         Rename from frameset-sort-frames-for-deletion.
237         (frameset-restore): Doc fixes.  Use new function names.
238         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
240 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
242         * desktop.el (desktop-restore-forces-onscreen)
243         (desktop-restore-reuses-frames): Document :keyword constant values.
244         (desktop-filter-parameters-alist): Remove, now identical to
245         frameset-filter-alist.
246         (desktop--filter-tty*): Remove, moved to frameset.el.
247         (desktop-save-frameset, desktop-restore-frameset):
248         Do not pass :filters argument.
250         * frameset.el (frameset-live-filter-alist)
251         (frameset-persistent-filter-alist): New variables.
252         (frameset-filter-alist): Use them.  Add autoload cookie.
253         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
254         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
255         `frameset--id' (it's supposed to be internal to frameset.el).
256         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
257         (frameset--initial-params): New function.
258         (frameset--get-frame): Use it.  Doc fix.
259         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
260         Accept :all, not 'all.
261         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
262         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
263         with fbound symbols.  Fix frame id matching, and remove matching ids if
264         the frame being restored is deleted.  Obey :delete.
266 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
268         * subr.el (macrop): New function.
269         (text-clone--maintaining): New var.
270         (text-clone--maintain): Rename from text-clone-maintain.  Use it
271         instead of inhibit-modification-hooks.
273         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
274         a proxy, so as handle autoloads and redefinitions of the target.
275         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
277         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
278         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
279         (pcase--mutually-exclusive-p): New function.
280         (pcase--split-consp): Use it.
281         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
282         mutually exclusive with the current predicate.
284         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
285         (edebug-macrop): Remove.  Use `macrop' instead.
286         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
287         (ad-macro-p):
288         * eshell/esh-cmd.el (eshell-macrop):
289         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
291 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
293         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
294         (advice-mapc): New function, using it.
295         (advice-function-member-p): New function.
296         (advice--normalize): Store the cdr in advice--saved-rewrite since
297         that's the part that will be changed.
298         (advice--symbol-function): New function.
299         (advice-remove): Handle removal before the function is defined.
300         Adjust to new advice--saved-rewrite.
301         (advice-member-p): Use advice-function-member-p and
302         advice--symbol-function.
304 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
306         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
307         (frameset-filter-minibuffer): Doc fix.
308         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
309         (frameset--set-id, frameset--process-minibuffer-frames)
310         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
311         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
313         * desktop.el (desktop-clear): Only delete frames when called
314         interactively and desktop-restore-frames is non-nil.  Doc fix.
315         (desktop-read): Set desktop-saved-frameset to nil.
317 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
319         * vc/vc.el (vc-ignore): Rewrite.
320         (vc-default-ignore-completion-table):
321         (vc--read-lines):
322         (vc--add-line, vc--remove-regexp): New functions.
324         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
325         (vc-svn-ignore-completion-table): New function.
327         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
328         (vc-hg-ignore-completion-table):
329         (vc-hg-find-ignore-file): New functions.
331         * vc/vc-git.el (vc-git-ignore): Rewrite.
332         (vc-git-ignore-completion-table):
333         (vc-git-find-ignore-file): New functions.
335         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
337         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
338         (vc-bzr-ignore-completion-table):
339         (vc-bzr-find-ignore-file): New functions.
341 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
343         * frameset.el (frameset-prop): New function and setter.
344         (frameset-save): Do not modify frame list passed by the caller.
346 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
348         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
350 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
352         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
353         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
355         * custom.el (custom-initialize-default, custom-initialize-set)
356         (custom-initialize-reset, custom-initialize-changed): Affect the
357         toplevel-default-value (bug#6275, bug#14586).
358         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
359         for bug#6275.
361 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
363         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
364         Add cl-def* expressions.
366         * frameset.el (frameset-filter-params): Fix order of arguments.
368 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
370         Move code related to saving frames to frameset.el.
371         * desktop.el: Require frameset.
372         (desktop-restore-frames): Doc fix.
373         (desktop-restore-reuses-frames): Rename from
374         desktop-restoring-reuses-frames.
375         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
376         (desktop-clear): Clear frames too.
377         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
378         (desktop--filter-tty*, desktop-save, desktop-read):
379         Use frameset functions.
380         (desktop-before-saving-frames-functions, desktop--filter-*-color)
381         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
382         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
383         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
384         (desktop--process-minibuffer-frames, desktop-save-frames)
385         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
386         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
387         (desktop--sort-states, desktop-restoring-frames-p)
388         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
389         (desktop-restoring-frameset-p, desktop-restore-frameset)
390         (desktop--check-dont-save, desktop-save-frameset): New functions.
391         (desktop--app-id): New constant.
392         (desktop-first-buffer, desktop-buffer-ok-count)
393         (desktop-buffer-fail-count): Move before first use.
394         * frameset.el: New file.
396 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
398         * files.el: Use lexical-binding.
399         (dir-locals-read-from-file): Remove unused `err' variable.
400         (hack-dir-local-variables--warned-coding): New var.
401         (hack-dir-local-variables): Use it to avoid repeated warnings.
402         (make-backup-file-name--default-function): New function.
403         (make-backup-file-name-function): Use it as default.
404         (buffer-stale--default-function): New function.
405         (buffer-stale-function): Use it as default.
406         (revert-buffer-insert-file-contents--default-function): New function.
407         (revert-buffer-insert-file-contents-function): Use it as default.
408         (insert-directory): Avoid add-to-list.
410         * autorevert.el (auto-revert-handler): Simplify.
411         Use buffer-stale--default-function.
413 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
415         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
417         * whitespace.el (whitespace-ensure-local-variables): New function.
418         (whitespace-cleanup-region): Call it.
419         (whitespace-turn-on): Call it.
421 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
423         Complete file name handlers.
425         * net/tramp.el (tramp-handle-set-visited-file-modtime)
426         (tramp-handle-verify-visited-file-modtime)
427         (tramp-handle-file-notify-rm-watch): New functions.
428         (tramp-call-process): Do not bind `default-directory'.
430         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
431         Order alphabetically.
432         [access-file, add-name-to-file, dired-call-process]:
433         [dired-compress-file, file-acl, file-notify-rm-watch]:
434         [file-ownership-preserved-p, file-selinux-context]:
435         [make-directory-internal, make-symbolic-link, set-file-acl]:
436         [set-file-selinux-context, set-visited-file-modtime]:
437         [verify-visited-file-modtime]: Add handler.
438         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
440         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
441         [file-notify-add-watch, file-notify-rm-watch]:
442         [set-file-times, set-visited-file-modtime]:
443         [verify-visited-file-modtime]: Add handler.
444         (with-tramp-gvfs-error-message)
445         (tramp-gvfs-handle-set-visited-file-modtime)
446         (tramp-gvfs-fuse-file-name): Remove.
447         (tramp-gvfs-handle-file-notify-add-watch)
448         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
449         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
451         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
452         Order alphabetically.
453         [file-notify-rm-watch ]: Use default Tramp handler.
454         [executable-find]: Remove private handler.
455         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
456         `default-directory'.
457         (tramp-sh-handle-executable-find)
458         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
459         (tramp-sh-file-gvfs-monitor-dir-process-filter)
460         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
461         Do not use `format' in `tramp-message'.
463         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
464         [file-notify-rm-watch, set-visited-file-modtime]:
465         [verify-visited-file-modtime]: Add handler.
466         (tramp-smb-call-winexe): Do not bind `default-directory'.
468 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
470         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
472 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
474         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
475         use it.
476         (log-view-diff-changeset): Same.
477         (log-view-diff-common): Call backend command `previous-revision'
478         to find out the previous revision, in both cases.  Swap the
479         variables `to' and `fr', so that `fr' usually refers to the
480         earlier revision (Bug#14989).
482 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
484         * ibuf-ext.el (ibuffer-filter-by-filename):
485         Make it work with dired buffers too.
487 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
489         * emacs-lisp/re-builder.el (reb-color-display-p):
490         * files.el (save-buffers-kill-terminal):
491         * net/browse-url.el (browse-url):
492         * server.el (server-save-buffers-kill-terminal):
493         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
494         Prefer nil to selected-frame for the first arg of frame-parameter.
496 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
498         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
500 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
502         * minibuffer.el (completion--twq-all): Try and preserve each
503         completion's case choice (bug#14907).
505 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
507         * net/network-stream.el (open-network-stream): Mention the new
508         :nogreeting parameter.
509         (network-stream-open-starttls): Use the :nogreeting parameter
510         (bug#14938).
512         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
514         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
515         more natural than popping.
517         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
518         (shr-urlify): Highlight under mouse.
520 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
522         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
524         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
526         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
527         buffer for output.
529         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
530         point-min==1.  Fix search string.  Fix parentheses missing.
532         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
533         assume point-min==1.  Fix search string.  Fix parentheses missing.
535         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
537         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
538         buffer for output.
540 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
542         * frame.el (frame-notice-user-settings): Avoid inflooping when the
543         initial frame is minibuffer-less.  (Bug#14841)
545 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
547         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
548         option.
550         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
551         (tramp-maybe-open-connection): Use it.
553 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
555         * desktop.el (desktop--make-frame): Include `minibuffer' in the
556         minimal set of parameters passed when creating a frame, because
557         the minibuffer status of a frame cannot be changed later.
559 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
561         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
562         replace-regexp-in-string and inadvertent omissions in previous change.
563         (todo-filter-items): Ensure only file names are comma-separated in
564         name of filtered items buffer.
566 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
568         * desktop.el: Optionally force offscreen frames back onscreen.
569         (desktop-restoring-reuses-frames): New option.
570         (desktop--compute-pos, desktop--move-onscreen): New functions.
571         (desktop--make-frame): Use desktop--move-onscreen.
573 2013-07-27  Alan Mackenzie  <acm@muc.de>
575         Fontify a Java generic method as a function.
576         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
577         value to t.
579 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
581         * calendar/todo-mode.el: Add command to rename todo files.
582         (todo-rename-file): New command.
583         (todo-key-bindings-t): Add key binding for it.  Change the
584         bindings of todo-filter-regexp-items(-multifile) to use `x'
585         instead of `r', since the latter is better suited to the new
586         renaming command.
588 2013-07-27  Alan Mackenzie  <acm@muc.de>
590         Make Java try-with-resources statement parse properly.
591         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
592         (c-block-stmt-1-2-key): New language constants/variables.
593         * progmodes/cc-engine.el (c-beginning-of-statement-1)
594         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
595         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
596         with c-block-stmt-1-2-key.
598 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
600         * desktop.el (desktop--make-frame): Apply most frame parameters after
601         creating the frame to force (partially or totally) offscreen frames to
602         be restored as such.
604 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
606         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
607         (Bug#14948)
609 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
611         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
612         `base' arg of backtrace-frame.
614 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
616         * simple.el (list-processes): Doc fix.
618 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
620         * desktop.el (desktop--select-frame):
621         Try harder to reuse existing frames.
623 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
626         (edebug-eval): Use backtrace-eval.
627         (edebug--display, edebug--recursive-edit): Don't let-bind the
628         edebug-outer-* vars that keep track of variables we locally let-bind.
629         (edebug-outside-excursion): Don't restore outside values of locally
630         let-bound vars.
631         (edebug--display): Use user-error.
632         (cl-lexical-debug, cl-debug-env): Remove.
634 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
636         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
637         are restored to be sure that they are visible before deleting any
638         remaining ones.
640 2013-07-26  Matthias Meulien  <orontee@gmail.com>
642         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
643         vc-print-root-log.  (Bug#14948)
645 2013-07-26  Richard Stallman  <rms@gnu.org>
647         Add aliases for encrypting mail.
648         * epa.el (epa-mail-aliases): New option.
649         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
650         Bind inhibit-read-only so read-only text doesn't ruin everything.
651         (epa-mail-default-recipients): New subroutine broken out.
652         Handle epa-mail-aliases.
654 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
656         Add support for lexical variables to the debugger's `e' command.
657         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
658         vars, except for debugger-outer-match-data.
659         (debugger-frame-number): Move check for "on a function call" from
660         callers into it.  Add `skip-base' argument.
661         (debugger-frame, debugger-frame-clear): Simplify accordingly.
662         (debugger-env-macro): Only reset the state stored in non-variables,
663         i.e. current-buffer and match-data.
664         (debugger-eval-expression): Rewrite using backtrace-eval.
665         * subr.el (internal--called-interactively-p--get-frame): Remove.
666         (called-interactively-p):
667         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
668         `base' arg of backtrace-frame instead.
670 2013-07-26  Glenn Morris  <rgm@gnu.org>
672         * align.el (align-regexp): Doc fix.  (Bug#14857)
673         (align-region): Explicit error if subexpression missing/does not match.
675         * simple.el (global-visual-line-mode):
676         Do not duplicate the mode lighter.  (Bug#14858)
678 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
680         * window.el (display-buffer): In display-buffer bind
681         split-window-keep-point to t, bug#14829.
683 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
685         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
686         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
687         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
688         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
689         Change accordingly.
690         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
691         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
693 2013-07-25  Glenn Morris  <rgm@gnu.org>
695         * dired-x.el (dired-mark-extension): Convert comment to doc string.
697 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
699         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
700         parameter to modify-frame-parameters if the value has not changed;
701         this is a workaround for bug#14949.
702         (desktop--make-frame): On cl-delete-if call, check parameter name,
703         not full parameter.
705 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
707         * vc/vc.el (vc-ignore): New function.
709         * vc/vc-svn.el (vc-svn-ignore): New function.
711         * vc/vc-hg.el (vc-hg-ignore): New function.
713         * vc/vc-git.el (vc-git-ignore): New function.
715         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
716         (vc-dir-ignore): New function.
718         * vc/vc-cvs.el (vc-cvs-ignore): New function.
719         (cvs-append-to-ignore): Move here from pcvs.el.
721         * vc/vc-bzr.el (vc-bzr-ignore): New function.
723         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
725 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
727         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
728         (desktop-restore-frames): Warn when deleting an existing frame failed.
730 2013-07-24  Glenn Morris  <rgm@gnu.org>
732         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
734 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
736         * filenotify.el (file-notify-supported-p):
737         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
738         Remove functions.
740         * autorevert.el (auto-revert-use-notify):
741         (auto-revert-notify-add-watch):
742         * net/tramp.el (tramp-file-name-for-operation):
743         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
744         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
745         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
746         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
747         Remove `file-notify-supported-p' entry.
749 2013-07-24  Glenn Morris  <rgm@gnu.org>
751         * printing.el: Replace all uses of deleted ps-windows-system,
752         ps-lp-system, ps-flatten-list with lpr- versions.
754 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
756         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
757         checked with memq (bug#14935).
759         * files.el (revert-buffer-function): Use a non-nil default.
760         (revert-buffer-preserve-modes): Declare var to
761         provide access to the `preserve-modes' argument.
762         (revert-buffer): Let-bind it.
763         (revert-buffer--default): New function, extracted from revert-buffer.
765 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
767         * lpr.el: Signal print errors more prominently.
768         (print-region-function): Don't default to nil.
769         (lpr-print-region): New function, extracted from print-region-1.
770         Check lpr's return value and signal an error in case of problem.
771         (print-region-1): Use it.
772         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
773         versions instead.
774         (ps-printer-name): Default to nil.
775         (ps-printer-name-option): Default to lpr-printer-switch.
776         (ps-print-region-function): Don't default to nil.
777         (ps-postscript-code-directory): Simplify default.
778         (ps-do-despool): Use lpr-print-region to properly check the outcome.
779         (ps-string-list, ps-eval-switch, ps-flatten-list)
780         (ps-flatten-list-1): Remove.
781         (ps-multibyte-buffer): Avoid setq.
782         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
783         (print-region-function, ps-print-region-function): Don't set them here.
785 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
787         * ido.el (ido-fractionp):
788         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
789         (ido-max-file-prompt-width, ido-unc-hosts-cache)
790         (ido-max-directory-size, ido-max-dir-file-cache)
791         (ido-decorations): Doc fix.
793         * ansi-color.el: Fix old URL.
795 2013-07-23  Michael R. Mauger  <michael@mauger.com>
797         * progmodes/sql.el Version 3.3
798         (sql-product-alist): Improve oracle :prompt-cont-regexp.
799         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
800         (sql-interactive-remove-continuation-prompt): Rewrite, use
801         functions above.  Fix continuation prompt and complete output line
802         handling.
803         (sql-redirect-one, sql-execute): Use `read-only-mode' on
804         redirected output buffer.
805         (sql-mode): Restore deleted code (Bug#13591).
807 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
809         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
811 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
813         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
815         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
816         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
817         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
819 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
821         * desktop.el (desktop-clear): Simplify; remove useless checks
822         against invalid buffer names.
823         (desktop-list*): Use cl-list*.
824         (desktop-buffer-info, desktop-create-buffer): Simplify.
826 2013-07-23  Leo Liu  <sdl.web@gmail.com>
828         * bookmark.el (bookmark-make-record): Restore NAME as a default
829         value.  (Bug#14933)
831 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
833         * emacs-lisp/autoload.el (autoload--setup-output): New function,
834         extracted from autoload--insert-text.
835         (autoload--insert-text): Remove.
836         (autoload--print-cookie-text): New function, extracted from
837         autoload--insert-cookie-text.
838         (autoload--insert-cookie-text): Remove.
839         (autoload-generate-file-autoloads): Adjust calls accordingly.
841         * winner.el (winner-hook-installed-p): Remove.
842         (winner-mode): Simplify accordingly.
844         * subr.el (add-to-list): Fix compiler-macro when `append' is
845         not constant.  Don't use `cl-member' for the base case.
847         * progmodes/subword.el: Fix boundary case (bug#13758).
848         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
849         own group.
850         (subword-backward-regexp): Make it a constant.
851         (subword-forward-internal): Don't treat a trailing capital as the
852         beginning of a word.
854 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
856         * emacs-lisp/package.el (package-menu-mode): Don't modify the
857         global value of tabulated-list-revert-hook (bug#14930).
859 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
861         * desktop.el: Require 'cl-lib.
862         (desktop-before-saving-frames-functions): New hook.
863         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
864         for frames being saved.  Rename from desktop--save-minibuffer-frames.
865         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
866         Do not save frames with non-nil `desktop-dont-save' parameter.
867         Filter out deleted frames.
868         (desktop--find-frame): Use cl-find-if.
869         (desktop--select-frame): Use cl-(first|second|third) to access values
870         of desktop-mini.
871         (desktop--make-frame): Use cl-delete-if.
872         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
873         (desktop-restore-frames): Use cl-(first|second|third) to access values
874         of desktop-mini.  Look for visible frame at the end, not while
875         restoring frames.
877         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
878         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
879         Use string-match-p, looking-at-p (bug#14927).
881 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
883         * desktop.el (desktop-saved-frame-states):
884         Rename from desktop--saved-states; all users changed.
885         (desktop-save-frames): Rename from desktop--save-frames.
886         Do not save state to desktop file.
887         (desktop-save): Save desktop-saved-frame-states to desktop file
888         and reset to nil.
889         (desktop-restoring-frames-p): New function.
890         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
891         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
892         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
894         * desktop.el: Correctly restore iconified frames.
895         (desktop--filter-iconified-position): New function.
896         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
898 2013-07-20  Glenn Morris  <rgm@gnu.org>
900         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
901         Let `message' do the formatting.
902         (def-gdb-preempt-display-buffer): Add explicit format.
904         * image-dired.el (image-dired-track-original-file):
905         Use with-current-buffer.
906         (image-dired-track-thumbnail): Use with-current-buffer.
907         Avoid changing point of wrong window.
909         * image-dired.el (image-dired-track-original-file):
910         Avoid changing point of wrong window.  (Bug#14909)
912 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
914         * progmodes/gdb-mi.el (gdb-done-or-error):
915         Guard against "%" in gdb output.  (Bug#14127)
917 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
919         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
920         (Bug#14826)
922         * international/mule.el (coding-system-iso-2022-flags): Fix last
923         change.
925 2013-07-20  Kenichi Handa  <handa@gnu.org>
927         * international/mule.el (coding-system-iso-2022-flags):
928         Add `8-bit-level-4'.  (Bug#8522)
930 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
932         * net/shr.el (shr-mouse-browse-url): New command and keystroke
933         (bug#14815).
935         * net/eww.el (eww-process-text-input): Allow inputting when the
936         point is at the start of the line, as the properties aren't
937         front-sticky.
939         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
940         degenerate widths.
942 2013-07-19  Richard Stallman  <rms@gnu.org>
944         * epa.el (epa-popup-info-window): Doc fix.
946         * subr.el (split-string): New arg TRIM.
948 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
950         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
951         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
953 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
955         * filenotify.el (file-notify--library): Rename from
956         `file-notify-support'.  Do not autoload.  Adapt all uses.
957         (file-notify-supported-p): New defun.
959         * autorevert.el (auto-revert-use-notify):
960         Use `file-notify-supported-p' instead of `file-notify-support'.
961         Adapt docstring.
962         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
964         * net/tramp.el (tramp-file-name-for-operation):
965         Add `file-notify-supported-p'.
967         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
968         New defun.
969         (tramp-sh-file-name-handler-alist): Add it as handler for
970         `file-notify-supported-p '.
972         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
973         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
974         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
975         Add `ignore' as handler for `file-notify-*' functions.
977 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
979         * simple.el (line-move-partial, line-move): Don't start vscroll or
980         scroll-up if the current line is not taller than the window.
981         (Bug#14881)
983 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
985         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
986         highlight question marks in the method names as strings.
987         (ruby-block-beg-keywords): Inline.
988         (ruby-font-lock-keyword-beg-re): Extract from
989         `ruby-font-lock-keywords'.
991 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
993         * frame.el (blink-cursor-blinks): New defcustom.
994         (blink-cursor-blinks-done): New defvar.
995         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
996         (blink-cursor-timer-function): Check if number of blinks has been
997         done on X and NS.
998         (blink-cursor-suspend, blink-cursor-check): New defuns.
1000 2013-07-15  Glenn Morris  <rgm@gnu.org>
1002         * edmacro.el (edmacro-format-keys): Fix previous change.
1004 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
1006         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1007         The hack didn't work outside English locales anyway.
1009 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
1011         * simple.el (define-alternatives): Rename from alternatives-define,
1012         per RMS' suggestion.
1014 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
1016         * desktop.el (desktop-restore-frames): Change default to t.
1017         (desktop-restore-in-current-display): Now offer more options.
1018         (desktop-restoring-reuses-frames): New customization option.
1019         (desktop--saved-states): Doc fix.
1020         (desktop-filter-parameters-alist): New variable, renamed and expanded
1021         from desktop--excluded-frame-parameters.
1022         (desktop--target-display): New variable.
1023         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1024         (desktop--filter-tty*, desktop--filter-*-color)
1025         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1026         (desktop--filter-save-desktop-parm)
1027         (desktop-restore-in-original-display-p): New functions.
1028         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1029         (desktop--save-minibuffer-frames): New function, inspired by a similar
1030         function from Martin Rudalics.
1031         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1032         (desktop--restore-in-this-display-p): Remove.
1033         (desktop--find-frame): Rename from desktop--find-frame-in-display
1034         and add predicate argument.
1035         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1036         (desktop--reuse-list): New variable.
1037         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1038         New functions.
1039         (desktop--restore-frames): Add support for "minibuffer-special" frames.
1041 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
1043         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1045 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
1047         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1048         Highlight conversion methods on Kernel.
1050 2013-07-13  Alan Mackenzie  <acm@muc.de>
1052         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1053         and comment it out.  This out-commenting enables certain C++
1054         declarations to be parsed correctly.
1056 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
1058         * international/mule.el (define-coding-system): Doc fix.
1060         * simple.el (default-font-height): Don't call font-info if the
1061         frame's default font didn't change since the frame was created.
1062         (Bug#14838)
1064 2013-07-13  Leo Liu  <sdl.web@gmail.com>
1066         * ido.el (ido-read-file-name): Guard against non-symbol value.
1068 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1070         * progmodes/python.el (python-imenu--build-tree): Fix corner case
1071         in nested defuns.
1073 2013-07-13  Leo Liu  <sdl.web@gmail.com>
1075         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1076         ido-set-matches call.  (Bug#6852)
1078 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
1080         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1081         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1082         Ruby 2.0.
1083         (ruby-font-lock-keywords): Distinguish calls to functions with
1084         module-like names from module references.  Highlight character
1085         literals.
1087 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
1089         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1090         (gdb-send): Handle continued commands.  (Bug#14847)
1092 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
1094         * desktop.el (desktop--v2s): Remove unused local variable.
1095         (desktop-save-buffer): Make defvar-local; adjust docstring.
1096         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1097         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1099 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
1101         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1103 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
1105         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1106         (Bug#14842)
1108 2013-07-12  Glenn Morris  <rgm@gnu.org>
1110         * doc-view.el: Require cl-lib at runtime too.
1111         (doc-view-remove-if): Remove.
1112         (doc-view-search-next-match, doc-view-search-previous-match):
1113         Use cl-remove-if.
1115         * edmacro.el: Require cl-lib at runtime too.
1116         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1117         (edmacro-mismatch, edmacro-subseq): Remove.
1119         * shadowfile.el: Require cl-lib.
1120         (shadow-remove-if): Remove.
1121         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1122         Use cl-remove-if.
1124         * wid-edit.el: Require cl-lib.
1125         (widget-choose): Use cl-remove-if.
1126         (widget-remove-if): Remove.
1128         * progmodes/ebrowse.el: Require cl-lib at runtime too.
1129         (ebrowse-delete-if-not): Remove.
1130         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1131         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1132         Use cl-delete-if-not.
1134 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
1136         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1137         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1139 2013-07-12  Leo Liu  <sdl.web@gmail.com>
1141         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
1143 2013-07-11  Glenn Morris  <rgm@gnu.org>
1145         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1146         (edebug-gensym-index, edebug-gensym):
1147         Remove reimplementation of cl-gensym.
1148         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1150         * thumbs.el: Require cl-lib at run-time too.
1151         (thumbs-gensym-counter, thumbs-gensym):
1152         Remove reimplementation of cl-gensym.
1153         (thumbs-temp-file): Use cl-gensym.
1155         * emacs-lisp/ert.el: Require cl-lib at runtime too.
1156         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1157         (ert--intersection, ert--set-difference, ert--set-difference-eq)
1158         (ert--union, ert--gensym-counter, ert--gensym-counter)
1159         (ert--coerce-to-vector, ert--remove*, ert--string-position)
1160         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1161         (ert-make-test-unbound, ert--expand-should-1)
1162         (ert--expand-should, ert--should-error-handle-error)
1163         (should-error, ert--explain-equal-rec)
1164         (ert--plist-difference-explanation, ert-select-tests)
1165         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1166         Use cl-lib functions rather than reimplementations.
1168 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
1170         * net/tramp.el (tramp-methods): Extend docstring.
1171         (tramp-connection-timeout): New defcustom.
1172         (tramp-error-with-buffer): Reset timestamp only when appropriate.
1173         (with-tramp-progress-reporter): Simplify.
1174         (tramp-process-actions): Improve messages.
1176         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1177         * net/tramp-sh.el (tramp-maybe-open-connection):
1178         Use `tramp-connection-timeout'.
1179         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1180         (Bug#14808)
1182 2013-07-11  Leo Liu  <sdl.web@gmail.com>
1184         * ido.el (ido-read-file-name): Conform to the requirements of
1185         read-file-name.  (Bug#11861)
1186         (ido-read-directory-name): Conform to the requirements of
1187         read-directory-name.
1189 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
1191         * subr.el (delay-warning): New function.
1193 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
1195         * simple.el (default-line-height): New function.
1196         (line-move-partial, line-move): Use it instead of computing the
1197         line height inline.
1198         (line-move-partial): Always compute ROWH.  If the last line is
1199         partially-visible, but its text is completely visible, allow
1200         cursor to enter such a partially-visible line.
1202 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
1204         Improve error messages.  (Bug#14808)
1206         * net/tramp.el (tramp-current-connection): New defvar, moved from
1207         tramp-sh.el.
1208         (tramp-message-show-progress-reporter-message): Remove, not
1209         needed anymore.
1210         (tramp-error-with-buffer): Show message in minibuffer.
1211         Discard input before waiting.  Reset connection timestamp.
1212         (with-tramp-progress-reporter): Improve messages.
1213         (tramp-process-actions): Use progress reporter.  Delete process in
1214         case of error.  Improve messages.
1216         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1217         Call `tramp-error-with-buffer' with vector and buffer.
1218         (tramp-current-connection): Remove.
1219         (tramp-maybe-open-connection): The car of
1220         `tramp-current-connection' are the first 3 slots of the vector.
1222 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
1224         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1225         inside continued strings.
1227 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
1229         Timestamp fixes for undo (Bug#14824).
1230         * files.el (clear-visited-file-modtime): Move here from fileio.c.
1232 2013-07-10  Leo Liu  <sdl.web@gmail.com>
1234         * files.el (require-final-newline): Allow safe local value.
1235         (Bug#14834)
1237 2013-07-09  Leo Liu  <sdl.web@gmail.com>
1239         * ido.el (ido-read-directory-name): Handle fallback.
1240         (ido-read-file-name): Update DIR to ido-current-directory.
1241         (Bug#1516)
1242         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
1244 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
1246         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1247         "autoload".  Remove "warn lower camel case" section, previously
1248         commented out.  Highlight negation char.  Do not highlight the
1249         target in singleton method definitions.
1251 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1253         * faces.el (tty-setup-hook): Declare the hook.
1255         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1256         and detect when a guard/pred depends on local vars (bug#14773).
1257         (pcase--u1): Adjust caller.
1259 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
1261         * simple.el (line-move-partial, line-move): Account for
1262         line-spacing.
1263         (line-move-partial): Avoid setting vscroll when the last
1264         partially-visible line in window is of default height.
1266 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1268         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1269         been used a while.
1271 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
1273         * subr.el (read-quoted-char): Remove unused local variable `char'.
1275 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
1277         * ediff.el (ediff-version): Version update.
1278         (ediff-files-command, ediff3-files-command, ediff-merge-command)
1279         (ediff-merge-with-ancestor-command, ediff-directories-command)
1280         (ediff-directories3-command, ediff-merge-directories-command)
1281         (ediff-merge-directories-with-ancestor-command): New functions.
1282         All are command-line interfaces to ediff: to facilitate calling
1283         Emacs with the appropriate ediff functions invoked.
1285         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1286         (viper-save-kill-buffer): Check if buffer is modified.
1288         * viper.el (viper-version): Version update.
1289         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1291 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1293         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1294         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1295         (viper-intercept-ESC-key): Simplify.
1296         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1297         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1298         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1299         (viper-setup-ESC-to-escape): New functions.
1300         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1301         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
1303 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
1305         * simple.el (default-font-height, window-screen-lines):
1306         New functions.
1307         (line-move, line-move-partial): Use them instead of
1308         frame-char-height and window-text-height.  This makes scrolling
1309         text smoother when the buffer's default face uses a font that is
1310         different from the frame's default font.
1312 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
1314         * files.el (write-file): Do not display confirm dialog for NS,
1315         it does its own dialog, which can't be cancelled (Bug#14578).
1317 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
1319         * simple.el (line-move-partial): Adjust the row returned by
1320         posn-at-point for the current window-vscroll.  (Bug#14567)
1322 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
1324         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1325         (tramp-sh-file-inotifywait-process-filter): Handle file names with
1326         spaces.
1328 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
1330         * window.el (window-state-put-stale-windows): New variable.
1331         (window--state-put-2): Save list of windows without matching buffer.
1332         (window-state-put): Remove "bufferless" windows if possible.
1334 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
1336         * simple.el (alternatives-define): Remove leftover :group keyword.
1337         Tweak docstring.
1339 2013-07-06  Leo Liu  <sdl.web@gmail.com>
1341         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1342         (ido-enable-virtual-buffers): New variable.
1343         (ido-buffer-internal, ido-toggle-virtual-buffers)
1344         (ido-make-buffer-list): Use it.
1345         (ido-exhibit): Support turning on and off virtual buffers
1346         automatically.
1348 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
1350         * simple.el (alternatives-define): New macro.
1352 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1354         * subr.el (read-quoted-char): Use read-key.
1355         (sit-for): Let read-event decode tty input (bug#14782).
1357 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
1359         * calendar/todo-mode.el: Add handling of file deletion, both by
1360         mode command and externally.  Fix various related bugs.
1361         Clarify Commentary and improve some documentation strings and code.
1362         (todo-delete-file): New command.
1363         (todo-check-file): New function.
1364         (todo-show): Handle external deletion of the file we're trying to
1365         show (bug#14688).  Replace called-interactively-p by an optional
1366         prefix argument to avoid problematic interaction with catch form
1367         when byte compiled (bug#14702).
1368         (todo-quit): Handle external deletion of the archive's todo file.
1369         Make sure the buffer that was visiting the archive file is still
1370         live before trying to bury it.
1371         (todo-category-completions): Handle external deletion of any
1372         category completion files.
1373         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1374         of todo files, in case of external deletion.
1375         (todo-add-file): Replace unnecessary setq by let-binding.
1376         (todo-find-archive): Check whether there are any archives.
1377         Replace unnecessary setq by let-binding.
1378         (todo-archive-done-item): Use find-file-noselect to get the
1379         archive buffer whether or not the archive already exists.
1380         Remove superfluous code.  Use file size instead of buffer-file-name to
1381         check if the archive is new; if it is, update list of archives.
1382         (todo-default-todo-file): Allow nil to be a valid value for when
1383         there are no todo files.
1384         (todo-reevaluate-default-file-defcustom): Use corrected definition
1385         of todo-default-todo-file.
1386         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1387         (todo-delete-category, todo-show-categories-table)
1388         (todo-category-number): Clarify comment.
1389         (todo-filter-items): Clarify documentation string.
1390         (todo-show-current-file, todo-display-as-todo-file)
1391         (todo-reset-and-enable-done-separator): Tweak documentation string.
1392         (todo-done-separator): Make separator length window-width, since
1393         bug#2749 is now fixed.
1395 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
1397         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1398         Support both "gvfs-monitor-dir" and "inotifywait".
1399         (tramp-sh-file-inotifywait-process-filter): Rename from
1400         `tramp-sh-file-notify-process-filter'.
1401         (tramp-sh-file-gvfs-monitor-dir-process-filter)
1402         (tramp-get-remote-gvfs-monitor-dir): New defuns.
1404 2013-07-05  Leo Liu  <sdl.web@gmail.com>
1406         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1408 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1410         * frame.el (display-pixel-height, display-pixel-width)
1411         (display-mm-height, display-mm-width): Mention behavior on
1412         multi-monitor setups in docstrings.
1413         (w32-display-monitor-attributes-list): Declare function.
1414         (display-monitor-attributes-list): Use it.
1416 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
1418         * filenotify.el: New package.
1420         * autorevert.el (top): Require filenotify.el.
1421         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
1422         instead.
1423         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1424         (auto-revert-notify-handler): Use `file-notify-*' functions.
1426         * subr.el (file-notify-handle-event): Move function to filenotify.el.
1428         * net/tramp.el (tramp-file-name-for-operation):
1429         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1431         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1432         for `file-notify-add-watch' and `file-notify-rm-watch'.
1433         (tramp-process-sentinel): Improve trace.
1434         (tramp-sh-handle-file-notify-add-watch)
1435         (tramp-sh-file-notify-process-filter)
1436         (tramp-sh-handle-file-notify-rm-watch)
1437         (tramp-get-remote-inotifywait): New defuns.
1439 2013-07-03  Juri Linkov  <juri@jurta.org>
1441         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1442         call of `occur-read-primary-args' to interactive spec.
1444         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1445         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
1447 2013-07-03  Matthias Meulien  <orontee@gmail.com>
1449         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1450         `Buffer-menu-multi-occur'.  Add it to the menu.
1451         (Buffer-menu-mode): Document it in docstring.
1452         (Buffer-menu-multi-occur): New command.  (Bug#14673)
1454 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1456         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1457         keywords and built-ins.
1459 2013-07-03  Glenn Morris  <rgm@gnu.org>
1461         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
1463         Make info-xref checks case-sensitive by default
1464         * info.el (Info-find-node, Info-find-in-tag-table)
1465         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1466         Add option for exact case matching of nodes.
1467         * info-xref.el (info-xref): New custom group.
1468         (info-xref-case-fold): New option.
1469         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1471 2013-07-03  Leo Liu  <sdl.web@gmail.com>
1473         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1475 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1477         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1478         middle of block statement initially, lower the depth.  Remove
1479         FIXME comment, not longer valid.  Remove middle of block statement
1480         detection, no need to do that anymore since we've been using
1481         `ruby-parse-region' here.
1483 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
1485         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1487 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1489         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1491 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
1493         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1494         (desktop-restore-in-current-display): New customization option.
1495         (desktop--excluded-frame-parameters): Add `font'.
1496         (desktop--save-frames): Rename from desktop--save-windows.
1497         (desktop--restore-in-this-display-p): New function.
1498         (desktop--make-full-frame): Remove unwanted width/height from
1499         full(width|height) frames.
1500         (desktop--restore-frames): Rename from desktop--restore-windows.
1501         Obey desktop-restore-current-display.  Do not delete old frames or
1502         select a new frame unless we were able to restore at least one frame.
1504 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
1506         * files.el (find-file-noselect): Simplify conditional expression.
1508         * remember.el (remember-append-to-file):
1509         Don't mix `find-buffer-visiting' and `get-file-buffer'.
1511         Add `remember-notes' function to store random notes across Emacs
1512         restarts.
1513         * remember.el (remember-data-file): Add :set callback to affect
1514         notes buffer (if any).
1515         (remember-notes): New command.
1516         (remember-notes-buffer-name, bury-remember-notes-on-kill):
1517         New defcustoms for the `remember-notes' function.
1518         (remember-notes-save-and-bury-buffer): New command.
1519         (remember-notes-mode-map): New variable.
1520         (remember-mode): New minor mode.
1521         (remember-notes--kill-buffer-query): New function.
1522         * startup.el (initial-buffer-choice): Add notes to custom type.
1524 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
1526         * bindings.el (right-char, left-char): Don't call sit-for, this is
1527         no longer needed.  Use arithmetic comparison only for numerical
1528         arguments.
1530         * international/mule-cmds.el (select-safe-coding-system):
1531         Handle the case of FROM being a string correctly.  (Bug#14755)
1533 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1535         * net/shr.el (shr-make-table-1): Add a sanity check that allows
1536         progression on degenerate tables.
1537         (shr-rescale-image): ImageMagick animated images currently don't work.
1539 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
1541         Some fixes and improvements for desktop frame restoration.
1542         It is still experimental and disabled by default.
1543         * desktop.el (desktop--save-windows): Put the selected frame at
1544         the head of the list.
1545         (desktop--make-full-frame): New function.
1546         (desktop--restore-windows): Try to re-select the frame that was
1547         selected upon saving.  Do not abort if some frames fail to restore,
1548         just show an error message and continue.  Set up maximized frames
1549         so they have default non-maximized dimensions.
1551 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1553         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1554         Don't start heredoc inside a string or comment.
1556 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
1558         * bindings.el (visual-order-cursor-movement): New defcustom.
1559         (right-char, left-char): Provide visual-order cursor motion by
1560         calling move-point-visually.  Update the doc strings.
1562 2013-06-28  Kenichi Handa  <handa@gnu.org>
1564         * international/mule.el (define-coding-system): New coding system
1565         properties :inhibit-null-byte-detection,
1566         :inhibit-iso-escape-detection, and :prefer-utf-8.
1567         (set-buffer-file-coding-system): If :charset-list property of
1568         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1569         appropriate for setting.
1571         * international/mule-cmds.el (select-safe-coding-system):
1572         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1573         multibyte characters, return utf-8 (or one of its siblings).
1575         * international/mule-conf.el (prefer-utf-8): New coding system.
1576         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1577         files.
1579 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
1581         * net/shr.el (shr-render-region): New function.
1583         * net/eww.el: Autoload `eww-browse-url'.
1585 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
1587         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1588         Adapt to `package-desc-version' being a list.
1589         Use `package--ac-desc-version' to retrieve version from a package
1590         archive element.
1592 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
1594         New experimental feature to save&restore window and frame setup.
1595         * desktop.el (desktop-save-windows): New defcustom.
1596         (desktop--saved-states): New var.
1597         (desktop--excluded-frame-parameters): New defconst.
1598         (desktop--filter-frame-parms, desktop--find-frame-in-display)
1599         (desktop--restore-windows, desktop--save-windows): New functions.
1600         (desktop-save): Call `desktop--save-windows'.
1601         (desktop-read): Call `desktop--restore-windows'.
1603 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1605         * net/shr.el (add-face-text-property): Remove compat definition.
1607 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1609         * info.el (Info-try-follow-nearest-node): Move search for footnote
1610         above search for node name to prevent missing a footnote (bug#14717).
1612 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1614         * obsolete/otodo-mode.el: Add obsolescence info to file header.
1616 2013-06-27  Leo Liu  <sdl.web@gmail.com>
1618         * net/eww.el (eww-read-bookmarks): Check file size.
1620 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1622         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1623         advice--pending if newdef is nil or an autoload (bug#13820).
1624         (advice-mapc): New function.
1626 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1628         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1629         probably.
1630         (eww-mode-map): Add a menu bar.
1631         (eww-add-bookmark): New command.
1632         (eww-bookmark-mode): New mode and commands.
1633         (eww-add-bookmark): Remove newlines from the title.
1634         (eww-bookmark-browse): Don't bug out if it's the only window.
1636 2013-06-26  Glenn Morris  <rgm@gnu.org>
1638         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1639         (hfy-size): Handle ttys.  (Bug#14668)
1641         * info-xref.el: Update for Texinfo 5 change in *note format.
1642         (info-xref-node-re, info-xref-note-re): New constants.
1643         (info-xref-check-buffer): Use info-xref-note-re.
1645 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1647         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1649         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1650         nil terminate the loop (bug#14718).
1652 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1654         * net/eww.el: Rework history traversal.  When going forward/back,
1655         put these actions into the history, too, so that they can be
1656         replayed.
1657         (eww-render): Move the history reset to the correct buffer.
1659 2013-06-25  Juri Linkov  <juri@jurta.org>
1661         * files-x.el (modify-dir-local-variable): Change the header comment
1662         in the file with directory local variables.  (Bug#14692)
1664         * files-x.el (read-file-local-variable-value): Add `default'.
1665         (Bug#14710)
1667 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1669         * net/eww.el (eww-make-unique-file-name): Create a unique file
1670         name before saving to entering `y' accidentally asynchronously.
1672 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
1674         * net/eww.el (eww-download): New command and keystroke.
1676 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1678         * net/eww.el (eww-copy-page-url): Change name of command.
1680         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1681         be more consistent with Info and dired.
1683         * net/eww.el (eww-mode-map): Ditto.
1685 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1687         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
1688         packages from archives.
1689         (package-archive-contents): Change format; include obsolete packages.
1690         (package-desc): Use `dir' to mark builtin packages.
1691         (package--from-builtin): Set the `dir' field to `builtin'.
1692         (generated-autoload-file, version-control): Declare.
1693         (package-compute-transaction): Change first arg and return value to be
1694         lists of package-descs.  Adjust to new package-archive-contents format.
1695         (package--add-to-archive-contents): Adjust to new
1696         package-archive-contents format.
1697         (package-download-transaction): Arg is now a list of package-descs.
1698         (package-install): If `pkg' is a package name, pass it as
1699         a requirement, so it is subject to the usual (e.g. disabled) checks.
1700         (describe-package): Accept package-desc as well.
1701         (describe-package-1): Describe a specific package-desc.  Add links to
1702         other package-descs for the same package name.
1703         (package-menu-describe-package): Pass the actual package-desc.
1704         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1705         works correctly.
1706         (package-desc-status): New function.
1707         (package-menu--refresh): New function, extracted
1708         from package-menu--generate.
1709         (package-menu--generate): Use it.
1710         (package-delete): Update package-alist.
1711         (package-menu-execute): Don't call package-initialize.
1713         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1714         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1715         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1716         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1717         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1718         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1720 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
1722         * window.el (window--state-get-1): Workaround for bug#14527.
1723         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1725 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1727         * net/eww.el (eww-back-url): Implement the history by stashing all
1728         the data into a list.
1729         (eww-forward-url): Allow going forward in the history, too.
1731 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1733         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1734         for values and use read--expression for expressions (bug#14710).
1735         (read-file-local-variable): Avoid setq.
1736         (read-file-local-variable-mode): Use minor-mode-list.
1738 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1740         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
1741         for DOI URLs.
1743 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1745         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
1746         Update imenu-support when dialect changes.
1748 2013-06-25  Leo Liu  <sdl.web@gmail.com>
1750         * ido.el (ido-read-internal): Allow forward slash on windows.
1752 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1754         * net/eww.el (eww): Start of strings is \\`, not ^.
1756 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
1758         * net/shr.el (shr-browse-url): Fix interactive spec.
1760         * net/eww.el (eww): Add a trailing slash to domain names.
1762 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
1764         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1766 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1768         * net/shr.el (shr-browse-url): Use an external browser if given a
1769         prefix.
1771         * net/eww.el (eww-external-browser): Move to shr.
1773 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
1775         * net/eww.el (eww): Work more correctly for file: URLs.
1776         (eww-detect-charset): Allow quoted charsets.
1777         (eww-yank-page-url): New command and keystroke.
1779 2013-06-24  Daiki Ueno  <ueno@gnu.org>
1781         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1782         file name of gpg executable.
1783         (epg-context-program): New function.
1784         (epg-context-home-directory): New function.
1785         (epg-context-set-program): New function.
1786         (epg-context-set-home-directory): New function.
1787         (epg--start): Use `epg-context-program' instead of
1788         'epg-gpg-program'.
1789         (epg--list-keys-1): Likewise.
1791 2013-06-24  Leo Liu  <sdl.web@gmail.com>
1793         * ido.el (ido-read-internal): Fix bug#14620.
1795 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
1797         * faces.el (face-documentation): Simplify.
1798         (read-face-attribute, tty-find-type, x-resolve-font-name):
1799         Use `string-match-p'.
1800         (list-faces-display): Use `string-match-p'.  Simplify.
1801         (face-spec-recalc): Check face to avoid face alias loops.
1802         (read-color): Use `string-match-p' and non-capturing parenthesis.
1804 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1806         * net/shr.el (shr-rescale-image): Use the new
1807         :max-width/:max-height functionality.
1809 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
1811         * net/eww.el (eww-search-prefix): New variable.
1812         (eww): Use it.
1813         (eww-external-browser): New variable.
1814         (eww-mode-map): New keystroke.
1815         (eww-browse-with-external-browser): New command.
1817         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1819 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
1821         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1822         Don't skip aligning the next header field when padding is 0;
1823         otherwise, field width is not respected unless the title is as
1824         wide as the field.
1826 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1828         * emacs-lisp/package.el (package-el-version): Remove.
1829         (package-process-define-package): Fix inf-loop.
1830         (package-install): Allow symbols as arguments again.
1832 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
1834         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1835         add some more keyword-like methods.
1836         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1838 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
1840         * bs.el (bs-buffer-show-mark): Make defvar-local.
1841         (bs-mode): Use setq-local.
1843         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1844         (emacs-lock--try-unlocking): Make defvar-local.
1846 2013-06-22  Glenn Morris  <rgm@gnu.org>
1848         * play/cookie1.el (cookie-apropos): Minor simplification.
1850         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1852 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
1854         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1855         `regexp-opt', it breaks the build during dumping.
1857 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1859         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1860         Highlight keyword-like methods on Kernel and Module with
1861         font-lock-builtin-face.
1862         (auto-mode-alist): Consolidate different entries into one regexp
1863         and add more *file-s.
1865 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
1867         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1869         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1870         (diary-entry): Use it in the action of this button type instead of
1871         diary-goto-entry.
1873         * calendar/todo-mode.el: New version.
1874         (todo-add-category): Append new category to end of file and give
1875         it the highest number, instead of putting it at the beginning and
1876         giving it 0.  Incorporate noninteractive functionality.
1877         (todo-forward-category): Adapt to 1-based category numbering.
1878         Allow skipping over archived categories.
1879         (todo-backward-category): Derive from todo-forward-category.
1880         (todo-backward-item, todo-forward-item): Make noninteractive and
1881         delegate interactive part to new commands.  Make sensitive to done items.
1882         (todo-categories): Make value an alist of category names and
1883         vectors of item counts.
1884         (todo-category-beg): Make a defconst.
1885         (todo-category-number): Use 1 instead of 0 as initial value.
1886         (todo-category-select): Make sensitive to overlays, optional item
1887         highlighting and done items.
1888         (todo-delete-item): Make sensitive to overlays and marked and done items.
1889         (todo-edit-item): Make sensitive to overlays and editing of
1890         date/time header optional.  Add format checks.
1891         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
1892         no-op if point is not on an item.  Advertise using todo-edit-quit.
1893         (todo-edit-mode): Make sensitive to new format, font-locking, and
1894         multiple todo files.
1895         (todo-insert-item, todo-insert-item-here): Derive from
1896         todo-basic-insert-item and extend functionality.
1897         (todo-item-end, todo-item-start): Make sensitive to done items.
1898         (todo-item-string): Don't return text properties.  Restore point.
1899         (todo-jump-to-category): Make sensitive to multiple todo files and
1900         todo archives.  Use extended category completion.
1901         (todo-lower-item, todo-raise-item): Rename to *-priority and
1902         derive from todo-set-item-priority.
1903         (todo-mode): Derive from special-mode.  Make sensitive to new
1904         format, font-locking and multiple todo files.  Make read-only.
1905         (todo-mode-map): Don't suppress digit keys, so they can supply
1906         prefix arguments.  Add many new key bindings.
1907         (todo-prefix): Insert as an overlay instead of file text.
1908         Change semantics from diary date expression to purely visual mark.
1909         (todo-print): Rename to todo-print-buffer.  Make buffer display
1910         features printable.  Remove option to restrict number of items
1911         printed.  Add option to print to file.
1912         (todo-print-function): Rename to todo-print-buffer-function.
1913         (todo-quit): Extend to handle exiting new todo modes.
1914         (todo-remove-item): Make sensitive to overlays.
1915         (todo-save): Extend to buffers of filtered items.
1916         (todo-show): Make sensitive to done items, multiple todo files and
1917         new todo modes.  Offer to convert legacy todo file before creating
1918         first new todo file.
1919         (todo-show-priorities): Rename to todo-top-priorities.
1920         Change semantics of value 0.
1921         (todo-top-priorities): Rename to todo-filter-top-priorities,
1922         derive from todo-filter-items and extend functionality.
1923         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
1924         and extend functionality to other types of filtered items.
1925         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
1926         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
1927         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
1928         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
1929         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
1930         (todo-edit-mode-hook, todo-entry-prefix-function)
1931         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
1932         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
1933         (todo-initials, todo-insert-threshold, todo-item-string-start)
1934         (todo-line-string, todo-menu, todo-mode-hook)
1935         (todo-more-important-p, todo-previous-answer, todo-previous-line)
1936         (todo-print-priorities, todo-remove-separator)
1937         (todo-save-top-priorities-too, todo-string-count-lines)
1938         (todo-string-multiline-p, todo-time-string-format)
1939         (todo-tmp-buffer-name): Remove.
1940         (todo-add-file, todo-archive-done-item, todo-choose-archive)
1941         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
1942         (todo-edit-category-diary-inclusion)
1943         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
1944         (todo-edit-file, todo-edit-item-date-day)
1945         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
1946         (todo-edit-item-date-month, todo-edit-item-date-to-today)
1947         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
1948         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
1949         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
1950         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
1951         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
1952         (todo-filter-top-priorities-multifile, todo-find-archive)
1953         (todo-find-filtered-items-file, todo-go-to-source-item)
1954         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
1955         (todo-jump-to-archive-category, todo-lower-category)
1956         (todo-mark-category, todo-marked-item-p, todo-merge-category)
1957         (todo-move-category, todo-move-item, todo-next-button)
1958         (todo-next-item, todo-padded-string, todo-powerset)
1959         (todo-previous-button, todo-previous-item)
1960         (todo-print-buffer-to-file, todo-raise-category)
1961         (todo-rename-category, todo-repair-categories-sexp, todo-search)
1962         (todo-set-category-number, todo-set-item-priority)
1963         (todo-set-top-priorities-in-category)
1964         (todo-set-top-priorities-in-file, todo-show-categories-table)
1965         (todo-sort-categories-alphabetically-or-numerically)
1966         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
1967         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
1968         (todo-toggle-item-header, todo-toggle-item-highlighting)
1969         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
1970         (todo-toggle-view-done-items, todo-toggle-view-done-only)
1971         (todo-unarchive-items, todo-unmark-category): New commands.
1972         (todo-absolute-file-name, todo-add-to-buffer-list)
1973         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
1974         (todo-basic-insert-item, todo-category-completions)
1975         (todo-category-number, todo-category-string-matcher-1)
1976         (todo-category-string-matcher-2, todo-check-filtered-items-file)
1977         (todo-check-format, todo-clear-matches)
1978         (todo-comment-string-matcher, todo-convert-legacy-date-time)
1979         (todo-current-category, todo-date-string-matcher)
1980         (todo-define-insertion-command, todo-diary-expired-matcher)
1981         (todo-diary-goto-entry, todo-diary-item-p)
1982         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
1983         (todo-display-categories, todo-display-sorted, todo-done-item-p)
1984         (todo-done-item-section-p, todo-done-separator)
1985         (todo-done-string-matcher, todo-files, todo-filter-items)
1986         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
1987         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
1988         (todo-insert-category-line, todo-insert-item-from-calendar)
1989         (todo-insert-sort-button, todo-insert-with-overlays)
1990         (todo-insertion-command-name, todo-insertion-key-bindings)
1991         (todo-label-to-key, todo-longest-category-name-length)
1992         (todo-make-categories-list, todo-mode-external-set)
1993         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
1994         (todo-modes-set-3, todo-multiple-filter-files)
1995         (todo-nondiary-marker-matcher, todo-prefix-overlays)
1996         (todo-read-category, todo-read-date, todo-read-dayname)
1997         (todo-read-file-name, todo-read-time)
1998         (todo-reevaluate-category-completions-files-defcustom)
1999         (todo-reevaluate-default-file-defcustom)
2000         (todo-reevaluate-filelist-defcustoms)
2001         (todo-reevaluate-filter-files-defcustom)
2002         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2003         (todo-reset-done-separator, todo-reset-done-separator-string)
2004         (todo-reset-done-string, todo-reset-global-current-todo-file)
2005         (todo-reset-highlight-item, todo-reset-nondiary-marker)
2006         (todo-reset-prefix, todo-set-categories)
2007         (todo-set-date-from-calendar, todo-set-show-current-file)
2008         (todo-set-top-priorities, todo-short-file-name)
2009         (todo-show-current-file, todo-sort, todo-time-string-matcher)
2010         (todo-total-item-counts, todo-update-buffer-list)
2011         (todo-update-categories-display, todo-update-categories-sexp)
2012         (todo-update-count, todo-validate-name, todo-y-or-n-p):
2013         New functions.
2014         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2015         New major modes.
2016         (todo-categories, todo-display, todo-edit, todo-faces)
2017         (todo-filtered): New defgroups.
2018         (todo-archived-only, todo-button, todo-category-string, todo-date)
2019         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2020         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2021         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2022         (todo-add-item-if-new-category, todo-always-add-time-string)
2023         (todo-categories-align, todo-categories-archived-label)
2024         (todo-categories-category-label, todo-categories-diary-label)
2025         (todo-categories-done-label, todo-categories-number-separator)
2026         (todo-categories-todo-label, todo-categories-totals-label)
2027         (todo-category-completions-files, todo-completion-ignore-case)
2028         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2029         (todo-done-separator-string, todo-done-string)
2030         (todo-files-function, todo-filter-done-items, todo-filter-files)
2031         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2032         (todo-initial-category, todo-initial-file, todo-item-mark)
2033         (todo-legacy-date-time-regexp, todo-mode-line-function)
2034         (todo-nondiary-marker, todo-number-prefix)
2035         (todo-print-buffer-function, todo-show-current-file)
2036         (todo-show-done-only, todo-show-first, todo-show-with-done)
2037         (todo-skip-archived-categories, todo-top-priorities-overrides)
2038         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2039         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2040         New defcustoms.
2041         (todo-category-done, todo-date-pattern, todo-date-string-start)
2042         (todo-diary-items-buffer, todo-done-string-start)
2043         (todo-filtered-items-buffer, todo-item-start)
2044         (todo-month-abbrev-array, todo-month-name-array)
2045         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2046         (todo-top-priorities-buffer): New defconsts.
2047         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2048         (todo-categories-with-marks, todo-category-string-face)
2049         (todo-comment-face, todo-comment-string, todo-current-todo-file)
2050         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2051         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2052         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2053         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2054         (todo-font-lock-keywords, todo-global-current-todo-file)
2055         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2056         (todo-insertion-commands-args)
2057         (todo-insertion-commands-args-genlist)
2058         (todo-insertion-commands-names, todo-insertion-map)
2059         (todo-key-bindings-t, todo-key-bindings-t+a)
2060         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2061         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2062         (todo-nondiary-face, todo-print-buffer, todo-time-face)
2063         (todo-visited): New variables.
2065 2013-06-21  Glenn Morris  <rgm@gnu.org>
2067         * play/cookie1.el (cookie-apropos): Add optional display argument.
2068         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2069         (psychoanalyze-pinhead): Use cookie-doctor.
2071 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2073         * emacs-lisp/package.el (tar-get-file-descriptor)
2074         (tar--extract): Declare.
2076 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
2078         Extend flymake's warning predicate to be a function (bug#14217).
2079         * progmodes/flymake.el (flymake-warning-predicate): New.
2080         (flymake-parse-line): Use it.
2081         (flymake-warning-re): Make obsolete alias to
2082         `flymake-warning-predicate'.
2084 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2086         * emacs-lisp/package.el (package-alist): Include obsolete packages.
2087         (package-obsolete-list): Remove.
2088         (package-activate): Remove min-version argument.  Add `force' argument.
2089         Adjust to new package-alist format.
2090         (package-mark-obsolete): Remove.
2091         (package-unpack): Force reload of the package's autoloads.
2092         (package-installed-p): Check builtins if the installed package is not
2093         recent enough.
2094         (package-initialize): Don't reset package-obsolete-list.
2095         Don't specify which package version to activate.
2096         (package-process-define-package, describe-package-1)
2097         (package-menu--generate): Adjust to new package-alist format.
2099 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2101         * allout-widgets.el (allout-widgets-mode-off)
2102         (allout-widgets-mode-on, allout-widgets-pre-command-business)
2103         (allout-widgets-post-command-business)
2104         (allout-widgets-after-copy-or-kill-function)
2105         (allout-widgets-after-undo-function, allout-test-range-overlaps)
2106         (allout-decorate-item-and-context)
2107         (allout-graphics-modification-handler): Fix typos in docstrings.
2108         (allout-get-or-create-parent-widget): Use `looking-at-p'.
2110         * cmuscheme.el (scheme-start-file): Doc fix.
2111         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2112         (scheme-input-filter): Use `string-match-p'.
2114         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2116         * dired-x.el: Use Dired consistently in docstrings.
2118         * dired.el: Use Dired consistently in docstrings.
2119         (dired-readin, dired-mode): Use `setq-local'.
2120         (dired-switches-alist): Make defvar-local.
2121         (dired-buffers-for-dir): Use `zerop'.
2122         (dired-safe-switches-p, dired-switches-escape-p)
2123         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2124         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2125         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2126         (dired-goto-next-nontrivial-file): Use `string-match-p'.
2127         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2128         (dired-toggle-marks, dired-mark-files-containing-regexp)
2129         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2130         (dired-flag-auto-save-files, dired-flag-backup-files):
2131         Use `looking-at-p'.
2132         (dired-mark-files-regexp, dired-build-subdir-alist):
2133         Use `string-match-p', `looking-at-p'.
2135         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2136         (direct-print-region-helper): Use `string-match-p'.
2138 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2140         * comint.el (comint-redirect-results-list-from-process):
2141         Fix infinite loop.
2143 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2145         * net/eww.el (eww-update-header-line-format): Quote % characters.
2147 2013-06-21  Glenn Morris  <rgm@gnu.org>
2149         * play/cookie1.el (cookie): New custom group.
2150         (cookie-file): New option.
2151         (cookie-check-file): New function.
2152         (cookie): Make it interactive.  Make start and end messages optional.
2153         Interactively, display the result.  Default to cookie-file.
2154         (cookie-insert): Default to cookie-file.
2155         (cookie-snarf): Make start and end messages optional.
2156         Default to cookie-file.  Use with-temp-buffer.
2157         (cookie-read): Rename from read-cookie.
2158         Make start and end messages optional.  Default to cookie-file.
2159         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
2160         Do not autoload it.
2161         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2162         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2164 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2166         * progmodes/octave.el (octave-mode): Backward compatibility fix.
2168 2013-06-21  Glenn Morris  <rgm@gnu.org>
2170         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2172 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2173             Daniel Hackney  <dan@haxney.org>
2175         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2176         Consolidate the single-file vs tarball code.
2177         (package-desc-suffix): New function.
2178         (package-desc-full-name): Don't bother inlining it.
2179         (package-load-descriptor): Return the new package-desc.
2180         (package-mark-obsolete): Remove unused arg `package'.
2181         (package-unpack): Make it work for single files as well.
2182         Make it update package-alist.
2183         (package--make-autoloads-and-stuff): Rename from
2184         package--make-autoloads-and-compile.  Don't compile any more.
2185         (package--compile): New function.
2186         (package-generate-description-file): New function, extracted from
2187         package-unpack-single.
2188         (package-unpack-single): Remove.
2189         (package--with-work-buffer): Add indentation and debugging info.
2190         (package-download-single): Remove.
2191         (package-install-from-archive): Rename from package-download-tar, make
2192         it take a pkg-desc, and make it work for single files as well.
2193         (package-download-transaction): Simplify.
2194         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
2195         external tar program.
2196         (package-install-from-buffer): Remove `pkg-desc' argument.
2197         Use package-tar-file-info for tar-mode buffers.
2198         (package-install-file): Simplify accordingly.
2199         (package-archive-base): Change to take a pkg-desc.
2200         * tar-mode.el (tar--check-descriptor): New function, extracted from
2201         tar-get-descriptor.
2202         (tar-get-descriptor): Use it.
2203         (tar-get-file-descriptor): New function.
2204         (tar--extract): New function, extracted from tar-extract.
2205         (tar--extract): Use it.
2206         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2207         case the summary uses non-ascii.  Adjust to new calling convention of
2208         package-tar-file-info.
2210 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2212         * comint.el (comint-redirect-results-list-from-process):
2213         Fix random delay.  (Bug#14681)
2215 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2217         * profiler.el (profiler-format-number): Use log, not log10.
2219 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2221         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2223 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2225         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2226         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2227         yet available.
2228         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2229         (AUTOGENEL): ... here.
2230         * emacs-lisp/cl-macs.el (cl--sublis): New function.
2231         (cl--defsubst-expand): Use it.
2233 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
2235         * subr.el (log10): Move here from C code, and declare as obsolete.
2236         All uses of (log10 X) replaced with (log X 10).
2238 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2240         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2241         Declare with `defvar-local'.
2242         (tabulated-list-use-header-line, tabulated-list-entries)
2243         (tabulated-list-padding, tabulated-list-printer)
2244         (tabulated-list-sort-key): Declare with `defvar-local'.
2245         (tabulated-list-init-header, tabulated-list-print-fake-header):
2246         Use `setq-local'.
2248 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
2250         * arc-mode.el (archive-mode): Add `archive-write-file' to
2251         `write-contents-functions' also for remote files.  (Bug#14652)
2253 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2255         * cus-edit.el (custom-commands): Fix typos.
2256         (custom-display): Fix tooltip text.
2257         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2258         Fix typos in docstrings.
2259         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2260         (custom-unlispify-menu-entry, custom-magic-value-create)
2261         (custom-add-see-also, custom-group-value-create): Use ?\s.
2262         (custom-guess-type, customize-apropos, editable-field)
2263         (custom-face-value-create): Use `string-match-p'.
2264         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2266         * custom.el (custom-load-symbol): Use `string-match-p'.
2268         * ansi-color.el: Convert to lexical binding.
2269         (ansi-colors): Fix URL.
2270         (ansi-color-context, ansi-color-context-region): Use defvar-local.
2271         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2272         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2274 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2276         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2278         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2280 2013-06-19  Tom Tromey  <tromey@redhat.com>
2282         * net/eww.el (eww-top-url): Remove.
2283         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2284         (eww-render): Set new variables.  Don't set eww-top-url.
2285         (eww-handle-link): Handle "prev", "home", and "contents".
2286         Downcase the rel text.
2287         (eww-top-url): Choose best top URL.
2289 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2291         * net/eww.el: Rewrite to implement form elements "by hand" instead of
2292         relying in widget.el.  Using widget.el leads to too many
2293         user interface inconsistencies.
2294         (eww-self-insert): Implement entering commands in text fields.
2295         (eww-process-text-input): New function to make text input field editing
2296         work.
2297         (eww-submit): Rewrite to use the new-style form methods.
2298         (eww-select-display): Display the correct selected item.
2299         (eww-change-select): Implement changing the select value.
2300         (eww-toggle-checkbox): Implement radio/checkboxes.
2301         (eww-update-field): Fix compilation error.
2302         (eww-tag-textarea): Implement <textarea>.
2304         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2305         we don't shadow mode-specific bindings.
2307         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2308         nothing to push.
2310         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2312 2013-06-19  Glenn Morris  <rgm@gnu.org>
2314         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2316 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
2318         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2319         not needed.
2321         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2323 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2325         * net/browse-url.el (browse-url-browser-function):
2326         `eww-browse-url' has the right calling signature, `eww' does not.
2328 2013-06-19  Glenn Morris  <rgm@gnu.org>
2330         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2331         Only eval autoloaded macros.
2332         (byte-compile-autoload): Only give the macro warning for macros.
2334         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2335         (ps-underlined-faces): Declare.
2337         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2338         (speedbar-add-supported-extension): Declare.
2340         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2341         Don't include a date stamp in the header of the generated file;
2342         it leads to needless differences between output files.
2344 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
2346         * net/secrets.el (secrets-struct-secret-content-type):
2347         Replace check of introspection data by a test call of "CreateItem".
2348         Some servers do not offer introspection.
2350 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2352         * electric.el (electric-pair-mode): Improve interaction with
2353         electric-layout-mode.
2354         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2355         (electric-pair-syntax): Use text-mode-syntax-table in comments
2356         and strings.
2357         (electric-pair--insert): New function.
2358         (electric-pair-post-self-insert-function): Use it and
2359         electric--after-char-pos.
2361 2013-06-19  Leo Liu  <sdl.web@gmail.com>
2363         * progmodes/octave.el (octave-help): Fix regexp.
2365 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2367         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2368         (shr-table-horizontal-line): Allow nil as a value, and change the
2369         default.
2370         (shr-insert-table-ruler): Respect the nil value.
2372 2013-06-18  Tom Tromey  <tromey@barimba>
2374         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2375         New defvars.
2376         (eww-open-file): New defun.
2377         (eww-render): Initialize new variables.
2378         (eww-display-html): Handle "link" and "a".
2379         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2380         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
2381         (eww-back-url): Rename from eww-previous-url.
2382         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2383         New defuns.
2385 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
2387         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2388         Distinguish ternary operator tokens from slash symbol and slash
2389         char literal.
2391 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2393         Convert symbol prettification into minor mode and global minor mode.
2395         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2396         `prog-prettify-symbols', and make a local defvar instead of defcustom.
2397         (prettify-symbols--keywords): Rename from
2398         `prog-prettify-symbols-alist' and make a local defvar.
2399         (prettify-symbols--compose-symbol): Rename from
2400         `prog--prettify-font-lock-compose-symbol'.
2401         (prettify-symbols--make-keywords): Rename from
2402         `prog-prettify-font-lock-symbols-keywords' and simplify.
2403         (prog-prettify-install): Remove.
2404         (prettify-symbols-mode): New minor mode, based on
2405         `prog-prettify-install'.
2406         (turn-on-prettify-symbols-mode): New function.
2407         (global-prettify-symbols-mode): New globalized minor mode.
2409         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2410         * progmodes/cfengine.el (cfengine3-mode):
2411         * progmodes/perl-mode.el (perl-mode): Don't call
2412         `prog-prettify-install'; set `prettify-symbols-alist' instead.
2414 2013-06-18  Juri Linkov  <juri@jurta.org>
2416         * files-x.el (modify-file-local-variable-message): New function.
2417         (modify-file-local-variable)
2418         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2419         and call `modify-file-local-variable-message' when it's non-nil.
2420         (add-file-local-variable, delete-file-local-variable)
2421         (add-file-local-variable-prop-line)
2422         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2423         and use it.  (Bug#9820)
2425 2013-06-18  Juri Linkov  <juri@jurta.org>
2427         * emulation/vi.el (vi-shell-op):
2428         * emulation/vip.el (vip-execute-com, ex-command):
2429         * emulation/viper-cmd.el (viper-exec-bang):
2430         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2431         the call of `shell-command-on-region'.  (Bug#14637)
2433         * simple.el (shell-command-on-region): Doc fix.
2435 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2437         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2438         (bug#14633).
2440 2013-06-18  Glenn Morris  <rgm@gnu.org>
2442         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2444         * newcomment.el (comment-search-forward, comment-search-backward):
2445         Doc fix.  (Bug#14376)
2447 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2449         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2450         (buffer-face-mode-invoke): Doc fix.
2452 2013-06-18  Matthias Meulien  <orontee@gmail.com>
2454         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2455         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2457 2013-06-18  Glenn Morris  <rgm@gnu.org>
2459         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2460         Replace obsolete function generic-make-keywords with its expansion.
2462         * progmodes/python.el (ffap-alist): Declare.
2464         * textmodes/reftex.el (bibtex-mode-map): Declare.
2466 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2468         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2469         (package-unpack, package-unpack-single): Return the pkg-dir.
2470         (package-download-transaction): Use it to update package-alist.
2472 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2474         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2475         possible choice.
2477 2013-06-17  Juri Linkov  <juri@jurta.org>
2479         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2481 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2483         * emacs-lisp/package.el (package-load-descriptor):
2484         Remove `with-syntax-table' call, `read' doesn't need it.
2485         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2487 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2489         * startup.el (command-line): Expand package name returned by
2490         `package--description-file' (bug#14639).
2492 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2494         * emacs-lisp/package.el (package-load-descriptor): Do not call
2495         `emacs-lisp-mode', just use its syntax table.
2497 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2499         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2500         `font-lock-extra-managed-props' if any prettifying keyword is added.
2501         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2502         (prog-mode): Use `setq-local'.
2504 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2506         * international/characters.el (standard-case-table): Set syntax of ?»
2507         and ?« to punctuation.
2509 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
2511         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2512         Save relevant match data before calling `syntax-ppss' (bug#14595).
2514 2013-06-15  Juri Linkov  <juri@jurta.org>
2516         * files-x.el (modify-file-local-variable-prop-line): Add local
2517         variables to the end of the existing comment on the first line.
2518         Use `file-auto-mode-skip' to skip interpreter magic line,
2519         and also skip XML declaration.
2521 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2523         * startup.el (package--builtin-versions): New var.
2524         (package-subdirectory-regexp): Remove.
2525         (package--description-file): Hard code its value instead.
2527         * emacs-lisp/package.el: Don't activate packages older than builtin.
2528         (package-obsolete-list): Rename from package-obsolete-alist, and make
2529         it into a simple list of package-desc.
2530         (package-strip-version): Remove.
2531         (package-built-in-p): Use package--builtin-versions.
2532         (package-mark-obsolete): Simplify.
2533         (package-process-define-package): Mark it obsolete if older than the
2534         builtin version.
2535         (package-handle-response): Use line-end-position.
2536         (package-read-archive-contents, package--download-one-archive):
2537         Simplify.
2538         (package--add-to-archive-contents): Skip if older than the builtin or
2539         installed version.
2540         (package-menu-describe-package): Fix last change.
2541         (package-list-unversioned): New var.
2542         (package-menu--generate): Use it.
2544         * emacs-lisp/autoload.el: Manage package--builtin-versions.
2545         (autoload--insert-text, autoload--insert-cookie-text): New functions.
2546         (autoload-builtin-package-versions): New variable.
2547         (autoload-generate-file-autoloads): Use them.
2548         Remove the list of autoloaded functions/macros from the
2549         (autoload...) comments.
2551         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2553 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
2555         * simple.el (line-move-partial): Don't jump to the next screen
2556         line as soon as it becomes visible.  Instead, continue enlarging
2557         the vscroll until the portion of a tall screen line that's left on
2558         display is about the height of the frame's default font.
2559         (Bug#14567)
2561 2013-06-15  Glenn Morris  <rgm@gnu.org>
2563         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2564         compilation-error-regexp-alist void, or local while let-bound.
2566         * progmodes/make-mode.el (makefile-mode-syntax-table):
2567         Treat "=" as punctuation.  (Bug#14614)
2569 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
2571         * help-fns.el (describe-variable):
2572         Add extra line for permanent-local variables.
2574 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
2576         * progmodes/scheme.el (scheme-font-lock-keywords-2):
2577         Add export, import, library.  (Bug#9164)
2578         (library): Set indent function.
2580 2013-06-14  Glenn Morris  <rgm@gnu.org>
2582         * term/xterm.el (xterm--query):
2583         Stop after first matching handler.  (Bug#14615)
2585 2013-06-14 Ivan Kanis  <ivan@kanis.fr>
2587         Add support for dired in saveplace.
2588         * dired.el (dired-initial-position-hook): New variable.
2589         (dired-initial-position): Call hook to place cursor position.
2590         * saveplace.el (save-place-to-alist): Add dired position.
2591         (save-place-dired-hook): New function.
2593 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2595         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2596         through a symbol rather than letrec.
2598         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
2599         (package-desc): Add `dir' field.
2600         (package-desc-full-name): New function.
2601         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
2602         (package-maybe-load-descriptor): Remove.
2603         (package-load-all-descriptors): Just call package-load-descriptor.
2604         (package--disabled-p): New function.
2605         (package-desc-vers, package-desc-doc): Remove aliases.
2606         (package--dir): Remove function.
2607         (package-activate): Check if a package is disabled.
2608         (package-process-define-package): New function, extracted from
2609         define-package.
2610         (define-package): Turn into a place holder.
2611         (package-unpack-single, package-tar-file-info):
2612         Use package--description-file.
2613         (package-compute-transaction): Use package--disabled-p.
2614         (package-download-transaction): Don't call
2615         package-maybe-load-descriptor since they're all loaded anyway.
2616         (package-install): Change argument to be a pkg-desc.
2617         (package-delete): Use a single pkg-desc argument.
2618         (describe-package-1): Use package-desc-dir instead of package--dir.
2619         Use package-desc property instead of package-symbol.
2620         (package-install-button-action): Adjust accordingly.
2621         (package--push): Rewrite.
2622         (package-menu--print-info): Adjust accordingly.  Change the ID format
2623         to be a pkg-desc.
2624         (package-menu-describe-package, package-menu-get-status)
2625         (package-menu--find-upgrades, package-menu-mark-upgrades)
2626         (package-menu-execute, package-menu--name-predicate):
2627         Adjust accordingly.
2628         * startup.el (package--description-file): New function.
2629         (command-line): Use it.
2630         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2631         Use package-desc-version.
2633         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2634         (byte-compile-preprocess): Use it.
2635         (byte-compile-file-form-defalias): Try a bit harder to use macros we
2636         can't quite recognize.
2637         (byte-compile-add-to-list): Remove.
2638         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2639         (cconv-closure-convert): Add assertion.
2641         * emacs-lisp/map-ynp.el: Use lexical-binding.
2642         (map-y-or-n-p): Remove unused vars `tail' and `object'.
2643         Factor out some repeated code.
2645 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2647         * subr.el (with-eval-after-load): New macro.
2648         (eval-after-load): Allow form to be a function.
2649         take advantage of lexical-binding.
2650         (do-after-load-evaluation): Use dolist and adjust to new format.
2651         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2653 2013-06-13  Juri Linkov  <juri@jurta.org>
2655         * replace.el (perform-replace): Display "symbol " and other search
2656         modes from `isearch-message-prefix' in the *Help* buffer.
2658         * isearch.el (isearch-query-replace): Add " symbol" and other
2659         possible search modes from `isearch-message-prefix' to the prompt.
2660         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2661         when reading a regexp to collect.
2663 2013-06-13  Juri Linkov  <juri@jurta.org>
2665         * isearch.el (word-search-regexp): Match whitespace if the search
2666         string begins or ends in whitespace.  The LAX arg is applied to
2667         both ends of the search string.  Use `regexp-quote' and explicit
2668         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
2669         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2670         boundaries are replaced with symbol boundaries, and characters
2671         between symbols match non-word non-symbol syntax.  (Bug#14602)
2673 2013-06-13  Juri Linkov  <juri@jurta.org>
2675         * isearch.el (isearch-del-char): Don't exceed the length of
2676         `isearch-string' by the prefix arg.  (Bug#14563)
2678 2013-06-13  Juri Linkov  <juri@jurta.org>
2680         * isearch.el (isearch-yank-word, isearch-yank-line)
2681         (isearch-char-by-name, isearch-quote-char)
2682         (isearch-printing-char, isearch-process-search-char):
2683         Add optional count prefix arg.  (Bug#14563)
2685         * international/isearch-x.el
2686         (isearch-process-search-multibyte-characters):
2687         Add optional count prefix arg.
2689 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2692         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2693         lexical-binding.
2695 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
2697         * subr.el (set-temporary-overlay-map): Add on-exit argument.
2699 2013-06-13  Glenn Morris  <rgm@gnu.org>
2701         * startup.el (tty-handle-args):
2702         Don't just discard "--" and anything after.  (Bug#14608)
2704         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2706 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
2708         Implement changes in Secret Service API.  Make it backward compatible.
2709         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2710         (secrets-create-item): Use it.  Prefix properties with interface.
2712 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
2714         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
2715         (term-emulate-terminal): Respect term-suppress-hard-newline.
2717 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
2719         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2720         Only remove a `thumb-file' overlay.  (Bug#14548)
2722 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
2724         * mail/reporter.el (reporter-submit-bug-report):
2725         Handle missing package-name.  (Bug#14600)
2727 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2729         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2730         (reftex-citation-prompt, reftex-default-bibliography)
2731         (reftex-bib-or-thebib, reftex-get-bibfile-list)
2732         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2733         (reftex-bib-sort-author, reftex-bib-sort-year)
2734         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2735         (reftex-extract-bib-entries-from-thebibliography)
2736         (reftex-get-bibkey-default, reftex-get-bib-names)
2737         (reftex-parse-bibtex-entry, reftex-get-bib-field)
2738         (reftex-format-bib-entry, reftex-parse-bibitem)
2739         (reftex-format-bibitem, reftex-do-citation)
2740         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2741         (reftex-restrict-bib-matches, reftex-extract-bib-file)
2742         (reftex-insert-bib-matches, reftex-format-citation)
2743         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2744         (reftex-create-bibtex-file): Add docstrings, mostly by converting
2745         existing comments into docstrings.
2747 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
2749         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2751 2013-06-12  Andreas Schwab  <schwab@suse.de>
2753         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2754         for auto-save files.
2756 2013-06-12  Glenn Morris  <rgm@gnu.org>
2758         * ido.el (ido-delete-ignored-files): Remove.
2759         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2760         Go back to calling ido-ignore-item-p directly.
2762 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
2764         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2766         * ido.el (ido-delete-ignored-files): New function,
2767         split from ido-make-file-list-1.
2768         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
2769         (ido-make-file-list-1): Use ido-delete-ignored-files.
2771 2013-06-12  Leo Liu  <sdl.web@gmail.com>
2773         * progmodes/octave.el (inferior-octave-startup)
2774         (inferior-octave-completion-table)
2775         (inferior-octave-track-window-width-change)
2776         (octave-eldoc-function-signatures, octave-help)
2777         (octave-find-definition): Use single quoted strings.
2778         (inferior-octave-startup-args): Change default value.
2779         (inferior-octave-startup): Do not hard code "-i" and
2780         "--no-line-editing".
2781         (inferior-octave-resync-dirs): Add optional arg NOERROR.
2782         (inferior-octave-directory-tracker): Use it.
2783         (octave-goto-function-definition): Robustify.
2784         (octave-help): Support highlighting operators in 'See also'.
2785         (octave-find-definition): Find subfunctions only in Octave mode.
2787 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2789         * help-fns.el (help-fns--compiler-macro): If the handler function is
2790         named, then put a link to it.
2791         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2792         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2793         (cl-typep): Use it.
2794         (cl-eval-when): Simplify debug spec.
2795         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
2796         compiler-macro function instead of setting `compiler-macro-file'.
2798 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
2800         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2801         * vc/vc-hooks.el (vc-stay-local): Doc fix.
2803 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2804             Daniel Hackney  <dan@haxney.org>
2806         First part of Daniel Hackney's patch to package.el.
2807         * emacs-lisp/package.el: Use defstruct.
2808         (package-desc): New, main struct.
2809         (package--bi-desc, package--ac-desc): New structs, used to describe the
2810         format in external files.
2811         (package-desc-vers): Replace with package-desc-version accessor.
2812         (package-desc-doc): Replace with package-desc-summary accessor.
2813         (package-activate-1): Remove `package' arg since the pkg-vec now
2814         includes the name.
2815         (define-package): Use package-desc-from-define.
2816         (package-unpack-single): Change file-name arg to be a symbol.
2817         (package--add-to-archive-contents): Use package-desc-create and new
2818         accessor functions to package--ac-desc.
2819         (package-buffer-info, package-tar-file-info): Return a package-desc.
2820         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
2821         arg to be a package-desc.
2822         (package-install-file): Adjust accordingly.  Use \' to match EOS.
2823         (package--from-builtin): New function.
2824         (describe-package-1, package-menu--generate): Use it.
2825         (package--make-autoloads-and-compile): Change name arg to be a symbol.
2826         (package-generate-autoloads): Idem and return the name of the file.
2827         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2828         Change pkg-info arg to be a package-desc.
2829         Use package-make-ac-desc.
2830         (package-upload-file): Use \' to match EOS.
2831         * finder.el (finder-compile-keywords): Use package-make-builtin.
2833 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2835         * vc/vc.el (vc-deduce-fileset): Change error message.
2836         (vc-read-backend): New function.
2837         (vc-next-action): Use it.
2839         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2841         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2842         (prolog-font-lock-keywords): Use regexp-opt instead.
2843         Don't manually highlight strings.
2844         (prolog-mode-variables): Simplify comment-start-skip.
2845         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
2847         * emacs-lisp/generic.el (generic--normalise-comments)
2848         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2849         (generic-mode-set-comments): Use them.
2850         (generic-bracket-support): Use setq-local.
2851         (generic-make-keywords-list): Declare obsolete.
2853 2013-06-11  Glenn Morris  <rgm@gnu.org>
2855         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2856         Prettify after setting font-lock-defaults.  (Bug#14574)
2858 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
2860         * replace.el (query-replace, occur-read-regexp-defaults-function)
2861         (replace-search):
2862         * subr.el (declare-function, number-sequence, local-set-key)
2863         (substitute-key-definition, locate-user-emacs-file)
2864         (with-silent-modifications, split-string, eval-after-load):
2865         Fix typos, remove unneeded backslashes and reflow some docstrings.
2867 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2869         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2870         default for Elisp files.
2872 2013-06-11  Glenn Morris  <rgm@gnu.org>
2874         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2875         although define-derived-mode was doing this anyway.  (Bug#14583)
2877 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
2879         * allout.el (allout-encryption-plaintext-sanitization-regexps):
2880         Fix make-variable-buffer-local call to refer to the correct variable.
2882 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
2884         * eshell/em-term.el (eshell-visual-commands)
2885         (eshell-visual-subcommands, eshell-visual-options):
2886         Add summary line to docstrings.  Add cross-references.
2888 2013-06-10  Glenn Morris  <rgm@gnu.org>
2890         * epa.el (epa-read-file-name): New function.  (Bug#14510)
2891         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
2893 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
2895         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
2896         output redirection to be ignored with visual commands.
2898 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
2900         * eshell/em-term.el (eshell-visual-command-p): New function.
2901         (eshell-term-initialize): Move long lambda to separate function
2902         eshell-visual-command-p.
2903         * eshell/em-dirs.el (eshell-dirs-initialise):
2904         * eshell/em-script.el (eshell-script-initialize):
2905         Add missing #' to lambda.
2907 2013-06-08  Leo Liu  <sdl.web@gmail.com>
2909         * progmodes/octave.el (octave-add-log-current-defun): New function.
2910         (octave-mode): Set add-log-current-defun-function.
2911         (octave-goto-function-definition): Do not move point if not found.
2912         (octave-find-definition): Enhance to try subfunctions first.
2914 2013-06-08  Glenn Morris  <rgm@gnu.org>
2916         * emacs-lisp/bytecomp.el (byte-compile-char-before)
2917         (byte-compile-backward-char, byte-compile-backward-word):
2918         Improve previous change, to handle non-explicit nil.
2920 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2922         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
2923         (smie--opener/closer-at-point): New function.
2924         (smie--matching-block-data): Use it.  Don't match from right after an
2925         opener or right before a closer.  Obey smie-blink-matching-inners.
2926         Don't signal a mismatch for repeated inners like "switch..case..case".
2928 2013-06-07  Leo Liu  <sdl.web@gmail.com>
2930         * progmodes/octave.el (octave-mode): Set comment-use-global-state
2931         to t.  (Bug#14303)
2932         (octave-function-header-regexp): Fix.  (Bug#14570)
2933         (octave-help-mode-finish-hook, octave-help-mode-finish):
2934         Remove.  Just use temp-buffer-show-hook.
2936         * newcomment.el (comment-search-backward): Revert last change.
2937         (Bug#14434)
2939         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
2941 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
2943         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
2944         through xargs, to avoid failure due to MS-Windows limitations on
2945         command-line length.
2947 2013-06-06  Glenn Morris  <rgm@gnu.org>
2949         * font-lock.el (lisp-font-lock-keywords-2):
2950         Treat user-error like error.
2952         * emacs-lisp/bytecomp.el (byte-compile-char-before)
2953         (byte-compile-backward-char, byte-compile-backward-word):
2954         Handle explicit nil arguments.  (Bug#14565)
2956 2013-06-05  Alan Mackenzie  <acm@muc.de>
2958         * isearch.el (isearch-allow-prefix): New user option.
2959         (isearch-other-meta-char): Don't exit isearch when a prefix
2960         argument is typed whilst `isearch-allow-prefix' is non-nil.
2961         (Bug#9706)
2963 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2965         * autorevert.el (auto-revert-notify-handler): Use memq.
2966         Hide assertion failure.
2968         * skeleton.el: Use cl-lib.
2969         (skeleton-further-elements): Use defvar-local.
2970         (skeleton-insert): Use cl-progv.
2972 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
2974         * progmodes/prog-mode.el (prog-prettify-symbols)
2975         (prog-prettify-install): Update docstrings.
2977 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2979         * simple.el: Move all the prog-mode code to prog-mode.el.
2980         * progmodes/prog-mode.el: New file.
2981         * loadup.el: Add prog-mode.el.
2983 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
2985         * simple.el (prog-prettify-symbols): Add version.
2986         (prog-prettify-install): Add convenience function to prettify symbols.
2988         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
2989         (perl--augmented-font-lock-keywords-1)
2990         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
2991         variables and use it.
2993         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2994         (cfengine3-mode): Remove unneeded variable and use it.
2996         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2997         (lisp--augmented-font-lock-keywords-1)
2998         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
2999         Remove unneeded variables and use it.
3001 2013-06-05  João Távora  <joaotavora@gmail.com>
3003         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3004         to point when opening the connection.  (Bug#14380)
3006 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3008         * subr.el (load-history-regexp, load-history-filename-element)
3009         (eval-after-load, after-load-functions, do-after-load-evaluation)
3010         (eval-next-after-load, display-delayed-warnings)
3011         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3012         definition of save-match-data.
3013         (overriding-local-map): Remove accidental obsolescence declaration.
3015         * emacs-lisp/edebug.el (edebug-result): Move before first use.
3017 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3019         Generalize symbol prettify support to prog-mode and implement it
3020         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3021         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3022         (prog--prettify-font-lock-compose-symbol)
3023         (prog-prettify-font-lock-symbols-keywords): New variables and
3024         functions to support symbol prettification.
3025         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3026         (lisp--augmented-font-lock-keywords-1)
3027         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3028         (lisp--prettify-symbols-alist): Implement prettify of lambda.
3029         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3030         (cfengine3--prettify-symbols-alist, cfengine3-mode):
3031         Implement prettify of -> => :: strings.
3032         * progmodes/perl-mode.el (perl-prettify-symbols)
3033         (perl--font-lock-compose-symbol)
3034         (perl--font-lock-symbols-keywords): Move to prog-mode.
3035         (perl--prettify-symbols-alist): Prettify -> => :: strings.
3036         (perl-font-lock-keywords-1)
3037         (perl-font-lock-keywords-2): Remove explicit prettify support.
3038         (perl--augmented-font-lock-keywords)
3039         (perl--augmented-font-lock-keywords-1)
3040         (perl--augmented-font-lock-keywords-2, perl-mode):
3041         Implement prettify support.
3043 2013-06-05  Leo Liu  <sdl.web@gmail.com>
3045         Re-implement smie matching block highlight using
3046         show-paren-data-function.  (Bug#14395)
3047         * emacs-lisp/smie.el (smie-matching-block-highlight)
3048         (smie--highlight-matching-block-overlay)
3049         (smie--highlight-matching-block-lastpos)
3050         (smie-highlight-matching-block)
3051         (smie-highlight-matching-block-mode): Remove.
3052         (smie--matching-block-data-cache): New variable.
3053         (smie--matching-block-data): New function.
3054         (smie-setup): Use smie--matching-block-data for
3055         show-paren-data-function.
3057         * progmodes/octave.el (octave-mode-menu): Fix.
3058         (octave-find-definition): Skip garbage lines.
3060 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3062         Fix compilation error with simultaneous dynamic+lexical scoping.
3063         Add warning when a defvar appears after the first let-binding.
3064         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3065         (byte-compile-close-variables): Initialize it.
3066         (byte-compile--declare-var): New function.
3067         (byte-compile-file-form-defvar)
3068         (byte-compile-file-form-define-abbrev-table)
3069         (byte-compile-file-form-custom-declare-variable): Use it.
3070         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
3071         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3072         (byte-compile-bind): Handle dynamic bindings that shadow
3073         lexical bindings.
3074         (byte-compile-unbind): Make arg non-optional.
3075         (byte-compile-let): Simplify.
3076         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3077         (cconv--analyse-function, cconv-analyse-form): Populate it.
3078         Protect byte-compile-bound-variables to limit the scope of defvars.
3079         (cconv-analyse-form): Add missing rule for (defvar <foo>).
3080         Remove unneeded rule for `declare'.
3082         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3083         so as to avoid depending on cl-adjoin at run-time.
3084         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3086         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3087         (macroexp--warn-and-return): Use it.
3089 2013-06-05  Leo Liu  <sdl.web@gmail.com>
3091         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3093 2013-06-04  Leo Liu  <sdl.web@gmail.com>
3095         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3096         (compilation-auto-jump): Suppress the "Mark set" message to give
3097         way to exit message.
3099 2013-06-04  Alan Mackenzie  <acm@muc.de>
3101         Remove faulty optimisation from indentation calculation.
3102         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3103         search limit based on 2000 characters back from indent-point.
3105 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
3107         * eshell/em-term.el (cl-lib): Require `cl-lib'.
3109 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3111         * emacs-lisp/lisp.el: Use lexical-binding.
3112         (lisp--local-variables-1, lisp--local-variables): New functions.
3113         (lisp--local-variables-completion-table): New var.
3114         (lisp-completion-at-point): Use it complete let-bound vars.
3116         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3117         eagerly (bug#14422).
3119 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
3121         * autorevert.el (auto-revert-notify-enabled)
3122         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3123         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3124         (auto-revert-notify-handler): Handle also gfilenotify.
3126         * subr.el (file-notify-handle-event): New defun.  Replacing ...
3127         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3128         Remove.
3130 2013-06-03  Juri Linkov  <juri@jurta.org>
3132         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3133         `M-s h .'.  (Bug#14427)
3135         * hi-lock.el (highlight-symbol-at-point): New alias for the new
3136         command `hi-lock-face-symbol-at-point'.
3137         (hi-lock-face-symbol-at-point): New command.
3138         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3139         (hi-lock-menu): Add `highlight-symbol-at-point'.
3140         (hi-lock-mode): Doc fix.
3142         * isearch.el (isearch-forward-symbol-at-point): New command.
3143         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3144         (isearch-highlight-regexp): Add a regexp which matches
3145         words/symbols for word/symbol mode.
3147         * subr.el (find-tag-default-bounds): New function with the body
3148         mostly moved from `find-tag-default'.
3149         (find-tag-default): Move most code to `find-tag-default-bounds',
3150         call it and apply `buffer-substring-no-properties' afterwards.
3152 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
3154         * eshell/em-term.el (eshell-term-initialize):
3155         Use `cl-intersection' rather than `intersection'.
3157 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
3159         * vc/log-view.el: Doc fix.
3160         (log-view-mode-map): Copy keymap from `special-mode-map'.
3162 2013-06-02  Eric Ludlam  <zappo@gnu.org>
3164         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3165         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3166         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3167         (eieio-unbound, eieio-default-superclass)
3168         (eieio--define-field-accessors, method-static, method-before)
3169         (method-primary, method-after, method-num-lists)
3170         (method-generic-before, method-generic-primary)
3171         (method-generic-after, method-num-slots)
3172         (eieio-specialized-key-to-generic-key)
3173         (eieio--check-type, class-v, class-p)
3174         (eieio-class-name, define-obsolete-function-alias)
3175         (eieio-class-parents-fast, eieio-class-children-fast)
3176         (same-class-fast-p, class-constructor, generic-p)
3177         (generic-primary-only-p, generic-primary-only-one-p)
3178         (class-option-assoc, class-option, eieio-object-p)
3179         (class-abstract-p, class-method-invocation-order)
3180         (eieio-defclass-autoload-map, eieio-defclass-autoload)
3181         (eieio-class-un-autoload, eieio-defclass)
3182         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3183         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3184         (eieio--defgeneric-init-form, eieio-defgeneric-form)
3185         (eieio-defgeneric-reset-generic-form)
3186         (eieio-defgeneric-form-primary-only)
3187         (eieio-defgeneric-reset-generic-form-primary-only)
3188         (eieio-defgeneric-form-primary-only-one)
3189         (eieio-defgeneric-reset-generic-form-primary-only-one)
3190         (eieio-unbind-method-implementations)
3191         (eieio--defmethod, eieio--typep)
3192         (eieio-perform-slot-validation, eieio-validate-slot-value)
3193         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3194         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3195         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3196         (eieio-slot-name-index, eieio-class-slot-name-index)
3197         (eieio-set-defaults, eieio-initarg-to-attribute)
3198         (eieio-attribute-to-initarg, eieio-c3-candidate)
3199         (eieio-c3-merge-lists, eieio-class-precedence-c3)
3200         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3201         (eieio-class-precedence-list, eieio-generic-call-methodname)
3202         (eieio-generic-call-arglst, eieio-generic-call-key)
3203         (eieio-generic-call-next-method-list)
3204         (eieio-pre-method-execution-functions, eieio-generic-call)
3205         (eieio-generic-call-primary-only, eieiomt-method-list)
3206         (eieiomt-optimizing-obarray, eieiomt-install)
3207         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3208         (eieio-generic-form, eieio-defmethod, make-obsolete)
3209         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3210         (defclass): Remove `eval-and-compile' from macro.
3211         (call-next-method, shared-initialize): Instead of using
3212         `scoped-class' variable, use new eieio--scoped-class, and
3213         eieio--with-scoped-class.
3214         (initialize-instance): Rename local variable 'scoped-class' to
3215         'this-class' to remove ambiguitity from old global.
3217         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
3218         eieio.el.
3219         (eieio--scoped-class-stack): New variable.
3220         (eieio--scoped-class): New fcn.
3221         (eieio--with-scoped-class): New scoping macro.
3222         (eieio-defclass): Use pushnew instead of add-to-list.
3223         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3224         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3225         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3226         `scoped-class' variable, use new eieio--scoped-class, and
3227         eieio--with-scoped-class.
3229         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3231 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
3233         * eshell/esh-ext.el (eshell-external-command): Pass args to
3234         `eshell-find-interpreter'.
3235         (eshell-find-interpreter): Add new second parameter ARGS.
3237         * eshell/em-script.el (eshell-script-initialize): Add second arg
3238         to the function added as MATCH to `eshell-interpreter-alist'.
3240         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3241         the function added as MATCH to `eshell-interpreter-alist'.
3243         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3244         (eshell-visual-options): New defcustom.
3245         (eshell-escape-control-x): Adapt docstring.
3246         (eshell-term-initialize): Test `eshell-visual-subcommands' and
3247         `eshell-visual-options' in addition to `eshell-visual-commands'.
3248         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3250 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3252         * progmodes/python.el (python-indent-block-enders): Add break,
3253         continue and raise keywords.
3255 2013-06-01  Glenn Morris  <rgm@gnu.org>
3257         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3259         Plain (f)boundp silences compilation warnings since Emacs 22.1.
3260         * progmodes/cc-cmds.el (delete-forward-p):
3261         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3262         * progmodes/cc-engine.el (buffer-syntactic-context):
3263         * progmodes/cc-fonts.el (face-property-instance):
3264         * progmodes/cc-mode.el (set-keymap-parents):
3265         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3266         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3267         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3268         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3269         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3271         * progmodes/cc-vars.el (other): Emacs has this widget since
3272         at least 21.1, so don't (re)define it.
3274         * eshell/em-cmpl.el (eshell-cmpl-initialize):
3275         Replace the obsolete alias pcomplete-arg-quote-list.
3277 2013-06-01  Leo Liu  <sdl.web@gmail.com>
3279         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3280         punctuation syntax.
3281         (inferior-octave-minimal-columns)
3282         (inferior-octave-last-column-width): New variables.
3283         (inferior-octave-track-window-width-change): New function.
3284         (inferior-octave-mode): Adjust column width so that Octave output,
3285         for example from 'ls', can fit into the window nicely.
3287 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
3289         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3290         Highlight expansions inside regexp literals.
3292 2013-05-31  Glenn Morris  <rgm@gnu.org>
3294         * obsolete/sym-comp.el (symbol-complete):
3295         Replace obsolete completion-annotate-function.
3297         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3299 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
3301         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3302         New function, checks if point is inside a literal that allows
3303         expression expansion.
3304         (ruby-syntax-propertize-expansion): Use it.
3305         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3306         around the body.
3308 2013-05-30  Juri Linkov  <juri@jurta.org>
3310         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3311         to "\M-si".
3312         (isearch-invisible): New variable.
3313         (isearch-forward): Doc fix.
3314         (isearch-mode): Set `isearch-invisible'
3315         to the value of `search-invisible'.
3316         (isearch-toggle-case-fold): Doc fix.
3317         (isearch-toggle-invisible): New command.
3318         (isearch-query-replace): Let-bind `search-invisible'
3319         to the value of `isearch-invisible'.
3320         (isearch-search): Use `isearch-invisible' instead of
3321         `search-invisible'.  Let-bind `search-invisible'
3322         to the value of `isearch-invisible'.  (Bug#11378)
3324 2013-05-30  Juri Linkov  <juri@jurta.org>
3326         * replace.el (perform-replace): Avoid `isearch-range-invisible'
3327         call when `query-flag' is nil and `search-invisible' is non-nil.
3328         (Bug#11746)
3330 2013-05-30  Glenn Morris  <rgm@gnu.org>
3332         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3334         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3335         (cc-require): Suppress spurious "noruntime" warnings.
3336         (cc-require-when-compile): Use fboundp, for sake of compiler.
3338         * progmodes/cc-mode.el: Move load of cc-vars before that of
3339         cc-langs (which in turn loads cc-vars), to quieten compiler.
3341 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3343         * paren.el: Simplify the code.
3344         (show-paren-mode): Always start the timer.
3345         (show-paren--idle-timer): Rename from show-paren-idle-timer.
3346         (show-paren--overlay, show-paren--overlay-1): Rename from
3347         show-paren-overlay and show-paren-overlay-1, and initialize to an
3348         overlay rather than to nil.
3349         (show-paren-function): Misc cleanup and simplifications.
3351 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3353         * paren.el (show-paren-data-function): New hook.
3354         (show-paren--default): New function, extracted from show-paren-function.
3355         (show-paren-function): Use show-paren-data-function.
3357 2013-05-30  Glenn Morris  <rgm@gnu.org>
3359         * ielm.el (ielm-map, ielm-complete-symbol):
3360         Use completion-at-point rather than obsolete functions.
3361         (inferior-emacs-lisp-mode): Doc fix.
3362         Set completion-at-point-functions, rather than
3363         comint-dynamic-complete-functions.
3365         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3366         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3367         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3369         * image.el (image-animated-p): Tweak definition.
3371         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3372         (rlogin-process-connection-type): Tweak default.  Add set-after.
3373         (rlogin-host): Doc fix.
3374         (rlogin): Tweak prompt.
3375         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3377         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3378         * progmodes/tcl.el (inferior-tcl-mode-map):
3379         Use completion-at-point rather than obsolete alias.
3381         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3383         * minibuffer.el (read-file-name-completion-ignore-case):
3384         Move before completion--in-region, for eager macro expansion.
3386 2013-05-29  Juri Linkov  <juri@jurta.org>
3388         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3389         for total count of matching lines.  Add `global-matches' for total
3390         count of matches.  Rename `matches' to `lines' for count of
3391         matching lines.  Add `matches' for count of matches.
3392         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
3393         to `prev-line' for line number of prev match endpt.
3394         Increment `matches' for every match.  Print the number of
3395         matching lines in the header.
3396         (occur-context-lines): Rename `lines' to `curr-line'.
3397         Rename `prev-lines' to `prev-line'.  (Bug#14017)
3399 2013-05-29  Juri Linkov  <juri@jurta.org>
3401         * replace.el (perform-replace): Add `skip-read-only-count',
3402         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3403         Increment them for corresponding conditions and report the number
3404         of skipped occurrences in the final message.  (Bug#11746)
3405         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3406         (replace-string, replace-regexp): Doc fix.
3408 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3410         * emacs-lisp/trace.el (trace--read-args): Provide a default.
3412         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3413         prog-mode-map (bug#14504).
3415 2013-05-29  Leo Liu  <sdl.web@gmail.com>
3417         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3418         (octave-help): Small simplification.
3420         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3421         off the highlight first.
3423 2013-05-29  Glenn Morris  <rgm@gnu.org>
3425         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3426         Handle idlwave-last-system-routine-info-cons-cell being nil.
3428         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3429         (idlwave-write-paths): Simplify via with-temp-buffer.
3431         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3432         * emulation/cua-rect.el: Also load cua-base at run time.
3434         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3435         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3436         (cperl-imenu-on-info): Require imenu.
3438 2013-05-28  Alan Mackenzie  <acm@muc.de>
3440         Handle "capitalised keywords" correctly.
3441         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3443 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
3445         * eshell/em-unix.el: Add -r option to cp.
3447 2013-05-28  Glenn Morris  <rgm@gnu.org>
3449         * vc/vc-arch.el (vc-exec-after): Declare.
3450         (vc-switches): Autoload.
3451         * vc/vc-bzr.el: No need to require vc when compiling.
3452         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3453         (vc-resynch-buffer, vc-dir-refresh): Declare.
3454         (vc-setup-buffer, vc-switches): Autoload.
3455         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3456         (vc-resynch-buffer): Declare.
3457         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3458         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3459         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3460         (grep-read-regexp, grep-read-files, grep-expand-template)
3461         (vc-dir-refresh): Declare.
3462         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3463         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3464         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3465         * vc/vc-mtn.el (vc-exec-after): Declare.
3466         (vc-switches): Autoload.
3467         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3468         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3469         (vc-file-tree-walk): Declare.
3470         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3471         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3472         (vc-tag-precondition, vc-rename-master): Autoload.
3473         * vc/vc-svn.el (vc-exec-after): Declare.
3474         (vc-switches, vc-setup-buffer): Autoload.
3475         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3476         Autoload.
3477         (vc-resynch-buffer): Declare.
3479         * obsolete/fast-lock.el (byte-compile-warnings):
3480         Don't warn about obsolete features in this obsolete file.
3482         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3483         Move definition before use.
3485         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3486         (dun-unix-verbs): Remove dun-zippy.
3487         (dun-zippy): Remove function.
3489         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3491 2013-05-27  Juri Linkov  <juri@jurta.org>
3493         * replace.el (replace-search): New function with code moved out
3494         from `perform-replace'.
3495         (replace-highlight, replace-dehighlight): Move function definitions
3496         up closer to `replace-search'.  (Bug#11746)
3498 2013-05-27  Juri Linkov  <juri@jurta.org>
3500         * replace.el (perform-replace): Ignore invisible matches.
3501         In addition to checking `query-replace-skip-read-only', also
3502         filter out matches by calling `run-hook-with-args-until-failure'
3503         on `isearch-filter-predicates', and also check `search-invisible'
3504         for t or call `isearch-range-invisible'.
3505         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
3507 2013-05-27  Juri Linkov  <juri@jurta.org>
3509         * isearch.el (isearch-filter-predicates): Rename from
3510         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
3511         (isearch-message-prefix): Display text from the property
3512         `isearch-message-prefix' of the currently active filters.
3513         (isearch-search): Don't compare `isearch-filter-predicate' with
3514         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
3515         on `isearch-filter-predicates'.  Also check `search-invisible' for t
3516         or call `isearch-range-invisible'.
3517         (isearch-filter-visible): Make obsolete.
3518         (isearch-lazy-highlight-search):
3519         Call `run-hook-with-args-until-failure' on
3520         `isearch-filter-predicates' and use `isearch-range-invisible'.
3522         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3523         `isearch-filter-predicates' instead of `funcall'ing
3524         `isearch-filter-predicate'.
3525         (Info-mode): Set `Info-isearch-filter' to
3526         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3528         * dired-aux.el (dired-isearch-filter-predicate-orig):
3529         Remove variable.
3530         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3531         (dired-isearch-filenames-end): Add and remove
3532         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3533         instead of changing the value of `isearch-filter-predicate'.
3534         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3535         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3536         Put property `isearch-message-prefix' to "filename " on
3537         `dired-isearch-filter-filenames'.
3539         * wdired.el (wdired-change-to-wdired-mode):
3540         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3541         locally instead of changing `isearch-filter-predicate'.
3542         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3544 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
3546         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3547         return the commit hash (Bug#14459).  Also set the
3548         `vc-git-detached' property.
3549         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3550         (vc-git-mode-line-string): Use the same help-echo format whether
3551         in detached mode or not, because we know the actual revision now.
3552         When in detached mode, shorten the revision to 7 chars.
3554 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3556         * emacs-lisp/easy-mmode.el (define-minor-mode):
3557         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3558         mode hook and provide a docstring.
3560 2013-05-27  Alan Mackenzie  <acm@muc.de>
3562         Remove spurious syntax-table text properties inserted by C-y.
3563         * progmodes/cc-mode.el (c-after-change): Also clear hard
3564         syntax-table property with value nil.
3566 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
3568         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3569         when reading the events; the buffer layout shall not be changed.
3571 2013-05-27  Leo Liu  <sdl.web@gmail.com>
3573         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3574         New variable.
3575         (inferior-octave-directory-tracker): Automatically re-sync
3576         default-directory.
3577         (octave-help): Improve handling of 'See also'.
3579 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3581         * doc-view.el: Minor naming convention tweaks.
3582         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3584         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3585         even if there's no `display' property yet (bug#14435).
3587 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
3589         * subr.el (unmsys--file-name): Rename from reveal-filename.
3591         * Makefile.in (custom-deps, finder-data, autoloads)
3592         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3593         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3594         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3596 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3598         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3599         error-completion on the first 2 args of condition-case (bug#14446).
3600         Don't burp at EOB.
3602 2013-05-25  Leo Liu  <sdl.web@gmail.com>
3604         * comint.el (comint-previous-matching-input): Do not flood the
3605         *Messages* buffer with trivial messages.
3607 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3609         * progmodes/flymake.el (flymake-nop): Don't return a string.
3610         (flymake-set-at): Fix typo.
3612         * simple.el (read--expression): New function, extracted from
3613         eval-expression.  Set completion-at-point-functions (bug#14465).
3614         (eval-expression, eval-minibuffer): Use it.
3616 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
3618         * progmodes/flymake.el (flymake-save-buffer-in-file)
3619         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3620         (flymake-selected-frame, flymake-log, flymake-ins-after)
3621         (flymake-set-at, flymake-get-buildfile-from-cache)
3622         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3623         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3624         Refine the doc string.
3625         (flymake-get-file-name-mode-and-masks): Reformat.
3626         (flymake-get-real-file-name-function): Fix a minor bug.
3628 2013-05-24  Juri Linkov  <juri@jurta.org>
3630         * progmodes/grep.el (grep-mode-font-lock-keywords):
3631         Support =linenumber= format used by git-grep for lines with
3632         function names.  (Bug#13549)
3634 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3636         * progmodes/octave.el (octave-smie-rules): Return nil rather than
3637         0 after a semi-colon; it works better for smie-auto-fill.
3638         (octave--indent-new-comment-line): New function.
3639         (octave-indent-new-comment-line): Use it (indirectly).
3640         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
3641         modify comment-line-break-function.
3643         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3644         (smie-setup): Use add-function to set it.
3646 2013-05-24  Sam Steingold  <sds@gnu.org>
3648         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3649         argument (before the `interactive' argument).
3651 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3653         * image-mode.el (image-mode-winprops): Add winprops to
3654         image-mode-winprops-alist before running
3655         image-mode-new-window-functions.
3656         * doc-view.el (doc-view-new-window-function): Don't delay
3657         doc-view-goto-page via timers (bug#14435).
3659 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
3661         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
3662         (doc-view-desktop-save-buffer): New function.
3663         (doc-view-restore-desktop-buffer): New function.
3664         (desktop-buffer-mode-handlers):
3665         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3666         handler.
3667         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3668         `desktop-save-buffer' function.
3670 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
3672         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3673         (tramp-gvfs-file-name-handler): Raise a user error when
3674         `tramp-gvfs-enabled' is nil.
3675         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3676         Do not raise a user error when loading package.  (Bug#14447)
3678         * net/xesam.el: Move to obsolete/.
3680 2013-05-24  Glenn Morris  <rgm@gnu.org>
3682         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3684         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3686         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3687         (Info-find-node, Man-getpage-in-background): Declare.
3689         * mail/unrmail.el (unrmail):
3690         Replace obsolete detect-coding-with-priority.
3692         * net/socks.el (socks-split-string): Use this rather than split-string.
3693         (socks-nslookup-host): Update for above change.
3694         (dynamic-choice, s5-dynamic-choice-match)
3695         (s5-dynamic-choice-match-inline, s5-widget-value-create):
3696         Comment out unused code.
3698         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3699         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3700         (gud-tooltip-echo-area): Make obsolete.
3701         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3703         * progmodes/js.el (js--optimize-arglist): Declare.
3705         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3707         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3708         (ediff-window-C): Declare.
3710         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3711         Tweak requires to silence compiler.
3713         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3714         (he-search-string, he-tried-table, he-expand-list)
3715         (he-init-string, he-string-member, he-substitute-string)
3716         (he-reset-string): Declare.
3718         * obsolete/options.el (list-options): Use custom-variable-p,
3719         rather than obsolete alias.
3721 2013-05-23  Sam Steingold  <sds@gnu.org>
3723         * simple.el (shell-command-on-region): Pass the `replace' argument
3724         down to `call-process-region' to comply with the doc as reported on
3725         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3727 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3729         * emacs-lisp/smie.el (smie-indent-forward-token)
3730         (smie-indent-backward-token): Handle string tokens (bug#14381).
3732 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3734         * ielm.el (ielm-menu): New menu.
3735         (inferior-emacs-lisp-mode): Set comment-start.
3737 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3739         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3740         Fix deactivate action.
3742         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3743         Add cleveref macros.
3745         * lisp/textmodes/reftex-parse.el
3746         (reftex-locate-bibliography-files): Accept options for
3747         bibliography commands.
3748         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3749         Add addbibresource.  Basic Biblatex support.
3751 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
3753         * net/tramp-gvfs.el (top):
3754         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3755         when loading package.  (Bug#14447)
3757 2013-05-23  Glenn Morris  <rgm@gnu.org>
3759         * progmodes/js.el: No need to load comint when compiling.
3760         (ring-insert, comint-send-string, comint-send-input)
3761         (comint-last-input-end, ido-chop): Declare.
3763         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3764         * vc/ediff-mult.el: Adjust requires.
3765         (ediff-directories-internal, ediff-directory-revisions-internal)
3766         (ediff-patch-file-internal): Declare.
3767         * vc/ediff-ptch.el: Adjust requires.
3768         (ediff-use-last-dir, ediff-buffers-internal): Declare.
3769         (ediff-find-file): Autoload.
3770         * vc/ediff-util.el: No need to load ediff when compiling.
3771         (ediff-regions-internal): Declare.
3772         * vc/ediff-wind.el: Adjust requires.
3773         (ediff-compute-toolbar-width): Define when compiling.
3774         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3775         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3776         (dired-get-filename, dired-get-marked-files)
3777         (ediff-last-dir-patch, ediff-patch-default-directory)
3778         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3779         (ediff-patch-buffer-internal): Declare.
3781         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3782         (ispell-process, ispell-buffer-local-words, lm-summary)
3783         (lm-section-start, lm-section-end): Declare.
3784         (checkdoc-ispell-init): Simplify.
3786         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3787         (he-string-member, he-reset-string, he-substitute-string): Declare.
3789         * eshell/em-ls.el: Adjust requires.
3790         (eshell-glob-regexp): Declare.
3791         * eshell/em-tramp.el: Adjust requires.
3792         (eshell-parse-command): Autoload.
3793         * eshell/em-xtra.el: Adjust requires.
3794         (eshell-parse-command): Autoload.
3795         * eshell/esh-ext.el: Adjust requires.
3796         (eshell-parse-command, eshell-close-handles): Autoload.
3797         * eshell/esh-io.el: Adjust requires.
3798         (eshell-output-filter): Autoload.
3799         * eshell/esh-util.el: No need to load tramp when compiling.
3800         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3801         Declare.
3802         (eshell-parse-ange-ls): Require ange-ftp and tramp.
3803         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3804         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3805         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3806         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3807         * eshell/esh-opt.el, eshell/esh-proc.el:
3808         * eshell/esh-var.el: Adjust requires.
3809         * eshell/eshell.el: Do not require esh-util twice.
3810         (eshell-add-input-to-history): Declare.
3811         (eshell-command): Check history module is active before using it.
3813         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3815 2013-05-22  Leo Liu  <sdl.web@gmail.com>
3817         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3819 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
3821         * autorevert.el (auto-revert-notify-add-watch)
3822         (auto-revert-notify-handler): Add `attrib' for the inotify case,
3823         it indicates changes in file modification time.
3825 2013-05-22  Glenn Morris  <rgm@gnu.org>
3827         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3828         Always delete the autoloaded function from the noruntime and
3829         unresolved functions lists.
3831         * allout.el: No need to load epa, epg, overlay when compiling.
3832         (epg-context-set-passphrase-callback, epg-list-keys)
3833         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3834         (epg-key-user-id-list): Declare.
3836         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3837         (viper-set-parsing-style-toggling-macro)
3838         (viper-set-emacs-state-searchstyle-macros):
3839         Use called-interactively-p on Emacs.
3840         (viper-looking-back): Make it an obsolete alias.  Update callers.
3841         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3842         Use looking-back rather than viper-looking-back.
3843         (viper-tmp-insert-at-eob, viper-enlarge-region)
3844         (viper-read-string-with-history, viper-register-to-point)
3845         (viper-append-to-register, viper-change-state-to-vi)
3846         (viper-backward-char-carefully, viper-forward-char-carefully)
3847         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3848         (viper-change-state-to-emacs): Declare.
3849         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3850         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3851         * emulation/viper-mous.el: Do not load viper-cmd.
3852         (viper-backward-char-carefully, viper-forward-char-carefully)
3853         (viper-forward-word, viper-adjust-window): Declare.
3855         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3857         * progmodes/idlw-help.el (idlwave-help-fontify):
3858         Use called-interactively-p.
3860         * term/w32console.el (w32-get-console-codepage)
3861         (w32-get-console-output-codepage): Declare.
3863         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3864         Remove unnecessary declarations.
3865         (dframe-message): Doc fix.
3867         * info.el (dframe-select-attached-frame, dframe-current-frame):
3868         Declare.
3870         * speedbar.el (speedbar-message): Make it an obsolete alias.
3871         Update all callers.
3872         (speedbar-with-attached-buffer)
3873         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3874         (speedbar-with-writable): Use backquote.
3875         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3876         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3877         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3878         rather than speedbar- aliases.
3879         * mail/rmail.el: Load dframe rather than speedbar when compiling.
3880         (speedbar-make-specialized-keymap, speedbar-insert-button)
3881         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3882         (speedbar-do-function-pointer): Declare.
3883         (rmail-speedbar-button, rmail-speedbar-find-file)
3884         (rmail-speedbar-move-message):
3885         Use dframe-with-attached-buffer rather than speedbar- alias.
3886         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3887         (dframe-message, speedbar-make-specialized-keymap)
3888         (speedbar-add-expansion-list, speedbar-mode-functions-list)
3889         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
3890         (speedbar-insert-button, dframe-select-attached-frame)
3891         (dframe-maybee-jump-to-attached-frame)
3892         (speedbar-change-initial-expansion-list)
3893         (speedbar-previously-used-expansion-list-name): Declare.
3894         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
3895         Use dframe-message, dframe-with-attached-buffer rather than
3896         speedbar- aliases.
3897         (gud-sentinel): Silence compiler.
3898         * progmodes/vhdl-mode.el (speedbar-refresh)
3899         (speedbar-do-function-pointer, speedbar-add-supported-extension)
3900         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
3901         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
3902         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
3903         (speedbar-file-lists, speedbar-make-tag-line)
3904         (speedbar-line-directory, speedbar-goto-this-file)
3905         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
3906         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
3907         (speedbar-make-button, speedbar-reset-scanners)
3908         (speedbar-files-item-info, speedbar-line-text)
3909         (speedbar-find-file-in-frame, speedbar-set-timer)
3910         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
3911         (speedbar-with-writable): Do not (re)define it.
3912         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
3913         rather than speedbar- alias.
3915 2013-05-21  Leo Liu  <sdl.web@gmail.com>
3917         * progmodes/octave.el (octave-mode-menu): Update and re-organize
3918         menu items.
3919         (octave-mode): Tweak fill-nobreak-predicate.
3920         (inferior-octave-startup): Check process to avoid infinite loop.
3921         (inferior-octave): Pop to buffer first to show abornmal process
3922         exit information.
3924 2013-05-21  Glenn Morris  <rgm@gnu.org>
3926         * printing.el (pr-menu-bar): Define when compiling.
3928 2013-05-21  Leo Liu  <sdl.web@gmail.com>
3930         * progmodes/octave.el (octave-auto-fill): Remove.
3931         (octave-indent-new-comment-line): Improve.
3932         (octave-mode): Use auto fill mode through
3933         comment-line-break-function and fill-nobreak-predicate.
3934         (octave-goto-function-definition): Support DEFUN_DLD.
3935         (octave-beginning-of-defun): Small tweak.
3936         (octave-help): Show parent directory.
3938 2013-05-21  Glenn Morris  <rgm@gnu.org>
3940         * files.el (dired-unmark):
3941         * progmodes/gud.el (gdb-input): Update declarations.
3943         * calculator.el (electric, ehelp): No need to load when compiling.
3944         (Electric-command-loop, electric-describe-mode): Declare.
3946         * doc-view.el (doc-view-current-converter-processes): Move before use.
3948         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3949         Move MODE-set-explicitly definition before use.
3951         * international/mule-diag.el (mule-diag):
3952         Don't use obsolete window-system-version.
3954         * mail/feedmail.el (smtpmail): No need to load when compiling.
3955         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
3957         * mail/mail-utils.el (rfc822): No need to load when compiling.
3958         (rfc822-addresses): Autoload it.
3959         (mail-strip-quoted-names): Trivial simplification.
3961         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
3962         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
3964         * net/snmp-mode.el (tempo): Don't duplicate requires.
3966         * progmodes/prolog.el (info): No need to load when compiling.
3967         (comint): Require before shell requires it.
3968         (Info-goto-node): Autoload it.
3969         (Info-follow-nearest-node): Declare.
3970         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
3972         * textmodes/artist.el (picture-mode-exit): Declare.
3974         * textmodes/reftex-parse.el (reftex-parse-from-file):
3975         Trivial rewrite so the compiler can parse it better.
3977 2013-05-20  Leo Liu  <sdl.web@gmail.com>
3979         * progmodes/octave.el (octave-help-mode-map)
3980         (octave-help-mode-finish-hook): New variables.
3981         (octave-help-mode, octave-help-mode-finish): New functions.
3982         (octave-help): Use octave-help-mode.
3984 2013-05-20  Glenn Morris  <rgm@gnu.org>
3986         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
3988 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
3990         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
3991         start at point, so that expansion starting right after opening
3992         slash in a regexp is recognized.
3993         (ruby-syntax-before-regexp-re): New defvar, extracted from
3994         ruby-syntax-propertize-function.  Since the value of this regexp
3995         is looked up at runtime now, we should be able to turn
3996         `ruby-syntax-methods-before-regexp' into a defcustom later.
3997         (ruby-syntax-propertize-function): Split regexp matching into two
3998         parts, for opening and closing slashes.  That allows us to skip
3999         over string interpolations and support multiline regexps.
4000         Don't call `ruby-syntax-propertize-expansions', instead use another rule
4001         for them, which calls `ruby-syntax-propertize-expansion'.
4002         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4003         call to `ruby-syntax-propertize-function'.
4004         (ruby-syntax-propertize-expansion): Extracted from
4005         `ruby-syntax-propertize-expansions'.  Handles one expansion.
4006         (ruby-syntax-propertize-percent-literal): Leave point right after
4007         the percent symbol, so that the expression expansion rule can
4008         propertize the contents.
4009         (ruby-syntax-propertize-heredoc): Leave point at bol following the
4010         heredoc openers.
4011         (ruby-syntax-propertize-expansions): Remove.
4013 2013-05-18  Juri Linkov  <juri@jurta.org>
4015         * man.el (Man-default-man-entry): Remove `-' from the end
4016         of the default value.  (Bug#14400)
4018 2013-05-18  Glenn Morris  <rgm@gnu.org>
4020         * comint.el (comint-password-prompt-regexp):
4021         Allow "password for XXX" where XXX contains colons (eg https://...).
4023 2013-05-18  Leo Liu  <sdl.web@gmail.com>
4025         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4026         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
4027         (octave-source-directories): Don't check process.
4028         (octave-source-directories, octave-find-definition): Doc fix.
4030 2013-05-18  Glenn Morris  <rgm@gnu.org>
4032         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4033         Remove backspace/delete bindings.  (Bug#14392)
4035         * cus-dep.el (custom-make-dependencies): Sort the output.
4036         (custom-versions-load-alist): Convert comment to doc.
4038 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4040         * newcomment.el (comment-search-backward): Stricter in finding
4041         comment start.  (Bug#14303)
4043         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4044         (octave-comment-start-skip): Properly anchored.
4046 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4048         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4049         Clean up when turned off.  (Bug#14395)
4050         (smie--highlight-matching-block-overlay): No longer buffer-local.
4051         (smie-highlight-matching-block): Adjust.
4053 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
4055         Doc string fix for "nanoseconds" (Bug#14406).
4056         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4057         Fix doc string typo that had "nanoseconds" instead of "microseconds".
4059 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4061         * calc/calc-units.el (math-extract-units): Preserve powers
4062         of units.
4064 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4066         * subr.el (delete-consecutive-dups): New function.
4067         * ido.el (ido-set-matches-1): Use it.
4068         * progmodes/octave.el (inferior-octave-completion-table): Use it.
4069         * ido.el (ido-remove-consecutive-dups): Remove.
4071 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4073         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4074         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4075         regexp-opt's `words'.
4077 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4079         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4080         (smie--highlight-matching-block-overlay)
4081         (smie--highlight-matching-block-lastpos)
4082         (smie--highlight-matching-block-timer): New variables.
4083         (smie-highlight-matching-block): New function.
4084         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
4085         (smie-setup): Conditionally enable smie-blink-matching-open.
4087 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
4089         Sync with upstream verilog-mode r840.
4090         * progmodes/verilog-mode.el (verilog-mode-version)
4091         (verilog-mode-release-date): Update.
4092         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4093         (verilog-sig-tieoff): Fix string error on
4094         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
4095         (verilog-read-decls): Fix parameters confusing
4096         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
4098 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
4100         * subr.el (reveal-filename): New function.
4102         * loadup.el: Compute Emacs executable versions on MS-Windows,
4103         where executables have the .exe extension.  Add a hard link
4104         emacs-XX.YY.ZZ.exe on MS-Windows.
4106         * Makefile.in (XARGS_LIMIT): New variable.
4107         (custom-deps, finder-data, autoloads)
4108         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4109         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4110         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4111         (compile-main): Limit xargs according to $(XARGS_LIMIT).
4113 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4115         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4116         (octave-mode-menu, octave-mode-map): Remove its uses.
4118 2013-05-16  Reto Zimmermann  <reto@gnu.org>
4120         Sync with upstream vhdl mode v3.34.2.
4121         * progmodes/vhdl-mode.el: Use `push' throughout.
4122         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4123         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4124         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
4125         (vhdl-actual-generic-name): New option to derive actual generic name.
4126         (vhdl-port-paste-signals): Replace formal by actual generics.
4127         (vhdl-beautify): New name for old group vhdl-align.  Update users.
4128         (vhdl-beautify-options): New option.
4129         (vhdl-last-input-event): New compat alias.  Use throughout.
4130         (vhdl-goto-line): Replace user level function `goto-line'.
4131         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4132         vhdl-fix-statement-buffer.
4133         (vhdl-create-mode-menu): Add some entries.
4134         (vhdl-align-region-groups): Respect vhdl-beautify-options.
4135         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4136         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4137         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4138         to force statements on one line.
4139         (vhdl-remove-trailing-spaces-region):
4140         New, split from vhdl-remove-trailing-spaces.
4141         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4142         Respect vhdl-beautify-options.
4143         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4144         (vhdl-update-sensitivity-list): Not add with index if exists without.
4145         Not include array index with signal.  Ignore keywords in comments.
4146         (vhdl-get-visible-signals): Regexp tweaks.
4147         (vhdl-template-component-inst): Handle empty library.
4148         (vhdl-template-type): Add template for 'enum' type.
4149         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4150         Use vhdl-replace-string.
4151         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4152         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4153         (vhdl-speedbar-initialize): Update for above name change.
4154         (vhdl-compose-wire-components): Fix in handling of constants.
4155         (vhdl-error-regexp-emacs-alist): New variable.
4156         (vhdl-error-regexp-add-emacs): New function;
4157         adds support for new compile.el (Emacs 22+)
4158         (vhdl-generate-makefile-1): Change target order for single lib. units.
4159         Allow use of absolute file names.
4161 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4163         * simple.el (prog-indent-sexp): Indent enclosing defun.
4165 2013-05-15  Glenn Morris  <rgm@gnu.org>
4167         * cus-start.el (show-trailing-whitespace): Move to editing basics.
4168         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4169         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4170         (whitespace-highlight): Move to whitespace group.
4172         * comint.el (comint-source):
4173         * pcmpl-linux.el (pcmpl-linux):
4174         * shell.el (shell-faces):
4175         * eshell/esh-opt.el (eshell-opt):
4176         * international/ccl.el (ccl): Remove empty custom groups.
4178         * completion.el (dynamic-completion-mode):
4179         * jit-lock.el (jit-lock-debug-mode):
4180         * minibuffer.el (completion-in-region-mode):
4181         * type-break.el (type-break-mode-line-message-mode)
4182         (type-break-query-mode):
4183         * emulation/tpu-edt.el (tpu-edt-mode):
4184         * progmodes/subword.el (global-subword-mode, global-superword-mode):
4185         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4186         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4188         * term/xterm.el (xterm): Change parent group to terminals.
4190         * master.el (master): Remove empty custom group.
4191         (master-mode): Remove unused :group argument.
4192         * textmodes/refill.el (refill): Remove empty custom group.
4193         (refill-mode): Remove unused :group argument.
4195         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4197         * cus-dep.el: Provide a feature.
4198         (custom-make-dependencies): Ignore dotfiles (dir-locals).
4199         Don't mistakenly ignore files whose basenames match a basename
4200         from preloaded-file-list (eg cedet/ede/simple.el).
4201         Add a fallback method for getting :group.
4203 2013-05-15  Juri Linkov  <juri@jurta.org>
4205         * isearch.el (isearch-char-by-name): Rename from
4206         `isearch-insert-char-by-name'.  Doc fix.
4207         (isearch-forward): Mention `isearch-char-by-name' in
4208         the docstring.  (Bug#13348)
4210         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4211         `exit-minibuffer' instead of
4212         `isearch-nonincremental-exit-minibuffer'.
4213         (isearch-edit-string): Remove mention of
4214         `isearch-nonincremental-exit-minibuffer' from docstring.
4215         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4216         (isearch-forward-exit-minibuffer)
4217         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
4219 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4221         * loadup.el: Just use unversioned DOC.
4223         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4224         literals as extending to EOB.
4225         (nxml-last-fontify-end): Remove unused variable.
4226         (nxml-after-change1): Use with-silent-modifications.
4227         (nxml-extend-after-change-region): Simplify.
4228         (nxml-extend-after-change-region1): Remove function.
4229         (nxml-after-change1): Don't adjust for dependent regions.
4230         (nxml-fontify-matcher): Simplify.
4231         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4232         (xmltok-add-dependent): Remove function.
4233         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4234         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4235         (xmltok-scan-prolog-after-processing-instruction-open): Treat
4236         unclosed <[[, <?, comment, and other literals as extending to EOB.
4237         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4238         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4239         Remove functions.
4240         (rng-do-some-validation-1): Don't mark dependent regions.
4241         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4242         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4243         (nxml-clear-dependent-regions): Remove functions.
4244         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4245         (nxml-ensure-scan-up-to-date):
4246         Don't clear&mark dependent regions.
4248 2013-05-15  Leo Liu  <sdl.web@gmail.com>
4250         * progmodes/octave.el (octave-goto-function-definition):
4251         Improve and fix callers.
4253 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4255         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4256         the setter (bug#14387).
4258         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4259         surrounding group (bug#14402).
4261 2013-05-14  Juri Linkov  <juri@jurta.org>
4263         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4264         (Bug#14390)
4266 2013-05-14  Glenn Morris  <rgm@gnu.org>
4268         * progmodes/f90.el (f90-imenu-generic-expression):
4269         Fix typo in 2013-05-08 change.  (Bug#14402)
4271 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4273         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4274         Remove signals for which replies are never received.
4276 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4278         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4279         (gdb-handler-alist, gdb-handler-number): Remove variables.
4280         (gdb-handler-list): New variable.
4281         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4282         (gdb-pending-handler-p, gdb-handle-reply)
4283         (gdb-remove-all-pending-triggers): New functions.
4284         (gdb-discard-unordered-replies): New defcustom.
4285         (gdb-handler): New defstruct.
4286         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
4287         instead of gdb-pending-triggers.  Update docstring.
4288         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
4289         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4290         (gdb-var-update-handler, def-gdb-auto-update-trigger)
4291         (def-gdb-auto-update-handler, gdb-get-changed-registers)
4292         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4293         (gdb-frame-handler): Pending triggers are now automatically managed.
4294         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4295         Remove argument.
4296         (gdb-input): Automatically handles pending triggers.  Update docstring.
4297         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4298         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4299         Update comments.
4300         (gdb-done-or-error): Now use gdb-handle-reply.
4302 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4304         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4305         gdb-debug-log.
4307 2013-05-14  Glenn Morris  <rgm@gnu.org>
4309         * subr.el (user-emacs-directory-warning): New option.
4310         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
4312 2013-05-14  Leo Liu  <sdl.web@gmail.com>
4314         * progmodes/octave.el (octave-font-lock-keywords): Fix error
4315         during redisplay.
4316         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4317         (octave-font-lock-texinfo-comment): Fix invalid search bound
4318         error: wrong side of point.
4320 2013-05-14  Glenn Morris  <rgm@gnu.org>
4322         * progmodes/flymake.el (flymake-xml-program): New option.
4323         (flymake-xml-init): Use it.
4325         * term/xterm.el: Provide a feature.
4327         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
4329 2013-05-13  Glenn Morris  <rgm@gnu.org>
4331         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4332         Add compat aliases as a hack workaround.  (Bug#14384)
4334 2013-05-13  Leo Liu  <sdl.web@gmail.com>
4336         * progmodes/octave.el (octave-indent-comment): Fix indentation for
4337         ###, and %!.
4338         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4339         C-M-q.
4340         (octave-comment-start-skip): Include %!.
4341         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4343 2013-05-12  Leo Liu  <sdl.web@gmail.com>
4345         * progmodes/octave.el (inferior-octave-startup): Store the value
4346         of __octave_srcdir__ for octave-source-directories.
4347         (inferior-octave-check-process): New function refactored out of
4348         inferior-octave-send-list-and-digest.
4349         (octave-source-directories)
4350         (octave-find-definition-filename-function): New variables.
4351         (octave-source-directories)
4352         (octave-find-definition-default-filename): New functions.
4353         (octave-find-definition): Improve to find functions implemented in C++.
4355 2013-05-12  Glenn Morris  <rgm@gnu.org>
4357         * calendar/diary-lib.el (diary-outlook-format-1):
4358         Don't include dayname in the output.  (Bug#14349)
4360 2013-05-11  Glenn Morris  <rgm@gnu.org>
4362         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4364         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4365         Treat cc-provide like provide.
4367 2013-05-11  Kevin Ryde  <user42@zip.com.au>
4369         * cus-dep.el (custom-make-dependencies):
4370         Use generated-autoload-load-name for the sake of files such
4371         such cedet/semantic/bovine/c.el, where the base file name
4372         is not in load-path.  (Bug#5277)
4374 2013-05-11  Glenn Morris  <rgm@gnu.org>
4376         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4377         Provide features.
4379 2013-05-11  Leo Liu  <sdl.web@gmail.com>
4381         * progmodes/octave.el (octave-indent-comment): Improve.
4382         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4383         (octave-eldoc-function-signatures, octave-eldoc-function):
4384         New functions.
4385         (octave-mode, inferior-octave-mode): Add eldoc support.
4387 2013-05-11  Richard Stallman  <rms@gnu.org>
4389         * epa.el (epa-decrypt-file): Take output file name as argument
4390         and read it using `interactive'.
4392 2013-05-11  Leo Liu  <sdl.web@gmail.com>
4394         * progmodes/octave.el (octave-beginning-of-line)
4395         (octave-end-of-line): Check before using up-list because it jumps
4396         out of more syntactic contructs since moving to smie.
4397         (octave-indent-comment): New function.
4398         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
4399         (octave-begin-keywords, octave-end-keywords)
4400         (octave-reserved-words, octave-smie-bnf-table)
4401         (octave-smie-rules): Add new keywords from Octave 3.6.4.
4403 2013-05-11  Glenn Morris  <rgm@gnu.org>
4405         * faces.el (internal-face-x-get-resource):
4406         * frame.el (ns-display-monitor-attributes-list):
4407         * calc/calc-aent.el (math-to-radians-2):
4408         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4409         Fix declarations.
4411         * calc/calc-menu.el: Make it loadable in isolation.
4413         * net/eudcb-bbdb.el: Make it loadable without bbdb.
4414         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4415         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4416         (eudc-bbdb-query-internal): Require 'bbdb.
4418         * lpr.el (lpr-headers-switches):
4419         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4421         * progmodes/sql.el (sql-login-params): Fix and improve :type.
4423         * emulation/edt-mapper.el: In batch mode, error rather than hang.
4425         * term.el (term-set-escape-char): Make it idempotent.
4427 2013-05-10  Leo Liu  <sdl.web@gmail.com>
4429         * progmodes/octave.el (inferior-octave-completion-table):
4430         No longer a function and all uses changed.  Use cache to speed up
4431         completion due to bug#11906.
4432         (octave-beginning-of-defun): Re-write to be more general.
4434 2013-05-10  Glenn Morris  <rgm@gnu.org>
4436         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4438 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4440         * comint.el (comint-redirect-send-command-to-process): Use :around
4441         rather than :override for comint-redirect-filter.
4442         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4443         Call it instead of comint-redirect-original-filter-function (which
4444         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
4446 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
4448         * frame.el (display-monitor-attributes-list): Add NS case.
4449         (ns-display-monitor-attributes-list): Declare.
4451 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
4453         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
4455 2013-05-09  Glenn Morris  <rgm@gnu.org>
4457         * international/fontset.el (vertical-centering-font-regexp):
4458         Set standard-value.
4460         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4462         * bookmark.el (bookmark-search-delay):
4463         * cus-start.el (vertical-centering-font-regexp):
4464         * ps-mule.el (ps-mule-font-info-database-default):
4465         * ps-print.el (ps-default-fg, ps-default-bg):
4466         * type-break.el (type-break-good-break-interval):
4467         * whitespace.el (whitespace-indentation-regexp)
4468         (whitespace-space-after-tab-regexp):
4469         * emacs-lisp/testcover.el (testcover-1value-functions)
4470         (testcover-noreturn-functions, testcover-progn-functions)
4471         (testcover-prog1-functions):
4472         * emulation/viper-init.el (viper-emacs-state-cursor-color):
4473         * eshell/em-glob.el (eshell-glob-translate-alist):
4474         * play/tetris.el (tetris-tty-colors):
4475         * progmodes/cpp.el (cpp-face-default-list):
4476         * progmodes/flymake.el (flymake-allowed-file-name-masks):
4477         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4478         (idlwave-help-browser-generic-args):
4479         * progmodes/make-mode.el (makefile-special-targets-list):
4480         * progmodes/python.el (python-shell-virtualenv-path):
4481         * progmodes/verilog-mode.el (verilog-active-low-regexp)
4482         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4483         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4484         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4485         * textmodes/reftex-vars.el (reftex-format-label-function):
4486         * textmodes/remember.el (remember-diary-file): Fix custom types.
4488         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4489         Add :version.
4491 2013-05-09  Leo Liu  <sdl.web@gmail.com>
4493         * progmodes/octave.el (inferior-octave-completion-at-point):
4494         Restore file completion.  (Bug#14300)
4495         (inferior-octave-startup): Fix incorrect highlighting for the
4496         first prompt.
4498 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4500         * progmodes/ruby-mode.el: First cut at SMIE support.
4501         (ruby-use-smie): New var.
4502         (ruby-smie-grammar): New constant.
4503         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4504         (ruby-smie--forward-token, ruby-smie--backward-token)
4505         (ruby-smie-rules): New functions.
4506         (ruby-mode-variables): Setup SMIE if applicable.
4508 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
4510         * simple.el (line-move-visual): Signal beginning/end of buffer
4511         only if vertical-motion moved less than it was requested.  Avoids
4512         silly incorrect error messages when there are display strings with
4513         multiple newlines at EOL.
4515 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4517         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4518         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4519         (prolog-char-quote-workaround):
4520         * progmodes/cperl-mode.el (cperl-under-as-char):
4521         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4522         Mark as obsolete.
4523         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4524         their declaration.
4525         (vhdl-mode-syntax-table-init): Remove.
4527         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4528         last change.
4530         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4531         syntax for "_".
4532         (ld-script-font-lock-keywords):
4533         Change regexps to use things like \_< and \_>.
4535         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4536         Change all regexps to use things like \_< and \_>.
4538         * progmodes/autoconf.el (autoconf-definition-regexp)
4539         (autoconf-font-lock-keywords, autoconf-current-defun-function):
4540         Handle a _ with symbol syntax.
4541         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4543         * progmodes/ada-mode.el (ada-mode-abbrev-table):
4544         Consolidate declaration.
4545         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4546         the declaration.
4547         (ada-create-syntax-table): Remove.
4548         (ada-capitalize-word): Don't mess with the syntax of "_" since it
4549         already has the right syntax nowadays.
4550         (ada-goto-next-word): Don't change the syntax of "_".
4552         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4553         with-wrapper-hook.
4555 2013-05-08  Sam Steingold  <sds@gnu.org>
4557         * thingatpt.el (thing-at-point): Accept optional second argument
4558         NO-PROPERTIES to strip the text properties from the return value.
4559         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4560         to `thing-at-point' instead of stripping the properties ourselves.
4561         Also, when `thing-at-point' fails to find a url, prepend "http://"
4562         to the filename at point on the assumption that the user is
4563         pointing at something like gnu.org/gnu.
4565 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
4567         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4568         * faces.el (crm-separator):
4569         Silence byte-compiler.
4571         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4572         (tool-bar-map): Remove unneeded defvars.
4574 2013-05-08  Leo Liu  <sdl.web@gmail.com>
4576         Re-work a fix for bug#10994 based on Le Wang's patch.
4577         * ido.el (ido-remove-consecutive-dups): New helper.
4578         (ido-completing-read): Use it.
4579         (ido-chop): Revert fix for bug#10994.
4581 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
4583         * cus-edit.el (custom-save-variables):
4584         Pretty-print long values.  (Bug#14187)
4586 2013-05-08  Glenn Morris  <rgm@gnu.org>
4588         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4589         (m4-mode-syntax-table): Init in the defvar.
4590         (m4-mode-abbrev-table): Let define-derived-mode define it.
4592 2013-05-08  Tom Tromey  <tromey@redhat.com>
4594         * progmodes/m4-mode.el (m4-mode-syntax-table):
4595         Do not treat "_" as word constituent.  (Bug#14167)
4597 2013-05-07  Glenn Morris  <rgm@gnu.org>
4599         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4600         Remove explicit eshell-isearch-cancel-map.
4602         * progmodes/f90.el (f90-smart-end-names): New option.
4603         (f90-smart-end): Doc fix.
4604         (f90-end-block-optional-name): New constant.
4605         (f90-block-match): Respect f90-smart-end-names.
4607 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4609         * progmodes/octave.el (octave-smie-forward-token): Be more careful
4610         about implicit semi-colons (bug#14218).
4612 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4614         * frame.el (display-monitor-attributes-list)
4615         (frame-monitor-attributes): New functions.
4617 2013-05-06  Leo Liu  <sdl.web@gmail.com>
4619         * progmodes/octave.el (octave-syntax-propertize-function): Change
4620         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
4621         (octave-font-lock-keywords): Use octave-operator-regexp.
4622         (octave-completion-at-point): Rename from
4623         octave-completion-at-point-function.
4624         (inferior-octave-directory-tracker): Robustify.
4625         (octave-text-functions): Remove and fix its uses.  No such things
4626         any more.
4628 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4630         * emacs-lisp/trace.el (trace--display-buffer): New function.
4631         (trace-make-advice): Use it.
4633 2013-05-06  Juri Linkov  <juri@jurta.org>
4635         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
4636         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4637         Doc fix.
4638         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4639         in the help string.  (Bug#12985)
4641 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4643         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
4645 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4647         * progmodes/perl-mode.el: Add support for here documents.
4648         (perl-syntax-propertize-function): Match here-doc markers.
4649         (perl-syntax-propertize-special-constructs): Find their end.
4650         (perl-imenu-generic-expression): Use [:alnum:].
4652         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4653         (advice--add-function): Refresh the advice if already present
4654         (bug#14317).
4656 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
4658         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
4660 2013-05-06  Glenn Morris  <rgm@gnu.org>
4662         * w32-fns.el (w32-charset-info-alist): Declare.
4664         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4665         of its defcustom properties.
4666         (eshell-cmpl-initialize): No need to load pcomplete.
4668         * generic-x.el: No need to require comint when compiling.
4670         * net/eudc-export.el: Make it loadable without bbdb.
4671         (top-level): Use require rather than load-library.
4672         (eudc-create-bbdb-record, eudc-bbdbify-phone)
4673         (eudc-batch-export-records-to-bbdb)
4674         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4675         Require bbdb.
4677 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4679         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4680         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4681         some tweaks, instead.
4683 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4685         * progmodes/octave.el (octave-font-lock-keywords)
4686         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4687         (inferior-octave-send-list-and-digest): Improve error message.
4688         (octave-mode, inferior-octave-mode): Use setq-local.
4689         (octave-help): Set info-lookup-mode.
4691 2013-05-05  Richard Stallman  <rms@gnu.org>
4693         * vc/compare-w.el (compare-windows-whitespace):
4694         Treat no-break space as whitespace.
4696         * mail/rmailsum.el (rmail-summary-rmail-update):
4697         Detect empty summary and don't change selected message.
4698         (rmail-summary-goto-msg): Likewise.
4700         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4701         Doc fixes, rename args.
4703 2013-05-05  Alan Mackenzie  <acm@muc.de>
4705         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4707 2013-05-05  Juri Linkov  <juri@jurta.org>
4709         * info.el (Info-read-subfile): Use (point-min) instead of (point)
4710         to not add the length of the summary segment to the return value.
4711         (Bug#14125)
4713 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4715         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4716         (inferior-octave-output-filter): Remove.
4717         (octave-send-region, inferior-octave-startup): Fix callers.
4718         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4719         (octave-binary-file-extensions): New user variable.
4720         (octave-find-definition): Confirm if opening binary files.
4721         (octave-help-file): Use octave-find-definition to get the binary
4722         confirmation.
4723         (octave-help): Adjust for octave-help-file change.
4725 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4727         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4728         Merge the two entries that handle function definitions.
4729         (pascal--syntax-propertize): New const.
4730         (pascal-mode): Use it.  Use setq-local.
4732 2013-05-04  Glenn Morris  <rgm@gnu.org>
4734         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4735         (diary-from-outlook): Respect diary-from-outlook-function.
4737 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4739         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4740         Move the declaration from C.
4741         (read-minibuffer, eval-minibuffer): Move from C.
4742         (completion-setup-function): Avoid minibuffer-completion-contents.
4744 2013-05-03  Leo Liu  <sdl.web@gmail.com>
4746         * progmodes/octave.el (octave-font-lock-keywords): Do not
4747         dehighlight 'end' in comments or strings.
4748         (octave-completing-read, octave-goto-function-definition):
4749         New helpers.
4750         (octave-help-buffer): New user variable.
4751         (octave-help-file, octave-help-function): New button types.
4752         (octave-help): New command and bind it to C-h ;.
4753         (octave-find-definition): New command and bind it to M-.
4754         (user-error): Alias to error if not defined.
4756 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4758         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4759         for \.  (bug#14332)
4760         (octave-font-lock-keywords): Include [ and {.
4762 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4764         * progmodes/octave.el (inferior-octave-startup-file): Change default.
4765         (inferior-octave): Remove calling comint-mode and return the buffer.
4766         (inferior-octave-startup): Cosmetic changes.
4768 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4770         * progmodes/octave.el (octave-syntax-propertize-function):
4771         Include the case when ' is at line beginning.  (Bug#14336)
4773 2013-05-02  Glenn Morris  <rgm@gnu.org>
4775         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4776         * desktop.el (vc-dir-mode): Just autoload it here.
4778 2013-05-02  Alan Mackenzie  <acm@muc.de>
4780         Eliminate variable c-standard-font-lock-fontify-region-function.
4781         * progmodes/cc-mode.el
4782         (c-standard-font-lock-fontify-region-function): Remove.
4783         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4785 2013-05-01  Leo Liu  <sdl.web@gmail.com>
4787         * progmodes/octave.el: Compatible with older emacs-24 releases.
4788         (inferior-octave-has-built-in-variables): Remove.  Built-in
4789         variables were removed from Octave in 2007.
4790         (inferior-octave-startup): Fix uses.
4791         (comint-line-beginning-position): Remove compatibility code for
4792         emacs 21.
4794 2013-05-01  Juri Linkov  <juri@jurta.org>
4796         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
4798 2013-05-01  Juri Linkov  <juri@jurta.org>
4800         * comint.el (comint-previous-matching-input): Don't print message
4801         "History item: %d" when `isearch-mode' is active.
4802         (comint-history-isearch-message): Print message "History item: %d"
4803         when `comint-input-ring-index' is not empty and this function is
4804         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
4806 2013-05-01  Leo Liu  <sdl.web@gmail.com>
4808         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4809         definitions.  Use completion-at-point to insert keywords.
4810         (octave-abbrev-start): Remove.
4811         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4813 2013-04-30  Leo Liu  <sdl.web@gmail.com>
4815         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4816         change.
4818 2013-04-30  Alan Mackenzie  <acm@muc.de>
4820         Handle arbitrarily long C++ member initialisation lists.
4821         * progmodes/cc-engine.el (c-back-over-member-initializers):
4822         new function.
4823         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4824         (most) member init lists.
4826 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4828         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4829         variable.
4831 2013-04-30  Leo Liu  <sdl.web@gmail.com>
4833         * progmodes/octave.el (octave-variables): Remove.  No builtin
4834         variables any more.  All converted to functions.
4835         (octave-font-lock-keywords, octave-completion-at-point-function):
4836         Fix uses.
4837         (octave-font-lock-texinfo-comment): New user variable.
4838         (octave-texinfo-font-lock-keywords): New variable for texinfo
4839         comment block.
4840         (octave-function-comment-block): New face.
4841         (octave-font-lock-texinfo-comment): New function.
4842         (octave-mode): Font lock texinfo comment block.
4844 2013-04-29  Leo Liu  <sdl.web@gmail.com>
4846         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4847         indexing expression.
4848         (octave-continuation-string): Do not use \.
4849         (inferior-octave-complete-impossible): Remove.
4850         (inferior-octave-completion-table)
4851         (inferior-octave-completion-at-point): Remove its uses.
4852         (inferior-octave-startup): completion_matches was introduced to
4853         Octave in 1996 so safe to assume it.
4854         (octave-function-file-comment): Improve to follow how Octave does it.
4855         (octave-update-function-file-comment): Tweak.
4857 2013-04-29  Leo Liu  <sdl.web@gmail.com>
4859         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4860         (inferior-octave-startup): Remove inferior-octave-startup-hook.
4861         (octave-function-file-comment): Fix typo.
4862         (octave-sync-function-file-names): Use read-char-choice.
4864 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
4866         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4867         to t for the less important warnings.
4869 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
4871         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
4873 2013-04-27  Glenn Morris  <rgm@gnu.org>
4875         * vc/log-view.el (log-view-current-entry):
4876         Treat "---" separator lines as part of the following rev.  (Bug#14169)
4878 2013-04-27  Juri Linkov  <juri@jurta.org>
4880         * subr.el (read-number): Doc fix about using it by interactive
4881         code letter `n'.  (Bug#14254)
4883 2013-04-27  Juri Linkov  <juri@jurta.org>
4885         * desktop.el (desktop-auto-save-timeout): New option.
4886         (desktop-file-checksum): New variable.
4887         (desktop-save): Add optional arg `auto-save' and don't auto-save
4888         if nothing changed.
4889         (desktop-auto-save-timer): New variable.
4890         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
4891         (after-init-hook): Call `desktop-auto-save-set-timer'.
4892         Suggested by Reuben Thomas <rrt@sc3d.org> in
4893         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
4895 2013-04-27  Leo Liu  <sdl.web@gmail.com>
4897         * progmodes/octave.el (octave-function-file-p)
4898         (octave-skip-comment-forward, octave-function-file-comment)
4899         (octave-update-function-file-comment): New functions.
4900         (octave-mode-map): Bind C-c ; to
4901         octave-update-function-file-comment.
4902         (octave-mode-menu): Add octave-update-function-file-comment.
4903         (octave-mode, inferior-octave-mode): Fix doc-string.
4904         (octave-insert-defun): Conform to Octave's coding convention.
4905         (Bug#14285)
4907         * files.el (basic-save-buffer): Don't let errors in
4908         before-save-hook prevent saving buffer.
4910 2013-04-20  Roland Winkler  <winkler@gnu.org>
4912         * faces.el (read-face-name): Use completing-read if arg multiple
4913         is nil.
4915 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4917         * ls-lisp.el (ls-lisp-insert-directory): If no files are
4918         displayed, move point to after the totals line.
4919         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
4920         for the details.
4922 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4924         * emacs-lisp/package.el (package-autoload-ensure-default-file):
4925         Add current dir to the load-path.
4926         (package-generate-autoloads): Don't rely on
4927         autoload-ensure-default-file.
4929 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
4931         * textmodes/remember.el (remember-store-in-files): Document that
4932         the file name format is passed to `format-time-string'.
4934 2013-04-26  Leo Liu  <sdl.web@gmail.com>
4936         * progmodes/octave.el (octave-sync-function-file-names): New function.
4937         (octave-mode): Use it in before-save-hook.
4939 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4941         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
4942         (bug#14274).
4944         * progmodes/octave.el (octave-smie-forward-token): Properly skip
4945         \n and comment, even if it's not an implicit ; (bug#14218).
4947 2013-04-26  Glenn Morris  <rgm@gnu.org>
4949         * subr.el (read-number): Once more use `read' rather than
4950         `string-to-number', to trap non-numeric input.  (Bug#14254)
4952 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
4954         * emacs-lisp/syntax.el (syntax-propertize-multiline):
4955         Use `syntax-multiline' text property consistently instead of
4956         `font-lock-multiline'.  (Bug#14237)
4958 2013-04-26  Glenn Morris  <rgm@gnu.org>
4960         * emacs-lisp/shadow.el (list-load-path-shadows):
4961         No longer necessary to check for duplicate simple.el, since
4962         2012-07-07 change to init_lread to not include installation lisp
4963         directories in load-path when running uninstalled.  (Bug#14270)
4965 2013-04-26  Leo Liu  <sdl.web@gmail.com>
4967         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4968         (octave-mode, inferior-octave-mode): Use setq-local.
4969         (octave-not-in-string-or-comment-p): Rename to
4970         octave-in-string-or-comment-p.
4971         (octave-in-comment-p, octave-in-string-p)
4972         (octave-in-string-or-comment-p): Replace defsubst with defun.
4974 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
4976         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
4978 2013-04-25  Bastien Guerry  <bzg@gnu.org>
4980         * textmodes/remember.el (remember-data-directory)
4981         (remember-directory-file-name-format): Fix custom types.
4983 2013-04-25  Leo Liu  <sdl.web@gmail.com>
4985         * progmodes/octave.el (octave-completion-at-point-function):
4986         Make use of inferior octave process.
4987         (octave-initialize-completions): Remove.
4988         (inferior-octave-completion-table): New function.
4989         (inferior-octave-completion-at-point): Use it.
4990         (octave-completion-alist): Remove.
4992 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * progmodes/opascal.el: Use font-lock and syntax-propertize.
4995         (opascal-mode-syntax-table): New var.
4996         (opascal-literal-kind, opascal-is-literal-end)
4997         (opascal-literal-token-at): Rewrite.
4998         (opascal--literal-start-re, opascal-font-lock-keywords)
4999         (opascal--syntax-propertize): New constants.
5000         (opascal-font-lock-defaults): Adjust.
5001         (opascal-mode): Use them.  Set comment-<foo> variables as well.
5002         (delphi-comment-face, opascal-comment-face, delphi-string-face)
5003         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5004         (delphi-other-face, opascal-other-face): Remove face variables.
5005         (opascal-save-state): Remove macro.
5006         (opascal-fontifying-progress-step): Remove constant.
5007         (opascal--ignore-changes): Remove var.
5008         (opascal-set-token-property, opascal-parse-next-literal)
5009         (opascal-is-stable-literal, opascal-complete-literal)
5010         (opascal-is-literal-start, opascal-face-of)
5011         (opascal-parse-region, opascal-parse-region-until-stable)
5012         (opascal-fontify-region, opascal-after-change)
5013         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5014         (opascal-debug-parse-region, opascal-debug-parse-window)
5015         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5016         (opascal-debug-fontify-buffer): Remove.
5017         (opascal-debug-mode-map): Adjust accordingly.
5019 2013-04-25  Leo Liu  <sdl.web@gmail.com>
5021         Merge octave-mod.el and octave-inf.el into octave.el with some
5022         cleanups.
5023         * progmodes/octave.el: New file renamed from octave-mod.el.
5024         * progmodes/octave-inf.el: Merged into octave.el.
5025         * progmodes/octave-mod.el: Renamed to octave.el.
5027 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
5029         * textmodes/reftex-vars.el
5030         (reftex-label-ignored-macros-and-environments): New defcustom.
5032         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5034 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5036         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5037         (smie-indent-keyword): Improve the check to ensure that the next
5038         comment is really on the same line.
5039         (smie-indent-comment): Don't align with a subsequent closer (or eob).
5041         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5042         semi-colons if the line is not otherwise empty (bug#14218).
5044 2013-04-25  Glenn Morris  <rgm@gnu.org>
5046         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5048 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5050         * progmodes/opascal.el (opascal-set-token-property): Rename from
5051         opascal-set-text-properties and only set `token' (bug#14134).
5052         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5053         (opascal-literal-text-properties): Remove.
5054         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5055         Adjust callers.
5057 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
5059         * textmodes/remember.el (remember-handler-functions): Add an
5060         option for a new handler `remember-store-in-files'.
5061         (remember-data-directory, remember-directory-file-name-format):
5062         New options.
5063         (remember-store-in-files): New function to store remember notes
5064         as separate files within a directory.
5066 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
5068         * progmodes/compile.el (compilation-next-error-function):
5069         Pass "formats" to compilation-find-file (bug#11777).
5071 2013-04-24  Glenn Morris  <rgm@gnu.org>
5073         * vc/vc-bzr.el (vc-bzr-print-log):
5074         * vc/vc-hg.el (vc-hg-print-log):
5075         * vc/vc-svn.el (vc-svn-print-log):
5076         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
5078         * vc/vc-bzr.el (vc-bzr-print-log):
5079         * vc/vc-cvs.el (vc-cvs-print-log):
5080         * vc/vc-git.el (vc-git-print-log):
5081         * vc/vc-hg.el (vc-hg-print-log):
5082         * vc/vc-mtn.el (vc-mtn-print-log):
5083         * vc/vc-rcs.el (vc-rcs-print-log):
5084         * vc/vc-sccs.el (vc-sccs-print-log):
5085         * vc/vc-svn.el (vc-svn-print-log):
5086         * vc/vc.el (vc-print-log-internal): Doc fixes.
5088 2013-04-23  Glenn Morris  <rgm@gnu.org>
5090         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5091         Remove venerable code attempting to avoid substitute-command-keys.
5093 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
5095         * textmodes/reftex-vars.el (reftex-label-regexps):
5096         Call `reftex-compile-variables' after changes to this variable.
5098 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5100         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5101         Use lexical-binding.
5102         (jit-lock-force-redisplay): Use markers, check buffer's continued
5103         existence and beware narrowed buffers.
5104         (jit-lock-fontify-now): Adjust call accordingly.
5106 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5108         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5109         to avoid misleading the user.
5111 2013-04-22  Leo Liu  <sdl.web@gmail.com>
5113         * info-look.el: Prefer latex2e.info.  (Bug#14240)
5115 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
5117         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
5119         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5120         * net/tramp.el (tramp-call-process): ... here.
5121         (tramp-set-completion-function, tramp-parse-putty):
5122         * net/tramp-adb.el (tramp-adb-execute-adb-command):
5123         * net/tramp-gvfs.el (tramp-gvfs-send-command):
5124         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5125         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5126         (tramp-call-local-coding-command): Use `tramp-call-process'
5127         instead of `tramp-compat-call-process'.
5129         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5130         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5131         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5132         (tramp-find-inline-compress): Improve traces.
5133         (tramp-maybe-send-script): Check for Perl binary.
5134         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5136 2013-04-22  Daiki Ueno  <ueno@gnu.org>
5138         * epg.el (epg-context-pinentry-mode): New function.
5139         (epg-context-set-pinentry-mode): New function.
5140         (epg--start): Pass --pinentry-mode option to gpg command.
5142 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
5144         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5145         `comint-dynamic-complete' is obsolete since 24.1, replaced by
5146         `completion-at-point'.  (Bug#13774)
5148         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5149         default key binding for `describe-distribution' has been moved to
5150         `C-h C-o'.  (Bug#13970)
5152 2013-04-21  Glenn Morris  <rgm@gnu.org>
5154         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5155         Add doc strings.
5156         (vc-print-log): Clarify interactive prompt.
5158 2013-04-20  Glenn Morris  <rgm@gnu.org>
5160         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5161         No longer include timestamp etc information.
5163 2013-04-20  Roland Winkler  <winkler@gnu.org>
5165         * faces.el (read-face-name): Bug fix, return just one face if arg
5166         multiple is nil.  (Bug#14209)
5168 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5170         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5171         (remove-function): Autoload.
5173         * comint.el (comint-redirect-original-filter-function): Remove.
5174         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5175         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5176         (vc-cvs-annotate-command):
5177         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5178         * progmodes/prolog.el (prolog-consult-compile):
5179         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5180         Use add/remove-function instead.
5181         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5182         (gud-tooltip-process-output, gud-tooltip-tips):
5183         Use add/remove-function instead.
5184         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5185         (scheme-interaction-mode, exit-scheme-interaction-mode):
5186         Use add/remove-function instead.
5188         * vc/vc-dispatcher.el: Use lexical-binding.
5189         (vc--process-sentinel): Rename from vc-process-sentinel.
5190         Change last arg to be the code to run.  Don't use vc-previous-sentinel
5191         and vc-sentinel-commands any more.
5192         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
5193         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5195 2013-04-19 Masatake YAMATO  <yamato@redhat.com>
5197         * progmodes/sh-script.el (sh-imenu-generic-expression):
5198         Handle function names with a single character.   (Bug#14111)
5200 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
5202         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5203         for subroutines defined in an eval (bug#14182).
5205 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5207         * bookmark.el (bookmark-completing-read): Improve handling of empty
5208         string (bug#14176).
5210 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5212         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5214 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5216         New faster Imenu implementation (bug#14058).
5217         * progmodes/python.el:
5218         (python-imenu-prev-index-position):
5219         (python-imenu-format-item-label-function)
5220         (python-imenu-format-parent-item-label-function)
5221         (python-imenu-format-parent-item-jump-label-function):
5222         New vars.
5223         (python-imenu-format-item-label)
5224         (python-imenu-format-parent-item-label)
5225         (python-imenu-format-parent-item-jump-label)
5226         (python-imenu--put-parent, python-imenu--build-tree)
5227         (python-imenu-create-index, python-imenu-create-flat-index)
5228         (python-util-popn): New functions.
5229         (python-mode): Set imenu-create-index-function to
5230         python-imenu-create-index.
5232 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5234         * winner.el (winner-active-region): Use region-active-p, activate-mark
5235         and deactivate-mark (bug#14225).
5237         * simple.el (deactivate-mark): Don't inline it.
5239 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
5241         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5243 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
5245         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5246         file extensions from the archive-mode entry in order to prefer
5247         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5249 2013-04-18  Leo Liu  <sdl.web@gmail.com>
5251         * bindings.el (help-event-list): Add ?\?.
5253 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5255         * subr.el (with-wrapper-hook): Declare obsolete.
5256         * simple.el (filter-buffer-substring-function): New hook.
5257         (filter-buffer-substring): Use it.
5258         (filter-buffer-substring-functions): Mark obsolete.
5259         * minibuffer.el (completion-in-region-function): New hook.
5260         (completion-in-region): Use it.
5261         (completion-in-region-functions): Mark obsolete.
5262         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5263         * abbrev.el (abbrev-expand-function): New hook.
5264         (expand-abbrev): Use it.
5265         (abbrev-expand-functions): Mark obsolete.
5266         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5267         and :filter-return.
5269 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5271         * progmodes/python.el (python-nav--syntactically): Fix cornercases
5272         and do not care about match data.
5274 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5276         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5277         completion tables when completing error conditions and
5278         `declare' arguments.
5279         (lisp-complete-symbol, field-complete): Mark as obsolete.
5280         (check-parens): Unmatched parens are user errors.
5281         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5283 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
5285         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5286         command changed buffer (ie. `flyspell-pre-buffer' is not current
5287         buffer), which prevents making decisions based on invalid value of
5288         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
5289         cause an error when `flyspell-pre-point' was nil after switching
5290         buffers.
5291         (flyspell-post-command-hook): No longer needs to change buffers when
5292         checking pre-word.  While at it remove unnecessary progn.
5294 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
5296         * textmodes/ispell.el (ispell-add-per-file-word-list):
5297         Fix `flyspell-correct-word-before-point' error when accepting
5298         words and `coment-padding' is an integer by using
5299         `comment-normalize-vars' (Bug #14214).
5301 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5303         New defun movement commands.
5304         * progmodes/python.el (python-nav--syntactically)
5305         (python-nav--forward-defun, python-nav-backward-defun)
5306         (python-nav-forward-defun): New functions.
5308 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5310         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5311         (python-syntax-context): Use named compiler-macro for backwards
5312         compatibility with Emacs 24.x.
5314 2013-04-17  Leo Liu  <sdl.web@gmail.com>
5316         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5317         octave-hide-process-buffer.
5319 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5321         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5322         (bug#14216).
5324 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
5326         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5327         Fix adjustment of offset when receiving incomplete responses from GDB
5328         (bug#14129).
5330 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5332         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5333         python-mode-abbrev-table.
5334         (python-skeleton-define): Adjust accordingly.
5335         (python-mode-abbrev-table): New table that inherits from it so that
5336         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5338         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5339         (abbrev-symbol): Use it.
5340         (abbrev--before-point): Use it since we already handle inheritance.
5342 2013-04-16  Leo Liu  <sdl.web@gmail.com>
5344         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5345         binding to info-lookup-symbol.
5347 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
5349         * minibuffer.el (completion--twq-all):
5350         * term/ns-win.el (ns-initialize-window-system):
5351         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5353 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5355         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5356         global bindings.
5358         * doc-view.el (doc-view-start-process): Handle url-handler directories.
5360 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
5362         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5363         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5364         to nil.
5365         (ruby-end-of-defun): Remove the unused arg, change the docstring
5366         to reflect that this function is only used as the value of
5367         `end-of-defun-function'.
5368         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5369         to reflect an earlier change that beginning/end-of-defun functions
5370         jump between methods in a class definition, as well as top-level
5371         functions.
5373 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5375         * minibuffer.el (minibuffer-complete): Don't just scroll
5376         a *Completions* that's been iconified.
5377         (minibuffer-force-complete): Make sure repetitions do cycle when going
5378         through completion-in-region -> minibuffer-complete.
5380 2013-04-15  Alan Mackenzie  <acm@muc.de>
5382         Correct the placement of c-cpp-delimiters when there're #s not at
5383         col 0.
5385         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5386         place a submatch around the #.
5387         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5388         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
5389         on the #, not BOL.
5391 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5393         * emacs-lisp/nadvice.el: Properly test names when adding advice.
5394         (advice--member-p): New arg `name'.
5395         (advice--add-function, advice-member-p): Use it (bug#14202).
5397 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
5399         Reformulate java imenu-generic-expression.
5400         The old expression contained ill formed regexps.
5402         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5403         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5404         (cc-imenu-java-method-arg-regexp): New defconsts.
5405         (cc-imenu-java-build-type-args-regex): New defun.
5406         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5407         handling of spaces in the regexp.
5409 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5411         * textmodes/ispell.el (ispell-command-loop): Remove
5412         flyspell highlight of a word when ispell accepts it (bug #14178).
5414 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
5416         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5417         uses code from the previous `ange-ftp-run-real-handler'.
5418         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5419         only in case that function exist.  This is needed for proper
5420         unloading of Tramp.
5422 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
5424         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5426         * textmodes/reftex.el (reftex-compile-variables): Use it.
5428 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5430         * files.el (normal-mode): Only use default major-mode if no other mode
5431         was specified.
5433         * emacs-lisp/trace.el (trace-values): New function.
5435         * files.el: Allow : in local variables (bug#14089).
5436         (hack-local-variable-regexp): New var.
5437         (hack-local-variables-prop-line, hack-local-variables): Use it.
5439 2013-04-13  Roland Winkler  <winkler@gnu.org>
5441         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
5442         data before it gets modified by bibtex-beginning-of-entry.
5444 2013-04-13  Roland Winkler  <winkler@gnu.org>
5446         * textmodes/bibtex.el (bibtex-url): Doc fix.
5448 2013-04-13  Roland Winkler  <winkler@gnu.org>
5450         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5451         does not visit a BibTeX file, exclude it from the list of buffers
5452         returned by bibtex-initialize.
5454 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
5456         * window.el (split-window): Remove interactive form, since as a
5457         command this function is a special case of split-window-below.
5458         Correct doc string.
5460 2013-04-12  Roland Winkler  <winkler@gnu.org>
5462         * faces.el (read-face-name): Do not override value of arg default.
5463         Allow single faces and strings as default values.  Remove those
5464         elements from return value that are not faces.
5465         (describe-face): Simplify.
5466         (face-at-point): New optional args thing and multiple so that this
5467         function can provide the same functionality previously provided by
5468         read-face-name.
5469         (make-face-bold, make-face-unbold, make-face-italic)
5470         (make-face-unitalic, make-face-bold-italic, invert-face)
5471         (modify-face, read-face-and-attribute): Use face-at-point.
5473         * cus-edit.el (customize-face, customize-face-other-window)
5474         * cus-theme.el (custom-theme-add-face)
5475         * face-remap.el (buffer-face-set)
5476         * facemenu.el (facemenu-set-face): Use face-at-point.
5478 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
5480         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5482 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
5484         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5485         off leading { and trailing } from field values.
5487 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5489         * emacs-lisp/timer.el (timer--check): New function.
5490         (timer--time, timer-set-function, timer-event-handler): Use it.
5491         (timer-set-idle-time): Simplify.
5492         (timer--activate): CSE.
5493         (timer-event-handler): Give more info in error message.
5494         (internal-timer-start-idle): New function, moved from C.
5496         * mpc.el (mpc-proc): Add `restart' argument.
5497         (mpc-proc-cmd): Use it.
5498         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5499         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5500         less often.
5502 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
5504         * progmodes/sh-script.el: Implement `sh-mode' own
5505         `add-log-current-defun-function' (bug#14112).
5506         (sh-current-defun-name): New function.
5507         (sh-mode): Use the function.
5509 2013-04-09  Bastien Guerry  <bzg@gnu.org>
5511         * simple.el (choose-completion-string): Fix docstring (bug#14163).
5513 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5515         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5517         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5518         timer (bug#14156).
5520 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
5522         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5523         declaration.
5525 2013-04-07  Leo Liu  <sdl.web@gmail.com>
5527         * pcmpl-x.el: New file.
5529 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
5531         Do not set x-display-name until X connection is established.
5532         This is needed to prevent from weird situation described at
5533         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5534         * frame.el (make-frame): Set x-display-name after call to
5535         window system initialization function, not before.
5536         * term/x-win.el (x-initialize-window-system): Add optional
5537         display argument and use it.
5538         * term/w32-win.el (w32-initialize-window-system):
5539         * term/ns-win.el (ns-initialize-window-system):
5540         * term/pc-win.el (msdos-initialize-window-system):
5541         Add compatible optional display argument.
5543 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
5545         * files.el (normal-backup-enable-predicate): On MS-Windows and
5546         MS-DOS compare truenames of temporary-file-directory and of the
5547         file, so that 8+3 aliases (usually found in $TEMP on Windows)
5548         don't fail comparison by compare-strings.  Also, compare file
5549         names case-insensitively on MS-Windows and MS-DOS.
5551 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5554         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5556 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
5558         * whitespace.el (whitespace-color-on, whitespace-color-off):
5559         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5561 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
5563         * ispell.el (ispell-set-spellchecker-params):
5564         Really set `ispell-args' for all equivs.
5566 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5568         * ido.el (ido-completions): Use extra elements of ido-decorations
5569         (bug#14143).
5570         (ido-decorations): Update docstring.
5572 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
5574         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5575         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5576         nil during initialization, in order not to miss changes since the
5577         file was opened.  (Bug#14140)
5579 2013-04-05  Leo Liu  <sdl.web@gmail.com>
5581         * kmacro.el (kmacro-call-macro): Fix bug#14135.
5583 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
5585         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5587 2013-04-04  Glenn Morris  <rgm@gnu.org>
5589         * electric.el (electric-pair-inhibit-predicate): Add :version.
5591 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5593         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5594         when a package is required several times (bug#14082).
5596 2013-04-04  Roland Winkler  <winkler@gnu.org>
5598         * faces.el (read-face-name): Behave as promised by the docstring.
5599         Assume that arg default is a list of faces.
5600         (describe-face): Call read-face-name with list of default faces.
5602 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5604         * bookmark.el: Fix deletion of bookmarks (bug#13972).
5605         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5606         (bookmark-bmenu-execute-deletions): Only skip first line if it's
5607         the header.
5608         (bookmark-exit-hook-internal): Save even if list is empty.
5610 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
5612         * emacs-lisp/package.el (package-pinned-packages): New var.
5613         (package--add-to-archive-contents): Obey it (bug#14118).
5615 2013-04-03  Alan Mackenzie  <acm@muc.de>
5617         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5618         Also adapt to the new values of element 7 of a parse state.
5620         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5621         parameter `not-in-delimiter'.  Handle being inside comment opener.
5622         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5623         character in case we're typing a '*' after a '/'.
5624         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5625         instead by passing the parameter to c-state-pp-to-literal.
5627         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5628         for elt. 7 of a parse state.
5630 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5632         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5633         * international/latin1-disp.el, international/mule-util.el:
5634         * language/cyril-util.el, language/european.el, language/ind-util.el:
5635         * language/lao-util.el, language/thai.el, language/tibet-util.el:
5636         * language/tibetan.el, language/viet-util.el:
5637         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5639 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5641         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5642         (electric-pair-post-self-insert-function): Use it.
5643         (electric-pair-default-inhibit): New function, extracted from
5644         electric-pair-post-self-insert-function.
5646 2013-03-31  Roland Winkler  <winkler@gnu.org>
5648         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5650 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5652         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5654 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
5656         Un-indent after "pass" and "return" statements (Bug#13888)
5657         * progmodes/python.el (python-indent-block-enders): New var.
5658         (python-indent-calculate-indentation): Use it.
5660 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
5662         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5663         defun.  Defining it as defalias could introduce too eager
5664         byte-compiler optimization.  (Bug#14030)
5666 2013-03-30  Chong Yidong  <cyd@gnu.org>
5668         * iswitchb.el (iswitchb-read-buffer): Fix typo.
5670 2013-03-30  Leo Liu  <sdl.web@gmail.com>
5672         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5673         (kmacro-execute-from-register): Pass the keyboard macro to
5674         kmacro-call-macro or repeating won't work correctly.
5676 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
5678         * progmodes/subword.el: Back to using `forward-symbol'.
5680         * subr.el (forward-whitespace, forward-symbol)
5681         (forward-same-syntax): Move from thingatpt.el.
5683 2013-03-29  Leo Liu  <sdl.web@gmail.com>
5685         * kmacro.el (kmacro-to-register): New command.
5686         (kmacro-execute-from-register): New function.
5687         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
5689 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5691         * mpc.el: Use defvar-local and setq-local.
5692         (mpc--proc-connect): Connection failures are not bugs.
5693         (mpc-mode-map): `follow-link' only applies to the buffer's content.
5694         (mpc-volume-map): Bind to the up-events.
5696 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
5698         * progmodes/subword.el (superword-mode): Use `forward-sexp'
5699         instead of `forward-symbol'.
5701 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5703         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5704         (edebug--recursive-edit): Use it.
5705         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5706         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5708 2013-03-28  Leo Liu  <sdl.web@gmail.com>
5710         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
5712 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
5714         * facemenu.el (list-colors-callback): New defvar.
5715         (list-colors-redisplay): New function.
5716         (list-colors-display): Install list-colors-redisplay as the
5717         revert-buffer-function.  (Bug#14063)
5719 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5721         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5722         and suffixes don't overlap (bug#14061).
5724         * case-table.el: Use lexical-binding.
5725         (case-table-get-table): New function.
5726         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
5728 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
5730         * progmodes/subword.el: Add `superword-mode' to do word motion
5731         over symbol_words (parallels and leverages `subword-mode' which
5732         does word motion inside MixedCaseWords).
5734 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
5736         * eshell/em-unix.el: Move su and sudo to...
5737         * eshell/em-tramp.el: ...Eshell tramp module.
5739 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5741         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5742         Change return value to be a sexp.  Delay `get-buffer' to after
5743         restoring the desktop (bug#13951).
5745 2013-03-26  Leo Liu  <sdl.web@gmail.com>
5747         * register.el: Move semantic tag handling back to
5748         cedet/semantic/senator.el.  (Bug#14052)
5750 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5752         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5753         into the prompt either (bug#13963).
5755 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5757         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5758         part of "(error-foo)".
5760 2013-03-24  Juri Linkov  <juri@jurta.org>
5762         * replace.el (list-matching-lines-prefix-face): New defcustom.
5763         (occur-1): Pass `list-matching-lines-prefix-face' to the function
5764         `occur-engine' if `face-differs-from-default-p' returns t.
5765         (occur-engine): Add `,' inside backquote construct to evaluate
5766         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
5767         Pass `prefix-face' to the functions `occur-context-lines' and
5768         `occur-engine-add-prefix'.
5769         (occur-engine-add-prefix, occur-context-lines): Add optional arg
5770         `prefix-face' and propertize the prefix with `prefix-face'.
5771         (Bug#14017)
5773 2013-03-24  Leo Liu  <sdl.web@gmail.com>
5775         * nxml/rng-valid.el (rng-validate-while-idle)
5776         (rng-validate-quick-while-idle): Guard against deleted buffer.
5777         (Bug#13999)
5779         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5780         is the last entry in kill-buffer-hook.
5782         * files.el (kill-buffer-hook): Doc fix.
5784 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
5786         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5787         Make it safe-local.
5789         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5791 2013-03-23  Leo Liu  <sdl.web@gmail.com>
5793         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5794         Remove.
5796         * nxml/rng-valid.el (rng-validate-mode)
5797         (rng-after-change-function, rng-do-some-validation):
5798         * nxml/rng-maint.el (rng-validate-buffer):
5799         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5800         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5801         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5802         (nxml-extend-after-change-region): Use with-silent-modifications.
5804         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5805         timer-idle-list.
5807         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5808         (rng-next-error-1, rng-previous-error-1): Do not let-bind
5809         timer-idle-list.  (Bug#13999)
5811 2013-03-23  Juri Linkov  <juri@jurta.org>
5813         * info.el (info-index-match): New face.
5814         (Info-index, Info-apropos-matches): Add a nested subgroup to the
5815         main pattern and add text properties with the new face to matches
5816         in index entries relative to the beginning of the index entry.
5817         (Bug#14015)
5819 2013-03-21  Eric Ludlam  <zappo@gnu.org>
5821         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5822         Inhibit read only while inserting objects.
5824 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
5826         * progmodes/cfengine.el: Update docs to mention
5827         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
5828         symbol motion.  Remove "_" from the word syntax.
5830 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
5832         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5833         syntax for both `cfengine2-mode' and `cfengine3-mode'.
5835 2013-03-20  Juri Linkov  <juri@jurta.org>
5837         * info.el (Info-next-reference-or-link)
5838         (Info-prev-reference-or-link): New functions.
5839         (Info-next-reference, Info-prev-reference): Use them.
5840         (Info-try-follow-nearest-node): Handle footnote navigation.
5841         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
5843 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5845         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5846         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5848 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
5850         Suppress unnecessary non-ASCII chatter during build process.
5851         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5852         (batch-skkdic-convert): Suppress most of the chatter.
5853         It's not needed so much now that machines are faster,
5854         and its non-ASCII component was confusing; see Dmitry Gutov in
5855         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5857 2013-03-20  Leo Liu  <sdl.web@gmail.com>
5859         * ido.el (ido-chop): Fix bug#10994.
5861 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
5863         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5864         Remove vars.
5865         (whitespace-color-on, whitespace-color-off):
5866         Use `font-lock-fontify-buffer' (Bug#13817).
5868 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5870         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5871         remapping in mode-line.
5872         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5874 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
5876         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5877         value for `whitespace-line' face (Bug#13875).
5878         (whitespace-font-lock-keywords): Change description.
5879         (whitespace-color-on): Don't save `font-lock-keywords' value, save
5880         the constructed keywords instead.
5881         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
5883 2013-03-19  Leo Liu  <sdl.web@gmail.com>
5885         * progmodes/compile.el (compilation-display-error): New command.
5886         (compilation-mode-map, compilation-minor-mode-map): Bind it to
5887         C-o.  (Bug#13992)
5889 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
5891         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
5893 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
5895         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
5897 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
5899         * net/tramp-compat.el (tramp-compat-user-error): New defun.
5901         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5902         * net/tramp-gvfs.el (top):
5903         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
5904         (tramp-handle-shell-command): Use it.
5905         (tramp-dissect-file-name): Raise an error when hostname is a
5906         method name, and neither method nor user is specified.
5908         * net/trampver.el: Update release number.
5910 2013-03-18  Leo Liu  <sdl.web@gmail.com>
5912         Make sure eldoc can be turned off properly.
5913         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
5914         eldoc-mode.
5915         (eldoc-display-message-p): Revert last change.
5916         (eldoc-display-message-no-interference-p)
5917         (eldoc-print-current-symbol-info): Tweak.
5919 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
5921         * doc-view.el (doc-view-new-window-function): Check the new window
5922         overlay's display property instead the char property of the
5923         buffer's first char.  Use `with-selected-window' instead of
5924         `save-window-excursion' with `select-window'.
5925         (doc-view-document->bitmap): Check the current doc-view overlay's
5926         display property instead the char property of the buffer's first char.
5928 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
5930         Automate the build of ja-dic.el (Bug#13984).
5931         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5932         from the input, rather than assume that it's been done for us by the
5933         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
5934         the current date into a ja-dic.el comment, as that complicates
5935         regression testing.
5937 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5939         * whitespace.el: Fix double evaluation.
5940         (whitespace-space, whitespace-hspace, whitespace-tab)
5941         (whitespace-newline, whitespace-trailing, whitespace-line)
5942         (whitespace-space-before-tab, whitespace-indentation)
5943         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
5944         obsolete defvars.
5945         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
5946         (whitespace-color-on): Use a single font-lock-add-keywords call.
5947         Fix double-evaluation of face variables.
5949 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
5951         * net/tramp-adb.el (tramp-adb-parse-device-names):
5952         Use `start-process' instead of `call-process'.  Otherwise, the
5953         function might be blocked under MS Windows.  (Bug#13299)
5955 2013-03-17  Leo Liu  <sdl.web@gmail.com>
5957         Extend eldoc to display info in the mode-line.  (Bug#13978)
5958         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
5959         (eldoc-mode-line-string): New variable.
5960         (eldoc-minibuffer-message): New function.
5961         (eldoc-message-function): New variable.
5962         (eldoc-message): Use it.
5963         (eldoc-display-message-p)
5964         (eldoc-display-message-no-interference-p):
5965         Support eldoc-post-insert-mode.
5967         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
5968         (eval-expression): Run it.
5970 2013-03-17  Roland Winkler  <winkler@gnu.org>
5972         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
5973         strings in the list of return values.
5975 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
5977         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
5978         radix before checking for HMS forms.
5980 2013-03-16  Leo Liu  <sdl.web@gmail.com>
5982         * progmodes/scheme.el: Add indentation and font-locking for λ.
5983         (Bug#13975)
5985 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5987         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
5988         token before point (bug#13942).
5990 2013-03-16  Leo Liu  <sdl.web@gmail.com>
5992         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
5994 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
5996         * startup.el (command-line-normalize-file-name): Fix handling of
5997         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
5998         <xfq.free@gmail.com> in
5999         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6001 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
6003         Sync with Tramp 2.2.7.
6005         * net/trampver.el: Update release number.
6007 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
6009         * doc-view.el Fix bug#13887.
6010         (doc-view-insert-image): Don't modify overlay associated to
6011         non-live windows, and implement horizontal centering of image in
6012         case it's smaller than the window.
6013         (doc-view-new-window-function): Force redisplay of new windows on
6014         doc-view buffers.
6016 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
6018         * saveplace.el (save-place-alist-to-file): Don't sort
6019         `save-place-alist', just pretty-print it (bug#13882).
6021 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
6023         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6024         Check whether `default-file-name-coding-system' is bound.
6025         It isn't in XEmacs.
6027 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6029         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6030         backquotes for `obsolete' (bug#13929).
6032         * international/mule.el (find-auto-coding): Include file name in
6033         obsolescence warning (bug#13922).
6035 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
6037         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6038         for CFEngine 3-specific indentation.
6039         (cfengine3-indent-line): Use it.  Fix up category regex.
6040         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6042 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6044         * type-break.el (type-break-file-name):
6045         * textmodes/remember.el (remember-data-file):
6046         * strokes.el (strokes-file):
6047         * shadowfile.el (shadow-initialize):
6048         * saveplace.el (save-place-file):
6049         * ps-bdf.el (bdf-cache-file):
6050         * progmodes/idlwave.el (idlwave-config-directory):
6051         * net/quickurl.el (quickurl-url-file):
6052         * international/kkc.el (kkc-init-file-name):
6053         * ido.el (ido-save-directory-list-file):
6054         * emulation/viper.el (viper-custom-file-name):
6055         * emulation/vip.el (vip-startup-file):
6056         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6057         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6059 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
6061         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6062         * language/thai-word.el: Switch to UTF-8.
6064 See ChangeLog.16 for earlier changes.
6066 ;; Local Variables:
6067 ;; coding: utf-8
6068 ;; End:
6070   Copyright (C) 2011-2013 Free Software Foundation, Inc.
6072   This file is part of GNU Emacs.
6074   GNU Emacs is free software: you can redistribute it and/or modify
6075   it under the terms of the GNU General Public License as published by
6076   the Free Software Foundation, either version 3 of the License, or
6077   (at your option) any later version.
6079   GNU Emacs is distributed in the hope that it will be useful,
6080   but WITHOUT ANY WARRANTY; without even the implied warranty of
6081   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6082   GNU General Public License for more details.
6084   You should have received a copy of the GNU General Public License
6085   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.