* lisp/subr.el (define-error): New function.
[emacs.git] / lisp / ChangeLog
blob7cbf733b45f2e37d860d53ed1047813198e15ee6
1 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * subr.el (define-error): New function.
4         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5         error-file-not-found and define with define-error.
6         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7         and define with define-error.
8         * userlock.el (file-locked, file-supersession):
9         * simple.el (mark-inactive):
10         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11         * progmodes/ada-mode.el (ada-mode-errors):
12         * play/life.el (life-extinct):
13         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
14         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
15         * nxml/rng-util.el (rng-error):
16         * nxml/rng-uri.el (rng-uri-error):
17         * nxml/rng-match.el (rng-compile-error):
18         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
20         * nxml/nxml-rap.el (nxml-scan-error):
21         * nxml/nxml-outln.el (nxml-outline-error):
22         * net/soap-client.el (soap-error):
23         * net/gnutls.el (gnutls-error):
24         * net/ange-ftp.el (ftp-error):
25         * mpc.el (mpc-proc-error):
26         * json.el (json-error, json-readtable-error, json-unknown-keyword)
27         (json-number-format, json-string-escape, json-string-format)
28         (json-key-format, json-object-format):
29         * jka-compr.el (compression-error):
30         * international/quail.el (quail-error):
31         * international/kkc.el (kkc-error):
32         * emacs-lisp/ert.el (ert-test-failed):
33         * calc/calc.el (calc-error, inexact-result, math-overflow)
34         (math-underflow):
35         * bookmark.el (bookmark-error-no-filename):
36         * epg.el (epg-error): Define with define-error.
38         * time.el (display-time-event-handler)
39         (display-time-next-load-average): Don't call sit-for since it seems
40         unnecessary (bug#15045).
42         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
43         Use #' instead of ' to quote functions.
44         (checkdoc-output-mode): Use setq-local.
45         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
46         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
47         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
48         (checkdoc-ispell, checkdoc-ispell-current-buffer)
49         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
50         (checkdoc-ispell-message-text, checkdoc-ispell-start)
51         (checkdoc-ispell-continue, checkdoc-ispell-comments)
52         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
54         * ido.el (ido-completion-help): Fix up compiler warning.
56 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
58         * frameset.el (frameset-p): Add autoload cookie.
59         (frameset--jump-to-register): New function, based on code moved from
60         register.el.
61         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
63         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
64         (frameset-restore, frameset-save, frameset-session-filter-alist):
65         Remove declarations.
66         (register-alist): Doc fix.
67         (frameset-to-register): Move to frameset.el.
68         (jump-to-register, describe-register-1): Remove frameset-specific code.
70 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
72         * allout-widgets.el (allout-widgets-pre-command-business)
73         (allout-widgets-post-command-business)
74         (allout-widgets-after-change-handler)
75         (allout-decorate-item-and-context, allout-set-boundary-marker)
76         (allout-body-modification-handler)
77         (allout-graphics-modification-handler): Mark ignored arguments.
78         (allout-widgets-post-command-business)
79         (allout-widgets-exposure-change-processor)
80         (allout-widgets-exposure-undo-processor)
81         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
82         (allout-parse-item-at-point, allout-decorate-item-guides)
83         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
84         * allout.el (epa-passphrase-callback-function): Declare.
85         (allout-overlay-insert-in-front-handler)
86         (allout-overlay-interior-modification-handler)
87         (allout-isearch-end-handler, allout-chart-siblings)
88         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
89         (allout-yank-processing, allout-process-exposed)
90         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
91         (allout-latex-verbatim-quote-curr-line): Removed unused variables.
92         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
93         (lisp-indent-defform): Mark ignored arguments.
94         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
95         (calculate-lisp-indent): Remove unused variables.
96         * international/characters.el (indian-2-column, arabic-2-column)
97         (tibetan): Mark ignored arguments.
98         (use-cjk-char-width-table): Mark ignored arguments.
99         Remove unused variables.
100         * international/fontset.el (build-default-fontset-data)
101         (x-compose-font-name, create-fontset-from-fontset-spec):
102         Mark ignored arguments.
103         (fontset-plain-name): Remove unused variables.
104         * international/mule.el (charset-id, charset-bytes, generic-char-p)
105         (keyboard-coding-system): Mark ignored arguments.
106         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
107         * help.el (resize-temp-buffer-window):
108         * window.el (display-buffer-in-major-side-window)
109         (display-buffer-in-side-window, display-buffer-in-previous-window):
110         Remove unused variables.
111         * isearch.el (isearch-forward-symbol):
112         * version.el (emacs-bzr-version-bzr):
113         * international/mule-cmds.el (current-language-environment):
114         * term/common-win.el (x-handle-iconic, x-handle-geometry)
115         (x-handle-display):
116         * term/pc-win.el (x-list-fonts, x-display-planes)
117         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
118         (x-server-version, x-display-screens, x-display-mm-height)
119         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
120         (x-selection-owner-p, x-own-selection-internal)
121         (x-disown-selection-internal, x-get-selection-internal)
122         (msdos-initialize-window-system):
123         * term/tty-colors.el (tty-color-alist, tty-color-clear):
124         * term/x-win.el (x-handle-no-bitmap-icon):
125         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
126         (vc-default-find-file-hook, vc-default-extra-menu):
127         Mark ignored arguments.
129 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
131         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
132         break-condition in the context of the debugged code (bug#12685).
134 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
136         * comint.el:
137         Do not use an overlay to highlight the last prompt.  (Bug#14744)
138         (comint-mode): Make comint-last-prompt buffer local.
139         (comint-last-prompt): New variable.
140         (comint-last-prompt-overlay): Remove.  Superseded by
141         comint-last-prompt.
142         (comint-snapshot-last-prompt, comint-output-filter):
143         Use comint-last-prompt.
145 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
147         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
148         (frameset-save): Check validity of the resulting frameset.
150 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
152         * ido.el (ido-record-command): Add doc string.
154 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
156         * frameset.el (frameset): Do not disable creation of the default
157         frameset-p predicate.  Doc fix.
158         (frameset-valid-p): New function, copied from the old predicate-p.
159         Add additional checks.
160         (frameset-restore): Check with frameset-valid-p.
161         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
162         (frameset-name, frameset-description, frameset-properties)
163         (frameset-states): Add docstring.
164         (frameset-session-filter-alist, frameset-persistent-filter-alist)
165         (frameset-filter-alist): Doc fixes.
167 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
169         * frameset.el (frameset-p, frameset-prop): Doc fixes.
171 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
173         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
174         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
175         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
176         (byte-compile-normal-call): Remove obsolescence check.
178 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
180         * frameset.el (frameset-restore): Doc fix.
182         * register.el (frameset-frame-id, frameset-frame-with-id)
183         (frameset-p, frameset-restore, frameset-save): Declare.
184         (register-alist): Document framesets.
185         (frameset-session-filter-alist): Declare.
186         (frameset-to-register): New function.
187         (jump-to-register): Implement jumping to framesets.  Doc fix.
188         (describe-register-1): Describe framesets.
190         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
192 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
194         * desktop.el (desktop-save-frameset): Use new frameset-save args.
195         Use lexical-binding.
197         * frameset.el (frameset): Use type vector, not list (incompatible
198         change).  Do not declare a new constructor, use the default one.
199         Upgrade suggested properties `app', `name' and `desc' to slots `app',
200         `name' and `description', respectively, and add read-only slot
201         `timestamp'.  Doc fixes.
202         (frameset-copy, frameset-persistent-filter-alist)
203         (frameset-filter-alist, frameset-switch-to-gui-p)
204         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
205         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
206         (frameset-filter-iconified, frameset-keep-original-display-p):
207         Doc fixes.
208         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
209         Rename from frameset-filter-(save|restore)-param.  All callers changed.
210         Doc fix.
211         (frameset-p): Adapt to change to vector and be more thorough.
212         Change arg name to OBJECT.  Doc fix.
213         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
214         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
215         All callers changed.
216         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
217         All callers changed.
218         (frameset--record-minibuffer-relationships): Rename from
219         frameset--process-minibuffer-frames.  All callers changed.
220         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
221         Use new default constructor (again).  Doc fix.
222         (frameset--find-frame-if): Rename from `frameset--find-frame.
223         All callers changed.
224         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
225         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
226         Doc fix.
227         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
228         PARAMETERS and WINDOW-STATE, respectively.
229         (frameset-restore): Add new keyword argument PREDICATE.
230         Reset frameset--target-display to nil.  Doc fix.
232 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
234         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
235         (bat-mode): Use it.
236         (bat-mode-syntax-table): Mark \n as end-of-comment.
237         (bat-font-lock-keywords): Remove comment rule.
239         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
240         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
242         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
243         (byte-compile-callargs-warn): Use `push'.
244         (byte-compile-arglist-warn): Ignore higher-order "calls".
245         (byte-compile-file-form-autoload): Use `pcase'.
246         (byte-compile-function-form): If quoting a symbol, check that it exists.
248 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
250         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
251         and add a few popular commands found in batch files.
252         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
253         (dos-mode): Doc fixes.
255 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
257         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
258         (dos-mode): Use setq-local.  Add space after "rem".
259         (dos-mode-syntax-table): Don't use "w" for symbol chars.
260         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
262 2013-08-07  Arni Magnusson  <arnima@hafro.is>
264         * progmodes/dos.el: New file.
265         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
266         dos-mode.
268 2013-08-06  Glenn Morris  <rgm@gnu.org>
270         * calendar/calendar.el: Add new faces, and day-header-array.
271         (calendar-weekday-header, calendar-weekend-header)
272         (calendar-month-header): New faces.
273         (calendar-day-header-construct): New function.
274         (calendar-day-header-width): Also :set calendar-day-header-array.
275         (calendar-american-month-header, calendar-european-month-header)
276         (calendar-iso-month-header): Use calendar- faces.
277         (calendar-generate-month):
278         Use calendar-day-header-array for day headers; apply faces to them.
279         (calendar-mode): Check calendar-font-lock-keywords non-nil.
280         (calendar-abbrev-construct): Add optional maxlen argument.
281         (calendar-day-name-array): Doc fix.
282         (calendar-day-name-array, calendar-abbrev-length)
283         (calendar-day-abbrev-array):
284         Also :set calendar-day-header-array, and maybe redraw.
285         (calendar-day-header-array): New option.  (Bug#15007)
286         (calendar-font-lock-keywords): Set to nil and make obsolete.
287         (calendar-day-name): Add option to use header array.
289 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
291         * net/shr.el (shr-render-td): Remove debugging.
292         (shr-render-td): Make width computation consistent by defaulting
293         all zero-width columns to 10 characters.  This may not be optimal,
294         but it's at least consistent.
295         (shr-make-table-1): Redo last change to fix the real problem in
296         colspan handling.
298 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
300         * files.el (cache-long-line-scans):
301         Make obsolete alias to `cache-long-scans'.
303 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
305         * frameset.el (frameset, frameset-filter-alist)
306         (frameset-filter-params, frameset-save, frameset--reuse-frame)
307         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
308         (frameset-compute-pos): Rename from frameset--compute-pos,
309         and add docstring.
310         (frameset-move-onscreen): Use frameset-compute-pos.
311         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
313         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
314         Fix typos in docstrings.
316 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
318         * frame.el (get-other-frame): Tiny cleanup.
320 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
322         * vc/vc.el (vc-default-ignore-completion-table):
323         Silence byte-compiler warning.
325         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
326         slot , which can indeed be nil.
327         (frameset-live-filter-alist, frameset-persistent-filter-alist):
328         Move entry for `left' from persistent to live filter alist.
329         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
330         Doc fixes.
331         (frameset-filter-params): When restoring a frame, copy items added to
332         `filtered', to avoid unwittingly modifying the original parameters.
333         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
334         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
336         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
337         to use looking-at-p instead of looking-at.  (Bug#15028)
339 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
341         Revert introduction of isearch-filter-predicates (bug#14714).
342         Rely on add-function instead.
343         * isearch.el (isearch-filter-predicates): Rename it back to
344         isearch-filter-predicate.
345         (isearch-message-prefix): Use advice-function-mapc and advice
346         properties to get the isearch-message-prefix.
347         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
348         instead of run-hook-with-args-until-failure.
349         (isearch-filter-visible): Not obsolete any more.
350         * loadup.el: Preload nadvice.
351         * replace.el (perform-replace): Revert to funcall
352         instead of run-hook-with-args-until-failure.
353         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
354         * dired-aux.el (dired-isearch-filenames-mode): Rename from
355         dired-isearch-filenames-toggle; make it into a proper minor mode.
356         Use add/remove-function.
357         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
358         Call the minor-mode rather than add/remove-hook.
359         (dired-isearch-filter-filenames):
360         Remove isearch-message-prefix property.
361         * info.el (Info--search-loop): New function, extracted from Info-search.
362         Funcall isearch-filter-predicate instead of
363         run-hook-with-args-until-failure isearch-filter-predicates.
364         (Info-search): Use it.
365         (Info-mode): Use isearch-filter-predicate instead of
366         isearch-filter-predicates.
368 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
370         Do not call to `selected-window' where it is assumed by default.
371         Affected functions are `window-minibuffer-p', `window-dedicated-p',
372         `window-hscroll', `window-width', `window-height', `window-buffer',
373         `window-frame', `window-start', `window-point', `next-window'
374         and `window-display-table'.
375         * abbrev.el (abbrev--default-expand):
376         * bs.el (bs--show-with-configuration):
377         * buff-menu.el (Buffer-menu-mouse-select):
378         * calc/calc.el (calc):
379         * calendar/calendar.el (calendar-generate-window):
380         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
381         (diary-make-entry):
382         * comint.el (send-invisible, comint-dynamic-complete-filename)
383         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
384         * completion.el (complete):
385         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
386         * disp-table.el (describe-current-display-table):
387         * doc-view.el (doc-view-insert-image):
388         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
389         * ehelp.el (with-electric-help):
390         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
391         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
392         * emacs-lisp/helper.el (Helper-help-scroller):
393         * emulation/cua-base.el (cua--post-command-handler-1):
394         * eshell/esh-mode.el (eshell-output-filter):
395         * ffap.el (ffap-gnus-wrapper):
396         * help-macro.el (make-help-screen):
397         * hilit-chg.el (highlight-compare-buffers):
398         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
399         * hl-line.el (global-hl-line-highlight):
400         * icomplete.el (icomplete-simple-completing-p):
401         * isearch.el (isearch-done):
402         * jit-lock.el (jit-lock-stealth-fontify):
403         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
404         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
405         * mpc.el (mpc-tagbrowser, mpc):
406         * net/rcirc.el (rcirc-any-buffer):
407         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
408         * play/landmark.el (landmark-max-width, landmark-max-height):
409         * play/zone.el (zone):
410         * progmodes/compile.el (compilation-goto-locus):
411         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
412         * progmodes/etags.el (find-tag-other-window):
413         * progmodes/fortran.el (fortran-column-ruler):
414         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
415         * progmodes/verilog-mode.el (verilog-point-text):
416         * reposition.el (reposition-window):
417         * rot13.el (toggle-rot13-mode):
418         * server.el (server-switch-buffer):
419         * shell.el (shell-dynamic-complete-command)
420         (shell-dynamic-complete-environment-variable):
421         * simple.el (insert-buffer, set-selective-display)
422         (delete-completion-window):
423         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
424         (speedbar-recenter):
425         * startup.el (fancy-splash-head):
426         * textmodes/ispell.el (ispell-command-loop):
427         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
428         * tutorial.el (help-with-tutorial):
429         * vc/add-log.el (add-change-log-entry):
430         * vc/compare-w.el (compare-windows):
431         * vc/ediff-help.el (ediff-indent-help-message):
432         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
433         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
434         (ediff-setup-control-frame):
435         * vc/emerge.el (emerge-position-region):
436         * vc/pcvs-util.el (cvs-bury-buffer):
437         * window.el (walk-windows, mouse-autoselect-window-select):
438         * winner.el (winner-set-conf, winner-undo): Related users changed.
440 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
442         * frameset.el (frameset--set-id): Doc fix.
443         (frameset-frame-id, frameset-frame-id-equal-p)
444         (frameset-locate-frame-id): New functions.
445         (frameset--process-minibuffer-frames, frameset--reuse-frame)
446         (frameset-restore): Use them.
448 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
450         Do not call to `selected-frame' where it is assumed by default.
451         Affected functions are `raise-frame', `redraw-frame',
452         `frame-first-window', `frame-terminal' and `delete-frame'.
453         * calendar/appt.el (appt-disp-window):
454         * epg.el (epg-wait-for-completion):
455         * follow.el (follow-delete-other-windows-and-split)
456         (follow-avoid-tail-recenter):
457         * international/mule.el (set-terminal-coding-system):
458         * mail/rmail.el (rmail-mail-return):
459         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
460         * progmodes/f90.el (f90-add-imenu-menu):
461         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
462         * server.el (server-switch-buffer):
463         * simple.el (delete-completion-window):
464         * talk.el (talk):
465         * term/xterm.el (terminal-init-xterm-modify-other-keys)
466         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
467         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
468         * vc/ediff.el (ediff-documentation): Related users changed.
469         * frame.el (selected-terminal): Remove the leftover.
471 2013-08-05  Glenn Morris  <rgm@gnu.org>
473         * calendar/calendar.el (calendar-generate-month):
474         Fix for calendar-column-width != 1 + calendar-day-digit-width.
475         (calendar-generate-month, calendar-font-lock-keywords):
476         Fix for calendar-day-header-width > length of any day name.
478 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
480         * desktop.el (desktop-clear): Use new name of sort predicate.
482         * frameset.el (frameset): Add docstring.  Move :version property to its
483         own `version' slot.
484         (frameset-copy): Rename from copy-frameset.
485         (frameset-p): Check more thoroughly.
486         (frameset-prop): Do not check for :version, which is no longer a prop.
487         (frameset-live-filter-alist, frameset-persistent-filter-alist):
488         Use new :never value instead of t.
489         (frameset-filter-alist): Expand and clarify docstring.
490         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
491         (frameset-filter-minibuffer, frameset-filter-save-param)
492         (frameset-filter-restore-param, frameset-filter-iconified):
493         Add pointer to docstring of frameset-filter-alist.
494         (frameset-filter-params): Rename filter values to be more meaningful:
495         :never instead of t, and reverse the meanings of :save and :restore.
496         (frameset--process-minibuffer-frames): Clarify error message.
497         (frameset-save): Avoid unnecessary and confusing call to framep.
498         Use new BOA constructor for framesets.
499         (frameset--reuse-list): Doc fix.
500         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
501         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
502         (frameset-minibufferless-first-p): Doc fix.
503         Rename from frameset-sort-frames-for-deletion.
504         (frameset-restore): Doc fixes.  Use new function names.
505         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
507 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
509         * desktop.el (desktop-restore-forces-onscreen)
510         (desktop-restore-reuses-frames): Document :keyword constant values.
511         (desktop-filter-parameters-alist): Remove, now identical to
512         frameset-filter-alist.
513         (desktop--filter-tty*): Remove, moved to frameset.el.
514         (desktop-save-frameset, desktop-restore-frameset):
515         Do not pass :filters argument.
517         * frameset.el (frameset-live-filter-alist)
518         (frameset-persistent-filter-alist): New variables.
519         (frameset-filter-alist): Use them.  Add autoload cookie.
520         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
521         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
522         `frameset--id' (it's supposed to be internal to frameset.el).
523         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
524         (frameset--initial-params): New function.
525         (frameset--get-frame): Use it.  Doc fix.
526         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
527         Accept :all, not 'all.
528         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
529         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
530         with fbound symbols.  Fix frame id matching, and remove matching ids if
531         the frame being restored is deleted.  Obey :delete.
533 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
535         * subr.el (macrop): New function.
536         (text-clone--maintaining): New var.
537         (text-clone--maintain): Rename from text-clone-maintain.  Use it
538         instead of inhibit-modification-hooks.
540         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
541         a proxy, so as handle autoloads and redefinitions of the target.
542         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
544         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
545         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
546         (pcase--mutually-exclusive-p): New function.
547         (pcase--split-consp): Use it.
548         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
549         mutually exclusive with the current predicate.
551         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
552         (edebug-macrop): Remove.  Use `macrop' instead.
553         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
554         (ad-macro-p):
555         * eshell/esh-cmd.el (eshell-macrop):
556         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
558 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
560         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
561         (advice-mapc): New function, using it.
562         (advice-function-member-p): New function.
563         (advice--normalize): Store the cdr in advice--saved-rewrite since
564         that's the part that will be changed.
565         (advice--symbol-function): New function.
566         (advice-remove): Handle removal before the function is defined.
567         Adjust to new advice--saved-rewrite.
568         (advice-member-p): Use advice-function-member-p and
569         advice--symbol-function.
571 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
573         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
574         (frameset-filter-minibuffer): Doc fix.
575         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
576         (frameset--set-id, frameset--process-minibuffer-frames)
577         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
578         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
580         * desktop.el (desktop-clear): Only delete frames when called
581         interactively and desktop-restore-frames is non-nil.  Doc fix.
582         (desktop-read): Set desktop-saved-frameset to nil.
584 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
586         * vc/vc.el (vc-ignore): Rewrite.
587         (vc-default-ignore-completion-table):
588         (vc--read-lines):
589         (vc--add-line, vc--remove-regexp): New functions.
591         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
592         (vc-svn-ignore-completion-table): New function.
594         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
595         (vc-hg-ignore-completion-table):
596         (vc-hg-find-ignore-file): New functions.
598         * vc/vc-git.el (vc-git-ignore): Rewrite.
599         (vc-git-ignore-completion-table):
600         (vc-git-find-ignore-file): New functions.
602         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
604         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
605         (vc-bzr-ignore-completion-table):
606         (vc-bzr-find-ignore-file): New functions.
608 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
610         * frameset.el (frameset-prop): New function and setter.
611         (frameset-save): Do not modify frame list passed by the caller.
613 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
615         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
617 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
619         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
620         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
622         * custom.el (custom-initialize-default, custom-initialize-set)
623         (custom-initialize-reset, custom-initialize-changed): Affect the
624         toplevel-default-value (bug#6275, bug#14586).
625         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
626         for bug#6275.
628 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
630         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
631         Add cl-def* expressions.
633         * frameset.el (frameset-filter-params): Fix order of arguments.
635 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
637         Move code related to saving frames to frameset.el.
638         * desktop.el: Require frameset.
639         (desktop-restore-frames): Doc fix.
640         (desktop-restore-reuses-frames): Rename from
641         desktop-restoring-reuses-frames.
642         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
643         (desktop-clear): Clear frames too.
644         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
645         (desktop--filter-tty*, desktop-save, desktop-read):
646         Use frameset functions.
647         (desktop-before-saving-frames-functions, desktop--filter-*-color)
648         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
649         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
650         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
651         (desktop--process-minibuffer-frames, desktop-save-frames)
652         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
653         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
654         (desktop--sort-states, desktop-restoring-frames-p)
655         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
656         (desktop-restoring-frameset-p, desktop-restore-frameset)
657         (desktop--check-dont-save, desktop-save-frameset): New functions.
658         (desktop--app-id): New constant.
659         (desktop-first-buffer, desktop-buffer-ok-count)
660         (desktop-buffer-fail-count): Move before first use.
661         * frameset.el: New file.
663 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
665         * files.el: Use lexical-binding.
666         (dir-locals-read-from-file): Remove unused `err' variable.
667         (hack-dir-local-variables--warned-coding): New var.
668         (hack-dir-local-variables): Use it to avoid repeated warnings.
669         (make-backup-file-name--default-function): New function.
670         (make-backup-file-name-function): Use it as default.
671         (buffer-stale--default-function): New function.
672         (buffer-stale-function): Use it as default.
673         (revert-buffer-insert-file-contents--default-function): New function.
674         (revert-buffer-insert-file-contents-function): Use it as default.
675         (insert-directory): Avoid add-to-list.
677         * autorevert.el (auto-revert-handler): Simplify.
678         Use buffer-stale--default-function.
680 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
682         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
684         * whitespace.el (whitespace-ensure-local-variables): New function.
685         (whitespace-cleanup-region): Call it.
686         (whitespace-turn-on): Call it.
688 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
690         Complete file name handlers.
692         * net/tramp.el (tramp-handle-set-visited-file-modtime)
693         (tramp-handle-verify-visited-file-modtime)
694         (tramp-handle-file-notify-rm-watch): New functions.
695         (tramp-call-process): Do not bind `default-directory'.
697         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
698         Order alphabetically.
699         [access-file, add-name-to-file, dired-call-process]:
700         [dired-compress-file, file-acl, file-notify-rm-watch]:
701         [file-ownership-preserved-p, file-selinux-context]:
702         [make-directory-internal, make-symbolic-link, set-file-acl]:
703         [set-file-selinux-context, set-visited-file-modtime]:
704         [verify-visited-file-modtime]: Add handler.
705         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
707         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
708         [file-notify-add-watch, file-notify-rm-watch]:
709         [set-file-times, set-visited-file-modtime]:
710         [verify-visited-file-modtime]: Add handler.
711         (with-tramp-gvfs-error-message)
712         (tramp-gvfs-handle-set-visited-file-modtime)
713         (tramp-gvfs-fuse-file-name): Remove.
714         (tramp-gvfs-handle-file-notify-add-watch)
715         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
716         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
718         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
719         Order alphabetically.
720         [file-notify-rm-watch ]: Use default Tramp handler.
721         [executable-find]: Remove private handler.
722         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
723         `default-directory'.
724         (tramp-sh-handle-executable-find)
725         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
726         (tramp-sh-file-gvfs-monitor-dir-process-filter)
727         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
728         Do not use `format' in `tramp-message'.
730         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
731         [file-notify-rm-watch, set-visited-file-modtime]:
732         [verify-visited-file-modtime]: Add handler.
733         (tramp-smb-call-winexe): Do not bind `default-directory'.
735 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
737         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
739 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
741         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
742         use it.
743         (log-view-diff-changeset): Same.
744         (log-view-diff-common): Call backend command `previous-revision'
745         to find out the previous revision, in both cases.  Swap the
746         variables `to' and `fr', so that `fr' usually refers to the
747         earlier revision (Bug#14989).
749 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
751         * ibuf-ext.el (ibuffer-filter-by-filename):
752         Make it work with dired buffers too.
754 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
756         * emacs-lisp/re-builder.el (reb-color-display-p):
757         * files.el (save-buffers-kill-terminal):
758         * net/browse-url.el (browse-url):
759         * server.el (server-save-buffers-kill-terminal):
760         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
761         Prefer nil to selected-frame for the first arg of frame-parameter.
763 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
765         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
767 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
769         * minibuffer.el (completion--twq-all): Try and preserve each
770         completion's case choice (bug#14907).
772 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
774         * net/network-stream.el (open-network-stream): Mention the new
775         :nogreeting parameter.
776         (network-stream-open-starttls): Use the :nogreeting parameter
777         (bug#14938).
779         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
781         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
782         more natural than popping.
784         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
785         (shr-urlify): Highlight under mouse.
787 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
789         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
791         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
793         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
794         buffer for output.
796         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
797         point-min==1.  Fix search string.  Fix parentheses missing.
799         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
800         assume point-min==1.  Fix search string.  Fix parentheses missing.
802         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
804         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
805         buffer for output.
807 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
809         * frame.el (frame-notice-user-settings): Avoid inflooping when the
810         initial frame is minibuffer-less.  (Bug#14841)
812 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
814         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
815         option.
817         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
818         (tramp-maybe-open-connection): Use it.
820 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
822         * desktop.el (desktop--make-frame): Include `minibuffer' in the
823         minimal set of parameters passed when creating a frame, because
824         the minibuffer status of a frame cannot be changed later.
826 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
828         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
829         replace-regexp-in-string and inadvertent omissions in previous change.
830         (todo-filter-items): Ensure only file names are comma-separated in
831         name of filtered items buffer.
833 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
835         * desktop.el: Optionally force offscreen frames back onscreen.
836         (desktop-restoring-reuses-frames): New option.
837         (desktop--compute-pos, desktop--move-onscreen): New functions.
838         (desktop--make-frame): Use desktop--move-onscreen.
840 2013-07-27  Alan Mackenzie  <acm@muc.de>
842         Fontify a Java generic method as a function.
843         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
844         value to t.
846 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
848         * calendar/todo-mode.el: Add command to rename todo files.
849         (todo-rename-file): New command.
850         (todo-key-bindings-t): Add key binding for it.  Change the
851         bindings of todo-filter-regexp-items(-multifile) to use `x'
852         instead of `r', since the latter is better suited to the new
853         renaming command.
855 2013-07-27  Alan Mackenzie  <acm@muc.de>
857         Make Java try-with-resources statement parse properly.
858         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
859         (c-block-stmt-1-2-key): New language constants/variables.
860         * progmodes/cc-engine.el (c-beginning-of-statement-1)
861         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
862         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
863         with c-block-stmt-1-2-key.
865 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
867         * desktop.el (desktop--make-frame): Apply most frame parameters after
868         creating the frame to force (partially or totally) offscreen frames to
869         be restored as such.
871 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
873         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
874         (Bug#14948)
876 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
878         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
879         `base' arg of backtrace-frame.
881 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
883         * simple.el (list-processes): Doc fix.
885 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
887         * desktop.el (desktop--select-frame):
888         Try harder to reuse existing frames.
890 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
892         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
893         (edebug-eval): Use backtrace-eval.
894         (edebug--display, edebug--recursive-edit): Don't let-bind the
895         edebug-outer-* vars that keep track of variables we locally let-bind.
896         (edebug-outside-excursion): Don't restore outside values of locally
897         let-bound vars.
898         (edebug--display): Use user-error.
899         (cl-lexical-debug, cl-debug-env): Remove.
901 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
903         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
904         are restored to be sure that they are visible before deleting any
905         remaining ones.
907 2013-07-26  Matthias Meulien  <orontee@gmail.com>
909         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
910         vc-print-root-log.  (Bug#14948)
912 2013-07-26  Richard Stallman  <rms@gnu.org>
914         Add aliases for encrypting mail.
915         * epa.el (epa-mail-aliases): New option.
916         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
917         Bind inhibit-read-only so read-only text doesn't ruin everything.
918         (epa-mail-default-recipients): New subroutine broken out.
919         Handle epa-mail-aliases.
921 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
923         Add support for lexical variables to the debugger's `e' command.
924         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
925         vars, except for debugger-outer-match-data.
926         (debugger-frame-number): Move check for "on a function call" from
927         callers into it.  Add `skip-base' argument.
928         (debugger-frame, debugger-frame-clear): Simplify accordingly.
929         (debugger-env-macro): Only reset the state stored in non-variables,
930         i.e. current-buffer and match-data.
931         (debugger-eval-expression): Rewrite using backtrace-eval.
932         * subr.el (internal--called-interactively-p--get-frame): Remove.
933         (called-interactively-p):
934         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
935         `base' arg of backtrace-frame instead.
937 2013-07-26  Glenn Morris  <rgm@gnu.org>
939         * align.el (align-regexp): Doc fix.  (Bug#14857)
940         (align-region): Explicit error if subexpression missing/does not match.
942         * simple.el (global-visual-line-mode):
943         Do not duplicate the mode lighter.  (Bug#14858)
945 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
947         * window.el (display-buffer): In display-buffer bind
948         split-window-keep-point to t, bug#14829.
950 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
952         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
953         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
954         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
955         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
956         Change accordingly.
957         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
958         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
960 2013-07-25  Glenn Morris  <rgm@gnu.org>
962         * dired-x.el (dired-mark-extension): Convert comment to doc string.
964 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
966         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
967         parameter to modify-frame-parameters if the value has not changed;
968         this is a workaround for bug#14949.
969         (desktop--make-frame): On cl-delete-if call, check parameter name,
970         not full parameter.
972 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
974         * vc/vc.el (vc-ignore): New function.
976         * vc/vc-svn.el (vc-svn-ignore): New function.
978         * vc/vc-hg.el (vc-hg-ignore): New function.
980         * vc/vc-git.el (vc-git-ignore): New function.
982         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
983         (vc-dir-ignore): New function.
985         * vc/vc-cvs.el (vc-cvs-ignore): New function.
986         (cvs-append-to-ignore): Move here from pcvs.el.
988         * vc/vc-bzr.el (vc-bzr-ignore): New function.
990         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
992 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
994         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
995         (desktop-restore-frames): Warn when deleting an existing frame failed.
997 2013-07-24  Glenn Morris  <rgm@gnu.org>
999         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
1001 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
1003         * filenotify.el (file-notify-supported-p):
1004         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1005         Remove functions.
1007         * autorevert.el (auto-revert-use-notify):
1008         (auto-revert-notify-add-watch):
1009         * net/tramp.el (tramp-file-name-for-operation):
1010         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1011         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1012         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1013         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1014         Remove `file-notify-supported-p' entry.
1016 2013-07-24  Glenn Morris  <rgm@gnu.org>
1018         * printing.el: Replace all uses of deleted ps-windows-system,
1019         ps-lp-system, ps-flatten-list with lpr- versions.
1021 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1023         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1024         checked with memq (bug#14935).
1026         * files.el (revert-buffer-function): Use a non-nil default.
1027         (revert-buffer-preserve-modes): Declare var to
1028         provide access to the `preserve-modes' argument.
1029         (revert-buffer): Let-bind it.
1030         (revert-buffer--default): New function, extracted from revert-buffer.
1032 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1034         * lpr.el: Signal print errors more prominently.
1035         (print-region-function): Don't default to nil.
1036         (lpr-print-region): New function, extracted from print-region-1.
1037         Check lpr's return value and signal an error in case of problem.
1038         (print-region-1): Use it.
1039         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
1040         versions instead.
1041         (ps-printer-name): Default to nil.
1042         (ps-printer-name-option): Default to lpr-printer-switch.
1043         (ps-print-region-function): Don't default to nil.
1044         (ps-postscript-code-directory): Simplify default.
1045         (ps-do-despool): Use lpr-print-region to properly check the outcome.
1046         (ps-string-list, ps-eval-switch, ps-flatten-list)
1047         (ps-flatten-list-1): Remove.
1048         (ps-multibyte-buffer): Avoid setq.
1049         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1050         (print-region-function, ps-print-region-function): Don't set them here.
1052 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
1054         * ido.el (ido-fractionp):
1055         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1056         (ido-max-file-prompt-width, ido-unc-hosts-cache)
1057         (ido-max-directory-size, ido-max-dir-file-cache)
1058         (ido-decorations): Doc fix.
1060         * ansi-color.el: Fix old URL.
1062 2013-07-23  Michael R. Mauger  <michael@mauger.com>
1064         * progmodes/sql.el Version 3.3
1065         (sql-product-alist): Improve oracle :prompt-cont-regexp.
1066         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1067         (sql-interactive-remove-continuation-prompt): Rewrite, use
1068         functions above.  Fix continuation prompt and complete output line
1069         handling.
1070         (sql-redirect-one, sql-execute): Use `read-only-mode' on
1071         redirected output buffer.
1072         (sql-mode): Restore deleted code (Bug#13591).
1074 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
1076         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1078 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
1080         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1082         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1083         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1084         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1086 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
1088         * desktop.el (desktop-clear): Simplify; remove useless checks
1089         against invalid buffer names.
1090         (desktop-list*): Use cl-list*.
1091         (desktop-buffer-info, desktop-create-buffer): Simplify.
1093 2013-07-23  Leo Liu  <sdl.web@gmail.com>
1095         * bookmark.el (bookmark-make-record): Restore NAME as a default
1096         value.  (Bug#14933)
1098 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1100         * emacs-lisp/autoload.el (autoload--setup-output): New function,
1101         extracted from autoload--insert-text.
1102         (autoload--insert-text): Remove.
1103         (autoload--print-cookie-text): New function, extracted from
1104         autoload--insert-cookie-text.
1105         (autoload--insert-cookie-text): Remove.
1106         (autoload-generate-file-autoloads): Adjust calls accordingly.
1108         * winner.el (winner-hook-installed-p): Remove.
1109         (winner-mode): Simplify accordingly.
1111         * subr.el (add-to-list): Fix compiler-macro when `append' is
1112         not constant.  Don't use `cl-member' for the base case.
1114         * progmodes/subword.el: Fix boundary case (bug#13758).
1115         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
1116         own group.
1117         (subword-backward-regexp): Make it a constant.
1118         (subword-forward-internal): Don't treat a trailing capital as the
1119         beginning of a word.
1121 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
1123         * emacs-lisp/package.el (package-menu-mode): Don't modify the
1124         global value of tabulated-list-revert-hook (bug#14930).
1126 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
1128         * desktop.el: Require 'cl-lib.
1129         (desktop-before-saving-frames-functions): New hook.
1130         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1131         for frames being saved.  Rename from desktop--save-minibuffer-frames.
1132         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1133         Do not save frames with non-nil `desktop-dont-save' parameter.
1134         Filter out deleted frames.
1135         (desktop--find-frame): Use cl-find-if.
1136         (desktop--select-frame): Use cl-(first|second|third) to access values
1137         of desktop-mini.
1138         (desktop--make-frame): Use cl-delete-if.
1139         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1140         (desktop-restore-frames): Use cl-(first|second|third) to access values
1141         of desktop-mini.  Look for visible frame at the end, not while
1142         restoring frames.
1144         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1145         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1146         Use string-match-p, looking-at-p (bug#14927).
1148 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
1150         * desktop.el (desktop-saved-frame-states):
1151         Rename from desktop--saved-states; all users changed.
1152         (desktop-save-frames): Rename from desktop--save-frames.
1153         Do not save state to desktop file.
1154         (desktop-save): Save desktop-saved-frame-states to desktop file
1155         and reset to nil.
1156         (desktop-restoring-frames-p): New function.
1157         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
1158         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
1159         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
1161         * desktop.el: Correctly restore iconified frames.
1162         (desktop--filter-iconified-position): New function.
1163         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1165 2013-07-20  Glenn Morris  <rgm@gnu.org>
1167         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1168         Let `message' do the formatting.
1169         (def-gdb-preempt-display-buffer): Add explicit format.
1171         * image-dired.el (image-dired-track-original-file):
1172         Use with-current-buffer.
1173         (image-dired-track-thumbnail): Use with-current-buffer.
1174         Avoid changing point of wrong window.
1176         * image-dired.el (image-dired-track-original-file):
1177         Avoid changing point of wrong window.  (Bug#14909)
1179 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
1181         * progmodes/gdb-mi.el (gdb-done-or-error):
1182         Guard against "%" in gdb output.  (Bug#14127)
1184 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
1186         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1187         (Bug#14826)
1189         * international/mule.el (coding-system-iso-2022-flags): Fix last
1190         change.
1192 2013-07-20  Kenichi Handa  <handa@gnu.org>
1194         * international/mule.el (coding-system-iso-2022-flags):
1195         Add `8-bit-level-4'.  (Bug#8522)
1197 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1199         * net/shr.el (shr-mouse-browse-url): New command and keystroke
1200         (bug#14815).
1202         * net/eww.el (eww-process-text-input): Allow inputting when the
1203         point is at the start of the line, as the properties aren't
1204         front-sticky.
1206         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1207         degenerate widths.
1209 2013-07-19  Richard Stallman  <rms@gnu.org>
1211         * epa.el (epa-popup-info-window): Doc fix.
1213         * subr.el (split-string): New arg TRIM.
1215 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
1217         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1218         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1220 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
1222         * filenotify.el (file-notify--library): Rename from
1223         `file-notify-support'.  Do not autoload.  Adapt all uses.
1224         (file-notify-supported-p): New defun.
1226         * autorevert.el (auto-revert-use-notify):
1227         Use `file-notify-supported-p' instead of `file-notify-support'.
1228         Adapt docstring.
1229         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1231         * net/tramp.el (tramp-file-name-for-operation):
1232         Add `file-notify-supported-p'.
1234         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1235         New defun.
1236         (tramp-sh-file-name-handler-alist): Add it as handler for
1237         `file-notify-supported-p '.
1239         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1240         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1241         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1242         Add `ignore' as handler for `file-notify-*' functions.
1244 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
1246         * simple.el (line-move-partial, line-move): Don't start vscroll or
1247         scroll-up if the current line is not taller than the window.
1248         (Bug#14881)
1250 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
1252         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1253         highlight question marks in the method names as strings.
1254         (ruby-block-beg-keywords): Inline.
1255         (ruby-font-lock-keyword-beg-re): Extract from
1256         `ruby-font-lock-keywords'.
1258 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
1260         * frame.el (blink-cursor-blinks): New defcustom.
1261         (blink-cursor-blinks-done): New defvar.
1262         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1263         (blink-cursor-timer-function): Check if number of blinks has been
1264         done on X and NS.
1265         (blink-cursor-suspend, blink-cursor-check): New defuns.
1267 2013-07-15  Glenn Morris  <rgm@gnu.org>
1269         * edmacro.el (edmacro-format-keys): Fix previous change.
1271 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
1273         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1274         The hack didn't work outside English locales anyway.
1276 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
1278         * simple.el (define-alternatives): Rename from alternatives-define,
1279         per RMS' suggestion.
1281 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
1283         * desktop.el (desktop-restore-frames): Change default to t.
1284         (desktop-restore-in-current-display): Now offer more options.
1285         (desktop-restoring-reuses-frames): New customization option.
1286         (desktop--saved-states): Doc fix.
1287         (desktop-filter-parameters-alist): New variable, renamed and expanded
1288         from desktop--excluded-frame-parameters.
1289         (desktop--target-display): New variable.
1290         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1291         (desktop--filter-tty*, desktop--filter-*-color)
1292         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1293         (desktop--filter-save-desktop-parm)
1294         (desktop-restore-in-original-display-p): New functions.
1295         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1296         (desktop--save-minibuffer-frames): New function, inspired by a similar
1297         function from Martin Rudalics.
1298         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1299         (desktop--restore-in-this-display-p): Remove.
1300         (desktop--find-frame): Rename from desktop--find-frame-in-display
1301         and add predicate argument.
1302         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1303         (desktop--reuse-list): New variable.
1304         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1305         New functions.
1306         (desktop--restore-frames): Add support for "minibuffer-special" frames.
1308 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
1310         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1312 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
1314         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1315         Highlight conversion methods on Kernel.
1317 2013-07-13  Alan Mackenzie  <acm@muc.de>
1319         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1320         and comment it out.  This out-commenting enables certain C++
1321         declarations to be parsed correctly.
1323 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
1325         * international/mule.el (define-coding-system): Doc fix.
1327         * simple.el (default-font-height): Don't call font-info if the
1328         frame's default font didn't change since the frame was created.
1329         (Bug#14838)
1331 2013-07-13  Leo Liu  <sdl.web@gmail.com>
1333         * ido.el (ido-read-file-name): Guard against non-symbol value.
1335 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1337         * progmodes/python.el (python-imenu--build-tree): Fix corner case
1338         in nested defuns.
1340 2013-07-13  Leo Liu  <sdl.web@gmail.com>
1342         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1343         ido-set-matches call.  (Bug#6852)
1345 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
1347         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1348         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1349         Ruby 2.0.
1350         (ruby-font-lock-keywords): Distinguish calls to functions with
1351         module-like names from module references.  Highlight character
1352         literals.
1354 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
1356         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1357         (gdb-send): Handle continued commands.  (Bug#14847)
1359 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
1361         * desktop.el (desktop--v2s): Remove unused local variable.
1362         (desktop-save-buffer): Make defvar-local; adjust docstring.
1363         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1364         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1366 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
1368         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1370 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
1372         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1373         (Bug#14842)
1375 2013-07-12  Glenn Morris  <rgm@gnu.org>
1377         * doc-view.el: Require cl-lib at runtime too.
1378         (doc-view-remove-if): Remove.
1379         (doc-view-search-next-match, doc-view-search-previous-match):
1380         Use cl-remove-if.
1382         * edmacro.el: Require cl-lib at runtime too.
1383         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1384         (edmacro-mismatch, edmacro-subseq): Remove.
1386         * shadowfile.el: Require cl-lib.
1387         (shadow-remove-if): Remove.
1388         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1389         Use cl-remove-if.
1391         * wid-edit.el: Require cl-lib.
1392         (widget-choose): Use cl-remove-if.
1393         (widget-remove-if): Remove.
1395         * progmodes/ebrowse.el: Require cl-lib at runtime too.
1396         (ebrowse-delete-if-not): Remove.
1397         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1398         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1399         Use cl-delete-if-not.
1401 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
1403         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1404         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1406 2013-07-12  Leo Liu  <sdl.web@gmail.com>
1408         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
1410 2013-07-11  Glenn Morris  <rgm@gnu.org>
1412         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1413         (edebug-gensym-index, edebug-gensym):
1414         Remove reimplementation of cl-gensym.
1415         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1417         * thumbs.el: Require cl-lib at run-time too.
1418         (thumbs-gensym-counter, thumbs-gensym):
1419         Remove reimplementation of cl-gensym.
1420         (thumbs-temp-file): Use cl-gensym.
1422         * emacs-lisp/ert.el: Require cl-lib at runtime too.
1423         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1424         (ert--intersection, ert--set-difference, ert--set-difference-eq)
1425         (ert--union, ert--gensym-counter, ert--gensym-counter)
1426         (ert--coerce-to-vector, ert--remove*, ert--string-position)
1427         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1428         (ert-make-test-unbound, ert--expand-should-1)
1429         (ert--expand-should, ert--should-error-handle-error)
1430         (should-error, ert--explain-equal-rec)
1431         (ert--plist-difference-explanation, ert-select-tests)
1432         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1433         Use cl-lib functions rather than reimplementations.
1435 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
1437         * net/tramp.el (tramp-methods): Extend docstring.
1438         (tramp-connection-timeout): New defcustom.
1439         (tramp-error-with-buffer): Reset timestamp only when appropriate.
1440         (with-tramp-progress-reporter): Simplify.
1441         (tramp-process-actions): Improve messages.
1443         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1444         * net/tramp-sh.el (tramp-maybe-open-connection):
1445         Use `tramp-connection-timeout'.
1446         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1447         (Bug#14808)
1449 2013-07-11  Leo Liu  <sdl.web@gmail.com>
1451         * ido.el (ido-read-file-name): Conform to the requirements of
1452         read-file-name.  (Bug#11861)
1453         (ido-read-directory-name): Conform to the requirements of
1454         read-directory-name.
1456 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
1458         * subr.el (delay-warning): New function.
1460 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
1462         * simple.el (default-line-height): New function.
1463         (line-move-partial, line-move): Use it instead of computing the
1464         line height inline.
1465         (line-move-partial): Always compute ROWH.  If the last line is
1466         partially-visible, but its text is completely visible, allow
1467         cursor to enter such a partially-visible line.
1469 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
1471         Improve error messages.  (Bug#14808)
1473         * net/tramp.el (tramp-current-connection): New defvar, moved from
1474         tramp-sh.el.
1475         (tramp-message-show-progress-reporter-message): Remove, not
1476         needed anymore.
1477         (tramp-error-with-buffer): Show message in minibuffer.
1478         Discard input before waiting.  Reset connection timestamp.
1479         (with-tramp-progress-reporter): Improve messages.
1480         (tramp-process-actions): Use progress reporter.  Delete process in
1481         case of error.  Improve messages.
1483         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1484         Call `tramp-error-with-buffer' with vector and buffer.
1485         (tramp-current-connection): Remove.
1486         (tramp-maybe-open-connection): The car of
1487         `tramp-current-connection' are the first 3 slots of the vector.
1489 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
1491         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1492         inside continued strings.
1494 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
1496         Timestamp fixes for undo (Bug#14824).
1497         * files.el (clear-visited-file-modtime): Move here from fileio.c.
1499 2013-07-10  Leo Liu  <sdl.web@gmail.com>
1501         * files.el (require-final-newline): Allow safe local value.
1502         (Bug#14834)
1504 2013-07-09  Leo Liu  <sdl.web@gmail.com>
1506         * ido.el (ido-read-directory-name): Handle fallback.
1507         (ido-read-file-name): Update DIR to ido-current-directory.
1508         (Bug#1516)
1509         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
1511 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
1513         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1514         "autoload".  Remove "warn lower camel case" section, previously
1515         commented out.  Highlight negation char.  Do not highlight the
1516         target in singleton method definitions.
1518 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1520         * faces.el (tty-setup-hook): Declare the hook.
1522         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1523         and detect when a guard/pred depends on local vars (bug#14773).
1524         (pcase--u1): Adjust caller.
1526 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
1528         * simple.el (line-move-partial, line-move): Account for
1529         line-spacing.
1530         (line-move-partial): Avoid setting vscroll when the last
1531         partially-visible line in window is of default height.
1533 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1535         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1536         been used a while.
1538 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
1540         * subr.el (read-quoted-char): Remove unused local variable `char'.
1542 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
1544         * ediff.el (ediff-version): Version update.
1545         (ediff-files-command, ediff3-files-command, ediff-merge-command)
1546         (ediff-merge-with-ancestor-command, ediff-directories-command)
1547         (ediff-directories3-command, ediff-merge-directories-command)
1548         (ediff-merge-directories-with-ancestor-command): New functions.
1549         All are command-line interfaces to ediff: to facilitate calling
1550         Emacs with the appropriate ediff functions invoked.
1552         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1553         (viper-save-kill-buffer): Check if buffer is modified.
1555         * viper.el (viper-version): Version update.
1556         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1558 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1560         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1561         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1562         (viper-intercept-ESC-key): Simplify.
1563         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1564         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1565         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1566         (viper-setup-ESC-to-escape): New functions.
1567         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1568         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
1570 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
1572         * simple.el (default-font-height, window-screen-lines):
1573         New functions.
1574         (line-move, line-move-partial): Use them instead of
1575         frame-char-height and window-text-height.  This makes scrolling
1576         text smoother when the buffer's default face uses a font that is
1577         different from the frame's default font.
1579 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
1581         * files.el (write-file): Do not display confirm dialog for NS,
1582         it does its own dialog, which can't be cancelled (Bug#14578).
1584 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
1586         * simple.el (line-move-partial): Adjust the row returned by
1587         posn-at-point for the current window-vscroll.  (Bug#14567)
1589 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
1591         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1592         (tramp-sh-file-inotifywait-process-filter): Handle file names with
1593         spaces.
1595 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
1597         * window.el (window-state-put-stale-windows): New variable.
1598         (window--state-put-2): Save list of windows without matching buffer.
1599         (window-state-put): Remove "bufferless" windows if possible.
1601 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
1603         * simple.el (alternatives-define): Remove leftover :group keyword.
1604         Tweak docstring.
1606 2013-07-06  Leo Liu  <sdl.web@gmail.com>
1608         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1609         (ido-enable-virtual-buffers): New variable.
1610         (ido-buffer-internal, ido-toggle-virtual-buffers)
1611         (ido-make-buffer-list): Use it.
1612         (ido-exhibit): Support turning on and off virtual buffers
1613         automatically.
1615 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
1617         * simple.el (alternatives-define): New macro.
1619 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1621         * subr.el (read-quoted-char): Use read-key.
1622         (sit-for): Let read-event decode tty input (bug#14782).
1624 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
1626         * calendar/todo-mode.el: Add handling of file deletion, both by
1627         mode command and externally.  Fix various related bugs.
1628         Clarify Commentary and improve some documentation strings and code.
1629         (todo-delete-file): New command.
1630         (todo-check-file): New function.
1631         (todo-show): Handle external deletion of the file we're trying to
1632         show (bug#14688).  Replace called-interactively-p by an optional
1633         prefix argument to avoid problematic interaction with catch form
1634         when byte compiled (bug#14702).
1635         (todo-quit): Handle external deletion of the archive's todo file.
1636         Make sure the buffer that was visiting the archive file is still
1637         live before trying to bury it.
1638         (todo-category-completions): Handle external deletion of any
1639         category completion files.
1640         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1641         of todo files, in case of external deletion.
1642         (todo-add-file): Replace unnecessary setq by let-binding.
1643         (todo-find-archive): Check whether there are any archives.
1644         Replace unnecessary setq by let-binding.
1645         (todo-archive-done-item): Use find-file-noselect to get the
1646         archive buffer whether or not the archive already exists.
1647         Remove superfluous code.  Use file size instead of buffer-file-name to
1648         check if the archive is new; if it is, update list of archives.
1649         (todo-default-todo-file): Allow nil to be a valid value for when
1650         there are no todo files.
1651         (todo-reevaluate-default-file-defcustom): Use corrected definition
1652         of todo-default-todo-file.
1653         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1654         (todo-delete-category, todo-show-categories-table)
1655         (todo-category-number): Clarify comment.
1656         (todo-filter-items): Clarify documentation string.
1657         (todo-show-current-file, todo-display-as-todo-file)
1658         (todo-reset-and-enable-done-separator): Tweak documentation string.
1659         (todo-done-separator): Make separator length window-width, since
1660         bug#2749 is now fixed.
1662 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
1664         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1665         Support both "gvfs-monitor-dir" and "inotifywait".
1666         (tramp-sh-file-inotifywait-process-filter): Rename from
1667         `tramp-sh-file-notify-process-filter'.
1668         (tramp-sh-file-gvfs-monitor-dir-process-filter)
1669         (tramp-get-remote-gvfs-monitor-dir): New defuns.
1671 2013-07-05  Leo Liu  <sdl.web@gmail.com>
1673         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1675 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1677         * frame.el (display-pixel-height, display-pixel-width)
1678         (display-mm-height, display-mm-width): Mention behavior on
1679         multi-monitor setups in docstrings.
1680         (w32-display-monitor-attributes-list): Declare function.
1681         (display-monitor-attributes-list): Use it.
1683 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
1685         * filenotify.el: New package.
1687         * autorevert.el (top): Require filenotify.el.
1688         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
1689         instead.
1690         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1691         (auto-revert-notify-handler): Use `file-notify-*' functions.
1693         * subr.el (file-notify-handle-event): Move function to filenotify.el.
1695         * net/tramp.el (tramp-file-name-for-operation):
1696         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1698         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1699         for `file-notify-add-watch' and `file-notify-rm-watch'.
1700         (tramp-process-sentinel): Improve trace.
1701         (tramp-sh-handle-file-notify-add-watch)
1702         (tramp-sh-file-notify-process-filter)
1703         (tramp-sh-handle-file-notify-rm-watch)
1704         (tramp-get-remote-inotifywait): New defuns.
1706 2013-07-03  Juri Linkov  <juri@jurta.org>
1708         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1709         call of `occur-read-primary-args' to interactive spec.
1711         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1712         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
1714 2013-07-03  Matthias Meulien  <orontee@gmail.com>
1716         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1717         `Buffer-menu-multi-occur'.  Add it to the menu.
1718         (Buffer-menu-mode): Document it in docstring.
1719         (Buffer-menu-multi-occur): New command.  (Bug#14673)
1721 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1723         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1724         keywords and built-ins.
1726 2013-07-03  Glenn Morris  <rgm@gnu.org>
1728         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
1730         Make info-xref checks case-sensitive by default
1731         * info.el (Info-find-node, Info-find-in-tag-table)
1732         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1733         Add option for exact case matching of nodes.
1734         * info-xref.el (info-xref): New custom group.
1735         (info-xref-case-fold): New option.
1736         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1738 2013-07-03  Leo Liu  <sdl.web@gmail.com>
1740         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1742 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1744         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1745         middle of block statement initially, lower the depth.  Remove
1746         FIXME comment, not longer valid.  Remove middle of block statement
1747         detection, no need to do that anymore since we've been using
1748         `ruby-parse-region' here.
1750 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
1752         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1754 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1756         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1758 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
1760         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1761         (desktop-restore-in-current-display): New customization option.
1762         (desktop--excluded-frame-parameters): Add `font'.
1763         (desktop--save-frames): Rename from desktop--save-windows.
1764         (desktop--restore-in-this-display-p): New function.
1765         (desktop--make-full-frame): Remove unwanted width/height from
1766         full(width|height) frames.
1767         (desktop--restore-frames): Rename from desktop--restore-windows.
1768         Obey desktop-restore-current-display.  Do not delete old frames or
1769         select a new frame unless we were able to restore at least one frame.
1771 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
1773         * files.el (find-file-noselect): Simplify conditional expression.
1775         * remember.el (remember-append-to-file):
1776         Don't mix `find-buffer-visiting' and `get-file-buffer'.
1778         Add `remember-notes' function to store random notes across Emacs
1779         restarts.
1780         * remember.el (remember-data-file): Add :set callback to affect
1781         notes buffer (if any).
1782         (remember-notes): New command.
1783         (remember-notes-buffer-name, bury-remember-notes-on-kill):
1784         New defcustoms for the `remember-notes' function.
1785         (remember-notes-save-and-bury-buffer): New command.
1786         (remember-notes-mode-map): New variable.
1787         (remember-mode): New minor mode.
1788         (remember-notes--kill-buffer-query): New function.
1789         * startup.el (initial-buffer-choice): Add notes to custom type.
1791 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
1793         * bindings.el (right-char, left-char): Don't call sit-for, this is
1794         no longer needed.  Use arithmetic comparison only for numerical
1795         arguments.
1797         * international/mule-cmds.el (select-safe-coding-system):
1798         Handle the case of FROM being a string correctly.  (Bug#14755)
1800 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1802         * net/shr.el (shr-make-table-1): Add a sanity check that allows
1803         progression on degenerate tables.
1804         (shr-rescale-image): ImageMagick animated images currently don't work.
1806 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
1808         Some fixes and improvements for desktop frame restoration.
1809         It is still experimental and disabled by default.
1810         * desktop.el (desktop--save-windows): Put the selected frame at
1811         the head of the list.
1812         (desktop--make-full-frame): New function.
1813         (desktop--restore-windows): Try to re-select the frame that was
1814         selected upon saving.  Do not abort if some frames fail to restore,
1815         just show an error message and continue.  Set up maximized frames
1816         so they have default non-maximized dimensions.
1818 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1820         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1821         Don't start heredoc inside a string or comment.
1823 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
1825         * bindings.el (visual-order-cursor-movement): New defcustom.
1826         (right-char, left-char): Provide visual-order cursor motion by
1827         calling move-point-visually.  Update the doc strings.
1829 2013-06-28  Kenichi Handa  <handa@gnu.org>
1831         * international/mule.el (define-coding-system): New coding system
1832         properties :inhibit-null-byte-detection,
1833         :inhibit-iso-escape-detection, and :prefer-utf-8.
1834         (set-buffer-file-coding-system): If :charset-list property of
1835         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1836         appropriate for setting.
1838         * international/mule-cmds.el (select-safe-coding-system):
1839         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1840         multibyte characters, return utf-8 (or one of its siblings).
1842         * international/mule-conf.el (prefer-utf-8): New coding system.
1843         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1844         files.
1846 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
1848         * net/shr.el (shr-render-region): New function.
1850         * net/eww.el: Autoload `eww-browse-url'.
1852 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
1854         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1855         Adapt to `package-desc-version' being a list.
1856         Use `package--ac-desc-version' to retrieve version from a package
1857         archive element.
1859 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
1861         New experimental feature to save&restore window and frame setup.
1862         * desktop.el (desktop-save-windows): New defcustom.
1863         (desktop--saved-states): New var.
1864         (desktop--excluded-frame-parameters): New defconst.
1865         (desktop--filter-frame-parms, desktop--find-frame-in-display)
1866         (desktop--restore-windows, desktop--save-windows): New functions.
1867         (desktop-save): Call `desktop--save-windows'.
1868         (desktop-read): Call `desktop--restore-windows'.
1870 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1872         * net/shr.el (add-face-text-property): Remove compat definition.
1874 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1876         * info.el (Info-try-follow-nearest-node): Move search for footnote
1877         above search for node name to prevent missing a footnote (bug#14717).
1879 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1881         * obsolete/otodo-mode.el: Add obsolescence info to file header.
1883 2013-06-27  Leo Liu  <sdl.web@gmail.com>
1885         * net/eww.el (eww-read-bookmarks): Check file size.
1887 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1890         advice--pending if newdef is nil or an autoload (bug#13820).
1891         (advice-mapc): New function.
1893 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1895         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1896         probably.
1897         (eww-mode-map): Add a menu bar.
1898         (eww-add-bookmark): New command.
1899         (eww-bookmark-mode): New mode and commands.
1900         (eww-add-bookmark): Remove newlines from the title.
1901         (eww-bookmark-browse): Don't bug out if it's the only window.
1903 2013-06-26  Glenn Morris  <rgm@gnu.org>
1905         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1906         (hfy-size): Handle ttys.  (Bug#14668)
1908         * info-xref.el: Update for Texinfo 5 change in *note format.
1909         (info-xref-node-re, info-xref-note-re): New constants.
1910         (info-xref-check-buffer): Use info-xref-note-re.
1912 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1914         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1916         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1917         nil terminate the loop (bug#14718).
1919 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1921         * net/eww.el: Rework history traversal.  When going forward/back,
1922         put these actions into the history, too, so that they can be
1923         replayed.
1924         (eww-render): Move the history reset to the correct buffer.
1926 2013-06-25  Juri Linkov  <juri@jurta.org>
1928         * files-x.el (modify-dir-local-variable): Change the header comment
1929         in the file with directory local variables.  (Bug#14692)
1931         * files-x.el (read-file-local-variable-value): Add `default'.
1932         (Bug#14710)
1934 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1936         * net/eww.el (eww-make-unique-file-name): Create a unique file
1937         name before saving to entering `y' accidentally asynchronously.
1939 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
1941         * net/eww.el (eww-download): New command and keystroke.
1943 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1945         * net/eww.el (eww-copy-page-url): Change name of command.
1947         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1948         be more consistent with Info and dired.
1950         * net/eww.el (eww-mode-map): Ditto.
1952 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1954         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
1955         packages from archives.
1956         (package-archive-contents): Change format; include obsolete packages.
1957         (package-desc): Use `dir' to mark builtin packages.
1958         (package--from-builtin): Set the `dir' field to `builtin'.
1959         (generated-autoload-file, version-control): Declare.
1960         (package-compute-transaction): Change first arg and return value to be
1961         lists of package-descs.  Adjust to new package-archive-contents format.
1962         (package--add-to-archive-contents): Adjust to new
1963         package-archive-contents format.
1964         (package-download-transaction): Arg is now a list of package-descs.
1965         (package-install): If `pkg' is a package name, pass it as
1966         a requirement, so it is subject to the usual (e.g. disabled) checks.
1967         (describe-package): Accept package-desc as well.
1968         (describe-package-1): Describe a specific package-desc.  Add links to
1969         other package-descs for the same package name.
1970         (package-menu-describe-package): Pass the actual package-desc.
1971         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1972         works correctly.
1973         (package-desc-status): New function.
1974         (package-menu--refresh): New function, extracted
1975         from package-menu--generate.
1976         (package-menu--generate): Use it.
1977         (package-delete): Update package-alist.
1978         (package-menu-execute): Don't call package-initialize.
1980         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1981         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1982         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1983         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1984         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1985         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1987 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
1989         * window.el (window--state-get-1): Workaround for bug#14527.
1990         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1992 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1994         * net/eww.el (eww-back-url): Implement the history by stashing all
1995         the data into a list.
1996         (eww-forward-url): Allow going forward in the history, too.
1998 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2000         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2001         for values and use read--expression for expressions (bug#14710).
2002         (read-file-local-variable): Avoid setq.
2003         (read-file-local-variable-mode): Use minor-mode-list.
2005 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2007         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2008         for DOI URLs.
2010 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2012         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2013         Update imenu-support when dialect changes.
2015 2013-06-25  Leo Liu  <sdl.web@gmail.com>
2017         * ido.el (ido-read-internal): Allow forward slash on windows.
2019 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2021         * net/eww.el (eww): Start of strings is \\`, not ^.
2023 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
2025         * net/shr.el (shr-browse-url): Fix interactive spec.
2027         * net/eww.el (eww): Add a trailing slash to domain names.
2029 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
2031         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2033 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2035         * net/shr.el (shr-browse-url): Use an external browser if given a
2036         prefix.
2038         * net/eww.el (eww-external-browser): Move to shr.
2040 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
2042         * net/eww.el (eww): Work more correctly for file: URLs.
2043         (eww-detect-charset): Allow quoted charsets.
2044         (eww-yank-page-url): New command and keystroke.
2046 2013-06-24  Daiki Ueno  <ueno@gnu.org>
2048         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2049         file name of gpg executable.
2050         (epg-context-program): New function.
2051         (epg-context-home-directory): New function.
2052         (epg-context-set-program): New function.
2053         (epg-context-set-home-directory): New function.
2054         (epg--start): Use `epg-context-program' instead of
2055         'epg-gpg-program'.
2056         (epg--list-keys-1): Likewise.
2058 2013-06-24  Leo Liu  <sdl.web@gmail.com>
2060         * ido.el (ido-read-internal): Fix bug#14620.
2062 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
2064         * faces.el (face-documentation): Simplify.
2065         (read-face-attribute, tty-find-type, x-resolve-font-name):
2066         Use `string-match-p'.
2067         (list-faces-display): Use `string-match-p'.  Simplify.
2068         (face-spec-recalc): Check face to avoid face alias loops.
2069         (read-color): Use `string-match-p' and non-capturing parenthesis.
2071 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2073         * net/shr.el (shr-rescale-image): Use the new
2074         :max-width/:max-height functionality.
2076 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
2078         * net/eww.el (eww-search-prefix): New variable.
2079         (eww): Use it.
2080         (eww-external-browser): New variable.
2081         (eww-mode-map): New keystroke.
2082         (eww-browse-with-external-browser): New command.
2084         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2086 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
2088         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2089         Don't skip aligning the next header field when padding is 0;
2090         otherwise, field width is not respected unless the title is as
2091         wide as the field.
2093 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2095         * emacs-lisp/package.el (package-el-version): Remove.
2096         (package-process-define-package): Fix inf-loop.
2097         (package-install): Allow symbols as arguments again.
2099 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
2101         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2102         add some more keyword-like methods.
2103         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2105 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
2107         * bs.el (bs-buffer-show-mark): Make defvar-local.
2108         (bs-mode): Use setq-local.
2110         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2111         (emacs-lock--try-unlocking): Make defvar-local.
2113 2013-06-22  Glenn Morris  <rgm@gnu.org>
2115         * play/cookie1.el (cookie-apropos): Minor simplification.
2117         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2119 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
2121         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2122         `regexp-opt', it breaks the build during dumping.
2124 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
2126         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2127         Highlight keyword-like methods on Kernel and Module with
2128         font-lock-builtin-face.
2129         (auto-mode-alist): Consolidate different entries into one regexp
2130         and add more *file-s.
2132 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
2134         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2136         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2137         (diary-entry): Use it in the action of this button type instead of
2138         diary-goto-entry.
2140         * calendar/todo-mode.el: New version.
2141         (todo-add-category): Append new category to end of file and give
2142         it the highest number, instead of putting it at the beginning and
2143         giving it 0.  Incorporate noninteractive functionality.
2144         (todo-forward-category): Adapt to 1-based category numbering.
2145         Allow skipping over archived categories.
2146         (todo-backward-category): Derive from todo-forward-category.
2147         (todo-backward-item, todo-forward-item): Make noninteractive and
2148         delegate interactive part to new commands.  Make sensitive to done items.
2149         (todo-categories): Make value an alist of category names and
2150         vectors of item counts.
2151         (todo-category-beg): Make a defconst.
2152         (todo-category-number): Use 1 instead of 0 as initial value.
2153         (todo-category-select): Make sensitive to overlays, optional item
2154         highlighting and done items.
2155         (todo-delete-item): Make sensitive to overlays and marked and done items.
2156         (todo-edit-item): Make sensitive to overlays and editing of
2157         date/time header optional.  Add format checks.
2158         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
2159         no-op if point is not on an item.  Advertise using todo-edit-quit.
2160         (todo-edit-mode): Make sensitive to new format, font-locking, and
2161         multiple todo files.
2162         (todo-insert-item, todo-insert-item-here): Derive from
2163         todo-basic-insert-item and extend functionality.
2164         (todo-item-end, todo-item-start): Make sensitive to done items.
2165         (todo-item-string): Don't return text properties.  Restore point.
2166         (todo-jump-to-category): Make sensitive to multiple todo files and
2167         todo archives.  Use extended category completion.
2168         (todo-lower-item, todo-raise-item): Rename to *-priority and
2169         derive from todo-set-item-priority.
2170         (todo-mode): Derive from special-mode.  Make sensitive to new
2171         format, font-locking and multiple todo files.  Make read-only.
2172         (todo-mode-map): Don't suppress digit keys, so they can supply
2173         prefix arguments.  Add many new key bindings.
2174         (todo-prefix): Insert as an overlay instead of file text.
2175         Change semantics from diary date expression to purely visual mark.
2176         (todo-print): Rename to todo-print-buffer.  Make buffer display
2177         features printable.  Remove option to restrict number of items
2178         printed.  Add option to print to file.
2179         (todo-print-function): Rename to todo-print-buffer-function.
2180         (todo-quit): Extend to handle exiting new todo modes.
2181         (todo-remove-item): Make sensitive to overlays.
2182         (todo-save): Extend to buffers of filtered items.
2183         (todo-show): Make sensitive to done items, multiple todo files and
2184         new todo modes.  Offer to convert legacy todo file before creating
2185         first new todo file.
2186         (todo-show-priorities): Rename to todo-top-priorities.
2187         Change semantics of value 0.
2188         (todo-top-priorities): Rename to todo-filter-top-priorities,
2189         derive from todo-filter-items and extend functionality.
2190         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2191         and extend functionality to other types of filtered items.
2192         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2193         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2194         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2195         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2196         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2197         (todo-edit-mode-hook, todo-entry-prefix-function)
2198         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2199         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2200         (todo-initials, todo-insert-threshold, todo-item-string-start)
2201         (todo-line-string, todo-menu, todo-mode-hook)
2202         (todo-more-important-p, todo-previous-answer, todo-previous-line)
2203         (todo-print-priorities, todo-remove-separator)
2204         (todo-save-top-priorities-too, todo-string-count-lines)
2205         (todo-string-multiline-p, todo-time-string-format)
2206         (todo-tmp-buffer-name): Remove.
2207         (todo-add-file, todo-archive-done-item, todo-choose-archive)
2208         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2209         (todo-edit-category-diary-inclusion)
2210         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2211         (todo-edit-file, todo-edit-item-date-day)
2212         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2213         (todo-edit-item-date-month, todo-edit-item-date-to-today)
2214         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2215         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2216         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2217         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2218         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2219         (todo-filter-top-priorities-multifile, todo-find-archive)
2220         (todo-find-filtered-items-file, todo-go-to-source-item)
2221         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2222         (todo-jump-to-archive-category, todo-lower-category)
2223         (todo-mark-category, todo-marked-item-p, todo-merge-category)
2224         (todo-move-category, todo-move-item, todo-next-button)
2225         (todo-next-item, todo-padded-string, todo-powerset)
2226         (todo-previous-button, todo-previous-item)
2227         (todo-print-buffer-to-file, todo-raise-category)
2228         (todo-rename-category, todo-repair-categories-sexp, todo-search)
2229         (todo-set-category-number, todo-set-item-priority)
2230         (todo-set-top-priorities-in-category)
2231         (todo-set-top-priorities-in-file, todo-show-categories-table)
2232         (todo-sort-categories-alphabetically-or-numerically)
2233         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2234         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2235         (todo-toggle-item-header, todo-toggle-item-highlighting)
2236         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2237         (todo-toggle-view-done-items, todo-toggle-view-done-only)
2238         (todo-unarchive-items, todo-unmark-category): New commands.
2239         (todo-absolute-file-name, todo-add-to-buffer-list)
2240         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2241         (todo-basic-insert-item, todo-category-completions)
2242         (todo-category-number, todo-category-string-matcher-1)
2243         (todo-category-string-matcher-2, todo-check-filtered-items-file)
2244         (todo-check-format, todo-clear-matches)
2245         (todo-comment-string-matcher, todo-convert-legacy-date-time)
2246         (todo-current-category, todo-date-string-matcher)
2247         (todo-define-insertion-command, todo-diary-expired-matcher)
2248         (todo-diary-goto-entry, todo-diary-item-p)
2249         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2250         (todo-display-categories, todo-display-sorted, todo-done-item-p)
2251         (todo-done-item-section-p, todo-done-separator)
2252         (todo-done-string-matcher, todo-files, todo-filter-items)
2253         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2254         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2255         (todo-insert-category-line, todo-insert-item-from-calendar)
2256         (todo-insert-sort-button, todo-insert-with-overlays)
2257         (todo-insertion-command-name, todo-insertion-key-bindings)
2258         (todo-label-to-key, todo-longest-category-name-length)
2259         (todo-make-categories-list, todo-mode-external-set)
2260         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2261         (todo-modes-set-3, todo-multiple-filter-files)
2262         (todo-nondiary-marker-matcher, todo-prefix-overlays)
2263         (todo-read-category, todo-read-date, todo-read-dayname)
2264         (todo-read-file-name, todo-read-time)
2265         (todo-reevaluate-category-completions-files-defcustom)
2266         (todo-reevaluate-default-file-defcustom)
2267         (todo-reevaluate-filelist-defcustoms)
2268         (todo-reevaluate-filter-files-defcustom)
2269         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2270         (todo-reset-done-separator, todo-reset-done-separator-string)
2271         (todo-reset-done-string, todo-reset-global-current-todo-file)
2272         (todo-reset-highlight-item, todo-reset-nondiary-marker)
2273         (todo-reset-prefix, todo-set-categories)
2274         (todo-set-date-from-calendar, todo-set-show-current-file)
2275         (todo-set-top-priorities, todo-short-file-name)
2276         (todo-show-current-file, todo-sort, todo-time-string-matcher)
2277         (todo-total-item-counts, todo-update-buffer-list)
2278         (todo-update-categories-display, todo-update-categories-sexp)
2279         (todo-update-count, todo-validate-name, todo-y-or-n-p):
2280         New functions.
2281         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2282         New major modes.
2283         (todo-categories, todo-display, todo-edit, todo-faces)
2284         (todo-filtered): New defgroups.
2285         (todo-archived-only, todo-button, todo-category-string, todo-date)
2286         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2287         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2288         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2289         (todo-add-item-if-new-category, todo-always-add-time-string)
2290         (todo-categories-align, todo-categories-archived-label)
2291         (todo-categories-category-label, todo-categories-diary-label)
2292         (todo-categories-done-label, todo-categories-number-separator)
2293         (todo-categories-todo-label, todo-categories-totals-label)
2294         (todo-category-completions-files, todo-completion-ignore-case)
2295         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2296         (todo-done-separator-string, todo-done-string)
2297         (todo-files-function, todo-filter-done-items, todo-filter-files)
2298         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2299         (todo-initial-category, todo-initial-file, todo-item-mark)
2300         (todo-legacy-date-time-regexp, todo-mode-line-function)
2301         (todo-nondiary-marker, todo-number-prefix)
2302         (todo-print-buffer-function, todo-show-current-file)
2303         (todo-show-done-only, todo-show-first, todo-show-with-done)
2304         (todo-skip-archived-categories, todo-top-priorities-overrides)
2305         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2306         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2307         New defcustoms.
2308         (todo-category-done, todo-date-pattern, todo-date-string-start)
2309         (todo-diary-items-buffer, todo-done-string-start)
2310         (todo-filtered-items-buffer, todo-item-start)
2311         (todo-month-abbrev-array, todo-month-name-array)
2312         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2313         (todo-top-priorities-buffer): New defconsts.
2314         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2315         (todo-categories-with-marks, todo-category-string-face)
2316         (todo-comment-face, todo-comment-string, todo-current-todo-file)
2317         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2318         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2319         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2320         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2321         (todo-font-lock-keywords, todo-global-current-todo-file)
2322         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2323         (todo-insertion-commands-args)
2324         (todo-insertion-commands-args-genlist)
2325         (todo-insertion-commands-names, todo-insertion-map)
2326         (todo-key-bindings-t, todo-key-bindings-t+a)
2327         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2328         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2329         (todo-nondiary-face, todo-print-buffer, todo-time-face)
2330         (todo-visited): New variables.
2332 2013-06-21  Glenn Morris  <rgm@gnu.org>
2334         * play/cookie1.el (cookie-apropos): Add optional display argument.
2335         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2336         (psychoanalyze-pinhead): Use cookie-doctor.
2338 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2340         * emacs-lisp/package.el (tar-get-file-descriptor)
2341         (tar--extract): Declare.
2343 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
2345         Extend flymake's warning predicate to be a function (bug#14217).
2346         * progmodes/flymake.el (flymake-warning-predicate): New.
2347         (flymake-parse-line): Use it.
2348         (flymake-warning-re): Make obsolete alias to
2349         `flymake-warning-predicate'.
2351 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2353         * emacs-lisp/package.el (package-alist): Include obsolete packages.
2354         (package-obsolete-list): Remove.
2355         (package-activate): Remove min-version argument.  Add `force' argument.
2356         Adjust to new package-alist format.
2357         (package-mark-obsolete): Remove.
2358         (package-unpack): Force reload of the package's autoloads.
2359         (package-installed-p): Check builtins if the installed package is not
2360         recent enough.
2361         (package-initialize): Don't reset package-obsolete-list.
2362         Don't specify which package version to activate.
2363         (package-process-define-package, describe-package-1)
2364         (package-menu--generate): Adjust to new package-alist format.
2366 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2368         * allout-widgets.el (allout-widgets-mode-off)
2369         (allout-widgets-mode-on, allout-widgets-pre-command-business)
2370         (allout-widgets-post-command-business)
2371         (allout-widgets-after-copy-or-kill-function)
2372         (allout-widgets-after-undo-function, allout-test-range-overlaps)
2373         (allout-decorate-item-and-context)
2374         (allout-graphics-modification-handler): Fix typos in docstrings.
2375         (allout-get-or-create-parent-widget): Use `looking-at-p'.
2377         * cmuscheme.el (scheme-start-file): Doc fix.
2378         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2379         (scheme-input-filter): Use `string-match-p'.
2381         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2383         * dired-x.el: Use Dired consistently in docstrings.
2385         * dired.el: Use Dired consistently in docstrings.
2386         (dired-readin, dired-mode): Use `setq-local'.
2387         (dired-switches-alist): Make defvar-local.
2388         (dired-buffers-for-dir): Use `zerop'.
2389         (dired-safe-switches-p, dired-switches-escape-p)
2390         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2391         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2392         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2393         (dired-goto-next-nontrivial-file): Use `string-match-p'.
2394         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2395         (dired-toggle-marks, dired-mark-files-containing-regexp)
2396         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2397         (dired-flag-auto-save-files, dired-flag-backup-files):
2398         Use `looking-at-p'.
2399         (dired-mark-files-regexp, dired-build-subdir-alist):
2400         Use `string-match-p', `looking-at-p'.
2402         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2403         (direct-print-region-helper): Use `string-match-p'.
2405 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2407         * comint.el (comint-redirect-results-list-from-process):
2408         Fix infinite loop.
2410 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2412         * net/eww.el (eww-update-header-line-format): Quote % characters.
2414 2013-06-21  Glenn Morris  <rgm@gnu.org>
2416         * play/cookie1.el (cookie): New custom group.
2417         (cookie-file): New option.
2418         (cookie-check-file): New function.
2419         (cookie): Make it interactive.  Make start and end messages optional.
2420         Interactively, display the result.  Default to cookie-file.
2421         (cookie-insert): Default to cookie-file.
2422         (cookie-snarf): Make start and end messages optional.
2423         Default to cookie-file.  Use with-temp-buffer.
2424         (cookie-read): Rename from read-cookie.
2425         Make start and end messages optional.  Default to cookie-file.
2426         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
2427         Do not autoload it.
2428         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2429         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2431 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2433         * progmodes/octave.el (octave-mode): Backward compatibility fix.
2435 2013-06-21  Glenn Morris  <rgm@gnu.org>
2437         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2439 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2440             Daniel Hackney  <dan@haxney.org>
2442         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2443         Consolidate the single-file vs tarball code.
2444         (package-desc-suffix): New function.
2445         (package-desc-full-name): Don't bother inlining it.
2446         (package-load-descriptor): Return the new package-desc.
2447         (package-mark-obsolete): Remove unused arg `package'.
2448         (package-unpack): Make it work for single files as well.
2449         Make it update package-alist.
2450         (package--make-autoloads-and-stuff): Rename from
2451         package--make-autoloads-and-compile.  Don't compile any more.
2452         (package--compile): New function.
2453         (package-generate-description-file): New function, extracted from
2454         package-unpack-single.
2455         (package-unpack-single): Remove.
2456         (package--with-work-buffer): Add indentation and debugging info.
2457         (package-download-single): Remove.
2458         (package-install-from-archive): Rename from package-download-tar, make
2459         it take a pkg-desc, and make it work for single files as well.
2460         (package-download-transaction): Simplify.
2461         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
2462         external tar program.
2463         (package-install-from-buffer): Remove `pkg-desc' argument.
2464         Use package-tar-file-info for tar-mode buffers.
2465         (package-install-file): Simplify accordingly.
2466         (package-archive-base): Change to take a pkg-desc.
2467         * tar-mode.el (tar--check-descriptor): New function, extracted from
2468         tar-get-descriptor.
2469         (tar-get-descriptor): Use it.
2470         (tar-get-file-descriptor): New function.
2471         (tar--extract): New function, extracted from tar-extract.
2472         (tar--extract): Use it.
2473         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2474         case the summary uses non-ascii.  Adjust to new calling convention of
2475         package-tar-file-info.
2477 2013-06-21  Leo Liu  <sdl.web@gmail.com>
2479         * comint.el (comint-redirect-results-list-from-process):
2480         Fix random delay.  (Bug#14681)
2482 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
2484         * profiler.el (profiler-format-number): Use log, not log10.
2486 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2488         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2490 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2492         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2493         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2494         yet available.
2495         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2496         (AUTOGENEL): ... here.
2497         * emacs-lisp/cl-macs.el (cl--sublis): New function.
2498         (cl--defsubst-expand): Use it.
2500 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
2502         * subr.el (log10): Move here from C code, and declare as obsolete.
2503         All uses of (log10 X) replaced with (log X 10).
2505 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2507         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2508         Declare with `defvar-local'.
2509         (tabulated-list-use-header-line, tabulated-list-entries)
2510         (tabulated-list-padding, tabulated-list-printer)
2511         (tabulated-list-sort-key): Declare with `defvar-local'.
2512         (tabulated-list-init-header, tabulated-list-print-fake-header):
2513         Use `setq-local'.
2515 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
2517         * arc-mode.el (archive-mode): Add `archive-write-file' to
2518         `write-contents-functions' also for remote files.  (Bug#14652)
2520 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
2522         * cus-edit.el (custom-commands): Fix typos.
2523         (custom-display): Fix tooltip text.
2524         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2525         Fix typos in docstrings.
2526         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2527         (custom-unlispify-menu-entry, custom-magic-value-create)
2528         (custom-add-see-also, custom-group-value-create): Use ?\s.
2529         (custom-guess-type, customize-apropos, editable-field)
2530         (custom-face-value-create): Use `string-match-p'.
2531         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2533         * custom.el (custom-load-symbol): Use `string-match-p'.
2535         * ansi-color.el: Convert to lexical binding.
2536         (ansi-colors): Fix URL.
2537         (ansi-color-context, ansi-color-context-region): Use defvar-local.
2538         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2539         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2541 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2543         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2545         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2547 2013-06-19  Tom Tromey  <tromey@redhat.com>
2549         * net/eww.el (eww-top-url): Remove.
2550         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2551         (eww-render): Set new variables.  Don't set eww-top-url.
2552         (eww-handle-link): Handle "prev", "home", and "contents".
2553         Downcase the rel text.
2554         (eww-top-url): Choose best top URL.
2556 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2558         * net/eww.el: Rewrite to implement form elements "by hand" instead of
2559         relying in widget.el.  Using widget.el leads to too many
2560         user interface inconsistencies.
2561         (eww-self-insert): Implement entering commands in text fields.
2562         (eww-process-text-input): New function to make text input field editing
2563         work.
2564         (eww-submit): Rewrite to use the new-style form methods.
2565         (eww-select-display): Display the correct selected item.
2566         (eww-change-select): Implement changing the select value.
2567         (eww-toggle-checkbox): Implement radio/checkboxes.
2568         (eww-update-field): Fix compilation error.
2569         (eww-tag-textarea): Implement <textarea>.
2571         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2572         we don't shadow mode-specific bindings.
2574         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2575         nothing to push.
2577         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2579 2013-06-19  Glenn Morris  <rgm@gnu.org>
2581         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2583 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
2585         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2586         not needed.
2588         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2590 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2592         * net/browse-url.el (browse-url-browser-function):
2593         `eww-browse-url' has the right calling signature, `eww' does not.
2595 2013-06-19  Glenn Morris  <rgm@gnu.org>
2597         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2598         Only eval autoloaded macros.
2599         (byte-compile-autoload): Only give the macro warning for macros.
2601         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2602         (ps-underlined-faces): Declare.
2604         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2605         (speedbar-add-supported-extension): Declare.
2607         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2608         Don't include a date stamp in the header of the generated file;
2609         it leads to needless differences between output files.
2611 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
2613         * net/secrets.el (secrets-struct-secret-content-type):
2614         Replace check of introspection data by a test call of "CreateItem".
2615         Some servers do not offer introspection.
2617 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2619         * electric.el (electric-pair-mode): Improve interaction with
2620         electric-layout-mode.
2621         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2622         (electric-pair-syntax): Use text-mode-syntax-table in comments
2623         and strings.
2624         (electric-pair--insert): New function.
2625         (electric-pair-post-self-insert-function): Use it and
2626         electric--after-char-pos.
2628 2013-06-19  Leo Liu  <sdl.web@gmail.com>
2630         * progmodes/octave.el (octave-help): Fix regexp.
2632 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2634         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2635         (shr-table-horizontal-line): Allow nil as a value, and change the
2636         default.
2637         (shr-insert-table-ruler): Respect the nil value.
2639 2013-06-18  Tom Tromey  <tromey@barimba>
2641         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2642         New defvars.
2643         (eww-open-file): New defun.
2644         (eww-render): Initialize new variables.
2645         (eww-display-html): Handle "link" and "a".
2646         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2647         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
2648         (eww-back-url): Rename from eww-previous-url.
2649         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2650         New defuns.
2652 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
2654         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2655         Distinguish ternary operator tokens from slash symbol and slash
2656         char literal.
2658 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2660         Convert symbol prettification into minor mode and global minor mode.
2662         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2663         `prog-prettify-symbols', and make a local defvar instead of defcustom.
2664         (prettify-symbols--keywords): Rename from
2665         `prog-prettify-symbols-alist' and make a local defvar.
2666         (prettify-symbols--compose-symbol): Rename from
2667         `prog--prettify-font-lock-compose-symbol'.
2668         (prettify-symbols--make-keywords): Rename from
2669         `prog-prettify-font-lock-symbols-keywords' and simplify.
2670         (prog-prettify-install): Remove.
2671         (prettify-symbols-mode): New minor mode, based on
2672         `prog-prettify-install'.
2673         (turn-on-prettify-symbols-mode): New function.
2674         (global-prettify-symbols-mode): New globalized minor mode.
2676         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2677         * progmodes/cfengine.el (cfengine3-mode):
2678         * progmodes/perl-mode.el (perl-mode): Don't call
2679         `prog-prettify-install'; set `prettify-symbols-alist' instead.
2681 2013-06-18  Juri Linkov  <juri@jurta.org>
2683         * files-x.el (modify-file-local-variable-message): New function.
2684         (modify-file-local-variable)
2685         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2686         and call `modify-file-local-variable-message' when it's non-nil.
2687         (add-file-local-variable, delete-file-local-variable)
2688         (add-file-local-variable-prop-line)
2689         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2690         and use it.  (Bug#9820)
2692 2013-06-18  Juri Linkov  <juri@jurta.org>
2694         * emulation/vi.el (vi-shell-op):
2695         * emulation/vip.el (vip-execute-com, ex-command):
2696         * emulation/viper-cmd.el (viper-exec-bang):
2697         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2698         the call of `shell-command-on-region'.  (Bug#14637)
2700         * simple.el (shell-command-on-region): Doc fix.
2702 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2704         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2705         (bug#14633).
2707 2013-06-18  Glenn Morris  <rgm@gnu.org>
2709         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2711         * newcomment.el (comment-search-forward, comment-search-backward):
2712         Doc fix.  (Bug#14376)
2714 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2716         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2717         (buffer-face-mode-invoke): Doc fix.
2719 2013-06-18  Matthias Meulien  <orontee@gmail.com>
2721         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2722         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2724 2013-06-18  Glenn Morris  <rgm@gnu.org>
2726         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2727         Replace obsolete function generic-make-keywords with its expansion.
2729         * progmodes/python.el (ffap-alist): Declare.
2731         * textmodes/reftex.el (bibtex-mode-map): Declare.
2733 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2735         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2736         (package-unpack, package-unpack-single): Return the pkg-dir.
2737         (package-download-transaction): Use it to update package-alist.
2739 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2741         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2742         possible choice.
2744 2013-06-17  Juri Linkov  <juri@jurta.org>
2746         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2748 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2750         * emacs-lisp/package.el (package-load-descriptor):
2751         Remove `with-syntax-table' call, `read' doesn't need it.
2752         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2754 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2756         * startup.el (command-line): Expand package name returned by
2757         `package--description-file' (bug#14639).
2759 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2761         * emacs-lisp/package.el (package-load-descriptor): Do not call
2762         `emacs-lisp-mode', just use its syntax table.
2764 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2766         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2767         `font-lock-extra-managed-props' if any prettifying keyword is added.
2768         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2769         (prog-mode): Use `setq-local'.
2771 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2773         * international/characters.el (standard-case-table): Set syntax of ?»
2774         and ?« to punctuation.
2776 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
2778         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2779         Save relevant match data before calling `syntax-ppss' (bug#14595).
2781 2013-06-15  Juri Linkov  <juri@jurta.org>
2783         * files-x.el (modify-file-local-variable-prop-line): Add local
2784         variables to the end of the existing comment on the first line.
2785         Use `file-auto-mode-skip' to skip interpreter magic line,
2786         and also skip XML declaration.
2788 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2790         * startup.el (package--builtin-versions): New var.
2791         (package-subdirectory-regexp): Remove.
2792         (package--description-file): Hard code its value instead.
2794         * emacs-lisp/package.el: Don't activate packages older than builtin.
2795         (package-obsolete-list): Rename from package-obsolete-alist, and make
2796         it into a simple list of package-desc.
2797         (package-strip-version): Remove.
2798         (package-built-in-p): Use package--builtin-versions.
2799         (package-mark-obsolete): Simplify.
2800         (package-process-define-package): Mark it obsolete if older than the
2801         builtin version.
2802         (package-handle-response): Use line-end-position.
2803         (package-read-archive-contents, package--download-one-archive):
2804         Simplify.
2805         (package--add-to-archive-contents): Skip if older than the builtin or
2806         installed version.
2807         (package-menu-describe-package): Fix last change.
2808         (package-list-unversioned): New var.
2809         (package-menu--generate): Use it.
2811         * emacs-lisp/autoload.el: Manage package--builtin-versions.
2812         (autoload--insert-text, autoload--insert-cookie-text): New functions.
2813         (autoload-builtin-package-versions): New variable.
2814         (autoload-generate-file-autoloads): Use them.
2815         Remove the list of autoloaded functions/macros from the
2816         (autoload...) comments.
2818         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2820 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
2822         * simple.el (line-move-partial): Don't jump to the next screen
2823         line as soon as it becomes visible.  Instead, continue enlarging
2824         the vscroll until the portion of a tall screen line that's left on
2825         display is about the height of the frame's default font.
2826         (Bug#14567)
2828 2013-06-15  Glenn Morris  <rgm@gnu.org>
2830         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2831         compilation-error-regexp-alist void, or local while let-bound.
2833         * progmodes/make-mode.el (makefile-mode-syntax-table):
2834         Treat "=" as punctuation.  (Bug#14614)
2836 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
2838         * help-fns.el (describe-variable):
2839         Add extra line for permanent-local variables.
2841 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
2843         * progmodes/scheme.el (scheme-font-lock-keywords-2):
2844         Add export, import, library.  (Bug#9164)
2845         (library): Set indent function.
2847 2013-06-14  Glenn Morris  <rgm@gnu.org>
2849         * term/xterm.el (xterm--query):
2850         Stop after first matching handler.  (Bug#14615)
2852 2013-06-14 Ivan Kanis  <ivan@kanis.fr>
2854         Add support for dired in saveplace.
2855         * dired.el (dired-initial-position-hook): New variable.
2856         (dired-initial-position): Call hook to place cursor position.
2857         * saveplace.el (save-place-to-alist): Add dired position.
2858         (save-place-dired-hook): New function.
2860 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2862         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2863         through a symbol rather than letrec.
2865         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
2866         (package-desc): Add `dir' field.
2867         (package-desc-full-name): New function.
2868         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
2869         (package-maybe-load-descriptor): Remove.
2870         (package-load-all-descriptors): Just call package-load-descriptor.
2871         (package--disabled-p): New function.
2872         (package-desc-vers, package-desc-doc): Remove aliases.
2873         (package--dir): Remove function.
2874         (package-activate): Check if a package is disabled.
2875         (package-process-define-package): New function, extracted from
2876         define-package.
2877         (define-package): Turn into a place holder.
2878         (package-unpack-single, package-tar-file-info):
2879         Use package--description-file.
2880         (package-compute-transaction): Use package--disabled-p.
2881         (package-download-transaction): Don't call
2882         package-maybe-load-descriptor since they're all loaded anyway.
2883         (package-install): Change argument to be a pkg-desc.
2884         (package-delete): Use a single pkg-desc argument.
2885         (describe-package-1): Use package-desc-dir instead of package--dir.
2886         Use package-desc property instead of package-symbol.
2887         (package-install-button-action): Adjust accordingly.
2888         (package--push): Rewrite.
2889         (package-menu--print-info): Adjust accordingly.  Change the ID format
2890         to be a pkg-desc.
2891         (package-menu-describe-package, package-menu-get-status)
2892         (package-menu--find-upgrades, package-menu-mark-upgrades)
2893         (package-menu-execute, package-menu--name-predicate):
2894         Adjust accordingly.
2895         * startup.el (package--description-file): New function.
2896         (command-line): Use it.
2897         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2898         Use package-desc-version.
2900         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2901         (byte-compile-preprocess): Use it.
2902         (byte-compile-file-form-defalias): Try a bit harder to use macros we
2903         can't quite recognize.
2904         (byte-compile-add-to-list): Remove.
2905         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2906         (cconv-closure-convert): Add assertion.
2908         * emacs-lisp/map-ynp.el: Use lexical-binding.
2909         (map-y-or-n-p): Remove unused vars `tail' and `object'.
2910         Factor out some repeated code.
2912 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2914         * subr.el (with-eval-after-load): New macro.
2915         (eval-after-load): Allow form to be a function.
2916         take advantage of lexical-binding.
2917         (do-after-load-evaluation): Use dolist and adjust to new format.
2918         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2920 2013-06-13  Juri Linkov  <juri@jurta.org>
2922         * replace.el (perform-replace): Display "symbol " and other search
2923         modes from `isearch-message-prefix' in the *Help* buffer.
2925         * isearch.el (isearch-query-replace): Add " symbol" and other
2926         possible search modes from `isearch-message-prefix' to the prompt.
2927         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2928         when reading a regexp to collect.
2930 2013-06-13  Juri Linkov  <juri@jurta.org>
2932         * isearch.el (word-search-regexp): Match whitespace if the search
2933         string begins or ends in whitespace.  The LAX arg is applied to
2934         both ends of the search string.  Use `regexp-quote' and explicit
2935         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
2936         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2937         boundaries are replaced with symbol boundaries, and characters
2938         between symbols match non-word non-symbol syntax.  (Bug#14602)
2940 2013-06-13  Juri Linkov  <juri@jurta.org>
2942         * isearch.el (isearch-del-char): Don't exceed the length of
2943         `isearch-string' by the prefix arg.  (Bug#14563)
2945 2013-06-13  Juri Linkov  <juri@jurta.org>
2947         * isearch.el (isearch-yank-word, isearch-yank-line)
2948         (isearch-char-by-name, isearch-quote-char)
2949         (isearch-printing-char, isearch-process-search-char):
2950         Add optional count prefix arg.  (Bug#14563)
2952         * international/isearch-x.el
2953         (isearch-process-search-multibyte-characters):
2954         Add optional count prefix arg.
2956 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2958         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2959         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2960         lexical-binding.
2962 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
2964         * subr.el (set-temporary-overlay-map): Add on-exit argument.
2966 2013-06-13  Glenn Morris  <rgm@gnu.org>
2968         * startup.el (tty-handle-args):
2969         Don't just discard "--" and anything after.  (Bug#14608)
2971         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2973 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
2975         Implement changes in Secret Service API.  Make it backward compatible.
2976         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2977         (secrets-create-item): Use it.  Prefix properties with interface.
2979 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
2981         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
2982         (term-emulate-terminal): Respect term-suppress-hard-newline.
2984 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
2986         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2987         Only remove a `thumb-file' overlay.  (Bug#14548)
2989 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
2991         * mail/reporter.el (reporter-submit-bug-report):
2992         Handle missing package-name.  (Bug#14600)
2994 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2996         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2997         (reftex-citation-prompt, reftex-default-bibliography)
2998         (reftex-bib-or-thebib, reftex-get-bibfile-list)
2999         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3000         (reftex-bib-sort-author, reftex-bib-sort-year)
3001         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3002         (reftex-extract-bib-entries-from-thebibliography)
3003         (reftex-get-bibkey-default, reftex-get-bib-names)
3004         (reftex-parse-bibtex-entry, reftex-get-bib-field)
3005         (reftex-format-bib-entry, reftex-parse-bibitem)
3006         (reftex-format-bibitem, reftex-do-citation)
3007         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3008         (reftex-restrict-bib-matches, reftex-extract-bib-file)
3009         (reftex-insert-bib-matches, reftex-format-citation)
3010         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3011         (reftex-create-bibtex-file): Add docstrings, mostly by converting
3012         existing comments into docstrings.
3014 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
3016         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3018 2013-06-12  Andreas Schwab  <schwab@suse.de>
3020         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3021         for auto-save files.
3023 2013-06-12  Glenn Morris  <rgm@gnu.org>
3025         * ido.el (ido-delete-ignored-files): Remove.
3026         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3027         Go back to calling ido-ignore-item-p directly.
3029 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
3031         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3033         * ido.el (ido-delete-ignored-files): New function,
3034         split from ido-make-file-list-1.
3035         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
3036         (ido-make-file-list-1): Use ido-delete-ignored-files.
3038 2013-06-12  Leo Liu  <sdl.web@gmail.com>
3040         * progmodes/octave.el (inferior-octave-startup)
3041         (inferior-octave-completion-table)
3042         (inferior-octave-track-window-width-change)
3043         (octave-eldoc-function-signatures, octave-help)
3044         (octave-find-definition): Use single quoted strings.
3045         (inferior-octave-startup-args): Change default value.
3046         (inferior-octave-startup): Do not hard code "-i" and
3047         "--no-line-editing".
3048         (inferior-octave-resync-dirs): Add optional arg NOERROR.
3049         (inferior-octave-directory-tracker): Use it.
3050         (octave-goto-function-definition): Robustify.
3051         (octave-help): Support highlighting operators in 'See also'.
3052         (octave-find-definition): Find subfunctions only in Octave mode.
3054 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3056         * help-fns.el (help-fns--compiler-macro): If the handler function is
3057         named, then put a link to it.
3058         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3059         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3060         (cl-typep): Use it.
3061         (cl-eval-when): Simplify debug spec.
3062         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
3063         compiler-macro function instead of setting `compiler-macro-file'.
3065 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
3067         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3068         * vc/vc-hooks.el (vc-stay-local): Doc fix.
3070 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3071             Daniel Hackney  <dan@haxney.org>
3073         First part of Daniel Hackney's patch to package.el.
3074         * emacs-lisp/package.el: Use defstruct.
3075         (package-desc): New, main struct.
3076         (package--bi-desc, package--ac-desc): New structs, used to describe the
3077         format in external files.
3078         (package-desc-vers): Replace with package-desc-version accessor.
3079         (package-desc-doc): Replace with package-desc-summary accessor.
3080         (package-activate-1): Remove `package' arg since the pkg-vec now
3081         includes the name.
3082         (define-package): Use package-desc-from-define.
3083         (package-unpack-single): Change file-name arg to be a symbol.
3084         (package--add-to-archive-contents): Use package-desc-create and new
3085         accessor functions to package--ac-desc.
3086         (package-buffer-info, package-tar-file-info): Return a package-desc.
3087         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
3088         arg to be a package-desc.
3089         (package-install-file): Adjust accordingly.  Use \' to match EOS.
3090         (package--from-builtin): New function.
3091         (describe-package-1, package-menu--generate): Use it.
3092         (package--make-autoloads-and-compile): Change name arg to be a symbol.
3093         (package-generate-autoloads): Idem and return the name of the file.
3094         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3095         Change pkg-info arg to be a package-desc.
3096         Use package-make-ac-desc.
3097         (package-upload-file): Use \' to match EOS.
3098         * finder.el (finder-compile-keywords): Use package-make-builtin.
3100 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3102         * vc/vc.el (vc-deduce-fileset): Change error message.
3103         (vc-read-backend): New function.
3104         (vc-next-action): Use it.
3106         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3108         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3109         (prolog-font-lock-keywords): Use regexp-opt instead.
3110         Don't manually highlight strings.
3111         (prolog-mode-variables): Simplify comment-start-skip.
3112         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
3114         * emacs-lisp/generic.el (generic--normalise-comments)
3115         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3116         (generic-mode-set-comments): Use them.
3117         (generic-bracket-support): Use setq-local.
3118         (generic-make-keywords-list): Declare obsolete.
3120 2013-06-11  Glenn Morris  <rgm@gnu.org>
3122         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3123         Prettify after setting font-lock-defaults.  (Bug#14574)
3125 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
3127         * replace.el (query-replace, occur-read-regexp-defaults-function)
3128         (replace-search):
3129         * subr.el (declare-function, number-sequence, local-set-key)
3130         (substitute-key-definition, locate-user-emacs-file)
3131         (with-silent-modifications, split-string, eval-after-load):
3132         Fix typos, remove unneeded backslashes and reflow some docstrings.
3134 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3136         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3137         default for Elisp files.
3139 2013-06-11  Glenn Morris  <rgm@gnu.org>
3141         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3142         although define-derived-mode was doing this anyway.  (Bug#14583)
3144 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
3146         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3147         Fix make-variable-buffer-local call to refer to the correct variable.
3149 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
3151         * eshell/em-term.el (eshell-visual-commands)
3152         (eshell-visual-subcommands, eshell-visual-options):
3153         Add summary line to docstrings.  Add cross-references.
3155 2013-06-10  Glenn Morris  <rgm@gnu.org>
3157         * epa.el (epa-read-file-name): New function.  (Bug#14510)
3158         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
3160 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
3162         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3163         output redirection to be ignored with visual commands.
3165 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
3167         * eshell/em-term.el (eshell-visual-command-p): New function.
3168         (eshell-term-initialize): Move long lambda to separate function
3169         eshell-visual-command-p.
3170         * eshell/em-dirs.el (eshell-dirs-initialise):
3171         * eshell/em-script.el (eshell-script-initialize):
3172         Add missing #' to lambda.
3174 2013-06-08  Leo Liu  <sdl.web@gmail.com>
3176         * progmodes/octave.el (octave-add-log-current-defun): New function.
3177         (octave-mode): Set add-log-current-defun-function.
3178         (octave-goto-function-definition): Do not move point if not found.
3179         (octave-find-definition): Enhance to try subfunctions first.
3181 2013-06-08  Glenn Morris  <rgm@gnu.org>
3183         * emacs-lisp/bytecomp.el (byte-compile-char-before)
3184         (byte-compile-backward-char, byte-compile-backward-word):
3185         Improve previous change, to handle non-explicit nil.
3187 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3189         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3190         (smie--opener/closer-at-point): New function.
3191         (smie--matching-block-data): Use it.  Don't match from right after an
3192         opener or right before a closer.  Obey smie-blink-matching-inners.
3193         Don't signal a mismatch for repeated inners like "switch..case..case".
3195 2013-06-07  Leo Liu  <sdl.web@gmail.com>
3197         * progmodes/octave.el (octave-mode): Set comment-use-global-state
3198         to t.  (Bug#14303)
3199         (octave-function-header-regexp): Fix.  (Bug#14570)
3200         (octave-help-mode-finish-hook, octave-help-mode-finish):
3201         Remove.  Just use temp-buffer-show-hook.
3203         * newcomment.el (comment-search-backward): Revert last change.
3204         (Bug#14434)
3206         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3208 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
3210         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3211         through xargs, to avoid failure due to MS-Windows limitations on
3212         command-line length.
3214 2013-06-06  Glenn Morris  <rgm@gnu.org>
3216         * font-lock.el (lisp-font-lock-keywords-2):
3217         Treat user-error like error.
3219         * emacs-lisp/bytecomp.el (byte-compile-char-before)
3220         (byte-compile-backward-char, byte-compile-backward-word):
3221         Handle explicit nil arguments.  (Bug#14565)
3223 2013-06-05  Alan Mackenzie  <acm@muc.de>
3225         * isearch.el (isearch-allow-prefix): New user option.
3226         (isearch-other-meta-char): Don't exit isearch when a prefix
3227         argument is typed whilst `isearch-allow-prefix' is non-nil.
3228         (Bug#9706)
3230 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3232         * autorevert.el (auto-revert-notify-handler): Use memq.
3233         Hide assertion failure.
3235         * skeleton.el: Use cl-lib.
3236         (skeleton-further-elements): Use defvar-local.
3237         (skeleton-insert): Use cl-progv.
3239 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3241         * progmodes/prog-mode.el (prog-prettify-symbols)
3242         (prog-prettify-install): Update docstrings.
3244 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         * simple.el: Move all the prog-mode code to prog-mode.el.
3247         * progmodes/prog-mode.el: New file.
3248         * loadup.el: Add prog-mode.el.
3250 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3252         * simple.el (prog-prettify-symbols): Add version.
3253         (prog-prettify-install): Add convenience function to prettify symbols.
3255         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3256         (perl--augmented-font-lock-keywords-1)
3257         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3258         variables and use it.
3260         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3261         (cfengine3-mode): Remove unneeded variable and use it.
3263         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3264         (lisp--augmented-font-lock-keywords-1)
3265         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3266         Remove unneeded variables and use it.
3268 2013-06-05  João Távora  <joaotavora@gmail.com>
3270         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3271         to point when opening the connection.  (Bug#14380)
3273 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3275         * subr.el (load-history-regexp, load-history-filename-element)
3276         (eval-after-load, after-load-functions, do-after-load-evaluation)
3277         (eval-next-after-load, display-delayed-warnings)
3278         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3279         definition of save-match-data.
3280         (overriding-local-map): Remove accidental obsolescence declaration.
3282         * emacs-lisp/edebug.el (edebug-result): Move before first use.
3284 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
3286         Generalize symbol prettify support to prog-mode and implement it
3287         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3288         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3289         (prog--prettify-font-lock-compose-symbol)
3290         (prog-prettify-font-lock-symbols-keywords): New variables and
3291         functions to support symbol prettification.
3292         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3293         (lisp--augmented-font-lock-keywords-1)
3294         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3295         (lisp--prettify-symbols-alist): Implement prettify of lambda.
3296         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3297         (cfengine3--prettify-symbols-alist, cfengine3-mode):
3298         Implement prettify of -> => :: strings.
3299         * progmodes/perl-mode.el (perl-prettify-symbols)
3300         (perl--font-lock-compose-symbol)
3301         (perl--font-lock-symbols-keywords): Move to prog-mode.
3302         (perl--prettify-symbols-alist): Prettify -> => :: strings.
3303         (perl-font-lock-keywords-1)
3304         (perl-font-lock-keywords-2): Remove explicit prettify support.
3305         (perl--augmented-font-lock-keywords)
3306         (perl--augmented-font-lock-keywords-1)
3307         (perl--augmented-font-lock-keywords-2, perl-mode):
3308         Implement prettify support.
3310 2013-06-05  Leo Liu  <sdl.web@gmail.com>
3312         Re-implement smie matching block highlight using
3313         show-paren-data-function.  (Bug#14395)
3314         * emacs-lisp/smie.el (smie-matching-block-highlight)
3315         (smie--highlight-matching-block-overlay)
3316         (smie--highlight-matching-block-lastpos)
3317         (smie-highlight-matching-block)
3318         (smie-highlight-matching-block-mode): Remove.
3319         (smie--matching-block-data-cache): New variable.
3320         (smie--matching-block-data): New function.
3321         (smie-setup): Use smie--matching-block-data for
3322         show-paren-data-function.
3324         * progmodes/octave.el (octave-mode-menu): Fix.
3325         (octave-find-definition): Skip garbage lines.
3327 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3329         Fix compilation error with simultaneous dynamic+lexical scoping.
3330         Add warning when a defvar appears after the first let-binding.
3331         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3332         (byte-compile-close-variables): Initialize it.
3333         (byte-compile--declare-var): New function.
3334         (byte-compile-file-form-defvar)
3335         (byte-compile-file-form-define-abbrev-table)
3336         (byte-compile-file-form-custom-declare-variable): Use it.
3337         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
3338         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3339         (byte-compile-bind): Handle dynamic bindings that shadow
3340         lexical bindings.
3341         (byte-compile-unbind): Make arg non-optional.
3342         (byte-compile-let): Simplify.
3343         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3344         (cconv--analyse-function, cconv-analyse-form): Populate it.
3345         Protect byte-compile-bound-variables to limit the scope of defvars.
3346         (cconv-analyse-form): Add missing rule for (defvar <foo>).
3347         Remove unneeded rule for `declare'.
3349         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3350         so as to avoid depending on cl-adjoin at run-time.
3351         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3353         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3354         (macroexp--warn-and-return): Use it.
3356 2013-06-05  Leo Liu  <sdl.web@gmail.com>
3358         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3360 2013-06-04  Leo Liu  <sdl.web@gmail.com>
3362         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3363         (compilation-auto-jump): Suppress the "Mark set" message to give
3364         way to exit message.
3366 2013-06-04  Alan Mackenzie  <acm@muc.de>
3368         Remove faulty optimisation from indentation calculation.
3369         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3370         search limit based on 2000 characters back from indent-point.
3372 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
3374         * eshell/em-term.el (cl-lib): Require `cl-lib'.
3376 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3378         * emacs-lisp/lisp.el: Use lexical-binding.
3379         (lisp--local-variables-1, lisp--local-variables): New functions.
3380         (lisp--local-variables-completion-table): New var.
3381         (lisp-completion-at-point): Use it complete let-bound vars.
3383         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3384         eagerly (bug#14422).
3386 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
3388         * autorevert.el (auto-revert-notify-enabled)
3389         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3390         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3391         (auto-revert-notify-handler): Handle also gfilenotify.
3393         * subr.el (file-notify-handle-event): New defun.  Replacing ...
3394         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3395         Remove.
3397 2013-06-03  Juri Linkov  <juri@jurta.org>
3399         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3400         `M-s h .'.  (Bug#14427)
3402         * hi-lock.el (highlight-symbol-at-point): New alias for the new
3403         command `hi-lock-face-symbol-at-point'.
3404         (hi-lock-face-symbol-at-point): New command.
3405         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3406         (hi-lock-menu): Add `highlight-symbol-at-point'.
3407         (hi-lock-mode): Doc fix.
3409         * isearch.el (isearch-forward-symbol-at-point): New command.
3410         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3411         (isearch-highlight-regexp): Add a regexp which matches
3412         words/symbols for word/symbol mode.
3414         * subr.el (find-tag-default-bounds): New function with the body
3415         mostly moved from `find-tag-default'.
3416         (find-tag-default): Move most code to `find-tag-default-bounds',
3417         call it and apply `buffer-substring-no-properties' afterwards.
3419 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
3421         * eshell/em-term.el (eshell-term-initialize):
3422         Use `cl-intersection' rather than `intersection'.
3424 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
3426         * vc/log-view.el: Doc fix.
3427         (log-view-mode-map): Copy keymap from `special-mode-map'.
3429 2013-06-02  Eric Ludlam  <zappo@gnu.org>
3431         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3432         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3433         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3434         (eieio-unbound, eieio-default-superclass)
3435         (eieio--define-field-accessors, method-static, method-before)
3436         (method-primary, method-after, method-num-lists)
3437         (method-generic-before, method-generic-primary)
3438         (method-generic-after, method-num-slots)
3439         (eieio-specialized-key-to-generic-key)
3440         (eieio--check-type, class-v, class-p)
3441         (eieio-class-name, define-obsolete-function-alias)
3442         (eieio-class-parents-fast, eieio-class-children-fast)
3443         (same-class-fast-p, class-constructor, generic-p)
3444         (generic-primary-only-p, generic-primary-only-one-p)
3445         (class-option-assoc, class-option, eieio-object-p)
3446         (class-abstract-p, class-method-invocation-order)
3447         (eieio-defclass-autoload-map, eieio-defclass-autoload)
3448         (eieio-class-un-autoload, eieio-defclass)
3449         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3450         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3451         (eieio--defgeneric-init-form, eieio-defgeneric-form)
3452         (eieio-defgeneric-reset-generic-form)
3453         (eieio-defgeneric-form-primary-only)
3454         (eieio-defgeneric-reset-generic-form-primary-only)
3455         (eieio-defgeneric-form-primary-only-one)
3456         (eieio-defgeneric-reset-generic-form-primary-only-one)
3457         (eieio-unbind-method-implementations)
3458         (eieio--defmethod, eieio--typep)
3459         (eieio-perform-slot-validation, eieio-validate-slot-value)
3460         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3461         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3462         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3463         (eieio-slot-name-index, eieio-class-slot-name-index)
3464         (eieio-set-defaults, eieio-initarg-to-attribute)
3465         (eieio-attribute-to-initarg, eieio-c3-candidate)
3466         (eieio-c3-merge-lists, eieio-class-precedence-c3)
3467         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3468         (eieio-class-precedence-list, eieio-generic-call-methodname)
3469         (eieio-generic-call-arglst, eieio-generic-call-key)
3470         (eieio-generic-call-next-method-list)
3471         (eieio-pre-method-execution-functions, eieio-generic-call)
3472         (eieio-generic-call-primary-only, eieiomt-method-list)
3473         (eieiomt-optimizing-obarray, eieiomt-install)
3474         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3475         (eieio-generic-form, eieio-defmethod, make-obsolete)
3476         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3477         (defclass): Remove `eval-and-compile' from macro.
3478         (call-next-method, shared-initialize): Instead of using
3479         `scoped-class' variable, use new eieio--scoped-class, and
3480         eieio--with-scoped-class.
3481         (initialize-instance): Rename local variable 'scoped-class' to
3482         'this-class' to remove ambiguitity from old global.
3484         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
3485         eieio.el.
3486         (eieio--scoped-class-stack): New variable.
3487         (eieio--scoped-class): New fcn.
3488         (eieio--with-scoped-class): New scoping macro.
3489         (eieio-defclass): Use pushnew instead of add-to-list.
3490         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3491         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3492         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3493         `scoped-class' variable, use new eieio--scoped-class, and
3494         eieio--with-scoped-class.
3496         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3498 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
3500         * eshell/esh-ext.el (eshell-external-command): Pass args to
3501         `eshell-find-interpreter'.
3502         (eshell-find-interpreter): Add new second parameter ARGS.
3504         * eshell/em-script.el (eshell-script-initialize): Add second arg
3505         to the function added as MATCH to `eshell-interpreter-alist'.
3507         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3508         the function added as MATCH to `eshell-interpreter-alist'.
3510         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3511         (eshell-visual-options): New defcustom.
3512         (eshell-escape-control-x): Adapt docstring.
3513         (eshell-term-initialize): Test `eshell-visual-subcommands' and
3514         `eshell-visual-options' in addition to `eshell-visual-commands'.
3515         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3517 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3519         * progmodes/python.el (python-indent-block-enders): Add break,
3520         continue and raise keywords.
3522 2013-06-01  Glenn Morris  <rgm@gnu.org>
3524         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3526         Plain (f)boundp silences compilation warnings since Emacs 22.1.
3527         * progmodes/cc-cmds.el (delete-forward-p):
3528         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3529         * progmodes/cc-engine.el (buffer-syntactic-context):
3530         * progmodes/cc-fonts.el (face-property-instance):
3531         * progmodes/cc-mode.el (set-keymap-parents):
3532         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3533         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3534         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3535         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3536         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3538         * progmodes/cc-vars.el (other): Emacs has this widget since
3539         at least 21.1, so don't (re)define it.
3541         * eshell/em-cmpl.el (eshell-cmpl-initialize):
3542         Replace the obsolete alias pcomplete-arg-quote-list.
3544 2013-06-01  Leo Liu  <sdl.web@gmail.com>
3546         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3547         punctuation syntax.
3548         (inferior-octave-minimal-columns)
3549         (inferior-octave-last-column-width): New variables.
3550         (inferior-octave-track-window-width-change): New function.
3551         (inferior-octave-mode): Adjust column width so that Octave output,
3552         for example from 'ls', can fit into the window nicely.
3554 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
3556         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3557         Highlight expansions inside regexp literals.
3559 2013-05-31  Glenn Morris  <rgm@gnu.org>
3561         * obsolete/sym-comp.el (symbol-complete):
3562         Replace obsolete completion-annotate-function.
3564         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3566 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
3568         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3569         New function, checks if point is inside a literal that allows
3570         expression expansion.
3571         (ruby-syntax-propertize-expansion): Use it.
3572         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3573         around the body.
3575 2013-05-30  Juri Linkov  <juri@jurta.org>
3577         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3578         to "\M-si".
3579         (isearch-invisible): New variable.
3580         (isearch-forward): Doc fix.
3581         (isearch-mode): Set `isearch-invisible'
3582         to the value of `search-invisible'.
3583         (isearch-toggle-case-fold): Doc fix.
3584         (isearch-toggle-invisible): New command.
3585         (isearch-query-replace): Let-bind `search-invisible'
3586         to the value of `isearch-invisible'.
3587         (isearch-search): Use `isearch-invisible' instead of
3588         `search-invisible'.  Let-bind `search-invisible'
3589         to the value of `isearch-invisible'.  (Bug#11378)
3591 2013-05-30  Juri Linkov  <juri@jurta.org>
3593         * replace.el (perform-replace): Avoid `isearch-range-invisible'
3594         call when `query-flag' is nil and `search-invisible' is non-nil.
3595         (Bug#11746)
3597 2013-05-30  Glenn Morris  <rgm@gnu.org>
3599         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3601         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3602         (cc-require): Suppress spurious "noruntime" warnings.
3603         (cc-require-when-compile): Use fboundp, for sake of compiler.
3605         * progmodes/cc-mode.el: Move load of cc-vars before that of
3606         cc-langs (which in turn loads cc-vars), to quieten compiler.
3608 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3610         * paren.el: Simplify the code.
3611         (show-paren-mode): Always start the timer.
3612         (show-paren--idle-timer): Rename from show-paren-idle-timer.
3613         (show-paren--overlay, show-paren--overlay-1): Rename from
3614         show-paren-overlay and show-paren-overlay-1, and initialize to an
3615         overlay rather than to nil.
3616         (show-paren-function): Misc cleanup and simplifications.
3618 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3620         * paren.el (show-paren-data-function): New hook.
3621         (show-paren--default): New function, extracted from show-paren-function.
3622         (show-paren-function): Use show-paren-data-function.
3624 2013-05-30  Glenn Morris  <rgm@gnu.org>
3626         * ielm.el (ielm-map, ielm-complete-symbol):
3627         Use completion-at-point rather than obsolete functions.
3628         (inferior-emacs-lisp-mode): Doc fix.
3629         Set completion-at-point-functions, rather than
3630         comint-dynamic-complete-functions.
3632         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3633         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3634         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3636         * image.el (image-animated-p): Tweak definition.
3638         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3639         (rlogin-process-connection-type): Tweak default.  Add set-after.
3640         (rlogin-host): Doc fix.
3641         (rlogin): Tweak prompt.
3642         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3644         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3645         * progmodes/tcl.el (inferior-tcl-mode-map):
3646         Use completion-at-point rather than obsolete alias.
3648         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3650         * minibuffer.el (read-file-name-completion-ignore-case):
3651         Move before completion--in-region, for eager macro expansion.
3653 2013-05-29  Juri Linkov  <juri@jurta.org>
3655         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3656         for total count of matching lines.  Add `global-matches' for total
3657         count of matches.  Rename `matches' to `lines' for count of
3658         matching lines.  Add `matches' for count of matches.
3659         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
3660         to `prev-line' for line number of prev match endpt.
3661         Increment `matches' for every match.  Print the number of
3662         matching lines in the header.
3663         (occur-context-lines): Rename `lines' to `curr-line'.
3664         Rename `prev-lines' to `prev-line'.  (Bug#14017)
3666 2013-05-29  Juri Linkov  <juri@jurta.org>
3668         * replace.el (perform-replace): Add `skip-read-only-count',
3669         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3670         Increment them for corresponding conditions and report the number
3671         of skipped occurrences in the final message.  (Bug#11746)
3672         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3673         (replace-string, replace-regexp): Doc fix.
3675 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3677         * emacs-lisp/trace.el (trace--read-args): Provide a default.
3679         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3680         prog-mode-map (bug#14504).
3682 2013-05-29  Leo Liu  <sdl.web@gmail.com>
3684         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3685         (octave-help): Small simplification.
3687         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3688         off the highlight first.
3690 2013-05-29  Glenn Morris  <rgm@gnu.org>
3692         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3693         Handle idlwave-last-system-routine-info-cons-cell being nil.
3695         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3696         (idlwave-write-paths): Simplify via with-temp-buffer.
3698         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3699         * emulation/cua-rect.el: Also load cua-base at run time.
3701         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3702         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3703         (cperl-imenu-on-info): Require imenu.
3705 2013-05-28  Alan Mackenzie  <acm@muc.de>
3707         Handle "capitalised keywords" correctly.
3708         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3710 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
3712         * eshell/em-unix.el: Add -r option to cp.
3714 2013-05-28  Glenn Morris  <rgm@gnu.org>
3716         * vc/vc-arch.el (vc-exec-after): Declare.
3717         (vc-switches): Autoload.
3718         * vc/vc-bzr.el: No need to require vc when compiling.
3719         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3720         (vc-resynch-buffer, vc-dir-refresh): Declare.
3721         (vc-setup-buffer, vc-switches): Autoload.
3722         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3723         (vc-resynch-buffer): Declare.
3724         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3725         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3726         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3727         (grep-read-regexp, grep-read-files, grep-expand-template)
3728         (vc-dir-refresh): Declare.
3729         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3730         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3731         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3732         * vc/vc-mtn.el (vc-exec-after): Declare.
3733         (vc-switches): Autoload.
3734         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3735         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3736         (vc-file-tree-walk): Declare.
3737         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3738         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3739         (vc-tag-precondition, vc-rename-master): Autoload.
3740         * vc/vc-svn.el (vc-exec-after): Declare.
3741         (vc-switches, vc-setup-buffer): Autoload.
3742         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3743         Autoload.
3744         (vc-resynch-buffer): Declare.
3746         * obsolete/fast-lock.el (byte-compile-warnings):
3747         Don't warn about obsolete features in this obsolete file.
3749         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3750         Move definition before use.
3752         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3753         (dun-unix-verbs): Remove dun-zippy.
3754         (dun-zippy): Remove function.
3756         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3758 2013-05-27  Juri Linkov  <juri@jurta.org>
3760         * replace.el (replace-search): New function with code moved out
3761         from `perform-replace'.
3762         (replace-highlight, replace-dehighlight): Move function definitions
3763         up closer to `replace-search'.  (Bug#11746)
3765 2013-05-27  Juri Linkov  <juri@jurta.org>
3767         * replace.el (perform-replace): Ignore invisible matches.
3768         In addition to checking `query-replace-skip-read-only', also
3769         filter out matches by calling `run-hook-with-args-until-failure'
3770         on `isearch-filter-predicates', and also check `search-invisible'
3771         for t or call `isearch-range-invisible'.
3772         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
3774 2013-05-27  Juri Linkov  <juri@jurta.org>
3776         * isearch.el (isearch-filter-predicates): Rename from
3777         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
3778         (isearch-message-prefix): Display text from the property
3779         `isearch-message-prefix' of the currently active filters.
3780         (isearch-search): Don't compare `isearch-filter-predicate' with
3781         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
3782         on `isearch-filter-predicates'.  Also check `search-invisible' for t
3783         or call `isearch-range-invisible'.
3784         (isearch-filter-visible): Make obsolete.
3785         (isearch-lazy-highlight-search):
3786         Call `run-hook-with-args-until-failure' on
3787         `isearch-filter-predicates' and use `isearch-range-invisible'.
3789         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3790         `isearch-filter-predicates' instead of `funcall'ing
3791         `isearch-filter-predicate'.
3792         (Info-mode): Set `Info-isearch-filter' to
3793         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3795         * dired-aux.el (dired-isearch-filter-predicate-orig):
3796         Remove variable.
3797         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3798         (dired-isearch-filenames-end): Add and remove
3799         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3800         instead of changing the value of `isearch-filter-predicate'.
3801         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3802         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3803         Put property `isearch-message-prefix' to "filename " on
3804         `dired-isearch-filter-filenames'.
3806         * wdired.el (wdired-change-to-wdired-mode):
3807         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3808         locally instead of changing `isearch-filter-predicate'.
3809         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3811 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
3813         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3814         return the commit hash (Bug#14459).  Also set the
3815         `vc-git-detached' property.
3816         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3817         (vc-git-mode-line-string): Use the same help-echo format whether
3818         in detached mode or not, because we know the actual revision now.
3819         When in detached mode, shorten the revision to 7 chars.
3821 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3823         * emacs-lisp/easy-mmode.el (define-minor-mode):
3824         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3825         mode hook and provide a docstring.
3827 2013-05-27  Alan Mackenzie  <acm@muc.de>
3829         Remove spurious syntax-table text properties inserted by C-y.
3830         * progmodes/cc-mode.el (c-after-change): Also clear hard
3831         syntax-table property with value nil.
3833 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
3835         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3836         when reading the events; the buffer layout shall not be changed.
3838 2013-05-27  Leo Liu  <sdl.web@gmail.com>
3840         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3841         New variable.
3842         (inferior-octave-directory-tracker): Automatically re-sync
3843         default-directory.
3844         (octave-help): Improve handling of 'See also'.
3846 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3848         * doc-view.el: Minor naming convention tweaks.
3849         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3851         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3852         even if there's no `display' property yet (bug#14435).
3854 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
3856         * subr.el (unmsys--file-name): Rename from reveal-filename.
3858         * Makefile.in (custom-deps, finder-data, autoloads)
3859         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3860         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3861         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3863 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3865         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3866         error-completion on the first 2 args of condition-case (bug#14446).
3867         Don't burp at EOB.
3869 2013-05-25  Leo Liu  <sdl.web@gmail.com>
3871         * comint.el (comint-previous-matching-input): Do not flood the
3872         *Messages* buffer with trivial messages.
3874 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3876         * progmodes/flymake.el (flymake-nop): Don't return a string.
3877         (flymake-set-at): Fix typo.
3879         * simple.el (read--expression): New function, extracted from
3880         eval-expression.  Set completion-at-point-functions (bug#14465).
3881         (eval-expression, eval-minibuffer): Use it.
3883 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
3885         * progmodes/flymake.el (flymake-save-buffer-in-file)
3886         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3887         (flymake-selected-frame, flymake-log, flymake-ins-after)
3888         (flymake-set-at, flymake-get-buildfile-from-cache)
3889         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3890         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3891         Refine the doc string.
3892         (flymake-get-file-name-mode-and-masks): Reformat.
3893         (flymake-get-real-file-name-function): Fix a minor bug.
3895 2013-05-24  Juri Linkov  <juri@jurta.org>
3897         * progmodes/grep.el (grep-mode-font-lock-keywords):
3898         Support =linenumber= format used by git-grep for lines with
3899         function names.  (Bug#13549)
3901 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3903         * progmodes/octave.el (octave-smie-rules): Return nil rather than
3904         0 after a semi-colon; it works better for smie-auto-fill.
3905         (octave--indent-new-comment-line): New function.
3906         (octave-indent-new-comment-line): Use it (indirectly).
3907         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
3908         modify comment-line-break-function.
3910         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3911         (smie-setup): Use add-function to set it.
3913 2013-05-24  Sam Steingold  <sds@gnu.org>
3915         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3916         argument (before the `interactive' argument).
3918 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3920         * image-mode.el (image-mode-winprops): Add winprops to
3921         image-mode-winprops-alist before running
3922         image-mode-new-window-functions.
3923         * doc-view.el (doc-view-new-window-function): Don't delay
3924         doc-view-goto-page via timers (bug#14435).
3926 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
3928         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
3929         (doc-view-desktop-save-buffer): New function.
3930         (doc-view-restore-desktop-buffer): New function.
3931         (desktop-buffer-mode-handlers):
3932         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3933         handler.
3934         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3935         `desktop-save-buffer' function.
3937 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
3939         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3940         (tramp-gvfs-file-name-handler): Raise a user error when
3941         `tramp-gvfs-enabled' is nil.
3942         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3943         Do not raise a user error when loading package.  (Bug#14447)
3945         * net/xesam.el: Move to obsolete/.
3947 2013-05-24  Glenn Morris  <rgm@gnu.org>
3949         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3951         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3953         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3954         (Info-find-node, Man-getpage-in-background): Declare.
3956         * mail/unrmail.el (unrmail):
3957         Replace obsolete detect-coding-with-priority.
3959         * net/socks.el (socks-split-string): Use this rather than split-string.
3960         (socks-nslookup-host): Update for above change.
3961         (dynamic-choice, s5-dynamic-choice-match)
3962         (s5-dynamic-choice-match-inline, s5-widget-value-create):
3963         Comment out unused code.
3965         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3966         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3967         (gud-tooltip-echo-area): Make obsolete.
3968         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3970         * progmodes/js.el (js--optimize-arglist): Declare.
3972         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3974         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3975         (ediff-window-C): Declare.
3977         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3978         Tweak requires to silence compiler.
3980         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3981         (he-search-string, he-tried-table, he-expand-list)
3982         (he-init-string, he-string-member, he-substitute-string)
3983         (he-reset-string): Declare.
3985         * obsolete/options.el (list-options): Use custom-variable-p,
3986         rather than obsolete alias.
3988 2013-05-23  Sam Steingold  <sds@gnu.org>
3990         * simple.el (shell-command-on-region): Pass the `replace' argument
3991         down to `call-process-region' to comply with the doc as reported on
3992         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3994 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3996         * emacs-lisp/smie.el (smie-indent-forward-token)
3997         (smie-indent-backward-token): Handle string tokens (bug#14381).
3999 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4001         * ielm.el (ielm-menu): New menu.
4002         (inferior-emacs-lisp-mode): Set comment-start.
4004 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4006         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4007         Fix deactivate action.
4009         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4010         Add cleveref macros.
4012         * lisp/textmodes/reftex-parse.el
4013         (reftex-locate-bibliography-files): Accept options for
4014         bibliography commands.
4015         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4016         Add addbibresource.  Basic Biblatex support.
4018 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
4020         * net/tramp-gvfs.el (top):
4021         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4022         when loading package.  (Bug#14447)
4024 2013-05-23  Glenn Morris  <rgm@gnu.org>
4026         * progmodes/js.el: No need to load comint when compiling.
4027         (ring-insert, comint-send-string, comint-send-input)
4028         (comint-last-input-end, ido-chop): Declare.
4030         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4031         * vc/ediff-mult.el: Adjust requires.
4032         (ediff-directories-internal, ediff-directory-revisions-internal)
4033         (ediff-patch-file-internal): Declare.
4034         * vc/ediff-ptch.el: Adjust requires.
4035         (ediff-use-last-dir, ediff-buffers-internal): Declare.
4036         (ediff-find-file): Autoload.
4037         * vc/ediff-util.el: No need to load ediff when compiling.
4038         (ediff-regions-internal): Declare.
4039         * vc/ediff-wind.el: Adjust requires.
4040         (ediff-compute-toolbar-width): Define when compiling.
4041         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4042         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4043         (dired-get-filename, dired-get-marked-files)
4044         (ediff-last-dir-patch, ediff-patch-default-directory)
4045         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4046         (ediff-patch-buffer-internal): Declare.
4048         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4049         (ispell-process, ispell-buffer-local-words, lm-summary)
4050         (lm-section-start, lm-section-end): Declare.
4051         (checkdoc-ispell-init): Simplify.
4053         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4054         (he-string-member, he-reset-string, he-substitute-string): Declare.
4056         * eshell/em-ls.el: Adjust requires.
4057         (eshell-glob-regexp): Declare.
4058         * eshell/em-tramp.el: Adjust requires.
4059         (eshell-parse-command): Autoload.
4060         * eshell/em-xtra.el: Adjust requires.
4061         (eshell-parse-command): Autoload.
4062         * eshell/esh-ext.el: Adjust requires.
4063         (eshell-parse-command, eshell-close-handles): Autoload.
4064         * eshell/esh-io.el: Adjust requires.
4065         (eshell-output-filter): Autoload.
4066         * eshell/esh-util.el: No need to load tramp when compiling.
4067         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4068         Declare.
4069         (eshell-parse-ange-ls): Require ange-ftp and tramp.
4070         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4071         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4072         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4073         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4074         * eshell/esh-opt.el, eshell/esh-proc.el:
4075         * eshell/esh-var.el: Adjust requires.
4076         * eshell/eshell.el: Do not require esh-util twice.
4077         (eshell-add-input-to-history): Declare.
4078         (eshell-command): Check history module is active before using it.
4080         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4082 2013-05-22  Leo Liu  <sdl.web@gmail.com>
4084         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4086 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
4088         * autorevert.el (auto-revert-notify-add-watch)
4089         (auto-revert-notify-handler): Add `attrib' for the inotify case,
4090         it indicates changes in file modification time.
4092 2013-05-22  Glenn Morris  <rgm@gnu.org>
4094         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4095         Always delete the autoloaded function from the noruntime and
4096         unresolved functions lists.
4098         * allout.el: No need to load epa, epg, overlay when compiling.
4099         (epg-context-set-passphrase-callback, epg-list-keys)
4100         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4101         (epg-key-user-id-list): Declare.
4103         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4104         (viper-set-parsing-style-toggling-macro)
4105         (viper-set-emacs-state-searchstyle-macros):
4106         Use called-interactively-p on Emacs.
4107         (viper-looking-back): Make it an obsolete alias.  Update callers.
4108         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4109         Use looking-back rather than viper-looking-back.
4110         (viper-tmp-insert-at-eob, viper-enlarge-region)
4111         (viper-read-string-with-history, viper-register-to-point)
4112         (viper-append-to-register, viper-change-state-to-vi)
4113         (viper-backward-char-carefully, viper-forward-char-carefully)
4114         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4115         (viper-change-state-to-emacs): Declare.
4116         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4117         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4118         * emulation/viper-mous.el: Do not load viper-cmd.
4119         (viper-backward-char-carefully, viper-forward-char-carefully)
4120         (viper-forward-word, viper-adjust-window): Declare.
4122         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4124         * progmodes/idlw-help.el (idlwave-help-fontify):
4125         Use called-interactively-p.
4127         * term/w32console.el (w32-get-console-codepage)
4128         (w32-get-console-output-codepage): Declare.
4130         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4131         Remove unnecessary declarations.
4132         (dframe-message): Doc fix.
4134         * info.el (dframe-select-attached-frame, dframe-current-frame):
4135         Declare.
4137         * speedbar.el (speedbar-message): Make it an obsolete alias.
4138         Update all callers.
4139         (speedbar-with-attached-buffer)
4140         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4141         (speedbar-with-writable): Use backquote.
4142         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4143         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4144         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4145         rather than speedbar- aliases.
4146         * mail/rmail.el: Load dframe rather than speedbar when compiling.
4147         (speedbar-make-specialized-keymap, speedbar-insert-button)
4148         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4149         (speedbar-do-function-pointer): Declare.
4150         (rmail-speedbar-button, rmail-speedbar-find-file)
4151         (rmail-speedbar-move-message):
4152         Use dframe-with-attached-buffer rather than speedbar- alias.
4153         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4154         (dframe-message, speedbar-make-specialized-keymap)
4155         (speedbar-add-expansion-list, speedbar-mode-functions-list)
4156         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4157         (speedbar-insert-button, dframe-select-attached-frame)
4158         (dframe-maybee-jump-to-attached-frame)
4159         (speedbar-change-initial-expansion-list)
4160         (speedbar-previously-used-expansion-list-name): Declare.
4161         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4162         Use dframe-message, dframe-with-attached-buffer rather than
4163         speedbar- aliases.
4164         (gud-sentinel): Silence compiler.
4165         * progmodes/vhdl-mode.el (speedbar-refresh)
4166         (speedbar-do-function-pointer, speedbar-add-supported-extension)
4167         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4168         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4169         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4170         (speedbar-file-lists, speedbar-make-tag-line)
4171         (speedbar-line-directory, speedbar-goto-this-file)
4172         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4173         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4174         (speedbar-make-button, speedbar-reset-scanners)
4175         (speedbar-files-item-info, speedbar-line-text)
4176         (speedbar-find-file-in-frame, speedbar-set-timer)
4177         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4178         (speedbar-with-writable): Do not (re)define it.
4179         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4180         rather than speedbar- alias.
4182 2013-05-21  Leo Liu  <sdl.web@gmail.com>
4184         * progmodes/octave.el (octave-mode-menu): Update and re-organize
4185         menu items.
4186         (octave-mode): Tweak fill-nobreak-predicate.
4187         (inferior-octave-startup): Check process to avoid infinite loop.
4188         (inferior-octave): Pop to buffer first to show abornmal process
4189         exit information.
4191 2013-05-21  Glenn Morris  <rgm@gnu.org>
4193         * printing.el (pr-menu-bar): Define when compiling.
4195 2013-05-21  Leo Liu  <sdl.web@gmail.com>
4197         * progmodes/octave.el (octave-auto-fill): Remove.
4198         (octave-indent-new-comment-line): Improve.
4199         (octave-mode): Use auto fill mode through
4200         comment-line-break-function and fill-nobreak-predicate.
4201         (octave-goto-function-definition): Support DEFUN_DLD.
4202         (octave-beginning-of-defun): Small tweak.
4203         (octave-help): Show parent directory.
4205 2013-05-21  Glenn Morris  <rgm@gnu.org>
4207         * files.el (dired-unmark):
4208         * progmodes/gud.el (gdb-input): Update declarations.
4210         * calculator.el (electric, ehelp): No need to load when compiling.
4211         (Electric-command-loop, electric-describe-mode): Declare.
4213         * doc-view.el (doc-view-current-converter-processes): Move before use.
4215         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4216         Move MODE-set-explicitly definition before use.
4218         * international/mule-diag.el (mule-diag):
4219         Don't use obsolete window-system-version.
4221         * mail/feedmail.el (smtpmail): No need to load when compiling.
4222         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4224         * mail/mail-utils.el (rfc822): No need to load when compiling.
4225         (rfc822-addresses): Autoload it.
4226         (mail-strip-quoted-names): Trivial simplification.
4228         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4229         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4231         * net/snmp-mode.el (tempo): Don't duplicate requires.
4233         * progmodes/prolog.el (info): No need to load when compiling.
4234         (comint): Require before shell requires it.
4235         (Info-goto-node): Autoload it.
4236         (Info-follow-nearest-node): Declare.
4237         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4239         * textmodes/artist.el (picture-mode-exit): Declare.
4241         * textmodes/reftex-parse.el (reftex-parse-from-file):
4242         Trivial rewrite so the compiler can parse it better.
4244 2013-05-20  Leo Liu  <sdl.web@gmail.com>
4246         * progmodes/octave.el (octave-help-mode-map)
4247         (octave-help-mode-finish-hook): New variables.
4248         (octave-help-mode, octave-help-mode-finish): New functions.
4249         (octave-help): Use octave-help-mode.
4251 2013-05-20  Glenn Morris  <rgm@gnu.org>
4253         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
4255 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
4257         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4258         start at point, so that expansion starting right after opening
4259         slash in a regexp is recognized.
4260         (ruby-syntax-before-regexp-re): New defvar, extracted from
4261         ruby-syntax-propertize-function.  Since the value of this regexp
4262         is looked up at runtime now, we should be able to turn
4263         `ruby-syntax-methods-before-regexp' into a defcustom later.
4264         (ruby-syntax-propertize-function): Split regexp matching into two
4265         parts, for opening and closing slashes.  That allows us to skip
4266         over string interpolations and support multiline regexps.
4267         Don't call `ruby-syntax-propertize-expansions', instead use another rule
4268         for them, which calls `ruby-syntax-propertize-expansion'.
4269         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4270         call to `ruby-syntax-propertize-function'.
4271         (ruby-syntax-propertize-expansion): Extracted from
4272         `ruby-syntax-propertize-expansions'.  Handles one expansion.
4273         (ruby-syntax-propertize-percent-literal): Leave point right after
4274         the percent symbol, so that the expression expansion rule can
4275         propertize the contents.
4276         (ruby-syntax-propertize-heredoc): Leave point at bol following the
4277         heredoc openers.
4278         (ruby-syntax-propertize-expansions): Remove.
4280 2013-05-18  Juri Linkov  <juri@jurta.org>
4282         * man.el (Man-default-man-entry): Remove `-' from the end
4283         of the default value.  (Bug#14400)
4285 2013-05-18  Glenn Morris  <rgm@gnu.org>
4287         * comint.el (comint-password-prompt-regexp):
4288         Allow "password for XXX" where XXX contains colons (eg https://...).
4290 2013-05-18  Leo Liu  <sdl.web@gmail.com>
4292         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4293         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
4294         (octave-source-directories): Don't check process.
4295         (octave-source-directories, octave-find-definition): Doc fix.
4297 2013-05-18  Glenn Morris  <rgm@gnu.org>
4299         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4300         Remove backspace/delete bindings.  (Bug#14392)
4302         * cus-dep.el (custom-make-dependencies): Sort the output.
4303         (custom-versions-load-alist): Convert comment to doc.
4305 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4307         * newcomment.el (comment-search-backward): Stricter in finding
4308         comment start.  (Bug#14303)
4310         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4311         (octave-comment-start-skip): Properly anchored.
4313 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4315         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4316         Clean up when turned off.  (Bug#14395)
4317         (smie--highlight-matching-block-overlay): No longer buffer-local.
4318         (smie-highlight-matching-block): Adjust.
4320 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
4322         Doc string fix for "nanoseconds" (Bug#14406).
4323         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4324         Fix doc string typo that had "nanoseconds" instead of "microseconds".
4326 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4328         * calc/calc-units.el (math-extract-units): Preserve powers
4329         of units.
4331 2013-05-17  Leo Liu  <sdl.web@gmail.com>
4333         * subr.el (delete-consecutive-dups): New function.
4334         * ido.el (ido-set-matches-1): Use it.
4335         * progmodes/octave.el (inferior-octave-completion-table): Use it.
4336         * ido.el (ido-remove-consecutive-dups): Remove.
4338 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4340         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4341         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4342         regexp-opt's `words'.
4344 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4346         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4347         (smie--highlight-matching-block-overlay)
4348         (smie--highlight-matching-block-lastpos)
4349         (smie--highlight-matching-block-timer): New variables.
4350         (smie-highlight-matching-block): New function.
4351         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
4352         (smie-setup): Conditionally enable smie-blink-matching-open.
4354 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
4356         Sync with upstream verilog-mode r840.
4357         * progmodes/verilog-mode.el (verilog-mode-version)
4358         (verilog-mode-release-date): Update.
4359         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4360         (verilog-sig-tieoff): Fix string error on
4361         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
4362         (verilog-read-decls): Fix parameters confusing
4363         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
4365 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
4367         * subr.el (reveal-filename): New function.
4369         * loadup.el: Compute Emacs executable versions on MS-Windows,
4370         where executables have the .exe extension.  Add a hard link
4371         emacs-XX.YY.ZZ.exe on MS-Windows.
4373         * Makefile.in (XARGS_LIMIT): New variable.
4374         (custom-deps, finder-data, autoloads)
4375         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4376         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4377         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4378         (compile-main): Limit xargs according to $(XARGS_LIMIT).
4380 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4382         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4383         (octave-mode-menu, octave-mode-map): Remove its uses.
4385 2013-05-16  Reto Zimmermann  <reto@gnu.org>
4387         Sync with upstream vhdl mode v3.34.2.
4388         * progmodes/vhdl-mode.el: Use `push' throughout.
4389         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4390         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4391         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
4392         (vhdl-actual-generic-name): New option to derive actual generic name.
4393         (vhdl-port-paste-signals): Replace formal by actual generics.
4394         (vhdl-beautify): New name for old group vhdl-align.  Update users.
4395         (vhdl-beautify-options): New option.
4396         (vhdl-last-input-event): New compat alias.  Use throughout.
4397         (vhdl-goto-line): Replace user level function `goto-line'.
4398         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4399         vhdl-fix-statement-buffer.
4400         (vhdl-create-mode-menu): Add some entries.
4401         (vhdl-align-region-groups): Respect vhdl-beautify-options.
4402         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4403         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4404         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4405         to force statements on one line.
4406         (vhdl-remove-trailing-spaces-region):
4407         New, split from vhdl-remove-trailing-spaces.
4408         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4409         Respect vhdl-beautify-options.
4410         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4411         (vhdl-update-sensitivity-list): Not add with index if exists without.
4412         Not include array index with signal.  Ignore keywords in comments.
4413         (vhdl-get-visible-signals): Regexp tweaks.
4414         (vhdl-template-component-inst): Handle empty library.
4415         (vhdl-template-type): Add template for 'enum' type.
4416         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4417         Use vhdl-replace-string.
4418         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4419         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4420         (vhdl-speedbar-initialize): Update for above name change.
4421         (vhdl-compose-wire-components): Fix in handling of constants.
4422         (vhdl-error-regexp-emacs-alist): New variable.
4423         (vhdl-error-regexp-add-emacs): New function;
4424         adds support for new compile.el (Emacs 22+)
4425         (vhdl-generate-makefile-1): Change target order for single lib. units.
4426         Allow use of absolute file names.
4428 2013-05-16  Leo Liu  <sdl.web@gmail.com>
4430         * simple.el (prog-indent-sexp): Indent enclosing defun.
4432 2013-05-15  Glenn Morris  <rgm@gnu.org>
4434         * cus-start.el (show-trailing-whitespace): Move to editing basics.
4435         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4436         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4437         (whitespace-highlight): Move to whitespace group.
4439         * comint.el (comint-source):
4440         * pcmpl-linux.el (pcmpl-linux):
4441         * shell.el (shell-faces):
4442         * eshell/esh-opt.el (eshell-opt):
4443         * international/ccl.el (ccl): Remove empty custom groups.
4445         * completion.el (dynamic-completion-mode):
4446         * jit-lock.el (jit-lock-debug-mode):
4447         * minibuffer.el (completion-in-region-mode):
4448         * type-break.el (type-break-mode-line-message-mode)
4449         (type-break-query-mode):
4450         * emulation/tpu-edt.el (tpu-edt-mode):
4451         * progmodes/subword.el (global-subword-mode, global-superword-mode):
4452         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4453         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4455         * term/xterm.el (xterm): Change parent group to terminals.
4457         * master.el (master): Remove empty custom group.
4458         (master-mode): Remove unused :group argument.
4459         * textmodes/refill.el (refill): Remove empty custom group.
4460         (refill-mode): Remove unused :group argument.
4462         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4464         * cus-dep.el: Provide a feature.
4465         (custom-make-dependencies): Ignore dotfiles (dir-locals).
4466         Don't mistakenly ignore files whose basenames match a basename
4467         from preloaded-file-list (eg cedet/ede/simple.el).
4468         Add a fallback method for getting :group.
4470 2013-05-15  Juri Linkov  <juri@jurta.org>
4472         * isearch.el (isearch-char-by-name): Rename from
4473         `isearch-insert-char-by-name'.  Doc fix.
4474         (isearch-forward): Mention `isearch-char-by-name' in
4475         the docstring.  (Bug#13348)
4477         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4478         `exit-minibuffer' instead of
4479         `isearch-nonincremental-exit-minibuffer'.
4480         (isearch-edit-string): Remove mention of
4481         `isearch-nonincremental-exit-minibuffer' from docstring.
4482         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4483         (isearch-forward-exit-minibuffer)
4484         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
4486 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4488         * loadup.el: Just use unversioned DOC.
4490         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4491         literals as extending to EOB.
4492         (nxml-last-fontify-end): Remove unused variable.
4493         (nxml-after-change1): Use with-silent-modifications.
4494         (nxml-extend-after-change-region): Simplify.
4495         (nxml-extend-after-change-region1): Remove function.
4496         (nxml-after-change1): Don't adjust for dependent regions.
4497         (nxml-fontify-matcher): Simplify.
4498         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4499         (xmltok-add-dependent): Remove function.
4500         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4501         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4502         (xmltok-scan-prolog-after-processing-instruction-open): Treat
4503         unclosed <[[, <?, comment, and other literals as extending to EOB.
4504         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4505         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4506         Remove functions.
4507         (rng-do-some-validation-1): Don't mark dependent regions.
4508         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4509         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4510         (nxml-clear-dependent-regions): Remove functions.
4511         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4512         (nxml-ensure-scan-up-to-date):
4513         Don't clear&mark dependent regions.
4515 2013-05-15  Leo Liu  <sdl.web@gmail.com>
4517         * progmodes/octave.el (octave-goto-function-definition):
4518         Improve and fix callers.
4520 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4523         the setter (bug#14387).
4525         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4526         surrounding group (bug#14402).
4528 2013-05-14  Juri Linkov  <juri@jurta.org>
4530         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4531         (Bug#14390)
4533 2013-05-14  Glenn Morris  <rgm@gnu.org>
4535         * progmodes/f90.el (f90-imenu-generic-expression):
4536         Fix typo in 2013-05-08 change.  (Bug#14402)
4538 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4540         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4541         Remove signals for which replies are never received.
4543 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4545         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4546         (gdb-handler-alist, gdb-handler-number): Remove variables.
4547         (gdb-handler-list): New variable.
4548         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4549         (gdb-pending-handler-p, gdb-handle-reply)
4550         (gdb-remove-all-pending-triggers): New functions.
4551         (gdb-discard-unordered-replies): New defcustom.
4552         (gdb-handler): New defstruct.
4553         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
4554         instead of gdb-pending-triggers.  Update docstring.
4555         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
4556         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4557         (gdb-var-update-handler, def-gdb-auto-update-trigger)
4558         (def-gdb-auto-update-handler, gdb-get-changed-registers)
4559         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4560         (gdb-frame-handler): Pending triggers are now automatically managed.
4561         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4562         Remove argument.
4563         (gdb-input): Automatically handles pending triggers.  Update docstring.
4564         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4565         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4566         Update comments.
4567         (gdb-done-or-error): Now use gdb-handle-reply.
4569 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
4571         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4572         gdb-debug-log.
4574 2013-05-14  Glenn Morris  <rgm@gnu.org>
4576         * subr.el (user-emacs-directory-warning): New option.
4577         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
4579 2013-05-14  Leo Liu  <sdl.web@gmail.com>
4581         * progmodes/octave.el (octave-font-lock-keywords): Fix error
4582         during redisplay.
4583         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4584         (octave-font-lock-texinfo-comment): Fix invalid search bound
4585         error: wrong side of point.
4587 2013-05-14  Glenn Morris  <rgm@gnu.org>
4589         * progmodes/flymake.el (flymake-xml-program): New option.
4590         (flymake-xml-init): Use it.
4592         * term/xterm.el: Provide a feature.
4594         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
4596 2013-05-13  Glenn Morris  <rgm@gnu.org>
4598         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4599         Add compat aliases as a hack workaround.  (Bug#14384)
4601 2013-05-13  Leo Liu  <sdl.web@gmail.com>
4603         * progmodes/octave.el (octave-indent-comment): Fix indentation for
4604         ###, and %!.
4605         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4606         C-M-q.
4607         (octave-comment-start-skip): Include %!.
4608         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4610 2013-05-12  Leo Liu  <sdl.web@gmail.com>
4612         * progmodes/octave.el (inferior-octave-startup): Store the value
4613         of __octave_srcdir__ for octave-source-directories.
4614         (inferior-octave-check-process): New function refactored out of
4615         inferior-octave-send-list-and-digest.
4616         (octave-source-directories)
4617         (octave-find-definition-filename-function): New variables.
4618         (octave-source-directories)
4619         (octave-find-definition-default-filename): New functions.
4620         (octave-find-definition): Improve to find functions implemented in C++.
4622 2013-05-12  Glenn Morris  <rgm@gnu.org>
4624         * calendar/diary-lib.el (diary-outlook-format-1):
4625         Don't include dayname in the output.  (Bug#14349)
4627 2013-05-11  Glenn Morris  <rgm@gnu.org>
4629         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4631         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4632         Treat cc-provide like provide.
4634 2013-05-11  Kevin Ryde  <user42@zip.com.au>
4636         * cus-dep.el (custom-make-dependencies):
4637         Use generated-autoload-load-name for the sake of files such
4638         such cedet/semantic/bovine/c.el, where the base file name
4639         is not in load-path.  (Bug#5277)
4641 2013-05-11  Glenn Morris  <rgm@gnu.org>
4643         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4644         Provide features.
4646 2013-05-11  Leo Liu  <sdl.web@gmail.com>
4648         * progmodes/octave.el (octave-indent-comment): Improve.
4649         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4650         (octave-eldoc-function-signatures, octave-eldoc-function):
4651         New functions.
4652         (octave-mode, inferior-octave-mode): Add eldoc support.
4654 2013-05-11  Richard Stallman  <rms@gnu.org>
4656         * epa.el (epa-decrypt-file): Take output file name as argument
4657         and read it using `interactive'.
4659 2013-05-11  Leo Liu  <sdl.web@gmail.com>
4661         * progmodes/octave.el (octave-beginning-of-line)
4662         (octave-end-of-line): Check before using up-list because it jumps
4663         out of more syntactic contructs since moving to smie.
4664         (octave-indent-comment): New function.
4665         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
4666         (octave-begin-keywords, octave-end-keywords)
4667         (octave-reserved-words, octave-smie-bnf-table)
4668         (octave-smie-rules): Add new keywords from Octave 3.6.4.
4670 2013-05-11  Glenn Morris  <rgm@gnu.org>
4672         * faces.el (internal-face-x-get-resource):
4673         * frame.el (ns-display-monitor-attributes-list):
4674         * calc/calc-aent.el (math-to-radians-2):
4675         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4676         Fix declarations.
4678         * calc/calc-menu.el: Make it loadable in isolation.
4680         * net/eudcb-bbdb.el: Make it loadable without bbdb.
4681         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4682         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4683         (eudc-bbdb-query-internal): Require 'bbdb.
4685         * lpr.el (lpr-headers-switches):
4686         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4688         * progmodes/sql.el (sql-login-params): Fix and improve :type.
4690         * emulation/edt-mapper.el: In batch mode, error rather than hang.
4692         * term.el (term-set-escape-char): Make it idempotent.
4694 2013-05-10  Leo Liu  <sdl.web@gmail.com>
4696         * progmodes/octave.el (inferior-octave-completion-table):
4697         No longer a function and all uses changed.  Use cache to speed up
4698         completion due to bug#11906.
4699         (octave-beginning-of-defun): Re-write to be more general.
4701 2013-05-10  Glenn Morris  <rgm@gnu.org>
4703         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4705 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4707         * comint.el (comint-redirect-send-command-to-process): Use :around
4708         rather than :override for comint-redirect-filter.
4709         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4710         Call it instead of comint-redirect-original-filter-function (which
4711         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
4713 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
4715         * frame.el (display-monitor-attributes-list): Add NS case.
4716         (ns-display-monitor-attributes-list): Declare.
4718 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
4720         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
4722 2013-05-09  Glenn Morris  <rgm@gnu.org>
4724         * international/fontset.el (vertical-centering-font-regexp):
4725         Set standard-value.
4727         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4729         * bookmark.el (bookmark-search-delay):
4730         * cus-start.el (vertical-centering-font-regexp):
4731         * ps-mule.el (ps-mule-font-info-database-default):
4732         * ps-print.el (ps-default-fg, ps-default-bg):
4733         * type-break.el (type-break-good-break-interval):
4734         * whitespace.el (whitespace-indentation-regexp)
4735         (whitespace-space-after-tab-regexp):
4736         * emacs-lisp/testcover.el (testcover-1value-functions)
4737         (testcover-noreturn-functions, testcover-progn-functions)
4738         (testcover-prog1-functions):
4739         * emulation/viper-init.el (viper-emacs-state-cursor-color):
4740         * eshell/em-glob.el (eshell-glob-translate-alist):
4741         * play/tetris.el (tetris-tty-colors):
4742         * progmodes/cpp.el (cpp-face-default-list):
4743         * progmodes/flymake.el (flymake-allowed-file-name-masks):
4744         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4745         (idlwave-help-browser-generic-args):
4746         * progmodes/make-mode.el (makefile-special-targets-list):
4747         * progmodes/python.el (python-shell-virtualenv-path):
4748         * progmodes/verilog-mode.el (verilog-active-low-regexp)
4749         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4750         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4751         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4752         * textmodes/reftex-vars.el (reftex-format-label-function):
4753         * textmodes/remember.el (remember-diary-file): Fix custom types.
4755         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4756         Add :version.
4758 2013-05-09  Leo Liu  <sdl.web@gmail.com>
4760         * progmodes/octave.el (inferior-octave-completion-at-point):
4761         Restore file completion.  (Bug#14300)
4762         (inferior-octave-startup): Fix incorrect highlighting for the
4763         first prompt.
4765 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4767         * progmodes/ruby-mode.el: First cut at SMIE support.
4768         (ruby-use-smie): New var.
4769         (ruby-smie-grammar): New constant.
4770         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4771         (ruby-smie--forward-token, ruby-smie--backward-token)
4772         (ruby-smie-rules): New functions.
4773         (ruby-mode-variables): Setup SMIE if applicable.
4775 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
4777         * simple.el (line-move-visual): Signal beginning/end of buffer
4778         only if vertical-motion moved less than it was requested.  Avoids
4779         silly incorrect error messages when there are display strings with
4780         multiple newlines at EOL.
4782 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4784         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4785         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4786         (prolog-char-quote-workaround):
4787         * progmodes/cperl-mode.el (cperl-under-as-char):
4788         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4789         Mark as obsolete.
4790         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4791         their declaration.
4792         (vhdl-mode-syntax-table-init): Remove.
4794         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4795         last change.
4797         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4798         syntax for "_".
4799         (ld-script-font-lock-keywords):
4800         Change regexps to use things like \_< and \_>.
4802         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4803         Change all regexps to use things like \_< and \_>.
4805         * progmodes/autoconf.el (autoconf-definition-regexp)
4806         (autoconf-font-lock-keywords, autoconf-current-defun-function):
4807         Handle a _ with symbol syntax.
4808         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4810         * progmodes/ada-mode.el (ada-mode-abbrev-table):
4811         Consolidate declaration.
4812         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4813         the declaration.
4814         (ada-create-syntax-table): Remove.
4815         (ada-capitalize-word): Don't mess with the syntax of "_" since it
4816         already has the right syntax nowadays.
4817         (ada-goto-next-word): Don't change the syntax of "_".
4819         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4820         with-wrapper-hook.
4822 2013-05-08  Sam Steingold  <sds@gnu.org>
4824         * thingatpt.el (thing-at-point): Accept optional second argument
4825         NO-PROPERTIES to strip the text properties from the return value.
4826         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4827         to `thing-at-point' instead of stripping the properties ourselves.
4828         Also, when `thing-at-point' fails to find a url, prepend "http://"
4829         to the filename at point on the assumption that the user is
4830         pointing at something like gnu.org/gnu.
4832 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
4834         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4835         * faces.el (crm-separator):
4836         Silence byte-compiler.
4838         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4839         (tool-bar-map): Remove unneeded defvars.
4841 2013-05-08  Leo Liu  <sdl.web@gmail.com>
4843         Re-work a fix for bug#10994 based on Le Wang's patch.
4844         * ido.el (ido-remove-consecutive-dups): New helper.
4845         (ido-completing-read): Use it.
4846         (ido-chop): Revert fix for bug#10994.
4848 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
4850         * cus-edit.el (custom-save-variables):
4851         Pretty-print long values.  (Bug#14187)
4853 2013-05-08  Glenn Morris  <rgm@gnu.org>
4855         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4856         (m4-mode-syntax-table): Init in the defvar.
4857         (m4-mode-abbrev-table): Let define-derived-mode define it.
4859 2013-05-08  Tom Tromey  <tromey@redhat.com>
4861         * progmodes/m4-mode.el (m4-mode-syntax-table):
4862         Do not treat "_" as word constituent.  (Bug#14167)
4864 2013-05-07  Glenn Morris  <rgm@gnu.org>
4866         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4867         Remove explicit eshell-isearch-cancel-map.
4869         * progmodes/f90.el (f90-smart-end-names): New option.
4870         (f90-smart-end): Doc fix.
4871         (f90-end-block-optional-name): New constant.
4872         (f90-block-match): Respect f90-smart-end-names.
4874 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4876         * progmodes/octave.el (octave-smie-forward-token): Be more careful
4877         about implicit semi-colons (bug#14218).
4879 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4881         * frame.el (display-monitor-attributes-list)
4882         (frame-monitor-attributes): New functions.
4884 2013-05-06  Leo Liu  <sdl.web@gmail.com>
4886         * progmodes/octave.el (octave-syntax-propertize-function): Change
4887         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
4888         (octave-font-lock-keywords): Use octave-operator-regexp.
4889         (octave-completion-at-point): Rename from
4890         octave-completion-at-point-function.
4891         (inferior-octave-directory-tracker): Robustify.
4892         (octave-text-functions): Remove and fix its uses.  No such things
4893         any more.
4895 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4897         * emacs-lisp/trace.el (trace--display-buffer): New function.
4898         (trace-make-advice): Use it.
4900 2013-05-06  Juri Linkov  <juri@jurta.org>
4902         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
4903         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4904         Doc fix.
4905         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4906         in the help string.  (Bug#12985)
4908 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4910         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
4912 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4914         * progmodes/perl-mode.el: Add support for here documents.
4915         (perl-syntax-propertize-function): Match here-doc markers.
4916         (perl-syntax-propertize-special-constructs): Find their end.
4917         (perl-imenu-generic-expression): Use [:alnum:].
4919         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4920         (advice--add-function): Refresh the advice if already present
4921         (bug#14317).
4923 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
4925         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
4927 2013-05-06  Glenn Morris  <rgm@gnu.org>
4929         * w32-fns.el (w32-charset-info-alist): Declare.
4931         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4932         of its defcustom properties.
4933         (eshell-cmpl-initialize): No need to load pcomplete.
4935         * generic-x.el: No need to require comint when compiling.
4937         * net/eudc-export.el: Make it loadable without bbdb.
4938         (top-level): Use require rather than load-library.
4939         (eudc-create-bbdb-record, eudc-bbdbify-phone)
4940         (eudc-batch-export-records-to-bbdb)
4941         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4942         Require bbdb.
4944 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4946         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4947         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4948         some tweaks, instead.
4950 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4952         * progmodes/octave.el (octave-font-lock-keywords)
4953         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4954         (inferior-octave-send-list-and-digest): Improve error message.
4955         (octave-mode, inferior-octave-mode): Use setq-local.
4956         (octave-help): Set info-lookup-mode.
4958 2013-05-05  Richard Stallman  <rms@gnu.org>
4960         * vc/compare-w.el (compare-windows-whitespace):
4961         Treat no-break space as whitespace.
4963         * mail/rmailsum.el (rmail-summary-rmail-update):
4964         Detect empty summary and don't change selected message.
4965         (rmail-summary-goto-msg): Likewise.
4967         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4968         Doc fixes, rename args.
4970 2013-05-05  Alan Mackenzie  <acm@muc.de>
4972         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4974 2013-05-05  Juri Linkov  <juri@jurta.org>
4976         * info.el (Info-read-subfile): Use (point-min) instead of (point)
4977         to not add the length of the summary segment to the return value.
4978         (Bug#14125)
4980 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4982         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4983         (inferior-octave-output-filter): Remove.
4984         (octave-send-region, inferior-octave-startup): Fix callers.
4985         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4986         (octave-binary-file-extensions): New user variable.
4987         (octave-find-definition): Confirm if opening binary files.
4988         (octave-help-file): Use octave-find-definition to get the binary
4989         confirmation.
4990         (octave-help): Adjust for octave-help-file change.
4992 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4995         Merge the two entries that handle function definitions.
4996         (pascal--syntax-propertize): New const.
4997         (pascal-mode): Use it.  Use setq-local.
4999 2013-05-04  Glenn Morris  <rgm@gnu.org>
5001         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5002         (diary-from-outlook): Respect diary-from-outlook-function.
5004 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5006         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5007         Move the declaration from C.
5008         (read-minibuffer, eval-minibuffer): Move from C.
5009         (completion-setup-function): Avoid minibuffer-completion-contents.
5011 2013-05-03  Leo Liu  <sdl.web@gmail.com>
5013         * progmodes/octave.el (octave-font-lock-keywords): Do not
5014         dehighlight 'end' in comments or strings.
5015         (octave-completing-read, octave-goto-function-definition):
5016         New helpers.
5017         (octave-help-buffer): New user variable.
5018         (octave-help-file, octave-help-function): New button types.
5019         (octave-help): New command and bind it to C-h ;.
5020         (octave-find-definition): New command and bind it to M-.
5021         (user-error): Alias to error if not defined.
5023 2013-05-02  Leo Liu  <sdl.web@gmail.com>
5025         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5026         for \.  (bug#14332)
5027         (octave-font-lock-keywords): Include [ and {.
5029 2013-05-02  Leo Liu  <sdl.web@gmail.com>
5031         * progmodes/octave.el (inferior-octave-startup-file): Change default.
5032         (inferior-octave): Remove calling comint-mode and return the buffer.
5033         (inferior-octave-startup): Cosmetic changes.
5035 2013-05-02  Leo Liu  <sdl.web@gmail.com>
5037         * progmodes/octave.el (octave-syntax-propertize-function):
5038         Include the case when ' is at line beginning.  (Bug#14336)
5040 2013-05-02  Glenn Morris  <rgm@gnu.org>
5042         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5043         * desktop.el (vc-dir-mode): Just autoload it here.
5045 2013-05-02  Alan Mackenzie  <acm@muc.de>
5047         Eliminate variable c-standard-font-lock-fontify-region-function.
5048         * progmodes/cc-mode.el
5049         (c-standard-font-lock-fontify-region-function): Remove.
5050         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5052 2013-05-01  Leo Liu  <sdl.web@gmail.com>
5054         * progmodes/octave.el: Compatible with older emacs-24 releases.
5055         (inferior-octave-has-built-in-variables): Remove.  Built-in
5056         variables were removed from Octave in 2007.
5057         (inferior-octave-startup): Fix uses.
5058         (comint-line-beginning-position): Remove compatibility code for
5059         emacs 21.
5061 2013-05-01  Juri Linkov  <juri@jurta.org>
5063         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
5065 2013-05-01  Juri Linkov  <juri@jurta.org>
5067         * comint.el (comint-previous-matching-input): Don't print message
5068         "History item: %d" when `isearch-mode' is active.
5069         (comint-history-isearch-message): Print message "History item: %d"
5070         when `comint-input-ring-index' is not empty and this function is
5071         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
5073 2013-05-01  Leo Liu  <sdl.web@gmail.com>
5075         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5076         definitions.  Use completion-at-point to insert keywords.
5077         (octave-abbrev-start): Remove.
5078         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5080 2013-04-30  Leo Liu  <sdl.web@gmail.com>
5082         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5083         change.
5085 2013-04-30  Alan Mackenzie  <acm@muc.de>
5087         Handle arbitrarily long C++ member initialisation lists.
5088         * progmodes/cc-engine.el (c-back-over-member-initializers):
5089         new function.
5090         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5091         (most) member init lists.
5093 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5095         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5096         variable.
5098 2013-04-30  Leo Liu  <sdl.web@gmail.com>
5100         * progmodes/octave.el (octave-variables): Remove.  No builtin
5101         variables any more.  All converted to functions.
5102         (octave-font-lock-keywords, octave-completion-at-point-function):
5103         Fix uses.
5104         (octave-font-lock-texinfo-comment): New user variable.
5105         (octave-texinfo-font-lock-keywords): New variable for texinfo
5106         comment block.
5107         (octave-function-comment-block): New face.
5108         (octave-font-lock-texinfo-comment): New function.
5109         (octave-mode): Font lock texinfo comment block.
5111 2013-04-29  Leo Liu  <sdl.web@gmail.com>
5113         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5114         indexing expression.
5115         (octave-continuation-string): Do not use \.
5116         (inferior-octave-complete-impossible): Remove.
5117         (inferior-octave-completion-table)
5118         (inferior-octave-completion-at-point): Remove its uses.
5119         (inferior-octave-startup): completion_matches was introduced to
5120         Octave in 1996 so safe to assume it.
5121         (octave-function-file-comment): Improve to follow how Octave does it.
5122         (octave-update-function-file-comment): Tweak.
5124 2013-04-29  Leo Liu  <sdl.web@gmail.com>
5126         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5127         (inferior-octave-startup): Remove inferior-octave-startup-hook.
5128         (octave-function-file-comment): Fix typo.
5129         (octave-sync-function-file-names): Use read-char-choice.
5131 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
5133         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5134         to t for the less important warnings.
5136 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
5138         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
5140 2013-04-27  Glenn Morris  <rgm@gnu.org>
5142         * vc/log-view.el (log-view-current-entry):
5143         Treat "---" separator lines as part of the following rev.  (Bug#14169)
5145 2013-04-27  Juri Linkov  <juri@jurta.org>
5147         * subr.el (read-number): Doc fix about using it by interactive
5148         code letter `n'.  (Bug#14254)
5150 2013-04-27  Juri Linkov  <juri@jurta.org>
5152         * desktop.el (desktop-auto-save-timeout): New option.
5153         (desktop-file-checksum): New variable.
5154         (desktop-save): Add optional arg `auto-save' and don't auto-save
5155         if nothing changed.
5156         (desktop-auto-save-timer): New variable.
5157         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5158         (after-init-hook): Call `desktop-auto-save-set-timer'.
5159         Suggested by Reuben Thomas <rrt@sc3d.org> in
5160         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5162 2013-04-27  Leo Liu  <sdl.web@gmail.com>
5164         * progmodes/octave.el (octave-function-file-p)
5165         (octave-skip-comment-forward, octave-function-file-comment)
5166         (octave-update-function-file-comment): New functions.
5167         (octave-mode-map): Bind C-c ; to
5168         octave-update-function-file-comment.
5169         (octave-mode-menu): Add octave-update-function-file-comment.
5170         (octave-mode, inferior-octave-mode): Fix doc-string.
5171         (octave-insert-defun): Conform to Octave's coding convention.
5172         (Bug#14285)
5174         * files.el (basic-save-buffer): Don't let errors in
5175         before-save-hook prevent saving buffer.
5177 2013-04-20  Roland Winkler  <winkler@gnu.org>
5179         * faces.el (read-face-name): Use completing-read if arg multiple
5180         is nil.
5182 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
5184         * ls-lisp.el (ls-lisp-insert-directory): If no files are
5185         displayed, move point to after the totals line.
5186         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5187         for the details.
5189 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5191         * emacs-lisp/package.el (package-autoload-ensure-default-file):
5192         Add current dir to the load-path.
5193         (package-generate-autoloads): Don't rely on
5194         autoload-ensure-default-file.
5196 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
5198         * textmodes/remember.el (remember-store-in-files): Document that
5199         the file name format is passed to `format-time-string'.
5201 2013-04-26  Leo Liu  <sdl.web@gmail.com>
5203         * progmodes/octave.el (octave-sync-function-file-names): New function.
5204         (octave-mode): Use it in before-save-hook.
5206 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5208         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5209         (bug#14274).
5211         * progmodes/octave.el (octave-smie-forward-token): Properly skip
5212         \n and comment, even if it's not an implicit ; (bug#14218).
5214 2013-04-26  Glenn Morris  <rgm@gnu.org>
5216         * subr.el (read-number): Once more use `read' rather than
5217         `string-to-number', to trap non-numeric input.  (Bug#14254)
5219 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
5221         * emacs-lisp/syntax.el (syntax-propertize-multiline):
5222         Use `syntax-multiline' text property consistently instead of
5223         `font-lock-multiline'.  (Bug#14237)
5225 2013-04-26  Glenn Morris  <rgm@gnu.org>
5227         * emacs-lisp/shadow.el (list-load-path-shadows):
5228         No longer necessary to check for duplicate simple.el, since
5229         2012-07-07 change to init_lread to not include installation lisp
5230         directories in load-path when running uninstalled.  (Bug#14270)
5232 2013-04-26  Leo Liu  <sdl.web@gmail.com>
5234         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5235         (octave-mode, inferior-octave-mode): Use setq-local.
5236         (octave-not-in-string-or-comment-p): Rename to
5237         octave-in-string-or-comment-p.
5238         (octave-in-comment-p, octave-in-string-p)
5239         (octave-in-string-or-comment-p): Replace defsubst with defun.
5241 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
5243         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5245 2013-04-25  Bastien Guerry  <bzg@gnu.org>
5247         * textmodes/remember.el (remember-data-directory)
5248         (remember-directory-file-name-format): Fix custom types.
5250 2013-04-25  Leo Liu  <sdl.web@gmail.com>
5252         * progmodes/octave.el (octave-completion-at-point-function):
5253         Make use of inferior octave process.
5254         (octave-initialize-completions): Remove.
5255         (inferior-octave-completion-table): New function.
5256         (inferior-octave-completion-at-point): Use it.
5257         (octave-completion-alist): Remove.
5259 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5261         * progmodes/opascal.el: Use font-lock and syntax-propertize.
5262         (opascal-mode-syntax-table): New var.
5263         (opascal-literal-kind, opascal-is-literal-end)
5264         (opascal-literal-token-at): Rewrite.
5265         (opascal--literal-start-re, opascal-font-lock-keywords)
5266         (opascal--syntax-propertize): New constants.
5267         (opascal-font-lock-defaults): Adjust.
5268         (opascal-mode): Use them.  Set comment-<foo> variables as well.
5269         (delphi-comment-face, opascal-comment-face, delphi-string-face)
5270         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5271         (delphi-other-face, opascal-other-face): Remove face variables.
5272         (opascal-save-state): Remove macro.
5273         (opascal-fontifying-progress-step): Remove constant.
5274         (opascal--ignore-changes): Remove var.
5275         (opascal-set-token-property, opascal-parse-next-literal)
5276         (opascal-is-stable-literal, opascal-complete-literal)
5277         (opascal-is-literal-start, opascal-face-of)
5278         (opascal-parse-region, opascal-parse-region-until-stable)
5279         (opascal-fontify-region, opascal-after-change)
5280         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5281         (opascal-debug-parse-region, opascal-debug-parse-window)
5282         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5283         (opascal-debug-fontify-buffer): Remove.
5284         (opascal-debug-mode-map): Adjust accordingly.
5286 2013-04-25  Leo Liu  <sdl.web@gmail.com>
5288         Merge octave-mod.el and octave-inf.el into octave.el with some
5289         cleanups.
5290         * progmodes/octave.el: New file renamed from octave-mod.el.
5291         * progmodes/octave-inf.el: Merged into octave.el.
5292         * progmodes/octave-mod.el: Renamed to octave.el.
5294 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
5296         * textmodes/reftex-vars.el
5297         (reftex-label-ignored-macros-and-environments): New defcustom.
5299         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5301 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5303         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5304         (smie-indent-keyword): Improve the check to ensure that the next
5305         comment is really on the same line.
5306         (smie-indent-comment): Don't align with a subsequent closer (or eob).
5308         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5309         semi-colons if the line is not otherwise empty (bug#14218).
5311 2013-04-25  Glenn Morris  <rgm@gnu.org>
5313         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5315 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5317         * progmodes/opascal.el (opascal-set-token-property): Rename from
5318         opascal-set-text-properties and only set `token' (bug#14134).
5319         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5320         (opascal-literal-text-properties): Remove.
5321         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5322         Adjust callers.
5324 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
5326         * textmodes/remember.el (remember-handler-functions): Add an
5327         option for a new handler `remember-store-in-files'.
5328         (remember-data-directory, remember-directory-file-name-format):
5329         New options.
5330         (remember-store-in-files): New function to store remember notes
5331         as separate files within a directory.
5333 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
5335         * progmodes/compile.el (compilation-next-error-function):
5336         Pass "formats" to compilation-find-file (bug#11777).
5338 2013-04-24  Glenn Morris  <rgm@gnu.org>
5340         * vc/vc-bzr.el (vc-bzr-print-log):
5341         * vc/vc-hg.el (vc-hg-print-log):
5342         * vc/vc-svn.el (vc-svn-print-log):
5343         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
5345         * vc/vc-bzr.el (vc-bzr-print-log):
5346         * vc/vc-cvs.el (vc-cvs-print-log):
5347         * vc/vc-git.el (vc-git-print-log):
5348         * vc/vc-hg.el (vc-hg-print-log):
5349         * vc/vc-mtn.el (vc-mtn-print-log):
5350         * vc/vc-rcs.el (vc-rcs-print-log):
5351         * vc/vc-sccs.el (vc-sccs-print-log):
5352         * vc/vc-svn.el (vc-svn-print-log):
5353         * vc/vc.el (vc-print-log-internal): Doc fixes.
5355 2013-04-23  Glenn Morris  <rgm@gnu.org>
5357         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5358         Remove venerable code attempting to avoid substitute-command-keys.
5360 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
5362         * textmodes/reftex-vars.el (reftex-label-regexps):
5363         Call `reftex-compile-variables' after changes to this variable.
5365 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5367         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5368         Use lexical-binding.
5369         (jit-lock-force-redisplay): Use markers, check buffer's continued
5370         existence and beware narrowed buffers.
5371         (jit-lock-fontify-now): Adjust call accordingly.
5373 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5375         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5376         to avoid misleading the user.
5378 2013-04-22  Leo Liu  <sdl.web@gmail.com>
5380         * info-look.el: Prefer latex2e.info.  (Bug#14240)
5382 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
5384         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
5386         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5387         * net/tramp.el (tramp-call-process): ... here.
5388         (tramp-set-completion-function, tramp-parse-putty):
5389         * net/tramp-adb.el (tramp-adb-execute-adb-command):
5390         * net/tramp-gvfs.el (tramp-gvfs-send-command):
5391         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5392         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5393         (tramp-call-local-coding-command): Use `tramp-call-process'
5394         instead of `tramp-compat-call-process'.
5396         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5397         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5398         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5399         (tramp-find-inline-compress): Improve traces.
5400         (tramp-maybe-send-script): Check for Perl binary.
5401         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5403 2013-04-22  Daiki Ueno  <ueno@gnu.org>
5405         * epg.el (epg-context-pinentry-mode): New function.
5406         (epg-context-set-pinentry-mode): New function.
5407         (epg--start): Pass --pinentry-mode option to gpg command.
5409 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
5411         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5412         `comint-dynamic-complete' is obsolete since 24.1, replaced by
5413         `completion-at-point'.  (Bug#13774)
5415         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5416         default key binding for `describe-distribution' has been moved to
5417         `C-h C-o'.  (Bug#13970)
5419 2013-04-21  Glenn Morris  <rgm@gnu.org>
5421         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5422         Add doc strings.
5423         (vc-print-log): Clarify interactive prompt.
5425 2013-04-20  Glenn Morris  <rgm@gnu.org>
5427         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5428         No longer include timestamp etc information.
5430 2013-04-20  Roland Winkler  <winkler@gnu.org>
5432         * faces.el (read-face-name): Bug fix, return just one face if arg
5433         multiple is nil.  (Bug#14209)
5435 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5437         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5438         (remove-function): Autoload.
5440         * comint.el (comint-redirect-original-filter-function): Remove.
5441         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5442         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5443         (vc-cvs-annotate-command):
5444         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5445         * progmodes/prolog.el (prolog-consult-compile):
5446         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5447         Use add/remove-function instead.
5448         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5449         (gud-tooltip-process-output, gud-tooltip-tips):
5450         Use add/remove-function instead.
5451         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5452         (scheme-interaction-mode, exit-scheme-interaction-mode):
5453         Use add/remove-function instead.
5455         * vc/vc-dispatcher.el: Use lexical-binding.
5456         (vc--process-sentinel): Rename from vc-process-sentinel.
5457         Change last arg to be the code to run.  Don't use vc-previous-sentinel
5458         and vc-sentinel-commands any more.
5459         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
5460         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5462 2013-04-19 Masatake YAMATO  <yamato@redhat.com>
5464         * progmodes/sh-script.el (sh-imenu-generic-expression):
5465         Handle function names with a single character.   (Bug#14111)
5467 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
5469         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5470         for subroutines defined in an eval (bug#14182).
5472 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5474         * bookmark.el (bookmark-completing-read): Improve handling of empty
5475         string (bug#14176).
5477 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5479         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5481 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5483         New faster Imenu implementation (bug#14058).
5484         * progmodes/python.el:
5485         (python-imenu-prev-index-position):
5486         (python-imenu-format-item-label-function)
5487         (python-imenu-format-parent-item-label-function)
5488         (python-imenu-format-parent-item-jump-label-function):
5489         New vars.
5490         (python-imenu-format-item-label)
5491         (python-imenu-format-parent-item-label)
5492         (python-imenu-format-parent-item-jump-label)
5493         (python-imenu--put-parent, python-imenu--build-tree)
5494         (python-imenu-create-index, python-imenu-create-flat-index)
5495         (python-util-popn): New functions.
5496         (python-mode): Set imenu-create-index-function to
5497         python-imenu-create-index.
5499 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5501         * winner.el (winner-active-region): Use region-active-p, activate-mark
5502         and deactivate-mark (bug#14225).
5504         * simple.el (deactivate-mark): Don't inline it.
5506 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
5508         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5510 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
5512         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5513         file extensions from the archive-mode entry in order to prefer
5514         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5516 2013-04-18  Leo Liu  <sdl.web@gmail.com>
5518         * bindings.el (help-event-list): Add ?\?.
5520 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5522         * subr.el (with-wrapper-hook): Declare obsolete.
5523         * simple.el (filter-buffer-substring-function): New hook.
5524         (filter-buffer-substring): Use it.
5525         (filter-buffer-substring-functions): Mark obsolete.
5526         * minibuffer.el (completion-in-region-function): New hook.
5527         (completion-in-region): Use it.
5528         (completion-in-region-functions): Mark obsolete.
5529         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5530         * abbrev.el (abbrev-expand-function): New hook.
5531         (expand-abbrev): Use it.
5532         (abbrev-expand-functions): Mark obsolete.
5533         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5534         and :filter-return.
5536 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5538         * progmodes/python.el (python-nav--syntactically): Fix cornercases
5539         and do not care about match data.
5541 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5543         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5544         completion tables when completing error conditions and
5545         `declare' arguments.
5546         (lisp-complete-symbol, field-complete): Mark as obsolete.
5547         (check-parens): Unmatched parens are user errors.
5548         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5550 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
5552         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5553         command changed buffer (ie. `flyspell-pre-buffer' is not current
5554         buffer), which prevents making decisions based on invalid value of
5555         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
5556         cause an error when `flyspell-pre-point' was nil after switching
5557         buffers.
5558         (flyspell-post-command-hook): No longer needs to change buffers when
5559         checking pre-word.  While at it remove unnecessary progn.
5561 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
5563         * textmodes/ispell.el (ispell-add-per-file-word-list):
5564         Fix `flyspell-correct-word-before-point' error when accepting
5565         words and `coment-padding' is an integer by using
5566         `comment-normalize-vars' (Bug #14214).
5568 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5570         New defun movement commands.
5571         * progmodes/python.el (python-nav--syntactically)
5572         (python-nav--forward-defun, python-nav-backward-defun)
5573         (python-nav-forward-defun): New functions.
5575 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5577         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5578         (python-syntax-context): Use named compiler-macro for backwards
5579         compatibility with Emacs 24.x.
5581 2013-04-17  Leo Liu  <sdl.web@gmail.com>
5583         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5584         octave-hide-process-buffer.
5586 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5588         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5589         (bug#14216).
5591 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
5593         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5594         Fix adjustment of offset when receiving incomplete responses from GDB
5595         (bug#14129).
5597 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5599         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5600         python-mode-abbrev-table.
5601         (python-skeleton-define): Adjust accordingly.
5602         (python-mode-abbrev-table): New table that inherits from it so that
5603         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5605         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5606         (abbrev-symbol): Use it.
5607         (abbrev--before-point): Use it since we already handle inheritance.
5609 2013-04-16  Leo Liu  <sdl.web@gmail.com>
5611         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5612         binding to info-lookup-symbol.
5614 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
5616         * minibuffer.el (completion--twq-all):
5617         * term/ns-win.el (ns-initialize-window-system):
5618         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5620 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5622         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5623         global bindings.
5625         * doc-view.el (doc-view-start-process): Handle url-handler directories.
5627 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
5629         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5630         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5631         to nil.
5632         (ruby-end-of-defun): Remove the unused arg, change the docstring
5633         to reflect that this function is only used as the value of
5634         `end-of-defun-function'.
5635         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5636         to reflect an earlier change that beginning/end-of-defun functions
5637         jump between methods in a class definition, as well as top-level
5638         functions.
5640 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5642         * minibuffer.el (minibuffer-complete): Don't just scroll
5643         a *Completions* that's been iconified.
5644         (minibuffer-force-complete): Make sure repetitions do cycle when going
5645         through completion-in-region -> minibuffer-complete.
5647 2013-04-15  Alan Mackenzie  <acm@muc.de>
5649         Correct the placement of c-cpp-delimiters when there're #s not at
5650         col 0.
5652         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5653         place a submatch around the #.
5654         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5655         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
5656         on the #, not BOL.
5658 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5660         * emacs-lisp/nadvice.el: Properly test names when adding advice.
5661         (advice--member-p): New arg `name'.
5662         (advice--add-function, advice-member-p): Use it (bug#14202).
5664 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
5666         Reformulate java imenu-generic-expression.
5667         The old expression contained ill formed regexps.
5669         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5670         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5671         (cc-imenu-java-method-arg-regexp): New defconsts.
5672         (cc-imenu-java-build-type-args-regex): New defun.
5673         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5674         handling of spaces in the regexp.
5676 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5678         * textmodes/ispell.el (ispell-command-loop): Remove
5679         flyspell highlight of a word when ispell accepts it (bug #14178).
5681 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
5683         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5684         uses code from the previous `ange-ftp-run-real-handler'.
5685         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5686         only in case that function exist.  This is needed for proper
5687         unloading of Tramp.
5689 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
5691         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5693         * textmodes/reftex.el (reftex-compile-variables): Use it.
5695 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5697         * files.el (normal-mode): Only use default major-mode if no other mode
5698         was specified.
5700         * emacs-lisp/trace.el (trace-values): New function.
5702         * files.el: Allow : in local variables (bug#14089).
5703         (hack-local-variable-regexp): New var.
5704         (hack-local-variables-prop-line, hack-local-variables): Use it.
5706 2013-04-13  Roland Winkler  <winkler@gnu.org>
5708         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
5709         data before it gets modified by bibtex-beginning-of-entry.
5711 2013-04-13  Roland Winkler  <winkler@gnu.org>
5713         * textmodes/bibtex.el (bibtex-url): Doc fix.
5715 2013-04-13  Roland Winkler  <winkler@gnu.org>
5717         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5718         does not visit a BibTeX file, exclude it from the list of buffers
5719         returned by bibtex-initialize.
5721 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
5723         * window.el (split-window): Remove interactive form, since as a
5724         command this function is a special case of split-window-below.
5725         Correct doc string.
5727 2013-04-12  Roland Winkler  <winkler@gnu.org>
5729         * faces.el (read-face-name): Do not override value of arg default.
5730         Allow single faces and strings as default values.  Remove those
5731         elements from return value that are not faces.
5732         (describe-face): Simplify.
5733         (face-at-point): New optional args thing and multiple so that this
5734         function can provide the same functionality previously provided by
5735         read-face-name.
5736         (make-face-bold, make-face-unbold, make-face-italic)
5737         (make-face-unitalic, make-face-bold-italic, invert-face)
5738         (modify-face, read-face-and-attribute): Use face-at-point.
5740         * cus-edit.el (customize-face, customize-face-other-window)
5741         * cus-theme.el (custom-theme-add-face)
5742         * face-remap.el (buffer-face-set)
5743         * facemenu.el (facemenu-set-face): Use face-at-point.
5745 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
5747         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5749 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
5751         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5752         off leading { and trailing } from field values.
5754 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5756         * emacs-lisp/timer.el (timer--check): New function.
5757         (timer--time, timer-set-function, timer-event-handler): Use it.
5758         (timer-set-idle-time): Simplify.
5759         (timer--activate): CSE.
5760         (timer-event-handler): Give more info in error message.
5761         (internal-timer-start-idle): New function, moved from C.
5763         * mpc.el (mpc-proc): Add `restart' argument.
5764         (mpc-proc-cmd): Use it.
5765         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5766         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5767         less often.
5769 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
5771         * progmodes/sh-script.el: Implement `sh-mode' own
5772         `add-log-current-defun-function' (bug#14112).
5773         (sh-current-defun-name): New function.
5774         (sh-mode): Use the function.
5776 2013-04-09  Bastien Guerry  <bzg@gnu.org>
5778         * simple.el (choose-completion-string): Fix docstring (bug#14163).
5780 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5782         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5784         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5785         timer (bug#14156).
5787 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
5789         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5790         declaration.
5792 2013-04-07  Leo Liu  <sdl.web@gmail.com>
5794         * pcmpl-x.el: New file.
5796 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
5798         Do not set x-display-name until X connection is established.
5799         This is needed to prevent from weird situation described at
5800         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5801         * frame.el (make-frame): Set x-display-name after call to
5802         window system initialization function, not before.
5803         * term/x-win.el (x-initialize-window-system): Add optional
5804         display argument and use it.
5805         * term/w32-win.el (w32-initialize-window-system):
5806         * term/ns-win.el (ns-initialize-window-system):
5807         * term/pc-win.el (msdos-initialize-window-system):
5808         Add compatible optional display argument.
5810 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
5812         * files.el (normal-backup-enable-predicate): On MS-Windows and
5813         MS-DOS compare truenames of temporary-file-directory and of the
5814         file, so that 8+3 aliases (usually found in $TEMP on Windows)
5815         don't fail comparison by compare-strings.  Also, compare file
5816         names case-insensitively on MS-Windows and MS-DOS.
5818 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5820         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5821         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5823 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
5825         * whitespace.el (whitespace-color-on, whitespace-color-off):
5826         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5828 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
5830         * ispell.el (ispell-set-spellchecker-params):
5831         Really set `ispell-args' for all equivs.
5833 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5835         * ido.el (ido-completions): Use extra elements of ido-decorations
5836         (bug#14143).
5837         (ido-decorations): Update docstring.
5839 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
5841         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5842         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5843         nil during initialization, in order not to miss changes since the
5844         file was opened.  (Bug#14140)
5846 2013-04-05  Leo Liu  <sdl.web@gmail.com>
5848         * kmacro.el (kmacro-call-macro): Fix bug#14135.
5850 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
5852         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5854 2013-04-04  Glenn Morris  <rgm@gnu.org>
5856         * electric.el (electric-pair-inhibit-predicate): Add :version.
5858 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5860         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5861         when a package is required several times (bug#14082).
5863 2013-04-04  Roland Winkler  <winkler@gnu.org>
5865         * faces.el (read-face-name): Behave as promised by the docstring.
5866         Assume that arg default is a list of faces.
5867         (describe-face): Call read-face-name with list of default faces.
5869 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5871         * bookmark.el: Fix deletion of bookmarks (bug#13972).
5872         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5873         (bookmark-bmenu-execute-deletions): Only skip first line if it's
5874         the header.
5875         (bookmark-exit-hook-internal): Save even if list is empty.
5877 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
5879         * emacs-lisp/package.el (package-pinned-packages): New var.
5880         (package--add-to-archive-contents): Obey it (bug#14118).
5882 2013-04-03  Alan Mackenzie  <acm@muc.de>
5884         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5885         Also adapt to the new values of element 7 of a parse state.
5887         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5888         parameter `not-in-delimiter'.  Handle being inside comment opener.
5889         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5890         character in case we're typing a '*' after a '/'.
5891         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5892         instead by passing the parameter to c-state-pp-to-literal.
5894         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5895         for elt. 7 of a parse state.
5897 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5899         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5900         * international/latin1-disp.el, international/mule-util.el:
5901         * language/cyril-util.el, language/european.el, language/ind-util.el:
5902         * language/lao-util.el, language/thai.el, language/tibet-util.el:
5903         * language/tibetan.el, language/viet-util.el:
5904         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5906 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5908         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5909         (electric-pair-post-self-insert-function): Use it.
5910         (electric-pair-default-inhibit): New function, extracted from
5911         electric-pair-post-self-insert-function.
5913 2013-03-31  Roland Winkler  <winkler@gnu.org>
5915         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5917 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5919         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5921 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
5923         Un-indent after "pass" and "return" statements (Bug#13888)
5924         * progmodes/python.el (python-indent-block-enders): New var.
5925         (python-indent-calculate-indentation): Use it.
5927 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
5929         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5930         defun.  Defining it as defalias could introduce too eager
5931         byte-compiler optimization.  (Bug#14030)
5933 2013-03-30  Chong Yidong  <cyd@gnu.org>
5935         * iswitchb.el (iswitchb-read-buffer): Fix typo.
5937 2013-03-30  Leo Liu  <sdl.web@gmail.com>
5939         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5940         (kmacro-execute-from-register): Pass the keyboard macro to
5941         kmacro-call-macro or repeating won't work correctly.
5943 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
5945         * progmodes/subword.el: Back to using `forward-symbol'.
5947         * subr.el (forward-whitespace, forward-symbol)
5948         (forward-same-syntax): Move from thingatpt.el.
5950 2013-03-29  Leo Liu  <sdl.web@gmail.com>
5952         * kmacro.el (kmacro-to-register): New command.
5953         (kmacro-execute-from-register): New function.
5954         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
5956 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5958         * mpc.el: Use defvar-local and setq-local.
5959         (mpc--proc-connect): Connection failures are not bugs.
5960         (mpc-mode-map): `follow-link' only applies to the buffer's content.
5961         (mpc-volume-map): Bind to the up-events.
5963 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
5965         * progmodes/subword.el (superword-mode): Use `forward-sexp'
5966         instead of `forward-symbol'.
5968 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5970         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5971         (edebug--recursive-edit): Use it.
5972         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5973         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5975 2013-03-28  Leo Liu  <sdl.web@gmail.com>
5977         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
5979 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
5981         * facemenu.el (list-colors-callback): New defvar.
5982         (list-colors-redisplay): New function.
5983         (list-colors-display): Install list-colors-redisplay as the
5984         revert-buffer-function.  (Bug#14063)
5986 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5988         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5989         and suffixes don't overlap (bug#14061).
5991         * case-table.el: Use lexical-binding.
5992         (case-table-get-table): New function.
5993         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
5995 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
5997         * progmodes/subword.el: Add `superword-mode' to do word motion
5998         over symbol_words (parallels and leverages `subword-mode' which
5999         does word motion inside MixedCaseWords).
6001 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
6003         * eshell/em-unix.el: Move su and sudo to...
6004         * eshell/em-tramp.el: ...Eshell tramp module.
6006 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6008         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6009         Change return value to be a sexp.  Delay `get-buffer' to after
6010         restoring the desktop (bug#13951).
6012 2013-03-26  Leo Liu  <sdl.web@gmail.com>
6014         * register.el: Move semantic tag handling back to
6015         cedet/semantic/senator.el.  (Bug#14052)
6017 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6019         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6020         into the prompt either (bug#13963).
6022 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6024         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6025         part of "(error-foo)".
6027 2013-03-24  Juri Linkov  <juri@jurta.org>
6029         * replace.el (list-matching-lines-prefix-face): New defcustom.
6030         (occur-1): Pass `list-matching-lines-prefix-face' to the function
6031         `occur-engine' if `face-differs-from-default-p' returns t.
6032         (occur-engine): Add `,' inside backquote construct to evaluate
6033         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
6034         Pass `prefix-face' to the functions `occur-context-lines' and
6035         `occur-engine-add-prefix'.
6036         (occur-engine-add-prefix, occur-context-lines): Add optional arg
6037         `prefix-face' and propertize the prefix with `prefix-face'.
6038         (Bug#14017)
6040 2013-03-24  Leo Liu  <sdl.web@gmail.com>
6042         * nxml/rng-valid.el (rng-validate-while-idle)
6043         (rng-validate-quick-while-idle): Guard against deleted buffer.
6044         (Bug#13999)
6046         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6047         is the last entry in kill-buffer-hook.
6049         * files.el (kill-buffer-hook): Doc fix.
6051 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
6053         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6054         Make it safe-local.
6056         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6058 2013-03-23  Leo Liu  <sdl.web@gmail.com>
6060         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6061         Remove.
6063         * nxml/rng-valid.el (rng-validate-mode)
6064         (rng-after-change-function, rng-do-some-validation):
6065         * nxml/rng-maint.el (rng-validate-buffer):
6066         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6067         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6068         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6069         (nxml-extend-after-change-region): Use with-silent-modifications.
6071         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6072         timer-idle-list.
6074         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6075         (rng-next-error-1, rng-previous-error-1): Do not let-bind
6076         timer-idle-list.  (Bug#13999)
6078 2013-03-23  Juri Linkov  <juri@jurta.org>
6080         * info.el (info-index-match): New face.
6081         (Info-index, Info-apropos-matches): Add a nested subgroup to the
6082         main pattern and add text properties with the new face to matches
6083         in index entries relative to the beginning of the index entry.
6084         (Bug#14015)
6086 2013-03-21  Eric Ludlam  <zappo@gnu.org>
6088         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6089         Inhibit read only while inserting objects.
6091 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
6093         * progmodes/cfengine.el: Update docs to mention
6094         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
6095         symbol motion.  Remove "_" from the word syntax.
6097 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
6099         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6100         syntax for both `cfengine2-mode' and `cfengine3-mode'.
6102 2013-03-20  Juri Linkov  <juri@jurta.org>
6104         * info.el (Info-next-reference-or-link)
6105         (Info-prev-reference-or-link): New functions.
6106         (Info-next-reference, Info-prev-reference): Use them.
6107         (Info-try-follow-nearest-node): Handle footnote navigation.
6108         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
6110 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6112         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6113         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6115 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
6117         Suppress unnecessary non-ASCII chatter during build process.
6118         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6119         (batch-skkdic-convert): Suppress most of the chatter.
6120         It's not needed so much now that machines are faster,
6121         and its non-ASCII component was confusing; see Dmitry Gutov in
6122         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6124 2013-03-20  Leo Liu  <sdl.web@gmail.com>
6126         * ido.el (ido-chop): Fix bug#10994.
6128 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
6130         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6131         Remove vars.
6132         (whitespace-color-on, whitespace-color-off):
6133         Use `font-lock-fontify-buffer' (Bug#13817).
6135 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6137         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6138         remapping in mode-line.
6139         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6141 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
6143         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6144         value for `whitespace-line' face (Bug#13875).
6145         (whitespace-font-lock-keywords): Change description.
6146         (whitespace-color-on): Don't save `font-lock-keywords' value, save
6147         the constructed keywords instead.
6148         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6150 2013-03-19  Leo Liu  <sdl.web@gmail.com>
6152         * progmodes/compile.el (compilation-display-error): New command.
6153         (compilation-mode-map, compilation-minor-mode-map): Bind it to
6154         C-o.  (Bug#13992)
6156 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6158         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6160 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
6162         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6164 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
6166         * net/tramp-compat.el (tramp-compat-user-error): New defun.
6168         * net/tramp-adb.el (tramp-adb-handle-shell-command):
6169         * net/tramp-gvfs.el (top):
6170         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6171         (tramp-handle-shell-command): Use it.
6172         (tramp-dissect-file-name): Raise an error when hostname is a
6173         method name, and neither method nor user is specified.
6175         * net/trampver.el: Update release number.
6177 2013-03-18  Leo Liu  <sdl.web@gmail.com>
6179         Make sure eldoc can be turned off properly.
6180         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6181         eldoc-mode.
6182         (eldoc-display-message-p): Revert last change.
6183         (eldoc-display-message-no-interference-p)
6184         (eldoc-print-current-symbol-info): Tweak.
6186 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
6188         * doc-view.el (doc-view-new-window-function): Check the new window
6189         overlay's display property instead the char property of the
6190         buffer's first char.  Use `with-selected-window' instead of
6191         `save-window-excursion' with `select-window'.
6192         (doc-view-document->bitmap): Check the current doc-view overlay's
6193         display property instead the char property of the buffer's first char.
6195 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
6197         Automate the build of ja-dic.el (Bug#13984).
6198         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6199         from the input, rather than assume that it's been done for us by the
6200         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
6201         the current date into a ja-dic.el comment, as that complicates
6202         regression testing.
6204 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6206         * whitespace.el: Fix double evaluation.
6207         (whitespace-space, whitespace-hspace, whitespace-tab)
6208         (whitespace-newline, whitespace-trailing, whitespace-line)
6209         (whitespace-space-before-tab, whitespace-indentation)
6210         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6211         obsolete defvars.
6212         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6213         (whitespace-color-on): Use a single font-lock-add-keywords call.
6214         Fix double-evaluation of face variables.
6216 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
6218         * net/tramp-adb.el (tramp-adb-parse-device-names):
6219         Use `start-process' instead of `call-process'.  Otherwise, the
6220         function might be blocked under MS Windows.  (Bug#13299)
6222 2013-03-17  Leo Liu  <sdl.web@gmail.com>
6224         Extend eldoc to display info in the mode-line.  (Bug#13978)
6225         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6226         (eldoc-mode-line-string): New variable.
6227         (eldoc-minibuffer-message): New function.
6228         (eldoc-message-function): New variable.
6229         (eldoc-message): Use it.
6230         (eldoc-display-message-p)
6231         (eldoc-display-message-no-interference-p):
6232         Support eldoc-post-insert-mode.
6234         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6235         (eval-expression): Run it.
6237 2013-03-17  Roland Winkler  <winkler@gnu.org>
6239         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6240         strings in the list of return values.
6242 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
6244         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6245         radix before checking for HMS forms.
6247 2013-03-16  Leo Liu  <sdl.web@gmail.com>
6249         * progmodes/scheme.el: Add indentation and font-locking for λ.
6250         (Bug#13975)
6252 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6254         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6255         token before point (bug#13942).
6257 2013-03-16  Leo Liu  <sdl.web@gmail.com>
6259         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
6261 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
6263         * startup.el (command-line-normalize-file-name): Fix handling of
6264         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
6265         <xfq.free@gmail.com> in
6266         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6268 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
6270         Sync with Tramp 2.2.7.
6272         * net/trampver.el: Update release number.
6274 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
6276         * doc-view.el Fix bug#13887.
6277         (doc-view-insert-image): Don't modify overlay associated to
6278         non-live windows, and implement horizontal centering of image in
6279         case it's smaller than the window.
6280         (doc-view-new-window-function): Force redisplay of new windows on
6281         doc-view buffers.
6283 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
6285         * saveplace.el (save-place-alist-to-file): Don't sort
6286         `save-place-alist', just pretty-print it (bug#13882).
6288 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
6290         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6291         Check whether `default-file-name-coding-system' is bound.
6292         It isn't in XEmacs.
6294 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6296         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6297         backquotes for `obsolete' (bug#13929).
6299         * international/mule.el (find-auto-coding): Include file name in
6300         obsolescence warning (bug#13922).
6302 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
6304         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6305         for CFEngine 3-specific indentation.
6306         (cfengine3-indent-line): Use it.  Fix up category regex.
6307         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6309 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6311         * type-break.el (type-break-file-name):
6312         * textmodes/remember.el (remember-data-file):
6313         * strokes.el (strokes-file):
6314         * shadowfile.el (shadow-initialize):
6315         * saveplace.el (save-place-file):
6316         * ps-bdf.el (bdf-cache-file):
6317         * progmodes/idlwave.el (idlwave-config-directory):
6318         * net/quickurl.el (quickurl-url-file):
6319         * international/kkc.el (kkc-init-file-name):
6320         * ido.el (ido-save-directory-list-file):
6321         * emulation/viper.el (viper-custom-file-name):
6322         * emulation/vip.el (vip-startup-file):
6323         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6324         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6326 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
6328         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6329         * language/thai-word.el: Switch to UTF-8.
6331 See ChangeLog.16 for earlier changes.
6333 ;; Local Variables:
6334 ;; coding: utf-8
6335 ;; End:
6337   Copyright (C) 2011-2013 Free Software Foundation, Inc.
6339   This file is part of GNU Emacs.
6341   GNU Emacs is free software: you can redistribute it and/or modify
6342   it under the terms of the GNU General Public License as published by
6343   the Free Software Foundation, either version 3 of the License, or
6344   (at your option) any later version.
6346   GNU Emacs is distributed in the hope that it will be useful,
6347   but WITHOUT ANY WARRANTY; without even the implied warranty of
6348   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6349   GNU General Public License for more details.
6351   You should have received a copy of the GNU General Public License
6352   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.