1 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4 (js-switch-indent-offset): New option.
5 (js--proper-indentation): Use it. And handle the case when
6 "default" is actually a key in an object literal.
7 (js--same-line): New function.
8 (js--multi-line-declaration-indentation): Use it.
9 (js--indent-in-array-comp, js--array-comp-indentation): New
11 (js--proper-indentation): Use them, to handle array comprehension
14 2013-12-08 Leo Liu <sdl.web@gmail.com>
16 * progmodes/flymake.el (flymake-highlight-line): Re-write.
17 (flymake-make-overlay): Remove arg MOUSE-FACE.
18 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
20 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
22 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
24 (redisplay-highlight-region-function): Use it.
26 * emulation/cua-base.el (cua--explicit-region-start)
27 (cua--last-region-shifted): Remove.
28 (cua--deactivate): Use deactivate-mark.
29 (cua--pre-command-handler-1): Don't handle shift-selection.
30 (cua--post-command-handler-1): Don't change transient-mark-mode.
31 (cua--select-keymaps): Use region-active-p rather than
32 cua--explicit-region-start or cua--last-region-shifted.
33 (cua-mode): Enable shift-select-mode.
35 2013-12-08 Leo Liu <sdl.web@gmail.com>
37 * progmodes/flymake.el (flymake-popup-current-error-menu):
38 Rename from flymake-display-err-menu-for-current-line. Reimplement.
39 (flymake-posn-at-point-as-event, flymake-popup-menu)
40 (flymake-make-emacs-menu): Remove. (Bug#16077)
42 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
44 * rect.el (rectangle-mark-mode): Activate mark even if
45 transient-mark-mode is off (bug#16066).
46 (rectangle--highlight-for-redisplay): Fix boundary condition when point
47 is > mark and at bolp.
49 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
50 (region-extract-function): Use it.
51 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
52 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
54 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
55 kill-ring-save, kill-region, delete-char, delete-forward-char.
56 Ignore self-insert-iso.
58 * emulation/cua-gmrk.el (cua--init-global-mark):
59 Ignore `self-insert-iso'.
61 * emulation/cua-base.el (cua--prefix-copy-handler)
62 (cua--prefix-cut-handler): Rely on region-extract-function rather than
63 checking cua--rectangle.
64 (cua-delete-region): Use region-extract-function.
65 (cua-replace-region): Delete function.
66 (cua-copy-region, cua-cut-region): Obey region-extract-function.
67 (cua--pre-command-handler-1): Don't do the delete-selection thing.
68 (cua--self-insert-char-p): Ignore `self-insert-iso'.
69 (cua--init-keymaps): Don't remap delete-selection commands.
70 (cua-mode): Use delete-selection-mode instead of rolling our own
73 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
74 Obey region-extract-function.
76 Make registers and delete-selection-mode work on rectangles.
77 * register.el (describe-register-1): Don't modify the register's value.
78 (copy-to-register): Obey region-extract-function.
79 * delsel.el (delete-active-region): Obey region-extract-function.
81 2013-12-08 Leo Liu <sdl.web@gmail.com>
83 * progmodes/flymake.el (flymake, flymake-error-bitmap)
84 (flymake-warning-bitmap, flymake-fringe-indicator-position)
85 (flymake-compilation-prevents-syntax-check)
86 (flymake-start-syntax-check-on-newline)
87 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
88 (flymake-start-syntax-check-on-find-file, flymake-log-level)
89 (flymake-xml-program, flymake-master-file-dirs)
90 (flymake-master-file-count-limit)
91 (flymake-allowed-file-name-masks): Relocate.
92 (flymake-makehash, flymake-float-time)
93 (flymake-replace-regexp-in-string, flymake-split-string)
94 (flymake-get-temp-dir): Remove.
95 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
96 (flymake-current-row, flymake-selected-frame)
97 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
98 related functions. (Bug#16077)
100 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
102 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
104 2013-12-07 Tassilo Horn <tsdh@gnu.org>
106 * help-fns.el (describe-function-1): Use new advice-* functions
107 rather than old ad-* functions. Fix function type description and
108 source links for advised functions and subrs.
110 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
112 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
114 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
116 * progmodes/compile.el (compilation-start):
117 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
119 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
120 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
122 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
124 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
125 Touch up the last change.
127 2013-12-06 Leo Liu <sdl.web@gmail.com>
129 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
130 (inferior-octave-startup): Always use "octave> " for prompt.
131 (octave-goto-function-definition)
132 (octave-sync-function-file-names)
133 (octave-find-definition-default-filename): Remove redundant backquotes.
135 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
137 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
139 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
140 where appropriate already.
141 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
142 end of method names (Bug#15874).
144 2013-12-06 Juri Linkov <juri@jurta.org>
146 * isearch.el (isearch--saved-overriding-local-map):
147 New internal variable.
148 (isearch-mode): Set it to the initial value of
149 `overriding-terminal-local-map'.
150 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
151 with `isearch--saved-overriding-local-map'. (Bug#16035)
153 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
155 * progmodes/octave.el (inferior-octave-completion-table):
156 Turn back into function, use `completion-table-with-cache'
157 (Bug#11906). Update all references.
159 * minibuffer.el (completion-table-with-cache): New function.
161 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
163 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
165 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
167 * net/eww.el (eww-current-source): New variable to store page
169 (eww-display-html, eww-mode, eww-save-history)
170 (eww-restore-history): Use it.
171 (eww-view-source): New command to view page source.
172 Opportunistically uses `html-mode' to highlight the buffer.
173 (eww-mode-map): Install it.
175 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
177 * net/dbus.el (dbus-unregister-service)
178 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
180 (dbus-unregister-service): Skip :serial entries in
181 `dbus-registered-objects-table'.
182 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
184 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
186 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
187 around keywords with extra `split-string' argument.
189 2013-12-04 Martin Rudalics <rudalics@gmx.at>
191 * windmove.el (windmove-other-window-loc): Handle navigation
192 between windows (excluding the minibuffer window - Bug#16017).
194 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
196 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
197 in D-Bus type syntax.
198 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
199 preserve unibyte strings. (Bug#16048)
201 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
203 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
204 Call force-mode-line-update is the proper buffer (bug#16042).
206 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
208 * vc/log-edit.el (log-edit-add-new-comment): Rename to
209 `log-edit-remember-comment', make argument optional. Adjust all
211 (log-edit-mode): Add `log-edit-remember-comment' to
212 `kill-buffer-hook' locally.
213 (log-edit-kill-buffer): Don't remember comment explicitly since
214 the buffer is killed anyway.
216 2013-12-04 Juri Linkov <juri@jurta.org>
218 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
219 add-hook and remove-hook for multi-buffer search. (Bug#16035)
221 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
223 * notifications.el (notifications-close-notification): Call the
224 D-Bus method with ID being a `:uint32'. (Bug#16030)
226 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
228 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
230 2013-12-03 Juri Linkov <juri@jurta.org>
232 * progmodes/compile.el (compilation-start): Rename window alist
233 entry `no-display-ok' to `allow-no-window'.
235 * simple.el (shell-command): Add window alist entry
236 `allow-no-window' to `display-buffer'.
237 (async-shell-command): Doc fix.
239 * window.el (display-buffer-no-window): New action function.
240 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
242 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
244 * vc/log-edit.el (log-edit-set-header): Extract from
245 `log-edit-toggle-header'.
246 (log-edit-extract-headers): Separate the summary, when extracted
247 from header, from the rest of the message with an empty line.
249 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
250 line, if present, to the Summary header.
252 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
254 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
255 in current-buffer (bug#16029).
257 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
259 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
260 (debugger-mode-map): Bind it.
261 (debugger--backtrace-base): New function.
262 (debugger-eval-expression): Use it.
263 (debugger-frame-number): Skip local vars when present.
264 (debugger--locals-visible-p, debugger--insert-locals)
265 (debugger--show-locals, debugger--hide-locals): New functions.
267 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
269 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
271 (tramp-get-remote-locale): New defun.
272 (tramp-open-connection-setup-interactive-shell): Use it.
274 2013-12-02 Leo Liu <sdl.web@gmail.com>
276 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
278 * progmodes/sh-script.el (sh-shell-process):
279 * progmodes/octave.el (inferior-octave-process-live-p):
280 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
281 (gdb-inferior-io-sentinel):
282 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
284 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
286 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
287 `save-selected-window' to `log-edit-hide-buf'. This makes
288 `log-edit-show-files' idempotent.
289 (log-edit-show-files): Mark the new window as dedicated.
291 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
293 * vc/log-edit.el (log-edit-mode-map): Add binding for
294 `log-edit-kill-biffer'.
295 (log-edit-hide-buf): Add a FIXME comment.
296 (log-edit-add-new-comment): New function, extracted from
298 (log-edit-done, log-edit-add-to-changelog): Use it.
299 (log-edit-kill-buffer): New command.
301 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
303 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
304 instead of killing the buffer.
306 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
308 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
310 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
312 * net/eww.el (eww-form-checkbox-selected-symbol)
313 (eww-form-checkbox-symbol): New customizable variable.
314 (eww-form-checkbox, eww-toggle-checkbox):
315 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
317 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
318 (shr--get-media-pref, shr--extract-best-source): New function.
319 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
320 no :src tag was specified.
322 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
323 (eww-render): Handle `eww-use-external-browser-for-content-type'.
324 Use \\` to match beginning of string instead of ^.
325 (eww-browse-with-external-browser): Provide optional URL parameter.
326 (eww-render): Set `eww-current-title' back to "".
328 * net/shr.el (shr-tag-video): Display content for video if no
330 (shr-tag-audio): Add support for <audio> tag.
332 * net/eww.el (eww-text-input-types): : New const.
333 (eww-process-text-input): Treat input types in
334 `eww-text-input-types' as text.
336 * net/shr.el (shr-tag-table): Fix comment typo.
338 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
340 * net/eww.el (eww-follow-link): New command to avoid reloading
341 pages when we follow #target links (bug#15243).
342 (eww-quit): Special mode buffers shouldn't query before exiting.
344 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
346 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
349 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
351 * net/eww.el (eww-restore-history): Update the window title after
352 moving in the history.
353 (eww-current-dom): New variable used to save the current DOM.
355 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
357 * vc/log-edit.el (log-edit-mode-map): Add binding for
358 `log-edit-beginning-of-line'.
359 (log-edit-setup-add-author): New user option.
360 (log-edit-beginning-of-line): New command.
361 (log-edit): Move major mode call above the contents setup so that
362 the local variable values are already applied.
363 (log-edit): Only insert "Author: " when
364 `log-edit-setup-add-author' is non-nil.
365 (log-edit): When SETUP is non-nil, position point after ": "
366 instead of point-min.
368 2013-12-01 Glenn Morris <rgm@gnu.org>
370 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
372 2013-11-30 Eli Zaretskii <eliz@gnu.org>
374 * startup.el (fancy-splash-frame): On MS-Windows, trigger
375 redisplay to make sure the initial frame gets a chance to become
378 2013-11-30 Martin Rudalics <rudalics@gmx.at>
380 Support resizing frames and windows pixelwise.
381 * cus-start.el (frame-resize-pixelwise)
382 (window-resize-pixelwise): New entries.
383 * emacs-lisp/debug.el (debug): Use window-total-height instead
384 of window-total-size.
385 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
386 * help.el (describe-bindings-internal): Call help-buffer
387 (temp-buffer-max-width): New option.
388 (resize-temp-buffer-window, help-window-setup)
389 (with-help-window): Rewrite.
390 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
392 * window.el (frame-char-size, window-min-pixel-height)
393 (window-safe-min-pixel-height, window-safe-min-pixel-width)
394 (window-min-pixel-width, window-safe-min-pixel-size)
395 (window-combination-p, window-safe-min-size)
396 (window-resizable-p, window--size-to-pixel)
397 (window--pixel-to-size, window--resize-apply-p): New functions.
398 (window-safe-min-height): Fix doc-string.
399 (window-size, window-min-size, window--min-size-1)
400 (window-sizable, window-sizable-p, window--min-delta-1)
401 (window-min-delta, window--max-delta-1, window-max-delta)
402 (window--resizable, window--resizable-p, window-resizable)
403 (window-full-height-p, window-full-width-p, window-at-side-p)
404 (window--in-direction-2, window-in-direction)
405 (window--resize-reset-1, window--resize-mini-window)
406 (window-resize, window-resize-no-error)
407 (window--resize-child-windows-normal)
408 (window--resize-child-windows, window--resize-siblings)
409 (window--resize-this-window, window--resize-root-window)
410 (window--resize-root-window-vertically)
411 (adjust-window-trailing-edge, enlarge-window, shrink-window)
412 (maximize-window, minimize-window, delete-window)
413 (quit-restore-window, window-split-min-size, split-window)
414 (balance-windows-2, balance-windows)
415 (balance-windows-area-adjust, balance-windows-area)
416 (window--state-get-1, window-state-get, window--state-put-1)
417 (window--state-put-2, window-state-put)
418 (display-buffer-record-window, window--display-buffer):
419 Make functions handle pixelwise sizing of windows.
420 (display-buffer--action-function-custom-type)
421 (display-buffer-fallback-action):
422 Add display-buffer-in-previous-window.
423 (display-buffer-use-some-window): Resize window to height it had
425 (fit-window-to-buffer-horizontally): New option.
426 (fit-frame-to-buffer): Describe new values.
427 (fit-frame-to-buffer-bottom-margin): Replace with
428 fit-frame-to-buffer-margins.
429 (window--sanitize-margin): New function.
430 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
431 using window-text-pixel-size.
433 2013-11-30 Glenn Morris <rgm@gnu.org>
435 * emacs-lisp/bytecomp.el (byte-compile-form):
436 Make the `interactive-only' warning like the `obsolete' one.
437 * comint.el (comint-run):
438 * files.el (insert-file-literally, insert-file):
439 * replace.el (replace-string, replace-regexp):
440 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
441 (goto-line, insert-buffer, next-line, previous-line):
442 Tweak `interactive-only' spec.
444 Stop keeping (most) generated cedet grammar files in the repository.
445 * Makefile.in (semantic): New.
446 (compile-main): Depend on semantic.
448 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
450 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
451 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
453 * uniquify.el (uniquify-buffer-name-style): Change default.
455 * loadup.el: Preload "uniquify".
457 * time.el (display-time-update): Update all mode lines (bug#15999).
459 * electric.el (electric-indent-mode): Enable by default.
460 * loadup.el: Preload "electric".
462 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
464 * emacs-lisp/helpers.el (string-empty-p): New function.
465 (string-blank-p): New function.
467 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
469 * imenu.el (imenu--index-alist): Add missing dot to the docstring
472 2013-11-29 Andreas Politz <politza@fh-trier.de>
473 * imenu.el (imenu--subalist-p): Don't error on non-conses and
474 allow non-lambda lists as functions.
475 (imenu--in-alist): Don't recurse into non-subalists.
476 (imenu): Don't pass function itself as an argument (Bug#14029).
478 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
480 * progmodes/python.el (python-mode-map): Remove binding for ":".
481 (python-indent-electric-colon): Remove command.
482 (python-indent-post-self-insert-function): Integrate the previous code
483 of python-indent-electric-colon. Make it conditional on
484 electric-indent-mode.
485 (python-mode): Add ?: to electric-indent-chars.
486 Move python-indent-post-self-insert-function to the end of
487 post-self-insert-hook.
489 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
491 * doc-view.el (doc-view-goto-page): Update mode-line.
493 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
495 2013-11-27 Glenn Morris <rgm@gnu.org>
497 * international/charprop.el, international/uni-bidi.el:
498 * international/uni-category.el, international/uni-combining.el:
499 * international/uni-comment.el, international/uni-decimal.el:
500 * international/uni-decomposition.el, international/uni-digit.el:
501 * international/uni-lowercase.el, international/uni-mirrored.el:
502 * international/uni-name.el, international/uni-numeric.el:
503 * international/uni-old-name.el, international/uni-titlecase.el:
504 * international/uni-uppercase.el:
505 Remove generated files from VCS repository.
507 2013-11-27 Eli Zaretskii <eliz@gnu.org>
509 * filenotify.el (file-notify-add-watch): Don't special-case
510 w32notify when computing the directory to watch.
512 2013-11-27 Glenn Morris <rgm@gnu.org>
514 Make bootstrap without generated uni-*.el files possible again.
515 * loadup.el: Update command-line-args checking for unidata-gen.
516 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
517 * composite.el, international/characters.el:
518 Handle unicode tables being undefined.
520 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
521 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
522 (compile-main): Depend on leim rule.
524 * loadup.el: Move leim-list.el to leim/ subdirectory.
525 * startup.el (normal-top-level): No more leim directory.
526 * international/ja-dic-cnv.el (skkdic-convert):
527 Disable version-control and autoloads in output files.
528 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
529 Disable version-control and autoloads in output files.
530 * leim/quail: Move here from ../leim.
531 * leim/quail/hangul.el (hangul-input-method-activate):
533 (generated-autoload-load-name): Set file-local value.
534 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
535 (generated-autoload-load-name): Set file-local value.
537 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
539 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
540 (eww-add-bookmark): ask confirmation when add to bookmarks
541 (eww-quit): ask confirmation before quitting eww
543 2013-11-26 Eli Zaretskii <eliz@gnu.org>
545 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
546 reading output from Diff on MS-Windows and MS-DOS.
548 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
550 * emacs-lisp/helpers.el (string-reverse): New function.
552 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
554 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
555 names on MS Windows, like "/[::1]:".
557 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
560 2013-11-26 Glenn Morris <rgm@gnu.org>
562 * progmodes/python.el (python-indent-guess-indent-offset):
563 Avoid corner-case error. (Bug#15975)
565 Preload leim-list.el. (Bug#4789)
566 * loadup.el: Load leim-list.el when found.
567 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
569 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
571 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
573 * emacs-lisp/helpers.el (string-join): New function.
575 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
578 Mark as obsolete and replace it with a symbol property.
579 (byte-compile-form): Use new 'interactive-only property.
580 * comint.el, files.el, replace.el, simple.el:
581 Apply new 'interactive-only properly.
583 2013-11-25 Martin Rudalics <rudalics@gmx.at>
585 * window.el (display-buffer-at-bottom): Make sure that
586 split-window-sensibly creates the new window on bottom
589 2013-11-23 David Kastrup <dak@gnu.org>
591 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
592 on the conflict markers when available.
593 (smerge--get-marker): New function.
594 (smerge-end-re, smerge-base-re): Add subgroup.
596 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
598 * frame.el (handle-focus-in, handle-focus-out): Add missing
601 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
603 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
604 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
606 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
608 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
609 (gomoku--last-pos): New var.
610 (gomoku--intangible-chars): New const.
611 (gomoku--intangible): New function.
612 (gomoku-mode): Use it. Derive from special-mode.
613 (gomoku-move-up): Adjust line count.
614 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
615 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
616 Simplify accordingly.
618 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
619 Remove blink-cursor code.
620 (blink-cursor-timer-function, blink-cursor-suspend):
621 Don't special-case GUIs.
622 (blink-cursor-mode): Use focus-in/out-hook.
624 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
626 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
627 work when annotation is invisible (Bug#13886).
629 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
631 * json.el (json-alist-p): Only return non-nil if the alist has
632 simple keys (Bug#13518).
634 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
636 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
637 when control-statement is the first statement in a buffer (Bug#15956).
639 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
641 * imenu.el (imenu-generic-skip-comments-and-strings):
642 New option (Bug#15560).
643 (imenu--generic-function): Use it.
645 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
647 * minibuffer.el (completion--in-region-1): Scroll the correct
650 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
652 * emacs-lisp/helpers.el: Add some string helpers.
653 (string-trim-left): Removes leading whitespace.
654 (string-trim-right): Removes trailing whitespace.
655 (string-trim): Removes leading and trailing whitespace.
657 * subr.el (string-suffix-p): New function.
659 2013-11-23 Glenn Morris <rgm@gnu.org>
661 * progmodes/python.el (python-shell-send-file):
662 Add option to delete file when done. (Bug#15647)
663 (python-shell-send-string, python-shell-send-region): Use it.
665 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
667 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
668 to set buffer-read-only to t, never to nil. (Bug#15938)
670 * textmodes/tex-mode.el (latex-noindent-environments):
671 Add safe-local-variable property. (Bug#15936)
673 2013-11-23 Glenn Morris <rgm@gnu.org>
675 * textmodes/enriched.el (enriched-mode): Doc fix.
676 * emacs-lisp/authors.el (authors-renamed-files-alist):
677 Add enriched.doc -> enriched.txt.
679 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
681 2013-11-22 Leo Liu <sdl.web@gmail.com>
683 * progmodes/octave.el (inferior-octave-startup): Spit out error
686 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
688 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
691 (ruby-encoding-magic-comment-style): Add :version.
693 2013-11-22 Leo Liu <sdl.web@gmail.com>
695 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
697 (octave-help-mode): Adapt to change to help-mode-finish to use
698 derived-mode-p on 2013-09-17.
699 (inferior-octave-prompt): Also match octave-gui.
700 (octave-kill-process): Don't ask twice. (Bug#10564)
702 2013-11-22 Leo Liu <sdl.web@gmail.com>
704 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
705 (inferior-octave-startup, inferior-octave-check-process)
706 (inferior-octave-track-window-width-change)
707 (octave-completion-at-point, octave-eldoc-function): Use it.
708 (octave-kill-process): Provide confirmation. (Bug#10564)
710 2013-11-21 Leo Liu <sdl.web@gmail.com>
712 * progmodes/octave.el (octave-mode, inferior-octave-mode):
713 Fix obsolete variable comment-use-global-state.
715 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
717 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
718 Add `octave-source-file'.
719 (octave-source-file): New function. (Bug#15935)
721 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
723 * net/eww.el (eww-local-regex): New variable.
724 (eww): Use it to detect localhost and similar.
726 2013-11-21 Leo Liu <sdl.web@gmail.com>
728 Add completion for command `ag'.
729 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
730 (pcomplete/ag): New function.
731 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
733 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
735 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
737 (make-obsolete): Remove interactive spec.
739 2013-11-21 Glenn Morris <rgm@gnu.org>
741 * startup.el (command-line-1): Use path-separator with -L.
743 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
745 * emacs-lisp/package.el (describe-package-1): Add package archive
748 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
750 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
751 Change default to "# encoding: %s" to differentiate it from the
752 default Ruby encoding comment template.
754 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
756 * ses.el (ses-mode): Doc fix. (Bug#14748)
758 2013-11-20 Leo Liu <sdl.web@gmail.com>
760 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
762 2013-11-19 Dan Nicolaescu <dann@gnu.org>
764 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
765 when rebase or bisect are in progress.
767 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
769 * filenotify.el (file-notify-add-watch): Doc fix.
771 2013-11-19 Leo Liu <sdl.web@gmail.com>
773 * obsolete/rcompile.el: Mark obsolete.
775 * progmodes/compile.el (compilation-start)
776 (compilation-goto-locus, compilation-find-file):
777 Pass no-display-ok and handle nil value from display-buffer.
780 * window.el (display-buffer-alist, display-buffer): Document the
781 new parameter no-display-ok. Return either a window or nil
782 but never a non-window value.
784 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
786 * electric.el (electric-indent-mode-map): Remove.
787 (electric-indent-mode): Change the global-map instead (bug#15915).
789 * textmodes/text-mode.el (paragraph-indent-minor-mode):
792 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
794 * emacs-lisp/nadvice.el (remove-function): Align with
795 add-function's behavior.
797 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
798 (gdb--string-regexp): New constant.
799 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
800 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
801 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
803 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
804 Adjust use accordingly.
805 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
807 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
809 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
810 interpolation curlies (Bug#15914).
812 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
814 * calc/calc.el (calc-context-sensitive-enter): New variable.
815 (calc-enter): Use `calc-context-sensitive-enter'.
817 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
819 * progmodes/cfengine.el: Version bump.
820 (cfengine-cf-promises): New defcustom to locate cf-promises.
821 (cfengine3-vartypes): Add new "data" type.
822 (cfengine3--current-word): New function to get current name-like
824 (cfengine3--current-function): New function to look up a CFEngine
825 function's definition.
826 (cfengine3-format-function-docstring): New function.
827 (cfengine3-make-syntax-cache): New function.
828 (cfengine3-documentation-function): New function: ElDoc glue.
829 (cfengine3-completion-function): New function: completion glue.
830 (cfengine3-mode): Set `compile-command',
831 `eldoc-documentation-function', and add to
832 `completion-at-point-functions'.
834 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
836 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
837 `tramp-current-connection'.
839 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
841 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
842 nil/self/true/false with "end of symbol".
844 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
846 * subr.el (version-regexp-alist): Fix a typo.
848 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
850 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
851 "en_US.utf8" and "LC_CTYPE" to "".
852 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
853 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
855 2013-11-15 Leo Liu <sdl.web@gmail.com>
857 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
859 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
861 * progmodes/gud.el (ctl-x-map):
862 Remove C-x SPC binding. (Bug#12342)
863 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
865 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
867 * subr.el (version-regexp-alist):
868 Recognize hg, svn and darcs versions as snapshot versions.
870 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
871 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
872 (ruby--encoding-comment-required-p): Extract from
873 `ruby-mode-set-encoding'.
874 (ruby-mode-set-encoding): Add the ability to always insert an
875 utf-8 encoding comment. Fix and simplify coding comment update
878 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
880 * net/tramp-gvfs.el (top): Run init code only when
881 `tramp-gvfs-enabled' is not nil.
882 (tramp-gvfs-enabled): Check also :system bus.
884 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
886 Sync with upstream verilog-mode revision 78e66ba.
887 * progmodes/verilog-mode.el (verilog-end-of-defun)
888 (verilog-type-completion, verilog-get-list): Remove unused funcs.
889 (verilog-get-end-of-defun): Remove unused argument.
890 (verilog-comment-depth): Remove unused local `e'.
891 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
892 Don't pass arg to verilog-get-end-of-defun.
894 2013-11-14 Glenn Morris <rgm@gnu.org>
896 * obsolete/assoc.el (aget): Prefix dynamic variable.
898 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
900 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
902 * widget.el, hfy-cmap.el: Remove bogus package version number.
904 2013-11-13 Glenn Morris <rgm@gnu.org>
906 * replace.el (replace-eval-replacement):
907 Try to give more helpful error message. (Bug#15836)
909 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
910 (archive-7z-update): Avoid custom type mismatches.
912 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
914 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
916 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
917 address can be empty.
919 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
921 (tramp-gvfs-handle-write-region): Implement APPEND.
923 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
925 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
926 binary "|" operator and closing block args delimiter.
927 Remove FIXME comment referring to Ruby 1.8-only syntax.
928 (ruby-smie--implicit-semi-p): Not after "|" operator.
929 (ruby-smie--closing-pipe-p): New function.
930 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
931 (ruby-smie-rules): Indent after "|".
933 2013-11-12 Glenn Morris <rgm@gnu.org>
935 * ps-print.el (ps-face-attribute-list):
936 Handle anonymous faces. (Bug#15827)
938 2013-11-12 Martin Rudalics <rudalics@gmx.at>
940 * window.el (display-buffer-other-frame): Fix doc-string.
943 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
945 * subr.el (force-mode-line-update): Delete, move to buffer.c.
947 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
950 (tramp-sh-handle-file-local-copy): Don't write a message when
951 saving temporary files.
953 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
954 both directories are remote.
955 (tramp-smb-handle-directory-files): Do not return double entries.
956 Do not expand full file names.
957 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
958 (tramp-smb-handle-write-region): Implement APPEND.
959 (tramp-smb-get-stat-capability): Fix a stupid bug.
961 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
963 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
965 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
967 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
968 throwing error over malformed let/let* (bug#15814).
970 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
972 * iswitchb.el (iswitchb-mode): Mark obsolete.
974 2013-11-11 Glenn Morris <rgm@gnu.org>
976 * international/uni-bidi.el, international/uni-category.el:
977 * international/uni-name.el, international/uni-numeric.el:
978 Regenerate for Unicode 6.3.0.
980 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
982 * net/tramp.el (tramp-methods):
983 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
984 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
986 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
988 * progmodes/sh-script.el (sh-font-lock-keywords-var):
989 Force highlighting text after Summary keyword in doc face for rpm.
991 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
993 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
994 available and the word has no wildcards, append one to the grep pattern.
995 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
996 (ispell-complete-word): Call `ispell-lookup-words' with the value
997 independent of `ispell-look-p'.
999 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1001 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1003 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1006 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1009 (ruby-font-lock-keywords): Use backquote.
1011 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1013 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1014 (ruby-smie--backward-token): Only consider full-string matches.
1016 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1018 * faces.el (describe-face): Add distant-foreground.
1020 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1022 * progmodes/ruby-mode.el: Improve encoding comment handling.
1023 (ruby-encoding-magic-comment-style): New option.
1024 (ruby-custom-encoding-magic-comment-template): New option.
1025 (ruby--insert-coding-comment, ruby--detect-encoding):
1026 New functions extracted from `ruby-mode-set-encoding'.
1027 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1028 to control the style of the auto-inserted encoding comment.
1030 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1032 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1033 Use `smie-backward-sexp' with token argument.
1035 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1038 Remove instrumentation code.
1040 2013-11-08 Glenn Morris <rgm@gnu.org>
1042 * progmodes/autoconf.el (autoconf-mode):
1043 Tweak comment-start-skip. (Bug#15822)
1045 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1047 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1048 at bobp (bug#15826).
1049 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1051 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1053 * man.el (Man-start-calling): New macro, extracted from
1054 Man-getpage-in-background.
1055 (Man-getpage-in-background): Use it.
1056 (Man-update-manpage): New command.
1057 (Man-mode-map): Bind it.
1059 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1061 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1062 of "and", "or", "&&" and "||".
1063 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1064 argument. Prohibit opening curly brace because it could only be a
1065 block opener in that position.
1066 (ruby-smie--forward-token, ruby-smie--backward-token):
1067 Separate "|" from "&" or "*" going after it. That can happen in block
1069 (ruby-smie--indent-to-stmt): New function, seeks the end of
1070 previous statement or beginning of buffer.
1071 (ruby-smie-rules): Use it.
1072 (ruby-smie-rules): Check if there's a ":" before a curly block
1073 opener candidate; if there is, it's a hash.
1075 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1078 (cl--block-wrapper): Fix last accidental change.
1080 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1082 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1083 Instrument, in order to hunt failure on hydra.
1085 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1087 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1088 malformed bindings form (bug#15814).
1090 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1092 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1093 "." compared to " @ ". This incidentally fixes some indentation
1095 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1096 (ruby-smie-grammar): New tokens: "and" and "or".
1097 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1098 Exclude "and" and "or". Remove "do" in order to work around token
1100 (ruby-smie-rules): Add all infix tokens. Handle the case of
1101 beginning-of-buffer.
1103 2013-11-06 Glenn Morris <rgm@gnu.org>
1105 * Makefile.in (setwins_almost, setwins_for_subdirs):
1106 Avoid accidental matches.
1108 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1110 * menu-bar.el (popup-menu): Use key-binding.
1112 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1114 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1115 menus, support also the menus produced by minor modes.
1118 2013-11-06 Leo Liu <sdl.web@gmail.com>
1120 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1121 DISTANCE to bound the search. All uses changed. (Bug#15808)
1123 2013-11-06 Glenn Morris <rgm@gnu.org>
1125 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1126 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1127 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1129 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * electric.el (electric-indent-just-newline): New command.
1132 (electric-indent-mode-map): New keymap.
1133 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1134 Re-add :group which weren't redundant.
1136 * electric.el (electric-indent-local-mode): New minor mode.
1137 (electric-indent-functions-without-reindent): New var.
1138 (electric-indent-post-self-insert-function): Use it.
1139 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1141 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1143 * international/quail.el (quail-help): Be more explicit about the
1144 meaning of the labels shown on the keys. (Bug#15800)
1146 * startup.el (normal-top-level): Load the subdirs.el files before
1147 setting the locale environment. (Bug#15805)
1149 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1151 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1152 via arguments so as to get the right ones (bug#15418).
1154 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1156 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1158 Fix problems found while writing a test suite.
1160 * net/tramp-compat.el (tramp-compat-load): New defun.
1161 * net/tramp.el (tramp-handle-load): Use it.
1163 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1164 "(numberp ok-if-already-exists)" correctly.
1166 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1168 * international/characters.el (glyphless-char-display-control):
1171 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1173 * progmodes/python.el (python-mode):
1174 * progmodes/scheme.el (scheme-mode):
1175 * progmodes/prolog.el (prolog-mode):
1176 * progmodes/ruby-mode.el (ruby-mode):
1177 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1178 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1180 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * rect.el (rectangle--highlight-for-redisplay):
1183 * emacs-lisp/smie.el (smie--next-indent-change):
1184 Use buffer-chars-modified-tick.
1186 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1188 * electric.el (electric-indent-post-self-insert-function):
1189 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1191 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1193 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1195 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1197 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1200 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1202 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1204 * progmodes/python.el: Fix up last change.
1205 (python-shell--save-temp-file): New function.
1206 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1207 `string' comes from the current buffer.
1208 (python-shell-send-string-no-output): Remove `msg' arg.
1209 (python--use-fake-loc): New var.
1210 (python-shell-buffer-substring): Obey it. Try to compensate for the
1211 extra coding line added by python-shell--save-temp-file.
1212 (python-shell-send-region): Use python-shell--save-temp-file and
1213 python-shell-send-file directly. Add `nomain' argument.
1214 (python-shell-send-buffer): Use python-shell-send-region.
1215 (python-electric-pair-string-delimiter): New function.
1216 (python-mode): Use it.
1218 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1220 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1221 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1222 environment and decoding all of the default-directory's to here
1224 (command-line): Decode also argv[0].
1226 * loadup.el: Error out if default-directory is a multibyte string
1227 when we are dumping.
1229 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1231 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1233 * emacs-lisp/package.el (package-menu-mode)
1234 (package-menu--print-info, package-menu--archive-predicate):
1235 Add Archive column to package list.
1237 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1239 Fix problems found while writing a test suite.
1241 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1242 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1243 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1244 to nil when running original file name handler. Otherwise,
1245 there are problems with constructs like "$$FOO".
1247 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1250 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1252 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1254 * subr.el (version<, version<=, version=):
1255 Update docstrings with information for snapshot versions.
1257 * helpers.el: New library for misc helper functions.
1258 (hash-table-keys): New function returning a list of hash keys.
1259 (hash-table-values): New function returning a list of hash values.
1261 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1263 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1264 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1266 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1268 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1269 checking whether point is after a 1-letter word.
1271 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1273 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1274 Don't infloop when expanding region over `multiline' syntax-type that
1275 begins a line (bug#15778).
1277 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1280 Make it into a proper minor mode.
1281 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1282 (rectangle-mark-mode-map): New keymap.
1283 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1285 2013-11-04 Glenn Morris <rgm@gnu.org>
1287 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1289 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1292 (ruby-smie-rules): Use smie-rule-parent instead.
1294 * emacs-lisp/smie.el (smie-rule-parent): Always call
1295 smie-indent-virtual rather than only for hanging tokens.
1296 (smie--next-indent-change): New helper command.
1298 2013-11-03 Glenn Morris <rgm@gnu.org>
1300 * Makefile.in (abs_srcdir): Remove.
1301 (emacs): Unset EMACSLOADPATH.
1303 2013-11-02 Glenn Morris <rgm@gnu.org>
1305 * Makefile.in (EMACS): Use a relative filename.
1306 (abs_top_builddir): Remove.
1307 (custom-deps, finder-data, autoloads): Use --chdir.
1309 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1311 Use relative filenames in TAGS files.
1312 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1313 (lisptagsfiles4, TAGS): Use relative file names.
1314 (TAGS-LISP): Remove.
1315 (maintainer-clean): No more TAGS-LISP file.
1317 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1318 (lisptagsfiles4): Use absolute filenames again.
1319 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1320 Remove all *loaddefs files, not just the first. Remove esh-groups.
1321 (maintainer-clean): Delete TAGS, TAGS-LISP.
1323 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1325 * emacs-lisp/package.el (package-version-join):
1326 Recognize snapshot versions.
1328 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1330 * subr.el (version-regexp-alist): Add support for snapshot versions.
1332 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1334 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1335 New function, replacement for `smie-rule-parent' for when we want to
1336 skip over our direct parent if it's an assignment token..
1337 (ruby-smie-rules): Use it.
1339 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1341 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1342 unconditionally. Remove now unnecessary forward declarations.
1343 Remove XEmacs-specific setup.
1344 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1345 (ruby-font-lock-syntactic-keywords)
1346 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1347 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1348 (ruby-here-doc-end-syntax): Remove.
1349 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1350 defined as function.
1352 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1354 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1356 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1358 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1359 table and abbrev table, `define-derived-mode' does that for us
1362 2013-11-01 Glenn Morris <rgm@gnu.org>
1364 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1365 files is atomic for some time, so no parallel compilation issues).
1367 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1369 * faces.el (face-x-resources): Add :distant-foreground.
1370 (region): Use :distant-foreground for gtk and ns.
1372 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1374 Allow multiple bibliographies when BibLaTeX is used rather than
1376 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1377 (reftex-locate-bibliography-files): Us it.
1379 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1381 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1382 allow comments in pbm files.
1384 * term/w32-win.el (dynamic-library-alist): Support newer versions
1385 of libjpeg starting with v7: look only for the DLL from the
1386 version against which Emacs was built.
1387 Support versions of libpng beyond 1.4.x.
1388 Support libtiff v4.x.
1390 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1392 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1393 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1395 (ruby-deep-arglist): Add property :type.
1397 2013-10-31 Glenn Morris <rgm@gnu.org>
1399 * Makefile.in (custom-deps, finder-data): No need to setq the target
1400 variables, we are in the right directory and the defaults work fine.
1402 2013-10-30 Glenn Morris <rgm@gnu.org>
1404 * Makefile.in (autoloads): Do not use abs_lisp.
1406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1407 `newline' does not respect `standard-output', so use `princ'.
1409 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1411 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1412 * buff-menu.el (Buffer-menu--unmark): New function.
1413 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1415 2013-10-30 Glenn Morris <rgm@gnu.org>
1417 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1419 * emacs-lisp/package.el (lm-homepage): Declare.
1421 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1424 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1426 * Makefile.in (finder-data, autoloads, update-subdirs)
1427 (compile-main, compile-clean, compile-always, bootstrap-clean):
1428 Check return value of cd.
1429 (compile-calc): Remove.
1431 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1433 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1435 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1436 (byte-compile-and-folded): New function.
1437 (=, <, >, <=, >=): Use it.
1439 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1440 (path-separator, null-device, buffer-file-coding-system)
1441 (lpr-headers-switches): Check system-type before modifying them.
1442 (find-buffer-file-type-coding-system): Mark obsolete.
1443 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1444 find-file-not-found-set-buffer-file-coding-system.
1445 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1446 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1447 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1448 (w32-direct-print-region-helper, w32-direct-print-region-function)
1449 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1450 * startup.el (normal-top-level-add-subdirs-to-load-path):
1451 * ps-print.el (ps-print-region-function):
1452 * lpr.el (print-region-function): Use new name.
1454 * subr.el (custom-declare-variable-early): Remove function.
1455 (custom-declare-variable-list): Remove var.
1456 (error, user-error): Remove `while' loop.
1457 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1458 (user-emacs-directory-warning, locate-user-emacs-file):
1460 * simple.el (read-quoted-char-radix, read-quoted-char):
1461 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1463 * custom.el (custom-declare-variable-list): Don't process
1464 custom-declare-variable-list.
1466 * progmodes/python.el (python-shell-get-buffer): New function.
1467 (python-shell-get-process): Use it.
1468 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1469 Python which encoding was used. Don't split-string since we only care
1470 about the first line. Return the temp-file, if applicable.
1471 (python-shell-send-region): Tell compile.el how to turn locations in
1472 the temp-file into locations in the source buffer.
1474 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * subr.el (undefined): Add missing behavior from the C code for
1479 * rect.el: Use lexical-binding. Add new rectangular region support.
1480 (rectangle-mark): New command.
1481 (rectangle--region): New var.
1482 (deactivate-mark-hook): Reset rectangle--region.
1483 (rectangle--extract-region, rectangle--insert-for-yank)
1484 (rectangle--highlight-for-redisplay)
1485 (rectangle--unhighlight-for-redisplay): New functions.
1486 (region-extract-function, redisplay-unhighlight-region-function)
1487 (redisplay-highlight-region-function): Use them to handle
1489 * simple.el (region-extract-function): New var.
1490 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1491 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1492 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1493 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1494 (redisplay-unhighlight-region-function)
1495 (redisplay-highlight-region-function): New vars.
1496 (redisplay--update-region-highlight): New function.
1497 (pre-redisplay-function): Use it.
1498 (exchange-point-and-mark): Don't deactivate the mark before
1499 reactivate-it anyway.
1500 * comint.el (comint-kill-region): Remove yank-handler argument.
1501 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1502 (delete-char): Remove property, since it's now part of their
1504 (self-insert-iso): Remove property since this command doesn't exist.
1506 * emacs-lisp/package.el (package--download-one-archive)
1507 (describe-package-1): Don't query the user about final newline.
1509 2013-10-29 Daniel Colascione <dancol@dancol.org>
1511 * net/tramp.el (tramp-methods): Document new functionality.
1512 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1513 tramp-hostname-checker if method provides one instead of scanning
1514 argument list for "%h" to decide hostname acceptability.
1516 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1518 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1519 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1520 Handle COPY-CONTENTS. (Bug#15737)
1522 2013-10-28 Daiki Ueno <ueno@gnu.org>
1525 (epa-file-cache-passphrase-for-symmetric-encryption):
1526 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1528 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1530 * image.el (defimage):
1531 (image-load-path): Doc fixes.
1533 2013-10-27 Alan Mackenzie <acm@muc.de>
1535 Indent statements in macros following "##" correctly.
1536 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1537 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1539 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1541 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1543 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1545 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1546 after `=' is probably a new expression.
1548 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1550 * man.el (man-imenu-title): New option.
1551 (Man-mode-map): Add menu. (Bug#15722)
1552 (Man-mode): Add imenu to menu.
1554 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1556 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1557 specific in what the first arg can be: a non-keyword word,
1558 string/regexp/percent literal opener, opening paren, or unary
1559 operator followed directly by word.
1561 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1564 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1565 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1566 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1567 Remove vars, they do not apply any more.
1568 (prolog-mode-abbrev-table): Remove redundant declaration.
1569 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1570 (prolog-use-smie): Remove.
1571 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1572 supported by prolog-electric-if-then-else-flag.
1573 (prolog-mode-variables, prolog-menu): Use setq-local.
1574 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1575 Remove binding to `Backspace' since this key doesn't exist anyway.
1576 Remove bindings for electric self-inserting keys.
1577 (prog-mode): Assume it's defined.
1578 (prolog-post-self-insert): New function.
1579 (prolog-mode): Use it.
1580 (prolog-indent-line, prolog-indent-level)
1581 (prolog-find-indent-of-matching-paren)
1582 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1583 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1584 (prolog-goto-next-paren, prolog-in-string-or-comment)
1585 (prolog-tokenize, prolog-inside-mline-comment)
1586 (prolog-find-start-of-mline-comment): Remove functions.
1587 (prolog-find-unmatched-paren, prolog-clause-end)
1588 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1589 (prolog-electric--if-then-else): Rename from
1590 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1591 (prolog-tokenize-searchkey): Remove const.
1592 (prolog-clause-info): Use forward-sexp.
1593 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1594 (prolog-electric-if-then-else): Remove commands.
1595 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1596 for use in post-self-insert-hook.
1597 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1598 for use in post-self-insert-hook.
1599 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1600 for use in post-self-insert-hook.
1601 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1602 adapt it for use in post-self-insert-hook.
1604 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1606 * emacs-lisp/ert.el (ert-run-tests-interactively):
1607 Use `completing-read'. (Bug#9756)
1609 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1611 * simple.el (line-move): Call line-move-1 instead of
1612 line-move-visual when the current window hscroll is zero, but
1613 temporary-goal-column indicates we will need to hscroll as result
1614 of the movement. (Bug#15712)
1616 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1618 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1619 capitalization. Use :visible instead of :active.
1620 Fix `ruby-indent-exp' reference. Add menu items for the generic
1621 commands that are used with SMIE.
1622 (ruby-do-end-to-brace): Insert space after `{'.
1624 2013-10-25 John Anthony <john@jo.hnanthony.com>
1626 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1628 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1630 2013-10-25 Glenn Morris <rgm@gnu.org>
1632 * vc/vc.el (vc-print-log): Don't use a working revision unless
1633 one was explicitly specified. (Bug#15322)
1635 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1637 * subr.el (add-to-list): Preserve return value in compiler-macro
1640 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1642 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1643 result. Ask user to retry using '-all' flag. (Bug#15701)
1645 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1647 * emacs-lisp/smie.el: New smie-config system.
1648 (smie-config): New defcustom.
1649 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1650 (smie-config-guess, smie-config-save): New commands.
1651 (smie-config--mode-local, smie-config--buffer-local)
1652 (smie-config--trace, smie-config--modefuns): New vars.
1653 (smie-config--advice, smie-config--mode-hook)
1654 (smie-config--setter, smie-config-local, smie-config--get-trace)
1655 (smie-config--guess-value, smie-config--guess): New functions.
1656 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1657 text properties. Treat "string fence" syntax like string syntax.
1659 * progmodes/sh-script.el (sh-use-smie): Change default.
1660 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1661 (sh-var-value): Simplify by CSE.
1662 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1663 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1665 (sh-guess-basic-offset): Use cl-incf.
1666 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1668 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1670 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1673 2013-10-24 Glenn Morris <rgm@gnu.org>
1675 * Makefile.in (abs_top_srcdir): Remove.
1676 (update-subdirs): Use relative path to update-subdirs.
1678 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1680 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1681 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1682 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1683 Call unmsys--file-name before expand-file-name, not after it.
1685 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1687 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1688 (ert-test-skipped): New error.
1689 (ert-skip, ert-stats-skipped): New defuns.
1690 (ert--skip-unless): New macro.
1691 (ert-test-skipped): New struct.
1692 (ert--run-test-debugger, ert-test-result-type-p)
1693 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1694 (ert--stats-set-test-and-result, ert-char-for-test-result)
1695 (ert-string-for-test-result, ert-run-tests-batch)
1696 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1697 Handle skipped tests. (Bug#9803)
1699 2013-10-24 Glenn Morris <rgm@gnu.org>
1701 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1703 * Makefile.in (abs_top_srcdir): New, set by configure.
1704 (update-subdirs): Correct build-aux location.
1706 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1708 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1709 value, whether we could auto-deduce `backend', or not.
1711 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1712 with parameters" example. Simplify the "is it block or is it
1713 hash" check, but also make it more thorough.
1715 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1717 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1719 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1724 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1727 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1729 * progmodes/compile.el (compilation-directory-matcher)
1730 (compilation-page-delimiter):
1731 Support GNU Make-4.0 directory quoting. (Bug#15678)
1733 2013-10-23 Leo Liu <sdl.web@gmail.com>
1735 * ido.el (ido-tidy): Handle read-only text.
1737 2013-10-23 Glenn Morris <rgm@gnu.org>
1739 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1740 (emacs, compile, compile-always):
1741 Quote entities that might contain whitespace.
1742 (custom-deps, finder-data, autoloads): Use abs_lisp.
1743 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1744 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1745 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1747 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1749 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1750 Use `following-char'.
1752 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1754 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1755 * progmodes/ruby-mode.el (ruby-smie-rules):
1756 Remove corresponding workaround. Fix indentation rule of ";" so it
1757 also applies when ";" is the parent.
1759 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1761 * frame.el (display-screens, display-pixel-height)
1762 (display-pixel-width, display-mm-width, display-backing-store)
1763 (display-save-under, display-planes, display-color-cells)
1764 (display-visual-class, display-monitor-attributes-list):
1765 Mention the optional ‘display’ argument in doc strings.
1767 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1769 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1770 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1772 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1774 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1775 TODO. Add "." after " @ ".
1776 (ruby-smie--at-dot-call): New function. Checks if point at method
1777 call with explicit target.
1778 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1779 to the method name tokens when it precedes them.
1780 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1781 (ruby-smie-rules): Add rule for indentation before and after "."
1784 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * textmodes/remember.el (remember-diary-extract-entries):
1789 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1792 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1794 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1795 (ruby-smie--implicit-semi-p): Add new operator chars.
1797 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1799 (ruby-smie--args-separator-p): Check that there's no newline
1800 between method call and its arguments.
1802 2013-10-20 Alan Mackenzie <acm@muc.de>
1804 Allow comma separated lists after Java "implements".
1806 * progmodes/cc-engine.el (c-backward-over-enum-header):
1808 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1809 from a "disallowed" list in enum fontification.
1811 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1813 * startup.el (default-frame-background-mode): Remove unused defvar.
1815 * progmodes/verilog-mode.el (verilog-mode): Don't set
1816 comment-indent-function globally.
1818 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1820 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1821 Move Info menu item creation to ns-win.el.
1823 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1826 * menu-bar.el: Move GNUStep specific menus...
1828 * term/ns-win.el (ns-initialize-window-system): ... to here.
1830 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1832 * simple.el (newline): Only run post-self-insert-hook when
1833 called interactively.
1835 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1837 * icomplete.el (icomplete-with-completion-tables): Add :version.
1839 2013-10-19 Alan Mackenzie <acm@muc.de>
1841 Fix fontification bugs with constructors and const.
1843 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1844 CASE 2) Remove the check for the absence of a suffix construct
1845 after a function declaration with only types (no identifiers) in
1846 the parentheses. Also, accept a function declaration with just a
1847 type inside the parentheses, if this type can be positively
1848 recognised as such, or if a prefix keyword like "explicit" nails
1849 down the construct as a declaration.
1851 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1853 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1854 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1855 the problem whereby selecting a menu item that leads to a
1856 minibuffer prompt moves the cursor out of the minibuffer window,
1857 making it hard to type at the prompt. Suggested by Stefan Monnier
1858 <monnier@iro.umontreal.ca>.
1860 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1862 * menu-bar.el: Don't make Services menu.
1864 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1866 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1867 (ffap-alist): Use ffap-c++-mode for c++-mode.
1868 (ffap-c++-path): New variable.
1869 (ffap-c++-mode): New function.
1871 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1873 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1875 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1877 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1878 introduced on 2013-09-08, which results in an infinite loop
1879 requesting a password.
1881 2013-10-18 Glenn Morris <rgm@gnu.org>
1883 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1885 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1887 Sync with upstream verilog-mode revision 1a6ecec7.
1888 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1889 (verilog-mode-release-date): Remove.
1890 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1891 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1892 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1893 (verilog-auto-tieoff-ignore-regexp)
1894 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1895 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1896 (verilog-signals-with, verilog-dir-cache-preserving)
1897 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1899 (verilog-case-fold): New option, to control case folding in
1900 regexp searches, bug597.
1901 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1902 (verilog-string-match-fold, verilog-in-paren-count)
1903 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1904 (verilog-at-close-struct-p): New functions.
1905 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1906 (verilog-forward-sexp, verilog-set-auto-endcomments):
1907 (verilog-leap-to-case-head): Handle "unique0" case.
1908 (verilog-in-constraint-re): New constant.
1909 (verilog-keywords, verilog-type-font-keywords):
1910 Add some SystemVerilog 1800-2012 keywords.
1911 (verilog-label-be): Remove unimplemented argument, bug669.
1912 (verilog-batch-execute-func): When batch expanding clear
1913 create-lockfiles to prevent spurious user locks when a file ends
1915 (verilog-calculate-indent, verilog-calc-1)
1916 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1917 (verilog-do-indent): Fix indentation of nested constraints
1919 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1920 (verilog-auto-inst-param): Use verilog-string-match-fold.
1921 (verilog-read-inst-module-matcher):
1922 Fix AUTOINST on gate primitives with #1.
1923 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1924 Reads all user-defined typed variables.
1925 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1926 (verilog-signals-matching-regexp)
1927 (verilog-signals-not-matching-regexp, verilog-auto):
1928 Respect verilog-case-fold.
1929 (verilog-diff-report): Fix line count.
1930 (verilog-auto-assign-modport): Remove unused local `modi'.
1931 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1932 better handle multidimensional arrays.
1933 Fix packed array ports misadding bit index in AUTOINST, bug637.
1934 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1935 to not double-declare existing outputs and inputs, respectively.
1936 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1937 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1938 (verilog-sk-uvm-component): New skeleton.
1939 (verilog-submit-bug-report): Add verilog-case-fold,
1940 remove verilog-mode-release-date.
1942 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1944 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1947 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1949 * textmodes/remember.el (remember): set buffer-offer-save in
1950 remember buffers (bug#13566).
1952 2013-10-18 Daniel Colascione <dancol@dancol.org>
1954 When evaluating forms in ielm, direct standard output to ielm
1955 buffer. Add new ielm-return-for-effect command. Remove trailing
1956 whitespace throughout.
1958 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1959 (ielm-return-for-effect): New command.
1960 (ielm-send-input): Accept optional `for-effect' parameter.
1961 (ielm-eval-input): Accept optional `for-effect' parameter.
1962 Bind `standard-output' to stream we create using
1963 `ielm-standard-output-impl'. Suppress printing result when
1965 (ielm-standard-output-impl): New function.
1966 (inferior-emacs-lisp-mode): Explain new features in documentation.
1968 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1972 * net/tramp.el (tramp-debug-message): Do not check for connection
1974 (tramp-message): Use "vector" connection property.
1976 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1977 (tramp-equal-remote, tramp-eshell-directory-change)
1978 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1979 (tramp-adb-handle-rename-file)
1980 * net/tramp-cmds.el (tramp-list-remote-buffers)
1981 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1982 * net/tramp-compat.el (tramp-compat-process-running-p)
1983 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1984 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1985 (tramp-gvfs-handle-rename-file)
1986 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1987 (tramp-set-file-uid-gid)
1988 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1989 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1992 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1993 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1994 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1995 (tramp-gw-open-network-stream): Suppress unrelated traces.
1997 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1998 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1999 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2000 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2001 connection property.
2003 * net/tramp-cache.el (top): Suppress traces when reading
2006 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2007 Refactor common code. Improve debug message.
2008 (tramp-maybe-open-connection)
2009 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2010 connection buffer too early.
2012 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2013 from `tramp-smb-actions-with-acl'.
2014 (tramp-smb-actions-set-acl): New defconst.
2015 (tramp-smb-handle-copy-directory)
2016 (tramp-smb-action-get-acl): New defun, renamed from
2017 `tramp-smb-action-with-acl'.
2018 (tramp-smb-action-set-acl): New defun.
2019 (tramp-smb-handle-set-file-acl): Rewrite.
2021 2013-10-17 Glenn Morris <rgm@gnu.org>
2023 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2025 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * skeleton.el (skeleton-newline): Remove.
2028 (skeleton-internal-1): Use (insert "\n") instead.
2030 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2033 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2034 forward-sexp-function while we redo its job (bug#15613).
2036 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2038 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2039 represented by lists.
2041 2013-10-16 Glenn Morris <rgm@gnu.org>
2043 * tmm.el (tmm--history): New dynamic variable.
2044 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2046 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2048 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2049 (tramp-smb-errors): Add error messages.
2050 (tramp-smb-actions-with-acl): New defconst.
2051 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2052 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2053 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2054 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2055 (tramp-smb-get-stat-capability): Fix tests.
2057 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2059 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2062 2013-10-16 Glenn Morris <rgm@gnu.org>
2064 * ansi-color.el (ansi-color-drop-regexp):
2065 Add 1J, 1K, 2K. (Bug#15617)
2067 * files.el (hack-local-variables--warned-lexical): New.
2068 (hack-local-variables):
2069 Warn about misplaced lexical-binding. (Bug#15616)
2071 * net/eww.el (eww-render): Always set eww-current-url,
2072 and update header line. (Bug#15622)
2073 (eww-display-html): ... Rather than just doing it here.
2075 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2077 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2078 menu navigations commands.
2080 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2082 * progmodes/subword.el (subword-capitalize): Be careful when
2083 the search for [[:alpha:]] fails (bug#15580).
2085 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2087 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2088 to commands that scroll the menu.
2090 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2092 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2093 Handle methods ending with `?' and `!'.
2095 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2097 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2098 `japanese-cp932' to `cp932' to fix the problem where saving a
2099 source file written in Shift_JIS twice would end up having
2100 `coding: japanese-cp932' which Ruby could not recognize.
2101 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2102 in `ruby-encoding-map'.
2103 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2104 doesn't need to be explicitly declared in magic comment.
2105 (ruby-encoding-map): Add type declaration for better customize UI.
2107 2013-10-13 Glenn Morris <rgm@gnu.org>
2109 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2110 Occur buffers are read-only. http://bugs.debian.org/720775
2112 * emacs-lisp/authors.el (authors-fixed-entries):
2113 Comment out old alpha stuff.
2115 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2117 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2118 to `after-save-hook' instead of `before-save-hook'.
2119 (ruby-mode-set-encoding): Use the value of coding system used to
2120 write the file. Call `basic-save-buffer-1' after modifying the
2123 2013-10-13 Alan Mackenzie <acm@muc.de>
2125 Fix indentation/fontification of Java enum with
2126 "implements"/generic.
2128 * progmodes/cc-engine.el (c-backward-over-enum-header):
2129 Extracted from the three other places and enhanced to handle generics.
2130 (c-inside-bracelist-p): Uses new function above.
2131 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2133 (c-font-lock-enum-tail): Uses new function above.
2135 2013-10-13 Kenichi Handa <handa@gnu.org>
2137 * international/mule-cmds.el (select-safe-coding-system): Remove a
2138 superfluous condition in chekcing whether a coding system is safe
2141 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2143 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2145 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2147 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2149 2013-10-13 Glenn Morris <rgm@gnu.org>
2151 * menu-bar.el (menu-bar-update-buffers):
2152 Unify Buffers menu prompt string. (Bug#15576)
2154 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2156 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2158 (authors-fixed-entries): Use accented form of name.
2160 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2163 method calls (bug#15594).
2164 (ruby-smie--args-separator-p): New function.
2165 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2166 recognize paren-free method calls.
2168 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2169 internals of universal-argument.
2171 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2173 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2174 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2175 dropped menu on second mouse click on the menu bar.
2177 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2179 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2180 (explicit-shell-file-name): Declare.
2181 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2182 (sh-completion-at-point-function): New function.
2184 (sh-smie--keyword-p): Remove unused argument.
2185 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2187 (sh-set-shell): Always setup SMIE, even if we use the
2188 old indentation code.
2190 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2192 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2194 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2195 predicate would return nil are almost non-existent.
2196 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2198 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2199 cache also after commands that modify the buffer but don't move
2202 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * env.el (substitute-env-in-file-name): New function.
2205 (substitute-env-vars): Extend the meaning of the optional arg.
2207 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2209 * term/w32-win.el (dynamic-library-alist): Define separate lists
2210 of GIF DLLs for versions before and after 5.0.0 of giflib.
2213 2013-10-10 João Távora <joaotavora@gmail.com>
2215 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2216 not locked, use last revision and current source as
2217 defaults. (Bug#15569)
2219 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2221 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2224 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2226 * window.el (pop-to-buffer-same-window): Fix doc-string.
2229 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2231 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2233 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2235 * calendar/icalendar.el (icalendar-import-file):
2236 Fix interactive spec. (Bug#15482)
2238 2013-10-10 Glenn Morris <rgm@gnu.org>
2240 * desktop.el (desktop-save): Default to saving in .emacs.d,
2241 since PWD is no longer in desktop-path by default. (Bug#15319)
2243 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2244 now that text mode has a menu with the same entry.
2245 (menu-bar-text-mode-auto-fill): Remove now unused func.
2246 * textmodes/text-mode.el (text-mode-map):
2247 Use auto-fill help text from menu-bar.el.
2249 2013-10-10 John Anthony <john@jo.hnanthony.com>
2251 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2253 2013-10-09 Juri Linkov <juri@jurta.org>
2255 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2256 instead of this-command-keys. Add universal-argument-more and
2257 universal-argument-minus to the list of prefix commands. (Bug#15568)
2259 2013-10-09 Glenn Morris <rgm@gnu.org>
2261 * vc/vc-svn.el (vc-svn-create-repo):
2262 Expand paths in file://... url. (Bug#15446)
2264 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2266 (authors): Remove unused local variables.
2268 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * profiler.el: Create a more coherent calltree from partial backtraces.
2271 (profiler-format): Hide the tail with `invisible' so that C-s can still
2272 find the hidden elements.
2273 (profiler-calltree-depth): Don't recurse so enthusiastically.
2274 (profiler-function-equal): New hash-table-test.
2275 (profiler-calltree-build-unified): New function.
2276 (profiler-calltree-build): Use it.
2277 (profiler-report-make-name-part): Indent the calltree less.
2278 (profiler-report-mode): Add visibility specs for profiler-format.
2279 (profiler-report-expand-entry, profiler-report-toggle-entry):
2280 Expand the whole subtree when provided with a prefix arg.
2282 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2284 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2286 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2287 hanging iuwu-mod token.
2288 (ruby-smie--forward-token): Do not include a dot after a token in
2290 (ruby-smie--backward-token): Likewise.
2292 2013-10-08 Juri Linkov <juri@jurta.org>
2294 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2295 to isearch-other-control-char.
2296 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2297 and isearch-post-command-hook to post-command-hook.
2298 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2299 and isearch-post-command-hook from post-command-hook.
2300 (isearch-unread-key-sequence)
2301 (isearch-reread-key-sequence-naturally)
2302 (isearch-lookup-scroll-key, isearch-other-control-char)
2303 (isearch-other-meta-char): Remove functions.
2304 (isearch-pre-command-hook, isearch-post-command-hook):
2305 New functions based on isearch-other-meta-char rewritten
2306 relying on the new behavior of overriding-terminal-local-map
2307 that does not replace the local keymaps any more. (Bug#15200)
2309 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2311 Support menus on text-mode terminals.
2312 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2315 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2317 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2318 Move here from mouse.el.
2319 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2321 (tty-menu-navigation-map): New map for TTY menu navigation.
2323 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2325 * frame.el (display-mouse-p): Report text-mode mouse as available
2327 (display-popup-menus-p): Report availability if mouse is
2328 available; don't condition on window-system.
2330 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2331 (tty-menu-selected-face): New faces.
2333 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2336 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2337 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2338 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2340 (lisp-mode-variables): New `elisp' argument.
2341 (emacs-lisp-mode): Use it.
2342 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2343 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2345 * indent.el: Use lexical-binding.
2346 (indent-region): Add progress reporter.
2347 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2349 (indent--next-tab-stop): New function to implement this behavior.
2350 (tab-to-tab-stop, move-to-tab-stop): Use it.
2352 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2354 * indent.el (indent-rigidly--current-indentation): New function.
2355 (indent-rigidly-map): New var.
2356 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2358 2013-10-08 Bastien Guerry <bzg@gnu.org>
2360 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2362 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * progmodes/perl-mode.el: Use lexical-binding.
2365 Remove redundant :group args.
2366 (perl-nochange): Change default to be closer to other major modes's
2368 (perl-indent-line): Don't consider text on current line as a
2369 valid beginning of function from which to indent.
2371 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2372 with more than one argument (bug#15538).
2374 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2376 * vc/pcvs.el: Use lexical-binding.
2377 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2378 environment of `eval'.
2379 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2380 than a list of expressions. Adjust callers.
2381 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2383 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2385 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2386 case of the dot in a chained method call being on the following line.
2388 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2390 * electric.el (electric-indent-inhibit): New var.
2391 (electric-indent-post-self-insert-function): Use it.
2392 * progmodes/python.el (python-mode): Set it.
2394 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2397 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2399 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2400 (css-mode): Use electric-indent-chars.
2402 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2403 (font-lock-beg, font-lock-end): Move before first use.
2404 (nxml-mode): Use syntax-propertize-function.
2405 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2406 (nxml-extend-after-change-region): Remove.
2407 * nxml/xmltok.el: Use lexical-binding.
2408 (xmltok-save): Use `declare'.
2409 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2410 * nxml/nxml-util.el: Use lexical-binding.
2411 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2413 * nxml/nxml-ns.el: Use lexical-binding.
2414 (nxml-ns-save): Use `declare'.
2415 (nxml-ns-prefixes-for): Avoid add-to-list.
2416 * nxml/rng-match.el: Use lexical-binding.
2417 (rng--ipattern): Use cl-defstruct.
2418 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2419 (rng-cons-group-after, rng-subst-group-after)
2420 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2421 Use closures instead of `(lambda...).
2423 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2425 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2428 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2429 Use `tramp-handle-insert-file-contents'.
2430 (tramp-gvfs-handle-insert-file-contents): Remove function.
2432 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2433 Use `save-restriction' in order to keep markers.
2435 * net/trampver.el: Update release number.
2437 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2439 * progmodes/compile.el (compilation-parse-errors):
2440 Use compilation--put-prop.
2441 (compilation--ensure-parse): Check compilation-multiline.
2443 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2445 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2448 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2450 * progmodes/ruby-mode.el: Fix recently added tests.
2451 (ruby-smie-grammar): Add - and +.
2452 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2453 (ruby-smie--backward-id): New functions.
2454 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2455 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2458 2013-10-07 Leo Liu <sdl.web@gmail.com>
2460 * register.el (register-preview-delay)
2461 (register-preview-functions): New variables.
2462 (register-read-with-preview, register-preview)
2463 (register-describe-oneline): New functions.
2464 (point-to-register, window-configuration-to-register)
2465 (frame-configuration-to-register, jump-to-register)
2466 (number-to-register, view-register, insert-register)
2467 (copy-to-register, append-to-register, prepend-to-register)
2468 (copy-rectangle-to-register): Use register-read-with-preview to
2469 read register. (Bug#15525)
2471 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2473 * net/network-stream.el (network-stream-open-starttls): Don't add
2474 --insecure if it's already present, because that gnutls-cli
2475 rejects getting that parameter twice.
2477 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2479 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2482 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2484 * newcomment.el (comment-use-global-state): Change default value
2485 to t, mark obsolete (Bug#15251).
2486 (comment-beginning): In addition to `comment-to-syntax', check the
2487 value of `comment-use-global-state'.
2489 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2491 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2492 (ruby-comment-column): Follow the global default, by default.
2493 (ruby-smie-grammar): Add assignment syntax.
2494 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2495 open-paren, a comma, or a \.
2496 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2497 and line continuations.
2498 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2499 followed by implicit semi-colons. Add rule for string concatenation
2500 and for indentation at BOB.
2501 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2503 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2504 calling next-sexp, since next-token may have skipped chars which
2505 next-sexp doesn't know should be skipped!
2507 2013-10-05 Leo Liu <sdl.web@gmail.com>
2509 * progmodes/octave.el (octave-send-region):
2510 Call compilation-forget-errors.
2512 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2514 * vc/vc-svn.el (vc-svn-find-admin-dir):
2515 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2516 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2517 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2518 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2520 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2524 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * subr.el (read-passwd): Hide chars even when called within a context
2527 where after-change-functions is disabled (bug#15501).
2528 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2529 until we removed ourself from overriding-terminal-local-map.
2531 2013-10-04 Leo Liu <sdl.web@gmail.com>
2533 * progmodes/octave.el (inferior-octave-mode):
2534 Call compilation-forget-errors.
2536 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2538 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2540 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2542 * net/secrets.el (secrets-create-collection): Add optional
2543 argument ALIAS. Use proper Label keyword. Append ALIAS as
2544 dbus-call-method argument. (Bug#15516)
2546 2013-10-04 Leo Liu <sdl.web@gmail.com>
2548 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2549 (inferior-octave-compilation-font-lock-keywords): New variables.
2550 (compilation-error-regexp-alist)
2551 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2552 (inferior-octave-mode): Use compilation-shell-minor-mode.
2554 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2556 * minibuffer.el (completion--replace): Be careful that `end' might be
2559 2013-10-03 Daiki Ueno <ueno@gnu.org>
2561 Add support for package signature checking.
2562 * emacs-lisp/package.el (url-http-file-exists-p)
2563 (epg-make-context, epg-context-set-home-directory)
2564 (epg-verify-string, epg-context-result-for)
2565 (epg-signature-status, epg-signature-to-string)
2566 (epg-check-configuration, epg-configuration)
2567 (epg-import-keys-from-file): Declare.
2568 (package-check-signature): New user option.
2569 (package-unsigned-archives): New user option.
2570 (package-desc): Add `signed' field.
2571 (package-load-descriptor): Set `signed' field if .signed file exists.
2572 (package--archive-file-exists-p): New function.
2573 (package--check-signature): New function.
2574 (package-install-from-archive): Check package signature.
2575 (package--download-one-archive): Check archive signature.
2576 (package-delete): Remove .signed file.
2577 (package-import-keyring): New command.
2578 (package-refresh-contents): Import default keyring.
2579 (package-desc-status): Add "unsigned" status.
2580 (describe-package-1, package-menu--print-info)
2581 (package-menu-mark-delete, package-menu--find-upgrades)
2582 (package-menu--status-predicate): Support "unsigned" status.
2584 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2587 the new compilation scheme using the new byte-codes.
2589 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2590 (byte-pophandler): New byte codes.
2591 (byte-goto-ops): Adjust accordingly.
2592 (byte-compile--use-old-handlers): New var.
2593 (byte-compile-catch): Use new byte codes depending on
2594 byte-compile--use-old-handlers.
2595 (byte-compile-condition-case--old): Rename from
2596 byte-compile-condition-case.
2597 (byte-compile-condition-case--new): New function.
2598 (byte-compile-condition-case): New function that dispatches depending
2599 on byte-compile--use-old-handlers.
2600 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2603 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2604 Optimize under `condition-case' and `catch' if
2605 byte-compile--use-old-handlers is nil.
2606 (disassemble-offset): Handle new bytecodes.
2608 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * subr.el (error): Use `declare'.
2611 (decode-char, encode-char): Use advertised-calling-convention instead
2612 of the docstring to discourage use of the `restriction' arg.
2614 2013-10-03 Daiki Ueno <ueno@gnu.org>
2616 * epg.el (epg-verify-file): Add a comment saying that it does not
2617 notify verification error as a return value nor a signal.
2618 (epg-verify-string): Ditto.
2620 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2622 * progmodes/compile.el (compilation-start): Try globbing the arg to
2625 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2627 Sync with Tramp 2.2.8.
2629 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2630 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2631 * net/trampver.el: Update release number.
2633 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2635 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2636 and default-process-coding-system for darwin only.
2638 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2642 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2644 * vc/vc-git.el (vc-git-grep): Disable pager.
2646 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2648 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2649 Use :url instead of :homepage, as per
2650 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2652 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2653 non-nil, use `syntax-ppss' (Bug#15251).
2655 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2657 * progmodes/octave.el (inferior-octave-startup-file):
2658 Prefer ~/.emacs.d/init_octave.m.
2660 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2662 * emacs-lisp/package.el (package-desc-from-define):
2663 Accept additional arguments as plist, convert them to an alist and store
2664 them in the `extras' slot.
2665 (package-generate-description-file): Convert extras alist back to
2666 plist and append to the `define-package' form arguments.
2667 (package--alist-to-plist): New function.
2668 (package--ac-desc): Add `extras' slot.
2669 (package--add-to-archive-contents): Check if the archive-contents
2670 vector is long enough, and if it is, pass its `extras' slot value
2671 to `package-desc-create'.
2672 (package-buffer-info): Call `lm-homepage', pass the returned value
2673 to `package-desc-from-define'.
2674 (describe-package-1): Render the homepage button (Bug#13291).
2676 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2677 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2679 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2681 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2682 and default-process-coding-system to utf-8-unix (Bug#15402).
2684 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2686 * subr.el (looking-back): Do not recommend using looking-back.
2688 2013-09-28 Alan Mackenzie <acm@muc.de>
2690 Fix indentation/fontification of Java enum with "implements".
2692 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2693 regexp which matches "implements", etc., in Java.
2694 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2695 specifier clauses coming after "enum".
2696 * progmodes/cc-fonts.el (c-font-lock-declarations)
2697 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2700 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2702 * faces.el (region): Change ns_selection_color to
2703 ns_selection_fg_color, add ns_selection_bg_color.
2705 2013-09-28 Leo Liu <sdl.web@gmail.com>
2707 * progmodes/octave.el (inferior-octave-completion-table)
2708 (inferior-octave-completion-at-point): Minor tweaks.
2710 * textmodes/ispell.el (ispell-lookup-words): Rename from
2711 lookup-words. (Bug#15460)
2712 (lookup-words): Obsolete.
2713 (ispell-complete-word, ispell-command-loop): All uses changed.
2715 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2717 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2718 (octave-mode-menu): Add octave-send-buffer.
2719 (octave-send-buffer): New function.
2721 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2723 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2725 (octave-mode-menu): Add octave-lookfor.
2726 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2728 (octave-lookfor): New function.
2730 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * emacs-lisp/cl-macs.el:
2733 (cl--loop-destr-temps): Remove.
2734 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2736 (cl--loop-set-iterator-function): New function.
2737 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2738 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2739 Bind `it' with `let' instead of substituting it with `cl-subst'.
2740 (cl--unused-var-p): New function.
2741 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2742 Eliminate some unused variable warnings (bug#15326).
2744 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2746 * doc-view.el (doc-view-scale-reset): Rename from
2747 `doc-view-reset-zoom-level'.
2748 (doc-view-scale-adjust): New command.
2749 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2750 `doc-view-scale-adjust'.
2752 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2754 * doc-view.el (doc-view-reset-zoom-level): New command.
2755 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2756 zoom commands (bug#15466).
2758 2013-09-26 Kenichi Handa <handa@gnu.org>
2760 * international/quail.el (quail-help): Make it not a command.
2762 2013-09-26 Leo Liu <sdl.web@gmail.com>
2764 * minibuffer.el (completion-all-sorted-completions): Make args
2765 optional as they are.
2767 2013-09-25 Daniel Colascione <dancol@dancol.org>
2769 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2770 specs are and that they're not evaluated.
2772 2013-09-24 Sam Steingold <sds@gnu.org>
2774 * midnight.el (clean-buffer-list-kill-regexps)
2775 (clean-buffer-list-kill-buffer-names): Update for the new Man
2776 buffer naming which includes the object name.
2778 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2780 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2781 (eshell-parse-command, eshell-parse-pipeline): Use it since
2782 eshell-separate-commands requires a dynamic scoped var.
2783 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2785 2013-09-23 Leo Liu <sdl.web@gmail.com>
2787 * autoinsert.el (auto-insert-alist): Make the value of
2788 lexical-binding match its file setting.
2790 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2792 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2794 * autoarg.el (autoarg-kp-digit-argument):
2795 * electric.el (Electric-command-loop):
2796 * kmacro.el (kmacro-step-edit-insert):
2797 Do not set universal-argument-num-events.
2799 2013-09-22 Leo Liu <sdl.web@gmail.com>
2801 * files.el (interpreter-mode-alist): Add octave.
2803 2013-09-21 Alan Mackenzie <acm@muc.de>
2805 C++: fontify identifier in declaration following "public:" correctly.
2806 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2807 to match "public", etc.
2808 (c-decl-prefix-re): Add ":" into the C++ value.
2809 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2810 bit. Add a check for a ":" preceded by "public", etc.
2812 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2814 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2815 recognized by GDB 7.5 and later.
2817 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2819 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2821 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2823 * subr.el (internal--call-interactively): New const.
2824 (called-interactively-p): Use it (bug#3984).
2826 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2828 * vc/pcvs.el (cvs-mode-ignore):
2829 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2830 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2832 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2834 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2835 (eshell-ls-orig-insert-directory): Remove.
2836 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2837 (eshell-ls-use-in-dired): Use advice-add/remove.
2838 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2839 Add `orig-fun' arg for use in :around advice.
2840 Make it check (redundantly) eshell-ls-use-in-dired.
2842 2013-09-19 Glenn Morris <rgm@gnu.org>
2844 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2846 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2848 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2850 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2852 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2853 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2854 (tramp-get-remote-python): New defuns.
2855 (tramp-get-remote-uid-with-perl)
2856 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2857 contributed by yary <not.com@gmail.com> (tiny change).
2858 (tramp-get-remote-uid-with-python)
2859 (tramp-get-remote-gid-with-python): New defuns. Python code
2860 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2861 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2863 2013-09-19 Glenn Morris <rgm@gnu.org>
2865 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2867 * eshell/em-unix.el (eshell-remove-entries):
2868 Rename argument to avoid name-clash with global `top-level'.
2870 * eshell/esh-proc.el (eshell-kill-process-function):
2871 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2872 (eshell-reset-after-proc): Remove unused arg `proc'.
2874 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2875 (directory-files-and-attributes): Mark unused arg.
2877 * eshell/em-unix.el (eshell-remove-entries):
2878 Remove unused arg `path'. Update callers.
2880 * eshell/em-hist.el (eshell-hist-parse-arguments):
2881 Remove unused arg `silent'. Update callers.
2883 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2884 Fix (f)boundp mix-up.
2886 * eshell/em-smart.el (eshell-smart-scroll-window)
2887 (eshell-disable-after-change):
2888 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2890 2013-09-18 Alan Mackenzie <acm@muc.de>
2892 Fix fontification of type when followed by "const".
2893 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2894 "known" types from fontification.
2896 2013-09-18 Glenn Morris <rgm@gnu.org>
2898 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2899 (chart-face-list): Drop Emacsen without display-color-p.
2901 * net/eww.el (libxml-parse-html-region): Declare.
2902 (eww-display-html): Explicit error if no libxml2 support.
2904 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2906 * image.el (image-type-from-buffer, image-multi-frame-p):
2907 Remove --without-x warning/error.
2909 * mouse.el (mouse-yank-primary):
2910 * term.el (term-mouse-paste):
2911 Reorder to silence --without-x compilation.
2913 * mpc.el (doc-view-mode): Silence --without-x compilation.
2915 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2916 Silence --without-x compilation.
2918 * progmodes/gud.el (gud-find-file, gud-mode):
2919 Silence --without-x compilation.
2920 (tooltip-mode): Declare.
2922 * wdired.el (dired-backup-overwrite): Remove declaration.
2923 (wdired-mode-map): Add doc string.
2925 * custom.el (x-get-resource): Declare.
2927 * eshell/em-glob.el (ange-cache):
2928 * eshell/em-unix.el (ange-cache): Declare.
2930 * faces.el (x-display-list, x-open-connection, x-get-resource):
2933 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2934 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2937 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2939 * net/gnutls.el (gnutls-log-level): Declare.
2941 * net/shr.el (image-size, image-animate): Declare.
2943 * simple.el (font-info): Declare.
2945 * subr.el (x-popup-dialog): Declare.
2947 * term/common-win.el (x-select-enable-primary)
2948 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2951 * term/ns-win.el (x-handle-args): Declare.
2953 * term/x-win.el (x-select-enable-clipboard): Declare.
2955 * term/w32-win.el (create-default-fontset): Declare.
2957 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2960 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2961 (fit-frame-to-buffer): Explicit error if --without-x.
2962 (mouse-autoselect-window-select): Silence compiler.
2964 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2966 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2967 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2968 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2969 * eshell/esh-util.el (eshell-sublist):
2970 Remove unused local variables.
2972 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2974 * textmodes/two-column.el: Make 2C-split work for --without-x.
2975 (scroll-bar-columns): Autoload.
2976 (top-level): Require fringe when compiling.
2978 2013-09-18 Leo Liu <sdl.web@gmail.com>
2980 * subr.el (add-hook): Robustify to handle closure as well.
2982 2013-09-17 Glenn Morris <rgm@gnu.org>
2984 * simple.el (messages-buffer-mode-map): Unbind "g".
2986 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * help-mode.el (help-mode-finish): Use derived-mode-p.
2989 Remove obsolete highlighting.
2991 * play/life.el (life-mode): Use define-derived-mode. Derive from
2993 (life): Let-bind inhibit-read-only.
2994 (life-setup): Avoid `setq'. Use `life-mode'.
2996 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2997 which should not be needed any more.
2998 (package-menu-refresh, package-menu-describe-package): Use user-error.
3000 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3001 (eshell-post-rewrite-command-hook): Make obsolete.
3002 (eshell-parse-command): Simplify.
3003 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3004 (eshell--cmd): Declare.
3005 (eshell-parse-pipeline): Remove unused var `final-p'.
3006 Pass a dynvar to eshell-post-rewrite-command-hook.
3007 Implement the new eshell-post-rewrite-command-function.
3008 (eshell-invoke-directly): Remove unused arg `input'.
3009 * eshell/esh-io.el (eshell-io-initialize):
3010 Use eshell-post-rewrite-command-function (bug#15399).
3011 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3012 adjust to new calling convention.
3013 (eshell-create-handles): Rename args to avoid clashing with dynvar
3016 2013-09-17 Glenn Morris <rgm@gnu.org>
3018 * simple.el (messages-buffer-mode): New major mode.
3019 (messages-buffer): New function.
3020 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3021 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3022 (ert-run-test): Use `messages-buffer' function.
3023 (ert--force-message-log-buffer-truncation): Ignore read-only.
3024 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3025 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3027 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3029 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3031 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3033 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3035 * icomplete.el (icomplete-in-buffer): New var.
3036 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3037 vars and replace them with functions.
3038 (icomplete-minibuffer-setup): Adjust accordingly.
3039 (icomplete--completion-table, icomplete--completion-predicate)
3040 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3042 (icomplete-forward-completions, icomplete-backward-completions)
3043 (icomplete-simple-completing-p, icomplete-exhibit)
3044 (icomplete-completions): Use them.
3045 (icomplete--in-region-buffer): New var.
3046 (icomplete--in-region-setup): New function.
3047 (icomplete-mode): Use it.
3049 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3051 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3052 return args and options.
3053 (eshell-eval-using-options): Use the new return value of
3054 eshell--do-opts to set the options's vars in their scope.
3055 (eshell--set-option): Rename from eshell-set-option.
3057 (eshell--process-option): Rename from eshell-process-option.
3059 (eshell--process-args): Use an `opt-vals' alist to store the options's
3060 values during their processing and return them additionally to the
3063 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3065 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3066 continuation character an operator, as far as indentation is
3067 concerned (Bug#15369).
3069 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3071 * window.el (window--state-put-2): Don't process buffer state
3072 when buffer doesn't exist any more (Bug#15382).
3074 2013-09-15 Glenn Morris <rgm@gnu.org>
3076 * eshell/em-unix.el (eshell/rm):
3077 Make -f ignore missing files. (Bug#15373)
3079 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3080 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3081 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3083 2013-09-14 Glenn Morris <rgm@gnu.org>
3085 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3087 2013-09-13 Glenn Morris <rgm@gnu.org>
3089 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3090 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3092 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3094 * frame.el (x-focus-frame): Mark as declared in frame.c.
3096 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3098 * ls-lisp.el: Use advice-add.
3099 (original-insert-directory): Remove.
3100 (ls-lisp--insert-directory): Rename from insert-directory; add
3101 `orig-fun' argument.
3102 (insert-directory): Advise.
3104 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3106 * term.el (term-emulate-terminal): Decode the command string
3107 before passing it to term-command-hook. (Bug#15337)
3109 2013-09-13 Glenn Morris <rgm@gnu.org>
3111 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3113 * eshell/esh-ext.el (eshell-search-path): Declare.
3115 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3116 Otherwise an error occurs if eshell-dirs module not loaded.
3118 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3120 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3122 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3123 `tramp-check-proper-host'. Check for a valid method name.
3125 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3126 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3127 * net/tramp-sh.el (tramp-maybe-open-connection):
3128 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3130 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3131 also for hash values.
3133 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * term/ns-win.el (parameters): Don't declare as dynamic.
3136 (before-make-frame-hook): Don't add ineffective function.
3138 * eshell/*.el: Use lexical-binding (bug#15231).
3140 2013-09-12 Kenichi Handa <handa@gnu.org>
3142 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3144 2013-09-12 Glenn Morris <rgm@gnu.org>
3146 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3147 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3149 * subr.el (do-after-load-evaluation): Also give compiler warnings
3150 when obsolete files are used (except by obsolete files).
3152 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3153 in the status output, assume `filename' is the first. (Bug#15322)
3155 * vc/vc.el (vc-deduce-fileset): Doc fix.
3157 * calc/calc-help.el (Info-goto-node):
3158 * progmodes/cperl-mode.el (Info-find-node):
3159 * vc/ediff.el (Info-goto-node): Update declarations.
3161 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3163 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3164 (vc-bzr-pull): Require vc-dispatcher.
3165 * vc/vc-git.el (vc-compilation-mode): Declare.
3166 (vc-git-pull): Require vc-dispatcher.
3168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3170 * progmodes/octave.el (help-button-action): Declare.
3172 * shell.el (shell-directory-tracker): Output error as a message
3173 rather than just returning it as a string.
3174 (shell-process-pushd): Remove useless use of message.
3176 * dframe.el (dframe-timer-fn):
3177 * files.el (dir-locals-read-from-file):
3178 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3180 * reveal.el (reveal-post-command):
3181 * saveplace.el (load-save-place-alist-from-file):
3182 * shell.el (shell-resync-dirs):
3183 * w32-common-fns.el (x-get-selection-value):
3184 * emacs-lisp/copyright.el (copyright-find-copyright):
3185 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3186 * emulation/tpu-edt.el (tpu-copy-keyfile):
3187 * play/bubbles.el (bubbles--mark-neighbourhood):
3188 * progmodes/executable.el
3189 (executable-make-buffer-file-executable-if-script-p):
3190 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3192 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3194 Cleanup Eshell to rely less on dynamic scoping.
3195 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3196 last-value, and ext-command here. Bind `args' closer to `body'.
3197 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3198 (eshell--args): Declare new dynamic var.
3199 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3200 last-value, and ext-command. Pass `args' to `body'.
3201 (eshell-process-args): Bind eshell--args.
3202 (eshell-set-option): Use eshell--args.
3203 * eshell/eshell.el (eshell): Use derived-mode-p.
3204 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3205 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3206 (eshell-glob-function): Declare.
3207 * eshell/esh-util.el: Require cl-lib.
3208 (eshell-read-hosts-file): Avoid add-to-list.
3209 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3211 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3213 (eshell/diff): Remove unused var `err'.
3214 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3216 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3217 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3219 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3220 Move declaration before first use.
3221 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3222 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3225 2013-09-12 Glenn Morris <rgm@gnu.org>
3227 * term/ns-win.el (global-map): Remove binding for ispell-next,
3228 deleted 1999-05-29. (Bug#15357)
3230 2013-09-11 Glenn Morris <rgm@gnu.org>
3232 * echistory.el (electric-command-history): Remove call to deleted func.
3234 * play/landmark.el (landmark-mode): Fix typos.
3236 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3237 Check cvs-sort-ignore-file is bound.
3239 * savehist.el: No need for cl when compiling on Emacs.
3241 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3245 (eshell-self-insert-command, eshell-send-invisible):
3246 Remove unused argument.
3247 (eshell-handle-control-codes): Remove unused var `orig'.
3248 Avoid delete-backward-char.
3250 * files.el (set-auto-mode): Simplify a bit further.
3252 2013-09-11 Glenn Morris <rgm@gnu.org>
3254 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3255 (set-auto-mode): Don't regexp-quote elements.
3256 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3257 * progmodes/cc-mode.el (interpreter-mode-alist):
3258 * progmodes/ruby-mode.el (interpreter-mode-alist):
3259 Revert previous change.
3261 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * play/snake.el (snake-mode):
3264 * play/mpuz.el (mpuz-mode):
3265 * play/landmark.el (lm-mode):
3266 * play/blackbox.el (blackbox-mode):
3267 * play/5x5.el (5x5-mode):
3268 * obsolete/options.el (Edit-options-mode):
3269 * net/quickurl.el (quickurl-list-mode):
3270 * net/newst-treeview.el (newsticker-treeview-mode):
3271 * mail/rmailsum.el (rmail-summary-mode):
3272 * mail/mspools.el (mspools-mode):
3273 * locate.el (locate-mode):
3274 * ibuffer.el (ibuffer-mode):
3275 * emulation/ws-mode.el (wordstar-mode):
3276 * emacs-lisp/debug.el (debugger-mode):
3277 * array.el (array-mode):
3278 * net/eudc.el (eudc-mode): Use define-derived-mode.
3279 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3280 Move initialization into declaration.
3281 (mairix-searches-mode): Use define-derived-mode.
3282 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3283 (eudc-edit-hotlist): Use dolist.
3284 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3285 (Man-mode): Use define-derived-mode.
3286 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3287 (Info-edit-mode): Use define-derived-mode.
3288 (Info-cease-edit): Use Info-mode.
3289 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3291 (eshell-mode): Use define-derived-mode.
3292 * chistory.el (command-history-mode-map): Rename from
3293 command-history-map.
3294 (command-history-mode): Use define-derived-mode.
3295 (Command-history-setup): Remove function.
3296 * calc/calc.el (calc-trail-mode-map): New var.
3297 (calc-trail-mode): Use define-derived-mode.
3298 (calc-trail-buffer): Set calc-main-buffer manually.
3299 * bookmark.el (bookmark-insert-annotation): New function.
3300 (bookmark-edit-annotation): Use it.
3301 (bookmark-edit-annotation-mode): Make it a proper major mode.
3302 (bookmark-send-edited-annotation): Use derived-mode-p.
3303 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3304 closer to its ideal place. Use \' to match EOS.
3306 * profiler.el (profiler-calltree-find): Use function-equal.
3308 2013-09-10 Glenn Morris <rgm@gnu.org>
3310 * files.el (interpreter-mode-alist): Convert to regexps.
3311 (set-auto-mode): Adapt for this. (Bug#15306)
3312 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3313 Comment out unused variable.
3314 * progmodes/cc-mode.el (interpreter-mode-alist):
3315 * progmodes/python.el (interpreter-mode-alist):
3316 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3317 * progmodes/sh-script.el (sh-set-shell):
3318 No longer use interpreter-mode-alist to get list of shells.
3320 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3322 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * simple.el: Use set-temporary-overlay-map for universal-argument.
3325 (universal-argument-map): Don't use default-bindings (bug#15317).
3326 Bind switch-frame explicitly. Replace universal-argument-minus with
3327 a conditional binding.
3328 (universal-argument-num-events, saved-overriding-map): Remove.
3329 (restore-overriding-map): Remove.
3330 (universal-argument--mode): Rename from save&set-overriding-map,
3332 (universal-argument, universal-argument-more, negative-argument)
3333 (digit-argument): Adjust accordingly.
3334 (universal-argument-minus): Remove.
3335 (universal-argument-other-key): Remove.
3337 * subr.el (with-demoted-errors): Add `format' argument.
3339 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3341 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3342 `tramp-cleanup-connection'.
3344 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3345 parameters KEEP-DEBUG and KEEP-PASSWORD.
3347 * net/tramp.el (tramp-file-name-handler):
3348 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3349 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3350 (tramp-maybe-open-connection):
3351 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3352 Use `tramp-cleanup-connection'.
3354 * net/tramp-sh.el (tramp-maybe-open-connection):
3355 Catch 'uname-changed inside the progress reporter.
3357 2013-09-10 Glenn Morris <rgm@gnu.org>
3359 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3361 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3362 returns "alternate access method" in mode (eg "-rw-r--r--.").
3364 2013-09-08 Glenn Morris <rgm@gnu.org>
3366 * saveplace.el (load-save-place-alist-from-file):
3367 Demote errors. (Bug#15305)
3369 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3371 Improve compatibility with older Emacsen, and XEmacs.
3373 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3374 only if it is bound. It isn't for XEmacs.
3375 (with-tramp-progress-reporter): Do not let-bind `result'.
3376 This yields to scoping errors in XEmacs.
3377 (tramp-handle-make-auto-save-file-name): New function, moved from
3380 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3381 for `make-auto-save-file-name'.
3382 (tramp-adb--gnu-switches-to-ash):
3383 Use `tramp-compat-replace-regexp-in-string'.
3385 * net/tramp-cache.el (tramp-cache-print): Call
3386 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3388 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3389 bound. It isn't for XEmacs.
3391 * net/tramp-compat.el (tramp-compat-copy-file):
3392 Catch `wrong-number-of-arguments' error.
3393 (tramp-compat-replace-regexp-in-string): New defun.
3395 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3396 for `make-auto-save-file-name'.
3397 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3399 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3400 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3401 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3403 * net/tramp-gw.el (tramp-gw-open-network-stream):
3404 Use `tramp-compat-replace-regexp-in-string'.
3406 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3407 Call `tramp-handle-make-auto-save-file-name'.
3408 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3409 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3410 (tramp-sh-file-inotifywait-process-filter):
3411 Use `tramp-compat-replace-regexp-in-string'.
3412 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3414 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3415 for `make-auto-save-file-name'.
3416 (tramp-smb-handle-copy-directory):
3417 Call `tramp-compat-replace-regexp-in-string'.
3418 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3419 (tramp-smb-handle-copy-file): Improve error message.
3420 (tramp-smb-handle-rename-file): Rename directly only in case
3421 `newname' does not exist yet. This is a restriction of smbclient.
3422 (tramp-smb-maybe-open-connection): Rerun the function only when
3423 `auth-sources' is non-nil.
3425 2013-09-08 Kenichi Handa <handa@gnu.org>
3427 * international/characters.el: Set category "^" (Combining) for
3430 2013-09-07 Alan Mackenzie <acm@muc.de>
3432 Correctly fontify Java class constructors.
3433 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3435 (c-recognize-typeless-decls): Set the Java value to t.
3436 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3437 While handling a "(", add a check for, effectively, Java, and handle a
3438 "typeless" declaration there.
3440 2013-09-07 Roland Winkler <winkler@gnu.org>
3442 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3443 field subtitle for entry type book.
3445 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3447 * minibuffer.el: Make minibuffer-complete call completion-in-region
3448 rather than other way around.
3449 (completion--some, completion-pcm--find-all-completions):
3450 Don't delay signals when debugging.
3451 (minibuffer-completion-contents): Beware fields within the
3452 minibuffer contents.
3453 (completion-all-sorted-completions): Use defvar-local.
3454 (completion--do-completion, completion--cache-all-sorted-completions)
3455 (completion-all-sorted-completions, minibuffer-force-complete):
3456 Add args `beg' and `end'.
3457 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3458 (minibuffer-complete): Use completion-in-region.
3459 (completion-complete-and-exit): New fun, extracted from
3460 minibuffer-complete-and-exit.
3461 (minibuffer-complete-and-exit): Use it.
3462 (completion--complete-and-exit): Rename from
3463 minibuffer--complete-and-exit.
3464 (completion-in-region--single-word): New function, extracted from
3465 minibuffer-complete-word.
3466 (minibuffer-complete-word): Use it.
3467 (display-completion-list): Make `common-substring' argument obsolete.
3468 (completion--in-region): Call completion--in-region-1 instead of
3469 minibuffer-complete.
3470 (completion-help-at-point): Pass boundaries to
3471 minibuffer-completion-help as args rather than via an overlay.
3472 (completion-pcm--string->pattern): Use `any-delim'.
3473 (completion-pcm--optimize-pattern): New function.
3474 (completion-pcm--pattern->regex): Handle `any-delim'.
3475 * icomplete.el (icomplete-forward-completions)
3476 (icomplete-backward-completions, icomplete-completions):
3477 Adjust calls to completion-all-sorted-completions and
3478 completion--cache-all-sorted-completions.
3479 (icomplete-with-completion-tables): Default to t.
3480 * emacs-lisp/crm.el (crm--current-element): Rename from
3481 crm--select-current-element. Don't put an overlay but return the
3483 (crm--completion-command): Take two new args to bind to the boundaries.
3484 (crm-completion-help): Adjust accordingly.
3485 (crm-complete): Use completion-in-region.
3486 (crm-complete-word): Use completion-in-region--single-word.
3487 (crm-complete-and-exit): Use completion-complete-and-exit.
3489 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3494 2013-09-06 Juri Linkov <juri@jurta.org>
3496 * info.el (Info-display-images-node): When image file doesn't exist
3497 display text version of the image if it's provided in the Info file.
3498 Otherwise, display the location of missing image from SRC attribute.
3499 Add help-echo text property from ALT attribute. (Bug#15279)
3501 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3504 (edit-abbrevs-mode): Use define-derived-mode.
3506 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3507 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3509 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3510 Use define-derived-mode.
3512 * epg.el (epg-start-encrypt): Minor CSE simplification.
3514 2013-09-06 William Xu <william.xwl@gmail.com>
3516 * arc-mode.el: Add support for 7za (bug#15264).
3517 (archive-7z-program): New var.
3518 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3519 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3520 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3522 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3526 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3527 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3528 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3529 (tramp-postfix-host-format, tramp-file-name-regexp)
3530 (tramp-completion-file-name-regexp)
3531 (tramp-completion-dissect-file-name)
3532 (tramp-handle-substitute-in-file-name): Remove 'url case.
3533 (tramp-file-name-regexp-url)
3534 (tramp-completion-file-name-regexp-url): Remove constants.
3536 2013-09-06 Glenn Morris <rgm@gnu.org>
3538 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3540 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3542 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3543 keywords" below "here-doc beginnings" (Bug#15270).
3545 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3547 * subr.el (pop): Use `car-safe'.
3548 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3549 to detect unused `pop' return value.
3551 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3553 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3554 (python-fill-string): Remove unused var `marker'.
3555 (python-skeleton-add-menu-items): Remove unused var `items'.
3557 * international/mule-cmds.el: Require CL.
3558 (find-coding-systems-for-charsets): Avoid add-to-list.
3559 (sanitize-coding-system-list): New function, extracted from
3560 select-safe-coding-system-interactively.
3561 (select-safe-coding-system-interactively): Use it.
3562 (read-input-method-name): Accept symbols for `default'.
3564 * emacs-lisp/advice.el (defadvice): Add indent rule.
3566 2013-09-05 Daniel Hackney <dan@haxney.org>
3570 * net/browse-url.el:
3573 * net/eudcb-ldap.el:
3586 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3587 byte compiler. Remove some unused let-bound variables.
3589 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3592 a "ref-cell", since it gets better optimized (bug#14883).
3594 2013-09-05 Glenn Morris <rgm@gnu.org>
3596 * progmodes/cc-awk.el (c-forward-sws): Declare.
3598 2013-09-04 Glenn Morris <rgm@gnu.org>
3600 * generic-x.el [rul-generic-mode]: Require cc-mode.
3601 (c++-mode-syntax-table): Declare.
3602 (rul-generic-mode-syntax-table): Init in the defvar.
3604 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3606 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3607 (vc-do-command, vc-set-async-update):
3608 * vc/vc-mtn.el (vc-mtn-dir-status):
3609 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3610 (vc-hg-pull, vc-hg-merge-branch):
3611 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3612 (vc-git-merge-branch):
3613 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3614 (vc-cvs-dir-status-files):
3615 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3616 (vc-bzr-dir-status-files):
3617 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3618 * vc/vc-annotate.el: Use lexical-binding.
3619 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3620 (vc-sentinel-movepoint): Declare.
3621 (vc-annotate): Don't use `goto-line'.
3622 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3623 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3624 (vc-sentinel-movepoint): Declare.
3625 * vc/vc-svn.el: Use lexical-binding.
3626 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3628 * vc/vc-rcs.el: Use lexical-binding.
3630 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3631 `deleted'. Don't drop errors silently.
3633 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3635 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3637 * vc/vc.el (vc-ignore): Rewrite.
3638 (vc-default-ignore): New function.
3639 (vc-default-ignore-completion-table): Use find-ignore-file.
3641 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3642 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3643 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3644 Remove. Most code moved to vc.el.
3646 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3648 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3649 * net/tramp-smb.el (tramp-smb-get-file-entries):
3650 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3651 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3653 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3655 (eww-change-select): Remove unused var `properties'.
3656 (eww-make-unique-file-name): Remove unused var `base'.
3658 * finder.el (finder-compile-keywords): Don't mess with windows.
3660 * calculator.el (calculator-funcall): Fix typo in last change.
3662 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3664 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3665 <pkg>-autoloads.el file stop us.
3667 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3668 warnings, and factor out common code.
3670 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3672 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3673 two-character operators and whether the character preceding them
3674 changes their meaning (Bug#15208).
3676 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3678 Format code sent to Python shell for robustness.
3679 * progmodes/python.el (python-shell-buffer-substring):
3681 (python-shell-send-region, python-shell-send-buffer): Use it.
3683 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3685 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3686 * net/tramp.el (tramp-user-error): ... here.
3687 (tramp-find-method, tramp-check-proper-host)
3688 (tramp-dissect-file-name, tramp-debug-message)
3689 (tramp-handle-shell-command):
3690 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3693 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3695 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3697 * avoid.el (mouse-avoidance-point-position)
3698 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3701 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3703 * progmodes/python.el (python-shell-completion-get-completions):
3704 Drop use of deleted `comint-last-prompt-overlay'.
3705 (python-nav-if-name-main): New command.
3707 2013-09-01 Glenn Morris <rgm@gnu.org>
3709 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3710 Avoid leading space in $wins. Otherwise the sed command used by
3711 eg compile-main ends up containing "/*.el". (Bug#15170)
3713 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3715 2013-08-30 Glenn Morris <rgm@gnu.org>
3717 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3718 Fix is-this-a-directory logic. (Bug#15220)
3720 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * textmodes/css-mode.el: Use SMIE.
3723 (css-smie-grammar): New var.
3724 (css-smie--forward-token, css-smie--backward-token)
3725 (css-smie-rules): New functions.
3726 (css-mode): Use them.
3727 (css-navigation-syntax-table): Remove var.
3728 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3729 (css-indent-calculate, css-indent-line): Remove functions.
3731 Misc changes to reduce use of `(lambda...); and other cleanups.
3732 * cus-edit.el: Use lexical-binding.
3733 (customize-push-and-save, customize-apropos)
3734 (custom-buffer-create-internal): Use closures.
3735 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3736 * progmodes/ada-xref.el: Use setq.
3737 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3738 * dframe.el: Use lexical-binding.
3739 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3740 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3741 * descr-text.el: Use lexical-binding.
3742 (describe-text-widget, describe-text-sexp, describe-property-list):
3744 * comint.el (comint-history-isearch-push-state): Use a closure.
3745 * calculator.el: Use lexical-binding.
3746 (calculator-number-to-string): Make it work with lexical-binding.
3747 (calculator-funcall): Same and use cl-letf.
3749 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3750 (lisp--company-doc-string, lisp--company-location): New functions.
3751 (lisp-completion-at-point): Use them to improve Company support.
3753 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3754 params of lambda expressions.
3755 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3756 (ruby-smie--opening-pipe-p): New function.
3757 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3758 symbols and matched |...| for formal params.
3759 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3760 from being treated as hanging. Handle "rescue".
3762 2013-08-29 Glenn Morris <rgm@gnu.org>
3764 * progmodes/cc-engine.el (c-pull-open-brace):
3765 Move definition before use.
3767 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3770 are immutable. Don't use `unsafe' any more.
3771 (cl--defsubst-expand): Don't substitute at the same time as keeping
3772 a residual unused let-binding. Don't use `unsafe' any more.
3774 2013-08-29 Glenn Morris <rgm@gnu.org>
3776 * calendar/cal-china.el (calendar-chinese-year-cache):
3779 * nxml/nxml-util.el (nxml-debug-clear-inside):
3780 Use cl-loop rather than loop.
3782 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3784 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3786 2013-08-28 Glenn Morris <rgm@gnu.org>
3788 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3790 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3792 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3794 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * simple.el (repeat-complex-command--called-interactively-skip):
3798 (repeat-complex-command): Use it (bug#14136).
3800 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3801 (c-define-abbrev-table): Add `doc' argument.
3802 (c-mode-abbrev-table, c++-mode-abbrev-table)
3803 (objc-mode-abbrev-table, java-mode-abbrev-table)
3804 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3805 (awk-mode-abbrev-table): Use it.
3806 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3807 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3808 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3809 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3810 Move initialization into the declaration; and remove any
3813 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3814 and dynamic let binding.
3816 * vc/smerge-mode.el: Remove redundant :group args.
3818 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3821 2013-08-28 Juri Linkov <juri@jurta.org>
3823 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3824 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3825 (isearch-other-meta-char): Handle an undefined shifted printing
3826 character by downshifting it. (Bug#15200)
3828 2013-08-28 Juri Linkov <juri@jurta.org>
3830 * isearch.el (isearch-search): Change regexp error message for
3831 non-regexp searches. (Bug#15166)
3833 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3835 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3836 for portability to hosts where /bin/sh has problems.
3838 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3840 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3842 2013-08-27 Juri Linkov <juri@jurta.org>
3844 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3845 in the keyboard macro. (Bug#15126)
3847 2013-08-27 Juri Linkov <juri@jurta.org>
3849 * isearch.el (isearch-quote-char): Comment out converting unibyte
3850 to multibyte, thus syncing with its `quoted-insert' counterpart.
3853 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3855 * window.el (display-buffer-use-some-window): Add missing
3856 argument in call of get-largest-window (Bug#15185).
3857 Reported by Stephen Leake.
3859 2013-08-27 Glenn Morris <rgm@gnu.org>
3861 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3863 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3866 from a matcher-function unless there's no more matches (bug#15161).
3868 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3870 * minibuffer.el: Revert change from 2013-08-20.
3872 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3873 with text property `tramp-default', if appropriate.
3874 (tramp-check-proper-host): New defun.
3875 (tramp-dissect-file-name): Do not check hostname. Revert change
3877 (tramp-backtrace): Make VEC-OR-PROC optional.
3879 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3880 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3881 * net/tramp-sh.el (tramp-maybe-open-connection):
3882 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3883 Apply `tramp-check-proper-host'.
3885 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3887 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3888 lambda expression in order to have `describe-variable' display it.
3890 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3892 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3893 BUF can be optional. (Bug#15186)
3895 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3897 * progmodes/flymake.el (flymake-get-real-file-name-function):
3898 Fix broken customization. (Bug#15184)
3900 2013-08-25 Alan Mackenzie <acm@muc.de>
3902 Improve indentation of bracelists defined by macros (without "=").
3904 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3905 expansion begins with "{", regard it as bracelist when it doesn't
3908 Parse C++ inher-intro when there's a template split over 2 lines.
3910 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3911 rigorously the search for "class" etc. followed by ":".
3913 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3914 random languages a regexp which never matches rather than nil.
3916 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3918 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3919 (c-awk-regexp-one-line-possibly-open-char-list-re)
3920 (c-awk-one-line-possibly-open-regexp-re)
3921 (c-awk-one-line-non-syn-ws*-re): Remove.
3922 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3923 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3924 (c-awk-space*-unclosed-regexp-/-re): New constants.
3925 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3926 aren't regexp delimiters.
3928 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3929 handling for a rare situation in AWK Mode involving unterminated
3932 2013-08-23 Glenn Morris <rgm@gnu.org>
3934 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3936 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3938 * files.el (create-file-buffer): If the result would begin with
3939 spaces, prepend a "|" instead of removing them. (Bug#15162)
3941 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3943 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3944 text-properties (bug#15155).
3946 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3948 (calc-keypad-redraw): Remove unused var `pad'.
3949 (calc-keypad-press): Remove unused var `menu'.
3951 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3953 * window.el (display-buffer-pop-up-frame):
3954 Call pop-up-frame-function with BUFFER current so `make-frame' will
3955 use it as the new frame's buffer (Bug#15133).
3957 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3959 * calendar/timeclock.el: Minor cleanups.
3960 (timeclock-ask-before-exiting, timeclock-use-display-time):
3962 (timeclock-modeline-display): Define as alias before the
3964 (timeclock-mode-line-display): Use define-minor-mode.
3965 (timeclock-day-list-template): Make it a function, add an argument.
3966 (timeclock-day-list-required, timeclock-day-list-length)
3967 (timeclock-day-list-debt, timeclock-day-list-span)
3968 (timeclock-day-list-break): Adjust calls accordingly.
3970 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3972 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3973 Use read--expression so that completion works again.
3975 2013-08-21 Sam Steingold <sds@gnu.org>
3977 Add rudimentary inferior shell interaction
3978 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3979 (sh-set-shell): Reset it.
3980 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3981 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3983 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3985 * align.el: Use lexical-binding.
3986 (align-region): Simplify accordingly.
3988 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3990 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3992 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3995 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3999 * net/tramp-cmds.el:
4001 * net/tramp-gvfs.el:
4003 * net/tramp-sh.el: Don't wrap external variable declarations by
4004 `eval-when-compile'.
4006 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4008 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4009 now that Emacs supports ImageMagick animations.
4011 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4013 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4014 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4016 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4018 * window.el (mouse-autoselect-window-select): Do autoselect when
4019 mouse pointer is on margin.
4021 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4023 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4025 2013-08-16 Glenn Morris <rgm@gnu.org>
4027 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4028 Handle "Remote Directory" response of some clients. (Bug#15058)
4030 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4031 Tweak warning. (Bug#14926)
4033 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4034 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4036 * image-mode.el (image-mode-map): Add menu items to reverse,
4037 increase, decrease, reset animation speed.
4038 (image--set-speed, image-increase-speed, image-decrease-speed)
4039 (image-reverse-speed, image-reset-speed): New functions.
4040 (image-mode-map): Add bindings for speed commands.
4042 * image.el (image-animate-get-speed, image-animate-set-speed):
4044 (image-animate-timeout): Respect image :speed property.
4046 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4049 previous line (bug#15101).
4050 (debugger-eval-expression, debugger-record-expression):
4051 Use read--expression (bug#15102).
4053 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4055 Remove byte compiler warnings, visible when compiling with
4056 `byte-compile-force-lexical-warnings' set to t.
4058 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4059 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4060 (tramp-handle-unhandled-file-name-directory)
4061 (tramp-handle-file-notify-add-watch, tramp-action-login)
4062 (tramp-action-succeed, tramp-action-permission-denied)
4063 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4066 * net/tramp-adb.el (tramp-adb-parse-device-names)
4067 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4068 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4069 (tramp-adb-handle-file-truename): Remove unused arguments.
4071 * net/tramp-cache.el (tramp-flush-directory-property)
4072 (tramp-flush-connection-property, tramp-list-connections)
4073 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4075 * net/tramp-compat.el (tramp-compat-make-temp-file):
4076 Rename FILENAME to F.
4078 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4079 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4080 (tramp-zeroconf-parse-workstation-device-names)
4081 (tramp-zeroconf-parse-webdav-device-names)
4082 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4084 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4085 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4087 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4089 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4090 (tramp-sh-handle-insert-file-contents-literally)
4091 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4093 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4094 Remove unused variables.
4096 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4097 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4098 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4100 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4101 Make them a defconst.
4102 (tramp-uuencode-region): Remove unused variable.
4104 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4106 * frameset.el (frameset--prop-setter): New function.
4107 (frameset-prop): Add gv-setter declaration.
4108 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4109 parameter was already set in FILTERED. Doc fix.
4110 (frameset--record-minibuffer-relationships): Allow saving a
4111 minibufferless frame without its corresponding minibuffer frame.
4112 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4113 frame, if the frame id matches.
4114 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4115 frames before orphaned ones.
4116 (frameset-restore): Warn about orphaned windows, instead of error out.
4118 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4120 * window.el (window-make-atom): Don't overwrite parameter
4122 (display-buffer-in-atom-window): Handle special case where we
4123 split an already atomic window.
4124 (window--major-non-side-window, display-buffer-in-side-window)
4125 (window--side-check): Ignore minibuffer window when walking
4127 (window-deletable-p): Return 'frame only if no other frame uses
4128 our minibuffer window.
4129 (record-window-buffer): Run buffer-list-update-hook.
4130 (split-window): Make sure window--check-frame won't destroy an
4131 existing atomic window in case the new window gets nested
4133 (display-buffer-at-bottom): Ignore minibuffer window when
4134 walking window tree. Don't split a side window.
4135 (pop-to-buffer): Don't set-buffer here, the select-window call
4137 (mouse-autoselect-window-select): Autoselect only if we are in the
4138 text portion of the window.
4140 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4142 * net/shr.el (shr-parse-image-data): New function to grab both the
4143 data itself and the Content-Type.
4144 (shr-put-image): Use it.
4146 * net/eww.el (eww-display-image): Ditto.
4148 * image.el (image-content-type-suffixes): New variable.
4150 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4152 * progmodes/python.el (python-imenu--build-tree)
4153 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4155 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4157 * simple.el (backward-word): Mention the optional argument.
4159 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * frameset.el (frameset--make): Rename constructor from make-frameset.
4162 (frameset-p, frameset-valid-p): Don't autoload.
4163 (frameset-valid-p): Use normal accessors.
4165 2013-08-13 Glenn Morris <rgm@gnu.org>
4167 * progmodes/compile.el (compile-command): Tweak example in doc.
4168 * obsolete/scribe.el (scribe-mode):
4169 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4171 * mail/feedmail.el (feedmail-confirm-outgoing)
4172 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4174 * cus-start.el (truncate-partial-width-windows): Fix type.
4176 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4178 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4180 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * emacs-lisp/timer.el (timer--time-setter): New function.
4183 (timer--time): Use it as gv-setter.
4185 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4186 setter is not a symbol.
4188 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4190 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4191 if sending fails. This makes debugging easier.
4193 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4195 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4196 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4197 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4199 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4201 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4203 2013-08-12 Glenn Morris <rgm@gnu.org>
4205 * format.el (format-annotate-function):
4206 Handle read-only text properties in the source. (Bug#14887)
4208 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4210 * net/eww.el (eww-display-html): Ignore coding system errors.
4211 One web site uses "utf-8lias" as the coding system.
4213 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4215 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4217 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4219 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4220 (tutorial--detailed-help): Remove unused local variables.
4221 (tutorial--save-tutorial-to): Use ignore-errors.
4222 (help-with-tutorial): Use looking-at-p.
4224 * view.el (view-buffer-other-window, view-buffer-other-frame):
4225 Mark unused arguments.
4227 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4228 (woman-select-symbol-fonts, woman, woman-find-file)
4229 (woman-insert-file-contents, woman-non-underline-faces):
4231 (woman1-unquote): Move declaration.
4233 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4234 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4235 argument. Remove unused local variable.
4236 (xml-parse-elem-type): Use string-match-p.
4237 (xml-substitute-numeric-entities): Use ignore-errors.
4239 * calculator.el (calculator): Mark unused argument.
4240 (calculator-paste, calculator-quit, calculator-integer-p):
4242 (calculator-string-to-number, calculator-decimal, calculator-exp)
4243 (calculator-op-or-exp): Use string-match-p.
4245 * dired.el (dired-buffer-more-recently-used-p): Declare.
4246 (dired-insert-set-properties, dired-insert-old-subdirs):
4249 * dired-aux.el (dired-compress): Use ignore-errors.
4250 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4251 (dired-do-async-shell-command, dired-do-shell-command)
4252 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4253 (dired-insert-subdir-validate): Use string-match-p.
4254 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4255 (dired-add-entry): Use string-match-p, looking-at-p.
4256 (dired-insert-subdir-newpos): Remove unused local variable.
4258 * filenotify.el (file-notify-callback): Remove unused local variable.
4260 * filesets.el (filesets-error): Mark unused argument.
4261 (filesets-which-command-p, filesets-filter-dir-names)
4262 (filesets-directory-files, filesets-get-external-viewer)
4263 (filesets-ingroup-get-data): Use string-match-p.
4265 * find-file.el (ff-other-file-name, ff-other-file-name)
4266 (ff-find-the-other-file, ff-cc-hh-converter):
4267 Remove unused local variables.
4268 (ff-get-file-name): Use string-match-p.
4269 (ff-all-dirs-under): Use ignore-errors.
4271 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4272 (follow-select-if-visible): Remove unused local variable.
4274 * forms.el (read-file-filter): Move declaration.
4275 (forms--make-format, forms--make-parser, forms-insert-record):
4276 Quote function with #'.
4277 (forms--update): Use string-match-p. Quote function with #'.
4279 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4280 (help-make-xrefs): Use looking-at-p.
4281 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4283 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4284 (ibuffer-confirm-operation-on): Use string-match-p.
4286 * msb.el (msb-item-handler, msb-dired-item-handler):
4287 Mark unused arguments.
4289 * ses.el (ses-decode-cell-symbol)
4290 (ses-kill-override): Remove unused local variable.
4291 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4292 (ses-load): Use ignore-errors, looking-at-p.
4293 (ses-jump-safe): Use ignore-errors.
4294 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4296 * tabify.el (untabify, tabify): Mark unused arguments.
4298 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4299 Mark unused argument.
4300 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4301 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4303 * emacs-lisp/timer.el (timer--time): Define setter with
4304 gv-define-setter to avoid deprecation warning.
4306 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4307 (*record-cmpl-statistics-p*): Remove (was commented out).
4308 (cmpl-statistics-block): Remove (body was commented out).
4309 All callers changed.
4310 (add-completions-from-buffer, load-completions-from-file):
4311 Remove unused variables.
4313 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4315 * filecache.el (file-cache-delete-file-list):
4316 Print message only when told so.
4317 (file-cache-files-matching): Use #' in mapconcat argument.
4319 * ffap.el (ffap-url-at-point): Fix reference to variable
4320 thing-at-point-default-mail-uri-scheme.
4322 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * subr.el (define-error): New function.
4325 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4326 error-file-not-found and define with define-error.
4327 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4328 and define with define-error.
4329 * userlock.el (file-locked, file-supersession):
4330 * simple.el (mark-inactive):
4331 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4332 * progmodes/ada-mode.el (ada-mode-errors):
4333 * play/life.el (life-extinct):
4334 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4335 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4336 * nxml/rng-util.el (rng-error):
4337 * nxml/rng-uri.el (rng-uri-error):
4338 * nxml/rng-match.el (rng-compile-error):
4339 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4340 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4341 * nxml/nxml-rap.el (nxml-scan-error):
4342 * nxml/nxml-outln.el (nxml-outline-error):
4343 * net/soap-client.el (soap-error):
4344 * net/gnutls.el (gnutls-error):
4345 * net/ange-ftp.el (ftp-error):
4346 * mpc.el (mpc-proc-error):
4347 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4348 (json-number-format, json-string-escape, json-string-format)
4349 (json-key-format, json-object-format):
4350 * jka-compr.el (compression-error):
4351 * international/quail.el (quail-error):
4352 * international/kkc.el (kkc-error):
4353 * emacs-lisp/ert.el (ert-test-failed):
4354 * calc/calc.el (calc-error, inexact-result, math-overflow)
4356 * bookmark.el (bookmark-error-no-filename):
4357 * epg.el (epg-error): Define with define-error.
4359 * time.el (display-time-event-handler)
4360 (display-time-next-load-average): Don't call sit-for since it seems
4361 unnecessary (bug#15045).
4363 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4364 Use #' instead of ' to quote functions.
4365 (checkdoc-output-mode): Use setq-local.
4366 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4367 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4368 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4369 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4370 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4371 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4372 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4373 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4375 * ido.el (ido-completion-help): Fix up compiler warning.
4377 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4379 * frameset.el (frameset-p): Add autoload cookie.
4380 (frameset--jump-to-register): New function, based on code moved from
4382 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4384 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4385 (frameset-restore, frameset-save, frameset-session-filter-alist):
4386 Remove declarations.
4387 (register-alist): Doc fix.
4388 (frameset-to-register): Move to frameset.el.
4389 (jump-to-register, describe-register-1): Remove frameset-specific code.
4391 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4393 * allout-widgets.el (allout-widgets-pre-command-business)
4394 (allout-widgets-post-command-business)
4395 (allout-widgets-after-change-handler)
4396 (allout-decorate-item-and-context, allout-set-boundary-marker)
4397 (allout-body-modification-handler)
4398 (allout-graphics-modification-handler): Mark ignored arguments.
4399 (allout-widgets-post-command-business)
4400 (allout-widgets-exposure-change-processor)
4401 (allout-widgets-exposure-undo-processor)
4402 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4403 (allout-parse-item-at-point, allout-decorate-item-guides)
4404 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4405 * allout.el (epa-passphrase-callback-function): Declare.
4406 (allout-overlay-insert-in-front-handler)
4407 (allout-overlay-interior-modification-handler)
4408 (allout-isearch-end-handler, allout-chart-siblings)
4409 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4410 (allout-yank-processing, allout-process-exposed)
4411 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4412 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4413 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4414 (lisp-indent-defform): Mark ignored arguments.
4415 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4416 (calculate-lisp-indent): Remove unused variables.
4417 * international/characters.el (indian-2-column, arabic-2-column)
4418 (tibetan): Mark ignored arguments.
4419 (use-cjk-char-width-table): Mark ignored arguments.
4420 Remove unused variables.
4421 * international/fontset.el (build-default-fontset-data)
4422 (x-compose-font-name, create-fontset-from-fontset-spec):
4423 Mark ignored arguments.
4424 (fontset-plain-name): Remove unused variables.
4425 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4426 (keyboard-coding-system): Mark ignored arguments.
4427 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4428 * help.el (resize-temp-buffer-window):
4429 * window.el (display-buffer-in-major-side-window)
4430 (display-buffer-in-side-window, display-buffer-in-previous-window):
4431 Remove unused variables.
4432 * isearch.el (isearch-forward-symbol):
4433 * version.el (emacs-bzr-version-bzr):
4434 * international/mule-cmds.el (current-language-environment):
4435 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4437 * term/pc-win.el (x-list-fonts, x-display-planes)
4438 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4439 (x-server-version, x-display-screens, x-display-mm-height)
4440 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4441 (x-selection-owner-p, x-own-selection-internal)
4442 (x-disown-selection-internal, x-get-selection-internal)
4443 (msdos-initialize-window-system):
4444 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4445 * term/x-win.el (x-handle-no-bitmap-icon):
4446 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4447 (vc-default-find-file-hook, vc-default-extra-menu):
4448 Mark ignored arguments.
4450 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4452 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4453 break-condition in the context of the debugged code (bug#12685).
4455 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4458 Do not use an overlay to highlight the last prompt. (Bug#14744)
4459 (comint-mode): Make comint-last-prompt buffer local.
4460 (comint-last-prompt): New variable.
4461 (comint-last-prompt-overlay): Remove. Superseded by
4463 (comint-snapshot-last-prompt, comint-output-filter):
4464 Use comint-last-prompt.
4466 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4468 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4469 (frameset-save): Check validity of the resulting frameset.
4471 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4473 * ido.el (ido-record-command): Add doc string.
4475 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4477 * frameset.el (frameset): Do not disable creation of the default
4478 frameset-p predicate. Doc fix.
4479 (frameset-valid-p): New function, copied from the old predicate-p.
4480 Add additional checks.
4481 (frameset-restore): Check with frameset-valid-p.
4482 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4483 (frameset-name, frameset-description, frameset-properties)
4484 (frameset-states): Add docstring.
4485 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4486 (frameset-filter-alist): Doc fixes.
4488 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4490 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4492 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4495 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4496 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4497 (byte-compile-normal-call): Remove obsolescence check.
4499 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4501 * frameset.el (frameset-restore): Doc fix.
4503 * register.el (frameset-frame-id, frameset-frame-with-id)
4504 (frameset-p, frameset-restore, frameset-save): Declare.
4505 (register-alist): Document framesets.
4506 (frameset-session-filter-alist): Declare.
4507 (frameset-to-register): New function.
4508 (jump-to-register): Implement jumping to framesets. Doc fix.
4509 (describe-register-1): Describe framesets.
4511 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4513 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4515 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4516 Use lexical-binding.
4518 * frameset.el (frameset): Use type vector, not list (incompatible
4519 change). Do not declare a new constructor, use the default one.
4520 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4521 `name' and `description', respectively, and add read-only slot
4522 `timestamp'. Doc fixes.
4523 (frameset-copy, frameset-persistent-filter-alist)
4524 (frameset-filter-alist, frameset-switch-to-gui-p)
4525 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4526 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4527 (frameset-filter-iconified, frameset-keep-original-display-p):
4529 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4530 Rename from frameset-filter-(save|restore)-param. All callers changed.
4532 (frameset-p): Adapt to change to vector and be more thorough.
4533 Change arg name to OBJECT. Doc fix.
4534 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4535 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4536 All callers changed.
4537 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4538 All callers changed.
4539 (frameset--record-minibuffer-relationships): Rename from
4540 frameset--process-minibuffer-frames. All callers changed.
4541 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4542 Use new default constructor (again). Doc fix.
4543 (frameset--find-frame-if): Rename from `frameset--find-frame.
4544 All callers changed.
4545 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4546 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4548 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4549 PARAMETERS and WINDOW-STATE, respectively.
4550 (frameset-restore): Add new keyword argument PREDICATE.
4551 Reset frameset--target-display to nil. Doc fix.
4553 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4557 (bat-mode-syntax-table): Mark \n as end-of-comment.
4558 (bat-font-lock-keywords): Remove comment rule.
4560 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4561 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4563 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4564 (byte-compile-callargs-warn): Use `push'.
4565 (byte-compile-arglist-warn): Ignore higher-order "calls".
4566 (byte-compile-file-form-autoload): Use `pcase'.
4567 (byte-compile-function-form): If quoting a symbol, check that it exists.
4569 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4571 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4572 and add a few popular commands found in batch files.
4573 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4574 (dos-mode): Doc fixes.
4576 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4579 (dos-mode): Use setq-local. Add space after "rem".
4580 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4581 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4583 2013-08-07 Arni Magnusson <arnima@hafro.is>
4585 * progmodes/dos.el: New file.
4586 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4589 2013-08-06 Glenn Morris <rgm@gnu.org>
4591 * calendar/calendar.el: Add new faces, and day-header-array.
4592 (calendar-weekday-header, calendar-weekend-header)
4593 (calendar-month-header): New faces.
4594 (calendar-day-header-construct): New function.
4595 (calendar-day-header-width): Also :set calendar-day-header-array.
4596 (calendar-american-month-header, calendar-european-month-header)
4597 (calendar-iso-month-header): Use calendar- faces.
4598 (calendar-generate-month):
4599 Use calendar-day-header-array for day headers; apply faces to them.
4600 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4601 (calendar-abbrev-construct): Add optional maxlen argument.
4602 (calendar-day-name-array): Doc fix.
4603 (calendar-day-name-array, calendar-abbrev-length)
4604 (calendar-day-abbrev-array):
4605 Also :set calendar-day-header-array, and maybe redraw.
4606 (calendar-day-header-array): New option. (Bug#15007)
4607 (calendar-font-lock-keywords): Set to nil and make obsolete.
4608 (calendar-day-name): Add option to use header array.
4610 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4612 * net/shr.el (shr-render-td): Remove debugging.
4613 (shr-render-td): Make width computation consistent by defaulting
4614 all zero-width columns to 10 characters. This may not be optimal,
4615 but it's at least consistent.
4616 (shr-make-table-1): Redo last change to fix the real problem in
4619 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4621 * files.el (cache-long-line-scans):
4622 Make obsolete alias to `cache-long-scans'.
4624 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4626 * frameset.el (frameset, frameset-filter-alist)
4627 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4628 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4629 (frameset-compute-pos): Rename from frameset--compute-pos,
4631 (frameset-move-onscreen): Use frameset-compute-pos.
4632 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4634 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4635 Fix typos in docstrings.
4637 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4639 * frame.el (get-other-frame): Tiny cleanup.
4641 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4643 * vc/vc.el (vc-default-ignore-completion-table):
4644 Silence byte-compiler warning.
4646 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4647 slot , which can indeed be nil.
4648 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4649 Move entry for `left' from persistent to live filter alist.
4650 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4652 (frameset-filter-params): When restoring a frame, copy items added to
4653 `filtered', to avoid unwittingly modifying the original parameters.
4654 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4655 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4657 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4658 to use looking-at-p instead of looking-at. (Bug#15028)
4660 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4662 Revert introduction of isearch-filter-predicates (bug#14714).
4663 Rely on add-function instead.
4664 * isearch.el (isearch-filter-predicates): Rename it back to
4665 isearch-filter-predicate.
4666 (isearch-message-prefix): Use advice-function-mapc and advice
4667 properties to get the isearch-message-prefix.
4668 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4669 instead of run-hook-with-args-until-failure.
4670 (isearch-filter-visible): Not obsolete any more.
4671 * loadup.el: Preload nadvice.
4672 * replace.el (perform-replace): Revert to funcall
4673 instead of run-hook-with-args-until-failure.
4674 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4675 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4676 dired-isearch-filenames-toggle; make it into a proper minor mode.
4677 Use add/remove-function.
4678 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4679 Call the minor-mode rather than add/remove-hook.
4680 (dired-isearch-filter-filenames):
4681 Remove isearch-message-prefix property.
4682 * info.el (Info--search-loop): New function, extracted from Info-search.
4683 Funcall isearch-filter-predicate instead of
4684 run-hook-with-args-until-failure isearch-filter-predicates.
4685 (Info-search): Use it.
4686 (Info-mode): Use isearch-filter-predicate instead of
4687 isearch-filter-predicates.
4689 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4691 Do not call to `selected-window' where it is assumed by default.
4692 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4693 `window-hscroll', `window-width', `window-height', `window-buffer',
4694 `window-frame', `window-start', `window-point', `next-window'
4695 and `window-display-table'.
4696 * abbrev.el (abbrev--default-expand):
4697 * bs.el (bs--show-with-configuration):
4698 * buff-menu.el (Buffer-menu-mouse-select):
4699 * calc/calc.el (calc):
4700 * calendar/calendar.el (calendar-generate-window):
4701 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4703 * comint.el (send-invisible, comint-dynamic-complete-filename)
4704 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4705 * completion.el (complete):
4706 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4707 * disp-table.el (describe-current-display-table):
4708 * doc-view.el (doc-view-insert-image):
4709 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4710 * ehelp.el (with-electric-help):
4711 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4712 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4713 * emacs-lisp/helper.el (Helper-help-scroller):
4714 * emulation/cua-base.el (cua--post-command-handler-1):
4715 * eshell/esh-mode.el (eshell-output-filter):
4716 * ffap.el (ffap-gnus-wrapper):
4717 * help-macro.el (make-help-screen):
4718 * hilit-chg.el (highlight-compare-buffers):
4719 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4720 * hl-line.el (global-hl-line-highlight):
4721 * icomplete.el (icomplete-simple-completing-p):
4722 * isearch.el (isearch-done):
4723 * jit-lock.el (jit-lock-stealth-fontify):
4724 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4725 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4726 * mpc.el (mpc-tagbrowser, mpc):
4727 * net/rcirc.el (rcirc-any-buffer):
4728 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4729 * play/landmark.el (landmark-max-width, landmark-max-height):
4730 * play/zone.el (zone):
4731 * progmodes/compile.el (compilation-goto-locus):
4732 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4733 * progmodes/etags.el (find-tag-other-window):
4734 * progmodes/fortran.el (fortran-column-ruler):
4735 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4736 * progmodes/verilog-mode.el (verilog-point-text):
4737 * reposition.el (reposition-window):
4738 * rot13.el (toggle-rot13-mode):
4739 * server.el (server-switch-buffer):
4740 * shell.el (shell-dynamic-complete-command)
4741 (shell-dynamic-complete-environment-variable):
4742 * simple.el (insert-buffer, set-selective-display)
4743 (delete-completion-window):
4744 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4745 (speedbar-recenter):
4746 * startup.el (fancy-splash-head):
4747 * textmodes/ispell.el (ispell-command-loop):
4748 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4749 * tutorial.el (help-with-tutorial):
4750 * vc/add-log.el (add-change-log-entry):
4751 * vc/compare-w.el (compare-windows):
4752 * vc/ediff-help.el (ediff-indent-help-message):
4753 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4754 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4755 (ediff-setup-control-frame):
4756 * vc/emerge.el (emerge-position-region):
4757 * vc/pcvs-util.el (cvs-bury-buffer):
4758 * window.el (walk-windows, mouse-autoselect-window-select):
4759 * winner.el (winner-set-conf, winner-undo): Related users changed.
4761 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4763 * frameset.el (frameset--set-id): Doc fix.
4764 (frameset-frame-id, frameset-frame-id-equal-p)
4765 (frameset-locate-frame-id): New functions.
4766 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4767 (frameset-restore): Use them.
4769 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4771 Do not call to `selected-frame' where it is assumed by default.
4772 Affected functions are `raise-frame', `redraw-frame',
4773 `frame-first-window', `frame-terminal' and `delete-frame'.
4774 * calendar/appt.el (appt-disp-window):
4775 * epg.el (epg-wait-for-completion):
4776 * follow.el (follow-delete-other-windows-and-split)
4777 (follow-avoid-tail-recenter):
4778 * international/mule.el (set-terminal-coding-system):
4779 * mail/rmail.el (rmail-mail-return):
4780 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4781 * progmodes/f90.el (f90-add-imenu-menu):
4782 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4783 * server.el (server-switch-buffer):
4784 * simple.el (delete-completion-window):
4786 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4787 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4788 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4789 * vc/ediff.el (ediff-documentation): Related users changed.
4790 * frame.el (selected-terminal): Remove the leftover.
4792 2013-08-05 Glenn Morris <rgm@gnu.org>
4794 * calendar/calendar.el (calendar-generate-month):
4795 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4796 (calendar-generate-month, calendar-font-lock-keywords):
4797 Fix for calendar-day-header-width > length of any day name.
4799 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4801 * desktop.el (desktop-clear): Use new name of sort predicate.
4803 * frameset.el (frameset): Add docstring. Move :version property to its
4805 (frameset-copy): Rename from copy-frameset.
4806 (frameset-p): Check more thoroughly.
4807 (frameset-prop): Do not check for :version, which is no longer a prop.
4808 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4809 Use new :never value instead of t.
4810 (frameset-filter-alist): Expand and clarify docstring.
4811 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4812 (frameset-filter-minibuffer, frameset-filter-save-param)
4813 (frameset-filter-restore-param, frameset-filter-iconified):
4814 Add pointer to docstring of frameset-filter-alist.
4815 (frameset-filter-params): Rename filter values to be more meaningful:
4816 :never instead of t, and reverse the meanings of :save and :restore.
4817 (frameset--process-minibuffer-frames): Clarify error message.
4818 (frameset-save): Avoid unnecessary and confusing call to framep.
4819 Use new BOA constructor for framesets.
4820 (frameset--reuse-list): Doc fix.
4821 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4822 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4823 (frameset-minibufferless-first-p): Doc fix.
4824 Rename from frameset-sort-frames-for-deletion.
4825 (frameset-restore): Doc fixes. Use new function names.
4826 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4828 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4830 * desktop.el (desktop-restore-forces-onscreen)
4831 (desktop-restore-reuses-frames): Document :keyword constant values.
4832 (desktop-filter-parameters-alist): Remove, now identical to
4833 frameset-filter-alist.
4834 (desktop--filter-tty*): Remove, moved to frameset.el.
4835 (desktop-save-frameset, desktop-restore-frameset):
4836 Do not pass :filters argument.
4838 * frameset.el (frameset-live-filter-alist)
4839 (frameset-persistent-filter-alist): New variables.
4840 (frameset-filter-alist): Use them. Add autoload cookie.
4841 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4842 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4843 `frameset--id' (it's supposed to be internal to frameset.el).
4844 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4845 (frameset--initial-params): New function.
4846 (frameset--get-frame): Use it. Doc fix.
4847 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4848 Accept :all, not 'all.
4849 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4850 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4851 with fbound symbols. Fix frame id matching, and remove matching ids if
4852 the frame being restored is deleted. Obey :delete.
4854 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4856 * subr.el (macrop): New function.
4857 (text-clone--maintaining): New var.
4858 (text-clone--maintain): Rename from text-clone-maintain. Use it
4859 instead of inhibit-modification-hooks.
4861 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4862 a proxy, so as handle autoloads and redefinitions of the target.
4863 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4865 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4866 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4867 (pcase--mutually-exclusive-p): New function.
4868 (pcase--split-consp): Use it.
4869 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4870 mutually exclusive with the current predicate.
4872 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4873 (edebug-macrop): Remove. Use `macrop' instead.
4874 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4876 * eshell/esh-cmd.el (eshell-macrop):
4877 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4879 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4881 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4882 (advice-mapc): New function, using it.
4883 (advice-function-member-p): New function.
4884 (advice--normalize): Store the cdr in advice--saved-rewrite since
4885 that's the part that will be changed.
4886 (advice--symbol-function): New function.
4887 (advice-remove): Handle removal before the function is defined.
4888 Adjust to new advice--saved-rewrite.
4889 (advice-member-p): Use advice-function-member-p and
4890 advice--symbol-function.
4892 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4894 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4895 (frameset-filter-minibuffer): Doc fix.
4896 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4897 (frameset--set-id, frameset--process-minibuffer-frames)
4898 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4899 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4901 * desktop.el (desktop-clear): Only delete frames when called
4902 interactively and desktop-restore-frames is non-nil. Doc fix.
4903 (desktop-read): Set desktop-saved-frameset to nil.
4905 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4907 * vc/vc.el (vc-ignore): Rewrite.
4908 (vc-default-ignore-completion-table):
4910 (vc--add-line, vc--remove-regexp): New functions.
4912 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4913 (vc-svn-ignore-completion-table): New function.
4915 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4916 (vc-hg-ignore-completion-table):
4917 (vc-hg-find-ignore-file): New functions.
4919 * vc/vc-git.el (vc-git-ignore): Rewrite.
4920 (vc-git-ignore-completion-table):
4921 (vc-git-find-ignore-file): New functions.
4923 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4925 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4926 (vc-bzr-ignore-completion-table):
4927 (vc-bzr-find-ignore-file): New functions.
4929 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4931 * frameset.el (frameset-prop): New function and setter.
4932 (frameset-save): Do not modify frame list passed by the caller.
4934 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4936 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4938 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4940 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4941 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4943 * custom.el (custom-initialize-default, custom-initialize-set)
4944 (custom-initialize-reset, custom-initialize-changed): Affect the
4945 toplevel-default-value (bug#6275, bug#14586).
4946 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4949 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4951 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4952 Add cl-def* expressions.
4954 * frameset.el (frameset-filter-params): Fix order of arguments.
4956 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4958 Move code related to saving frames to frameset.el.
4959 * desktop.el: Require frameset.
4960 (desktop-restore-frames): Doc fix.
4961 (desktop-restore-reuses-frames): Rename from
4962 desktop-restoring-reuses-frames.
4963 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4964 (desktop-clear): Clear frames too.
4965 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4966 (desktop--filter-tty*, desktop-save, desktop-read):
4967 Use frameset functions.
4968 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4969 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4970 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4971 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4972 (desktop--process-minibuffer-frames, desktop-save-frames)
4973 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4974 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4975 (desktop--sort-states, desktop-restoring-frames-p)
4976 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4977 (desktop-restoring-frameset-p, desktop-restore-frameset)
4978 (desktop--check-dont-save, desktop-save-frameset): New functions.
4979 (desktop--app-id): New constant.
4980 (desktop-first-buffer, desktop-buffer-ok-count)
4981 (desktop-buffer-fail-count): Move before first use.
4982 * frameset.el: New file.
4984 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * files.el: Use lexical-binding.
4987 (dir-locals-read-from-file): Remove unused `err' variable.
4988 (hack-dir-local-variables--warned-coding): New var.
4989 (hack-dir-local-variables): Use it to avoid repeated warnings.
4990 (make-backup-file-name--default-function): New function.
4991 (make-backup-file-name-function): Use it as default.
4992 (buffer-stale--default-function): New function.
4993 (buffer-stale-function): Use it as default.
4994 (revert-buffer-insert-file-contents--default-function): New function.
4995 (revert-buffer-insert-file-contents-function): Use it as default.
4996 (insert-directory): Avoid add-to-list.
4998 * autorevert.el (auto-revert-handler): Simplify.
4999 Use buffer-stale--default-function.
5001 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5003 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5005 * whitespace.el (whitespace-ensure-local-variables): New function.
5006 (whitespace-cleanup-region): Call it.
5007 (whitespace-turn-on): Call it.
5009 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5011 Complete file name handlers.
5013 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5014 (tramp-handle-verify-visited-file-modtime)
5015 (tramp-handle-file-notify-rm-watch): New functions.
5016 (tramp-call-process): Do not bind `default-directory'.
5018 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5019 Order alphabetically.
5020 [access-file, add-name-to-file, dired-call-process]:
5021 [dired-compress-file, file-acl, file-notify-rm-watch]:
5022 [file-ownership-preserved-p, file-selinux-context]:
5023 [make-directory-internal, make-symbolic-link, set-file-acl]:
5024 [set-file-selinux-context, set-visited-file-modtime]:
5025 [verify-visited-file-modtime]: Add handler.
5026 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5028 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5029 [file-notify-add-watch, file-notify-rm-watch]:
5030 [set-file-times, set-visited-file-modtime]:
5031 [verify-visited-file-modtime]: Add handler.
5032 (with-tramp-gvfs-error-message)
5033 (tramp-gvfs-handle-set-visited-file-modtime)
5034 (tramp-gvfs-fuse-file-name): Remove.
5035 (tramp-gvfs-handle-file-notify-add-watch)
5036 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5037 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5040 Order alphabetically.
5041 [file-notify-rm-watch ]: Use default Tramp handler.
5042 [executable-find]: Remove private handler.
5043 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5044 `default-directory'.
5045 (tramp-sh-handle-executable-find)
5046 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5047 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5048 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5049 Do not use `format' in `tramp-message'.
5051 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5052 [file-notify-rm-watch, set-visited-file-modtime]:
5053 [verify-visited-file-modtime]: Add handler.
5054 (tramp-smb-call-winexe): Do not bind `default-directory'.
5056 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5058 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5060 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5062 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5064 (log-view-diff-changeset): Same.
5065 (log-view-diff-common): Call backend command `previous-revision'
5066 to find out the previous revision, in both cases. Swap the
5067 variables `to' and `fr', so that `fr' usually refers to the
5068 earlier revision (Bug#14989).
5070 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5072 * ibuf-ext.el (ibuffer-filter-by-filename):
5073 Make it work with dired buffers too.
5075 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5077 * emacs-lisp/re-builder.el (reb-color-display-p):
5078 * files.el (save-buffers-kill-terminal):
5079 * net/browse-url.el (browse-url):
5080 * server.el (server-save-buffers-kill-terminal):
5081 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5082 Prefer nil to selected-frame for the first arg of frame-parameter.
5084 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5086 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5088 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5090 * minibuffer.el (completion--twq-all): Try and preserve each
5091 completion's case choice (bug#14907).
5093 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095 * net/network-stream.el (open-network-stream): Mention the new
5096 :nogreeting parameter.
5097 (network-stream-open-starttls): Use the :nogreeting parameter
5100 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5102 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5103 more natural than popping.
5105 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5106 (shr-urlify): Highlight under mouse.
5108 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5110 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5112 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5114 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5117 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5118 point-min==1. Fix search string. Fix parentheses missing.
5120 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5121 assume point-min==1. Fix search string. Fix parentheses missing.
5123 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5125 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5128 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5130 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5131 initial frame is minibuffer-less. (Bug#14841)
5133 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5135 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5138 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5139 (tramp-maybe-open-connection): Use it.
5141 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5143 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5144 minimal set of parameters passed when creating a frame, because
5145 the minibuffer status of a frame cannot be changed later.
5147 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5149 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5150 replace-regexp-in-string and inadvertent omissions in previous change.
5151 (todo-filter-items): Ensure only file names are comma-separated in
5152 name of filtered items buffer.
5154 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5156 * desktop.el: Optionally force offscreen frames back onscreen.
5157 (desktop-restoring-reuses-frames): New option.
5158 (desktop--compute-pos, desktop--move-onscreen): New functions.
5159 (desktop--make-frame): Use desktop--move-onscreen.
5161 2013-07-27 Alan Mackenzie <acm@muc.de>
5163 Fontify a Java generic method as a function.
5164 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5167 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5169 * calendar/todo-mode.el: Add command to rename todo files.
5170 (todo-rename-file): New command.
5171 (todo-key-bindings-t): Add key binding for it. Change the
5172 bindings of todo-filter-regexp-items(-multifile) to use `x'
5173 instead of `r', since the latter is better suited to the new
5176 2013-07-27 Alan Mackenzie <acm@muc.de>
5178 Make Java try-with-resources statement parse properly.
5179 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5180 (c-block-stmt-1-2-key): New language constants/variables.
5181 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5182 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5183 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5184 with c-block-stmt-1-2-key.
5186 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5188 * desktop.el (desktop--make-frame): Apply most frame parameters after
5189 creating the frame to force (partially or totally) offscreen frames to
5190 be restored as such.
5192 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5194 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5197 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5199 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5200 `base' arg of backtrace-frame.
5202 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5204 * simple.el (list-processes): Doc fix.
5206 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5208 * desktop.el (desktop--select-frame):
5209 Try harder to reuse existing frames.
5211 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5213 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5214 (edebug-eval): Use backtrace-eval.
5215 (edebug--display, edebug--recursive-edit): Don't let-bind the
5216 edebug-outer-* vars that keep track of variables we locally let-bind.
5217 (edebug-outside-excursion): Don't restore outside values of locally
5219 (edebug--display): Use user-error.
5220 (cl-lexical-debug, cl-debug-env): Remove.
5222 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5224 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5225 are restored to be sure that they are visible before deleting any
5228 2013-07-26 Matthias Meulien <orontee@gmail.com>
5230 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5231 vc-print-root-log. (Bug#14948)
5233 2013-07-26 Richard Stallman <rms@gnu.org>
5235 Add aliases for encrypting mail.
5236 * epa.el (epa-mail-aliases): New option.
5237 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5238 Bind inhibit-read-only so read-only text doesn't ruin everything.
5239 (epa-mail-default-recipients): New subroutine broken out.
5240 Handle epa-mail-aliases.
5242 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5244 Add support for lexical variables to the debugger's `e' command.
5245 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5246 vars, except for debugger-outer-match-data.
5247 (debugger-frame-number): Move check for "on a function call" from
5248 callers into it. Add `skip-base' argument.
5249 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5250 (debugger-env-macro): Only reset the state stored in non-variables,
5251 i.e. current-buffer and match-data.
5252 (debugger-eval-expression): Rewrite using backtrace-eval.
5253 * subr.el (internal--called-interactively-p--get-frame): Remove.
5254 (called-interactively-p):
5255 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5256 `base' arg of backtrace-frame instead.
5258 2013-07-26 Glenn Morris <rgm@gnu.org>
5260 * align.el (align-regexp): Doc fix. (Bug#14857)
5261 (align-region): Explicit error if subexpression missing/does not match.
5263 * simple.el (global-visual-line-mode):
5264 Do not duplicate the mode lighter. (Bug#14858)
5266 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5268 * window.el (display-buffer): In display-buffer bind
5269 split-window-keep-point to t, bug#14829.
5271 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5273 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5274 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5275 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5276 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5278 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5279 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5281 2013-07-25 Glenn Morris <rgm@gnu.org>
5283 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5285 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5287 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5288 parameter to modify-frame-parameters if the value has not changed;
5289 this is a workaround for bug#14949.
5290 (desktop--make-frame): On cl-delete-if call, check parameter name,
5293 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5295 * vc/vc.el (vc-ignore): New function.
5297 * vc/vc-svn.el (vc-svn-ignore): New function.
5299 * vc/vc-hg.el (vc-hg-ignore): New function.
5301 * vc/vc-git.el (vc-git-ignore): New function.
5303 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5304 (vc-dir-ignore): New function.
5306 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5307 (cvs-append-to-ignore): Move here from pcvs.el.
5309 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5311 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5313 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5315 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5316 (desktop-restore-frames): Warn when deleting an existing frame failed.
5318 2013-07-24 Glenn Morris <rgm@gnu.org>
5320 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5322 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5324 * filenotify.el (file-notify-supported-p):
5325 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5328 * autorevert.el (auto-revert-use-notify):
5329 (auto-revert-notify-add-watch):
5330 * net/tramp.el (tramp-file-name-for-operation):
5331 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5332 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5333 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5334 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5335 Remove `file-notify-supported-p' entry.
5337 2013-07-24 Glenn Morris <rgm@gnu.org>
5339 * printing.el: Replace all uses of deleted ps-windows-system,
5340 ps-lp-system, ps-flatten-list with lpr- versions.
5342 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5344 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5345 checked with memq (bug#14935).
5347 * files.el (revert-buffer-function): Use a non-nil default.
5348 (revert-buffer-preserve-modes): Declare var to
5349 provide access to the `preserve-modes' argument.
5350 (revert-buffer): Let-bind it.
5351 (revert-buffer--default): New function, extracted from revert-buffer.
5353 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5355 * lpr.el: Signal print errors more prominently.
5356 (print-region-function): Don't default to nil.
5357 (lpr-print-region): New function, extracted from print-region-1.
5358 Check lpr's return value and signal an error in case of problem.
5359 (print-region-1): Use it.
5360 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5362 (ps-printer-name): Default to nil.
5363 (ps-printer-name-option): Default to lpr-printer-switch.
5364 (ps-print-region-function): Don't default to nil.
5365 (ps-postscript-code-directory): Simplify default.
5366 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5367 (ps-string-list, ps-eval-switch, ps-flatten-list)
5368 (ps-flatten-list-1): Remove.
5369 (ps-multibyte-buffer): Avoid setq.
5370 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5371 (print-region-function, ps-print-region-function): Don't set them here.
5373 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5375 * ido.el (ido-fractionp):
5376 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5377 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5378 (ido-max-directory-size, ido-max-dir-file-cache)
5379 (ido-decorations): Doc fix.
5381 * ansi-color.el: Fix old URL.
5383 2013-07-23 Michael R. Mauger <michael@mauger.com>
5385 * progmodes/sql.el: Version 3.3
5386 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5387 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5388 (sql-interactive-remove-continuation-prompt): Rewrite, use
5389 functions above. Fix continuation prompt and complete output line
5391 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5392 redirected output buffer.
5393 (sql-mode): Restore deleted code (Bug#13591).
5395 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5397 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5399 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5401 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5403 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5404 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5405 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5407 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5409 * desktop.el (desktop-clear): Simplify; remove useless checks
5410 against invalid buffer names.
5411 (desktop-list*): Use cl-list*.
5412 (desktop-buffer-info, desktop-create-buffer): Simplify.
5414 2013-07-23 Leo Liu <sdl.web@gmail.com>
5416 * bookmark.el (bookmark-make-record): Restore NAME as a default
5419 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5421 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5422 extracted from autoload--insert-text.
5423 (autoload--insert-text): Remove.
5424 (autoload--print-cookie-text): New function, extracted from
5425 autoload--insert-cookie-text.
5426 (autoload--insert-cookie-text): Remove.
5427 (autoload-generate-file-autoloads): Adjust calls accordingly.
5429 * winner.el (winner-hook-installed-p): Remove.
5430 (winner-mode): Simplify accordingly.
5432 * subr.el (add-to-list): Fix compiler-macro when `append' is
5433 not constant. Don't use `cl-member' for the base case.
5435 * progmodes/subword.el: Fix boundary case (bug#13758).
5436 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5438 (subword-backward-regexp): Make it a constant.
5439 (subword-forward-internal): Don't treat a trailing capital as the
5440 beginning of a word.
5442 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5444 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5445 global value of tabulated-list-revert-hook (bug#14930).
5447 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5449 * desktop.el: Require 'cl-lib.
5450 (desktop-before-saving-frames-functions): New hook.
5451 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5452 for frames being saved. Rename from desktop--save-minibuffer-frames.
5453 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5454 Do not save frames with non-nil `desktop-dont-save' parameter.
5455 Filter out deleted frames.
5456 (desktop--find-frame): Use cl-find-if.
5457 (desktop--select-frame): Use cl-(first|second|third) to access values
5459 (desktop--make-frame): Use cl-delete-if.
5460 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5461 (desktop-restore-frames): Use cl-(first|second|third) to access values
5462 of desktop-mini. Look for visible frame at the end, not while
5465 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5466 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5467 Use string-match-p, looking-at-p (bug#14927).
5469 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5471 * desktop.el (desktop-saved-frame-states):
5472 Rename from desktop--saved-states; all users changed.
5473 (desktop-save-frames): Rename from desktop--save-frames.
5474 Do not save state to desktop file.
5475 (desktop-save): Save desktop-saved-frame-states to desktop file
5477 (desktop-restoring-frames-p): New function.
5478 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5479 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5480 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5482 * desktop.el: Correctly restore iconified frames.
5483 (desktop--filter-iconified-position): New function.
5484 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5486 2013-07-20 Glenn Morris <rgm@gnu.org>
5488 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5489 Let `message' do the formatting.
5490 (def-gdb-preempt-display-buffer): Add explicit format.
5492 * image-dired.el (image-dired-track-original-file):
5493 Use with-current-buffer.
5494 (image-dired-track-thumbnail): Use with-current-buffer.
5495 Avoid changing point of wrong window.
5497 * image-dired.el (image-dired-track-original-file):
5498 Avoid changing point of wrong window. (Bug#14909)
5500 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5502 * progmodes/gdb-mi.el (gdb-done-or-error):
5503 Guard against "%" in gdb output. (Bug#14127)
5505 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5507 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5510 * international/mule.el (coding-system-iso-2022-flags): Fix last
5513 2013-07-20 Kenichi Handa <handa@gnu.org>
5515 * international/mule.el (coding-system-iso-2022-flags):
5516 Add `8-bit-level-4'. (Bug#8522)
5518 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5520 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5523 * net/eww.el (eww-process-text-input): Allow inputting when the
5524 point is at the start of the line, as the properties aren't
5527 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5530 2013-07-19 Richard Stallman <rms@gnu.org>
5532 * epa.el (epa-popup-info-window): Doc fix.
5534 * subr.el (split-string): New arg TRIM.
5536 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5538 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5539 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5541 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5543 * filenotify.el (file-notify--library): Rename from
5544 `file-notify-support'. Do not autoload. Adapt all uses.
5545 (file-notify-supported-p): New defun.
5547 * autorevert.el (auto-revert-use-notify):
5548 Use `file-notify-supported-p' instead of `file-notify-support'.
5550 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5552 * net/tramp.el (tramp-file-name-for-operation):
5553 Add `file-notify-supported-p'.
5555 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5557 (tramp-sh-file-name-handler-alist): Add it as handler for
5558 `file-notify-supported-p '.
5560 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5561 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5562 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5563 Add `ignore' as handler for `file-notify-*' functions.
5565 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5567 * simple.el (line-move-partial, line-move): Don't start vscroll or
5568 scroll-up if the current line is not taller than the window.
5571 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5573 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5574 highlight question marks in the method names as strings.
5575 (ruby-block-beg-keywords): Inline.
5576 (ruby-font-lock-keyword-beg-re): Extract from
5577 `ruby-font-lock-keywords'.
5579 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5581 * frame.el (blink-cursor-blinks): New defcustom.
5582 (blink-cursor-blinks-done): New defvar.
5583 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5584 (blink-cursor-timer-function): Check if number of blinks has been
5586 (blink-cursor-suspend, blink-cursor-check): New defuns.
5588 2013-07-15 Glenn Morris <rgm@gnu.org>
5590 * edmacro.el (edmacro-format-keys): Fix previous change.
5592 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5594 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5595 The hack didn't work outside English locales anyway.
5597 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5599 * simple.el (define-alternatives): Rename from alternatives-define,
5600 per RMS' suggestion.
5602 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5604 * desktop.el (desktop-restore-frames): Change default to t.
5605 (desktop-restore-in-current-display): Now offer more options.
5606 (desktop-restoring-reuses-frames): New customization option.
5607 (desktop--saved-states): Doc fix.
5608 (desktop-filter-parameters-alist): New variable, renamed and expanded
5609 from desktop--excluded-frame-parameters.
5610 (desktop--target-display): New variable.
5611 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5612 (desktop--filter-tty*, desktop--filter-*-color)
5613 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5614 (desktop--filter-save-desktop-parm)
5615 (desktop-restore-in-original-display-p): New functions.
5616 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5617 (desktop--save-minibuffer-frames): New function, inspired by a similar
5618 function from Martin Rudalics.
5619 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5620 (desktop--restore-in-this-display-p): Remove.
5621 (desktop--find-frame): Rename from desktop--find-frame-in-display
5622 and add predicate argument.
5623 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5624 (desktop--reuse-list): New variable.
5625 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5627 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5629 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5631 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5633 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5635 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5636 Highlight conversion methods on Kernel.
5638 2013-07-13 Alan Mackenzie <acm@muc.de>
5640 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5641 and comment it out. This out-commenting enables certain C++
5642 declarations to be parsed correctly.
5644 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5646 * international/mule.el (define-coding-system): Doc fix.
5648 * simple.el (default-font-height): Don't call font-info if the
5649 frame's default font didn't change since the frame was created.
5652 2013-07-13 Leo Liu <sdl.web@gmail.com>
5654 * ido.el (ido-read-file-name): Guard against non-symbol value.
5656 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5658 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5661 2013-07-13 Leo Liu <sdl.web@gmail.com>
5663 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5664 ido-set-matches call. (Bug#6852)
5666 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5668 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5669 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5671 (ruby-font-lock-keywords): Distinguish calls to functions with
5672 module-like names from module references. Highlight character
5675 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5677 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5678 (gdb-send): Handle continued commands. (Bug#14847)
5680 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5682 * desktop.el (desktop--v2s): Remove unused local variable.
5683 (desktop-save-buffer): Make defvar-local; adjust docstring.
5684 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5685 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5687 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5689 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5691 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5693 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5696 2013-07-12 Glenn Morris <rgm@gnu.org>
5698 * doc-view.el: Require cl-lib at runtime too.
5699 (doc-view-remove-if): Remove.
5700 (doc-view-search-next-match, doc-view-search-previous-match):
5703 * edmacro.el: Require cl-lib at runtime too.
5704 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5705 (edmacro-mismatch, edmacro-subseq): Remove.
5707 * shadowfile.el: Require cl-lib.
5708 (shadow-remove-if): Remove.
5709 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5712 * wid-edit.el: Require cl-lib.
5713 (widget-choose): Use cl-remove-if.
5714 (widget-remove-if): Remove.
5716 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5717 (ebrowse-delete-if-not): Remove.
5718 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5719 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5720 Use cl-delete-if-not.
5722 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5724 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5725 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5727 2013-07-12 Leo Liu <sdl.web@gmail.com>
5729 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5731 2013-07-11 Glenn Morris <rgm@gnu.org>
5733 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5734 (edebug-gensym-index, edebug-gensym):
5735 Remove reimplementation of cl-gensym.
5736 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5738 * thumbs.el: Require cl-lib at run-time too.
5739 (thumbs-gensym-counter, thumbs-gensym):
5740 Remove reimplementation of cl-gensym.
5741 (thumbs-temp-file): Use cl-gensym.
5743 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5744 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5745 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5746 (ert--union, ert--gensym-counter, ert--gensym-counter)
5747 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5748 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5749 (ert-make-test-unbound, ert--expand-should-1)
5750 (ert--expand-should, ert--should-error-handle-error)
5751 (should-error, ert--explain-equal-rec)
5752 (ert--plist-difference-explanation, ert-select-tests)
5753 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5754 Use cl-lib functions rather than reimplementations.
5756 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5758 * net/tramp.el (tramp-methods): Extend docstring.
5759 (tramp-connection-timeout): New defcustom.
5760 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5761 (with-tramp-progress-reporter): Simplify.
5762 (tramp-process-actions): Improve messages.
5764 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5765 * net/tramp-sh.el (tramp-maybe-open-connection):
5766 Use `tramp-connection-timeout'.
5767 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5770 2013-07-11 Leo Liu <sdl.web@gmail.com>
5772 * ido.el (ido-read-file-name): Conform to the requirements of
5773 read-file-name. (Bug#11861)
5774 (ido-read-directory-name): Conform to the requirements of
5775 read-directory-name.
5777 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5779 * subr.el (delay-warning): New function.
5781 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5783 * simple.el (default-line-height): New function.
5784 (line-move-partial, line-move): Use it instead of computing the
5786 (line-move-partial): Always compute ROWH. If the last line is
5787 partially-visible, but its text is completely visible, allow
5788 cursor to enter such a partially-visible line.
5790 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5792 Improve error messages. (Bug#14808)
5794 * net/tramp.el (tramp-current-connection): New defvar, moved from
5796 (tramp-message-show-progress-reporter-message): Remove, not
5798 (tramp-error-with-buffer): Show message in minibuffer.
5799 Discard input before waiting. Reset connection timestamp.
5800 (with-tramp-progress-reporter): Improve messages.
5801 (tramp-process-actions): Use progress reporter. Delete process in
5802 case of error. Improve messages.
5804 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5805 Call `tramp-error-with-buffer' with vector and buffer.
5806 (tramp-current-connection): Remove.
5807 (tramp-maybe-open-connection): The car of
5808 `tramp-current-connection' are the first 3 slots of the vector.
5810 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5812 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5813 inside continued strings.
5815 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5817 Timestamp fixes for undo (Bug#14824).
5818 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5820 2013-07-10 Leo Liu <sdl.web@gmail.com>
5822 * files.el (require-final-newline): Allow safe local value.
5825 2013-07-09 Leo Liu <sdl.web@gmail.com>
5827 * ido.el (ido-read-directory-name): Handle fallback.
5828 (ido-read-file-name): Update DIR to ido-current-directory.
5830 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5832 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5834 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5835 "autoload". Remove "warn lower camel case" section, previously
5836 commented out. Highlight negation char. Do not highlight the
5837 target in singleton method definitions.
5839 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5841 * faces.el (tty-setup-hook): Declare the hook.
5843 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5844 and detect when a guard/pred depends on local vars (bug#14773).
5845 (pcase--u1): Adjust caller.
5847 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5849 * simple.el (line-move-partial, line-move): Account for
5851 (line-move-partial): Avoid setting vscroll when the last
5852 partially-visible line in window is of default height.
5854 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5859 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5861 * subr.el (read-quoted-char): Remove unused local variable `char'.
5863 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5865 * ediff.el (ediff-version): Version update.
5866 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5867 (ediff-merge-with-ancestor-command, ediff-directories-command)
5868 (ediff-directories3-command, ediff-merge-directories-command)
5869 (ediff-merge-directories-with-ancestor-command): New functions.
5870 All are command-line interfaces to ediff: to facilitate calling
5871 Emacs with the appropriate ediff functions invoked.
5873 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5874 (viper-save-kill-buffer): Check if buffer is modified.
5876 * viper.el (viper-version): Version update.
5877 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5879 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5882 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5883 (viper-intercept-ESC-key): Simplify.
5884 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5885 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5886 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5887 (viper-setup-ESC-to-escape): New functions.
5888 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5889 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5891 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5893 * simple.el (default-font-height, window-screen-lines):
5895 (line-move, line-move-partial): Use them instead of
5896 frame-char-height and window-text-height. This makes scrolling
5897 text smoother when the buffer's default face uses a font that is
5898 different from the frame's default font.
5900 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5902 * files.el (write-file): Do not display confirm dialog for NS,
5903 it does its own dialog, which can't be cancelled (Bug#14578).
5905 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5907 * simple.el (line-move-partial): Adjust the row returned by
5908 posn-at-point for the current window-vscroll. (Bug#14567)
5910 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5912 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5913 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5916 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5918 * window.el (window-state-put-stale-windows): New variable.
5919 (window--state-put-2): Save list of windows without matching buffer.
5920 (window-state-put): Remove "bufferless" windows if possible.
5922 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5924 * simple.el (alternatives-define): Remove leftover :group keyword.
5927 2013-07-06 Leo Liu <sdl.web@gmail.com>
5929 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5930 (ido-enable-virtual-buffers): New variable.
5931 (ido-buffer-internal, ido-toggle-virtual-buffers)
5932 (ido-make-buffer-list): Use it.
5933 (ido-exhibit): Support turning on and off virtual buffers
5936 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5938 * simple.el (alternatives-define): New macro.
5940 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5942 * subr.el (read-quoted-char): Use read-key.
5943 (sit-for): Let read-event decode tty input (bug#14782).
5945 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5947 * calendar/todo-mode.el: Add handling of file deletion, both by
5948 mode command and externally. Fix various related bugs.
5949 Clarify Commentary and improve some documentation strings and code.
5950 (todo-delete-file): New command.
5951 (todo-check-file): New function.
5952 (todo-show): Handle external deletion of the file we're trying to
5953 show (bug#14688). Replace called-interactively-p by an optional
5954 prefix argument to avoid problematic interaction with catch form
5955 when byte compiled (bug#14702).
5956 (todo-quit): Handle external deletion of the archive's todo file.
5957 Make sure the buffer that was visiting the archive file is still
5958 live before trying to bury it.
5959 (todo-category-completions): Handle external deletion of any
5960 category completion files.
5961 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5962 of todo files, in case of external deletion.
5963 (todo-add-file): Replace unnecessary setq by let-binding.
5964 (todo-find-archive): Check whether there are any archives.
5965 Replace unnecessary setq by let-binding.
5966 (todo-archive-done-item): Use find-file-noselect to get the
5967 archive buffer whether or not the archive already exists.
5968 Remove superfluous code. Use file size instead of buffer-file-name to
5969 check if the archive is new; if it is, update list of archives.
5970 (todo-default-todo-file): Allow nil to be a valid value for when
5971 there are no todo files.
5972 (todo-reevaluate-default-file-defcustom): Use corrected definition
5973 of todo-default-todo-file.
5974 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5975 (todo-delete-category, todo-show-categories-table)
5976 (todo-category-number): Clarify comment.
5977 (todo-filter-items): Clarify documentation string.
5978 (todo-show-current-file, todo-display-as-todo-file)
5979 (todo-reset-and-enable-done-separator): Tweak documentation string.
5980 (todo-done-separator): Make separator length window-width, since
5981 bug#2749 is now fixed.
5983 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5985 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5986 Support both "gvfs-monitor-dir" and "inotifywait".
5987 (tramp-sh-file-inotifywait-process-filter): Rename from
5988 `tramp-sh-file-notify-process-filter'.
5989 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5990 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5992 2013-07-05 Leo Liu <sdl.web@gmail.com>
5994 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5996 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5998 * frame.el (display-pixel-height, display-pixel-width)
5999 (display-mm-height, display-mm-width): Mention behavior on
6000 multi-monitor setups in docstrings.
6001 (w32-display-monitor-attributes-list): Declare function.
6002 (display-monitor-attributes-list): Use it.
6004 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6006 * filenotify.el: New package.
6008 * autorevert.el (top): Require filenotify.el.
6009 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6011 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6012 (auto-revert-notify-handler): Use `file-notify-*' functions.
6014 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6016 * net/tramp.el (tramp-file-name-for-operation):
6017 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6019 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6020 for `file-notify-add-watch' and `file-notify-rm-watch'.
6021 (tramp-process-sentinel): Improve trace.
6022 (tramp-sh-handle-file-notify-add-watch)
6023 (tramp-sh-file-notify-process-filter)
6024 (tramp-sh-handle-file-notify-rm-watch)
6025 (tramp-get-remote-inotifywait): New defuns.
6027 2013-07-03 Juri Linkov <juri@jurta.org>
6029 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6030 call of `occur-read-primary-args' to interactive spec.
6032 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6033 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6035 2013-07-03 Matthias Meulien <orontee@gmail.com>
6037 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6038 `Buffer-menu-multi-occur'. Add it to the menu.
6039 (Buffer-menu-mode): Document it in docstring.
6040 (Buffer-menu-multi-occur): New command. (Bug#14673)
6042 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6044 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6045 keywords and built-ins.
6047 2013-07-03 Glenn Morris <rgm@gnu.org>
6049 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6051 Make info-xref checks case-sensitive by default
6052 * info.el (Info-find-node, Info-find-in-tag-table)
6053 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6054 Add option for exact case matching of nodes.
6055 * info-xref.el (info-xref): New custom group.
6056 (info-xref-case-fold): New option.
6057 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6059 2013-07-03 Leo Liu <sdl.web@gmail.com>
6061 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6063 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6065 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6066 middle of block statement initially, lower the depth. Remove
6067 FIXME comment, not longer valid. Remove middle of block statement
6068 detection, no need to do that anymore since we've been using
6069 `ruby-parse-region' here.
6071 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6073 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6075 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6077 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6079 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6081 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6082 (desktop-restore-in-current-display): New customization option.
6083 (desktop--excluded-frame-parameters): Add `font'.
6084 (desktop--save-frames): Rename from desktop--save-windows.
6085 (desktop--restore-in-this-display-p): New function.
6086 (desktop--make-full-frame): Remove unwanted width/height from
6087 full(width|height) frames.
6088 (desktop--restore-frames): Rename from desktop--restore-windows.
6089 Obey desktop-restore-current-display. Do not delete old frames or
6090 select a new frame unless we were able to restore at least one frame.
6092 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6094 * files.el (find-file-noselect): Simplify conditional expression.
6096 * remember.el (remember-append-to-file):
6097 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6099 Add `remember-notes' function to store random notes across Emacs
6101 * remember.el (remember-data-file): Add :set callback to affect
6102 notes buffer (if any).
6103 (remember-notes): New command.
6104 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6105 New defcustoms for the `remember-notes' function.
6106 (remember-notes-save-and-bury-buffer): New command.
6107 (remember-notes-mode-map): New variable.
6108 (remember-mode): New minor mode.
6109 (remember-notes--kill-buffer-query): New function.
6110 * startup.el (initial-buffer-choice): Add notes to custom type.
6112 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6114 * bindings.el (right-char, left-char): Don't call sit-for, this is
6115 no longer needed. Use arithmetic comparison only for numerical
6118 * international/mule-cmds.el (select-safe-coding-system):
6119 Handle the case of FROM being a string correctly. (Bug#14755)
6121 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6123 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6124 progression on degenerate tables.
6125 (shr-rescale-image): ImageMagick animated images currently don't work.
6127 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6129 Some fixes and improvements for desktop frame restoration.
6130 It is still experimental and disabled by default.
6131 * desktop.el (desktop--save-windows): Put the selected frame at
6132 the head of the list.
6133 (desktop--make-full-frame): New function.
6134 (desktop--restore-windows): Try to re-select the frame that was
6135 selected upon saving. Do not abort if some frames fail to restore,
6136 just show an error message and continue. Set up maximized frames
6137 so they have default non-maximized dimensions.
6139 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6141 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6142 Don't start heredoc inside a string or comment.
6144 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6146 * bindings.el (visual-order-cursor-movement): New defcustom.
6147 (right-char, left-char): Provide visual-order cursor motion by
6148 calling move-point-visually. Update the doc strings.
6150 2013-06-28 Kenichi Handa <handa@gnu.org>
6152 * international/mule.el (define-coding-system): New coding system
6153 properties :inhibit-null-byte-detection,
6154 :inhibit-iso-escape-detection, and :prefer-utf-8.
6155 (set-buffer-file-coding-system): If :charset-list property of
6156 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6157 appropriate for setting.
6159 * international/mule-cmds.el (select-safe-coding-system):
6160 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6161 multibyte characters, return utf-8 (or one of its siblings).
6163 * international/mule-conf.el (prefer-utf-8): New coding system.
6164 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6167 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6169 * net/shr.el (shr-render-region): New function.
6171 * net/eww.el: Autoload `eww-browse-url'.
6173 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6175 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6176 Adapt to `package-desc-version' being a list.
6177 Use `package--ac-desc-version' to retrieve version from a package
6180 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6182 New experimental feature to save&restore window and frame setup.
6183 * desktop.el (desktop-save-windows): New defcustom.
6184 (desktop--saved-states): New var.
6185 (desktop--excluded-frame-parameters): New defconst.
6186 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6187 (desktop--restore-windows, desktop--save-windows): New functions.
6188 (desktop-save): Call `desktop--save-windows'.
6189 (desktop-read): Call `desktop--restore-windows'.
6191 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193 * net/shr.el (add-face-text-property): Remove compat definition.
6195 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6197 * info.el (Info-try-follow-nearest-node): Move search for footnote
6198 above search for node name to prevent missing a footnote (bug#14717).
6200 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6202 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6204 2013-06-27 Leo Liu <sdl.web@gmail.com>
6206 * net/eww.el (eww-read-bookmarks): Check file size.
6208 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6211 advice--pending if newdef is nil or an autoload (bug#13820).
6212 (advice-mapc): New function.
6214 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6216 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6218 (eww-mode-map): Add a menu bar.
6219 (eww-add-bookmark): New command.
6220 (eww-bookmark-mode): New mode and commands.
6221 (eww-add-bookmark): Remove newlines from the title.
6222 (eww-bookmark-browse): Don't bug out if it's the only window.
6224 2013-06-26 Glenn Morris <rgm@gnu.org>
6226 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6227 (hfy-size): Handle ttys. (Bug#14668)
6229 * info-xref.el: Update for Texinfo 5 change in *note format.
6230 (info-xref-node-re, info-xref-note-re): New constants.
6231 (info-xref-check-buffer): Use info-xref-note-re.
6233 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6235 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6237 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6238 nil terminate the loop (bug#14718).
6240 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6242 * net/eww.el: Rework history traversal. When going forward/back,
6243 put these actions into the history, too, so that they can be
6245 (eww-render): Move the history reset to the correct buffer.
6247 2013-06-25 Juri Linkov <juri@jurta.org>
6249 * files-x.el (modify-dir-local-variable): Change the header comment
6250 in the file with directory local variables. (Bug#14692)
6252 * files-x.el (read-file-local-variable-value): Add `default'.
6255 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6257 * net/eww.el (eww-make-unique-file-name): Create a unique file
6258 name before saving to entering `y' accidentally asynchronously.
6260 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6262 * net/eww.el (eww-download): New command and keystroke.
6264 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6266 * net/eww.el (eww-copy-page-url): Change name of command.
6268 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6269 be more consistent with Info and dired.
6271 * net/eww.el (eww-mode-map): Ditto.
6273 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6275 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6276 packages from archives.
6277 (package-archive-contents): Change format; include obsolete packages.
6278 (package-desc): Use `dir' to mark builtin packages.
6279 (package--from-builtin): Set the `dir' field to `builtin'.
6280 (generated-autoload-file, version-control): Declare.
6281 (package-compute-transaction): Change first arg and return value to be
6282 lists of package-descs. Adjust to new package-archive-contents format.
6283 (package--add-to-archive-contents): Adjust to new
6284 package-archive-contents format.
6285 (package-download-transaction): Arg is now a list of package-descs.
6286 (package-install): If `pkg' is a package name, pass it as
6287 a requirement, so it is subject to the usual (e.g. disabled) checks.
6288 (describe-package): Accept package-desc as well.
6289 (describe-package-1): Describe a specific package-desc. Add links to
6290 other package-descs for the same package name.
6291 (package-menu-describe-package): Pass the actual package-desc.
6292 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6294 (package-desc-status): New function.
6295 (package-menu--refresh): New function, extracted
6296 from package-menu--generate.
6297 (package-menu--generate): Use it.
6298 (package-delete): Update package-alist.
6299 (package-menu-execute): Don't call package-initialize.
6301 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6302 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6303 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6304 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6305 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6306 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6308 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6310 * window.el (window--state-get-1): Workaround for bug#14527.
6311 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6313 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6315 * net/eww.el (eww-back-url): Implement the history by stashing all
6316 the data into a list.
6317 (eww-forward-url): Allow going forward in the history, too.
6319 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6321 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6322 for values and use read--expression for expressions (bug#14710).
6323 (read-file-local-variable): Avoid setq.
6324 (read-file-local-variable-mode): Use minor-mode-list.
6326 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6328 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6331 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6333 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6334 Update imenu-support when dialect changes.
6336 2013-06-25 Leo Liu <sdl.web@gmail.com>
6338 * ido.el (ido-read-internal): Allow forward slash on windows.
6340 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6342 * net/eww.el (eww): Start of strings is \\`, not ^.
6344 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6346 * net/shr.el (shr-browse-url): Fix interactive spec.
6348 * net/eww.el (eww): Add a trailing slash to domain names.
6350 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6352 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6354 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6356 * net/shr.el (shr-browse-url): Use an external browser if given a
6359 * net/eww.el (eww-external-browser): Move to shr.
6361 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6363 * net/eww.el (eww): Work more correctly for file: URLs.
6364 (eww-detect-charset): Allow quoted charsets.
6365 (eww-yank-page-url): New command and keystroke.
6367 2013-06-24 Daiki Ueno <ueno@gnu.org>
6369 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6370 file name of gpg executable.
6371 (epg-context-program): New function.
6372 (epg-context-home-directory): New function.
6373 (epg-context-set-program): New function.
6374 (epg-context-set-home-directory): New function.
6375 (epg--start): Use `epg-context-program' instead of
6377 (epg--list-keys-1): Likewise.
6379 2013-06-24 Leo Liu <sdl.web@gmail.com>
6381 * ido.el (ido-read-internal): Fix bug#14620.
6383 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6385 * faces.el (face-documentation): Simplify.
6386 (read-face-attribute, tty-find-type, x-resolve-font-name):
6387 Use `string-match-p'.
6388 (list-faces-display): Use `string-match-p'. Simplify.
6389 (face-spec-recalc): Check face to avoid face alias loops.
6390 (read-color): Use `string-match-p' and non-capturing parenthesis.
6392 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6394 * net/shr.el (shr-rescale-image): Use the new
6395 :max-width/:max-height functionality.
6397 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6399 * net/eww.el (eww-search-prefix): New variable.
6401 (eww-external-browser): New variable.
6402 (eww-mode-map): New keystroke.
6403 (eww-browse-with-external-browser): New command.
6405 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6407 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6409 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6410 Don't skip aligning the next header field when padding is 0;
6411 otherwise, field width is not respected unless the title is as
6414 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * emacs-lisp/package.el (package-el-version): Remove.
6417 (package-process-define-package): Fix inf-loop.
6418 (package-install): Allow symbols as arguments again.
6420 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6422 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6423 add some more keyword-like methods.
6424 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6426 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6428 * bs.el (bs-buffer-show-mark): Make defvar-local.
6429 (bs-mode): Use setq-local.
6431 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6432 (emacs-lock--try-unlocking): Make defvar-local.
6434 2013-06-22 Glenn Morris <rgm@gnu.org>
6436 * play/cookie1.el (cookie-apropos): Minor simplification.
6438 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6440 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6442 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6443 `regexp-opt', it breaks the build during dumping.
6445 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6447 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6448 Highlight keyword-like methods on Kernel and Module with
6449 font-lock-builtin-face.
6450 (auto-mode-alist): Consolidate different entries into one regexp
6451 and add more *file-s.
6453 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6455 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6457 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6458 (diary-entry): Use it in the action of this button type instead of
6461 * calendar/todo-mode.el: New version.
6462 (todo-add-category): Append new category to end of file and give
6463 it the highest number, instead of putting it at the beginning and
6464 giving it 0. Incorporate noninteractive functionality.
6465 (todo-forward-category): Adapt to 1-based category numbering.
6466 Allow skipping over archived categories.
6467 (todo-backward-category): Derive from todo-forward-category.
6468 (todo-backward-item, todo-forward-item): Make noninteractive and
6469 delegate interactive part to new commands. Make sensitive to done items.
6470 (todo-categories): Make value an alist of category names and
6471 vectors of item counts.
6472 (todo-category-beg): Make a defconst.
6473 (todo-category-number): Use 1 instead of 0 as initial value.
6474 (todo-category-select): Make sensitive to overlays, optional item
6475 highlighting and done items.
6476 (todo-delete-item): Make sensitive to overlays and marked and done items.
6477 (todo-edit-item): Make sensitive to overlays and editing of
6478 date/time header optional. Add format checks.
6479 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6480 no-op if point is not on an item. Advertise using todo-edit-quit.
6481 (todo-edit-mode): Make sensitive to new format, font-locking, and
6482 multiple todo files.
6483 (todo-insert-item, todo-insert-item-here): Derive from
6484 todo-basic-insert-item and extend functionality.
6485 (todo-item-end, todo-item-start): Make sensitive to done items.
6486 (todo-item-string): Don't return text properties. Restore point.
6487 (todo-jump-to-category): Make sensitive to multiple todo files and
6488 todo archives. Use extended category completion.
6489 (todo-lower-item, todo-raise-item): Rename to *-priority and
6490 derive from todo-set-item-priority.
6491 (todo-mode): Derive from special-mode. Make sensitive to new
6492 format, font-locking and multiple todo files. Make read-only.
6493 (todo-mode-map): Don't suppress digit keys, so they can supply
6494 prefix arguments. Add many new key bindings.
6495 (todo-prefix): Insert as an overlay instead of file text.
6496 Change semantics from diary date expression to purely visual mark.
6497 (todo-print): Rename to todo-print-buffer. Make buffer display
6498 features printable. Remove option to restrict number of items
6499 printed. Add option to print to file.
6500 (todo-print-function): Rename to todo-print-buffer-function.
6501 (todo-quit): Extend to handle exiting new todo modes.
6502 (todo-remove-item): Make sensitive to overlays.
6503 (todo-save): Extend to buffers of filtered items.
6504 (todo-show): Make sensitive to done items, multiple todo files and
6505 new todo modes. Offer to convert legacy todo file before creating
6506 first new todo file.
6507 (todo-show-priorities): Rename to todo-top-priorities.
6508 Change semantics of value 0.
6509 (todo-top-priorities): Rename to todo-filter-top-priorities,
6510 derive from todo-filter-items and extend functionality.
6511 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6512 and extend functionality to other types of filtered items.
6513 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6514 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6515 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6516 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6517 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6518 (todo-edit-mode-hook, todo-entry-prefix-function)
6519 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6520 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6521 (todo-initials, todo-insert-threshold, todo-item-string-start)
6522 (todo-line-string, todo-menu, todo-mode-hook)
6523 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6524 (todo-print-priorities, todo-remove-separator)
6525 (todo-save-top-priorities-too, todo-string-count-lines)
6526 (todo-string-multiline-p, todo-time-string-format)
6527 (todo-tmp-buffer-name): Remove.
6528 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6529 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6530 (todo-edit-category-diary-inclusion)
6531 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6532 (todo-edit-file, todo-edit-item-date-day)
6533 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6534 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6535 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6536 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6537 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6538 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6539 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6540 (todo-filter-top-priorities-multifile, todo-find-archive)
6541 (todo-find-filtered-items-file, todo-go-to-source-item)
6542 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6543 (todo-jump-to-archive-category, todo-lower-category)
6544 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6545 (todo-move-category, todo-move-item, todo-next-button)
6546 (todo-next-item, todo-padded-string, todo-powerset)
6547 (todo-previous-button, todo-previous-item)
6548 (todo-print-buffer-to-file, todo-raise-category)
6549 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6550 (todo-set-category-number, todo-set-item-priority)
6551 (todo-set-top-priorities-in-category)
6552 (todo-set-top-priorities-in-file, todo-show-categories-table)
6553 (todo-sort-categories-alphabetically-or-numerically)
6554 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6555 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6556 (todo-toggle-item-header, todo-toggle-item-highlighting)
6557 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6558 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6559 (todo-unarchive-items, todo-unmark-category): New commands.
6560 (todo-absolute-file-name, todo-add-to-buffer-list)
6561 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6562 (todo-basic-insert-item, todo-category-completions)
6563 (todo-category-number, todo-category-string-matcher-1)
6564 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6565 (todo-check-format, todo-clear-matches)
6566 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6567 (todo-current-category, todo-date-string-matcher)
6568 (todo-define-insertion-command, todo-diary-expired-matcher)
6569 (todo-diary-goto-entry, todo-diary-item-p)
6570 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6571 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6572 (todo-done-item-section-p, todo-done-separator)
6573 (todo-done-string-matcher, todo-files, todo-filter-items)
6574 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6575 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6576 (todo-insert-category-line, todo-insert-item-from-calendar)
6577 (todo-insert-sort-button, todo-insert-with-overlays)
6578 (todo-insertion-command-name, todo-insertion-key-bindings)
6579 (todo-label-to-key, todo-longest-category-name-length)
6580 (todo-make-categories-list, todo-mode-external-set)
6581 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6582 (todo-modes-set-3, todo-multiple-filter-files)
6583 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6584 (todo-read-category, todo-read-date, todo-read-dayname)
6585 (todo-read-file-name, todo-read-time)
6586 (todo-reevaluate-category-completions-files-defcustom)
6587 (todo-reevaluate-default-file-defcustom)
6588 (todo-reevaluate-filelist-defcustoms)
6589 (todo-reevaluate-filter-files-defcustom)
6590 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6591 (todo-reset-done-separator, todo-reset-done-separator-string)
6592 (todo-reset-done-string, todo-reset-global-current-todo-file)
6593 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6594 (todo-reset-prefix, todo-set-categories)
6595 (todo-set-date-from-calendar, todo-set-show-current-file)
6596 (todo-set-top-priorities, todo-short-file-name)
6597 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6598 (todo-total-item-counts, todo-update-buffer-list)
6599 (todo-update-categories-display, todo-update-categories-sexp)
6600 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6602 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6604 (todo-categories, todo-display, todo-edit, todo-faces)
6605 (todo-filtered): New defgroups.
6606 (todo-archived-only, todo-button, todo-category-string, todo-date)
6607 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6608 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6609 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6610 (todo-add-item-if-new-category, todo-always-add-time-string)
6611 (todo-categories-align, todo-categories-archived-label)
6612 (todo-categories-category-label, todo-categories-diary-label)
6613 (todo-categories-done-label, todo-categories-number-separator)
6614 (todo-categories-todo-label, todo-categories-totals-label)
6615 (todo-category-completions-files, todo-completion-ignore-case)
6616 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6617 (todo-done-separator-string, todo-done-string)
6618 (todo-files-function, todo-filter-done-items, todo-filter-files)
6619 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6620 (todo-initial-category, todo-initial-file, todo-item-mark)
6621 (todo-legacy-date-time-regexp, todo-mode-line-function)
6622 (todo-nondiary-marker, todo-number-prefix)
6623 (todo-print-buffer-function, todo-show-current-file)
6624 (todo-show-done-only, todo-show-first, todo-show-with-done)
6625 (todo-skip-archived-categories, todo-top-priorities-overrides)
6626 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6627 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6629 (todo-category-done, todo-date-pattern, todo-date-string-start)
6630 (todo-diary-items-buffer, todo-done-string-start)
6631 (todo-filtered-items-buffer, todo-item-start)
6632 (todo-month-abbrev-array, todo-month-name-array)
6633 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6634 (todo-top-priorities-buffer): New defconsts.
6635 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6636 (todo-categories-with-marks, todo-category-string-face)
6637 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6638 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6639 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6640 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6641 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6642 (todo-font-lock-keywords, todo-global-current-todo-file)
6643 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6644 (todo-insertion-commands-args)
6645 (todo-insertion-commands-args-genlist)
6646 (todo-insertion-commands-names, todo-insertion-map)
6647 (todo-key-bindings-t, todo-key-bindings-t+a)
6648 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6649 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6650 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6651 (todo-visited): New variables.
6653 2013-06-21 Glenn Morris <rgm@gnu.org>
6655 * play/cookie1.el (cookie-apropos): Add optional display argument.
6656 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6657 (psychoanalyze-pinhead): Use cookie-doctor.
6659 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6661 * emacs-lisp/package.el (tar-get-file-descriptor)
6662 (tar--extract): Declare.
6664 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6666 Extend flymake's warning predicate to be a function (bug#14217).
6667 * progmodes/flymake.el (flymake-warning-predicate): New.
6668 (flymake-parse-line): Use it.
6669 (flymake-warning-re): Make obsolete alias to
6670 `flymake-warning-predicate'.
6672 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6674 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6675 (package-obsolete-list): Remove.
6676 (package-activate): Remove min-version argument. Add `force' argument.
6677 Adjust to new package-alist format.
6678 (package-mark-obsolete): Remove.
6679 (package-unpack): Force reload of the package's autoloads.
6680 (package-installed-p): Check builtins if the installed package is not
6682 (package-initialize): Don't reset package-obsolete-list.
6683 Don't specify which package version to activate.
6684 (package-process-define-package, describe-package-1)
6685 (package-menu--generate): Adjust to new package-alist format.
6687 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6689 * allout-widgets.el (allout-widgets-mode-off)
6690 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6691 (allout-widgets-post-command-business)
6692 (allout-widgets-after-copy-or-kill-function)
6693 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6694 (allout-decorate-item-and-context)
6695 (allout-graphics-modification-handler): Fix typos in docstrings.
6696 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6698 * cmuscheme.el (scheme-start-file): Doc fix.
6699 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6700 (scheme-input-filter): Use `string-match-p'.
6702 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6704 * dired-x.el: Use Dired consistently in docstrings.
6706 * dired.el: Use Dired consistently in docstrings.
6707 (dired-readin, dired-mode): Use `setq-local'.
6708 (dired-switches-alist): Make defvar-local.
6709 (dired-buffers-for-dir): Use `zerop'.
6710 (dired-safe-switches-p, dired-switches-escape-p)
6711 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6712 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6713 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6714 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6715 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6716 (dired-toggle-marks, dired-mark-files-containing-regexp)
6717 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6718 (dired-flag-auto-save-files, dired-flag-backup-files):
6720 (dired-mark-files-regexp, dired-build-subdir-alist):
6721 Use `string-match-p', `looking-at-p'.
6723 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6724 (direct-print-region-helper): Use `string-match-p'.
6726 2013-06-21 Leo Liu <sdl.web@gmail.com>
6728 * comint.el (comint-redirect-results-list-from-process):
6731 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733 * net/eww.el (eww-update-header-line-format): Quote % characters.
6735 2013-06-21 Glenn Morris <rgm@gnu.org>
6737 * play/cookie1.el (cookie): New custom group.
6738 (cookie-file): New option.
6739 (cookie-check-file): New function.
6740 (cookie): Make it interactive. Make start and end messages optional.
6741 Interactively, display the result. Default to cookie-file.
6742 (cookie-insert): Default to cookie-file.
6743 (cookie-snarf): Make start and end messages optional.
6744 Default to cookie-file. Use with-temp-buffer.
6745 (cookie-read): Rename from read-cookie.
6746 Make start and end messages optional. Default to cookie-file.
6747 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6749 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6750 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6752 2013-06-21 Leo Liu <sdl.web@gmail.com>
6754 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6756 2013-06-21 Glenn Morris <rgm@gnu.org>
6758 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6760 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6761 Daniel Hackney <dan@haxney.org>
6763 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6764 Consolidate the single-file vs tarball code.
6765 (package-desc-suffix): New function.
6766 (package-desc-full-name): Don't bother inlining it.
6767 (package-load-descriptor): Return the new package-desc.
6768 (package-mark-obsolete): Remove unused arg `package'.
6769 (package-unpack): Make it work for single files as well.
6770 Make it update package-alist.
6771 (package--make-autoloads-and-stuff): Rename from
6772 package--make-autoloads-and-compile. Don't compile any more.
6773 (package--compile): New function.
6774 (package-generate-description-file): New function, extracted from
6775 package-unpack-single.
6776 (package-unpack-single): Remove.
6777 (package--with-work-buffer): Add indentation and debugging info.
6778 (package-download-single): Remove.
6779 (package-install-from-archive): Rename from package-download-tar, make
6780 it take a pkg-desc, and make it work for single files as well.
6781 (package-download-transaction): Simplify.
6782 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6783 external tar program.
6784 (package-install-from-buffer): Remove `pkg-desc' argument.
6785 Use package-tar-file-info for tar-mode buffers.
6786 (package-install-file): Simplify accordingly.
6787 (package-archive-base): Change to take a pkg-desc.
6788 * tar-mode.el (tar--check-descriptor): New function, extracted from
6790 (tar-get-descriptor): Use it.
6791 (tar-get-file-descriptor): New function.
6792 (tar--extract): New function, extracted from tar-extract.
6793 (tar--extract): Use it.
6794 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6795 case the summary uses non-ascii. Adjust to new calling convention of
6796 package-tar-file-info.
6798 2013-06-21 Leo Liu <sdl.web@gmail.com>
6800 * comint.el (comint-redirect-results-list-from-process):
6801 Fix random delay. (Bug#14681)
6803 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6805 * profiler.el (profiler-format-number): Use log, not log10.
6807 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6809 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6811 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6814 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6816 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6817 (AUTOGENEL): ... here.
6818 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6819 (cl--defsubst-expand): Use it.
6821 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6823 * subr.el (log10): Move here from C code, and declare as obsolete.
6824 All uses of (log10 X) replaced with (log X 10).
6826 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6828 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6829 Declare with `defvar-local'.
6830 (tabulated-list-use-header-line, tabulated-list-entries)
6831 (tabulated-list-padding, tabulated-list-printer)
6832 (tabulated-list-sort-key): Declare with `defvar-local'.
6833 (tabulated-list-init-header, tabulated-list-print-fake-header):
6836 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6838 * arc-mode.el (archive-mode): Add `archive-write-file' to
6839 `write-contents-functions' also for remote files. (Bug#14652)
6841 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6843 * cus-edit.el (custom-commands): Fix typos.
6844 (custom-display): Fix tooltip text.
6845 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6846 Fix typos in docstrings.
6847 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6848 (custom-unlispify-menu-entry, custom-magic-value-create)
6849 (custom-add-see-also, custom-group-value-create): Use ?\s.
6850 (custom-guess-type, customize-apropos, editable-field)
6851 (custom-face-value-create): Use `string-match-p'.
6852 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6854 * custom.el (custom-load-symbol): Use `string-match-p'.
6856 * ansi-color.el: Convert to lexical binding.
6857 (ansi-colors): Fix URL.
6858 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6859 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6860 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6862 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6864 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6866 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6868 2013-06-19 Tom Tromey <tromey@redhat.com>
6870 * net/eww.el (eww-top-url): Remove.
6871 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6872 (eww-render): Set new variables. Don't set eww-top-url.
6873 (eww-handle-link): Handle "prev", "home", and "contents".
6874 Downcase the rel text.
6875 (eww-top-url): Choose best top URL.
6877 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6880 relying in widget.el. Using widget.el leads to too many
6881 user interface inconsistencies.
6882 (eww-self-insert): Implement entering commands in text fields.
6883 (eww-process-text-input): New function to make text input field editing
6885 (eww-submit): Rewrite to use the new-style form methods.
6886 (eww-select-display): Display the correct selected item.
6887 (eww-change-select): Implement changing the select value.
6888 (eww-toggle-checkbox): Implement radio/checkboxes.
6889 (eww-update-field): Fix compilation error.
6890 (eww-tag-textarea): Implement <textarea>.
6892 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6893 we don't shadow mode-specific bindings.
6895 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6898 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6900 2013-06-19 Glenn Morris <rgm@gnu.org>
6902 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6904 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6906 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6909 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6911 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913 * net/browse-url.el (browse-url-browser-function):
6914 `eww-browse-url' has the right calling signature, `eww' does not.
6916 2013-06-19 Glenn Morris <rgm@gnu.org>
6918 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6919 Only eval autoloaded macros.
6920 (byte-compile-autoload): Only give the macro warning for macros.
6922 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6923 (ps-underlined-faces): Declare.
6925 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6926 (speedbar-add-supported-extension): Declare.
6928 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6929 Don't include a date stamp in the header of the generated file;
6930 it leads to needless differences between output files.
6932 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6934 * net/secrets.el (secrets-struct-secret-content-type):
6935 Replace check of introspection data by a test call of "CreateItem".
6936 Some servers do not offer introspection.
6938 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * electric.el (electric-pair-mode): Improve interaction with
6941 electric-layout-mode.
6942 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6943 (electric-pair-syntax): Use text-mode-syntax-table in comments
6945 (electric-pair--insert): New function.
6946 (electric-pair-post-self-insert-function): Use it and
6947 electric--after-char-pos.
6949 2013-06-19 Leo Liu <sdl.web@gmail.com>
6951 * progmodes/octave.el (octave-help): Fix regexp.
6953 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6955 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6956 (shr-table-horizontal-line): Allow nil as a value, and change the
6958 (shr-insert-table-ruler): Respect the nil value.
6960 2013-06-18 Tom Tromey <tromey@barimba>
6962 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6964 (eww-open-file): New defun.
6965 (eww-render): Initialize new variables.
6966 (eww-display-html): Handle "link" and "a".
6967 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6968 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6969 (eww-back-url): Rename from eww-previous-url.
6970 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6973 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6975 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6976 Distinguish ternary operator tokens from slash symbol and slash
6979 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6981 Convert symbol prettification into minor mode and global minor mode.
6983 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6984 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6985 (prettify-symbols--keywords): Rename from
6986 `prog-prettify-symbols-alist' and make a local defvar.
6987 (prettify-symbols--compose-symbol): Rename from
6988 `prog--prettify-font-lock-compose-symbol'.
6989 (prettify-symbols--make-keywords): Rename from
6990 `prog-prettify-font-lock-symbols-keywords' and simplify.
6991 (prog-prettify-install): Remove.
6992 (prettify-symbols-mode): New minor mode, based on
6993 `prog-prettify-install'.
6994 (turn-on-prettify-symbols-mode): New function.
6995 (global-prettify-symbols-mode): New globalized minor mode.
6997 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6998 * progmodes/cfengine.el (cfengine3-mode):
6999 * progmodes/perl-mode.el (perl-mode): Don't call
7000 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7002 2013-06-18 Juri Linkov <juri@jurta.org>
7004 * files-x.el (modify-file-local-variable-message): New function.
7005 (modify-file-local-variable)
7006 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7007 and call `modify-file-local-variable-message' when it's non-nil.
7008 (add-file-local-variable, delete-file-local-variable)
7009 (add-file-local-variable-prop-line)
7010 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7011 and use it. (Bug#9820)
7013 2013-06-18 Juri Linkov <juri@jurta.org>
7015 * emulation/vi.el (vi-shell-op):
7016 * emulation/vip.el (vip-execute-com, ex-command):
7017 * emulation/viper-cmd.el (viper-exec-bang):
7018 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7019 the call of `shell-command-on-region'. (Bug#14637)
7021 * simple.el (shell-command-on-region): Doc fix.
7023 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7025 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7028 2013-06-18 Glenn Morris <rgm@gnu.org>
7030 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7032 * newcomment.el (comment-search-forward, comment-search-backward):
7033 Doc fix. (Bug#14376)
7035 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7037 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7038 (buffer-face-mode-invoke): Doc fix.
7040 2013-06-18 Matthias Meulien <orontee@gmail.com>
7042 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7043 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7045 2013-06-18 Glenn Morris <rgm@gnu.org>
7047 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7048 Replace obsolete function generic-make-keywords with its expansion.
7050 * progmodes/python.el (ffap-alist): Declare.
7052 * textmodes/reftex.el (bibtex-mode-map): Declare.
7054 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7056 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7057 (package-unpack, package-unpack-single): Return the pkg-dir.
7058 (package-download-transaction): Use it to update package-alist.
7060 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7062 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7065 2013-06-17 Juri Linkov <juri@jurta.org>
7067 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7069 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7071 * emacs-lisp/package.el (package-load-descriptor):
7072 Remove `with-syntax-table' call, `read' doesn't need it.
7073 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7075 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7077 * startup.el (command-line): Expand package name returned by
7078 `package--description-file' (bug#14639).
7080 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7082 * emacs-lisp/package.el (package-load-descriptor): Do not call
7083 `emacs-lisp-mode', just use its syntax table.
7085 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7087 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7088 `font-lock-extra-managed-props' if any prettifying keyword is added.
7089 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7090 (prog-mode): Use `setq-local'.
7092 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7094 * international/characters.el (standard-case-table): Set syntax of ?»
7095 and ?« to punctuation.
7097 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7099 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7100 Save relevant match data before calling `syntax-ppss' (bug#14595).
7102 2013-06-15 Juri Linkov <juri@jurta.org>
7104 * files-x.el (modify-file-local-variable-prop-line): Add local
7105 variables to the end of the existing comment on the first line.
7106 Use `file-auto-mode-skip' to skip interpreter magic line,
7107 and also skip XML declaration.
7109 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7111 * startup.el (package--builtin-versions): New var.
7112 (package-subdirectory-regexp): Remove.
7113 (package--description-file): Hard code its value instead.
7115 * emacs-lisp/package.el: Don't activate packages older than builtin.
7116 (package-obsolete-list): Rename from package-obsolete-alist, and make
7117 it into a simple list of package-desc.
7118 (package-strip-version): Remove.
7119 (package-built-in-p): Use package--builtin-versions.
7120 (package-mark-obsolete): Simplify.
7121 (package-process-define-package): Mark it obsolete if older than the
7123 (package-handle-response): Use line-end-position.
7124 (package-read-archive-contents, package--download-one-archive):
7126 (package--add-to-archive-contents): Skip if older than the builtin or
7128 (package-menu-describe-package): Fix last change.
7129 (package-list-unversioned): New var.
7130 (package-menu--generate): Use it.
7132 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7133 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7134 (autoload-builtin-package-versions): New variable.
7135 (autoload-generate-file-autoloads): Use them.
7136 Remove the list of autoloaded functions/macros from the
7137 (autoload...) comments.
7139 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7141 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7143 * simple.el (line-move-partial): Don't jump to the next screen
7144 line as soon as it becomes visible. Instead, continue enlarging
7145 the vscroll until the portion of a tall screen line that's left on
7146 display is about the height of the frame's default font.
7149 2013-06-15 Glenn Morris <rgm@gnu.org>
7151 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7152 compilation-error-regexp-alist void, or local while let-bound.
7154 * progmodes/make-mode.el (makefile-mode-syntax-table):
7155 Treat "=" as punctuation. (Bug#14614)
7157 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7159 * help-fns.el (describe-variable):
7160 Add extra line for permanent-local variables.
7162 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7164 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7165 Add export, import, library. (Bug#9164)
7166 (library): Set indent function.
7168 2013-06-14 Glenn Morris <rgm@gnu.org>
7170 * term/xterm.el (xterm--query):
7171 Stop after first matching handler. (Bug#14615)
7173 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7175 Add support for dired in saveplace.
7176 * dired.el (dired-initial-position-hook): New variable.
7177 (dired-initial-position): Call hook to place cursor position.
7178 * saveplace.el (save-place-to-alist): Add dired position.
7179 (save-place-dired-hook): New function.
7181 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7184 through a symbol rather than letrec.
7186 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7187 (package-desc): Add `dir' field.
7188 (package-desc-full-name): New function.
7189 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7190 (package-maybe-load-descriptor): Remove.
7191 (package-load-all-descriptors): Just call package-load-descriptor.
7192 (package--disabled-p): New function.
7193 (package-desc-vers, package-desc-doc): Remove aliases.
7194 (package--dir): Remove function.
7195 (package-activate): Check if a package is disabled.
7196 (package-process-define-package): New function, extracted from
7198 (define-package): Turn into a place holder.
7199 (package-unpack-single, package-tar-file-info):
7200 Use package--description-file.
7201 (package-compute-transaction): Use package--disabled-p.
7202 (package-download-transaction): Don't call
7203 package-maybe-load-descriptor since they're all loaded anyway.
7204 (package-install): Change argument to be a pkg-desc.
7205 (package-delete): Use a single pkg-desc argument.
7206 (describe-package-1): Use package-desc-dir instead of package--dir.
7207 Use package-desc property instead of package-symbol.
7208 (package-install-button-action): Adjust accordingly.
7209 (package--push): Rewrite.
7210 (package-menu--print-info): Adjust accordingly. Change the ID format
7212 (package-menu-describe-package, package-menu-get-status)
7213 (package-menu--find-upgrades, package-menu-mark-upgrades)
7214 (package-menu-execute, package-menu--name-predicate):
7216 * startup.el (package--description-file): New function.
7217 (command-line): Use it.
7218 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7219 Use package-desc-version.
7221 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7222 (byte-compile-preprocess): Use it.
7223 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7224 can't quite recognize.
7225 (byte-compile-add-to-list): Remove.
7226 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7227 (cconv-closure-convert): Add assertion.
7229 * emacs-lisp/map-ynp.el: Use lexical-binding.
7230 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7231 Factor out some repeated code.
7233 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7235 * subr.el (with-eval-after-load): New macro.
7236 (eval-after-load): Allow form to be a function.
7237 take advantage of lexical-binding.
7238 (do-after-load-evaluation): Use dolist and adjust to new format.
7239 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7241 2013-06-13 Juri Linkov <juri@jurta.org>
7243 * replace.el (perform-replace): Display "symbol " and other search
7244 modes from `isearch-message-prefix' in the *Help* buffer.
7246 * isearch.el (isearch-query-replace): Add " symbol" and other
7247 possible search modes from `isearch-message-prefix' to the prompt.
7248 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7249 when reading a regexp to collect.
7251 2013-06-13 Juri Linkov <juri@jurta.org>
7253 * isearch.el (word-search-regexp): Match whitespace if the search
7254 string begins or ends in whitespace. The LAX arg is applied to
7255 both ends of the search string. Use `regexp-quote' and explicit
7256 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7257 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7258 boundaries are replaced with symbol boundaries, and characters
7259 between symbols match non-word non-symbol syntax. (Bug#14602)
7261 2013-06-13 Juri Linkov <juri@jurta.org>
7263 * isearch.el (isearch-del-char): Don't exceed the length of
7264 `isearch-string' by the prefix arg. (Bug#14563)
7266 2013-06-13 Juri Linkov <juri@jurta.org>
7268 * isearch.el (isearch-yank-word, isearch-yank-line)
7269 (isearch-char-by-name, isearch-quote-char)
7270 (isearch-printing-char, isearch-process-search-char):
7271 Add optional count prefix arg. (Bug#14563)
7273 * international/isearch-x.el
7274 (isearch-process-search-multibyte-characters):
7275 Add optional count prefix arg.
7277 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7280 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7283 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7285 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7287 2013-06-13 Glenn Morris <rgm@gnu.org>
7289 * startup.el (tty-handle-args):
7290 Don't just discard "--" and anything after. (Bug#14608)
7292 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7294 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7296 Implement changes in Secret Service API. Make it backward compatible.
7297 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7298 (secrets-create-item): Use it. Prefix properties with interface.
7300 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7302 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7303 (term-emulate-terminal): Respect term-suppress-hard-newline.
7305 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7307 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7308 Only remove a `thumb-file' overlay. (Bug#14548)
7310 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7312 * mail/reporter.el (reporter-submit-bug-report):
7313 Handle missing package-name. (Bug#14600)
7315 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7317 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7318 (reftex-citation-prompt, reftex-default-bibliography)
7319 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7320 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7321 (reftex-bib-sort-author, reftex-bib-sort-year)
7322 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7323 (reftex-extract-bib-entries-from-thebibliography)
7324 (reftex-get-bibkey-default, reftex-get-bib-names)
7325 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7326 (reftex-format-bib-entry, reftex-parse-bibitem)
7327 (reftex-format-bibitem, reftex-do-citation)
7328 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7329 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7330 (reftex-insert-bib-matches, reftex-format-citation)
7331 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7332 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7333 existing comments into docstrings.
7335 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7337 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7339 2013-06-12 Andreas Schwab <schwab@suse.de>
7341 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7342 for auto-save files.
7344 2013-06-12 Glenn Morris <rgm@gnu.org>
7346 * ido.el (ido-delete-ignored-files): Remove.
7347 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7348 Go back to calling ido-ignore-item-p directly.
7350 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7352 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7354 * ido.el (ido-delete-ignored-files): New function,
7355 split from ido-make-file-list-1.
7356 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7357 (ido-make-file-list-1): Use ido-delete-ignored-files.
7359 2013-06-12 Leo Liu <sdl.web@gmail.com>
7361 * progmodes/octave.el (inferior-octave-startup)
7362 (inferior-octave-completion-table)
7363 (inferior-octave-track-window-width-change)
7364 (octave-eldoc-function-signatures, octave-help)
7365 (octave-find-definition): Use single quoted strings.
7366 (inferior-octave-startup-args): Change default value.
7367 (inferior-octave-startup): Do not hard code "-i" and
7368 "--no-line-editing".
7369 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7370 (inferior-octave-directory-tracker): Use it.
7371 (octave-goto-function-definition): Robustify.
7372 (octave-help): Support highlighting operators in 'See also'.
7373 (octave-find-definition): Find subfunctions only in Octave mode.
7375 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7377 * help-fns.el (help-fns--compiler-macro): If the handler function is
7378 named, then put a link to it.
7379 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7380 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7382 (cl-eval-when): Simplify debug spec.
7383 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7384 compiler-macro function instead of setting `compiler-macro-file'.
7386 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7388 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7389 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7391 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7392 Daniel Hackney <dan@haxney.org>
7394 First part of Daniel Hackney's patch to package.el.
7395 * emacs-lisp/package.el: Use defstruct.
7396 (package-desc): New, main struct.
7397 (package--bi-desc, package--ac-desc): New structs, used to describe the
7398 format in external files.
7399 (package-desc-vers): Replace with package-desc-version accessor.
7400 (package-desc-doc): Replace with package-desc-summary accessor.
7401 (package-activate-1): Remove `package' arg since the pkg-vec now
7403 (define-package): Use package-desc-from-define.
7404 (package-unpack-single): Change file-name arg to be a symbol.
7405 (package--add-to-archive-contents): Use package-desc-create and new
7406 accessor functions to package--ac-desc.
7407 (package-buffer-info, package-tar-file-info): Return a package-desc.
7408 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7409 arg to be a package-desc.
7410 (package-install-file): Adjust accordingly. Use \' to match EOS.
7411 (package--from-builtin): New function.
7412 (describe-package-1, package-menu--generate): Use it.
7413 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7414 (package-generate-autoloads): Idem and return the name of the file.
7415 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7416 Change pkg-info arg to be a package-desc.
7417 Use package-make-ac-desc.
7418 (package-upload-file): Use \' to match EOS.
7419 * finder.el (finder-compile-keywords): Use package-make-builtin.
7421 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7423 * vc/vc.el (vc-deduce-fileset): Change error message.
7424 (vc-read-backend): New function.
7425 (vc-next-action): Use it.
7427 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7429 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7430 (prolog-font-lock-keywords): Use regexp-opt instead.
7431 Don't manually highlight strings.
7432 (prolog-mode-variables): Simplify comment-start-skip.
7433 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7435 * emacs-lisp/generic.el (generic--normalise-comments)
7436 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7437 (generic-mode-set-comments): Use them.
7438 (generic-bracket-support): Use setq-local.
7439 (generic-make-keywords-list): Declare obsolete.
7441 2013-06-11 Glenn Morris <rgm@gnu.org>
7443 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7444 Prettify after setting font-lock-defaults. (Bug#14574)
7446 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7448 * replace.el (query-replace, occur-read-regexp-defaults-function)
7450 * subr.el (declare-function, number-sequence, local-set-key)
7451 (substitute-key-definition, locate-user-emacs-file)
7452 (with-silent-modifications, split-string, eval-after-load):
7453 Fix typos, remove unneeded backslashes and reflow some docstrings.
7455 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7457 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7458 default for Elisp files.
7460 2013-06-11 Glenn Morris <rgm@gnu.org>
7462 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7463 although define-derived-mode was doing this anyway. (Bug#14583)
7465 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7467 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7468 Fix make-variable-buffer-local call to refer to the correct variable.
7470 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7472 * eshell/em-term.el (eshell-visual-commands)
7473 (eshell-visual-subcommands, eshell-visual-options):
7474 Add summary line to docstrings. Add cross-references.
7476 2013-06-10 Glenn Morris <rgm@gnu.org>
7478 * epa.el (epa-read-file-name): New function. (Bug#14510)
7479 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7481 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7483 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7484 output redirection to be ignored with visual commands.
7486 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7488 * eshell/em-term.el (eshell-visual-command-p): New function.
7489 (eshell-term-initialize): Move long lambda to separate function
7490 eshell-visual-command-p.
7491 * eshell/em-dirs.el (eshell-dirs-initialise):
7492 * eshell/em-script.el (eshell-script-initialize):
7493 Add missing #' to lambda.
7495 2013-06-08 Leo Liu <sdl.web@gmail.com>
7497 * progmodes/octave.el (octave-add-log-current-defun): New function.
7498 (octave-mode): Set add-log-current-defun-function.
7499 (octave-goto-function-definition): Do not move point if not found.
7500 (octave-find-definition): Enhance to try subfunctions first.
7502 2013-06-08 Glenn Morris <rgm@gnu.org>
7504 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7505 (byte-compile-backward-char, byte-compile-backward-word):
7506 Improve previous change, to handle non-explicit nil.
7508 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7511 (smie--opener/closer-at-point): New function.
7512 (smie--matching-block-data): Use it. Don't match from right after an
7513 opener or right before a closer. Obey smie-blink-matching-inners.
7514 Don't signal a mismatch for repeated inners like "switch..case..case".
7516 2013-06-07 Leo Liu <sdl.web@gmail.com>
7518 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7520 (octave-function-header-regexp): Fix. (Bug#14570)
7521 (octave-help-mode-finish-hook, octave-help-mode-finish):
7522 Remove. Just use temp-buffer-show-hook.
7524 * newcomment.el (comment-search-backward): Revert last change.
7527 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7529 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7531 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7532 through xargs, to avoid failure due to MS-Windows limitations on
7533 command-line length.
7535 2013-06-06 Glenn Morris <rgm@gnu.org>
7537 * font-lock.el (lisp-font-lock-keywords-2):
7538 Treat user-error like error.
7540 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7541 (byte-compile-backward-char, byte-compile-backward-word):
7542 Handle explicit nil arguments. (Bug#14565)
7544 2013-06-05 Alan Mackenzie <acm@muc.de>
7546 * isearch.el (isearch-allow-prefix): New user option.
7547 (isearch-other-meta-char): Don't exit isearch when a prefix
7548 argument is typed whilst `isearch-allow-prefix' is non-nil.
7551 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7553 * autorevert.el (auto-revert-notify-handler): Use memq.
7554 Hide assertion failure.
7556 * skeleton.el: Use cl-lib.
7557 (skeleton-further-elements): Use defvar-local.
7558 (skeleton-insert): Use cl-progv.
7560 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7562 * progmodes/prog-mode.el (prog-prettify-symbols)
7563 (prog-prettify-install): Update docstrings.
7565 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * simple.el: Move all the prog-mode code to prog-mode.el.
7568 * progmodes/prog-mode.el: New file.
7569 * loadup.el: Add prog-mode.el.
7571 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7573 * simple.el (prog-prettify-symbols): Add version.
7574 (prog-prettify-install): Add convenience function to prettify symbols.
7576 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7577 (perl--augmented-font-lock-keywords-1)
7578 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7579 variables and use it.
7581 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7582 (cfengine3-mode): Remove unneeded variable and use it.
7584 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7585 (lisp--augmented-font-lock-keywords-1)
7586 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7587 Remove unneeded variables and use it.
7589 2013-06-05 João Távora <joaotavora@gmail.com>
7591 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7592 to point when opening the connection. (Bug#14380)
7594 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7596 * subr.el (load-history-regexp, load-history-filename-element)
7597 (eval-after-load, after-load-functions, do-after-load-evaluation)
7598 (eval-next-after-load, display-delayed-warnings)
7599 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7600 definition of save-match-data.
7601 (overriding-local-map): Remove accidental obsolescence declaration.
7603 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7605 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7607 Generalize symbol prettify support to prog-mode and implement it
7608 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7609 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7610 (prog--prettify-font-lock-compose-symbol)
7611 (prog-prettify-font-lock-symbols-keywords): New variables and
7612 functions to support symbol prettification.
7613 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7614 (lisp--augmented-font-lock-keywords-1)
7615 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7616 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7617 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7618 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7619 Implement prettify of -> => :: strings.
7620 * progmodes/perl-mode.el (perl-prettify-symbols)
7621 (perl--font-lock-compose-symbol)
7622 (perl--font-lock-symbols-keywords): Move to prog-mode.
7623 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7624 (perl-font-lock-keywords-1)
7625 (perl-font-lock-keywords-2): Remove explicit prettify support.
7626 (perl--augmented-font-lock-keywords)
7627 (perl--augmented-font-lock-keywords-1)
7628 (perl--augmented-font-lock-keywords-2, perl-mode):
7629 Implement prettify support.
7631 2013-06-05 Leo Liu <sdl.web@gmail.com>
7633 Re-implement smie matching block highlight using
7634 show-paren-data-function. (Bug#14395)
7635 * emacs-lisp/smie.el (smie-matching-block-highlight)
7636 (smie--highlight-matching-block-overlay)
7637 (smie--highlight-matching-block-lastpos)
7638 (smie-highlight-matching-block)
7639 (smie-highlight-matching-block-mode): Remove.
7640 (smie--matching-block-data-cache): New variable.
7641 (smie--matching-block-data): New function.
7642 (smie-setup): Use smie--matching-block-data for
7643 show-paren-data-function.
7645 * progmodes/octave.el (octave-mode-menu): Fix.
7646 (octave-find-definition): Skip garbage lines.
7648 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7650 Fix compilation error with simultaneous dynamic+lexical scoping.
7651 Add warning when a defvar appears after the first let-binding.
7652 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7653 (byte-compile-close-variables): Initialize it.
7654 (byte-compile--declare-var): New function.
7655 (byte-compile-file-form-defvar)
7656 (byte-compile-file-form-define-abbrev-table)
7657 (byte-compile-file-form-custom-declare-variable): Use it.
7658 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7659 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7660 (byte-compile-bind): Handle dynamic bindings that shadow
7662 (byte-compile-unbind): Make arg non-optional.
7663 (byte-compile-let): Simplify.
7664 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7665 (cconv--analyse-function, cconv-analyse-form): Populate it.
7666 Protect byte-compile-bound-variables to limit the scope of defvars.
7667 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7668 Remove unneeded rule for `declare'.
7670 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7671 so as to avoid depending on cl-adjoin at run-time.
7672 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7674 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7675 (macroexp--warn-and-return): Use it.
7677 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * lisp/subr.el: Convert to lexical binding.
7680 (overriding-local-map): Make obsolete.
7681 (add-to-list): Doc fix. Add compiler macro.
7682 (read-key): Swap values of local maps.
7684 2013-06-05 Leo Liu <sdl.web@gmail.com>
7686 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7688 2013-06-04 Leo Liu <sdl.web@gmail.com>
7690 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7691 (compilation-auto-jump): Suppress the "Mark set" message to give
7692 way to exit message.
7694 2013-06-04 Alan Mackenzie <acm@muc.de>
7696 Remove faulty optimisation from indentation calculation.
7697 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7698 search limit based on 2000 characters back from indent-point.
7700 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7702 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7704 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * emacs-lisp/lisp.el: Use lexical-binding.
7707 (lisp--local-variables-1, lisp--local-variables): New functions.
7708 (lisp--local-variables-completion-table): New var.
7709 (lisp-completion-at-point): Use it complete let-bound vars.
7711 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7712 eagerly (bug#14422).
7714 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7716 * autorevert.el (auto-revert-notify-enabled)
7717 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7718 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7719 (auto-revert-notify-handler): Handle also gfilenotify.
7721 * subr.el (file-notify-handle-event): New defun. Replacing ...
7722 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7725 2013-06-03 Juri Linkov <juri@jurta.org>
7727 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7728 `M-s h .'. (Bug#14427)
7730 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7731 command `hi-lock-face-symbol-at-point'.
7732 (hi-lock-face-symbol-at-point): New command.
7733 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7734 (hi-lock-menu): Add `highlight-symbol-at-point'.
7735 (hi-lock-mode): Doc fix.
7737 * isearch.el (isearch-forward-symbol-at-point): New command.
7738 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7739 (isearch-highlight-regexp): Add a regexp which matches
7740 words/symbols for word/symbol mode.
7742 * subr.el (find-tag-default-bounds): New function with the body
7743 mostly moved from `find-tag-default'.
7744 (find-tag-default): Move most code to `find-tag-default-bounds',
7745 call it and apply `buffer-substring-no-properties' afterwards.
7747 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7749 * eshell/em-term.el (eshell-term-initialize):
7750 Use `cl-intersection' rather than `intersection'.
7752 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7754 * vc/log-view.el: Doc fix.
7755 (log-view-mode-map): Copy keymap from `special-mode-map'.
7757 2013-06-02 Eric Ludlam <zappo@gnu.org>
7759 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7760 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7761 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7762 (eieio-unbound, eieio-default-superclass)
7763 (eieio--define-field-accessors, method-static, method-before)
7764 (method-primary, method-after, method-num-lists)
7765 (method-generic-before, method-generic-primary)
7766 (method-generic-after, method-num-slots)
7767 (eieio-specialized-key-to-generic-key)
7768 (eieio--check-type, class-v, class-p)
7769 (eieio-class-name, define-obsolete-function-alias)
7770 (eieio-class-parents-fast, eieio-class-children-fast)
7771 (same-class-fast-p, class-constructor, generic-p)
7772 (generic-primary-only-p, generic-primary-only-one-p)
7773 (class-option-assoc, class-option, eieio-object-p)
7774 (class-abstract-p, class-method-invocation-order)
7775 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7776 (eieio-class-un-autoload, eieio-defclass)
7777 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7778 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7779 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7780 (eieio-defgeneric-reset-generic-form)
7781 (eieio-defgeneric-form-primary-only)
7782 (eieio-defgeneric-reset-generic-form-primary-only)
7783 (eieio-defgeneric-form-primary-only-one)
7784 (eieio-defgeneric-reset-generic-form-primary-only-one)
7785 (eieio-unbind-method-implementations)
7786 (eieio--defmethod, eieio--typep)
7787 (eieio-perform-slot-validation, eieio-validate-slot-value)
7788 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7789 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7790 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7791 (eieio-slot-name-index, eieio-class-slot-name-index)
7792 (eieio-set-defaults, eieio-initarg-to-attribute)
7793 (eieio-attribute-to-initarg, eieio-c3-candidate)
7794 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7795 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7796 (eieio-class-precedence-list, eieio-generic-call-methodname)
7797 (eieio-generic-call-arglst, eieio-generic-call-key)
7798 (eieio-generic-call-next-method-list)
7799 (eieio-pre-method-execution-functions, eieio-generic-call)
7800 (eieio-generic-call-primary-only, eieiomt-method-list)
7801 (eieiomt-optimizing-obarray, eieiomt-install)
7802 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7803 (eieio-generic-form, eieio-defmethod, make-obsolete)
7804 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7805 (defclass): Remove `eval-and-compile' from macro.
7806 (call-next-method, shared-initialize): Instead of using
7807 `scoped-class' variable, use new eieio--scoped-class, and
7808 eieio--with-scoped-class.
7809 (initialize-instance): Rename local variable 'scoped-class' to
7810 'this-class' to remove ambiguitity from old global.
7812 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7814 (eieio--scoped-class-stack): New variable.
7815 (eieio--scoped-class): New fcn.
7816 (eieio--with-scoped-class): New scoping macro.
7817 (eieio-defclass): Use pushnew instead of add-to-list.
7818 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7819 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7820 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7821 `scoped-class' variable, use new eieio--scoped-class, and
7822 eieio--with-scoped-class.
7824 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7826 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7828 * eshell/esh-ext.el (eshell-external-command): Pass args to
7829 `eshell-find-interpreter'.
7830 (eshell-find-interpreter): Add new second parameter ARGS.
7832 * eshell/em-script.el (eshell-script-initialize): Add second arg
7833 to the function added as MATCH to `eshell-interpreter-alist'.
7835 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7836 the function added as MATCH to `eshell-interpreter-alist'.
7838 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7839 (eshell-visual-options): New defcustom.
7840 (eshell-escape-control-x): Adapt docstring.
7841 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7842 `eshell-visual-options' in addition to `eshell-visual-commands'.
7843 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7845 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7847 * progmodes/python.el (python-indent-block-enders): Add break,
7848 continue and raise keywords.
7850 2013-06-01 Glenn Morris <rgm@gnu.org>
7852 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7854 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7855 * progmodes/cc-cmds.el (delete-forward-p):
7856 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7857 * progmodes/cc-engine.el (buffer-syntactic-context):
7858 * progmodes/cc-fonts.el (face-property-instance):
7859 * progmodes/cc-mode.el (set-keymap-parents):
7860 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7861 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7862 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7863 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7864 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7866 * progmodes/cc-vars.el (other): Emacs has this widget since
7867 at least 21.1, so don't (re)define it.
7869 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7870 Replace the obsolete alias pcomplete-arg-quote-list.
7872 2013-06-01 Leo Liu <sdl.web@gmail.com>
7874 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7876 (inferior-octave-minimal-columns)
7877 (inferior-octave-last-column-width): New variables.
7878 (inferior-octave-track-window-width-change): New function.
7879 (inferior-octave-mode): Adjust column width so that Octave output,
7880 for example from 'ls', can fit into the window nicely.
7882 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7884 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7885 Highlight expansions inside regexp literals.
7887 2013-05-31 Glenn Morris <rgm@gnu.org>
7889 * obsolete/sym-comp.el (symbol-complete):
7890 Replace obsolete completion-annotate-function.
7892 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7894 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7896 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7897 New function, checks if point is inside a literal that allows
7898 expression expansion.
7899 (ruby-syntax-propertize-expansion): Use it.
7900 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7903 2013-05-30 Juri Linkov <juri@jurta.org>
7905 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7907 (isearch-invisible): New variable.
7908 (isearch-forward): Doc fix.
7909 (isearch-mode): Set `isearch-invisible'
7910 to the value of `search-invisible'.
7911 (isearch-toggle-case-fold): Doc fix.
7912 (isearch-toggle-invisible): New command.
7913 (isearch-query-replace): Let-bind `search-invisible'
7914 to the value of `isearch-invisible'.
7915 (isearch-search): Use `isearch-invisible' instead of
7916 `search-invisible'. Let-bind `search-invisible'
7917 to the value of `isearch-invisible'. (Bug#11378)
7919 2013-05-30 Juri Linkov <juri@jurta.org>
7921 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7922 call when `query-flag' is nil and `search-invisible' is non-nil.
7925 2013-05-30 Glenn Morris <rgm@gnu.org>
7927 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7929 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7930 (cc-require): Suppress spurious "noruntime" warnings.
7931 (cc-require-when-compile): Use fboundp, for sake of compiler.
7933 * progmodes/cc-mode.el: Move load of cc-vars before that of
7934 cc-langs (which in turn loads cc-vars), to quieten compiler.
7936 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7938 * paren.el: Simplify the code.
7939 (show-paren-mode): Always start the timer.
7940 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7941 (show-paren--overlay, show-paren--overlay-1): Rename from
7942 show-paren-overlay and show-paren-overlay-1, and initialize to an
7943 overlay rather than to nil.
7944 (show-paren-function): Misc cleanup and simplifications.
7946 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7948 * paren.el (show-paren-data-function): New hook.
7949 (show-paren--default): New function, extracted from show-paren-function.
7950 (show-paren-function): Use show-paren-data-function.
7952 2013-05-30 Glenn Morris <rgm@gnu.org>
7954 * ielm.el (ielm-map, ielm-complete-symbol):
7955 Use completion-at-point rather than obsolete functions.
7956 (inferior-emacs-lisp-mode): Doc fix.
7957 Set completion-at-point-functions, rather than
7958 comint-dynamic-complete-functions.
7960 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7961 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7962 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7964 * image.el (image-animated-p): Tweak definition.
7966 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7967 (rlogin-process-connection-type): Tweak default. Add set-after.
7968 (rlogin-host): Doc fix.
7969 (rlogin): Tweak prompt.
7970 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7972 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7973 * progmodes/tcl.el (inferior-tcl-mode-map):
7974 Use completion-at-point rather than obsolete alias.
7976 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7978 * minibuffer.el (read-file-name-completion-ignore-case):
7979 Move before completion--in-region, for eager macro expansion.
7981 2013-05-29 Juri Linkov <juri@jurta.org>
7983 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7984 for total count of matching lines. Add `global-matches' for total
7985 count of matches. Rename `matches' to `lines' for count of
7986 matching lines. Add `matches' for count of matches.
7987 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7988 to `prev-line' for line number of prev match endpt.
7989 Increment `matches' for every match. Print the number of
7990 matching lines in the header.
7991 (occur-context-lines): Rename `lines' to `curr-line'.
7992 Rename `prev-lines' to `prev-line'. (Bug#14017)
7994 2013-05-29 Juri Linkov <juri@jurta.org>
7996 * replace.el (perform-replace): Add `skip-read-only-count',
7997 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7998 Increment them for corresponding conditions and report the number
7999 of skipped occurrences in the final message. (Bug#11746)
8000 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8001 (replace-string, replace-regexp): Doc fix.
8003 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8005 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8007 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8008 prog-mode-map (bug#14504).
8010 2013-05-29 Leo Liu <sdl.web@gmail.com>
8012 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8013 (octave-help): Small simplification.
8015 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8016 off the highlight first.
8018 2013-05-29 Glenn Morris <rgm@gnu.org>
8020 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8021 Handle idlwave-last-system-routine-info-cons-cell being nil.
8023 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8024 (idlwave-write-paths): Simplify via with-temp-buffer.
8026 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8027 * emulation/cua-rect.el: Also load cua-base at run time.
8029 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8030 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8031 (cperl-imenu-on-info): Require imenu.
8033 2013-05-28 Alan Mackenzie <acm@muc.de>
8035 Handle "capitalised keywords" correctly.
8036 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8038 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8040 * eshell/em-unix.el: Add -r option to cp.
8042 2013-05-28 Glenn Morris <rgm@gnu.org>
8044 * vc/vc-arch.el (vc-exec-after): Declare.
8045 (vc-switches): Autoload.
8046 * vc/vc-bzr.el: No need to require vc when compiling.
8047 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8048 (vc-resynch-buffer, vc-dir-refresh): Declare.
8049 (vc-setup-buffer, vc-switches): Autoload.
8050 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8051 (vc-resynch-buffer): Declare.
8052 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8053 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8054 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8055 (grep-read-regexp, grep-read-files, grep-expand-template)
8056 (vc-dir-refresh): Declare.
8057 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8058 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8059 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8060 * vc/vc-mtn.el (vc-exec-after): Declare.
8061 (vc-switches): Autoload.
8062 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8063 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8064 (vc-file-tree-walk): Declare.
8065 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8066 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8067 (vc-tag-precondition, vc-rename-master): Autoload.
8068 * vc/vc-svn.el (vc-exec-after): Declare.
8069 (vc-switches, vc-setup-buffer): Autoload.
8070 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8072 (vc-resynch-buffer): Declare.
8074 * obsolete/fast-lock.el (byte-compile-warnings):
8075 Don't warn about obsolete features in this obsolete file.
8077 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8078 Move definition before use.
8080 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8081 (dun-unix-verbs): Remove dun-zippy.
8082 (dun-zippy): Remove function.
8084 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8086 2013-05-27 Juri Linkov <juri@jurta.org>
8088 * replace.el (replace-search): New function with code moved out
8089 from `perform-replace'.
8090 (replace-highlight, replace-dehighlight): Move function definitions
8091 up closer to `replace-search'. (Bug#11746)
8093 2013-05-27 Juri Linkov <juri@jurta.org>
8095 * replace.el (perform-replace): Ignore invisible matches.
8096 In addition to checking `query-replace-skip-read-only', also
8097 filter out matches by calling `run-hook-with-args-until-failure'
8098 on `isearch-filter-predicates', and also check `search-invisible'
8099 for t or call `isearch-range-invisible'.
8100 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8102 2013-05-27 Juri Linkov <juri@jurta.org>
8104 * isearch.el (isearch-filter-predicates): Rename from
8105 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8106 (isearch-message-prefix): Display text from the property
8107 `isearch-message-prefix' of the currently active filters.
8108 (isearch-search): Don't compare `isearch-filter-predicate' with
8109 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8110 on `isearch-filter-predicates'. Also check `search-invisible' for t
8111 or call `isearch-range-invisible'.
8112 (isearch-filter-visible): Make obsolete.
8113 (isearch-lazy-highlight-search):
8114 Call `run-hook-with-args-until-failure' on
8115 `isearch-filter-predicates' and use `isearch-range-invisible'.
8117 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8118 `isearch-filter-predicates' instead of `funcall'ing
8119 `isearch-filter-predicate'.
8120 (Info-mode): Set `Info-isearch-filter' to
8121 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8123 * dired-aux.el (dired-isearch-filter-predicate-orig):
8125 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8126 (dired-isearch-filenames-end): Add and remove
8127 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8128 instead of changing the value of `isearch-filter-predicate'.
8129 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8130 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8131 Put property `isearch-message-prefix' to "filename " on
8132 `dired-isearch-filter-filenames'.
8134 * wdired.el (wdired-change-to-wdired-mode):
8135 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8136 locally instead of changing `isearch-filter-predicate'.
8137 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8139 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8141 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8142 return the commit hash (Bug#14459). Also set the
8143 `vc-git-detached' property.
8144 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8145 (vc-git-mode-line-string): Use the same help-echo format whether
8146 in detached mode or not, because we know the actual revision now.
8147 When in detached mode, shorten the revision to 7 chars.
8149 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8151 * emacs-lisp/easy-mmode.el (define-minor-mode):
8152 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8153 mode hook and provide a docstring.
8155 2013-05-27 Alan Mackenzie <acm@muc.de>
8157 Remove spurious syntax-table text properties inserted by C-y.
8158 * progmodes/cc-mode.el (c-after-change): Also clear hard
8159 syntax-table property with value nil.
8161 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8163 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8164 when reading the events; the buffer layout shall not be changed.
8166 2013-05-27 Leo Liu <sdl.web@gmail.com>
8168 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8170 (inferior-octave-directory-tracker): Automatically re-sync
8172 (octave-help): Improve handling of 'See also'.
8174 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8176 * doc-view.el: Minor naming convention tweaks.
8177 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8179 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8180 even if there's no `display' property yet (bug#14435).
8182 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8184 * subr.el (unmsys--file-name): Rename from reveal-filename.
8186 * Makefile.in (custom-deps, finder-data, autoloads)
8187 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8188 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8189 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8191 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8193 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8194 error-completion on the first 2 args of condition-case (bug#14446).
8197 2013-05-25 Leo Liu <sdl.web@gmail.com>
8199 * comint.el (comint-previous-matching-input): Do not flood the
8200 *Messages* buffer with trivial messages.
8202 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8204 * progmodes/flymake.el (flymake-nop): Don't return a string.
8205 (flymake-set-at): Fix typo.
8207 * simple.el (read--expression): New function, extracted from
8208 eval-expression. Set completion-at-point-functions (bug#14465).
8209 (eval-expression, eval-minibuffer): Use it.
8211 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8213 * progmodes/flymake.el (flymake-save-buffer-in-file)
8214 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8215 (flymake-selected-frame, flymake-log, flymake-ins-after)
8216 (flymake-set-at, flymake-get-buildfile-from-cache)
8217 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8218 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8219 Refine the doc string.
8220 (flymake-get-file-name-mode-and-masks): Reformat.
8221 (flymake-get-real-file-name-function): Fix a minor bug.
8223 2013-05-24 Juri Linkov <juri@jurta.org>
8225 * progmodes/grep.el (grep-mode-font-lock-keywords):
8226 Support =linenumber= format used by git-grep for lines with
8227 function names. (Bug#13549)
8229 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8232 0 after a semi-colon; it works better for smie-auto-fill.
8233 (octave--indent-new-comment-line): New function.
8234 (octave-indent-new-comment-line): Use it (indirectly).
8235 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8236 modify comment-line-break-function.
8238 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8239 (smie-setup): Use add-function to set it.
8241 2013-05-24 Sam Steingold <sds@gnu.org>
8243 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8244 argument (before the `interactive' argument).
8246 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8248 * image-mode.el (image-mode-winprops): Add winprops to
8249 image-mode-winprops-alist before running
8250 image-mode-new-window-functions.
8251 * doc-view.el (doc-view-new-window-function): Don't delay
8252 doc-view-goto-page via timers (bug#14435).
8254 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8256 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8257 (doc-view-desktop-save-buffer): New function.
8258 (doc-view-restore-desktop-buffer): New function.
8259 (desktop-buffer-mode-handlers):
8260 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8262 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8263 `desktop-save-buffer' function.
8265 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8267 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8268 (tramp-gvfs-file-name-handler): Raise a user error when
8269 `tramp-gvfs-enabled' is nil.
8270 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8271 Do not raise a user error when loading package. (Bug#14447)
8273 * net/xesam.el: Move to obsolete/.
8275 2013-05-24 Glenn Morris <rgm@gnu.org>
8277 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8279 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8281 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8282 (Info-find-node, Man-getpage-in-background): Declare.
8284 * mail/unrmail.el (unrmail):
8285 Replace obsolete detect-coding-with-priority.
8287 * net/socks.el (socks-split-string): Use this rather than split-string.
8288 (socks-nslookup-host): Update for above change.
8289 (dynamic-choice, s5-dynamic-choice-match)
8290 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8291 Comment out unused code.
8293 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8294 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8295 (gud-tooltip-echo-area): Make obsolete.
8296 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8298 * progmodes/js.el (js--optimize-arglist): Declare.
8300 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8302 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8303 (ediff-window-C): Declare.
8305 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8306 Tweak requires to silence compiler.
8308 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8309 (he-search-string, he-tried-table, he-expand-list)
8310 (he-init-string, he-string-member, he-substitute-string)
8311 (he-reset-string): Declare.
8313 * obsolete/options.el (list-options): Use custom-variable-p,
8314 rather than obsolete alias.
8316 2013-05-23 Sam Steingold <sds@gnu.org>
8318 * simple.el (shell-command-on-region): Pass the `replace' argument
8319 down to `call-process-region' to comply with the doc as reported on
8320 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8322 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8324 * emacs-lisp/smie.el (smie-indent-forward-token)
8325 (smie-indent-backward-token): Handle string tokens (bug#14381).
8327 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8329 * ielm.el (ielm-menu): New menu.
8330 (inferior-emacs-lisp-mode): Set comment-start.
8332 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8334 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8335 Fix deactivate action.
8337 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8338 Add cleveref macros.
8340 * lisp/textmodes/reftex-parse.el
8341 (reftex-locate-bibliography-files): Accept options for
8342 bibliography commands.
8343 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8344 Add addbibresource. Basic Biblatex support.
8346 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8348 * net/tramp-gvfs.el (top):
8349 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8350 when loading package. (Bug#14447)
8352 2013-05-23 Glenn Morris <rgm@gnu.org>
8354 * progmodes/js.el: No need to load comint when compiling.
8355 (ring-insert, comint-send-string, comint-send-input)
8356 (comint-last-input-end, ido-chop): Declare.
8358 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8359 * vc/ediff-mult.el: Adjust requires.
8360 (ediff-directories-internal, ediff-directory-revisions-internal)
8361 (ediff-patch-file-internal): Declare.
8362 * vc/ediff-ptch.el: Adjust requires.
8363 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8364 (ediff-find-file): Autoload.
8365 * vc/ediff-util.el: No need to load ediff when compiling.
8366 (ediff-regions-internal): Declare.
8367 * vc/ediff-wind.el: Adjust requires.
8368 (ediff-compute-toolbar-width): Define when compiling.
8369 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8370 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8371 (dired-get-filename, dired-get-marked-files)
8372 (ediff-last-dir-patch, ediff-patch-default-directory)
8373 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8374 (ediff-patch-buffer-internal): Declare.
8376 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8377 (ispell-process, ispell-buffer-local-words, lm-summary)
8378 (lm-section-start, lm-section-end): Declare.
8379 (checkdoc-ispell-init): Simplify.
8381 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8382 (he-string-member, he-reset-string, he-substitute-string): Declare.
8384 * eshell/em-ls.el: Adjust requires.
8385 (eshell-glob-regexp): Declare.
8386 * eshell/em-tramp.el: Adjust requires.
8387 (eshell-parse-command): Autoload.
8388 * eshell/em-xtra.el: Adjust requires.
8389 (eshell-parse-command): Autoload.
8390 * eshell/esh-ext.el: Adjust requires.
8391 (eshell-parse-command, eshell-close-handles): Autoload.
8392 * eshell/esh-io.el: Adjust requires.
8393 (eshell-output-filter): Autoload.
8394 * eshell/esh-util.el: No need to load tramp when compiling.
8395 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8397 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8398 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8399 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8400 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8401 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8402 * eshell/esh-opt.el, eshell/esh-proc.el:
8403 * eshell/esh-var.el: Adjust requires.
8404 * eshell/eshell.el: Do not require esh-util twice.
8405 (eshell-add-input-to-history): Declare.
8406 (eshell-command): Check history module is active before using it.
8408 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8410 2013-05-22 Leo Liu <sdl.web@gmail.com>
8412 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8414 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8416 * autorevert.el (auto-revert-notify-add-watch)
8417 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8418 it indicates changes in file modification time.
8420 2013-05-22 Glenn Morris <rgm@gnu.org>
8422 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8423 Always delete the autoloaded function from the noruntime and
8424 unresolved functions lists.
8426 * allout.el: No need to load epa, epg, overlay when compiling.
8427 (epg-context-set-passphrase-callback, epg-list-keys)
8428 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8429 (epg-key-user-id-list): Declare.
8431 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8432 (viper-set-parsing-style-toggling-macro)
8433 (viper-set-emacs-state-searchstyle-macros):
8434 Use called-interactively-p on Emacs.
8435 (viper-looking-back): Make it an obsolete alias. Update callers.
8436 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8437 Use looking-back rather than viper-looking-back.
8438 (viper-tmp-insert-at-eob, viper-enlarge-region)
8439 (viper-read-string-with-history, viper-register-to-point)
8440 (viper-append-to-register, viper-change-state-to-vi)
8441 (viper-backward-char-carefully, viper-forward-char-carefully)
8442 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8443 (viper-change-state-to-emacs): Declare.
8444 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8445 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8446 * emulation/viper-mous.el: Do not load viper-cmd.
8447 (viper-backward-char-carefully, viper-forward-char-carefully)
8448 (viper-forward-word, viper-adjust-window): Declare.
8450 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8452 * progmodes/idlw-help.el (idlwave-help-fontify):
8453 Use called-interactively-p.
8455 * term/w32console.el (w32-get-console-codepage)
8456 (w32-get-console-output-codepage): Declare.
8458 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8459 Remove unnecessary declarations.
8460 (dframe-message): Doc fix.
8462 * info.el (dframe-select-attached-frame, dframe-current-frame):
8465 * speedbar.el (speedbar-message): Make it an obsolete alias.
8467 (speedbar-with-attached-buffer)
8468 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8469 (speedbar-with-writable): Use backquote.
8470 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8471 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8472 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8473 rather than speedbar- aliases.
8474 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8475 (speedbar-make-specialized-keymap, speedbar-insert-button)
8476 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8477 (speedbar-do-function-pointer): Declare.
8478 (rmail-speedbar-button, rmail-speedbar-find-file)
8479 (rmail-speedbar-move-message):
8480 Use dframe-with-attached-buffer rather than speedbar- alias.
8481 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8482 (dframe-message, speedbar-make-specialized-keymap)
8483 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8484 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8485 (speedbar-insert-button, dframe-select-attached-frame)
8486 (dframe-maybee-jump-to-attached-frame)
8487 (speedbar-change-initial-expansion-list)
8488 (speedbar-previously-used-expansion-list-name): Declare.
8489 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8490 Use dframe-message, dframe-with-attached-buffer rather than
8492 (gud-sentinel): Silence compiler.
8493 * progmodes/vhdl-mode.el (speedbar-refresh)
8494 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8495 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8496 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8497 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8498 (speedbar-file-lists, speedbar-make-tag-line)
8499 (speedbar-line-directory, speedbar-goto-this-file)
8500 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8501 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8502 (speedbar-make-button, speedbar-reset-scanners)
8503 (speedbar-files-item-info, speedbar-line-text)
8504 (speedbar-find-file-in-frame, speedbar-set-timer)
8505 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8506 (speedbar-with-writable): Do not (re)define it.
8507 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8508 rather than speedbar- alias.
8510 2013-05-21 Leo Liu <sdl.web@gmail.com>
8512 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8514 (octave-mode): Tweak fill-nobreak-predicate.
8515 (inferior-octave-startup): Check process to avoid infinite loop.
8516 (inferior-octave): Pop to buffer first to show abornmal process
8519 2013-05-21 Glenn Morris <rgm@gnu.org>
8521 * printing.el (pr-menu-bar): Define when compiling.
8523 2013-05-21 Leo Liu <sdl.web@gmail.com>
8525 * progmodes/octave.el (octave-auto-fill): Remove.
8526 (octave-indent-new-comment-line): Improve.
8527 (octave-mode): Use auto fill mode through
8528 comment-line-break-function and fill-nobreak-predicate.
8529 (octave-goto-function-definition): Support DEFUN_DLD.
8530 (octave-beginning-of-defun): Small tweak.
8531 (octave-help): Show parent directory.
8533 2013-05-21 Glenn Morris <rgm@gnu.org>
8535 * files.el (dired-unmark):
8536 * progmodes/gud.el (gdb-input): Update declarations.
8538 * calculator.el (electric, ehelp): No need to load when compiling.
8539 (Electric-command-loop, electric-describe-mode): Declare.
8541 * doc-view.el (doc-view-current-converter-processes): Move before use.
8543 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8544 Move MODE-set-explicitly definition before use.
8546 * international/mule-diag.el (mule-diag):
8547 Don't use obsolete window-system-version.
8549 * mail/feedmail.el (smtpmail): No need to load when compiling.
8550 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8552 * mail/mail-utils.el (rfc822): No need to load when compiling.
8553 (rfc822-addresses): Autoload it.
8554 (mail-strip-quoted-names): Trivial simplification.
8556 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8557 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8559 * net/snmp-mode.el (tempo): Don't duplicate requires.
8561 * progmodes/prolog.el (info): No need to load when compiling.
8562 (comint): Require before shell requires it.
8563 (Info-goto-node): Autoload it.
8564 (Info-follow-nearest-node): Declare.
8565 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8567 * textmodes/artist.el (picture-mode-exit): Declare.
8569 * textmodes/reftex-parse.el (reftex-parse-from-file):
8570 Trivial rewrite so the compiler can parse it better.
8572 2013-05-20 Leo Liu <sdl.web@gmail.com>
8574 * progmodes/octave.el (octave-help-mode-map)
8575 (octave-help-mode-finish-hook): New variables.
8576 (octave-help-mode, octave-help-mode-finish): New functions.
8577 (octave-help): Use octave-help-mode.
8579 2013-05-20 Glenn Morris <rgm@gnu.org>
8581 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8583 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8585 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8586 start at point, so that expansion starting right after opening
8587 slash in a regexp is recognized.
8588 (ruby-syntax-before-regexp-re): New defvar, extracted from
8589 ruby-syntax-propertize-function. Since the value of this regexp
8590 is looked up at runtime now, we should be able to turn
8591 `ruby-syntax-methods-before-regexp' into a defcustom later.
8592 (ruby-syntax-propertize-function): Split regexp matching into two
8593 parts, for opening and closing slashes. That allows us to skip
8594 over string interpolations and support multiline regexps.
8595 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8596 for them, which calls `ruby-syntax-propertize-expansion'.
8597 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8598 call to `ruby-syntax-propertize-function'.
8599 (ruby-syntax-propertize-expansion): Extracted from
8600 `ruby-syntax-propertize-expansions'. Handles one expansion.
8601 (ruby-syntax-propertize-percent-literal): Leave point right after
8602 the percent symbol, so that the expression expansion rule can
8603 propertize the contents.
8604 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8606 (ruby-syntax-propertize-expansions): Remove.
8608 2013-05-18 Juri Linkov <juri@jurta.org>
8610 * man.el (Man-default-man-entry): Remove `-' from the end
8611 of the default value. (Bug#14400)
8613 2013-05-18 Glenn Morris <rgm@gnu.org>
8615 * comint.el (comint-password-prompt-regexp):
8616 Allow "password for XXX" where XXX contains colons (eg https://...).
8618 2013-05-18 Leo Liu <sdl.web@gmail.com>
8620 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8621 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8622 (octave-source-directories): Don't check process.
8623 (octave-source-directories, octave-find-definition): Doc fix.
8625 2013-05-18 Glenn Morris <rgm@gnu.org>
8627 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8628 Remove backspace/delete bindings. (Bug#14392)
8630 * cus-dep.el (custom-make-dependencies): Sort the output.
8631 (custom-versions-load-alist): Convert comment to doc.
8633 2013-05-17 Leo Liu <sdl.web@gmail.com>
8635 * newcomment.el (comment-search-backward): Stricter in finding
8636 comment start. (Bug#14303)
8638 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8639 (octave-comment-start-skip): Properly anchored.
8641 2013-05-17 Leo Liu <sdl.web@gmail.com>
8643 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8644 Clean up when turned off. (Bug#14395)
8645 (smie--highlight-matching-block-overlay): No longer buffer-local.
8646 (smie-highlight-matching-block): Adjust.
8648 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8650 Doc string fix for "nanoseconds" (Bug#14406).
8651 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8652 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8654 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8656 * calc/calc-units.el (math-extract-units): Preserve powers
8659 2013-05-17 Leo Liu <sdl.web@gmail.com>
8661 * subr.el (delete-consecutive-dups): New function.
8662 * ido.el (ido-set-matches-1): Use it.
8663 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8664 * ido.el (ido-remove-consecutive-dups): Remove.
8666 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8669 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8670 regexp-opt's `words'.
8672 2013-05-16 Leo Liu <sdl.web@gmail.com>
8674 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8675 (smie--highlight-matching-block-overlay)
8676 (smie--highlight-matching-block-lastpos)
8677 (smie--highlight-matching-block-timer): New variables.
8678 (smie-highlight-matching-block): New function.
8679 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8680 (smie-setup): Conditionally enable smie-blink-matching-open.
8682 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8684 Sync with upstream verilog-mode r840.
8685 * progmodes/verilog-mode.el (verilog-mode-version)
8686 (verilog-mode-release-date): Update.
8687 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8688 (verilog-sig-tieoff): Fix string error on
8689 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8690 (verilog-read-decls): Fix parameters confusing
8691 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8693 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8695 * subr.el (reveal-filename): New function.
8697 * loadup.el: Compute Emacs executable versions on MS-Windows,
8698 where executables have the .exe extension. Add a hard link
8699 emacs-XX.YY.ZZ.exe on MS-Windows.
8701 * Makefile.in (XARGS_LIMIT): New variable.
8702 (custom-deps, finder-data, autoloads)
8703 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8704 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8705 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8706 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8708 2013-05-16 Leo Liu <sdl.web@gmail.com>
8710 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8711 (octave-mode-menu, octave-mode-map): Remove its uses.
8713 2013-05-16 Reto Zimmermann <reto@gnu.org>
8715 Sync with upstream vhdl mode v3.34.2.
8716 * progmodes/vhdl-mode.el: Use `push' throughout.
8717 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8718 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8719 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8720 (vhdl-actual-generic-name): New option to derive actual generic name.
8721 (vhdl-port-paste-signals): Replace formal by actual generics.
8722 (vhdl-beautify): New name for old group vhdl-align. Update users.
8723 (vhdl-beautify-options): New option.
8724 (vhdl-last-input-event): New compat alias. Use throughout.
8725 (vhdl-goto-line): Replace user level function `goto-line'.
8726 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8727 vhdl-fix-statement-buffer.
8728 (vhdl-create-mode-menu): Add some entries.
8729 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8730 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8731 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8732 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8733 to force statements on one line.
8734 (vhdl-remove-trailing-spaces-region):
8735 New, split from vhdl-remove-trailing-spaces.
8736 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8737 Respect vhdl-beautify-options.
8738 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8739 (vhdl-update-sensitivity-list): Not add with index if exists without.
8740 Not include array index with signal. Ignore keywords in comments.
8741 (vhdl-get-visible-signals): Regexp tweaks.
8742 (vhdl-template-component-inst): Handle empty library.
8743 (vhdl-template-type): Add template for 'enum' type.
8744 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8745 Use vhdl-replace-string.
8746 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8747 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8748 (vhdl-speedbar-initialize): Update for above name change.
8749 (vhdl-compose-wire-components): Fix in handling of constants.
8750 (vhdl-error-regexp-emacs-alist): New variable.
8751 (vhdl-error-regexp-add-emacs): New function;
8752 adds support for new compile.el (Emacs 22+)
8753 (vhdl-generate-makefile-1): Change target order for single lib. units.
8754 Allow use of absolute file names.
8756 2013-05-16 Leo Liu <sdl.web@gmail.com>
8758 * simple.el (prog-indent-sexp): Indent enclosing defun.
8760 2013-05-15 Glenn Morris <rgm@gnu.org>
8762 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8763 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8764 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8765 (whitespace-highlight): Move to whitespace group.
8767 * comint.el (comint-source):
8768 * pcmpl-linux.el (pcmpl-linux):
8769 * shell.el (shell-faces):
8770 * eshell/esh-opt.el (eshell-opt):
8771 * international/ccl.el (ccl): Remove empty custom groups.
8773 * completion.el (dynamic-completion-mode):
8774 * jit-lock.el (jit-lock-debug-mode):
8775 * minibuffer.el (completion-in-region-mode):
8776 * type-break.el (type-break-mode-line-message-mode)
8777 (type-break-query-mode):
8778 * emulation/tpu-edt.el (tpu-edt-mode):
8779 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8780 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8781 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8783 * term/xterm.el (xterm): Change parent group to terminals.
8785 * master.el (master): Remove empty custom group.
8786 (master-mode): Remove unused :group argument.
8787 * textmodes/refill.el (refill): Remove empty custom group.
8788 (refill-mode): Remove unused :group argument.
8790 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8792 * cus-dep.el: Provide a feature.
8793 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8794 Don't mistakenly ignore files whose basenames match a basename
8795 from preloaded-file-list (eg cedet/ede/simple.el).
8796 Add a fallback method for getting :group.
8798 2013-05-15 Juri Linkov <juri@jurta.org>
8800 * isearch.el (isearch-char-by-name): Rename from
8801 `isearch-insert-char-by-name'. Doc fix.
8802 (isearch-forward): Mention `isearch-char-by-name' in
8803 the docstring. (Bug#13348)
8805 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8806 `exit-minibuffer' instead of
8807 `isearch-nonincremental-exit-minibuffer'.
8808 (isearch-edit-string): Remove mention of
8809 `isearch-nonincremental-exit-minibuffer' from docstring.
8810 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8811 (isearch-forward-exit-minibuffer)
8812 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8814 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8816 * loadup.el: Just use unversioned DOC.
8818 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8819 literals as extending to EOB.
8820 (nxml-last-fontify-end): Remove unused variable.
8821 (nxml-after-change1): Use with-silent-modifications.
8822 (nxml-extend-after-change-region): Simplify.
8823 (nxml-extend-after-change-region1): Remove function.
8824 (nxml-after-change1): Don't adjust for dependent regions.
8825 (nxml-fontify-matcher): Simplify.
8826 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8827 (xmltok-add-dependent): Remove function.
8828 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8829 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8830 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8831 unclosed <[[, <?, comment, and other literals as extending to EOB.
8832 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8833 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8835 (rng-do-some-validation-1): Don't mark dependent regions.
8836 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8837 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8838 (nxml-clear-dependent-regions): Remove functions.
8839 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8840 (nxml-ensure-scan-up-to-date):
8841 Don't clear&mark dependent regions.
8843 2013-05-15 Leo Liu <sdl.web@gmail.com>
8845 * progmodes/octave.el (octave-goto-function-definition):
8846 Improve and fix callers.
8848 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8851 the setter (bug#14387).
8853 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8854 surrounding group (bug#14402).
8856 2013-05-14 Juri Linkov <juri@jurta.org>
8858 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8861 2013-05-14 Glenn Morris <rgm@gnu.org>
8863 * progmodes/f90.el (f90-imenu-generic-expression):
8864 Fix typo in 2013-05-08 change. (Bug#14402)
8866 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8868 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8869 Remove signals for which replies are never received.
8871 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8873 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8874 (gdb-handler-alist, gdb-handler-number): Remove variables.
8875 (gdb-handler-list): New variable.
8876 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8877 (gdb-pending-handler-p, gdb-handle-reply)
8878 (gdb-remove-all-pending-triggers): New functions.
8879 (gdb-discard-unordered-replies): New defcustom.
8880 (gdb-handler): New defstruct.
8881 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8882 instead of gdb-pending-triggers. Update docstring.
8883 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8884 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8885 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8886 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8887 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8888 (gdb-frame-handler): Pending triggers are now automatically managed.
8889 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8891 (gdb-input): Automatically handles pending triggers. Update docstring.
8892 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8893 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8895 (gdb-done-or-error): Now use gdb-handle-reply.
8897 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8899 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8902 2013-05-14 Glenn Morris <rgm@gnu.org>
8904 * subr.el (user-emacs-directory-warning): New option.
8905 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8907 2013-05-14 Leo Liu <sdl.web@gmail.com>
8909 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8911 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8912 (octave-font-lock-texinfo-comment): Fix invalid search bound
8913 error: wrong side of point.
8915 2013-05-14 Glenn Morris <rgm@gnu.org>
8917 * progmodes/flymake.el (flymake-xml-program): New option.
8918 (flymake-xml-init): Use it.
8920 * term/xterm.el: Provide a feature.
8922 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8924 2013-05-13 Glenn Morris <rgm@gnu.org>
8926 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8927 Add compat aliases as a hack workaround. (Bug#14384)
8929 2013-05-13 Leo Liu <sdl.web@gmail.com>
8931 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8933 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8935 (octave-comment-start-skip): Include %!.
8936 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8938 2013-05-12 Leo Liu <sdl.web@gmail.com>
8940 * progmodes/octave.el (inferior-octave-startup): Store the value
8941 of __octave_srcdir__ for octave-source-directories.
8942 (inferior-octave-check-process): New function refactored out of
8943 inferior-octave-send-list-and-digest.
8944 (octave-source-directories)
8945 (octave-find-definition-filename-function): New variables.
8946 (octave-source-directories)
8947 (octave-find-definition-default-filename): New functions.
8948 (octave-find-definition): Improve to find functions implemented in C++.
8950 2013-05-12 Glenn Morris <rgm@gnu.org>
8952 * calendar/diary-lib.el (diary-outlook-format-1):
8953 Don't include dayname in the output. (Bug#14349)
8955 2013-05-11 Glenn Morris <rgm@gnu.org>
8957 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8959 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8960 Treat cc-provide like provide.
8962 2013-05-11 Kevin Ryde <user42@zip.com.au>
8964 * cus-dep.el (custom-make-dependencies):
8965 Use generated-autoload-load-name for the sake of files such
8966 such cedet/semantic/bovine/c.el, where the base file name
8967 is not in load-path. (Bug#5277)
8969 2013-05-11 Glenn Morris <rgm@gnu.org>
8971 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8974 2013-05-11 Leo Liu <sdl.web@gmail.com>
8976 * progmodes/octave.el (octave-indent-comment): Improve.
8977 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8978 (octave-eldoc-function-signatures, octave-eldoc-function):
8980 (octave-mode, inferior-octave-mode): Add eldoc support.
8982 2013-05-11 Richard Stallman <rms@gnu.org>
8984 * epa.el (epa-decrypt-file): Take output file name as argument
8985 and read it using `interactive'.
8987 2013-05-11 Leo Liu <sdl.web@gmail.com>
8989 * progmodes/octave.el (octave-beginning-of-line)
8990 (octave-end-of-line): Check before using up-list because it jumps
8991 out of more syntactic contructs since moving to smie.
8992 (octave-indent-comment): New function.
8993 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8994 (octave-begin-keywords, octave-end-keywords)
8995 (octave-reserved-words, octave-smie-bnf-table)
8996 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8998 2013-05-11 Glenn Morris <rgm@gnu.org>
9000 * faces.el (internal-face-x-get-resource):
9001 * frame.el (ns-display-monitor-attributes-list):
9002 * calc/calc-aent.el (math-to-radians-2):
9003 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9006 * calc/calc-menu.el: Make it loadable in isolation.
9008 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9009 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9010 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9011 (eudc-bbdb-query-internal): Require 'bbdb.
9013 * lpr.el (lpr-headers-switches):
9014 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9016 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9018 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9020 * term.el (term-set-escape-char): Make it idempotent.
9022 2013-05-10 Leo Liu <sdl.web@gmail.com>
9024 * progmodes/octave.el (inferior-octave-completion-table):
9025 No longer a function and all uses changed. Use cache to speed up
9026 completion due to bug#11906.
9027 (octave-beginning-of-defun): Re-write to be more general.
9029 2013-05-10 Glenn Morris <rgm@gnu.org>
9031 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9033 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9035 * comint.el (comint-redirect-send-command-to-process): Use :around
9036 rather than :override for comint-redirect-filter.
9037 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9038 Call it instead of comint-redirect-original-filter-function (which
9039 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9041 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9043 * frame.el (display-monitor-attributes-list): Add NS case.
9044 (ns-display-monitor-attributes-list): Declare.
9046 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9048 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9050 2013-05-09 Glenn Morris <rgm@gnu.org>
9052 * international/fontset.el (vertical-centering-font-regexp):
9055 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9057 * bookmark.el (bookmark-search-delay):
9058 * cus-start.el (vertical-centering-font-regexp):
9059 * ps-mule.el (ps-mule-font-info-database-default):
9060 * ps-print.el (ps-default-fg, ps-default-bg):
9061 * type-break.el (type-break-good-break-interval):
9062 * whitespace.el (whitespace-indentation-regexp)
9063 (whitespace-space-after-tab-regexp):
9064 * emacs-lisp/testcover.el (testcover-1value-functions)
9065 (testcover-noreturn-functions, testcover-progn-functions)
9066 (testcover-prog1-functions):
9067 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9068 * eshell/em-glob.el (eshell-glob-translate-alist):
9069 * play/tetris.el (tetris-tty-colors):
9070 * progmodes/cpp.el (cpp-face-default-list):
9071 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9072 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9073 (idlwave-help-browser-generic-args):
9074 * progmodes/make-mode.el (makefile-special-targets-list):
9075 * progmodes/python.el (python-shell-virtualenv-path):
9076 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9077 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9078 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9079 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9080 * textmodes/reftex-vars.el (reftex-format-label-function):
9081 * textmodes/remember.el (remember-diary-file): Fix custom types.
9083 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9086 2013-05-09 Leo Liu <sdl.web@gmail.com>
9088 * progmodes/octave.el (inferior-octave-completion-at-point):
9089 Restore file completion. (Bug#14300)
9090 (inferior-octave-startup): Fix incorrect highlighting for the
9093 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9095 * progmodes/ruby-mode.el: First cut at SMIE support.
9096 (ruby-use-smie): New var.
9097 (ruby-smie-grammar): New constant.
9098 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9099 (ruby-smie--forward-token, ruby-smie--backward-token)
9100 (ruby-smie-rules): New functions.
9101 (ruby-mode-variables): Setup SMIE if applicable.
9103 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9105 * simple.el (line-move-visual): Signal beginning/end of buffer
9106 only if vertical-motion moved less than it was requested. Avoids
9107 silly incorrect error messages when there are display strings with
9108 multiple newlines at EOL.
9110 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9112 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9113 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9114 (prolog-char-quote-workaround):
9115 * progmodes/cperl-mode.el (cperl-under-as-char):
9116 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9118 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9120 (vhdl-mode-syntax-table-init): Remove.
9122 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9125 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9127 (ld-script-font-lock-keywords):
9128 Change regexps to use things like \_< and \_>.
9130 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9131 Change all regexps to use things like \_< and \_>.
9133 * progmodes/autoconf.el (autoconf-definition-regexp)
9134 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9135 Handle a _ with symbol syntax.
9136 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9138 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9139 Consolidate declaration.
9140 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9142 (ada-create-syntax-table): Remove.
9143 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9144 already has the right syntax nowadays.
9145 (ada-goto-next-word): Don't change the syntax of "_".
9147 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9150 2013-05-08 Sam Steingold <sds@gnu.org>
9152 * thingatpt.el (thing-at-point): Accept optional second argument
9153 NO-PROPERTIES to strip the text properties from the return value.
9154 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9155 to `thing-at-point' instead of stripping the properties ourselves.
9156 Also, when `thing-at-point' fails to find a url, prepend "http://"
9157 to the filename at point on the assumption that the user is
9158 pointing at something like gnu.org/gnu.
9160 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9162 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9163 * faces.el (crm-separator):
9164 Silence byte-compiler.
9166 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9167 (tool-bar-map): Remove unneeded defvars.
9169 2013-05-08 Leo Liu <sdl.web@gmail.com>
9171 Re-work a fix for bug#10994 based on Le Wang's patch.
9172 * ido.el (ido-remove-consecutive-dups): New helper.
9173 (ido-completing-read): Use it.
9174 (ido-chop): Revert fix for bug#10994.
9176 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9178 * cus-edit.el (custom-save-variables):
9179 Pretty-print long values. (Bug#14187)
9181 2013-05-08 Glenn Morris <rgm@gnu.org>
9183 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9184 (m4-mode-syntax-table): Init in the defvar.
9185 (m4-mode-abbrev-table): Let define-derived-mode define it.
9187 2013-05-08 Tom Tromey <tromey@redhat.com>
9189 * progmodes/m4-mode.el (m4-mode-syntax-table):
9190 Do not treat "_" as word constituent. (Bug#14167)
9192 2013-05-07 Glenn Morris <rgm@gnu.org>
9194 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9195 Remove explicit eshell-isearch-cancel-map.
9197 * progmodes/f90.el (f90-smart-end-names): New option.
9198 (f90-smart-end): Doc fix.
9199 (f90-end-block-optional-name): New constant.
9200 (f90-block-match): Respect f90-smart-end-names.
9202 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9204 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9205 about implicit semi-colons (bug#14218).
9207 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9209 * frame.el (display-monitor-attributes-list)
9210 (frame-monitor-attributes): New functions.
9212 2013-05-06 Leo Liu <sdl.web@gmail.com>
9214 * progmodes/octave.el (octave-syntax-propertize-function): Change
9215 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9216 (octave-font-lock-keywords): Use octave-operator-regexp.
9217 (octave-completion-at-point): Rename from
9218 octave-completion-at-point-function.
9219 (inferior-octave-directory-tracker): Robustify.
9220 (octave-text-functions): Remove and fix its uses. No such things
9223 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * emacs-lisp/trace.el (trace--display-buffer): New function.
9226 (trace-make-advice): Use it.
9228 2013-05-06 Juri Linkov <juri@jurta.org>
9230 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9231 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9233 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9234 in the help string. (Bug#12985)
9236 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9238 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9240 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9242 * progmodes/perl-mode.el: Add support for here documents.
9243 (perl-syntax-propertize-function): Match here-doc markers.
9244 (perl-syntax-propertize-special-constructs): Find their end.
9245 (perl-imenu-generic-expression): Use [:alnum:].
9247 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9248 (advice--add-function): Refresh the advice if already present
9251 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9253 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9255 2013-05-06 Glenn Morris <rgm@gnu.org>
9257 * w32-fns.el (w32-charset-info-alist): Declare.
9259 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9260 of its defcustom properties.
9261 (eshell-cmpl-initialize): No need to load pcomplete.
9263 * generic-x.el: No need to require comint when compiling.
9265 * net/eudc-export.el: Make it loadable without bbdb.
9266 (top-level): Use require rather than load-library.
9267 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9268 (eudc-batch-export-records-to-bbdb)
9269 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9272 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9274 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9275 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9276 some tweaks, instead.
9278 2013-05-05 Leo Liu <sdl.web@gmail.com>
9280 * progmodes/octave.el (octave-font-lock-keywords)
9281 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9282 (inferior-octave-send-list-and-digest): Improve error message.
9283 (octave-mode, inferior-octave-mode): Use setq-local.
9284 (octave-help): Set info-lookup-mode.
9286 2013-05-05 Richard Stallman <rms@gnu.org>
9288 * vc/compare-w.el (compare-windows-whitespace):
9289 Treat no-break space as whitespace.
9291 * mail/rmailsum.el (rmail-summary-rmail-update):
9292 Detect empty summary and don't change selected message.
9293 (rmail-summary-goto-msg): Likewise.
9295 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9296 Doc fixes, rename args.
9298 2013-05-05 Alan Mackenzie <acm@muc.de>
9300 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9302 2013-05-05 Juri Linkov <juri@jurta.org>
9304 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9305 to not add the length of the summary segment to the return value.
9308 2013-05-05 Leo Liu <sdl.web@gmail.com>
9310 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9311 (inferior-octave-output-filter): Remove.
9312 (octave-send-region, inferior-octave-startup): Fix callers.
9313 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9314 (octave-binary-file-extensions): New user variable.
9315 (octave-find-definition): Confirm if opening binary files.
9316 (octave-help-file): Use octave-find-definition to get the binary
9318 (octave-help): Adjust for octave-help-file change.
9320 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9323 Merge the two entries that handle function definitions.
9324 (pascal--syntax-propertize): New const.
9325 (pascal-mode): Use it. Use setq-local.
9327 2013-05-04 Glenn Morris <rgm@gnu.org>
9329 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9330 (diary-from-outlook): Respect diary-from-outlook-function.
9332 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9334 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9335 Move the declaration from C.
9336 (read-minibuffer, eval-minibuffer): Move from C.
9337 (completion-setup-function): Avoid minibuffer-completion-contents.
9339 2013-05-03 Leo Liu <sdl.web@gmail.com>
9341 * progmodes/octave.el (octave-font-lock-keywords): Do not
9342 dehighlight 'end' in comments or strings.
9343 (octave-completing-read, octave-goto-function-definition):
9345 (octave-help-buffer): New user variable.
9346 (octave-help-file, octave-help-function): New button types.
9347 (octave-help): New command and bind it to C-h ;.
9348 (octave-find-definition): New command and bind it to M-.
9349 (user-error): Alias to error if not defined.
9351 2013-05-02 Leo Liu <sdl.web@gmail.com>
9353 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9355 (octave-font-lock-keywords): Include [ and {.
9357 2013-05-02 Leo Liu <sdl.web@gmail.com>
9359 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9360 (inferior-octave): Remove calling comint-mode and return the buffer.
9361 (inferior-octave-startup): Cosmetic changes.
9363 2013-05-02 Leo Liu <sdl.web@gmail.com>
9365 * progmodes/octave.el (octave-syntax-propertize-function):
9366 Include the case when ' is at line beginning. (Bug#14336)
9368 2013-05-02 Glenn Morris <rgm@gnu.org>
9370 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9371 * desktop.el (vc-dir-mode): Just autoload it here.
9373 2013-05-02 Alan Mackenzie <acm@muc.de>
9375 Eliminate variable c-standard-font-lock-fontify-region-function.
9376 * progmodes/cc-mode.el
9377 (c-standard-font-lock-fontify-region-function): Remove.
9378 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9380 2013-05-01 Leo Liu <sdl.web@gmail.com>
9382 * progmodes/octave.el: Compatible with older emacs-24 releases.
9383 (inferior-octave-has-built-in-variables): Remove. Built-in
9384 variables were removed from Octave in 2007.
9385 (inferior-octave-startup): Fix uses.
9386 (comint-line-beginning-position): Remove compatibility code for
9389 2013-05-01 Juri Linkov <juri@jurta.org>
9391 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9393 2013-05-01 Juri Linkov <juri@jurta.org>
9395 * comint.el (comint-previous-matching-input): Don't print message
9396 "History item: %d" when `isearch-mode' is active.
9397 (comint-history-isearch-message): Print message "History item: %d"
9398 when `comint-input-ring-index' is not empty and this function is
9399 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9401 2013-05-01 Leo Liu <sdl.web@gmail.com>
9403 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9404 definitions. Use completion-at-point to insert keywords.
9405 (octave-abbrev-start): Remove.
9406 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9408 2013-04-30 Leo Liu <sdl.web@gmail.com>
9410 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9413 2013-04-30 Alan Mackenzie <acm@muc.de>
9415 Handle arbitrarily long C++ member initialisation lists.
9416 * progmodes/cc-engine.el (c-back-over-member-initializers):
9418 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9419 (most) member init lists.
9421 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9423 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9426 2013-04-30 Leo Liu <sdl.web@gmail.com>
9428 * progmodes/octave.el (octave-variables): Remove. No builtin
9429 variables any more. All converted to functions.
9430 (octave-font-lock-keywords, octave-completion-at-point-function):
9432 (octave-font-lock-texinfo-comment): New user variable.
9433 (octave-texinfo-font-lock-keywords): New variable for texinfo
9435 (octave-function-comment-block): New face.
9436 (octave-font-lock-texinfo-comment): New function.
9437 (octave-mode): Font lock texinfo comment block.
9439 2013-04-29 Leo Liu <sdl.web@gmail.com>
9441 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9442 indexing expression.
9443 (octave-continuation-string): Do not use \.
9444 (inferior-octave-complete-impossible): Remove.
9445 (inferior-octave-completion-table)
9446 (inferior-octave-completion-at-point): Remove its uses.
9447 (inferior-octave-startup): completion_matches was introduced to
9448 Octave in 1996 so safe to assume it.
9449 (octave-function-file-comment): Improve to follow how Octave does it.
9450 (octave-update-function-file-comment): Tweak.
9452 2013-04-29 Leo Liu <sdl.web@gmail.com>
9454 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9455 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9456 (octave-function-file-comment): Fix typo.
9457 (octave-sync-function-file-names): Use read-char-choice.
9459 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9461 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9462 to t for the less important warnings.
9464 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9466 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9468 2013-04-27 Glenn Morris <rgm@gnu.org>
9470 * vc/log-view.el (log-view-current-entry):
9471 Treat "---" separator lines as part of the following rev. (Bug#14169)
9473 2013-04-27 Juri Linkov <juri@jurta.org>
9475 * subr.el (read-number): Doc fix about using it by interactive
9476 code letter `n'. (Bug#14254)
9478 2013-04-27 Juri Linkov <juri@jurta.org>
9480 * desktop.el (desktop-auto-save-timeout): New option.
9481 (desktop-file-checksum): New variable.
9482 (desktop-save): Add optional arg `auto-save' and don't auto-save
9484 (desktop-auto-save-timer): New variable.
9485 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9486 (after-init-hook): Call `desktop-auto-save-set-timer'.
9487 Suggested by Reuben Thomas <rrt@sc3d.org> in
9488 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9490 2013-04-27 Leo Liu <sdl.web@gmail.com>
9492 * progmodes/octave.el (octave-function-file-p)
9493 (octave-skip-comment-forward, octave-function-file-comment)
9494 (octave-update-function-file-comment): New functions.
9495 (octave-mode-map): Bind C-c ; to
9496 octave-update-function-file-comment.
9497 (octave-mode-menu): Add octave-update-function-file-comment.
9498 (octave-mode, inferior-octave-mode): Fix doc-string.
9499 (octave-insert-defun): Conform to Octave's coding convention.
9502 * files.el (basic-save-buffer): Don't let errors in
9503 before-save-hook prevent saving buffer.
9505 2013-04-20 Roland Winkler <winkler@gnu.org>
9507 * faces.el (read-face-name): Use completing-read if arg multiple
9510 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9512 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9513 displayed, move point to after the totals line.
9514 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9517 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9519 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9520 Add current dir to the load-path.
9521 (package-generate-autoloads): Don't rely on
9522 autoload-ensure-default-file.
9524 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9526 * textmodes/remember.el (remember-store-in-files): Document that
9527 the file name format is passed to `format-time-string'.
9529 2013-04-26 Leo Liu <sdl.web@gmail.com>
9531 * progmodes/octave.el (octave-sync-function-file-names): New function.
9532 (octave-mode): Use it in before-save-hook.
9534 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9539 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9540 \n and comment, even if it's not an implicit ; (bug#14218).
9542 2013-04-26 Glenn Morris <rgm@gnu.org>
9544 * subr.el (read-number): Once more use `read' rather than
9545 `string-to-number', to trap non-numeric input. (Bug#14254)
9547 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9549 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9550 Use `syntax-multiline' text property consistently instead of
9551 `font-lock-multiline'. (Bug#14237)
9553 2013-04-26 Glenn Morris <rgm@gnu.org>
9555 * emacs-lisp/shadow.el (list-load-path-shadows):
9556 No longer necessary to check for duplicate simple.el, since
9557 2012-07-07 change to init_lread to not include installation lisp
9558 directories in load-path when running uninstalled. (Bug#14270)
9560 2013-04-26 Leo Liu <sdl.web@gmail.com>
9562 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9563 (octave-mode, inferior-octave-mode): Use setq-local.
9564 (octave-not-in-string-or-comment-p): Rename to
9565 octave-in-string-or-comment-p.
9566 (octave-in-comment-p, octave-in-string-p)
9567 (octave-in-string-or-comment-p): Replace defsubst with defun.
9569 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9571 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9573 2013-04-25 Bastien Guerry <bzg@gnu.org>
9575 * textmodes/remember.el (remember-data-directory)
9576 (remember-directory-file-name-format): Fix custom types.
9578 2013-04-25 Leo Liu <sdl.web@gmail.com>
9580 * progmodes/octave.el (octave-completion-at-point-function):
9581 Make use of inferior octave process.
9582 (octave-initialize-completions): Remove.
9583 (inferior-octave-completion-table): New function.
9584 (inferior-octave-completion-at-point): Use it.
9585 (octave-completion-alist): Remove.
9587 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9590 (opascal-mode-syntax-table): New var.
9591 (opascal-literal-kind, opascal-is-literal-end)
9592 (opascal-literal-token-at): Rewrite.
9593 (opascal--literal-start-re, opascal-font-lock-keywords)
9594 (opascal--syntax-propertize): New constants.
9595 (opascal-font-lock-defaults): Adjust.
9596 (opascal-mode): Use them. Set comment-<foo> variables as well.
9597 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9598 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9599 (delphi-other-face, opascal-other-face): Remove face variables.
9600 (opascal-save-state): Remove macro.
9601 (opascal-fontifying-progress-step): Remove constant.
9602 (opascal--ignore-changes): Remove var.
9603 (opascal-set-token-property, opascal-parse-next-literal)
9604 (opascal-is-stable-literal, opascal-complete-literal)
9605 (opascal-is-literal-start, opascal-face-of)
9606 (opascal-parse-region, opascal-parse-region-until-stable)
9607 (opascal-fontify-region, opascal-after-change)
9608 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9609 (opascal-debug-parse-region, opascal-debug-parse-window)
9610 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9611 (opascal-debug-fontify-buffer): Remove.
9612 (opascal-debug-mode-map): Adjust accordingly.
9614 2013-04-25 Leo Liu <sdl.web@gmail.com>
9616 Merge octave-mod.el and octave-inf.el into octave.el with some
9618 * progmodes/octave.el: New file renamed from octave-mod.el.
9619 * progmodes/octave-inf.el: Merged into octave.el.
9620 * progmodes/octave-mod.el: Renamed to octave.el.
9622 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9624 * textmodes/reftex-vars.el
9625 (reftex-label-ignored-macros-and-environments): New defcustom.
9627 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9629 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9631 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9632 (smie-indent-keyword): Improve the check to ensure that the next
9633 comment is really on the same line.
9634 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9636 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9637 semi-colons if the line is not otherwise empty (bug#14218).
9639 2013-04-25 Glenn Morris <rgm@gnu.org>
9641 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9643 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9645 * progmodes/opascal.el (opascal-set-token-property): Rename from
9646 opascal-set-text-properties and only set `token' (bug#14134).
9647 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9648 (opascal-literal-text-properties): Remove.
9649 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9652 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9654 * textmodes/remember.el (remember-handler-functions): Add an
9655 option for a new handler `remember-store-in-files'.
9656 (remember-data-directory, remember-directory-file-name-format):
9658 (remember-store-in-files): New function to store remember notes
9659 as separate files within a directory.
9661 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9663 * progmodes/compile.el (compilation-next-error-function):
9664 Pass "formats" to compilation-find-file (bug#11777).
9666 2013-04-24 Glenn Morris <rgm@gnu.org>
9668 * vc/vc-bzr.el (vc-bzr-print-log):
9669 * vc/vc-hg.el (vc-hg-print-log):
9670 * vc/vc-svn.el (vc-svn-print-log):
9671 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9673 * vc/vc-bzr.el (vc-bzr-print-log):
9674 * vc/vc-cvs.el (vc-cvs-print-log):
9675 * vc/vc-git.el (vc-git-print-log):
9676 * vc/vc-hg.el (vc-hg-print-log):
9677 * vc/vc-mtn.el (vc-mtn-print-log):
9678 * vc/vc-rcs.el (vc-rcs-print-log):
9679 * vc/vc-sccs.el (vc-sccs-print-log):
9680 * vc/vc-svn.el (vc-svn-print-log):
9681 * vc/vc.el (vc-print-log-internal): Doc fixes.
9683 2013-04-23 Glenn Morris <rgm@gnu.org>
9685 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9686 Remove venerable code attempting to avoid substitute-command-keys.
9688 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9690 * textmodes/reftex-vars.el (reftex-label-regexps):
9691 Call `reftex-compile-variables' after changes to this variable.
9693 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9696 Use lexical-binding.
9697 (jit-lock-force-redisplay): Use markers, check buffer's continued
9698 existence and beware narrowed buffers.
9699 (jit-lock-fontify-now): Adjust call accordingly.
9701 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9703 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9704 to avoid misleading the user.
9706 2013-04-22 Leo Liu <sdl.web@gmail.com>
9708 * info-look.el: Prefer latex2e.info. (Bug#14240)
9710 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9712 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9714 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9715 * net/tramp.el (tramp-call-process): ... here.
9716 (tramp-set-completion-function, tramp-parse-putty):
9717 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9718 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9719 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9720 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9721 (tramp-call-local-coding-command): Use `tramp-call-process'
9722 instead of `tramp-compat-call-process'.
9724 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9725 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9726 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9727 (tramp-find-inline-compress): Improve traces.
9728 (tramp-maybe-send-script): Check for Perl binary.
9729 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9731 2013-04-22 Daiki Ueno <ueno@gnu.org>
9733 * epg.el (epg-context-pinentry-mode): New function.
9734 (epg-context-set-pinentry-mode): New function.
9735 (epg--start): Pass --pinentry-mode option to gpg command.
9737 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9739 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9740 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9741 `completion-at-point'. (Bug#13774)
9743 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9744 default key binding for `describe-distribution' has been moved to
9745 `C-h C-o'. (Bug#13970)
9747 2013-04-21 Glenn Morris <rgm@gnu.org>
9749 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9751 (vc-print-log): Clarify interactive prompt.
9753 2013-04-20 Glenn Morris <rgm@gnu.org>
9755 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9756 No longer include timestamp etc information.
9758 2013-04-20 Roland Winkler <winkler@gnu.org>
9760 * faces.el (read-face-name): Bug fix, return just one face if arg
9761 multiple is nil. (Bug#14209)
9763 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9766 (remove-function): Autoload.
9768 * comint.el (comint-redirect-original-filter-function): Remove.
9769 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9770 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9771 (vc-cvs-annotate-command):
9772 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9773 * progmodes/prolog.el (prolog-consult-compile):
9774 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9775 Use add/remove-function instead.
9776 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9777 (gud-tooltip-process-output, gud-tooltip-tips):
9778 Use add/remove-function instead.
9779 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9780 (scheme-interaction-mode, exit-scheme-interaction-mode):
9781 Use add/remove-function instead.
9783 * vc/vc-dispatcher.el: Use lexical-binding.
9784 (vc--process-sentinel): Rename from vc-process-sentinel.
9785 Change last arg to be the code to run. Don't use vc-previous-sentinel
9786 and vc-sentinel-commands any more.
9787 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9788 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9790 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9792 * progmodes/sh-script.el (sh-imenu-generic-expression):
9793 Handle function names with a single character. (Bug#14111)
9795 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9797 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9798 for subroutines defined in an eval (bug#14182).
9800 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9802 * bookmark.el (bookmark-completing-read): Improve handling of empty
9805 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9809 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9811 New faster Imenu implementation (bug#14058).
9812 * progmodes/python.el:
9813 (python-imenu-prev-index-position):
9814 (python-imenu-format-item-label-function)
9815 (python-imenu-format-parent-item-label-function)
9816 (python-imenu-format-parent-item-jump-label-function):
9818 (python-imenu-format-item-label)
9819 (python-imenu-format-parent-item-label)
9820 (python-imenu-format-parent-item-jump-label)
9821 (python-imenu--put-parent, python-imenu--build-tree)
9822 (python-imenu-create-index, python-imenu-create-flat-index)
9823 (python-util-popn): New functions.
9824 (python-mode): Set imenu-create-index-function to
9825 python-imenu-create-index.
9827 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9829 * winner.el (winner-active-region): Use region-active-p, activate-mark
9830 and deactivate-mark (bug#14225).
9832 * simple.el (deactivate-mark): Don't inline it.
9834 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9836 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9838 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9840 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9841 file extensions from the archive-mode entry in order to prefer
9842 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9844 2013-04-18 Leo Liu <sdl.web@gmail.com>
9846 * bindings.el (help-event-list): Add ?\?.
9848 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * subr.el (with-wrapper-hook): Declare obsolete.
9851 * simple.el (filter-buffer-substring-function): New hook.
9852 (filter-buffer-substring): Use it.
9853 (filter-buffer-substring-functions): Mark obsolete.
9854 * minibuffer.el (completion-in-region-function): New hook.
9855 (completion-in-region): Use it.
9856 (completion-in-region-functions): Mark obsolete.
9857 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9858 * abbrev.el (abbrev-expand-function): New hook.
9859 (expand-abbrev): Use it.
9860 (abbrev-expand-functions): Mark obsolete.
9861 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9864 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9866 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9867 and do not care about match data.
9869 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9871 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9872 completion tables when completing error conditions and
9873 `declare' arguments.
9874 (lisp-complete-symbol, field-complete): Mark as obsolete.
9875 (check-parens): Unmatched parens are user errors.
9876 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9878 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9880 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9881 command changed buffer (ie. `flyspell-pre-buffer' is not current
9882 buffer), which prevents making decisions based on invalid value of
9883 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9884 cause an error when `flyspell-pre-point' was nil after switching
9886 (flyspell-post-command-hook): No longer needs to change buffers when
9887 checking pre-word. While at it remove unnecessary progn.
9889 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9891 * textmodes/ispell.el (ispell-add-per-file-word-list):
9892 Fix `flyspell-correct-word-before-point' error when accepting
9893 words and `coment-padding' is an integer by using
9894 `comment-normalize-vars' (Bug #14214).
9896 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9898 New defun movement commands.
9899 * progmodes/python.el (python-nav--syntactically)
9900 (python-nav--forward-defun, python-nav-backward-defun)
9901 (python-nav-forward-defun): New functions.
9903 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9905 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9906 (python-syntax-context): Use named compiler-macro for backwards
9907 compatibility with Emacs 24.x.
9909 2013-04-17 Leo Liu <sdl.web@gmail.com>
9911 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9912 octave-hide-process-buffer.
9914 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9916 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9919 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9921 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9922 Fix adjustment of offset when receiving incomplete responses from GDB
9925 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9928 python-mode-abbrev-table.
9929 (python-skeleton-define): Adjust accordingly.
9930 (python-mode-abbrev-table): New table that inherits from it so that
9931 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9933 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9934 (abbrev-symbol): Use it.
9935 (abbrev--before-point): Use it since we already handle inheritance.
9937 2013-04-16 Leo Liu <sdl.web@gmail.com>
9939 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9940 binding to info-lookup-symbol.
9942 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9944 * minibuffer.el (completion--twq-all):
9945 * term/ns-win.el (ns-initialize-window-system):
9946 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9948 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9950 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9953 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9955 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9957 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9958 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9960 (ruby-end-of-defun): Remove the unused arg, change the docstring
9961 to reflect that this function is only used as the value of
9962 `end-of-defun-function'.
9963 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9964 to reflect an earlier change that beginning/end-of-defun functions
9965 jump between methods in a class definition, as well as top-level
9968 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * minibuffer.el (minibuffer-complete): Don't just scroll
9971 a *Completions* that's been iconified.
9972 (minibuffer-force-complete): Make sure repetitions do cycle when going
9973 through completion-in-region -> minibuffer-complete.
9975 2013-04-15 Alan Mackenzie <acm@muc.de>
9977 Correct the placement of c-cpp-delimiters when there're #s not at
9980 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9981 place a submatch around the #.
9982 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9983 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9986 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9988 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9989 (advice--member-p): New arg `name'.
9990 (advice--add-function, advice-member-p): Use it (bug#14202).
9992 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9994 Reformulate java imenu-generic-expression.
9995 The old expression contained ill formed regexps.
9997 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9998 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9999 (cc-imenu-java-method-arg-regexp): New defconsts.
10000 (cc-imenu-java-build-type-args-regex): New defun.
10001 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10002 handling of spaces in the regexp.
10004 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10006 * textmodes/ispell.el (ispell-command-loop): Remove
10007 flyspell highlight of a word when ispell accepts it (bug #14178).
10009 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10011 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10012 uses code from the previous `ange-ftp-run-real-handler'.
10013 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10014 only in case that function exist. This is needed for proper
10015 unloading of Tramp.
10017 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10019 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10021 * textmodes/reftex.el (reftex-compile-variables): Use it.
10023 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10025 * files.el (normal-mode): Only use default major-mode if no other mode
10028 * emacs-lisp/trace.el (trace-values): New function.
10030 * files.el: Allow : in local variables (bug#14089).
10031 (hack-local-variable-regexp): New var.
10032 (hack-local-variables-prop-line, hack-local-variables): Use it.
10034 2013-04-13 Roland Winkler <winkler@gnu.org>
10036 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10037 data before it gets modified by bibtex-beginning-of-entry.
10039 2013-04-13 Roland Winkler <winkler@gnu.org>
10041 * textmodes/bibtex.el (bibtex-url): Doc fix.
10043 2013-04-13 Roland Winkler <winkler@gnu.org>
10045 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10046 does not visit a BibTeX file, exclude it from the list of buffers
10047 returned by bibtex-initialize.
10049 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10051 * window.el (split-window): Remove interactive form, since as a
10052 command this function is a special case of split-window-below.
10053 Correct doc string.
10055 2013-04-12 Roland Winkler <winkler@gnu.org>
10057 * faces.el (read-face-name): Do not override value of arg default.
10058 Allow single faces and strings as default values. Remove those
10059 elements from return value that are not faces.
10060 (describe-face): Simplify.
10061 (face-at-point): New optional args thing and multiple so that this
10062 function can provide the same functionality previously provided by
10064 (make-face-bold, make-face-unbold, make-face-italic)
10065 (make-face-unitalic, make-face-bold-italic, invert-face)
10066 (modify-face, read-face-and-attribute): Use face-at-point.
10068 * cus-edit.el (customize-face, customize-face-other-window)
10069 * cus-theme.el (custom-theme-add-face)
10070 * face-remap.el (buffer-face-set)
10071 * facemenu.el (facemenu-set-face): Use face-at-point.
10073 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10075 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10077 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10079 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10080 off leading { and trailing } from field values.
10082 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10084 * emacs-lisp/timer.el (timer--check): New function.
10085 (timer--time, timer-set-function, timer-event-handler): Use it.
10086 (timer-set-idle-time): Simplify.
10087 (timer--activate): CSE.
10088 (timer-event-handler): Give more info in error message.
10089 (internal-timer-start-idle): New function, moved from C.
10091 * mpc.el (mpc-proc): Add `restart' argument.
10092 (mpc-proc-cmd): Use it.
10093 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10094 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10097 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10099 * progmodes/sh-script.el: Implement `sh-mode' own
10100 `add-log-current-defun-function' (bug#14112).
10101 (sh-current-defun-name): New function.
10102 (sh-mode): Use the function.
10104 2013-04-09 Bastien Guerry <bzg@gnu.org>
10106 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10108 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10112 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10115 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10117 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10120 2013-04-07 Leo Liu <sdl.web@gmail.com>
10122 * pcmpl-x.el: New file.
10124 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10126 Do not set x-display-name until X connection is established.
10127 This is needed to prevent from weird situation described at
10128 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10129 * frame.el (make-frame): Set x-display-name after call to
10130 window system initialization function, not before.
10131 * term/x-win.el (x-initialize-window-system): Add optional
10132 display argument and use it.
10133 * term/w32-win.el (w32-initialize-window-system):
10134 * term/ns-win.el (ns-initialize-window-system):
10135 * term/pc-win.el (msdos-initialize-window-system):
10136 Add compatible optional display argument.
10138 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10140 * files.el (normal-backup-enable-predicate): On MS-Windows and
10141 MS-DOS compare truenames of temporary-file-directory and of the
10142 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10143 don't fail comparison by compare-strings. Also, compare file
10144 names case-insensitively on MS-Windows and MS-DOS.
10146 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10148 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10149 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10151 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10153 * whitespace.el (whitespace-color-on, whitespace-color-off):
10154 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10156 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10158 * ispell.el (ispell-set-spellchecker-params):
10159 Really set `ispell-args' for all equivs.
10161 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10163 * ido.el (ido-completions): Use extra elements of ido-decorations
10165 (ido-decorations): Update docstring.
10167 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10169 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10170 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10171 nil during initialization, in order not to miss changes since the
10172 file was opened. (Bug#14140)
10174 2013-04-05 Leo Liu <sdl.web@gmail.com>
10176 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10178 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10180 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10182 2013-04-04 Glenn Morris <rgm@gnu.org>
10184 * electric.el (electric-pair-inhibit-predicate): Add :version.
10186 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10189 when a package is required several times (bug#14082).
10191 2013-04-04 Roland Winkler <winkler@gnu.org>
10193 * faces.el (read-face-name): Behave as promised by the docstring.
10194 Assume that arg default is a list of faces.
10195 (describe-face): Call read-face-name with list of default faces.
10197 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10199 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10200 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10201 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10203 (bookmark-exit-hook-internal): Save even if list is empty.
10205 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10207 * emacs-lisp/package.el (package-pinned-packages): New var.
10208 (package--add-to-archive-contents): Obey it (bug#14118).
10210 2013-04-03 Alan Mackenzie <acm@muc.de>
10212 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10213 Also adapt to the new values of element 7 of a parse state.
10215 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10216 parameter `not-in-delimiter'. Handle being inside comment opener.
10217 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10218 character in case we're typing a '*' after a '/'.
10219 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10220 instead by passing the parameter to c-state-pp-to-literal.
10222 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10223 for elt. 7 of a parse state.
10225 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10227 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10228 * international/latin1-disp.el, international/mule-util.el:
10229 * language/cyril-util.el, language/european.el, language/ind-util.el:
10230 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10231 * language/tibetan.el, language/viet-util.el:
10232 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10234 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10236 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10237 (electric-pair-post-self-insert-function): Use it.
10238 (electric-pair-default-inhibit): New function, extracted from
10239 electric-pair-post-self-insert-function.
10241 2013-03-31 Roland Winkler <winkler@gnu.org>
10243 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10245 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10247 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10249 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10251 Un-indent after "pass" and "return" statements (Bug#13888)
10252 * progmodes/python.el (python-indent-block-enders): New var.
10253 (python-indent-calculate-indentation): Use it.
10255 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10257 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10258 defun. Defining it as defalias could introduce too eager
10259 byte-compiler optimization. (Bug#14030)
10261 2013-03-30 Chong Yidong <cyd@gnu.org>
10263 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10265 2013-03-30 Leo Liu <sdl.web@gmail.com>
10267 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10268 (kmacro-execute-from-register): Pass the keyboard macro to
10269 kmacro-call-macro or repeating won't work correctly.
10271 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10273 * progmodes/subword.el: Back to using `forward-symbol'.
10275 * subr.el (forward-whitespace, forward-symbol)
10276 (forward-same-syntax): Move from thingatpt.el.
10278 2013-03-29 Leo Liu <sdl.web@gmail.com>
10280 * kmacro.el (kmacro-to-register): New command.
10281 (kmacro-execute-from-register): New function.
10282 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10284 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * mpc.el: Use defvar-local and setq-local.
10287 (mpc--proc-connect): Connection failures are not bugs.
10288 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10289 (mpc-volume-map): Bind to the up-events.
10291 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10293 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10294 instead of `forward-symbol'.
10296 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10299 (edebug--recursive-edit): Use it.
10300 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10301 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10303 2013-03-28 Leo Liu <sdl.web@gmail.com>
10305 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10307 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10309 * facemenu.el (list-colors-callback): New defvar.
10310 (list-colors-redisplay): New function.
10311 (list-colors-display): Install list-colors-redisplay as the
10312 revert-buffer-function. (Bug#14063)
10314 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10316 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10317 and suffixes don't overlap (bug#14061).
10319 * case-table.el: Use lexical-binding.
10320 (case-table-get-table): New function.
10321 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10323 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10325 * progmodes/subword.el: Add `superword-mode' to do word motion
10326 over symbol_words (parallels and leverages `subword-mode' which
10327 does word motion inside MixedCaseWords).
10329 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10331 * eshell/em-unix.el: Move su and sudo to...
10332 * eshell/em-tramp.el: ...Eshell tramp module.
10334 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10336 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10337 Change return value to be a sexp. Delay `get-buffer' to after
10338 restoring the desktop (bug#13951).
10340 2013-03-26 Leo Liu <sdl.web@gmail.com>
10342 * register.el: Move semantic tag handling back to
10343 cedet/semantic/senator.el. (Bug#14052)
10345 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10347 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10348 into the prompt either (bug#13963).
10350 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10353 part of "(error-foo)".
10355 2013-03-24 Juri Linkov <juri@jurta.org>
10357 * replace.el (list-matching-lines-prefix-face): New defcustom.
10358 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10359 `occur-engine' if `face-differs-from-default-p' returns t.
10360 (occur-engine): Add `,' inside backquote construct to evaluate
10361 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10362 Pass `prefix-face' to the functions `occur-context-lines' and
10363 `occur-engine-add-prefix'.
10364 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10365 `prefix-face' and propertize the prefix with `prefix-face'.
10368 2013-03-24 Leo Liu <sdl.web@gmail.com>
10370 * nxml/rng-valid.el (rng-validate-while-idle)
10371 (rng-validate-quick-while-idle): Guard against deleted buffer.
10374 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10375 is the last entry in kill-buffer-hook.
10377 * files.el (kill-buffer-hook): Doc fix.
10379 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10381 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10382 Make it safe-local.
10384 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10386 2013-03-23 Leo Liu <sdl.web@gmail.com>
10388 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10391 * nxml/rng-valid.el (rng-validate-mode)
10392 (rng-after-change-function, rng-do-some-validation):
10393 * nxml/rng-maint.el (rng-validate-buffer):
10394 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10395 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10396 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10397 (nxml-extend-after-change-region): Use with-silent-modifications.
10399 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10402 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10403 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10404 timer-idle-list. (Bug#13999)
10406 2013-03-23 Juri Linkov <juri@jurta.org>
10408 * info.el (info-index-match): New face.
10409 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10410 main pattern and add text properties with the new face to matches
10411 in index entries relative to the beginning of the index entry.
10414 2013-03-21 Eric Ludlam <zappo@gnu.org>
10416 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10417 Inhibit read only while inserting objects.
10419 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10421 * progmodes/cfengine.el: Update docs to mention
10422 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10423 symbol motion. Remove "_" from the word syntax.
10425 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10427 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10428 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10430 2013-03-20 Juri Linkov <juri@jurta.org>
10432 * info.el (Info-next-reference-or-link)
10433 (Info-prev-reference-or-link): New functions.
10434 (Info-next-reference, Info-prev-reference): Use them.
10435 (Info-try-follow-nearest-node): Handle footnote navigation.
10436 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10438 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10441 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10443 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10445 Suppress unnecessary non-ASCII chatter during build process.
10446 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10447 (batch-skkdic-convert): Suppress most of the chatter.
10448 It's not needed so much now that machines are faster,
10449 and its non-ASCII component was confusing; see Dmitry Gutov in
10450 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10452 2013-03-20 Leo Liu <sdl.web@gmail.com>
10454 * ido.el (ido-chop): Fix bug#10994.
10456 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10458 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10460 (whitespace-color-on, whitespace-color-off):
10461 Use `font-lock-fontify-buffer' (Bug#13817).
10463 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10466 remapping in mode-line.
10467 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10469 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10471 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10472 value for `whitespace-line' face (Bug#13875).
10473 (whitespace-font-lock-keywords): Change description.
10474 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10475 the constructed keywords instead.
10476 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10478 2013-03-19 Leo Liu <sdl.web@gmail.com>
10480 * progmodes/compile.el (compilation-display-error): New command.
10481 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10484 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10486 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10488 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10490 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10492 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10494 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10496 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10497 * net/tramp-gvfs.el (top):
10498 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10499 (tramp-handle-shell-command): Use it.
10500 (tramp-dissect-file-name): Raise an error when hostname is a
10501 method name, and neither method nor user is specified.
10503 * net/trampver.el: Update release number.
10505 2013-03-18 Leo Liu <sdl.web@gmail.com>
10507 Make sure eldoc can be turned off properly.
10508 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10510 (eldoc-display-message-p): Revert last change.
10511 (eldoc-display-message-no-interference-p)
10512 (eldoc-print-current-symbol-info): Tweak.
10514 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10516 * doc-view.el (doc-view-new-window-function): Check the new window
10517 overlay's display property instead the char property of the
10518 buffer's first char. Use `with-selected-window' instead of
10519 `save-window-excursion' with `select-window'.
10520 (doc-view-document->bitmap): Check the current doc-view overlay's
10521 display property instead the char property of the buffer's first char.
10523 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10525 Automate the build of ja-dic.el (Bug#13984).
10526 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10527 from the input, rather than assume that it's been done for us by the
10528 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10529 the current date into a ja-dic.el comment, as that complicates
10530 regression testing.
10532 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10534 * whitespace.el: Fix double evaluation.
10535 (whitespace-space, whitespace-hspace, whitespace-tab)
10536 (whitespace-newline, whitespace-trailing, whitespace-line)
10537 (whitespace-space-before-tab, whitespace-indentation)
10538 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10540 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10541 (whitespace-color-on): Use a single font-lock-add-keywords call.
10542 Fix double-evaluation of face variables.
10544 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10546 * net/tramp-adb.el (tramp-adb-parse-device-names):
10547 Use `start-process' instead of `call-process'. Otherwise, the
10548 function might be blocked under MS Windows. (Bug#13299)
10550 2013-03-17 Leo Liu <sdl.web@gmail.com>
10552 Extend eldoc to display info in the mode-line. (Bug#13978)
10553 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10554 (eldoc-mode-line-string): New variable.
10555 (eldoc-minibuffer-message): New function.
10556 (eldoc-message-function): New variable.
10557 (eldoc-message): Use it.
10558 (eldoc-display-message-p)
10559 (eldoc-display-message-no-interference-p):
10560 Support eldoc-post-insert-mode.
10562 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10563 (eval-expression): Run it.
10565 2013-03-17 Roland Winkler <winkler@gnu.org>
10567 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10568 strings in the list of return values.
10570 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10572 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10573 radix before checking for HMS forms.
10575 2013-03-16 Leo Liu <sdl.web@gmail.com>
10577 * progmodes/scheme.el: Add indentation and font-locking for λ.
10580 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10583 token before point (bug#13942).
10585 2013-03-16 Leo Liu <sdl.web@gmail.com>
10587 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10589 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10591 * startup.el (command-line-normalize-file-name): Fix handling of
10592 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10593 <xfq.free@gmail.com> in
10594 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10596 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10598 Sync with Tramp 2.2.7.
10600 * net/trampver.el: Update release number.
10602 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10604 * doc-view.el: Fix bug#13887.
10605 (doc-view-insert-image): Don't modify overlay associated to
10606 non-live windows, and implement horizontal centering of image in
10607 case it's smaller than the window.
10608 (doc-view-new-window-function): Force redisplay of new windows on
10611 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10613 * saveplace.el (save-place-alist-to-file): Don't sort
10614 `save-place-alist', just pretty-print it (bug#13882).
10616 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10618 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10619 Check whether `default-file-name-coding-system' is bound.
10620 It isn't in XEmacs.
10622 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10624 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10625 backquotes for `obsolete' (bug#13929).
10627 * international/mule.el (find-auto-coding): Include file name in
10628 obsolescence warning (bug#13922).
10630 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10632 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10633 for CFEngine 3-specific indentation.
10634 (cfengine3-indent-line): Use it. Fix up category regex.
10635 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10637 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * type-break.el (type-break-file-name):
10640 * textmodes/remember.el (remember-data-file):
10641 * strokes.el (strokes-file):
10642 * shadowfile.el (shadow-initialize):
10643 * saveplace.el (save-place-file):
10644 * ps-bdf.el (bdf-cache-file):
10645 * progmodes/idlwave.el (idlwave-config-directory):
10646 * net/quickurl.el (quickurl-url-file):
10647 * international/kkc.el (kkc-init-file-name):
10648 * ido.el (ido-save-directory-list-file):
10649 * emulation/viper.el (viper-custom-file-name):
10650 * emulation/vip.el (vip-startup-file):
10651 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10652 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10654 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10656 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10657 * language/thai-word.el: Switch to UTF-8.
10659 See ChangeLog.16 for earlier changes.
10661 ;; Local Variables:
10665 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10667 This file is part of GNU Emacs.
10669 GNU Emacs is free software: you can redistribute it and/or modify
10670 it under the terms of the GNU General Public License as published by
10671 the Free Software Foundation, either version 3 of the License, or
10672 (at your option) any later version.
10674 GNU Emacs is distributed in the hope that it will be useful,
10675 but WITHOUT ANY WARRANTY; without even the implied warranty of
10676 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10677 GNU General Public License for more details.
10679 You should have received a copy of the GNU General Public License
10680 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.