lisp/frameset.el (frameset-save): Check validity of the resulting frameset.
[emacs.git] / lisp / ChangeLog
blob4a2712fdd214ea2dd5657716f196833a85562c2d
1 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3         * frameset.el (frameset-valid-p): Doc fix.
4         (frameset-save): Check validity of the resulting frameset.
6 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
8         * ido.el (ido-record-command): Add doc string.
10 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12         * frameset.el (frameset): Do not disable creation of the default
13         frameset-p predicate.  Doc fix.
14         (frameset-valid-p): New function, copied from the old predicate-p.
15         Add additional checks.
16         (frameset-restore): Check with frameset-valid-p.
17         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
18         (frameset-name, frameset-description, frameset-properties)
19         (frameset-states): Add docstring.
20         (frameset-session-filter-alist, frameset-persistent-filter-alist)
21         (frameset-filter-alist): Doc fixes.
23 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
25         * frameset.el (frameset-p, frameset-prop): Doc fixes.
27 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
29         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
30         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
31         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
32         (byte-compile-normal-call): Remove obsolescence check.
34 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
36         * frameset.el (frameset-restore): Doc fix.
38         * register.el (frameset-frame-id, frameset-frame-with-id)
39         (frameset-p, frameset-restore, frameset-save): Declare.
40         (register-alist): Document framesets.
41         (frameset-session-filter-alist): Declare.
42         (frameset-to-register): New function.
43         (jump-to-register): Implement jumping to framesets.  Doc fix.
44         (describe-register-1): Describe framesets.
46         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
48 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
50         * desktop.el (desktop-save-frameset): Use new frameset-save args.
51         Use lexical-binding.
53         * frameset.el (frameset): Use type vector, not list (incompatible
54         change).  Do not declare a new constructor, use the default one.
55         Upgrade suggested properties `app', `name' and `desc' to slots `app',
56         `name' and `description', respectively, and add read-only slot
57         `timestamp'.  Doc fixes.
58         (frameset-copy, frameset-persistent-filter-alist)
59         (frameset-filter-alist, frameset-switch-to-gui-p)
60         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
61         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
62         (frameset-filter-iconified, frameset-keep-original-display-p):
63         Doc fixes.
64         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
65         Rename from frameset-filter-(save|restore)-param.  All callers changed.
66         Doc fix.
67         (frameset-p): Adapt to change to vector and be more thorough.
68         Change arg name to OBJECT.  Doc fix.
69         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
70         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
71         All callers changed.
72         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
73         All callers changed.
74         (frameset--record-minibuffer-relationships): Rename from
75         frameset--process-minibuffer-frames.  All callers changed.
76         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
77         Use new default constructor (again).  Doc fix.
78         (frameset--find-frame-if): Rename from `frameset--find-frame.
79         All callers changed.
80         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
81         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
82         Doc fix.
83         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
84         PARAMETERS and WINDOW-STATE, respectively.
85         (frameset-restore): Add new keyword argument PREDICATE.
86         Reset frameset--target-display to nil.  Doc fix.
88 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
90         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
91         (bat-mode): Use it.
92         (bat-mode-syntax-table): Mark \n as end-of-comment.
93         (bat-font-lock-keywords): Remove comment rule.
95         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
96         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
98         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
99         (byte-compile-callargs-warn): Use `push'.
100         (byte-compile-arglist-warn): Ignore higher-order "calls".
101         (byte-compile-file-form-autoload): Use `pcase'.
102         (byte-compile-function-form): If quoting a symbol, check that it exists.
104 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
106         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
107         and add a few popular commands found in batch files.
108         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
109         (dos-mode): Doc fixes.
111 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
113         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
114         (dos-mode): Use setq-local.  Add space after "rem".
115         (dos-mode-syntax-table): Don't use "w" for symbol chars.
116         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
118 2013-08-07  Arni Magnusson  <arnima@hafro.is>
120         * progmodes/dos.el: New file.
121         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
122         dos-mode.
124 2013-08-06  Glenn Morris  <rgm@gnu.org>
126         * calendar/calendar.el: Add new faces, and day-header-array.
127         (calendar-weekday-header, calendar-weekend-header)
128         (calendar-month-header): New faces.
129         (calendar-day-header-construct): New function.
130         (calendar-day-header-width): Also :set calendar-day-header-array.
131         (calendar-american-month-header, calendar-european-month-header)
132         (calendar-iso-month-header): Use calendar- faces.
133         (calendar-generate-month):
134         Use calendar-day-header-array for day headers; apply faces to them.
135         (calendar-mode): Check calendar-font-lock-keywords non-nil.
136         (calendar-abbrev-construct): Add optional maxlen argument.
137         (calendar-day-name-array): Doc fix.
138         (calendar-day-name-array, calendar-abbrev-length)
139         (calendar-day-abbrev-array):
140         Also :set calendar-day-header-array, and maybe redraw.
141         (calendar-day-header-array): New option.  (Bug#15007)
142         (calendar-font-lock-keywords): Set to nil and make obsolete.
143         (calendar-day-name): Add option to use header array.
145 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
147         * net/shr.el (shr-render-td): Remove debugging.
148         (shr-render-td): Make width computation consistent by defaulting
149         all zero-width columns to 10 characters.  This may not be optimal,
150         but it's at least consistent.
151         (shr-make-table-1): Redo last change to fix the real problem in
152         colspan handling.
154 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
156         * files.el (cache-long-line-scans): Make
157         obsolete alias to `cache-long-scans'.
159 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
161         * frameset.el (frameset, frameset-filter-alist)
162         (frameset-filter-params, frameset-save, frameset--reuse-frame)
163         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
164         (frameset-compute-pos): Rename from frameset--compute-pos,
165         and add docstring.
166         (frameset-move-onscreen): Use frameset-compute-pos.
167         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
169         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
170         Fix typos in docstrings.
172 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
174         * frame.el (get-other-frame): Tiny cleanup.
176 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
178         * vc/vc.el (vc-default-ignore-completion-table):
179         Silence byte-compiler warning.
181         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
182         slot , which can indeed be nil.
183         (frameset-live-filter-alist, frameset-persistent-filter-alist):
184         Move entry for `left' from persistent to live filter alist.
185         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
186         Doc fixes.
187         (frameset-filter-params): When restoring a frame, copy items added to
188         `filtered', to avoid unwittingly modifying the original parameters.
189         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
190         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
192         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
193         to use looking-at-p instead of looking-at.  (Bug#15028)
195 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
197         Revert introduction of isearch-filter-predicates (bug#14714).
198         Rely on add-function instead.
199         * isearch.el (isearch-filter-predicates): Rename it back to
200         isearch-filter-predicate.
201         (isearch-message-prefix): Use advice-function-mapc and advice
202         properties to get the isearch-message-prefix.
203         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
204         instead of run-hook-with-args-until-failure.
205         (isearch-filter-visible): Not obsolete any more.
206         * loadup.el: Preload nadvice.
207         * replace.el (perform-replace): Revert to funcall
208         instead of run-hook-with-args-until-failure.
209         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
210         * dired-aux.el (dired-isearch-filenames-mode): Rename from
211         dired-isearch-filenames-toggle; make it into a proper minor mode.
212         Use add/remove-function.
213         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
214         Call the minor-mode rather than add/remove-hook.
215         (dired-isearch-filter-filenames):
216         Remove isearch-message-prefix property.
217         * info.el (Info--search-loop): New function, extracted from Info-search.
218         Funcall isearch-filter-predicate instead of
219         run-hook-with-args-until-failure isearch-filter-predicates.
220         (Info-search): Use it.
221         (Info-mode): Use isearch-filter-predicate instead of
222         isearch-filter-predicates.
224 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
226         Do not call to `selected-window' where it is assumed by default.
227         Affected functions are `window-minibuffer-p', `window-dedicated-p',
228         `window-hscroll', `window-width', `window-height', `window-buffer',
229         `window-frame', `window-start', `window-point', `next-window'
230         and `window-display-table'.
231         * abbrev.el (abbrev--default-expand):
232         * bs.el (bs--show-with-configuration):
233         * buff-menu.el (Buffer-menu-mouse-select):
234         * calc/calc.el (calc):
235         * calendar/calendar.el (calendar-generate-window):
236         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
237         (diary-make-entry):
238         * comint.el (send-invisible, comint-dynamic-complete-filename)
239         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
240         * completion.el (complete):
241         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
242         * disp-table.el (describe-current-display-table):
243         * doc-view.el (doc-view-insert-image):
244         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
245         * ehelp.el (with-electric-help):
246         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
247         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
248         * emacs-lisp/helper.el (Helper-help-scroller):
249         * emulation/cua-base.el (cua--post-command-handler-1):
250         * eshell/esh-mode.el (eshell-output-filter):
251         * ffap.el (ffap-gnus-wrapper):
252         * help-macro.el (make-help-screen):
253         * hilit-chg.el (highlight-compare-buffers):
254         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
255         * hl-line.el (global-hl-line-highlight):
256         * icomplete.el (icomplete-simple-completing-p):
257         * isearch.el (isearch-done):
258         * jit-lock.el (jit-lock-stealth-fontify):
259         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
260         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
261         * mpc.el (mpc-tagbrowser, mpc):
262         * net/rcirc.el (rcirc-any-buffer):
263         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
264         * play/landmark.el (landmark-max-width, landmark-max-height):
265         * play/zone.el (zone):
266         * progmodes/compile.el (compilation-goto-locus):
267         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
268         * progmodes/etags.el (find-tag-other-window):
269         * progmodes/fortran.el (fortran-column-ruler):
270         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
271         * progmodes/verilog-mode.el (verilog-point-text):
272         * reposition.el (reposition-window):
273         * rot13.el (toggle-rot13-mode):
274         * server.el (server-switch-buffer):
275         * shell.el (shell-dynamic-complete-command)
276         (shell-dynamic-complete-environment-variable):
277         * simple.el (insert-buffer, set-selective-display)
278         (delete-completion-window):
279         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
280         (speedbar-recenter):
281         * startup.el (fancy-splash-head):
282         * textmodes/ispell.el (ispell-command-loop):
283         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
284         * tutorial.el (help-with-tutorial):
285         * vc/add-log.el (add-change-log-entry):
286         * vc/compare-w.el (compare-windows):
287         * vc/ediff-help.el (ediff-indent-help-message):
288         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
289         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
290         (ediff-setup-control-frame):
291         * vc/emerge.el (emerge-position-region):
292         * vc/pcvs-util.el (cvs-bury-buffer):
293         * window.el (walk-windows, mouse-autoselect-window-select):
294         * winner.el (winner-set-conf, winner-undo): Related users changed.
296 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
298         * frameset.el (frameset--set-id): Doc fix.
299         (frameset-frame-id, frameset-frame-id-equal-p)
300         (frameset-locate-frame-id): New functions.
301         (frameset--process-minibuffer-frames, frameset--reuse-frame)
302         (frameset-restore): Use them.
304 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
306         Do not call to `selected-frame' where it is assumed by default.
307         Affected functions are `raise-frame', `redraw-frame',
308         `frame-first-window', `frame-terminal' and `delete-frame'.
309         * calendar/appt.el (appt-disp-window):
310         * epg.el (epg-wait-for-completion):
311         * follow.el (follow-delete-other-windows-and-split)
312         (follow-avoid-tail-recenter):
313         * international/mule.el (set-terminal-coding-system):
314         * mail/rmail.el (rmail-mail-return):
315         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
316         * progmodes/f90.el (f90-add-imenu-menu):
317         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
318         * server.el (server-switch-buffer):
319         * simple.el (delete-completion-window):
320         * talk.el (talk):
321         * term/xterm.el (terminal-init-xterm-modify-other-keys)
322         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
323         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
324         * vc/ediff.el (ediff-documentation): Related users changed.
325         * frame.el (selected-terminal): Remove the leftover.
327 2013-08-05  Glenn Morris  <rgm@gnu.org>
329         * calendar/calendar.el (calendar-generate-month):
330         Fix for calendar-column-width != 1 + calendar-day-digit-width.
331         (calendar-generate-month, calendar-font-lock-keywords):
332         Fix for calendar-day-header-width > length of any day name.
334 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
336         * desktop.el (desktop-clear): Use new name of sort predicate.
338         * frameset.el (frameset): Add docstring.  Move :version property to its
339         own `version' slot.
340         (frameset-copy): Rename from copy-frameset.
341         (frameset-p): Check more thoroughly.
342         (frameset-prop): Do not check for :version, which is no longer a prop.
343         (frameset-live-filter-alist, frameset-persistent-filter-alist):
344         Use new :never value instead of t.
345         (frameset-filter-alist): Expand and clarify docstring.
346         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
347         (frameset-filter-minibuffer, frameset-filter-save-param)
348         (frameset-filter-restore-param, frameset-filter-iconified):
349         Add pointer to docstring of frameset-filter-alist.
350         (frameset-filter-params): Rename filter values to be more meaningful:
351         :never instead of t, and reverse the meanings of :save and :restore.
352         (frameset--process-minibuffer-frames): Clarify error message.
353         (frameset-save): Avoid unnecessary and confusing call to framep.
354         Use new BOA constructor for framesets.
355         (frameset--reuse-list): Doc fix.
356         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
357         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
358         (frameset-minibufferless-first-p): Doc fix.
359         Rename from frameset-sort-frames-for-deletion.
360         (frameset-restore): Doc fixes.  Use new function names.
361         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
363 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
365         * desktop.el (desktop-restore-forces-onscreen)
366         (desktop-restore-reuses-frames): Document :keyword constant values.
367         (desktop-filter-parameters-alist): Remove, now identical to
368         frameset-filter-alist.
369         (desktop--filter-tty*): Remove, moved to frameset.el.
370         (desktop-save-frameset, desktop-restore-frameset):
371         Do not pass :filters argument.
373         * frameset.el (frameset-live-filter-alist)
374         (frameset-persistent-filter-alist): New variables.
375         (frameset-filter-alist): Use them.  Add autoload cookie.
376         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
377         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
378         `frameset--id' (it's supposed to be internal to frameset.el).
379         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
380         (frameset--initial-params): New function.
381         (frameset--get-frame): Use it.  Doc fix.
382         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
383         Accept :all, not 'all.
384         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
385         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
386         with fbound symbols.  Fix frame id matching, and remove matching ids if
387         the frame being restored is deleted.  Obey :delete.
389 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
391         * subr.el (macrop): New function.
392         (text-clone--maintaining): New var.
393         (text-clone--maintain): Rename from text-clone-maintain.  Use it
394         instead of inhibit-modification-hooks.
396         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
397         a proxy, so as handle autoloads and redefinitions of the target.
398         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
400         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
401         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
402         (pcase--mutually-exclusive-p): New function.
403         (pcase--split-consp): Use it.
404         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
405         mutually exclusive with the current predicate.
407         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
408         (edebug-macrop): Remove.  Use `macrop' instead.
409         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
410         (ad-macro-p):
411         * eshell/esh-cmd.el (eshell-macrop):
412         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
414 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
416         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
417         (advice-mapc): New function, using it.
418         (advice-function-member-p): New function.
419         (advice--normalize): Store the cdr in advice--saved-rewrite since
420         that's the part that will be changed.
421         (advice--symbol-function): New function.
422         (advice-remove): Handle removal before the function is defined.
423         Adjust to new advice--saved-rewrite.
424         (advice-member-p): Use advice-function-member-p and
425         advice--symbol-function.
427 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
429         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
430         (frameset-filter-minibuffer): Doc fix.
431         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
432         (frameset--set-id, frameset--process-minibuffer-frames)
433         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
434         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
436         * desktop.el (desktop-clear): Only delete frames when called
437         interactively and desktop-restore-frames is non-nil.  Doc fix.
438         (desktop-read): Set desktop-saved-frameset to nil.
440 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
442         * vc/vc.el (vc-ignore): Rewrite.
443         (vc-default-ignore-completion-table):
444         (vc--read-lines):
445         (vc--add-line, vc--remove-regexp): New functions.
447         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
448         (vc-svn-ignore-completion-table): New function.
450         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
451         (vc-hg-ignore-completion-table):
452         (vc-hg-find-ignore-file): New functions.
454         * vc/vc-git.el (vc-git-ignore): Rewrite.
455         (vc-git-ignore-completion-table):
456         (vc-git-find-ignore-file): New functions.
458         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
460         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
461         (vc-bzr-ignore-completion-table):
462         (vc-bzr-find-ignore-file): New functions.
464 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
466         * frameset.el (frameset-prop): New function and setter.
467         (frameset-save): Do not modify frame list passed by the caller.
469 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
471         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
473 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
475         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
476         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
478         * custom.el (custom-initialize-default, custom-initialize-set)
479         (custom-initialize-reset, custom-initialize-changed): Affect the
480         toplevel-default-value (bug#6275, bug#14586).
481         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
482         for bug#6275.
484 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
486         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
487         Add cl-def* expressions.
489         * frameset.el (frameset-filter-params): Fix order of arguments.
491 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
493         Move code related to saving frames to frameset.el.
494         * desktop.el: Require frameset.
495         (desktop-restore-frames): Doc fix.
496         (desktop-restore-reuses-frames): Rename from
497         desktop-restoring-reuses-frames.
498         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
499         (desktop-clear): Clear frames too.
500         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
501         (desktop--filter-tty*, desktop-save, desktop-read):
502         Use frameset functions.
503         (desktop-before-saving-frames-functions, desktop--filter-*-color)
504         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
505         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
506         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
507         (desktop--process-minibuffer-frames, desktop-save-frames)
508         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
509         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
510         (desktop--sort-states, desktop-restoring-frames-p)
511         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
512         (desktop-restoring-frameset-p, desktop-restore-frameset)
513         (desktop--check-dont-save, desktop-save-frameset): New functions.
514         (desktop--app-id): New constant.
515         (desktop-first-buffer, desktop-buffer-ok-count)
516         (desktop-buffer-fail-count): Move before first use.
517         * frameset.el: New file.
519 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
521         * files.el: Use lexical-binding.
522         (dir-locals-read-from-file): Remove unused `err' variable.
523         (hack-dir-local-variables--warned-coding): New var.
524         (hack-dir-local-variables): Use it to avoid repeated warnings.
525         (make-backup-file-name--default-function): New function.
526         (make-backup-file-name-function): Use it as default.
527         (buffer-stale--default-function): New function.
528         (buffer-stale-function): Use it as default.
529         (revert-buffer-insert-file-contents--default-function): New function.
530         (revert-buffer-insert-file-contents-function): Use it as default.
531         (insert-directory): Avoid add-to-list.
533         * autorevert.el (auto-revert-handler): Simplify.
534         Use buffer-stale--default-function.
536 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
538         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
540         * whitespace.el (whitespace-ensure-local-variables): New function.
541         (whitespace-cleanup-region): Call it.
542         (whitespace-turn-on): Call it.
544 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
546         Complete file name handlers.
548         * net/tramp.el (tramp-handle-set-visited-file-modtime)
549         (tramp-handle-verify-visited-file-modtime)
550         (tramp-handle-file-notify-rm-watch): New functions.
551         (tramp-call-process): Do not bind `default-directory'.
553         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
554         Order alphabetically.
555         [access-file, add-name-to-file, dired-call-process]:
556         [dired-compress-file, file-acl, file-notify-rm-watch]:
557         [file-ownership-preserved-p, file-selinux-context]:
558         [make-directory-internal, make-symbolic-link, set-file-acl]:
559         [set-file-selinux-context, set-visited-file-modtime]:
560         [verify-visited-file-modtime]: Add handler.
561         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
563         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
564         [file-notify-add-watch, file-notify-rm-watch]:
565         [set-file-times, set-visited-file-modtime]:
566         [verify-visited-file-modtime]: Add handler.
567         (with-tramp-gvfs-error-message)
568         (tramp-gvfs-handle-set-visited-file-modtime)
569         (tramp-gvfs-fuse-file-name): Remove.
570         (tramp-gvfs-handle-file-notify-add-watch)
571         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
572         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
574         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
575         Order alphabetically.
576         [file-notify-rm-watch ]: Use default Tramp handler.
577         [executable-find]: Remove private handler.
578         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
579         `default-directory'.
580         (tramp-sh-handle-executable-find)
581         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
582         (tramp-sh-file-gvfs-monitor-dir-process-filter)
583         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
584         Do not use `format' in `tramp-message'.
586         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
587         [file-notify-rm-watch, set-visited-file-modtime]:
588         [verify-visited-file-modtime]: Add handler.
589         (tramp-smb-call-winexe): Do not bind `default-directory'.
591 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
593         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
595 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
597         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
598         use it.
599         (log-view-diff-changeset): Same.
600         (log-view-diff-common): Call backend command `previous-revision'
601         to find out the previous revision, in both cases.  Swap the
602         variables `to' and `fr', so that `fr' usually refers to the
603         earlier revision (Bug#14989).
605 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
607         * ibuf-ext.el (ibuffer-filter-by-filename):
608         Make it work with dired buffers too.
610 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
612         * emacs-lisp/re-builder.el (reb-color-display-p):
613         * files.el (save-buffers-kill-terminal):
614         * net/browse-url.el (browse-url):
615         * server.el (server-save-buffers-kill-terminal):
616         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
617         Prefer nil to selected-frame for the first arg of frame-parameter.
619 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
621         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
623 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
625         * minibuffer.el (completion--twq-all): Try and preserve each
626         completion's case choice (bug#14907).
628 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
630         * net/network-stream.el (open-network-stream): Mention the new
631         :nogreeting parameter.
632         (network-stream-open-starttls): Use the :nogreeting parameter
633         (bug#14938).
635         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
637         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
638         more natural than popping.
640         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
641         (shr-urlify): Highlight under mouse.
643 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
645         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
647         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
649         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
650         buffer for output.
652         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
653         point-min==1.  Fix search string.  Fix parentheses missing.
655         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
656         assume point-min==1.  Fix search string.  Fix parentheses missing.
658         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
660         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
661         buffer for output.
663 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
665         * frame.el (frame-notice-user-settings): Avoid inflooping when the
666         initial frame is minibuffer-less.  (Bug#14841)
668 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
670         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
671         option.
673         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
674         (tramp-maybe-open-connection): Use it.
676 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
678         * desktop.el (desktop--make-frame): Include `minibuffer' in the
679         minimal set of parameters passed when creating a frame, because
680         the minibuffer status of a frame cannot be changed later.
682 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
684         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
685         replace-regexp-in-string and inadvertent omissions in previous change.
686         (todo-filter-items): Ensure only file names are comma-separated in
687         name of filtered items buffer.
689 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
691         * desktop.el: Optionally force offscreen frames back onscreen.
692         (desktop-restoring-reuses-frames): New option.
693         (desktop--compute-pos, desktop--move-onscreen): New functions.
694         (desktop--make-frame): Use desktop--move-onscreen.
696 2013-07-27  Alan Mackenzie  <acm@muc.de>
698         Fontify a Java generic method as a function.
699         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
700         value to t.
702 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
704         * calendar/todo-mode.el: Add command to rename todo files.
705         (todo-rename-file): New command.
706         (todo-key-bindings-t): Add key binding for it.  Change the
707         bindings of todo-filter-regexp-items(-multifile) to use `x'
708         instead of `r', since the latter is better suited to the new
709         renaming command.
711 2013-07-27  Alan Mackenzie  <acm@muc.de>
713         Make Java try-with-resources statement parse properly.
714         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
715         (c-block-stmt-1-2-key): New language constants/variables.
716         * progmodes/cc-engine.el (c-beginning-of-statement-1)
717         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
718         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
719         with c-block-stmt-1-2-key.
721 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
723         * desktop.el (desktop--make-frame): Apply most frame parameters after
724         creating the frame to force (partially or totally) offscreen frames to
725         be restored as such.
727 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
729         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
730         (Bug#14948)
732 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
734         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
735         `base' arg of backtrace-frame.
737 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
739         * simple.el (list-processes): Doc fix.
741 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
743         * desktop.el (desktop--select-frame):
744         Try harder to reuse existing frames.
746 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
748         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
749         (edebug-eval): Use backtrace-eval.
750         (edebug--display, edebug--recursive-edit): Don't let-bind the
751         edebug-outer-* vars that keep track of variables we locally let-bind.
752         (edebug-outside-excursion): Don't restore outside values of locally
753         let-bound vars.
754         (edebug--display): Use user-error.
755         (cl-lexical-debug, cl-debug-env): Remove.
757 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
759         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
760         are restored to be sure that they are visible before deleting any
761         remaining ones.
763 2013-07-26  Matthias Meulien  <orontee@gmail.com>
765         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
766         vc-print-root-log.  (Bug#14948)
768 2013-07-26  Richard Stallman  <rms@gnu.org>
770         Add aliases for encrypting mail.
771         * epa.el (epa-mail-aliases): New option.
772         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
773         Bind inhibit-read-only so read-only text doesn't ruin everything.
774         (epa-mail-default-recipients): New subroutine broken out.
775         Handle epa-mail-aliases.
777 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
779         Add support for lexical variables to the debugger's `e' command.
780         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
781         vars, except for debugger-outer-match-data.
782         (debugger-frame-number): Move check for "on a function call" from
783         callers into it.  Add `skip-base' argument.
784         (debugger-frame, debugger-frame-clear): Simplify accordingly.
785         (debugger-env-macro): Only reset the state stored in non-variables,
786         i.e. current-buffer and match-data.
787         (debugger-eval-expression): Rewrite using backtrace-eval.
788         * subr.el (internal--called-interactively-p--get-frame): Remove.
789         (called-interactively-p):
790         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
791         `base' arg of backtrace-frame instead.
793 2013-07-26  Glenn Morris  <rgm@gnu.org>
795         * align.el (align-regexp): Doc fix.  (Bug#14857)
796         (align-region): Explicit error if subexpression missing/does not match.
798         * simple.el (global-visual-line-mode):
799         Do not duplicate the mode lighter.  (Bug#14858)
801 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
803         * window.el (display-buffer): In display-buffer bind
804         split-window-keep-point to t, bug#14829.
806 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
808         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
809         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
810         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
811         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
812         Change accordingly.
813         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
814         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
816 2013-07-25  Glenn Morris  <rgm@gnu.org>
818         * dired-x.el (dired-mark-extension): Convert comment to doc string.
820 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
822         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
823         parameter to modify-frame-parameters if the value has not changed;
824         this is a workaround for bug#14949.
825         (desktop--make-frame): On cl-delete-if call, check parameter name,
826         not full parameter.
828 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
830         * vc/vc.el (vc-ignore): New function.
832         * vc/vc-svn.el (vc-svn-ignore): New function.
834         * vc/vc-hg.el (vc-hg-ignore): New function.
836         * vc/vc-git.el (vc-git-ignore): New function.
838         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
839         (vc-dir-ignore): New function.
841         * vc/vc-cvs.el (vc-cvs-ignore): New function.
842         (cvs-append-to-ignore): Move here from pcvs.el.
844         * vc/vc-bzr.el (vc-bzr-ignore): New function.
846         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
848 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
850         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
851         (desktop-restore-frames): Warn when deleting an existing frame failed.
853 2013-07-24  Glenn Morris  <rgm@gnu.org>
855         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
857 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
859         * filenotify.el (file-notify-supported-p):
860         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
861         Remove functions.
863         * autorevert.el (auto-revert-use-notify):
864         (auto-revert-notify-add-watch):
865         * net/tramp.el (tramp-file-name-for-operation):
866         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
867         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
868         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
869         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
870         Remove `file-notify-supported-p' entry.
872 2013-07-24  Glenn Morris  <rgm@gnu.org>
874         * printing.el: Replace all uses of deleted ps-windows-system,
875         ps-lp-system, ps-flatten-list with lpr- versions.
877 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
879         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
880         checked with memq (bug#14935).
882         * files.el (revert-buffer-function): Use a non-nil default.
883         (revert-buffer-preserve-modes): Declare var to
884         provide access to the `preserve-modes' argument.
885         (revert-buffer): Let-bind it.
886         (revert-buffer--default): New function, extracted from revert-buffer.
888 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
890         * lpr.el: Signal print errors more prominently.
891         (print-region-function): Don't default to nil.
892         (lpr-print-region): New function, extracted from print-region-1.
893         Check lpr's return value and signal an error in case of problem.
894         (print-region-1): Use it.
895         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
896         versions instead.
897         (ps-printer-name): Default to nil.
898         (ps-printer-name-option): Default to lpr-printer-switch.
899         (ps-print-region-function): Don't default to nil.
900         (ps-postscript-code-directory): Simplify default.
901         (ps-do-despool): Use lpr-print-region to properly check the outcome.
902         (ps-string-list, ps-eval-switch, ps-flatten-list)
903         (ps-flatten-list-1): Remove.
904         (ps-multibyte-buffer): Avoid setq.
905         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
906         (print-region-function, ps-print-region-function): Don't set them here.
908 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
910         * ido.el (ido-fractionp):
911         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
912         (ido-max-file-prompt-width, ido-unc-hosts-cache)
913         (ido-max-directory-size, ido-max-dir-file-cache)
914         (ido-decorations): Doc fix.
916         * ansi-color.el: Fix old URL.
918 2013-07-23  Michael R. Mauger  <michael@mauger.com>
920         * progmodes/sql.el Version 3.3
921         (sql-product-alist): Improve oracle :prompt-cont-regexp.
922         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
923         (sql-interactive-remove-continuation-prompt): Rewrite, use
924         functions above.  Fix continuation prompt and complete output line
925         handling.
926         (sql-redirect-one, sql-execute): Use `read-only-mode' on
927         redirected output buffer.
928         (sql-mode): Restore deleted code (Bug#13591).
930 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
932         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
934 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
936         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
938         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
939         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
940         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
942 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
944         * desktop.el (desktop-clear): Simplify; remove useless checks
945         against invalid buffer names.
946         (desktop-list*): Use cl-list*.
947         (desktop-buffer-info, desktop-create-buffer): Simplify.
949 2013-07-23  Leo Liu  <sdl.web@gmail.com>
951         * bookmark.el (bookmark-make-record): Restore NAME as a default
952         value.  (Bug#14933)
954 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
956         * emacs-lisp/autoload.el (autoload--setup-output): New function,
957         extracted from autoload--insert-text.
958         (autoload--insert-text): Remove.
959         (autoload--print-cookie-text): New function, extracted from
960         autoload--insert-cookie-text.
961         (autoload--insert-cookie-text): Remove.
962         (autoload-generate-file-autoloads): Adjust calls accordingly.
964         * winner.el (winner-hook-installed-p): Remove.
965         (winner-mode): Simplify accordingly.
967         * subr.el (add-to-list): Fix compiler-macro when `append' is
968         not constant.  Don't use `cl-member' for the base case.
970         * progmodes/subword.el: Fix boundary case (bug#13758).
971         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
972         own group.
973         (subword-backward-regexp): Make it a constant.
974         (subword-forward-internal): Don't treat a trailing capital as the
975         beginning of a word.
977 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
979         * emacs-lisp/package.el (package-menu-mode): Don't modify the
980         global value of tabulated-list-revert-hook (bug#14930).
982 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
984         * desktop.el: Require 'cl-lib.
985         (desktop-before-saving-frames-functions): New hook.
986         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
987         for frames being saved.  Rename from desktop--save-minibuffer-frames.
988         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
989         Do not save frames with non-nil `desktop-dont-save' parameter.
990         Filter out deleted frames.
991         (desktop--find-frame): Use cl-find-if.
992         (desktop--select-frame): Use cl-(first|second|third) to access values
993         of desktop-mini.
994         (desktop--make-frame): Use cl-delete-if.
995         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
996         (desktop-restore-frames): Use cl-(first|second|third) to access values
997         of desktop-mini.  Look for visible frame at the end, not while
998         restoring frames.
1000         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1001         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1002         Use string-match-p, looking-at-p (bug#14927).
1004 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
1006         * desktop.el (desktop-saved-frame-states):
1007         Rename from desktop--saved-states; all users changed.
1008         (desktop-save-frames): Rename from desktop--save-frames.
1009         Do not save state to desktop file.
1010         (desktop-save): Save desktop-saved-frame-states to desktop file
1011         and reset to nil.
1012         (desktop-restoring-frames-p): New function.
1013         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
1014         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
1015         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
1017         * desktop.el: Correctly restore iconified frames.
1018         (desktop--filter-iconified-position): New function.
1019         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1021 2013-07-20  Glenn Morris  <rgm@gnu.org>
1023         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1024         Let `message' do the formatting.
1025         (def-gdb-preempt-display-buffer): Add explicit format.
1027         * image-dired.el (image-dired-track-original-file):
1028         Use with-current-buffer.
1029         (image-dired-track-thumbnail): Use with-current-buffer.
1030         Avoid changing point of wrong window.
1032         * image-dired.el (image-dired-track-original-file):
1033         Avoid changing point of wrong window.  (Bug#14909)
1035 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
1037         * progmodes/gdb-mi.el (gdb-done-or-error):
1038         Guard against "%" in gdb output.  (Bug#14127)
1040 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
1042         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1043         (Bug#14826)
1045         * international/mule.el (coding-system-iso-2022-flags): Fix last
1046         change.
1048 2013-07-20  Kenichi Handa  <handa@gnu.org>
1050         * international/mule.el (coding-system-iso-2022-flags):
1051         Add `8-bit-level-4'.  (Bug#8522)
1053 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1055         * net/shr.el (shr-mouse-browse-url): New command and keystroke
1056         (bug#14815).
1058         * net/eww.el (eww-process-text-input): Allow inputting when the
1059         point is at the start of the line, as the properties aren't
1060         front-sticky.
1062         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1063         degenerate widths.
1065 2013-07-19  Richard Stallman  <rms@gnu.org>
1067         * epa.el (epa-popup-info-window): Doc fix.
1069         * subr.el (split-string): New arg TRIM.
1071 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
1073         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1074         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1076 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
1078         * filenotify.el (file-notify--library): Rename from
1079         `file-notify-support'.  Do not autoload.  Adapt all uses.
1080         (file-notify-supported-p): New defun.
1082         * autorevert.el (auto-revert-use-notify):
1083         Use `file-notify-supported-p' instead of `file-notify-support'.
1084         Adapt docstring.
1085         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1087         * net/tramp.el (tramp-file-name-for-operation):
1088         Add `file-notify-supported-p'.
1090         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1091         New defun.
1092         (tramp-sh-file-name-handler-alist): Add it as handler for
1093         `file-notify-supported-p '.
1095         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1096         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1097         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1098         Add `ignore' as handler for `file-notify-*' functions.
1100 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
1102         * simple.el (line-move-partial, line-move): Don't start vscroll or
1103         scroll-up if the current line is not taller than the window.
1104         (Bug#14881)
1106 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
1108         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1109         highlight question marks in the method names as strings.
1110         (ruby-block-beg-keywords): Inline.
1111         (ruby-font-lock-keyword-beg-re): Extract from
1112         `ruby-font-lock-keywords'.
1114 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
1116         * frame.el (blink-cursor-blinks): New defcustom.
1117         (blink-cursor-blinks-done): New defvar.
1118         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1119         (blink-cursor-timer-function): Check if number of blinks has been
1120         done on X and NS.
1121         (blink-cursor-suspend, blink-cursor-check): New defuns.
1123 2013-07-15  Glenn Morris  <rgm@gnu.org>
1125         * edmacro.el (edmacro-format-keys): Fix previous change.
1127 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
1129         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1130         The hack didn't work outside English locales anyway.
1132 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
1134         * simple.el (define-alternatives): Rename from alternatives-define,
1135         per RMS' suggestion.
1137 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
1139         * desktop.el (desktop-restore-frames): Change default to t.
1140         (desktop-restore-in-current-display): Now offer more options.
1141         (desktop-restoring-reuses-frames): New customization option.
1142         (desktop--saved-states): Doc fix.
1143         (desktop-filter-parameters-alist): New variable, renamed and expanded
1144         from desktop--excluded-frame-parameters.
1145         (desktop--target-display): New variable.
1146         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1147         (desktop--filter-tty*, desktop--filter-*-color)
1148         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1149         (desktop--filter-save-desktop-parm)
1150         (desktop-restore-in-original-display-p): New functions.
1151         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1152         (desktop--save-minibuffer-frames): New function, inspired by a similar
1153         function from Martin Rudalics.
1154         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1155         (desktop--restore-in-this-display-p): Remove.
1156         (desktop--find-frame): Rename from desktop--find-frame-in-display
1157         and add predicate argument.
1158         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1159         (desktop--reuse-list): New variable.
1160         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1161         New functions.
1162         (desktop--restore-frames): Add support for "minibuffer-special" frames.
1164 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
1166         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1168 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
1170         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1171         Highlight conversion methods on Kernel.
1173 2013-07-13  Alan Mackenzie  <acm@muc.de>
1175         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1176         and comment it out.  This out-commenting enables certain C++
1177         declarations to be parsed correctly.
1179 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
1181         * international/mule.el (define-coding-system): Doc fix.
1183         * simple.el (default-font-height): Don't call font-info if the
1184         frame's default font didn't change since the frame was created.
1185         (Bug#14838)
1187 2013-07-13  Leo Liu  <sdl.web@gmail.com>
1189         * ido.el (ido-read-file-name): Guard against non-symbol value.
1191 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1193         * progmodes/python.el (python-imenu--build-tree): Fix corner case
1194         in nested defuns.
1196 2013-07-13  Leo Liu  <sdl.web@gmail.com>
1198         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1199         ido-set-matches call.  (Bug#6852)
1201 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
1203         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1204         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1205         Ruby 2.0.
1206         (ruby-font-lock-keywords): Distinguish calls to functions with
1207         module-like names from module references.  Highlight character
1208         literals.
1210 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
1212         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1213         (gdb-send): Handle continued commands.  (Bug#14847)
1215 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
1217         * desktop.el (desktop--v2s): Remove unused local variable.
1218         (desktop-save-buffer): Make defvar-local; adjust docstring.
1219         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1220         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1222 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
1224         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1226 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
1228         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1229         (Bug#14842)
1231 2013-07-12  Glenn Morris  <rgm@gnu.org>
1233         * doc-view.el: Require cl-lib at runtime too.
1234         (doc-view-remove-if): Remove.
1235         (doc-view-search-next-match, doc-view-search-previous-match):
1236         Use cl-remove-if.
1238         * edmacro.el: Require cl-lib at runtime too.
1239         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1240         (edmacro-mismatch, edmacro-subseq): Remove.
1242         * shadowfile.el: Require cl-lib.
1243         (shadow-remove-if): Remove.
1244         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1245         Use cl-remove-if.
1247         * wid-edit.el: Require cl-lib.
1248         (widget-choose): Use cl-remove-if.
1249         (widget-remove-if): Remove.
1251         * progmodes/ebrowse.el: Require cl-lib at runtime too.
1252         (ebrowse-delete-if-not): Remove.
1253         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1254         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1255         Use cl-delete-if-not.
1257 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
1259         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1260         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1262 2013-07-12  Leo Liu  <sdl.web@gmail.com>
1264         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
1266 2013-07-11  Glenn Morris  <rgm@gnu.org>
1268         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1269         (edebug-gensym-index, edebug-gensym):
1270         Remove reimplementation of cl-gensym.
1271         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1273         * thumbs.el: Require cl-lib at run-time too.
1274         (thumbs-gensym-counter, thumbs-gensym):
1275         Remove reimplementation of cl-gensym.
1276         (thumbs-temp-file): Use cl-gensym.
1278         * emacs-lisp/ert.el: Require cl-lib at runtime too.
1279         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1280         (ert--intersection, ert--set-difference, ert--set-difference-eq)
1281         (ert--union, ert--gensym-counter, ert--gensym-counter)
1282         (ert--coerce-to-vector, ert--remove*, ert--string-position)
1283         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1284         (ert-make-test-unbound, ert--expand-should-1)
1285         (ert--expand-should, ert--should-error-handle-error)
1286         (should-error, ert--explain-equal-rec)
1287         (ert--plist-difference-explanation, ert-select-tests)
1288         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1289         Use cl-lib functions rather than reimplementations.
1291 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
1293         * net/tramp.el (tramp-methods): Extend docstring.
1294         (tramp-connection-timeout): New defcustom.
1295         (tramp-error-with-buffer): Reset timestamp only when appropriate.
1296         (with-tramp-progress-reporter): Simplify.
1297         (tramp-process-actions): Improve messages.
1299         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1300         * net/tramp-sh.el (tramp-maybe-open-connection):
1301         Use `tramp-connection-timeout'.
1302         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1303         (Bug#14808)
1305 2013-07-11  Leo Liu  <sdl.web@gmail.com>
1307         * ido.el (ido-read-file-name): Conform to the requirements of
1308         read-file-name.  (Bug#11861)
1309         (ido-read-directory-name): Conform to the requirements of
1310         read-directory-name.
1312 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
1314         * subr.el (delay-warning): New function.
1316 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
1318         * simple.el (default-line-height): New function.
1319         (line-move-partial, line-move): Use it instead of computing the
1320         line height inline.
1321         (line-move-partial): Always compute ROWH.  If the last line is
1322         partially-visible, but its text is completely visible, allow
1323         cursor to enter such a partially-visible line.
1325 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
1327         Improve error messages.  (Bug#14808)
1329         * net/tramp.el (tramp-current-connection): New defvar, moved from
1330         tramp-sh.el.
1331         (tramp-message-show-progress-reporter-message): Remove, not
1332         needed anymore.
1333         (tramp-error-with-buffer): Show message in minibuffer.
1334         Discard input before waiting.  Reset connection timestamp.
1335         (with-tramp-progress-reporter): Improve messages.
1336         (tramp-process-actions): Use progress reporter.  Delete process in
1337         case of error.  Improve messages.
1339         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1340         Call `tramp-error-with-buffer' with vector and buffer.
1341         (tramp-current-connection): Remove.
1342         (tramp-maybe-open-connection): The car of
1343         `tramp-current-connection' are the first 3 slots of the vector.
1345 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
1347         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1348         inside continued strings.
1350 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
1352         Timestamp fixes for undo (Bug#14824).
1353         * files.el (clear-visited-file-modtime): Move here from fileio.c.
1355 2013-07-10  Leo Liu  <sdl.web@gmail.com>
1357         * files.el (require-final-newline): Allow safe local value.
1358         (Bug#14834)
1360 2013-07-09  Leo Liu  <sdl.web@gmail.com>
1362         * ido.el (ido-read-directory-name): Handle fallback.
1363         (ido-read-file-name): Update DIR to ido-current-directory.
1364         (Bug#1516)
1365         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
1367 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
1369         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1370         "autoload".  Remove "warn lower camel case" section, previously
1371         commented out.  Highlight negation char.  Do not highlight the
1372         target in singleton method definitions.
1374 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1376         * faces.el (tty-setup-hook): Declare the hook.
1378         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1379         and detect when a guard/pred depends on local vars (bug#14773).
1380         (pcase--u1): Adjust caller.
1382 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
1384         * simple.el (line-move-partial, line-move): Account for
1385         line-spacing.
1386         (line-move-partial): Avoid setting vscroll when the last
1387         partially-visible line in window is of default height.
1389 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1391         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1392         been used a while.
1394 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
1396         * subr.el (read-quoted-char): Remove unused local variable `char'.
1398 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
1400         * ediff.el (ediff-version): Version update.
1401         (ediff-files-command, ediff3-files-command, ediff-merge-command)
1402         (ediff-merge-with-ancestor-command, ediff-directories-command)
1403         (ediff-directories3-command, ediff-merge-directories-command)
1404         (ediff-merge-directories-with-ancestor-command): New functions.
1405         All are command-line interfaces to ediff: to facilitate calling
1406         Emacs with the appropriate ediff functions invoked.
1408         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1409         (viper-save-kill-buffer): Check if buffer is modified.
1411         * viper.el (viper-version): Version update.
1412         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1414 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1416         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1417         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1418         (viper-intercept-ESC-key): Simplify.
1419         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1420         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1421         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1422         (viper-setup-ESC-to-escape): New functions.
1423         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1424         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
1426 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
1428         * simple.el (default-font-height, window-screen-lines):
1429         New functions.
1430         (line-move, line-move-partial): Use them instead of
1431         frame-char-height and window-text-height.  This makes scrolling
1432         text smoother when the buffer's default face uses a font that is
1433         different from the frame's default font.
1435 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
1437         * files.el (write-file): Do not display confirm dialog for NS,
1438         it does its own dialog, which can't be cancelled (Bug#14578).
1440 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
1442         * simple.el (line-move-partial): Adjust the row returned by
1443         posn-at-point for the current window-vscroll.  (Bug#14567)
1445 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
1447         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1448         (tramp-sh-file-inotifywait-process-filter): Handle file names with
1449         spaces.
1451 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
1453         * window.el (window-state-put-stale-windows): New variable.
1454         (window--state-put-2): Save list of windows without matching buffer.
1455         (window-state-put): Remove "bufferless" windows if possible.
1457 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
1459         * simple.el (alternatives-define): Remove leftover :group keyword.
1460         Tweak docstring.
1462 2013-07-06  Leo Liu  <sdl.web@gmail.com>
1464         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1465         (ido-enable-virtual-buffers): New variable.
1466         (ido-buffer-internal, ido-toggle-virtual-buffers)
1467         (ido-make-buffer-list): Use it.
1468         (ido-exhibit): Support turning on and off virtual buffers
1469         automatically.
1471 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
1473         * simple.el (alternatives-define): New macro.
1475 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1477         * subr.el (read-quoted-char): Use read-key.
1478         (sit-for): Let read-event decode tty input (bug#14782).
1480 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
1482         * calendar/todo-mode.el: Add handling of file deletion, both by
1483         mode command and externally.  Fix various related bugs.
1484         Clarify Commentary and improve some documentation strings and code.
1485         (todo-delete-file): New command.
1486         (todo-check-file): New function.
1487         (todo-show): Handle external deletion of the file we're trying to
1488         show (bug#14688).  Replace called-interactively-p by an optional
1489         prefix argument to avoid problematic interaction with catch form
1490         when byte compiled (bug#14702).
1491         (todo-quit): Handle external deletion of the archive's todo file.
1492         Make sure the buffer that was visiting the archive file is still
1493         live before trying to bury it.
1494         (todo-category-completions): Handle external deletion of any
1495         category completion files.
1496         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1497         of todo files, in case of external deletion.
1498         (todo-add-file): Replace unnecessary setq by let-binding.
1499         (todo-find-archive): Check whether there are any archives.
1500         Replace unnecessary setq by let-binding.
1501         (todo-archive-done-item): Use find-file-noselect to get the
1502         archive buffer whether or not the archive already exists.
1503         Remove superfluous code.  Use file size instead of buffer-file-name to
1504         check if the archive is new; if it is, update list of archives.
1505         (todo-default-todo-file): Allow nil to be a valid value for when
1506         there are no todo files.
1507         (todo-reevaluate-default-file-defcustom): Use corrected definition
1508         of todo-default-todo-file.
1509         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1510         (todo-delete-category, todo-show-categories-table)
1511         (todo-category-number): Clarify comment.
1512         (todo-filter-items): Clarify documentation string.
1513         (todo-show-current-file, todo-display-as-todo-file)
1514         (todo-reset-and-enable-done-separator): Tweak documentation string.
1515         (todo-done-separator): Make separator length window-width, since
1516         bug#2749 is now fixed.
1518 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
1520         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1521         Support both "gvfs-monitor-dir" and "inotifywait".
1522         (tramp-sh-file-inotifywait-process-filter): Rename from
1523         `tramp-sh-file-notify-process-filter'.
1524         (tramp-sh-file-gvfs-monitor-dir-process-filter)
1525         (tramp-get-remote-gvfs-monitor-dir): New defuns.
1527 2013-07-05  Leo Liu  <sdl.web@gmail.com>
1529         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1531 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1533         * frame.el (display-pixel-height, display-pixel-width)
1534         (display-mm-height, display-mm-width): Mention behavior on
1535         multi-monitor setups in docstrings.
1536         (w32-display-monitor-attributes-list): Declare function.
1537         (display-monitor-attributes-list): Use it.
1539 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
1541         * filenotify.el: New package.
1543         * autorevert.el (top): Require filenotify.el.
1544         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
1545         instead.
1546         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1547         (auto-revert-notify-handler): Use `file-notify-*' functions.
1549         * subr.el (file-notify-handle-event): Move function to filenotify.el.
1551         * net/tramp.el (tramp-file-name-for-operation):
1552         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1554         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1555         for `file-notify-add-watch' and `file-notify-rm-watch'.
1556         (tramp-process-sentinel): Improve trace.
1557         (tramp-sh-handle-file-notify-add-watch)
1558         (tramp-sh-file-notify-process-filter)
1559         (tramp-sh-handle-file-notify-rm-watch)
1560         (tramp-get-remote-inotifywait): New defuns.
1562 2013-07-03  Juri Linkov  <juri@jurta.org>
1564         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1565         call of `occur-read-primary-args' to interactive spec.
1567         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1568         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
1570 2013-07-03  Matthias Meulien  <orontee@gmail.com>
1572         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1573         `Buffer-menu-multi-occur'.  Add it to the menu.
1574         (Buffer-menu-mode): Document it in docstring.
1575         (Buffer-menu-multi-occur): New command.  (Bug#14673)
1577 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1579         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1580         keywords and built-ins.
1582 2013-07-03  Glenn Morris  <rgm@gnu.org>
1584         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
1586         Make info-xref checks case-sensitive by default
1587         * info.el (Info-find-node, Info-find-in-tag-table)
1588         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1589         Add option for exact case matching of nodes.
1590         * info-xref.el (info-xref): New custom group.
1591         (info-xref-case-fold): New option.
1592         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1594 2013-07-03  Leo Liu  <sdl.web@gmail.com>
1596         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1598 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1600         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1601         middle of block statement initially, lower the depth.  Remove
1602         FIXME comment, not longer valid.  Remove middle of block statement
1603         detection, no need to do that anymore since we've been using
1604         `ruby-parse-region' here.
1606 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
1608         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1610 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1612         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1614 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
1616         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1617         (desktop-restore-in-current-display): New customization option.
1618         (desktop--excluded-frame-parameters): Add `font'.
1619         (desktop--save-frames): Rename from desktop--save-windows.
1620         (desktop--restore-in-this-display-p): New function.
1621         (desktop--make-full-frame): Remove unwanted width/height from
1622         full(width|height) frames.
1623         (desktop--restore-frames): Rename from desktop--restore-windows.
1624         Obey desktop-restore-current-display.  Do not delete old frames or
1625         select a new frame unless we were able to restore at least one frame.
1627 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
1629         * files.el (find-file-noselect): Simplify conditional expression.
1631         * remember.el (remember-append-to-file):
1632         Don't mix `find-buffer-visiting' and `get-file-buffer'.
1634         Add `remember-notes' function to store random notes across Emacs
1635         restarts.
1636         * remember.el (remember-data-file): Add :set callback to affect
1637         notes buffer (if any).
1638         (remember-notes): New command.
1639         (remember-notes-buffer-name, bury-remember-notes-on-kill):
1640         New defcustoms for the `remember-notes' function.
1641         (remember-notes-save-and-bury-buffer): New command.
1642         (remember-notes-mode-map): New variable.
1643         (remember-mode): New minor mode.
1644         (remember-notes--kill-buffer-query): New function.
1645         * startup.el (initial-buffer-choice): Add notes to custom type.
1647 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
1649         * bindings.el (right-char, left-char): Don't call sit-for, this is
1650         no longer needed.  Use arithmetic comparison only for numerical
1651         arguments.
1653         * international/mule-cmds.el (select-safe-coding-system):
1654         Handle the case of FROM being a string correctly.  (Bug#14755)
1656 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1658         * net/shr.el (shr-make-table-1): Add a sanity check that allows
1659         progression on degenerate tables.
1660         (shr-rescale-image): ImageMagick animated images currently don't work.
1662 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
1664         Some fixes and improvements for desktop frame restoration.
1665         It is still experimental and disabled by default.
1666         * desktop.el (desktop--save-windows): Put the selected frame at
1667         the head of the list.
1668         (desktop--make-full-frame): New function.
1669         (desktop--restore-windows): Try to re-select the frame that was
1670         selected upon saving.  Do not abort if some frames fail to restore,
1671         just show an error message and continue.  Set up maximized frames
1672         so they have default non-maximized dimensions.
1674 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1676         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1677         Don't start heredoc inside a string or comment.
1679 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
1681         * bindings.el (visual-order-cursor-movement): New defcustom.
1682         (right-char, left-char): Provide visual-order cursor motion by
1683         calling move-point-visually.  Update the doc strings.
1685 2013-06-28  Kenichi Handa  <handa@gnu.org>
1687         * international/mule.el (define-coding-system): New coding system
1688         properties :inhibit-null-byte-detection,
1689         :inhibit-iso-escape-detection, and :prefer-utf-8.
1690         (set-buffer-file-coding-system): If :charset-list property of
1691         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1692         appropriate for setting.
1694         * international/mule-cmds.el (select-safe-coding-system):
1695         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1696         multibyte characters, return utf-8 (or one of its siblings).
1698         * international/mule-conf.el (prefer-utf-8): New coding system.
1699         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1700         files.
1702 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
1704         * net/shr.el (shr-render-region): New function.
1706         * net/eww.el: Autoload `eww-browse-url'.
1708 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
1710         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1711         Adapt to `package-desc-version' being a list.
1712         Use `package--ac-desc-version' to retrieve version from a package
1713         archive element.
1715 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
1717         New experimental feature to save&restore window and frame setup.
1718         * desktop.el (desktop-save-windows): New defcustom.
1719         (desktop--saved-states): New var.
1720         (desktop--excluded-frame-parameters): New defconst.
1721         (desktop--filter-frame-parms, desktop--find-frame-in-display)
1722         (desktop--restore-windows, desktop--save-windows): New functions.
1723         (desktop-save): Call `desktop--save-windows'.
1724         (desktop-read): Call `desktop--restore-windows'.
1726 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1728         * net/shr.el (add-face-text-property): Remove compat definition.
1730 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1732         * info.el (Info-try-follow-nearest-node): Move search for footnote
1733         above search for node name to prevent missing a footnote (bug#14717).
1735 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1737         * obsolete/otodo-mode.el: Add obsolescence info to file header.
1739 2013-06-27  Leo Liu  <sdl.web@gmail.com>
1741         * net/eww.el (eww-read-bookmarks): Check file size.
1743 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1746         advice--pending if newdef is nil or an autoload (bug#13820).
1747         (advice-mapc): New function.
1749 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1751         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1752         probably.
1753         (eww-mode-map): Add a menu bar.
1754         (eww-add-bookmark): New command.
1755         (eww-bookmark-mode): New mode and commands.
1756         (eww-add-bookmark): Remove newlines from the title.
1757         (eww-bookmark-browse): Don't bug out if it's the only window.
1759 2013-06-26  Glenn Morris  <rgm@gnu.org>
1761         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1762         (hfy-size): Handle ttys.  (Bug#14668)
1764         * info-xref.el: Update for Texinfo 5 change in *note format.
1765         (info-xref-node-re, info-xref-note-re): New constants.
1766         (info-xref-check-buffer): Use info-xref-note-re.
1768 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1770         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1772         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1773         nil terminate the loop (bug#14718).
1775 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1777         * net/eww.el: Rework history traversal.  When going forward/back,
1778         put these actions into the history, too, so that they can be
1779         replayed.
1780         (eww-render): Move the history reset to the correct buffer.
1782 2013-06-25  Juri Linkov  <juri@jurta.org>
1784         * files-x.el (modify-dir-local-variable): Change the header comment
1785         in the file with directory local variables.  (Bug#14692)
1787         * files-x.el (read-file-local-variable-value): Add `default'.
1788         (Bug#14710)
1790 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1792         * net/eww.el (eww-make-unique-file-name): Create a unique file
1793         name before saving to entering `y' accidentally asynchronously.
1795 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
1797         * net/eww.el (eww-download): New command and keystroke.
1799 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1801         * net/eww.el (eww-copy-page-url): Change name of command.
1803         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1804         be more consistent with Info and dired.
1806         * net/eww.el (eww-mode-map): Ditto.
1808 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1810         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
1811         packages from archives.
1812         (package-archive-contents): Change format; include obsolete packages.
1813         (package-desc): Use `dir' to mark builtin packages.
1814         (package--from-builtin): Set the `dir' field to `builtin'.
1815         (generated-autoload-file, version-control): Declare.
1816         (package-compute-transaction): Change first arg and return value to be
1817         lists of package-descs.  Adjust to new package-archive-contents format.
1818         (package--add-to-archive-contents): Adjust to new
1819         package-archive-contents format.
1820         (package-download-transaction): Arg is now a list of package-descs.
1821         (package-install): If `pkg' is a package name, pass it as
1822         a requirement, so it is subject to the usual (e.g. disabled) checks.
1823         (describe-package): Accept package-desc as well.
1824         (describe-package-1): Describe a specific package-desc.  Add links to
1825         other package-descs for the same package name.
1826         (package-menu-describe-package): Pass the actual package-desc.
1827         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1828         works correctly.
1829         (package-desc-status): New function.
1830         (package-menu--refresh): New function, extracted
1831         from package-menu--generate.
1832         (package-menu--generate): Use it.
1833         (package-delete): Update package-alist.
1834         (package-menu-execute): Don't call package-initialize.
1836         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1837         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1838         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1839         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1840         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1841         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1843 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
1845         * window.el (window--state-get-1): Workaround for bug#14527.
1846         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1848 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1850         * net/eww.el (eww-back-url): Implement the history by stashing all
1851         the data into a list.
1852         (eww-forward-url): Allow going forward in the history, too.
1854 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1856         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1857         for values and use read--expression for expressions (bug#14710).
1858         (read-file-local-variable): Avoid setq.
1859         (read-file-local-variable-mode): Use minor-mode-list.
1861 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1863         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
1864         for DOI URLs.
1866 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1868         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
1869         Update imenu-support when dialect changes.
1871 2013-06-25  Leo Liu  <sdl.web@gmail.com>
1873         * ido.el (ido-read-internal): Allow forward slash on windows.
1875 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1877         * net/eww.el (eww): Start of strings is \\`, not ^.
1879 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
1881         * net/shr.el (shr-browse-url): Fix interactive spec.
1883         * net/eww.el (eww): Add a trailing slash to domain names.
1885 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
1887         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1889 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1891         * net/shr.el (shr-browse-url): Use an external browser if given a
1892         prefix.
1894         * net/eww.el (eww-external-browser): Move to shr.
1896 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
1898         * net/eww.el (eww): Work more correctly for file: URLs.
1899         (eww-detect-charset): Allow quoted charsets.
1900         (eww-yank-page-url): New command and keystroke.
1902 2013-06-24  Daiki Ueno  <ueno@gnu.org>
1904         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1905         file name of gpg executable.
1906         (epg-context-program): New function.
1907         (epg-context-home-directory): New function.
1908         (epg-context-set-program): New function.
1909         (epg-context-set-home-directory): New function.
1910         (epg--start): Use `epg-context-program' instead of
1911         'epg-gpg-program'.
1912         (epg--list-keys-1): Likewise.
1914 2013-06-24  Leo Liu  <sdl.web@gmail.com>
1916         * ido.el (ido-read-internal): Fix bug#14620.
1918 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
1920         * faces.el (face-documentation): Simplify.
1921         (read-face-attribute, tty-find-type, x-resolve-font-name):
1922         Use `string-match-p'.
1923         (list-faces-display): Use `string-match-p'.  Simplify.
1924         (face-spec-recalc): Check face to avoid face alias loops.
1925         (read-color): Use `string-match-p' and non-capturing parenthesis.
1927 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1929         * net/shr.el (shr-rescale-image): Use the new
1930         :max-width/:max-height functionality.
1932 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
1934         * net/eww.el (eww-search-prefix): New variable.
1935         (eww): Use it.
1936         (eww-external-browser): New variable.
1937         (eww-mode-map): New keystroke.
1938         (eww-browse-with-external-browser): New command.
1940         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1942 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
1944         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1945         Don't skip aligning the next header field when padding is 0;
1946         otherwise, field width is not respected unless the title is as
1947         wide as the field.
1949 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1951         * emacs-lisp/package.el (package-el-version): Remove.
1952         (package-process-define-package): Fix inf-loop.
1953         (package-install): Allow symbols as arguments again.
1955 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
1957         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1958         add some more keyword-like methods.
1959         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1961 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
1963         * bs.el (bs-buffer-show-mark): Make defvar-local.
1964         (bs-mode): Use setq-local.
1966         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1967         (emacs-lock--try-unlocking): Make defvar-local.
1969 2013-06-22  Glenn Morris  <rgm@gnu.org>
1971         * play/cookie1.el (cookie-apropos): Minor simplification.
1973         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1975 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
1977         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1978         `regexp-opt', it breaks the build during dumping.
1980 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1982         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1983         Highlight keyword-like methods on Kernel and Module with
1984         font-lock-builtin-face.
1985         (auto-mode-alist): Consolidate different entries into one regexp
1986         and add more *file-s.
1988 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
1990         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1992         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1993         (diary-entry): Use it in the action of this button type instead of
1994         diary-goto-entry.
1996         * calendar/todo-mode.el: New version.
1997         (todo-add-category): Append new category to end of file and give
1998         it the highest number, instead of putting it at the beginning and
1999         giving it 0.  Incorporate noninteractive functionality.
2000         (todo-forward-category): Adapt to 1-based category numbering.
2001         Allow skipping over archived categories.
2002         (todo-backward-category): Derive from todo-forward-category.
2003         (todo-backward-item, todo-forward-item): Make noninteractive and
2004         delegate interactive part to new commands.  Make sensitive to done items.
2005         (todo-categories): Make value an alist of category names and
2006         vectors of item counts.
2007         (todo-category-beg): Make a defconst.
2008         (todo-category-number): Use 1 instead of 0 as initial value.
2009         (todo-category-select): Make sensitive to overlays, optional item
2010         highlighting and done items.
2011         (todo-delete-item): Make sensitive to overlays and marked and done items.
2012         (todo-edit-item): Make sensitive to overlays and editing of
2013         date/time header optional.  Add format checks.
2014         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
2015         no-op if point is not on an item.  Advertise using todo-edit-quit.
2016         (todo-edit-mode): Make sensitive to new format, font-locking, and
2017         multiple todo files.
2018         (todo-insert-item, todo-insert-item-here): Derive from
2019         todo-basic-insert-item and extend functionality.
2020         (todo-item-end, todo-item-start): Make sensitive to done items.
2021         (todo-item-string): Don't return text properties.  Restore point.
2022         (todo-jump-to-category): Make sensitive to multiple todo files and
2023         todo archives.  Use extended category completion.
2024         (todo-lower-item, todo-raise-item): Rename to *-priority and
2025         derive from todo-set-item-priority.
2026         (todo-mode): Derive from special-mode.  Make sensitive to new
2027         format, font-locking and multiple todo files.  Make read-only.
2028         (todo-mode-map): Don't suppress digit keys, so they can supply
2029         prefix arguments.  Add many new key bindings.
2030         (todo-prefix): Insert as an overlay instead of file text.
2031         Change semantics from diary date expression to purely visual mark.
2032         (todo-print): Rename to todo-print-buffer.  Make buffer display
2033         features printable.  Remove option to restrict number of items
2034         printed.  Add option to print to file.
2035         (todo-print-function): Rename to todo-print-buffer-function.
2036         (todo-quit): Extend to handle exiting new todo modes.
2037         (todo-remove-item): Make sensitive to overlays.
2038         (todo-save): Extend to buffers of filtered items.
2039         (todo-show): Make sensitive to done items, multiple todo files and
2040         new todo modes.  Offer to convert legacy todo file before creating
2041         first new todo file.
2042         (todo-show-priorities): Rename to todo-top-priorities.
2043         Change semantics of value 0.
2044         (todo-top-priorities): Rename to todo-filter-top-priorities,
2045         derive from todo-filter-items and extend functionality.
2046         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2047         and extend functionality to other types of filtered items.
2048         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2049         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2050         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2051         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2052         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2053         (todo-edit-mode-hook, todo-entry-prefix-function)
2054         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2055         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2056         (todo-initials, todo-insert-threshold, todo-item-string-start)
2057         (todo-line-string, todo-menu, todo-mode-hook)
2058         (todo-more-important-p, todo-previous-answer, todo-previous-line)
2059         (todo-print-priorities, todo-remove-separator)
2060         (todo-save-top-priorities-too, todo-string-count-lines)
2061         (todo-string-multiline-p, todo-time-string-format)
2062         (todo-tmp-buffer-name): Remove.
2063         (todo-add-file, todo-archive-done-item, todo-choose-archive)
2064         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2065         (todo-edit-category-diary-inclusion)
2066         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2067         (todo-edit-file, todo-edit-item-date-day)
2068         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2069         (todo-edit-item-date-month, todo-edit-item-date-to-today)
2070         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2071         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2072         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2073         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2074         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2075         (todo-filter-top-priorities-multifile, todo-find-archive)
2076         (todo-find-filtered-items-file, todo-go-to-source-item)
2077         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2078         (todo-jump-to-archive-category, todo-lower-category)
2079         (todo-mark-category, todo-marked-item-p, todo-merge-category)
2080         (todo-move-category, todo-move-item, todo-next-button)
2081         (todo-next-item, todo-padded-string, todo-powerset)
2082         (todo-previous-button, todo-previous-item)
2083         (todo-print-buffer-to-file, todo-raise-category)
2084         (todo-rename-category, todo-repair-categories-sexp, todo-search)
2085         (todo-set-category-number, todo-set-item-priority)
2086         (todo-set-top-priorities-in-category)
2087         (todo-set-top-priorities-in-file, todo-show-categories-table)
2088         (todo-sort-categories-alphabetically-or-numerically)
2089         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2090         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2091         (todo-toggle-item-header, todo-toggle-item-highlighting)
2092         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2093         (todo-toggle-view-done-items, todo-toggle-view-done-only)
2094         (todo-unarchive-items, todo-unmark-category): New commands.
2095         (todo-absolute-file-name, todo-add-to-buffer-list)
2096         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2097         (todo-basic-insert-item, todo-category-completions)
2098         (todo-category-number, todo-category-string-matcher-1)
2099         (todo-category-string-matcher-2, todo-check-filtered-items-file)
2100         (todo-check-format, todo-clear-matches)
2101         (todo-comment-string-matcher, todo-convert-legacy-date-time)
2102         (todo-current-category, todo-date-string-matcher)
2103         (todo-define-insertion-command, todo-diary-expired-matcher)
2104         (todo-diary-goto-entry, todo-diary-item-p)
2105         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2106         (todo-display-categories, todo-display-sorted, todo-done-item-p)
2107         (todo-done-item-section-p, todo-done-separator)
2108         (todo-done-string-matcher, todo-files, todo-filter-items)
2109         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2110         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2111         (todo-insert-category-line, todo-insert-item-from-calendar)
2112         (todo-insert-sort-button, todo-insert-with-overlays)
2113         (todo-insertion-command-name, todo-insertion-key-bindings)
2114         (todo-label-to-key, todo-longest-category-name-length)
2115         (todo-make-categories-list, todo-mode-external-set)
2116         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2117         (todo-modes-set-3, todo-multiple-filter-files)
2118         (todo-nondiary-marker-matcher, todo-prefix-overlays)
2119         (todo-read-category, todo-read-date, todo-read-dayname)
2120         (todo-read-file-name, todo-read-time)
2121         (todo-reevaluate-category-completions-files-defcustom)
2122         (todo-reevaluate-default-file-defcustom)
2123         (todo-reevaluate-filelist-defcustoms)
2124         (todo-reevaluate-filter-files-defcustom)
2125         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2126         (todo-reset-done-separator, todo-reset-done-separator-string)
2127         (todo-reset-done-string, todo-reset-global-current-todo-file)
2128         (todo-reset-highlight-item, todo-reset-nondiary-marker)
2129         (todo-reset-prefix, todo-set-categories)
2130         (todo-set-date-from-calendar, todo-set-show-current-file)
2131         (todo-set-top-priorities, todo-short-file-name)
2132         (todo-show-current-file, todo-sort, todo-time-string-matcher)
2133         (todo-total-item-counts, todo-update-buffer-list)
2134         (todo-update-categories-display, todo-update-categories-sexp)
2135         (todo-update-count, todo-validate-name, todo-y-or-n-p):
2136         New functions.
2137         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2138         New major modes.
2139         (todo-categories, todo-display, todo-edit, todo-faces)
2140         (todo-filtered): New defgroups.
2141         (todo-archived-only, todo-button, todo-category-string, todo-date)
2142         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2143         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2144         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2145         (todo-add-item-if-new-category, todo-always-add-time-string)
2146         (todo-categories-align, todo-categories-archived-label)
2147         (todo-categories-category-label, todo-categories-diary-label)
2148         (todo-categories-done-label, todo-categories-number-separator)
2149         (todo-categories-todo-label, todo-categories-totals-label)
2150         (todo-category-completions-files, todo-completion-ignore-case)
2151         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2152         (todo-done-separator-string, todo-done-string)
2153         (todo-files-function, todo-filter-done-items, todo-filter-files)
2154         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2155         (todo-initial-category, todo-initial-file, todo-item-mark)
2156         (todo-legacy-date-time-regexp, todo-mode-line-function)
2157         (todo-nondiary-marker, todo-number-prefix)
2158         (todo-print-buffer-function, todo-show-current-file)
2159         (todo-show-done-only, todo-show-first, todo-show-with-done)
2160         (todo-skip-archived-categories, todo-top-priorities-overrides)
2161         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2162         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2163         New defcustoms.
2164         (todo-category-done, todo-date-pattern, todo-date-string-start)
2165         (todo-diary-items-buffer, todo-done-string-start)
2166         (todo-filtered-items-buffer, todo-item-start)
2167         (todo-month-abbrev-array, todo-month-name-array)
2168         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2169         (todo-top-priorities-buffer): New defconsts.
2170         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2171         (todo-categories-with-marks, todo-category-string-face)
2172         (todo-comment-face, todo-comment-string, todo-current-todo-file)
2173         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2174         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2175         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2176         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2177         (todo-font-lock-keywords, todo-global-current-todo-file)
2178         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2179         (todo-insertion-commands-args)
2180         (todo-insertion-commands-args-genlist)
2181         (todo-insertion-commands-names, todo-insertion-map)
2182         (todo-key-bindings-t, todo-key-bindings-t+a)
2183         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2184         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2185         (todo-nondiary-face, todo-print-buffer, todo-time-face)
2186         (todo-visited): New variables.
2188 2013-06-21  Glenn Morris  <rgm@gnu.org>
2190         * play/cookie1.el (cookie-apropos): Add optional display argument.
2191         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2192         (psychoanalyze-pinhead): Use cookie-doctor.
2194 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2196         * emacs-lisp/package.el (tar-get-file-descriptor)
2197         (tar--extract): Declare.
2199 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
2201         Extend flymake's warning predicate to be a function (bug#14217).
2202         * progmodes/flymake.el (flymake-warning-predicate): New.
2203         (flymake-parse-line): Use it.
2204         (flymake-warning-re): Make obsolete alias to
2205         `flymake-warning-predicate'.
2207 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2209         * emacs-lisp/package.el (package-alist): Include obsolete packages.
2210         (package-obsolete-list): Remove.
2211         (package-activate): Remove min-version argument.  Add `force' argument.
2212         Adjust to new package-alist format.
2213         (package-mark-obsolete): Remove.
2214         (package-unpack): Force reload of the package's autoloads.
2215         (package-installed-p): Check builtins if the installed package is not
2216         recent enough.
2217         (package-initialize): Don't reset package-obsolete-list.
2218         Don't specify which package version to activate.
2219         (package-process-define-package, describe-package-1)
2220         (package-menu--generate): Adjust to new package-alist format.
2222 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2224         * allout-widgets.el (allout-widgets-mode-off)
2225         (allout-widgets-mode-on, allout-widgets-pre-command-business)
2226         (allout-widgets-post-command-business)
2227         (allout-widgets-after-copy-or-kill-function)
2228         (allout-widgets-after-undo-function, allout-test-range-overlaps)
2229         (allout-decorate-item-and-context)
2230         (allout-graphics-modification-handler): Fix typos in docstrings.
2231         (allout-get-or-create-parent-widget): Use `looking-at-p'.
2233         * cmuscheme.el (scheme-start-file): Doc fix.
2234         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2235         (scheme-input-filter): Use `string-match-p'.
2237         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2239         * dired-x.el: Use Dired consistently in docstrings.
2241         * dired.el: Use Dired consistently in docstrings.
2242         (dired-readin, dired-mode): Use `setq-local'.
2243         (dired-switches-alist): Make defvar-local.
2244         (dired-buffers-for-dir): Use `zerop'.
2245         (dired-safe-switches-p, dired-switches-escape-p)
2246         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2247         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2248         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2249         (dired-goto-next-nontrivial-file): Use `string-match-p'.
2250         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2251         (dired-toggle-marks, dired-mark-files-containing-regexp)
2252         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2253         (dired-flag-auto-save-files, dired-flag-backup-files):
2254         Use `looking-at-p'.
2255         (dired-mark-files-regexp, dired-build-subdir-alist):
2256         Use `string-match-p', `looking-at-p'.
2258         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2259         (direct-print-region-helper): Use `string-match-p'.
2261 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2263         * comint.el (comint-redirect-results-list-from-process):
2264         Fix infinite loop.
2266 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2268         * net/eww.el (eww-update-header-line-format): Quote % characters.
2270 2013-06-21  Glenn Morris  <rgm@gnu.org>
2272         * play/cookie1.el (cookie): New custom group.
2273         (cookie-file): New option.
2274         (cookie-check-file): New function.
2275         (cookie): Make it interactive.  Make start and end messages optional.
2276         Interactively, display the result.  Default to cookie-file.
2277         (cookie-insert): Default to cookie-file.
2278         (cookie-snarf): Make start and end messages optional.
2279         Default to cookie-file.  Use with-temp-buffer.
2280         (cookie-read): Rename from read-cookie.
2281         Make start and end messages optional.  Default to cookie-file.
2282         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
2283         Do not autoload it.
2284         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2285         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2287 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2289         * progmodes/octave.el (octave-mode): Backward compatibility fix.
2291 2013-06-21  Glenn Morris  <rgm@gnu.org>
2293         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2295 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2296             Daniel Hackney  <dan@haxney.org>
2298         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2299         Consolidate the single-file vs tarball code.
2300         (package-desc-suffix): New function.
2301         (package-desc-full-name): Don't bother inlining it.
2302         (package-load-descriptor): Return the new package-desc.
2303         (package-mark-obsolete): Remove unused arg `package'.
2304         (package-unpack): Make it work for single files as well.
2305         Make it update package-alist.
2306         (package--make-autoloads-and-stuff): Rename from
2307         package--make-autoloads-and-compile.  Don't compile any more.
2308         (package--compile): New function.
2309         (package-generate-description-file): New function, extracted from
2310         package-unpack-single.
2311         (package-unpack-single): Remove.
2312         (package--with-work-buffer): Add indentation and debugging info.
2313         (package-download-single): Remove.
2314         (package-install-from-archive): Rename from package-download-tar, make
2315         it take a pkg-desc, and make it work for single files as well.
2316         (package-download-transaction): Simplify.
2317         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
2318         external tar program.
2319         (package-install-from-buffer): Remove `pkg-desc' argument.
2320         Use package-tar-file-info for tar-mode buffers.
2321         (package-install-file): Simplify accordingly.
2322         (package-archive-base): Change to take a pkg-desc.
2323         * tar-mode.el (tar--check-descriptor): New function, extracted from
2324         tar-get-descriptor.
2325         (tar-get-descriptor): Use it.
2326         (tar-get-file-descriptor): New function.
2327         (tar--extract): New function, extracted from tar-extract.
2328         (tar--extract): Use it.
2329         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2330         case the summary uses non-ascii.  Adjust to new calling convention of
2331         package-tar-file-info.
2333 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2335         * comint.el (comint-redirect-results-list-from-process):
2336         Fix random delay.  (Bug#14681)
2338 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2340         * profiler.el (profiler-format-number): Use log, not log10.
2342 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2344         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2346 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2348         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2349         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2350         yet available.
2351         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2352         (AUTOGENEL): ... here.
2353         * emacs-lisp/cl-macs.el (cl--sublis): New function.
2354         (cl--defsubst-expand): Use it.
2356 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
2358         * subr.el (log10): Move here from C code, and declare as obsolete.
2359         All uses of (log10 X) replaced with (log X 10).
2361 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2363         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2364         Declare with `defvar-local'.
2365         (tabulated-list-use-header-line, tabulated-list-entries)
2366         (tabulated-list-padding, tabulated-list-printer)
2367         (tabulated-list-sort-key): Declare with `defvar-local'.
2368         (tabulated-list-init-header, tabulated-list-print-fake-header):
2369         Use `setq-local'.
2371 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
2373         * arc-mode.el (archive-mode): Add `archive-write-file' to
2374         `write-contents-functions' also for remote files.  (Bug#14652)
2376 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2378         * cus-edit.el (custom-commands): Fix typos.
2379         (custom-display): Fix tooltip text.
2380         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2381         Fix typos in docstrings.
2382         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2383         (custom-unlispify-menu-entry, custom-magic-value-create)
2384         (custom-add-see-also, custom-group-value-create): Use ?\s.
2385         (custom-guess-type, customize-apropos, editable-field)
2386         (custom-face-value-create): Use `string-match-p'.
2387         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2389         * custom.el (custom-load-symbol): Use `string-match-p'.
2391         * ansi-color.el: Convert to lexical binding.
2392         (ansi-colors): Fix URL.
2393         (ansi-color-context, ansi-color-context-region): Use defvar-local.
2394         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2395         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2397 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2399         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2401         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2403 2013-06-19  Tom Tromey  <tromey@redhat.com>
2405         * net/eww.el (eww-top-url): Remove.
2406         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2407         (eww-render): Set new variables.  Don't set eww-top-url.
2408         (eww-handle-link): Handle "prev", "home", and "contents".
2409         Downcase the rel text.
2410         (eww-top-url): Choose best top URL.
2412 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2414         * net/eww.el: Rewrite to implement form elements "by hand" instead of
2415         relying in widget.el.  Using widget.el leads to too many
2416         user interface inconsistencies.
2417         (eww-self-insert): Implement entering commands in text fields.
2418         (eww-process-text-input): New function to make text input field editing
2419         work.
2420         (eww-submit): Rewrite to use the new-style form methods.
2421         (eww-select-display): Display the correct selected item.
2422         (eww-change-select): Implement changing the select value.
2423         (eww-toggle-checkbox): Implement radio/checkboxes.
2424         (eww-update-field): Fix compilation error.
2425         (eww-tag-textarea): Implement <textarea>.
2427         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2428         we don't shadow mode-specific bindings.
2430         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2431         nothing to push.
2433         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2435 2013-06-19  Glenn Morris  <rgm@gnu.org>
2437         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2439 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
2441         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2442         not needed.
2444         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2446 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2448         * net/browse-url.el (browse-url-browser-function):
2449         `eww-browse-url' has the right calling signature, `eww' does not.
2451 2013-06-19  Glenn Morris  <rgm@gnu.org>
2453         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2454         Only eval autoloaded macros.
2455         (byte-compile-autoload): Only give the macro warning for macros.
2457         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2458         (ps-underlined-faces): Declare.
2460         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2461         (speedbar-add-supported-extension): Declare.
2463         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2464         Don't include a date stamp in the header of the generated file;
2465         it leads to needless differences between output files.
2467 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
2469         * net/secrets.el (secrets-struct-secret-content-type):
2470         Replace check of introspection data by a test call of "CreateItem".
2471         Some servers do not offer introspection.
2473 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2475         * electric.el (electric-pair-mode): Improve interaction with
2476         electric-layout-mode.
2477         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2478         (electric-pair-syntax): Use text-mode-syntax-table in comments
2479         and strings.
2480         (electric-pair--insert): New function.
2481         (electric-pair-post-self-insert-function): Use it and
2482         electric--after-char-pos.
2484 2013-06-19  Leo Liu  <sdl.web@gmail.com>
2486         * progmodes/octave.el (octave-help): Fix regexp.
2488 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2490         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2491         (shr-table-horizontal-line): Allow nil as a value, and change the
2492         default.
2493         (shr-insert-table-ruler): Respect the nil value.
2495 2013-06-18  Tom Tromey  <tromey@barimba>
2497         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2498         New defvars.
2499         (eww-open-file): New defun.
2500         (eww-render): Initialize new variables.
2501         (eww-display-html): Handle "link" and "a".
2502         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2503         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
2504         (eww-back-url): Rename from eww-previous-url.
2505         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2506         New defuns.
2508 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
2510         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2511         Distinguish ternary operator tokens from slash symbol and slash
2512         char literal.
2514 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2516         Convert symbol prettification into minor mode and global minor mode.
2518         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2519         `prog-prettify-symbols', and make a local defvar instead of defcustom.
2520         (prettify-symbols--keywords): Rename from
2521         `prog-prettify-symbols-alist' and make a local defvar.
2522         (prettify-symbols--compose-symbol): Rename from
2523         `prog--prettify-font-lock-compose-symbol'.
2524         (prettify-symbols--make-keywords): Rename from
2525         `prog-prettify-font-lock-symbols-keywords' and simplify.
2526         (prog-prettify-install): Remove.
2527         (prettify-symbols-mode): New minor mode, based on
2528         `prog-prettify-install'.
2529         (turn-on-prettify-symbols-mode): New function.
2530         (global-prettify-symbols-mode): New globalized minor mode.
2532         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2533         * progmodes/cfengine.el (cfengine3-mode):
2534         * progmodes/perl-mode.el (perl-mode): Don't call
2535         `prog-prettify-install'; set `prettify-symbols-alist' instead.
2537 2013-06-18  Juri Linkov  <juri@jurta.org>
2539         * files-x.el (modify-file-local-variable-message): New function.
2540         (modify-file-local-variable)
2541         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2542         and call `modify-file-local-variable-message' when it's non-nil.
2543         (add-file-local-variable, delete-file-local-variable)
2544         (add-file-local-variable-prop-line)
2545         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2546         and use it.  (Bug#9820)
2548 2013-06-18  Juri Linkov  <juri@jurta.org>
2550         * emulation/vi.el (vi-shell-op):
2551         * emulation/vip.el (vip-execute-com, ex-command):
2552         * emulation/viper-cmd.el (viper-exec-bang):
2553         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2554         the call of `shell-command-on-region'.  (Bug#14637)
2556         * simple.el (shell-command-on-region): Doc fix.
2558 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2560         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2561         (bug#14633).
2563 2013-06-18  Glenn Morris  <rgm@gnu.org>
2565         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2567         * newcomment.el (comment-search-forward, comment-search-backward):
2568         Doc fix.  (Bug#14376)
2570 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2572         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2573         (buffer-face-mode-invoke): Doc fix.
2575 2013-06-18  Matthias Meulien  <orontee@gmail.com>
2577         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2578         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2580 2013-06-18  Glenn Morris  <rgm@gnu.org>
2582         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2583         Replace obsolete function generic-make-keywords with its expansion.
2585         * progmodes/python.el (ffap-alist): Declare.
2587         * textmodes/reftex.el (bibtex-mode-map): Declare.
2589 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2591         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2592         (package-unpack, package-unpack-single): Return the pkg-dir.
2593         (package-download-transaction): Use it to update package-alist.
2595 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2597         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2598         possible choice.
2600 2013-06-17  Juri Linkov  <juri@jurta.org>
2602         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2604 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2606         * emacs-lisp/package.el (package-load-descriptor):
2607         Remove `with-syntax-table' call, `read' doesn't need it.
2608         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2610 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2612         * startup.el (command-line): Expand package name returned by
2613         `package--description-file' (bug#14639).
2615 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2617         * emacs-lisp/package.el (package-load-descriptor): Do not call
2618         `emacs-lisp-mode', just use its syntax table.
2620 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2622         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2623         `font-lock-extra-managed-props' if any prettifying keyword is added.
2624         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2625         (prog-mode): Use `setq-local'.
2627 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2629         * international/characters.el (standard-case-table): Set syntax of ?»
2630         and ?« to punctuation.
2632 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
2634         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2635         Save relevant match data before calling `syntax-ppss' (bug#14595).
2637 2013-06-15  Juri Linkov  <juri@jurta.org>
2639         * files-x.el (modify-file-local-variable-prop-line): Add local
2640         variables to the end of the existing comment on the first line.
2641         Use `file-auto-mode-skip' to skip interpreter magic line,
2642         and also skip XML declaration.
2644 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2646         * startup.el (package--builtin-versions): New var.
2647         (package-subdirectory-regexp): Remove.
2648         (package--description-file): Hard code its value instead.
2650         * emacs-lisp/package.el: Don't activate packages older than builtin.
2651         (package-obsolete-list): Rename from package-obsolete-alist, and make
2652         it into a simple list of package-desc.
2653         (package-strip-version): Remove.
2654         (package-built-in-p): Use package--builtin-versions.
2655         (package-mark-obsolete): Simplify.
2656         (package-process-define-package): Mark it obsolete if older than the
2657         builtin version.
2658         (package-handle-response): Use line-end-position.
2659         (package-read-archive-contents, package--download-one-archive):
2660         Simplify.
2661         (package--add-to-archive-contents): Skip if older than the builtin or
2662         installed version.
2663         (package-menu-describe-package): Fix last change.
2664         (package-list-unversioned): New var.
2665         (package-menu--generate): Use it.
2667         * emacs-lisp/autoload.el: Manage package--builtin-versions.
2668         (autoload--insert-text, autoload--insert-cookie-text): New functions.
2669         (autoload-builtin-package-versions): New variable.
2670         (autoload-generate-file-autoloads): Use them.
2671         Remove the list of autoloaded functions/macros from the
2672         (autoload...) comments.
2674         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2676 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
2678         * simple.el (line-move-partial): Don't jump to the next screen
2679         line as soon as it becomes visible.  Instead, continue enlarging
2680         the vscroll until the portion of a tall screen line that's left on
2681         display is about the height of the frame's default font.
2682         (Bug#14567)
2684 2013-06-15  Glenn Morris  <rgm@gnu.org>
2686         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2687         compilation-error-regexp-alist void, or local while let-bound.
2689         * progmodes/make-mode.el (makefile-mode-syntax-table):
2690         Treat "=" as punctuation.  (Bug#14614)
2692 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
2694         * help-fns.el (describe-variable):
2695         Add extra line for permanent-local variables.
2697 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
2699         * progmodes/scheme.el (scheme-font-lock-keywords-2):
2700         Add export, import, library.  (Bug#9164)
2701         (library): Set indent function.
2703 2013-06-14  Glenn Morris  <rgm@gnu.org>
2705         * term/xterm.el (xterm--query):
2706         Stop after first matching handler.  (Bug#14615)
2708 2013-06-14 Ivan Kanis  <ivan@kanis.fr>
2710         Add support for dired in saveplace.
2711         * dired.el (dired-initial-position-hook): New variable.
2712         (dired-initial-position): Call hook to place cursor position.
2713         * saveplace.el (save-place-to-alist): Add dired position.
2714         (save-place-dired-hook): New function.
2716 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2718         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2719         through a symbol rather than letrec.
2721         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
2722         (package-desc): Add `dir' field.
2723         (package-desc-full-name): New function.
2724         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
2725         (package-maybe-load-descriptor): Remove.
2726         (package-load-all-descriptors): Just call package-load-descriptor.
2727         (package--disabled-p): New function.
2728         (package-desc-vers, package-desc-doc): Remove aliases.
2729         (package--dir): Remove function.
2730         (package-activate): Check if a package is disabled.
2731         (package-process-define-package): New function, extracted from
2732         define-package.
2733         (define-package): Turn into a place holder.
2734         (package-unpack-single, package-tar-file-info):
2735         Use package--description-file.
2736         (package-compute-transaction): Use package--disabled-p.
2737         (package-download-transaction): Don't call
2738         package-maybe-load-descriptor since they're all loaded anyway.
2739         (package-install): Change argument to be a pkg-desc.
2740         (package-delete): Use a single pkg-desc argument.
2741         (describe-package-1): Use package-desc-dir instead of package--dir.
2742         Use package-desc property instead of package-symbol.
2743         (package-install-button-action): Adjust accordingly.
2744         (package--push): Rewrite.
2745         (package-menu--print-info): Adjust accordingly.  Change the ID format
2746         to be a pkg-desc.
2747         (package-menu-describe-package, package-menu-get-status)
2748         (package-menu--find-upgrades, package-menu-mark-upgrades)
2749         (package-menu-execute, package-menu--name-predicate):
2750         Adjust accordingly.
2751         * startup.el (package--description-file): New function.
2752         (command-line): Use it.
2753         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2754         Use package-desc-version.
2756         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2757         (byte-compile-preprocess): Use it.
2758         (byte-compile-file-form-defalias): Try a bit harder to use macros we
2759         can't quite recognize.
2760         (byte-compile-add-to-list): Remove.
2761         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2762         (cconv-closure-convert): Add assertion.
2764         * emacs-lisp/map-ynp.el: Use lexical-binding.
2765         (map-y-or-n-p): Remove unused vars `tail' and `object'.
2766         Factor out some repeated code.
2768 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2770         * subr.el (with-eval-after-load): New macro.
2771         (eval-after-load): Allow form to be a function.
2772         take advantage of lexical-binding.
2773         (do-after-load-evaluation): Use dolist and adjust to new format.
2774         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2776 2013-06-13  Juri Linkov  <juri@jurta.org>
2778         * replace.el (perform-replace): Display "symbol " and other search
2779         modes from `isearch-message-prefix' in the *Help* buffer.
2781         * isearch.el (isearch-query-replace): Add " symbol" and other
2782         possible search modes from `isearch-message-prefix' to the prompt.
2783         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2784         when reading a regexp to collect.
2786 2013-06-13  Juri Linkov  <juri@jurta.org>
2788         * isearch.el (word-search-regexp): Match whitespace if the search
2789         string begins or ends in whitespace.  The LAX arg is applied to
2790         both ends of the search string.  Use `regexp-quote' and explicit
2791         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
2792         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2793         boundaries are replaced with symbol boundaries, and characters
2794         between symbols match non-word non-symbol syntax.  (Bug#14602)
2796 2013-06-13  Juri Linkov  <juri@jurta.org>
2798         * isearch.el (isearch-del-char): Don't exceed the length of
2799         `isearch-string' by the prefix arg.  (Bug#14563)
2801 2013-06-13  Juri Linkov  <juri@jurta.org>
2803         * isearch.el (isearch-yank-word, isearch-yank-line)
2804         (isearch-char-by-name, isearch-quote-char)
2805         (isearch-printing-char, isearch-process-search-char):
2806         Add optional count prefix arg.  (Bug#14563)
2808         * international/isearch-x.el
2809         (isearch-process-search-multibyte-characters):
2810         Add optional count prefix arg.
2812 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2814         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2815         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2816         lexical-binding.
2818 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
2820         * subr.el (set-temporary-overlay-map): Add on-exit argument.
2822 2013-06-13  Glenn Morris  <rgm@gnu.org>
2824         * startup.el (tty-handle-args):
2825         Don't just discard "--" and anything after.  (Bug#14608)
2827         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2829 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
2831         Implement changes in Secret Service API.  Make it backward compatible.
2832         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2833         (secrets-create-item): Use it.  Prefix properties with interface.
2835 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
2837         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
2838         (term-emulate-terminal): Respect term-suppress-hard-newline.
2840 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
2842         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2843         Only remove a `thumb-file' overlay.  (Bug#14548)
2845 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
2847         * mail/reporter.el (reporter-submit-bug-report):
2848         Handle missing package-name.  (Bug#14600)
2850 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2852         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2853         (reftex-citation-prompt, reftex-default-bibliography)
2854         (reftex-bib-or-thebib, reftex-get-bibfile-list)
2855         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2856         (reftex-bib-sort-author, reftex-bib-sort-year)
2857         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2858         (reftex-extract-bib-entries-from-thebibliography)
2859         (reftex-get-bibkey-default, reftex-get-bib-names)
2860         (reftex-parse-bibtex-entry, reftex-get-bib-field)
2861         (reftex-format-bib-entry, reftex-parse-bibitem)
2862         (reftex-format-bibitem, reftex-do-citation)
2863         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2864         (reftex-restrict-bib-matches, reftex-extract-bib-file)
2865         (reftex-insert-bib-matches, reftex-format-citation)
2866         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2867         (reftex-create-bibtex-file): Add docstrings, mostly by converting
2868         existing comments into docstrings.
2870 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
2872         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2874 2013-06-12  Andreas Schwab  <schwab@suse.de>
2876         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2877         for auto-save files.
2879 2013-06-12  Glenn Morris  <rgm@gnu.org>
2881         * ido.el (ido-delete-ignored-files): Remove.
2882         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2883         Go back to calling ido-ignore-item-p directly.
2885 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
2887         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2889         * ido.el (ido-delete-ignored-files): New function,
2890         split from ido-make-file-list-1.
2891         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
2892         (ido-make-file-list-1): Use ido-delete-ignored-files.
2894 2013-06-12  Leo Liu  <sdl.web@gmail.com>
2896         * progmodes/octave.el (inferior-octave-startup)
2897         (inferior-octave-completion-table)
2898         (inferior-octave-track-window-width-change)
2899         (octave-eldoc-function-signatures, octave-help)
2900         (octave-find-definition): Use single quoted strings.
2901         (inferior-octave-startup-args): Change default value.
2902         (inferior-octave-startup): Do not hard code "-i" and
2903         "--no-line-editing".
2904         (inferior-octave-resync-dirs): Add optional arg NOERROR.
2905         (inferior-octave-directory-tracker): Use it.
2906         (octave-goto-function-definition): Robustify.
2907         (octave-help): Support highlighting operators in 'See also'.
2908         (octave-find-definition): Find subfunctions only in Octave mode.
2910 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2912         * help-fns.el (help-fns--compiler-macro): If the handler function is
2913         named, then put a link to it.
2914         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2915         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2916         (cl-typep): Use it.
2917         (cl-eval-when): Simplify debug spec.
2918         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
2919         compiler-macro function instead of setting `compiler-macro-file'.
2921 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
2923         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2924         * vc/vc-hooks.el (vc-stay-local): Doc fix.
2926 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2927             Daniel Hackney  <dan@haxney.org>
2929         First part of Daniel Hackney's patch to package.el.
2930         * emacs-lisp/package.el: Use defstruct.
2931         (package-desc): New, main struct.
2932         (package--bi-desc, package--ac-desc): New structs, used to describe the
2933         format in external files.
2934         (package-desc-vers): Replace with package-desc-version accessor.
2935         (package-desc-doc): Replace with package-desc-summary accessor.
2936         (package-activate-1): Remove `package' arg since the pkg-vec now
2937         includes the name.
2938         (define-package): Use package-desc-from-define.
2939         (package-unpack-single): Change file-name arg to be a symbol.
2940         (package--add-to-archive-contents): Use package-desc-create and new
2941         accessor functions to package--ac-desc.
2942         (package-buffer-info, package-tar-file-info): Return a package-desc.
2943         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
2944         arg to be a package-desc.
2945         (package-install-file): Adjust accordingly.  Use \' to match EOS.
2946         (package--from-builtin): New function.
2947         (describe-package-1, package-menu--generate): Use it.
2948         (package--make-autoloads-and-compile): Change name arg to be a symbol.
2949         (package-generate-autoloads): Idem and return the name of the file.
2950         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2951         Change pkg-info arg to be a package-desc.
2952         Use package-make-ac-desc.
2953         (package-upload-file): Use \' to match EOS.
2954         * finder.el (finder-compile-keywords): Use package-make-builtin.
2956 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2958         * vc/vc.el (vc-deduce-fileset): Change error message.
2959         (vc-read-backend): New function.
2960         (vc-next-action): Use it.
2962         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2964         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2965         (prolog-font-lock-keywords): Use regexp-opt instead.
2966         Don't manually highlight strings.
2967         (prolog-mode-variables): Simplify comment-start-skip.
2968         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
2970         * emacs-lisp/generic.el (generic--normalise-comments)
2971         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2972         (generic-mode-set-comments): Use them.
2973         (generic-bracket-support): Use setq-local.
2974         (generic-make-keywords-list): Declare obsolete.
2976 2013-06-11  Glenn Morris  <rgm@gnu.org>
2978         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2979         Prettify after setting font-lock-defaults.  (Bug#14574)
2981 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
2983         * replace.el (query-replace, occur-read-regexp-defaults-function)
2984         (replace-search):
2985         * subr.el (declare-function, number-sequence, local-set-key)
2986         (substitute-key-definition, locate-user-emacs-file)
2987         (with-silent-modifications, split-string, eval-after-load):
2988         Fix typos, remove unneeded backslashes and reflow some docstrings.
2990 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2992         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2993         default for Elisp files.
2995 2013-06-11  Glenn Morris  <rgm@gnu.org>
2997         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2998         although define-derived-mode was doing this anyway.  (Bug#14583)
3000 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
3002         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3003         Fix make-variable-buffer-local call to refer to the correct variable.
3005 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
3007         * eshell/em-term.el (eshell-visual-commands)
3008         (eshell-visual-subcommands, eshell-visual-options):
3009         Add summary line to docstrings.  Add cross-references.
3011 2013-06-10  Glenn Morris  <rgm@gnu.org>
3013         * epa.el (epa-read-file-name): New function.  (Bug#14510)
3014         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
3016 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
3018         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3019         output redirection to be ignored with visual commands.
3021 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
3023         * eshell/em-term.el (eshell-visual-command-p): New function.
3024         (eshell-term-initialize): Move long lambda to separate function
3025         eshell-visual-command-p.
3026         * eshell/em-dirs.el (eshell-dirs-initialise):
3027         * eshell/em-script.el (eshell-script-initialize):
3028         Add missing #' to lambda.
3030 2013-06-08  Leo Liu  <sdl.web@gmail.com>
3032         * progmodes/octave.el (octave-add-log-current-defun): New function.
3033         (octave-mode): Set add-log-current-defun-function.
3034         (octave-goto-function-definition): Do not move point if not found.
3035         (octave-find-definition): Enhance to try subfunctions first.
3037 2013-06-08  Glenn Morris  <rgm@gnu.org>
3039         * emacs-lisp/bytecomp.el (byte-compile-char-before)
3040         (byte-compile-backward-char, byte-compile-backward-word):
3041         Improve previous change, to handle non-explicit nil.
3043 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3045         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3046         (smie--opener/closer-at-point): New function.
3047         (smie--matching-block-data): Use it.  Don't match from right after an
3048         opener or right before a closer.  Obey smie-blink-matching-inners.
3049         Don't signal a mismatch for repeated inners like "switch..case..case".
3051 2013-06-07  Leo Liu  <sdl.web@gmail.com>
3053         * progmodes/octave.el (octave-mode): Set comment-use-global-state
3054         to t.  (Bug#14303)
3055         (octave-function-header-regexp): Fix.  (Bug#14570)
3056         (octave-help-mode-finish-hook, octave-help-mode-finish):
3057         Remove.  Just use temp-buffer-show-hook.
3059         * newcomment.el (comment-search-backward): Revert last change.
3060         (Bug#14434)
3062         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3064 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
3066         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3067         through xargs, to avoid failure due to MS-Windows limitations on
3068         command-line length.
3070 2013-06-06  Glenn Morris  <rgm@gnu.org>
3072         * font-lock.el (lisp-font-lock-keywords-2):
3073         Treat user-error like error.
3075         * emacs-lisp/bytecomp.el (byte-compile-char-before)
3076         (byte-compile-backward-char, byte-compile-backward-word):
3077         Handle explicit nil arguments.  (Bug#14565)
3079 2013-06-05  Alan Mackenzie  <acm@muc.de>
3081         * isearch.el (isearch-allow-prefix): New user option.
3082         (isearch-other-meta-char): Don't exit isearch when a prefix
3083         argument is typed whilst `isearch-allow-prefix' is non-nil.
3084         (Bug#9706)
3086 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3088         * autorevert.el (auto-revert-notify-handler): Use memq.
3089         Hide assertion failure.
3091         * skeleton.el: Use cl-lib.
3092         (skeleton-further-elements): Use defvar-local.
3093         (skeleton-insert): Use cl-progv.
3095 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3097         * progmodes/prog-mode.el (prog-prettify-symbols)
3098         (prog-prettify-install): Update docstrings.
3100 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3102         * simple.el: Move all the prog-mode code to prog-mode.el.
3103         * progmodes/prog-mode.el: New file.
3104         * loadup.el: Add prog-mode.el.
3106 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3108         * simple.el (prog-prettify-symbols): Add version.
3109         (prog-prettify-install): Add convenience function to prettify symbols.
3111         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3112         (perl--augmented-font-lock-keywords-1)
3113         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3114         variables and use it.
3116         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3117         (cfengine3-mode): Remove unneeded variable and use it.
3119         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3120         (lisp--augmented-font-lock-keywords-1)
3121         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3122         Remove unneeded variables and use it.
3124 2013-06-05  João Távora  <joaotavora@gmail.com>
3126         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3127         to point when opening the connection.  (Bug#14380)
3129 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3131         * subr.el (load-history-regexp, load-history-filename-element)
3132         (eval-after-load, after-load-functions, do-after-load-evaluation)
3133         (eval-next-after-load, display-delayed-warnings)
3134         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3135         definition of save-match-data.
3136         (overriding-local-map): Remove accidental obsolescence declaration.
3138         * emacs-lisp/edebug.el (edebug-result): Move before first use.
3140 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3142         Generalize symbol prettify support to prog-mode and implement it
3143         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3144         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3145         (prog--prettify-font-lock-compose-symbol)
3146         (prog-prettify-font-lock-symbols-keywords): New variables and
3147         functions to support symbol prettification.
3148         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3149         (lisp--augmented-font-lock-keywords-1)
3150         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3151         (lisp--prettify-symbols-alist): Implement prettify of lambda.
3152         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3153         (cfengine3--prettify-symbols-alist, cfengine3-mode):
3154         Implement prettify of -> => :: strings.
3155         * progmodes/perl-mode.el (perl-prettify-symbols)
3156         (perl--font-lock-compose-symbol)
3157         (perl--font-lock-symbols-keywords): Move to prog-mode.
3158         (perl--prettify-symbols-alist): Prettify -> => :: strings.
3159         (perl-font-lock-keywords-1)
3160         (perl-font-lock-keywords-2): Remove explicit prettify support.
3161         (perl--augmented-font-lock-keywords)
3162         (perl--augmented-font-lock-keywords-1)
3163         (perl--augmented-font-lock-keywords-2, perl-mode):
3164         Implement prettify support.
3166 2013-06-05  Leo Liu  <sdl.web@gmail.com>
3168         Re-implement smie matching block highlight using
3169         show-paren-data-function.  (Bug#14395)
3170         * emacs-lisp/smie.el (smie-matching-block-highlight)
3171         (smie--highlight-matching-block-overlay)
3172         (smie--highlight-matching-block-lastpos)
3173         (smie-highlight-matching-block)
3174         (smie-highlight-matching-block-mode): Remove.
3175         (smie--matching-block-data-cache): New variable.
3176         (smie--matching-block-data): New function.
3177         (smie-setup): Use smie--matching-block-data for
3178         show-paren-data-function.
3180         * progmodes/octave.el (octave-mode-menu): Fix.
3181         (octave-find-definition): Skip garbage lines.
3183 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3185         Fix compilation error with simultaneous dynamic+lexical scoping.
3186         Add warning when a defvar appears after the first let-binding.
3187         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3188         (byte-compile-close-variables): Initialize it.
3189         (byte-compile--declare-var): New function.
3190         (byte-compile-file-form-defvar)
3191         (byte-compile-file-form-define-abbrev-table)
3192         (byte-compile-file-form-custom-declare-variable): Use it.
3193         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
3194         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3195         (byte-compile-bind): Handle dynamic bindings that shadow
3196         lexical bindings.
3197         (byte-compile-unbind): Make arg non-optional.
3198         (byte-compile-let): Simplify.
3199         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3200         (cconv--analyse-function, cconv-analyse-form): Populate it.
3201         Protect byte-compile-bound-variables to limit the scope of defvars.
3202         (cconv-analyse-form): Add missing rule for (defvar <foo>).
3203         Remove unneeded rule for `declare'.
3205         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3206         so as to avoid depending on cl-adjoin at run-time.
3207         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3209         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3210         (macroexp--warn-and-return): Use it.
3212 2013-06-05  Leo Liu  <sdl.web@gmail.com>
3214         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3216 2013-06-04  Leo Liu  <sdl.web@gmail.com>
3218         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3219         (compilation-auto-jump): Suppress the "Mark set" message to give
3220         way to exit message.
3222 2013-06-04  Alan Mackenzie  <acm@muc.de>
3224         Remove faulty optimisation from indentation calculation.
3225         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3226         search limit based on 2000 characters back from indent-point.
3228 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
3230         * eshell/em-term.el (cl-lib): Require `cl-lib'.
3232 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3234         * emacs-lisp/lisp.el: Use lexical-binding.
3235         (lisp--local-variables-1, lisp--local-variables): New functions.
3236         (lisp--local-variables-completion-table): New var.
3237         (lisp-completion-at-point): Use it complete let-bound vars.
3239         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3240         eagerly (bug#14422).
3242 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
3244         * autorevert.el (auto-revert-notify-enabled)
3245         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3246         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3247         (auto-revert-notify-handler): Handle also gfilenotify.
3249         * subr.el (file-notify-handle-event): New defun.  Replacing ...
3250         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3251         Remove.
3253 2013-06-03  Juri Linkov  <juri@jurta.org>
3255         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3256         `M-s h .'.  (Bug#14427)
3258         * hi-lock.el (highlight-symbol-at-point): New alias for the new
3259         command `hi-lock-face-symbol-at-point'.
3260         (hi-lock-face-symbol-at-point): New command.
3261         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3262         (hi-lock-menu): Add `highlight-symbol-at-point'.
3263         (hi-lock-mode): Doc fix.
3265         * isearch.el (isearch-forward-symbol-at-point): New command.
3266         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3267         (isearch-highlight-regexp): Add a regexp which matches
3268         words/symbols for word/symbol mode.
3270         * subr.el (find-tag-default-bounds): New function with the body
3271         mostly moved from `find-tag-default'.
3272         (find-tag-default): Move most code to `find-tag-default-bounds',
3273         call it and apply `buffer-substring-no-properties' afterwards.
3275 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
3277         * eshell/em-term.el (eshell-term-initialize):
3278         Use `cl-intersection' rather than `intersection'.
3280 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
3282         * vc/log-view.el: Doc fix.
3283         (log-view-mode-map): Copy keymap from `special-mode-map'.
3285 2013-06-02  Eric Ludlam  <zappo@gnu.org>
3287         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3288         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3289         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3290         (eieio-unbound, eieio-default-superclass)
3291         (eieio--define-field-accessors, method-static, method-before)
3292         (method-primary, method-after, method-num-lists)
3293         (method-generic-before, method-generic-primary)
3294         (method-generic-after, method-num-slots)
3295         (eieio-specialized-key-to-generic-key)
3296         (eieio--check-type, class-v, class-p)
3297         (eieio-class-name, define-obsolete-function-alias)
3298         (eieio-class-parents-fast, eieio-class-children-fast)
3299         (same-class-fast-p, class-constructor, generic-p)
3300         (generic-primary-only-p, generic-primary-only-one-p)
3301         (class-option-assoc, class-option, eieio-object-p)
3302         (class-abstract-p, class-method-invocation-order)
3303         (eieio-defclass-autoload-map, eieio-defclass-autoload)
3304         (eieio-class-un-autoload, eieio-defclass)
3305         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3306         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3307         (eieio--defgeneric-init-form, eieio-defgeneric-form)
3308         (eieio-defgeneric-reset-generic-form)
3309         (eieio-defgeneric-form-primary-only)
3310         (eieio-defgeneric-reset-generic-form-primary-only)
3311         (eieio-defgeneric-form-primary-only-one)
3312         (eieio-defgeneric-reset-generic-form-primary-only-one)
3313         (eieio-unbind-method-implementations)
3314         (eieio--defmethod, eieio--typep)
3315         (eieio-perform-slot-validation, eieio-validate-slot-value)
3316         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3317         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3318         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3319         (eieio-slot-name-index, eieio-class-slot-name-index)
3320         (eieio-set-defaults, eieio-initarg-to-attribute)
3321         (eieio-attribute-to-initarg, eieio-c3-candidate)
3322         (eieio-c3-merge-lists, eieio-class-precedence-c3)
3323         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3324         (eieio-class-precedence-list, eieio-generic-call-methodname)
3325         (eieio-generic-call-arglst, eieio-generic-call-key)
3326         (eieio-generic-call-next-method-list)
3327         (eieio-pre-method-execution-functions, eieio-generic-call)
3328         (eieio-generic-call-primary-only, eieiomt-method-list)
3329         (eieiomt-optimizing-obarray, eieiomt-install)
3330         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3331         (eieio-generic-form, eieio-defmethod, make-obsolete)
3332         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3333         (defclass): Remove `eval-and-compile' from macro.
3334         (call-next-method, shared-initialize): Instead of using
3335         `scoped-class' variable, use new eieio--scoped-class, and
3336         eieio--with-scoped-class.
3337         (initialize-instance): Rename local variable 'scoped-class' to
3338         'this-class' to remove ambiguitity from old global.
3340         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
3341         eieio.el.
3342         (eieio--scoped-class-stack): New variable.
3343         (eieio--scoped-class): New fcn.
3344         (eieio--with-scoped-class): New scoping macro.
3345         (eieio-defclass): Use pushnew instead of add-to-list.
3346         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3347         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3348         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3349         `scoped-class' variable, use new eieio--scoped-class, and
3350         eieio--with-scoped-class.
3352         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3354 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
3356         * eshell/esh-ext.el (eshell-external-command): Pass args to
3357         `eshell-find-interpreter'.
3358         (eshell-find-interpreter): Add new second parameter ARGS.
3360         * eshell/em-script.el (eshell-script-initialize): Add second arg
3361         to the function added as MATCH to `eshell-interpreter-alist'.
3363         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3364         the function added as MATCH to `eshell-interpreter-alist'.
3366         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3367         (eshell-visual-options): New defcustom.
3368         (eshell-escape-control-x): Adapt docstring.
3369         (eshell-term-initialize): Test `eshell-visual-subcommands' and
3370         `eshell-visual-options' in addition to `eshell-visual-commands'.
3371         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3373 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3375         * progmodes/python.el (python-indent-block-enders): Add break,
3376         continue and raise keywords.
3378 2013-06-01  Glenn Morris  <rgm@gnu.org>
3380         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3382         Plain (f)boundp silences compilation warnings since Emacs 22.1.
3383         * progmodes/cc-cmds.el (delete-forward-p):
3384         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3385         * progmodes/cc-engine.el (buffer-syntactic-context):
3386         * progmodes/cc-fonts.el (face-property-instance):
3387         * progmodes/cc-mode.el (set-keymap-parents):
3388         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3389         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3390         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3391         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3392         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3394         * progmodes/cc-vars.el (other): Emacs has this widget since
3395         at least 21.1, so don't (re)define it.
3397         * eshell/em-cmpl.el (eshell-cmpl-initialize):
3398         Replace the obsolete alias pcomplete-arg-quote-list.
3400 2013-06-01  Leo Liu  <sdl.web@gmail.com>
3402         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3403         punctuation syntax.
3404         (inferior-octave-minimal-columns)
3405         (inferior-octave-last-column-width): New variables.
3406         (inferior-octave-track-window-width-change): New function.
3407         (inferior-octave-mode): Adjust column width so that Octave output,
3408         for example from 'ls', can fit into the window nicely.
3410 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
3412         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3413         Highlight expansions inside regexp literals.
3415 2013-05-31  Glenn Morris  <rgm@gnu.org>
3417         * obsolete/sym-comp.el (symbol-complete):
3418         Replace obsolete completion-annotate-function.
3420         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3422 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
3424         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3425         New function, checks if point is inside a literal that allows
3426         expression expansion.
3427         (ruby-syntax-propertize-expansion): Use it.
3428         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3429         around the body.
3431 2013-05-30  Juri Linkov  <juri@jurta.org>
3433         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3434         to "\M-si".
3435         (isearch-invisible): New variable.
3436         (isearch-forward): Doc fix.
3437         (isearch-mode): Set `isearch-invisible'
3438         to the value of `search-invisible'.
3439         (isearch-toggle-case-fold): Doc fix.
3440         (isearch-toggle-invisible): New command.
3441         (isearch-query-replace): Let-bind `search-invisible'
3442         to the value of `isearch-invisible'.
3443         (isearch-search): Use `isearch-invisible' instead of
3444         `search-invisible'.  Let-bind `search-invisible'
3445         to the value of `isearch-invisible'.  (Bug#11378)
3447 2013-05-30  Juri Linkov  <juri@jurta.org>
3449         * replace.el (perform-replace): Avoid `isearch-range-invisible'
3450         call when `query-flag' is nil and `search-invisible' is non-nil.
3451         (Bug#11746)
3453 2013-05-30  Glenn Morris  <rgm@gnu.org>
3455         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3457         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3458         (cc-require): Suppress spurious "noruntime" warnings.
3459         (cc-require-when-compile): Use fboundp, for sake of compiler.
3461         * progmodes/cc-mode.el: Move load of cc-vars before that of
3462         cc-langs (which in turn loads cc-vars), to quieten compiler.
3464 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3466         * paren.el: Simplify the code.
3467         (show-paren-mode): Always start the timer.
3468         (show-paren--idle-timer): Rename from show-paren-idle-timer.
3469         (show-paren--overlay, show-paren--overlay-1): Rename from
3470         show-paren-overlay and show-paren-overlay-1, and initialize to an
3471         overlay rather than to nil.
3472         (show-paren-function): Misc cleanup and simplifications.
3474 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3476         * paren.el (show-paren-data-function): New hook.
3477         (show-paren--default): New function, extracted from show-paren-function.
3478         (show-paren-function): Use show-paren-data-function.
3480 2013-05-30  Glenn Morris  <rgm@gnu.org>
3482         * ielm.el (ielm-map, ielm-complete-symbol):
3483         Use completion-at-point rather than obsolete functions.
3484         (inferior-emacs-lisp-mode): Doc fix.
3485         Set completion-at-point-functions, rather than
3486         comint-dynamic-complete-functions.
3488         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3489         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3490         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3492         * image.el (image-animated-p): Tweak definition.
3494         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3495         (rlogin-process-connection-type): Tweak default.  Add set-after.
3496         (rlogin-host): Doc fix.
3497         (rlogin): Tweak prompt.
3498         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3500         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3501         * progmodes/tcl.el (inferior-tcl-mode-map):
3502         Use completion-at-point rather than obsolete alias.
3504         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3506         * minibuffer.el (read-file-name-completion-ignore-case):
3507         Move before completion--in-region, for eager macro expansion.
3509 2013-05-29  Juri Linkov  <juri@jurta.org>
3511         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3512         for total count of matching lines.  Add `global-matches' for total
3513         count of matches.  Rename `matches' to `lines' for count of
3514         matching lines.  Add `matches' for count of matches.
3515         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
3516         to `prev-line' for line number of prev match endpt.
3517         Increment `matches' for every match.  Print the number of
3518         matching lines in the header.
3519         (occur-context-lines): Rename `lines' to `curr-line'.
3520         Rename `prev-lines' to `prev-line'.  (Bug#14017)
3522 2013-05-29  Juri Linkov  <juri@jurta.org>
3524         * replace.el (perform-replace): Add `skip-read-only-count',
3525         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3526         Increment them for corresponding conditions and report the number
3527         of skipped occurrences in the final message.  (Bug#11746)
3528         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3529         (replace-string, replace-regexp): Doc fix.
3531 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3533         * emacs-lisp/trace.el (trace--read-args): Provide a default.
3535         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3536         prog-mode-map (bug#14504).
3538 2013-05-29  Leo Liu  <sdl.web@gmail.com>
3540         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3541         (octave-help): Small simplification.
3543         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3544         off the highlight first.
3546 2013-05-29  Glenn Morris  <rgm@gnu.org>
3548         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3549         Handle idlwave-last-system-routine-info-cons-cell being nil.
3551         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3552         (idlwave-write-paths): Simplify via with-temp-buffer.
3554         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3555         * emulation/cua-rect.el: Also load cua-base at run time.
3557         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3558         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3559         (cperl-imenu-on-info): Require imenu.
3561 2013-05-28  Alan Mackenzie  <acm@muc.de>
3563         Handle "capitalised keywords" correctly.
3564         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3566 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
3568         * eshell/em-unix.el: Add -r option to cp.
3570 2013-05-28  Glenn Morris  <rgm@gnu.org>
3572         * vc/vc-arch.el (vc-exec-after): Declare.
3573         (vc-switches): Autoload.
3574         * vc/vc-bzr.el: No need to require vc when compiling.
3575         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3576         (vc-resynch-buffer, vc-dir-refresh): Declare.
3577         (vc-setup-buffer, vc-switches): Autoload.
3578         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3579         (vc-resynch-buffer): Declare.
3580         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3581         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3582         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3583         (grep-read-regexp, grep-read-files, grep-expand-template)
3584         (vc-dir-refresh): Declare.
3585         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3586         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3587         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3588         * vc/vc-mtn.el (vc-exec-after): Declare.
3589         (vc-switches): Autoload.
3590         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3591         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3592         (vc-file-tree-walk): Declare.
3593         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3594         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3595         (vc-tag-precondition, vc-rename-master): Autoload.
3596         * vc/vc-svn.el (vc-exec-after): Declare.
3597         (vc-switches, vc-setup-buffer): Autoload.
3598         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3599         Autoload.
3600         (vc-resynch-buffer): Declare.
3602         * obsolete/fast-lock.el (byte-compile-warnings):
3603         Don't warn about obsolete features in this obsolete file.
3605         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3606         Move definition before use.
3608         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3609         (dun-unix-verbs): Remove dun-zippy.
3610         (dun-zippy): Remove function.
3612         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3614 2013-05-27  Juri Linkov  <juri@jurta.org>
3616         * replace.el (replace-search): New function with code moved out
3617         from `perform-replace'.
3618         (replace-highlight, replace-dehighlight): Move function definitions
3619         up closer to `replace-search'.  (Bug#11746)
3621 2013-05-27  Juri Linkov  <juri@jurta.org>
3623         * replace.el (perform-replace): Ignore invisible matches.
3624         In addition to checking `query-replace-skip-read-only', also
3625         filter out matches by calling `run-hook-with-args-until-failure'
3626         on `isearch-filter-predicates', and also check `search-invisible'
3627         for t or call `isearch-range-invisible'.
3628         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
3630 2013-05-27  Juri Linkov  <juri@jurta.org>
3632         * isearch.el (isearch-filter-predicates): Rename from
3633         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
3634         (isearch-message-prefix): Display text from the property
3635         `isearch-message-prefix' of the currently active filters.
3636         (isearch-search): Don't compare `isearch-filter-predicate' with
3637         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
3638         on `isearch-filter-predicates'.  Also check `search-invisible' for t
3639         or call `isearch-range-invisible'.
3640         (isearch-filter-visible): Make obsolete.
3641         (isearch-lazy-highlight-search):
3642         Call `run-hook-with-args-until-failure' on
3643         `isearch-filter-predicates' and use `isearch-range-invisible'.
3645         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3646         `isearch-filter-predicates' instead of `funcall'ing
3647         `isearch-filter-predicate'.
3648         (Info-mode): Set `Info-isearch-filter' to
3649         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3651         * dired-aux.el (dired-isearch-filter-predicate-orig):
3652         Remove variable.
3653         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3654         (dired-isearch-filenames-end): Add and remove
3655         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3656         instead of changing the value of `isearch-filter-predicate'.
3657         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3658         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3659         Put property `isearch-message-prefix' to "filename " on
3660         `dired-isearch-filter-filenames'.
3662         * wdired.el (wdired-change-to-wdired-mode):
3663         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3664         locally instead of changing `isearch-filter-predicate'.
3665         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3667 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
3669         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3670         return the commit hash (Bug#14459).  Also set the
3671         `vc-git-detached' property.
3672         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3673         (vc-git-mode-line-string): Use the same help-echo format whether
3674         in detached mode or not, because we know the actual revision now.
3675         When in detached mode, shorten the revision to 7 chars.
3677 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3679         * emacs-lisp/easy-mmode.el (define-minor-mode):
3680         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3681         mode hook and provide a docstring.
3683 2013-05-27  Alan Mackenzie  <acm@muc.de>
3685         Remove spurious syntax-table text properties inserted by C-y.
3686         * progmodes/cc-mode.el (c-after-change): Also clear hard
3687         syntax-table property with value nil.
3689 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
3691         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3692         when reading the events; the buffer layout shall not be changed.
3694 2013-05-27  Leo Liu  <sdl.web@gmail.com>
3696         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3697         New variable.
3698         (inferior-octave-directory-tracker): Automatically re-sync
3699         default-directory.
3700         (octave-help): Improve handling of 'See also'.
3702 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3704         * doc-view.el: Minor naming convention tweaks.
3705         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3707         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3708         even if there's no `display' property yet (bug#14435).
3710 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
3712         * subr.el (unmsys--file-name): Rename from reveal-filename.
3714         * Makefile.in (custom-deps, finder-data, autoloads)
3715         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3716         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3717         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3719 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3721         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3722         error-completion on the first 2 args of condition-case (bug#14446).
3723         Don't burp at EOB.
3725 2013-05-25  Leo Liu  <sdl.web@gmail.com>
3727         * comint.el (comint-previous-matching-input): Do not flood the
3728         *Messages* buffer with trivial messages.
3730 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3732         * progmodes/flymake.el (flymake-nop): Don't return a string.
3733         (flymake-set-at): Fix typo.
3735         * simple.el (read--expression): New function, extracted from
3736         eval-expression.  Set completion-at-point-functions (bug#14465).
3737         (eval-expression, eval-minibuffer): Use it.
3739 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
3741         * progmodes/flymake.el (flymake-save-buffer-in-file)
3742         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3743         (flymake-selected-frame, flymake-log, flymake-ins-after)
3744         (flymake-set-at, flymake-get-buildfile-from-cache)
3745         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3746         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3747         Refine the doc string.
3748         (flymake-get-file-name-mode-and-masks): Reformat.
3749         (flymake-get-real-file-name-function): Fix a minor bug.
3751 2013-05-24  Juri Linkov  <juri@jurta.org>
3753         * progmodes/grep.el (grep-mode-font-lock-keywords):
3754         Support =linenumber= format used by git-grep for lines with
3755         function names.  (Bug#13549)
3757 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3759         * progmodes/octave.el (octave-smie-rules): Return nil rather than
3760         0 after a semi-colon; it works better for smie-auto-fill.
3761         (octave--indent-new-comment-line): New function.
3762         (octave-indent-new-comment-line): Use it (indirectly).
3763         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
3764         modify comment-line-break-function.
3766         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3767         (smie-setup): Use add-function to set it.
3769 2013-05-24  Sam Steingold  <sds@gnu.org>
3771         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3772         argument (before the `interactive' argument).
3774 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3776         * image-mode.el (image-mode-winprops): Add winprops to
3777         image-mode-winprops-alist before running
3778         image-mode-new-window-functions.
3779         * doc-view.el (doc-view-new-window-function): Don't delay
3780         doc-view-goto-page via timers (bug#14435).
3782 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
3784         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
3785         (doc-view-desktop-save-buffer): New function.
3786         (doc-view-restore-desktop-buffer): New function.
3787         (desktop-buffer-mode-handlers):
3788         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3789         handler.
3790         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3791         `desktop-save-buffer' function.
3793 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
3795         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3796         (tramp-gvfs-file-name-handler): Raise a user error when
3797         `tramp-gvfs-enabled' is nil.
3798         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3799         Do not raise a user error when loading package.  (Bug#14447)
3801         * net/xesam.el: Move to obsolete/.
3803 2013-05-24  Glenn Morris  <rgm@gnu.org>
3805         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3807         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3809         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3810         (Info-find-node, Man-getpage-in-background): Declare.
3812         * mail/unrmail.el (unrmail):
3813         Replace obsolete detect-coding-with-priority.
3815         * net/socks.el (socks-split-string): Use this rather than split-string.
3816         (socks-nslookup-host): Update for above change.
3817         (dynamic-choice, s5-dynamic-choice-match)
3818         (s5-dynamic-choice-match-inline, s5-widget-value-create):
3819         Comment out unused code.
3821         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3822         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3823         (gud-tooltip-echo-area): Make obsolete.
3824         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3826         * progmodes/js.el (js--optimize-arglist): Declare.
3828         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3830         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3831         (ediff-window-C): Declare.
3833         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3834         Tweak requires to silence compiler.
3836         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3837         (he-search-string, he-tried-table, he-expand-list)
3838         (he-init-string, he-string-member, he-substitute-string)
3839         (he-reset-string): Declare.
3841         * obsolete/options.el (list-options): Use custom-variable-p,
3842         rather than obsolete alias.
3844 2013-05-23  Sam Steingold  <sds@gnu.org>
3846         * simple.el (shell-command-on-region): Pass the `replace' argument
3847         down to `call-process-region' to comply with the doc as reported on
3848         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3850 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3852         * emacs-lisp/smie.el (smie-indent-forward-token)
3853         (smie-indent-backward-token): Handle string tokens (bug#14381).
3855 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3857         * ielm.el (ielm-menu): New menu.
3858         (inferior-emacs-lisp-mode): Set comment-start.
3860 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3862         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3863         Fix deactivate action.
3865         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3866         Add cleveref macros.
3868         * lisp/textmodes/reftex-parse.el
3869         (reftex-locate-bibliography-files): Accept options for
3870         bibliography commands.
3871         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3872         Add addbibresource.  Basic Biblatex support.
3874 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
3876         * net/tramp-gvfs.el (top):
3877         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3878         when loading package.  (Bug#14447)
3880 2013-05-23  Glenn Morris  <rgm@gnu.org>
3882         * progmodes/js.el: No need to load comint when compiling.
3883         (ring-insert, comint-send-string, comint-send-input)
3884         (comint-last-input-end, ido-chop): Declare.
3886         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3887         * vc/ediff-mult.el: Adjust requires.
3888         (ediff-directories-internal, ediff-directory-revisions-internal)
3889         (ediff-patch-file-internal): Declare.
3890         * vc/ediff-ptch.el: Adjust requires.
3891         (ediff-use-last-dir, ediff-buffers-internal): Declare.
3892         (ediff-find-file): Autoload.
3893         * vc/ediff-util.el: No need to load ediff when compiling.
3894         (ediff-regions-internal): Declare.
3895         * vc/ediff-wind.el: Adjust requires.
3896         (ediff-compute-toolbar-width): Define when compiling.
3897         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3898         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3899         (dired-get-filename, dired-get-marked-files)
3900         (ediff-last-dir-patch, ediff-patch-default-directory)
3901         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3902         (ediff-patch-buffer-internal): Declare.
3904         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3905         (ispell-process, ispell-buffer-local-words, lm-summary)
3906         (lm-section-start, lm-section-end): Declare.
3907         (checkdoc-ispell-init): Simplify.
3909         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3910         (he-string-member, he-reset-string, he-substitute-string): Declare.
3912         * eshell/em-ls.el: Adjust requires.
3913         (eshell-glob-regexp): Declare.
3914         * eshell/em-tramp.el: Adjust requires.
3915         (eshell-parse-command): Autoload.
3916         * eshell/em-xtra.el: Adjust requires.
3917         (eshell-parse-command): Autoload.
3918         * eshell/esh-ext.el: Adjust requires.
3919         (eshell-parse-command, eshell-close-handles): Autoload.
3920         * eshell/esh-io.el: Adjust requires.
3921         (eshell-output-filter): Autoload.
3922         * eshell/esh-util.el: No need to load tramp when compiling.
3923         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3924         Declare.
3925         (eshell-parse-ange-ls): Require ange-ftp and tramp.
3926         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3927         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3928         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3929         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3930         * eshell/esh-opt.el, eshell/esh-proc.el:
3931         * eshell/esh-var.el: Adjust requires.
3932         * eshell/eshell.el: Do not require esh-util twice.
3933         (eshell-add-input-to-history): Declare.
3934         (eshell-command): Check history module is active before using it.
3936         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3938 2013-05-22  Leo Liu  <sdl.web@gmail.com>
3940         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3942 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
3944         * autorevert.el (auto-revert-notify-add-watch)
3945         (auto-revert-notify-handler): Add `attrib' for the inotify case,
3946         it indicates changes in file modification time.
3948 2013-05-22  Glenn Morris  <rgm@gnu.org>
3950         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3951         Always delete the autoloaded function from the noruntime and
3952         unresolved functions lists.
3954         * allout.el: No need to load epa, epg, overlay when compiling.
3955         (epg-context-set-passphrase-callback, epg-list-keys)
3956         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3957         (epg-key-user-id-list): Declare.
3959         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3960         (viper-set-parsing-style-toggling-macro)
3961         (viper-set-emacs-state-searchstyle-macros):
3962         Use called-interactively-p on Emacs.
3963         (viper-looking-back): Make it an obsolete alias.  Update callers.
3964         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3965         Use looking-back rather than viper-looking-back.
3966         (viper-tmp-insert-at-eob, viper-enlarge-region)
3967         (viper-read-string-with-history, viper-register-to-point)
3968         (viper-append-to-register, viper-change-state-to-vi)
3969         (viper-backward-char-carefully, viper-forward-char-carefully)
3970         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3971         (viper-change-state-to-emacs): Declare.
3972         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3973         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3974         * emulation/viper-mous.el: Do not load viper-cmd.
3975         (viper-backward-char-carefully, viper-forward-char-carefully)
3976         (viper-forward-word, viper-adjust-window): Declare.
3978         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3980         * progmodes/idlw-help.el (idlwave-help-fontify):
3981         Use called-interactively-p.
3983         * term/w32console.el (w32-get-console-codepage)
3984         (w32-get-console-output-codepage): Declare.
3986         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3987         Remove unnecessary declarations.
3988         (dframe-message): Doc fix.
3990         * info.el (dframe-select-attached-frame, dframe-current-frame):
3991         Declare.
3993         * speedbar.el (speedbar-message): Make it an obsolete alias.
3994         Update all callers.
3995         (speedbar-with-attached-buffer)
3996         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3997         (speedbar-with-writable): Use backquote.
3998         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3999         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4000         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4001         rather than speedbar- aliases.
4002         * mail/rmail.el: Load dframe rather than speedbar when compiling.
4003         (speedbar-make-specialized-keymap, speedbar-insert-button)
4004         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4005         (speedbar-do-function-pointer): Declare.
4006         (rmail-speedbar-button, rmail-speedbar-find-file)
4007         (rmail-speedbar-move-message):
4008         Use dframe-with-attached-buffer rather than speedbar- alias.
4009         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4010         (dframe-message, speedbar-make-specialized-keymap)
4011         (speedbar-add-expansion-list, speedbar-mode-functions-list)
4012         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4013         (speedbar-insert-button, dframe-select-attached-frame)
4014         (dframe-maybee-jump-to-attached-frame)
4015         (speedbar-change-initial-expansion-list)
4016         (speedbar-previously-used-expansion-list-name): Declare.
4017         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4018         Use dframe-message, dframe-with-attached-buffer rather than
4019         speedbar- aliases.
4020         (gud-sentinel): Silence compiler.
4021         * progmodes/vhdl-mode.el (speedbar-refresh)
4022         (speedbar-do-function-pointer, speedbar-add-supported-extension)
4023         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4024         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4025         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4026         (speedbar-file-lists, speedbar-make-tag-line)
4027         (speedbar-line-directory, speedbar-goto-this-file)
4028         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4029         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4030         (speedbar-make-button, speedbar-reset-scanners)
4031         (speedbar-files-item-info, speedbar-line-text)
4032         (speedbar-find-file-in-frame, speedbar-set-timer)
4033         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4034         (speedbar-with-writable): Do not (re)define it.
4035         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4036         rather than speedbar- alias.
4038 2013-05-21  Leo Liu  <sdl.web@gmail.com>
4040         * progmodes/octave.el (octave-mode-menu): Update and re-organize
4041         menu items.
4042         (octave-mode): Tweak fill-nobreak-predicate.
4043         (inferior-octave-startup): Check process to avoid infinite loop.
4044         (inferior-octave): Pop to buffer first to show abornmal process
4045         exit information.
4047 2013-05-21  Glenn Morris  <rgm@gnu.org>
4049         * printing.el (pr-menu-bar): Define when compiling.
4051 2013-05-21  Leo Liu  <sdl.web@gmail.com>
4053         * progmodes/octave.el (octave-auto-fill): Remove.
4054         (octave-indent-new-comment-line): Improve.
4055         (octave-mode): Use auto fill mode through
4056         comment-line-break-function and fill-nobreak-predicate.
4057         (octave-goto-function-definition): Support DEFUN_DLD.
4058         (octave-beginning-of-defun): Small tweak.
4059         (octave-help): Show parent directory.
4061 2013-05-21  Glenn Morris  <rgm@gnu.org>
4063         * files.el (dired-unmark):
4064         * progmodes/gud.el (gdb-input): Update declarations.
4066         * calculator.el (electric, ehelp): No need to load when compiling.
4067         (Electric-command-loop, electric-describe-mode): Declare.
4069         * doc-view.el (doc-view-current-converter-processes): Move before use.
4071         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4072         Move MODE-set-explicitly definition before use.
4074         * international/mule-diag.el (mule-diag):
4075         Don't use obsolete window-system-version.
4077         * mail/feedmail.el (smtpmail): No need to load when compiling.
4078         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4080         * mail/mail-utils.el (rfc822): No need to load when compiling.
4081         (rfc822-addresses): Autoload it.
4082         (mail-strip-quoted-names): Trivial simplification.
4084         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4085         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4087         * net/snmp-mode.el (tempo): Don't duplicate requires.
4089         * progmodes/prolog.el (info): No need to load when compiling.
4090         (comint): Require before shell requires it.
4091         (Info-goto-node): Autoload it.
4092         (Info-follow-nearest-node): Declare.
4093         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4095         * textmodes/artist.el (picture-mode-exit): Declare.
4097         * textmodes/reftex-parse.el (reftex-parse-from-file):
4098         Trivial rewrite so the compiler can parse it better.
4100 2013-05-20  Leo Liu  <sdl.web@gmail.com>
4102         * progmodes/octave.el (octave-help-mode-map)
4103         (octave-help-mode-finish-hook): New variables.
4104         (octave-help-mode, octave-help-mode-finish): New functions.
4105         (octave-help): Use octave-help-mode.
4107 2013-05-20  Glenn Morris  <rgm@gnu.org>
4109         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
4111 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
4113         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4114         start at point, so that expansion starting right after opening
4115         slash in a regexp is recognized.
4116         (ruby-syntax-before-regexp-re): New defvar, extracted from
4117         ruby-syntax-propertize-function.  Since the value of this regexp
4118         is looked up at runtime now, we should be able to turn
4119         `ruby-syntax-methods-before-regexp' into a defcustom later.
4120         (ruby-syntax-propertize-function): Split regexp matching into two
4121         parts, for opening and closing slashes.  That allows us to skip
4122         over string interpolations and support multiline regexps.
4123         Don't call `ruby-syntax-propertize-expansions', instead use another rule
4124         for them, which calls `ruby-syntax-propertize-expansion'.
4125         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4126         call to `ruby-syntax-propertize-function'.
4127         (ruby-syntax-propertize-expansion): Extracted from
4128         `ruby-syntax-propertize-expansions'.  Handles one expansion.
4129         (ruby-syntax-propertize-percent-literal): Leave point right after
4130         the percent symbol, so that the expression expansion rule can
4131         propertize the contents.
4132         (ruby-syntax-propertize-heredoc): Leave point at bol following the
4133         heredoc openers.
4134         (ruby-syntax-propertize-expansions): Remove.
4136 2013-05-18  Juri Linkov  <juri@jurta.org>
4138         * man.el (Man-default-man-entry): Remove `-' from the end
4139         of the default value.  (Bug#14400)
4141 2013-05-18  Glenn Morris  <rgm@gnu.org>
4143         * comint.el (comint-password-prompt-regexp):
4144         Allow "password for XXX" where XXX contains colons (eg https://...).
4146 2013-05-18  Leo Liu  <sdl.web@gmail.com>
4148         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4149         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
4150         (octave-source-directories): Don't check process.
4151         (octave-source-directories, octave-find-definition): Doc fix.
4153 2013-05-18  Glenn Morris  <rgm@gnu.org>
4155         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4156         Remove backspace/delete bindings.  (Bug#14392)
4158         * cus-dep.el (custom-make-dependencies): Sort the output.
4159         (custom-versions-load-alist): Convert comment to doc.
4161 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4163         * newcomment.el (comment-search-backward): Stricter in finding
4164         comment start.  (Bug#14303)
4166         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4167         (octave-comment-start-skip): Properly anchored.
4169 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4171         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4172         Clean up when turned off.  (Bug#14395)
4173         (smie--highlight-matching-block-overlay): No longer buffer-local.
4174         (smie-highlight-matching-block): Adjust.
4176 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
4178         Doc string fix for "nanoseconds" (Bug#14406).
4179         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4180         Fix doc string typo that had "nanoseconds" instead of "microseconds".
4182 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4184         * calc/calc-units.el (math-extract-units): Preserve powers
4185         of units.
4187 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4189         * subr.el (delete-consecutive-dups): New function.
4190         * ido.el (ido-set-matches-1): Use it.
4191         * progmodes/octave.el (inferior-octave-completion-table): Use it.
4192         * ido.el (ido-remove-consecutive-dups): Remove.
4194 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4196         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4197         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4198         regexp-opt's `words'.
4200 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4202         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4203         (smie--highlight-matching-block-overlay)
4204         (smie--highlight-matching-block-lastpos)
4205         (smie--highlight-matching-block-timer): New variables.
4206         (smie-highlight-matching-block): New function.
4207         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
4208         (smie-setup): Conditionally enable smie-blink-matching-open.
4210 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
4212         Sync with upstream verilog-mode r840.
4213         * progmodes/verilog-mode.el (verilog-mode-version)
4214         (verilog-mode-release-date): Update.
4215         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4216         (verilog-sig-tieoff): Fix string error on
4217         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
4218         (verilog-read-decls): Fix parameters confusing
4219         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
4221 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
4223         * subr.el (reveal-filename): New function.
4225         * loadup.el: Compute Emacs executable versions on MS-Windows,
4226         where executables have the .exe extension.  Add a hard link
4227         emacs-XX.YY.ZZ.exe on MS-Windows.
4229         * Makefile.in (XARGS_LIMIT): New variable.
4230         (custom-deps, finder-data, autoloads)
4231         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4232         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4233         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4234         (compile-main): Limit xargs according to $(XARGS_LIMIT).
4236 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4238         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4239         (octave-mode-menu, octave-mode-map): Remove its uses.
4241 2013-05-16  Reto Zimmermann  <reto@gnu.org>
4243         Sync with upstream vhdl mode v3.34.2.
4244         * progmodes/vhdl-mode.el: Use `push' throughout.
4245         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4246         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4247         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
4248         (vhdl-actual-generic-name): New option to derive actual generic name.
4249         (vhdl-port-paste-signals): Replace formal by actual generics.
4250         (vhdl-beautify): New name for old group vhdl-align.  Update users.
4251         (vhdl-beautify-options): New option.
4252         (vhdl-last-input-event): New compat alias.  Use throughout.
4253         (vhdl-goto-line): Replace user level function `goto-line'.
4254         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4255         vhdl-fix-statement-buffer.
4256         (vhdl-create-mode-menu): Add some entries.
4257         (vhdl-align-region-groups): Respect vhdl-beautify-options.
4258         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4259         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4260         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4261         to force statements on one line.
4262         (vhdl-remove-trailing-spaces-region):
4263         New, split from vhdl-remove-trailing-spaces.
4264         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4265         Respect vhdl-beautify-options.
4266         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4267         (vhdl-update-sensitivity-list): Not add with index if exists without.
4268         Not include array index with signal.  Ignore keywords in comments.
4269         (vhdl-get-visible-signals): Regexp tweaks.
4270         (vhdl-template-component-inst): Handle empty library.
4271         (vhdl-template-type): Add template for 'enum' type.
4272         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4273         Use vhdl-replace-string.
4274         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4275         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4276         (vhdl-speedbar-initialize): Update for above name change.
4277         (vhdl-compose-wire-components): Fix in handling of constants.
4278         (vhdl-error-regexp-emacs-alist): New variable.
4279         (vhdl-error-regexp-add-emacs): New function;
4280         adds support for new compile.el (Emacs 22+)
4281         (vhdl-generate-makefile-1): Change target order for single lib. units.
4282         Allow use of absolute file names.
4284 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4286         * simple.el (prog-indent-sexp): Indent enclosing defun.
4288 2013-05-15  Glenn Morris  <rgm@gnu.org>
4290         * cus-start.el (show-trailing-whitespace): Move to editing basics.
4291         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4292         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4293         (whitespace-highlight): Move to whitespace group.
4295         * comint.el (comint-source):
4296         * pcmpl-linux.el (pcmpl-linux):
4297         * shell.el (shell-faces):
4298         * eshell/esh-opt.el (eshell-opt):
4299         * international/ccl.el (ccl): Remove empty custom groups.
4301         * completion.el (dynamic-completion-mode):
4302         * jit-lock.el (jit-lock-debug-mode):
4303         * minibuffer.el (completion-in-region-mode):
4304         * type-break.el (type-break-mode-line-message-mode)
4305         (type-break-query-mode):
4306         * emulation/tpu-edt.el (tpu-edt-mode):
4307         * progmodes/subword.el (global-subword-mode, global-superword-mode):
4308         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4309         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4311         * term/xterm.el (xterm): Change parent group to terminals.
4313         * master.el (master): Remove empty custom group.
4314         (master-mode): Remove unused :group argument.
4315         * textmodes/refill.el (refill): Remove empty custom group.
4316         (refill-mode): Remove unused :group argument.
4318         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4320         * cus-dep.el: Provide a feature.
4321         (custom-make-dependencies): Ignore dotfiles (dir-locals).
4322         Don't mistakenly ignore files whose basenames match a basename
4323         from preloaded-file-list (eg cedet/ede/simple.el).
4324         Add a fallback method for getting :group.
4326 2013-05-15  Juri Linkov  <juri@jurta.org>
4328         * isearch.el (isearch-char-by-name): Rename from
4329         `isearch-insert-char-by-name'.  Doc fix.
4330         (isearch-forward): Mention `isearch-char-by-name' in
4331         the docstring.  (Bug#13348)
4333         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4334         `exit-minibuffer' instead of
4335         `isearch-nonincremental-exit-minibuffer'.
4336         (isearch-edit-string): Remove mention of
4337         `isearch-nonincremental-exit-minibuffer' from docstring.
4338         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4339         (isearch-forward-exit-minibuffer)
4340         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
4342 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4344         * loadup.el: Just use unversioned DOC.
4346         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4347         literals as extending to EOB.
4348         (nxml-last-fontify-end): Remove unused variable.
4349         (nxml-after-change1): Use with-silent-modifications.
4350         (nxml-extend-after-change-region): Simplify.
4351         (nxml-extend-after-change-region1): Remove function.
4352         (nxml-after-change1): Don't adjust for dependent regions.
4353         (nxml-fontify-matcher): Simplify.
4354         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4355         (xmltok-add-dependent): Remove function.
4356         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4357         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4358         (xmltok-scan-prolog-after-processing-instruction-open): Treat
4359         unclosed <[[, <?, comment, and other literals as extending to EOB.
4360         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4361         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4362         Remove functions.
4363         (rng-do-some-validation-1): Don't mark dependent regions.
4364         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4365         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4366         (nxml-clear-dependent-regions): Remove functions.
4367         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4368         (nxml-ensure-scan-up-to-date):
4369         Don't clear&mark dependent regions.
4371 2013-05-15  Leo Liu  <sdl.web@gmail.com>
4373         * progmodes/octave.el (octave-goto-function-definition):
4374         Improve and fix callers.
4376 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4378         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4379         the setter (bug#14387).
4381         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4382         surrounding group (bug#14402).
4384 2013-05-14  Juri Linkov  <juri@jurta.org>
4386         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4387         (Bug#14390)
4389 2013-05-14  Glenn Morris  <rgm@gnu.org>
4391         * progmodes/f90.el (f90-imenu-generic-expression):
4392         Fix typo in 2013-05-08 change.  (Bug#14402)
4394 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4396         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4397         Remove signals for which replies are never received.
4399 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4401         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4402         (gdb-handler-alist, gdb-handler-number): Remove variables.
4403         (gdb-handler-list): New variable.
4404         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4405         (gdb-pending-handler-p, gdb-handle-reply)
4406         (gdb-remove-all-pending-triggers): New functions.
4407         (gdb-discard-unordered-replies): New defcustom.
4408         (gdb-handler): New defstruct.
4409         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
4410         instead of gdb-pending-triggers.  Update docstring.
4411         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
4412         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4413         (gdb-var-update-handler, def-gdb-auto-update-trigger)
4414         (def-gdb-auto-update-handler, gdb-get-changed-registers)
4415         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4416         (gdb-frame-handler): Pending triggers are now automatically managed.
4417         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4418         Remove argument.
4419         (gdb-input): Automatically handles pending triggers.  Update docstring.
4420         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4421         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4422         Update comments.
4423         (gdb-done-or-error): Now use gdb-handle-reply.
4425 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4427         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4428         gdb-debug-log.
4430 2013-05-14  Glenn Morris  <rgm@gnu.org>
4432         * subr.el (user-emacs-directory-warning): New option.
4433         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
4435 2013-05-14  Leo Liu  <sdl.web@gmail.com>
4437         * progmodes/octave.el (octave-font-lock-keywords): Fix error
4438         during redisplay.
4439         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4440         (octave-font-lock-texinfo-comment): Fix invalid search bound
4441         error: wrong side of point.
4443 2013-05-14  Glenn Morris  <rgm@gnu.org>
4445         * progmodes/flymake.el (flymake-xml-program): New option.
4446         (flymake-xml-init): Use it.
4448         * term/xterm.el: Provide a feature.
4450         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
4452 2013-05-13  Glenn Morris  <rgm@gnu.org>
4454         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4455         Add compat aliases as a hack workaround.  (Bug#14384)
4457 2013-05-13  Leo Liu  <sdl.web@gmail.com>
4459         * progmodes/octave.el (octave-indent-comment): Fix indentation for
4460         ###, and %!.
4461         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4462         C-M-q.
4463         (octave-comment-start-skip): Include %!.
4464         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4466 2013-05-12  Leo Liu  <sdl.web@gmail.com>
4468         * progmodes/octave.el (inferior-octave-startup): Store the value
4469         of __octave_srcdir__ for octave-source-directories.
4470         (inferior-octave-check-process): New function refactored out of
4471         inferior-octave-send-list-and-digest.
4472         (octave-source-directories)
4473         (octave-find-definition-filename-function): New variables.
4474         (octave-source-directories)
4475         (octave-find-definition-default-filename): New functions.
4476         (octave-find-definition): Improve to find functions implemented in C++.
4478 2013-05-12  Glenn Morris  <rgm@gnu.org>
4480         * calendar/diary-lib.el (diary-outlook-format-1):
4481         Don't include dayname in the output.  (Bug#14349)
4483 2013-05-11  Glenn Morris  <rgm@gnu.org>
4485         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4487         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4488         Treat cc-provide like provide.
4490 2013-05-11  Kevin Ryde  <user42@zip.com.au>
4492         * cus-dep.el (custom-make-dependencies):
4493         Use generated-autoload-load-name for the sake of files such
4494         such cedet/semantic/bovine/c.el, where the base file name
4495         is not in load-path.  (Bug#5277)
4497 2013-05-11  Glenn Morris  <rgm@gnu.org>
4499         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4500         Provide features.
4502 2013-05-11  Leo Liu  <sdl.web@gmail.com>
4504         * progmodes/octave.el (octave-indent-comment): Improve.
4505         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4506         (octave-eldoc-function-signatures, octave-eldoc-function):
4507         New functions.
4508         (octave-mode, inferior-octave-mode): Add eldoc support.
4510 2013-05-11  Richard Stallman  <rms@gnu.org>
4512         * epa.el (epa-decrypt-file): Take output file name as argument
4513         and read it using `interactive'.
4515 2013-05-11  Leo Liu  <sdl.web@gmail.com>
4517         * progmodes/octave.el (octave-beginning-of-line)
4518         (octave-end-of-line): Check before using up-list because it jumps
4519         out of more syntactic contructs since moving to smie.
4520         (octave-indent-comment): New function.
4521         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
4522         (octave-begin-keywords, octave-end-keywords)
4523         (octave-reserved-words, octave-smie-bnf-table)
4524         (octave-smie-rules): Add new keywords from Octave 3.6.4.
4526 2013-05-11  Glenn Morris  <rgm@gnu.org>
4528         * faces.el (internal-face-x-get-resource):
4529         * frame.el (ns-display-monitor-attributes-list):
4530         * calc/calc-aent.el (math-to-radians-2):
4531         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4532         Fix declarations.
4534         * calc/calc-menu.el: Make it loadable in isolation.
4536         * net/eudcb-bbdb.el: Make it loadable without bbdb.
4537         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4538         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4539         (eudc-bbdb-query-internal): Require 'bbdb.
4541         * lpr.el (lpr-headers-switches):
4542         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4544         * progmodes/sql.el (sql-login-params): Fix and improve :type.
4546         * emulation/edt-mapper.el: In batch mode, error rather than hang.
4548         * term.el (term-set-escape-char): Make it idempotent.
4550 2013-05-10  Leo Liu  <sdl.web@gmail.com>
4552         * progmodes/octave.el (inferior-octave-completion-table):
4553         No longer a function and all uses changed.  Use cache to speed up
4554         completion due to bug#11906.
4555         (octave-beginning-of-defun): Re-write to be more general.
4557 2013-05-10  Glenn Morris  <rgm@gnu.org>
4559         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4561 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4563         * comint.el (comint-redirect-send-command-to-process): Use :around
4564         rather than :override for comint-redirect-filter.
4565         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4566         Call it instead of comint-redirect-original-filter-function (which
4567         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
4569 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
4571         * frame.el (display-monitor-attributes-list): Add NS case.
4572         (ns-display-monitor-attributes-list): Declare.
4574 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
4576         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
4578 2013-05-09  Glenn Morris  <rgm@gnu.org>
4580         * international/fontset.el (vertical-centering-font-regexp):
4581         Set standard-value.
4583         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4585         * bookmark.el (bookmark-search-delay):
4586         * cus-start.el (vertical-centering-font-regexp):
4587         * ps-mule.el (ps-mule-font-info-database-default):
4588         * ps-print.el (ps-default-fg, ps-default-bg):
4589         * type-break.el (type-break-good-break-interval):
4590         * whitespace.el (whitespace-indentation-regexp)
4591         (whitespace-space-after-tab-regexp):
4592         * emacs-lisp/testcover.el (testcover-1value-functions)
4593         (testcover-noreturn-functions, testcover-progn-functions)
4594         (testcover-prog1-functions):
4595         * emulation/viper-init.el (viper-emacs-state-cursor-color):
4596         * eshell/em-glob.el (eshell-glob-translate-alist):
4597         * play/tetris.el (tetris-tty-colors):
4598         * progmodes/cpp.el (cpp-face-default-list):
4599         * progmodes/flymake.el (flymake-allowed-file-name-masks):
4600         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4601         (idlwave-help-browser-generic-args):
4602         * progmodes/make-mode.el (makefile-special-targets-list):
4603         * progmodes/python.el (python-shell-virtualenv-path):
4604         * progmodes/verilog-mode.el (verilog-active-low-regexp)
4605         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4606         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4607         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4608         * textmodes/reftex-vars.el (reftex-format-label-function):
4609         * textmodes/remember.el (remember-diary-file): Fix custom types.
4611         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4612         Add :version.
4614 2013-05-09  Leo Liu  <sdl.web@gmail.com>
4616         * progmodes/octave.el (inferior-octave-completion-at-point):
4617         Restore file completion.  (Bug#14300)
4618         (inferior-octave-startup): Fix incorrect highlighting for the
4619         first prompt.
4621 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4623         * progmodes/ruby-mode.el: First cut at SMIE support.
4624         (ruby-use-smie): New var.
4625         (ruby-smie-grammar): New constant.
4626         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4627         (ruby-smie--forward-token, ruby-smie--backward-token)
4628         (ruby-smie-rules): New functions.
4629         (ruby-mode-variables): Setup SMIE if applicable.
4631 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
4633         * simple.el (line-move-visual): Signal beginning/end of buffer
4634         only if vertical-motion moved less than it was requested.  Avoids
4635         silly incorrect error messages when there are display strings with
4636         multiple newlines at EOL.
4638 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4640         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4641         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4642         (prolog-char-quote-workaround):
4643         * progmodes/cperl-mode.el (cperl-under-as-char):
4644         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4645         Mark as obsolete.
4646         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4647         their declaration.
4648         (vhdl-mode-syntax-table-init): Remove.
4650         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4651         last change.
4653         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4654         syntax for "_".
4655         (ld-script-font-lock-keywords):
4656         Change regexps to use things like \_< and \_>.
4658         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4659         Change all regexps to use things like \_< and \_>.
4661         * progmodes/autoconf.el (autoconf-definition-regexp)
4662         (autoconf-font-lock-keywords, autoconf-current-defun-function):
4663         Handle a _ with symbol syntax.
4664         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4666         * progmodes/ada-mode.el (ada-mode-abbrev-table):
4667         Consolidate declaration.
4668         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4669         the declaration.
4670         (ada-create-syntax-table): Remove.
4671         (ada-capitalize-word): Don't mess with the syntax of "_" since it
4672         already has the right syntax nowadays.
4673         (ada-goto-next-word): Don't change the syntax of "_".
4675         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4676         with-wrapper-hook.
4678 2013-05-08  Sam Steingold  <sds@gnu.org>
4680         * thingatpt.el (thing-at-point): Accept optional second argument
4681         NO-PROPERTIES to strip the text properties from the return value.
4682         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4683         to `thing-at-point' instead of stripping the properties ourselves.
4684         Also, when `thing-at-point' fails to find a url, prepend "http://"
4685         to the filename at point on the assumption that the user is
4686         pointing at something like gnu.org/gnu.
4688 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
4690         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4691         * faces.el (crm-separator):
4692         Silence byte-compiler.
4694         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4695         (tool-bar-map): Remove unneeded defvars.
4697 2013-05-08  Leo Liu  <sdl.web@gmail.com>
4699         Re-work a fix for bug#10994 based on Le Wang's patch.
4700         * ido.el (ido-remove-consecutive-dups): New helper.
4701         (ido-completing-read): Use it.
4702         (ido-chop): Revert fix for bug#10994.
4704 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
4706         * cus-edit.el (custom-save-variables):
4707         Pretty-print long values.  (Bug#14187)
4709 2013-05-08  Glenn Morris  <rgm@gnu.org>
4711         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4712         (m4-mode-syntax-table): Init in the defvar.
4713         (m4-mode-abbrev-table): Let define-derived-mode define it.
4715 2013-05-08  Tom Tromey  <tromey@redhat.com>
4717         * progmodes/m4-mode.el (m4-mode-syntax-table):
4718         Do not treat "_" as word constituent.  (Bug#14167)
4720 2013-05-07  Glenn Morris  <rgm@gnu.org>
4722         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4723         Remove explicit eshell-isearch-cancel-map.
4725         * progmodes/f90.el (f90-smart-end-names): New option.
4726         (f90-smart-end): Doc fix.
4727         (f90-end-block-optional-name): New constant.
4728         (f90-block-match): Respect f90-smart-end-names.
4730 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4732         * progmodes/octave.el (octave-smie-forward-token): Be more careful
4733         about implicit semi-colons (bug#14218).
4735 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4737         * frame.el (display-monitor-attributes-list)
4738         (frame-monitor-attributes): New functions.
4740 2013-05-06  Leo Liu  <sdl.web@gmail.com>
4742         * progmodes/octave.el (octave-syntax-propertize-function): Change
4743         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
4744         (octave-font-lock-keywords): Use octave-operator-regexp.
4745         (octave-completion-at-point): Rename from
4746         octave-completion-at-point-function.
4747         (inferior-octave-directory-tracker): Robustify.
4748         (octave-text-functions): Remove and fix its uses.  No such things
4749         any more.
4751 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4753         * emacs-lisp/trace.el (trace--display-buffer): New function.
4754         (trace-make-advice): Use it.
4756 2013-05-06  Juri Linkov  <juri@jurta.org>
4758         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
4759         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4760         Doc fix.
4761         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4762         in the help string.  (Bug#12985)
4764 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4766         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
4768 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4770         * progmodes/perl-mode.el: Add support for here documents.
4771         (perl-syntax-propertize-function): Match here-doc markers.
4772         (perl-syntax-propertize-special-constructs): Find their end.
4773         (perl-imenu-generic-expression): Use [:alnum:].
4775         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4776         (advice--add-function): Refresh the advice if already present
4777         (bug#14317).
4779 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
4781         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
4783 2013-05-06  Glenn Morris  <rgm@gnu.org>
4785         * w32-fns.el (w32-charset-info-alist): Declare.
4787         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4788         of its defcustom properties.
4789         (eshell-cmpl-initialize): No need to load pcomplete.
4791         * generic-x.el: No need to require comint when compiling.
4793         * net/eudc-export.el: Make it loadable without bbdb.
4794         (top-level): Use require rather than load-library.
4795         (eudc-create-bbdb-record, eudc-bbdbify-phone)
4796         (eudc-batch-export-records-to-bbdb)
4797         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4798         Require bbdb.
4800 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4802         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4803         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4804         some tweaks, instead.
4806 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4808         * progmodes/octave.el (octave-font-lock-keywords)
4809         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4810         (inferior-octave-send-list-and-digest): Improve error message.
4811         (octave-mode, inferior-octave-mode): Use setq-local.
4812         (octave-help): Set info-lookup-mode.
4814 2013-05-05  Richard Stallman  <rms@gnu.org>
4816         * vc/compare-w.el (compare-windows-whitespace):
4817         Treat no-break space as whitespace.
4819         * mail/rmailsum.el (rmail-summary-rmail-update):
4820         Detect empty summary and don't change selected message.
4821         (rmail-summary-goto-msg): Likewise.
4823         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4824         Doc fixes, rename args.
4826 2013-05-05  Alan Mackenzie  <acm@muc.de>
4828         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4830 2013-05-05  Juri Linkov  <juri@jurta.org>
4832         * info.el (Info-read-subfile): Use (point-min) instead of (point)
4833         to not add the length of the summary segment to the return value.
4834         (Bug#14125)
4836 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4838         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4839         (inferior-octave-output-filter): Remove.
4840         (octave-send-region, inferior-octave-startup): Fix callers.
4841         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4842         (octave-binary-file-extensions): New user variable.
4843         (octave-find-definition): Confirm if opening binary files.
4844         (octave-help-file): Use octave-find-definition to get the binary
4845         confirmation.
4846         (octave-help): Adjust for octave-help-file change.
4848 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4850         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4851         Merge the two entries that handle function definitions.
4852         (pascal--syntax-propertize): New const.
4853         (pascal-mode): Use it.  Use setq-local.
4855 2013-05-04  Glenn Morris  <rgm@gnu.org>
4857         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4858         (diary-from-outlook): Respect diary-from-outlook-function.
4860 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4862         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4863         Move the declaration from C.
4864         (read-minibuffer, eval-minibuffer): Move from C.
4865         (completion-setup-function): Avoid minibuffer-completion-contents.
4867 2013-05-03  Leo Liu  <sdl.web@gmail.com>
4869         * progmodes/octave.el (octave-font-lock-keywords): Do not
4870         dehighlight 'end' in comments or strings.
4871         (octave-completing-read, octave-goto-function-definition):
4872         New helpers.
4873         (octave-help-buffer): New user variable.
4874         (octave-help-file, octave-help-function): New button types.
4875         (octave-help): New command and bind it to C-h ;.
4876         (octave-find-definition): New command and bind it to M-.
4877         (user-error): Alias to error if not defined.
4879 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4881         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4882         for \.  (bug#14332)
4883         (octave-font-lock-keywords): Include [ and {.
4885 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4887         * progmodes/octave.el (inferior-octave-startup-file): Change default.
4888         (inferior-octave): Remove calling comint-mode and return the buffer.
4889         (inferior-octave-startup): Cosmetic changes.
4891 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4893         * progmodes/octave.el (octave-syntax-propertize-function):
4894         Include the case when ' is at line beginning.  (Bug#14336)
4896 2013-05-02  Glenn Morris  <rgm@gnu.org>
4898         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4899         * desktop.el (vc-dir-mode): Just autoload it here.
4901 2013-05-02  Alan Mackenzie  <acm@muc.de>
4903         Eliminate variable c-standard-font-lock-fontify-region-function.
4904         * progmodes/cc-mode.el
4905         (c-standard-font-lock-fontify-region-function): Remove.
4906         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4908 2013-05-01  Leo Liu  <sdl.web@gmail.com>
4910         * progmodes/octave.el: Compatible with older emacs-24 releases.
4911         (inferior-octave-has-built-in-variables): Remove.  Built-in
4912         variables were removed from Octave in 2007.
4913         (inferior-octave-startup): Fix uses.
4914         (comint-line-beginning-position): Remove compatibility code for
4915         emacs 21.
4917 2013-05-01  Juri Linkov  <juri@jurta.org>
4919         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
4921 2013-05-01  Juri Linkov  <juri@jurta.org>
4923         * comint.el (comint-previous-matching-input): Don't print message
4924         "History item: %d" when `isearch-mode' is active.
4925         (comint-history-isearch-message): Print message "History item: %d"
4926         when `comint-input-ring-index' is not empty and this function is
4927         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
4929 2013-05-01  Leo Liu  <sdl.web@gmail.com>
4931         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4932         definitions.  Use completion-at-point to insert keywords.
4933         (octave-abbrev-start): Remove.
4934         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4936 2013-04-30  Leo Liu  <sdl.web@gmail.com>
4938         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4939         change.
4941 2013-04-30  Alan Mackenzie  <acm@muc.de>
4943         Handle arbitrarily long C++ member initialisation lists.
4944         * progmodes/cc-engine.el (c-back-over-member-initializers):
4945         new function.
4946         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4947         (most) member init lists.
4949 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4951         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4952         variable.
4954 2013-04-30  Leo Liu  <sdl.web@gmail.com>
4956         * progmodes/octave.el (octave-variables): Remove.  No builtin
4957         variables any more.  All converted to functions.
4958         (octave-font-lock-keywords, octave-completion-at-point-function):
4959         Fix uses.
4960         (octave-font-lock-texinfo-comment): New user variable.
4961         (octave-texinfo-font-lock-keywords): New variable for texinfo
4962         comment block.
4963         (octave-function-comment-block): New face.
4964         (octave-font-lock-texinfo-comment): New function.
4965         (octave-mode): Font lock texinfo comment block.
4967 2013-04-29  Leo Liu  <sdl.web@gmail.com>
4969         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4970         indexing expression.
4971         (octave-continuation-string): Do not use \.
4972         (inferior-octave-complete-impossible): Remove.
4973         (inferior-octave-completion-table)
4974         (inferior-octave-completion-at-point): Remove its uses.
4975         (inferior-octave-startup): completion_matches was introduced to
4976         Octave in 1996 so safe to assume it.
4977         (octave-function-file-comment): Improve to follow how Octave does it.
4978         (octave-update-function-file-comment): Tweak.
4980 2013-04-29  Leo Liu  <sdl.web@gmail.com>
4982         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4983         (inferior-octave-startup): Remove inferior-octave-startup-hook.
4984         (octave-function-file-comment): Fix typo.
4985         (octave-sync-function-file-names): Use read-char-choice.
4987 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
4989         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4990         to t for the less important warnings.
4992 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
4994         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
4996 2013-04-27  Glenn Morris  <rgm@gnu.org>
4998         * vc/log-view.el (log-view-current-entry):
4999         Treat "---" separator lines as part of the following rev.  (Bug#14169)
5001 2013-04-27  Juri Linkov  <juri@jurta.org>
5003         * subr.el (read-number): Doc fix about using it by interactive
5004         code letter `n'.  (Bug#14254)
5006 2013-04-27  Juri Linkov  <juri@jurta.org>
5008         * desktop.el (desktop-auto-save-timeout): New option.
5009         (desktop-file-checksum): New variable.
5010         (desktop-save): Add optional arg `auto-save' and don't auto-save
5011         if nothing changed.
5012         (desktop-auto-save-timer): New variable.
5013         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5014         (after-init-hook): Call `desktop-auto-save-set-timer'.
5015         Suggested by Reuben Thomas <rrt@sc3d.org> in
5016         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5018 2013-04-27  Leo Liu  <sdl.web@gmail.com>
5020         * progmodes/octave.el (octave-function-file-p)
5021         (octave-skip-comment-forward, octave-function-file-comment)
5022         (octave-update-function-file-comment): New functions.
5023         (octave-mode-map): Bind C-c ; to
5024         octave-update-function-file-comment.
5025         (octave-mode-menu): Add octave-update-function-file-comment.
5026         (octave-mode, inferior-octave-mode): Fix doc-string.
5027         (octave-insert-defun): Conform to Octave's coding convention.
5028         (Bug#14285)
5030         * files.el (basic-save-buffer): Don't let errors in
5031         before-save-hook prevent saving buffer.
5033 2013-04-20  Roland Winkler  <winkler@gnu.org>
5035         * faces.el (read-face-name): Use completing-read if arg multiple
5036         is nil.
5038 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
5040         * ls-lisp.el (ls-lisp-insert-directory): If no files are
5041         displayed, move point to after the totals line.
5042         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5043         for the details.
5045 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5047         * emacs-lisp/package.el (package-autoload-ensure-default-file):
5048         Add current dir to the load-path.
5049         (package-generate-autoloads): Don't rely on
5050         autoload-ensure-default-file.
5052 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
5054         * textmodes/remember.el (remember-store-in-files): Document that
5055         the file name format is passed to `format-time-string'.
5057 2013-04-26  Leo Liu  <sdl.web@gmail.com>
5059         * progmodes/octave.el (octave-sync-function-file-names): New function.
5060         (octave-mode): Use it in before-save-hook.
5062 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5064         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5065         (bug#14274).
5067         * progmodes/octave.el (octave-smie-forward-token): Properly skip
5068         \n and comment, even if it's not an implicit ; (bug#14218).
5070 2013-04-26  Glenn Morris  <rgm@gnu.org>
5072         * subr.el (read-number): Once more use `read' rather than
5073         `string-to-number', to trap non-numeric input.  (Bug#14254)
5075 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
5077         * emacs-lisp/syntax.el (syntax-propertize-multiline):
5078         Use `syntax-multiline' text property consistently instead of
5079         `font-lock-multiline'.  (Bug#14237)
5081 2013-04-26  Glenn Morris  <rgm@gnu.org>
5083         * emacs-lisp/shadow.el (list-load-path-shadows):
5084         No longer necessary to check for duplicate simple.el, since
5085         2012-07-07 change to init_lread to not include installation lisp
5086         directories in load-path when running uninstalled.  (Bug#14270)
5088 2013-04-26  Leo Liu  <sdl.web@gmail.com>
5090         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5091         (octave-mode, inferior-octave-mode): Use setq-local.
5092         (octave-not-in-string-or-comment-p): Rename to
5093         octave-in-string-or-comment-p.
5094         (octave-in-comment-p, octave-in-string-p)
5095         (octave-in-string-or-comment-p): Replace defsubst with defun.
5097 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
5099         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5101 2013-04-25  Bastien Guerry  <bzg@gnu.org>
5103         * textmodes/remember.el (remember-data-directory)
5104         (remember-directory-file-name-format): Fix custom types.
5106 2013-04-25  Leo Liu  <sdl.web@gmail.com>
5108         * progmodes/octave.el (octave-completion-at-point-function):
5109         Make use of inferior octave process.
5110         (octave-initialize-completions): Remove.
5111         (inferior-octave-completion-table): New function.
5112         (inferior-octave-completion-at-point): Use it.
5113         (octave-completion-alist): Remove.
5115 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5117         * progmodes/opascal.el: Use font-lock and syntax-propertize.
5118         (opascal-mode-syntax-table): New var.
5119         (opascal-literal-kind, opascal-is-literal-end)
5120         (opascal-literal-token-at): Rewrite.
5121         (opascal--literal-start-re, opascal-font-lock-keywords)
5122         (opascal--syntax-propertize): New constants.
5123         (opascal-font-lock-defaults): Adjust.
5124         (opascal-mode): Use them.  Set comment-<foo> variables as well.
5125         (delphi-comment-face, opascal-comment-face, delphi-string-face)
5126         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5127         (delphi-other-face, opascal-other-face): Remove face variables.
5128         (opascal-save-state): Remove macro.
5129         (opascal-fontifying-progress-step): Remove constant.
5130         (opascal--ignore-changes): Remove var.
5131         (opascal-set-token-property, opascal-parse-next-literal)
5132         (opascal-is-stable-literal, opascal-complete-literal)
5133         (opascal-is-literal-start, opascal-face-of)
5134         (opascal-parse-region, opascal-parse-region-until-stable)
5135         (opascal-fontify-region, opascal-after-change)
5136         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5137         (opascal-debug-parse-region, opascal-debug-parse-window)
5138         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5139         (opascal-debug-fontify-buffer): Remove.
5140         (opascal-debug-mode-map): Adjust accordingly.
5142 2013-04-25  Leo Liu  <sdl.web@gmail.com>
5144         Merge octave-mod.el and octave-inf.el into octave.el with some
5145         cleanups.
5146         * progmodes/octave.el: New file renamed from octave-mod.el.
5147         * progmodes/octave-inf.el: Merged into octave.el.
5148         * progmodes/octave-mod.el: Renamed to octave.el.
5150 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
5152         * textmodes/reftex-vars.el
5153         (reftex-label-ignored-macros-and-environments): New defcustom.
5155         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5157 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5159         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5160         (smie-indent-keyword): Improve the check to ensure that the next
5161         comment is really on the same line.
5162         (smie-indent-comment): Don't align with a subsequent closer (or eob).
5164         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5165         semi-colons if the line is not otherwise empty (bug#14218).
5167 2013-04-25  Glenn Morris  <rgm@gnu.org>
5169         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5171 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5173         * progmodes/opascal.el (opascal-set-token-property): Rename from
5174         opascal-set-text-properties and only set `token' (bug#14134).
5175         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5176         (opascal-literal-text-properties): Remove.
5177         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5178         Adjust callers.
5180 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
5182         * textmodes/remember.el (remember-handler-functions): Add an
5183         option for a new handler `remember-store-in-files'.
5184         (remember-data-directory, remember-directory-file-name-format):
5185         New options.
5186         (remember-store-in-files): New function to store remember notes
5187         as separate files within a directory.
5189 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
5191         * progmodes/compile.el (compilation-next-error-function):
5192         Pass "formats" to compilation-find-file (bug#11777).
5194 2013-04-24  Glenn Morris  <rgm@gnu.org>
5196         * vc/vc-bzr.el (vc-bzr-print-log):
5197         * vc/vc-hg.el (vc-hg-print-log):
5198         * vc/vc-svn.el (vc-svn-print-log):
5199         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
5201         * vc/vc-bzr.el (vc-bzr-print-log):
5202         * vc/vc-cvs.el (vc-cvs-print-log):
5203         * vc/vc-git.el (vc-git-print-log):
5204         * vc/vc-hg.el (vc-hg-print-log):
5205         * vc/vc-mtn.el (vc-mtn-print-log):
5206         * vc/vc-rcs.el (vc-rcs-print-log):
5207         * vc/vc-sccs.el (vc-sccs-print-log):
5208         * vc/vc-svn.el (vc-svn-print-log):
5209         * vc/vc.el (vc-print-log-internal): Doc fixes.
5211 2013-04-23  Glenn Morris  <rgm@gnu.org>
5213         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5214         Remove venerable code attempting to avoid substitute-command-keys.
5216 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
5218         * textmodes/reftex-vars.el (reftex-label-regexps):
5219         Call `reftex-compile-variables' after changes to this variable.
5221 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5223         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5224         Use lexical-binding.
5225         (jit-lock-force-redisplay): Use markers, check buffer's continued
5226         existence and beware narrowed buffers.
5227         (jit-lock-fontify-now): Adjust call accordingly.
5229 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5231         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5232         to avoid misleading the user.
5234 2013-04-22  Leo Liu  <sdl.web@gmail.com>
5236         * info-look.el: Prefer latex2e.info.  (Bug#14240)
5238 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
5240         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
5242         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5243         * net/tramp.el (tramp-call-process): ... here.
5244         (tramp-set-completion-function, tramp-parse-putty):
5245         * net/tramp-adb.el (tramp-adb-execute-adb-command):
5246         * net/tramp-gvfs.el (tramp-gvfs-send-command):
5247         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5248         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5249         (tramp-call-local-coding-command): Use `tramp-call-process'
5250         instead of `tramp-compat-call-process'.
5252         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5253         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5254         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5255         (tramp-find-inline-compress): Improve traces.
5256         (tramp-maybe-send-script): Check for Perl binary.
5257         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5259 2013-04-22  Daiki Ueno  <ueno@gnu.org>
5261         * epg.el (epg-context-pinentry-mode): New function.
5262         (epg-context-set-pinentry-mode): New function.
5263         (epg--start): Pass --pinentry-mode option to gpg command.
5265 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
5267         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5268         `comint-dynamic-complete' is obsolete since 24.1, replaced by
5269         `completion-at-point'.  (Bug#13774)
5271         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5272         default key binding for `describe-distribution' has been moved to
5273         `C-h C-o'.  (Bug#13970)
5275 2013-04-21  Glenn Morris  <rgm@gnu.org>
5277         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5278         Add doc strings.
5279         (vc-print-log): Clarify interactive prompt.
5281 2013-04-20  Glenn Morris  <rgm@gnu.org>
5283         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5284         No longer include timestamp etc information.
5286 2013-04-20  Roland Winkler  <winkler@gnu.org>
5288         * faces.el (read-face-name): Bug fix, return just one face if arg
5289         multiple is nil.  (Bug#14209)
5291 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5293         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5294         (remove-function): Autoload.
5296         * comint.el (comint-redirect-original-filter-function): Remove.
5297         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5298         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5299         (vc-cvs-annotate-command):
5300         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5301         * progmodes/prolog.el (prolog-consult-compile):
5302         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5303         Use add/remove-function instead.
5304         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5305         (gud-tooltip-process-output, gud-tooltip-tips):
5306         Use add/remove-function instead.
5307         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5308         (scheme-interaction-mode, exit-scheme-interaction-mode):
5309         Use add/remove-function instead.
5311         * vc/vc-dispatcher.el: Use lexical-binding.
5312         (vc--process-sentinel): Rename from vc-process-sentinel.
5313         Change last arg to be the code to run.  Don't use vc-previous-sentinel
5314         and vc-sentinel-commands any more.
5315         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
5316         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5318 2013-04-19 Masatake YAMATO  <yamato@redhat.com>
5320         * progmodes/sh-script.el (sh-imenu-generic-expression):
5321         Handle function names with a single character.   (Bug#14111)
5323 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
5325         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5326         for subroutines defined in an eval (bug#14182).
5328 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5330         * bookmark.el (bookmark-completing-read): Improve handling of empty
5331         string (bug#14176).
5333 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5335         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5337 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5339         New faster Imenu implementation (bug#14058).
5340         * progmodes/python.el:
5341         (python-imenu-prev-index-position):
5342         (python-imenu-format-item-label-function)
5343         (python-imenu-format-parent-item-label-function)
5344         (python-imenu-format-parent-item-jump-label-function):
5345         New vars.
5346         (python-imenu-format-item-label)
5347         (python-imenu-format-parent-item-label)
5348         (python-imenu-format-parent-item-jump-label)
5349         (python-imenu--put-parent, python-imenu--build-tree)
5350         (python-imenu-create-index, python-imenu-create-flat-index)
5351         (python-util-popn): New functions.
5352         (python-mode): Set imenu-create-index-function to
5353         python-imenu-create-index.
5355 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5357         * winner.el (winner-active-region): Use region-active-p, activate-mark
5358         and deactivate-mark (bug#14225).
5360         * simple.el (deactivate-mark): Don't inline it.
5362 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
5364         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5366 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
5368         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5369         file extensions from the archive-mode entry in order to prefer
5370         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5372 2013-04-18  Leo Liu  <sdl.web@gmail.com>
5374         * bindings.el (help-event-list): Add ?\?.
5376 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5378         * subr.el (with-wrapper-hook): Declare obsolete.
5379         * simple.el (filter-buffer-substring-function): New hook.
5380         (filter-buffer-substring): Use it.
5381         (filter-buffer-substring-functions): Mark obsolete.
5382         * minibuffer.el (completion-in-region-function): New hook.
5383         (completion-in-region): Use it.
5384         (completion-in-region-functions): Mark obsolete.
5385         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5386         * abbrev.el (abbrev-expand-function): New hook.
5387         (expand-abbrev): Use it.
5388         (abbrev-expand-functions): Mark obsolete.
5389         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5390         and :filter-return.
5392 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5394         * progmodes/python.el (python-nav--syntactically): Fix cornercases
5395         and do not care about match data.
5397 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5399         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5400         completion tables when completing error conditions and
5401         `declare' arguments.
5402         (lisp-complete-symbol, field-complete): Mark as obsolete.
5403         (check-parens): Unmatched parens are user errors.
5404         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5406 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
5408         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5409         command changed buffer (ie. `flyspell-pre-buffer' is not current
5410         buffer), which prevents making decisions based on invalid value of
5411         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
5412         cause an error when `flyspell-pre-point' was nil after switching
5413         buffers.
5414         (flyspell-post-command-hook): No longer needs to change buffers when
5415         checking pre-word.  While at it remove unnecessary progn.
5417 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
5419         * textmodes/ispell.el (ispell-add-per-file-word-list):
5420         Fix `flyspell-correct-word-before-point' error when accepting
5421         words and `coment-padding' is an integer by using
5422         `comment-normalize-vars' (Bug #14214).
5424 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5426         New defun movement commands.
5427         * progmodes/python.el (python-nav--syntactically)
5428         (python-nav--forward-defun, python-nav-backward-defun)
5429         (python-nav-forward-defun): New functions.
5431 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5433         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5434         (python-syntax-context): Use named compiler-macro for backwards
5435         compatibility with Emacs 24.x.
5437 2013-04-17  Leo Liu  <sdl.web@gmail.com>
5439         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5440         octave-hide-process-buffer.
5442 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5444         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5445         (bug#14216).
5447 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
5449         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5450         Fix adjustment of offset when receiving incomplete responses from GDB
5451         (bug#14129).
5453 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5455         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5456         python-mode-abbrev-table.
5457         (python-skeleton-define): Adjust accordingly.
5458         (python-mode-abbrev-table): New table that inherits from it so that
5459         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5461         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5462         (abbrev-symbol): Use it.
5463         (abbrev--before-point): Use it since we already handle inheritance.
5465 2013-04-16  Leo Liu  <sdl.web@gmail.com>
5467         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5468         binding to info-lookup-symbol.
5470 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
5472         * minibuffer.el (completion--twq-all):
5473         * term/ns-win.el (ns-initialize-window-system):
5474         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5476 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5478         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5479         global bindings.
5481         * doc-view.el (doc-view-start-process): Handle url-handler directories.
5483 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
5485         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5486         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5487         to nil.
5488         (ruby-end-of-defun): Remove the unused arg, change the docstring
5489         to reflect that this function is only used as the value of
5490         `end-of-defun-function'.
5491         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5492         to reflect an earlier change that beginning/end-of-defun functions
5493         jump between methods in a class definition, as well as top-level
5494         functions.
5496 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5498         * minibuffer.el (minibuffer-complete): Don't just scroll
5499         a *Completions* that's been iconified.
5500         (minibuffer-force-complete): Make sure repetitions do cycle when going
5501         through completion-in-region -> minibuffer-complete.
5503 2013-04-15  Alan Mackenzie  <acm@muc.de>
5505         Correct the placement of c-cpp-delimiters when there're #s not at
5506         col 0.
5508         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5509         place a submatch around the #.
5510         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5511         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
5512         on the #, not BOL.
5514 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5516         * emacs-lisp/nadvice.el: Properly test names when adding advice.
5517         (advice--member-p): New arg `name'.
5518         (advice--add-function, advice-member-p): Use it (bug#14202).
5520 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
5522         Reformulate java imenu-generic-expression.
5523         The old expression contained ill formed regexps.
5525         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5526         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5527         (cc-imenu-java-method-arg-regexp): New defconsts.
5528         (cc-imenu-java-build-type-args-regex): New defun.
5529         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5530         handling of spaces in the regexp.
5532 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5534         * textmodes/ispell.el (ispell-command-loop): Remove
5535         flyspell highlight of a word when ispell accepts it (bug #14178).
5537 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
5539         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5540         uses code from the previous `ange-ftp-run-real-handler'.
5541         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5542         only in case that function exist.  This is needed for proper
5543         unloading of Tramp.
5545 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
5547         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5549         * textmodes/reftex.el (reftex-compile-variables): Use it.
5551 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * files.el (normal-mode): Only use default major-mode if no other mode
5554         was specified.
5556         * emacs-lisp/trace.el (trace-values): New function.
5558         * files.el: Allow : in local variables (bug#14089).
5559         (hack-local-variable-regexp): New var.
5560         (hack-local-variables-prop-line, hack-local-variables): Use it.
5562 2013-04-13  Roland Winkler  <winkler@gnu.org>
5564         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
5565         data before it gets modified by bibtex-beginning-of-entry.
5567 2013-04-13  Roland Winkler  <winkler@gnu.org>
5569         * textmodes/bibtex.el (bibtex-url): Doc fix.
5571 2013-04-13  Roland Winkler  <winkler@gnu.org>
5573         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5574         does not visit a BibTeX file, exclude it from the list of buffers
5575         returned by bibtex-initialize.
5577 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
5579         * window.el (split-window): Remove interactive form, since as a
5580         command this function is a special case of split-window-below.
5581         Correct doc string.
5583 2013-04-12  Roland Winkler  <winkler@gnu.org>
5585         * faces.el (read-face-name): Do not override value of arg default.
5586         Allow single faces and strings as default values.  Remove those
5587         elements from return value that are not faces.
5588         (describe-face): Simplify.
5589         (face-at-point): New optional args thing and multiple so that this
5590         function can provide the same functionality previously provided by
5591         read-face-name.
5592         (make-face-bold, make-face-unbold, make-face-italic)
5593         (make-face-unitalic, make-face-bold-italic, invert-face)
5594         (modify-face, read-face-and-attribute): Use face-at-point.
5596         * cus-edit.el (customize-face, customize-face-other-window)
5597         * cus-theme.el (custom-theme-add-face)
5598         * face-remap.el (buffer-face-set)
5599         * facemenu.el (facemenu-set-face): Use face-at-point.
5601 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
5603         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5605 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
5607         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5608         off leading { and trailing } from field values.
5610 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5612         * emacs-lisp/timer.el (timer--check): New function.
5613         (timer--time, timer-set-function, timer-event-handler): Use it.
5614         (timer-set-idle-time): Simplify.
5615         (timer--activate): CSE.
5616         (timer-event-handler): Give more info in error message.
5617         (internal-timer-start-idle): New function, moved from C.
5619         * mpc.el (mpc-proc): Add `restart' argument.
5620         (mpc-proc-cmd): Use it.
5621         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5622         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5623         less often.
5625 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
5627         * progmodes/sh-script.el: Implement `sh-mode' own
5628         `add-log-current-defun-function' (bug#14112).
5629         (sh-current-defun-name): New function.
5630         (sh-mode): Use the function.
5632 2013-04-09  Bastien Guerry  <bzg@gnu.org>
5634         * simple.el (choose-completion-string): Fix docstring (bug#14163).
5636 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5638         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5640         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5641         timer (bug#14156).
5643 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
5645         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5646         declaration.
5648 2013-04-07  Leo Liu  <sdl.web@gmail.com>
5650         * pcmpl-x.el: New file.
5652 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
5654         Do not set x-display-name until X connection is established.
5655         This is needed to prevent from weird situation described at
5656         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5657         * frame.el (make-frame): Set x-display-name after call to
5658         window system initialization function, not before.
5659         * term/x-win.el (x-initialize-window-system): Add optional
5660         display argument and use it.
5661         * term/w32-win.el (w32-initialize-window-system):
5662         * term/ns-win.el (ns-initialize-window-system):
5663         * term/pc-win.el (msdos-initialize-window-system):
5664         Add compatible optional display argument.
5666 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
5668         * files.el (normal-backup-enable-predicate): On MS-Windows and
5669         MS-DOS compare truenames of temporary-file-directory and of the
5670         file, so that 8+3 aliases (usually found in $TEMP on Windows)
5671         don't fail comparison by compare-strings.  Also, compare file
5672         names case-insensitively on MS-Windows and MS-DOS.
5674 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5676         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5677         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5679 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
5681         * whitespace.el (whitespace-color-on, whitespace-color-off):
5682         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5684 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
5686         * ispell.el (ispell-set-spellchecker-params):
5687         Really set `ispell-args' for all equivs.
5689 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5691         * ido.el (ido-completions): Use extra elements of ido-decorations
5692         (bug#14143).
5693         (ido-decorations): Update docstring.
5695 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
5697         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5698         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5699         nil during initialization, in order not to miss changes since the
5700         file was opened.  (Bug#14140)
5702 2013-04-05  Leo Liu  <sdl.web@gmail.com>
5704         * kmacro.el (kmacro-call-macro): Fix bug#14135.
5706 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
5708         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5710 2013-04-04  Glenn Morris  <rgm@gnu.org>
5712         * electric.el (electric-pair-inhibit-predicate): Add :version.
5714 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5716         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5717         when a package is required several times (bug#14082).
5719 2013-04-04  Roland Winkler  <winkler@gnu.org>
5721         * faces.el (read-face-name): Behave as promised by the docstring.
5722         Assume that arg default is a list of faces.
5723         (describe-face): Call read-face-name with list of default faces.
5725 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5727         * bookmark.el: Fix deletion of bookmarks (bug#13972).
5728         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5729         (bookmark-bmenu-execute-deletions): Only skip first line if it's
5730         the header.
5731         (bookmark-exit-hook-internal): Save even if list is empty.
5733 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
5735         * emacs-lisp/package.el (package-pinned-packages): New var.
5736         (package--add-to-archive-contents): Obey it (bug#14118).
5738 2013-04-03  Alan Mackenzie  <acm@muc.de>
5740         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5741         Also adapt to the new values of element 7 of a parse state.
5743         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5744         parameter `not-in-delimiter'.  Handle being inside comment opener.
5745         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5746         character in case we're typing a '*' after a '/'.
5747         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5748         instead by passing the parameter to c-state-pp-to-literal.
5750         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5751         for elt. 7 of a parse state.
5753 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5755         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5756         * international/latin1-disp.el, international/mule-util.el:
5757         * language/cyril-util.el, language/european.el, language/ind-util.el:
5758         * language/lao-util.el, language/thai.el, language/tibet-util.el:
5759         * language/tibetan.el, language/viet-util.el:
5760         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5762 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5765         (electric-pair-post-self-insert-function): Use it.
5766         (electric-pair-default-inhibit): New function, extracted from
5767         electric-pair-post-self-insert-function.
5769 2013-03-31  Roland Winkler  <winkler@gnu.org>
5771         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5773 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5775         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5777 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
5779         Un-indent after "pass" and "return" statements (Bug#13888)
5780         * progmodes/python.el (python-indent-block-enders): New var.
5781         (python-indent-calculate-indentation): Use it.
5783 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
5785         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5786         defun.  Defining it as defalias could introduce too eager
5787         byte-compiler optimization.  (Bug#14030)
5789 2013-03-30  Chong Yidong  <cyd@gnu.org>
5791         * iswitchb.el (iswitchb-read-buffer): Fix typo.
5793 2013-03-30  Leo Liu  <sdl.web@gmail.com>
5795         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5796         (kmacro-execute-from-register): Pass the keyboard macro to
5797         kmacro-call-macro or repeating won't work correctly.
5799 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
5801         * progmodes/subword.el: Back to using `forward-symbol'.
5803         * subr.el (forward-whitespace, forward-symbol)
5804         (forward-same-syntax): Move from thingatpt.el.
5806 2013-03-29  Leo Liu  <sdl.web@gmail.com>
5808         * kmacro.el (kmacro-to-register): New command.
5809         (kmacro-execute-from-register): New function.
5810         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
5812 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5814         * mpc.el: Use defvar-local and setq-local.
5815         (mpc--proc-connect): Connection failures are not bugs.
5816         (mpc-mode-map): `follow-link' only applies to the buffer's content.
5817         (mpc-volume-map): Bind to the up-events.
5819 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
5821         * progmodes/subword.el (superword-mode): Use `forward-sexp'
5822         instead of `forward-symbol'.
5824 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5826         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5827         (edebug--recursive-edit): Use it.
5828         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5829         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5831 2013-03-28  Leo Liu  <sdl.web@gmail.com>
5833         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
5835 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
5837         * facemenu.el (list-colors-callback): New defvar.
5838         (list-colors-redisplay): New function.
5839         (list-colors-display): Install list-colors-redisplay as the
5840         revert-buffer-function.  (Bug#14063)
5842 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5844         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5845         and suffixes don't overlap (bug#14061).
5847         * case-table.el: Use lexical-binding.
5848         (case-table-get-table): New function.
5849         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
5851 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
5853         * progmodes/subword.el: Add `superword-mode' to do word motion
5854         over symbol_words (parallels and leverages `subword-mode' which
5855         does word motion inside MixedCaseWords).
5857 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
5859         * eshell/em-unix.el: Move su and sudo to...
5860         * eshell/em-tramp.el: ...Eshell tramp module.
5862 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5864         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5865         Change return value to be a sexp.  Delay `get-buffer' to after
5866         restoring the desktop (bug#13951).
5868 2013-03-26  Leo Liu  <sdl.web@gmail.com>
5870         * register.el: Move semantic tag handling back to
5871         cedet/semantic/senator.el.  (Bug#14052)
5873 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5875         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5876         into the prompt either (bug#13963).
5878 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5880         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5881         part of "(error-foo)".
5883 2013-03-24  Juri Linkov  <juri@jurta.org>
5885         * replace.el (list-matching-lines-prefix-face): New defcustom.
5886         (occur-1): Pass `list-matching-lines-prefix-face' to the function
5887         `occur-engine' if `face-differs-from-default-p' returns t.
5888         (occur-engine): Add `,' inside backquote construct to evaluate
5889         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
5890         Pass `prefix-face' to the functions `occur-context-lines' and
5891         `occur-engine-add-prefix'.
5892         (occur-engine-add-prefix, occur-context-lines): Add optional arg
5893         `prefix-face' and propertize the prefix with `prefix-face'.
5894         (Bug#14017)
5896 2013-03-24  Leo Liu  <sdl.web@gmail.com>
5898         * nxml/rng-valid.el (rng-validate-while-idle)
5899         (rng-validate-quick-while-idle): Guard against deleted buffer.
5900         (Bug#13999)
5902         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5903         is the last entry in kill-buffer-hook.
5905         * files.el (kill-buffer-hook): Doc fix.
5907 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
5909         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5910         Make it safe-local.
5912         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5914 2013-03-23  Leo Liu  <sdl.web@gmail.com>
5916         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5917         Remove.
5919         * nxml/rng-valid.el (rng-validate-mode)
5920         (rng-after-change-function, rng-do-some-validation):
5921         * nxml/rng-maint.el (rng-validate-buffer):
5922         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5923         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5924         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5925         (nxml-extend-after-change-region): Use with-silent-modifications.
5927         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5928         timer-idle-list.
5930         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5931         (rng-next-error-1, rng-previous-error-1): Do not let-bind
5932         timer-idle-list.  (Bug#13999)
5934 2013-03-23  Juri Linkov  <juri@jurta.org>
5936         * info.el (info-index-match): New face.
5937         (Info-index, Info-apropos-matches): Add a nested subgroup to the
5938         main pattern and add text properties with the new face to matches
5939         in index entries relative to the beginning of the index entry.
5940         (Bug#14015)
5942 2013-03-21  Eric Ludlam  <zappo@gnu.org>
5944         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5945         Inhibit read only while inserting objects.
5947 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
5949         * progmodes/cfengine.el: Update docs to mention
5950         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
5951         symbol motion.  Remove "_" from the word syntax.
5953 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
5955         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5956         syntax for both `cfengine2-mode' and `cfengine3-mode'.
5958 2013-03-20  Juri Linkov  <juri@jurta.org>
5960         * info.el (Info-next-reference-or-link)
5961         (Info-prev-reference-or-link): New functions.
5962         (Info-next-reference, Info-prev-reference): Use them.
5963         (Info-try-follow-nearest-node): Handle footnote navigation.
5964         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
5966 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5968         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5969         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5971 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
5973         Suppress unnecessary non-ASCII chatter during build process.
5974         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5975         (batch-skkdic-convert): Suppress most of the chatter.
5976         It's not needed so much now that machines are faster,
5977         and its non-ASCII component was confusing; see Dmitry Gutov in
5978         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5980 2013-03-20  Leo Liu  <sdl.web@gmail.com>
5982         * ido.el (ido-chop): Fix bug#10994.
5984 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
5986         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5987         Remove vars.
5988         (whitespace-color-on, whitespace-color-off):
5989         Use `font-lock-fontify-buffer' (Bug#13817).
5991 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5993         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5994         remapping in mode-line.
5995         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5997 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
5999         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6000         value for `whitespace-line' face (Bug#13875).
6001         (whitespace-font-lock-keywords): Change description.
6002         (whitespace-color-on): Don't save `font-lock-keywords' value, save
6003         the constructed keywords instead.
6004         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6006 2013-03-19  Leo Liu  <sdl.web@gmail.com>
6008         * progmodes/compile.el (compilation-display-error): New command.
6009         (compilation-mode-map, compilation-minor-mode-map): Bind it to
6010         C-o.  (Bug#13992)
6012 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6014         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6016 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
6018         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6020 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
6022         * net/tramp-compat.el (tramp-compat-user-error): New defun.
6024         * net/tramp-adb.el (tramp-adb-handle-shell-command):
6025         * net/tramp-gvfs.el (top):
6026         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6027         (tramp-handle-shell-command): Use it.
6028         (tramp-dissect-file-name): Raise an error when hostname is a
6029         method name, and neither method nor user is specified.
6031         * net/trampver.el: Update release number.
6033 2013-03-18  Leo Liu  <sdl.web@gmail.com>
6035         Make sure eldoc can be turned off properly.
6036         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6037         eldoc-mode.
6038         (eldoc-display-message-p): Revert last change.
6039         (eldoc-display-message-no-interference-p)
6040         (eldoc-print-current-symbol-info): Tweak.
6042 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
6044         * doc-view.el (doc-view-new-window-function): Check the new window
6045         overlay's display property instead the char property of the
6046         buffer's first char.  Use `with-selected-window' instead of
6047         `save-window-excursion' with `select-window'.
6048         (doc-view-document->bitmap): Check the current doc-view overlay's
6049         display property instead the char property of the buffer's first char.
6051 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6053         Automate the build of ja-dic.el (Bug#13984).
6054         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6055         from the input, rather than assume that it's been done for us by the
6056         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
6057         the current date into a ja-dic.el comment, as that complicates
6058         regression testing.
6060 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6062         * whitespace.el: Fix double evaluation.
6063         (whitespace-space, whitespace-hspace, whitespace-tab)
6064         (whitespace-newline, whitespace-trailing, whitespace-line)
6065         (whitespace-space-before-tab, whitespace-indentation)
6066         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6067         obsolete defvars.
6068         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6069         (whitespace-color-on): Use a single font-lock-add-keywords call.
6070         Fix double-evaluation of face variables.
6072 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
6074         * net/tramp-adb.el (tramp-adb-parse-device-names):
6075         Use `start-process' instead of `call-process'.  Otherwise, the
6076         function might be blocked under MS Windows.  (Bug#13299)
6078 2013-03-17  Leo Liu  <sdl.web@gmail.com>
6080         Extend eldoc to display info in the mode-line.  (Bug#13978)
6081         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6082         (eldoc-mode-line-string): New variable.
6083         (eldoc-minibuffer-message): New function.
6084         (eldoc-message-function): New variable.
6085         (eldoc-message): Use it.
6086         (eldoc-display-message-p)
6087         (eldoc-display-message-no-interference-p):
6088         Support eldoc-post-insert-mode.
6090         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6091         (eval-expression): Run it.
6093 2013-03-17  Roland Winkler  <winkler@gnu.org>
6095         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6096         strings in the list of return values.
6098 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
6100         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6101         radix before checking for HMS forms.
6103 2013-03-16  Leo Liu  <sdl.web@gmail.com>
6105         * progmodes/scheme.el: Add indentation and font-locking for λ.
6106         (Bug#13975)
6108 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6110         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6111         token before point (bug#13942).
6113 2013-03-16  Leo Liu  <sdl.web@gmail.com>
6115         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
6117 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
6119         * startup.el (command-line-normalize-file-name): Fix handling of
6120         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
6121         <xfq.free@gmail.com> in
6122         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6124 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
6126         Sync with Tramp 2.2.7.
6128         * net/trampver.el: Update release number.
6130 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
6132         * doc-view.el Fix bug#13887.
6133         (doc-view-insert-image): Don't modify overlay associated to
6134         non-live windows, and implement horizontal centering of image in
6135         case it's smaller than the window.
6136         (doc-view-new-window-function): Force redisplay of new windows on
6137         doc-view buffers.
6139 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
6141         * saveplace.el (save-place-alist-to-file): Don't sort
6142         `save-place-alist', just pretty-print it (bug#13882).
6144 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
6146         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6147         Check whether `default-file-name-coding-system' is bound.
6148         It isn't in XEmacs.
6150 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6152         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6153         backquotes for `obsolete' (bug#13929).
6155         * international/mule.el (find-auto-coding): Include file name in
6156         obsolescence warning (bug#13922).
6158 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
6160         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6161         for CFEngine 3-specific indentation.
6162         (cfengine3-indent-line): Use it.  Fix up category regex.
6163         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6165 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6167         * type-break.el (type-break-file-name):
6168         * textmodes/remember.el (remember-data-file):
6169         * strokes.el (strokes-file):
6170         * shadowfile.el (shadow-initialize):
6171         * saveplace.el (save-place-file):
6172         * ps-bdf.el (bdf-cache-file):
6173         * progmodes/idlwave.el (idlwave-config-directory):
6174         * net/quickurl.el (quickurl-url-file):
6175         * international/kkc.el (kkc-init-file-name):
6176         * ido.el (ido-save-directory-list-file):
6177         * emulation/viper.el (viper-custom-file-name):
6178         * emulation/vip.el (vip-startup-file):
6179         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6180         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6182 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
6184         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6185         * language/thai-word.el: Switch to UTF-8.
6187 See ChangeLog.16 for earlier changes.
6189 ;; Local Variables:
6190 ;; coding: utf-8
6191 ;; End:
6193   Copyright (C) 2011-2013 Free Software Foundation, Inc.
6195   This file is part of GNU Emacs.
6197   GNU Emacs is free software: you can redistribute it and/or modify
6198   it under the terms of the GNU General Public License as published by
6199   the Free Software Foundation, either version 3 of the License, or
6200   (at your option) any later version.
6202   GNU Emacs is distributed in the hope that it will be useful,
6203   but WITHOUT ANY WARRANTY; without even the implied warranty of
6204   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6205   GNU General Public License for more details.
6207   You should have received a copy of the GNU General Public License
6208   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.