1 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4 Do not use an overlay to highlight the last prompt. (Bug#14744)
5 (comint-mode): Make comint-last-prompt buffer local.
6 (comint-last-prompt): New variable.
7 (comint-last-prompt-overlay): Remove. Superseded by
9 (comint-snapshot-last-prompt, comint-output-filter): Use
12 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
15 (frameset-save): Check validity of the resulting frameset.
17 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19 * ido.el (ido-record-command): Add doc string.
21 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
23 * frameset.el (frameset): Do not disable creation of the default
24 frameset-p predicate. Doc fix.
25 (frameset-valid-p): New function, copied from the old predicate-p.
26 Add additional checks.
27 (frameset-restore): Check with frameset-valid-p.
28 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
29 (frameset-name, frameset-description, frameset-properties)
30 (frameset-states): Add docstring.
31 (frameset-session-filter-alist, frameset-persistent-filter-alist)
32 (frameset-filter-alist): Doc fixes.
34 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
36 * frameset.el (frameset-p, frameset-prop): Doc fixes.
38 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
40 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
41 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
42 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
43 (byte-compile-normal-call): Remove obsolescence check.
45 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
47 * frameset.el (frameset-restore): Doc fix.
49 * register.el (frameset-frame-id, frameset-frame-with-id)
50 (frameset-p, frameset-restore, frameset-save): Declare.
51 (register-alist): Document framesets.
52 (frameset-session-filter-alist): Declare.
53 (frameset-to-register): New function.
54 (jump-to-register): Implement jumping to framesets. Doc fix.
55 (describe-register-1): Describe framesets.
57 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
59 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
61 * desktop.el (desktop-save-frameset): Use new frameset-save args.
64 * frameset.el (frameset): Use type vector, not list (incompatible
65 change). Do not declare a new constructor, use the default one.
66 Upgrade suggested properties `app', `name' and `desc' to slots `app',
67 `name' and `description', respectively, and add read-only slot
68 `timestamp'. Doc fixes.
69 (frameset-copy, frameset-persistent-filter-alist)
70 (frameset-filter-alist, frameset-switch-to-gui-p)
71 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
72 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
73 (frameset-filter-iconified, frameset-keep-original-display-p):
75 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
76 Rename from frameset-filter-(save|restore)-param. All callers changed.
78 (frameset-p): Adapt to change to vector and be more thorough.
79 Change arg name to OBJECT. Doc fix.
80 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
81 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
83 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
85 (frameset--record-minibuffer-relationships): Rename from
86 frameset--process-minibuffer-frames. All callers changed.
87 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
88 Use new default constructor (again). Doc fix.
89 (frameset--find-frame-if): Rename from `frameset--find-frame.
91 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
92 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
94 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
95 PARAMETERS and WINDOW-STATE, respectively.
96 (frameset-restore): Add new keyword argument PREDICATE.
97 Reset frameset--target-display to nil. Doc fix.
99 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
101 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
103 (bat-mode-syntax-table): Mark \n as end-of-comment.
104 (bat-font-lock-keywords): Remove comment rule.
106 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
107 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
109 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
110 (byte-compile-callargs-warn): Use `push'.
111 (byte-compile-arglist-warn): Ignore higher-order "calls".
112 (byte-compile-file-form-autoload): Use `pcase'.
113 (byte-compile-function-form): If quoting a symbol, check that it exists.
115 2013-08-07 Eli Zaretskii <eliz@gnu.org>
117 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
118 and add a few popular commands found in batch files.
119 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
120 (dos-mode): Doc fixes.
122 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
124 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
125 (dos-mode): Use setq-local. Add space after "rem".
126 (dos-mode-syntax-table): Don't use "w" for symbol chars.
127 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
129 2013-08-07 Arni Magnusson <arnima@hafro.is>
131 * progmodes/dos.el: New file.
132 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
135 2013-08-06 Glenn Morris <rgm@gnu.org>
137 * calendar/calendar.el: Add new faces, and day-header-array.
138 (calendar-weekday-header, calendar-weekend-header)
139 (calendar-month-header): New faces.
140 (calendar-day-header-construct): New function.
141 (calendar-day-header-width): Also :set calendar-day-header-array.
142 (calendar-american-month-header, calendar-european-month-header)
143 (calendar-iso-month-header): Use calendar- faces.
144 (calendar-generate-month):
145 Use calendar-day-header-array for day headers; apply faces to them.
146 (calendar-mode): Check calendar-font-lock-keywords non-nil.
147 (calendar-abbrev-construct): Add optional maxlen argument.
148 (calendar-day-name-array): Doc fix.
149 (calendar-day-name-array, calendar-abbrev-length)
150 (calendar-day-abbrev-array):
151 Also :set calendar-day-header-array, and maybe redraw.
152 (calendar-day-header-array): New option. (Bug#15007)
153 (calendar-font-lock-keywords): Set to nil and make obsolete.
154 (calendar-day-name): Add option to use header array.
156 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
158 * net/shr.el (shr-render-td): Remove debugging.
159 (shr-render-td): Make width computation consistent by defaulting
160 all zero-width columns to 10 characters. This may not be optimal,
161 but it's at least consistent.
162 (shr-make-table-1): Redo last change to fix the real problem in
165 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
167 * files.el (cache-long-line-scans): Make
168 obsolete alias to `cache-long-scans'.
170 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
172 * frameset.el (frameset, frameset-filter-alist)
173 (frameset-filter-params, frameset-save, frameset--reuse-frame)
174 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
175 (frameset-compute-pos): Rename from frameset--compute-pos,
177 (frameset-move-onscreen): Use frameset-compute-pos.
178 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
180 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
181 Fix typos in docstrings.
183 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
185 * frame.el (get-other-frame): Tiny cleanup.
187 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
189 * vc/vc.el (vc-default-ignore-completion-table):
190 Silence byte-compiler warning.
192 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
193 slot , which can indeed be nil.
194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
195 Move entry for `left' from persistent to live filter alist.
196 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
198 (frameset-filter-params): When restoring a frame, copy items added to
199 `filtered', to avoid unwittingly modifying the original parameters.
200 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
201 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
203 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
204 to use looking-at-p instead of looking-at. (Bug#15028)
206 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
208 Revert introduction of isearch-filter-predicates (bug#14714).
209 Rely on add-function instead.
210 * isearch.el (isearch-filter-predicates): Rename it back to
211 isearch-filter-predicate.
212 (isearch-message-prefix): Use advice-function-mapc and advice
213 properties to get the isearch-message-prefix.
214 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
215 instead of run-hook-with-args-until-failure.
216 (isearch-filter-visible): Not obsolete any more.
217 * loadup.el: Preload nadvice.
218 * replace.el (perform-replace): Revert to funcall
219 instead of run-hook-with-args-until-failure.
220 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
221 * dired-aux.el (dired-isearch-filenames-mode): Rename from
222 dired-isearch-filenames-toggle; make it into a proper minor mode.
223 Use add/remove-function.
224 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
225 Call the minor-mode rather than add/remove-hook.
226 (dired-isearch-filter-filenames):
227 Remove isearch-message-prefix property.
228 * info.el (Info--search-loop): New function, extracted from Info-search.
229 Funcall isearch-filter-predicate instead of
230 run-hook-with-args-until-failure isearch-filter-predicates.
231 (Info-search): Use it.
232 (Info-mode): Use isearch-filter-predicate instead of
233 isearch-filter-predicates.
235 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
237 Do not call to `selected-window' where it is assumed by default.
238 Affected functions are `window-minibuffer-p', `window-dedicated-p',
239 `window-hscroll', `window-width', `window-height', `window-buffer',
240 `window-frame', `window-start', `window-point', `next-window'
241 and `window-display-table'.
242 * abbrev.el (abbrev--default-expand):
243 * bs.el (bs--show-with-configuration):
244 * buff-menu.el (Buffer-menu-mouse-select):
245 * calc/calc.el (calc):
246 * calendar/calendar.el (calendar-generate-window):
247 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
249 * comint.el (send-invisible, comint-dynamic-complete-filename)
250 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
251 * completion.el (complete):
252 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
253 * disp-table.el (describe-current-display-table):
254 * doc-view.el (doc-view-insert-image):
255 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
256 * ehelp.el (with-electric-help):
257 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
258 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
259 * emacs-lisp/helper.el (Helper-help-scroller):
260 * emulation/cua-base.el (cua--post-command-handler-1):
261 * eshell/esh-mode.el (eshell-output-filter):
262 * ffap.el (ffap-gnus-wrapper):
263 * help-macro.el (make-help-screen):
264 * hilit-chg.el (highlight-compare-buffers):
265 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
266 * hl-line.el (global-hl-line-highlight):
267 * icomplete.el (icomplete-simple-completing-p):
268 * isearch.el (isearch-done):
269 * jit-lock.el (jit-lock-stealth-fontify):
270 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
271 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
272 * mpc.el (mpc-tagbrowser, mpc):
273 * net/rcirc.el (rcirc-any-buffer):
274 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
275 * play/landmark.el (landmark-max-width, landmark-max-height):
276 * play/zone.el (zone):
277 * progmodes/compile.el (compilation-goto-locus):
278 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
279 * progmodes/etags.el (find-tag-other-window):
280 * progmodes/fortran.el (fortran-column-ruler):
281 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
282 * progmodes/verilog-mode.el (verilog-point-text):
283 * reposition.el (reposition-window):
284 * rot13.el (toggle-rot13-mode):
285 * server.el (server-switch-buffer):
286 * shell.el (shell-dynamic-complete-command)
287 (shell-dynamic-complete-environment-variable):
288 * simple.el (insert-buffer, set-selective-display)
289 (delete-completion-window):
290 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
292 * startup.el (fancy-splash-head):
293 * textmodes/ispell.el (ispell-command-loop):
294 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
295 * tutorial.el (help-with-tutorial):
296 * vc/add-log.el (add-change-log-entry):
297 * vc/compare-w.el (compare-windows):
298 * vc/ediff-help.el (ediff-indent-help-message):
299 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
300 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
301 (ediff-setup-control-frame):
302 * vc/emerge.el (emerge-position-region):
303 * vc/pcvs-util.el (cvs-bury-buffer):
304 * window.el (walk-windows, mouse-autoselect-window-select):
305 * winner.el (winner-set-conf, winner-undo): Related users changed.
307 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
309 * frameset.el (frameset--set-id): Doc fix.
310 (frameset-frame-id, frameset-frame-id-equal-p)
311 (frameset-locate-frame-id): New functions.
312 (frameset--process-minibuffer-frames, frameset--reuse-frame)
313 (frameset-restore): Use them.
315 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
317 Do not call to `selected-frame' where it is assumed by default.
318 Affected functions are `raise-frame', `redraw-frame',
319 `frame-first-window', `frame-terminal' and `delete-frame'.
320 * calendar/appt.el (appt-disp-window):
321 * epg.el (epg-wait-for-completion):
322 * follow.el (follow-delete-other-windows-and-split)
323 (follow-avoid-tail-recenter):
324 * international/mule.el (set-terminal-coding-system):
325 * mail/rmail.el (rmail-mail-return):
326 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
327 * progmodes/f90.el (f90-add-imenu-menu):
328 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
329 * server.el (server-switch-buffer):
330 * simple.el (delete-completion-window):
332 * term/xterm.el (terminal-init-xterm-modify-other-keys)
333 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
334 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
335 * vc/ediff.el (ediff-documentation): Related users changed.
336 * frame.el (selected-terminal): Remove the leftover.
338 2013-08-05 Glenn Morris <rgm@gnu.org>
340 * calendar/calendar.el (calendar-generate-month):
341 Fix for calendar-column-width != 1 + calendar-day-digit-width.
342 (calendar-generate-month, calendar-font-lock-keywords):
343 Fix for calendar-day-header-width > length of any day name.
345 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
347 * desktop.el (desktop-clear): Use new name of sort predicate.
349 * frameset.el (frameset): Add docstring. Move :version property to its
351 (frameset-copy): Rename from copy-frameset.
352 (frameset-p): Check more thoroughly.
353 (frameset-prop): Do not check for :version, which is no longer a prop.
354 (frameset-live-filter-alist, frameset-persistent-filter-alist):
355 Use new :never value instead of t.
356 (frameset-filter-alist): Expand and clarify docstring.
357 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
358 (frameset-filter-minibuffer, frameset-filter-save-param)
359 (frameset-filter-restore-param, frameset-filter-iconified):
360 Add pointer to docstring of frameset-filter-alist.
361 (frameset-filter-params): Rename filter values to be more meaningful:
362 :never instead of t, and reverse the meanings of :save and :restore.
363 (frameset--process-minibuffer-frames): Clarify error message.
364 (frameset-save): Avoid unnecessary and confusing call to framep.
365 Use new BOA constructor for framesets.
366 (frameset--reuse-list): Doc fix.
367 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
368 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
369 (frameset-minibufferless-first-p): Doc fix.
370 Rename from frameset-sort-frames-for-deletion.
371 (frameset-restore): Doc fixes. Use new function names.
372 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
374 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
376 * desktop.el (desktop-restore-forces-onscreen)
377 (desktop-restore-reuses-frames): Document :keyword constant values.
378 (desktop-filter-parameters-alist): Remove, now identical to
379 frameset-filter-alist.
380 (desktop--filter-tty*): Remove, moved to frameset.el.
381 (desktop-save-frameset, desktop-restore-frameset):
382 Do not pass :filters argument.
384 * frameset.el (frameset-live-filter-alist)
385 (frameset-persistent-filter-alist): New variables.
386 (frameset-filter-alist): Use them. Add autoload cookie.
387 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
388 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
389 `frameset--id' (it's supposed to be internal to frameset.el).
390 (frameset--process-minibuffer-frames): Ditto. Doc fix.
391 (frameset--initial-params): New function.
392 (frameset--get-frame): Use it. Doc fix.
393 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
394 Accept :all, not 'all.
395 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
396 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
397 with fbound symbols. Fix frame id matching, and remove matching ids if
398 the frame being restored is deleted. Obey :delete.
400 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
402 * subr.el (macrop): New function.
403 (text-clone--maintaining): New var.
404 (text-clone--maintain): Rename from text-clone-maintain. Use it
405 instead of inhibit-modification-hooks.
407 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
408 a proxy, so as handle autoloads and redefinitions of the target.
409 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
411 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
412 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
413 (pcase--mutually-exclusive-p): New function.
414 (pcase--split-consp): Use it.
415 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
416 mutually exclusive with the current predicate.
418 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
419 (edebug-macrop): Remove. Use `macrop' instead.
420 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
422 * eshell/esh-cmd.el (eshell-macrop):
423 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
425 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
427 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
428 (advice-mapc): New function, using it.
429 (advice-function-member-p): New function.
430 (advice--normalize): Store the cdr in advice--saved-rewrite since
431 that's the part that will be changed.
432 (advice--symbol-function): New function.
433 (advice-remove): Handle removal before the function is defined.
434 Adjust to new advice--saved-rewrite.
435 (advice-member-p): Use advice-function-member-p and
436 advice--symbol-function.
438 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
440 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
441 (frameset-filter-minibuffer): Doc fix.
442 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
443 (frameset--set-id, frameset--process-minibuffer-frames)
444 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
445 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
447 * desktop.el (desktop-clear): Only delete frames when called
448 interactively and desktop-restore-frames is non-nil. Doc fix.
449 (desktop-read): Set desktop-saved-frameset to nil.
451 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
453 * vc/vc.el (vc-ignore): Rewrite.
454 (vc-default-ignore-completion-table):
456 (vc--add-line, vc--remove-regexp): New functions.
458 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
459 (vc-svn-ignore-completion-table): New function.
461 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
462 (vc-hg-ignore-completion-table):
463 (vc-hg-find-ignore-file): New functions.
465 * vc/vc-git.el (vc-git-ignore): Rewrite.
466 (vc-git-ignore-completion-table):
467 (vc-git-find-ignore-file): New functions.
469 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
471 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
472 (vc-bzr-ignore-completion-table):
473 (vc-bzr-find-ignore-file): New functions.
475 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
477 * frameset.el (frameset-prop): New function and setter.
478 (frameset-save): Do not modify frame list passed by the caller.
480 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
482 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
484 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
487 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
489 * custom.el (custom-initialize-default, custom-initialize-set)
490 (custom-initialize-reset, custom-initialize-changed): Affect the
491 toplevel-default-value (bug#6275, bug#14586).
492 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
495 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
497 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
498 Add cl-def* expressions.
500 * frameset.el (frameset-filter-params): Fix order of arguments.
502 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
504 Move code related to saving frames to frameset.el.
505 * desktop.el: Require frameset.
506 (desktop-restore-frames): Doc fix.
507 (desktop-restore-reuses-frames): Rename from
508 desktop-restoring-reuses-frames.
509 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
510 (desktop-clear): Clear frames too.
511 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
512 (desktop--filter-tty*, desktop-save, desktop-read):
513 Use frameset functions.
514 (desktop-before-saving-frames-functions, desktop--filter-*-color)
515 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
516 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
517 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
518 (desktop--process-minibuffer-frames, desktop-save-frames)
519 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
520 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
521 (desktop--sort-states, desktop-restoring-frames-p)
522 (desktop-restore-frames): Remove. Most code moved to frameset.el.
523 (desktop-restoring-frameset-p, desktop-restore-frameset)
524 (desktop--check-dont-save, desktop-save-frameset): New functions.
525 (desktop--app-id): New constant.
526 (desktop-first-buffer, desktop-buffer-ok-count)
527 (desktop-buffer-fail-count): Move before first use.
528 * frameset.el: New file.
530 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
532 * files.el: Use lexical-binding.
533 (dir-locals-read-from-file): Remove unused `err' variable.
534 (hack-dir-local-variables--warned-coding): New var.
535 (hack-dir-local-variables): Use it to avoid repeated warnings.
536 (make-backup-file-name--default-function): New function.
537 (make-backup-file-name-function): Use it as default.
538 (buffer-stale--default-function): New function.
539 (buffer-stale-function): Use it as default.
540 (revert-buffer-insert-file-contents--default-function): New function.
541 (revert-buffer-insert-file-contents-function): Use it as default.
542 (insert-directory): Avoid add-to-list.
544 * autorevert.el (auto-revert-handler): Simplify.
545 Use buffer-stale--default-function.
547 2013-08-01 Tassilo Horn <tsdh@gnu.org>
549 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
551 * whitespace.el (whitespace-ensure-local-variables): New function.
552 (whitespace-cleanup-region): Call it.
553 (whitespace-turn-on): Call it.
555 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
557 Complete file name handlers.
559 * net/tramp.el (tramp-handle-set-visited-file-modtime)
560 (tramp-handle-verify-visited-file-modtime)
561 (tramp-handle-file-notify-rm-watch): New functions.
562 (tramp-call-process): Do not bind `default-directory'.
564 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
565 Order alphabetically.
566 [access-file, add-name-to-file, dired-call-process]:
567 [dired-compress-file, file-acl, file-notify-rm-watch]:
568 [file-ownership-preserved-p, file-selinux-context]:
569 [make-directory-internal, make-symbolic-link, set-file-acl]:
570 [set-file-selinux-context, set-visited-file-modtime]:
571 [verify-visited-file-modtime]: Add handler.
572 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
575 [file-notify-add-watch, file-notify-rm-watch]:
576 [set-file-times, set-visited-file-modtime]:
577 [verify-visited-file-modtime]: Add handler.
578 (with-tramp-gvfs-error-message)
579 (tramp-gvfs-handle-set-visited-file-modtime)
580 (tramp-gvfs-fuse-file-name): Remove.
581 (tramp-gvfs-handle-file-notify-add-watch)
582 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
583 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
585 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
586 Order alphabetically.
587 [file-notify-rm-watch ]: Use default Tramp handler.
588 [executable-find]: Remove private handler.
589 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
591 (tramp-sh-handle-executable-find)
592 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
593 (tramp-sh-file-gvfs-monitor-dir-process-filter)
594 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
595 Do not use `format' in `tramp-message'.
597 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
598 [file-notify-rm-watch, set-visited-file-modtime]:
599 [verify-visited-file-modtime]: Add handler.
600 (tramp-smb-call-winexe): Do not bind `default-directory'.
602 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
604 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
606 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
608 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
610 (log-view-diff-changeset): Same.
611 (log-view-diff-common): Call backend command `previous-revision'
612 to find out the previous revision, in both cases. Swap the
613 variables `to' and `fr', so that `fr' usually refers to the
614 earlier revision (Bug#14989).
616 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
618 * ibuf-ext.el (ibuffer-filter-by-filename):
619 Make it work with dired buffers too.
621 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
623 * emacs-lisp/re-builder.el (reb-color-display-p):
624 * files.el (save-buffers-kill-terminal):
625 * net/browse-url.el (browse-url):
626 * server.el (server-save-buffers-kill-terminal):
627 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
628 Prefer nil to selected-frame for the first arg of frame-parameter.
630 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
632 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
634 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
636 * minibuffer.el (completion--twq-all): Try and preserve each
637 completion's case choice (bug#14907).
639 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
641 * net/network-stream.el (open-network-stream): Mention the new
642 :nogreeting parameter.
643 (network-stream-open-starttls): Use the :nogreeting parameter
646 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
648 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
649 more natural than popping.
651 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
652 (shr-urlify): Highlight under mouse.
654 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
656 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
658 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
660 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
663 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
664 point-min==1. Fix search string. Fix parentheses missing.
666 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
667 assume point-min==1. Fix search string. Fix parentheses missing.
669 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
671 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
674 2013-07-29 Eli Zaretskii <eliz@gnu.org>
676 * frame.el (frame-notice-user-settings): Avoid inflooping when the
677 initial frame is minibuffer-less. (Bug#14841)
679 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
681 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
684 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
685 (tramp-maybe-open-connection): Use it.
687 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
689 * desktop.el (desktop--make-frame): Include `minibuffer' in the
690 minimal set of parameters passed when creating a frame, because
691 the minibuffer status of a frame cannot be changed later.
693 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
695 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
696 replace-regexp-in-string and inadvertent omissions in previous change.
697 (todo-filter-items): Ensure only file names are comma-separated in
698 name of filtered items buffer.
700 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
702 * desktop.el: Optionally force offscreen frames back onscreen.
703 (desktop-restoring-reuses-frames): New option.
704 (desktop--compute-pos, desktop--move-onscreen): New functions.
705 (desktop--make-frame): Use desktop--move-onscreen.
707 2013-07-27 Alan Mackenzie <acm@muc.de>
709 Fontify a Java generic method as a function.
710 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
713 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
715 * calendar/todo-mode.el: Add command to rename todo files.
716 (todo-rename-file): New command.
717 (todo-key-bindings-t): Add key binding for it. Change the
718 bindings of todo-filter-regexp-items(-multifile) to use `x'
719 instead of `r', since the latter is better suited to the new
722 2013-07-27 Alan Mackenzie <acm@muc.de>
724 Make Java try-with-resources statement parse properly.
725 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
726 (c-block-stmt-1-2-key): New language constants/variables.
727 * progmodes/cc-engine.el (c-beginning-of-statement-1)
728 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
729 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
730 with c-block-stmt-1-2-key.
732 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
734 * desktop.el (desktop--make-frame): Apply most frame parameters after
735 creating the frame to force (partially or totally) offscreen frames to
738 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
740 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
743 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
745 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
746 `base' arg of backtrace-frame.
748 2013-07-26 Eli Zaretskii <eliz@gnu.org>
750 * simple.el (list-processes): Doc fix.
752 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
754 * desktop.el (desktop--select-frame):
755 Try harder to reuse existing frames.
757 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
759 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
760 (edebug-eval): Use backtrace-eval.
761 (edebug--display, edebug--recursive-edit): Don't let-bind the
762 edebug-outer-* vars that keep track of variables we locally let-bind.
763 (edebug-outside-excursion): Don't restore outside values of locally
765 (edebug--display): Use user-error.
766 (cl-lexical-debug, cl-debug-env): Remove.
768 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
770 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
771 are restored to be sure that they are visible before deleting any
774 2013-07-26 Matthias Meulien <orontee@gmail.com>
776 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
777 vc-print-root-log. (Bug#14948)
779 2013-07-26 Richard Stallman <rms@gnu.org>
781 Add aliases for encrypting mail.
782 * epa.el (epa-mail-aliases): New option.
783 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
784 Bind inhibit-read-only so read-only text doesn't ruin everything.
785 (epa-mail-default-recipients): New subroutine broken out.
786 Handle epa-mail-aliases.
788 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
790 Add support for lexical variables to the debugger's `e' command.
791 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
792 vars, except for debugger-outer-match-data.
793 (debugger-frame-number): Move check for "on a function call" from
794 callers into it. Add `skip-base' argument.
795 (debugger-frame, debugger-frame-clear): Simplify accordingly.
796 (debugger-env-macro): Only reset the state stored in non-variables,
797 i.e. current-buffer and match-data.
798 (debugger-eval-expression): Rewrite using backtrace-eval.
799 * subr.el (internal--called-interactively-p--get-frame): Remove.
800 (called-interactively-p):
801 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
802 `base' arg of backtrace-frame instead.
804 2013-07-26 Glenn Morris <rgm@gnu.org>
806 * align.el (align-regexp): Doc fix. (Bug#14857)
807 (align-region): Explicit error if subexpression missing/does not match.
809 * simple.el (global-visual-line-mode):
810 Do not duplicate the mode lighter. (Bug#14858)
812 2013-07-25 Martin Rudalics <rudalics@gmx.at>
814 * window.el (display-buffer): In display-buffer bind
815 split-window-keep-point to t, bug#14829.
817 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
819 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
820 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
821 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
822 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
824 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
825 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
827 2013-07-25 Glenn Morris <rgm@gnu.org>
829 * dired-x.el (dired-mark-extension): Convert comment to doc string.
831 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
833 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
834 parameter to modify-frame-parameters if the value has not changed;
835 this is a workaround for bug#14949.
836 (desktop--make-frame): On cl-delete-if call, check parameter name,
839 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
841 * vc/vc.el (vc-ignore): New function.
843 * vc/vc-svn.el (vc-svn-ignore): New function.
845 * vc/vc-hg.el (vc-hg-ignore): New function.
847 * vc/vc-git.el (vc-git-ignore): New function.
849 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
850 (vc-dir-ignore): New function.
852 * vc/vc-cvs.el (vc-cvs-ignore): New function.
853 (cvs-append-to-ignore): Move here from pcvs.el.
855 * vc/vc-bzr.el (vc-bzr-ignore): New function.
857 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
859 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
861 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
862 (desktop-restore-frames): Warn when deleting an existing frame failed.
864 2013-07-24 Glenn Morris <rgm@gnu.org>
866 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
868 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
870 * filenotify.el (file-notify-supported-p):
871 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
874 * autorevert.el (auto-revert-use-notify):
875 (auto-revert-notify-add-watch):
876 * net/tramp.el (tramp-file-name-for-operation):
877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
879 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
881 Remove `file-notify-supported-p' entry.
883 2013-07-24 Glenn Morris <rgm@gnu.org>
885 * printing.el: Replace all uses of deleted ps-windows-system,
886 ps-lp-system, ps-flatten-list with lpr- versions.
888 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
890 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
891 checked with memq (bug#14935).
893 * files.el (revert-buffer-function): Use a non-nil default.
894 (revert-buffer-preserve-modes): Declare var to
895 provide access to the `preserve-modes' argument.
896 (revert-buffer): Let-bind it.
897 (revert-buffer--default): New function, extracted from revert-buffer.
899 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
901 * lpr.el: Signal print errors more prominently.
902 (print-region-function): Don't default to nil.
903 (lpr-print-region): New function, extracted from print-region-1.
904 Check lpr's return value and signal an error in case of problem.
905 (print-region-1): Use it.
906 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
908 (ps-printer-name): Default to nil.
909 (ps-printer-name-option): Default to lpr-printer-switch.
910 (ps-print-region-function): Don't default to nil.
911 (ps-postscript-code-directory): Simplify default.
912 (ps-do-despool): Use lpr-print-region to properly check the outcome.
913 (ps-string-list, ps-eval-switch, ps-flatten-list)
914 (ps-flatten-list-1): Remove.
915 (ps-multibyte-buffer): Avoid setq.
916 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
917 (print-region-function, ps-print-region-function): Don't set them here.
919 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
921 * ido.el (ido-fractionp):
922 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
923 (ido-max-file-prompt-width, ido-unc-hosts-cache)
924 (ido-max-directory-size, ido-max-dir-file-cache)
925 (ido-decorations): Doc fix.
927 * ansi-color.el: Fix old URL.
929 2013-07-23 Michael R. Mauger <michael@mauger.com>
931 * progmodes/sql.el Version 3.3
932 (sql-product-alist): Improve oracle :prompt-cont-regexp.
933 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
934 (sql-interactive-remove-continuation-prompt): Rewrite, use
935 functions above. Fix continuation prompt and complete output line
937 (sql-redirect-one, sql-execute): Use `read-only-mode' on
938 redirected output buffer.
939 (sql-mode): Restore deleted code (Bug#13591).
941 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
943 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
945 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
947 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
951 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
953 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
955 * desktop.el (desktop-clear): Simplify; remove useless checks
956 against invalid buffer names.
957 (desktop-list*): Use cl-list*.
958 (desktop-buffer-info, desktop-create-buffer): Simplify.
960 2013-07-23 Leo Liu <sdl.web@gmail.com>
962 * bookmark.el (bookmark-make-record): Restore NAME as a default
965 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
967 * emacs-lisp/autoload.el (autoload--setup-output): New function,
968 extracted from autoload--insert-text.
969 (autoload--insert-text): Remove.
970 (autoload--print-cookie-text): New function, extracted from
971 autoload--insert-cookie-text.
972 (autoload--insert-cookie-text): Remove.
973 (autoload-generate-file-autoloads): Adjust calls accordingly.
975 * winner.el (winner-hook-installed-p): Remove.
976 (winner-mode): Simplify accordingly.
978 * subr.el (add-to-list): Fix compiler-macro when `append' is
979 not constant. Don't use `cl-member' for the base case.
981 * progmodes/subword.el: Fix boundary case (bug#13758).
982 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
984 (subword-backward-regexp): Make it a constant.
985 (subword-forward-internal): Don't treat a trailing capital as the
988 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
990 * emacs-lisp/package.el (package-menu-mode): Don't modify the
991 global value of tabulated-list-revert-hook (bug#14930).
993 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
995 * desktop.el: Require 'cl-lib.
996 (desktop-before-saving-frames-functions): New hook.
997 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
998 for frames being saved. Rename from desktop--save-minibuffer-frames.
999 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1000 Do not save frames with non-nil `desktop-dont-save' parameter.
1001 Filter out deleted frames.
1002 (desktop--find-frame): Use cl-find-if.
1003 (desktop--select-frame): Use cl-(first|second|third) to access values
1005 (desktop--make-frame): Use cl-delete-if.
1006 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1007 (desktop-restore-frames): Use cl-(first|second|third) to access values
1008 of desktop-mini. Look for visible frame at the end, not while
1011 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1012 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1013 Use string-match-p, looking-at-p (bug#14927).
1015 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1017 * desktop.el (desktop-saved-frame-states):
1018 Rename from desktop--saved-states; all users changed.
1019 (desktop-save-frames): Rename from desktop--save-frames.
1020 Do not save state to desktop file.
1021 (desktop-save): Save desktop-saved-frame-states to desktop file
1023 (desktop-restoring-frames-p): New function.
1024 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1025 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1026 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1028 * desktop.el: Correctly restore iconified frames.
1029 (desktop--filter-iconified-position): New function.
1030 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1032 2013-07-20 Glenn Morris <rgm@gnu.org>
1034 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1035 Let `message' do the formatting.
1036 (def-gdb-preempt-display-buffer): Add explicit format.
1038 * image-dired.el (image-dired-track-original-file):
1039 Use with-current-buffer.
1040 (image-dired-track-thumbnail): Use with-current-buffer.
1041 Avoid changing point of wrong window.
1043 * image-dired.el (image-dired-track-original-file):
1044 Avoid changing point of wrong window. (Bug#14909)
1046 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1048 * progmodes/gdb-mi.el (gdb-done-or-error):
1049 Guard against "%" in gdb output. (Bug#14127)
1051 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1053 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1056 * international/mule.el (coding-system-iso-2022-flags): Fix last
1059 2013-07-20 Kenichi Handa <handa@gnu.org>
1061 * international/mule.el (coding-system-iso-2022-flags):
1062 Add `8-bit-level-4'. (Bug#8522)
1064 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1066 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1069 * net/eww.el (eww-process-text-input): Allow inputting when the
1070 point is at the start of the line, as the properties aren't
1073 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1076 2013-07-19 Richard Stallman <rms@gnu.org>
1078 * epa.el (epa-popup-info-window): Doc fix.
1080 * subr.el (split-string): New arg TRIM.
1082 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1084 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1085 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1087 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1089 * filenotify.el (file-notify--library): Rename from
1090 `file-notify-support'. Do not autoload. Adapt all uses.
1091 (file-notify-supported-p): New defun.
1093 * autorevert.el (auto-revert-use-notify):
1094 Use `file-notify-supported-p' instead of `file-notify-support'.
1096 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1098 * net/tramp.el (tramp-file-name-for-operation):
1099 Add `file-notify-supported-p'.
1101 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1103 (tramp-sh-file-name-handler-alist): Add it as handler for
1104 `file-notify-supported-p '.
1106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1109 Add `ignore' as handler for `file-notify-*' functions.
1111 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1113 * simple.el (line-move-partial, line-move): Don't start vscroll or
1114 scroll-up if the current line is not taller than the window.
1117 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1120 highlight question marks in the method names as strings.
1121 (ruby-block-beg-keywords): Inline.
1122 (ruby-font-lock-keyword-beg-re): Extract from
1123 `ruby-font-lock-keywords'.
1125 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1127 * frame.el (blink-cursor-blinks): New defcustom.
1128 (blink-cursor-blinks-done): New defvar.
1129 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1130 (blink-cursor-timer-function): Check if number of blinks has been
1132 (blink-cursor-suspend, blink-cursor-check): New defuns.
1134 2013-07-15 Glenn Morris <rgm@gnu.org>
1136 * edmacro.el (edmacro-format-keys): Fix previous change.
1138 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1140 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1141 The hack didn't work outside English locales anyway.
1143 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1145 * simple.el (define-alternatives): Rename from alternatives-define,
1146 per RMS' suggestion.
1148 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1150 * desktop.el (desktop-restore-frames): Change default to t.
1151 (desktop-restore-in-current-display): Now offer more options.
1152 (desktop-restoring-reuses-frames): New customization option.
1153 (desktop--saved-states): Doc fix.
1154 (desktop-filter-parameters-alist): New variable, renamed and expanded
1155 from desktop--excluded-frame-parameters.
1156 (desktop--target-display): New variable.
1157 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1158 (desktop--filter-tty*, desktop--filter-*-color)
1159 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1160 (desktop--filter-save-desktop-parm)
1161 (desktop-restore-in-original-display-p): New functions.
1162 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1163 (desktop--save-minibuffer-frames): New function, inspired by a similar
1164 function from Martin Rudalics.
1165 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1166 (desktop--restore-in-this-display-p): Remove.
1167 (desktop--find-frame): Rename from desktop--find-frame-in-display
1168 and add predicate argument.
1169 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1170 (desktop--reuse-list): New variable.
1171 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1173 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1175 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1177 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1179 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1181 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1182 Highlight conversion methods on Kernel.
1184 2013-07-13 Alan Mackenzie <acm@muc.de>
1186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1187 and comment it out. This out-commenting enables certain C++
1188 declarations to be parsed correctly.
1190 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1192 * international/mule.el (define-coding-system): Doc fix.
1194 * simple.el (default-font-height): Don't call font-info if the
1195 frame's default font didn't change since the frame was created.
1198 2013-07-13 Leo Liu <sdl.web@gmail.com>
1200 * ido.el (ido-read-file-name): Guard against non-symbol value.
1202 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1204 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1207 2013-07-13 Leo Liu <sdl.web@gmail.com>
1209 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1210 ido-set-matches call. (Bug#6852)
1212 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1214 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1215 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1217 (ruby-font-lock-keywords): Distinguish calls to functions with
1218 module-like names from module references. Highlight character
1221 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1223 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1224 (gdb-send): Handle continued commands. (Bug#14847)
1226 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1228 * desktop.el (desktop--v2s): Remove unused local variable.
1229 (desktop-save-buffer): Make defvar-local; adjust docstring.
1230 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1231 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1233 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1235 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1237 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1239 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1242 2013-07-12 Glenn Morris <rgm@gnu.org>
1244 * doc-view.el: Require cl-lib at runtime too.
1245 (doc-view-remove-if): Remove.
1246 (doc-view-search-next-match, doc-view-search-previous-match):
1249 * edmacro.el: Require cl-lib at runtime too.
1250 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1251 (edmacro-mismatch, edmacro-subseq): Remove.
1253 * shadowfile.el: Require cl-lib.
1254 (shadow-remove-if): Remove.
1255 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1258 * wid-edit.el: Require cl-lib.
1259 (widget-choose): Use cl-remove-if.
1260 (widget-remove-if): Remove.
1262 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1263 (ebrowse-delete-if-not): Remove.
1264 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1265 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1266 Use cl-delete-if-not.
1268 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1270 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1271 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1273 2013-07-12 Leo Liu <sdl.web@gmail.com>
1275 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1277 2013-07-11 Glenn Morris <rgm@gnu.org>
1279 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1280 (edebug-gensym-index, edebug-gensym):
1281 Remove reimplementation of cl-gensym.
1282 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1284 * thumbs.el: Require cl-lib at run-time too.
1285 (thumbs-gensym-counter, thumbs-gensym):
1286 Remove reimplementation of cl-gensym.
1287 (thumbs-temp-file): Use cl-gensym.
1289 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1290 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1291 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1292 (ert--union, ert--gensym-counter, ert--gensym-counter)
1293 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1294 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1295 (ert-make-test-unbound, ert--expand-should-1)
1296 (ert--expand-should, ert--should-error-handle-error)
1297 (should-error, ert--explain-equal-rec)
1298 (ert--plist-difference-explanation, ert-select-tests)
1299 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1300 Use cl-lib functions rather than reimplementations.
1302 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
1304 * net/tramp.el (tramp-methods): Extend docstring.
1305 (tramp-connection-timeout): New defcustom.
1306 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1307 (with-tramp-progress-reporter): Simplify.
1308 (tramp-process-actions): Improve messages.
1310 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1311 * net/tramp-sh.el (tramp-maybe-open-connection):
1312 Use `tramp-connection-timeout'.
1313 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1316 2013-07-11 Leo Liu <sdl.web@gmail.com>
1318 * ido.el (ido-read-file-name): Conform to the requirements of
1319 read-file-name. (Bug#11861)
1320 (ido-read-directory-name): Conform to the requirements of
1321 read-directory-name.
1323 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
1325 * subr.el (delay-warning): New function.
1327 2013-07-10 Eli Zaretskii <eliz@gnu.org>
1329 * simple.el (default-line-height): New function.
1330 (line-move-partial, line-move): Use it instead of computing the
1332 (line-move-partial): Always compute ROWH. If the last line is
1333 partially-visible, but its text is completely visible, allow
1334 cursor to enter such a partially-visible line.
1336 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
1338 Improve error messages. (Bug#14808)
1340 * net/tramp.el (tramp-current-connection): New defvar, moved from
1342 (tramp-message-show-progress-reporter-message): Remove, not
1344 (tramp-error-with-buffer): Show message in minibuffer.
1345 Discard input before waiting. Reset connection timestamp.
1346 (with-tramp-progress-reporter): Improve messages.
1347 (tramp-process-actions): Use progress reporter. Delete process in
1348 case of error. Improve messages.
1350 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1351 Call `tramp-error-with-buffer' with vector and buffer.
1352 (tramp-current-connection): Remove.
1353 (tramp-maybe-open-connection): The car of
1354 `tramp-current-connection' are the first 3 slots of the vector.
1356 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1358 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1359 inside continued strings.
1361 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1363 Timestamp fixes for undo (Bug#14824).
1364 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1366 2013-07-10 Leo Liu <sdl.web@gmail.com>
1368 * files.el (require-final-newline): Allow safe local value.
1371 2013-07-09 Leo Liu <sdl.web@gmail.com>
1373 * ido.el (ido-read-directory-name): Handle fallback.
1374 (ido-read-file-name): Update DIR to ido-current-directory.
1376 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
1378 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1380 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1381 "autoload". Remove "warn lower camel case" section, previously
1382 commented out. Highlight negation char. Do not highlight the
1383 target in singleton method definitions.
1385 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * faces.el (tty-setup-hook): Declare the hook.
1389 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1390 and detect when a guard/pred depends on local vars (bug#14773).
1391 (pcase--u1): Adjust caller.
1393 2013-07-08 Eli Zaretskii <eliz@gnu.org>
1395 * simple.el (line-move-partial, line-move): Account for
1397 (line-move-partial): Avoid setting vscroll when the last
1398 partially-visible line in window is of default height.
1400 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1402 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1405 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
1407 * subr.el (read-quoted-char): Remove unused local variable `char'.
1409 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1411 * ediff.el (ediff-version): Version update.
1412 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1413 (ediff-merge-with-ancestor-command, ediff-directories-command)
1414 (ediff-directories3-command, ediff-merge-directories-command)
1415 (ediff-merge-directories-with-ancestor-command): New functions.
1416 All are command-line interfaces to ediff: to facilitate calling
1417 Emacs with the appropriate ediff functions invoked.
1419 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1420 (viper-save-kill-buffer): Check if buffer is modified.
1422 * viper.el (viper-version): Version update.
1423 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1425 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1428 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1429 (viper-intercept-ESC-key): Simplify.
1430 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1431 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1432 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1433 (viper-setup-ESC-to-escape): New functions.
1434 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1435 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
1437 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1439 * simple.el (default-font-height, window-screen-lines):
1441 (line-move, line-move-partial): Use them instead of
1442 frame-char-height and window-text-height. This makes scrolling
1443 text smoother when the buffer's default face uses a font that is
1444 different from the frame's default font.
1446 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1448 * files.el (write-file): Do not display confirm dialog for NS,
1449 it does its own dialog, which can't be cancelled (Bug#14578).
1451 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1453 * simple.el (line-move-partial): Adjust the row returned by
1454 posn-at-point for the current window-vscroll. (Bug#14567)
1456 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1458 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1459 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1462 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1464 * window.el (window-state-put-stale-windows): New variable.
1465 (window--state-put-2): Save list of windows without matching buffer.
1466 (window-state-put): Remove "bufferless" windows if possible.
1468 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1470 * simple.el (alternatives-define): Remove leftover :group keyword.
1473 2013-07-06 Leo Liu <sdl.web@gmail.com>
1475 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1476 (ido-enable-virtual-buffers): New variable.
1477 (ido-buffer-internal, ido-toggle-virtual-buffers)
1478 (ido-make-buffer-list): Use it.
1479 (ido-exhibit): Support turning on and off virtual buffers
1482 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1484 * simple.el (alternatives-define): New macro.
1486 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * subr.el (read-quoted-char): Use read-key.
1489 (sit-for): Let read-event decode tty input (bug#14782).
1491 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1493 * calendar/todo-mode.el: Add handling of file deletion, both by
1494 mode command and externally. Fix various related bugs.
1495 Clarify Commentary and improve some documentation strings and code.
1496 (todo-delete-file): New command.
1497 (todo-check-file): New function.
1498 (todo-show): Handle external deletion of the file we're trying to
1499 show (bug#14688). Replace called-interactively-p by an optional
1500 prefix argument to avoid problematic interaction with catch form
1501 when byte compiled (bug#14702).
1502 (todo-quit): Handle external deletion of the archive's todo file.
1503 Make sure the buffer that was visiting the archive file is still
1504 live before trying to bury it.
1505 (todo-category-completions): Handle external deletion of any
1506 category completion files.
1507 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1508 of todo files, in case of external deletion.
1509 (todo-add-file): Replace unnecessary setq by let-binding.
1510 (todo-find-archive): Check whether there are any archives.
1511 Replace unnecessary setq by let-binding.
1512 (todo-archive-done-item): Use find-file-noselect to get the
1513 archive buffer whether or not the archive already exists.
1514 Remove superfluous code. Use file size instead of buffer-file-name to
1515 check if the archive is new; if it is, update list of archives.
1516 (todo-default-todo-file): Allow nil to be a valid value for when
1517 there are no todo files.
1518 (todo-reevaluate-default-file-defcustom): Use corrected definition
1519 of todo-default-todo-file.
1520 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1521 (todo-delete-category, todo-show-categories-table)
1522 (todo-category-number): Clarify comment.
1523 (todo-filter-items): Clarify documentation string.
1524 (todo-show-current-file, todo-display-as-todo-file)
1525 (todo-reset-and-enable-done-separator): Tweak documentation string.
1526 (todo-done-separator): Make separator length window-width, since
1527 bug#2749 is now fixed.
1529 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1531 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1532 Support both "gvfs-monitor-dir" and "inotifywait".
1533 (tramp-sh-file-inotifywait-process-filter): Rename from
1534 `tramp-sh-file-notify-process-filter'.
1535 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1536 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1538 2013-07-05 Leo Liu <sdl.web@gmail.com>
1540 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1542 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1544 * frame.el (display-pixel-height, display-pixel-width)
1545 (display-mm-height, display-mm-width): Mention behavior on
1546 multi-monitor setups in docstrings.
1547 (w32-display-monitor-attributes-list): Declare function.
1548 (display-monitor-attributes-list): Use it.
1550 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1552 * filenotify.el: New package.
1554 * autorevert.el (top): Require filenotify.el.
1555 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1557 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1558 (auto-revert-notify-handler): Use `file-notify-*' functions.
1560 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1562 * net/tramp.el (tramp-file-name-for-operation):
1563 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1566 for `file-notify-add-watch' and `file-notify-rm-watch'.
1567 (tramp-process-sentinel): Improve trace.
1568 (tramp-sh-handle-file-notify-add-watch)
1569 (tramp-sh-file-notify-process-filter)
1570 (tramp-sh-handle-file-notify-rm-watch)
1571 (tramp-get-remote-inotifywait): New defuns.
1573 2013-07-03 Juri Linkov <juri@jurta.org>
1575 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1576 call of `occur-read-primary-args' to interactive spec.
1578 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1579 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1581 2013-07-03 Matthias Meulien <orontee@gmail.com>
1583 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1584 `Buffer-menu-multi-occur'. Add it to the menu.
1585 (Buffer-menu-mode): Document it in docstring.
1586 (Buffer-menu-multi-occur): New command. (Bug#14673)
1588 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1591 keywords and built-ins.
1593 2013-07-03 Glenn Morris <rgm@gnu.org>
1595 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1597 Make info-xref checks case-sensitive by default
1598 * info.el (Info-find-node, Info-find-in-tag-table)
1599 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1600 Add option for exact case matching of nodes.
1601 * info-xref.el (info-xref): New custom group.
1602 (info-xref-case-fold): New option.
1603 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1605 2013-07-03 Leo Liu <sdl.web@gmail.com>
1607 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1609 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1611 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1612 middle of block statement initially, lower the depth. Remove
1613 FIXME comment, not longer valid. Remove middle of block statement
1614 detection, no need to do that anymore since we've been using
1615 `ruby-parse-region' here.
1617 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1619 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1621 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
1623 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1625 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
1627 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1628 (desktop-restore-in-current-display): New customization option.
1629 (desktop--excluded-frame-parameters): Add `font'.
1630 (desktop--save-frames): Rename from desktop--save-windows.
1631 (desktop--restore-in-this-display-p): New function.
1632 (desktop--make-full-frame): Remove unwanted width/height from
1633 full(width|height) frames.
1634 (desktop--restore-frames): Rename from desktop--restore-windows.
1635 Obey desktop-restore-current-display. Do not delete old frames or
1636 select a new frame unless we were able to restore at least one frame.
1638 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
1640 * files.el (find-file-noselect): Simplify conditional expression.
1642 * remember.el (remember-append-to-file):
1643 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1645 Add `remember-notes' function to store random notes across Emacs
1647 * remember.el (remember-data-file): Add :set callback to affect
1648 notes buffer (if any).
1649 (remember-notes): New command.
1650 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1651 New defcustoms for the `remember-notes' function.
1652 (remember-notes-save-and-bury-buffer): New command.
1653 (remember-notes-mode-map): New variable.
1654 (remember-mode): New minor mode.
1655 (remember-notes--kill-buffer-query): New function.
1656 * startup.el (initial-buffer-choice): Add notes to custom type.
1658 2013-06-30 Eli Zaretskii <eliz@gnu.org>
1660 * bindings.el (right-char, left-char): Don't call sit-for, this is
1661 no longer needed. Use arithmetic comparison only for numerical
1664 * international/mule-cmds.el (select-safe-coding-system):
1665 Handle the case of FROM being a string correctly. (Bug#14755)
1667 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1669 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1670 progression on degenerate tables.
1671 (shr-rescale-image): ImageMagick animated images currently don't work.
1673 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
1675 Some fixes and improvements for desktop frame restoration.
1676 It is still experimental and disabled by default.
1677 * desktop.el (desktop--save-windows): Put the selected frame at
1678 the head of the list.
1679 (desktop--make-full-frame): New function.
1680 (desktop--restore-windows): Try to re-select the frame that was
1681 selected upon saving. Do not abort if some frames fail to restore,
1682 just show an error message and continue. Set up maximized frames
1683 so they have default non-maximized dimensions.
1685 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1687 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1688 Don't start heredoc inside a string or comment.
1690 2013-06-29 Eli Zaretskii <eliz@gnu.org>
1692 * bindings.el (visual-order-cursor-movement): New defcustom.
1693 (right-char, left-char): Provide visual-order cursor motion by
1694 calling move-point-visually. Update the doc strings.
1696 2013-06-28 Kenichi Handa <handa@gnu.org>
1698 * international/mule.el (define-coding-system): New coding system
1699 properties :inhibit-null-byte-detection,
1700 :inhibit-iso-escape-detection, and :prefer-utf-8.
1701 (set-buffer-file-coding-system): If :charset-list property of
1702 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1703 appropriate for setting.
1705 * international/mule-cmds.el (select-safe-coding-system):
1706 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1707 multibyte characters, return utf-8 (or one of its siblings).
1709 * international/mule-conf.el (prefer-utf-8): New coding system.
1710 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1713 2013-06-28 Ivan Kanis <ivan@kanis.fr>
1715 * net/shr.el (shr-render-region): New function.
1717 * net/eww.el: Autoload `eww-browse-url'.
1719 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1721 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1722 Adapt to `package-desc-version' being a list.
1723 Use `package--ac-desc-version' to retrieve version from a package
1726 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
1728 New experimental feature to save&restore window and frame setup.
1729 * desktop.el (desktop-save-windows): New defcustom.
1730 (desktop--saved-states): New var.
1731 (desktop--excluded-frame-parameters): New defconst.
1732 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1733 (desktop--restore-windows, desktop--save-windows): New functions.
1734 (desktop-save): Call `desktop--save-windows'.
1735 (desktop-read): Call `desktop--restore-windows'.
1737 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1739 * net/shr.el (add-face-text-property): Remove compat definition.
1741 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1743 * info.el (Info-try-follow-nearest-node): Move search for footnote
1744 above search for node name to prevent missing a footnote (bug#14717).
1746 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1748 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1750 2013-06-27 Leo Liu <sdl.web@gmail.com>
1752 * net/eww.el (eww-read-bookmarks): Check file size.
1754 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1757 advice--pending if newdef is nil or an autoload (bug#13820).
1758 (advice-mapc): New function.
1760 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1762 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1764 (eww-mode-map): Add a menu bar.
1765 (eww-add-bookmark): New command.
1766 (eww-bookmark-mode): New mode and commands.
1767 (eww-add-bookmark): Remove newlines from the title.
1768 (eww-bookmark-browse): Don't bug out if it's the only window.
1770 2013-06-26 Glenn Morris <rgm@gnu.org>
1772 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1773 (hfy-size): Handle ttys. (Bug#14668)
1775 * info-xref.el: Update for Texinfo 5 change in *note format.
1776 (info-xref-node-re, info-xref-note-re): New constants.
1777 (info-xref-check-buffer): Use info-xref-note-re.
1779 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1781 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1783 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1784 nil terminate the loop (bug#14718).
1786 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1788 * net/eww.el: Rework history traversal. When going forward/back,
1789 put these actions into the history, too, so that they can be
1791 (eww-render): Move the history reset to the correct buffer.
1793 2013-06-25 Juri Linkov <juri@jurta.org>
1795 * files-x.el (modify-dir-local-variable): Change the header comment
1796 in the file with directory local variables. (Bug#14692)
1798 * files-x.el (read-file-local-variable-value): Add `default'.
1801 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1803 * net/eww.el (eww-make-unique-file-name): Create a unique file
1804 name before saving to entering `y' accidentally asynchronously.
1806 2013-06-25 Ivan Kanis <ivan@kanis.fr>
1808 * net/eww.el (eww-download): New command and keystroke.
1810 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1812 * net/eww.el (eww-copy-page-url): Change name of command.
1814 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1815 be more consistent with Info and dired.
1817 * net/eww.el (eww-mode-map): Ditto.
1819 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1822 packages from archives.
1823 (package-archive-contents): Change format; include obsolete packages.
1824 (package-desc): Use `dir' to mark builtin packages.
1825 (package--from-builtin): Set the `dir' field to `builtin'.
1826 (generated-autoload-file, version-control): Declare.
1827 (package-compute-transaction): Change first arg and return value to be
1828 lists of package-descs. Adjust to new package-archive-contents format.
1829 (package--add-to-archive-contents): Adjust to new
1830 package-archive-contents format.
1831 (package-download-transaction): Arg is now a list of package-descs.
1832 (package-install): If `pkg' is a package name, pass it as
1833 a requirement, so it is subject to the usual (e.g. disabled) checks.
1834 (describe-package): Accept package-desc as well.
1835 (describe-package-1): Describe a specific package-desc. Add links to
1836 other package-descs for the same package name.
1837 (package-menu-describe-package): Pass the actual package-desc.
1838 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1840 (package-desc-status): New function.
1841 (package-menu--refresh): New function, extracted
1842 from package-menu--generate.
1843 (package-menu--generate): Use it.
1844 (package-delete): Update package-alist.
1845 (package-menu-execute): Don't call package-initialize.
1847 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1848 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1849 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1850 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1851 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1852 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1854 2013-06-25 Martin Rudalics <rudalics@gmx.at>
1856 * window.el (window--state-get-1): Workaround for bug#14527.
1857 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1859 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1861 * net/eww.el (eww-back-url): Implement the history by stashing all
1862 the data into a list.
1863 (eww-forward-url): Allow going forward in the history, too.
1865 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1867 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1868 for values and use read--expression for expressions (bug#14710).
1869 (read-file-local-variable): Avoid setq.
1870 (read-file-local-variable-mode): Use minor-mode-list.
1872 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1874 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
1877 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1879 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
1880 Update imenu-support when dialect changes.
1882 2013-06-25 Leo Liu <sdl.web@gmail.com>
1884 * ido.el (ido-read-internal): Allow forward slash on windows.
1886 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1888 * net/eww.el (eww): Start of strings is \\`, not ^.
1890 2013-06-24 Ivan Kanis <ivan@kanis.fr>
1892 * net/shr.el (shr-browse-url): Fix interactive spec.
1894 * net/eww.el (eww): Add a trailing slash to domain names.
1896 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
1898 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1900 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1902 * net/shr.el (shr-browse-url): Use an external browser if given a
1905 * net/eww.el (eww-external-browser): Move to shr.
1907 2013-06-24 Ivan Kanis <ivan@kanis.fr>
1909 * net/eww.el (eww): Work more correctly for file: URLs.
1910 (eww-detect-charset): Allow quoted charsets.
1911 (eww-yank-page-url): New command and keystroke.
1913 2013-06-24 Daiki Ueno <ueno@gnu.org>
1915 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1916 file name of gpg executable.
1917 (epg-context-program): New function.
1918 (epg-context-home-directory): New function.
1919 (epg-context-set-program): New function.
1920 (epg-context-set-home-directory): New function.
1921 (epg--start): Use `epg-context-program' instead of
1923 (epg--list-keys-1): Likewise.
1925 2013-06-24 Leo Liu <sdl.web@gmail.com>
1927 * ido.el (ido-read-internal): Fix bug#14620.
1929 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
1931 * faces.el (face-documentation): Simplify.
1932 (read-face-attribute, tty-find-type, x-resolve-font-name):
1933 Use `string-match-p'.
1934 (list-faces-display): Use `string-match-p'. Simplify.
1935 (face-spec-recalc): Check face to avoid face alias loops.
1936 (read-color): Use `string-match-p' and non-capturing parenthesis.
1938 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1940 * net/shr.el (shr-rescale-image): Use the new
1941 :max-width/:max-height functionality.
1943 2013-06-23 Ivan Kanis <ivan@kanis.fr>
1945 * net/eww.el (eww-search-prefix): New variable.
1947 (eww-external-browser): New variable.
1948 (eww-mode-map): New keystroke.
1949 (eww-browse-with-external-browser): New command.
1951 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1953 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
1955 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1956 Don't skip aligning the next header field when padding is 0;
1957 otherwise, field width is not respected unless the title is as
1960 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * emacs-lisp/package.el (package-el-version): Remove.
1963 (package-process-define-package): Fix inf-loop.
1964 (package-install): Allow symbols as arguments again.
1966 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1969 add some more keyword-like methods.
1970 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1972 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
1974 * bs.el (bs-buffer-show-mark): Make defvar-local.
1975 (bs-mode): Use setq-local.
1977 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1978 (emacs-lock--try-unlocking): Make defvar-local.
1980 2013-06-22 Glenn Morris <rgm@gnu.org>
1982 * play/cookie1.el (cookie-apropos): Minor simplification.
1984 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1986 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1988 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1989 `regexp-opt', it breaks the build during dumping.
1991 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
1993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1994 Highlight keyword-like methods on Kernel and Module with
1995 font-lock-builtin-face.
1996 (auto-mode-alist): Consolidate different entries into one regexp
1997 and add more *file-s.
1999 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2001 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2003 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2004 (diary-entry): Use it in the action of this button type instead of
2007 * calendar/todo-mode.el: New version.
2008 (todo-add-category): Append new category to end of file and give
2009 it the highest number, instead of putting it at the beginning and
2010 giving it 0. Incorporate noninteractive functionality.
2011 (todo-forward-category): Adapt to 1-based category numbering.
2012 Allow skipping over archived categories.
2013 (todo-backward-category): Derive from todo-forward-category.
2014 (todo-backward-item, todo-forward-item): Make noninteractive and
2015 delegate interactive part to new commands. Make sensitive to done items.
2016 (todo-categories): Make value an alist of category names and
2017 vectors of item counts.
2018 (todo-category-beg): Make a defconst.
2019 (todo-category-number): Use 1 instead of 0 as initial value.
2020 (todo-category-select): Make sensitive to overlays, optional item
2021 highlighting and done items.
2022 (todo-delete-item): Make sensitive to overlays and marked and done items.
2023 (todo-edit-item): Make sensitive to overlays and editing of
2024 date/time header optional. Add format checks.
2025 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2026 no-op if point is not on an item. Advertise using todo-edit-quit.
2027 (todo-edit-mode): Make sensitive to new format, font-locking, and
2028 multiple todo files.
2029 (todo-insert-item, todo-insert-item-here): Derive from
2030 todo-basic-insert-item and extend functionality.
2031 (todo-item-end, todo-item-start): Make sensitive to done items.
2032 (todo-item-string): Don't return text properties. Restore point.
2033 (todo-jump-to-category): Make sensitive to multiple todo files and
2034 todo archives. Use extended category completion.
2035 (todo-lower-item, todo-raise-item): Rename to *-priority and
2036 derive from todo-set-item-priority.
2037 (todo-mode): Derive from special-mode. Make sensitive to new
2038 format, font-locking and multiple todo files. Make read-only.
2039 (todo-mode-map): Don't suppress digit keys, so they can supply
2040 prefix arguments. Add many new key bindings.
2041 (todo-prefix): Insert as an overlay instead of file text.
2042 Change semantics from diary date expression to purely visual mark.
2043 (todo-print): Rename to todo-print-buffer. Make buffer display
2044 features printable. Remove option to restrict number of items
2045 printed. Add option to print to file.
2046 (todo-print-function): Rename to todo-print-buffer-function.
2047 (todo-quit): Extend to handle exiting new todo modes.
2048 (todo-remove-item): Make sensitive to overlays.
2049 (todo-save): Extend to buffers of filtered items.
2050 (todo-show): Make sensitive to done items, multiple todo files and
2051 new todo modes. Offer to convert legacy todo file before creating
2052 first new todo file.
2053 (todo-show-priorities): Rename to todo-top-priorities.
2054 Change semantics of value 0.
2055 (todo-top-priorities): Rename to todo-filter-top-priorities,
2056 derive from todo-filter-items and extend functionality.
2057 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2058 and extend functionality to other types of filtered items.
2059 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2060 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2061 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2062 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2063 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2064 (todo-edit-mode-hook, todo-entry-prefix-function)
2065 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2066 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2067 (todo-initials, todo-insert-threshold, todo-item-string-start)
2068 (todo-line-string, todo-menu, todo-mode-hook)
2069 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2070 (todo-print-priorities, todo-remove-separator)
2071 (todo-save-top-priorities-too, todo-string-count-lines)
2072 (todo-string-multiline-p, todo-time-string-format)
2073 (todo-tmp-buffer-name): Remove.
2074 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2075 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2076 (todo-edit-category-diary-inclusion)
2077 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2078 (todo-edit-file, todo-edit-item-date-day)
2079 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2080 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2081 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2082 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2083 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2084 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2085 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2086 (todo-filter-top-priorities-multifile, todo-find-archive)
2087 (todo-find-filtered-items-file, todo-go-to-source-item)
2088 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2089 (todo-jump-to-archive-category, todo-lower-category)
2090 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2091 (todo-move-category, todo-move-item, todo-next-button)
2092 (todo-next-item, todo-padded-string, todo-powerset)
2093 (todo-previous-button, todo-previous-item)
2094 (todo-print-buffer-to-file, todo-raise-category)
2095 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2096 (todo-set-category-number, todo-set-item-priority)
2097 (todo-set-top-priorities-in-category)
2098 (todo-set-top-priorities-in-file, todo-show-categories-table)
2099 (todo-sort-categories-alphabetically-or-numerically)
2100 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2101 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2102 (todo-toggle-item-header, todo-toggle-item-highlighting)
2103 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2104 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2105 (todo-unarchive-items, todo-unmark-category): New commands.
2106 (todo-absolute-file-name, todo-add-to-buffer-list)
2107 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2108 (todo-basic-insert-item, todo-category-completions)
2109 (todo-category-number, todo-category-string-matcher-1)
2110 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2111 (todo-check-format, todo-clear-matches)
2112 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2113 (todo-current-category, todo-date-string-matcher)
2114 (todo-define-insertion-command, todo-diary-expired-matcher)
2115 (todo-diary-goto-entry, todo-diary-item-p)
2116 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2117 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2118 (todo-done-item-section-p, todo-done-separator)
2119 (todo-done-string-matcher, todo-files, todo-filter-items)
2120 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2121 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2122 (todo-insert-category-line, todo-insert-item-from-calendar)
2123 (todo-insert-sort-button, todo-insert-with-overlays)
2124 (todo-insertion-command-name, todo-insertion-key-bindings)
2125 (todo-label-to-key, todo-longest-category-name-length)
2126 (todo-make-categories-list, todo-mode-external-set)
2127 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2128 (todo-modes-set-3, todo-multiple-filter-files)
2129 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2130 (todo-read-category, todo-read-date, todo-read-dayname)
2131 (todo-read-file-name, todo-read-time)
2132 (todo-reevaluate-category-completions-files-defcustom)
2133 (todo-reevaluate-default-file-defcustom)
2134 (todo-reevaluate-filelist-defcustoms)
2135 (todo-reevaluate-filter-files-defcustom)
2136 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2137 (todo-reset-done-separator, todo-reset-done-separator-string)
2138 (todo-reset-done-string, todo-reset-global-current-todo-file)
2139 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2140 (todo-reset-prefix, todo-set-categories)
2141 (todo-set-date-from-calendar, todo-set-show-current-file)
2142 (todo-set-top-priorities, todo-short-file-name)
2143 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2144 (todo-total-item-counts, todo-update-buffer-list)
2145 (todo-update-categories-display, todo-update-categories-sexp)
2146 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2148 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2150 (todo-categories, todo-display, todo-edit, todo-faces)
2151 (todo-filtered): New defgroups.
2152 (todo-archived-only, todo-button, todo-category-string, todo-date)
2153 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2154 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2155 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2156 (todo-add-item-if-new-category, todo-always-add-time-string)
2157 (todo-categories-align, todo-categories-archived-label)
2158 (todo-categories-category-label, todo-categories-diary-label)
2159 (todo-categories-done-label, todo-categories-number-separator)
2160 (todo-categories-todo-label, todo-categories-totals-label)
2161 (todo-category-completions-files, todo-completion-ignore-case)
2162 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2163 (todo-done-separator-string, todo-done-string)
2164 (todo-files-function, todo-filter-done-items, todo-filter-files)
2165 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2166 (todo-initial-category, todo-initial-file, todo-item-mark)
2167 (todo-legacy-date-time-regexp, todo-mode-line-function)
2168 (todo-nondiary-marker, todo-number-prefix)
2169 (todo-print-buffer-function, todo-show-current-file)
2170 (todo-show-done-only, todo-show-first, todo-show-with-done)
2171 (todo-skip-archived-categories, todo-top-priorities-overrides)
2172 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2173 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2175 (todo-category-done, todo-date-pattern, todo-date-string-start)
2176 (todo-diary-items-buffer, todo-done-string-start)
2177 (todo-filtered-items-buffer, todo-item-start)
2178 (todo-month-abbrev-array, todo-month-name-array)
2179 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2180 (todo-top-priorities-buffer): New defconsts.
2181 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2182 (todo-categories-with-marks, todo-category-string-face)
2183 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2184 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2185 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2186 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2187 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2188 (todo-font-lock-keywords, todo-global-current-todo-file)
2189 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2190 (todo-insertion-commands-args)
2191 (todo-insertion-commands-args-genlist)
2192 (todo-insertion-commands-names, todo-insertion-map)
2193 (todo-key-bindings-t, todo-key-bindings-t+a)
2194 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2195 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2196 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2197 (todo-visited): New variables.
2199 2013-06-21 Glenn Morris <rgm@gnu.org>
2201 * play/cookie1.el (cookie-apropos): Add optional display argument.
2202 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2203 (psychoanalyze-pinhead): Use cookie-doctor.
2205 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2207 * emacs-lisp/package.el (tar-get-file-descriptor)
2208 (tar--extract): Declare.
2210 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2212 Extend flymake's warning predicate to be a function (bug#14217).
2213 * progmodes/flymake.el (flymake-warning-predicate): New.
2214 (flymake-parse-line): Use it.
2215 (flymake-warning-re): Make obsolete alias to
2216 `flymake-warning-predicate'.
2218 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2220 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2221 (package-obsolete-list): Remove.
2222 (package-activate): Remove min-version argument. Add `force' argument.
2223 Adjust to new package-alist format.
2224 (package-mark-obsolete): Remove.
2225 (package-unpack): Force reload of the package's autoloads.
2226 (package-installed-p): Check builtins if the installed package is not
2228 (package-initialize): Don't reset package-obsolete-list.
2229 Don't specify which package version to activate.
2230 (package-process-define-package, describe-package-1)
2231 (package-menu--generate): Adjust to new package-alist format.
2233 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2235 * allout-widgets.el (allout-widgets-mode-off)
2236 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2237 (allout-widgets-post-command-business)
2238 (allout-widgets-after-copy-or-kill-function)
2239 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2240 (allout-decorate-item-and-context)
2241 (allout-graphics-modification-handler): Fix typos in docstrings.
2242 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2244 * cmuscheme.el (scheme-start-file): Doc fix.
2245 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2246 (scheme-input-filter): Use `string-match-p'.
2248 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2250 * dired-x.el: Use Dired consistently in docstrings.
2252 * dired.el: Use Dired consistently in docstrings.
2253 (dired-readin, dired-mode): Use `setq-local'.
2254 (dired-switches-alist): Make defvar-local.
2255 (dired-buffers-for-dir): Use `zerop'.
2256 (dired-safe-switches-p, dired-switches-escape-p)
2257 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2258 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2259 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2260 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2261 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2262 (dired-toggle-marks, dired-mark-files-containing-regexp)
2263 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2264 (dired-flag-auto-save-files, dired-flag-backup-files):
2266 (dired-mark-files-regexp, dired-build-subdir-alist):
2267 Use `string-match-p', `looking-at-p'.
2269 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2270 (direct-print-region-helper): Use `string-match-p'.
2272 2013-06-21 Leo Liu <sdl.web@gmail.com>
2274 * comint.el (comint-redirect-results-list-from-process):
2277 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2279 * net/eww.el (eww-update-header-line-format): Quote % characters.
2281 2013-06-21 Glenn Morris <rgm@gnu.org>
2283 * play/cookie1.el (cookie): New custom group.
2284 (cookie-file): New option.
2285 (cookie-check-file): New function.
2286 (cookie): Make it interactive. Make start and end messages optional.
2287 Interactively, display the result. Default to cookie-file.
2288 (cookie-insert): Default to cookie-file.
2289 (cookie-snarf): Make start and end messages optional.
2290 Default to cookie-file. Use with-temp-buffer.
2291 (cookie-read): Rename from read-cookie.
2292 Make start and end messages optional. Default to cookie-file.
2293 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2295 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2296 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2298 2013-06-21 Leo Liu <sdl.web@gmail.com>
2300 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2302 2013-06-21 Glenn Morris <rgm@gnu.org>
2304 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2306 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2307 Daniel Hackney <dan@haxney.org>
2309 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2310 Consolidate the single-file vs tarball code.
2311 (package-desc-suffix): New function.
2312 (package-desc-full-name): Don't bother inlining it.
2313 (package-load-descriptor): Return the new package-desc.
2314 (package-mark-obsolete): Remove unused arg `package'.
2315 (package-unpack): Make it work for single files as well.
2316 Make it update package-alist.
2317 (package--make-autoloads-and-stuff): Rename from
2318 package--make-autoloads-and-compile. Don't compile any more.
2319 (package--compile): New function.
2320 (package-generate-description-file): New function, extracted from
2321 package-unpack-single.
2322 (package-unpack-single): Remove.
2323 (package--with-work-buffer): Add indentation and debugging info.
2324 (package-download-single): Remove.
2325 (package-install-from-archive): Rename from package-download-tar, make
2326 it take a pkg-desc, and make it work for single files as well.
2327 (package-download-transaction): Simplify.
2328 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2329 external tar program.
2330 (package-install-from-buffer): Remove `pkg-desc' argument.
2331 Use package-tar-file-info for tar-mode buffers.
2332 (package-install-file): Simplify accordingly.
2333 (package-archive-base): Change to take a pkg-desc.
2334 * tar-mode.el (tar--check-descriptor): New function, extracted from
2336 (tar-get-descriptor): Use it.
2337 (tar-get-file-descriptor): New function.
2338 (tar--extract): New function, extracted from tar-extract.
2339 (tar--extract): Use it.
2340 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2341 case the summary uses non-ascii. Adjust to new calling convention of
2342 package-tar-file-info.
2344 2013-06-21 Leo Liu <sdl.web@gmail.com>
2346 * comint.el (comint-redirect-results-list-from-process):
2347 Fix random delay. (Bug#14681)
2349 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2351 * profiler.el (profiler-format-number): Use log, not log10.
2353 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2355 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2357 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2360 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2362 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2363 (AUTOGENEL): ... here.
2364 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2365 (cl--defsubst-expand): Use it.
2367 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2369 * subr.el (log10): Move here from C code, and declare as obsolete.
2370 All uses of (log10 X) replaced with (log X 10).
2372 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2374 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2375 Declare with `defvar-local'.
2376 (tabulated-list-use-header-line, tabulated-list-entries)
2377 (tabulated-list-padding, tabulated-list-printer)
2378 (tabulated-list-sort-key): Declare with `defvar-local'.
2379 (tabulated-list-init-header, tabulated-list-print-fake-header):
2382 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
2384 * arc-mode.el (archive-mode): Add `archive-write-file' to
2385 `write-contents-functions' also for remote files. (Bug#14652)
2387 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2389 * cus-edit.el (custom-commands): Fix typos.
2390 (custom-display): Fix tooltip text.
2391 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2392 Fix typos in docstrings.
2393 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2394 (custom-unlispify-menu-entry, custom-magic-value-create)
2395 (custom-add-see-also, custom-group-value-create): Use ?\s.
2396 (custom-guess-type, customize-apropos, editable-field)
2397 (custom-face-value-create): Use `string-match-p'.
2398 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2400 * custom.el (custom-load-symbol): Use `string-match-p'.
2402 * ansi-color.el: Convert to lexical binding.
2403 (ansi-colors): Fix URL.
2404 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2405 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2406 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2408 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2410 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2412 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2414 2013-06-19 Tom Tromey <tromey@redhat.com>
2416 * net/eww.el (eww-top-url): Remove.
2417 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2418 (eww-render): Set new variables. Don't set eww-top-url.
2419 (eww-handle-link): Handle "prev", "home", and "contents".
2420 Downcase the rel text.
2421 (eww-top-url): Choose best top URL.
2423 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2425 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2426 relying in widget.el. Using widget.el leads to too many
2427 user interface inconsistencies.
2428 (eww-self-insert): Implement entering commands in text fields.
2429 (eww-process-text-input): New function to make text input field editing
2431 (eww-submit): Rewrite to use the new-style form methods.
2432 (eww-select-display): Display the correct selected item.
2433 (eww-change-select): Implement changing the select value.
2434 (eww-toggle-checkbox): Implement radio/checkboxes.
2435 (eww-update-field): Fix compilation error.
2436 (eww-tag-textarea): Implement <textarea>.
2438 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2439 we don't shadow mode-specific bindings.
2441 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2444 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2446 2013-06-19 Glenn Morris <rgm@gnu.org>
2448 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2450 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2452 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2455 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2457 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2459 * net/browse-url.el (browse-url-browser-function):
2460 `eww-browse-url' has the right calling signature, `eww' does not.
2462 2013-06-19 Glenn Morris <rgm@gnu.org>
2464 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2465 Only eval autoloaded macros.
2466 (byte-compile-autoload): Only give the macro warning for macros.
2468 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2469 (ps-underlined-faces): Declare.
2471 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2472 (speedbar-add-supported-extension): Declare.
2474 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2475 Don't include a date stamp in the header of the generated file;
2476 it leads to needless differences between output files.
2478 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2480 * net/secrets.el (secrets-struct-secret-content-type):
2481 Replace check of introspection data by a test call of "CreateItem".
2482 Some servers do not offer introspection.
2484 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2486 * electric.el (electric-pair-mode): Improve interaction with
2487 electric-layout-mode.
2488 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2489 (electric-pair-syntax): Use text-mode-syntax-table in comments
2491 (electric-pair--insert): New function.
2492 (electric-pair-post-self-insert-function): Use it and
2493 electric--after-char-pos.
2495 2013-06-19 Leo Liu <sdl.web@gmail.com>
2497 * progmodes/octave.el (octave-help): Fix regexp.
2499 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2501 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2502 (shr-table-horizontal-line): Allow nil as a value, and change the
2504 (shr-insert-table-ruler): Respect the nil value.
2506 2013-06-18 Tom Tromey <tromey@barimba>
2508 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2510 (eww-open-file): New defun.
2511 (eww-render): Initialize new variables.
2512 (eww-display-html): Handle "link" and "a".
2513 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2514 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2515 (eww-back-url): Rename from eww-previous-url.
2516 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2519 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2521 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2522 Distinguish ternary operator tokens from slash symbol and slash
2525 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2527 Convert symbol prettification into minor mode and global minor mode.
2529 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2530 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2531 (prettify-symbols--keywords): Rename from
2532 `prog-prettify-symbols-alist' and make a local defvar.
2533 (prettify-symbols--compose-symbol): Rename from
2534 `prog--prettify-font-lock-compose-symbol'.
2535 (prettify-symbols--make-keywords): Rename from
2536 `prog-prettify-font-lock-symbols-keywords' and simplify.
2537 (prog-prettify-install): Remove.
2538 (prettify-symbols-mode): New minor mode, based on
2539 `prog-prettify-install'.
2540 (turn-on-prettify-symbols-mode): New function.
2541 (global-prettify-symbols-mode): New globalized minor mode.
2543 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2544 * progmodes/cfengine.el (cfengine3-mode):
2545 * progmodes/perl-mode.el (perl-mode): Don't call
2546 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2548 2013-06-18 Juri Linkov <juri@jurta.org>
2550 * files-x.el (modify-file-local-variable-message): New function.
2551 (modify-file-local-variable)
2552 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2553 and call `modify-file-local-variable-message' when it's non-nil.
2554 (add-file-local-variable, delete-file-local-variable)
2555 (add-file-local-variable-prop-line)
2556 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2557 and use it. (Bug#9820)
2559 2013-06-18 Juri Linkov <juri@jurta.org>
2561 * emulation/vi.el (vi-shell-op):
2562 * emulation/vip.el (vip-execute-com, ex-command):
2563 * emulation/viper-cmd.el (viper-exec-bang):
2564 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2565 the call of `shell-command-on-region'. (Bug#14637)
2567 * simple.el (shell-command-on-region): Doc fix.
2569 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2571 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2574 2013-06-18 Glenn Morris <rgm@gnu.org>
2576 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2578 * newcomment.el (comment-search-forward, comment-search-backward):
2579 Doc fix. (Bug#14376)
2581 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2583 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2584 (buffer-face-mode-invoke): Doc fix.
2586 2013-06-18 Matthias Meulien <orontee@gmail.com>
2588 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2589 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2591 2013-06-18 Glenn Morris <rgm@gnu.org>
2593 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2594 Replace obsolete function generic-make-keywords with its expansion.
2596 * progmodes/python.el (ffap-alist): Declare.
2598 * textmodes/reftex.el (bibtex-mode-map): Declare.
2600 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2602 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2603 (package-unpack, package-unpack-single): Return the pkg-dir.
2604 (package-download-transaction): Use it to update package-alist.
2606 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2608 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2611 2013-06-17 Juri Linkov <juri@jurta.org>
2613 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2615 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2617 * emacs-lisp/package.el (package-load-descriptor):
2618 Remove `with-syntax-table' call, `read' doesn't need it.
2619 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2621 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2623 * startup.el (command-line): Expand package name returned by
2624 `package--description-file' (bug#14639).
2626 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2628 * emacs-lisp/package.el (package-load-descriptor): Do not call
2629 `emacs-lisp-mode', just use its syntax table.
2631 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2633 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2634 `font-lock-extra-managed-props' if any prettifying keyword is added.
2635 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2636 (prog-mode): Use `setq-local'.
2638 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * international/characters.el (standard-case-table): Set syntax of ?»
2641 and ?« to punctuation.
2643 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
2645 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2646 Save relevant match data before calling `syntax-ppss' (bug#14595).
2648 2013-06-15 Juri Linkov <juri@jurta.org>
2650 * files-x.el (modify-file-local-variable-prop-line): Add local
2651 variables to the end of the existing comment on the first line.
2652 Use `file-auto-mode-skip' to skip interpreter magic line,
2653 and also skip XML declaration.
2655 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * startup.el (package--builtin-versions): New var.
2658 (package-subdirectory-regexp): Remove.
2659 (package--description-file): Hard code its value instead.
2661 * emacs-lisp/package.el: Don't activate packages older than builtin.
2662 (package-obsolete-list): Rename from package-obsolete-alist, and make
2663 it into a simple list of package-desc.
2664 (package-strip-version): Remove.
2665 (package-built-in-p): Use package--builtin-versions.
2666 (package-mark-obsolete): Simplify.
2667 (package-process-define-package): Mark it obsolete if older than the
2669 (package-handle-response): Use line-end-position.
2670 (package-read-archive-contents, package--download-one-archive):
2672 (package--add-to-archive-contents): Skip if older than the builtin or
2674 (package-menu-describe-package): Fix last change.
2675 (package-list-unversioned): New var.
2676 (package-menu--generate): Use it.
2678 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2679 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2680 (autoload-builtin-package-versions): New variable.
2681 (autoload-generate-file-autoloads): Use them.
2682 Remove the list of autoloaded functions/macros from the
2683 (autoload...) comments.
2685 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2687 2013-06-15 Eli Zaretskii <eliz@gnu.org>
2689 * simple.el (line-move-partial): Don't jump to the next screen
2690 line as soon as it becomes visible. Instead, continue enlarging
2691 the vscroll until the portion of a tall screen line that's left on
2692 display is about the height of the frame's default font.
2695 2013-06-15 Glenn Morris <rgm@gnu.org>
2697 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2698 compilation-error-regexp-alist void, or local while let-bound.
2700 * progmodes/make-mode.el (makefile-mode-syntax-table):
2701 Treat "=" as punctuation. (Bug#14614)
2703 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
2705 * help-fns.el (describe-variable):
2706 Add extra line for permanent-local variables.
2708 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2710 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2711 Add export, import, library. (Bug#9164)
2712 (library): Set indent function.
2714 2013-06-14 Glenn Morris <rgm@gnu.org>
2716 * term/xterm.el (xterm--query):
2717 Stop after first matching handler. (Bug#14615)
2719 2013-06-14 Ivan Kanis <ivan@kanis.fr>
2721 Add support for dired in saveplace.
2722 * dired.el (dired-initial-position-hook): New variable.
2723 (dired-initial-position): Call hook to place cursor position.
2724 * saveplace.el (save-place-to-alist): Add dired position.
2725 (save-place-dired-hook): New function.
2727 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2730 through a symbol rather than letrec.
2732 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2733 (package-desc): Add `dir' field.
2734 (package-desc-full-name): New function.
2735 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2736 (package-maybe-load-descriptor): Remove.
2737 (package-load-all-descriptors): Just call package-load-descriptor.
2738 (package--disabled-p): New function.
2739 (package-desc-vers, package-desc-doc): Remove aliases.
2740 (package--dir): Remove function.
2741 (package-activate): Check if a package is disabled.
2742 (package-process-define-package): New function, extracted from
2744 (define-package): Turn into a place holder.
2745 (package-unpack-single, package-tar-file-info):
2746 Use package--description-file.
2747 (package-compute-transaction): Use package--disabled-p.
2748 (package-download-transaction): Don't call
2749 package-maybe-load-descriptor since they're all loaded anyway.
2750 (package-install): Change argument to be a pkg-desc.
2751 (package-delete): Use a single pkg-desc argument.
2752 (describe-package-1): Use package-desc-dir instead of package--dir.
2753 Use package-desc property instead of package-symbol.
2754 (package-install-button-action): Adjust accordingly.
2755 (package--push): Rewrite.
2756 (package-menu--print-info): Adjust accordingly. Change the ID format
2758 (package-menu-describe-package, package-menu-get-status)
2759 (package-menu--find-upgrades, package-menu-mark-upgrades)
2760 (package-menu-execute, package-menu--name-predicate):
2762 * startup.el (package--description-file): New function.
2763 (command-line): Use it.
2764 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2765 Use package-desc-version.
2767 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2768 (byte-compile-preprocess): Use it.
2769 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2770 can't quite recognize.
2771 (byte-compile-add-to-list): Remove.
2772 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2773 (cconv-closure-convert): Add assertion.
2775 * emacs-lisp/map-ynp.el: Use lexical-binding.
2776 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2777 Factor out some repeated code.
2779 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * subr.el (with-eval-after-load): New macro.
2782 (eval-after-load): Allow form to be a function.
2783 take advantage of lexical-binding.
2784 (do-after-load-evaluation): Use dolist and adjust to new format.
2785 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2787 2013-06-13 Juri Linkov <juri@jurta.org>
2789 * replace.el (perform-replace): Display "symbol " and other search
2790 modes from `isearch-message-prefix' in the *Help* buffer.
2792 * isearch.el (isearch-query-replace): Add " symbol" and other
2793 possible search modes from `isearch-message-prefix' to the prompt.
2794 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2795 when reading a regexp to collect.
2797 2013-06-13 Juri Linkov <juri@jurta.org>
2799 * isearch.el (word-search-regexp): Match whitespace if the search
2800 string begins or ends in whitespace. The LAX arg is applied to
2801 both ends of the search string. Use `regexp-quote' and explicit
2802 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2803 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2804 boundaries are replaced with symbol boundaries, and characters
2805 between symbols match non-word non-symbol syntax. (Bug#14602)
2807 2013-06-13 Juri Linkov <juri@jurta.org>
2809 * isearch.el (isearch-del-char): Don't exceed the length of
2810 `isearch-string' by the prefix arg. (Bug#14563)
2812 2013-06-13 Juri Linkov <juri@jurta.org>
2814 * isearch.el (isearch-yank-word, isearch-yank-line)
2815 (isearch-char-by-name, isearch-quote-char)
2816 (isearch-printing-char, isearch-process-search-char):
2817 Add optional count prefix arg. (Bug#14563)
2819 * international/isearch-x.el
2820 (isearch-process-search-multibyte-characters):
2821 Add optional count prefix arg.
2823 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2826 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2829 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2831 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2833 2013-06-13 Glenn Morris <rgm@gnu.org>
2835 * startup.el (tty-handle-args):
2836 Don't just discard "--" and anything after. (Bug#14608)
2838 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2840 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
2842 Implement changes in Secret Service API. Make it backward compatible.
2843 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2844 (secrets-create-item): Use it. Prefix properties with interface.
2846 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2848 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2849 (term-emulate-terminal): Respect term-suppress-hard-newline.
2851 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2853 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2854 Only remove a `thumb-file' overlay. (Bug#14548)
2856 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
2858 * mail/reporter.el (reporter-submit-bug-report):
2859 Handle missing package-name. (Bug#14600)
2861 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2863 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2864 (reftex-citation-prompt, reftex-default-bibliography)
2865 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2866 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2867 (reftex-bib-sort-author, reftex-bib-sort-year)
2868 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2869 (reftex-extract-bib-entries-from-thebibliography)
2870 (reftex-get-bibkey-default, reftex-get-bib-names)
2871 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2872 (reftex-format-bib-entry, reftex-parse-bibitem)
2873 (reftex-format-bibitem, reftex-do-citation)
2874 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2875 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2876 (reftex-insert-bib-matches, reftex-format-citation)
2877 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2878 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2879 existing comments into docstrings.
2881 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2883 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2885 2013-06-12 Andreas Schwab <schwab@suse.de>
2887 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2888 for auto-save files.
2890 2013-06-12 Glenn Morris <rgm@gnu.org>
2892 * ido.el (ido-delete-ignored-files): Remove.
2893 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2894 Go back to calling ido-ignore-item-p directly.
2896 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2898 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2900 * ido.el (ido-delete-ignored-files): New function,
2901 split from ido-make-file-list-1.
2902 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2903 (ido-make-file-list-1): Use ido-delete-ignored-files.
2905 2013-06-12 Leo Liu <sdl.web@gmail.com>
2907 * progmodes/octave.el (inferior-octave-startup)
2908 (inferior-octave-completion-table)
2909 (inferior-octave-track-window-width-change)
2910 (octave-eldoc-function-signatures, octave-help)
2911 (octave-find-definition): Use single quoted strings.
2912 (inferior-octave-startup-args): Change default value.
2913 (inferior-octave-startup): Do not hard code "-i" and
2914 "--no-line-editing".
2915 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2916 (inferior-octave-directory-tracker): Use it.
2917 (octave-goto-function-definition): Robustify.
2918 (octave-help): Support highlighting operators in 'See also'.
2919 (octave-find-definition): Find subfunctions only in Octave mode.
2921 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * help-fns.el (help-fns--compiler-macro): If the handler function is
2924 named, then put a link to it.
2925 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2926 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2928 (cl-eval-when): Simplify debug spec.
2929 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
2930 compiler-macro function instead of setting `compiler-macro-file'.
2932 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2934 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2935 * vc/vc-hooks.el (vc-stay-local): Doc fix.
2937 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2938 Daniel Hackney <dan@haxney.org>
2940 First part of Daniel Hackney's patch to package.el.
2941 * emacs-lisp/package.el: Use defstruct.
2942 (package-desc): New, main struct.
2943 (package--bi-desc, package--ac-desc): New structs, used to describe the
2944 format in external files.
2945 (package-desc-vers): Replace with package-desc-version accessor.
2946 (package-desc-doc): Replace with package-desc-summary accessor.
2947 (package-activate-1): Remove `package' arg since the pkg-vec now
2949 (define-package): Use package-desc-from-define.
2950 (package-unpack-single): Change file-name arg to be a symbol.
2951 (package--add-to-archive-contents): Use package-desc-create and new
2952 accessor functions to package--ac-desc.
2953 (package-buffer-info, package-tar-file-info): Return a package-desc.
2954 (package-install-from-buffer): Remove `type' argument. Change pkg-info
2955 arg to be a package-desc.
2956 (package-install-file): Adjust accordingly. Use \' to match EOS.
2957 (package--from-builtin): New function.
2958 (describe-package-1, package-menu--generate): Use it.
2959 (package--make-autoloads-and-compile): Change name arg to be a symbol.
2960 (package-generate-autoloads): Idem and return the name of the file.
2961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2962 Change pkg-info arg to be a package-desc.
2963 Use package-make-ac-desc.
2964 (package-upload-file): Use \' to match EOS.
2965 * finder.el (finder-compile-keywords): Use package-make-builtin.
2967 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * vc/vc.el (vc-deduce-fileset): Change error message.
2970 (vc-read-backend): New function.
2971 (vc-next-action): Use it.
2973 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2975 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2976 (prolog-font-lock-keywords): Use regexp-opt instead.
2977 Don't manually highlight strings.
2978 (prolog-mode-variables): Simplify comment-start-skip.
2979 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
2981 * emacs-lisp/generic.el (generic--normalise-comments)
2982 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2983 (generic-mode-set-comments): Use them.
2984 (generic-bracket-support): Use setq-local.
2985 (generic-make-keywords-list): Declare obsolete.
2987 2013-06-11 Glenn Morris <rgm@gnu.org>
2989 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2990 Prettify after setting font-lock-defaults. (Bug#14574)
2992 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
2994 * replace.el (query-replace, occur-read-regexp-defaults-function)
2996 * subr.el (declare-function, number-sequence, local-set-key)
2997 (substitute-key-definition, locate-user-emacs-file)
2998 (with-silent-modifications, split-string, eval-after-load):
2999 Fix typos, remove unneeded backslashes and reflow some docstrings.
3001 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3004 default for Elisp files.
3006 2013-06-11 Glenn Morris <rgm@gnu.org>
3008 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3009 although define-derived-mode was doing this anyway. (Bug#14583)
3011 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3013 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3014 Fix make-variable-buffer-local call to refer to the correct variable.
3016 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3018 * eshell/em-term.el (eshell-visual-commands)
3019 (eshell-visual-subcommands, eshell-visual-options):
3020 Add summary line to docstrings. Add cross-references.
3022 2013-06-10 Glenn Morris <rgm@gnu.org>
3024 * epa.el (epa-read-file-name): New function. (Bug#14510)
3025 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3027 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3029 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3030 output redirection to be ignored with visual commands.
3032 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3034 * eshell/em-term.el (eshell-visual-command-p): New function.
3035 (eshell-term-initialize): Move long lambda to separate function
3036 eshell-visual-command-p.
3037 * eshell/em-dirs.el (eshell-dirs-initialise):
3038 * eshell/em-script.el (eshell-script-initialize):
3039 Add missing #' to lambda.
3041 2013-06-08 Leo Liu <sdl.web@gmail.com>
3043 * progmodes/octave.el (octave-add-log-current-defun): New function.
3044 (octave-mode): Set add-log-current-defun-function.
3045 (octave-goto-function-definition): Do not move point if not found.
3046 (octave-find-definition): Enhance to try subfunctions first.
3048 2013-06-08 Glenn Morris <rgm@gnu.org>
3050 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3051 (byte-compile-backward-char, byte-compile-backward-word):
3052 Improve previous change, to handle non-explicit nil.
3054 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3056 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3057 (smie--opener/closer-at-point): New function.
3058 (smie--matching-block-data): Use it. Don't match from right after an
3059 opener or right before a closer. Obey smie-blink-matching-inners.
3060 Don't signal a mismatch for repeated inners like "switch..case..case".
3062 2013-06-07 Leo Liu <sdl.web@gmail.com>
3064 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3066 (octave-function-header-regexp): Fix. (Bug#14570)
3067 (octave-help-mode-finish-hook, octave-help-mode-finish):
3068 Remove. Just use temp-buffer-show-hook.
3070 * newcomment.el (comment-search-backward): Revert last change.
3073 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3075 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3077 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3078 through xargs, to avoid failure due to MS-Windows limitations on
3079 command-line length.
3081 2013-06-06 Glenn Morris <rgm@gnu.org>
3083 * font-lock.el (lisp-font-lock-keywords-2):
3084 Treat user-error like error.
3086 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3087 (byte-compile-backward-char, byte-compile-backward-word):
3088 Handle explicit nil arguments. (Bug#14565)
3090 2013-06-05 Alan Mackenzie <acm@muc.de>
3092 * isearch.el (isearch-allow-prefix): New user option.
3093 (isearch-other-meta-char): Don't exit isearch when a prefix
3094 argument is typed whilst `isearch-allow-prefix' is non-nil.
3097 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * autorevert.el (auto-revert-notify-handler): Use memq.
3100 Hide assertion failure.
3102 * skeleton.el: Use cl-lib.
3103 (skeleton-further-elements): Use defvar-local.
3104 (skeleton-insert): Use cl-progv.
3106 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3108 * progmodes/prog-mode.el (prog-prettify-symbols)
3109 (prog-prettify-install): Update docstrings.
3111 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * simple.el: Move all the prog-mode code to prog-mode.el.
3114 * progmodes/prog-mode.el: New file.
3115 * loadup.el: Add prog-mode.el.
3117 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3119 * simple.el (prog-prettify-symbols): Add version.
3120 (prog-prettify-install): Add convenience function to prettify symbols.
3122 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3123 (perl--augmented-font-lock-keywords-1)
3124 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3125 variables and use it.
3127 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3128 (cfengine3-mode): Remove unneeded variable and use it.
3130 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3131 (lisp--augmented-font-lock-keywords-1)
3132 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3133 Remove unneeded variables and use it.
3135 2013-06-05 João Távora <joaotavora@gmail.com>
3137 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3138 to point when opening the connection. (Bug#14380)
3140 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3142 * subr.el (load-history-regexp, load-history-filename-element)
3143 (eval-after-load, after-load-functions, do-after-load-evaluation)
3144 (eval-next-after-load, display-delayed-warnings)
3145 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3146 definition of save-match-data.
3147 (overriding-local-map): Remove accidental obsolescence declaration.
3149 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3151 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3153 Generalize symbol prettify support to prog-mode and implement it
3154 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3155 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3156 (prog--prettify-font-lock-compose-symbol)
3157 (prog-prettify-font-lock-symbols-keywords): New variables and
3158 functions to support symbol prettification.
3159 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3160 (lisp--augmented-font-lock-keywords-1)
3161 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3162 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3163 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3164 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3165 Implement prettify of -> => :: strings.
3166 * progmodes/perl-mode.el (perl-prettify-symbols)
3167 (perl--font-lock-compose-symbol)
3168 (perl--font-lock-symbols-keywords): Move to prog-mode.
3169 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3170 (perl-font-lock-keywords-1)
3171 (perl-font-lock-keywords-2): Remove explicit prettify support.
3172 (perl--augmented-font-lock-keywords)
3173 (perl--augmented-font-lock-keywords-1)
3174 (perl--augmented-font-lock-keywords-2, perl-mode):
3175 Implement prettify support.
3177 2013-06-05 Leo Liu <sdl.web@gmail.com>
3179 Re-implement smie matching block highlight using
3180 show-paren-data-function. (Bug#14395)
3181 * emacs-lisp/smie.el (smie-matching-block-highlight)
3182 (smie--highlight-matching-block-overlay)
3183 (smie--highlight-matching-block-lastpos)
3184 (smie-highlight-matching-block)
3185 (smie-highlight-matching-block-mode): Remove.
3186 (smie--matching-block-data-cache): New variable.
3187 (smie--matching-block-data): New function.
3188 (smie-setup): Use smie--matching-block-data for
3189 show-paren-data-function.
3191 * progmodes/octave.el (octave-mode-menu): Fix.
3192 (octave-find-definition): Skip garbage lines.
3194 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3196 Fix compilation error with simultaneous dynamic+lexical scoping.
3197 Add warning when a defvar appears after the first let-binding.
3198 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3199 (byte-compile-close-variables): Initialize it.
3200 (byte-compile--declare-var): New function.
3201 (byte-compile-file-form-defvar)
3202 (byte-compile-file-form-define-abbrev-table)
3203 (byte-compile-file-form-custom-declare-variable): Use it.
3204 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3205 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3206 (byte-compile-bind): Handle dynamic bindings that shadow
3208 (byte-compile-unbind): Make arg non-optional.
3209 (byte-compile-let): Simplify.
3210 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3211 (cconv--analyse-function, cconv-analyse-form): Populate it.
3212 Protect byte-compile-bound-variables to limit the scope of defvars.
3213 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3214 Remove unneeded rule for `declare'.
3216 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3217 so as to avoid depending on cl-adjoin at run-time.
3218 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3220 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3221 (macroexp--warn-and-return): Use it.
3223 2013-06-05 Leo Liu <sdl.web@gmail.com>
3225 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3227 2013-06-04 Leo Liu <sdl.web@gmail.com>
3229 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3230 (compilation-auto-jump): Suppress the "Mark set" message to give
3231 way to exit message.
3233 2013-06-04 Alan Mackenzie <acm@muc.de>
3235 Remove faulty optimisation from indentation calculation.
3236 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3237 search limit based on 2000 characters back from indent-point.
3239 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3241 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3243 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * emacs-lisp/lisp.el: Use lexical-binding.
3246 (lisp--local-variables-1, lisp--local-variables): New functions.
3247 (lisp--local-variables-completion-table): New var.
3248 (lisp-completion-at-point): Use it complete let-bound vars.
3250 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3251 eagerly (bug#14422).
3253 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3255 * autorevert.el (auto-revert-notify-enabled)
3256 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3257 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3258 (auto-revert-notify-handler): Handle also gfilenotify.
3260 * subr.el (file-notify-handle-event): New defun. Replacing ...
3261 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3264 2013-06-03 Juri Linkov <juri@jurta.org>
3266 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3267 `M-s h .'. (Bug#14427)
3269 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3270 command `hi-lock-face-symbol-at-point'.
3271 (hi-lock-face-symbol-at-point): New command.
3272 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3273 (hi-lock-menu): Add `highlight-symbol-at-point'.
3274 (hi-lock-mode): Doc fix.
3276 * isearch.el (isearch-forward-symbol-at-point): New command.
3277 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3278 (isearch-highlight-regexp): Add a regexp which matches
3279 words/symbols for word/symbol mode.
3281 * subr.el (find-tag-default-bounds): New function with the body
3282 mostly moved from `find-tag-default'.
3283 (find-tag-default): Move most code to `find-tag-default-bounds',
3284 call it and apply `buffer-substring-no-properties' afterwards.
3286 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3288 * eshell/em-term.el (eshell-term-initialize):
3289 Use `cl-intersection' rather than `intersection'.
3291 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3293 * vc/log-view.el: Doc fix.
3294 (log-view-mode-map): Copy keymap from `special-mode-map'.
3296 2013-06-02 Eric Ludlam <zappo@gnu.org>
3298 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3299 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3300 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3301 (eieio-unbound, eieio-default-superclass)
3302 (eieio--define-field-accessors, method-static, method-before)
3303 (method-primary, method-after, method-num-lists)
3304 (method-generic-before, method-generic-primary)
3305 (method-generic-after, method-num-slots)
3306 (eieio-specialized-key-to-generic-key)
3307 (eieio--check-type, class-v, class-p)
3308 (eieio-class-name, define-obsolete-function-alias)
3309 (eieio-class-parents-fast, eieio-class-children-fast)
3310 (same-class-fast-p, class-constructor, generic-p)
3311 (generic-primary-only-p, generic-primary-only-one-p)
3312 (class-option-assoc, class-option, eieio-object-p)
3313 (class-abstract-p, class-method-invocation-order)
3314 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3315 (eieio-class-un-autoload, eieio-defclass)
3316 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3317 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3318 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3319 (eieio-defgeneric-reset-generic-form)
3320 (eieio-defgeneric-form-primary-only)
3321 (eieio-defgeneric-reset-generic-form-primary-only)
3322 (eieio-defgeneric-form-primary-only-one)
3323 (eieio-defgeneric-reset-generic-form-primary-only-one)
3324 (eieio-unbind-method-implementations)
3325 (eieio--defmethod, eieio--typep)
3326 (eieio-perform-slot-validation, eieio-validate-slot-value)
3327 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3328 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3329 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3330 (eieio-slot-name-index, eieio-class-slot-name-index)
3331 (eieio-set-defaults, eieio-initarg-to-attribute)
3332 (eieio-attribute-to-initarg, eieio-c3-candidate)
3333 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3334 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3335 (eieio-class-precedence-list, eieio-generic-call-methodname)
3336 (eieio-generic-call-arglst, eieio-generic-call-key)
3337 (eieio-generic-call-next-method-list)
3338 (eieio-pre-method-execution-functions, eieio-generic-call)
3339 (eieio-generic-call-primary-only, eieiomt-method-list)
3340 (eieiomt-optimizing-obarray, eieiomt-install)
3341 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3342 (eieio-generic-form, eieio-defmethod, make-obsolete)
3343 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3344 (defclass): Remove `eval-and-compile' from macro.
3345 (call-next-method, shared-initialize): Instead of using
3346 `scoped-class' variable, use new eieio--scoped-class, and
3347 eieio--with-scoped-class.
3348 (initialize-instance): Rename local variable 'scoped-class' to
3349 'this-class' to remove ambiguitity from old global.
3351 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3353 (eieio--scoped-class-stack): New variable.
3354 (eieio--scoped-class): New fcn.
3355 (eieio--with-scoped-class): New scoping macro.
3356 (eieio-defclass): Use pushnew instead of add-to-list.
3357 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3358 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3359 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3360 `scoped-class' variable, use new eieio--scoped-class, and
3361 eieio--with-scoped-class.
3363 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3365 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3367 * eshell/esh-ext.el (eshell-external-command): Pass args to
3368 `eshell-find-interpreter'.
3369 (eshell-find-interpreter): Add new second parameter ARGS.
3371 * eshell/em-script.el (eshell-script-initialize): Add second arg
3372 to the function added as MATCH to `eshell-interpreter-alist'.
3374 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3375 the function added as MATCH to `eshell-interpreter-alist'.
3377 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3378 (eshell-visual-options): New defcustom.
3379 (eshell-escape-control-x): Adapt docstring.
3380 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3381 `eshell-visual-options' in addition to `eshell-visual-commands'.
3382 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3384 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
3386 * progmodes/python.el (python-indent-block-enders): Add break,
3387 continue and raise keywords.
3389 2013-06-01 Glenn Morris <rgm@gnu.org>
3391 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3393 Plain (f)boundp silences compilation warnings since Emacs 22.1.
3394 * progmodes/cc-cmds.el (delete-forward-p):
3395 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3396 * progmodes/cc-engine.el (buffer-syntactic-context):
3397 * progmodes/cc-fonts.el (face-property-instance):
3398 * progmodes/cc-mode.el (set-keymap-parents):
3399 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3400 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3401 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3402 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3403 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3405 * progmodes/cc-vars.el (other): Emacs has this widget since
3406 at least 21.1, so don't (re)define it.
3408 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3409 Replace the obsolete alias pcomplete-arg-quote-list.
3411 2013-06-01 Leo Liu <sdl.web@gmail.com>
3413 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3415 (inferior-octave-minimal-columns)
3416 (inferior-octave-last-column-width): New variables.
3417 (inferior-octave-track-window-width-change): New function.
3418 (inferior-octave-mode): Adjust column width so that Octave output,
3419 for example from 'ls', can fit into the window nicely.
3421 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3423 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3424 Highlight expansions inside regexp literals.
3426 2013-05-31 Glenn Morris <rgm@gnu.org>
3428 * obsolete/sym-comp.el (symbol-complete):
3429 Replace obsolete completion-annotate-function.
3431 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3433 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3435 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3436 New function, checks if point is inside a literal that allows
3437 expression expansion.
3438 (ruby-syntax-propertize-expansion): Use it.
3439 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3442 2013-05-30 Juri Linkov <juri@jurta.org>
3444 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3446 (isearch-invisible): New variable.
3447 (isearch-forward): Doc fix.
3448 (isearch-mode): Set `isearch-invisible'
3449 to the value of `search-invisible'.
3450 (isearch-toggle-case-fold): Doc fix.
3451 (isearch-toggle-invisible): New command.
3452 (isearch-query-replace): Let-bind `search-invisible'
3453 to the value of `isearch-invisible'.
3454 (isearch-search): Use `isearch-invisible' instead of
3455 `search-invisible'. Let-bind `search-invisible'
3456 to the value of `isearch-invisible'. (Bug#11378)
3458 2013-05-30 Juri Linkov <juri@jurta.org>
3460 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3461 call when `query-flag' is nil and `search-invisible' is non-nil.
3464 2013-05-30 Glenn Morris <rgm@gnu.org>
3466 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3468 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3469 (cc-require): Suppress spurious "noruntime" warnings.
3470 (cc-require-when-compile): Use fboundp, for sake of compiler.
3472 * progmodes/cc-mode.el: Move load of cc-vars before that of
3473 cc-langs (which in turn loads cc-vars), to quieten compiler.
3475 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * paren.el: Simplify the code.
3478 (show-paren-mode): Always start the timer.
3479 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3480 (show-paren--overlay, show-paren--overlay-1): Rename from
3481 show-paren-overlay and show-paren-overlay-1, and initialize to an
3482 overlay rather than to nil.
3483 (show-paren-function): Misc cleanup and simplifications.
3485 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * paren.el (show-paren-data-function): New hook.
3488 (show-paren--default): New function, extracted from show-paren-function.
3489 (show-paren-function): Use show-paren-data-function.
3491 2013-05-30 Glenn Morris <rgm@gnu.org>
3493 * ielm.el (ielm-map, ielm-complete-symbol):
3494 Use completion-at-point rather than obsolete functions.
3495 (inferior-emacs-lisp-mode): Doc fix.
3496 Set completion-at-point-functions, rather than
3497 comint-dynamic-complete-functions.
3499 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3500 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3501 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3503 * image.el (image-animated-p): Tweak definition.
3505 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3506 (rlogin-process-connection-type): Tweak default. Add set-after.
3507 (rlogin-host): Doc fix.
3508 (rlogin): Tweak prompt.
3509 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3511 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3512 * progmodes/tcl.el (inferior-tcl-mode-map):
3513 Use completion-at-point rather than obsolete alias.
3515 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3517 * minibuffer.el (read-file-name-completion-ignore-case):
3518 Move before completion--in-region, for eager macro expansion.
3520 2013-05-29 Juri Linkov <juri@jurta.org>
3522 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3523 for total count of matching lines. Add `global-matches' for total
3524 count of matches. Rename `matches' to `lines' for count of
3525 matching lines. Add `matches' for count of matches.
3526 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3527 to `prev-line' for line number of prev match endpt.
3528 Increment `matches' for every match. Print the number of
3529 matching lines in the header.
3530 (occur-context-lines): Rename `lines' to `curr-line'.
3531 Rename `prev-lines' to `prev-line'. (Bug#14017)
3533 2013-05-29 Juri Linkov <juri@jurta.org>
3535 * replace.el (perform-replace): Add `skip-read-only-count',
3536 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3537 Increment them for corresponding conditions and report the number
3538 of skipped occurrences in the final message. (Bug#11746)
3539 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3540 (replace-string, replace-regexp): Doc fix.
3542 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3546 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3547 prog-mode-map (bug#14504).
3549 2013-05-29 Leo Liu <sdl.web@gmail.com>
3551 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3552 (octave-help): Small simplification.
3554 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3555 off the highlight first.
3557 2013-05-29 Glenn Morris <rgm@gnu.org>
3559 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3560 Handle idlwave-last-system-routine-info-cons-cell being nil.
3562 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3563 (idlwave-write-paths): Simplify via with-temp-buffer.
3565 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3566 * emulation/cua-rect.el: Also load cua-base at run time.
3568 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3569 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3570 (cperl-imenu-on-info): Require imenu.
3572 2013-05-28 Alan Mackenzie <acm@muc.de>
3574 Handle "capitalised keywords" correctly.
3575 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3577 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3579 * eshell/em-unix.el: Add -r option to cp.
3581 2013-05-28 Glenn Morris <rgm@gnu.org>
3583 * vc/vc-arch.el (vc-exec-after): Declare.
3584 (vc-switches): Autoload.
3585 * vc/vc-bzr.el: No need to require vc when compiling.
3586 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3587 (vc-resynch-buffer, vc-dir-refresh): Declare.
3588 (vc-setup-buffer, vc-switches): Autoload.
3589 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3590 (vc-resynch-buffer): Declare.
3591 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3592 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3593 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3594 (grep-read-regexp, grep-read-files, grep-expand-template)
3595 (vc-dir-refresh): Declare.
3596 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3597 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3598 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3599 * vc/vc-mtn.el (vc-exec-after): Declare.
3600 (vc-switches): Autoload.
3601 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3602 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3603 (vc-file-tree-walk): Declare.
3604 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3605 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3606 (vc-tag-precondition, vc-rename-master): Autoload.
3607 * vc/vc-svn.el (vc-exec-after): Declare.
3608 (vc-switches, vc-setup-buffer): Autoload.
3609 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3611 (vc-resynch-buffer): Declare.
3613 * obsolete/fast-lock.el (byte-compile-warnings):
3614 Don't warn about obsolete features in this obsolete file.
3616 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3617 Move definition before use.
3619 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3620 (dun-unix-verbs): Remove dun-zippy.
3621 (dun-zippy): Remove function.
3623 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3625 2013-05-27 Juri Linkov <juri@jurta.org>
3627 * replace.el (replace-search): New function with code moved out
3628 from `perform-replace'.
3629 (replace-highlight, replace-dehighlight): Move function definitions
3630 up closer to `replace-search'. (Bug#11746)
3632 2013-05-27 Juri Linkov <juri@jurta.org>
3634 * replace.el (perform-replace): Ignore invisible matches.
3635 In addition to checking `query-replace-skip-read-only', also
3636 filter out matches by calling `run-hook-with-args-until-failure'
3637 on `isearch-filter-predicates', and also check `search-invisible'
3638 for t or call `isearch-range-invisible'.
3639 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3641 2013-05-27 Juri Linkov <juri@jurta.org>
3643 * isearch.el (isearch-filter-predicates): Rename from
3644 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3645 (isearch-message-prefix): Display text from the property
3646 `isearch-message-prefix' of the currently active filters.
3647 (isearch-search): Don't compare `isearch-filter-predicate' with
3648 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3649 on `isearch-filter-predicates'. Also check `search-invisible' for t
3650 or call `isearch-range-invisible'.
3651 (isearch-filter-visible): Make obsolete.
3652 (isearch-lazy-highlight-search):
3653 Call `run-hook-with-args-until-failure' on
3654 `isearch-filter-predicates' and use `isearch-range-invisible'.
3656 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3657 `isearch-filter-predicates' instead of `funcall'ing
3658 `isearch-filter-predicate'.
3659 (Info-mode): Set `Info-isearch-filter' to
3660 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3662 * dired-aux.el (dired-isearch-filter-predicate-orig):
3664 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3665 (dired-isearch-filenames-end): Add and remove
3666 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3667 instead of changing the value of `isearch-filter-predicate'.
3668 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3669 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3670 Put property `isearch-message-prefix' to "filename " on
3671 `dired-isearch-filter-filenames'.
3673 * wdired.el (wdired-change-to-wdired-mode):
3674 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3675 locally instead of changing `isearch-filter-predicate'.
3676 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3678 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3680 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3681 return the commit hash (Bug#14459). Also set the
3682 `vc-git-detached' property.
3683 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3684 (vc-git-mode-line-string): Use the same help-echo format whether
3685 in detached mode or not, because we know the actual revision now.
3686 When in detached mode, shorten the revision to 7 chars.
3688 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * emacs-lisp/easy-mmode.el (define-minor-mode):
3691 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3692 mode hook and provide a docstring.
3694 2013-05-27 Alan Mackenzie <acm@muc.de>
3696 Remove spurious syntax-table text properties inserted by C-y.
3697 * progmodes/cc-mode.el (c-after-change): Also clear hard
3698 syntax-table property with value nil.
3700 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
3702 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3703 when reading the events; the buffer layout shall not be changed.
3705 2013-05-27 Leo Liu <sdl.web@gmail.com>
3707 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3709 (inferior-octave-directory-tracker): Automatically re-sync
3711 (octave-help): Improve handling of 'See also'.
3713 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3715 * doc-view.el: Minor naming convention tweaks.
3716 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3718 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3719 even if there's no `display' property yet (bug#14435).
3721 2013-05-25 Eli Zaretskii <eliz@gnu.org>
3723 * subr.el (unmsys--file-name): Rename from reveal-filename.
3725 * Makefile.in (custom-deps, finder-data, autoloads)
3726 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3727 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3728 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3730 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3733 error-completion on the first 2 args of condition-case (bug#14446).
3736 2013-05-25 Leo Liu <sdl.web@gmail.com>
3738 * comint.el (comint-previous-matching-input): Do not flood the
3739 *Messages* buffer with trivial messages.
3741 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * progmodes/flymake.el (flymake-nop): Don't return a string.
3744 (flymake-set-at): Fix typo.
3746 * simple.el (read--expression): New function, extracted from
3747 eval-expression. Set completion-at-point-functions (bug#14465).
3748 (eval-expression, eval-minibuffer): Use it.
3750 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3752 * progmodes/flymake.el (flymake-save-buffer-in-file)
3753 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3754 (flymake-selected-frame, flymake-log, flymake-ins-after)
3755 (flymake-set-at, flymake-get-buildfile-from-cache)
3756 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3757 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3758 Refine the doc string.
3759 (flymake-get-file-name-mode-and-masks): Reformat.
3760 (flymake-get-real-file-name-function): Fix a minor bug.
3762 2013-05-24 Juri Linkov <juri@jurta.org>
3764 * progmodes/grep.el (grep-mode-font-lock-keywords):
3765 Support =linenumber= format used by git-grep for lines with
3766 function names. (Bug#13549)
3768 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3771 0 after a semi-colon; it works better for smie-auto-fill.
3772 (octave--indent-new-comment-line): New function.
3773 (octave-indent-new-comment-line): Use it (indirectly).
3774 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3775 modify comment-line-break-function.
3777 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3778 (smie-setup): Use add-function to set it.
3780 2013-05-24 Sam Steingold <sds@gnu.org>
3782 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3783 argument (before the `interactive' argument).
3785 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * image-mode.el (image-mode-winprops): Add winprops to
3788 image-mode-winprops-alist before running
3789 image-mode-new-window-functions.
3790 * doc-view.el (doc-view-new-window-function): Don't delay
3791 doc-view-goto-page via timers (bug#14435).
3793 2013-05-24 Tassilo Horn <tsdh@gnu.org>
3795 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3796 (doc-view-desktop-save-buffer): New function.
3797 (doc-view-restore-desktop-buffer): New function.
3798 (desktop-buffer-mode-handlers):
3799 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3801 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3802 `desktop-save-buffer' function.
3804 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
3806 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3807 (tramp-gvfs-file-name-handler): Raise a user error when
3808 `tramp-gvfs-enabled' is nil.
3809 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3810 Do not raise a user error when loading package. (Bug#14447)
3812 * net/xesam.el: Move to obsolete/.
3814 2013-05-24 Glenn Morris <rgm@gnu.org>
3816 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3818 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3820 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3821 (Info-find-node, Man-getpage-in-background): Declare.
3823 * mail/unrmail.el (unrmail):
3824 Replace obsolete detect-coding-with-priority.
3826 * net/socks.el (socks-split-string): Use this rather than split-string.
3827 (socks-nslookup-host): Update for above change.
3828 (dynamic-choice, s5-dynamic-choice-match)
3829 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3830 Comment out unused code.
3832 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3833 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3834 (gud-tooltip-echo-area): Make obsolete.
3835 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3837 * progmodes/js.el (js--optimize-arglist): Declare.
3839 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3841 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3842 (ediff-window-C): Declare.
3844 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3845 Tweak requires to silence compiler.
3847 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3848 (he-search-string, he-tried-table, he-expand-list)
3849 (he-init-string, he-string-member, he-substitute-string)
3850 (he-reset-string): Declare.
3852 * obsolete/options.el (list-options): Use custom-variable-p,
3853 rather than obsolete alias.
3855 2013-05-23 Sam Steingold <sds@gnu.org>
3857 * simple.el (shell-command-on-region): Pass the `replace' argument
3858 down to `call-process-region' to comply with the doc as reported on
3859 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3861 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * emacs-lisp/smie.el (smie-indent-forward-token)
3864 (smie-indent-backward-token): Handle string tokens (bug#14381).
3866 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3868 * ielm.el (ielm-menu): New menu.
3869 (inferior-emacs-lisp-mode): Set comment-start.
3871 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3873 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3874 Fix deactivate action.
3876 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3877 Add cleveref macros.
3879 * lisp/textmodes/reftex-parse.el
3880 (reftex-locate-bibliography-files): Accept options for
3881 bibliography commands.
3882 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3883 Add addbibresource. Basic Biblatex support.
3885 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
3887 * net/tramp-gvfs.el (top):
3888 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3889 when loading package. (Bug#14447)
3891 2013-05-23 Glenn Morris <rgm@gnu.org>
3893 * progmodes/js.el: No need to load comint when compiling.
3894 (ring-insert, comint-send-string, comint-send-input)
3895 (comint-last-input-end, ido-chop): Declare.
3897 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3898 * vc/ediff-mult.el: Adjust requires.
3899 (ediff-directories-internal, ediff-directory-revisions-internal)
3900 (ediff-patch-file-internal): Declare.
3901 * vc/ediff-ptch.el: Adjust requires.
3902 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3903 (ediff-find-file): Autoload.
3904 * vc/ediff-util.el: No need to load ediff when compiling.
3905 (ediff-regions-internal): Declare.
3906 * vc/ediff-wind.el: Adjust requires.
3907 (ediff-compute-toolbar-width): Define when compiling.
3908 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3909 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3910 (dired-get-filename, dired-get-marked-files)
3911 (ediff-last-dir-patch, ediff-patch-default-directory)
3912 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3913 (ediff-patch-buffer-internal): Declare.
3915 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3916 (ispell-process, ispell-buffer-local-words, lm-summary)
3917 (lm-section-start, lm-section-end): Declare.
3918 (checkdoc-ispell-init): Simplify.
3920 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3921 (he-string-member, he-reset-string, he-substitute-string): Declare.
3923 * eshell/em-ls.el: Adjust requires.
3924 (eshell-glob-regexp): Declare.
3925 * eshell/em-tramp.el: Adjust requires.
3926 (eshell-parse-command): Autoload.
3927 * eshell/em-xtra.el: Adjust requires.
3928 (eshell-parse-command): Autoload.
3929 * eshell/esh-ext.el: Adjust requires.
3930 (eshell-parse-command, eshell-close-handles): Autoload.
3931 * eshell/esh-io.el: Adjust requires.
3932 (eshell-output-filter): Autoload.
3933 * eshell/esh-util.el: No need to load tramp when compiling.
3934 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3936 (eshell-parse-ange-ls): Require ange-ftp and tramp.
3937 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3938 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3939 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3940 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3941 * eshell/esh-opt.el, eshell/esh-proc.el:
3942 * eshell/esh-var.el: Adjust requires.
3943 * eshell/eshell.el: Do not require esh-util twice.
3944 (eshell-add-input-to-history): Declare.
3945 (eshell-command): Check history module is active before using it.
3947 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3949 2013-05-22 Leo Liu <sdl.web@gmail.com>
3951 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3953 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
3955 * autorevert.el (auto-revert-notify-add-watch)
3956 (auto-revert-notify-handler): Add `attrib' for the inotify case,
3957 it indicates changes in file modification time.
3959 2013-05-22 Glenn Morris <rgm@gnu.org>
3961 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3962 Always delete the autoloaded function from the noruntime and
3963 unresolved functions lists.
3965 * allout.el: No need to load epa, epg, overlay when compiling.
3966 (epg-context-set-passphrase-callback, epg-list-keys)
3967 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3968 (epg-key-user-id-list): Declare.
3970 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3971 (viper-set-parsing-style-toggling-macro)
3972 (viper-set-emacs-state-searchstyle-macros):
3973 Use called-interactively-p on Emacs.
3974 (viper-looking-back): Make it an obsolete alias. Update callers.
3975 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3976 Use looking-back rather than viper-looking-back.
3977 (viper-tmp-insert-at-eob, viper-enlarge-region)
3978 (viper-read-string-with-history, viper-register-to-point)
3979 (viper-append-to-register, viper-change-state-to-vi)
3980 (viper-backward-char-carefully, viper-forward-char-carefully)
3981 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3982 (viper-change-state-to-emacs): Declare.
3983 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3984 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3985 * emulation/viper-mous.el: Do not load viper-cmd.
3986 (viper-backward-char-carefully, viper-forward-char-carefully)
3987 (viper-forward-word, viper-adjust-window): Declare.
3989 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3991 * progmodes/idlw-help.el (idlwave-help-fontify):
3992 Use called-interactively-p.
3994 * term/w32console.el (w32-get-console-codepage)
3995 (w32-get-console-output-codepage): Declare.
3997 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3998 Remove unnecessary declarations.
3999 (dframe-message): Doc fix.
4001 * info.el (dframe-select-attached-frame, dframe-current-frame):
4004 * speedbar.el (speedbar-message): Make it an obsolete alias.
4006 (speedbar-with-attached-buffer)
4007 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4008 (speedbar-with-writable): Use backquote.
4009 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4010 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4011 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4012 rather than speedbar- aliases.
4013 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4014 (speedbar-make-specialized-keymap, speedbar-insert-button)
4015 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4016 (speedbar-do-function-pointer): Declare.
4017 (rmail-speedbar-button, rmail-speedbar-find-file)
4018 (rmail-speedbar-move-message):
4019 Use dframe-with-attached-buffer rather than speedbar- alias.
4020 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4021 (dframe-message, speedbar-make-specialized-keymap)
4022 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4023 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4024 (speedbar-insert-button, dframe-select-attached-frame)
4025 (dframe-maybee-jump-to-attached-frame)
4026 (speedbar-change-initial-expansion-list)
4027 (speedbar-previously-used-expansion-list-name): Declare.
4028 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4029 Use dframe-message, dframe-with-attached-buffer rather than
4031 (gud-sentinel): Silence compiler.
4032 * progmodes/vhdl-mode.el (speedbar-refresh)
4033 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4034 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4035 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4036 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4037 (speedbar-file-lists, speedbar-make-tag-line)
4038 (speedbar-line-directory, speedbar-goto-this-file)
4039 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4040 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4041 (speedbar-make-button, speedbar-reset-scanners)
4042 (speedbar-files-item-info, speedbar-line-text)
4043 (speedbar-find-file-in-frame, speedbar-set-timer)
4044 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4045 (speedbar-with-writable): Do not (re)define it.
4046 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4047 rather than speedbar- alias.
4049 2013-05-21 Leo Liu <sdl.web@gmail.com>
4051 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4053 (octave-mode): Tweak fill-nobreak-predicate.
4054 (inferior-octave-startup): Check process to avoid infinite loop.
4055 (inferior-octave): Pop to buffer first to show abornmal process
4058 2013-05-21 Glenn Morris <rgm@gnu.org>
4060 * printing.el (pr-menu-bar): Define when compiling.
4062 2013-05-21 Leo Liu <sdl.web@gmail.com>
4064 * progmodes/octave.el (octave-auto-fill): Remove.
4065 (octave-indent-new-comment-line): Improve.
4066 (octave-mode): Use auto fill mode through
4067 comment-line-break-function and fill-nobreak-predicate.
4068 (octave-goto-function-definition): Support DEFUN_DLD.
4069 (octave-beginning-of-defun): Small tweak.
4070 (octave-help): Show parent directory.
4072 2013-05-21 Glenn Morris <rgm@gnu.org>
4074 * files.el (dired-unmark):
4075 * progmodes/gud.el (gdb-input): Update declarations.
4077 * calculator.el (electric, ehelp): No need to load when compiling.
4078 (Electric-command-loop, electric-describe-mode): Declare.
4080 * doc-view.el (doc-view-current-converter-processes): Move before use.
4082 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4083 Move MODE-set-explicitly definition before use.
4085 * international/mule-diag.el (mule-diag):
4086 Don't use obsolete window-system-version.
4088 * mail/feedmail.el (smtpmail): No need to load when compiling.
4089 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4091 * mail/mail-utils.el (rfc822): No need to load when compiling.
4092 (rfc822-addresses): Autoload it.
4093 (mail-strip-quoted-names): Trivial simplification.
4095 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4096 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4098 * net/snmp-mode.el (tempo): Don't duplicate requires.
4100 * progmodes/prolog.el (info): No need to load when compiling.
4101 (comint): Require before shell requires it.
4102 (Info-goto-node): Autoload it.
4103 (Info-follow-nearest-node): Declare.
4104 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4106 * textmodes/artist.el (picture-mode-exit): Declare.
4108 * textmodes/reftex-parse.el (reftex-parse-from-file):
4109 Trivial rewrite so the compiler can parse it better.
4111 2013-05-20 Leo Liu <sdl.web@gmail.com>
4113 * progmodes/octave.el (octave-help-mode-map)
4114 (octave-help-mode-finish-hook): New variables.
4115 (octave-help-mode, octave-help-mode-finish): New functions.
4116 (octave-help): Use octave-help-mode.
4118 2013-05-20 Glenn Morris <rgm@gnu.org>
4120 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4122 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4124 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4125 start at point, so that expansion starting right after opening
4126 slash in a regexp is recognized.
4127 (ruby-syntax-before-regexp-re): New defvar, extracted from
4128 ruby-syntax-propertize-function. Since the value of this regexp
4129 is looked up at runtime now, we should be able to turn
4130 `ruby-syntax-methods-before-regexp' into a defcustom later.
4131 (ruby-syntax-propertize-function): Split regexp matching into two
4132 parts, for opening and closing slashes. That allows us to skip
4133 over string interpolations and support multiline regexps.
4134 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4135 for them, which calls `ruby-syntax-propertize-expansion'.
4136 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4137 call to `ruby-syntax-propertize-function'.
4138 (ruby-syntax-propertize-expansion): Extracted from
4139 `ruby-syntax-propertize-expansions'. Handles one expansion.
4140 (ruby-syntax-propertize-percent-literal): Leave point right after
4141 the percent symbol, so that the expression expansion rule can
4142 propertize the contents.
4143 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4145 (ruby-syntax-propertize-expansions): Remove.
4147 2013-05-18 Juri Linkov <juri@jurta.org>
4149 * man.el (Man-default-man-entry): Remove `-' from the end
4150 of the default value. (Bug#14400)
4152 2013-05-18 Glenn Morris <rgm@gnu.org>
4154 * comint.el (comint-password-prompt-regexp):
4155 Allow "password for XXX" where XXX contains colons (eg https://...).
4157 2013-05-18 Leo Liu <sdl.web@gmail.com>
4159 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4160 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4161 (octave-source-directories): Don't check process.
4162 (octave-source-directories, octave-find-definition): Doc fix.
4164 2013-05-18 Glenn Morris <rgm@gnu.org>
4166 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4167 Remove backspace/delete bindings. (Bug#14392)
4169 * cus-dep.el (custom-make-dependencies): Sort the output.
4170 (custom-versions-load-alist): Convert comment to doc.
4172 2013-05-17 Leo Liu <sdl.web@gmail.com>
4174 * newcomment.el (comment-search-backward): Stricter in finding
4175 comment start. (Bug#14303)
4177 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4178 (octave-comment-start-skip): Properly anchored.
4180 2013-05-17 Leo Liu <sdl.web@gmail.com>
4182 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4183 Clean up when turned off. (Bug#14395)
4184 (smie--highlight-matching-block-overlay): No longer buffer-local.
4185 (smie-highlight-matching-block): Adjust.
4187 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4189 Doc string fix for "nanoseconds" (Bug#14406).
4190 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4191 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4193 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4195 * calc/calc-units.el (math-extract-units): Preserve powers
4198 2013-05-17 Leo Liu <sdl.web@gmail.com>
4200 * subr.el (delete-consecutive-dups): New function.
4201 * ido.el (ido-set-matches-1): Use it.
4202 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4203 * ido.el (ido-remove-consecutive-dups): Remove.
4205 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4207 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4208 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4209 regexp-opt's `words'.
4211 2013-05-16 Leo Liu <sdl.web@gmail.com>
4213 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4214 (smie--highlight-matching-block-overlay)
4215 (smie--highlight-matching-block-lastpos)
4216 (smie--highlight-matching-block-timer): New variables.
4217 (smie-highlight-matching-block): New function.
4218 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4219 (smie-setup): Conditionally enable smie-blink-matching-open.
4221 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4223 Sync with upstream verilog-mode r840.
4224 * progmodes/verilog-mode.el (verilog-mode-version)
4225 (verilog-mode-release-date): Update.
4226 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4227 (verilog-sig-tieoff): Fix string error on
4228 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4229 (verilog-read-decls): Fix parameters confusing
4230 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4232 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4234 * subr.el (reveal-filename): New function.
4236 * loadup.el: Compute Emacs executable versions on MS-Windows,
4237 where executables have the .exe extension. Add a hard link
4238 emacs-XX.YY.ZZ.exe on MS-Windows.
4240 * Makefile.in (XARGS_LIMIT): New variable.
4241 (custom-deps, finder-data, autoloads)
4242 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4243 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4244 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4245 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4247 2013-05-16 Leo Liu <sdl.web@gmail.com>
4249 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4250 (octave-mode-menu, octave-mode-map): Remove its uses.
4252 2013-05-16 Reto Zimmermann <reto@gnu.org>
4254 Sync with upstream vhdl mode v3.34.2.
4255 * progmodes/vhdl-mode.el: Use `push' throughout.
4256 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4257 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4258 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4259 (vhdl-actual-generic-name): New option to derive actual generic name.
4260 (vhdl-port-paste-signals): Replace formal by actual generics.
4261 (vhdl-beautify): New name for old group vhdl-align. Update users.
4262 (vhdl-beautify-options): New option.
4263 (vhdl-last-input-event): New compat alias. Use throughout.
4264 (vhdl-goto-line): Replace user level function `goto-line'.
4265 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4266 vhdl-fix-statement-buffer.
4267 (vhdl-create-mode-menu): Add some entries.
4268 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4269 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4270 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4271 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4272 to force statements on one line.
4273 (vhdl-remove-trailing-spaces-region):
4274 New, split from vhdl-remove-trailing-spaces.
4275 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4276 Respect vhdl-beautify-options.
4277 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4278 (vhdl-update-sensitivity-list): Not add with index if exists without.
4279 Not include array index with signal. Ignore keywords in comments.
4280 (vhdl-get-visible-signals): Regexp tweaks.
4281 (vhdl-template-component-inst): Handle empty library.
4282 (vhdl-template-type): Add template for 'enum' type.
4283 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4284 Use vhdl-replace-string.
4285 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4286 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4287 (vhdl-speedbar-initialize): Update for above name change.
4288 (vhdl-compose-wire-components): Fix in handling of constants.
4289 (vhdl-error-regexp-emacs-alist): New variable.
4290 (vhdl-error-regexp-add-emacs): New function;
4291 adds support for new compile.el (Emacs 22+)
4292 (vhdl-generate-makefile-1): Change target order for single lib. units.
4293 Allow use of absolute file names.
4295 2013-05-16 Leo Liu <sdl.web@gmail.com>
4297 * simple.el (prog-indent-sexp): Indent enclosing defun.
4299 2013-05-15 Glenn Morris <rgm@gnu.org>
4301 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4302 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4303 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4304 (whitespace-highlight): Move to whitespace group.
4306 * comint.el (comint-source):
4307 * pcmpl-linux.el (pcmpl-linux):
4308 * shell.el (shell-faces):
4309 * eshell/esh-opt.el (eshell-opt):
4310 * international/ccl.el (ccl): Remove empty custom groups.
4312 * completion.el (dynamic-completion-mode):
4313 * jit-lock.el (jit-lock-debug-mode):
4314 * minibuffer.el (completion-in-region-mode):
4315 * type-break.el (type-break-mode-line-message-mode)
4316 (type-break-query-mode):
4317 * emulation/tpu-edt.el (tpu-edt-mode):
4318 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4319 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4320 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4322 * term/xterm.el (xterm): Change parent group to terminals.
4324 * master.el (master): Remove empty custom group.
4325 (master-mode): Remove unused :group argument.
4326 * textmodes/refill.el (refill): Remove empty custom group.
4327 (refill-mode): Remove unused :group argument.
4329 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4331 * cus-dep.el: Provide a feature.
4332 (custom-make-dependencies): Ignore dotfiles (dir-locals).
4333 Don't mistakenly ignore files whose basenames match a basename
4334 from preloaded-file-list (eg cedet/ede/simple.el).
4335 Add a fallback method for getting :group.
4337 2013-05-15 Juri Linkov <juri@jurta.org>
4339 * isearch.el (isearch-char-by-name): Rename from
4340 `isearch-insert-char-by-name'. Doc fix.
4341 (isearch-forward): Mention `isearch-char-by-name' in
4342 the docstring. (Bug#13348)
4344 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4345 `exit-minibuffer' instead of
4346 `isearch-nonincremental-exit-minibuffer'.
4347 (isearch-edit-string): Remove mention of
4348 `isearch-nonincremental-exit-minibuffer' from docstring.
4349 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4350 (isearch-forward-exit-minibuffer)
4351 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4353 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * loadup.el: Just use unversioned DOC.
4357 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4358 literals as extending to EOB.
4359 (nxml-last-fontify-end): Remove unused variable.
4360 (nxml-after-change1): Use with-silent-modifications.
4361 (nxml-extend-after-change-region): Simplify.
4362 (nxml-extend-after-change-region1): Remove function.
4363 (nxml-after-change1): Don't adjust for dependent regions.
4364 (nxml-fontify-matcher): Simplify.
4365 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4366 (xmltok-add-dependent): Remove function.
4367 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4368 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4369 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4370 unclosed <[[, <?, comment, and other literals as extending to EOB.
4371 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4372 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4374 (rng-do-some-validation-1): Don't mark dependent regions.
4375 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4376 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4377 (nxml-clear-dependent-regions): Remove functions.
4378 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4379 (nxml-ensure-scan-up-to-date):
4380 Don't clear&mark dependent regions.
4382 2013-05-15 Leo Liu <sdl.web@gmail.com>
4384 * progmodes/octave.el (octave-goto-function-definition):
4385 Improve and fix callers.
4387 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4390 the setter (bug#14387).
4392 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4393 surrounding group (bug#14402).
4395 2013-05-14 Juri Linkov <juri@jurta.org>
4397 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4400 2013-05-14 Glenn Morris <rgm@gnu.org>
4402 * progmodes/f90.el (f90-imenu-generic-expression):
4403 Fix typo in 2013-05-08 change. (Bug#14402)
4405 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4407 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4408 Remove signals for which replies are never received.
4410 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4412 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4413 (gdb-handler-alist, gdb-handler-number): Remove variables.
4414 (gdb-handler-list): New variable.
4415 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4416 (gdb-pending-handler-p, gdb-handle-reply)
4417 (gdb-remove-all-pending-triggers): New functions.
4418 (gdb-discard-unordered-replies): New defcustom.
4419 (gdb-handler): New defstruct.
4420 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4421 instead of gdb-pending-triggers. Update docstring.
4422 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4423 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4424 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4425 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4426 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4427 (gdb-frame-handler): Pending triggers are now automatically managed.
4428 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4430 (gdb-input): Automatically handles pending triggers. Update docstring.
4431 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4432 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4434 (gdb-done-or-error): Now use gdb-handle-reply.
4436 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4438 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4441 2013-05-14 Glenn Morris <rgm@gnu.org>
4443 * subr.el (user-emacs-directory-warning): New option.
4444 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4446 2013-05-14 Leo Liu <sdl.web@gmail.com>
4448 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4450 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4451 (octave-font-lock-texinfo-comment): Fix invalid search bound
4452 error: wrong side of point.
4454 2013-05-14 Glenn Morris <rgm@gnu.org>
4456 * progmodes/flymake.el (flymake-xml-program): New option.
4457 (flymake-xml-init): Use it.
4459 * term/xterm.el: Provide a feature.
4461 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4463 2013-05-13 Glenn Morris <rgm@gnu.org>
4465 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4466 Add compat aliases as a hack workaround. (Bug#14384)
4468 2013-05-13 Leo Liu <sdl.web@gmail.com>
4470 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4472 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4474 (octave-comment-start-skip): Include %!.
4475 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4477 2013-05-12 Leo Liu <sdl.web@gmail.com>
4479 * progmodes/octave.el (inferior-octave-startup): Store the value
4480 of __octave_srcdir__ for octave-source-directories.
4481 (inferior-octave-check-process): New function refactored out of
4482 inferior-octave-send-list-and-digest.
4483 (octave-source-directories)
4484 (octave-find-definition-filename-function): New variables.
4485 (octave-source-directories)
4486 (octave-find-definition-default-filename): New functions.
4487 (octave-find-definition): Improve to find functions implemented in C++.
4489 2013-05-12 Glenn Morris <rgm@gnu.org>
4491 * calendar/diary-lib.el (diary-outlook-format-1):
4492 Don't include dayname in the output. (Bug#14349)
4494 2013-05-11 Glenn Morris <rgm@gnu.org>
4496 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4498 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4499 Treat cc-provide like provide.
4501 2013-05-11 Kevin Ryde <user42@zip.com.au>
4503 * cus-dep.el (custom-make-dependencies):
4504 Use generated-autoload-load-name for the sake of files such
4505 such cedet/semantic/bovine/c.el, where the base file name
4506 is not in load-path. (Bug#5277)
4508 2013-05-11 Glenn Morris <rgm@gnu.org>
4510 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4513 2013-05-11 Leo Liu <sdl.web@gmail.com>
4515 * progmodes/octave.el (octave-indent-comment): Improve.
4516 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4517 (octave-eldoc-function-signatures, octave-eldoc-function):
4519 (octave-mode, inferior-octave-mode): Add eldoc support.
4521 2013-05-11 Richard Stallman <rms@gnu.org>
4523 * epa.el (epa-decrypt-file): Take output file name as argument
4524 and read it using `interactive'.
4526 2013-05-11 Leo Liu <sdl.web@gmail.com>
4528 * progmodes/octave.el (octave-beginning-of-line)
4529 (octave-end-of-line): Check before using up-list because it jumps
4530 out of more syntactic contructs since moving to smie.
4531 (octave-indent-comment): New function.
4532 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4533 (octave-begin-keywords, octave-end-keywords)
4534 (octave-reserved-words, octave-smie-bnf-table)
4535 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4537 2013-05-11 Glenn Morris <rgm@gnu.org>
4539 * faces.el (internal-face-x-get-resource):
4540 * frame.el (ns-display-monitor-attributes-list):
4541 * calc/calc-aent.el (math-to-radians-2):
4542 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4545 * calc/calc-menu.el: Make it loadable in isolation.
4547 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4548 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4549 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4550 (eudc-bbdb-query-internal): Require 'bbdb.
4552 * lpr.el (lpr-headers-switches):
4553 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4555 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4557 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4559 * term.el (term-set-escape-char): Make it idempotent.
4561 2013-05-10 Leo Liu <sdl.web@gmail.com>
4563 * progmodes/octave.el (inferior-octave-completion-table):
4564 No longer a function and all uses changed. Use cache to speed up
4565 completion due to bug#11906.
4566 (octave-beginning-of-defun): Re-write to be more general.
4568 2013-05-10 Glenn Morris <rgm@gnu.org>
4570 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4572 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * comint.el (comint-redirect-send-command-to-process): Use :around
4575 rather than :override for comint-redirect-filter.
4576 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4577 Call it instead of comint-redirect-original-filter-function (which
4578 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4580 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4582 * frame.el (display-monitor-attributes-list): Add NS case.
4583 (ns-display-monitor-attributes-list): Declare.
4585 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
4587 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4589 2013-05-09 Glenn Morris <rgm@gnu.org>
4591 * international/fontset.el (vertical-centering-font-regexp):
4594 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4596 * bookmark.el (bookmark-search-delay):
4597 * cus-start.el (vertical-centering-font-regexp):
4598 * ps-mule.el (ps-mule-font-info-database-default):
4599 * ps-print.el (ps-default-fg, ps-default-bg):
4600 * type-break.el (type-break-good-break-interval):
4601 * whitespace.el (whitespace-indentation-regexp)
4602 (whitespace-space-after-tab-regexp):
4603 * emacs-lisp/testcover.el (testcover-1value-functions)
4604 (testcover-noreturn-functions, testcover-progn-functions)
4605 (testcover-prog1-functions):
4606 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4607 * eshell/em-glob.el (eshell-glob-translate-alist):
4608 * play/tetris.el (tetris-tty-colors):
4609 * progmodes/cpp.el (cpp-face-default-list):
4610 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4611 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4612 (idlwave-help-browser-generic-args):
4613 * progmodes/make-mode.el (makefile-special-targets-list):
4614 * progmodes/python.el (python-shell-virtualenv-path):
4615 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4616 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4617 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4618 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4619 * textmodes/reftex-vars.el (reftex-format-label-function):
4620 * textmodes/remember.el (remember-diary-file): Fix custom types.
4622 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4625 2013-05-09 Leo Liu <sdl.web@gmail.com>
4627 * progmodes/octave.el (inferior-octave-completion-at-point):
4628 Restore file completion. (Bug#14300)
4629 (inferior-octave-startup): Fix incorrect highlighting for the
4632 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * progmodes/ruby-mode.el: First cut at SMIE support.
4635 (ruby-use-smie): New var.
4636 (ruby-smie-grammar): New constant.
4637 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4638 (ruby-smie--forward-token, ruby-smie--backward-token)
4639 (ruby-smie-rules): New functions.
4640 (ruby-mode-variables): Setup SMIE if applicable.
4642 2013-05-08 Eli Zaretskii <eliz@gnu.org>
4644 * simple.el (line-move-visual): Signal beginning/end of buffer
4645 only if vertical-motion moved less than it was requested. Avoids
4646 silly incorrect error messages when there are display strings with
4647 multiple newlines at EOL.
4649 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4652 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4653 (prolog-char-quote-workaround):
4654 * progmodes/cperl-mode.el (cperl-under-as-char):
4655 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4657 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4659 (vhdl-mode-syntax-table-init): Remove.
4661 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4664 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4666 (ld-script-font-lock-keywords):
4667 Change regexps to use things like \_< and \_>.
4669 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4670 Change all regexps to use things like \_< and \_>.
4672 * progmodes/autoconf.el (autoconf-definition-regexp)
4673 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4674 Handle a _ with symbol syntax.
4675 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4677 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4678 Consolidate declaration.
4679 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4681 (ada-create-syntax-table): Remove.
4682 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4683 already has the right syntax nowadays.
4684 (ada-goto-next-word): Don't change the syntax of "_".
4686 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4689 2013-05-08 Sam Steingold <sds@gnu.org>
4691 * thingatpt.el (thing-at-point): Accept optional second argument
4692 NO-PROPERTIES to strip the text properties from the return value.
4693 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4694 to `thing-at-point' instead of stripping the properties ourselves.
4695 Also, when `thing-at-point' fails to find a url, prepend "http://"
4696 to the filename at point on the assumption that the user is
4697 pointing at something like gnu.org/gnu.
4699 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
4701 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4702 * faces.el (crm-separator):
4703 Silence byte-compiler.
4705 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4706 (tool-bar-map): Remove unneeded defvars.
4708 2013-05-08 Leo Liu <sdl.web@gmail.com>
4710 Re-work a fix for bug#10994 based on Le Wang's patch.
4711 * ido.el (ido-remove-consecutive-dups): New helper.
4712 (ido-completing-read): Use it.
4713 (ido-chop): Revert fix for bug#10994.
4715 2013-05-08 Adam Spiers <emacs@adamspiers.org>
4717 * cus-edit.el (custom-save-variables):
4718 Pretty-print long values. (Bug#14187)
4720 2013-05-08 Glenn Morris <rgm@gnu.org>
4722 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4723 (m4-mode-syntax-table): Init in the defvar.
4724 (m4-mode-abbrev-table): Let define-derived-mode define it.
4726 2013-05-08 Tom Tromey <tromey@redhat.com>
4728 * progmodes/m4-mode.el (m4-mode-syntax-table):
4729 Do not treat "_" as word constituent. (Bug#14167)
4731 2013-05-07 Glenn Morris <rgm@gnu.org>
4733 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4734 Remove explicit eshell-isearch-cancel-map.
4736 * progmodes/f90.el (f90-smart-end-names): New option.
4737 (f90-smart-end): Doc fix.
4738 (f90-end-block-optional-name): New constant.
4739 (f90-block-match): Respect f90-smart-end-names.
4741 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4744 about implicit semi-colons (bug#14218).
4746 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4748 * frame.el (display-monitor-attributes-list)
4749 (frame-monitor-attributes): New functions.
4751 2013-05-06 Leo Liu <sdl.web@gmail.com>
4753 * progmodes/octave.el (octave-syntax-propertize-function): Change
4754 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4755 (octave-font-lock-keywords): Use octave-operator-regexp.
4756 (octave-completion-at-point): Rename from
4757 octave-completion-at-point-function.
4758 (inferior-octave-directory-tracker): Robustify.
4759 (octave-text-functions): Remove and fix its uses. No such things
4762 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * emacs-lisp/trace.el (trace--display-buffer): New function.
4765 (trace-make-advice): Use it.
4767 2013-05-06 Juri Linkov <juri@jurta.org>
4769 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4770 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4772 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4773 in the help string. (Bug#12985)
4775 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4777 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4779 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4781 * progmodes/perl-mode.el: Add support for here documents.
4782 (perl-syntax-propertize-function): Match here-doc markers.
4783 (perl-syntax-propertize-special-constructs): Find their end.
4784 (perl-imenu-generic-expression): Use [:alnum:].
4786 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4787 (advice--add-function): Refresh the advice if already present
4790 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
4792 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4794 2013-05-06 Glenn Morris <rgm@gnu.org>
4796 * w32-fns.el (w32-charset-info-alist): Declare.
4798 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4799 of its defcustom properties.
4800 (eshell-cmpl-initialize): No need to load pcomplete.
4802 * generic-x.el: No need to require comint when compiling.
4804 * net/eudc-export.el: Make it loadable without bbdb.
4805 (top-level): Use require rather than load-library.
4806 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4807 (eudc-batch-export-records-to-bbdb)
4808 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4811 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4814 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4815 some tweaks, instead.
4817 2013-05-05 Leo Liu <sdl.web@gmail.com>
4819 * progmodes/octave.el (octave-font-lock-keywords)
4820 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4821 (inferior-octave-send-list-and-digest): Improve error message.
4822 (octave-mode, inferior-octave-mode): Use setq-local.
4823 (octave-help): Set info-lookup-mode.
4825 2013-05-05 Richard Stallman <rms@gnu.org>
4827 * vc/compare-w.el (compare-windows-whitespace):
4828 Treat no-break space as whitespace.
4830 * mail/rmailsum.el (rmail-summary-rmail-update):
4831 Detect empty summary and don't change selected message.
4832 (rmail-summary-goto-msg): Likewise.
4834 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4835 Doc fixes, rename args.
4837 2013-05-05 Alan Mackenzie <acm@muc.de>
4839 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4841 2013-05-05 Juri Linkov <juri@jurta.org>
4843 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4844 to not add the length of the summary segment to the return value.
4847 2013-05-05 Leo Liu <sdl.web@gmail.com>
4849 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4850 (inferior-octave-output-filter): Remove.
4851 (octave-send-region, inferior-octave-startup): Fix callers.
4852 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4853 (octave-binary-file-extensions): New user variable.
4854 (octave-find-definition): Confirm if opening binary files.
4855 (octave-help-file): Use octave-find-definition to get the binary
4857 (octave-help): Adjust for octave-help-file change.
4859 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4862 Merge the two entries that handle function definitions.
4863 (pascal--syntax-propertize): New const.
4864 (pascal-mode): Use it. Use setq-local.
4866 2013-05-04 Glenn Morris <rgm@gnu.org>
4868 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4869 (diary-from-outlook): Respect diary-from-outlook-function.
4871 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4874 Move the declaration from C.
4875 (read-minibuffer, eval-minibuffer): Move from C.
4876 (completion-setup-function): Avoid minibuffer-completion-contents.
4878 2013-05-03 Leo Liu <sdl.web@gmail.com>
4880 * progmodes/octave.el (octave-font-lock-keywords): Do not
4881 dehighlight 'end' in comments or strings.
4882 (octave-completing-read, octave-goto-function-definition):
4884 (octave-help-buffer): New user variable.
4885 (octave-help-file, octave-help-function): New button types.
4886 (octave-help): New command and bind it to C-h ;.
4887 (octave-find-definition): New command and bind it to M-.
4888 (user-error): Alias to error if not defined.
4890 2013-05-02 Leo Liu <sdl.web@gmail.com>
4892 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4894 (octave-font-lock-keywords): Include [ and {.
4896 2013-05-02 Leo Liu <sdl.web@gmail.com>
4898 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4899 (inferior-octave): Remove calling comint-mode and return the buffer.
4900 (inferior-octave-startup): Cosmetic changes.
4902 2013-05-02 Leo Liu <sdl.web@gmail.com>
4904 * progmodes/octave.el (octave-syntax-propertize-function):
4905 Include the case when ' is at line beginning. (Bug#14336)
4907 2013-05-02 Glenn Morris <rgm@gnu.org>
4909 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4910 * desktop.el (vc-dir-mode): Just autoload it here.
4912 2013-05-02 Alan Mackenzie <acm@muc.de>
4914 Eliminate variable c-standard-font-lock-fontify-region-function.
4915 * progmodes/cc-mode.el
4916 (c-standard-font-lock-fontify-region-function): Remove.
4917 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4919 2013-05-01 Leo Liu <sdl.web@gmail.com>
4921 * progmodes/octave.el: Compatible with older emacs-24 releases.
4922 (inferior-octave-has-built-in-variables): Remove. Built-in
4923 variables were removed from Octave in 2007.
4924 (inferior-octave-startup): Fix uses.
4925 (comint-line-beginning-position): Remove compatibility code for
4928 2013-05-01 Juri Linkov <juri@jurta.org>
4930 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
4932 2013-05-01 Juri Linkov <juri@jurta.org>
4934 * comint.el (comint-previous-matching-input): Don't print message
4935 "History item: %d" when `isearch-mode' is active.
4936 (comint-history-isearch-message): Print message "History item: %d"
4937 when `comint-input-ring-index' is not empty and this function is
4938 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
4940 2013-05-01 Leo Liu <sdl.web@gmail.com>
4942 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4943 definitions. Use completion-at-point to insert keywords.
4944 (octave-abbrev-start): Remove.
4945 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4947 2013-04-30 Leo Liu <sdl.web@gmail.com>
4949 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4952 2013-04-30 Alan Mackenzie <acm@muc.de>
4954 Handle arbitrarily long C++ member initialisation lists.
4955 * progmodes/cc-engine.el (c-back-over-member-initializers):
4957 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4958 (most) member init lists.
4960 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4962 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4965 2013-04-30 Leo Liu <sdl.web@gmail.com>
4967 * progmodes/octave.el (octave-variables): Remove. No builtin
4968 variables any more. All converted to functions.
4969 (octave-font-lock-keywords, octave-completion-at-point-function):
4971 (octave-font-lock-texinfo-comment): New user variable.
4972 (octave-texinfo-font-lock-keywords): New variable for texinfo
4974 (octave-function-comment-block): New face.
4975 (octave-font-lock-texinfo-comment): New function.
4976 (octave-mode): Font lock texinfo comment block.
4978 2013-04-29 Leo Liu <sdl.web@gmail.com>
4980 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4981 indexing expression.
4982 (octave-continuation-string): Do not use \.
4983 (inferior-octave-complete-impossible): Remove.
4984 (inferior-octave-completion-table)
4985 (inferior-octave-completion-at-point): Remove its uses.
4986 (inferior-octave-startup): completion_matches was introduced to
4987 Octave in 1996 so safe to assume it.
4988 (octave-function-file-comment): Improve to follow how Octave does it.
4989 (octave-update-function-file-comment): Tweak.
4991 2013-04-29 Leo Liu <sdl.web@gmail.com>
4993 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4994 (inferior-octave-startup): Remove inferior-octave-startup-hook.
4995 (octave-function-file-comment): Fix typo.
4996 (octave-sync-function-file-names): Use read-char-choice.
4998 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5000 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5001 to t for the less important warnings.
5003 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5005 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5007 2013-04-27 Glenn Morris <rgm@gnu.org>
5009 * vc/log-view.el (log-view-current-entry):
5010 Treat "---" separator lines as part of the following rev. (Bug#14169)
5012 2013-04-27 Juri Linkov <juri@jurta.org>
5014 * subr.el (read-number): Doc fix about using it by interactive
5015 code letter `n'. (Bug#14254)
5017 2013-04-27 Juri Linkov <juri@jurta.org>
5019 * desktop.el (desktop-auto-save-timeout): New option.
5020 (desktop-file-checksum): New variable.
5021 (desktop-save): Add optional arg `auto-save' and don't auto-save
5023 (desktop-auto-save-timer): New variable.
5024 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5025 (after-init-hook): Call `desktop-auto-save-set-timer'.
5026 Suggested by Reuben Thomas <rrt@sc3d.org> in
5027 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5029 2013-04-27 Leo Liu <sdl.web@gmail.com>
5031 * progmodes/octave.el (octave-function-file-p)
5032 (octave-skip-comment-forward, octave-function-file-comment)
5033 (octave-update-function-file-comment): New functions.
5034 (octave-mode-map): Bind C-c ; to
5035 octave-update-function-file-comment.
5036 (octave-mode-menu): Add octave-update-function-file-comment.
5037 (octave-mode, inferior-octave-mode): Fix doc-string.
5038 (octave-insert-defun): Conform to Octave's coding convention.
5041 * files.el (basic-save-buffer): Don't let errors in
5042 before-save-hook prevent saving buffer.
5044 2013-04-20 Roland Winkler <winkler@gnu.org>
5046 * faces.el (read-face-name): Use completing-read if arg multiple
5049 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5051 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5052 displayed, move point to after the totals line.
5053 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5056 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5058 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5059 Add current dir to the load-path.
5060 (package-generate-autoloads): Don't rely on
5061 autoload-ensure-default-file.
5063 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5065 * textmodes/remember.el (remember-store-in-files): Document that
5066 the file name format is passed to `format-time-string'.
5068 2013-04-26 Leo Liu <sdl.web@gmail.com>
5070 * progmodes/octave.el (octave-sync-function-file-names): New function.
5071 (octave-mode): Use it in before-save-hook.
5073 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5078 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5079 \n and comment, even if it's not an implicit ; (bug#14218).
5081 2013-04-26 Glenn Morris <rgm@gnu.org>
5083 * subr.el (read-number): Once more use `read' rather than
5084 `string-to-number', to trap non-numeric input. (Bug#14254)
5086 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5088 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5089 Use `syntax-multiline' text property consistently instead of
5090 `font-lock-multiline'. (Bug#14237)
5092 2013-04-26 Glenn Morris <rgm@gnu.org>
5094 * emacs-lisp/shadow.el (list-load-path-shadows):
5095 No longer necessary to check for duplicate simple.el, since
5096 2012-07-07 change to init_lread to not include installation lisp
5097 directories in load-path when running uninstalled. (Bug#14270)
5099 2013-04-26 Leo Liu <sdl.web@gmail.com>
5101 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5102 (octave-mode, inferior-octave-mode): Use setq-local.
5103 (octave-not-in-string-or-comment-p): Rename to
5104 octave-in-string-or-comment-p.
5105 (octave-in-comment-p, octave-in-string-p)
5106 (octave-in-string-or-comment-p): Replace defsubst with defun.
5108 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5110 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5112 2013-04-25 Bastien Guerry <bzg@gnu.org>
5114 * textmodes/remember.el (remember-data-directory)
5115 (remember-directory-file-name-format): Fix custom types.
5117 2013-04-25 Leo Liu <sdl.web@gmail.com>
5119 * progmodes/octave.el (octave-completion-at-point-function):
5120 Make use of inferior octave process.
5121 (octave-initialize-completions): Remove.
5122 (inferior-octave-completion-table): New function.
5123 (inferior-octave-completion-at-point): Use it.
5124 (octave-completion-alist): Remove.
5126 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5129 (opascal-mode-syntax-table): New var.
5130 (opascal-literal-kind, opascal-is-literal-end)
5131 (opascal-literal-token-at): Rewrite.
5132 (opascal--literal-start-re, opascal-font-lock-keywords)
5133 (opascal--syntax-propertize): New constants.
5134 (opascal-font-lock-defaults): Adjust.
5135 (opascal-mode): Use them. Set comment-<foo> variables as well.
5136 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5137 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5138 (delphi-other-face, opascal-other-face): Remove face variables.
5139 (opascal-save-state): Remove macro.
5140 (opascal-fontifying-progress-step): Remove constant.
5141 (opascal--ignore-changes): Remove var.
5142 (opascal-set-token-property, opascal-parse-next-literal)
5143 (opascal-is-stable-literal, opascal-complete-literal)
5144 (opascal-is-literal-start, opascal-face-of)
5145 (opascal-parse-region, opascal-parse-region-until-stable)
5146 (opascal-fontify-region, opascal-after-change)
5147 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5148 (opascal-debug-parse-region, opascal-debug-parse-window)
5149 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5150 (opascal-debug-fontify-buffer): Remove.
5151 (opascal-debug-mode-map): Adjust accordingly.
5153 2013-04-25 Leo Liu <sdl.web@gmail.com>
5155 Merge octave-mod.el and octave-inf.el into octave.el with some
5157 * progmodes/octave.el: New file renamed from octave-mod.el.
5158 * progmodes/octave-inf.el: Merged into octave.el.
5159 * progmodes/octave-mod.el: Renamed to octave.el.
5161 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5163 * textmodes/reftex-vars.el
5164 (reftex-label-ignored-macros-and-environments): New defcustom.
5166 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5168 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5171 (smie-indent-keyword): Improve the check to ensure that the next
5172 comment is really on the same line.
5173 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5175 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5176 semi-colons if the line is not otherwise empty (bug#14218).
5178 2013-04-25 Glenn Morris <rgm@gnu.org>
5180 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5182 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * progmodes/opascal.el (opascal-set-token-property): Rename from
5185 opascal-set-text-properties and only set `token' (bug#14134).
5186 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5187 (opascal-literal-text-properties): Remove.
5188 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5191 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5193 * textmodes/remember.el (remember-handler-functions): Add an
5194 option for a new handler `remember-store-in-files'.
5195 (remember-data-directory, remember-directory-file-name-format):
5197 (remember-store-in-files): New function to store remember notes
5198 as separate files within a directory.
5200 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5202 * progmodes/compile.el (compilation-next-error-function):
5203 Pass "formats" to compilation-find-file (bug#11777).
5205 2013-04-24 Glenn Morris <rgm@gnu.org>
5207 * vc/vc-bzr.el (vc-bzr-print-log):
5208 * vc/vc-hg.el (vc-hg-print-log):
5209 * vc/vc-svn.el (vc-svn-print-log):
5210 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5212 * vc/vc-bzr.el (vc-bzr-print-log):
5213 * vc/vc-cvs.el (vc-cvs-print-log):
5214 * vc/vc-git.el (vc-git-print-log):
5215 * vc/vc-hg.el (vc-hg-print-log):
5216 * vc/vc-mtn.el (vc-mtn-print-log):
5217 * vc/vc-rcs.el (vc-rcs-print-log):
5218 * vc/vc-sccs.el (vc-sccs-print-log):
5219 * vc/vc-svn.el (vc-svn-print-log):
5220 * vc/vc.el (vc-print-log-internal): Doc fixes.
5222 2013-04-23 Glenn Morris <rgm@gnu.org>
5224 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5225 Remove venerable code attempting to avoid substitute-command-keys.
5227 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5229 * textmodes/reftex-vars.el (reftex-label-regexps):
5230 Call `reftex-compile-variables' after changes to this variable.
5232 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5234 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5235 Use lexical-binding.
5236 (jit-lock-force-redisplay): Use markers, check buffer's continued
5237 existence and beware narrowed buffers.
5238 (jit-lock-fontify-now): Adjust call accordingly.
5240 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5242 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5243 to avoid misleading the user.
5245 2013-04-22 Leo Liu <sdl.web@gmail.com>
5247 * info-look.el: Prefer latex2e.info. (Bug#14240)
5249 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5251 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5253 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5254 * net/tramp.el (tramp-call-process): ... here.
5255 (tramp-set-completion-function, tramp-parse-putty):
5256 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5257 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5258 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5259 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5260 (tramp-call-local-coding-command): Use `tramp-call-process'
5261 instead of `tramp-compat-call-process'.
5263 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5264 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5265 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5266 (tramp-find-inline-compress): Improve traces.
5267 (tramp-maybe-send-script): Check for Perl binary.
5268 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5270 2013-04-22 Daiki Ueno <ueno@gnu.org>
5272 * epg.el (epg-context-pinentry-mode): New function.
5273 (epg-context-set-pinentry-mode): New function.
5274 (epg--start): Pass --pinentry-mode option to gpg command.
5276 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5278 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5279 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5280 `completion-at-point'. (Bug#13774)
5282 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5283 default key binding for `describe-distribution' has been moved to
5284 `C-h C-o'. (Bug#13970)
5286 2013-04-21 Glenn Morris <rgm@gnu.org>
5288 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5290 (vc-print-log): Clarify interactive prompt.
5292 2013-04-20 Glenn Morris <rgm@gnu.org>
5294 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5295 No longer include timestamp etc information.
5297 2013-04-20 Roland Winkler <winkler@gnu.org>
5299 * faces.el (read-face-name): Bug fix, return just one face if arg
5300 multiple is nil. (Bug#14209)
5302 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5304 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5305 (remove-function): Autoload.
5307 * comint.el (comint-redirect-original-filter-function): Remove.
5308 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5309 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5310 (vc-cvs-annotate-command):
5311 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5312 * progmodes/prolog.el (prolog-consult-compile):
5313 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5314 Use add/remove-function instead.
5315 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5316 (gud-tooltip-process-output, gud-tooltip-tips):
5317 Use add/remove-function instead.
5318 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5319 (scheme-interaction-mode, exit-scheme-interaction-mode):
5320 Use add/remove-function instead.
5322 * vc/vc-dispatcher.el: Use lexical-binding.
5323 (vc--process-sentinel): Rename from vc-process-sentinel.
5324 Change last arg to be the code to run. Don't use vc-previous-sentinel
5325 and vc-sentinel-commands any more.
5326 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5327 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5329 2013-04-19 Masatake YAMATO <yamato@redhat.com>
5331 * progmodes/sh-script.el (sh-imenu-generic-expression):
5332 Handle function names with a single character. (Bug#14111)
5334 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
5336 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5337 for subroutines defined in an eval (bug#14182).
5339 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5341 * bookmark.el (bookmark-completing-read): Improve handling of empty
5344 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5348 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5350 New faster Imenu implementation (bug#14058).
5351 * progmodes/python.el:
5352 (python-imenu-prev-index-position):
5353 (python-imenu-format-item-label-function)
5354 (python-imenu-format-parent-item-label-function)
5355 (python-imenu-format-parent-item-jump-label-function):
5357 (python-imenu-format-item-label)
5358 (python-imenu-format-parent-item-label)
5359 (python-imenu-format-parent-item-jump-label)
5360 (python-imenu--put-parent, python-imenu--build-tree)
5361 (python-imenu-create-index, python-imenu-create-flat-index)
5362 (python-util-popn): New functions.
5363 (python-mode): Set imenu-create-index-function to
5364 python-imenu-create-index.
5366 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5368 * winner.el (winner-active-region): Use region-active-p, activate-mark
5369 and deactivate-mark (bug#14225).
5371 * simple.el (deactivate-mark): Don't inline it.
5373 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
5375 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5377 2013-04-18 Tassilo Horn <tsdh@gnu.org>
5379 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5380 file extensions from the archive-mode entry in order to prefer
5381 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5383 2013-04-18 Leo Liu <sdl.web@gmail.com>
5385 * bindings.el (help-event-list): Add ?\?.
5387 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5389 * subr.el (with-wrapper-hook): Declare obsolete.
5390 * simple.el (filter-buffer-substring-function): New hook.
5391 (filter-buffer-substring): Use it.
5392 (filter-buffer-substring-functions): Mark obsolete.
5393 * minibuffer.el (completion-in-region-function): New hook.
5394 (completion-in-region): Use it.
5395 (completion-in-region-functions): Mark obsolete.
5396 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5397 * abbrev.el (abbrev-expand-function): New hook.
5398 (expand-abbrev): Use it.
5399 (abbrev-expand-functions): Mark obsolete.
5400 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5403 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5405 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5406 and do not care about match data.
5408 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5410 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5411 completion tables when completing error conditions and
5412 `declare' arguments.
5413 (lisp-complete-symbol, field-complete): Mark as obsolete.
5414 (check-parens): Unmatched parens are user errors.
5415 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5417 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
5419 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5420 command changed buffer (ie. `flyspell-pre-buffer' is not current
5421 buffer), which prevents making decisions based on invalid value of
5422 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5423 cause an error when `flyspell-pre-point' was nil after switching
5425 (flyspell-post-command-hook): No longer needs to change buffers when
5426 checking pre-word. While at it remove unnecessary progn.
5428 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5430 * textmodes/ispell.el (ispell-add-per-file-word-list):
5431 Fix `flyspell-correct-word-before-point' error when accepting
5432 words and `coment-padding' is an integer by using
5433 `comment-normalize-vars' (Bug #14214).
5435 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5437 New defun movement commands.
5438 * progmodes/python.el (python-nav--syntactically)
5439 (python-nav--forward-defun, python-nav-backward-defun)
5440 (python-nav-forward-defun): New functions.
5442 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5444 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5445 (python-syntax-context): Use named compiler-macro for backwards
5446 compatibility with Emacs 24.x.
5448 2013-04-17 Leo Liu <sdl.web@gmail.com>
5450 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5451 octave-hide-process-buffer.
5453 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5455 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5458 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5460 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5461 Fix adjustment of offset when receiving incomplete responses from GDB
5464 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5466 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5467 python-mode-abbrev-table.
5468 (python-skeleton-define): Adjust accordingly.
5469 (python-mode-abbrev-table): New table that inherits from it so that
5470 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5472 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5473 (abbrev-symbol): Use it.
5474 (abbrev--before-point): Use it since we already handle inheritance.
5476 2013-04-16 Leo Liu <sdl.web@gmail.com>
5478 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5479 binding to info-lookup-symbol.
5481 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5483 * minibuffer.el (completion--twq-all):
5484 * term/ns-win.el (ns-initialize-window-system):
5485 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5487 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5489 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5492 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5494 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5496 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5497 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5499 (ruby-end-of-defun): Remove the unused arg, change the docstring
5500 to reflect that this function is only used as the value of
5501 `end-of-defun-function'.
5502 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5503 to reflect an earlier change that beginning/end-of-defun functions
5504 jump between methods in a class definition, as well as top-level
5507 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * minibuffer.el (minibuffer-complete): Don't just scroll
5510 a *Completions* that's been iconified.
5511 (minibuffer-force-complete): Make sure repetitions do cycle when going
5512 through completion-in-region -> minibuffer-complete.
5514 2013-04-15 Alan Mackenzie <acm@muc.de>
5516 Correct the placement of c-cpp-delimiters when there're #s not at
5519 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5520 place a submatch around the #.
5521 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5522 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5525 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5527 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5528 (advice--member-p): New arg `name'.
5529 (advice--add-function, advice-member-p): Use it (bug#14202).
5531 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5533 Reformulate java imenu-generic-expression.
5534 The old expression contained ill formed regexps.
5536 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5537 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5538 (cc-imenu-java-method-arg-regexp): New defconsts.
5539 (cc-imenu-java-build-type-args-regex): New defun.
5540 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5541 handling of spaces in the regexp.
5543 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5545 * textmodes/ispell.el (ispell-command-loop): Remove
5546 flyspell highlight of a word when ispell accepts it (bug #14178).
5548 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5550 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5551 uses code from the previous `ange-ftp-run-real-handler'.
5552 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5553 only in case that function exist. This is needed for proper
5556 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5558 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5560 * textmodes/reftex.el (reftex-compile-variables): Use it.
5562 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * files.el (normal-mode): Only use default major-mode if no other mode
5567 * emacs-lisp/trace.el (trace-values): New function.
5569 * files.el: Allow : in local variables (bug#14089).
5570 (hack-local-variable-regexp): New var.
5571 (hack-local-variables-prop-line, hack-local-variables): Use it.
5573 2013-04-13 Roland Winkler <winkler@gnu.org>
5575 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5576 data before it gets modified by bibtex-beginning-of-entry.
5578 2013-04-13 Roland Winkler <winkler@gnu.org>
5580 * textmodes/bibtex.el (bibtex-url): Doc fix.
5582 2013-04-13 Roland Winkler <winkler@gnu.org>
5584 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5585 does not visit a BibTeX file, exclude it from the list of buffers
5586 returned by bibtex-initialize.
5588 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
5590 * window.el (split-window): Remove interactive form, since as a
5591 command this function is a special case of split-window-below.
5594 2013-04-12 Roland Winkler <winkler@gnu.org>
5596 * faces.el (read-face-name): Do not override value of arg default.
5597 Allow single faces and strings as default values. Remove those
5598 elements from return value that are not faces.
5599 (describe-face): Simplify.
5600 (face-at-point): New optional args thing and multiple so that this
5601 function can provide the same functionality previously provided by
5603 (make-face-bold, make-face-unbold, make-face-italic)
5604 (make-face-unitalic, make-face-bold-italic, invert-face)
5605 (modify-face, read-face-and-attribute): Use face-at-point.
5607 * cus-edit.el (customize-face, customize-face-other-window)
5608 * cus-theme.el (custom-theme-add-face)
5609 * face-remap.el (buffer-face-set)
5610 * facemenu.el (facemenu-set-face): Use face-at-point.
5612 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
5614 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5616 2013-04-10 Tassilo Horn <tsdh@gnu.org>
5618 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5619 off leading { and trailing } from field values.
5621 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * emacs-lisp/timer.el (timer--check): New function.
5624 (timer--time, timer-set-function, timer-event-handler): Use it.
5625 (timer-set-idle-time): Simplify.
5626 (timer--activate): CSE.
5627 (timer-event-handler): Give more info in error message.
5628 (internal-timer-start-idle): New function, moved from C.
5630 * mpc.el (mpc-proc): Add `restart' argument.
5631 (mpc-proc-cmd): Use it.
5632 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5633 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5636 2013-04-10 Masatake YAMATO <yamato@redhat.com>
5638 * progmodes/sh-script.el: Implement `sh-mode' own
5639 `add-log-current-defun-function' (bug#14112).
5640 (sh-current-defun-name): New function.
5641 (sh-mode): Use the function.
5643 2013-04-09 Bastien Guerry <bzg@gnu.org>
5645 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5647 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5649 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5651 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5654 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5656 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5659 2013-04-07 Leo Liu <sdl.web@gmail.com>
5661 * pcmpl-x.el: New file.
5663 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5665 Do not set x-display-name until X connection is established.
5666 This is needed to prevent from weird situation described at
5667 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5668 * frame.el (make-frame): Set x-display-name after call to
5669 window system initialization function, not before.
5670 * term/x-win.el (x-initialize-window-system): Add optional
5671 display argument and use it.
5672 * term/w32-win.el (w32-initialize-window-system):
5673 * term/ns-win.el (ns-initialize-window-system):
5674 * term/pc-win.el (msdos-initialize-window-system):
5675 Add compatible optional display argument.
5677 2013-04-06 Eli Zaretskii <eliz@gnu.org>
5679 * files.el (normal-backup-enable-predicate): On MS-Windows and
5680 MS-DOS compare truenames of temporary-file-directory and of the
5681 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5682 don't fail comparison by compare-strings. Also, compare file
5683 names case-insensitively on MS-Windows and MS-DOS.
5685 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5687 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5688 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5690 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5692 * whitespace.el (whitespace-color-on, whitespace-color-off):
5693 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5695 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
5697 * ispell.el (ispell-set-spellchecker-params):
5698 Really set `ispell-args' for all equivs.
5700 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5702 * ido.el (ido-completions): Use extra elements of ido-decorations
5704 (ido-decorations): Update docstring.
5706 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
5708 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5709 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5710 nil during initialization, in order not to miss changes since the
5711 file was opened. (Bug#14140)
5713 2013-04-05 Leo Liu <sdl.web@gmail.com>
5715 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5717 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5719 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5721 2013-04-04 Glenn Morris <rgm@gnu.org>
5723 * electric.el (electric-pair-inhibit-predicate): Add :version.
5725 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5727 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5728 when a package is required several times (bug#14082).
5730 2013-04-04 Roland Winkler <winkler@gnu.org>
5732 * faces.el (read-face-name): Behave as promised by the docstring.
5733 Assume that arg default is a list of faces.
5734 (describe-face): Call read-face-name with list of default faces.
5736 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5738 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5739 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5740 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5742 (bookmark-exit-hook-internal): Save even if list is empty.
5744 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5746 * emacs-lisp/package.el (package-pinned-packages): New var.
5747 (package--add-to-archive-contents): Obey it (bug#14118).
5749 2013-04-03 Alan Mackenzie <acm@muc.de>
5751 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5752 Also adapt to the new values of element 7 of a parse state.
5754 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5755 parameter `not-in-delimiter'. Handle being inside comment opener.
5756 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5757 character in case we're typing a '*' after a '/'.
5758 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5759 instead by passing the parameter to c-state-pp-to-literal.
5761 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5762 for elt. 7 of a parse state.
5764 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5766 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5767 * international/latin1-disp.el, international/mule-util.el:
5768 * language/cyril-util.el, language/european.el, language/ind-util.el:
5769 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5770 * language/tibetan.el, language/viet-util.el:
5771 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5773 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5776 (electric-pair-post-self-insert-function): Use it.
5777 (electric-pair-default-inhibit): New function, extracted from
5778 electric-pair-post-self-insert-function.
5780 2013-03-31 Roland Winkler <winkler@gnu.org>
5782 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5784 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5786 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5788 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
5790 Un-indent after "pass" and "return" statements (Bug#13888)
5791 * progmodes/python.el (python-indent-block-enders): New var.
5792 (python-indent-calculate-indentation): Use it.
5794 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
5796 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5797 defun. Defining it as defalias could introduce too eager
5798 byte-compiler optimization. (Bug#14030)
5800 2013-03-30 Chong Yidong <cyd@gnu.org>
5802 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5804 2013-03-30 Leo Liu <sdl.web@gmail.com>
5806 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5807 (kmacro-execute-from-register): Pass the keyboard macro to
5808 kmacro-call-macro or repeating won't work correctly.
5810 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5812 * progmodes/subword.el: Back to using `forward-symbol'.
5814 * subr.el (forward-whitespace, forward-symbol)
5815 (forward-same-syntax): Move from thingatpt.el.
5817 2013-03-29 Leo Liu <sdl.web@gmail.com>
5819 * kmacro.el (kmacro-to-register): New command.
5820 (kmacro-execute-from-register): New function.
5821 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5823 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5825 * mpc.el: Use defvar-local and setq-local.
5826 (mpc--proc-connect): Connection failures are not bugs.
5827 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5828 (mpc-volume-map): Bind to the up-events.
5830 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5832 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5833 instead of `forward-symbol'.
5835 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5838 (edebug--recursive-edit): Use it.
5839 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5840 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5842 2013-03-28 Leo Liu <sdl.web@gmail.com>
5844 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5846 2013-03-27 Eli Zaretskii <eliz@gnu.org>
5848 * facemenu.el (list-colors-callback): New defvar.
5849 (list-colors-redisplay): New function.
5850 (list-colors-display): Install list-colors-redisplay as the
5851 revert-buffer-function. (Bug#14063)
5853 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5856 and suffixes don't overlap (bug#14061).
5858 * case-table.el: Use lexical-binding.
5859 (case-table-get-table): New function.
5860 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5862 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5864 * progmodes/subword.el: Add `superword-mode' to do word motion
5865 over symbol_words (parallels and leverages `subword-mode' which
5866 does word motion inside MixedCaseWords).
5868 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5870 * eshell/em-unix.el: Move su and sudo to...
5871 * eshell/em-tramp.el: ...Eshell tramp module.
5873 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5875 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5876 Change return value to be a sexp. Delay `get-buffer' to after
5877 restoring the desktop (bug#13951).
5879 2013-03-26 Leo Liu <sdl.web@gmail.com>
5881 * register.el: Move semantic tag handling back to
5882 cedet/semantic/senator.el. (Bug#14052)
5884 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5887 into the prompt either (bug#13963).
5889 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5891 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5892 part of "(error-foo)".
5894 2013-03-24 Juri Linkov <juri@jurta.org>
5896 * replace.el (list-matching-lines-prefix-face): New defcustom.
5897 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5898 `occur-engine' if `face-differs-from-default-p' returns t.
5899 (occur-engine): Add `,' inside backquote construct to evaluate
5900 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5901 Pass `prefix-face' to the functions `occur-context-lines' and
5902 `occur-engine-add-prefix'.
5903 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5904 `prefix-face' and propertize the prefix with `prefix-face'.
5907 2013-03-24 Leo Liu <sdl.web@gmail.com>
5909 * nxml/rng-valid.el (rng-validate-while-idle)
5910 (rng-validate-quick-while-idle): Guard against deleted buffer.
5913 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5914 is the last entry in kill-buffer-hook.
5916 * files.el (kill-buffer-hook): Doc fix.
5918 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
5920 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5923 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5925 2013-03-23 Leo Liu <sdl.web@gmail.com>
5927 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5930 * nxml/rng-valid.el (rng-validate-mode)
5931 (rng-after-change-function, rng-do-some-validation):
5932 * nxml/rng-maint.el (rng-validate-buffer):
5933 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5934 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5935 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5936 (nxml-extend-after-change-region): Use with-silent-modifications.
5938 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5941 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5942 (rng-next-error-1, rng-previous-error-1): Do not let-bind
5943 timer-idle-list. (Bug#13999)
5945 2013-03-23 Juri Linkov <juri@jurta.org>
5947 * info.el (info-index-match): New face.
5948 (Info-index, Info-apropos-matches): Add a nested subgroup to the
5949 main pattern and add text properties with the new face to matches
5950 in index entries relative to the beginning of the index entry.
5953 2013-03-21 Eric Ludlam <zappo@gnu.org>
5955 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5956 Inhibit read only while inserting objects.
5958 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5960 * progmodes/cfengine.el: Update docs to mention
5961 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
5962 symbol motion. Remove "_" from the word syntax.
5964 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
5966 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5967 syntax for both `cfengine2-mode' and `cfengine3-mode'.
5969 2013-03-20 Juri Linkov <juri@jurta.org>
5971 * info.el (Info-next-reference-or-link)
5972 (Info-prev-reference-or-link): New functions.
5973 (Info-next-reference, Info-prev-reference): Use them.
5974 (Info-try-follow-nearest-node): Handle footnote navigation.
5975 (Info-fontify-node): Fontify footnotes. (Bug#13989)
5977 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5979 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5980 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5982 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
5984 Suppress unnecessary non-ASCII chatter during build process.
5985 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5986 (batch-skkdic-convert): Suppress most of the chatter.
5987 It's not needed so much now that machines are faster,
5988 and its non-ASCII component was confusing; see Dmitry Gutov in
5989 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5991 2013-03-20 Leo Liu <sdl.web@gmail.com>
5993 * ido.el (ido-chop): Fix bug#10994.
5995 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5997 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5999 (whitespace-color-on, whitespace-color-off):
6000 Use `font-lock-fontify-buffer' (Bug#13817).
6002 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6004 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6005 remapping in mode-line.
6006 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6008 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6010 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6011 value for `whitespace-line' face (Bug#13875).
6012 (whitespace-font-lock-keywords): Change description.
6013 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6014 the constructed keywords instead.
6015 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6017 2013-03-19 Leo Liu <sdl.web@gmail.com>
6019 * progmodes/compile.el (compilation-display-error): New command.
6020 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6023 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6025 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6027 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6029 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6031 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6033 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6035 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6036 * net/tramp-gvfs.el (top):
6037 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6038 (tramp-handle-shell-command): Use it.
6039 (tramp-dissect-file-name): Raise an error when hostname is a
6040 method name, and neither method nor user is specified.
6042 * net/trampver.el: Update release number.
6044 2013-03-18 Leo Liu <sdl.web@gmail.com>
6046 Make sure eldoc can be turned off properly.
6047 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6049 (eldoc-display-message-p): Revert last change.
6050 (eldoc-display-message-no-interference-p)
6051 (eldoc-print-current-symbol-info): Tweak.
6053 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6055 * doc-view.el (doc-view-new-window-function): Check the new window
6056 overlay's display property instead the char property of the
6057 buffer's first char. Use `with-selected-window' instead of
6058 `save-window-excursion' with `select-window'.
6059 (doc-view-document->bitmap): Check the current doc-view overlay's
6060 display property instead the char property of the buffer's first char.
6062 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6064 Automate the build of ja-dic.el (Bug#13984).
6065 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6066 from the input, rather than assume that it's been done for us by the
6067 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6068 the current date into a ja-dic.el comment, as that complicates
6071 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6073 * whitespace.el: Fix double evaluation.
6074 (whitespace-space, whitespace-hspace, whitespace-tab)
6075 (whitespace-newline, whitespace-trailing, whitespace-line)
6076 (whitespace-space-before-tab, whitespace-indentation)
6077 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6079 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6080 (whitespace-color-on): Use a single font-lock-add-keywords call.
6081 Fix double-evaluation of face variables.
6083 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6085 * net/tramp-adb.el (tramp-adb-parse-device-names):
6086 Use `start-process' instead of `call-process'. Otherwise, the
6087 function might be blocked under MS Windows. (Bug#13299)
6089 2013-03-17 Leo Liu <sdl.web@gmail.com>
6091 Extend eldoc to display info in the mode-line. (Bug#13978)
6092 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6093 (eldoc-mode-line-string): New variable.
6094 (eldoc-minibuffer-message): New function.
6095 (eldoc-message-function): New variable.
6096 (eldoc-message): Use it.
6097 (eldoc-display-message-p)
6098 (eldoc-display-message-no-interference-p):
6099 Support eldoc-post-insert-mode.
6101 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6102 (eval-expression): Run it.
6104 2013-03-17 Roland Winkler <winkler@gnu.org>
6106 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6107 strings in the list of return values.
6109 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6111 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6112 radix before checking for HMS forms.
6114 2013-03-16 Leo Liu <sdl.web@gmail.com>
6116 * progmodes/scheme.el: Add indentation and font-locking for λ.
6119 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6122 token before point (bug#13942).
6124 2013-03-16 Leo Liu <sdl.web@gmail.com>
6126 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6128 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6130 * startup.el (command-line-normalize-file-name): Fix handling of
6131 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6132 <xfq.free@gmail.com> in
6133 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6135 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6137 Sync with Tramp 2.2.7.
6139 * net/trampver.el: Update release number.
6141 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6143 * doc-view.el Fix bug#13887.
6144 (doc-view-insert-image): Don't modify overlay associated to
6145 non-live windows, and implement horizontal centering of image in
6146 case it's smaller than the window.
6147 (doc-view-new-window-function): Force redisplay of new windows on
6150 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6152 * saveplace.el (save-place-alist-to-file): Don't sort
6153 `save-place-alist', just pretty-print it (bug#13882).
6155 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6157 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6158 Check whether `default-file-name-coding-system' is bound.
6161 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6164 backquotes for `obsolete' (bug#13929).
6166 * international/mule.el (find-auto-coding): Include file name in
6167 obsolescence warning (bug#13922).
6169 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6171 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6172 for CFEngine 3-specific indentation.
6173 (cfengine3-indent-line): Use it. Fix up category regex.
6174 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6176 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6178 * type-break.el (type-break-file-name):
6179 * textmodes/remember.el (remember-data-file):
6180 * strokes.el (strokes-file):
6181 * shadowfile.el (shadow-initialize):
6182 * saveplace.el (save-place-file):
6183 * ps-bdf.el (bdf-cache-file):
6184 * progmodes/idlwave.el (idlwave-config-directory):
6185 * net/quickurl.el (quickurl-url-file):
6186 * international/kkc.el (kkc-init-file-name):
6187 * ido.el (ido-save-directory-list-file):
6188 * emulation/viper.el (viper-custom-file-name):
6189 * emulation/vip.el (vip-startup-file):
6190 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6191 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6193 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6195 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6196 * language/thai-word.el: Switch to UTF-8.
6198 See ChangeLog.16 for earlier changes.
6204 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6206 This file is part of GNU Emacs.
6208 GNU Emacs is free software: you can redistribute it and/or modify
6209 it under the terms of the GNU General Public License as published by
6210 the Free Software Foundation, either version 3 of the License, or
6211 (at your option) any later version.
6213 GNU Emacs is distributed in the hope that it will be useful,
6214 but WITHOUT ANY WARRANTY; without even the implied warranty of
6215 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6216 GNU General Public License for more details.
6218 You should have received a copy of the GNU General Public License
6219 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.