1 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3 * ido.el (ido-completion-help): Fix up compiler warning.
5 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7 * frameset.el (frameset-p): Add autoload cookie.
8 (frameset--jump-to-register): New function, based on code moved from
10 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
13 (frameset-restore, frameset-save, frameset-session-filter-alist):
15 (register-alist): Doc fix.
16 (frameset-to-register): Move to frameset.el.
17 (jump-to-register, describe-register-1): Remove frameset-specific code.
19 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
21 * allout-widgets.el (allout-widgets-pre-command-business)
22 (allout-widgets-post-command-business)
23 (allout-widgets-after-change-handler)
24 (allout-decorate-item-and-context, allout-set-boundary-marker)
25 (allout-body-modification-handler)
26 (allout-graphics-modification-handler): Mark ignored arguments.
27 (allout-widgets-post-command-business)
28 (allout-widgets-exposure-change-processor)
29 (allout-widgets-exposure-undo-processor)
30 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
31 (allout-parse-item-at-point, allout-decorate-item-guides)
32 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
33 * allout.el (epa-passphrase-callback-function): Declare.
34 (allout-overlay-insert-in-front-handler)
35 (allout-overlay-interior-modification-handler)
36 (allout-isearch-end-handler, allout-chart-siblings)
37 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
38 (allout-yank-processing, allout-process-exposed)
39 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
40 (allout-latex-verbatim-quote-curr-line): Removed unused variables.
41 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
42 (lisp-indent-defform): Mark ignored arguments.
43 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
44 (calculate-lisp-indent): Remove unused variables.
45 * international/characters.el (indian-2-column, arabic-2-column)
46 (tibetan): Mark ignored arguments.
47 (use-cjk-char-width-table): Mark ignored arguments.
48 Remove unused variables.
49 * international/fontset.el (build-default-fontset-data)
50 (x-compose-font-name, create-fontset-from-fontset-spec):
51 Mark ignored arguments.
52 (fontset-plain-name): Remove unused variables.
53 * international/mule.el (charset-id, charset-bytes, generic-char-p)
54 (keyboard-coding-system): Mark ignored arguments.
55 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
56 * help.el (resize-temp-buffer-window):
57 * window.el (display-buffer-in-major-side-window)
58 (display-buffer-in-side-window, display-buffer-in-previous-window):
59 Remove unused variables.
60 * isearch.el (isearch-forward-symbol):
61 * version.el (emacs-bzr-version-bzr):
62 * international/mule-cmds.el (current-language-environment):
63 * term/common-win.el (x-handle-iconic, x-handle-geometry)
65 * term/pc-win.el (x-list-fonts, x-display-planes)
66 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
67 (x-server-version, x-display-screens, x-display-mm-height)
68 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
69 (x-selection-owner-p, x-own-selection-internal)
70 (x-disown-selection-internal, x-get-selection-internal)
71 (msdos-initialize-window-system):
72 * term/tty-colors.el (tty-color-alist, tty-color-clear):
73 * term/x-win.el (x-handle-no-bitmap-icon):
74 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
75 (vc-default-find-file-hook, vc-default-extra-menu):
76 Mark ignored arguments.
78 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
80 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
81 break-condition in the context of the debugged code (bug#12685).
83 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
86 Do not use an overlay to highlight the last prompt. (Bug#14744)
87 (comint-mode): Make comint-last-prompt buffer local.
88 (comint-last-prompt): New variable.
89 (comint-last-prompt-overlay): Remove. Superseded by
91 (comint-snapshot-last-prompt, comint-output-filter):
92 Use comint-last-prompt.
94 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
96 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
97 (frameset-save): Check validity of the resulting frameset.
99 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
101 * ido.el (ido-record-command): Add doc string.
103 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
105 * frameset.el (frameset): Do not disable creation of the default
106 frameset-p predicate. Doc fix.
107 (frameset-valid-p): New function, copied from the old predicate-p.
108 Add additional checks.
109 (frameset-restore): Check with frameset-valid-p.
110 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
111 (frameset-name, frameset-description, frameset-properties)
112 (frameset-states): Add docstring.
113 (frameset-session-filter-alist, frameset-persistent-filter-alist)
114 (frameset-filter-alist): Doc fixes.
116 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
118 * frameset.el (frameset-p, frameset-prop): Doc fixes.
120 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
122 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
123 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
124 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
125 (byte-compile-normal-call): Remove obsolescence check.
127 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
129 * frameset.el (frameset-restore): Doc fix.
131 * register.el (frameset-frame-id, frameset-frame-with-id)
132 (frameset-p, frameset-restore, frameset-save): Declare.
133 (register-alist): Document framesets.
134 (frameset-session-filter-alist): Declare.
135 (frameset-to-register): New function.
136 (jump-to-register): Implement jumping to framesets. Doc fix.
137 (describe-register-1): Describe framesets.
139 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
141 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
143 * desktop.el (desktop-save-frameset): Use new frameset-save args.
146 * frameset.el (frameset): Use type vector, not list (incompatible
147 change). Do not declare a new constructor, use the default one.
148 Upgrade suggested properties `app', `name' and `desc' to slots `app',
149 `name' and `description', respectively, and add read-only slot
150 `timestamp'. Doc fixes.
151 (frameset-copy, frameset-persistent-filter-alist)
152 (frameset-filter-alist, frameset-switch-to-gui-p)
153 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
154 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
155 (frameset-filter-iconified, frameset-keep-original-display-p):
157 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
158 Rename from frameset-filter-(save|restore)-param. All callers changed.
160 (frameset-p): Adapt to change to vector and be more thorough.
161 Change arg name to OBJECT. Doc fix.
162 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
163 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
165 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
167 (frameset--record-minibuffer-relationships): Rename from
168 frameset--process-minibuffer-frames. All callers changed.
169 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
170 Use new default constructor (again). Doc fix.
171 (frameset--find-frame-if): Rename from `frameset--find-frame.
173 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
174 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
176 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
177 PARAMETERS and WINDOW-STATE, respectively.
178 (frameset-restore): Add new keyword argument PREDICATE.
179 Reset frameset--target-display to nil. Doc fix.
181 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
183 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
185 (bat-mode-syntax-table): Mark \n as end-of-comment.
186 (bat-font-lock-keywords): Remove comment rule.
188 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
189 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
191 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
192 (byte-compile-callargs-warn): Use `push'.
193 (byte-compile-arglist-warn): Ignore higher-order "calls".
194 (byte-compile-file-form-autoload): Use `pcase'.
195 (byte-compile-function-form): If quoting a symbol, check that it exists.
197 2013-08-07 Eli Zaretskii <eliz@gnu.org>
199 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
200 and add a few popular commands found in batch files.
201 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
202 (dos-mode): Doc fixes.
204 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
206 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
207 (dos-mode): Use setq-local. Add space after "rem".
208 (dos-mode-syntax-table): Don't use "w" for symbol chars.
209 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
211 2013-08-07 Arni Magnusson <arnima@hafro.is>
213 * progmodes/dos.el: New file.
214 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
217 2013-08-06 Glenn Morris <rgm@gnu.org>
219 * calendar/calendar.el: Add new faces, and day-header-array.
220 (calendar-weekday-header, calendar-weekend-header)
221 (calendar-month-header): New faces.
222 (calendar-day-header-construct): New function.
223 (calendar-day-header-width): Also :set calendar-day-header-array.
224 (calendar-american-month-header, calendar-european-month-header)
225 (calendar-iso-month-header): Use calendar- faces.
226 (calendar-generate-month):
227 Use calendar-day-header-array for day headers; apply faces to them.
228 (calendar-mode): Check calendar-font-lock-keywords non-nil.
229 (calendar-abbrev-construct): Add optional maxlen argument.
230 (calendar-day-name-array): Doc fix.
231 (calendar-day-name-array, calendar-abbrev-length)
232 (calendar-day-abbrev-array):
233 Also :set calendar-day-header-array, and maybe redraw.
234 (calendar-day-header-array): New option. (Bug#15007)
235 (calendar-font-lock-keywords): Set to nil and make obsolete.
236 (calendar-day-name): Add option to use header array.
238 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
240 * net/shr.el (shr-render-td): Remove debugging.
241 (shr-render-td): Make width computation consistent by defaulting
242 all zero-width columns to 10 characters. This may not be optimal,
243 but it's at least consistent.
244 (shr-make-table-1): Redo last change to fix the real problem in
247 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
249 * files.el (cache-long-line-scans):
250 Make obsolete alias to `cache-long-scans'.
252 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
254 * frameset.el (frameset, frameset-filter-alist)
255 (frameset-filter-params, frameset-save, frameset--reuse-frame)
256 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
257 (frameset-compute-pos): Rename from frameset--compute-pos,
259 (frameset-move-onscreen): Use frameset-compute-pos.
260 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
262 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
263 Fix typos in docstrings.
265 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
267 * frame.el (get-other-frame): Tiny cleanup.
269 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
271 * vc/vc.el (vc-default-ignore-completion-table):
272 Silence byte-compiler warning.
274 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
275 slot , which can indeed be nil.
276 (frameset-live-filter-alist, frameset-persistent-filter-alist):
277 Move entry for `left' from persistent to live filter alist.
278 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
280 (frameset-filter-params): When restoring a frame, copy items added to
281 `filtered', to avoid unwittingly modifying the original parameters.
282 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
283 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
285 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
286 to use looking-at-p instead of looking-at. (Bug#15028)
288 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
290 Revert introduction of isearch-filter-predicates (bug#14714).
291 Rely on add-function instead.
292 * isearch.el (isearch-filter-predicates): Rename it back to
293 isearch-filter-predicate.
294 (isearch-message-prefix): Use advice-function-mapc and advice
295 properties to get the isearch-message-prefix.
296 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
297 instead of run-hook-with-args-until-failure.
298 (isearch-filter-visible): Not obsolete any more.
299 * loadup.el: Preload nadvice.
300 * replace.el (perform-replace): Revert to funcall
301 instead of run-hook-with-args-until-failure.
302 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
303 * dired-aux.el (dired-isearch-filenames-mode): Rename from
304 dired-isearch-filenames-toggle; make it into a proper minor mode.
305 Use add/remove-function.
306 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
307 Call the minor-mode rather than add/remove-hook.
308 (dired-isearch-filter-filenames):
309 Remove isearch-message-prefix property.
310 * info.el (Info--search-loop): New function, extracted from Info-search.
311 Funcall isearch-filter-predicate instead of
312 run-hook-with-args-until-failure isearch-filter-predicates.
313 (Info-search): Use it.
314 (Info-mode): Use isearch-filter-predicate instead of
315 isearch-filter-predicates.
317 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
319 Do not call to `selected-window' where it is assumed by default.
320 Affected functions are `window-minibuffer-p', `window-dedicated-p',
321 `window-hscroll', `window-width', `window-height', `window-buffer',
322 `window-frame', `window-start', `window-point', `next-window'
323 and `window-display-table'.
324 * abbrev.el (abbrev--default-expand):
325 * bs.el (bs--show-with-configuration):
326 * buff-menu.el (Buffer-menu-mouse-select):
327 * calc/calc.el (calc):
328 * calendar/calendar.el (calendar-generate-window):
329 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
331 * comint.el (send-invisible, comint-dynamic-complete-filename)
332 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
333 * completion.el (complete):
334 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
335 * disp-table.el (describe-current-display-table):
336 * doc-view.el (doc-view-insert-image):
337 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
338 * ehelp.el (with-electric-help):
339 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
340 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
341 * emacs-lisp/helper.el (Helper-help-scroller):
342 * emulation/cua-base.el (cua--post-command-handler-1):
343 * eshell/esh-mode.el (eshell-output-filter):
344 * ffap.el (ffap-gnus-wrapper):
345 * help-macro.el (make-help-screen):
346 * hilit-chg.el (highlight-compare-buffers):
347 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
348 * hl-line.el (global-hl-line-highlight):
349 * icomplete.el (icomplete-simple-completing-p):
350 * isearch.el (isearch-done):
351 * jit-lock.el (jit-lock-stealth-fontify):
352 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
353 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
354 * mpc.el (mpc-tagbrowser, mpc):
355 * net/rcirc.el (rcirc-any-buffer):
356 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
357 * play/landmark.el (landmark-max-width, landmark-max-height):
358 * play/zone.el (zone):
359 * progmodes/compile.el (compilation-goto-locus):
360 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
361 * progmodes/etags.el (find-tag-other-window):
362 * progmodes/fortran.el (fortran-column-ruler):
363 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
364 * progmodes/verilog-mode.el (verilog-point-text):
365 * reposition.el (reposition-window):
366 * rot13.el (toggle-rot13-mode):
367 * server.el (server-switch-buffer):
368 * shell.el (shell-dynamic-complete-command)
369 (shell-dynamic-complete-environment-variable):
370 * simple.el (insert-buffer, set-selective-display)
371 (delete-completion-window):
372 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
374 * startup.el (fancy-splash-head):
375 * textmodes/ispell.el (ispell-command-loop):
376 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
377 * tutorial.el (help-with-tutorial):
378 * vc/add-log.el (add-change-log-entry):
379 * vc/compare-w.el (compare-windows):
380 * vc/ediff-help.el (ediff-indent-help-message):
381 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
382 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
383 (ediff-setup-control-frame):
384 * vc/emerge.el (emerge-position-region):
385 * vc/pcvs-util.el (cvs-bury-buffer):
386 * window.el (walk-windows, mouse-autoselect-window-select):
387 * winner.el (winner-set-conf, winner-undo): Related users changed.
389 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
391 * frameset.el (frameset--set-id): Doc fix.
392 (frameset-frame-id, frameset-frame-id-equal-p)
393 (frameset-locate-frame-id): New functions.
394 (frameset--process-minibuffer-frames, frameset--reuse-frame)
395 (frameset-restore): Use them.
397 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
399 Do not call to `selected-frame' where it is assumed by default.
400 Affected functions are `raise-frame', `redraw-frame',
401 `frame-first-window', `frame-terminal' and `delete-frame'.
402 * calendar/appt.el (appt-disp-window):
403 * epg.el (epg-wait-for-completion):
404 * follow.el (follow-delete-other-windows-and-split)
405 (follow-avoid-tail-recenter):
406 * international/mule.el (set-terminal-coding-system):
407 * mail/rmail.el (rmail-mail-return):
408 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
409 * progmodes/f90.el (f90-add-imenu-menu):
410 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
411 * server.el (server-switch-buffer):
412 * simple.el (delete-completion-window):
414 * term/xterm.el (terminal-init-xterm-modify-other-keys)
415 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
416 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
417 * vc/ediff.el (ediff-documentation): Related users changed.
418 * frame.el (selected-terminal): Remove the leftover.
420 2013-08-05 Glenn Morris <rgm@gnu.org>
422 * calendar/calendar.el (calendar-generate-month):
423 Fix for calendar-column-width != 1 + calendar-day-digit-width.
424 (calendar-generate-month, calendar-font-lock-keywords):
425 Fix for calendar-day-header-width > length of any day name.
427 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
429 * desktop.el (desktop-clear): Use new name of sort predicate.
431 * frameset.el (frameset): Add docstring. Move :version property to its
433 (frameset-copy): Rename from copy-frameset.
434 (frameset-p): Check more thoroughly.
435 (frameset-prop): Do not check for :version, which is no longer a prop.
436 (frameset-live-filter-alist, frameset-persistent-filter-alist):
437 Use new :never value instead of t.
438 (frameset-filter-alist): Expand and clarify docstring.
439 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
440 (frameset-filter-minibuffer, frameset-filter-save-param)
441 (frameset-filter-restore-param, frameset-filter-iconified):
442 Add pointer to docstring of frameset-filter-alist.
443 (frameset-filter-params): Rename filter values to be more meaningful:
444 :never instead of t, and reverse the meanings of :save and :restore.
445 (frameset--process-minibuffer-frames): Clarify error message.
446 (frameset-save): Avoid unnecessary and confusing call to framep.
447 Use new BOA constructor for framesets.
448 (frameset--reuse-list): Doc fix.
449 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
450 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
451 (frameset-minibufferless-first-p): Doc fix.
452 Rename from frameset-sort-frames-for-deletion.
453 (frameset-restore): Doc fixes. Use new function names.
454 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
456 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
458 * desktop.el (desktop-restore-forces-onscreen)
459 (desktop-restore-reuses-frames): Document :keyword constant values.
460 (desktop-filter-parameters-alist): Remove, now identical to
461 frameset-filter-alist.
462 (desktop--filter-tty*): Remove, moved to frameset.el.
463 (desktop-save-frameset, desktop-restore-frameset):
464 Do not pass :filters argument.
466 * frameset.el (frameset-live-filter-alist)
467 (frameset-persistent-filter-alist): New variables.
468 (frameset-filter-alist): Use them. Add autoload cookie.
469 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
470 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
471 `frameset--id' (it's supposed to be internal to frameset.el).
472 (frameset--process-minibuffer-frames): Ditto. Doc fix.
473 (frameset--initial-params): New function.
474 (frameset--get-frame): Use it. Doc fix.
475 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
476 Accept :all, not 'all.
477 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
478 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
479 with fbound symbols. Fix frame id matching, and remove matching ids if
480 the frame being restored is deleted. Obey :delete.
482 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
484 * subr.el (macrop): New function.
485 (text-clone--maintaining): New var.
486 (text-clone--maintain): Rename from text-clone-maintain. Use it
487 instead of inhibit-modification-hooks.
489 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
490 a proxy, so as handle autoloads and redefinitions of the target.
491 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
493 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
494 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
495 (pcase--mutually-exclusive-p): New function.
496 (pcase--split-consp): Use it.
497 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
498 mutually exclusive with the current predicate.
500 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
501 (edebug-macrop): Remove. Use `macrop' instead.
502 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
504 * eshell/esh-cmd.el (eshell-macrop):
505 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
507 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
509 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
510 (advice-mapc): New function, using it.
511 (advice-function-member-p): New function.
512 (advice--normalize): Store the cdr in advice--saved-rewrite since
513 that's the part that will be changed.
514 (advice--symbol-function): New function.
515 (advice-remove): Handle removal before the function is defined.
516 Adjust to new advice--saved-rewrite.
517 (advice-member-p): Use advice-function-member-p and
518 advice--symbol-function.
520 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
522 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
523 (frameset-filter-minibuffer): Doc fix.
524 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
525 (frameset--set-id, frameset--process-minibuffer-frames)
526 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
527 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
529 * desktop.el (desktop-clear): Only delete frames when called
530 interactively and desktop-restore-frames is non-nil. Doc fix.
531 (desktop-read): Set desktop-saved-frameset to nil.
533 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
535 * vc/vc.el (vc-ignore): Rewrite.
536 (vc-default-ignore-completion-table):
538 (vc--add-line, vc--remove-regexp): New functions.
540 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
541 (vc-svn-ignore-completion-table): New function.
543 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
544 (vc-hg-ignore-completion-table):
545 (vc-hg-find-ignore-file): New functions.
547 * vc/vc-git.el (vc-git-ignore): Rewrite.
548 (vc-git-ignore-completion-table):
549 (vc-git-find-ignore-file): New functions.
551 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
553 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
554 (vc-bzr-ignore-completion-table):
555 (vc-bzr-find-ignore-file): New functions.
557 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
559 * frameset.el (frameset-prop): New function and setter.
560 (frameset-save): Do not modify frame list passed by the caller.
562 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
564 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
566 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
568 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
569 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
571 * custom.el (custom-initialize-default, custom-initialize-set)
572 (custom-initialize-reset, custom-initialize-changed): Affect the
573 toplevel-default-value (bug#6275, bug#14586).
574 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
577 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
579 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
580 Add cl-def* expressions.
582 * frameset.el (frameset-filter-params): Fix order of arguments.
584 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
586 Move code related to saving frames to frameset.el.
587 * desktop.el: Require frameset.
588 (desktop-restore-frames): Doc fix.
589 (desktop-restore-reuses-frames): Rename from
590 desktop-restoring-reuses-frames.
591 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
592 (desktop-clear): Clear frames too.
593 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
594 (desktop--filter-tty*, desktop-save, desktop-read):
595 Use frameset functions.
596 (desktop-before-saving-frames-functions, desktop--filter-*-color)
597 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
598 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
599 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
600 (desktop--process-minibuffer-frames, desktop-save-frames)
601 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
602 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
603 (desktop--sort-states, desktop-restoring-frames-p)
604 (desktop-restore-frames): Remove. Most code moved to frameset.el.
605 (desktop-restoring-frameset-p, desktop-restore-frameset)
606 (desktop--check-dont-save, desktop-save-frameset): New functions.
607 (desktop--app-id): New constant.
608 (desktop-first-buffer, desktop-buffer-ok-count)
609 (desktop-buffer-fail-count): Move before first use.
610 * frameset.el: New file.
612 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
614 * files.el: Use lexical-binding.
615 (dir-locals-read-from-file): Remove unused `err' variable.
616 (hack-dir-local-variables--warned-coding): New var.
617 (hack-dir-local-variables): Use it to avoid repeated warnings.
618 (make-backup-file-name--default-function): New function.
619 (make-backup-file-name-function): Use it as default.
620 (buffer-stale--default-function): New function.
621 (buffer-stale-function): Use it as default.
622 (revert-buffer-insert-file-contents--default-function): New function.
623 (revert-buffer-insert-file-contents-function): Use it as default.
624 (insert-directory): Avoid add-to-list.
626 * autorevert.el (auto-revert-handler): Simplify.
627 Use buffer-stale--default-function.
629 2013-08-01 Tassilo Horn <tsdh@gnu.org>
631 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
633 * whitespace.el (whitespace-ensure-local-variables): New function.
634 (whitespace-cleanup-region): Call it.
635 (whitespace-turn-on): Call it.
637 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
639 Complete file name handlers.
641 * net/tramp.el (tramp-handle-set-visited-file-modtime)
642 (tramp-handle-verify-visited-file-modtime)
643 (tramp-handle-file-notify-rm-watch): New functions.
644 (tramp-call-process): Do not bind `default-directory'.
646 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
647 Order alphabetically.
648 [access-file, add-name-to-file, dired-call-process]:
649 [dired-compress-file, file-acl, file-notify-rm-watch]:
650 [file-ownership-preserved-p, file-selinux-context]:
651 [make-directory-internal, make-symbolic-link, set-file-acl]:
652 [set-file-selinux-context, set-visited-file-modtime]:
653 [verify-visited-file-modtime]: Add handler.
654 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
657 [file-notify-add-watch, file-notify-rm-watch]:
658 [set-file-times, set-visited-file-modtime]:
659 [verify-visited-file-modtime]: Add handler.
660 (with-tramp-gvfs-error-message)
661 (tramp-gvfs-handle-set-visited-file-modtime)
662 (tramp-gvfs-fuse-file-name): Remove.
663 (tramp-gvfs-handle-file-notify-add-watch)
664 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
665 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
667 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
668 Order alphabetically.
669 [file-notify-rm-watch ]: Use default Tramp handler.
670 [executable-find]: Remove private handler.
671 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
673 (tramp-sh-handle-executable-find)
674 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
675 (tramp-sh-file-gvfs-monitor-dir-process-filter)
676 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
677 Do not use `format' in `tramp-message'.
679 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
680 [file-notify-rm-watch, set-visited-file-modtime]:
681 [verify-visited-file-modtime]: Add handler.
682 (tramp-smb-call-winexe): Do not bind `default-directory'.
684 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
686 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
688 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
690 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
692 (log-view-diff-changeset): Same.
693 (log-view-diff-common): Call backend command `previous-revision'
694 to find out the previous revision, in both cases. Swap the
695 variables `to' and `fr', so that `fr' usually refers to the
696 earlier revision (Bug#14989).
698 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
700 * ibuf-ext.el (ibuffer-filter-by-filename):
701 Make it work with dired buffers too.
703 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
705 * emacs-lisp/re-builder.el (reb-color-display-p):
706 * files.el (save-buffers-kill-terminal):
707 * net/browse-url.el (browse-url):
708 * server.el (server-save-buffers-kill-terminal):
709 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
710 Prefer nil to selected-frame for the first arg of frame-parameter.
712 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
714 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
716 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
718 * minibuffer.el (completion--twq-all): Try and preserve each
719 completion's case choice (bug#14907).
721 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
723 * net/network-stream.el (open-network-stream): Mention the new
724 :nogreeting parameter.
725 (network-stream-open-starttls): Use the :nogreeting parameter
728 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
730 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
731 more natural than popping.
733 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
734 (shr-urlify): Highlight under mouse.
736 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
738 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
740 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
742 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
745 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
746 point-min==1. Fix search string. Fix parentheses missing.
748 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
749 assume point-min==1. Fix search string. Fix parentheses missing.
751 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
753 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
756 2013-07-29 Eli Zaretskii <eliz@gnu.org>
758 * frame.el (frame-notice-user-settings): Avoid inflooping when the
759 initial frame is minibuffer-less. (Bug#14841)
761 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
763 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
766 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
767 (tramp-maybe-open-connection): Use it.
769 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
771 * desktop.el (desktop--make-frame): Include `minibuffer' in the
772 minimal set of parameters passed when creating a frame, because
773 the minibuffer status of a frame cannot be changed later.
775 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
777 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
778 replace-regexp-in-string and inadvertent omissions in previous change.
779 (todo-filter-items): Ensure only file names are comma-separated in
780 name of filtered items buffer.
782 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
784 * desktop.el: Optionally force offscreen frames back onscreen.
785 (desktop-restoring-reuses-frames): New option.
786 (desktop--compute-pos, desktop--move-onscreen): New functions.
787 (desktop--make-frame): Use desktop--move-onscreen.
789 2013-07-27 Alan Mackenzie <acm@muc.de>
791 Fontify a Java generic method as a function.
792 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
795 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
797 * calendar/todo-mode.el: Add command to rename todo files.
798 (todo-rename-file): New command.
799 (todo-key-bindings-t): Add key binding for it. Change the
800 bindings of todo-filter-regexp-items(-multifile) to use `x'
801 instead of `r', since the latter is better suited to the new
804 2013-07-27 Alan Mackenzie <acm@muc.de>
806 Make Java try-with-resources statement parse properly.
807 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
808 (c-block-stmt-1-2-key): New language constants/variables.
809 * progmodes/cc-engine.el (c-beginning-of-statement-1)
810 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
811 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
812 with c-block-stmt-1-2-key.
814 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
816 * desktop.el (desktop--make-frame): Apply most frame parameters after
817 creating the frame to force (partially or totally) offscreen frames to
820 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
822 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
825 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
827 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
828 `base' arg of backtrace-frame.
830 2013-07-26 Eli Zaretskii <eliz@gnu.org>
832 * simple.el (list-processes): Doc fix.
834 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
836 * desktop.el (desktop--select-frame):
837 Try harder to reuse existing frames.
839 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
841 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
842 (edebug-eval): Use backtrace-eval.
843 (edebug--display, edebug--recursive-edit): Don't let-bind the
844 edebug-outer-* vars that keep track of variables we locally let-bind.
845 (edebug-outside-excursion): Don't restore outside values of locally
847 (edebug--display): Use user-error.
848 (cl-lexical-debug, cl-debug-env): Remove.
850 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
852 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
853 are restored to be sure that they are visible before deleting any
856 2013-07-26 Matthias Meulien <orontee@gmail.com>
858 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
859 vc-print-root-log. (Bug#14948)
861 2013-07-26 Richard Stallman <rms@gnu.org>
863 Add aliases for encrypting mail.
864 * epa.el (epa-mail-aliases): New option.
865 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
866 Bind inhibit-read-only so read-only text doesn't ruin everything.
867 (epa-mail-default-recipients): New subroutine broken out.
868 Handle epa-mail-aliases.
870 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
872 Add support for lexical variables to the debugger's `e' command.
873 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
874 vars, except for debugger-outer-match-data.
875 (debugger-frame-number): Move check for "on a function call" from
876 callers into it. Add `skip-base' argument.
877 (debugger-frame, debugger-frame-clear): Simplify accordingly.
878 (debugger-env-macro): Only reset the state stored in non-variables,
879 i.e. current-buffer and match-data.
880 (debugger-eval-expression): Rewrite using backtrace-eval.
881 * subr.el (internal--called-interactively-p--get-frame): Remove.
882 (called-interactively-p):
883 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
884 `base' arg of backtrace-frame instead.
886 2013-07-26 Glenn Morris <rgm@gnu.org>
888 * align.el (align-regexp): Doc fix. (Bug#14857)
889 (align-region): Explicit error if subexpression missing/does not match.
891 * simple.el (global-visual-line-mode):
892 Do not duplicate the mode lighter. (Bug#14858)
894 2013-07-25 Martin Rudalics <rudalics@gmx.at>
896 * window.el (display-buffer): In display-buffer bind
897 split-window-keep-point to t, bug#14829.
899 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
901 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
902 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
903 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
904 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
906 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
907 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
909 2013-07-25 Glenn Morris <rgm@gnu.org>
911 * dired-x.el (dired-mark-extension): Convert comment to doc string.
913 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
915 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
916 parameter to modify-frame-parameters if the value has not changed;
917 this is a workaround for bug#14949.
918 (desktop--make-frame): On cl-delete-if call, check parameter name,
921 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
923 * vc/vc.el (vc-ignore): New function.
925 * vc/vc-svn.el (vc-svn-ignore): New function.
927 * vc/vc-hg.el (vc-hg-ignore): New function.
929 * vc/vc-git.el (vc-git-ignore): New function.
931 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
932 (vc-dir-ignore): New function.
934 * vc/vc-cvs.el (vc-cvs-ignore): New function.
935 (cvs-append-to-ignore): Move here from pcvs.el.
937 * vc/vc-bzr.el (vc-bzr-ignore): New function.
939 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
941 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
943 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
944 (desktop-restore-frames): Warn when deleting an existing frame failed.
946 2013-07-24 Glenn Morris <rgm@gnu.org>
948 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
950 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
952 * filenotify.el (file-notify-supported-p):
953 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
956 * autorevert.el (auto-revert-use-notify):
957 (auto-revert-notify-add-watch):
958 * net/tramp.el (tramp-file-name-for-operation):
959 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
960 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
961 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
962 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
963 Remove `file-notify-supported-p' entry.
965 2013-07-24 Glenn Morris <rgm@gnu.org>
967 * printing.el: Replace all uses of deleted ps-windows-system,
968 ps-lp-system, ps-flatten-list with lpr- versions.
970 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
972 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
973 checked with memq (bug#14935).
975 * files.el (revert-buffer-function): Use a non-nil default.
976 (revert-buffer-preserve-modes): Declare var to
977 provide access to the `preserve-modes' argument.
978 (revert-buffer): Let-bind it.
979 (revert-buffer--default): New function, extracted from revert-buffer.
981 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
983 * lpr.el: Signal print errors more prominently.
984 (print-region-function): Don't default to nil.
985 (lpr-print-region): New function, extracted from print-region-1.
986 Check lpr's return value and signal an error in case of problem.
987 (print-region-1): Use it.
988 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
990 (ps-printer-name): Default to nil.
991 (ps-printer-name-option): Default to lpr-printer-switch.
992 (ps-print-region-function): Don't default to nil.
993 (ps-postscript-code-directory): Simplify default.
994 (ps-do-despool): Use lpr-print-region to properly check the outcome.
995 (ps-string-list, ps-eval-switch, ps-flatten-list)
996 (ps-flatten-list-1): Remove.
997 (ps-multibyte-buffer): Avoid setq.
998 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
999 (print-region-function, ps-print-region-function): Don't set them here.
1001 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1003 * ido.el (ido-fractionp):
1004 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1005 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1006 (ido-max-directory-size, ido-max-dir-file-cache)
1007 (ido-decorations): Doc fix.
1009 * ansi-color.el: Fix old URL.
1011 2013-07-23 Michael R. Mauger <michael@mauger.com>
1013 * progmodes/sql.el Version 3.3
1014 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1015 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1016 (sql-interactive-remove-continuation-prompt): Rewrite, use
1017 functions above. Fix continuation prompt and complete output line
1019 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1020 redirected output buffer.
1021 (sql-mode): Restore deleted code (Bug#13591).
1023 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1025 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1027 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1029 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1031 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1032 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1033 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1035 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1037 * desktop.el (desktop-clear): Simplify; remove useless checks
1038 against invalid buffer names.
1039 (desktop-list*): Use cl-list*.
1040 (desktop-buffer-info, desktop-create-buffer): Simplify.
1042 2013-07-23 Leo Liu <sdl.web@gmail.com>
1044 * bookmark.el (bookmark-make-record): Restore NAME as a default
1047 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1050 extracted from autoload--insert-text.
1051 (autoload--insert-text): Remove.
1052 (autoload--print-cookie-text): New function, extracted from
1053 autoload--insert-cookie-text.
1054 (autoload--insert-cookie-text): Remove.
1055 (autoload-generate-file-autoloads): Adjust calls accordingly.
1057 * winner.el (winner-hook-installed-p): Remove.
1058 (winner-mode): Simplify accordingly.
1060 * subr.el (add-to-list): Fix compiler-macro when `append' is
1061 not constant. Don't use `cl-member' for the base case.
1063 * progmodes/subword.el: Fix boundary case (bug#13758).
1064 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1066 (subword-backward-regexp): Make it a constant.
1067 (subword-forward-internal): Don't treat a trailing capital as the
1068 beginning of a word.
1070 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1072 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1073 global value of tabulated-list-revert-hook (bug#14930).
1075 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1077 * desktop.el: Require 'cl-lib.
1078 (desktop-before-saving-frames-functions): New hook.
1079 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1080 for frames being saved. Rename from desktop--save-minibuffer-frames.
1081 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1082 Do not save frames with non-nil `desktop-dont-save' parameter.
1083 Filter out deleted frames.
1084 (desktop--find-frame): Use cl-find-if.
1085 (desktop--select-frame): Use cl-(first|second|third) to access values
1087 (desktop--make-frame): Use cl-delete-if.
1088 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1089 (desktop-restore-frames): Use cl-(first|second|third) to access values
1090 of desktop-mini. Look for visible frame at the end, not while
1093 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1094 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1095 Use string-match-p, looking-at-p (bug#14927).
1097 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1099 * desktop.el (desktop-saved-frame-states):
1100 Rename from desktop--saved-states; all users changed.
1101 (desktop-save-frames): Rename from desktop--save-frames.
1102 Do not save state to desktop file.
1103 (desktop-save): Save desktop-saved-frame-states to desktop file
1105 (desktop-restoring-frames-p): New function.
1106 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1107 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1108 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1110 * desktop.el: Correctly restore iconified frames.
1111 (desktop--filter-iconified-position): New function.
1112 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1114 2013-07-20 Glenn Morris <rgm@gnu.org>
1116 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1117 Let `message' do the formatting.
1118 (def-gdb-preempt-display-buffer): Add explicit format.
1120 * image-dired.el (image-dired-track-original-file):
1121 Use with-current-buffer.
1122 (image-dired-track-thumbnail): Use with-current-buffer.
1123 Avoid changing point of wrong window.
1125 * image-dired.el (image-dired-track-original-file):
1126 Avoid changing point of wrong window. (Bug#14909)
1128 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1130 * progmodes/gdb-mi.el (gdb-done-or-error):
1131 Guard against "%" in gdb output. (Bug#14127)
1133 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1135 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1138 * international/mule.el (coding-system-iso-2022-flags): Fix last
1141 2013-07-20 Kenichi Handa <handa@gnu.org>
1143 * international/mule.el (coding-system-iso-2022-flags):
1144 Add `8-bit-level-4'. (Bug#8522)
1146 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1148 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1151 * net/eww.el (eww-process-text-input): Allow inputting when the
1152 point is at the start of the line, as the properties aren't
1155 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1158 2013-07-19 Richard Stallman <rms@gnu.org>
1160 * epa.el (epa-popup-info-window): Doc fix.
1162 * subr.el (split-string): New arg TRIM.
1164 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1166 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1167 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1169 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1171 * filenotify.el (file-notify--library): Rename from
1172 `file-notify-support'. Do not autoload. Adapt all uses.
1173 (file-notify-supported-p): New defun.
1175 * autorevert.el (auto-revert-use-notify):
1176 Use `file-notify-supported-p' instead of `file-notify-support'.
1178 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1180 * net/tramp.el (tramp-file-name-for-operation):
1181 Add `file-notify-supported-p'.
1183 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1185 (tramp-sh-file-name-handler-alist): Add it as handler for
1186 `file-notify-supported-p '.
1188 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1189 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1190 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1191 Add `ignore' as handler for `file-notify-*' functions.
1193 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1195 * simple.el (line-move-partial, line-move): Don't start vscroll or
1196 scroll-up if the current line is not taller than the window.
1199 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1202 highlight question marks in the method names as strings.
1203 (ruby-block-beg-keywords): Inline.
1204 (ruby-font-lock-keyword-beg-re): Extract from
1205 `ruby-font-lock-keywords'.
1207 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1209 * frame.el (blink-cursor-blinks): New defcustom.
1210 (blink-cursor-blinks-done): New defvar.
1211 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1212 (blink-cursor-timer-function): Check if number of blinks has been
1214 (blink-cursor-suspend, blink-cursor-check): New defuns.
1216 2013-07-15 Glenn Morris <rgm@gnu.org>
1218 * edmacro.el (edmacro-format-keys): Fix previous change.
1220 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1222 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1223 The hack didn't work outside English locales anyway.
1225 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1227 * simple.el (define-alternatives): Rename from alternatives-define,
1228 per RMS' suggestion.
1230 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1232 * desktop.el (desktop-restore-frames): Change default to t.
1233 (desktop-restore-in-current-display): Now offer more options.
1234 (desktop-restoring-reuses-frames): New customization option.
1235 (desktop--saved-states): Doc fix.
1236 (desktop-filter-parameters-alist): New variable, renamed and expanded
1237 from desktop--excluded-frame-parameters.
1238 (desktop--target-display): New variable.
1239 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1240 (desktop--filter-tty*, desktop--filter-*-color)
1241 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1242 (desktop--filter-save-desktop-parm)
1243 (desktop-restore-in-original-display-p): New functions.
1244 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1245 (desktop--save-minibuffer-frames): New function, inspired by a similar
1246 function from Martin Rudalics.
1247 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1248 (desktop--restore-in-this-display-p): Remove.
1249 (desktop--find-frame): Rename from desktop--find-frame-in-display
1250 and add predicate argument.
1251 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1252 (desktop--reuse-list): New variable.
1253 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1255 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1257 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1259 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1261 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1263 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1264 Highlight conversion methods on Kernel.
1266 2013-07-13 Alan Mackenzie <acm@muc.de>
1268 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1269 and comment it out. This out-commenting enables certain C++
1270 declarations to be parsed correctly.
1272 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1274 * international/mule.el (define-coding-system): Doc fix.
1276 * simple.el (default-font-height): Don't call font-info if the
1277 frame's default font didn't change since the frame was created.
1280 2013-07-13 Leo Liu <sdl.web@gmail.com>
1282 * ido.el (ido-read-file-name): Guard against non-symbol value.
1284 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1286 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1289 2013-07-13 Leo Liu <sdl.web@gmail.com>
1291 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1292 ido-set-matches call. (Bug#6852)
1294 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1296 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1297 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1299 (ruby-font-lock-keywords): Distinguish calls to functions with
1300 module-like names from module references. Highlight character
1303 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1305 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1306 (gdb-send): Handle continued commands. (Bug#14847)
1308 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1310 * desktop.el (desktop--v2s): Remove unused local variable.
1311 (desktop-save-buffer): Make defvar-local; adjust docstring.
1312 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1313 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1315 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1317 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1319 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1321 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1324 2013-07-12 Glenn Morris <rgm@gnu.org>
1326 * doc-view.el: Require cl-lib at runtime too.
1327 (doc-view-remove-if): Remove.
1328 (doc-view-search-next-match, doc-view-search-previous-match):
1331 * edmacro.el: Require cl-lib at runtime too.
1332 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1333 (edmacro-mismatch, edmacro-subseq): Remove.
1335 * shadowfile.el: Require cl-lib.
1336 (shadow-remove-if): Remove.
1337 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1340 * wid-edit.el: Require cl-lib.
1341 (widget-choose): Use cl-remove-if.
1342 (widget-remove-if): Remove.
1344 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1345 (ebrowse-delete-if-not): Remove.
1346 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1347 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1348 Use cl-delete-if-not.
1350 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1352 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1353 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1355 2013-07-12 Leo Liu <sdl.web@gmail.com>
1357 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1359 2013-07-11 Glenn Morris <rgm@gnu.org>
1361 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1362 (edebug-gensym-index, edebug-gensym):
1363 Remove reimplementation of cl-gensym.
1364 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1366 * thumbs.el: Require cl-lib at run-time too.
1367 (thumbs-gensym-counter, thumbs-gensym):
1368 Remove reimplementation of cl-gensym.
1369 (thumbs-temp-file): Use cl-gensym.
1371 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1372 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1373 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1374 (ert--union, ert--gensym-counter, ert--gensym-counter)
1375 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1376 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1377 (ert-make-test-unbound, ert--expand-should-1)
1378 (ert--expand-should, ert--should-error-handle-error)
1379 (should-error, ert--explain-equal-rec)
1380 (ert--plist-difference-explanation, ert-select-tests)
1381 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1382 Use cl-lib functions rather than reimplementations.
1384 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
1386 * net/tramp.el (tramp-methods): Extend docstring.
1387 (tramp-connection-timeout): New defcustom.
1388 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1389 (with-tramp-progress-reporter): Simplify.
1390 (tramp-process-actions): Improve messages.
1392 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1393 * net/tramp-sh.el (tramp-maybe-open-connection):
1394 Use `tramp-connection-timeout'.
1395 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1398 2013-07-11 Leo Liu <sdl.web@gmail.com>
1400 * ido.el (ido-read-file-name): Conform to the requirements of
1401 read-file-name. (Bug#11861)
1402 (ido-read-directory-name): Conform to the requirements of
1403 read-directory-name.
1405 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
1407 * subr.el (delay-warning): New function.
1409 2013-07-10 Eli Zaretskii <eliz@gnu.org>
1411 * simple.el (default-line-height): New function.
1412 (line-move-partial, line-move): Use it instead of computing the
1414 (line-move-partial): Always compute ROWH. If the last line is
1415 partially-visible, but its text is completely visible, allow
1416 cursor to enter such a partially-visible line.
1418 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
1420 Improve error messages. (Bug#14808)
1422 * net/tramp.el (tramp-current-connection): New defvar, moved from
1424 (tramp-message-show-progress-reporter-message): Remove, not
1426 (tramp-error-with-buffer): Show message in minibuffer.
1427 Discard input before waiting. Reset connection timestamp.
1428 (with-tramp-progress-reporter): Improve messages.
1429 (tramp-process-actions): Use progress reporter. Delete process in
1430 case of error. Improve messages.
1432 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1433 Call `tramp-error-with-buffer' with vector and buffer.
1434 (tramp-current-connection): Remove.
1435 (tramp-maybe-open-connection): The car of
1436 `tramp-current-connection' are the first 3 slots of the vector.
1438 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1440 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1441 inside continued strings.
1443 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1445 Timestamp fixes for undo (Bug#14824).
1446 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1448 2013-07-10 Leo Liu <sdl.web@gmail.com>
1450 * files.el (require-final-newline): Allow safe local value.
1453 2013-07-09 Leo Liu <sdl.web@gmail.com>
1455 * ido.el (ido-read-directory-name): Handle fallback.
1456 (ido-read-file-name): Update DIR to ido-current-directory.
1458 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
1460 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1462 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1463 "autoload". Remove "warn lower camel case" section, previously
1464 commented out. Highlight negation char. Do not highlight the
1465 target in singleton method definitions.
1467 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * faces.el (tty-setup-hook): Declare the hook.
1471 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1472 and detect when a guard/pred depends on local vars (bug#14773).
1473 (pcase--u1): Adjust caller.
1475 2013-07-08 Eli Zaretskii <eliz@gnu.org>
1477 * simple.el (line-move-partial, line-move): Account for
1479 (line-move-partial): Avoid setting vscroll when the last
1480 partially-visible line in window is of default height.
1482 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1484 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1487 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
1489 * subr.el (read-quoted-char): Remove unused local variable `char'.
1491 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1493 * ediff.el (ediff-version): Version update.
1494 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1495 (ediff-merge-with-ancestor-command, ediff-directories-command)
1496 (ediff-directories3-command, ediff-merge-directories-command)
1497 (ediff-merge-directories-with-ancestor-command): New functions.
1498 All are command-line interfaces to ediff: to facilitate calling
1499 Emacs with the appropriate ediff functions invoked.
1501 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1502 (viper-save-kill-buffer): Check if buffer is modified.
1504 * viper.el (viper-version): Version update.
1505 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1507 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1509 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1510 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1511 (viper-intercept-ESC-key): Simplify.
1512 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1513 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1514 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1515 (viper-setup-ESC-to-escape): New functions.
1516 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1517 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
1519 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1521 * simple.el (default-font-height, window-screen-lines):
1523 (line-move, line-move-partial): Use them instead of
1524 frame-char-height and window-text-height. This makes scrolling
1525 text smoother when the buffer's default face uses a font that is
1526 different from the frame's default font.
1528 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1530 * files.el (write-file): Do not display confirm dialog for NS,
1531 it does its own dialog, which can't be cancelled (Bug#14578).
1533 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1535 * simple.el (line-move-partial): Adjust the row returned by
1536 posn-at-point for the current window-vscroll. (Bug#14567)
1538 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1540 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1541 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1544 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1546 * window.el (window-state-put-stale-windows): New variable.
1547 (window--state-put-2): Save list of windows without matching buffer.
1548 (window-state-put): Remove "bufferless" windows if possible.
1550 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1552 * simple.el (alternatives-define): Remove leftover :group keyword.
1555 2013-07-06 Leo Liu <sdl.web@gmail.com>
1557 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1558 (ido-enable-virtual-buffers): New variable.
1559 (ido-buffer-internal, ido-toggle-virtual-buffers)
1560 (ido-make-buffer-list): Use it.
1561 (ido-exhibit): Support turning on and off virtual buffers
1564 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1566 * simple.el (alternatives-define): New macro.
1568 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1570 * subr.el (read-quoted-char): Use read-key.
1571 (sit-for): Let read-event decode tty input (bug#14782).
1573 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1575 * calendar/todo-mode.el: Add handling of file deletion, both by
1576 mode command and externally. Fix various related bugs.
1577 Clarify Commentary and improve some documentation strings and code.
1578 (todo-delete-file): New command.
1579 (todo-check-file): New function.
1580 (todo-show): Handle external deletion of the file we're trying to
1581 show (bug#14688). Replace called-interactively-p by an optional
1582 prefix argument to avoid problematic interaction with catch form
1583 when byte compiled (bug#14702).
1584 (todo-quit): Handle external deletion of the archive's todo file.
1585 Make sure the buffer that was visiting the archive file is still
1586 live before trying to bury it.
1587 (todo-category-completions): Handle external deletion of any
1588 category completion files.
1589 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1590 of todo files, in case of external deletion.
1591 (todo-add-file): Replace unnecessary setq by let-binding.
1592 (todo-find-archive): Check whether there are any archives.
1593 Replace unnecessary setq by let-binding.
1594 (todo-archive-done-item): Use find-file-noselect to get the
1595 archive buffer whether or not the archive already exists.
1596 Remove superfluous code. Use file size instead of buffer-file-name to
1597 check if the archive is new; if it is, update list of archives.
1598 (todo-default-todo-file): Allow nil to be a valid value for when
1599 there are no todo files.
1600 (todo-reevaluate-default-file-defcustom): Use corrected definition
1601 of todo-default-todo-file.
1602 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1603 (todo-delete-category, todo-show-categories-table)
1604 (todo-category-number): Clarify comment.
1605 (todo-filter-items): Clarify documentation string.
1606 (todo-show-current-file, todo-display-as-todo-file)
1607 (todo-reset-and-enable-done-separator): Tweak documentation string.
1608 (todo-done-separator): Make separator length window-width, since
1609 bug#2749 is now fixed.
1611 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1613 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1614 Support both "gvfs-monitor-dir" and "inotifywait".
1615 (tramp-sh-file-inotifywait-process-filter): Rename from
1616 `tramp-sh-file-notify-process-filter'.
1617 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1618 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1620 2013-07-05 Leo Liu <sdl.web@gmail.com>
1622 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1624 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1626 * frame.el (display-pixel-height, display-pixel-width)
1627 (display-mm-height, display-mm-width): Mention behavior on
1628 multi-monitor setups in docstrings.
1629 (w32-display-monitor-attributes-list): Declare function.
1630 (display-monitor-attributes-list): Use it.
1632 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1634 * filenotify.el: New package.
1636 * autorevert.el (top): Require filenotify.el.
1637 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1639 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1640 (auto-revert-notify-handler): Use `file-notify-*' functions.
1642 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1644 * net/tramp.el (tramp-file-name-for-operation):
1645 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1647 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1648 for `file-notify-add-watch' and `file-notify-rm-watch'.
1649 (tramp-process-sentinel): Improve trace.
1650 (tramp-sh-handle-file-notify-add-watch)
1651 (tramp-sh-file-notify-process-filter)
1652 (tramp-sh-handle-file-notify-rm-watch)
1653 (tramp-get-remote-inotifywait): New defuns.
1655 2013-07-03 Juri Linkov <juri@jurta.org>
1657 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1658 call of `occur-read-primary-args' to interactive spec.
1660 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1661 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1663 2013-07-03 Matthias Meulien <orontee@gmail.com>
1665 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1666 `Buffer-menu-multi-occur'. Add it to the menu.
1667 (Buffer-menu-mode): Document it in docstring.
1668 (Buffer-menu-multi-occur): New command. (Bug#14673)
1670 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1672 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1673 keywords and built-ins.
1675 2013-07-03 Glenn Morris <rgm@gnu.org>
1677 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1679 Make info-xref checks case-sensitive by default
1680 * info.el (Info-find-node, Info-find-in-tag-table)
1681 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1682 Add option for exact case matching of nodes.
1683 * info-xref.el (info-xref): New custom group.
1684 (info-xref-case-fold): New option.
1685 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1687 2013-07-03 Leo Liu <sdl.web@gmail.com>
1689 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1691 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1693 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1694 middle of block statement initially, lower the depth. Remove
1695 FIXME comment, not longer valid. Remove middle of block statement
1696 detection, no need to do that anymore since we've been using
1697 `ruby-parse-region' here.
1699 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1701 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1703 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
1705 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1707 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
1709 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1710 (desktop-restore-in-current-display): New customization option.
1711 (desktop--excluded-frame-parameters): Add `font'.
1712 (desktop--save-frames): Rename from desktop--save-windows.
1713 (desktop--restore-in-this-display-p): New function.
1714 (desktop--make-full-frame): Remove unwanted width/height from
1715 full(width|height) frames.
1716 (desktop--restore-frames): Rename from desktop--restore-windows.
1717 Obey desktop-restore-current-display. Do not delete old frames or
1718 select a new frame unless we were able to restore at least one frame.
1720 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
1722 * files.el (find-file-noselect): Simplify conditional expression.
1724 * remember.el (remember-append-to-file):
1725 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1727 Add `remember-notes' function to store random notes across Emacs
1729 * remember.el (remember-data-file): Add :set callback to affect
1730 notes buffer (if any).
1731 (remember-notes): New command.
1732 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1733 New defcustoms for the `remember-notes' function.
1734 (remember-notes-save-and-bury-buffer): New command.
1735 (remember-notes-mode-map): New variable.
1736 (remember-mode): New minor mode.
1737 (remember-notes--kill-buffer-query): New function.
1738 * startup.el (initial-buffer-choice): Add notes to custom type.
1740 2013-06-30 Eli Zaretskii <eliz@gnu.org>
1742 * bindings.el (right-char, left-char): Don't call sit-for, this is
1743 no longer needed. Use arithmetic comparison only for numerical
1746 * international/mule-cmds.el (select-safe-coding-system):
1747 Handle the case of FROM being a string correctly. (Bug#14755)
1749 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1751 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1752 progression on degenerate tables.
1753 (shr-rescale-image): ImageMagick animated images currently don't work.
1755 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
1757 Some fixes and improvements for desktop frame restoration.
1758 It is still experimental and disabled by default.
1759 * desktop.el (desktop--save-windows): Put the selected frame at
1760 the head of the list.
1761 (desktop--make-full-frame): New function.
1762 (desktop--restore-windows): Try to re-select the frame that was
1763 selected upon saving. Do not abort if some frames fail to restore,
1764 just show an error message and continue. Set up maximized frames
1765 so they have default non-maximized dimensions.
1767 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1769 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1770 Don't start heredoc inside a string or comment.
1772 2013-06-29 Eli Zaretskii <eliz@gnu.org>
1774 * bindings.el (visual-order-cursor-movement): New defcustom.
1775 (right-char, left-char): Provide visual-order cursor motion by
1776 calling move-point-visually. Update the doc strings.
1778 2013-06-28 Kenichi Handa <handa@gnu.org>
1780 * international/mule.el (define-coding-system): New coding system
1781 properties :inhibit-null-byte-detection,
1782 :inhibit-iso-escape-detection, and :prefer-utf-8.
1783 (set-buffer-file-coding-system): If :charset-list property of
1784 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1785 appropriate for setting.
1787 * international/mule-cmds.el (select-safe-coding-system):
1788 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1789 multibyte characters, return utf-8 (or one of its siblings).
1791 * international/mule-conf.el (prefer-utf-8): New coding system.
1792 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1795 2013-06-28 Ivan Kanis <ivan@kanis.fr>
1797 * net/shr.el (shr-render-region): New function.
1799 * net/eww.el: Autoload `eww-browse-url'.
1801 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1803 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1804 Adapt to `package-desc-version' being a list.
1805 Use `package--ac-desc-version' to retrieve version from a package
1808 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
1810 New experimental feature to save&restore window and frame setup.
1811 * desktop.el (desktop-save-windows): New defcustom.
1812 (desktop--saved-states): New var.
1813 (desktop--excluded-frame-parameters): New defconst.
1814 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1815 (desktop--restore-windows, desktop--save-windows): New functions.
1816 (desktop-save): Call `desktop--save-windows'.
1817 (desktop-read): Call `desktop--restore-windows'.
1819 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1821 * net/shr.el (add-face-text-property): Remove compat definition.
1823 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1825 * info.el (Info-try-follow-nearest-node): Move search for footnote
1826 above search for node name to prevent missing a footnote (bug#14717).
1828 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1830 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1832 2013-06-27 Leo Liu <sdl.web@gmail.com>
1834 * net/eww.el (eww-read-bookmarks): Check file size.
1836 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1838 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1839 advice--pending if newdef is nil or an autoload (bug#13820).
1840 (advice-mapc): New function.
1842 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1844 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1846 (eww-mode-map): Add a menu bar.
1847 (eww-add-bookmark): New command.
1848 (eww-bookmark-mode): New mode and commands.
1849 (eww-add-bookmark): Remove newlines from the title.
1850 (eww-bookmark-browse): Don't bug out if it's the only window.
1852 2013-06-26 Glenn Morris <rgm@gnu.org>
1854 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1855 (hfy-size): Handle ttys. (Bug#14668)
1857 * info-xref.el: Update for Texinfo 5 change in *note format.
1858 (info-xref-node-re, info-xref-note-re): New constants.
1859 (info-xref-check-buffer): Use info-xref-note-re.
1861 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1865 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1866 nil terminate the loop (bug#14718).
1868 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1870 * net/eww.el: Rework history traversal. When going forward/back,
1871 put these actions into the history, too, so that they can be
1873 (eww-render): Move the history reset to the correct buffer.
1875 2013-06-25 Juri Linkov <juri@jurta.org>
1877 * files-x.el (modify-dir-local-variable): Change the header comment
1878 in the file with directory local variables. (Bug#14692)
1880 * files-x.el (read-file-local-variable-value): Add `default'.
1883 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885 * net/eww.el (eww-make-unique-file-name): Create a unique file
1886 name before saving to entering `y' accidentally asynchronously.
1888 2013-06-25 Ivan Kanis <ivan@kanis.fr>
1890 * net/eww.el (eww-download): New command and keystroke.
1892 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1894 * net/eww.el (eww-copy-page-url): Change name of command.
1896 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1897 be more consistent with Info and dired.
1899 * net/eww.el (eww-mode-map): Ditto.
1901 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1903 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1904 packages from archives.
1905 (package-archive-contents): Change format; include obsolete packages.
1906 (package-desc): Use `dir' to mark builtin packages.
1907 (package--from-builtin): Set the `dir' field to `builtin'.
1908 (generated-autoload-file, version-control): Declare.
1909 (package-compute-transaction): Change first arg and return value to be
1910 lists of package-descs. Adjust to new package-archive-contents format.
1911 (package--add-to-archive-contents): Adjust to new
1912 package-archive-contents format.
1913 (package-download-transaction): Arg is now a list of package-descs.
1914 (package-install): If `pkg' is a package name, pass it as
1915 a requirement, so it is subject to the usual (e.g. disabled) checks.
1916 (describe-package): Accept package-desc as well.
1917 (describe-package-1): Describe a specific package-desc. Add links to
1918 other package-descs for the same package name.
1919 (package-menu-describe-package): Pass the actual package-desc.
1920 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1922 (package-desc-status): New function.
1923 (package-menu--refresh): New function, extracted
1924 from package-menu--generate.
1925 (package-menu--generate): Use it.
1926 (package-delete): Update package-alist.
1927 (package-menu-execute): Don't call package-initialize.
1929 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1930 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1931 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1932 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1933 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1934 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1936 2013-06-25 Martin Rudalics <rudalics@gmx.at>
1938 * window.el (window--state-get-1): Workaround for bug#14527.
1939 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1941 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1943 * net/eww.el (eww-back-url): Implement the history by stashing all
1944 the data into a list.
1945 (eww-forward-url): Allow going forward in the history, too.
1947 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1950 for values and use read--expression for expressions (bug#14710).
1951 (read-file-local-variable): Avoid setq.
1952 (read-file-local-variable-mode): Use minor-mode-list.
1954 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1956 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
1959 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1961 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
1962 Update imenu-support when dialect changes.
1964 2013-06-25 Leo Liu <sdl.web@gmail.com>
1966 * ido.el (ido-read-internal): Allow forward slash on windows.
1968 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970 * net/eww.el (eww): Start of strings is \\`, not ^.
1972 2013-06-24 Ivan Kanis <ivan@kanis.fr>
1974 * net/shr.el (shr-browse-url): Fix interactive spec.
1976 * net/eww.el (eww): Add a trailing slash to domain names.
1978 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
1980 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1982 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1984 * net/shr.el (shr-browse-url): Use an external browser if given a
1987 * net/eww.el (eww-external-browser): Move to shr.
1989 2013-06-24 Ivan Kanis <ivan@kanis.fr>
1991 * net/eww.el (eww): Work more correctly for file: URLs.
1992 (eww-detect-charset): Allow quoted charsets.
1993 (eww-yank-page-url): New command and keystroke.
1995 2013-06-24 Daiki Ueno <ueno@gnu.org>
1997 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1998 file name of gpg executable.
1999 (epg-context-program): New function.
2000 (epg-context-home-directory): New function.
2001 (epg-context-set-program): New function.
2002 (epg-context-set-home-directory): New function.
2003 (epg--start): Use `epg-context-program' instead of
2005 (epg--list-keys-1): Likewise.
2007 2013-06-24 Leo Liu <sdl.web@gmail.com>
2009 * ido.el (ido-read-internal): Fix bug#14620.
2011 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2013 * faces.el (face-documentation): Simplify.
2014 (read-face-attribute, tty-find-type, x-resolve-font-name):
2015 Use `string-match-p'.
2016 (list-faces-display): Use `string-match-p'. Simplify.
2017 (face-spec-recalc): Check face to avoid face alias loops.
2018 (read-color): Use `string-match-p' and non-capturing parenthesis.
2020 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2022 * net/shr.el (shr-rescale-image): Use the new
2023 :max-width/:max-height functionality.
2025 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2027 * net/eww.el (eww-search-prefix): New variable.
2029 (eww-external-browser): New variable.
2030 (eww-mode-map): New keystroke.
2031 (eww-browse-with-external-browser): New command.
2033 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2035 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2037 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2038 Don't skip aligning the next header field when padding is 0;
2039 otherwise, field width is not respected unless the title is as
2042 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2044 * emacs-lisp/package.el (package-el-version): Remove.
2045 (package-process-define-package): Fix inf-loop.
2046 (package-install): Allow symbols as arguments again.
2048 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2050 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2051 add some more keyword-like methods.
2052 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2054 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2056 * bs.el (bs-buffer-show-mark): Make defvar-local.
2057 (bs-mode): Use setq-local.
2059 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2060 (emacs-lock--try-unlocking): Make defvar-local.
2062 2013-06-22 Glenn Morris <rgm@gnu.org>
2064 * play/cookie1.el (cookie-apropos): Minor simplification.
2066 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2068 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2070 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2071 `regexp-opt', it breaks the build during dumping.
2073 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2075 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2076 Highlight keyword-like methods on Kernel and Module with
2077 font-lock-builtin-face.
2078 (auto-mode-alist): Consolidate different entries into one regexp
2079 and add more *file-s.
2081 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2083 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2085 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2086 (diary-entry): Use it in the action of this button type instead of
2089 * calendar/todo-mode.el: New version.
2090 (todo-add-category): Append new category to end of file and give
2091 it the highest number, instead of putting it at the beginning and
2092 giving it 0. Incorporate noninteractive functionality.
2093 (todo-forward-category): Adapt to 1-based category numbering.
2094 Allow skipping over archived categories.
2095 (todo-backward-category): Derive from todo-forward-category.
2096 (todo-backward-item, todo-forward-item): Make noninteractive and
2097 delegate interactive part to new commands. Make sensitive to done items.
2098 (todo-categories): Make value an alist of category names and
2099 vectors of item counts.
2100 (todo-category-beg): Make a defconst.
2101 (todo-category-number): Use 1 instead of 0 as initial value.
2102 (todo-category-select): Make sensitive to overlays, optional item
2103 highlighting and done items.
2104 (todo-delete-item): Make sensitive to overlays and marked and done items.
2105 (todo-edit-item): Make sensitive to overlays and editing of
2106 date/time header optional. Add format checks.
2107 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2108 no-op if point is not on an item. Advertise using todo-edit-quit.
2109 (todo-edit-mode): Make sensitive to new format, font-locking, and
2110 multiple todo files.
2111 (todo-insert-item, todo-insert-item-here): Derive from
2112 todo-basic-insert-item and extend functionality.
2113 (todo-item-end, todo-item-start): Make sensitive to done items.
2114 (todo-item-string): Don't return text properties. Restore point.
2115 (todo-jump-to-category): Make sensitive to multiple todo files and
2116 todo archives. Use extended category completion.
2117 (todo-lower-item, todo-raise-item): Rename to *-priority and
2118 derive from todo-set-item-priority.
2119 (todo-mode): Derive from special-mode. Make sensitive to new
2120 format, font-locking and multiple todo files. Make read-only.
2121 (todo-mode-map): Don't suppress digit keys, so they can supply
2122 prefix arguments. Add many new key bindings.
2123 (todo-prefix): Insert as an overlay instead of file text.
2124 Change semantics from diary date expression to purely visual mark.
2125 (todo-print): Rename to todo-print-buffer. Make buffer display
2126 features printable. Remove option to restrict number of items
2127 printed. Add option to print to file.
2128 (todo-print-function): Rename to todo-print-buffer-function.
2129 (todo-quit): Extend to handle exiting new todo modes.
2130 (todo-remove-item): Make sensitive to overlays.
2131 (todo-save): Extend to buffers of filtered items.
2132 (todo-show): Make sensitive to done items, multiple todo files and
2133 new todo modes. Offer to convert legacy todo file before creating
2134 first new todo file.
2135 (todo-show-priorities): Rename to todo-top-priorities.
2136 Change semantics of value 0.
2137 (todo-top-priorities): Rename to todo-filter-top-priorities,
2138 derive from todo-filter-items and extend functionality.
2139 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2140 and extend functionality to other types of filtered items.
2141 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2142 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2143 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2144 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2145 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2146 (todo-edit-mode-hook, todo-entry-prefix-function)
2147 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2148 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2149 (todo-initials, todo-insert-threshold, todo-item-string-start)
2150 (todo-line-string, todo-menu, todo-mode-hook)
2151 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2152 (todo-print-priorities, todo-remove-separator)
2153 (todo-save-top-priorities-too, todo-string-count-lines)
2154 (todo-string-multiline-p, todo-time-string-format)
2155 (todo-tmp-buffer-name): Remove.
2156 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2157 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2158 (todo-edit-category-diary-inclusion)
2159 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2160 (todo-edit-file, todo-edit-item-date-day)
2161 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2162 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2163 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2164 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2165 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2166 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2167 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2168 (todo-filter-top-priorities-multifile, todo-find-archive)
2169 (todo-find-filtered-items-file, todo-go-to-source-item)
2170 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2171 (todo-jump-to-archive-category, todo-lower-category)
2172 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2173 (todo-move-category, todo-move-item, todo-next-button)
2174 (todo-next-item, todo-padded-string, todo-powerset)
2175 (todo-previous-button, todo-previous-item)
2176 (todo-print-buffer-to-file, todo-raise-category)
2177 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2178 (todo-set-category-number, todo-set-item-priority)
2179 (todo-set-top-priorities-in-category)
2180 (todo-set-top-priorities-in-file, todo-show-categories-table)
2181 (todo-sort-categories-alphabetically-or-numerically)
2182 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2183 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2184 (todo-toggle-item-header, todo-toggle-item-highlighting)
2185 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2186 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2187 (todo-unarchive-items, todo-unmark-category): New commands.
2188 (todo-absolute-file-name, todo-add-to-buffer-list)
2189 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2190 (todo-basic-insert-item, todo-category-completions)
2191 (todo-category-number, todo-category-string-matcher-1)
2192 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2193 (todo-check-format, todo-clear-matches)
2194 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2195 (todo-current-category, todo-date-string-matcher)
2196 (todo-define-insertion-command, todo-diary-expired-matcher)
2197 (todo-diary-goto-entry, todo-diary-item-p)
2198 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2199 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2200 (todo-done-item-section-p, todo-done-separator)
2201 (todo-done-string-matcher, todo-files, todo-filter-items)
2202 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2203 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2204 (todo-insert-category-line, todo-insert-item-from-calendar)
2205 (todo-insert-sort-button, todo-insert-with-overlays)
2206 (todo-insertion-command-name, todo-insertion-key-bindings)
2207 (todo-label-to-key, todo-longest-category-name-length)
2208 (todo-make-categories-list, todo-mode-external-set)
2209 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2210 (todo-modes-set-3, todo-multiple-filter-files)
2211 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2212 (todo-read-category, todo-read-date, todo-read-dayname)
2213 (todo-read-file-name, todo-read-time)
2214 (todo-reevaluate-category-completions-files-defcustom)
2215 (todo-reevaluate-default-file-defcustom)
2216 (todo-reevaluate-filelist-defcustoms)
2217 (todo-reevaluate-filter-files-defcustom)
2218 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2219 (todo-reset-done-separator, todo-reset-done-separator-string)
2220 (todo-reset-done-string, todo-reset-global-current-todo-file)
2221 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2222 (todo-reset-prefix, todo-set-categories)
2223 (todo-set-date-from-calendar, todo-set-show-current-file)
2224 (todo-set-top-priorities, todo-short-file-name)
2225 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2226 (todo-total-item-counts, todo-update-buffer-list)
2227 (todo-update-categories-display, todo-update-categories-sexp)
2228 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2230 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2232 (todo-categories, todo-display, todo-edit, todo-faces)
2233 (todo-filtered): New defgroups.
2234 (todo-archived-only, todo-button, todo-category-string, todo-date)
2235 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2236 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2237 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2238 (todo-add-item-if-new-category, todo-always-add-time-string)
2239 (todo-categories-align, todo-categories-archived-label)
2240 (todo-categories-category-label, todo-categories-diary-label)
2241 (todo-categories-done-label, todo-categories-number-separator)
2242 (todo-categories-todo-label, todo-categories-totals-label)
2243 (todo-category-completions-files, todo-completion-ignore-case)
2244 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2245 (todo-done-separator-string, todo-done-string)
2246 (todo-files-function, todo-filter-done-items, todo-filter-files)
2247 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2248 (todo-initial-category, todo-initial-file, todo-item-mark)
2249 (todo-legacy-date-time-regexp, todo-mode-line-function)
2250 (todo-nondiary-marker, todo-number-prefix)
2251 (todo-print-buffer-function, todo-show-current-file)
2252 (todo-show-done-only, todo-show-first, todo-show-with-done)
2253 (todo-skip-archived-categories, todo-top-priorities-overrides)
2254 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2255 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2257 (todo-category-done, todo-date-pattern, todo-date-string-start)
2258 (todo-diary-items-buffer, todo-done-string-start)
2259 (todo-filtered-items-buffer, todo-item-start)
2260 (todo-month-abbrev-array, todo-month-name-array)
2261 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2262 (todo-top-priorities-buffer): New defconsts.
2263 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2264 (todo-categories-with-marks, todo-category-string-face)
2265 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2266 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2267 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2268 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2269 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2270 (todo-font-lock-keywords, todo-global-current-todo-file)
2271 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2272 (todo-insertion-commands-args)
2273 (todo-insertion-commands-args-genlist)
2274 (todo-insertion-commands-names, todo-insertion-map)
2275 (todo-key-bindings-t, todo-key-bindings-t+a)
2276 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2277 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2278 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2279 (todo-visited): New variables.
2281 2013-06-21 Glenn Morris <rgm@gnu.org>
2283 * play/cookie1.el (cookie-apropos): Add optional display argument.
2284 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2285 (psychoanalyze-pinhead): Use cookie-doctor.
2287 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2289 * emacs-lisp/package.el (tar-get-file-descriptor)
2290 (tar--extract): Declare.
2292 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2294 Extend flymake's warning predicate to be a function (bug#14217).
2295 * progmodes/flymake.el (flymake-warning-predicate): New.
2296 (flymake-parse-line): Use it.
2297 (flymake-warning-re): Make obsolete alias to
2298 `flymake-warning-predicate'.
2300 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2303 (package-obsolete-list): Remove.
2304 (package-activate): Remove min-version argument. Add `force' argument.
2305 Adjust to new package-alist format.
2306 (package-mark-obsolete): Remove.
2307 (package-unpack): Force reload of the package's autoloads.
2308 (package-installed-p): Check builtins if the installed package is not
2310 (package-initialize): Don't reset package-obsolete-list.
2311 Don't specify which package version to activate.
2312 (package-process-define-package, describe-package-1)
2313 (package-menu--generate): Adjust to new package-alist format.
2315 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2317 * allout-widgets.el (allout-widgets-mode-off)
2318 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2319 (allout-widgets-post-command-business)
2320 (allout-widgets-after-copy-or-kill-function)
2321 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2322 (allout-decorate-item-and-context)
2323 (allout-graphics-modification-handler): Fix typos in docstrings.
2324 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2326 * cmuscheme.el (scheme-start-file): Doc fix.
2327 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2328 (scheme-input-filter): Use `string-match-p'.
2330 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2332 * dired-x.el: Use Dired consistently in docstrings.
2334 * dired.el: Use Dired consistently in docstrings.
2335 (dired-readin, dired-mode): Use `setq-local'.
2336 (dired-switches-alist): Make defvar-local.
2337 (dired-buffers-for-dir): Use `zerop'.
2338 (dired-safe-switches-p, dired-switches-escape-p)
2339 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2340 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2341 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2342 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2343 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2344 (dired-toggle-marks, dired-mark-files-containing-regexp)
2345 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2346 (dired-flag-auto-save-files, dired-flag-backup-files):
2348 (dired-mark-files-regexp, dired-build-subdir-alist):
2349 Use `string-match-p', `looking-at-p'.
2351 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2352 (direct-print-region-helper): Use `string-match-p'.
2354 2013-06-21 Leo Liu <sdl.web@gmail.com>
2356 * comint.el (comint-redirect-results-list-from-process):
2359 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2361 * net/eww.el (eww-update-header-line-format): Quote % characters.
2363 2013-06-21 Glenn Morris <rgm@gnu.org>
2365 * play/cookie1.el (cookie): New custom group.
2366 (cookie-file): New option.
2367 (cookie-check-file): New function.
2368 (cookie): Make it interactive. Make start and end messages optional.
2369 Interactively, display the result. Default to cookie-file.
2370 (cookie-insert): Default to cookie-file.
2371 (cookie-snarf): Make start and end messages optional.
2372 Default to cookie-file. Use with-temp-buffer.
2373 (cookie-read): Rename from read-cookie.
2374 Make start and end messages optional. Default to cookie-file.
2375 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2377 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2378 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2380 2013-06-21 Leo Liu <sdl.web@gmail.com>
2382 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2384 2013-06-21 Glenn Morris <rgm@gnu.org>
2386 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2388 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2389 Daniel Hackney <dan@haxney.org>
2391 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2392 Consolidate the single-file vs tarball code.
2393 (package-desc-suffix): New function.
2394 (package-desc-full-name): Don't bother inlining it.
2395 (package-load-descriptor): Return the new package-desc.
2396 (package-mark-obsolete): Remove unused arg `package'.
2397 (package-unpack): Make it work for single files as well.
2398 Make it update package-alist.
2399 (package--make-autoloads-and-stuff): Rename from
2400 package--make-autoloads-and-compile. Don't compile any more.
2401 (package--compile): New function.
2402 (package-generate-description-file): New function, extracted from
2403 package-unpack-single.
2404 (package-unpack-single): Remove.
2405 (package--with-work-buffer): Add indentation and debugging info.
2406 (package-download-single): Remove.
2407 (package-install-from-archive): Rename from package-download-tar, make
2408 it take a pkg-desc, and make it work for single files as well.
2409 (package-download-transaction): Simplify.
2410 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2411 external tar program.
2412 (package-install-from-buffer): Remove `pkg-desc' argument.
2413 Use package-tar-file-info for tar-mode buffers.
2414 (package-install-file): Simplify accordingly.
2415 (package-archive-base): Change to take a pkg-desc.
2416 * tar-mode.el (tar--check-descriptor): New function, extracted from
2418 (tar-get-descriptor): Use it.
2419 (tar-get-file-descriptor): New function.
2420 (tar--extract): New function, extracted from tar-extract.
2421 (tar--extract): Use it.
2422 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2423 case the summary uses non-ascii. Adjust to new calling convention of
2424 package-tar-file-info.
2426 2013-06-21 Leo Liu <sdl.web@gmail.com>
2428 * comint.el (comint-redirect-results-list-from-process):
2429 Fix random delay. (Bug#14681)
2431 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2433 * profiler.el (profiler-format-number): Use log, not log10.
2435 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2437 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2439 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2442 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2444 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2445 (AUTOGENEL): ... here.
2446 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2447 (cl--defsubst-expand): Use it.
2449 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2451 * subr.el (log10): Move here from C code, and declare as obsolete.
2452 All uses of (log10 X) replaced with (log X 10).
2454 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2456 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2457 Declare with `defvar-local'.
2458 (tabulated-list-use-header-line, tabulated-list-entries)
2459 (tabulated-list-padding, tabulated-list-printer)
2460 (tabulated-list-sort-key): Declare with `defvar-local'.
2461 (tabulated-list-init-header, tabulated-list-print-fake-header):
2464 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
2466 * arc-mode.el (archive-mode): Add `archive-write-file' to
2467 `write-contents-functions' also for remote files. (Bug#14652)
2469 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2471 * cus-edit.el (custom-commands): Fix typos.
2472 (custom-display): Fix tooltip text.
2473 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2474 Fix typos in docstrings.
2475 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2476 (custom-unlispify-menu-entry, custom-magic-value-create)
2477 (custom-add-see-also, custom-group-value-create): Use ?\s.
2478 (custom-guess-type, customize-apropos, editable-field)
2479 (custom-face-value-create): Use `string-match-p'.
2480 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2482 * custom.el (custom-load-symbol): Use `string-match-p'.
2484 * ansi-color.el: Convert to lexical binding.
2485 (ansi-colors): Fix URL.
2486 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2487 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2488 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2490 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2492 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2494 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2496 2013-06-19 Tom Tromey <tromey@redhat.com>
2498 * net/eww.el (eww-top-url): Remove.
2499 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2500 (eww-render): Set new variables. Don't set eww-top-url.
2501 (eww-handle-link): Handle "prev", "home", and "contents".
2502 Downcase the rel text.
2503 (eww-top-url): Choose best top URL.
2505 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2507 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2508 relying in widget.el. Using widget.el leads to too many
2509 user interface inconsistencies.
2510 (eww-self-insert): Implement entering commands in text fields.
2511 (eww-process-text-input): New function to make text input field editing
2513 (eww-submit): Rewrite to use the new-style form methods.
2514 (eww-select-display): Display the correct selected item.
2515 (eww-change-select): Implement changing the select value.
2516 (eww-toggle-checkbox): Implement radio/checkboxes.
2517 (eww-update-field): Fix compilation error.
2518 (eww-tag-textarea): Implement <textarea>.
2520 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2521 we don't shadow mode-specific bindings.
2523 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2526 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2528 2013-06-19 Glenn Morris <rgm@gnu.org>
2530 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2532 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2534 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2537 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2539 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2541 * net/browse-url.el (browse-url-browser-function):
2542 `eww-browse-url' has the right calling signature, `eww' does not.
2544 2013-06-19 Glenn Morris <rgm@gnu.org>
2546 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2547 Only eval autoloaded macros.
2548 (byte-compile-autoload): Only give the macro warning for macros.
2550 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2551 (ps-underlined-faces): Declare.
2553 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2554 (speedbar-add-supported-extension): Declare.
2556 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2557 Don't include a date stamp in the header of the generated file;
2558 it leads to needless differences between output files.
2560 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2562 * net/secrets.el (secrets-struct-secret-content-type):
2563 Replace check of introspection data by a test call of "CreateItem".
2564 Some servers do not offer introspection.
2566 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2568 * electric.el (electric-pair-mode): Improve interaction with
2569 electric-layout-mode.
2570 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2571 (electric-pair-syntax): Use text-mode-syntax-table in comments
2573 (electric-pair--insert): New function.
2574 (electric-pair-post-self-insert-function): Use it and
2575 electric--after-char-pos.
2577 2013-06-19 Leo Liu <sdl.web@gmail.com>
2579 * progmodes/octave.el (octave-help): Fix regexp.
2581 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2583 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2584 (shr-table-horizontal-line): Allow nil as a value, and change the
2586 (shr-insert-table-ruler): Respect the nil value.
2588 2013-06-18 Tom Tromey <tromey@barimba>
2590 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2592 (eww-open-file): New defun.
2593 (eww-render): Initialize new variables.
2594 (eww-display-html): Handle "link" and "a".
2595 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2596 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2597 (eww-back-url): Rename from eww-previous-url.
2598 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2601 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2603 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2604 Distinguish ternary operator tokens from slash symbol and slash
2607 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2609 Convert symbol prettification into minor mode and global minor mode.
2611 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2612 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2613 (prettify-symbols--keywords): Rename from
2614 `prog-prettify-symbols-alist' and make a local defvar.
2615 (prettify-symbols--compose-symbol): Rename from
2616 `prog--prettify-font-lock-compose-symbol'.
2617 (prettify-symbols--make-keywords): Rename from
2618 `prog-prettify-font-lock-symbols-keywords' and simplify.
2619 (prog-prettify-install): Remove.
2620 (prettify-symbols-mode): New minor mode, based on
2621 `prog-prettify-install'.
2622 (turn-on-prettify-symbols-mode): New function.
2623 (global-prettify-symbols-mode): New globalized minor mode.
2625 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2626 * progmodes/cfengine.el (cfengine3-mode):
2627 * progmodes/perl-mode.el (perl-mode): Don't call
2628 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2630 2013-06-18 Juri Linkov <juri@jurta.org>
2632 * files-x.el (modify-file-local-variable-message): New function.
2633 (modify-file-local-variable)
2634 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2635 and call `modify-file-local-variable-message' when it's non-nil.
2636 (add-file-local-variable, delete-file-local-variable)
2637 (add-file-local-variable-prop-line)
2638 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2639 and use it. (Bug#9820)
2641 2013-06-18 Juri Linkov <juri@jurta.org>
2643 * emulation/vi.el (vi-shell-op):
2644 * emulation/vip.el (vip-execute-com, ex-command):
2645 * emulation/viper-cmd.el (viper-exec-bang):
2646 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2647 the call of `shell-command-on-region'. (Bug#14637)
2649 * simple.el (shell-command-on-region): Doc fix.
2651 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2656 2013-06-18 Glenn Morris <rgm@gnu.org>
2658 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2660 * newcomment.el (comment-search-forward, comment-search-backward):
2661 Doc fix. (Bug#14376)
2663 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2665 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2666 (buffer-face-mode-invoke): Doc fix.
2668 2013-06-18 Matthias Meulien <orontee@gmail.com>
2670 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2671 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2673 2013-06-18 Glenn Morris <rgm@gnu.org>
2675 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2676 Replace obsolete function generic-make-keywords with its expansion.
2678 * progmodes/python.el (ffap-alist): Declare.
2680 * textmodes/reftex.el (bibtex-mode-map): Declare.
2682 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2685 (package-unpack, package-unpack-single): Return the pkg-dir.
2686 (package-download-transaction): Use it to update package-alist.
2688 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2690 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2693 2013-06-17 Juri Linkov <juri@jurta.org>
2695 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2697 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2699 * emacs-lisp/package.el (package-load-descriptor):
2700 Remove `with-syntax-table' call, `read' doesn't need it.
2701 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2703 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2705 * startup.el (command-line): Expand package name returned by
2706 `package--description-file' (bug#14639).
2708 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2710 * emacs-lisp/package.el (package-load-descriptor): Do not call
2711 `emacs-lisp-mode', just use its syntax table.
2713 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2715 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2716 `font-lock-extra-managed-props' if any prettifying keyword is added.
2717 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2718 (prog-mode): Use `setq-local'.
2720 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * international/characters.el (standard-case-table): Set syntax of ?»
2723 and ?« to punctuation.
2725 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
2727 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2728 Save relevant match data before calling `syntax-ppss' (bug#14595).
2730 2013-06-15 Juri Linkov <juri@jurta.org>
2732 * files-x.el (modify-file-local-variable-prop-line): Add local
2733 variables to the end of the existing comment on the first line.
2734 Use `file-auto-mode-skip' to skip interpreter magic line,
2735 and also skip XML declaration.
2737 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2739 * startup.el (package--builtin-versions): New var.
2740 (package-subdirectory-regexp): Remove.
2741 (package--description-file): Hard code its value instead.
2743 * emacs-lisp/package.el: Don't activate packages older than builtin.
2744 (package-obsolete-list): Rename from package-obsolete-alist, and make
2745 it into a simple list of package-desc.
2746 (package-strip-version): Remove.
2747 (package-built-in-p): Use package--builtin-versions.
2748 (package-mark-obsolete): Simplify.
2749 (package-process-define-package): Mark it obsolete if older than the
2751 (package-handle-response): Use line-end-position.
2752 (package-read-archive-contents, package--download-one-archive):
2754 (package--add-to-archive-contents): Skip if older than the builtin or
2756 (package-menu-describe-package): Fix last change.
2757 (package-list-unversioned): New var.
2758 (package-menu--generate): Use it.
2760 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2761 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2762 (autoload-builtin-package-versions): New variable.
2763 (autoload-generate-file-autoloads): Use them.
2764 Remove the list of autoloaded functions/macros from the
2765 (autoload...) comments.
2767 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2769 2013-06-15 Eli Zaretskii <eliz@gnu.org>
2771 * simple.el (line-move-partial): Don't jump to the next screen
2772 line as soon as it becomes visible. Instead, continue enlarging
2773 the vscroll until the portion of a tall screen line that's left on
2774 display is about the height of the frame's default font.
2777 2013-06-15 Glenn Morris <rgm@gnu.org>
2779 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2780 compilation-error-regexp-alist void, or local while let-bound.
2782 * progmodes/make-mode.el (makefile-mode-syntax-table):
2783 Treat "=" as punctuation. (Bug#14614)
2785 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
2787 * help-fns.el (describe-variable):
2788 Add extra line for permanent-local variables.
2790 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2792 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2793 Add export, import, library. (Bug#9164)
2794 (library): Set indent function.
2796 2013-06-14 Glenn Morris <rgm@gnu.org>
2798 * term/xterm.el (xterm--query):
2799 Stop after first matching handler. (Bug#14615)
2801 2013-06-14 Ivan Kanis <ivan@kanis.fr>
2803 Add support for dired in saveplace.
2804 * dired.el (dired-initial-position-hook): New variable.
2805 (dired-initial-position): Call hook to place cursor position.
2806 * saveplace.el (save-place-to-alist): Add dired position.
2807 (save-place-dired-hook): New function.
2809 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2812 through a symbol rather than letrec.
2814 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2815 (package-desc): Add `dir' field.
2816 (package-desc-full-name): New function.
2817 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2818 (package-maybe-load-descriptor): Remove.
2819 (package-load-all-descriptors): Just call package-load-descriptor.
2820 (package--disabled-p): New function.
2821 (package-desc-vers, package-desc-doc): Remove aliases.
2822 (package--dir): Remove function.
2823 (package-activate): Check if a package is disabled.
2824 (package-process-define-package): New function, extracted from
2826 (define-package): Turn into a place holder.
2827 (package-unpack-single, package-tar-file-info):
2828 Use package--description-file.
2829 (package-compute-transaction): Use package--disabled-p.
2830 (package-download-transaction): Don't call
2831 package-maybe-load-descriptor since they're all loaded anyway.
2832 (package-install): Change argument to be a pkg-desc.
2833 (package-delete): Use a single pkg-desc argument.
2834 (describe-package-1): Use package-desc-dir instead of package--dir.
2835 Use package-desc property instead of package-symbol.
2836 (package-install-button-action): Adjust accordingly.
2837 (package--push): Rewrite.
2838 (package-menu--print-info): Adjust accordingly. Change the ID format
2840 (package-menu-describe-package, package-menu-get-status)
2841 (package-menu--find-upgrades, package-menu-mark-upgrades)
2842 (package-menu-execute, package-menu--name-predicate):
2844 * startup.el (package--description-file): New function.
2845 (command-line): Use it.
2846 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2847 Use package-desc-version.
2849 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2850 (byte-compile-preprocess): Use it.
2851 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2852 can't quite recognize.
2853 (byte-compile-add-to-list): Remove.
2854 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2855 (cconv-closure-convert): Add assertion.
2857 * emacs-lisp/map-ynp.el: Use lexical-binding.
2858 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2859 Factor out some repeated code.
2861 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2863 * subr.el (with-eval-after-load): New macro.
2864 (eval-after-load): Allow form to be a function.
2865 take advantage of lexical-binding.
2866 (do-after-load-evaluation): Use dolist and adjust to new format.
2867 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2869 2013-06-13 Juri Linkov <juri@jurta.org>
2871 * replace.el (perform-replace): Display "symbol " and other search
2872 modes from `isearch-message-prefix' in the *Help* buffer.
2874 * isearch.el (isearch-query-replace): Add " symbol" and other
2875 possible search modes from `isearch-message-prefix' to the prompt.
2876 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2877 when reading a regexp to collect.
2879 2013-06-13 Juri Linkov <juri@jurta.org>
2881 * isearch.el (word-search-regexp): Match whitespace if the search
2882 string begins or ends in whitespace. The LAX arg is applied to
2883 both ends of the search string. Use `regexp-quote' and explicit
2884 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2885 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2886 boundaries are replaced with symbol boundaries, and characters
2887 between symbols match non-word non-symbol syntax. (Bug#14602)
2889 2013-06-13 Juri Linkov <juri@jurta.org>
2891 * isearch.el (isearch-del-char): Don't exceed the length of
2892 `isearch-string' by the prefix arg. (Bug#14563)
2894 2013-06-13 Juri Linkov <juri@jurta.org>
2896 * isearch.el (isearch-yank-word, isearch-yank-line)
2897 (isearch-char-by-name, isearch-quote-char)
2898 (isearch-printing-char, isearch-process-search-char):
2899 Add optional count prefix arg. (Bug#14563)
2901 * international/isearch-x.el
2902 (isearch-process-search-multibyte-characters):
2903 Add optional count prefix arg.
2905 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2908 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2911 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2913 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2915 2013-06-13 Glenn Morris <rgm@gnu.org>
2917 * startup.el (tty-handle-args):
2918 Don't just discard "--" and anything after. (Bug#14608)
2920 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2922 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
2924 Implement changes in Secret Service API. Make it backward compatible.
2925 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2926 (secrets-create-item): Use it. Prefix properties with interface.
2928 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2930 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2931 (term-emulate-terminal): Respect term-suppress-hard-newline.
2933 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2935 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2936 Only remove a `thumb-file' overlay. (Bug#14548)
2938 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
2940 * mail/reporter.el (reporter-submit-bug-report):
2941 Handle missing package-name. (Bug#14600)
2943 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2945 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2946 (reftex-citation-prompt, reftex-default-bibliography)
2947 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2948 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2949 (reftex-bib-sort-author, reftex-bib-sort-year)
2950 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2951 (reftex-extract-bib-entries-from-thebibliography)
2952 (reftex-get-bibkey-default, reftex-get-bib-names)
2953 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2954 (reftex-format-bib-entry, reftex-parse-bibitem)
2955 (reftex-format-bibitem, reftex-do-citation)
2956 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2957 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2958 (reftex-insert-bib-matches, reftex-format-citation)
2959 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2960 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2961 existing comments into docstrings.
2963 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2965 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2967 2013-06-12 Andreas Schwab <schwab@suse.de>
2969 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2970 for auto-save files.
2972 2013-06-12 Glenn Morris <rgm@gnu.org>
2974 * ido.el (ido-delete-ignored-files): Remove.
2975 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2976 Go back to calling ido-ignore-item-p directly.
2978 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2980 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2982 * ido.el (ido-delete-ignored-files): New function,
2983 split from ido-make-file-list-1.
2984 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2985 (ido-make-file-list-1): Use ido-delete-ignored-files.
2987 2013-06-12 Leo Liu <sdl.web@gmail.com>
2989 * progmodes/octave.el (inferior-octave-startup)
2990 (inferior-octave-completion-table)
2991 (inferior-octave-track-window-width-change)
2992 (octave-eldoc-function-signatures, octave-help)
2993 (octave-find-definition): Use single quoted strings.
2994 (inferior-octave-startup-args): Change default value.
2995 (inferior-octave-startup): Do not hard code "-i" and
2996 "--no-line-editing".
2997 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2998 (inferior-octave-directory-tracker): Use it.
2999 (octave-goto-function-definition): Robustify.
3000 (octave-help): Support highlighting operators in 'See also'.
3001 (octave-find-definition): Find subfunctions only in Octave mode.
3003 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3005 * help-fns.el (help-fns--compiler-macro): If the handler function is
3006 named, then put a link to it.
3007 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3008 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3010 (cl-eval-when): Simplify debug spec.
3011 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3012 compiler-macro function instead of setting `compiler-macro-file'.
3014 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3016 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3017 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3019 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3020 Daniel Hackney <dan@haxney.org>
3022 First part of Daniel Hackney's patch to package.el.
3023 * emacs-lisp/package.el: Use defstruct.
3024 (package-desc): New, main struct.
3025 (package--bi-desc, package--ac-desc): New structs, used to describe the
3026 format in external files.
3027 (package-desc-vers): Replace with package-desc-version accessor.
3028 (package-desc-doc): Replace with package-desc-summary accessor.
3029 (package-activate-1): Remove `package' arg since the pkg-vec now
3031 (define-package): Use package-desc-from-define.
3032 (package-unpack-single): Change file-name arg to be a symbol.
3033 (package--add-to-archive-contents): Use package-desc-create and new
3034 accessor functions to package--ac-desc.
3035 (package-buffer-info, package-tar-file-info): Return a package-desc.
3036 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3037 arg to be a package-desc.
3038 (package-install-file): Adjust accordingly. Use \' to match EOS.
3039 (package--from-builtin): New function.
3040 (describe-package-1, package-menu--generate): Use it.
3041 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3042 (package-generate-autoloads): Idem and return the name of the file.
3043 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3044 Change pkg-info arg to be a package-desc.
3045 Use package-make-ac-desc.
3046 (package-upload-file): Use \' to match EOS.
3047 * finder.el (finder-compile-keywords): Use package-make-builtin.
3049 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * vc/vc.el (vc-deduce-fileset): Change error message.
3052 (vc-read-backend): New function.
3053 (vc-next-action): Use it.
3055 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3057 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3058 (prolog-font-lock-keywords): Use regexp-opt instead.
3059 Don't manually highlight strings.
3060 (prolog-mode-variables): Simplify comment-start-skip.
3061 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3063 * emacs-lisp/generic.el (generic--normalise-comments)
3064 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3065 (generic-mode-set-comments): Use them.
3066 (generic-bracket-support): Use setq-local.
3067 (generic-make-keywords-list): Declare obsolete.
3069 2013-06-11 Glenn Morris <rgm@gnu.org>
3071 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3072 Prettify after setting font-lock-defaults. (Bug#14574)
3074 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3076 * replace.el (query-replace, occur-read-regexp-defaults-function)
3078 * subr.el (declare-function, number-sequence, local-set-key)
3079 (substitute-key-definition, locate-user-emacs-file)
3080 (with-silent-modifications, split-string, eval-after-load):
3081 Fix typos, remove unneeded backslashes and reflow some docstrings.
3083 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3085 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3086 default for Elisp files.
3088 2013-06-11 Glenn Morris <rgm@gnu.org>
3090 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3091 although define-derived-mode was doing this anyway. (Bug#14583)
3093 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3095 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3096 Fix make-variable-buffer-local call to refer to the correct variable.
3098 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3100 * eshell/em-term.el (eshell-visual-commands)
3101 (eshell-visual-subcommands, eshell-visual-options):
3102 Add summary line to docstrings. Add cross-references.
3104 2013-06-10 Glenn Morris <rgm@gnu.org>
3106 * epa.el (epa-read-file-name): New function. (Bug#14510)
3107 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3109 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3111 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3112 output redirection to be ignored with visual commands.
3114 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3116 * eshell/em-term.el (eshell-visual-command-p): New function.
3117 (eshell-term-initialize): Move long lambda to separate function
3118 eshell-visual-command-p.
3119 * eshell/em-dirs.el (eshell-dirs-initialise):
3120 * eshell/em-script.el (eshell-script-initialize):
3121 Add missing #' to lambda.
3123 2013-06-08 Leo Liu <sdl.web@gmail.com>
3125 * progmodes/octave.el (octave-add-log-current-defun): New function.
3126 (octave-mode): Set add-log-current-defun-function.
3127 (octave-goto-function-definition): Do not move point if not found.
3128 (octave-find-definition): Enhance to try subfunctions first.
3130 2013-06-08 Glenn Morris <rgm@gnu.org>
3132 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3133 (byte-compile-backward-char, byte-compile-backward-word):
3134 Improve previous change, to handle non-explicit nil.
3136 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3139 (smie--opener/closer-at-point): New function.
3140 (smie--matching-block-data): Use it. Don't match from right after an
3141 opener or right before a closer. Obey smie-blink-matching-inners.
3142 Don't signal a mismatch for repeated inners like "switch..case..case".
3144 2013-06-07 Leo Liu <sdl.web@gmail.com>
3146 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3148 (octave-function-header-regexp): Fix. (Bug#14570)
3149 (octave-help-mode-finish-hook, octave-help-mode-finish):
3150 Remove. Just use temp-buffer-show-hook.
3152 * newcomment.el (comment-search-backward): Revert last change.
3155 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3157 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3159 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3160 through xargs, to avoid failure due to MS-Windows limitations on
3161 command-line length.
3163 2013-06-06 Glenn Morris <rgm@gnu.org>
3165 * font-lock.el (lisp-font-lock-keywords-2):
3166 Treat user-error like error.
3168 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3169 (byte-compile-backward-char, byte-compile-backward-word):
3170 Handle explicit nil arguments. (Bug#14565)
3172 2013-06-05 Alan Mackenzie <acm@muc.de>
3174 * isearch.el (isearch-allow-prefix): New user option.
3175 (isearch-other-meta-char): Don't exit isearch when a prefix
3176 argument is typed whilst `isearch-allow-prefix' is non-nil.
3179 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * autorevert.el (auto-revert-notify-handler): Use memq.
3182 Hide assertion failure.
3184 * skeleton.el: Use cl-lib.
3185 (skeleton-further-elements): Use defvar-local.
3186 (skeleton-insert): Use cl-progv.
3188 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3190 * progmodes/prog-mode.el (prog-prettify-symbols)
3191 (prog-prettify-install): Update docstrings.
3193 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * simple.el: Move all the prog-mode code to prog-mode.el.
3196 * progmodes/prog-mode.el: New file.
3197 * loadup.el: Add prog-mode.el.
3199 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3201 * simple.el (prog-prettify-symbols): Add version.
3202 (prog-prettify-install): Add convenience function to prettify symbols.
3204 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3205 (perl--augmented-font-lock-keywords-1)
3206 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3207 variables and use it.
3209 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3210 (cfengine3-mode): Remove unneeded variable and use it.
3212 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3213 (lisp--augmented-font-lock-keywords-1)
3214 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3215 Remove unneeded variables and use it.
3217 2013-06-05 João Távora <joaotavora@gmail.com>
3219 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3220 to point when opening the connection. (Bug#14380)
3222 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3224 * subr.el (load-history-regexp, load-history-filename-element)
3225 (eval-after-load, after-load-functions, do-after-load-evaluation)
3226 (eval-next-after-load, display-delayed-warnings)
3227 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3228 definition of save-match-data.
3229 (overriding-local-map): Remove accidental obsolescence declaration.
3231 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3233 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3235 Generalize symbol prettify support to prog-mode and implement it
3236 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3237 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3238 (prog--prettify-font-lock-compose-symbol)
3239 (prog-prettify-font-lock-symbols-keywords): New variables and
3240 functions to support symbol prettification.
3241 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3242 (lisp--augmented-font-lock-keywords-1)
3243 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3244 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3245 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3246 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3247 Implement prettify of -> => :: strings.
3248 * progmodes/perl-mode.el (perl-prettify-symbols)
3249 (perl--font-lock-compose-symbol)
3250 (perl--font-lock-symbols-keywords): Move to prog-mode.
3251 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3252 (perl-font-lock-keywords-1)
3253 (perl-font-lock-keywords-2): Remove explicit prettify support.
3254 (perl--augmented-font-lock-keywords)
3255 (perl--augmented-font-lock-keywords-1)
3256 (perl--augmented-font-lock-keywords-2, perl-mode):
3257 Implement prettify support.
3259 2013-06-05 Leo Liu <sdl.web@gmail.com>
3261 Re-implement smie matching block highlight using
3262 show-paren-data-function. (Bug#14395)
3263 * emacs-lisp/smie.el (smie-matching-block-highlight)
3264 (smie--highlight-matching-block-overlay)
3265 (smie--highlight-matching-block-lastpos)
3266 (smie-highlight-matching-block)
3267 (smie-highlight-matching-block-mode): Remove.
3268 (smie--matching-block-data-cache): New variable.
3269 (smie--matching-block-data): New function.
3270 (smie-setup): Use smie--matching-block-data for
3271 show-paren-data-function.
3273 * progmodes/octave.el (octave-mode-menu): Fix.
3274 (octave-find-definition): Skip garbage lines.
3276 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3278 Fix compilation error with simultaneous dynamic+lexical scoping.
3279 Add warning when a defvar appears after the first let-binding.
3280 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3281 (byte-compile-close-variables): Initialize it.
3282 (byte-compile--declare-var): New function.
3283 (byte-compile-file-form-defvar)
3284 (byte-compile-file-form-define-abbrev-table)
3285 (byte-compile-file-form-custom-declare-variable): Use it.
3286 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3287 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3288 (byte-compile-bind): Handle dynamic bindings that shadow
3290 (byte-compile-unbind): Make arg non-optional.
3291 (byte-compile-let): Simplify.
3292 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3293 (cconv--analyse-function, cconv-analyse-form): Populate it.
3294 Protect byte-compile-bound-variables to limit the scope of defvars.
3295 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3296 Remove unneeded rule for `declare'.
3298 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3299 so as to avoid depending on cl-adjoin at run-time.
3300 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3302 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3303 (macroexp--warn-and-return): Use it.
3305 2013-06-05 Leo Liu <sdl.web@gmail.com>
3307 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3309 2013-06-04 Leo Liu <sdl.web@gmail.com>
3311 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3312 (compilation-auto-jump): Suppress the "Mark set" message to give
3313 way to exit message.
3315 2013-06-04 Alan Mackenzie <acm@muc.de>
3317 Remove faulty optimisation from indentation calculation.
3318 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3319 search limit based on 2000 characters back from indent-point.
3321 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3323 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3325 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * emacs-lisp/lisp.el: Use lexical-binding.
3328 (lisp--local-variables-1, lisp--local-variables): New functions.
3329 (lisp--local-variables-completion-table): New var.
3330 (lisp-completion-at-point): Use it complete let-bound vars.
3332 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3333 eagerly (bug#14422).
3335 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3337 * autorevert.el (auto-revert-notify-enabled)
3338 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3339 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3340 (auto-revert-notify-handler): Handle also gfilenotify.
3342 * subr.el (file-notify-handle-event): New defun. Replacing ...
3343 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3346 2013-06-03 Juri Linkov <juri@jurta.org>
3348 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3349 `M-s h .'. (Bug#14427)
3351 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3352 command `hi-lock-face-symbol-at-point'.
3353 (hi-lock-face-symbol-at-point): New command.
3354 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3355 (hi-lock-menu): Add `highlight-symbol-at-point'.
3356 (hi-lock-mode): Doc fix.
3358 * isearch.el (isearch-forward-symbol-at-point): New command.
3359 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3360 (isearch-highlight-regexp): Add a regexp which matches
3361 words/symbols for word/symbol mode.
3363 * subr.el (find-tag-default-bounds): New function with the body
3364 mostly moved from `find-tag-default'.
3365 (find-tag-default): Move most code to `find-tag-default-bounds',
3366 call it and apply `buffer-substring-no-properties' afterwards.
3368 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3370 * eshell/em-term.el (eshell-term-initialize):
3371 Use `cl-intersection' rather than `intersection'.
3373 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3375 * vc/log-view.el: Doc fix.
3376 (log-view-mode-map): Copy keymap from `special-mode-map'.
3378 2013-06-02 Eric Ludlam <zappo@gnu.org>
3380 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3381 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3382 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3383 (eieio-unbound, eieio-default-superclass)
3384 (eieio--define-field-accessors, method-static, method-before)
3385 (method-primary, method-after, method-num-lists)
3386 (method-generic-before, method-generic-primary)
3387 (method-generic-after, method-num-slots)
3388 (eieio-specialized-key-to-generic-key)
3389 (eieio--check-type, class-v, class-p)
3390 (eieio-class-name, define-obsolete-function-alias)
3391 (eieio-class-parents-fast, eieio-class-children-fast)
3392 (same-class-fast-p, class-constructor, generic-p)
3393 (generic-primary-only-p, generic-primary-only-one-p)
3394 (class-option-assoc, class-option, eieio-object-p)
3395 (class-abstract-p, class-method-invocation-order)
3396 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3397 (eieio-class-un-autoload, eieio-defclass)
3398 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3399 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3400 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3401 (eieio-defgeneric-reset-generic-form)
3402 (eieio-defgeneric-form-primary-only)
3403 (eieio-defgeneric-reset-generic-form-primary-only)
3404 (eieio-defgeneric-form-primary-only-one)
3405 (eieio-defgeneric-reset-generic-form-primary-only-one)
3406 (eieio-unbind-method-implementations)
3407 (eieio--defmethod, eieio--typep)
3408 (eieio-perform-slot-validation, eieio-validate-slot-value)
3409 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3410 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3411 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3412 (eieio-slot-name-index, eieio-class-slot-name-index)
3413 (eieio-set-defaults, eieio-initarg-to-attribute)
3414 (eieio-attribute-to-initarg, eieio-c3-candidate)
3415 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3416 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3417 (eieio-class-precedence-list, eieio-generic-call-methodname)
3418 (eieio-generic-call-arglst, eieio-generic-call-key)
3419 (eieio-generic-call-next-method-list)
3420 (eieio-pre-method-execution-functions, eieio-generic-call)
3421 (eieio-generic-call-primary-only, eieiomt-method-list)
3422 (eieiomt-optimizing-obarray, eieiomt-install)
3423 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3424 (eieio-generic-form, eieio-defmethod, make-obsolete)
3425 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3426 (defclass): Remove `eval-and-compile' from macro.
3427 (call-next-method, shared-initialize): Instead of using
3428 `scoped-class' variable, use new eieio--scoped-class, and
3429 eieio--with-scoped-class.
3430 (initialize-instance): Rename local variable 'scoped-class' to
3431 'this-class' to remove ambiguitity from old global.
3433 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3435 (eieio--scoped-class-stack): New variable.
3436 (eieio--scoped-class): New fcn.
3437 (eieio--with-scoped-class): New scoping macro.
3438 (eieio-defclass): Use pushnew instead of add-to-list.
3439 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3440 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3441 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3442 `scoped-class' variable, use new eieio--scoped-class, and
3443 eieio--with-scoped-class.
3445 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3447 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3449 * eshell/esh-ext.el (eshell-external-command): Pass args to
3450 `eshell-find-interpreter'.
3451 (eshell-find-interpreter): Add new second parameter ARGS.
3453 * eshell/em-script.el (eshell-script-initialize): Add second arg
3454 to the function added as MATCH to `eshell-interpreter-alist'.
3456 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3457 the function added as MATCH to `eshell-interpreter-alist'.
3459 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3460 (eshell-visual-options): New defcustom.
3461 (eshell-escape-control-x): Adapt docstring.
3462 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3463 `eshell-visual-options' in addition to `eshell-visual-commands'.
3464 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3466 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
3468 * progmodes/python.el (python-indent-block-enders): Add break,
3469 continue and raise keywords.
3471 2013-06-01 Glenn Morris <rgm@gnu.org>
3473 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3475 Plain (f)boundp silences compilation warnings since Emacs 22.1.
3476 * progmodes/cc-cmds.el (delete-forward-p):
3477 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3478 * progmodes/cc-engine.el (buffer-syntactic-context):
3479 * progmodes/cc-fonts.el (face-property-instance):
3480 * progmodes/cc-mode.el (set-keymap-parents):
3481 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3482 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3483 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3484 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3485 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3487 * progmodes/cc-vars.el (other): Emacs has this widget since
3488 at least 21.1, so don't (re)define it.
3490 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3491 Replace the obsolete alias pcomplete-arg-quote-list.
3493 2013-06-01 Leo Liu <sdl.web@gmail.com>
3495 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3497 (inferior-octave-minimal-columns)
3498 (inferior-octave-last-column-width): New variables.
3499 (inferior-octave-track-window-width-change): New function.
3500 (inferior-octave-mode): Adjust column width so that Octave output,
3501 for example from 'ls', can fit into the window nicely.
3503 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3505 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3506 Highlight expansions inside regexp literals.
3508 2013-05-31 Glenn Morris <rgm@gnu.org>
3510 * obsolete/sym-comp.el (symbol-complete):
3511 Replace obsolete completion-annotate-function.
3513 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3515 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3517 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3518 New function, checks if point is inside a literal that allows
3519 expression expansion.
3520 (ruby-syntax-propertize-expansion): Use it.
3521 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3524 2013-05-30 Juri Linkov <juri@jurta.org>
3526 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3528 (isearch-invisible): New variable.
3529 (isearch-forward): Doc fix.
3530 (isearch-mode): Set `isearch-invisible'
3531 to the value of `search-invisible'.
3532 (isearch-toggle-case-fold): Doc fix.
3533 (isearch-toggle-invisible): New command.
3534 (isearch-query-replace): Let-bind `search-invisible'
3535 to the value of `isearch-invisible'.
3536 (isearch-search): Use `isearch-invisible' instead of
3537 `search-invisible'. Let-bind `search-invisible'
3538 to the value of `isearch-invisible'. (Bug#11378)
3540 2013-05-30 Juri Linkov <juri@jurta.org>
3542 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3543 call when `query-flag' is nil and `search-invisible' is non-nil.
3546 2013-05-30 Glenn Morris <rgm@gnu.org>
3548 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3550 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3551 (cc-require): Suppress spurious "noruntime" warnings.
3552 (cc-require-when-compile): Use fboundp, for sake of compiler.
3554 * progmodes/cc-mode.el: Move load of cc-vars before that of
3555 cc-langs (which in turn loads cc-vars), to quieten compiler.
3557 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * paren.el: Simplify the code.
3560 (show-paren-mode): Always start the timer.
3561 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3562 (show-paren--overlay, show-paren--overlay-1): Rename from
3563 show-paren-overlay and show-paren-overlay-1, and initialize to an
3564 overlay rather than to nil.
3565 (show-paren-function): Misc cleanup and simplifications.
3567 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3569 * paren.el (show-paren-data-function): New hook.
3570 (show-paren--default): New function, extracted from show-paren-function.
3571 (show-paren-function): Use show-paren-data-function.
3573 2013-05-30 Glenn Morris <rgm@gnu.org>
3575 * ielm.el (ielm-map, ielm-complete-symbol):
3576 Use completion-at-point rather than obsolete functions.
3577 (inferior-emacs-lisp-mode): Doc fix.
3578 Set completion-at-point-functions, rather than
3579 comint-dynamic-complete-functions.
3581 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3582 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3583 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3585 * image.el (image-animated-p): Tweak definition.
3587 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3588 (rlogin-process-connection-type): Tweak default. Add set-after.
3589 (rlogin-host): Doc fix.
3590 (rlogin): Tweak prompt.
3591 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3593 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3594 * progmodes/tcl.el (inferior-tcl-mode-map):
3595 Use completion-at-point rather than obsolete alias.
3597 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3599 * minibuffer.el (read-file-name-completion-ignore-case):
3600 Move before completion--in-region, for eager macro expansion.
3602 2013-05-29 Juri Linkov <juri@jurta.org>
3604 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3605 for total count of matching lines. Add `global-matches' for total
3606 count of matches. Rename `matches' to `lines' for count of
3607 matching lines. Add `matches' for count of matches.
3608 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3609 to `prev-line' for line number of prev match endpt.
3610 Increment `matches' for every match. Print the number of
3611 matching lines in the header.
3612 (occur-context-lines): Rename `lines' to `curr-line'.
3613 Rename `prev-lines' to `prev-line'. (Bug#14017)
3615 2013-05-29 Juri Linkov <juri@jurta.org>
3617 * replace.el (perform-replace): Add `skip-read-only-count',
3618 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3619 Increment them for corresponding conditions and report the number
3620 of skipped occurrences in the final message. (Bug#11746)
3621 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3622 (replace-string, replace-regexp): Doc fix.
3624 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3628 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3629 prog-mode-map (bug#14504).
3631 2013-05-29 Leo Liu <sdl.web@gmail.com>
3633 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3634 (octave-help): Small simplification.
3636 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3637 off the highlight first.
3639 2013-05-29 Glenn Morris <rgm@gnu.org>
3641 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3642 Handle idlwave-last-system-routine-info-cons-cell being nil.
3644 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3645 (idlwave-write-paths): Simplify via with-temp-buffer.
3647 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3648 * emulation/cua-rect.el: Also load cua-base at run time.
3650 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3651 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3652 (cperl-imenu-on-info): Require imenu.
3654 2013-05-28 Alan Mackenzie <acm@muc.de>
3656 Handle "capitalised keywords" correctly.
3657 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3659 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3661 * eshell/em-unix.el: Add -r option to cp.
3663 2013-05-28 Glenn Morris <rgm@gnu.org>
3665 * vc/vc-arch.el (vc-exec-after): Declare.
3666 (vc-switches): Autoload.
3667 * vc/vc-bzr.el: No need to require vc when compiling.
3668 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3669 (vc-resynch-buffer, vc-dir-refresh): Declare.
3670 (vc-setup-buffer, vc-switches): Autoload.
3671 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3672 (vc-resynch-buffer): Declare.
3673 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3674 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3675 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3676 (grep-read-regexp, grep-read-files, grep-expand-template)
3677 (vc-dir-refresh): Declare.
3678 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3679 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3680 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3681 * vc/vc-mtn.el (vc-exec-after): Declare.
3682 (vc-switches): Autoload.
3683 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3684 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3685 (vc-file-tree-walk): Declare.
3686 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3687 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3688 (vc-tag-precondition, vc-rename-master): Autoload.
3689 * vc/vc-svn.el (vc-exec-after): Declare.
3690 (vc-switches, vc-setup-buffer): Autoload.
3691 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3693 (vc-resynch-buffer): Declare.
3695 * obsolete/fast-lock.el (byte-compile-warnings):
3696 Don't warn about obsolete features in this obsolete file.
3698 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3699 Move definition before use.
3701 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3702 (dun-unix-verbs): Remove dun-zippy.
3703 (dun-zippy): Remove function.
3705 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3707 2013-05-27 Juri Linkov <juri@jurta.org>
3709 * replace.el (replace-search): New function with code moved out
3710 from `perform-replace'.
3711 (replace-highlight, replace-dehighlight): Move function definitions
3712 up closer to `replace-search'. (Bug#11746)
3714 2013-05-27 Juri Linkov <juri@jurta.org>
3716 * replace.el (perform-replace): Ignore invisible matches.
3717 In addition to checking `query-replace-skip-read-only', also
3718 filter out matches by calling `run-hook-with-args-until-failure'
3719 on `isearch-filter-predicates', and also check `search-invisible'
3720 for t or call `isearch-range-invisible'.
3721 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3723 2013-05-27 Juri Linkov <juri@jurta.org>
3725 * isearch.el (isearch-filter-predicates): Rename from
3726 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3727 (isearch-message-prefix): Display text from the property
3728 `isearch-message-prefix' of the currently active filters.
3729 (isearch-search): Don't compare `isearch-filter-predicate' with
3730 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3731 on `isearch-filter-predicates'. Also check `search-invisible' for t
3732 or call `isearch-range-invisible'.
3733 (isearch-filter-visible): Make obsolete.
3734 (isearch-lazy-highlight-search):
3735 Call `run-hook-with-args-until-failure' on
3736 `isearch-filter-predicates' and use `isearch-range-invisible'.
3738 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3739 `isearch-filter-predicates' instead of `funcall'ing
3740 `isearch-filter-predicate'.
3741 (Info-mode): Set `Info-isearch-filter' to
3742 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3744 * dired-aux.el (dired-isearch-filter-predicate-orig):
3746 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3747 (dired-isearch-filenames-end): Add and remove
3748 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3749 instead of changing the value of `isearch-filter-predicate'.
3750 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3751 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3752 Put property `isearch-message-prefix' to "filename " on
3753 `dired-isearch-filter-filenames'.
3755 * wdired.el (wdired-change-to-wdired-mode):
3756 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3757 locally instead of changing `isearch-filter-predicate'.
3758 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3760 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3762 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3763 return the commit hash (Bug#14459). Also set the
3764 `vc-git-detached' property.
3765 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3766 (vc-git-mode-line-string): Use the same help-echo format whether
3767 in detached mode or not, because we know the actual revision now.
3768 When in detached mode, shorten the revision to 7 chars.
3770 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * emacs-lisp/easy-mmode.el (define-minor-mode):
3773 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3774 mode hook and provide a docstring.
3776 2013-05-27 Alan Mackenzie <acm@muc.de>
3778 Remove spurious syntax-table text properties inserted by C-y.
3779 * progmodes/cc-mode.el (c-after-change): Also clear hard
3780 syntax-table property with value nil.
3782 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
3784 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3785 when reading the events; the buffer layout shall not be changed.
3787 2013-05-27 Leo Liu <sdl.web@gmail.com>
3789 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3791 (inferior-octave-directory-tracker): Automatically re-sync
3793 (octave-help): Improve handling of 'See also'.
3795 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * doc-view.el: Minor naming convention tweaks.
3798 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3800 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3801 even if there's no `display' property yet (bug#14435).
3803 2013-05-25 Eli Zaretskii <eliz@gnu.org>
3805 * subr.el (unmsys--file-name): Rename from reveal-filename.
3807 * Makefile.in (custom-deps, finder-data, autoloads)
3808 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3809 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3810 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3812 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3815 error-completion on the first 2 args of condition-case (bug#14446).
3818 2013-05-25 Leo Liu <sdl.web@gmail.com>
3820 * comint.el (comint-previous-matching-input): Do not flood the
3821 *Messages* buffer with trivial messages.
3823 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * progmodes/flymake.el (flymake-nop): Don't return a string.
3826 (flymake-set-at): Fix typo.
3828 * simple.el (read--expression): New function, extracted from
3829 eval-expression. Set completion-at-point-functions (bug#14465).
3830 (eval-expression, eval-minibuffer): Use it.
3832 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3834 * progmodes/flymake.el (flymake-save-buffer-in-file)
3835 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3836 (flymake-selected-frame, flymake-log, flymake-ins-after)
3837 (flymake-set-at, flymake-get-buildfile-from-cache)
3838 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3839 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3840 Refine the doc string.
3841 (flymake-get-file-name-mode-and-masks): Reformat.
3842 (flymake-get-real-file-name-function): Fix a minor bug.
3844 2013-05-24 Juri Linkov <juri@jurta.org>
3846 * progmodes/grep.el (grep-mode-font-lock-keywords):
3847 Support =linenumber= format used by git-grep for lines with
3848 function names. (Bug#13549)
3850 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3853 0 after a semi-colon; it works better for smie-auto-fill.
3854 (octave--indent-new-comment-line): New function.
3855 (octave-indent-new-comment-line): Use it (indirectly).
3856 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3857 modify comment-line-break-function.
3859 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3860 (smie-setup): Use add-function to set it.
3862 2013-05-24 Sam Steingold <sds@gnu.org>
3864 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3865 argument (before the `interactive' argument).
3867 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3869 * image-mode.el (image-mode-winprops): Add winprops to
3870 image-mode-winprops-alist before running
3871 image-mode-new-window-functions.
3872 * doc-view.el (doc-view-new-window-function): Don't delay
3873 doc-view-goto-page via timers (bug#14435).
3875 2013-05-24 Tassilo Horn <tsdh@gnu.org>
3877 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3878 (doc-view-desktop-save-buffer): New function.
3879 (doc-view-restore-desktop-buffer): New function.
3880 (desktop-buffer-mode-handlers):
3881 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3883 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3884 `desktop-save-buffer' function.
3886 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
3888 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3889 (tramp-gvfs-file-name-handler): Raise a user error when
3890 `tramp-gvfs-enabled' is nil.
3891 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3892 Do not raise a user error when loading package. (Bug#14447)
3894 * net/xesam.el: Move to obsolete/.
3896 2013-05-24 Glenn Morris <rgm@gnu.org>
3898 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3900 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3902 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3903 (Info-find-node, Man-getpage-in-background): Declare.
3905 * mail/unrmail.el (unrmail):
3906 Replace obsolete detect-coding-with-priority.
3908 * net/socks.el (socks-split-string): Use this rather than split-string.
3909 (socks-nslookup-host): Update for above change.
3910 (dynamic-choice, s5-dynamic-choice-match)
3911 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3912 Comment out unused code.
3914 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3915 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3916 (gud-tooltip-echo-area): Make obsolete.
3917 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3919 * progmodes/js.el (js--optimize-arglist): Declare.
3921 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3923 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3924 (ediff-window-C): Declare.
3926 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3927 Tweak requires to silence compiler.
3929 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3930 (he-search-string, he-tried-table, he-expand-list)
3931 (he-init-string, he-string-member, he-substitute-string)
3932 (he-reset-string): Declare.
3934 * obsolete/options.el (list-options): Use custom-variable-p,
3935 rather than obsolete alias.
3937 2013-05-23 Sam Steingold <sds@gnu.org>
3939 * simple.el (shell-command-on-region): Pass the `replace' argument
3940 down to `call-process-region' to comply with the doc as reported on
3941 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3943 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3945 * emacs-lisp/smie.el (smie-indent-forward-token)
3946 (smie-indent-backward-token): Handle string tokens (bug#14381).
3948 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3950 * ielm.el (ielm-menu): New menu.
3951 (inferior-emacs-lisp-mode): Set comment-start.
3953 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3955 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3956 Fix deactivate action.
3958 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3959 Add cleveref macros.
3961 * lisp/textmodes/reftex-parse.el
3962 (reftex-locate-bibliography-files): Accept options for
3963 bibliography commands.
3964 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3965 Add addbibresource. Basic Biblatex support.
3967 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
3969 * net/tramp-gvfs.el (top):
3970 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3971 when loading package. (Bug#14447)
3973 2013-05-23 Glenn Morris <rgm@gnu.org>
3975 * progmodes/js.el: No need to load comint when compiling.
3976 (ring-insert, comint-send-string, comint-send-input)
3977 (comint-last-input-end, ido-chop): Declare.
3979 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3980 * vc/ediff-mult.el: Adjust requires.
3981 (ediff-directories-internal, ediff-directory-revisions-internal)
3982 (ediff-patch-file-internal): Declare.
3983 * vc/ediff-ptch.el: Adjust requires.
3984 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3985 (ediff-find-file): Autoload.
3986 * vc/ediff-util.el: No need to load ediff when compiling.
3987 (ediff-regions-internal): Declare.
3988 * vc/ediff-wind.el: Adjust requires.
3989 (ediff-compute-toolbar-width): Define when compiling.
3990 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3991 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3992 (dired-get-filename, dired-get-marked-files)
3993 (ediff-last-dir-patch, ediff-patch-default-directory)
3994 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3995 (ediff-patch-buffer-internal): Declare.
3997 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3998 (ispell-process, ispell-buffer-local-words, lm-summary)
3999 (lm-section-start, lm-section-end): Declare.
4000 (checkdoc-ispell-init): Simplify.
4002 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4003 (he-string-member, he-reset-string, he-substitute-string): Declare.
4005 * eshell/em-ls.el: Adjust requires.
4006 (eshell-glob-regexp): Declare.
4007 * eshell/em-tramp.el: Adjust requires.
4008 (eshell-parse-command): Autoload.
4009 * eshell/em-xtra.el: Adjust requires.
4010 (eshell-parse-command): Autoload.
4011 * eshell/esh-ext.el: Adjust requires.
4012 (eshell-parse-command, eshell-close-handles): Autoload.
4013 * eshell/esh-io.el: Adjust requires.
4014 (eshell-output-filter): Autoload.
4015 * eshell/esh-util.el: No need to load tramp when compiling.
4016 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4018 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4019 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4020 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4021 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4022 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4023 * eshell/esh-opt.el, eshell/esh-proc.el:
4024 * eshell/esh-var.el: Adjust requires.
4025 * eshell/eshell.el: Do not require esh-util twice.
4026 (eshell-add-input-to-history): Declare.
4027 (eshell-command): Check history module is active before using it.
4029 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4031 2013-05-22 Leo Liu <sdl.web@gmail.com>
4033 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4035 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4037 * autorevert.el (auto-revert-notify-add-watch)
4038 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4039 it indicates changes in file modification time.
4041 2013-05-22 Glenn Morris <rgm@gnu.org>
4043 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4044 Always delete the autoloaded function from the noruntime and
4045 unresolved functions lists.
4047 * allout.el: No need to load epa, epg, overlay when compiling.
4048 (epg-context-set-passphrase-callback, epg-list-keys)
4049 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4050 (epg-key-user-id-list): Declare.
4052 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4053 (viper-set-parsing-style-toggling-macro)
4054 (viper-set-emacs-state-searchstyle-macros):
4055 Use called-interactively-p on Emacs.
4056 (viper-looking-back): Make it an obsolete alias. Update callers.
4057 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4058 Use looking-back rather than viper-looking-back.
4059 (viper-tmp-insert-at-eob, viper-enlarge-region)
4060 (viper-read-string-with-history, viper-register-to-point)
4061 (viper-append-to-register, viper-change-state-to-vi)
4062 (viper-backward-char-carefully, viper-forward-char-carefully)
4063 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4064 (viper-change-state-to-emacs): Declare.
4065 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4066 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4067 * emulation/viper-mous.el: Do not load viper-cmd.
4068 (viper-backward-char-carefully, viper-forward-char-carefully)
4069 (viper-forward-word, viper-adjust-window): Declare.
4071 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4073 * progmodes/idlw-help.el (idlwave-help-fontify):
4074 Use called-interactively-p.
4076 * term/w32console.el (w32-get-console-codepage)
4077 (w32-get-console-output-codepage): Declare.
4079 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4080 Remove unnecessary declarations.
4081 (dframe-message): Doc fix.
4083 * info.el (dframe-select-attached-frame, dframe-current-frame):
4086 * speedbar.el (speedbar-message): Make it an obsolete alias.
4088 (speedbar-with-attached-buffer)
4089 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4090 (speedbar-with-writable): Use backquote.
4091 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4092 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4093 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4094 rather than speedbar- aliases.
4095 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4096 (speedbar-make-specialized-keymap, speedbar-insert-button)
4097 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4098 (speedbar-do-function-pointer): Declare.
4099 (rmail-speedbar-button, rmail-speedbar-find-file)
4100 (rmail-speedbar-move-message):
4101 Use dframe-with-attached-buffer rather than speedbar- alias.
4102 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4103 (dframe-message, speedbar-make-specialized-keymap)
4104 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4105 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4106 (speedbar-insert-button, dframe-select-attached-frame)
4107 (dframe-maybee-jump-to-attached-frame)
4108 (speedbar-change-initial-expansion-list)
4109 (speedbar-previously-used-expansion-list-name): Declare.
4110 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4111 Use dframe-message, dframe-with-attached-buffer rather than
4113 (gud-sentinel): Silence compiler.
4114 * progmodes/vhdl-mode.el (speedbar-refresh)
4115 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4116 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4117 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4118 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4119 (speedbar-file-lists, speedbar-make-tag-line)
4120 (speedbar-line-directory, speedbar-goto-this-file)
4121 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4122 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4123 (speedbar-make-button, speedbar-reset-scanners)
4124 (speedbar-files-item-info, speedbar-line-text)
4125 (speedbar-find-file-in-frame, speedbar-set-timer)
4126 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4127 (speedbar-with-writable): Do not (re)define it.
4128 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4129 rather than speedbar- alias.
4131 2013-05-21 Leo Liu <sdl.web@gmail.com>
4133 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4135 (octave-mode): Tweak fill-nobreak-predicate.
4136 (inferior-octave-startup): Check process to avoid infinite loop.
4137 (inferior-octave): Pop to buffer first to show abornmal process
4140 2013-05-21 Glenn Morris <rgm@gnu.org>
4142 * printing.el (pr-menu-bar): Define when compiling.
4144 2013-05-21 Leo Liu <sdl.web@gmail.com>
4146 * progmodes/octave.el (octave-auto-fill): Remove.
4147 (octave-indent-new-comment-line): Improve.
4148 (octave-mode): Use auto fill mode through
4149 comment-line-break-function and fill-nobreak-predicate.
4150 (octave-goto-function-definition): Support DEFUN_DLD.
4151 (octave-beginning-of-defun): Small tweak.
4152 (octave-help): Show parent directory.
4154 2013-05-21 Glenn Morris <rgm@gnu.org>
4156 * files.el (dired-unmark):
4157 * progmodes/gud.el (gdb-input): Update declarations.
4159 * calculator.el (electric, ehelp): No need to load when compiling.
4160 (Electric-command-loop, electric-describe-mode): Declare.
4162 * doc-view.el (doc-view-current-converter-processes): Move before use.
4164 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4165 Move MODE-set-explicitly definition before use.
4167 * international/mule-diag.el (mule-diag):
4168 Don't use obsolete window-system-version.
4170 * mail/feedmail.el (smtpmail): No need to load when compiling.
4171 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4173 * mail/mail-utils.el (rfc822): No need to load when compiling.
4174 (rfc822-addresses): Autoload it.
4175 (mail-strip-quoted-names): Trivial simplification.
4177 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4178 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4180 * net/snmp-mode.el (tempo): Don't duplicate requires.
4182 * progmodes/prolog.el (info): No need to load when compiling.
4183 (comint): Require before shell requires it.
4184 (Info-goto-node): Autoload it.
4185 (Info-follow-nearest-node): Declare.
4186 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4188 * textmodes/artist.el (picture-mode-exit): Declare.
4190 * textmodes/reftex-parse.el (reftex-parse-from-file):
4191 Trivial rewrite so the compiler can parse it better.
4193 2013-05-20 Leo Liu <sdl.web@gmail.com>
4195 * progmodes/octave.el (octave-help-mode-map)
4196 (octave-help-mode-finish-hook): New variables.
4197 (octave-help-mode, octave-help-mode-finish): New functions.
4198 (octave-help): Use octave-help-mode.
4200 2013-05-20 Glenn Morris <rgm@gnu.org>
4202 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4204 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4206 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4207 start at point, so that expansion starting right after opening
4208 slash in a regexp is recognized.
4209 (ruby-syntax-before-regexp-re): New defvar, extracted from
4210 ruby-syntax-propertize-function. Since the value of this regexp
4211 is looked up at runtime now, we should be able to turn
4212 `ruby-syntax-methods-before-regexp' into a defcustom later.
4213 (ruby-syntax-propertize-function): Split regexp matching into two
4214 parts, for opening and closing slashes. That allows us to skip
4215 over string interpolations and support multiline regexps.
4216 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4217 for them, which calls `ruby-syntax-propertize-expansion'.
4218 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4219 call to `ruby-syntax-propertize-function'.
4220 (ruby-syntax-propertize-expansion): Extracted from
4221 `ruby-syntax-propertize-expansions'. Handles one expansion.
4222 (ruby-syntax-propertize-percent-literal): Leave point right after
4223 the percent symbol, so that the expression expansion rule can
4224 propertize the contents.
4225 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4227 (ruby-syntax-propertize-expansions): Remove.
4229 2013-05-18 Juri Linkov <juri@jurta.org>
4231 * man.el (Man-default-man-entry): Remove `-' from the end
4232 of the default value. (Bug#14400)
4234 2013-05-18 Glenn Morris <rgm@gnu.org>
4236 * comint.el (comint-password-prompt-regexp):
4237 Allow "password for XXX" where XXX contains colons (eg https://...).
4239 2013-05-18 Leo Liu <sdl.web@gmail.com>
4241 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4242 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4243 (octave-source-directories): Don't check process.
4244 (octave-source-directories, octave-find-definition): Doc fix.
4246 2013-05-18 Glenn Morris <rgm@gnu.org>
4248 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4249 Remove backspace/delete bindings. (Bug#14392)
4251 * cus-dep.el (custom-make-dependencies): Sort the output.
4252 (custom-versions-load-alist): Convert comment to doc.
4254 2013-05-17 Leo Liu <sdl.web@gmail.com>
4256 * newcomment.el (comment-search-backward): Stricter in finding
4257 comment start. (Bug#14303)
4259 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4260 (octave-comment-start-skip): Properly anchored.
4262 2013-05-17 Leo Liu <sdl.web@gmail.com>
4264 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4265 Clean up when turned off. (Bug#14395)
4266 (smie--highlight-matching-block-overlay): No longer buffer-local.
4267 (smie-highlight-matching-block): Adjust.
4269 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4271 Doc string fix for "nanoseconds" (Bug#14406).
4272 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4273 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4275 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4277 * calc/calc-units.el (math-extract-units): Preserve powers
4280 2013-05-17 Leo Liu <sdl.web@gmail.com>
4282 * subr.el (delete-consecutive-dups): New function.
4283 * ido.el (ido-set-matches-1): Use it.
4284 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4285 * ido.el (ido-remove-consecutive-dups): Remove.
4287 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4290 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4291 regexp-opt's `words'.
4293 2013-05-16 Leo Liu <sdl.web@gmail.com>
4295 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4296 (smie--highlight-matching-block-overlay)
4297 (smie--highlight-matching-block-lastpos)
4298 (smie--highlight-matching-block-timer): New variables.
4299 (smie-highlight-matching-block): New function.
4300 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4301 (smie-setup): Conditionally enable smie-blink-matching-open.
4303 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4305 Sync with upstream verilog-mode r840.
4306 * progmodes/verilog-mode.el (verilog-mode-version)
4307 (verilog-mode-release-date): Update.
4308 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4309 (verilog-sig-tieoff): Fix string error on
4310 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4311 (verilog-read-decls): Fix parameters confusing
4312 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4314 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4316 * subr.el (reveal-filename): New function.
4318 * loadup.el: Compute Emacs executable versions on MS-Windows,
4319 where executables have the .exe extension. Add a hard link
4320 emacs-XX.YY.ZZ.exe on MS-Windows.
4322 * Makefile.in (XARGS_LIMIT): New variable.
4323 (custom-deps, finder-data, autoloads)
4324 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4325 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4326 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4327 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4329 2013-05-16 Leo Liu <sdl.web@gmail.com>
4331 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4332 (octave-mode-menu, octave-mode-map): Remove its uses.
4334 2013-05-16 Reto Zimmermann <reto@gnu.org>
4336 Sync with upstream vhdl mode v3.34.2.
4337 * progmodes/vhdl-mode.el: Use `push' throughout.
4338 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4339 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4340 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4341 (vhdl-actual-generic-name): New option to derive actual generic name.
4342 (vhdl-port-paste-signals): Replace formal by actual generics.
4343 (vhdl-beautify): New name for old group vhdl-align. Update users.
4344 (vhdl-beautify-options): New option.
4345 (vhdl-last-input-event): New compat alias. Use throughout.
4346 (vhdl-goto-line): Replace user level function `goto-line'.
4347 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4348 vhdl-fix-statement-buffer.
4349 (vhdl-create-mode-menu): Add some entries.
4350 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4351 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4352 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4353 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4354 to force statements on one line.
4355 (vhdl-remove-trailing-spaces-region):
4356 New, split from vhdl-remove-trailing-spaces.
4357 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4358 Respect vhdl-beautify-options.
4359 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4360 (vhdl-update-sensitivity-list): Not add with index if exists without.
4361 Not include array index with signal. Ignore keywords in comments.
4362 (vhdl-get-visible-signals): Regexp tweaks.
4363 (vhdl-template-component-inst): Handle empty library.
4364 (vhdl-template-type): Add template for 'enum' type.
4365 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4366 Use vhdl-replace-string.
4367 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4368 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4369 (vhdl-speedbar-initialize): Update for above name change.
4370 (vhdl-compose-wire-components): Fix in handling of constants.
4371 (vhdl-error-regexp-emacs-alist): New variable.
4372 (vhdl-error-regexp-add-emacs): New function;
4373 adds support for new compile.el (Emacs 22+)
4374 (vhdl-generate-makefile-1): Change target order for single lib. units.
4375 Allow use of absolute file names.
4377 2013-05-16 Leo Liu <sdl.web@gmail.com>
4379 * simple.el (prog-indent-sexp): Indent enclosing defun.
4381 2013-05-15 Glenn Morris <rgm@gnu.org>
4383 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4384 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4385 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4386 (whitespace-highlight): Move to whitespace group.
4388 * comint.el (comint-source):
4389 * pcmpl-linux.el (pcmpl-linux):
4390 * shell.el (shell-faces):
4391 * eshell/esh-opt.el (eshell-opt):
4392 * international/ccl.el (ccl): Remove empty custom groups.
4394 * completion.el (dynamic-completion-mode):
4395 * jit-lock.el (jit-lock-debug-mode):
4396 * minibuffer.el (completion-in-region-mode):
4397 * type-break.el (type-break-mode-line-message-mode)
4398 (type-break-query-mode):
4399 * emulation/tpu-edt.el (tpu-edt-mode):
4400 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4401 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4402 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4404 * term/xterm.el (xterm): Change parent group to terminals.
4406 * master.el (master): Remove empty custom group.
4407 (master-mode): Remove unused :group argument.
4408 * textmodes/refill.el (refill): Remove empty custom group.
4409 (refill-mode): Remove unused :group argument.
4411 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4413 * cus-dep.el: Provide a feature.
4414 (custom-make-dependencies): Ignore dotfiles (dir-locals).
4415 Don't mistakenly ignore files whose basenames match a basename
4416 from preloaded-file-list (eg cedet/ede/simple.el).
4417 Add a fallback method for getting :group.
4419 2013-05-15 Juri Linkov <juri@jurta.org>
4421 * isearch.el (isearch-char-by-name): Rename from
4422 `isearch-insert-char-by-name'. Doc fix.
4423 (isearch-forward): Mention `isearch-char-by-name' in
4424 the docstring. (Bug#13348)
4426 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4427 `exit-minibuffer' instead of
4428 `isearch-nonincremental-exit-minibuffer'.
4429 (isearch-edit-string): Remove mention of
4430 `isearch-nonincremental-exit-minibuffer' from docstring.
4431 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4432 (isearch-forward-exit-minibuffer)
4433 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4435 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4437 * loadup.el: Just use unversioned DOC.
4439 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4440 literals as extending to EOB.
4441 (nxml-last-fontify-end): Remove unused variable.
4442 (nxml-after-change1): Use with-silent-modifications.
4443 (nxml-extend-after-change-region): Simplify.
4444 (nxml-extend-after-change-region1): Remove function.
4445 (nxml-after-change1): Don't adjust for dependent regions.
4446 (nxml-fontify-matcher): Simplify.
4447 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4448 (xmltok-add-dependent): Remove function.
4449 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4450 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4451 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4452 unclosed <[[, <?, comment, and other literals as extending to EOB.
4453 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4454 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4456 (rng-do-some-validation-1): Don't mark dependent regions.
4457 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4458 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4459 (nxml-clear-dependent-regions): Remove functions.
4460 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4461 (nxml-ensure-scan-up-to-date):
4462 Don't clear&mark dependent regions.
4464 2013-05-15 Leo Liu <sdl.web@gmail.com>
4466 * progmodes/octave.el (octave-goto-function-definition):
4467 Improve and fix callers.
4469 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4471 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4472 the setter (bug#14387).
4474 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4475 surrounding group (bug#14402).
4477 2013-05-14 Juri Linkov <juri@jurta.org>
4479 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4482 2013-05-14 Glenn Morris <rgm@gnu.org>
4484 * progmodes/f90.el (f90-imenu-generic-expression):
4485 Fix typo in 2013-05-08 change. (Bug#14402)
4487 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4489 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4490 Remove signals for which replies are never received.
4492 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4494 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4495 (gdb-handler-alist, gdb-handler-number): Remove variables.
4496 (gdb-handler-list): New variable.
4497 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4498 (gdb-pending-handler-p, gdb-handle-reply)
4499 (gdb-remove-all-pending-triggers): New functions.
4500 (gdb-discard-unordered-replies): New defcustom.
4501 (gdb-handler): New defstruct.
4502 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4503 instead of gdb-pending-triggers. Update docstring.
4504 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4505 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4506 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4507 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4508 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4509 (gdb-frame-handler): Pending triggers are now automatically managed.
4510 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4512 (gdb-input): Automatically handles pending triggers. Update docstring.
4513 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4514 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4516 (gdb-done-or-error): Now use gdb-handle-reply.
4518 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4520 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4523 2013-05-14 Glenn Morris <rgm@gnu.org>
4525 * subr.el (user-emacs-directory-warning): New option.
4526 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4528 2013-05-14 Leo Liu <sdl.web@gmail.com>
4530 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4532 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4533 (octave-font-lock-texinfo-comment): Fix invalid search bound
4534 error: wrong side of point.
4536 2013-05-14 Glenn Morris <rgm@gnu.org>
4538 * progmodes/flymake.el (flymake-xml-program): New option.
4539 (flymake-xml-init): Use it.
4541 * term/xterm.el: Provide a feature.
4543 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4545 2013-05-13 Glenn Morris <rgm@gnu.org>
4547 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4548 Add compat aliases as a hack workaround. (Bug#14384)
4550 2013-05-13 Leo Liu <sdl.web@gmail.com>
4552 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4554 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4556 (octave-comment-start-skip): Include %!.
4557 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4559 2013-05-12 Leo Liu <sdl.web@gmail.com>
4561 * progmodes/octave.el (inferior-octave-startup): Store the value
4562 of __octave_srcdir__ for octave-source-directories.
4563 (inferior-octave-check-process): New function refactored out of
4564 inferior-octave-send-list-and-digest.
4565 (octave-source-directories)
4566 (octave-find-definition-filename-function): New variables.
4567 (octave-source-directories)
4568 (octave-find-definition-default-filename): New functions.
4569 (octave-find-definition): Improve to find functions implemented in C++.
4571 2013-05-12 Glenn Morris <rgm@gnu.org>
4573 * calendar/diary-lib.el (diary-outlook-format-1):
4574 Don't include dayname in the output. (Bug#14349)
4576 2013-05-11 Glenn Morris <rgm@gnu.org>
4578 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4580 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4581 Treat cc-provide like provide.
4583 2013-05-11 Kevin Ryde <user42@zip.com.au>
4585 * cus-dep.el (custom-make-dependencies):
4586 Use generated-autoload-load-name for the sake of files such
4587 such cedet/semantic/bovine/c.el, where the base file name
4588 is not in load-path. (Bug#5277)
4590 2013-05-11 Glenn Morris <rgm@gnu.org>
4592 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4595 2013-05-11 Leo Liu <sdl.web@gmail.com>
4597 * progmodes/octave.el (octave-indent-comment): Improve.
4598 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4599 (octave-eldoc-function-signatures, octave-eldoc-function):
4601 (octave-mode, inferior-octave-mode): Add eldoc support.
4603 2013-05-11 Richard Stallman <rms@gnu.org>
4605 * epa.el (epa-decrypt-file): Take output file name as argument
4606 and read it using `interactive'.
4608 2013-05-11 Leo Liu <sdl.web@gmail.com>
4610 * progmodes/octave.el (octave-beginning-of-line)
4611 (octave-end-of-line): Check before using up-list because it jumps
4612 out of more syntactic contructs since moving to smie.
4613 (octave-indent-comment): New function.
4614 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4615 (octave-begin-keywords, octave-end-keywords)
4616 (octave-reserved-words, octave-smie-bnf-table)
4617 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4619 2013-05-11 Glenn Morris <rgm@gnu.org>
4621 * faces.el (internal-face-x-get-resource):
4622 * frame.el (ns-display-monitor-attributes-list):
4623 * calc/calc-aent.el (math-to-radians-2):
4624 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4627 * calc/calc-menu.el: Make it loadable in isolation.
4629 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4630 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4631 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4632 (eudc-bbdb-query-internal): Require 'bbdb.
4634 * lpr.el (lpr-headers-switches):
4635 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4637 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4639 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4641 * term.el (term-set-escape-char): Make it idempotent.
4643 2013-05-10 Leo Liu <sdl.web@gmail.com>
4645 * progmodes/octave.el (inferior-octave-completion-table):
4646 No longer a function and all uses changed. Use cache to speed up
4647 completion due to bug#11906.
4648 (octave-beginning-of-defun): Re-write to be more general.
4650 2013-05-10 Glenn Morris <rgm@gnu.org>
4652 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4654 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4656 * comint.el (comint-redirect-send-command-to-process): Use :around
4657 rather than :override for comint-redirect-filter.
4658 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4659 Call it instead of comint-redirect-original-filter-function (which
4660 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4662 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4664 * frame.el (display-monitor-attributes-list): Add NS case.
4665 (ns-display-monitor-attributes-list): Declare.
4667 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
4669 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4671 2013-05-09 Glenn Morris <rgm@gnu.org>
4673 * international/fontset.el (vertical-centering-font-regexp):
4676 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4678 * bookmark.el (bookmark-search-delay):
4679 * cus-start.el (vertical-centering-font-regexp):
4680 * ps-mule.el (ps-mule-font-info-database-default):
4681 * ps-print.el (ps-default-fg, ps-default-bg):
4682 * type-break.el (type-break-good-break-interval):
4683 * whitespace.el (whitespace-indentation-regexp)
4684 (whitespace-space-after-tab-regexp):
4685 * emacs-lisp/testcover.el (testcover-1value-functions)
4686 (testcover-noreturn-functions, testcover-progn-functions)
4687 (testcover-prog1-functions):
4688 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4689 * eshell/em-glob.el (eshell-glob-translate-alist):
4690 * play/tetris.el (tetris-tty-colors):
4691 * progmodes/cpp.el (cpp-face-default-list):
4692 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4693 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4694 (idlwave-help-browser-generic-args):
4695 * progmodes/make-mode.el (makefile-special-targets-list):
4696 * progmodes/python.el (python-shell-virtualenv-path):
4697 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4698 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4699 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4700 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4701 * textmodes/reftex-vars.el (reftex-format-label-function):
4702 * textmodes/remember.el (remember-diary-file): Fix custom types.
4704 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4707 2013-05-09 Leo Liu <sdl.web@gmail.com>
4709 * progmodes/octave.el (inferior-octave-completion-at-point):
4710 Restore file completion. (Bug#14300)
4711 (inferior-octave-startup): Fix incorrect highlighting for the
4714 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4716 * progmodes/ruby-mode.el: First cut at SMIE support.
4717 (ruby-use-smie): New var.
4718 (ruby-smie-grammar): New constant.
4719 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4720 (ruby-smie--forward-token, ruby-smie--backward-token)
4721 (ruby-smie-rules): New functions.
4722 (ruby-mode-variables): Setup SMIE if applicable.
4724 2013-05-08 Eli Zaretskii <eliz@gnu.org>
4726 * simple.el (line-move-visual): Signal beginning/end of buffer
4727 only if vertical-motion moved less than it was requested. Avoids
4728 silly incorrect error messages when there are display strings with
4729 multiple newlines at EOL.
4731 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4733 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4734 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4735 (prolog-char-quote-workaround):
4736 * progmodes/cperl-mode.el (cperl-under-as-char):
4737 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4739 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4741 (vhdl-mode-syntax-table-init): Remove.
4743 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4746 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4748 (ld-script-font-lock-keywords):
4749 Change regexps to use things like \_< and \_>.
4751 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4752 Change all regexps to use things like \_< and \_>.
4754 * progmodes/autoconf.el (autoconf-definition-regexp)
4755 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4756 Handle a _ with symbol syntax.
4757 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4759 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4760 Consolidate declaration.
4761 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4763 (ada-create-syntax-table): Remove.
4764 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4765 already has the right syntax nowadays.
4766 (ada-goto-next-word): Don't change the syntax of "_".
4768 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4771 2013-05-08 Sam Steingold <sds@gnu.org>
4773 * thingatpt.el (thing-at-point): Accept optional second argument
4774 NO-PROPERTIES to strip the text properties from the return value.
4775 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4776 to `thing-at-point' instead of stripping the properties ourselves.
4777 Also, when `thing-at-point' fails to find a url, prepend "http://"
4778 to the filename at point on the assumption that the user is
4779 pointing at something like gnu.org/gnu.
4781 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
4783 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4784 * faces.el (crm-separator):
4785 Silence byte-compiler.
4787 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4788 (tool-bar-map): Remove unneeded defvars.
4790 2013-05-08 Leo Liu <sdl.web@gmail.com>
4792 Re-work a fix for bug#10994 based on Le Wang's patch.
4793 * ido.el (ido-remove-consecutive-dups): New helper.
4794 (ido-completing-read): Use it.
4795 (ido-chop): Revert fix for bug#10994.
4797 2013-05-08 Adam Spiers <emacs@adamspiers.org>
4799 * cus-edit.el (custom-save-variables):
4800 Pretty-print long values. (Bug#14187)
4802 2013-05-08 Glenn Morris <rgm@gnu.org>
4804 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4805 (m4-mode-syntax-table): Init in the defvar.
4806 (m4-mode-abbrev-table): Let define-derived-mode define it.
4808 2013-05-08 Tom Tromey <tromey@redhat.com>
4810 * progmodes/m4-mode.el (m4-mode-syntax-table):
4811 Do not treat "_" as word constituent. (Bug#14167)
4813 2013-05-07 Glenn Morris <rgm@gnu.org>
4815 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4816 Remove explicit eshell-isearch-cancel-map.
4818 * progmodes/f90.el (f90-smart-end-names): New option.
4819 (f90-smart-end): Doc fix.
4820 (f90-end-block-optional-name): New constant.
4821 (f90-block-match): Respect f90-smart-end-names.
4823 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4825 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4826 about implicit semi-colons (bug#14218).
4828 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4830 * frame.el (display-monitor-attributes-list)
4831 (frame-monitor-attributes): New functions.
4833 2013-05-06 Leo Liu <sdl.web@gmail.com>
4835 * progmodes/octave.el (octave-syntax-propertize-function): Change
4836 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4837 (octave-font-lock-keywords): Use octave-operator-regexp.
4838 (octave-completion-at-point): Rename from
4839 octave-completion-at-point-function.
4840 (inferior-octave-directory-tracker): Robustify.
4841 (octave-text-functions): Remove and fix its uses. No such things
4844 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4846 * emacs-lisp/trace.el (trace--display-buffer): New function.
4847 (trace-make-advice): Use it.
4849 2013-05-06 Juri Linkov <juri@jurta.org>
4851 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4852 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4854 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4855 in the help string. (Bug#12985)
4857 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4859 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4861 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4863 * progmodes/perl-mode.el: Add support for here documents.
4864 (perl-syntax-propertize-function): Match here-doc markers.
4865 (perl-syntax-propertize-special-constructs): Find their end.
4866 (perl-imenu-generic-expression): Use [:alnum:].
4868 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4869 (advice--add-function): Refresh the advice if already present
4872 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
4874 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4876 2013-05-06 Glenn Morris <rgm@gnu.org>
4878 * w32-fns.el (w32-charset-info-alist): Declare.
4880 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4881 of its defcustom properties.
4882 (eshell-cmpl-initialize): No need to load pcomplete.
4884 * generic-x.el: No need to require comint when compiling.
4886 * net/eudc-export.el: Make it loadable without bbdb.
4887 (top-level): Use require rather than load-library.
4888 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4889 (eudc-batch-export-records-to-bbdb)
4890 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4893 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4895 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4896 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4897 some tweaks, instead.
4899 2013-05-05 Leo Liu <sdl.web@gmail.com>
4901 * progmodes/octave.el (octave-font-lock-keywords)
4902 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4903 (inferior-octave-send-list-and-digest): Improve error message.
4904 (octave-mode, inferior-octave-mode): Use setq-local.
4905 (octave-help): Set info-lookup-mode.
4907 2013-05-05 Richard Stallman <rms@gnu.org>
4909 * vc/compare-w.el (compare-windows-whitespace):
4910 Treat no-break space as whitespace.
4912 * mail/rmailsum.el (rmail-summary-rmail-update):
4913 Detect empty summary and don't change selected message.
4914 (rmail-summary-goto-msg): Likewise.
4916 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4917 Doc fixes, rename args.
4919 2013-05-05 Alan Mackenzie <acm@muc.de>
4921 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4923 2013-05-05 Juri Linkov <juri@jurta.org>
4925 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4926 to not add the length of the summary segment to the return value.
4929 2013-05-05 Leo Liu <sdl.web@gmail.com>
4931 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4932 (inferior-octave-output-filter): Remove.
4933 (octave-send-region, inferior-octave-startup): Fix callers.
4934 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4935 (octave-binary-file-extensions): New user variable.
4936 (octave-find-definition): Confirm if opening binary files.
4937 (octave-help-file): Use octave-find-definition to get the binary
4939 (octave-help): Adjust for octave-help-file change.
4941 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4944 Merge the two entries that handle function definitions.
4945 (pascal--syntax-propertize): New const.
4946 (pascal-mode): Use it. Use setq-local.
4948 2013-05-04 Glenn Morris <rgm@gnu.org>
4950 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4951 (diary-from-outlook): Respect diary-from-outlook-function.
4953 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4955 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4956 Move the declaration from C.
4957 (read-minibuffer, eval-minibuffer): Move from C.
4958 (completion-setup-function): Avoid minibuffer-completion-contents.
4960 2013-05-03 Leo Liu <sdl.web@gmail.com>
4962 * progmodes/octave.el (octave-font-lock-keywords): Do not
4963 dehighlight 'end' in comments or strings.
4964 (octave-completing-read, octave-goto-function-definition):
4966 (octave-help-buffer): New user variable.
4967 (octave-help-file, octave-help-function): New button types.
4968 (octave-help): New command and bind it to C-h ;.
4969 (octave-find-definition): New command and bind it to M-.
4970 (user-error): Alias to error if not defined.
4972 2013-05-02 Leo Liu <sdl.web@gmail.com>
4974 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4976 (octave-font-lock-keywords): Include [ and {.
4978 2013-05-02 Leo Liu <sdl.web@gmail.com>
4980 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4981 (inferior-octave): Remove calling comint-mode and return the buffer.
4982 (inferior-octave-startup): Cosmetic changes.
4984 2013-05-02 Leo Liu <sdl.web@gmail.com>
4986 * progmodes/octave.el (octave-syntax-propertize-function):
4987 Include the case when ' is at line beginning. (Bug#14336)
4989 2013-05-02 Glenn Morris <rgm@gnu.org>
4991 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4992 * desktop.el (vc-dir-mode): Just autoload it here.
4994 2013-05-02 Alan Mackenzie <acm@muc.de>
4996 Eliminate variable c-standard-font-lock-fontify-region-function.
4997 * progmodes/cc-mode.el
4998 (c-standard-font-lock-fontify-region-function): Remove.
4999 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5001 2013-05-01 Leo Liu <sdl.web@gmail.com>
5003 * progmodes/octave.el: Compatible with older emacs-24 releases.
5004 (inferior-octave-has-built-in-variables): Remove. Built-in
5005 variables were removed from Octave in 2007.
5006 (inferior-octave-startup): Fix uses.
5007 (comint-line-beginning-position): Remove compatibility code for
5010 2013-05-01 Juri Linkov <juri@jurta.org>
5012 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5014 2013-05-01 Juri Linkov <juri@jurta.org>
5016 * comint.el (comint-previous-matching-input): Don't print message
5017 "History item: %d" when `isearch-mode' is active.
5018 (comint-history-isearch-message): Print message "History item: %d"
5019 when `comint-input-ring-index' is not empty and this function is
5020 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5022 2013-05-01 Leo Liu <sdl.web@gmail.com>
5024 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5025 definitions. Use completion-at-point to insert keywords.
5026 (octave-abbrev-start): Remove.
5027 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5029 2013-04-30 Leo Liu <sdl.web@gmail.com>
5031 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5034 2013-04-30 Alan Mackenzie <acm@muc.de>
5036 Handle arbitrarily long C++ member initialisation lists.
5037 * progmodes/cc-engine.el (c-back-over-member-initializers):
5039 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5040 (most) member init lists.
5042 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5044 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5047 2013-04-30 Leo Liu <sdl.web@gmail.com>
5049 * progmodes/octave.el (octave-variables): Remove. No builtin
5050 variables any more. All converted to functions.
5051 (octave-font-lock-keywords, octave-completion-at-point-function):
5053 (octave-font-lock-texinfo-comment): New user variable.
5054 (octave-texinfo-font-lock-keywords): New variable for texinfo
5056 (octave-function-comment-block): New face.
5057 (octave-font-lock-texinfo-comment): New function.
5058 (octave-mode): Font lock texinfo comment block.
5060 2013-04-29 Leo Liu <sdl.web@gmail.com>
5062 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5063 indexing expression.
5064 (octave-continuation-string): Do not use \.
5065 (inferior-octave-complete-impossible): Remove.
5066 (inferior-octave-completion-table)
5067 (inferior-octave-completion-at-point): Remove its uses.
5068 (inferior-octave-startup): completion_matches was introduced to
5069 Octave in 1996 so safe to assume it.
5070 (octave-function-file-comment): Improve to follow how Octave does it.
5071 (octave-update-function-file-comment): Tweak.
5073 2013-04-29 Leo Liu <sdl.web@gmail.com>
5075 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5076 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5077 (octave-function-file-comment): Fix typo.
5078 (octave-sync-function-file-names): Use read-char-choice.
5080 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5082 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5083 to t for the less important warnings.
5085 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5087 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5089 2013-04-27 Glenn Morris <rgm@gnu.org>
5091 * vc/log-view.el (log-view-current-entry):
5092 Treat "---" separator lines as part of the following rev. (Bug#14169)
5094 2013-04-27 Juri Linkov <juri@jurta.org>
5096 * subr.el (read-number): Doc fix about using it by interactive
5097 code letter `n'. (Bug#14254)
5099 2013-04-27 Juri Linkov <juri@jurta.org>
5101 * desktop.el (desktop-auto-save-timeout): New option.
5102 (desktop-file-checksum): New variable.
5103 (desktop-save): Add optional arg `auto-save' and don't auto-save
5105 (desktop-auto-save-timer): New variable.
5106 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5107 (after-init-hook): Call `desktop-auto-save-set-timer'.
5108 Suggested by Reuben Thomas <rrt@sc3d.org> in
5109 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5111 2013-04-27 Leo Liu <sdl.web@gmail.com>
5113 * progmodes/octave.el (octave-function-file-p)
5114 (octave-skip-comment-forward, octave-function-file-comment)
5115 (octave-update-function-file-comment): New functions.
5116 (octave-mode-map): Bind C-c ; to
5117 octave-update-function-file-comment.
5118 (octave-mode-menu): Add octave-update-function-file-comment.
5119 (octave-mode, inferior-octave-mode): Fix doc-string.
5120 (octave-insert-defun): Conform to Octave's coding convention.
5123 * files.el (basic-save-buffer): Don't let errors in
5124 before-save-hook prevent saving buffer.
5126 2013-04-20 Roland Winkler <winkler@gnu.org>
5128 * faces.el (read-face-name): Use completing-read if arg multiple
5131 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5133 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5134 displayed, move point to after the totals line.
5135 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5138 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5141 Add current dir to the load-path.
5142 (package-generate-autoloads): Don't rely on
5143 autoload-ensure-default-file.
5145 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5147 * textmodes/remember.el (remember-store-in-files): Document that
5148 the file name format is passed to `format-time-string'.
5150 2013-04-26 Leo Liu <sdl.web@gmail.com>
5152 * progmodes/octave.el (octave-sync-function-file-names): New function.
5153 (octave-mode): Use it in before-save-hook.
5155 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5157 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5160 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5161 \n and comment, even if it's not an implicit ; (bug#14218).
5163 2013-04-26 Glenn Morris <rgm@gnu.org>
5165 * subr.el (read-number): Once more use `read' rather than
5166 `string-to-number', to trap non-numeric input. (Bug#14254)
5168 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5170 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5171 Use `syntax-multiline' text property consistently instead of
5172 `font-lock-multiline'. (Bug#14237)
5174 2013-04-26 Glenn Morris <rgm@gnu.org>
5176 * emacs-lisp/shadow.el (list-load-path-shadows):
5177 No longer necessary to check for duplicate simple.el, since
5178 2012-07-07 change to init_lread to not include installation lisp
5179 directories in load-path when running uninstalled. (Bug#14270)
5181 2013-04-26 Leo Liu <sdl.web@gmail.com>
5183 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5184 (octave-mode, inferior-octave-mode): Use setq-local.
5185 (octave-not-in-string-or-comment-p): Rename to
5186 octave-in-string-or-comment-p.
5187 (octave-in-comment-p, octave-in-string-p)
5188 (octave-in-string-or-comment-p): Replace defsubst with defun.
5190 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5192 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5194 2013-04-25 Bastien Guerry <bzg@gnu.org>
5196 * textmodes/remember.el (remember-data-directory)
5197 (remember-directory-file-name-format): Fix custom types.
5199 2013-04-25 Leo Liu <sdl.web@gmail.com>
5201 * progmodes/octave.el (octave-completion-at-point-function):
5202 Make use of inferior octave process.
5203 (octave-initialize-completions): Remove.
5204 (inferior-octave-completion-table): New function.
5205 (inferior-octave-completion-at-point): Use it.
5206 (octave-completion-alist): Remove.
5208 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5210 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5211 (opascal-mode-syntax-table): New var.
5212 (opascal-literal-kind, opascal-is-literal-end)
5213 (opascal-literal-token-at): Rewrite.
5214 (opascal--literal-start-re, opascal-font-lock-keywords)
5215 (opascal--syntax-propertize): New constants.
5216 (opascal-font-lock-defaults): Adjust.
5217 (opascal-mode): Use them. Set comment-<foo> variables as well.
5218 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5219 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5220 (delphi-other-face, opascal-other-face): Remove face variables.
5221 (opascal-save-state): Remove macro.
5222 (opascal-fontifying-progress-step): Remove constant.
5223 (opascal--ignore-changes): Remove var.
5224 (opascal-set-token-property, opascal-parse-next-literal)
5225 (opascal-is-stable-literal, opascal-complete-literal)
5226 (opascal-is-literal-start, opascal-face-of)
5227 (opascal-parse-region, opascal-parse-region-until-stable)
5228 (opascal-fontify-region, opascal-after-change)
5229 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5230 (opascal-debug-parse-region, opascal-debug-parse-window)
5231 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5232 (opascal-debug-fontify-buffer): Remove.
5233 (opascal-debug-mode-map): Adjust accordingly.
5235 2013-04-25 Leo Liu <sdl.web@gmail.com>
5237 Merge octave-mod.el and octave-inf.el into octave.el with some
5239 * progmodes/octave.el: New file renamed from octave-mod.el.
5240 * progmodes/octave-inf.el: Merged into octave.el.
5241 * progmodes/octave-mod.el: Renamed to octave.el.
5243 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5245 * textmodes/reftex-vars.el
5246 (reftex-label-ignored-macros-and-environments): New defcustom.
5248 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5250 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5253 (smie-indent-keyword): Improve the check to ensure that the next
5254 comment is really on the same line.
5255 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5257 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5258 semi-colons if the line is not otherwise empty (bug#14218).
5260 2013-04-25 Glenn Morris <rgm@gnu.org>
5262 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5264 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5266 * progmodes/opascal.el (opascal-set-token-property): Rename from
5267 opascal-set-text-properties and only set `token' (bug#14134).
5268 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5269 (opascal-literal-text-properties): Remove.
5270 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5273 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5275 * textmodes/remember.el (remember-handler-functions): Add an
5276 option for a new handler `remember-store-in-files'.
5277 (remember-data-directory, remember-directory-file-name-format):
5279 (remember-store-in-files): New function to store remember notes
5280 as separate files within a directory.
5282 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5284 * progmodes/compile.el (compilation-next-error-function):
5285 Pass "formats" to compilation-find-file (bug#11777).
5287 2013-04-24 Glenn Morris <rgm@gnu.org>
5289 * vc/vc-bzr.el (vc-bzr-print-log):
5290 * vc/vc-hg.el (vc-hg-print-log):
5291 * vc/vc-svn.el (vc-svn-print-log):
5292 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5294 * vc/vc-bzr.el (vc-bzr-print-log):
5295 * vc/vc-cvs.el (vc-cvs-print-log):
5296 * vc/vc-git.el (vc-git-print-log):
5297 * vc/vc-hg.el (vc-hg-print-log):
5298 * vc/vc-mtn.el (vc-mtn-print-log):
5299 * vc/vc-rcs.el (vc-rcs-print-log):
5300 * vc/vc-sccs.el (vc-sccs-print-log):
5301 * vc/vc-svn.el (vc-svn-print-log):
5302 * vc/vc.el (vc-print-log-internal): Doc fixes.
5304 2013-04-23 Glenn Morris <rgm@gnu.org>
5306 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5307 Remove venerable code attempting to avoid substitute-command-keys.
5309 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5311 * textmodes/reftex-vars.el (reftex-label-regexps):
5312 Call `reftex-compile-variables' after changes to this variable.
5314 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5317 Use lexical-binding.
5318 (jit-lock-force-redisplay): Use markers, check buffer's continued
5319 existence and beware narrowed buffers.
5320 (jit-lock-fontify-now): Adjust call accordingly.
5322 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5324 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5325 to avoid misleading the user.
5327 2013-04-22 Leo Liu <sdl.web@gmail.com>
5329 * info-look.el: Prefer latex2e.info. (Bug#14240)
5331 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5333 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5335 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5336 * net/tramp.el (tramp-call-process): ... here.
5337 (tramp-set-completion-function, tramp-parse-putty):
5338 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5339 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5340 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5341 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5342 (tramp-call-local-coding-command): Use `tramp-call-process'
5343 instead of `tramp-compat-call-process'.
5345 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5346 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5347 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5348 (tramp-find-inline-compress): Improve traces.
5349 (tramp-maybe-send-script): Check for Perl binary.
5350 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5352 2013-04-22 Daiki Ueno <ueno@gnu.org>
5354 * epg.el (epg-context-pinentry-mode): New function.
5355 (epg-context-set-pinentry-mode): New function.
5356 (epg--start): Pass --pinentry-mode option to gpg command.
5358 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5360 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5361 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5362 `completion-at-point'. (Bug#13774)
5364 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5365 default key binding for `describe-distribution' has been moved to
5366 `C-h C-o'. (Bug#13970)
5368 2013-04-21 Glenn Morris <rgm@gnu.org>
5370 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5372 (vc-print-log): Clarify interactive prompt.
5374 2013-04-20 Glenn Morris <rgm@gnu.org>
5376 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5377 No longer include timestamp etc information.
5379 2013-04-20 Roland Winkler <winkler@gnu.org>
5381 * faces.el (read-face-name): Bug fix, return just one face if arg
5382 multiple is nil. (Bug#14209)
5384 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5386 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5387 (remove-function): Autoload.
5389 * comint.el (comint-redirect-original-filter-function): Remove.
5390 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5391 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5392 (vc-cvs-annotate-command):
5393 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5394 * progmodes/prolog.el (prolog-consult-compile):
5395 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5396 Use add/remove-function instead.
5397 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5398 (gud-tooltip-process-output, gud-tooltip-tips):
5399 Use add/remove-function instead.
5400 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5401 (scheme-interaction-mode, exit-scheme-interaction-mode):
5402 Use add/remove-function instead.
5404 * vc/vc-dispatcher.el: Use lexical-binding.
5405 (vc--process-sentinel): Rename from vc-process-sentinel.
5406 Change last arg to be the code to run. Don't use vc-previous-sentinel
5407 and vc-sentinel-commands any more.
5408 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5409 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5411 2013-04-19 Masatake YAMATO <yamato@redhat.com>
5413 * progmodes/sh-script.el (sh-imenu-generic-expression):
5414 Handle function names with a single character. (Bug#14111)
5416 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
5418 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5419 for subroutines defined in an eval (bug#14182).
5421 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5423 * bookmark.el (bookmark-completing-read): Improve handling of empty
5426 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5428 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5430 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5432 New faster Imenu implementation (bug#14058).
5433 * progmodes/python.el:
5434 (python-imenu-prev-index-position):
5435 (python-imenu-format-item-label-function)
5436 (python-imenu-format-parent-item-label-function)
5437 (python-imenu-format-parent-item-jump-label-function):
5439 (python-imenu-format-item-label)
5440 (python-imenu-format-parent-item-label)
5441 (python-imenu-format-parent-item-jump-label)
5442 (python-imenu--put-parent, python-imenu--build-tree)
5443 (python-imenu-create-index, python-imenu-create-flat-index)
5444 (python-util-popn): New functions.
5445 (python-mode): Set imenu-create-index-function to
5446 python-imenu-create-index.
5448 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5450 * winner.el (winner-active-region): Use region-active-p, activate-mark
5451 and deactivate-mark (bug#14225).
5453 * simple.el (deactivate-mark): Don't inline it.
5455 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
5457 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5459 2013-04-18 Tassilo Horn <tsdh@gnu.org>
5461 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5462 file extensions from the archive-mode entry in order to prefer
5463 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5465 2013-04-18 Leo Liu <sdl.web@gmail.com>
5467 * bindings.el (help-event-list): Add ?\?.
5469 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5471 * subr.el (with-wrapper-hook): Declare obsolete.
5472 * simple.el (filter-buffer-substring-function): New hook.
5473 (filter-buffer-substring): Use it.
5474 (filter-buffer-substring-functions): Mark obsolete.
5475 * minibuffer.el (completion-in-region-function): New hook.
5476 (completion-in-region): Use it.
5477 (completion-in-region-functions): Mark obsolete.
5478 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5479 * abbrev.el (abbrev-expand-function): New hook.
5480 (expand-abbrev): Use it.
5481 (abbrev-expand-functions): Mark obsolete.
5482 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5485 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5487 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5488 and do not care about match data.
5490 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5492 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5493 completion tables when completing error conditions and
5494 `declare' arguments.
5495 (lisp-complete-symbol, field-complete): Mark as obsolete.
5496 (check-parens): Unmatched parens are user errors.
5497 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5499 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
5501 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5502 command changed buffer (ie. `flyspell-pre-buffer' is not current
5503 buffer), which prevents making decisions based on invalid value of
5504 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5505 cause an error when `flyspell-pre-point' was nil after switching
5507 (flyspell-post-command-hook): No longer needs to change buffers when
5508 checking pre-word. While at it remove unnecessary progn.
5510 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5512 * textmodes/ispell.el (ispell-add-per-file-word-list):
5513 Fix `flyspell-correct-word-before-point' error when accepting
5514 words and `coment-padding' is an integer by using
5515 `comment-normalize-vars' (Bug #14214).
5517 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5519 New defun movement commands.
5520 * progmodes/python.el (python-nav--syntactically)
5521 (python-nav--forward-defun, python-nav-backward-defun)
5522 (python-nav-forward-defun): New functions.
5524 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5526 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5527 (python-syntax-context): Use named compiler-macro for backwards
5528 compatibility with Emacs 24.x.
5530 2013-04-17 Leo Liu <sdl.web@gmail.com>
5532 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5533 octave-hide-process-buffer.
5535 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5540 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5542 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5543 Fix adjustment of offset when receiving incomplete responses from GDB
5546 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5548 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5549 python-mode-abbrev-table.
5550 (python-skeleton-define): Adjust accordingly.
5551 (python-mode-abbrev-table): New table that inherits from it so that
5552 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5554 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5555 (abbrev-symbol): Use it.
5556 (abbrev--before-point): Use it since we already handle inheritance.
5558 2013-04-16 Leo Liu <sdl.web@gmail.com>
5560 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5561 binding to info-lookup-symbol.
5563 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5565 * minibuffer.el (completion--twq-all):
5566 * term/ns-win.el (ns-initialize-window-system):
5567 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5569 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5571 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5574 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5576 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5578 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5579 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5581 (ruby-end-of-defun): Remove the unused arg, change the docstring
5582 to reflect that this function is only used as the value of
5583 `end-of-defun-function'.
5584 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5585 to reflect an earlier change that beginning/end-of-defun functions
5586 jump between methods in a class definition, as well as top-level
5589 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5591 * minibuffer.el (minibuffer-complete): Don't just scroll
5592 a *Completions* that's been iconified.
5593 (minibuffer-force-complete): Make sure repetitions do cycle when going
5594 through completion-in-region -> minibuffer-complete.
5596 2013-04-15 Alan Mackenzie <acm@muc.de>
5598 Correct the placement of c-cpp-delimiters when there're #s not at
5601 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5602 place a submatch around the #.
5603 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5604 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5607 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5609 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5610 (advice--member-p): New arg `name'.
5611 (advice--add-function, advice-member-p): Use it (bug#14202).
5613 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5615 Reformulate java imenu-generic-expression.
5616 The old expression contained ill formed regexps.
5618 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5619 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5620 (cc-imenu-java-method-arg-regexp): New defconsts.
5621 (cc-imenu-java-build-type-args-regex): New defun.
5622 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5623 handling of spaces in the regexp.
5625 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5627 * textmodes/ispell.el (ispell-command-loop): Remove
5628 flyspell highlight of a word when ispell accepts it (bug #14178).
5630 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5632 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5633 uses code from the previous `ange-ftp-run-real-handler'.
5634 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5635 only in case that function exist. This is needed for proper
5638 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5640 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5642 * textmodes/reftex.el (reftex-compile-variables): Use it.
5644 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5646 * files.el (normal-mode): Only use default major-mode if no other mode
5649 * emacs-lisp/trace.el (trace-values): New function.
5651 * files.el: Allow : in local variables (bug#14089).
5652 (hack-local-variable-regexp): New var.
5653 (hack-local-variables-prop-line, hack-local-variables): Use it.
5655 2013-04-13 Roland Winkler <winkler@gnu.org>
5657 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5658 data before it gets modified by bibtex-beginning-of-entry.
5660 2013-04-13 Roland Winkler <winkler@gnu.org>
5662 * textmodes/bibtex.el (bibtex-url): Doc fix.
5664 2013-04-13 Roland Winkler <winkler@gnu.org>
5666 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5667 does not visit a BibTeX file, exclude it from the list of buffers
5668 returned by bibtex-initialize.
5670 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
5672 * window.el (split-window): Remove interactive form, since as a
5673 command this function is a special case of split-window-below.
5676 2013-04-12 Roland Winkler <winkler@gnu.org>
5678 * faces.el (read-face-name): Do not override value of arg default.
5679 Allow single faces and strings as default values. Remove those
5680 elements from return value that are not faces.
5681 (describe-face): Simplify.
5682 (face-at-point): New optional args thing and multiple so that this
5683 function can provide the same functionality previously provided by
5685 (make-face-bold, make-face-unbold, make-face-italic)
5686 (make-face-unitalic, make-face-bold-italic, invert-face)
5687 (modify-face, read-face-and-attribute): Use face-at-point.
5689 * cus-edit.el (customize-face, customize-face-other-window)
5690 * cus-theme.el (custom-theme-add-face)
5691 * face-remap.el (buffer-face-set)
5692 * facemenu.el (facemenu-set-face): Use face-at-point.
5694 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
5696 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5698 2013-04-10 Tassilo Horn <tsdh@gnu.org>
5700 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5701 off leading { and trailing } from field values.
5703 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5705 * emacs-lisp/timer.el (timer--check): New function.
5706 (timer--time, timer-set-function, timer-event-handler): Use it.
5707 (timer-set-idle-time): Simplify.
5708 (timer--activate): CSE.
5709 (timer-event-handler): Give more info in error message.
5710 (internal-timer-start-idle): New function, moved from C.
5712 * mpc.el (mpc-proc): Add `restart' argument.
5713 (mpc-proc-cmd): Use it.
5714 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5715 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5718 2013-04-10 Masatake YAMATO <yamato@redhat.com>
5720 * progmodes/sh-script.el: Implement `sh-mode' own
5721 `add-log-current-defun-function' (bug#14112).
5722 (sh-current-defun-name): New function.
5723 (sh-mode): Use the function.
5725 2013-04-09 Bastien Guerry <bzg@gnu.org>
5727 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5729 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5731 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5733 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5736 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5738 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5741 2013-04-07 Leo Liu <sdl.web@gmail.com>
5743 * pcmpl-x.el: New file.
5745 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5747 Do not set x-display-name until X connection is established.
5748 This is needed to prevent from weird situation described at
5749 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5750 * frame.el (make-frame): Set x-display-name after call to
5751 window system initialization function, not before.
5752 * term/x-win.el (x-initialize-window-system): Add optional
5753 display argument and use it.
5754 * term/w32-win.el (w32-initialize-window-system):
5755 * term/ns-win.el (ns-initialize-window-system):
5756 * term/pc-win.el (msdos-initialize-window-system):
5757 Add compatible optional display argument.
5759 2013-04-06 Eli Zaretskii <eliz@gnu.org>
5761 * files.el (normal-backup-enable-predicate): On MS-Windows and
5762 MS-DOS compare truenames of temporary-file-directory and of the
5763 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5764 don't fail comparison by compare-strings. Also, compare file
5765 names case-insensitively on MS-Windows and MS-DOS.
5767 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5769 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5770 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5772 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5774 * whitespace.el (whitespace-color-on, whitespace-color-off):
5775 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5777 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
5779 * ispell.el (ispell-set-spellchecker-params):
5780 Really set `ispell-args' for all equivs.
5782 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * ido.el (ido-completions): Use extra elements of ido-decorations
5786 (ido-decorations): Update docstring.
5788 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
5790 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5791 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5792 nil during initialization, in order not to miss changes since the
5793 file was opened. (Bug#14140)
5795 2013-04-05 Leo Liu <sdl.web@gmail.com>
5797 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5799 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5801 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5803 2013-04-04 Glenn Morris <rgm@gnu.org>
5805 * electric.el (electric-pair-inhibit-predicate): Add :version.
5807 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5810 when a package is required several times (bug#14082).
5812 2013-04-04 Roland Winkler <winkler@gnu.org>
5814 * faces.el (read-face-name): Behave as promised by the docstring.
5815 Assume that arg default is a list of faces.
5816 (describe-face): Call read-face-name with list of default faces.
5818 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5820 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5821 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5822 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5824 (bookmark-exit-hook-internal): Save even if list is empty.
5826 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5828 * emacs-lisp/package.el (package-pinned-packages): New var.
5829 (package--add-to-archive-contents): Obey it (bug#14118).
5831 2013-04-03 Alan Mackenzie <acm@muc.de>
5833 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5834 Also adapt to the new values of element 7 of a parse state.
5836 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5837 parameter `not-in-delimiter'. Handle being inside comment opener.
5838 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5839 character in case we're typing a '*' after a '/'.
5840 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5841 instead by passing the parameter to c-state-pp-to-literal.
5843 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5844 for elt. 7 of a parse state.
5846 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5848 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5849 * international/latin1-disp.el, international/mule-util.el:
5850 * language/cyril-util.el, language/european.el, language/ind-util.el:
5851 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5852 * language/tibetan.el, language/viet-util.el:
5853 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5855 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5857 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5858 (electric-pair-post-self-insert-function): Use it.
5859 (electric-pair-default-inhibit): New function, extracted from
5860 electric-pair-post-self-insert-function.
5862 2013-03-31 Roland Winkler <winkler@gnu.org>
5864 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5866 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5870 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
5872 Un-indent after "pass" and "return" statements (Bug#13888)
5873 * progmodes/python.el (python-indent-block-enders): New var.
5874 (python-indent-calculate-indentation): Use it.
5876 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
5878 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5879 defun. Defining it as defalias could introduce too eager
5880 byte-compiler optimization. (Bug#14030)
5882 2013-03-30 Chong Yidong <cyd@gnu.org>
5884 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5886 2013-03-30 Leo Liu <sdl.web@gmail.com>
5888 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5889 (kmacro-execute-from-register): Pass the keyboard macro to
5890 kmacro-call-macro or repeating won't work correctly.
5892 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5894 * progmodes/subword.el: Back to using `forward-symbol'.
5896 * subr.el (forward-whitespace, forward-symbol)
5897 (forward-same-syntax): Move from thingatpt.el.
5899 2013-03-29 Leo Liu <sdl.web@gmail.com>
5901 * kmacro.el (kmacro-to-register): New command.
5902 (kmacro-execute-from-register): New function.
5903 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5905 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5907 * mpc.el: Use defvar-local and setq-local.
5908 (mpc--proc-connect): Connection failures are not bugs.
5909 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5910 (mpc-volume-map): Bind to the up-events.
5912 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5914 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5915 instead of `forward-symbol'.
5917 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5919 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5920 (edebug--recursive-edit): Use it.
5921 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5922 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5924 2013-03-28 Leo Liu <sdl.web@gmail.com>
5926 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5928 2013-03-27 Eli Zaretskii <eliz@gnu.org>
5930 * facemenu.el (list-colors-callback): New defvar.
5931 (list-colors-redisplay): New function.
5932 (list-colors-display): Install list-colors-redisplay as the
5933 revert-buffer-function. (Bug#14063)
5935 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5938 and suffixes don't overlap (bug#14061).
5940 * case-table.el: Use lexical-binding.
5941 (case-table-get-table): New function.
5942 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5944 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5946 * progmodes/subword.el: Add `superword-mode' to do word motion
5947 over symbol_words (parallels and leverages `subword-mode' which
5948 does word motion inside MixedCaseWords).
5950 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5952 * eshell/em-unix.el: Move su and sudo to...
5953 * eshell/em-tramp.el: ...Eshell tramp module.
5955 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5958 Change return value to be a sexp. Delay `get-buffer' to after
5959 restoring the desktop (bug#13951).
5961 2013-03-26 Leo Liu <sdl.web@gmail.com>
5963 * register.el: Move semantic tag handling back to
5964 cedet/semantic/senator.el. (Bug#14052)
5966 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5968 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5969 into the prompt either (bug#13963).
5971 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5974 part of "(error-foo)".
5976 2013-03-24 Juri Linkov <juri@jurta.org>
5978 * replace.el (list-matching-lines-prefix-face): New defcustom.
5979 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5980 `occur-engine' if `face-differs-from-default-p' returns t.
5981 (occur-engine): Add `,' inside backquote construct to evaluate
5982 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5983 Pass `prefix-face' to the functions `occur-context-lines' and
5984 `occur-engine-add-prefix'.
5985 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5986 `prefix-face' and propertize the prefix with `prefix-face'.
5989 2013-03-24 Leo Liu <sdl.web@gmail.com>
5991 * nxml/rng-valid.el (rng-validate-while-idle)
5992 (rng-validate-quick-while-idle): Guard against deleted buffer.
5995 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5996 is the last entry in kill-buffer-hook.
5998 * files.el (kill-buffer-hook): Doc fix.
6000 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6002 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6005 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6007 2013-03-23 Leo Liu <sdl.web@gmail.com>
6009 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6012 * nxml/rng-valid.el (rng-validate-mode)
6013 (rng-after-change-function, rng-do-some-validation):
6014 * nxml/rng-maint.el (rng-validate-buffer):
6015 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6016 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6017 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6018 (nxml-extend-after-change-region): Use with-silent-modifications.
6020 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6023 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6024 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6025 timer-idle-list. (Bug#13999)
6027 2013-03-23 Juri Linkov <juri@jurta.org>
6029 * info.el (info-index-match): New face.
6030 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6031 main pattern and add text properties with the new face to matches
6032 in index entries relative to the beginning of the index entry.
6035 2013-03-21 Eric Ludlam <zappo@gnu.org>
6037 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6038 Inhibit read only while inserting objects.
6040 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6042 * progmodes/cfengine.el: Update docs to mention
6043 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6044 symbol motion. Remove "_" from the word syntax.
6046 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6048 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6049 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6051 2013-03-20 Juri Linkov <juri@jurta.org>
6053 * info.el (Info-next-reference-or-link)
6054 (Info-prev-reference-or-link): New functions.
6055 (Info-next-reference, Info-prev-reference): Use them.
6056 (Info-try-follow-nearest-node): Handle footnote navigation.
6057 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6059 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6061 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6062 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6064 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6066 Suppress unnecessary non-ASCII chatter during build process.
6067 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6068 (batch-skkdic-convert): Suppress most of the chatter.
6069 It's not needed so much now that machines are faster,
6070 and its non-ASCII component was confusing; see Dmitry Gutov in
6071 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6073 2013-03-20 Leo Liu <sdl.web@gmail.com>
6075 * ido.el (ido-chop): Fix bug#10994.
6077 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6079 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6081 (whitespace-color-on, whitespace-color-off):
6082 Use `font-lock-fontify-buffer' (Bug#13817).
6084 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6087 remapping in mode-line.
6088 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6090 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6092 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6093 value for `whitespace-line' face (Bug#13875).
6094 (whitespace-font-lock-keywords): Change description.
6095 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6096 the constructed keywords instead.
6097 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6099 2013-03-19 Leo Liu <sdl.web@gmail.com>
6101 * progmodes/compile.el (compilation-display-error): New command.
6102 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6105 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6107 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6109 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6111 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6113 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6115 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6117 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6118 * net/tramp-gvfs.el (top):
6119 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6120 (tramp-handle-shell-command): Use it.
6121 (tramp-dissect-file-name): Raise an error when hostname is a
6122 method name, and neither method nor user is specified.
6124 * net/trampver.el: Update release number.
6126 2013-03-18 Leo Liu <sdl.web@gmail.com>
6128 Make sure eldoc can be turned off properly.
6129 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6131 (eldoc-display-message-p): Revert last change.
6132 (eldoc-display-message-no-interference-p)
6133 (eldoc-print-current-symbol-info): Tweak.
6135 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6137 * doc-view.el (doc-view-new-window-function): Check the new window
6138 overlay's display property instead the char property of the
6139 buffer's first char. Use `with-selected-window' instead of
6140 `save-window-excursion' with `select-window'.
6141 (doc-view-document->bitmap): Check the current doc-view overlay's
6142 display property instead the char property of the buffer's first char.
6144 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6146 Automate the build of ja-dic.el (Bug#13984).
6147 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6148 from the input, rather than assume that it's been done for us by the
6149 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6150 the current date into a ja-dic.el comment, as that complicates
6153 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * whitespace.el: Fix double evaluation.
6156 (whitespace-space, whitespace-hspace, whitespace-tab)
6157 (whitespace-newline, whitespace-trailing, whitespace-line)
6158 (whitespace-space-before-tab, whitespace-indentation)
6159 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6161 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6162 (whitespace-color-on): Use a single font-lock-add-keywords call.
6163 Fix double-evaluation of face variables.
6165 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6167 * net/tramp-adb.el (tramp-adb-parse-device-names):
6168 Use `start-process' instead of `call-process'. Otherwise, the
6169 function might be blocked under MS Windows. (Bug#13299)
6171 2013-03-17 Leo Liu <sdl.web@gmail.com>
6173 Extend eldoc to display info in the mode-line. (Bug#13978)
6174 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6175 (eldoc-mode-line-string): New variable.
6176 (eldoc-minibuffer-message): New function.
6177 (eldoc-message-function): New variable.
6178 (eldoc-message): Use it.
6179 (eldoc-display-message-p)
6180 (eldoc-display-message-no-interference-p):
6181 Support eldoc-post-insert-mode.
6183 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6184 (eval-expression): Run it.
6186 2013-03-17 Roland Winkler <winkler@gnu.org>
6188 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6189 strings in the list of return values.
6191 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6193 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6194 radix before checking for HMS forms.
6196 2013-03-16 Leo Liu <sdl.web@gmail.com>
6198 * progmodes/scheme.el: Add indentation and font-locking for λ.
6201 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6204 token before point (bug#13942).
6206 2013-03-16 Leo Liu <sdl.web@gmail.com>
6208 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6210 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6212 * startup.el (command-line-normalize-file-name): Fix handling of
6213 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6214 <xfq.free@gmail.com> in
6215 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6217 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6219 Sync with Tramp 2.2.7.
6221 * net/trampver.el: Update release number.
6223 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6225 * doc-view.el Fix bug#13887.
6226 (doc-view-insert-image): Don't modify overlay associated to
6227 non-live windows, and implement horizontal centering of image in
6228 case it's smaller than the window.
6229 (doc-view-new-window-function): Force redisplay of new windows on
6232 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6234 * saveplace.el (save-place-alist-to-file): Don't sort
6235 `save-place-alist', just pretty-print it (bug#13882).
6237 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6239 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6240 Check whether `default-file-name-coding-system' is bound.
6243 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6245 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6246 backquotes for `obsolete' (bug#13929).
6248 * international/mule.el (find-auto-coding): Include file name in
6249 obsolescence warning (bug#13922).
6251 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6253 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6254 for CFEngine 3-specific indentation.
6255 (cfengine3-indent-line): Use it. Fix up category regex.
6256 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6258 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * type-break.el (type-break-file-name):
6261 * textmodes/remember.el (remember-data-file):
6262 * strokes.el (strokes-file):
6263 * shadowfile.el (shadow-initialize):
6264 * saveplace.el (save-place-file):
6265 * ps-bdf.el (bdf-cache-file):
6266 * progmodes/idlwave.el (idlwave-config-directory):
6267 * net/quickurl.el (quickurl-url-file):
6268 * international/kkc.el (kkc-init-file-name):
6269 * ido.el (ido-save-directory-list-file):
6270 * emulation/viper.el (viper-custom-file-name):
6271 * emulation/vip.el (vip-startup-file):
6272 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6273 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6275 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6277 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6278 * language/thai-word.el: Switch to UTF-8.
6280 See ChangeLog.16 for earlier changes.
6286 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6288 This file is part of GNU Emacs.
6290 GNU Emacs is free software: you can redistribute it and/or modify
6291 it under the terms of the GNU General Public License as published by
6292 the Free Software Foundation, either version 3 of the License, or
6293 (at your option) any later version.
6295 GNU Emacs is distributed in the hope that it will be useful,
6296 but WITHOUT ANY WARRANTY; without even the implied warranty of
6297 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6298 GNU General Public License for more details.
6300 You should have received a copy of the GNU General Public License
6301 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.