1 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3 * net/eww.el (eww-current-source): New variable to store page
5 (eww-display-html, eww-mode, eww-save-history)
6 (eww-restore-history): Use it.
7 (eww-view-source): New command to view page source.
8 Opportunistically uses `html-mode' to highlight the buffer.
9 (eww-mode-map): Install it.
11 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
13 * net/dbus.el (dbus-unregister-service)
14 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
16 (dbus-unregister-service): Skip :serial entries in
17 `dbus-registered-objects-table'.
18 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
20 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
22 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
23 around keywords with extra `split-string' argument.
25 2013-12-04 Martin Rudalics <rudalics@gmx.at>
27 * windmove.el (windmove-other-window-loc): Handle navigation
28 between windows (excluding the minibuffer window - Bug#16017).
30 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
32 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
34 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
35 preserve unibyte strings. (Bug#16048)
37 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
39 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
40 Call force-mode-line-update is the proper buffer (bug#16042).
42 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
44 * vc/log-edit.el (log-edit-add-new-comment): Rename to
45 `log-edit-remember-comment', make argument optional. Adjust all
47 (log-edit-mode): Add `log-edit-remember-comment' to
48 `kill-buffer-hook' locally.
49 (log-edit-kill-buffer): Don't remember comment explicitly since
50 the buffer is killed anyway.
52 2013-12-04 Juri Linkov <juri@jurta.org>
54 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
55 add-hook and remove-hook for multi-buffer search. (Bug#16035)
57 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
59 * notifications.el (notifications-close-notification): Call the
60 D-Bus method with ID being a `:uint32'. (Bug#16030)
62 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
64 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
66 2013-12-03 Juri Linkov <juri@jurta.org>
68 * progmodes/compile.el (compilation-start): Rename window alist
69 entry `no-display-ok' to `allow-no-window'.
71 * simple.el (shell-command): Add window alist entry
72 `allow-no-window' to `display-buffer'.
73 (async-shell-command): Doc fix.
75 * window.el (display-buffer-no-window): New action function.
76 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
78 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
80 * vc/log-edit.el (log-edit-set-header): Extract from
81 `log-edit-toggle-header'.
82 (log-edit-extract-headers): Separate the summary, when extracted
83 from header, from the rest of the message with an empty line.
85 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
86 line, if present, to the Summary header.
88 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
90 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
91 in current-buffer (bug#16029).
93 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
95 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
96 (debugger-mode-map): Bind it.
97 (debugger--backtrace-base): New function.
98 (debugger-eval-expression): Use it.
99 (debugger-frame-number): Skip local vars when present.
100 (debugger--locals-visible-p, debugger--insert-locals)
101 (debugger--show-locals, debugger--hide-locals): New functions.
103 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
105 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
107 (tramp-get-remote-locale): New defun.
108 (tramp-open-connection-setup-interactive-shell): Use it.
110 2013-12-02 Leo Liu <sdl.web@gmail.com>
112 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
114 * progmodes/sh-script.el (sh-shell-process):
115 * progmodes/octave.el (inferior-octave-process-live-p):
116 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
117 (gdb-inferior-io-sentinel):
118 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
120 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
122 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
123 `save-selected-window' to `log-edit-hide-buf'. This makes
124 `log-edit-show-files' idempotent.
125 (log-edit-show-files): Mark the new window as dedicated.
127 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
129 * vc/log-edit.el (log-edit-mode-map): Add binding for
130 `log-edit-kill-biffer'.
131 (log-edit-hide-buf): Add a FIXME comment.
132 (log-edit-add-new-comment): New function, extracted from
134 (log-edit-done, log-edit-add-to-changelog): Use it.
135 (log-edit-kill-buffer): New command.
137 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
139 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
140 instead of killing the buffer.
142 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
144 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
146 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
148 * net/eww.el (eww-form-checkbox-selected-symbol)
149 (eww-form-checkbox-symbol): New customizable variable.
150 (eww-form-checkbox, eww-toggle-checkbox):
151 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
153 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
154 (shr--get-media-pref, shr--extract-best-source): New function.
155 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
156 no :src tag was specified.
158 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
159 (eww-render): Handle `eww-use-external-browser-for-content-type'.
160 Use \\` to match beginning of string instead of ^.
161 (eww-browse-with-external-browser): Provide optional URL parameter.
162 (eww-render): Set `eww-current-title' back to "".
164 * net/shr.el (shr-tag-video): Display content for video if no
166 (shr-tag-audio): Add support for <audio> tag.
168 * net/eww.el (eww-text-input-types): : New const.
169 (eww-process-text-input): Treat input types in
170 `eww-text-input-types' as text.
172 * net/shr.el (shr-tag-table): Fix comment typo.
174 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
176 * net/eww.el (eww-follow-link): New command to avoid reloading
177 pages when we follow #target links (bug#15243).
178 (eww-quit): Special mode buffers shouldn't query before exiting.
180 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
182 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
185 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
187 * net/eww.el (eww-restore-history): Update the window title after
188 moving in the history.
189 (eww-current-dom): New variable used to save the current DOM.
191 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
193 * vc/log-edit.el (log-edit-mode-map): Add binding for
194 `log-edit-beginning-of-line'.
195 (log-edit-setup-add-author): New user option.
196 (log-edit-beginning-of-line): New command.
197 (log-edit): Move major mode call above the contents setup so that
198 the local variable values are already applied.
199 (log-edit): Only insert "Author: " when
200 `log-edit-setup-add-author' is non-nil.
201 (log-edit): When SETUP is non-nil, position point after ": "
202 instead of point-min.
204 2013-12-01 Glenn Morris <rgm@gnu.org>
206 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
208 2013-11-30 Eli Zaretskii <eliz@gnu.org>
210 * startup.el (fancy-splash-frame): On MS-Windows, trigger
211 redisplay to make sure the initial frame gets a chance to become
214 2013-11-30 Martin Rudalics <rudalics@gmx.at>
216 Support resizing frames and windows pixelwise.
217 * cus-start.el (frame-resize-pixelwise)
218 (window-resize-pixelwise): New entries.
219 * emacs-lisp/debug.el (debug): Use window-total-height instead
220 of window-total-size.
221 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
222 * help.el (describe-bindings-internal): Call help-buffer
223 (temp-buffer-max-width): New option.
224 (resize-temp-buffer-window, help-window-setup)
225 (with-help-window): Rewrite.
226 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
228 * window.el (frame-char-size, window-min-pixel-height)
229 (window-safe-min-pixel-height, window-safe-min-pixel-width)
230 (window-min-pixel-width, window-safe-min-pixel-size)
231 (window-combination-p, window-safe-min-size)
232 (window-resizable-p, window--size-to-pixel)
233 (window--pixel-to-size, window--resize-apply-p): New functions.
234 (window-safe-min-height): Fix doc-string.
235 (window-size, window-min-size, window--min-size-1)
236 (window-sizable, window-sizable-p, window--min-delta-1)
237 (window-min-delta, window--max-delta-1, window-max-delta)
238 (window--resizable, window--resizable-p, window-resizable)
239 (window-full-height-p, window-full-width-p, window-at-side-p)
240 (window--in-direction-2, window-in-direction)
241 (window--resize-reset-1, window--resize-mini-window)
242 (window-resize, window-resize-no-error)
243 (window--resize-child-windows-normal)
244 (window--resize-child-windows, window--resize-siblings)
245 (window--resize-this-window, window--resize-root-window)
246 (window--resize-root-window-vertically)
247 (adjust-window-trailing-edge, enlarge-window, shrink-window)
248 (maximize-window, minimize-window, delete-window)
249 (quit-restore-window, window-split-min-size, split-window)
250 (balance-windows-2, balance-windows)
251 (balance-windows-area-adjust, balance-windows-area)
252 (window--state-get-1, window-state-get, window--state-put-1)
253 (window--state-put-2, window-state-put)
254 (display-buffer-record-window, window--display-buffer):
255 Make functions handle pixelwise sizing of windows.
256 (display-buffer--action-function-custom-type)
257 (display-buffer-fallback-action):
258 Add display-buffer-in-previous-window.
259 (display-buffer-use-some-window): Resize window to height it had
261 (fit-window-to-buffer-horizontally): New option.
262 (fit-frame-to-buffer): Describe new values.
263 (fit-frame-to-buffer-bottom-margin): Replace with
264 fit-frame-to-buffer-margins.
265 (window--sanitize-margin): New function.
266 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
267 using window-text-pixel-size.
269 2013-11-30 Glenn Morris <rgm@gnu.org>
271 * emacs-lisp/bytecomp.el (byte-compile-form):
272 Make the `interactive-only' warning like the `obsolete' one.
273 * comint.el (comint-run):
274 * files.el (insert-file-literally, insert-file):
275 * replace.el (replace-string, replace-regexp):
276 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
277 (goto-line, insert-buffer, next-line, previous-line):
278 Tweak `interactive-only' spec.
280 Stop keeping (most) generated cedet grammar files in the repository.
281 * Makefile.in (semantic): New.
282 (compile-main): Depend on semantic.
284 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
286 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
287 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
289 * uniquify.el (uniquify-buffer-name-style): Change default.
291 * loadup.el: Preload "uniquify".
293 * time.el (display-time-update): Update all mode lines (bug#15999).
295 * electric.el (electric-indent-mode): Enable by default.
296 * loadup.el: Preload "electric".
298 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
300 * emacs-lisp/helpers.el (string-empty-p): New function.
301 (string-blank-p): New function.
303 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
305 * imenu.el (imenu--index-alist): Add missing dot to the docstring
308 2013-11-29 Andreas Politz <politza@fh-trier.de>
309 * imenu.el (imenu--subalist-p): Don't error on non-conses and
310 allow non-lambda lists as functions.
311 (imenu--in-alist): Don't recurse into non-subalists.
312 (imenu): Don't pass function itself as an argument (Bug#14029).
314 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
316 * progmodes/python.el (python-mode-map): Remove binding for ":".
317 (python-indent-electric-colon): Remove command.
318 (python-indent-post-self-insert-function): Integrate the previous code
319 of python-indent-electric-colon. Make it conditional on
320 electric-indent-mode.
321 (python-mode): Add ?: to electric-indent-chars.
322 Move python-indent-post-self-insert-function to the end of
323 post-self-insert-hook.
325 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
327 * doc-view.el (doc-view-goto-page): Update mode-line.
329 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
331 2013-11-27 Glenn Morris <rgm@gnu.org>
333 * international/charprop.el, international/uni-bidi.el:
334 * international/uni-category.el, international/uni-combining.el:
335 * international/uni-comment.el, international/uni-decimal.el:
336 * international/uni-decomposition.el, international/uni-digit.el:
337 * international/uni-lowercase.el, international/uni-mirrored.el:
338 * international/uni-name.el, international/uni-numeric.el:
339 * international/uni-old-name.el, international/uni-titlecase.el:
340 * international/uni-uppercase.el:
341 Remove generated files from VCS repository.
343 2013-11-27 Eli Zaretskii <eliz@gnu.org>
345 * filenotify.el (file-notify-add-watch): Don't special-case
346 w32notify when computing the directory to watch.
348 2013-11-27 Glenn Morris <rgm@gnu.org>
350 Make bootstrap without generated uni-*.el files possible again.
351 * loadup.el: Update command-line-args checking for unidata-gen.
352 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
353 * composite.el, international/characters.el:
354 Handle unicode tables being undefined.
356 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
357 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
358 (compile-main): Depend on leim rule.
360 * loadup.el: Move leim-list.el to leim/ subdirectory.
361 * startup.el (normal-top-level): No more leim directory.
362 * international/ja-dic-cnv.el (skkdic-convert):
363 Disable version-control and autoloads in output files.
364 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
365 Disable version-control and autoloads in output files.
366 * leim/quail: Move here from ../leim.
367 * leim/quail/hangul.el (hangul-input-method-activate):
369 (generated-autoload-load-name): Set file-local value.
370 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
371 (generated-autoload-load-name): Set file-local value.
373 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
375 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
376 (eww-add-bookmark): ask confirmation when add to bookmarks
377 (eww-quit): ask confirmation before quitting eww
379 2013-11-26 Eli Zaretskii <eliz@gnu.org>
381 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
382 reading output from Diff on MS-Windows and MS-DOS.
384 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
386 * emacs-lisp/helpers.el (string-reverse): New function.
388 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
390 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
391 names on MS Windows, like "/[::1]:".
393 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
396 2013-11-26 Glenn Morris <rgm@gnu.org>
398 * progmodes/python.el (python-indent-guess-indent-offset):
399 Avoid corner-case error. (Bug#15975)
401 Preload leim-list.el. (Bug#4789)
402 * loadup.el: Load leim-list.el when found.
403 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
405 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
407 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
409 * emacs-lisp/helpers.el (string-join): New function.
411 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
413 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
414 Mark as obsolete and replace it with a symbol property.
415 (byte-compile-form): Use new 'interactive-only property.
416 * comint.el, files.el, replace.el, simple.el:
417 Apply new 'interactive-only properly.
419 2013-11-25 Martin Rudalics <rudalics@gmx.at>
421 * window.el (display-buffer-at-bottom): Make sure that
422 split-window-sensibly creates the new window on bottom
425 2013-11-23 David Kastrup <dak@gnu.org>
427 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
428 on the conflict markers when available.
429 (smerge--get-marker): New function.
430 (smerge-end-re, smerge-base-re): Add subgroup.
432 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
434 * frame.el (handle-focus-in, handle-focus-out): Add missing
437 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
439 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
440 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
442 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
444 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
445 (gomoku--last-pos): New var.
446 (gomoku--intangible-chars): New const.
447 (gomoku--intangible): New function.
448 (gomoku-mode): Use it. Derive from special-mode.
449 (gomoku-move-up): Adjust line count.
450 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
451 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
452 Simplify accordingly.
454 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
455 Remove blink-cursor code.
456 (blink-cursor-timer-function, blink-cursor-suspend):
457 Don't special-case GUIs.
458 (blink-cursor-mode): Use focus-in/out-hook.
460 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
462 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
463 work when annotation is invisible (Bug#13886).
465 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
467 * json.el (json-alist-p): Only return non-nil if the alist has
468 simple keys (Bug#13518).
470 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
472 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
473 when control-statement is the first statement in a buffer (Bug#15956).
475 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
477 * imenu.el (imenu-generic-skip-comments-and-strings):
478 New option (Bug#15560).
479 (imenu--generic-function): Use it.
481 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
483 * minibuffer.el (completion--in-region-1): Scroll the correct
486 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
488 * emacs-lisp/helpers.el: Add some string helpers.
489 (string-trim-left): Removes leading whitespace.
490 (string-trim-right): Removes trailing whitespace.
491 (string-trim): Removes leading and trailing whitespace.
493 * subr.el (string-suffix-p): New function.
495 2013-11-23 Glenn Morris <rgm@gnu.org>
497 * progmodes/python.el (python-shell-send-file):
498 Add option to delete file when done. (Bug#15647)
499 (python-shell-send-string, python-shell-send-region): Use it.
501 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
503 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
504 to set buffer-read-only to t, never to nil. (Bug#15938)
506 * textmodes/tex-mode.el (latex-noindent-environments):
507 Add safe-local-variable property. (Bug#15936)
509 2013-11-23 Glenn Morris <rgm@gnu.org>
511 * textmodes/enriched.el (enriched-mode): Doc fix.
512 * emacs-lisp/authors.el (authors-renamed-files-alist):
513 Add enriched.doc -> enriched.txt.
515 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
517 2013-11-22 Leo Liu <sdl.web@gmail.com>
519 * progmodes/octave.el (inferior-octave-startup): Spit out error
522 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
524 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
527 (ruby-encoding-magic-comment-style): Add :version.
529 2013-11-22 Leo Liu <sdl.web@gmail.com>
531 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
533 (octave-help-mode): Adapt to change to help-mode-finish to use
534 derived-mode-p on 2013-09-17.
535 (inferior-octave-prompt): Also match octave-gui.
536 (octave-kill-process): Don't ask twice. (Bug#10564)
538 2013-11-22 Leo Liu <sdl.web@gmail.com>
540 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
541 (inferior-octave-startup, inferior-octave-check-process)
542 (inferior-octave-track-window-width-change)
543 (octave-completion-at-point, octave-eldoc-function): Use it.
544 (octave-kill-process): Provide confirmation. (Bug#10564)
546 2013-11-21 Leo Liu <sdl.web@gmail.com>
548 * progmodes/octave.el (octave-mode, inferior-octave-mode):
549 Fix obsolete variable comment-use-global-state.
551 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
553 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
554 Add `octave-source-file'.
555 (octave-source-file): New function. (Bug#15935)
557 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
559 * net/eww.el (eww-local-regex): New variable.
560 (eww): Use it to detect localhost and similar.
562 2013-11-21 Leo Liu <sdl.web@gmail.com>
564 Add completion for command `ag'.
565 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
566 (pcomplete/ag): New function.
567 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
569 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
571 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
573 (make-obsolete): Remove interactive spec.
575 2013-11-21 Glenn Morris <rgm@gnu.org>
577 * startup.el (command-line-1): Use path-separator with -L.
579 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
581 * emacs-lisp/package.el (describe-package-1): Add package archive
584 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
586 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
587 Change default to "# encoding: %s" to differentiate it from the
588 default Ruby encoding comment template.
590 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
592 * ses.el (ses-mode): Doc fix. (Bug#14748)
594 2013-11-20 Leo Liu <sdl.web@gmail.com>
596 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
598 2013-11-19 Dan Nicolaescu <dann@gnu.org>
600 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
601 when rebase or bisect are in progress.
603 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
605 * filenotify.el (file-notify-add-watch): Doc fix.
607 2013-11-19 Leo Liu <sdl.web@gmail.com>
609 * obsolete/rcompile.el: Mark obsolete.
611 * progmodes/compile.el (compilation-start)
612 (compilation-goto-locus, compilation-find-file):
613 Pass no-display-ok and handle nil value from display-buffer.
616 * window.el (display-buffer-alist, display-buffer): Document the
617 new parameter no-display-ok. Return either a window or nil
618 but never a non-window value.
620 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
622 * electric.el (electric-indent-mode-map): Remove.
623 (electric-indent-mode): Change the global-map instead (bug#15915).
625 * textmodes/text-mode.el (paragraph-indent-minor-mode):
628 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
630 * emacs-lisp/nadvice.el (remove-function): Align with
631 add-function's behavior.
633 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
634 (gdb--string-regexp): New constant.
635 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
636 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
637 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
639 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
640 Adjust use accordingly.
641 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
643 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
645 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
646 interpolation curlies (Bug#15914).
648 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
650 * calc/calc.el (calc-context-sensitive-enter): New variable.
651 (calc-enter): Use `calc-context-sensitive-enter'.
653 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
655 * progmodes/cfengine.el: Version bump.
656 (cfengine-cf-promises): New defcustom to locate cf-promises.
657 (cfengine3-vartypes): Add new "data" type.
658 (cfengine3--current-word): New function to get current name-like
660 (cfengine3--current-function): New function to look up a CFEngine
661 function's definition.
662 (cfengine3-format-function-docstring): New function.
663 (cfengine3-make-syntax-cache): New function.
664 (cfengine3-documentation-function): New function: ElDoc glue.
665 (cfengine3-completion-function): New function: completion glue.
666 (cfengine3-mode): Set `compile-command',
667 `eldoc-documentation-function', and add to
668 `completion-at-point-functions'.
670 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
672 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
673 `tramp-current-connection'.
675 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
677 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
678 nil/self/true/false with "end of symbol".
680 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
682 * subr.el (version-regexp-alist): Fix a typo.
684 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
686 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
687 "en_US.utf8" and "LC_CTYPE" to "".
688 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
689 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
691 2013-11-15 Leo Liu <sdl.web@gmail.com>
693 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
695 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
697 * progmodes/gud.el (ctl-x-map):
698 Remove C-x SPC binding. (Bug#12342)
699 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
701 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
703 * subr.el (version-regexp-alist):
704 Recognize hg, svn and darcs versions as snapshot versions.
706 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
707 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
708 (ruby--encoding-comment-required-p): Extract from
709 `ruby-mode-set-encoding'.
710 (ruby-mode-set-encoding): Add the ability to always insert an
711 utf-8 encoding comment. Fix and simplify coding comment update
714 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
716 * net/tramp-gvfs.el (top): Run init code only when
717 `tramp-gvfs-enabled' is not nil.
718 (tramp-gvfs-enabled): Check also :system bus.
720 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
722 Sync with upstream verilog-mode revision 78e66ba.
723 * progmodes/verilog-mode.el (verilog-end-of-defun)
724 (verilog-type-completion, verilog-get-list): Remove unused funcs.
725 (verilog-get-end-of-defun): Remove unused argument.
726 (verilog-comment-depth): Remove unused local `e'.
727 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
728 Don't pass arg to verilog-get-end-of-defun.
730 2013-11-14 Glenn Morris <rgm@gnu.org>
732 * obsolete/assoc.el (aget): Prefix dynamic variable.
734 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
736 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
738 * widget.el, hfy-cmap.el: Remove bogus package version number.
740 2013-11-13 Glenn Morris <rgm@gnu.org>
742 * replace.el (replace-eval-replacement):
743 Try to give more helpful error message. (Bug#15836)
745 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
746 (archive-7z-update): Avoid custom type mismatches.
748 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
750 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
752 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
753 address can be empty.
755 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
757 (tramp-gvfs-handle-write-region): Implement APPEND.
759 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
761 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
762 binary "|" operator and closing block args delimiter.
763 Remove FIXME comment referring to Ruby 1.8-only syntax.
764 (ruby-smie--implicit-semi-p): Not after "|" operator.
765 (ruby-smie--closing-pipe-p): New function.
766 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
767 (ruby-smie-rules): Indent after "|".
769 2013-11-12 Glenn Morris <rgm@gnu.org>
771 * ps-print.el (ps-face-attribute-list):
772 Handle anonymous faces. (Bug#15827)
774 2013-11-12 Martin Rudalics <rudalics@gmx.at>
776 * window.el (display-buffer-other-frame): Fix doc-string.
779 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
781 * subr.el (force-mode-line-update): Delete, move to buffer.c.
783 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
786 (tramp-sh-handle-file-local-copy): Don't write a message when
787 saving temporary files.
789 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
790 both directories are remote.
791 (tramp-smb-handle-directory-files): Do not return double entries.
792 Do not expand full file names.
793 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
794 (tramp-smb-handle-write-region): Implement APPEND.
795 (tramp-smb-get-stat-capability): Fix a stupid bug.
797 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
799 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
801 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
803 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
804 throwing error over malformed let/let* (bug#15814).
806 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
808 * iswitchb.el (iswitchb-mode): Mark obsolete.
810 2013-11-11 Glenn Morris <rgm@gnu.org>
812 * international/uni-bidi.el, international/uni-category.el:
813 * international/uni-name.el, international/uni-numeric.el:
814 Regenerate for Unicode 6.3.0.
816 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
818 * net/tramp.el (tramp-methods):
819 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
820 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
822 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
824 * progmodes/sh-script.el (sh-font-lock-keywords-var):
825 Force highlighting text after Summary keyword in doc face for rpm.
827 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
829 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
830 available and the word has no wildcards, append one to the grep pattern.
831 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
832 (ispell-complete-word): Call `ispell-lookup-words' with the value
833 independent of `ispell-look-p'.
835 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
837 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
839 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
842 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
844 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
845 (ruby-font-lock-keywords): Use backquote.
847 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
849 * progmodes/ruby-mode.el (ruby-smie--forward-token)
850 (ruby-smie--backward-token): Only consider full-string matches.
852 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
854 * faces.el (describe-face): Add distant-foreground.
856 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
858 * progmodes/ruby-mode.el: Improve encoding comment handling.
859 (ruby-encoding-magic-comment-style): New option.
860 (ruby-custom-encoding-magic-comment-template): New option.
861 (ruby--insert-coding-comment, ruby--detect-encoding):
862 New functions extracted from `ruby-mode-set-encoding'.
863 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
864 to control the style of the auto-inserted encoding comment.
866 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
868 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
869 Use `smie-backward-sexp' with token argument.
871 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
873 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
874 Remove instrumentation code.
876 2013-11-08 Glenn Morris <rgm@gnu.org>
878 * progmodes/autoconf.el (autoconf-mode):
879 Tweak comment-start-skip. (Bug#15822)
881 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
883 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
885 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
887 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
889 * man.el (Man-start-calling): New macro, extracted from
890 Man-getpage-in-background.
891 (Man-getpage-in-background): Use it.
892 (Man-update-manpage): New command.
893 (Man-mode-map): Bind it.
895 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
897 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
898 of "and", "or", "&&" and "||".
899 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
900 argument. Prohibit opening curly brace because it could only be a
901 block opener in that position.
902 (ruby-smie--forward-token, ruby-smie--backward-token):
903 Separate "|" from "&" or "*" going after it. That can happen in block
905 (ruby-smie--indent-to-stmt): New function, seeks the end of
906 previous statement or beginning of buffer.
907 (ruby-smie-rules): Use it.
908 (ruby-smie-rules): Check if there's a ":" before a curly block
909 opener candidate; if there is, it's a hash.
911 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
913 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
914 (cl--block-wrapper): Fix last accidental change.
916 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
918 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
919 Instrument, in order to hunt failure on hydra.
921 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
923 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
924 malformed bindings form (bug#15814).
926 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
928 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
929 "." compared to " @ ". This incidentally fixes some indentation
931 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
932 (ruby-smie-grammar): New tokens: "and" and "or".
933 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
934 Exclude "and" and "or". Remove "do" in order to work around token
936 (ruby-smie-rules): Add all infix tokens. Handle the case of
939 2013-11-06 Glenn Morris <rgm@gnu.org>
941 * Makefile.in (setwins_almost, setwins_for_subdirs):
942 Avoid accidental matches.
944 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
946 * menu-bar.el (popup-menu): Use key-binding.
948 2013-11-06 Eli Zaretskii <eliz@gnu.org>
950 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
951 menus, support also the menus produced by minor modes.
954 2013-11-06 Leo Liu <sdl.web@gmail.com>
956 * thingatpt.el (thing-at-point-looking-at): Add optional arg
957 DISTANCE to bound the search. All uses changed. (Bug#15808)
959 2013-11-06 Glenn Morris <rgm@gnu.org>
961 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
962 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
963 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
965 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
967 * electric.el (electric-indent-just-newline): New command.
968 (electric-indent-mode-map): New keymap.
969 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
970 Re-add :group which weren't redundant.
972 * electric.el (electric-indent-local-mode): New minor mode.
973 (electric-indent-functions-without-reindent): New var.
974 (electric-indent-post-self-insert-function): Use it.
975 * emacs-lisp/gv.el (buffer-local-value): Add setter.
977 2013-11-05 Eli Zaretskii <eliz@gnu.org>
979 * international/quail.el (quail-help): Be more explicit about the
980 meaning of the labels shown on the keys. (Bug#15800)
982 * startup.el (normal-top-level): Load the subdirs.el files before
983 setting the locale environment. (Bug#15805)
985 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
987 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
988 via arguments so as to get the right ones (bug#15418).
990 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
992 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
994 Fix problems found while writing a test suite.
996 * net/tramp-compat.el (tramp-compat-load): New defun.
997 * net/tramp.el (tramp-handle-load): Use it.
999 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1000 "(numberp ok-if-already-exists)" correctly.
1002 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1004 * international/characters.el (glyphless-char-display-control):
1007 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1009 * progmodes/python.el (python-mode):
1010 * progmodes/scheme.el (scheme-mode):
1011 * progmodes/prolog.el (prolog-mode):
1012 * progmodes/ruby-mode.el (ruby-mode):
1013 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1014 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1016 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * rect.el (rectangle--highlight-for-redisplay):
1019 * emacs-lisp/smie.el (smie--next-indent-change):
1020 Use buffer-chars-modified-tick.
1022 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1024 * electric.el (electric-indent-post-self-insert-function):
1025 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1027 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1029 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1031 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1033 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1036 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1038 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1040 * progmodes/python.el: Fix up last change.
1041 (python-shell--save-temp-file): New function.
1042 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1043 `string' comes from the current buffer.
1044 (python-shell-send-string-no-output): Remove `msg' arg.
1045 (python--use-fake-loc): New var.
1046 (python-shell-buffer-substring): Obey it. Try to compensate for the
1047 extra coding line added by python-shell--save-temp-file.
1048 (python-shell-send-region): Use python-shell--save-temp-file and
1049 python-shell-send-file directly. Add `nomain' argument.
1050 (python-shell-send-buffer): Use python-shell-send-region.
1051 (python-electric-pair-string-delimiter): New function.
1052 (python-mode): Use it.
1054 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1056 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1057 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1058 environment and decoding all of the default-directory's to here
1060 (command-line): Decode also argv[0].
1062 * loadup.el: Error out if default-directory is a multibyte string
1063 when we are dumping.
1065 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1067 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1069 * emacs-lisp/package.el (package-menu-mode)
1070 (package-menu--print-info, package-menu--archive-predicate):
1071 Add Archive column to package list.
1073 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1075 Fix problems found while writing a test suite.
1077 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1078 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1079 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1080 to nil when running original file name handler. Otherwise,
1081 there are problems with constructs like "$$FOO".
1083 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1086 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1088 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1090 * subr.el (version<, version<=, version=):
1091 Update docstrings with information for snapshot versions.
1093 * helpers.el: New library for misc helper functions.
1094 (hash-table-keys): New function returning a list of hash keys.
1095 (hash-table-values): New function returning a list of hash values.
1097 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1099 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1100 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1102 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1104 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1105 checking whether point is after a 1-letter word.
1107 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1109 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1110 Don't infloop when expanding region over `multiline' syntax-type that
1111 begins a line (bug#15778).
1113 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1116 Make it into a proper minor mode.
1117 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1118 (rectangle-mark-mode-map): New keymap.
1119 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1121 2013-11-04 Glenn Morris <rgm@gnu.org>
1123 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1125 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1127 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1128 (ruby-smie-rules): Use smie-rule-parent instead.
1130 * emacs-lisp/smie.el (smie-rule-parent): Always call
1131 smie-indent-virtual rather than only for hanging tokens.
1132 (smie--next-indent-change): New helper command.
1134 2013-11-03 Glenn Morris <rgm@gnu.org>
1136 * Makefile.in (abs_srcdir): Remove.
1137 (emacs): Unset EMACSLOADPATH.
1139 2013-11-02 Glenn Morris <rgm@gnu.org>
1141 * Makefile.in (EMACS): Use a relative filename.
1142 (abs_top_builddir): Remove.
1143 (custom-deps, finder-data, autoloads): Use --chdir.
1145 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1147 Use relative filenames in TAGS files.
1148 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1149 (lisptagsfiles4, TAGS): Use relative file names.
1150 (TAGS-LISP): Remove.
1151 (maintainer-clean): No more TAGS-LISP file.
1153 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1154 (lisptagsfiles4): Use absolute filenames again.
1155 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1156 Remove all *loaddefs files, not just the first. Remove esh-groups.
1157 (maintainer-clean): Delete TAGS, TAGS-LISP.
1159 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1161 * emacs-lisp/package.el (package-version-join):
1162 Recognize snapshot versions.
1164 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1166 * subr.el (version-regexp-alist): Add support for snapshot versions.
1168 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1170 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1171 New function, replacement for `smie-rule-parent' for when we want to
1172 skip over our direct parent if it's an assignment token..
1173 (ruby-smie-rules): Use it.
1175 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1177 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1178 unconditionally. Remove now unnecessary forward declarations.
1179 Remove XEmacs-specific setup.
1180 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1181 (ruby-font-lock-syntactic-keywords)
1182 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1183 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1184 (ruby-here-doc-end-syntax): Remove.
1185 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1186 defined as function.
1188 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1190 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1192 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1194 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1195 table and abbrev table, `define-derived-mode' does that for us
1198 2013-11-01 Glenn Morris <rgm@gnu.org>
1200 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1201 files is atomic for some time, so no parallel compilation issues).
1203 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1205 * faces.el (face-x-resources): Add :distant-foreground.
1206 (region): Use :distant-foreground for gtk and ns.
1208 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1210 Allow multiple bibliographies when BibLaTeX is used rather than
1212 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1213 (reftex-locate-bibliography-files): Us it.
1215 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1217 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1218 allow comments in pbm files.
1220 * term/w32-win.el (dynamic-library-alist): Support newer versions
1221 of libjpeg starting with v7: look only for the DLL from the
1222 version against which Emacs was built.
1223 Support versions of libpng beyond 1.4.x.
1224 Support libtiff v4.x.
1226 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1228 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1229 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1231 (ruby-deep-arglist): Add property :type.
1233 2013-10-31 Glenn Morris <rgm@gnu.org>
1235 * Makefile.in (custom-deps, finder-data): No need to setq the target
1236 variables, we are in the right directory and the defaults work fine.
1238 2013-10-30 Glenn Morris <rgm@gnu.org>
1240 * Makefile.in (autoloads): Do not use abs_lisp.
1242 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1243 `newline' does not respect `standard-output', so use `princ'.
1245 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1247 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1248 * buff-menu.el (Buffer-menu--unmark): New function.
1249 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1251 2013-10-30 Glenn Morris <rgm@gnu.org>
1253 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1255 * emacs-lisp/package.el (lm-homepage): Declare.
1257 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1260 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1262 * Makefile.in (finder-data, autoloads, update-subdirs)
1263 (compile-main, compile-clean, compile-always, bootstrap-clean):
1264 Check return value of cd.
1265 (compile-calc): Remove.
1267 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1271 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1272 (byte-compile-and-folded): New function.
1273 (=, <, >, <=, >=): Use it.
1275 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1276 (path-separator, null-device, buffer-file-coding-system)
1277 (lpr-headers-switches): Check system-type before modifying them.
1278 (find-buffer-file-type-coding-system): Mark obsolete.
1279 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1280 find-file-not-found-set-buffer-file-coding-system.
1281 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1282 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1283 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1284 (w32-direct-print-region-helper, w32-direct-print-region-function)
1285 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1286 * startup.el (normal-top-level-add-subdirs-to-load-path):
1287 * ps-print.el (ps-print-region-function):
1288 * lpr.el (print-region-function): Use new name.
1290 * subr.el (custom-declare-variable-early): Remove function.
1291 (custom-declare-variable-list): Remove var.
1292 (error, user-error): Remove `while' loop.
1293 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1294 (user-emacs-directory-warning, locate-user-emacs-file):
1296 * simple.el (read-quoted-char-radix, read-quoted-char):
1297 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1299 * custom.el (custom-declare-variable-list): Don't process
1300 custom-declare-variable-list.
1302 * progmodes/python.el (python-shell-get-buffer): New function.
1303 (python-shell-get-process): Use it.
1304 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1305 Python which encoding was used. Don't split-string since we only care
1306 about the first line. Return the temp-file, if applicable.
1307 (python-shell-send-region): Tell compile.el how to turn locations in
1308 the temp-file into locations in the source buffer.
1310 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1312 * subr.el (undefined): Add missing behavior from the C code for
1315 * rect.el: Use lexical-binding. Add new rectangular region support.
1316 (rectangle-mark): New command.
1317 (rectangle--region): New var.
1318 (deactivate-mark-hook): Reset rectangle--region.
1319 (rectangle--extract-region, rectangle--insert-for-yank)
1320 (rectangle--highlight-for-redisplay)
1321 (rectangle--unhighlight-for-redisplay): New functions.
1322 (region-extract-function, redisplay-unhighlight-region-function)
1323 (redisplay-highlight-region-function): Use them to handle
1325 * simple.el (region-extract-function): New var.
1326 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1327 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1328 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1329 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1330 (redisplay-unhighlight-region-function)
1331 (redisplay-highlight-region-function): New vars.
1332 (redisplay--update-region-highlight): New function.
1333 (pre-redisplay-function): Use it.
1334 (exchange-point-and-mark): Don't deactivate the mark before
1335 reactivate-it anyway.
1336 * comint.el (comint-kill-region): Remove yank-handler argument.
1337 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1338 (delete-char): Remove property, since it's now part of their
1340 (self-insert-iso): Remove property since this command doesn't exist.
1342 * emacs-lisp/package.el (package--download-one-archive)
1343 (describe-package-1): Don't query the user about final newline.
1345 2013-10-29 Daniel Colascione <dancol@dancol.org>
1347 * net/tramp.el (tramp-methods): Document new functionality.
1348 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1349 tramp-hostname-checker if method provides one instead of scanning
1350 argument list for "%h" to decide hostname acceptability.
1352 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1354 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1355 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1356 Handle COPY-CONTENTS. (Bug#15737)
1358 2013-10-28 Daiki Ueno <ueno@gnu.org>
1361 (epa-file-cache-passphrase-for-symmetric-encryption):
1362 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1364 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1366 * image.el (defimage):
1367 (image-load-path): Doc fixes.
1369 2013-10-27 Alan Mackenzie <acm@muc.de>
1371 Indent statements in macros following "##" correctly.
1372 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1373 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1375 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1377 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1379 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1381 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1382 after `=' is probably a new expression.
1384 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1386 * man.el (man-imenu-title): New option.
1387 (Man-mode-map): Add menu. (Bug#15722)
1388 (Man-mode): Add imenu to menu.
1390 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1392 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1393 specific in what the first arg can be: a non-keyword word,
1394 string/regexp/percent literal opener, opening paren, or unary
1395 operator followed directly by word.
1397 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1400 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1401 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1402 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1403 Remove vars, they do not apply any more.
1404 (prolog-mode-abbrev-table): Remove redundant declaration.
1405 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1406 (prolog-use-smie): Remove.
1407 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1408 supported by prolog-electric-if-then-else-flag.
1409 (prolog-mode-variables, prolog-menu): Use setq-local.
1410 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1411 Remove binding to `Backspace' since this key doesn't exist anyway.
1412 Remove bindings for electric self-inserting keys.
1413 (prog-mode): Assume it's defined.
1414 (prolog-post-self-insert): New function.
1415 (prolog-mode): Use it.
1416 (prolog-indent-line, prolog-indent-level)
1417 (prolog-find-indent-of-matching-paren)
1418 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1419 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1420 (prolog-goto-next-paren, prolog-in-string-or-comment)
1421 (prolog-tokenize, prolog-inside-mline-comment)
1422 (prolog-find-start-of-mline-comment): Remove functions.
1423 (prolog-find-unmatched-paren, prolog-clause-end)
1424 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1425 (prolog-electric--if-then-else): Rename from
1426 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1427 (prolog-tokenize-searchkey): Remove const.
1428 (prolog-clause-info): Use forward-sexp.
1429 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1430 (prolog-electric-if-then-else): Remove commands.
1431 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1432 for use in post-self-insert-hook.
1433 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1434 for use in post-self-insert-hook.
1435 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1436 for use in post-self-insert-hook.
1437 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1438 adapt it for use in post-self-insert-hook.
1440 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1442 * emacs-lisp/ert.el (ert-run-tests-interactively):
1443 Use `completing-read'. (Bug#9756)
1445 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1447 * simple.el (line-move): Call line-move-1 instead of
1448 line-move-visual when the current window hscroll is zero, but
1449 temporary-goal-column indicates we will need to hscroll as result
1450 of the movement. (Bug#15712)
1452 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1454 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1455 capitalization. Use :visible instead of :active.
1456 Fix `ruby-indent-exp' reference. Add menu items for the generic
1457 commands that are used with SMIE.
1458 (ruby-do-end-to-brace): Insert space after `{'.
1460 2013-10-25 John Anthony <john@jo.hnanthony.com>
1462 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1464 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1466 2013-10-25 Glenn Morris <rgm@gnu.org>
1468 * vc/vc.el (vc-print-log): Don't use a working revision unless
1469 one was explicitly specified. (Bug#15322)
1471 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * subr.el (add-to-list): Preserve return value in compiler-macro
1476 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1478 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1479 result. Ask user to retry using '-all' flag. (Bug#15701)
1481 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * emacs-lisp/smie.el: New smie-config system.
1484 (smie-config): New defcustom.
1485 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1486 (smie-config-guess, smie-config-save): New commands.
1487 (smie-config--mode-local, smie-config--buffer-local)
1488 (smie-config--trace, smie-config--modefuns): New vars.
1489 (smie-config--advice, smie-config--mode-hook)
1490 (smie-config--setter, smie-config-local, smie-config--get-trace)
1491 (smie-config--guess-value, smie-config--guess): New functions.
1492 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1493 text properties. Treat "string fence" syntax like string syntax.
1495 * progmodes/sh-script.el (sh-use-smie): Change default.
1496 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1497 (sh-var-value): Simplify by CSE.
1498 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1499 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1501 (sh-guess-basic-offset): Use cl-incf.
1502 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1504 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1506 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1509 2013-10-24 Glenn Morris <rgm@gnu.org>
1511 * Makefile.in (abs_top_srcdir): Remove.
1512 (update-subdirs): Use relative path to update-subdirs.
1514 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1516 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1517 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1518 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1519 Call unmsys--file-name before expand-file-name, not after it.
1521 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1523 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1524 (ert-test-skipped): New error.
1525 (ert-skip, ert-stats-skipped): New defuns.
1526 (ert--skip-unless): New macro.
1527 (ert-test-skipped): New struct.
1528 (ert--run-test-debugger, ert-test-result-type-p)
1529 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1530 (ert--stats-set-test-and-result, ert-char-for-test-result)
1531 (ert-string-for-test-result, ert-run-tests-batch)
1532 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1533 Handle skipped tests. (Bug#9803)
1535 2013-10-24 Glenn Morris <rgm@gnu.org>
1537 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1539 * Makefile.in (abs_top_srcdir): New, set by configure.
1540 (update-subdirs): Correct build-aux location.
1542 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1544 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1545 value, whether we could auto-deduce `backend', or not.
1547 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1548 with parameters" example. Simplify the "is it block or is it
1549 hash" check, but also make it more thorough.
1551 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1553 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1555 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1560 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1563 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1565 * progmodes/compile.el (compilation-directory-matcher)
1566 (compilation-page-delimiter):
1567 Support GNU Make-4.0 directory quoting. (Bug#15678)
1569 2013-10-23 Leo Liu <sdl.web@gmail.com>
1571 * ido.el (ido-tidy): Handle read-only text.
1573 2013-10-23 Glenn Morris <rgm@gnu.org>
1575 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1576 (emacs, compile, compile-always):
1577 Quote entities that might contain whitespace.
1578 (custom-deps, finder-data, autoloads): Use abs_lisp.
1579 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1580 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1581 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1583 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1585 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1586 Use `following-char'.
1588 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1590 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1591 * progmodes/ruby-mode.el (ruby-smie-rules):
1592 Remove corresponding workaround. Fix indentation rule of ";" so it
1593 also applies when ";" is the parent.
1595 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1597 * frame.el (display-screens, display-pixel-height)
1598 (display-pixel-width, display-mm-width, display-backing-store)
1599 (display-save-under, display-planes, display-color-cells)
1600 (display-visual-class, display-monitor-attributes-list):
1601 Mention the optional ‘display’ argument in doc strings.
1603 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1605 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1606 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1608 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1610 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1611 TODO. Add "." after " @ ".
1612 (ruby-smie--at-dot-call): New function. Checks if point at method
1613 call with explicit target.
1614 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1615 to the method name tokens when it precedes them.
1616 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1617 (ruby-smie-rules): Add rule for indentation before and after "."
1620 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1622 * textmodes/remember.el (remember-diary-extract-entries):
1625 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1628 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1630 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1631 (ruby-smie--implicit-semi-p): Add new operator chars.
1633 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1635 (ruby-smie--args-separator-p): Check that there's no newline
1636 between method call and its arguments.
1638 2013-10-20 Alan Mackenzie <acm@muc.de>
1640 Allow comma separated lists after Java "implements".
1642 * progmodes/cc-engine.el (c-backward-over-enum-header):
1644 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1645 from a "disallowed" list in enum fontification.
1647 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1649 * startup.el (default-frame-background-mode): Remove unused defvar.
1651 * progmodes/verilog-mode.el (verilog-mode): Don't set
1652 comment-indent-function globally.
1654 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1656 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1657 Move Info menu item creation to ns-win.el.
1659 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1662 * menu-bar.el: Move GNUStep specific menus...
1664 * term/ns-win.el (ns-initialize-window-system): ... to here.
1666 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1668 * simple.el (newline): Only run post-self-insert-hook when
1669 called interactively.
1671 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1673 * icomplete.el (icomplete-with-completion-tables): Add :version.
1675 2013-10-19 Alan Mackenzie <acm@muc.de>
1677 Fix fontification bugs with constructors and const.
1679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1680 CASE 2) Remove the check for the absence of a suffix construct
1681 after a function declaration with only types (no identifiers) in
1682 the parentheses. Also, accept a function declaration with just a
1683 type inside the parentheses, if this type can be positively
1684 recognised as such, or if a prefix keyword like "explicit" nails
1685 down the construct as a declaration.
1687 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1689 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1690 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1691 the problem whereby selecting a menu item that leads to a
1692 minibuffer prompt moves the cursor out of the minibuffer window,
1693 making it hard to type at the prompt. Suggested by Stefan Monnier
1694 <monnier@iro.umontreal.ca>.
1696 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1698 * menu-bar.el: Don't make Services menu.
1700 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1702 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1703 (ffap-alist): Use ffap-c++-mode for c++-mode.
1704 (ffap-c++-path): New variable.
1705 (ffap-c++-mode): New function.
1707 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1709 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1711 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1713 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1714 introduced on 2013-09-08, which results in an infinite loop
1715 requesting a password.
1717 2013-10-18 Glenn Morris <rgm@gnu.org>
1719 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1721 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1723 Sync with upstream verilog-mode revision 1a6ecec7.
1724 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1725 (verilog-mode-release-date): Remove.
1726 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1727 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1728 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1729 (verilog-auto-tieoff-ignore-regexp)
1730 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1731 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1732 (verilog-signals-with, verilog-dir-cache-preserving)
1733 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1735 (verilog-case-fold): New option, to control case folding in
1736 regexp searches, bug597.
1737 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1738 (verilog-string-match-fold, verilog-in-paren-count)
1739 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1740 (verilog-at-close-struct-p): New functions.
1741 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1742 (verilog-forward-sexp, verilog-set-auto-endcomments):
1743 (verilog-leap-to-case-head): Handle "unique0" case.
1744 (verilog-in-constraint-re): New constant.
1745 (verilog-keywords, verilog-type-font-keywords):
1746 Add some SystemVerilog 1800-2012 keywords.
1747 (verilog-label-be): Remove unimplemented argument, bug669.
1748 (verilog-batch-execute-func): When batch expanding clear
1749 create-lockfiles to prevent spurious user locks when a file ends
1751 (verilog-calculate-indent, verilog-calc-1)
1752 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1753 (verilog-do-indent): Fix indentation of nested constraints
1755 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1756 (verilog-auto-inst-param): Use verilog-string-match-fold.
1757 (verilog-read-inst-module-matcher):
1758 Fix AUTOINST on gate primitives with #1.
1759 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1760 Reads all user-defined typed variables.
1761 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1762 (verilog-signals-matching-regexp)
1763 (verilog-signals-not-matching-regexp, verilog-auto):
1764 Respect verilog-case-fold.
1765 (verilog-diff-report): Fix line count.
1766 (verilog-auto-assign-modport): Remove unused local `modi'.
1767 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1768 better handle multidimensional arrays.
1769 Fix packed array ports misadding bit index in AUTOINST, bug637.
1770 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1771 to not double-declare existing outputs and inputs, respectively.
1772 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1773 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1774 (verilog-sk-uvm-component): New skeleton.
1775 (verilog-submit-bug-report): Add verilog-case-fold,
1776 remove verilog-mode-release-date.
1778 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1780 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1783 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1785 * textmodes/remember.el (remember): set buffer-offer-save in
1786 remember buffers (bug#13566).
1788 2013-10-18 Daniel Colascione <dancol@dancol.org>
1790 When evaluating forms in ielm, direct standard output to ielm
1791 buffer. Add new ielm-return-for-effect command. Remove trailing
1792 whitespace throughout.
1794 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1795 (ielm-return-for-effect): New command.
1796 (ielm-send-input): Accept optional `for-effect' parameter.
1797 (ielm-eval-input): Accept optional `for-effect' parameter.
1798 Bind `standard-output' to stream we create using
1799 `ielm-standard-output-impl'. Suppress printing result when
1801 (ielm-standard-output-impl): New function.
1802 (inferior-emacs-lisp-mode): Explain new features in documentation.
1804 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1808 * net/tramp.el (tramp-debug-message): Do not check for connection
1810 (tramp-message): Use "vector" connection property.
1812 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1813 (tramp-equal-remote, tramp-eshell-directory-change)
1814 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1815 (tramp-adb-handle-rename-file)
1816 * net/tramp-cmds.el (tramp-list-remote-buffers)
1817 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1818 * net/tramp-compat.el (tramp-compat-process-running-p)
1819 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1820 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1821 (tramp-gvfs-handle-rename-file)
1822 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1823 (tramp-set-file-uid-gid)
1824 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1825 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1828 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1829 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1830 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1831 (tramp-gw-open-network-stream): Suppress unrelated traces.
1833 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1834 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1835 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1836 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1837 connection property.
1839 * net/tramp-cache.el (top): Suppress traces when reading
1842 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1843 Refactor common code. Improve debug message.
1844 (tramp-maybe-open-connection)
1845 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1846 connection buffer too early.
1848 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1849 from `tramp-smb-actions-with-acl'.
1850 (tramp-smb-actions-set-acl): New defconst.
1851 (tramp-smb-handle-copy-directory)
1852 (tramp-smb-action-get-acl): New defun, renamed from
1853 `tramp-smb-action-with-acl'.
1854 (tramp-smb-action-set-acl): New defun.
1855 (tramp-smb-handle-set-file-acl): Rewrite.
1857 2013-10-17 Glenn Morris <rgm@gnu.org>
1859 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1861 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * skeleton.el (skeleton-newline): Remove.
1864 (skeleton-internal-1): Use (insert "\n") instead.
1866 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1869 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1870 forward-sexp-function while we redo its job (bug#15613).
1872 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1874 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1875 represented by lists.
1877 2013-10-16 Glenn Morris <rgm@gnu.org>
1879 * tmm.el (tmm--history): New dynamic variable.
1880 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1882 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1884 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1885 (tramp-smb-errors): Add error messages.
1886 (tramp-smb-actions-with-acl): New defconst.
1887 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1888 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1889 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1890 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1891 (tramp-smb-get-stat-capability): Fix tests.
1893 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1895 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1898 2013-10-16 Glenn Morris <rgm@gnu.org>
1900 * ansi-color.el (ansi-color-drop-regexp):
1901 Add 1J, 1K, 2K. (Bug#15617)
1903 * files.el (hack-local-variables--warned-lexical): New.
1904 (hack-local-variables):
1905 Warn about misplaced lexical-binding. (Bug#15616)
1907 * net/eww.el (eww-render): Always set eww-current-url,
1908 and update header line. (Bug#15622)
1909 (eww-display-html): ... Rather than just doing it here.
1911 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1913 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1914 menu navigations commands.
1916 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1918 * progmodes/subword.el (subword-capitalize): Be careful when
1919 the search for [[:alpha:]] fails (bug#15580).
1921 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1923 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1924 to commands that scroll the menu.
1926 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1928 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1929 Handle methods ending with `?' and `!'.
1931 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1933 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1934 `japanese-cp932' to `cp932' to fix the problem where saving a
1935 source file written in Shift_JIS twice would end up having
1936 `coding: japanese-cp932' which Ruby could not recognize.
1937 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1938 in `ruby-encoding-map'.
1939 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1940 doesn't need to be explicitly declared in magic comment.
1941 (ruby-encoding-map): Add type declaration for better customize UI.
1943 2013-10-13 Glenn Morris <rgm@gnu.org>
1945 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1946 Occur buffers are read-only. http://bugs.debian.org/720775
1948 * emacs-lisp/authors.el (authors-fixed-entries):
1949 Comment out old alpha stuff.
1951 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1953 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1954 to `after-save-hook' instead of `before-save-hook'.
1955 (ruby-mode-set-encoding): Use the value of coding system used to
1956 write the file. Call `basic-save-buffer-1' after modifying the
1959 2013-10-13 Alan Mackenzie <acm@muc.de>
1961 Fix indentation/fontification of Java enum with
1962 "implements"/generic.
1964 * progmodes/cc-engine.el (c-backward-over-enum-header):
1965 Extracted from the three other places and enhanced to handle generics.
1966 (c-inside-bracelist-p): Uses new function above.
1967 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1969 (c-font-lock-enum-tail): Uses new function above.
1971 2013-10-13 Kenichi Handa <handa@gnu.org>
1973 * international/mule-cmds.el (select-safe-coding-system): Remove a
1974 superfluous condition in chekcing whether a coding system is safe
1977 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1979 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1981 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1983 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1985 2013-10-13 Glenn Morris <rgm@gnu.org>
1987 * menu-bar.el (menu-bar-update-buffers):
1988 Unify Buffers menu prompt string. (Bug#15576)
1990 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1992 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1994 (authors-fixed-entries): Use accented form of name.
1996 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1999 method calls (bug#15594).
2000 (ruby-smie--args-separator-p): New function.
2001 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2002 recognize paren-free method calls.
2004 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2005 internals of universal-argument.
2007 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2009 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2010 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2011 dropped menu on second mouse click on the menu bar.
2013 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2016 (explicit-shell-file-name): Declare.
2017 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2018 (sh-completion-at-point-function): New function.
2020 (sh-smie--keyword-p): Remove unused argument.
2021 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2023 (sh-set-shell): Always setup SMIE, even if we use the
2024 old indentation code.
2026 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2028 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2030 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2031 predicate would return nil are almost non-existent.
2032 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2034 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2035 cache also after commands that modify the buffer but don't move
2038 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * env.el (substitute-env-in-file-name): New function.
2041 (substitute-env-vars): Extend the meaning of the optional arg.
2043 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2045 * term/w32-win.el (dynamic-library-alist): Define separate lists
2046 of GIF DLLs for versions before and after 5.0.0 of giflib.
2049 2013-10-10 João Távora <joaotavora@gmail.com>
2051 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2052 not locked, use last revision and current source as
2053 defaults. (Bug#15569)
2055 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2057 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2060 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2062 * window.el (pop-to-buffer-same-window): Fix doc-string.
2065 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2069 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2071 * calendar/icalendar.el (icalendar-import-file):
2072 Fix interactive spec. (Bug#15482)
2074 2013-10-10 Glenn Morris <rgm@gnu.org>
2076 * desktop.el (desktop-save): Default to saving in .emacs.d,
2077 since PWD is no longer in desktop-path by default. (Bug#15319)
2079 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2080 now that text mode has a menu with the same entry.
2081 (menu-bar-text-mode-auto-fill): Remove now unused func.
2082 * textmodes/text-mode.el (text-mode-map):
2083 Use auto-fill help text from menu-bar.el.
2085 2013-10-10 John Anthony <john@jo.hnanthony.com>
2087 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2089 2013-10-09 Juri Linkov <juri@jurta.org>
2091 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2092 instead of this-command-keys. Add universal-argument-more and
2093 universal-argument-minus to the list of prefix commands. (Bug#15568)
2095 2013-10-09 Glenn Morris <rgm@gnu.org>
2097 * vc/vc-svn.el (vc-svn-create-repo):
2098 Expand paths in file://... url. (Bug#15446)
2100 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2102 (authors): Remove unused local variables.
2104 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * profiler.el: Create a more coherent calltree from partial backtraces.
2107 (profiler-format): Hide the tail with `invisible' so that C-s can still
2108 find the hidden elements.
2109 (profiler-calltree-depth): Don't recurse so enthusiastically.
2110 (profiler-function-equal): New hash-table-test.
2111 (profiler-calltree-build-unified): New function.
2112 (profiler-calltree-build): Use it.
2113 (profiler-report-make-name-part): Indent the calltree less.
2114 (profiler-report-mode): Add visibility specs for profiler-format.
2115 (profiler-report-expand-entry, profiler-report-toggle-entry):
2116 Expand the whole subtree when provided with a prefix arg.
2118 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2120 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2122 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2123 hanging iuwu-mod token.
2124 (ruby-smie--forward-token): Do not include a dot after a token in
2126 (ruby-smie--backward-token): Likewise.
2128 2013-10-08 Juri Linkov <juri@jurta.org>
2130 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2131 to isearch-other-control-char.
2132 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2133 and isearch-post-command-hook to post-command-hook.
2134 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2135 and isearch-post-command-hook from post-command-hook.
2136 (isearch-unread-key-sequence)
2137 (isearch-reread-key-sequence-naturally)
2138 (isearch-lookup-scroll-key, isearch-other-control-char)
2139 (isearch-other-meta-char): Remove functions.
2140 (isearch-pre-command-hook, isearch-post-command-hook):
2141 New functions based on isearch-other-meta-char rewritten
2142 relying on the new behavior of overriding-terminal-local-map
2143 that does not replace the local keymaps any more. (Bug#15200)
2145 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2147 Support menus on text-mode terminals.
2148 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2151 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2153 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2154 Move here from mouse.el.
2155 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2157 (tty-menu-navigation-map): New map for TTY menu navigation.
2159 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2161 * frame.el (display-mouse-p): Report text-mode mouse as available
2163 (display-popup-menus-p): Report availability if mouse is
2164 available; don't condition on window-system.
2166 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2167 (tty-menu-selected-face): New faces.
2169 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2172 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2173 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2174 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2176 (lisp-mode-variables): New `elisp' argument.
2177 (emacs-lisp-mode): Use it.
2178 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2179 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2181 * indent.el: Use lexical-binding.
2182 (indent-region): Add progress reporter.
2183 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2185 (indent--next-tab-stop): New function to implement this behavior.
2186 (tab-to-tab-stop, move-to-tab-stop): Use it.
2188 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2190 * indent.el (indent-rigidly--current-indentation): New function.
2191 (indent-rigidly-map): New var.
2192 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2194 2013-10-08 Bastien Guerry <bzg@gnu.org>
2196 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2198 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * progmodes/perl-mode.el: Use lexical-binding.
2201 Remove redundant :group args.
2202 (perl-nochange): Change default to be closer to other major modes's
2204 (perl-indent-line): Don't consider text on current line as a
2205 valid beginning of function from which to indent.
2207 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2208 with more than one argument (bug#15538).
2210 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2212 * vc/pcvs.el: Use lexical-binding.
2213 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2214 environment of `eval'.
2215 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2216 than a list of expressions. Adjust callers.
2217 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2219 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2221 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2222 case of the dot in a chained method call being on the following line.
2224 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * electric.el (electric-indent-inhibit): New var.
2227 (electric-indent-post-self-insert-function): Use it.
2228 * progmodes/python.el (python-mode): Set it.
2230 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2233 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2235 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2236 (css-mode): Use electric-indent-chars.
2238 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2239 (font-lock-beg, font-lock-end): Move before first use.
2240 (nxml-mode): Use syntax-propertize-function.
2241 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2242 (nxml-extend-after-change-region): Remove.
2243 * nxml/xmltok.el: Use lexical-binding.
2244 (xmltok-save): Use `declare'.
2245 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2246 * nxml/nxml-util.el: Use lexical-binding.
2247 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2249 * nxml/nxml-ns.el: Use lexical-binding.
2250 (nxml-ns-save): Use `declare'.
2251 (nxml-ns-prefixes-for): Avoid add-to-list.
2252 * nxml/rng-match.el: Use lexical-binding.
2253 (rng--ipattern): Use cl-defstruct.
2254 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2255 (rng-cons-group-after, rng-subst-group-after)
2256 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2257 Use closures instead of `(lambda...).
2259 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2261 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2265 Use `tramp-handle-insert-file-contents'.
2266 (tramp-gvfs-handle-insert-file-contents): Remove function.
2268 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2269 Use `save-restriction' in order to keep markers.
2271 * net/trampver.el: Update release number.
2273 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * progmodes/compile.el (compilation-parse-errors):
2276 Use compilation--put-prop.
2277 (compilation--ensure-parse): Check compilation-multiline.
2279 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2281 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2284 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2286 * progmodes/ruby-mode.el: Fix recently added tests.
2287 (ruby-smie-grammar): Add - and +.
2288 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2289 (ruby-smie--backward-id): New functions.
2290 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2291 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2294 2013-10-07 Leo Liu <sdl.web@gmail.com>
2296 * register.el (register-preview-delay)
2297 (register-preview-functions): New variables.
2298 (register-read-with-preview, register-preview)
2299 (register-describe-oneline): New functions.
2300 (point-to-register, window-configuration-to-register)
2301 (frame-configuration-to-register, jump-to-register)
2302 (number-to-register, view-register, insert-register)
2303 (copy-to-register, append-to-register, prepend-to-register)
2304 (copy-rectangle-to-register): Use register-read-with-preview to
2305 read register. (Bug#15525)
2307 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2309 * net/network-stream.el (network-stream-open-starttls): Don't add
2310 --insecure if it's already present, because that gnutls-cli
2311 rejects getting that parameter twice.
2313 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2315 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2318 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2320 * newcomment.el (comment-use-global-state): Change default value
2321 to t, mark obsolete (Bug#15251).
2322 (comment-beginning): In addition to `comment-to-syntax', check the
2323 value of `comment-use-global-state'.
2325 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2327 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2328 (ruby-comment-column): Follow the global default, by default.
2329 (ruby-smie-grammar): Add assignment syntax.
2330 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2331 open-paren, a comma, or a \.
2332 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2333 and line continuations.
2334 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2335 followed by implicit semi-colons. Add rule for string concatenation
2336 and for indentation at BOB.
2337 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2339 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2340 calling next-sexp, since next-token may have skipped chars which
2341 next-sexp doesn't know should be skipped!
2343 2013-10-05 Leo Liu <sdl.web@gmail.com>
2345 * progmodes/octave.el (octave-send-region):
2346 Call compilation-forget-errors.
2348 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2350 * vc/vc-svn.el (vc-svn-find-admin-dir):
2351 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2352 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2353 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2354 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2356 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2360 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2362 * subr.el (read-passwd): Hide chars even when called within a context
2363 where after-change-functions is disabled (bug#15501).
2364 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2365 until we removed ourself from overriding-terminal-local-map.
2367 2013-10-04 Leo Liu <sdl.web@gmail.com>
2369 * progmodes/octave.el (inferior-octave-mode):
2370 Call compilation-forget-errors.
2372 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2374 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2376 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2378 * net/secrets.el (secrets-create-collection): Add optional
2379 argument ALIAS. Use proper Label keyword. Append ALIAS as
2380 dbus-call-method argument. (Bug#15516)
2382 2013-10-04 Leo Liu <sdl.web@gmail.com>
2384 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2385 (inferior-octave-compilation-font-lock-keywords): New variables.
2386 (compilation-error-regexp-alist)
2387 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2388 (inferior-octave-mode): Use compilation-shell-minor-mode.
2390 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2392 * minibuffer.el (completion--replace): Be careful that `end' might be
2395 2013-10-03 Daiki Ueno <ueno@gnu.org>
2397 Add support for package signature checking.
2398 * emacs-lisp/package.el (url-http-file-exists-p)
2399 (epg-make-context, epg-context-set-home-directory)
2400 (epg-verify-string, epg-context-result-for)
2401 (epg-signature-status, epg-signature-to-string)
2402 (epg-check-configuration, epg-configuration)
2403 (epg-import-keys-from-file): Declare.
2404 (package-check-signature): New user option.
2405 (package-unsigned-archives): New user option.
2406 (package-desc): Add `signed' field.
2407 (package-load-descriptor): Set `signed' field if .signed file exists.
2408 (package--archive-file-exists-p): New function.
2409 (package--check-signature): New function.
2410 (package-install-from-archive): Check package signature.
2411 (package--download-one-archive): Check archive signature.
2412 (package-delete): Remove .signed file.
2413 (package-import-keyring): New command.
2414 (package-refresh-contents): Import default keyring.
2415 (package-desc-status): Add "unsigned" status.
2416 (describe-package-1, package-menu--print-info)
2417 (package-menu-mark-delete, package-menu--find-upgrades)
2418 (package-menu--status-predicate): Support "unsigned" status.
2420 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2423 the new compilation scheme using the new byte-codes.
2425 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2426 (byte-pophandler): New byte codes.
2427 (byte-goto-ops): Adjust accordingly.
2428 (byte-compile--use-old-handlers): New var.
2429 (byte-compile-catch): Use new byte codes depending on
2430 byte-compile--use-old-handlers.
2431 (byte-compile-condition-case--old): Rename from
2432 byte-compile-condition-case.
2433 (byte-compile-condition-case--new): New function.
2434 (byte-compile-condition-case): New function that dispatches depending
2435 on byte-compile--use-old-handlers.
2436 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2439 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2440 Optimize under `condition-case' and `catch' if
2441 byte-compile--use-old-handlers is nil.
2442 (disassemble-offset): Handle new bytecodes.
2444 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2446 * subr.el (error): Use `declare'.
2447 (decode-char, encode-char): Use advertised-calling-convention instead
2448 of the docstring to discourage use of the `restriction' arg.
2450 2013-10-03 Daiki Ueno <ueno@gnu.org>
2452 * epg.el (epg-verify-file): Add a comment saying that it does not
2453 notify verification error as a return value nor a signal.
2454 (epg-verify-string): Ditto.
2456 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2458 * progmodes/compile.el (compilation-start): Try globbing the arg to
2461 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2463 Sync with Tramp 2.2.8.
2465 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2466 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2467 * net/trampver.el: Update release number.
2469 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2471 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2472 and default-process-coding-system for darwin only.
2474 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2478 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2480 * vc/vc-git.el (vc-git-grep): Disable pager.
2482 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2484 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2485 Use :url instead of :homepage, as per
2486 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2488 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2489 non-nil, use `syntax-ppss' (Bug#15251).
2491 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2493 * progmodes/octave.el (inferior-octave-startup-file):
2494 Prefer ~/.emacs.d/init_octave.m.
2496 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2498 * emacs-lisp/package.el (package-desc-from-define):
2499 Accept additional arguments as plist, convert them to an alist and store
2500 them in the `extras' slot.
2501 (package-generate-description-file): Convert extras alist back to
2502 plist and append to the `define-package' form arguments.
2503 (package--alist-to-plist): New function.
2504 (package--ac-desc): Add `extras' slot.
2505 (package--add-to-archive-contents): Check if the archive-contents
2506 vector is long enough, and if it is, pass its `extras' slot value
2507 to `package-desc-create'.
2508 (package-buffer-info): Call `lm-homepage', pass the returned value
2509 to `package-desc-from-define'.
2510 (describe-package-1): Render the homepage button (Bug#13291).
2512 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2513 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2515 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2517 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2518 and default-process-coding-system to utf-8-unix (Bug#15402).
2520 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2522 * subr.el (looking-back): Do not recommend using looking-back.
2524 2013-09-28 Alan Mackenzie <acm@muc.de>
2526 Fix indentation/fontification of Java enum with "implements".
2528 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2529 regexp which matches "implements", etc., in Java.
2530 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2531 specifier clauses coming after "enum".
2532 * progmodes/cc-fonts.el (c-font-lock-declarations)
2533 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2536 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2538 * faces.el (region): Change ns_selection_color to
2539 ns_selection_fg_color, add ns_selection_bg_color.
2541 2013-09-28 Leo Liu <sdl.web@gmail.com>
2543 * progmodes/octave.el (inferior-octave-completion-table)
2544 (inferior-octave-completion-at-point): Minor tweaks.
2546 * textmodes/ispell.el (ispell-lookup-words): Rename from
2547 lookup-words. (Bug#15460)
2548 (lookup-words): Obsolete.
2549 (ispell-complete-word, ispell-command-loop): All uses changed.
2551 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2553 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2554 (octave-mode-menu): Add octave-send-buffer.
2555 (octave-send-buffer): New function.
2557 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2559 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2561 (octave-mode-menu): Add octave-lookfor.
2562 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2564 (octave-lookfor): New function.
2566 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2568 * emacs-lisp/cl-macs.el:
2569 (cl--loop-destr-temps): Remove.
2570 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2572 (cl--loop-set-iterator-function): New function.
2573 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2574 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2575 Bind `it' with `let' instead of substituting it with `cl-subst'.
2576 (cl--unused-var-p): New function.
2577 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2578 Eliminate some unused variable warnings (bug#15326).
2580 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2582 * doc-view.el (doc-view-scale-reset): Rename from
2583 `doc-view-reset-zoom-level'.
2584 (doc-view-scale-adjust): New command.
2585 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2586 `doc-view-scale-adjust'.
2588 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2590 * doc-view.el (doc-view-reset-zoom-level): New command.
2591 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2592 zoom commands (bug#15466).
2594 2013-09-26 Kenichi Handa <handa@gnu.org>
2596 * international/quail.el (quail-help): Make it not a command.
2598 2013-09-26 Leo Liu <sdl.web@gmail.com>
2600 * minibuffer.el (completion-all-sorted-completions): Make args
2601 optional as they are.
2603 2013-09-25 Daniel Colascione <dancol@dancol.org>
2605 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2606 specs are and that they're not evaluated.
2608 2013-09-24 Sam Steingold <sds@gnu.org>
2610 * midnight.el (clean-buffer-list-kill-regexps)
2611 (clean-buffer-list-kill-buffer-names): Update for the new Man
2612 buffer naming which includes the object name.
2614 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2616 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2617 (eshell-parse-command, eshell-parse-pipeline): Use it since
2618 eshell-separate-commands requires a dynamic scoped var.
2619 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2621 2013-09-23 Leo Liu <sdl.web@gmail.com>
2623 * autoinsert.el (auto-insert-alist): Make the value of
2624 lexical-binding match its file setting.
2626 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2628 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2630 * autoarg.el (autoarg-kp-digit-argument):
2631 * electric.el (Electric-command-loop):
2632 * kmacro.el (kmacro-step-edit-insert):
2633 Do not set universal-argument-num-events.
2635 2013-09-22 Leo Liu <sdl.web@gmail.com>
2637 * files.el (interpreter-mode-alist): Add octave.
2639 2013-09-21 Alan Mackenzie <acm@muc.de>
2641 C++: fontify identifier in declaration following "public:" correctly.
2642 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2643 to match "public", etc.
2644 (c-decl-prefix-re): Add ":" into the C++ value.
2645 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2646 bit. Add a check for a ":" preceded by "public", etc.
2648 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2650 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2651 recognized by GDB 7.5 and later.
2653 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2655 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2657 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * subr.el (internal--call-interactively): New const.
2660 (called-interactively-p): Use it (bug#3984).
2662 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2664 * vc/pcvs.el (cvs-mode-ignore):
2665 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2666 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2668 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2670 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2671 (eshell-ls-orig-insert-directory): Remove.
2672 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2673 (eshell-ls-use-in-dired): Use advice-add/remove.
2674 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2675 Add `orig-fun' arg for use in :around advice.
2676 Make it check (redundantly) eshell-ls-use-in-dired.
2678 2013-09-19 Glenn Morris <rgm@gnu.org>
2680 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2682 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2684 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2686 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2688 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2689 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2690 (tramp-get-remote-python): New defuns.
2691 (tramp-get-remote-uid-with-perl)
2692 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2693 contributed by yary <not.com@gmail.com> (tiny change).
2694 (tramp-get-remote-uid-with-python)
2695 (tramp-get-remote-gid-with-python): New defuns. Python code
2696 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2697 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2699 2013-09-19 Glenn Morris <rgm@gnu.org>
2701 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2703 * eshell/em-unix.el (eshell-remove-entries):
2704 Rename argument to avoid name-clash with global `top-level'.
2706 * eshell/esh-proc.el (eshell-kill-process-function):
2707 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2708 (eshell-reset-after-proc): Remove unused arg `proc'.
2710 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2711 (directory-files-and-attributes): Mark unused arg.
2713 * eshell/em-unix.el (eshell-remove-entries):
2714 Remove unused arg `path'. Update callers.
2716 * eshell/em-hist.el (eshell-hist-parse-arguments):
2717 Remove unused arg `silent'. Update callers.
2719 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2720 Fix (f)boundp mix-up.
2722 * eshell/em-smart.el (eshell-smart-scroll-window)
2723 (eshell-disable-after-change):
2724 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2726 2013-09-18 Alan Mackenzie <acm@muc.de>
2728 Fix fontification of type when followed by "const".
2729 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2730 "known" types from fontification.
2732 2013-09-18 Glenn Morris <rgm@gnu.org>
2734 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2735 (chart-face-list): Drop Emacsen without display-color-p.
2737 * net/eww.el (libxml-parse-html-region): Declare.
2738 (eww-display-html): Explicit error if no libxml2 support.
2740 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2742 * image.el (image-type-from-buffer, image-multi-frame-p):
2743 Remove --without-x warning/error.
2745 * mouse.el (mouse-yank-primary):
2746 * term.el (term-mouse-paste):
2747 Reorder to silence --without-x compilation.
2749 * mpc.el (doc-view-mode): Silence --without-x compilation.
2751 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2752 Silence --without-x compilation.
2754 * progmodes/gud.el (gud-find-file, gud-mode):
2755 Silence --without-x compilation.
2756 (tooltip-mode): Declare.
2758 * wdired.el (dired-backup-overwrite): Remove declaration.
2759 (wdired-mode-map): Add doc string.
2761 * custom.el (x-get-resource): Declare.
2763 * eshell/em-glob.el (ange-cache):
2764 * eshell/em-unix.el (ange-cache): Declare.
2766 * faces.el (x-display-list, x-open-connection, x-get-resource):
2769 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2770 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2773 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2775 * net/gnutls.el (gnutls-log-level): Declare.
2777 * net/shr.el (image-size, image-animate): Declare.
2779 * simple.el (font-info): Declare.
2781 * subr.el (x-popup-dialog): Declare.
2783 * term/common-win.el (x-select-enable-primary)
2784 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2787 * term/ns-win.el (x-handle-args): Declare.
2789 * term/x-win.el (x-select-enable-clipboard): Declare.
2791 * term/w32-win.el (create-default-fontset): Declare.
2793 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2796 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2797 (fit-frame-to-buffer): Explicit error if --without-x.
2798 (mouse-autoselect-window-select): Silence compiler.
2800 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2802 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2803 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2804 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2805 * eshell/esh-util.el (eshell-sublist):
2806 Remove unused local variables.
2808 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2810 * textmodes/two-column.el: Make 2C-split work for --without-x.
2811 (scroll-bar-columns): Autoload.
2812 (top-level): Require fringe when compiling.
2814 2013-09-18 Leo Liu <sdl.web@gmail.com>
2816 * subr.el (add-hook): Robustify to handle closure as well.
2818 2013-09-17 Glenn Morris <rgm@gnu.org>
2820 * simple.el (messages-buffer-mode-map): Unbind "g".
2822 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2824 * help-mode.el (help-mode-finish): Use derived-mode-p.
2825 Remove obsolete highlighting.
2827 * play/life.el (life-mode): Use define-derived-mode. Derive from
2829 (life): Let-bind inhibit-read-only.
2830 (life-setup): Avoid `setq'. Use `life-mode'.
2832 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2833 which should not be needed any more.
2834 (package-menu-refresh, package-menu-describe-package): Use user-error.
2836 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2837 (eshell-post-rewrite-command-hook): Make obsolete.
2838 (eshell-parse-command): Simplify.
2839 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2840 (eshell--cmd): Declare.
2841 (eshell-parse-pipeline): Remove unused var `final-p'.
2842 Pass a dynvar to eshell-post-rewrite-command-hook.
2843 Implement the new eshell-post-rewrite-command-function.
2844 (eshell-invoke-directly): Remove unused arg `input'.
2845 * eshell/esh-io.el (eshell-io-initialize):
2846 Use eshell-post-rewrite-command-function (bug#15399).
2847 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2848 adjust to new calling convention.
2849 (eshell-create-handles): Rename args to avoid clashing with dynvar
2852 2013-09-17 Glenn Morris <rgm@gnu.org>
2854 * simple.el (messages-buffer-mode): New major mode.
2855 (messages-buffer): New function.
2856 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2857 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2858 (ert-run-test): Use `messages-buffer' function.
2859 (ert--force-message-log-buffer-truncation): Ignore read-only.
2860 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2861 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2863 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2865 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2867 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2869 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2871 * icomplete.el (icomplete-in-buffer): New var.
2872 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2873 vars and replace them with functions.
2874 (icomplete-minibuffer-setup): Adjust accordingly.
2875 (icomplete--completion-table, icomplete--completion-predicate)
2876 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2878 (icomplete-forward-completions, icomplete-backward-completions)
2879 (icomplete-simple-completing-p, icomplete-exhibit)
2880 (icomplete-completions): Use them.
2881 (icomplete--in-region-buffer): New var.
2882 (icomplete--in-region-setup): New function.
2883 (icomplete-mode): Use it.
2885 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2887 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2888 return args and options.
2889 (eshell-eval-using-options): Use the new return value of
2890 eshell--do-opts to set the options's vars in their scope.
2891 (eshell--set-option): Rename from eshell-set-option.
2893 (eshell--process-option): Rename from eshell-process-option.
2895 (eshell--process-args): Use an `opt-vals' alist to store the options's
2896 values during their processing and return them additionally to the
2899 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2901 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2902 continuation character an operator, as far as indentation is
2903 concerned (Bug#15369).
2905 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2907 * window.el (window--state-put-2): Don't process buffer state
2908 when buffer doesn't exist any more (Bug#15382).
2910 2013-09-15 Glenn Morris <rgm@gnu.org>
2912 * eshell/em-unix.el (eshell/rm):
2913 Make -f ignore missing files. (Bug#15373)
2915 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2916 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2917 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2919 2013-09-14 Glenn Morris <rgm@gnu.org>
2921 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2923 2013-09-13 Glenn Morris <rgm@gnu.org>
2925 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2926 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2928 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2930 * frame.el (x-focus-frame): Mark as declared in frame.c.
2932 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2934 * ls-lisp.el: Use advice-add.
2935 (original-insert-directory): Remove.
2936 (ls-lisp--insert-directory): Rename from insert-directory; add
2937 `orig-fun' argument.
2938 (insert-directory): Advise.
2940 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2942 * term.el (term-emulate-terminal): Decode the command string
2943 before passing it to term-command-hook. (Bug#15337)
2945 2013-09-13 Glenn Morris <rgm@gnu.org>
2947 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2949 * eshell/esh-ext.el (eshell-search-path): Declare.
2951 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2952 Otherwise an error occurs if eshell-dirs module not loaded.
2954 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2956 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2958 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2959 `tramp-check-proper-host'. Check for a valid method name.
2961 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2962 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2963 * net/tramp-sh.el (tramp-maybe-open-connection):
2964 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2966 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2967 also for hash values.
2969 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2971 * term/ns-win.el (parameters): Don't declare as dynamic.
2972 (before-make-frame-hook): Don't add ineffective function.
2974 * eshell/*.el: Use lexical-binding (bug#15231).
2976 2013-09-12 Kenichi Handa <handa@gnu.org>
2978 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2980 2013-09-12 Glenn Morris <rgm@gnu.org>
2982 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2983 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2985 * subr.el (do-after-load-evaluation): Also give compiler warnings
2986 when obsolete files are used (except by obsolete files).
2988 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2989 in the status output, assume `filename' is the first. (Bug#15322)
2991 * vc/vc.el (vc-deduce-fileset): Doc fix.
2993 * calc/calc-help.el (Info-goto-node):
2994 * progmodes/cperl-mode.el (Info-find-node):
2995 * vc/ediff.el (Info-goto-node): Update declarations.
2997 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2999 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3000 (vc-bzr-pull): Require vc-dispatcher.
3001 * vc/vc-git.el (vc-compilation-mode): Declare.
3002 (vc-git-pull): Require vc-dispatcher.
3004 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3006 * progmodes/octave.el (help-button-action): Declare.
3008 * shell.el (shell-directory-tracker): Output error as a message
3009 rather than just returning it as a string.
3010 (shell-process-pushd): Remove useless use of message.
3012 * dframe.el (dframe-timer-fn):
3013 * files.el (dir-locals-read-from-file):
3014 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3016 * reveal.el (reveal-post-command):
3017 * saveplace.el (load-save-place-alist-from-file):
3018 * shell.el (shell-resync-dirs):
3019 * w32-common-fns.el (x-get-selection-value):
3020 * emacs-lisp/copyright.el (copyright-find-copyright):
3021 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3022 * emulation/tpu-edt.el (tpu-copy-keyfile):
3023 * play/bubbles.el (bubbles--mark-neighbourhood):
3024 * progmodes/executable.el
3025 (executable-make-buffer-file-executable-if-script-p):
3026 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3028 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3030 Cleanup Eshell to rely less on dynamic scoping.
3031 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3032 last-value, and ext-command here. Bind `args' closer to `body'.
3033 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3034 (eshell--args): Declare new dynamic var.
3035 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3036 last-value, and ext-command. Pass `args' to `body'.
3037 (eshell-process-args): Bind eshell--args.
3038 (eshell-set-option): Use eshell--args.
3039 * eshell/eshell.el (eshell): Use derived-mode-p.
3040 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3041 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3042 (eshell-glob-function): Declare.
3043 * eshell/esh-util.el: Require cl-lib.
3044 (eshell-read-hosts-file): Avoid add-to-list.
3045 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3047 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3049 (eshell/diff): Remove unused var `err'.
3050 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3052 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3053 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3055 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3056 Move declaration before first use.
3057 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3058 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3061 2013-09-12 Glenn Morris <rgm@gnu.org>
3063 * term/ns-win.el (global-map): Remove binding for ispell-next,
3064 deleted 1999-05-29. (Bug#15357)
3066 2013-09-11 Glenn Morris <rgm@gnu.org>
3068 * echistory.el (electric-command-history): Remove call to deleted func.
3070 * play/landmark.el (landmark-mode): Fix typos.
3072 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3073 Check cvs-sort-ignore-file is bound.
3075 * savehist.el: No need for cl when compiling on Emacs.
3077 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3081 (eshell-self-insert-command, eshell-send-invisible):
3082 Remove unused argument.
3083 (eshell-handle-control-codes): Remove unused var `orig'.
3084 Avoid delete-backward-char.
3086 * files.el (set-auto-mode): Simplify a bit further.
3088 2013-09-11 Glenn Morris <rgm@gnu.org>
3090 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3091 (set-auto-mode): Don't regexp-quote elements.
3092 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3093 * progmodes/cc-mode.el (interpreter-mode-alist):
3094 * progmodes/ruby-mode.el (interpreter-mode-alist):
3095 Revert previous change.
3097 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * play/snake.el (snake-mode):
3100 * play/mpuz.el (mpuz-mode):
3101 * play/landmark.el (lm-mode):
3102 * play/blackbox.el (blackbox-mode):
3103 * play/5x5.el (5x5-mode):
3104 * obsolete/options.el (Edit-options-mode):
3105 * net/quickurl.el (quickurl-list-mode):
3106 * net/newst-treeview.el (newsticker-treeview-mode):
3107 * mail/rmailsum.el (rmail-summary-mode):
3108 * mail/mspools.el (mspools-mode):
3109 * locate.el (locate-mode):
3110 * ibuffer.el (ibuffer-mode):
3111 * emulation/ws-mode.el (wordstar-mode):
3112 * emacs-lisp/debug.el (debugger-mode):
3113 * array.el (array-mode):
3114 * net/eudc.el (eudc-mode): Use define-derived-mode.
3115 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3116 Move initialization into declaration.
3117 (mairix-searches-mode): Use define-derived-mode.
3118 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3119 (eudc-edit-hotlist): Use dolist.
3120 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3121 (Man-mode): Use define-derived-mode.
3122 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3123 (Info-edit-mode): Use define-derived-mode.
3124 (Info-cease-edit): Use Info-mode.
3125 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3127 (eshell-mode): Use define-derived-mode.
3128 * chistory.el (command-history-mode-map): Rename from
3129 command-history-map.
3130 (command-history-mode): Use define-derived-mode.
3131 (Command-history-setup): Remove function.
3132 * calc/calc.el (calc-trail-mode-map): New var.
3133 (calc-trail-mode): Use define-derived-mode.
3134 (calc-trail-buffer): Set calc-main-buffer manually.
3135 * bookmark.el (bookmark-insert-annotation): New function.
3136 (bookmark-edit-annotation): Use it.
3137 (bookmark-edit-annotation-mode): Make it a proper major mode.
3138 (bookmark-send-edited-annotation): Use derived-mode-p.
3139 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3140 closer to its ideal place. Use \' to match EOS.
3142 * profiler.el (profiler-calltree-find): Use function-equal.
3144 2013-09-10 Glenn Morris <rgm@gnu.org>
3146 * files.el (interpreter-mode-alist): Convert to regexps.
3147 (set-auto-mode): Adapt for this. (Bug#15306)
3148 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3149 Comment out unused variable.
3150 * progmodes/cc-mode.el (interpreter-mode-alist):
3151 * progmodes/python.el (interpreter-mode-alist):
3152 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3153 * progmodes/sh-script.el (sh-set-shell):
3154 No longer use interpreter-mode-alist to get list of shells.
3156 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3158 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * simple.el: Use set-temporary-overlay-map for universal-argument.
3161 (universal-argument-map): Don't use default-bindings (bug#15317).
3162 Bind switch-frame explicitly. Replace universal-argument-minus with
3163 a conditional binding.
3164 (universal-argument-num-events, saved-overriding-map): Remove.
3165 (restore-overriding-map): Remove.
3166 (universal-argument--mode): Rename from save&set-overriding-map,
3168 (universal-argument, universal-argument-more, negative-argument)
3169 (digit-argument): Adjust accordingly.
3170 (universal-argument-minus): Remove.
3171 (universal-argument-other-key): Remove.
3173 * subr.el (with-demoted-errors): Add `format' argument.
3175 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3177 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3178 `tramp-cleanup-connection'.
3180 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3181 parameters KEEP-DEBUG and KEEP-PASSWORD.
3183 * net/tramp.el (tramp-file-name-handler):
3184 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3185 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3186 (tramp-maybe-open-connection):
3187 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3188 Use `tramp-cleanup-connection'.
3190 * net/tramp-sh.el (tramp-maybe-open-connection):
3191 Catch 'uname-changed inside the progress reporter.
3193 2013-09-10 Glenn Morris <rgm@gnu.org>
3195 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3197 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3198 returns "alternate access method" in mode (eg "-rw-r--r--.").
3200 2013-09-08 Glenn Morris <rgm@gnu.org>
3202 * saveplace.el (load-save-place-alist-from-file):
3203 Demote errors. (Bug#15305)
3205 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3207 Improve compatibility with older Emacsen, and XEmacs.
3209 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3210 only if it is bound. It isn't for XEmacs.
3211 (with-tramp-progress-reporter): Do not let-bind `result'.
3212 This yields to scoping errors in XEmacs.
3213 (tramp-handle-make-auto-save-file-name): New function, moved from
3216 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3217 for `make-auto-save-file-name'.
3218 (tramp-adb--gnu-switches-to-ash):
3219 Use `tramp-compat-replace-regexp-in-string'.
3221 * net/tramp-cache.el (tramp-cache-print): Call
3222 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3224 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3225 bound. It isn't for XEmacs.
3227 * net/tramp-compat.el (tramp-compat-copy-file):
3228 Catch `wrong-number-of-arguments' error.
3229 (tramp-compat-replace-regexp-in-string): New defun.
3231 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3232 for `make-auto-save-file-name'.
3233 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3235 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3236 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3237 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3239 * net/tramp-gw.el (tramp-gw-open-network-stream):
3240 Use `tramp-compat-replace-regexp-in-string'.
3242 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3243 Call `tramp-handle-make-auto-save-file-name'.
3244 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3245 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3246 (tramp-sh-file-inotifywait-process-filter):
3247 Use `tramp-compat-replace-regexp-in-string'.
3248 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3250 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3251 for `make-auto-save-file-name'.
3252 (tramp-smb-handle-copy-directory):
3253 Call `tramp-compat-replace-regexp-in-string'.
3254 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3255 (tramp-smb-handle-copy-file): Improve error message.
3256 (tramp-smb-handle-rename-file): Rename directly only in case
3257 `newname' does not exist yet. This is a restriction of smbclient.
3258 (tramp-smb-maybe-open-connection): Rerun the function only when
3259 `auth-sources' is non-nil.
3261 2013-09-08 Kenichi Handa <handa@gnu.org>
3263 * international/characters.el: Set category "^" (Combining) for
3266 2013-09-07 Alan Mackenzie <acm@muc.de>
3268 Correctly fontify Java class constructors.
3269 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3271 (c-recognize-typeless-decls): Set the Java value to t.
3272 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3273 While handling a "(", add a check for, effectively, Java, and handle a
3274 "typeless" declaration there.
3276 2013-09-07 Roland Winkler <winkler@gnu.org>
3278 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3279 field subtitle for entry type book.
3281 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3283 * minibuffer.el: Make minibuffer-complete call completion-in-region
3284 rather than other way around.
3285 (completion--some, completion-pcm--find-all-completions):
3286 Don't delay signals when debugging.
3287 (minibuffer-completion-contents): Beware fields within the
3288 minibuffer contents.
3289 (completion-all-sorted-completions): Use defvar-local.
3290 (completion--do-completion, completion--cache-all-sorted-completions)
3291 (completion-all-sorted-completions, minibuffer-force-complete):
3292 Add args `beg' and `end'.
3293 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3294 (minibuffer-complete): Use completion-in-region.
3295 (completion-complete-and-exit): New fun, extracted from
3296 minibuffer-complete-and-exit.
3297 (minibuffer-complete-and-exit): Use it.
3298 (completion--complete-and-exit): Rename from
3299 minibuffer--complete-and-exit.
3300 (completion-in-region--single-word): New function, extracted from
3301 minibuffer-complete-word.
3302 (minibuffer-complete-word): Use it.
3303 (display-completion-list): Make `common-substring' argument obsolete.
3304 (completion--in-region): Call completion--in-region-1 instead of
3305 minibuffer-complete.
3306 (completion-help-at-point): Pass boundaries to
3307 minibuffer-completion-help as args rather than via an overlay.
3308 (completion-pcm--string->pattern): Use `any-delim'.
3309 (completion-pcm--optimize-pattern): New function.
3310 (completion-pcm--pattern->regex): Handle `any-delim'.
3311 * icomplete.el (icomplete-forward-completions)
3312 (icomplete-backward-completions, icomplete-completions):
3313 Adjust calls to completion-all-sorted-completions and
3314 completion--cache-all-sorted-completions.
3315 (icomplete-with-completion-tables): Default to t.
3316 * emacs-lisp/crm.el (crm--current-element): Rename from
3317 crm--select-current-element. Don't put an overlay but return the
3319 (crm--completion-command): Take two new args to bind to the boundaries.
3320 (crm-completion-help): Adjust accordingly.
3321 (crm-complete): Use completion-in-region.
3322 (crm-complete-word): Use completion-in-region--single-word.
3323 (crm-complete-and-exit): Use completion-complete-and-exit.
3325 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3330 2013-09-06 Juri Linkov <juri@jurta.org>
3332 * info.el (Info-display-images-node): When image file doesn't exist
3333 display text version of the image if it's provided in the Info file.
3334 Otherwise, display the location of missing image from SRC attribute.
3335 Add help-echo text property from ALT attribute. (Bug#15279)
3337 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3340 (edit-abbrevs-mode): Use define-derived-mode.
3342 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3343 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3345 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3346 Use define-derived-mode.
3348 * epg.el (epg-start-encrypt): Minor CSE simplification.
3350 2013-09-06 William Xu <william.xwl@gmail.com>
3352 * arc-mode.el: Add support for 7za (bug#15264).
3353 (archive-7z-program): New var.
3354 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3355 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3356 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3358 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3362 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3363 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3364 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3365 (tramp-postfix-host-format, tramp-file-name-regexp)
3366 (tramp-completion-file-name-regexp)
3367 (tramp-completion-dissect-file-name)
3368 (tramp-handle-substitute-in-file-name): Remove 'url case.
3369 (tramp-file-name-regexp-url)
3370 (tramp-completion-file-name-regexp-url): Remove constants.
3372 2013-09-06 Glenn Morris <rgm@gnu.org>
3374 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3376 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3378 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3379 keywords" below "here-doc beginnings" (Bug#15270).
3381 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3383 * subr.el (pop): Use `car-safe'.
3384 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3385 to detect unused `pop' return value.
3387 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3389 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3390 (python-fill-string): Remove unused var `marker'.
3391 (python-skeleton-add-menu-items): Remove unused var `items'.
3393 * international/mule-cmds.el: Require CL.
3394 (find-coding-systems-for-charsets): Avoid add-to-list.
3395 (sanitize-coding-system-list): New function, extracted from
3396 select-safe-coding-system-interactively.
3397 (select-safe-coding-system-interactively): Use it.
3398 (read-input-method-name): Accept symbols for `default'.
3400 * emacs-lisp/advice.el (defadvice): Add indent rule.
3402 2013-09-05 Daniel Hackney <dan@haxney.org>
3406 * net/browse-url.el:
3409 * net/eudcb-ldap.el:
3422 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3423 byte compiler. Remove some unused let-bound variables.
3425 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3427 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3428 a "ref-cell", since it gets better optimized (bug#14883).
3430 2013-09-05 Glenn Morris <rgm@gnu.org>
3432 * progmodes/cc-awk.el (c-forward-sws): Declare.
3434 2013-09-04 Glenn Morris <rgm@gnu.org>
3436 * generic-x.el [rul-generic-mode]: Require cc-mode.
3437 (c++-mode-syntax-table): Declare.
3438 (rul-generic-mode-syntax-table): Init in the defvar.
3440 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3443 (vc-do-command, vc-set-async-update):
3444 * vc/vc-mtn.el (vc-mtn-dir-status):
3445 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3446 (vc-hg-pull, vc-hg-merge-branch):
3447 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3448 (vc-git-merge-branch):
3449 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3450 (vc-cvs-dir-status-files):
3451 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3452 (vc-bzr-dir-status-files):
3453 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3454 * vc/vc-annotate.el: Use lexical-binding.
3455 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3456 (vc-sentinel-movepoint): Declare.
3457 (vc-annotate): Don't use `goto-line'.
3458 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3459 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3460 (vc-sentinel-movepoint): Declare.
3461 * vc/vc-svn.el: Use lexical-binding.
3462 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3464 * vc/vc-rcs.el: Use lexical-binding.
3466 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3467 `deleted'. Don't drop errors silently.
3469 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3471 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3473 * vc/vc.el (vc-ignore): Rewrite.
3474 (vc-default-ignore): New function.
3475 (vc-default-ignore-completion-table): Use find-ignore-file.
3477 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3478 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3479 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3480 Remove. Most code moved to vc.el.
3482 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3484 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3485 * net/tramp-smb.el (tramp-smb-get-file-entries):
3486 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3487 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3489 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3491 (eww-change-select): Remove unused var `properties'.
3492 (eww-make-unique-file-name): Remove unused var `base'.
3494 * finder.el (finder-compile-keywords): Don't mess with windows.
3496 * calculator.el (calculator-funcall): Fix typo in last change.
3498 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3500 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3501 <pkg>-autoloads.el file stop us.
3503 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3504 warnings, and factor out common code.
3506 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3508 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3509 two-character operators and whether the character preceding them
3510 changes their meaning (Bug#15208).
3512 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3514 Format code sent to Python shell for robustness.
3515 * progmodes/python.el (python-shell-buffer-substring):
3517 (python-shell-send-region, python-shell-send-buffer): Use it.
3519 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3521 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3522 * net/tramp.el (tramp-user-error): ... here.
3523 (tramp-find-method, tramp-check-proper-host)
3524 (tramp-dissect-file-name, tramp-debug-message)
3525 (tramp-handle-shell-command):
3526 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3527 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3529 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3531 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3533 * avoid.el (mouse-avoidance-point-position)
3534 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3537 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3539 * progmodes/python.el (python-shell-completion-get-completions):
3540 Drop use of deleted `comint-last-prompt-overlay'.
3541 (python-nav-if-name-main): New command.
3543 2013-09-01 Glenn Morris <rgm@gnu.org>
3545 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3546 Avoid leading space in $wins. Otherwise the sed command used by
3547 eg compile-main ends up containing "/*.el". (Bug#15170)
3549 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3551 2013-08-30 Glenn Morris <rgm@gnu.org>
3553 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3554 Fix is-this-a-directory logic. (Bug#15220)
3556 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3558 * textmodes/css-mode.el: Use SMIE.
3559 (css-smie-grammar): New var.
3560 (css-smie--forward-token, css-smie--backward-token)
3561 (css-smie-rules): New functions.
3562 (css-mode): Use them.
3563 (css-navigation-syntax-table): Remove var.
3564 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3565 (css-indent-calculate, css-indent-line): Remove functions.
3567 Misc changes to reduce use of `(lambda...); and other cleanups.
3568 * cus-edit.el: Use lexical-binding.
3569 (customize-push-and-save, customize-apropos)
3570 (custom-buffer-create-internal): Use closures.
3571 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3572 * progmodes/ada-xref.el: Use setq.
3573 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3574 * dframe.el: Use lexical-binding.
3575 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3576 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3577 * descr-text.el: Use lexical-binding.
3578 (describe-text-widget, describe-text-sexp, describe-property-list):
3580 * comint.el (comint-history-isearch-push-state): Use a closure.
3581 * calculator.el: Use lexical-binding.
3582 (calculator-number-to-string): Make it work with lexical-binding.
3583 (calculator-funcall): Same and use cl-letf.
3585 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3586 (lisp--company-doc-string, lisp--company-location): New functions.
3587 (lisp-completion-at-point): Use them to improve Company support.
3589 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3590 params of lambda expressions.
3591 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3592 (ruby-smie--opening-pipe-p): New function.
3593 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3594 symbols and matched |...| for formal params.
3595 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3596 from being treated as hanging. Handle "rescue".
3598 2013-08-29 Glenn Morris <rgm@gnu.org>
3600 * progmodes/cc-engine.el (c-pull-open-brace):
3601 Move definition before use.
3603 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3606 are immutable. Don't use `unsafe' any more.
3607 (cl--defsubst-expand): Don't substitute at the same time as keeping
3608 a residual unused let-binding. Don't use `unsafe' any more.
3610 2013-08-29 Glenn Morris <rgm@gnu.org>
3612 * calendar/cal-china.el (calendar-chinese-year-cache):
3615 * nxml/nxml-util.el (nxml-debug-clear-inside):
3616 Use cl-loop rather than loop.
3618 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3620 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3622 2013-08-28 Glenn Morris <rgm@gnu.org>
3624 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3626 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3628 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3630 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3632 * simple.el (repeat-complex-command--called-interactively-skip):
3634 (repeat-complex-command): Use it (bug#14136).
3636 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3637 (c-define-abbrev-table): Add `doc' argument.
3638 (c-mode-abbrev-table, c++-mode-abbrev-table)
3639 (objc-mode-abbrev-table, java-mode-abbrev-table)
3640 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3641 (awk-mode-abbrev-table): Use it.
3642 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3643 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3644 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3645 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3646 Move initialization into the declaration; and remove any
3649 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3650 and dynamic let binding.
3652 * vc/smerge-mode.el: Remove redundant :group args.
3654 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3657 2013-08-28 Juri Linkov <juri@jurta.org>
3659 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3660 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3661 (isearch-other-meta-char): Handle an undefined shifted printing
3662 character by downshifting it. (Bug#15200)
3664 2013-08-28 Juri Linkov <juri@jurta.org>
3666 * isearch.el (isearch-search): Change regexp error message for
3667 non-regexp searches. (Bug#15166)
3669 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3671 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3672 for portability to hosts where /bin/sh has problems.
3674 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3678 2013-08-27 Juri Linkov <juri@jurta.org>
3680 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3681 in the keyboard macro. (Bug#15126)
3683 2013-08-27 Juri Linkov <juri@jurta.org>
3685 * isearch.el (isearch-quote-char): Comment out converting unibyte
3686 to multibyte, thus syncing with its `quoted-insert' counterpart.
3689 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3691 * window.el (display-buffer-use-some-window): Add missing
3692 argument in call of get-largest-window (Bug#15185).
3693 Reported by Stephen Leake.
3695 2013-08-27 Glenn Morris <rgm@gnu.org>
3697 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3699 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3701 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3702 from a matcher-function unless there's no more matches (bug#15161).
3704 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3706 * minibuffer.el: Revert change from 2013-08-20.
3708 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3709 with text property `tramp-default', if appropriate.
3710 (tramp-check-proper-host): New defun.
3711 (tramp-dissect-file-name): Do not check hostname. Revert change
3713 (tramp-backtrace): Make VEC-OR-PROC optional.
3715 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3716 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3717 * net/tramp-sh.el (tramp-maybe-open-connection):
3718 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3719 Apply `tramp-check-proper-host'.
3721 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3723 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3724 lambda expression in order to have `describe-variable' display it.
3726 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3728 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3729 BUF can be optional. (Bug#15186)
3731 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3733 * progmodes/flymake.el (flymake-get-real-file-name-function):
3734 Fix broken customization. (Bug#15184)
3736 2013-08-25 Alan Mackenzie <acm@muc.de>
3738 Improve indentation of bracelists defined by macros (without "=").
3740 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3741 expansion begins with "{", regard it as bracelist when it doesn't
3744 Parse C++ inher-intro when there's a template split over 2 lines.
3746 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3747 rigorously the search for "class" etc. followed by ":".
3749 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3750 random languages a regexp which never matches rather than nil.
3752 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3754 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3755 (c-awk-regexp-one-line-possibly-open-char-list-re)
3756 (c-awk-one-line-possibly-open-regexp-re)
3757 (c-awk-one-line-non-syn-ws*-re): Remove.
3758 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3759 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3760 (c-awk-space*-unclosed-regexp-/-re): New constants.
3761 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3762 aren't regexp delimiters.
3764 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3765 handling for a rare situation in AWK Mode involving unterminated
3768 2013-08-23 Glenn Morris <rgm@gnu.org>
3770 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3772 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3774 * files.el (create-file-buffer): If the result would begin with
3775 spaces, prepend a "|" instead of removing them. (Bug#15162)
3777 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3780 text-properties (bug#15155).
3782 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3784 (calc-keypad-redraw): Remove unused var `pad'.
3785 (calc-keypad-press): Remove unused var `menu'.
3787 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3789 * window.el (display-buffer-pop-up-frame):
3790 Call pop-up-frame-function with BUFFER current so `make-frame' will
3791 use it as the new frame's buffer (Bug#15133).
3793 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3795 * calendar/timeclock.el: Minor cleanups.
3796 (timeclock-ask-before-exiting, timeclock-use-display-time):
3798 (timeclock-modeline-display): Define as alias before the
3800 (timeclock-mode-line-display): Use define-minor-mode.
3801 (timeclock-day-list-template): Make it a function, add an argument.
3802 (timeclock-day-list-required, timeclock-day-list-length)
3803 (timeclock-day-list-debt, timeclock-day-list-span)
3804 (timeclock-day-list-break): Adjust calls accordingly.
3806 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3809 Use read--expression so that completion works again.
3811 2013-08-21 Sam Steingold <sds@gnu.org>
3813 Add rudimentary inferior shell interaction
3814 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3815 (sh-set-shell): Reset it.
3816 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3817 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3819 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3821 * align.el: Use lexical-binding.
3822 (align-region): Simplify accordingly.
3824 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3826 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3828 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3831 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3835 * net/tramp-cmds.el:
3837 * net/tramp-gvfs.el:
3839 * net/tramp-sh.el: Don't wrap external variable declarations by
3840 `eval-when-compile'.
3842 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3844 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3845 now that Emacs supports ImageMagick animations.
3847 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3849 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3850 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3852 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3854 * window.el (mouse-autoselect-window-select): Do autoselect when
3855 mouse pointer is on margin.
3857 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3859 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3861 2013-08-16 Glenn Morris <rgm@gnu.org>
3863 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3864 Handle "Remote Directory" response of some clients. (Bug#15058)
3866 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3867 Tweak warning. (Bug#14926)
3869 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3870 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3872 * image-mode.el (image-mode-map): Add menu items to reverse,
3873 increase, decrease, reset animation speed.
3874 (image--set-speed, image-increase-speed, image-decrease-speed)
3875 (image-reverse-speed, image-reset-speed): New functions.
3876 (image-mode-map): Add bindings for speed commands.
3878 * image.el (image-animate-get-speed, image-animate-set-speed):
3880 (image-animate-timeout): Respect image :speed property.
3882 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3885 previous line (bug#15101).
3886 (debugger-eval-expression, debugger-record-expression):
3887 Use read--expression (bug#15102).
3889 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3891 Remove byte compiler warnings, visible when compiling with
3892 `byte-compile-force-lexical-warnings' set to t.
3894 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3895 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3896 (tramp-handle-unhandled-file-name-directory)
3897 (tramp-handle-file-notify-add-watch, tramp-action-login)
3898 (tramp-action-succeed, tramp-action-permission-denied)
3899 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3902 * net/tramp-adb.el (tramp-adb-parse-device-names)
3903 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3904 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3905 (tramp-adb-handle-file-truename): Remove unused arguments.
3907 * net/tramp-cache.el (tramp-flush-directory-property)
3908 (tramp-flush-connection-property, tramp-list-connections)
3909 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3911 * net/tramp-compat.el (tramp-compat-make-temp-file):
3912 Rename FILENAME to F.
3914 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3915 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3916 (tramp-zeroconf-parse-workstation-device-names)
3917 (tramp-zeroconf-parse-webdav-device-names)
3918 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3920 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3921 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3923 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3925 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3926 (tramp-sh-handle-insert-file-contents-literally)
3927 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3929 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3930 Remove unused variables.
3932 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3933 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3934 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3936 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3937 Make them a defconst.
3938 (tramp-uuencode-region): Remove unused variable.
3940 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3942 * frameset.el (frameset--prop-setter): New function.
3943 (frameset-prop): Add gv-setter declaration.
3944 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3945 parameter was already set in FILTERED. Doc fix.
3946 (frameset--record-minibuffer-relationships): Allow saving a
3947 minibufferless frame without its corresponding minibuffer frame.
3948 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3949 frame, if the frame id matches.
3950 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3951 frames before orphaned ones.
3952 (frameset-restore): Warn about orphaned windows, instead of error out.
3954 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3956 * window.el (window-make-atom): Don't overwrite parameter
3958 (display-buffer-in-atom-window): Handle special case where we
3959 split an already atomic window.
3960 (window--major-non-side-window, display-buffer-in-side-window)
3961 (window--side-check): Ignore minibuffer window when walking
3963 (window-deletable-p): Return 'frame only if no other frame uses
3964 our minibuffer window.
3965 (record-window-buffer): Run buffer-list-update-hook.
3966 (split-window): Make sure window--check-frame won't destroy an
3967 existing atomic window in case the new window gets nested
3969 (display-buffer-at-bottom): Ignore minibuffer window when
3970 walking window tree. Don't split a side window.
3971 (pop-to-buffer): Don't set-buffer here, the select-window call
3973 (mouse-autoselect-window-select): Autoselect only if we are in the
3974 text portion of the window.
3976 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3978 * net/shr.el (shr-parse-image-data): New function to grab both the
3979 data itself and the Content-Type.
3980 (shr-put-image): Use it.
3982 * net/eww.el (eww-display-image): Ditto.
3984 * image.el (image-content-type-suffixes): New variable.
3986 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3988 * progmodes/python.el (python-imenu--build-tree)
3989 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3991 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3993 * simple.el (backward-word): Mention the optional argument.
3995 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3997 * frameset.el (frameset--make): Rename constructor from make-frameset.
3998 (frameset-p, frameset-valid-p): Don't autoload.
3999 (frameset-valid-p): Use normal accessors.
4001 2013-08-13 Glenn Morris <rgm@gnu.org>
4003 * progmodes/compile.el (compile-command): Tweak example in doc.
4004 * obsolete/scribe.el (scribe-mode):
4005 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4007 * mail/feedmail.el (feedmail-confirm-outgoing)
4008 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4010 * cus-start.el (truncate-partial-width-windows): Fix type.
4012 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4014 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4016 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4018 * emacs-lisp/timer.el (timer--time-setter): New function.
4019 (timer--time): Use it as gv-setter.
4021 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4022 setter is not a symbol.
4024 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4026 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4027 if sending fails. This makes debugging easier.
4029 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4031 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4032 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4033 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4035 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4037 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4039 2013-08-12 Glenn Morris <rgm@gnu.org>
4041 * format.el (format-annotate-function):
4042 Handle read-only text properties in the source. (Bug#14887)
4044 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4046 * net/eww.el (eww-display-html): Ignore coding system errors.
4047 One web site uses "utf-8lias" as the coding system.
4049 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4051 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4053 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4055 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4056 (tutorial--detailed-help): Remove unused local variables.
4057 (tutorial--save-tutorial-to): Use ignore-errors.
4058 (help-with-tutorial): Use looking-at-p.
4060 * view.el (view-buffer-other-window, view-buffer-other-frame):
4061 Mark unused arguments.
4063 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4064 (woman-select-symbol-fonts, woman, woman-find-file)
4065 (woman-insert-file-contents, woman-non-underline-faces):
4067 (woman1-unquote): Move declaration.
4069 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4070 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4071 argument. Remove unused local variable.
4072 (xml-parse-elem-type): Use string-match-p.
4073 (xml-substitute-numeric-entities): Use ignore-errors.
4075 * calculator.el (calculator): Mark unused argument.
4076 (calculator-paste, calculator-quit, calculator-integer-p):
4078 (calculator-string-to-number, calculator-decimal, calculator-exp)
4079 (calculator-op-or-exp): Use string-match-p.
4081 * dired.el (dired-buffer-more-recently-used-p): Declare.
4082 (dired-insert-set-properties, dired-insert-old-subdirs):
4085 * dired-aux.el (dired-compress): Use ignore-errors.
4086 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4087 (dired-do-async-shell-command, dired-do-shell-command)
4088 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4089 (dired-insert-subdir-validate): Use string-match-p.
4090 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4091 (dired-add-entry): Use string-match-p, looking-at-p.
4092 (dired-insert-subdir-newpos): Remove unused local variable.
4094 * filenotify.el (file-notify-callback): Remove unused local variable.
4096 * filesets.el (filesets-error): Mark unused argument.
4097 (filesets-which-command-p, filesets-filter-dir-names)
4098 (filesets-directory-files, filesets-get-external-viewer)
4099 (filesets-ingroup-get-data): Use string-match-p.
4101 * find-file.el (ff-other-file-name, ff-other-file-name)
4102 (ff-find-the-other-file, ff-cc-hh-converter):
4103 Remove unused local variables.
4104 (ff-get-file-name): Use string-match-p.
4105 (ff-all-dirs-under): Use ignore-errors.
4107 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4108 (follow-select-if-visible): Remove unused local variable.
4110 * forms.el (read-file-filter): Move declaration.
4111 (forms--make-format, forms--make-parser, forms-insert-record):
4112 Quote function with #'.
4113 (forms--update): Use string-match-p. Quote function with #'.
4115 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4116 (help-make-xrefs): Use looking-at-p.
4117 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4119 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4120 (ibuffer-confirm-operation-on): Use string-match-p.
4122 * msb.el (msb-item-handler, msb-dired-item-handler):
4123 Mark unused arguments.
4125 * ses.el (ses-decode-cell-symbol)
4126 (ses-kill-override): Remove unused local variable.
4127 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4128 (ses-load): Use ignore-errors, looking-at-p.
4129 (ses-jump-safe): Use ignore-errors.
4130 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4132 * tabify.el (untabify, tabify): Mark unused arguments.
4134 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4135 Mark unused argument.
4136 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4137 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4139 * emacs-lisp/timer.el (timer--time): Define setter with
4140 gv-define-setter to avoid deprecation warning.
4142 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4143 (*record-cmpl-statistics-p*): Remove (was commented out).
4144 (cmpl-statistics-block): Remove (body was commented out).
4145 All callers changed.
4146 (add-completions-from-buffer, load-completions-from-file):
4147 Remove unused variables.
4149 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4151 * filecache.el (file-cache-delete-file-list):
4152 Print message only when told so.
4153 (file-cache-files-matching): Use #' in mapconcat argument.
4155 * ffap.el (ffap-url-at-point): Fix reference to variable
4156 thing-at-point-default-mail-uri-scheme.
4158 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4160 * subr.el (define-error): New function.
4161 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4162 error-file-not-found and define with define-error.
4163 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4164 and define with define-error.
4165 * userlock.el (file-locked, file-supersession):
4166 * simple.el (mark-inactive):
4167 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4168 * progmodes/ada-mode.el (ada-mode-errors):
4169 * play/life.el (life-extinct):
4170 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4171 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4172 * nxml/rng-util.el (rng-error):
4173 * nxml/rng-uri.el (rng-uri-error):
4174 * nxml/rng-match.el (rng-compile-error):
4175 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4176 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4177 * nxml/nxml-rap.el (nxml-scan-error):
4178 * nxml/nxml-outln.el (nxml-outline-error):
4179 * net/soap-client.el (soap-error):
4180 * net/gnutls.el (gnutls-error):
4181 * net/ange-ftp.el (ftp-error):
4182 * mpc.el (mpc-proc-error):
4183 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4184 (json-number-format, json-string-escape, json-string-format)
4185 (json-key-format, json-object-format):
4186 * jka-compr.el (compression-error):
4187 * international/quail.el (quail-error):
4188 * international/kkc.el (kkc-error):
4189 * emacs-lisp/ert.el (ert-test-failed):
4190 * calc/calc.el (calc-error, inexact-result, math-overflow)
4192 * bookmark.el (bookmark-error-no-filename):
4193 * epg.el (epg-error): Define with define-error.
4195 * time.el (display-time-event-handler)
4196 (display-time-next-load-average): Don't call sit-for since it seems
4197 unnecessary (bug#15045).
4199 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4200 Use #' instead of ' to quote functions.
4201 (checkdoc-output-mode): Use setq-local.
4202 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4203 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4204 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4205 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4206 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4207 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4208 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4209 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4211 * ido.el (ido-completion-help): Fix up compiler warning.
4213 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4215 * frameset.el (frameset-p): Add autoload cookie.
4216 (frameset--jump-to-register): New function, based on code moved from
4218 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4220 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4221 (frameset-restore, frameset-save, frameset-session-filter-alist):
4222 Remove declarations.
4223 (register-alist): Doc fix.
4224 (frameset-to-register): Move to frameset.el.
4225 (jump-to-register, describe-register-1): Remove frameset-specific code.
4227 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4229 * allout-widgets.el (allout-widgets-pre-command-business)
4230 (allout-widgets-post-command-business)
4231 (allout-widgets-after-change-handler)
4232 (allout-decorate-item-and-context, allout-set-boundary-marker)
4233 (allout-body-modification-handler)
4234 (allout-graphics-modification-handler): Mark ignored arguments.
4235 (allout-widgets-post-command-business)
4236 (allout-widgets-exposure-change-processor)
4237 (allout-widgets-exposure-undo-processor)
4238 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4239 (allout-parse-item-at-point, allout-decorate-item-guides)
4240 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4241 * allout.el (epa-passphrase-callback-function): Declare.
4242 (allout-overlay-insert-in-front-handler)
4243 (allout-overlay-interior-modification-handler)
4244 (allout-isearch-end-handler, allout-chart-siblings)
4245 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4246 (allout-yank-processing, allout-process-exposed)
4247 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4248 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4249 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4250 (lisp-indent-defform): Mark ignored arguments.
4251 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4252 (calculate-lisp-indent): Remove unused variables.
4253 * international/characters.el (indian-2-column, arabic-2-column)
4254 (tibetan): Mark ignored arguments.
4255 (use-cjk-char-width-table): Mark ignored arguments.
4256 Remove unused variables.
4257 * international/fontset.el (build-default-fontset-data)
4258 (x-compose-font-name, create-fontset-from-fontset-spec):
4259 Mark ignored arguments.
4260 (fontset-plain-name): Remove unused variables.
4261 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4262 (keyboard-coding-system): Mark ignored arguments.
4263 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4264 * help.el (resize-temp-buffer-window):
4265 * window.el (display-buffer-in-major-side-window)
4266 (display-buffer-in-side-window, display-buffer-in-previous-window):
4267 Remove unused variables.
4268 * isearch.el (isearch-forward-symbol):
4269 * version.el (emacs-bzr-version-bzr):
4270 * international/mule-cmds.el (current-language-environment):
4271 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4273 * term/pc-win.el (x-list-fonts, x-display-planes)
4274 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4275 (x-server-version, x-display-screens, x-display-mm-height)
4276 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4277 (x-selection-owner-p, x-own-selection-internal)
4278 (x-disown-selection-internal, x-get-selection-internal)
4279 (msdos-initialize-window-system):
4280 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4281 * term/x-win.el (x-handle-no-bitmap-icon):
4282 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4283 (vc-default-find-file-hook, vc-default-extra-menu):
4284 Mark ignored arguments.
4286 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4289 break-condition in the context of the debugged code (bug#12685).
4291 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4294 Do not use an overlay to highlight the last prompt. (Bug#14744)
4295 (comint-mode): Make comint-last-prompt buffer local.
4296 (comint-last-prompt): New variable.
4297 (comint-last-prompt-overlay): Remove. Superseded by
4299 (comint-snapshot-last-prompt, comint-output-filter):
4300 Use comint-last-prompt.
4302 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4304 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4305 (frameset-save): Check validity of the resulting frameset.
4307 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4309 * ido.el (ido-record-command): Add doc string.
4311 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4313 * frameset.el (frameset): Do not disable creation of the default
4314 frameset-p predicate. Doc fix.
4315 (frameset-valid-p): New function, copied from the old predicate-p.
4316 Add additional checks.
4317 (frameset-restore): Check with frameset-valid-p.
4318 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4319 (frameset-name, frameset-description, frameset-properties)
4320 (frameset-states): Add docstring.
4321 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4322 (frameset-filter-alist): Doc fixes.
4324 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4326 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4328 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4330 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4331 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4332 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4333 (byte-compile-normal-call): Remove obsolescence check.
4335 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4337 * frameset.el (frameset-restore): Doc fix.
4339 * register.el (frameset-frame-id, frameset-frame-with-id)
4340 (frameset-p, frameset-restore, frameset-save): Declare.
4341 (register-alist): Document framesets.
4342 (frameset-session-filter-alist): Declare.
4343 (frameset-to-register): New function.
4344 (jump-to-register): Implement jumping to framesets. Doc fix.
4345 (describe-register-1): Describe framesets.
4347 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4349 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4351 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4352 Use lexical-binding.
4354 * frameset.el (frameset): Use type vector, not list (incompatible
4355 change). Do not declare a new constructor, use the default one.
4356 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4357 `name' and `description', respectively, and add read-only slot
4358 `timestamp'. Doc fixes.
4359 (frameset-copy, frameset-persistent-filter-alist)
4360 (frameset-filter-alist, frameset-switch-to-gui-p)
4361 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4362 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4363 (frameset-filter-iconified, frameset-keep-original-display-p):
4365 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4366 Rename from frameset-filter-(save|restore)-param. All callers changed.
4368 (frameset-p): Adapt to change to vector and be more thorough.
4369 Change arg name to OBJECT. Doc fix.
4370 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4371 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4372 All callers changed.
4373 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4374 All callers changed.
4375 (frameset--record-minibuffer-relationships): Rename from
4376 frameset--process-minibuffer-frames. All callers changed.
4377 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4378 Use new default constructor (again). Doc fix.
4379 (frameset--find-frame-if): Rename from `frameset--find-frame.
4380 All callers changed.
4381 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4382 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4384 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4385 PARAMETERS and WINDOW-STATE, respectively.
4386 (frameset-restore): Add new keyword argument PREDICATE.
4387 Reset frameset--target-display to nil. Doc fix.
4389 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4393 (bat-mode-syntax-table): Mark \n as end-of-comment.
4394 (bat-font-lock-keywords): Remove comment rule.
4396 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4397 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4399 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4400 (byte-compile-callargs-warn): Use `push'.
4401 (byte-compile-arglist-warn): Ignore higher-order "calls".
4402 (byte-compile-file-form-autoload): Use `pcase'.
4403 (byte-compile-function-form): If quoting a symbol, check that it exists.
4405 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4407 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4408 and add a few popular commands found in batch files.
4409 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4410 (dos-mode): Doc fixes.
4412 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4414 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4415 (dos-mode): Use setq-local. Add space after "rem".
4416 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4417 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4419 2013-08-07 Arni Magnusson <arnima@hafro.is>
4421 * progmodes/dos.el: New file.
4422 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4425 2013-08-06 Glenn Morris <rgm@gnu.org>
4427 * calendar/calendar.el: Add new faces, and day-header-array.
4428 (calendar-weekday-header, calendar-weekend-header)
4429 (calendar-month-header): New faces.
4430 (calendar-day-header-construct): New function.
4431 (calendar-day-header-width): Also :set calendar-day-header-array.
4432 (calendar-american-month-header, calendar-european-month-header)
4433 (calendar-iso-month-header): Use calendar- faces.
4434 (calendar-generate-month):
4435 Use calendar-day-header-array for day headers; apply faces to them.
4436 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4437 (calendar-abbrev-construct): Add optional maxlen argument.
4438 (calendar-day-name-array): Doc fix.
4439 (calendar-day-name-array, calendar-abbrev-length)
4440 (calendar-day-abbrev-array):
4441 Also :set calendar-day-header-array, and maybe redraw.
4442 (calendar-day-header-array): New option. (Bug#15007)
4443 (calendar-font-lock-keywords): Set to nil and make obsolete.
4444 (calendar-day-name): Add option to use header array.
4446 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4448 * net/shr.el (shr-render-td): Remove debugging.
4449 (shr-render-td): Make width computation consistent by defaulting
4450 all zero-width columns to 10 characters. This may not be optimal,
4451 but it's at least consistent.
4452 (shr-make-table-1): Redo last change to fix the real problem in
4455 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4457 * files.el (cache-long-line-scans):
4458 Make obsolete alias to `cache-long-scans'.
4460 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4462 * frameset.el (frameset, frameset-filter-alist)
4463 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4464 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4465 (frameset-compute-pos): Rename from frameset--compute-pos,
4467 (frameset-move-onscreen): Use frameset-compute-pos.
4468 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4470 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4471 Fix typos in docstrings.
4473 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4475 * frame.el (get-other-frame): Tiny cleanup.
4477 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4479 * vc/vc.el (vc-default-ignore-completion-table):
4480 Silence byte-compiler warning.
4482 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4483 slot , which can indeed be nil.
4484 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4485 Move entry for `left' from persistent to live filter alist.
4486 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4488 (frameset-filter-params): When restoring a frame, copy items added to
4489 `filtered', to avoid unwittingly modifying the original parameters.
4490 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4491 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4493 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4494 to use looking-at-p instead of looking-at. (Bug#15028)
4496 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4498 Revert introduction of isearch-filter-predicates (bug#14714).
4499 Rely on add-function instead.
4500 * isearch.el (isearch-filter-predicates): Rename it back to
4501 isearch-filter-predicate.
4502 (isearch-message-prefix): Use advice-function-mapc and advice
4503 properties to get the isearch-message-prefix.
4504 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4505 instead of run-hook-with-args-until-failure.
4506 (isearch-filter-visible): Not obsolete any more.
4507 * loadup.el: Preload nadvice.
4508 * replace.el (perform-replace): Revert to funcall
4509 instead of run-hook-with-args-until-failure.
4510 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4511 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4512 dired-isearch-filenames-toggle; make it into a proper minor mode.
4513 Use add/remove-function.
4514 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4515 Call the minor-mode rather than add/remove-hook.
4516 (dired-isearch-filter-filenames):
4517 Remove isearch-message-prefix property.
4518 * info.el (Info--search-loop): New function, extracted from Info-search.
4519 Funcall isearch-filter-predicate instead of
4520 run-hook-with-args-until-failure isearch-filter-predicates.
4521 (Info-search): Use it.
4522 (Info-mode): Use isearch-filter-predicate instead of
4523 isearch-filter-predicates.
4525 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4527 Do not call to `selected-window' where it is assumed by default.
4528 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4529 `window-hscroll', `window-width', `window-height', `window-buffer',
4530 `window-frame', `window-start', `window-point', `next-window'
4531 and `window-display-table'.
4532 * abbrev.el (abbrev--default-expand):
4533 * bs.el (bs--show-with-configuration):
4534 * buff-menu.el (Buffer-menu-mouse-select):
4535 * calc/calc.el (calc):
4536 * calendar/calendar.el (calendar-generate-window):
4537 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4539 * comint.el (send-invisible, comint-dynamic-complete-filename)
4540 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4541 * completion.el (complete):
4542 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4543 * disp-table.el (describe-current-display-table):
4544 * doc-view.el (doc-view-insert-image):
4545 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4546 * ehelp.el (with-electric-help):
4547 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4548 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4549 * emacs-lisp/helper.el (Helper-help-scroller):
4550 * emulation/cua-base.el (cua--post-command-handler-1):
4551 * eshell/esh-mode.el (eshell-output-filter):
4552 * ffap.el (ffap-gnus-wrapper):
4553 * help-macro.el (make-help-screen):
4554 * hilit-chg.el (highlight-compare-buffers):
4555 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4556 * hl-line.el (global-hl-line-highlight):
4557 * icomplete.el (icomplete-simple-completing-p):
4558 * isearch.el (isearch-done):
4559 * jit-lock.el (jit-lock-stealth-fontify):
4560 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4561 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4562 * mpc.el (mpc-tagbrowser, mpc):
4563 * net/rcirc.el (rcirc-any-buffer):
4564 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4565 * play/landmark.el (landmark-max-width, landmark-max-height):
4566 * play/zone.el (zone):
4567 * progmodes/compile.el (compilation-goto-locus):
4568 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4569 * progmodes/etags.el (find-tag-other-window):
4570 * progmodes/fortran.el (fortran-column-ruler):
4571 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4572 * progmodes/verilog-mode.el (verilog-point-text):
4573 * reposition.el (reposition-window):
4574 * rot13.el (toggle-rot13-mode):
4575 * server.el (server-switch-buffer):
4576 * shell.el (shell-dynamic-complete-command)
4577 (shell-dynamic-complete-environment-variable):
4578 * simple.el (insert-buffer, set-selective-display)
4579 (delete-completion-window):
4580 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4581 (speedbar-recenter):
4582 * startup.el (fancy-splash-head):
4583 * textmodes/ispell.el (ispell-command-loop):
4584 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4585 * tutorial.el (help-with-tutorial):
4586 * vc/add-log.el (add-change-log-entry):
4587 * vc/compare-w.el (compare-windows):
4588 * vc/ediff-help.el (ediff-indent-help-message):
4589 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4590 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4591 (ediff-setup-control-frame):
4592 * vc/emerge.el (emerge-position-region):
4593 * vc/pcvs-util.el (cvs-bury-buffer):
4594 * window.el (walk-windows, mouse-autoselect-window-select):
4595 * winner.el (winner-set-conf, winner-undo): Related users changed.
4597 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4599 * frameset.el (frameset--set-id): Doc fix.
4600 (frameset-frame-id, frameset-frame-id-equal-p)
4601 (frameset-locate-frame-id): New functions.
4602 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4603 (frameset-restore): Use them.
4605 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4607 Do not call to `selected-frame' where it is assumed by default.
4608 Affected functions are `raise-frame', `redraw-frame',
4609 `frame-first-window', `frame-terminal' and `delete-frame'.
4610 * calendar/appt.el (appt-disp-window):
4611 * epg.el (epg-wait-for-completion):
4612 * follow.el (follow-delete-other-windows-and-split)
4613 (follow-avoid-tail-recenter):
4614 * international/mule.el (set-terminal-coding-system):
4615 * mail/rmail.el (rmail-mail-return):
4616 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4617 * progmodes/f90.el (f90-add-imenu-menu):
4618 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4619 * server.el (server-switch-buffer):
4620 * simple.el (delete-completion-window):
4622 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4623 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4624 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4625 * vc/ediff.el (ediff-documentation): Related users changed.
4626 * frame.el (selected-terminal): Remove the leftover.
4628 2013-08-05 Glenn Morris <rgm@gnu.org>
4630 * calendar/calendar.el (calendar-generate-month):
4631 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4632 (calendar-generate-month, calendar-font-lock-keywords):
4633 Fix for calendar-day-header-width > length of any day name.
4635 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4637 * desktop.el (desktop-clear): Use new name of sort predicate.
4639 * frameset.el (frameset): Add docstring. Move :version property to its
4641 (frameset-copy): Rename from copy-frameset.
4642 (frameset-p): Check more thoroughly.
4643 (frameset-prop): Do not check for :version, which is no longer a prop.
4644 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4645 Use new :never value instead of t.
4646 (frameset-filter-alist): Expand and clarify docstring.
4647 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4648 (frameset-filter-minibuffer, frameset-filter-save-param)
4649 (frameset-filter-restore-param, frameset-filter-iconified):
4650 Add pointer to docstring of frameset-filter-alist.
4651 (frameset-filter-params): Rename filter values to be more meaningful:
4652 :never instead of t, and reverse the meanings of :save and :restore.
4653 (frameset--process-minibuffer-frames): Clarify error message.
4654 (frameset-save): Avoid unnecessary and confusing call to framep.
4655 Use new BOA constructor for framesets.
4656 (frameset--reuse-list): Doc fix.
4657 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4658 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4659 (frameset-minibufferless-first-p): Doc fix.
4660 Rename from frameset-sort-frames-for-deletion.
4661 (frameset-restore): Doc fixes. Use new function names.
4662 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4664 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4666 * desktop.el (desktop-restore-forces-onscreen)
4667 (desktop-restore-reuses-frames): Document :keyword constant values.
4668 (desktop-filter-parameters-alist): Remove, now identical to
4669 frameset-filter-alist.
4670 (desktop--filter-tty*): Remove, moved to frameset.el.
4671 (desktop-save-frameset, desktop-restore-frameset):
4672 Do not pass :filters argument.
4674 * frameset.el (frameset-live-filter-alist)
4675 (frameset-persistent-filter-alist): New variables.
4676 (frameset-filter-alist): Use them. Add autoload cookie.
4677 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4678 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4679 `frameset--id' (it's supposed to be internal to frameset.el).
4680 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4681 (frameset--initial-params): New function.
4682 (frameset--get-frame): Use it. Doc fix.
4683 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4684 Accept :all, not 'all.
4685 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4686 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4687 with fbound symbols. Fix frame id matching, and remove matching ids if
4688 the frame being restored is deleted. Obey :delete.
4690 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4692 * subr.el (macrop): New function.
4693 (text-clone--maintaining): New var.
4694 (text-clone--maintain): Rename from text-clone-maintain. Use it
4695 instead of inhibit-modification-hooks.
4697 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4698 a proxy, so as handle autoloads and redefinitions of the target.
4699 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4701 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4702 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4703 (pcase--mutually-exclusive-p): New function.
4704 (pcase--split-consp): Use it.
4705 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4706 mutually exclusive with the current predicate.
4708 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4709 (edebug-macrop): Remove. Use `macrop' instead.
4710 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4712 * eshell/esh-cmd.el (eshell-macrop):
4713 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4715 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4717 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4718 (advice-mapc): New function, using it.
4719 (advice-function-member-p): New function.
4720 (advice--normalize): Store the cdr in advice--saved-rewrite since
4721 that's the part that will be changed.
4722 (advice--symbol-function): New function.
4723 (advice-remove): Handle removal before the function is defined.
4724 Adjust to new advice--saved-rewrite.
4725 (advice-member-p): Use advice-function-member-p and
4726 advice--symbol-function.
4728 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4730 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4731 (frameset-filter-minibuffer): Doc fix.
4732 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4733 (frameset--set-id, frameset--process-minibuffer-frames)
4734 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4735 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4737 * desktop.el (desktop-clear): Only delete frames when called
4738 interactively and desktop-restore-frames is non-nil. Doc fix.
4739 (desktop-read): Set desktop-saved-frameset to nil.
4741 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4743 * vc/vc.el (vc-ignore): Rewrite.
4744 (vc-default-ignore-completion-table):
4746 (vc--add-line, vc--remove-regexp): New functions.
4748 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4749 (vc-svn-ignore-completion-table): New function.
4751 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4752 (vc-hg-ignore-completion-table):
4753 (vc-hg-find-ignore-file): New functions.
4755 * vc/vc-git.el (vc-git-ignore): Rewrite.
4756 (vc-git-ignore-completion-table):
4757 (vc-git-find-ignore-file): New functions.
4759 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4761 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4762 (vc-bzr-ignore-completion-table):
4763 (vc-bzr-find-ignore-file): New functions.
4765 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4767 * frameset.el (frameset-prop): New function and setter.
4768 (frameset-save): Do not modify frame list passed by the caller.
4770 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4774 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4776 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4777 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4779 * custom.el (custom-initialize-default, custom-initialize-set)
4780 (custom-initialize-reset, custom-initialize-changed): Affect the
4781 toplevel-default-value (bug#6275, bug#14586).
4782 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4785 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4787 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4788 Add cl-def* expressions.
4790 * frameset.el (frameset-filter-params): Fix order of arguments.
4792 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4794 Move code related to saving frames to frameset.el.
4795 * desktop.el: Require frameset.
4796 (desktop-restore-frames): Doc fix.
4797 (desktop-restore-reuses-frames): Rename from
4798 desktop-restoring-reuses-frames.
4799 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4800 (desktop-clear): Clear frames too.
4801 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4802 (desktop--filter-tty*, desktop-save, desktop-read):
4803 Use frameset functions.
4804 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4805 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4806 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4807 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4808 (desktop--process-minibuffer-frames, desktop-save-frames)
4809 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4810 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4811 (desktop--sort-states, desktop-restoring-frames-p)
4812 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4813 (desktop-restoring-frameset-p, desktop-restore-frameset)
4814 (desktop--check-dont-save, desktop-save-frameset): New functions.
4815 (desktop--app-id): New constant.
4816 (desktop-first-buffer, desktop-buffer-ok-count)
4817 (desktop-buffer-fail-count): Move before first use.
4818 * frameset.el: New file.
4820 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4822 * files.el: Use lexical-binding.
4823 (dir-locals-read-from-file): Remove unused `err' variable.
4824 (hack-dir-local-variables--warned-coding): New var.
4825 (hack-dir-local-variables): Use it to avoid repeated warnings.
4826 (make-backup-file-name--default-function): New function.
4827 (make-backup-file-name-function): Use it as default.
4828 (buffer-stale--default-function): New function.
4829 (buffer-stale-function): Use it as default.
4830 (revert-buffer-insert-file-contents--default-function): New function.
4831 (revert-buffer-insert-file-contents-function): Use it as default.
4832 (insert-directory): Avoid add-to-list.
4834 * autorevert.el (auto-revert-handler): Simplify.
4835 Use buffer-stale--default-function.
4837 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4839 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4841 * whitespace.el (whitespace-ensure-local-variables): New function.
4842 (whitespace-cleanup-region): Call it.
4843 (whitespace-turn-on): Call it.
4845 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4847 Complete file name handlers.
4849 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4850 (tramp-handle-verify-visited-file-modtime)
4851 (tramp-handle-file-notify-rm-watch): New functions.
4852 (tramp-call-process): Do not bind `default-directory'.
4854 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4855 Order alphabetically.
4856 [access-file, add-name-to-file, dired-call-process]:
4857 [dired-compress-file, file-acl, file-notify-rm-watch]:
4858 [file-ownership-preserved-p, file-selinux-context]:
4859 [make-directory-internal, make-symbolic-link, set-file-acl]:
4860 [set-file-selinux-context, set-visited-file-modtime]:
4861 [verify-visited-file-modtime]: Add handler.
4862 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4864 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4865 [file-notify-add-watch, file-notify-rm-watch]:
4866 [set-file-times, set-visited-file-modtime]:
4867 [verify-visited-file-modtime]: Add handler.
4868 (with-tramp-gvfs-error-message)
4869 (tramp-gvfs-handle-set-visited-file-modtime)
4870 (tramp-gvfs-fuse-file-name): Remove.
4871 (tramp-gvfs-handle-file-notify-add-watch)
4872 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4873 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4875 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4876 Order alphabetically.
4877 [file-notify-rm-watch ]: Use default Tramp handler.
4878 [executable-find]: Remove private handler.
4879 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4880 `default-directory'.
4881 (tramp-sh-handle-executable-find)
4882 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4883 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4884 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4885 Do not use `format' in `tramp-message'.
4887 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4888 [file-notify-rm-watch, set-visited-file-modtime]:
4889 [verify-visited-file-modtime]: Add handler.
4890 (tramp-smb-call-winexe): Do not bind `default-directory'.
4892 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4894 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4896 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4898 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4900 (log-view-diff-changeset): Same.
4901 (log-view-diff-common): Call backend command `previous-revision'
4902 to find out the previous revision, in both cases. Swap the
4903 variables `to' and `fr', so that `fr' usually refers to the
4904 earlier revision (Bug#14989).
4906 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4908 * ibuf-ext.el (ibuffer-filter-by-filename):
4909 Make it work with dired buffers too.
4911 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4913 * emacs-lisp/re-builder.el (reb-color-display-p):
4914 * files.el (save-buffers-kill-terminal):
4915 * net/browse-url.el (browse-url):
4916 * server.el (server-save-buffers-kill-terminal):
4917 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4918 Prefer nil to selected-frame for the first arg of frame-parameter.
4920 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4922 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4924 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4926 * minibuffer.el (completion--twq-all): Try and preserve each
4927 completion's case choice (bug#14907).
4929 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4931 * net/network-stream.el (open-network-stream): Mention the new
4932 :nogreeting parameter.
4933 (network-stream-open-starttls): Use the :nogreeting parameter
4936 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4938 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4939 more natural than popping.
4941 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4942 (shr-urlify): Highlight under mouse.
4944 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4946 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4948 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4950 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4953 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4954 point-min==1. Fix search string. Fix parentheses missing.
4956 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4957 assume point-min==1. Fix search string. Fix parentheses missing.
4959 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4961 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4964 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4966 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4967 initial frame is minibuffer-less. (Bug#14841)
4969 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4971 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4974 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4975 (tramp-maybe-open-connection): Use it.
4977 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4979 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4980 minimal set of parameters passed when creating a frame, because
4981 the minibuffer status of a frame cannot be changed later.
4983 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4985 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4986 replace-regexp-in-string and inadvertent omissions in previous change.
4987 (todo-filter-items): Ensure only file names are comma-separated in
4988 name of filtered items buffer.
4990 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4992 * desktop.el: Optionally force offscreen frames back onscreen.
4993 (desktop-restoring-reuses-frames): New option.
4994 (desktop--compute-pos, desktop--move-onscreen): New functions.
4995 (desktop--make-frame): Use desktop--move-onscreen.
4997 2013-07-27 Alan Mackenzie <acm@muc.de>
4999 Fontify a Java generic method as a function.
5000 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5003 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5005 * calendar/todo-mode.el: Add command to rename todo files.
5006 (todo-rename-file): New command.
5007 (todo-key-bindings-t): Add key binding for it. Change the
5008 bindings of todo-filter-regexp-items(-multifile) to use `x'
5009 instead of `r', since the latter is better suited to the new
5012 2013-07-27 Alan Mackenzie <acm@muc.de>
5014 Make Java try-with-resources statement parse properly.
5015 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5016 (c-block-stmt-1-2-key): New language constants/variables.
5017 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5018 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5019 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5020 with c-block-stmt-1-2-key.
5022 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5024 * desktop.el (desktop--make-frame): Apply most frame parameters after
5025 creating the frame to force (partially or totally) offscreen frames to
5026 be restored as such.
5028 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5030 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5033 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5035 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5036 `base' arg of backtrace-frame.
5038 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5040 * simple.el (list-processes): Doc fix.
5042 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5044 * desktop.el (desktop--select-frame):
5045 Try harder to reuse existing frames.
5047 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5049 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5050 (edebug-eval): Use backtrace-eval.
5051 (edebug--display, edebug--recursive-edit): Don't let-bind the
5052 edebug-outer-* vars that keep track of variables we locally let-bind.
5053 (edebug-outside-excursion): Don't restore outside values of locally
5055 (edebug--display): Use user-error.
5056 (cl-lexical-debug, cl-debug-env): Remove.
5058 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5060 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5061 are restored to be sure that they are visible before deleting any
5064 2013-07-26 Matthias Meulien <orontee@gmail.com>
5066 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5067 vc-print-root-log. (Bug#14948)
5069 2013-07-26 Richard Stallman <rms@gnu.org>
5071 Add aliases for encrypting mail.
5072 * epa.el (epa-mail-aliases): New option.
5073 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5074 Bind inhibit-read-only so read-only text doesn't ruin everything.
5075 (epa-mail-default-recipients): New subroutine broken out.
5076 Handle epa-mail-aliases.
5078 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5080 Add support for lexical variables to the debugger's `e' command.
5081 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5082 vars, except for debugger-outer-match-data.
5083 (debugger-frame-number): Move check for "on a function call" from
5084 callers into it. Add `skip-base' argument.
5085 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5086 (debugger-env-macro): Only reset the state stored in non-variables,
5087 i.e. current-buffer and match-data.
5088 (debugger-eval-expression): Rewrite using backtrace-eval.
5089 * subr.el (internal--called-interactively-p--get-frame): Remove.
5090 (called-interactively-p):
5091 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5092 `base' arg of backtrace-frame instead.
5094 2013-07-26 Glenn Morris <rgm@gnu.org>
5096 * align.el (align-regexp): Doc fix. (Bug#14857)
5097 (align-region): Explicit error if subexpression missing/does not match.
5099 * simple.el (global-visual-line-mode):
5100 Do not duplicate the mode lighter. (Bug#14858)
5102 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5104 * window.el (display-buffer): In display-buffer bind
5105 split-window-keep-point to t, bug#14829.
5107 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5109 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5110 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5111 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5112 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5114 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5115 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5117 2013-07-25 Glenn Morris <rgm@gnu.org>
5119 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5121 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5123 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5124 parameter to modify-frame-parameters if the value has not changed;
5125 this is a workaround for bug#14949.
5126 (desktop--make-frame): On cl-delete-if call, check parameter name,
5129 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5131 * vc/vc.el (vc-ignore): New function.
5133 * vc/vc-svn.el (vc-svn-ignore): New function.
5135 * vc/vc-hg.el (vc-hg-ignore): New function.
5137 * vc/vc-git.el (vc-git-ignore): New function.
5139 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5140 (vc-dir-ignore): New function.
5142 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5143 (cvs-append-to-ignore): Move here from pcvs.el.
5145 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5147 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5149 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5151 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5152 (desktop-restore-frames): Warn when deleting an existing frame failed.
5154 2013-07-24 Glenn Morris <rgm@gnu.org>
5156 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5158 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5160 * filenotify.el (file-notify-supported-p):
5161 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5164 * autorevert.el (auto-revert-use-notify):
5165 (auto-revert-notify-add-watch):
5166 * net/tramp.el (tramp-file-name-for-operation):
5167 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5168 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5169 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5170 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5171 Remove `file-notify-supported-p' entry.
5173 2013-07-24 Glenn Morris <rgm@gnu.org>
5175 * printing.el: Replace all uses of deleted ps-windows-system,
5176 ps-lp-system, ps-flatten-list with lpr- versions.
5178 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5181 checked with memq (bug#14935).
5183 * files.el (revert-buffer-function): Use a non-nil default.
5184 (revert-buffer-preserve-modes): Declare var to
5185 provide access to the `preserve-modes' argument.
5186 (revert-buffer): Let-bind it.
5187 (revert-buffer--default): New function, extracted from revert-buffer.
5189 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * lpr.el: Signal print errors more prominently.
5192 (print-region-function): Don't default to nil.
5193 (lpr-print-region): New function, extracted from print-region-1.
5194 Check lpr's return value and signal an error in case of problem.
5195 (print-region-1): Use it.
5196 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5198 (ps-printer-name): Default to nil.
5199 (ps-printer-name-option): Default to lpr-printer-switch.
5200 (ps-print-region-function): Don't default to nil.
5201 (ps-postscript-code-directory): Simplify default.
5202 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5203 (ps-string-list, ps-eval-switch, ps-flatten-list)
5204 (ps-flatten-list-1): Remove.
5205 (ps-multibyte-buffer): Avoid setq.
5206 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5207 (print-region-function, ps-print-region-function): Don't set them here.
5209 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5211 * ido.el (ido-fractionp):
5212 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5213 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5214 (ido-max-directory-size, ido-max-dir-file-cache)
5215 (ido-decorations): Doc fix.
5217 * ansi-color.el: Fix old URL.
5219 2013-07-23 Michael R. Mauger <michael@mauger.com>
5221 * progmodes/sql.el: Version 3.3
5222 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5223 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5224 (sql-interactive-remove-continuation-prompt): Rewrite, use
5225 functions above. Fix continuation prompt and complete output line
5227 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5228 redirected output buffer.
5229 (sql-mode): Restore deleted code (Bug#13591).
5231 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5233 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5235 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5237 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5239 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5240 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5241 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5243 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5245 * desktop.el (desktop-clear): Simplify; remove useless checks
5246 against invalid buffer names.
5247 (desktop-list*): Use cl-list*.
5248 (desktop-buffer-info, desktop-create-buffer): Simplify.
5250 2013-07-23 Leo Liu <sdl.web@gmail.com>
5252 * bookmark.el (bookmark-make-record): Restore NAME as a default
5255 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5257 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5258 extracted from autoload--insert-text.
5259 (autoload--insert-text): Remove.
5260 (autoload--print-cookie-text): New function, extracted from
5261 autoload--insert-cookie-text.
5262 (autoload--insert-cookie-text): Remove.
5263 (autoload-generate-file-autoloads): Adjust calls accordingly.
5265 * winner.el (winner-hook-installed-p): Remove.
5266 (winner-mode): Simplify accordingly.
5268 * subr.el (add-to-list): Fix compiler-macro when `append' is
5269 not constant. Don't use `cl-member' for the base case.
5271 * progmodes/subword.el: Fix boundary case (bug#13758).
5272 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5274 (subword-backward-regexp): Make it a constant.
5275 (subword-forward-internal): Don't treat a trailing capital as the
5276 beginning of a word.
5278 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5280 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5281 global value of tabulated-list-revert-hook (bug#14930).
5283 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5285 * desktop.el: Require 'cl-lib.
5286 (desktop-before-saving-frames-functions): New hook.
5287 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5288 for frames being saved. Rename from desktop--save-minibuffer-frames.
5289 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5290 Do not save frames with non-nil `desktop-dont-save' parameter.
5291 Filter out deleted frames.
5292 (desktop--find-frame): Use cl-find-if.
5293 (desktop--select-frame): Use cl-(first|second|third) to access values
5295 (desktop--make-frame): Use cl-delete-if.
5296 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5297 (desktop-restore-frames): Use cl-(first|second|third) to access values
5298 of desktop-mini. Look for visible frame at the end, not while
5301 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5302 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5303 Use string-match-p, looking-at-p (bug#14927).
5305 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5307 * desktop.el (desktop-saved-frame-states):
5308 Rename from desktop--saved-states; all users changed.
5309 (desktop-save-frames): Rename from desktop--save-frames.
5310 Do not save state to desktop file.
5311 (desktop-save): Save desktop-saved-frame-states to desktop file
5313 (desktop-restoring-frames-p): New function.
5314 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5315 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5316 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5318 * desktop.el: Correctly restore iconified frames.
5319 (desktop--filter-iconified-position): New function.
5320 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5322 2013-07-20 Glenn Morris <rgm@gnu.org>
5324 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5325 Let `message' do the formatting.
5326 (def-gdb-preempt-display-buffer): Add explicit format.
5328 * image-dired.el (image-dired-track-original-file):
5329 Use with-current-buffer.
5330 (image-dired-track-thumbnail): Use with-current-buffer.
5331 Avoid changing point of wrong window.
5333 * image-dired.el (image-dired-track-original-file):
5334 Avoid changing point of wrong window. (Bug#14909)
5336 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5338 * progmodes/gdb-mi.el (gdb-done-or-error):
5339 Guard against "%" in gdb output. (Bug#14127)
5341 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5343 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5346 * international/mule.el (coding-system-iso-2022-flags): Fix last
5349 2013-07-20 Kenichi Handa <handa@gnu.org>
5351 * international/mule.el (coding-system-iso-2022-flags):
5352 Add `8-bit-level-4'. (Bug#8522)
5354 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5356 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5359 * net/eww.el (eww-process-text-input): Allow inputting when the
5360 point is at the start of the line, as the properties aren't
5363 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5366 2013-07-19 Richard Stallman <rms@gnu.org>
5368 * epa.el (epa-popup-info-window): Doc fix.
5370 * subr.el (split-string): New arg TRIM.
5372 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5374 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5375 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5377 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5379 * filenotify.el (file-notify--library): Rename from
5380 `file-notify-support'. Do not autoload. Adapt all uses.
5381 (file-notify-supported-p): New defun.
5383 * autorevert.el (auto-revert-use-notify):
5384 Use `file-notify-supported-p' instead of `file-notify-support'.
5386 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5388 * net/tramp.el (tramp-file-name-for-operation):
5389 Add `file-notify-supported-p'.
5391 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5393 (tramp-sh-file-name-handler-alist): Add it as handler for
5394 `file-notify-supported-p '.
5396 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5397 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5398 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5399 Add `ignore' as handler for `file-notify-*' functions.
5401 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5403 * simple.el (line-move-partial, line-move): Don't start vscroll or
5404 scroll-up if the current line is not taller than the window.
5407 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5409 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5410 highlight question marks in the method names as strings.
5411 (ruby-block-beg-keywords): Inline.
5412 (ruby-font-lock-keyword-beg-re): Extract from
5413 `ruby-font-lock-keywords'.
5415 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5417 * frame.el (blink-cursor-blinks): New defcustom.
5418 (blink-cursor-blinks-done): New defvar.
5419 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5420 (blink-cursor-timer-function): Check if number of blinks has been
5422 (blink-cursor-suspend, blink-cursor-check): New defuns.
5424 2013-07-15 Glenn Morris <rgm@gnu.org>
5426 * edmacro.el (edmacro-format-keys): Fix previous change.
5428 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5430 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5431 The hack didn't work outside English locales anyway.
5433 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5435 * simple.el (define-alternatives): Rename from alternatives-define,
5436 per RMS' suggestion.
5438 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5440 * desktop.el (desktop-restore-frames): Change default to t.
5441 (desktop-restore-in-current-display): Now offer more options.
5442 (desktop-restoring-reuses-frames): New customization option.
5443 (desktop--saved-states): Doc fix.
5444 (desktop-filter-parameters-alist): New variable, renamed and expanded
5445 from desktop--excluded-frame-parameters.
5446 (desktop--target-display): New variable.
5447 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5448 (desktop--filter-tty*, desktop--filter-*-color)
5449 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5450 (desktop--filter-save-desktop-parm)
5451 (desktop-restore-in-original-display-p): New functions.
5452 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5453 (desktop--save-minibuffer-frames): New function, inspired by a similar
5454 function from Martin Rudalics.
5455 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5456 (desktop--restore-in-this-display-p): Remove.
5457 (desktop--find-frame): Rename from desktop--find-frame-in-display
5458 and add predicate argument.
5459 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5460 (desktop--reuse-list): New variable.
5461 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5463 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5465 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5467 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5469 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5471 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5472 Highlight conversion methods on Kernel.
5474 2013-07-13 Alan Mackenzie <acm@muc.de>
5476 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5477 and comment it out. This out-commenting enables certain C++
5478 declarations to be parsed correctly.
5480 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5482 * international/mule.el (define-coding-system): Doc fix.
5484 * simple.el (default-font-height): Don't call font-info if the
5485 frame's default font didn't change since the frame was created.
5488 2013-07-13 Leo Liu <sdl.web@gmail.com>
5490 * ido.el (ido-read-file-name): Guard against non-symbol value.
5492 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5494 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5497 2013-07-13 Leo Liu <sdl.web@gmail.com>
5499 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5500 ido-set-matches call. (Bug#6852)
5502 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5504 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5505 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5507 (ruby-font-lock-keywords): Distinguish calls to functions with
5508 module-like names from module references. Highlight character
5511 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5513 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5514 (gdb-send): Handle continued commands. (Bug#14847)
5516 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5518 * desktop.el (desktop--v2s): Remove unused local variable.
5519 (desktop-save-buffer): Make defvar-local; adjust docstring.
5520 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5521 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5523 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5525 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5527 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5529 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5532 2013-07-12 Glenn Morris <rgm@gnu.org>
5534 * doc-view.el: Require cl-lib at runtime too.
5535 (doc-view-remove-if): Remove.
5536 (doc-view-search-next-match, doc-view-search-previous-match):
5539 * edmacro.el: Require cl-lib at runtime too.
5540 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5541 (edmacro-mismatch, edmacro-subseq): Remove.
5543 * shadowfile.el: Require cl-lib.
5544 (shadow-remove-if): Remove.
5545 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5548 * wid-edit.el: Require cl-lib.
5549 (widget-choose): Use cl-remove-if.
5550 (widget-remove-if): Remove.
5552 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5553 (ebrowse-delete-if-not): Remove.
5554 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5555 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5556 Use cl-delete-if-not.
5558 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5560 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5561 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5563 2013-07-12 Leo Liu <sdl.web@gmail.com>
5565 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5567 2013-07-11 Glenn Morris <rgm@gnu.org>
5569 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5570 (edebug-gensym-index, edebug-gensym):
5571 Remove reimplementation of cl-gensym.
5572 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5574 * thumbs.el: Require cl-lib at run-time too.
5575 (thumbs-gensym-counter, thumbs-gensym):
5576 Remove reimplementation of cl-gensym.
5577 (thumbs-temp-file): Use cl-gensym.
5579 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5580 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5581 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5582 (ert--union, ert--gensym-counter, ert--gensym-counter)
5583 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5584 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5585 (ert-make-test-unbound, ert--expand-should-1)
5586 (ert--expand-should, ert--should-error-handle-error)
5587 (should-error, ert--explain-equal-rec)
5588 (ert--plist-difference-explanation, ert-select-tests)
5589 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5590 Use cl-lib functions rather than reimplementations.
5592 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5594 * net/tramp.el (tramp-methods): Extend docstring.
5595 (tramp-connection-timeout): New defcustom.
5596 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5597 (with-tramp-progress-reporter): Simplify.
5598 (tramp-process-actions): Improve messages.
5600 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5601 * net/tramp-sh.el (tramp-maybe-open-connection):
5602 Use `tramp-connection-timeout'.
5603 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5606 2013-07-11 Leo Liu <sdl.web@gmail.com>
5608 * ido.el (ido-read-file-name): Conform to the requirements of
5609 read-file-name. (Bug#11861)
5610 (ido-read-directory-name): Conform to the requirements of
5611 read-directory-name.
5613 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5615 * subr.el (delay-warning): New function.
5617 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5619 * simple.el (default-line-height): New function.
5620 (line-move-partial, line-move): Use it instead of computing the
5622 (line-move-partial): Always compute ROWH. If the last line is
5623 partially-visible, but its text is completely visible, allow
5624 cursor to enter such a partially-visible line.
5626 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5628 Improve error messages. (Bug#14808)
5630 * net/tramp.el (tramp-current-connection): New defvar, moved from
5632 (tramp-message-show-progress-reporter-message): Remove, not
5634 (tramp-error-with-buffer): Show message in minibuffer.
5635 Discard input before waiting. Reset connection timestamp.
5636 (with-tramp-progress-reporter): Improve messages.
5637 (tramp-process-actions): Use progress reporter. Delete process in
5638 case of error. Improve messages.
5640 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5641 Call `tramp-error-with-buffer' with vector and buffer.
5642 (tramp-current-connection): Remove.
5643 (tramp-maybe-open-connection): The car of
5644 `tramp-current-connection' are the first 3 slots of the vector.
5646 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5648 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5649 inside continued strings.
5651 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5653 Timestamp fixes for undo (Bug#14824).
5654 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5656 2013-07-10 Leo Liu <sdl.web@gmail.com>
5658 * files.el (require-final-newline): Allow safe local value.
5661 2013-07-09 Leo Liu <sdl.web@gmail.com>
5663 * ido.el (ido-read-directory-name): Handle fallback.
5664 (ido-read-file-name): Update DIR to ido-current-directory.
5666 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5668 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5670 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5671 "autoload". Remove "warn lower camel case" section, previously
5672 commented out. Highlight negation char. Do not highlight the
5673 target in singleton method definitions.
5675 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5677 * faces.el (tty-setup-hook): Declare the hook.
5679 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5680 and detect when a guard/pred depends on local vars (bug#14773).
5681 (pcase--u1): Adjust caller.
5683 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5685 * simple.el (line-move-partial, line-move): Account for
5687 (line-move-partial): Avoid setting vscroll when the last
5688 partially-visible line in window is of default height.
5690 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5692 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5695 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5697 * subr.el (read-quoted-char): Remove unused local variable `char'.
5699 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5701 * ediff.el (ediff-version): Version update.
5702 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5703 (ediff-merge-with-ancestor-command, ediff-directories-command)
5704 (ediff-directories3-command, ediff-merge-directories-command)
5705 (ediff-merge-directories-with-ancestor-command): New functions.
5706 All are command-line interfaces to ediff: to facilitate calling
5707 Emacs with the appropriate ediff functions invoked.
5709 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5710 (viper-save-kill-buffer): Check if buffer is modified.
5712 * viper.el (viper-version): Version update.
5713 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5715 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5718 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5719 (viper-intercept-ESC-key): Simplify.
5720 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5721 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5722 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5723 (viper-setup-ESC-to-escape): New functions.
5724 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5725 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5727 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5729 * simple.el (default-font-height, window-screen-lines):
5731 (line-move, line-move-partial): Use them instead of
5732 frame-char-height and window-text-height. This makes scrolling
5733 text smoother when the buffer's default face uses a font that is
5734 different from the frame's default font.
5736 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5738 * files.el (write-file): Do not display confirm dialog for NS,
5739 it does its own dialog, which can't be cancelled (Bug#14578).
5741 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5743 * simple.el (line-move-partial): Adjust the row returned by
5744 posn-at-point for the current window-vscroll. (Bug#14567)
5746 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5748 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5749 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5752 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5754 * window.el (window-state-put-stale-windows): New variable.
5755 (window--state-put-2): Save list of windows without matching buffer.
5756 (window-state-put): Remove "bufferless" windows if possible.
5758 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5760 * simple.el (alternatives-define): Remove leftover :group keyword.
5763 2013-07-06 Leo Liu <sdl.web@gmail.com>
5765 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5766 (ido-enable-virtual-buffers): New variable.
5767 (ido-buffer-internal, ido-toggle-virtual-buffers)
5768 (ido-make-buffer-list): Use it.
5769 (ido-exhibit): Support turning on and off virtual buffers
5772 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5774 * simple.el (alternatives-define): New macro.
5776 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5778 * subr.el (read-quoted-char): Use read-key.
5779 (sit-for): Let read-event decode tty input (bug#14782).
5781 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5783 * calendar/todo-mode.el: Add handling of file deletion, both by
5784 mode command and externally. Fix various related bugs.
5785 Clarify Commentary and improve some documentation strings and code.
5786 (todo-delete-file): New command.
5787 (todo-check-file): New function.
5788 (todo-show): Handle external deletion of the file we're trying to
5789 show (bug#14688). Replace called-interactively-p by an optional
5790 prefix argument to avoid problematic interaction with catch form
5791 when byte compiled (bug#14702).
5792 (todo-quit): Handle external deletion of the archive's todo file.
5793 Make sure the buffer that was visiting the archive file is still
5794 live before trying to bury it.
5795 (todo-category-completions): Handle external deletion of any
5796 category completion files.
5797 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5798 of todo files, in case of external deletion.
5799 (todo-add-file): Replace unnecessary setq by let-binding.
5800 (todo-find-archive): Check whether there are any archives.
5801 Replace unnecessary setq by let-binding.
5802 (todo-archive-done-item): Use find-file-noselect to get the
5803 archive buffer whether or not the archive already exists.
5804 Remove superfluous code. Use file size instead of buffer-file-name to
5805 check if the archive is new; if it is, update list of archives.
5806 (todo-default-todo-file): Allow nil to be a valid value for when
5807 there are no todo files.
5808 (todo-reevaluate-default-file-defcustom): Use corrected definition
5809 of todo-default-todo-file.
5810 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5811 (todo-delete-category, todo-show-categories-table)
5812 (todo-category-number): Clarify comment.
5813 (todo-filter-items): Clarify documentation string.
5814 (todo-show-current-file, todo-display-as-todo-file)
5815 (todo-reset-and-enable-done-separator): Tweak documentation string.
5816 (todo-done-separator): Make separator length window-width, since
5817 bug#2749 is now fixed.
5819 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5821 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5822 Support both "gvfs-monitor-dir" and "inotifywait".
5823 (tramp-sh-file-inotifywait-process-filter): Rename from
5824 `tramp-sh-file-notify-process-filter'.
5825 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5826 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5828 2013-07-05 Leo Liu <sdl.web@gmail.com>
5830 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5832 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5834 * frame.el (display-pixel-height, display-pixel-width)
5835 (display-mm-height, display-mm-width): Mention behavior on
5836 multi-monitor setups in docstrings.
5837 (w32-display-monitor-attributes-list): Declare function.
5838 (display-monitor-attributes-list): Use it.
5840 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5842 * filenotify.el: New package.
5844 * autorevert.el (top): Require filenotify.el.
5845 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5847 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5848 (auto-revert-notify-handler): Use `file-notify-*' functions.
5850 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5852 * net/tramp.el (tramp-file-name-for-operation):
5853 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5855 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5856 for `file-notify-add-watch' and `file-notify-rm-watch'.
5857 (tramp-process-sentinel): Improve trace.
5858 (tramp-sh-handle-file-notify-add-watch)
5859 (tramp-sh-file-notify-process-filter)
5860 (tramp-sh-handle-file-notify-rm-watch)
5861 (tramp-get-remote-inotifywait): New defuns.
5863 2013-07-03 Juri Linkov <juri@jurta.org>
5865 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5866 call of `occur-read-primary-args' to interactive spec.
5868 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5869 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5871 2013-07-03 Matthias Meulien <orontee@gmail.com>
5873 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5874 `Buffer-menu-multi-occur'. Add it to the menu.
5875 (Buffer-menu-mode): Document it in docstring.
5876 (Buffer-menu-multi-occur): New command. (Bug#14673)
5878 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5880 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5881 keywords and built-ins.
5883 2013-07-03 Glenn Morris <rgm@gnu.org>
5885 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5887 Make info-xref checks case-sensitive by default
5888 * info.el (Info-find-node, Info-find-in-tag-table)
5889 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5890 Add option for exact case matching of nodes.
5891 * info-xref.el (info-xref): New custom group.
5892 (info-xref-case-fold): New option.
5893 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5895 2013-07-03 Leo Liu <sdl.web@gmail.com>
5897 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5899 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5901 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5902 middle of block statement initially, lower the depth. Remove
5903 FIXME comment, not longer valid. Remove middle of block statement
5904 detection, no need to do that anymore since we've been using
5905 `ruby-parse-region' here.
5907 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5909 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5911 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5913 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5915 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5917 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5918 (desktop-restore-in-current-display): New customization option.
5919 (desktop--excluded-frame-parameters): Add `font'.
5920 (desktop--save-frames): Rename from desktop--save-windows.
5921 (desktop--restore-in-this-display-p): New function.
5922 (desktop--make-full-frame): Remove unwanted width/height from
5923 full(width|height) frames.
5924 (desktop--restore-frames): Rename from desktop--restore-windows.
5925 Obey desktop-restore-current-display. Do not delete old frames or
5926 select a new frame unless we were able to restore at least one frame.
5928 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5930 * files.el (find-file-noselect): Simplify conditional expression.
5932 * remember.el (remember-append-to-file):
5933 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5935 Add `remember-notes' function to store random notes across Emacs
5937 * remember.el (remember-data-file): Add :set callback to affect
5938 notes buffer (if any).
5939 (remember-notes): New command.
5940 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5941 New defcustoms for the `remember-notes' function.
5942 (remember-notes-save-and-bury-buffer): New command.
5943 (remember-notes-mode-map): New variable.
5944 (remember-mode): New minor mode.
5945 (remember-notes--kill-buffer-query): New function.
5946 * startup.el (initial-buffer-choice): Add notes to custom type.
5948 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5950 * bindings.el (right-char, left-char): Don't call sit-for, this is
5951 no longer needed. Use arithmetic comparison only for numerical
5954 * international/mule-cmds.el (select-safe-coding-system):
5955 Handle the case of FROM being a string correctly. (Bug#14755)
5957 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5959 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5960 progression on degenerate tables.
5961 (shr-rescale-image): ImageMagick animated images currently don't work.
5963 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5965 Some fixes and improvements for desktop frame restoration.
5966 It is still experimental and disabled by default.
5967 * desktop.el (desktop--save-windows): Put the selected frame at
5968 the head of the list.
5969 (desktop--make-full-frame): New function.
5970 (desktop--restore-windows): Try to re-select the frame that was
5971 selected upon saving. Do not abort if some frames fail to restore,
5972 just show an error message and continue. Set up maximized frames
5973 so they have default non-maximized dimensions.
5975 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5977 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5978 Don't start heredoc inside a string or comment.
5980 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5982 * bindings.el (visual-order-cursor-movement): New defcustom.
5983 (right-char, left-char): Provide visual-order cursor motion by
5984 calling move-point-visually. Update the doc strings.
5986 2013-06-28 Kenichi Handa <handa@gnu.org>
5988 * international/mule.el (define-coding-system): New coding system
5989 properties :inhibit-null-byte-detection,
5990 :inhibit-iso-escape-detection, and :prefer-utf-8.
5991 (set-buffer-file-coding-system): If :charset-list property of
5992 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5993 appropriate for setting.
5995 * international/mule-cmds.el (select-safe-coding-system):
5996 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5997 multibyte characters, return utf-8 (or one of its siblings).
5999 * international/mule-conf.el (prefer-utf-8): New coding system.
6000 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6003 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6005 * net/shr.el (shr-render-region): New function.
6007 * net/eww.el: Autoload `eww-browse-url'.
6009 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6011 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6012 Adapt to `package-desc-version' being a list.
6013 Use `package--ac-desc-version' to retrieve version from a package
6016 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6018 New experimental feature to save&restore window and frame setup.
6019 * desktop.el (desktop-save-windows): New defcustom.
6020 (desktop--saved-states): New var.
6021 (desktop--excluded-frame-parameters): New defconst.
6022 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6023 (desktop--restore-windows, desktop--save-windows): New functions.
6024 (desktop-save): Call `desktop--save-windows'.
6025 (desktop-read): Call `desktop--restore-windows'.
6027 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029 * net/shr.el (add-face-text-property): Remove compat definition.
6031 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6033 * info.el (Info-try-follow-nearest-node): Move search for footnote
6034 above search for node name to prevent missing a footnote (bug#14717).
6036 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6038 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6040 2013-06-27 Leo Liu <sdl.web@gmail.com>
6042 * net/eww.el (eww-read-bookmarks): Check file size.
6044 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6047 advice--pending if newdef is nil or an autoload (bug#13820).
6048 (advice-mapc): New function.
6050 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6052 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6054 (eww-mode-map): Add a menu bar.
6055 (eww-add-bookmark): New command.
6056 (eww-bookmark-mode): New mode and commands.
6057 (eww-add-bookmark): Remove newlines from the title.
6058 (eww-bookmark-browse): Don't bug out if it's the only window.
6060 2013-06-26 Glenn Morris <rgm@gnu.org>
6062 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6063 (hfy-size): Handle ttys. (Bug#14668)
6065 * info-xref.el: Update for Texinfo 5 change in *note format.
6066 (info-xref-node-re, info-xref-note-re): New constants.
6067 (info-xref-check-buffer): Use info-xref-note-re.
6069 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6071 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6073 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6074 nil terminate the loop (bug#14718).
6076 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6078 * net/eww.el: Rework history traversal. When going forward/back,
6079 put these actions into the history, too, so that they can be
6081 (eww-render): Move the history reset to the correct buffer.
6083 2013-06-25 Juri Linkov <juri@jurta.org>
6085 * files-x.el (modify-dir-local-variable): Change the header comment
6086 in the file with directory local variables. (Bug#14692)
6088 * files-x.el (read-file-local-variable-value): Add `default'.
6091 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6093 * net/eww.el (eww-make-unique-file-name): Create a unique file
6094 name before saving to entering `y' accidentally asynchronously.
6096 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6098 * net/eww.el (eww-download): New command and keystroke.
6100 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6102 * net/eww.el (eww-copy-page-url): Change name of command.
6104 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6105 be more consistent with Info and dired.
6107 * net/eww.el (eww-mode-map): Ditto.
6109 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6111 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6112 packages from archives.
6113 (package-archive-contents): Change format; include obsolete packages.
6114 (package-desc): Use `dir' to mark builtin packages.
6115 (package--from-builtin): Set the `dir' field to `builtin'.
6116 (generated-autoload-file, version-control): Declare.
6117 (package-compute-transaction): Change first arg and return value to be
6118 lists of package-descs. Adjust to new package-archive-contents format.
6119 (package--add-to-archive-contents): Adjust to new
6120 package-archive-contents format.
6121 (package-download-transaction): Arg is now a list of package-descs.
6122 (package-install): If `pkg' is a package name, pass it as
6123 a requirement, so it is subject to the usual (e.g. disabled) checks.
6124 (describe-package): Accept package-desc as well.
6125 (describe-package-1): Describe a specific package-desc. Add links to
6126 other package-descs for the same package name.
6127 (package-menu-describe-package): Pass the actual package-desc.
6128 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6130 (package-desc-status): New function.
6131 (package-menu--refresh): New function, extracted
6132 from package-menu--generate.
6133 (package-menu--generate): Use it.
6134 (package-delete): Update package-alist.
6135 (package-menu-execute): Don't call package-initialize.
6137 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6138 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6139 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6140 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6141 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6142 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6144 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6146 * window.el (window--state-get-1): Workaround for bug#14527.
6147 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6149 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6151 * net/eww.el (eww-back-url): Implement the history by stashing all
6152 the data into a list.
6153 (eww-forward-url): Allow going forward in the history, too.
6155 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6158 for values and use read--expression for expressions (bug#14710).
6159 (read-file-local-variable): Avoid setq.
6160 (read-file-local-variable-mode): Use minor-mode-list.
6162 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6164 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6167 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6169 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6170 Update imenu-support when dialect changes.
6172 2013-06-25 Leo Liu <sdl.web@gmail.com>
6174 * ido.el (ido-read-internal): Allow forward slash on windows.
6176 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6178 * net/eww.el (eww): Start of strings is \\`, not ^.
6180 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6182 * net/shr.el (shr-browse-url): Fix interactive spec.
6184 * net/eww.el (eww): Add a trailing slash to domain names.
6186 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6188 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6190 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6192 * net/shr.el (shr-browse-url): Use an external browser if given a
6195 * net/eww.el (eww-external-browser): Move to shr.
6197 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6199 * net/eww.el (eww): Work more correctly for file: URLs.
6200 (eww-detect-charset): Allow quoted charsets.
6201 (eww-yank-page-url): New command and keystroke.
6203 2013-06-24 Daiki Ueno <ueno@gnu.org>
6205 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6206 file name of gpg executable.
6207 (epg-context-program): New function.
6208 (epg-context-home-directory): New function.
6209 (epg-context-set-program): New function.
6210 (epg-context-set-home-directory): New function.
6211 (epg--start): Use `epg-context-program' instead of
6213 (epg--list-keys-1): Likewise.
6215 2013-06-24 Leo Liu <sdl.web@gmail.com>
6217 * ido.el (ido-read-internal): Fix bug#14620.
6219 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6221 * faces.el (face-documentation): Simplify.
6222 (read-face-attribute, tty-find-type, x-resolve-font-name):
6223 Use `string-match-p'.
6224 (list-faces-display): Use `string-match-p'. Simplify.
6225 (face-spec-recalc): Check face to avoid face alias loops.
6226 (read-color): Use `string-match-p' and non-capturing parenthesis.
6228 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6230 * net/shr.el (shr-rescale-image): Use the new
6231 :max-width/:max-height functionality.
6233 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6235 * net/eww.el (eww-search-prefix): New variable.
6237 (eww-external-browser): New variable.
6238 (eww-mode-map): New keystroke.
6239 (eww-browse-with-external-browser): New command.
6241 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6243 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6245 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6246 Don't skip aligning the next header field when padding is 0;
6247 otherwise, field width is not respected unless the title is as
6250 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * emacs-lisp/package.el (package-el-version): Remove.
6253 (package-process-define-package): Fix inf-loop.
6254 (package-install): Allow symbols as arguments again.
6256 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6258 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6259 add some more keyword-like methods.
6260 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6262 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6264 * bs.el (bs-buffer-show-mark): Make defvar-local.
6265 (bs-mode): Use setq-local.
6267 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6268 (emacs-lock--try-unlocking): Make defvar-local.
6270 2013-06-22 Glenn Morris <rgm@gnu.org>
6272 * play/cookie1.el (cookie-apropos): Minor simplification.
6274 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6276 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6278 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6279 `regexp-opt', it breaks the build during dumping.
6281 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6283 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6284 Highlight keyword-like methods on Kernel and Module with
6285 font-lock-builtin-face.
6286 (auto-mode-alist): Consolidate different entries into one regexp
6287 and add more *file-s.
6289 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6291 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6293 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6294 (diary-entry): Use it in the action of this button type instead of
6297 * calendar/todo-mode.el: New version.
6298 (todo-add-category): Append new category to end of file and give
6299 it the highest number, instead of putting it at the beginning and
6300 giving it 0. Incorporate noninteractive functionality.
6301 (todo-forward-category): Adapt to 1-based category numbering.
6302 Allow skipping over archived categories.
6303 (todo-backward-category): Derive from todo-forward-category.
6304 (todo-backward-item, todo-forward-item): Make noninteractive and
6305 delegate interactive part to new commands. Make sensitive to done items.
6306 (todo-categories): Make value an alist of category names and
6307 vectors of item counts.
6308 (todo-category-beg): Make a defconst.
6309 (todo-category-number): Use 1 instead of 0 as initial value.
6310 (todo-category-select): Make sensitive to overlays, optional item
6311 highlighting and done items.
6312 (todo-delete-item): Make sensitive to overlays and marked and done items.
6313 (todo-edit-item): Make sensitive to overlays and editing of
6314 date/time header optional. Add format checks.
6315 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6316 no-op if point is not on an item. Advertise using todo-edit-quit.
6317 (todo-edit-mode): Make sensitive to new format, font-locking, and
6318 multiple todo files.
6319 (todo-insert-item, todo-insert-item-here): Derive from
6320 todo-basic-insert-item and extend functionality.
6321 (todo-item-end, todo-item-start): Make sensitive to done items.
6322 (todo-item-string): Don't return text properties. Restore point.
6323 (todo-jump-to-category): Make sensitive to multiple todo files and
6324 todo archives. Use extended category completion.
6325 (todo-lower-item, todo-raise-item): Rename to *-priority and
6326 derive from todo-set-item-priority.
6327 (todo-mode): Derive from special-mode. Make sensitive to new
6328 format, font-locking and multiple todo files. Make read-only.
6329 (todo-mode-map): Don't suppress digit keys, so they can supply
6330 prefix arguments. Add many new key bindings.
6331 (todo-prefix): Insert as an overlay instead of file text.
6332 Change semantics from diary date expression to purely visual mark.
6333 (todo-print): Rename to todo-print-buffer. Make buffer display
6334 features printable. Remove option to restrict number of items
6335 printed. Add option to print to file.
6336 (todo-print-function): Rename to todo-print-buffer-function.
6337 (todo-quit): Extend to handle exiting new todo modes.
6338 (todo-remove-item): Make sensitive to overlays.
6339 (todo-save): Extend to buffers of filtered items.
6340 (todo-show): Make sensitive to done items, multiple todo files and
6341 new todo modes. Offer to convert legacy todo file before creating
6342 first new todo file.
6343 (todo-show-priorities): Rename to todo-top-priorities.
6344 Change semantics of value 0.
6345 (todo-top-priorities): Rename to todo-filter-top-priorities,
6346 derive from todo-filter-items and extend functionality.
6347 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6348 and extend functionality to other types of filtered items.
6349 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6350 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6351 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6352 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6353 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6354 (todo-edit-mode-hook, todo-entry-prefix-function)
6355 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6356 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6357 (todo-initials, todo-insert-threshold, todo-item-string-start)
6358 (todo-line-string, todo-menu, todo-mode-hook)
6359 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6360 (todo-print-priorities, todo-remove-separator)
6361 (todo-save-top-priorities-too, todo-string-count-lines)
6362 (todo-string-multiline-p, todo-time-string-format)
6363 (todo-tmp-buffer-name): Remove.
6364 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6365 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6366 (todo-edit-category-diary-inclusion)
6367 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6368 (todo-edit-file, todo-edit-item-date-day)
6369 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6370 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6371 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6372 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6373 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6374 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6375 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6376 (todo-filter-top-priorities-multifile, todo-find-archive)
6377 (todo-find-filtered-items-file, todo-go-to-source-item)
6378 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6379 (todo-jump-to-archive-category, todo-lower-category)
6380 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6381 (todo-move-category, todo-move-item, todo-next-button)
6382 (todo-next-item, todo-padded-string, todo-powerset)
6383 (todo-previous-button, todo-previous-item)
6384 (todo-print-buffer-to-file, todo-raise-category)
6385 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6386 (todo-set-category-number, todo-set-item-priority)
6387 (todo-set-top-priorities-in-category)
6388 (todo-set-top-priorities-in-file, todo-show-categories-table)
6389 (todo-sort-categories-alphabetically-or-numerically)
6390 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6391 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6392 (todo-toggle-item-header, todo-toggle-item-highlighting)
6393 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6394 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6395 (todo-unarchive-items, todo-unmark-category): New commands.
6396 (todo-absolute-file-name, todo-add-to-buffer-list)
6397 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6398 (todo-basic-insert-item, todo-category-completions)
6399 (todo-category-number, todo-category-string-matcher-1)
6400 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6401 (todo-check-format, todo-clear-matches)
6402 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6403 (todo-current-category, todo-date-string-matcher)
6404 (todo-define-insertion-command, todo-diary-expired-matcher)
6405 (todo-diary-goto-entry, todo-diary-item-p)
6406 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6407 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6408 (todo-done-item-section-p, todo-done-separator)
6409 (todo-done-string-matcher, todo-files, todo-filter-items)
6410 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6411 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6412 (todo-insert-category-line, todo-insert-item-from-calendar)
6413 (todo-insert-sort-button, todo-insert-with-overlays)
6414 (todo-insertion-command-name, todo-insertion-key-bindings)
6415 (todo-label-to-key, todo-longest-category-name-length)
6416 (todo-make-categories-list, todo-mode-external-set)
6417 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6418 (todo-modes-set-3, todo-multiple-filter-files)
6419 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6420 (todo-read-category, todo-read-date, todo-read-dayname)
6421 (todo-read-file-name, todo-read-time)
6422 (todo-reevaluate-category-completions-files-defcustom)
6423 (todo-reevaluate-default-file-defcustom)
6424 (todo-reevaluate-filelist-defcustoms)
6425 (todo-reevaluate-filter-files-defcustom)
6426 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6427 (todo-reset-done-separator, todo-reset-done-separator-string)
6428 (todo-reset-done-string, todo-reset-global-current-todo-file)
6429 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6430 (todo-reset-prefix, todo-set-categories)
6431 (todo-set-date-from-calendar, todo-set-show-current-file)
6432 (todo-set-top-priorities, todo-short-file-name)
6433 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6434 (todo-total-item-counts, todo-update-buffer-list)
6435 (todo-update-categories-display, todo-update-categories-sexp)
6436 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6438 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6440 (todo-categories, todo-display, todo-edit, todo-faces)
6441 (todo-filtered): New defgroups.
6442 (todo-archived-only, todo-button, todo-category-string, todo-date)
6443 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6444 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6445 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6446 (todo-add-item-if-new-category, todo-always-add-time-string)
6447 (todo-categories-align, todo-categories-archived-label)
6448 (todo-categories-category-label, todo-categories-diary-label)
6449 (todo-categories-done-label, todo-categories-number-separator)
6450 (todo-categories-todo-label, todo-categories-totals-label)
6451 (todo-category-completions-files, todo-completion-ignore-case)
6452 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6453 (todo-done-separator-string, todo-done-string)
6454 (todo-files-function, todo-filter-done-items, todo-filter-files)
6455 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6456 (todo-initial-category, todo-initial-file, todo-item-mark)
6457 (todo-legacy-date-time-regexp, todo-mode-line-function)
6458 (todo-nondiary-marker, todo-number-prefix)
6459 (todo-print-buffer-function, todo-show-current-file)
6460 (todo-show-done-only, todo-show-first, todo-show-with-done)
6461 (todo-skip-archived-categories, todo-top-priorities-overrides)
6462 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6463 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6465 (todo-category-done, todo-date-pattern, todo-date-string-start)
6466 (todo-diary-items-buffer, todo-done-string-start)
6467 (todo-filtered-items-buffer, todo-item-start)
6468 (todo-month-abbrev-array, todo-month-name-array)
6469 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6470 (todo-top-priorities-buffer): New defconsts.
6471 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6472 (todo-categories-with-marks, todo-category-string-face)
6473 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6474 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6475 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6476 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6477 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6478 (todo-font-lock-keywords, todo-global-current-todo-file)
6479 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6480 (todo-insertion-commands-args)
6481 (todo-insertion-commands-args-genlist)
6482 (todo-insertion-commands-names, todo-insertion-map)
6483 (todo-key-bindings-t, todo-key-bindings-t+a)
6484 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6485 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6486 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6487 (todo-visited): New variables.
6489 2013-06-21 Glenn Morris <rgm@gnu.org>
6491 * play/cookie1.el (cookie-apropos): Add optional display argument.
6492 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6493 (psychoanalyze-pinhead): Use cookie-doctor.
6495 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6497 * emacs-lisp/package.el (tar-get-file-descriptor)
6498 (tar--extract): Declare.
6500 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6502 Extend flymake's warning predicate to be a function (bug#14217).
6503 * progmodes/flymake.el (flymake-warning-predicate): New.
6504 (flymake-parse-line): Use it.
6505 (flymake-warning-re): Make obsolete alias to
6506 `flymake-warning-predicate'.
6508 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6511 (package-obsolete-list): Remove.
6512 (package-activate): Remove min-version argument. Add `force' argument.
6513 Adjust to new package-alist format.
6514 (package-mark-obsolete): Remove.
6515 (package-unpack): Force reload of the package's autoloads.
6516 (package-installed-p): Check builtins if the installed package is not
6518 (package-initialize): Don't reset package-obsolete-list.
6519 Don't specify which package version to activate.
6520 (package-process-define-package, describe-package-1)
6521 (package-menu--generate): Adjust to new package-alist format.
6523 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6525 * allout-widgets.el (allout-widgets-mode-off)
6526 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6527 (allout-widgets-post-command-business)
6528 (allout-widgets-after-copy-or-kill-function)
6529 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6530 (allout-decorate-item-and-context)
6531 (allout-graphics-modification-handler): Fix typos in docstrings.
6532 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6534 * cmuscheme.el (scheme-start-file): Doc fix.
6535 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6536 (scheme-input-filter): Use `string-match-p'.
6538 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6540 * dired-x.el: Use Dired consistently in docstrings.
6542 * dired.el: Use Dired consistently in docstrings.
6543 (dired-readin, dired-mode): Use `setq-local'.
6544 (dired-switches-alist): Make defvar-local.
6545 (dired-buffers-for-dir): Use `zerop'.
6546 (dired-safe-switches-p, dired-switches-escape-p)
6547 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6548 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6549 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6550 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6551 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6552 (dired-toggle-marks, dired-mark-files-containing-regexp)
6553 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6554 (dired-flag-auto-save-files, dired-flag-backup-files):
6556 (dired-mark-files-regexp, dired-build-subdir-alist):
6557 Use `string-match-p', `looking-at-p'.
6559 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6560 (direct-print-region-helper): Use `string-match-p'.
6562 2013-06-21 Leo Liu <sdl.web@gmail.com>
6564 * comint.el (comint-redirect-results-list-from-process):
6567 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6569 * net/eww.el (eww-update-header-line-format): Quote % characters.
6571 2013-06-21 Glenn Morris <rgm@gnu.org>
6573 * play/cookie1.el (cookie): New custom group.
6574 (cookie-file): New option.
6575 (cookie-check-file): New function.
6576 (cookie): Make it interactive. Make start and end messages optional.
6577 Interactively, display the result. Default to cookie-file.
6578 (cookie-insert): Default to cookie-file.
6579 (cookie-snarf): Make start and end messages optional.
6580 Default to cookie-file. Use with-temp-buffer.
6581 (cookie-read): Rename from read-cookie.
6582 Make start and end messages optional. Default to cookie-file.
6583 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6585 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6586 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6588 2013-06-21 Leo Liu <sdl.web@gmail.com>
6590 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6592 2013-06-21 Glenn Morris <rgm@gnu.org>
6594 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6596 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6597 Daniel Hackney <dan@haxney.org>
6599 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6600 Consolidate the single-file vs tarball code.
6601 (package-desc-suffix): New function.
6602 (package-desc-full-name): Don't bother inlining it.
6603 (package-load-descriptor): Return the new package-desc.
6604 (package-mark-obsolete): Remove unused arg `package'.
6605 (package-unpack): Make it work for single files as well.
6606 Make it update package-alist.
6607 (package--make-autoloads-and-stuff): Rename from
6608 package--make-autoloads-and-compile. Don't compile any more.
6609 (package--compile): New function.
6610 (package-generate-description-file): New function, extracted from
6611 package-unpack-single.
6612 (package-unpack-single): Remove.
6613 (package--with-work-buffer): Add indentation and debugging info.
6614 (package-download-single): Remove.
6615 (package-install-from-archive): Rename from package-download-tar, make
6616 it take a pkg-desc, and make it work for single files as well.
6617 (package-download-transaction): Simplify.
6618 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6619 external tar program.
6620 (package-install-from-buffer): Remove `pkg-desc' argument.
6621 Use package-tar-file-info for tar-mode buffers.
6622 (package-install-file): Simplify accordingly.
6623 (package-archive-base): Change to take a pkg-desc.
6624 * tar-mode.el (tar--check-descriptor): New function, extracted from
6626 (tar-get-descriptor): Use it.
6627 (tar-get-file-descriptor): New function.
6628 (tar--extract): New function, extracted from tar-extract.
6629 (tar--extract): Use it.
6630 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6631 case the summary uses non-ascii. Adjust to new calling convention of
6632 package-tar-file-info.
6634 2013-06-21 Leo Liu <sdl.web@gmail.com>
6636 * comint.el (comint-redirect-results-list-from-process):
6637 Fix random delay. (Bug#14681)
6639 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6641 * profiler.el (profiler-format-number): Use log, not log10.
6643 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6645 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6647 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6649 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6650 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6652 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6653 (AUTOGENEL): ... here.
6654 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6655 (cl--defsubst-expand): Use it.
6657 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6659 * subr.el (log10): Move here from C code, and declare as obsolete.
6660 All uses of (log10 X) replaced with (log X 10).
6662 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6664 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6665 Declare with `defvar-local'.
6666 (tabulated-list-use-header-line, tabulated-list-entries)
6667 (tabulated-list-padding, tabulated-list-printer)
6668 (tabulated-list-sort-key): Declare with `defvar-local'.
6669 (tabulated-list-init-header, tabulated-list-print-fake-header):
6672 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6674 * arc-mode.el (archive-mode): Add `archive-write-file' to
6675 `write-contents-functions' also for remote files. (Bug#14652)
6677 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6679 * cus-edit.el (custom-commands): Fix typos.
6680 (custom-display): Fix tooltip text.
6681 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6682 Fix typos in docstrings.
6683 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6684 (custom-unlispify-menu-entry, custom-magic-value-create)
6685 (custom-add-see-also, custom-group-value-create): Use ?\s.
6686 (custom-guess-type, customize-apropos, editable-field)
6687 (custom-face-value-create): Use `string-match-p'.
6688 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6690 * custom.el (custom-load-symbol): Use `string-match-p'.
6692 * ansi-color.el: Convert to lexical binding.
6693 (ansi-colors): Fix URL.
6694 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6695 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6696 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6698 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6700 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6702 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6704 2013-06-19 Tom Tromey <tromey@redhat.com>
6706 * net/eww.el (eww-top-url): Remove.
6707 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6708 (eww-render): Set new variables. Don't set eww-top-url.
6709 (eww-handle-link): Handle "prev", "home", and "contents".
6710 Downcase the rel text.
6711 (eww-top-url): Choose best top URL.
6713 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6715 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6716 relying in widget.el. Using widget.el leads to too many
6717 user interface inconsistencies.
6718 (eww-self-insert): Implement entering commands in text fields.
6719 (eww-process-text-input): New function to make text input field editing
6721 (eww-submit): Rewrite to use the new-style form methods.
6722 (eww-select-display): Display the correct selected item.
6723 (eww-change-select): Implement changing the select value.
6724 (eww-toggle-checkbox): Implement radio/checkboxes.
6725 (eww-update-field): Fix compilation error.
6726 (eww-tag-textarea): Implement <textarea>.
6728 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6729 we don't shadow mode-specific bindings.
6731 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6734 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6736 2013-06-19 Glenn Morris <rgm@gnu.org>
6738 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6740 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6742 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6745 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6747 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6749 * net/browse-url.el (browse-url-browser-function):
6750 `eww-browse-url' has the right calling signature, `eww' does not.
6752 2013-06-19 Glenn Morris <rgm@gnu.org>
6754 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6755 Only eval autoloaded macros.
6756 (byte-compile-autoload): Only give the macro warning for macros.
6758 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6759 (ps-underlined-faces): Declare.
6761 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6762 (speedbar-add-supported-extension): Declare.
6764 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6765 Don't include a date stamp in the header of the generated file;
6766 it leads to needless differences between output files.
6768 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6770 * net/secrets.el (secrets-struct-secret-content-type):
6771 Replace check of introspection data by a test call of "CreateItem".
6772 Some servers do not offer introspection.
6774 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * electric.el (electric-pair-mode): Improve interaction with
6777 electric-layout-mode.
6778 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6779 (electric-pair-syntax): Use text-mode-syntax-table in comments
6781 (electric-pair--insert): New function.
6782 (electric-pair-post-self-insert-function): Use it and
6783 electric--after-char-pos.
6785 2013-06-19 Leo Liu <sdl.web@gmail.com>
6787 * progmodes/octave.el (octave-help): Fix regexp.
6789 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6792 (shr-table-horizontal-line): Allow nil as a value, and change the
6794 (shr-insert-table-ruler): Respect the nil value.
6796 2013-06-18 Tom Tromey <tromey@barimba>
6798 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6800 (eww-open-file): New defun.
6801 (eww-render): Initialize new variables.
6802 (eww-display-html): Handle "link" and "a".
6803 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6804 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6805 (eww-back-url): Rename from eww-previous-url.
6806 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6809 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6811 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6812 Distinguish ternary operator tokens from slash symbol and slash
6815 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6817 Convert symbol prettification into minor mode and global minor mode.
6819 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6820 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6821 (prettify-symbols--keywords): Rename from
6822 `prog-prettify-symbols-alist' and make a local defvar.
6823 (prettify-symbols--compose-symbol): Rename from
6824 `prog--prettify-font-lock-compose-symbol'.
6825 (prettify-symbols--make-keywords): Rename from
6826 `prog-prettify-font-lock-symbols-keywords' and simplify.
6827 (prog-prettify-install): Remove.
6828 (prettify-symbols-mode): New minor mode, based on
6829 `prog-prettify-install'.
6830 (turn-on-prettify-symbols-mode): New function.
6831 (global-prettify-symbols-mode): New globalized minor mode.
6833 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6834 * progmodes/cfengine.el (cfengine3-mode):
6835 * progmodes/perl-mode.el (perl-mode): Don't call
6836 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6838 2013-06-18 Juri Linkov <juri@jurta.org>
6840 * files-x.el (modify-file-local-variable-message): New function.
6841 (modify-file-local-variable)
6842 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6843 and call `modify-file-local-variable-message' when it's non-nil.
6844 (add-file-local-variable, delete-file-local-variable)
6845 (add-file-local-variable-prop-line)
6846 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6847 and use it. (Bug#9820)
6849 2013-06-18 Juri Linkov <juri@jurta.org>
6851 * emulation/vi.el (vi-shell-op):
6852 * emulation/vip.el (vip-execute-com, ex-command):
6853 * emulation/viper-cmd.el (viper-exec-bang):
6854 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6855 the call of `shell-command-on-region'. (Bug#14637)
6857 * simple.el (shell-command-on-region): Doc fix.
6859 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6864 2013-06-18 Glenn Morris <rgm@gnu.org>
6866 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6868 * newcomment.el (comment-search-forward, comment-search-backward):
6869 Doc fix. (Bug#14376)
6871 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6873 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6874 (buffer-face-mode-invoke): Doc fix.
6876 2013-06-18 Matthias Meulien <orontee@gmail.com>
6878 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6879 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6881 2013-06-18 Glenn Morris <rgm@gnu.org>
6883 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6884 Replace obsolete function generic-make-keywords with its expansion.
6886 * progmodes/python.el (ffap-alist): Declare.
6888 * textmodes/reftex.el (bibtex-mode-map): Declare.
6890 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6892 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6893 (package-unpack, package-unpack-single): Return the pkg-dir.
6894 (package-download-transaction): Use it to update package-alist.
6896 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6901 2013-06-17 Juri Linkov <juri@jurta.org>
6903 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6905 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6907 * emacs-lisp/package.el (package-load-descriptor):
6908 Remove `with-syntax-table' call, `read' doesn't need it.
6909 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6911 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6913 * startup.el (command-line): Expand package name returned by
6914 `package--description-file' (bug#14639).
6916 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6918 * emacs-lisp/package.el (package-load-descriptor): Do not call
6919 `emacs-lisp-mode', just use its syntax table.
6921 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6923 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6924 `font-lock-extra-managed-props' if any prettifying keyword is added.
6925 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6926 (prog-mode): Use `setq-local'.
6928 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * international/characters.el (standard-case-table): Set syntax of ?»
6931 and ?« to punctuation.
6933 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6935 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6936 Save relevant match data before calling `syntax-ppss' (bug#14595).
6938 2013-06-15 Juri Linkov <juri@jurta.org>
6940 * files-x.el (modify-file-local-variable-prop-line): Add local
6941 variables to the end of the existing comment on the first line.
6942 Use `file-auto-mode-skip' to skip interpreter magic line,
6943 and also skip XML declaration.
6945 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6947 * startup.el (package--builtin-versions): New var.
6948 (package-subdirectory-regexp): Remove.
6949 (package--description-file): Hard code its value instead.
6951 * emacs-lisp/package.el: Don't activate packages older than builtin.
6952 (package-obsolete-list): Rename from package-obsolete-alist, and make
6953 it into a simple list of package-desc.
6954 (package-strip-version): Remove.
6955 (package-built-in-p): Use package--builtin-versions.
6956 (package-mark-obsolete): Simplify.
6957 (package-process-define-package): Mark it obsolete if older than the
6959 (package-handle-response): Use line-end-position.
6960 (package-read-archive-contents, package--download-one-archive):
6962 (package--add-to-archive-contents): Skip if older than the builtin or
6964 (package-menu-describe-package): Fix last change.
6965 (package-list-unversioned): New var.
6966 (package-menu--generate): Use it.
6968 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6969 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6970 (autoload-builtin-package-versions): New variable.
6971 (autoload-generate-file-autoloads): Use them.
6972 Remove the list of autoloaded functions/macros from the
6973 (autoload...) comments.
6975 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6977 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6979 * simple.el (line-move-partial): Don't jump to the next screen
6980 line as soon as it becomes visible. Instead, continue enlarging
6981 the vscroll until the portion of a tall screen line that's left on
6982 display is about the height of the frame's default font.
6985 2013-06-15 Glenn Morris <rgm@gnu.org>
6987 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6988 compilation-error-regexp-alist void, or local while let-bound.
6990 * progmodes/make-mode.el (makefile-mode-syntax-table):
6991 Treat "=" as punctuation. (Bug#14614)
6993 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6995 * help-fns.el (describe-variable):
6996 Add extra line for permanent-local variables.
6998 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7000 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7001 Add export, import, library. (Bug#9164)
7002 (library): Set indent function.
7004 2013-06-14 Glenn Morris <rgm@gnu.org>
7006 * term/xterm.el (xterm--query):
7007 Stop after first matching handler. (Bug#14615)
7009 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7011 Add support for dired in saveplace.
7012 * dired.el (dired-initial-position-hook): New variable.
7013 (dired-initial-position): Call hook to place cursor position.
7014 * saveplace.el (save-place-to-alist): Add dired position.
7015 (save-place-dired-hook): New function.
7017 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7020 through a symbol rather than letrec.
7022 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7023 (package-desc): Add `dir' field.
7024 (package-desc-full-name): New function.
7025 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7026 (package-maybe-load-descriptor): Remove.
7027 (package-load-all-descriptors): Just call package-load-descriptor.
7028 (package--disabled-p): New function.
7029 (package-desc-vers, package-desc-doc): Remove aliases.
7030 (package--dir): Remove function.
7031 (package-activate): Check if a package is disabled.
7032 (package-process-define-package): New function, extracted from
7034 (define-package): Turn into a place holder.
7035 (package-unpack-single, package-tar-file-info):
7036 Use package--description-file.
7037 (package-compute-transaction): Use package--disabled-p.
7038 (package-download-transaction): Don't call
7039 package-maybe-load-descriptor since they're all loaded anyway.
7040 (package-install): Change argument to be a pkg-desc.
7041 (package-delete): Use a single pkg-desc argument.
7042 (describe-package-1): Use package-desc-dir instead of package--dir.
7043 Use package-desc property instead of package-symbol.
7044 (package-install-button-action): Adjust accordingly.
7045 (package--push): Rewrite.
7046 (package-menu--print-info): Adjust accordingly. Change the ID format
7048 (package-menu-describe-package, package-menu-get-status)
7049 (package-menu--find-upgrades, package-menu-mark-upgrades)
7050 (package-menu-execute, package-menu--name-predicate):
7052 * startup.el (package--description-file): New function.
7053 (command-line): Use it.
7054 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7055 Use package-desc-version.
7057 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7058 (byte-compile-preprocess): Use it.
7059 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7060 can't quite recognize.
7061 (byte-compile-add-to-list): Remove.
7062 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7063 (cconv-closure-convert): Add assertion.
7065 * emacs-lisp/map-ynp.el: Use lexical-binding.
7066 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7067 Factor out some repeated code.
7069 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * subr.el (with-eval-after-load): New macro.
7072 (eval-after-load): Allow form to be a function.
7073 take advantage of lexical-binding.
7074 (do-after-load-evaluation): Use dolist and adjust to new format.
7075 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7077 2013-06-13 Juri Linkov <juri@jurta.org>
7079 * replace.el (perform-replace): Display "symbol " and other search
7080 modes from `isearch-message-prefix' in the *Help* buffer.
7082 * isearch.el (isearch-query-replace): Add " symbol" and other
7083 possible search modes from `isearch-message-prefix' to the prompt.
7084 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7085 when reading a regexp to collect.
7087 2013-06-13 Juri Linkov <juri@jurta.org>
7089 * isearch.el (word-search-regexp): Match whitespace if the search
7090 string begins or ends in whitespace. The LAX arg is applied to
7091 both ends of the search string. Use `regexp-quote' and explicit
7092 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7093 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7094 boundaries are replaced with symbol boundaries, and characters
7095 between symbols match non-word non-symbol syntax. (Bug#14602)
7097 2013-06-13 Juri Linkov <juri@jurta.org>
7099 * isearch.el (isearch-del-char): Don't exceed the length of
7100 `isearch-string' by the prefix arg. (Bug#14563)
7102 2013-06-13 Juri Linkov <juri@jurta.org>
7104 * isearch.el (isearch-yank-word, isearch-yank-line)
7105 (isearch-char-by-name, isearch-quote-char)
7106 (isearch-printing-char, isearch-process-search-char):
7107 Add optional count prefix arg. (Bug#14563)
7109 * international/isearch-x.el
7110 (isearch-process-search-multibyte-characters):
7111 Add optional count prefix arg.
7113 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7116 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7119 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7121 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7123 2013-06-13 Glenn Morris <rgm@gnu.org>
7125 * startup.el (tty-handle-args):
7126 Don't just discard "--" and anything after. (Bug#14608)
7128 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7130 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7132 Implement changes in Secret Service API. Make it backward compatible.
7133 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7134 (secrets-create-item): Use it. Prefix properties with interface.
7136 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7138 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7139 (term-emulate-terminal): Respect term-suppress-hard-newline.
7141 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7143 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7144 Only remove a `thumb-file' overlay. (Bug#14548)
7146 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7148 * mail/reporter.el (reporter-submit-bug-report):
7149 Handle missing package-name. (Bug#14600)
7151 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7153 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7154 (reftex-citation-prompt, reftex-default-bibliography)
7155 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7156 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7157 (reftex-bib-sort-author, reftex-bib-sort-year)
7158 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7159 (reftex-extract-bib-entries-from-thebibliography)
7160 (reftex-get-bibkey-default, reftex-get-bib-names)
7161 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7162 (reftex-format-bib-entry, reftex-parse-bibitem)
7163 (reftex-format-bibitem, reftex-do-citation)
7164 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7165 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7166 (reftex-insert-bib-matches, reftex-format-citation)
7167 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7168 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7169 existing comments into docstrings.
7171 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7173 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7175 2013-06-12 Andreas Schwab <schwab@suse.de>
7177 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7178 for auto-save files.
7180 2013-06-12 Glenn Morris <rgm@gnu.org>
7182 * ido.el (ido-delete-ignored-files): Remove.
7183 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7184 Go back to calling ido-ignore-item-p directly.
7186 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7188 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7190 * ido.el (ido-delete-ignored-files): New function,
7191 split from ido-make-file-list-1.
7192 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7193 (ido-make-file-list-1): Use ido-delete-ignored-files.
7195 2013-06-12 Leo Liu <sdl.web@gmail.com>
7197 * progmodes/octave.el (inferior-octave-startup)
7198 (inferior-octave-completion-table)
7199 (inferior-octave-track-window-width-change)
7200 (octave-eldoc-function-signatures, octave-help)
7201 (octave-find-definition): Use single quoted strings.
7202 (inferior-octave-startup-args): Change default value.
7203 (inferior-octave-startup): Do not hard code "-i" and
7204 "--no-line-editing".
7205 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7206 (inferior-octave-directory-tracker): Use it.
7207 (octave-goto-function-definition): Robustify.
7208 (octave-help): Support highlighting operators in 'See also'.
7209 (octave-find-definition): Find subfunctions only in Octave mode.
7211 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7213 * help-fns.el (help-fns--compiler-macro): If the handler function is
7214 named, then put a link to it.
7215 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7216 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7218 (cl-eval-when): Simplify debug spec.
7219 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7220 compiler-macro function instead of setting `compiler-macro-file'.
7222 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7224 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7225 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7227 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7228 Daniel Hackney <dan@haxney.org>
7230 First part of Daniel Hackney's patch to package.el.
7231 * emacs-lisp/package.el: Use defstruct.
7232 (package-desc): New, main struct.
7233 (package--bi-desc, package--ac-desc): New structs, used to describe the
7234 format in external files.
7235 (package-desc-vers): Replace with package-desc-version accessor.
7236 (package-desc-doc): Replace with package-desc-summary accessor.
7237 (package-activate-1): Remove `package' arg since the pkg-vec now
7239 (define-package): Use package-desc-from-define.
7240 (package-unpack-single): Change file-name arg to be a symbol.
7241 (package--add-to-archive-contents): Use package-desc-create and new
7242 accessor functions to package--ac-desc.
7243 (package-buffer-info, package-tar-file-info): Return a package-desc.
7244 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7245 arg to be a package-desc.
7246 (package-install-file): Adjust accordingly. Use \' to match EOS.
7247 (package--from-builtin): New function.
7248 (describe-package-1, package-menu--generate): Use it.
7249 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7250 (package-generate-autoloads): Idem and return the name of the file.
7251 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7252 Change pkg-info arg to be a package-desc.
7253 Use package-make-ac-desc.
7254 (package-upload-file): Use \' to match EOS.
7255 * finder.el (finder-compile-keywords): Use package-make-builtin.
7257 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * vc/vc.el (vc-deduce-fileset): Change error message.
7260 (vc-read-backend): New function.
7261 (vc-next-action): Use it.
7263 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7265 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7266 (prolog-font-lock-keywords): Use regexp-opt instead.
7267 Don't manually highlight strings.
7268 (prolog-mode-variables): Simplify comment-start-skip.
7269 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7271 * emacs-lisp/generic.el (generic--normalise-comments)
7272 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7273 (generic-mode-set-comments): Use them.
7274 (generic-bracket-support): Use setq-local.
7275 (generic-make-keywords-list): Declare obsolete.
7277 2013-06-11 Glenn Morris <rgm@gnu.org>
7279 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7280 Prettify after setting font-lock-defaults. (Bug#14574)
7282 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7284 * replace.el (query-replace, occur-read-regexp-defaults-function)
7286 * subr.el (declare-function, number-sequence, local-set-key)
7287 (substitute-key-definition, locate-user-emacs-file)
7288 (with-silent-modifications, split-string, eval-after-load):
7289 Fix typos, remove unneeded backslashes and reflow some docstrings.
7291 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7293 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7294 default for Elisp files.
7296 2013-06-11 Glenn Morris <rgm@gnu.org>
7298 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7299 although define-derived-mode was doing this anyway. (Bug#14583)
7301 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7303 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7304 Fix make-variable-buffer-local call to refer to the correct variable.
7306 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7308 * eshell/em-term.el (eshell-visual-commands)
7309 (eshell-visual-subcommands, eshell-visual-options):
7310 Add summary line to docstrings. Add cross-references.
7312 2013-06-10 Glenn Morris <rgm@gnu.org>
7314 * epa.el (epa-read-file-name): New function. (Bug#14510)
7315 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7317 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7319 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7320 output redirection to be ignored with visual commands.
7322 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7324 * eshell/em-term.el (eshell-visual-command-p): New function.
7325 (eshell-term-initialize): Move long lambda to separate function
7326 eshell-visual-command-p.
7327 * eshell/em-dirs.el (eshell-dirs-initialise):
7328 * eshell/em-script.el (eshell-script-initialize):
7329 Add missing #' to lambda.
7331 2013-06-08 Leo Liu <sdl.web@gmail.com>
7333 * progmodes/octave.el (octave-add-log-current-defun): New function.
7334 (octave-mode): Set add-log-current-defun-function.
7335 (octave-goto-function-definition): Do not move point if not found.
7336 (octave-find-definition): Enhance to try subfunctions first.
7338 2013-06-08 Glenn Morris <rgm@gnu.org>
7340 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7341 (byte-compile-backward-char, byte-compile-backward-word):
7342 Improve previous change, to handle non-explicit nil.
7344 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7347 (smie--opener/closer-at-point): New function.
7348 (smie--matching-block-data): Use it. Don't match from right after an
7349 opener or right before a closer. Obey smie-blink-matching-inners.
7350 Don't signal a mismatch for repeated inners like "switch..case..case".
7352 2013-06-07 Leo Liu <sdl.web@gmail.com>
7354 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7356 (octave-function-header-regexp): Fix. (Bug#14570)
7357 (octave-help-mode-finish-hook, octave-help-mode-finish):
7358 Remove. Just use temp-buffer-show-hook.
7360 * newcomment.el (comment-search-backward): Revert last change.
7363 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7365 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7367 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7368 through xargs, to avoid failure due to MS-Windows limitations on
7369 command-line length.
7371 2013-06-06 Glenn Morris <rgm@gnu.org>
7373 * font-lock.el (lisp-font-lock-keywords-2):
7374 Treat user-error like error.
7376 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7377 (byte-compile-backward-char, byte-compile-backward-word):
7378 Handle explicit nil arguments. (Bug#14565)
7380 2013-06-05 Alan Mackenzie <acm@muc.de>
7382 * isearch.el (isearch-allow-prefix): New user option.
7383 (isearch-other-meta-char): Don't exit isearch when a prefix
7384 argument is typed whilst `isearch-allow-prefix' is non-nil.
7387 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7389 * autorevert.el (auto-revert-notify-handler): Use memq.
7390 Hide assertion failure.
7392 * skeleton.el: Use cl-lib.
7393 (skeleton-further-elements): Use defvar-local.
7394 (skeleton-insert): Use cl-progv.
7396 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7398 * progmodes/prog-mode.el (prog-prettify-symbols)
7399 (prog-prettify-install): Update docstrings.
7401 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * simple.el: Move all the prog-mode code to prog-mode.el.
7404 * progmodes/prog-mode.el: New file.
7405 * loadup.el: Add prog-mode.el.
7407 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7409 * simple.el (prog-prettify-symbols): Add version.
7410 (prog-prettify-install): Add convenience function to prettify symbols.
7412 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7413 (perl--augmented-font-lock-keywords-1)
7414 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7415 variables and use it.
7417 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7418 (cfengine3-mode): Remove unneeded variable and use it.
7420 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7421 (lisp--augmented-font-lock-keywords-1)
7422 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7423 Remove unneeded variables and use it.
7425 2013-06-05 João Távora <joaotavora@gmail.com>
7427 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7428 to point when opening the connection. (Bug#14380)
7430 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * subr.el (load-history-regexp, load-history-filename-element)
7433 (eval-after-load, after-load-functions, do-after-load-evaluation)
7434 (eval-next-after-load, display-delayed-warnings)
7435 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7436 definition of save-match-data.
7437 (overriding-local-map): Remove accidental obsolescence declaration.
7439 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7441 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7443 Generalize symbol prettify support to prog-mode and implement it
7444 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7445 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7446 (prog--prettify-font-lock-compose-symbol)
7447 (prog-prettify-font-lock-symbols-keywords): New variables and
7448 functions to support symbol prettification.
7449 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7450 (lisp--augmented-font-lock-keywords-1)
7451 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7452 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7453 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7454 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7455 Implement prettify of -> => :: strings.
7456 * progmodes/perl-mode.el (perl-prettify-symbols)
7457 (perl--font-lock-compose-symbol)
7458 (perl--font-lock-symbols-keywords): Move to prog-mode.
7459 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7460 (perl-font-lock-keywords-1)
7461 (perl-font-lock-keywords-2): Remove explicit prettify support.
7462 (perl--augmented-font-lock-keywords)
7463 (perl--augmented-font-lock-keywords-1)
7464 (perl--augmented-font-lock-keywords-2, perl-mode):
7465 Implement prettify support.
7467 2013-06-05 Leo Liu <sdl.web@gmail.com>
7469 Re-implement smie matching block highlight using
7470 show-paren-data-function. (Bug#14395)
7471 * emacs-lisp/smie.el (smie-matching-block-highlight)
7472 (smie--highlight-matching-block-overlay)
7473 (smie--highlight-matching-block-lastpos)
7474 (smie-highlight-matching-block)
7475 (smie-highlight-matching-block-mode): Remove.
7476 (smie--matching-block-data-cache): New variable.
7477 (smie--matching-block-data): New function.
7478 (smie-setup): Use smie--matching-block-data for
7479 show-paren-data-function.
7481 * progmodes/octave.el (octave-mode-menu): Fix.
7482 (octave-find-definition): Skip garbage lines.
7484 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7486 Fix compilation error with simultaneous dynamic+lexical scoping.
7487 Add warning when a defvar appears after the first let-binding.
7488 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7489 (byte-compile-close-variables): Initialize it.
7490 (byte-compile--declare-var): New function.
7491 (byte-compile-file-form-defvar)
7492 (byte-compile-file-form-define-abbrev-table)
7493 (byte-compile-file-form-custom-declare-variable): Use it.
7494 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7495 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7496 (byte-compile-bind): Handle dynamic bindings that shadow
7498 (byte-compile-unbind): Make arg non-optional.
7499 (byte-compile-let): Simplify.
7500 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7501 (cconv--analyse-function, cconv-analyse-form): Populate it.
7502 Protect byte-compile-bound-variables to limit the scope of defvars.
7503 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7504 Remove unneeded rule for `declare'.
7506 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7507 so as to avoid depending on cl-adjoin at run-time.
7508 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7510 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7511 (macroexp--warn-and-return): Use it.
7513 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7515 * lisp/subr.el: Convert to lexical binding.
7516 (overriding-local-map): Make obsolete.
7517 (add-to-list): Doc fix. Add compiler macro.
7518 (read-key): Swap values of local maps.
7520 2013-06-05 Leo Liu <sdl.web@gmail.com>
7522 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7524 2013-06-04 Leo Liu <sdl.web@gmail.com>
7526 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7527 (compilation-auto-jump): Suppress the "Mark set" message to give
7528 way to exit message.
7530 2013-06-04 Alan Mackenzie <acm@muc.de>
7532 Remove faulty optimisation from indentation calculation.
7533 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7534 search limit based on 2000 characters back from indent-point.
7536 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7538 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7540 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * emacs-lisp/lisp.el: Use lexical-binding.
7543 (lisp--local-variables-1, lisp--local-variables): New functions.
7544 (lisp--local-variables-completion-table): New var.
7545 (lisp-completion-at-point): Use it complete let-bound vars.
7547 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7548 eagerly (bug#14422).
7550 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7552 * autorevert.el (auto-revert-notify-enabled)
7553 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7554 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7555 (auto-revert-notify-handler): Handle also gfilenotify.
7557 * subr.el (file-notify-handle-event): New defun. Replacing ...
7558 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7561 2013-06-03 Juri Linkov <juri@jurta.org>
7563 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7564 `M-s h .'. (Bug#14427)
7566 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7567 command `hi-lock-face-symbol-at-point'.
7568 (hi-lock-face-symbol-at-point): New command.
7569 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7570 (hi-lock-menu): Add `highlight-symbol-at-point'.
7571 (hi-lock-mode): Doc fix.
7573 * isearch.el (isearch-forward-symbol-at-point): New command.
7574 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7575 (isearch-highlight-regexp): Add a regexp which matches
7576 words/symbols for word/symbol mode.
7578 * subr.el (find-tag-default-bounds): New function with the body
7579 mostly moved from `find-tag-default'.
7580 (find-tag-default): Move most code to `find-tag-default-bounds',
7581 call it and apply `buffer-substring-no-properties' afterwards.
7583 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7585 * eshell/em-term.el (eshell-term-initialize):
7586 Use `cl-intersection' rather than `intersection'.
7588 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7590 * vc/log-view.el: Doc fix.
7591 (log-view-mode-map): Copy keymap from `special-mode-map'.
7593 2013-06-02 Eric Ludlam <zappo@gnu.org>
7595 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7596 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7597 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7598 (eieio-unbound, eieio-default-superclass)
7599 (eieio--define-field-accessors, method-static, method-before)
7600 (method-primary, method-after, method-num-lists)
7601 (method-generic-before, method-generic-primary)
7602 (method-generic-after, method-num-slots)
7603 (eieio-specialized-key-to-generic-key)
7604 (eieio--check-type, class-v, class-p)
7605 (eieio-class-name, define-obsolete-function-alias)
7606 (eieio-class-parents-fast, eieio-class-children-fast)
7607 (same-class-fast-p, class-constructor, generic-p)
7608 (generic-primary-only-p, generic-primary-only-one-p)
7609 (class-option-assoc, class-option, eieio-object-p)
7610 (class-abstract-p, class-method-invocation-order)
7611 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7612 (eieio-class-un-autoload, eieio-defclass)
7613 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7614 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7615 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7616 (eieio-defgeneric-reset-generic-form)
7617 (eieio-defgeneric-form-primary-only)
7618 (eieio-defgeneric-reset-generic-form-primary-only)
7619 (eieio-defgeneric-form-primary-only-one)
7620 (eieio-defgeneric-reset-generic-form-primary-only-one)
7621 (eieio-unbind-method-implementations)
7622 (eieio--defmethod, eieio--typep)
7623 (eieio-perform-slot-validation, eieio-validate-slot-value)
7624 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7625 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7626 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7627 (eieio-slot-name-index, eieio-class-slot-name-index)
7628 (eieio-set-defaults, eieio-initarg-to-attribute)
7629 (eieio-attribute-to-initarg, eieio-c3-candidate)
7630 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7631 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7632 (eieio-class-precedence-list, eieio-generic-call-methodname)
7633 (eieio-generic-call-arglst, eieio-generic-call-key)
7634 (eieio-generic-call-next-method-list)
7635 (eieio-pre-method-execution-functions, eieio-generic-call)
7636 (eieio-generic-call-primary-only, eieiomt-method-list)
7637 (eieiomt-optimizing-obarray, eieiomt-install)
7638 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7639 (eieio-generic-form, eieio-defmethod, make-obsolete)
7640 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7641 (defclass): Remove `eval-and-compile' from macro.
7642 (call-next-method, shared-initialize): Instead of using
7643 `scoped-class' variable, use new eieio--scoped-class, and
7644 eieio--with-scoped-class.
7645 (initialize-instance): Rename local variable 'scoped-class' to
7646 'this-class' to remove ambiguitity from old global.
7648 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7650 (eieio--scoped-class-stack): New variable.
7651 (eieio--scoped-class): New fcn.
7652 (eieio--with-scoped-class): New scoping macro.
7653 (eieio-defclass): Use pushnew instead of add-to-list.
7654 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7655 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7656 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7657 `scoped-class' variable, use new eieio--scoped-class, and
7658 eieio--with-scoped-class.
7660 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7662 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7664 * eshell/esh-ext.el (eshell-external-command): Pass args to
7665 `eshell-find-interpreter'.
7666 (eshell-find-interpreter): Add new second parameter ARGS.
7668 * eshell/em-script.el (eshell-script-initialize): Add second arg
7669 to the function added as MATCH to `eshell-interpreter-alist'.
7671 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7672 the function added as MATCH to `eshell-interpreter-alist'.
7674 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7675 (eshell-visual-options): New defcustom.
7676 (eshell-escape-control-x): Adapt docstring.
7677 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7678 `eshell-visual-options' in addition to `eshell-visual-commands'.
7679 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7681 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7683 * progmodes/python.el (python-indent-block-enders): Add break,
7684 continue and raise keywords.
7686 2013-06-01 Glenn Morris <rgm@gnu.org>
7688 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7690 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7691 * progmodes/cc-cmds.el (delete-forward-p):
7692 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7693 * progmodes/cc-engine.el (buffer-syntactic-context):
7694 * progmodes/cc-fonts.el (face-property-instance):
7695 * progmodes/cc-mode.el (set-keymap-parents):
7696 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7697 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7698 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7699 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7700 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7702 * progmodes/cc-vars.el (other): Emacs has this widget since
7703 at least 21.1, so don't (re)define it.
7705 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7706 Replace the obsolete alias pcomplete-arg-quote-list.
7708 2013-06-01 Leo Liu <sdl.web@gmail.com>
7710 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7712 (inferior-octave-minimal-columns)
7713 (inferior-octave-last-column-width): New variables.
7714 (inferior-octave-track-window-width-change): New function.
7715 (inferior-octave-mode): Adjust column width so that Octave output,
7716 for example from 'ls', can fit into the window nicely.
7718 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7720 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7721 Highlight expansions inside regexp literals.
7723 2013-05-31 Glenn Morris <rgm@gnu.org>
7725 * obsolete/sym-comp.el (symbol-complete):
7726 Replace obsolete completion-annotate-function.
7728 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7730 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7732 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7733 New function, checks if point is inside a literal that allows
7734 expression expansion.
7735 (ruby-syntax-propertize-expansion): Use it.
7736 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7739 2013-05-30 Juri Linkov <juri@jurta.org>
7741 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7743 (isearch-invisible): New variable.
7744 (isearch-forward): Doc fix.
7745 (isearch-mode): Set `isearch-invisible'
7746 to the value of `search-invisible'.
7747 (isearch-toggle-case-fold): Doc fix.
7748 (isearch-toggle-invisible): New command.
7749 (isearch-query-replace): Let-bind `search-invisible'
7750 to the value of `isearch-invisible'.
7751 (isearch-search): Use `isearch-invisible' instead of
7752 `search-invisible'. Let-bind `search-invisible'
7753 to the value of `isearch-invisible'. (Bug#11378)
7755 2013-05-30 Juri Linkov <juri@jurta.org>
7757 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7758 call when `query-flag' is nil and `search-invisible' is non-nil.
7761 2013-05-30 Glenn Morris <rgm@gnu.org>
7763 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7765 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7766 (cc-require): Suppress spurious "noruntime" warnings.
7767 (cc-require-when-compile): Use fboundp, for sake of compiler.
7769 * progmodes/cc-mode.el: Move load of cc-vars before that of
7770 cc-langs (which in turn loads cc-vars), to quieten compiler.
7772 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7774 * paren.el: Simplify the code.
7775 (show-paren-mode): Always start the timer.
7776 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7777 (show-paren--overlay, show-paren--overlay-1): Rename from
7778 show-paren-overlay and show-paren-overlay-1, and initialize to an
7779 overlay rather than to nil.
7780 (show-paren-function): Misc cleanup and simplifications.
7782 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7784 * paren.el (show-paren-data-function): New hook.
7785 (show-paren--default): New function, extracted from show-paren-function.
7786 (show-paren-function): Use show-paren-data-function.
7788 2013-05-30 Glenn Morris <rgm@gnu.org>
7790 * ielm.el (ielm-map, ielm-complete-symbol):
7791 Use completion-at-point rather than obsolete functions.
7792 (inferior-emacs-lisp-mode): Doc fix.
7793 Set completion-at-point-functions, rather than
7794 comint-dynamic-complete-functions.
7796 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7797 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7798 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7800 * image.el (image-animated-p): Tweak definition.
7802 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7803 (rlogin-process-connection-type): Tweak default. Add set-after.
7804 (rlogin-host): Doc fix.
7805 (rlogin): Tweak prompt.
7806 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7808 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7809 * progmodes/tcl.el (inferior-tcl-mode-map):
7810 Use completion-at-point rather than obsolete alias.
7812 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7814 * minibuffer.el (read-file-name-completion-ignore-case):
7815 Move before completion--in-region, for eager macro expansion.
7817 2013-05-29 Juri Linkov <juri@jurta.org>
7819 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7820 for total count of matching lines. Add `global-matches' for total
7821 count of matches. Rename `matches' to `lines' for count of
7822 matching lines. Add `matches' for count of matches.
7823 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7824 to `prev-line' for line number of prev match endpt.
7825 Increment `matches' for every match. Print the number of
7826 matching lines in the header.
7827 (occur-context-lines): Rename `lines' to `curr-line'.
7828 Rename `prev-lines' to `prev-line'. (Bug#14017)
7830 2013-05-29 Juri Linkov <juri@jurta.org>
7832 * replace.el (perform-replace): Add `skip-read-only-count',
7833 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7834 Increment them for corresponding conditions and report the number
7835 of skipped occurrences in the final message. (Bug#11746)
7836 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7837 (replace-string, replace-regexp): Doc fix.
7839 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7841 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7843 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7844 prog-mode-map (bug#14504).
7846 2013-05-29 Leo Liu <sdl.web@gmail.com>
7848 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7849 (octave-help): Small simplification.
7851 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7852 off the highlight first.
7854 2013-05-29 Glenn Morris <rgm@gnu.org>
7856 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7857 Handle idlwave-last-system-routine-info-cons-cell being nil.
7859 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7860 (idlwave-write-paths): Simplify via with-temp-buffer.
7862 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7863 * emulation/cua-rect.el: Also load cua-base at run time.
7865 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7866 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7867 (cperl-imenu-on-info): Require imenu.
7869 2013-05-28 Alan Mackenzie <acm@muc.de>
7871 Handle "capitalised keywords" correctly.
7872 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7874 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7876 * eshell/em-unix.el: Add -r option to cp.
7878 2013-05-28 Glenn Morris <rgm@gnu.org>
7880 * vc/vc-arch.el (vc-exec-after): Declare.
7881 (vc-switches): Autoload.
7882 * vc/vc-bzr.el: No need to require vc when compiling.
7883 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7884 (vc-resynch-buffer, vc-dir-refresh): Declare.
7885 (vc-setup-buffer, vc-switches): Autoload.
7886 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7887 (vc-resynch-buffer): Declare.
7888 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7889 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7890 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7891 (grep-read-regexp, grep-read-files, grep-expand-template)
7892 (vc-dir-refresh): Declare.
7893 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7894 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7895 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7896 * vc/vc-mtn.el (vc-exec-after): Declare.
7897 (vc-switches): Autoload.
7898 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7899 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7900 (vc-file-tree-walk): Declare.
7901 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7902 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7903 (vc-tag-precondition, vc-rename-master): Autoload.
7904 * vc/vc-svn.el (vc-exec-after): Declare.
7905 (vc-switches, vc-setup-buffer): Autoload.
7906 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7908 (vc-resynch-buffer): Declare.
7910 * obsolete/fast-lock.el (byte-compile-warnings):
7911 Don't warn about obsolete features in this obsolete file.
7913 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7914 Move definition before use.
7916 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7917 (dun-unix-verbs): Remove dun-zippy.
7918 (dun-zippy): Remove function.
7920 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7922 2013-05-27 Juri Linkov <juri@jurta.org>
7924 * replace.el (replace-search): New function with code moved out
7925 from `perform-replace'.
7926 (replace-highlight, replace-dehighlight): Move function definitions
7927 up closer to `replace-search'. (Bug#11746)
7929 2013-05-27 Juri Linkov <juri@jurta.org>
7931 * replace.el (perform-replace): Ignore invisible matches.
7932 In addition to checking `query-replace-skip-read-only', also
7933 filter out matches by calling `run-hook-with-args-until-failure'
7934 on `isearch-filter-predicates', and also check `search-invisible'
7935 for t or call `isearch-range-invisible'.
7936 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7938 2013-05-27 Juri Linkov <juri@jurta.org>
7940 * isearch.el (isearch-filter-predicates): Rename from
7941 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7942 (isearch-message-prefix): Display text from the property
7943 `isearch-message-prefix' of the currently active filters.
7944 (isearch-search): Don't compare `isearch-filter-predicate' with
7945 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7946 on `isearch-filter-predicates'. Also check `search-invisible' for t
7947 or call `isearch-range-invisible'.
7948 (isearch-filter-visible): Make obsolete.
7949 (isearch-lazy-highlight-search):
7950 Call `run-hook-with-args-until-failure' on
7951 `isearch-filter-predicates' and use `isearch-range-invisible'.
7953 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7954 `isearch-filter-predicates' instead of `funcall'ing
7955 `isearch-filter-predicate'.
7956 (Info-mode): Set `Info-isearch-filter' to
7957 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7959 * dired-aux.el (dired-isearch-filter-predicate-orig):
7961 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7962 (dired-isearch-filenames-end): Add and remove
7963 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7964 instead of changing the value of `isearch-filter-predicate'.
7965 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7966 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7967 Put property `isearch-message-prefix' to "filename " on
7968 `dired-isearch-filter-filenames'.
7970 * wdired.el (wdired-change-to-wdired-mode):
7971 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7972 locally instead of changing `isearch-filter-predicate'.
7973 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7975 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7977 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7978 return the commit hash (Bug#14459). Also set the
7979 `vc-git-detached' property.
7980 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7981 (vc-git-mode-line-string): Use the same help-echo format whether
7982 in detached mode or not, because we know the actual revision now.
7983 When in detached mode, shorten the revision to 7 chars.
7985 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * emacs-lisp/easy-mmode.el (define-minor-mode):
7988 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7989 mode hook and provide a docstring.
7991 2013-05-27 Alan Mackenzie <acm@muc.de>
7993 Remove spurious syntax-table text properties inserted by C-y.
7994 * progmodes/cc-mode.el (c-after-change): Also clear hard
7995 syntax-table property with value nil.
7997 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7999 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8000 when reading the events; the buffer layout shall not be changed.
8002 2013-05-27 Leo Liu <sdl.web@gmail.com>
8004 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8006 (inferior-octave-directory-tracker): Automatically re-sync
8008 (octave-help): Improve handling of 'See also'.
8010 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * doc-view.el: Minor naming convention tweaks.
8013 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8015 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8016 even if there's no `display' property yet (bug#14435).
8018 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8020 * subr.el (unmsys--file-name): Rename from reveal-filename.
8022 * Makefile.in (custom-deps, finder-data, autoloads)
8023 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8024 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8025 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8027 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8030 error-completion on the first 2 args of condition-case (bug#14446).
8033 2013-05-25 Leo Liu <sdl.web@gmail.com>
8035 * comint.el (comint-previous-matching-input): Do not flood the
8036 *Messages* buffer with trivial messages.
8038 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8040 * progmodes/flymake.el (flymake-nop): Don't return a string.
8041 (flymake-set-at): Fix typo.
8043 * simple.el (read--expression): New function, extracted from
8044 eval-expression. Set completion-at-point-functions (bug#14465).
8045 (eval-expression, eval-minibuffer): Use it.
8047 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8049 * progmodes/flymake.el (flymake-save-buffer-in-file)
8050 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8051 (flymake-selected-frame, flymake-log, flymake-ins-after)
8052 (flymake-set-at, flymake-get-buildfile-from-cache)
8053 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8054 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8055 Refine the doc string.
8056 (flymake-get-file-name-mode-and-masks): Reformat.
8057 (flymake-get-real-file-name-function): Fix a minor bug.
8059 2013-05-24 Juri Linkov <juri@jurta.org>
8061 * progmodes/grep.el (grep-mode-font-lock-keywords):
8062 Support =linenumber= format used by git-grep for lines with
8063 function names. (Bug#13549)
8065 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8067 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8068 0 after a semi-colon; it works better for smie-auto-fill.
8069 (octave--indent-new-comment-line): New function.
8070 (octave-indent-new-comment-line): Use it (indirectly).
8071 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8072 modify comment-line-break-function.
8074 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8075 (smie-setup): Use add-function to set it.
8077 2013-05-24 Sam Steingold <sds@gnu.org>
8079 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8080 argument (before the `interactive' argument).
8082 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * image-mode.el (image-mode-winprops): Add winprops to
8085 image-mode-winprops-alist before running
8086 image-mode-new-window-functions.
8087 * doc-view.el (doc-view-new-window-function): Don't delay
8088 doc-view-goto-page via timers (bug#14435).
8090 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8092 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8093 (doc-view-desktop-save-buffer): New function.
8094 (doc-view-restore-desktop-buffer): New function.
8095 (desktop-buffer-mode-handlers):
8096 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8098 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8099 `desktop-save-buffer' function.
8101 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8103 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8104 (tramp-gvfs-file-name-handler): Raise a user error when
8105 `tramp-gvfs-enabled' is nil.
8106 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8107 Do not raise a user error when loading package. (Bug#14447)
8109 * net/xesam.el: Move to obsolete/.
8111 2013-05-24 Glenn Morris <rgm@gnu.org>
8113 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8115 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8117 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8118 (Info-find-node, Man-getpage-in-background): Declare.
8120 * mail/unrmail.el (unrmail):
8121 Replace obsolete detect-coding-with-priority.
8123 * net/socks.el (socks-split-string): Use this rather than split-string.
8124 (socks-nslookup-host): Update for above change.
8125 (dynamic-choice, s5-dynamic-choice-match)
8126 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8127 Comment out unused code.
8129 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8130 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8131 (gud-tooltip-echo-area): Make obsolete.
8132 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8134 * progmodes/js.el (js--optimize-arglist): Declare.
8136 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8138 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8139 (ediff-window-C): Declare.
8141 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8142 Tweak requires to silence compiler.
8144 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8145 (he-search-string, he-tried-table, he-expand-list)
8146 (he-init-string, he-string-member, he-substitute-string)
8147 (he-reset-string): Declare.
8149 * obsolete/options.el (list-options): Use custom-variable-p,
8150 rather than obsolete alias.
8152 2013-05-23 Sam Steingold <sds@gnu.org>
8154 * simple.el (shell-command-on-region): Pass the `replace' argument
8155 down to `call-process-region' to comply with the doc as reported on
8156 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8158 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * emacs-lisp/smie.el (smie-indent-forward-token)
8161 (smie-indent-backward-token): Handle string tokens (bug#14381).
8163 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8165 * ielm.el (ielm-menu): New menu.
8166 (inferior-emacs-lisp-mode): Set comment-start.
8168 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8170 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8171 Fix deactivate action.
8173 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8174 Add cleveref macros.
8176 * lisp/textmodes/reftex-parse.el
8177 (reftex-locate-bibliography-files): Accept options for
8178 bibliography commands.
8179 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8180 Add addbibresource. Basic Biblatex support.
8182 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8184 * net/tramp-gvfs.el (top):
8185 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8186 when loading package. (Bug#14447)
8188 2013-05-23 Glenn Morris <rgm@gnu.org>
8190 * progmodes/js.el: No need to load comint when compiling.
8191 (ring-insert, comint-send-string, comint-send-input)
8192 (comint-last-input-end, ido-chop): Declare.
8194 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8195 * vc/ediff-mult.el: Adjust requires.
8196 (ediff-directories-internal, ediff-directory-revisions-internal)
8197 (ediff-patch-file-internal): Declare.
8198 * vc/ediff-ptch.el: Adjust requires.
8199 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8200 (ediff-find-file): Autoload.
8201 * vc/ediff-util.el: No need to load ediff when compiling.
8202 (ediff-regions-internal): Declare.
8203 * vc/ediff-wind.el: Adjust requires.
8204 (ediff-compute-toolbar-width): Define when compiling.
8205 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8206 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8207 (dired-get-filename, dired-get-marked-files)
8208 (ediff-last-dir-patch, ediff-patch-default-directory)
8209 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8210 (ediff-patch-buffer-internal): Declare.
8212 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8213 (ispell-process, ispell-buffer-local-words, lm-summary)
8214 (lm-section-start, lm-section-end): Declare.
8215 (checkdoc-ispell-init): Simplify.
8217 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8218 (he-string-member, he-reset-string, he-substitute-string): Declare.
8220 * eshell/em-ls.el: Adjust requires.
8221 (eshell-glob-regexp): Declare.
8222 * eshell/em-tramp.el: Adjust requires.
8223 (eshell-parse-command): Autoload.
8224 * eshell/em-xtra.el: Adjust requires.
8225 (eshell-parse-command): Autoload.
8226 * eshell/esh-ext.el: Adjust requires.
8227 (eshell-parse-command, eshell-close-handles): Autoload.
8228 * eshell/esh-io.el: Adjust requires.
8229 (eshell-output-filter): Autoload.
8230 * eshell/esh-util.el: No need to load tramp when compiling.
8231 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8233 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8234 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8235 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8236 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8237 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8238 * eshell/esh-opt.el, eshell/esh-proc.el:
8239 * eshell/esh-var.el: Adjust requires.
8240 * eshell/eshell.el: Do not require esh-util twice.
8241 (eshell-add-input-to-history): Declare.
8242 (eshell-command): Check history module is active before using it.
8244 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8246 2013-05-22 Leo Liu <sdl.web@gmail.com>
8248 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8250 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8252 * autorevert.el (auto-revert-notify-add-watch)
8253 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8254 it indicates changes in file modification time.
8256 2013-05-22 Glenn Morris <rgm@gnu.org>
8258 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8259 Always delete the autoloaded function from the noruntime and
8260 unresolved functions lists.
8262 * allout.el: No need to load epa, epg, overlay when compiling.
8263 (epg-context-set-passphrase-callback, epg-list-keys)
8264 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8265 (epg-key-user-id-list): Declare.
8267 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8268 (viper-set-parsing-style-toggling-macro)
8269 (viper-set-emacs-state-searchstyle-macros):
8270 Use called-interactively-p on Emacs.
8271 (viper-looking-back): Make it an obsolete alias. Update callers.
8272 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8273 Use looking-back rather than viper-looking-back.
8274 (viper-tmp-insert-at-eob, viper-enlarge-region)
8275 (viper-read-string-with-history, viper-register-to-point)
8276 (viper-append-to-register, viper-change-state-to-vi)
8277 (viper-backward-char-carefully, viper-forward-char-carefully)
8278 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8279 (viper-change-state-to-emacs): Declare.
8280 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8281 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8282 * emulation/viper-mous.el: Do not load viper-cmd.
8283 (viper-backward-char-carefully, viper-forward-char-carefully)
8284 (viper-forward-word, viper-adjust-window): Declare.
8286 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8288 * progmodes/idlw-help.el (idlwave-help-fontify):
8289 Use called-interactively-p.
8291 * term/w32console.el (w32-get-console-codepage)
8292 (w32-get-console-output-codepage): Declare.
8294 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8295 Remove unnecessary declarations.
8296 (dframe-message): Doc fix.
8298 * info.el (dframe-select-attached-frame, dframe-current-frame):
8301 * speedbar.el (speedbar-message): Make it an obsolete alias.
8303 (speedbar-with-attached-buffer)
8304 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8305 (speedbar-with-writable): Use backquote.
8306 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8307 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8308 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8309 rather than speedbar- aliases.
8310 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8311 (speedbar-make-specialized-keymap, speedbar-insert-button)
8312 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8313 (speedbar-do-function-pointer): Declare.
8314 (rmail-speedbar-button, rmail-speedbar-find-file)
8315 (rmail-speedbar-move-message):
8316 Use dframe-with-attached-buffer rather than speedbar- alias.
8317 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8318 (dframe-message, speedbar-make-specialized-keymap)
8319 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8320 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8321 (speedbar-insert-button, dframe-select-attached-frame)
8322 (dframe-maybee-jump-to-attached-frame)
8323 (speedbar-change-initial-expansion-list)
8324 (speedbar-previously-used-expansion-list-name): Declare.
8325 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8326 Use dframe-message, dframe-with-attached-buffer rather than
8328 (gud-sentinel): Silence compiler.
8329 * progmodes/vhdl-mode.el (speedbar-refresh)
8330 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8331 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8332 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8333 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8334 (speedbar-file-lists, speedbar-make-tag-line)
8335 (speedbar-line-directory, speedbar-goto-this-file)
8336 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8337 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8338 (speedbar-make-button, speedbar-reset-scanners)
8339 (speedbar-files-item-info, speedbar-line-text)
8340 (speedbar-find-file-in-frame, speedbar-set-timer)
8341 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8342 (speedbar-with-writable): Do not (re)define it.
8343 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8344 rather than speedbar- alias.
8346 2013-05-21 Leo Liu <sdl.web@gmail.com>
8348 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8350 (octave-mode): Tweak fill-nobreak-predicate.
8351 (inferior-octave-startup): Check process to avoid infinite loop.
8352 (inferior-octave): Pop to buffer first to show abornmal process
8355 2013-05-21 Glenn Morris <rgm@gnu.org>
8357 * printing.el (pr-menu-bar): Define when compiling.
8359 2013-05-21 Leo Liu <sdl.web@gmail.com>
8361 * progmodes/octave.el (octave-auto-fill): Remove.
8362 (octave-indent-new-comment-line): Improve.
8363 (octave-mode): Use auto fill mode through
8364 comment-line-break-function and fill-nobreak-predicate.
8365 (octave-goto-function-definition): Support DEFUN_DLD.
8366 (octave-beginning-of-defun): Small tweak.
8367 (octave-help): Show parent directory.
8369 2013-05-21 Glenn Morris <rgm@gnu.org>
8371 * files.el (dired-unmark):
8372 * progmodes/gud.el (gdb-input): Update declarations.
8374 * calculator.el (electric, ehelp): No need to load when compiling.
8375 (Electric-command-loop, electric-describe-mode): Declare.
8377 * doc-view.el (doc-view-current-converter-processes): Move before use.
8379 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8380 Move MODE-set-explicitly definition before use.
8382 * international/mule-diag.el (mule-diag):
8383 Don't use obsolete window-system-version.
8385 * mail/feedmail.el (smtpmail): No need to load when compiling.
8386 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8388 * mail/mail-utils.el (rfc822): No need to load when compiling.
8389 (rfc822-addresses): Autoload it.
8390 (mail-strip-quoted-names): Trivial simplification.
8392 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8393 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8395 * net/snmp-mode.el (tempo): Don't duplicate requires.
8397 * progmodes/prolog.el (info): No need to load when compiling.
8398 (comint): Require before shell requires it.
8399 (Info-goto-node): Autoload it.
8400 (Info-follow-nearest-node): Declare.
8401 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8403 * textmodes/artist.el (picture-mode-exit): Declare.
8405 * textmodes/reftex-parse.el (reftex-parse-from-file):
8406 Trivial rewrite so the compiler can parse it better.
8408 2013-05-20 Leo Liu <sdl.web@gmail.com>
8410 * progmodes/octave.el (octave-help-mode-map)
8411 (octave-help-mode-finish-hook): New variables.
8412 (octave-help-mode, octave-help-mode-finish): New functions.
8413 (octave-help): Use octave-help-mode.
8415 2013-05-20 Glenn Morris <rgm@gnu.org>
8417 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8419 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8421 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8422 start at point, so that expansion starting right after opening
8423 slash in a regexp is recognized.
8424 (ruby-syntax-before-regexp-re): New defvar, extracted from
8425 ruby-syntax-propertize-function. Since the value of this regexp
8426 is looked up at runtime now, we should be able to turn
8427 `ruby-syntax-methods-before-regexp' into a defcustom later.
8428 (ruby-syntax-propertize-function): Split regexp matching into two
8429 parts, for opening and closing slashes. That allows us to skip
8430 over string interpolations and support multiline regexps.
8431 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8432 for them, which calls `ruby-syntax-propertize-expansion'.
8433 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8434 call to `ruby-syntax-propertize-function'.
8435 (ruby-syntax-propertize-expansion): Extracted from
8436 `ruby-syntax-propertize-expansions'. Handles one expansion.
8437 (ruby-syntax-propertize-percent-literal): Leave point right after
8438 the percent symbol, so that the expression expansion rule can
8439 propertize the contents.
8440 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8442 (ruby-syntax-propertize-expansions): Remove.
8444 2013-05-18 Juri Linkov <juri@jurta.org>
8446 * man.el (Man-default-man-entry): Remove `-' from the end
8447 of the default value. (Bug#14400)
8449 2013-05-18 Glenn Morris <rgm@gnu.org>
8451 * comint.el (comint-password-prompt-regexp):
8452 Allow "password for XXX" where XXX contains colons (eg https://...).
8454 2013-05-18 Leo Liu <sdl.web@gmail.com>
8456 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8457 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8458 (octave-source-directories): Don't check process.
8459 (octave-source-directories, octave-find-definition): Doc fix.
8461 2013-05-18 Glenn Morris <rgm@gnu.org>
8463 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8464 Remove backspace/delete bindings. (Bug#14392)
8466 * cus-dep.el (custom-make-dependencies): Sort the output.
8467 (custom-versions-load-alist): Convert comment to doc.
8469 2013-05-17 Leo Liu <sdl.web@gmail.com>
8471 * newcomment.el (comment-search-backward): Stricter in finding
8472 comment start. (Bug#14303)
8474 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8475 (octave-comment-start-skip): Properly anchored.
8477 2013-05-17 Leo Liu <sdl.web@gmail.com>
8479 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8480 Clean up when turned off. (Bug#14395)
8481 (smie--highlight-matching-block-overlay): No longer buffer-local.
8482 (smie-highlight-matching-block): Adjust.
8484 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8486 Doc string fix for "nanoseconds" (Bug#14406).
8487 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8488 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8490 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8492 * calc/calc-units.el (math-extract-units): Preserve powers
8495 2013-05-17 Leo Liu <sdl.web@gmail.com>
8497 * subr.el (delete-consecutive-dups): New function.
8498 * ido.el (ido-set-matches-1): Use it.
8499 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8500 * ido.el (ido-remove-consecutive-dups): Remove.
8502 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8505 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8506 regexp-opt's `words'.
8508 2013-05-16 Leo Liu <sdl.web@gmail.com>
8510 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8511 (smie--highlight-matching-block-overlay)
8512 (smie--highlight-matching-block-lastpos)
8513 (smie--highlight-matching-block-timer): New variables.
8514 (smie-highlight-matching-block): New function.
8515 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8516 (smie-setup): Conditionally enable smie-blink-matching-open.
8518 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8520 Sync with upstream verilog-mode r840.
8521 * progmodes/verilog-mode.el (verilog-mode-version)
8522 (verilog-mode-release-date): Update.
8523 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8524 (verilog-sig-tieoff): Fix string error on
8525 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8526 (verilog-read-decls): Fix parameters confusing
8527 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8529 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8531 * subr.el (reveal-filename): New function.
8533 * loadup.el: Compute Emacs executable versions on MS-Windows,
8534 where executables have the .exe extension. Add a hard link
8535 emacs-XX.YY.ZZ.exe on MS-Windows.
8537 * Makefile.in (XARGS_LIMIT): New variable.
8538 (custom-deps, finder-data, autoloads)
8539 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8540 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8541 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8542 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8544 2013-05-16 Leo Liu <sdl.web@gmail.com>
8546 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8547 (octave-mode-menu, octave-mode-map): Remove its uses.
8549 2013-05-16 Reto Zimmermann <reto@gnu.org>
8551 Sync with upstream vhdl mode v3.34.2.
8552 * progmodes/vhdl-mode.el: Use `push' throughout.
8553 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8554 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8555 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8556 (vhdl-actual-generic-name): New option to derive actual generic name.
8557 (vhdl-port-paste-signals): Replace formal by actual generics.
8558 (vhdl-beautify): New name for old group vhdl-align. Update users.
8559 (vhdl-beautify-options): New option.
8560 (vhdl-last-input-event): New compat alias. Use throughout.
8561 (vhdl-goto-line): Replace user level function `goto-line'.
8562 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8563 vhdl-fix-statement-buffer.
8564 (vhdl-create-mode-menu): Add some entries.
8565 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8566 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8567 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8568 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8569 to force statements on one line.
8570 (vhdl-remove-trailing-spaces-region):
8571 New, split from vhdl-remove-trailing-spaces.
8572 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8573 Respect vhdl-beautify-options.
8574 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8575 (vhdl-update-sensitivity-list): Not add with index if exists without.
8576 Not include array index with signal. Ignore keywords in comments.
8577 (vhdl-get-visible-signals): Regexp tweaks.
8578 (vhdl-template-component-inst): Handle empty library.
8579 (vhdl-template-type): Add template for 'enum' type.
8580 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8581 Use vhdl-replace-string.
8582 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8583 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8584 (vhdl-speedbar-initialize): Update for above name change.
8585 (vhdl-compose-wire-components): Fix in handling of constants.
8586 (vhdl-error-regexp-emacs-alist): New variable.
8587 (vhdl-error-regexp-add-emacs): New function;
8588 adds support for new compile.el (Emacs 22+)
8589 (vhdl-generate-makefile-1): Change target order for single lib. units.
8590 Allow use of absolute file names.
8592 2013-05-16 Leo Liu <sdl.web@gmail.com>
8594 * simple.el (prog-indent-sexp): Indent enclosing defun.
8596 2013-05-15 Glenn Morris <rgm@gnu.org>
8598 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8599 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8600 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8601 (whitespace-highlight): Move to whitespace group.
8603 * comint.el (comint-source):
8604 * pcmpl-linux.el (pcmpl-linux):
8605 * shell.el (shell-faces):
8606 * eshell/esh-opt.el (eshell-opt):
8607 * international/ccl.el (ccl): Remove empty custom groups.
8609 * completion.el (dynamic-completion-mode):
8610 * jit-lock.el (jit-lock-debug-mode):
8611 * minibuffer.el (completion-in-region-mode):
8612 * type-break.el (type-break-mode-line-message-mode)
8613 (type-break-query-mode):
8614 * emulation/tpu-edt.el (tpu-edt-mode):
8615 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8616 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8617 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8619 * term/xterm.el (xterm): Change parent group to terminals.
8621 * master.el (master): Remove empty custom group.
8622 (master-mode): Remove unused :group argument.
8623 * textmodes/refill.el (refill): Remove empty custom group.
8624 (refill-mode): Remove unused :group argument.
8626 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8628 * cus-dep.el: Provide a feature.
8629 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8630 Don't mistakenly ignore files whose basenames match a basename
8631 from preloaded-file-list (eg cedet/ede/simple.el).
8632 Add a fallback method for getting :group.
8634 2013-05-15 Juri Linkov <juri@jurta.org>
8636 * isearch.el (isearch-char-by-name): Rename from
8637 `isearch-insert-char-by-name'. Doc fix.
8638 (isearch-forward): Mention `isearch-char-by-name' in
8639 the docstring. (Bug#13348)
8641 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8642 `exit-minibuffer' instead of
8643 `isearch-nonincremental-exit-minibuffer'.
8644 (isearch-edit-string): Remove mention of
8645 `isearch-nonincremental-exit-minibuffer' from docstring.
8646 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8647 (isearch-forward-exit-minibuffer)
8648 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8650 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * loadup.el: Just use unversioned DOC.
8654 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8655 literals as extending to EOB.
8656 (nxml-last-fontify-end): Remove unused variable.
8657 (nxml-after-change1): Use with-silent-modifications.
8658 (nxml-extend-after-change-region): Simplify.
8659 (nxml-extend-after-change-region1): Remove function.
8660 (nxml-after-change1): Don't adjust for dependent regions.
8661 (nxml-fontify-matcher): Simplify.
8662 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8663 (xmltok-add-dependent): Remove function.
8664 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8665 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8666 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8667 unclosed <[[, <?, comment, and other literals as extending to EOB.
8668 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8669 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8671 (rng-do-some-validation-1): Don't mark dependent regions.
8672 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8673 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8674 (nxml-clear-dependent-regions): Remove functions.
8675 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8676 (nxml-ensure-scan-up-to-date):
8677 Don't clear&mark dependent regions.
8679 2013-05-15 Leo Liu <sdl.web@gmail.com>
8681 * progmodes/octave.el (octave-goto-function-definition):
8682 Improve and fix callers.
8684 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8686 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8687 the setter (bug#14387).
8689 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8690 surrounding group (bug#14402).
8692 2013-05-14 Juri Linkov <juri@jurta.org>
8694 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8697 2013-05-14 Glenn Morris <rgm@gnu.org>
8699 * progmodes/f90.el (f90-imenu-generic-expression):
8700 Fix typo in 2013-05-08 change. (Bug#14402)
8702 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8704 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8705 Remove signals for which replies are never received.
8707 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8709 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8710 (gdb-handler-alist, gdb-handler-number): Remove variables.
8711 (gdb-handler-list): New variable.
8712 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8713 (gdb-pending-handler-p, gdb-handle-reply)
8714 (gdb-remove-all-pending-triggers): New functions.
8715 (gdb-discard-unordered-replies): New defcustom.
8716 (gdb-handler): New defstruct.
8717 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8718 instead of gdb-pending-triggers. Update docstring.
8719 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8720 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8721 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8722 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8723 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8724 (gdb-frame-handler): Pending triggers are now automatically managed.
8725 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8727 (gdb-input): Automatically handles pending triggers. Update docstring.
8728 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8729 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8731 (gdb-done-or-error): Now use gdb-handle-reply.
8733 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8735 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8738 2013-05-14 Glenn Morris <rgm@gnu.org>
8740 * subr.el (user-emacs-directory-warning): New option.
8741 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8743 2013-05-14 Leo Liu <sdl.web@gmail.com>
8745 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8747 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8748 (octave-font-lock-texinfo-comment): Fix invalid search bound
8749 error: wrong side of point.
8751 2013-05-14 Glenn Morris <rgm@gnu.org>
8753 * progmodes/flymake.el (flymake-xml-program): New option.
8754 (flymake-xml-init): Use it.
8756 * term/xterm.el: Provide a feature.
8758 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8760 2013-05-13 Glenn Morris <rgm@gnu.org>
8762 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8763 Add compat aliases as a hack workaround. (Bug#14384)
8765 2013-05-13 Leo Liu <sdl.web@gmail.com>
8767 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8769 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8771 (octave-comment-start-skip): Include %!.
8772 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8774 2013-05-12 Leo Liu <sdl.web@gmail.com>
8776 * progmodes/octave.el (inferior-octave-startup): Store the value
8777 of __octave_srcdir__ for octave-source-directories.
8778 (inferior-octave-check-process): New function refactored out of
8779 inferior-octave-send-list-and-digest.
8780 (octave-source-directories)
8781 (octave-find-definition-filename-function): New variables.
8782 (octave-source-directories)
8783 (octave-find-definition-default-filename): New functions.
8784 (octave-find-definition): Improve to find functions implemented in C++.
8786 2013-05-12 Glenn Morris <rgm@gnu.org>
8788 * calendar/diary-lib.el (diary-outlook-format-1):
8789 Don't include dayname in the output. (Bug#14349)
8791 2013-05-11 Glenn Morris <rgm@gnu.org>
8793 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8795 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8796 Treat cc-provide like provide.
8798 2013-05-11 Kevin Ryde <user42@zip.com.au>
8800 * cus-dep.el (custom-make-dependencies):
8801 Use generated-autoload-load-name for the sake of files such
8802 such cedet/semantic/bovine/c.el, where the base file name
8803 is not in load-path. (Bug#5277)
8805 2013-05-11 Glenn Morris <rgm@gnu.org>
8807 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8810 2013-05-11 Leo Liu <sdl.web@gmail.com>
8812 * progmodes/octave.el (octave-indent-comment): Improve.
8813 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8814 (octave-eldoc-function-signatures, octave-eldoc-function):
8816 (octave-mode, inferior-octave-mode): Add eldoc support.
8818 2013-05-11 Richard Stallman <rms@gnu.org>
8820 * epa.el (epa-decrypt-file): Take output file name as argument
8821 and read it using `interactive'.
8823 2013-05-11 Leo Liu <sdl.web@gmail.com>
8825 * progmodes/octave.el (octave-beginning-of-line)
8826 (octave-end-of-line): Check before using up-list because it jumps
8827 out of more syntactic contructs since moving to smie.
8828 (octave-indent-comment): New function.
8829 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8830 (octave-begin-keywords, octave-end-keywords)
8831 (octave-reserved-words, octave-smie-bnf-table)
8832 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8834 2013-05-11 Glenn Morris <rgm@gnu.org>
8836 * faces.el (internal-face-x-get-resource):
8837 * frame.el (ns-display-monitor-attributes-list):
8838 * calc/calc-aent.el (math-to-radians-2):
8839 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8842 * calc/calc-menu.el: Make it loadable in isolation.
8844 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8845 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8846 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8847 (eudc-bbdb-query-internal): Require 'bbdb.
8849 * lpr.el (lpr-headers-switches):
8850 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8852 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8854 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8856 * term.el (term-set-escape-char): Make it idempotent.
8858 2013-05-10 Leo Liu <sdl.web@gmail.com>
8860 * progmodes/octave.el (inferior-octave-completion-table):
8861 No longer a function and all uses changed. Use cache to speed up
8862 completion due to bug#11906.
8863 (octave-beginning-of-defun): Re-write to be more general.
8865 2013-05-10 Glenn Morris <rgm@gnu.org>
8867 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8869 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * comint.el (comint-redirect-send-command-to-process): Use :around
8872 rather than :override for comint-redirect-filter.
8873 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8874 Call it instead of comint-redirect-original-filter-function (which
8875 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8877 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8879 * frame.el (display-monitor-attributes-list): Add NS case.
8880 (ns-display-monitor-attributes-list): Declare.
8882 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8884 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8886 2013-05-09 Glenn Morris <rgm@gnu.org>
8888 * international/fontset.el (vertical-centering-font-regexp):
8891 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8893 * bookmark.el (bookmark-search-delay):
8894 * cus-start.el (vertical-centering-font-regexp):
8895 * ps-mule.el (ps-mule-font-info-database-default):
8896 * ps-print.el (ps-default-fg, ps-default-bg):
8897 * type-break.el (type-break-good-break-interval):
8898 * whitespace.el (whitespace-indentation-regexp)
8899 (whitespace-space-after-tab-regexp):
8900 * emacs-lisp/testcover.el (testcover-1value-functions)
8901 (testcover-noreturn-functions, testcover-progn-functions)
8902 (testcover-prog1-functions):
8903 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8904 * eshell/em-glob.el (eshell-glob-translate-alist):
8905 * play/tetris.el (tetris-tty-colors):
8906 * progmodes/cpp.el (cpp-face-default-list):
8907 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8908 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8909 (idlwave-help-browser-generic-args):
8910 * progmodes/make-mode.el (makefile-special-targets-list):
8911 * progmodes/python.el (python-shell-virtualenv-path):
8912 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8913 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8914 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8915 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8916 * textmodes/reftex-vars.el (reftex-format-label-function):
8917 * textmodes/remember.el (remember-diary-file): Fix custom types.
8919 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8922 2013-05-09 Leo Liu <sdl.web@gmail.com>
8924 * progmodes/octave.el (inferior-octave-completion-at-point):
8925 Restore file completion. (Bug#14300)
8926 (inferior-octave-startup): Fix incorrect highlighting for the
8929 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * progmodes/ruby-mode.el: First cut at SMIE support.
8932 (ruby-use-smie): New var.
8933 (ruby-smie-grammar): New constant.
8934 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8935 (ruby-smie--forward-token, ruby-smie--backward-token)
8936 (ruby-smie-rules): New functions.
8937 (ruby-mode-variables): Setup SMIE if applicable.
8939 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8941 * simple.el (line-move-visual): Signal beginning/end of buffer
8942 only if vertical-motion moved less than it was requested. Avoids
8943 silly incorrect error messages when there are display strings with
8944 multiple newlines at EOL.
8946 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8948 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8949 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8950 (prolog-char-quote-workaround):
8951 * progmodes/cperl-mode.el (cperl-under-as-char):
8952 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8954 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8956 (vhdl-mode-syntax-table-init): Remove.
8958 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8961 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8963 (ld-script-font-lock-keywords):
8964 Change regexps to use things like \_< and \_>.
8966 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8967 Change all regexps to use things like \_< and \_>.
8969 * progmodes/autoconf.el (autoconf-definition-regexp)
8970 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8971 Handle a _ with symbol syntax.
8972 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8974 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8975 Consolidate declaration.
8976 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8978 (ada-create-syntax-table): Remove.
8979 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8980 already has the right syntax nowadays.
8981 (ada-goto-next-word): Don't change the syntax of "_".
8983 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8986 2013-05-08 Sam Steingold <sds@gnu.org>
8988 * thingatpt.el (thing-at-point): Accept optional second argument
8989 NO-PROPERTIES to strip the text properties from the return value.
8990 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8991 to `thing-at-point' instead of stripping the properties ourselves.
8992 Also, when `thing-at-point' fails to find a url, prepend "http://"
8993 to the filename at point on the assumption that the user is
8994 pointing at something like gnu.org/gnu.
8996 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8998 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8999 * faces.el (crm-separator):
9000 Silence byte-compiler.
9002 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9003 (tool-bar-map): Remove unneeded defvars.
9005 2013-05-08 Leo Liu <sdl.web@gmail.com>
9007 Re-work a fix for bug#10994 based on Le Wang's patch.
9008 * ido.el (ido-remove-consecutive-dups): New helper.
9009 (ido-completing-read): Use it.
9010 (ido-chop): Revert fix for bug#10994.
9012 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9014 * cus-edit.el (custom-save-variables):
9015 Pretty-print long values. (Bug#14187)
9017 2013-05-08 Glenn Morris <rgm@gnu.org>
9019 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9020 (m4-mode-syntax-table): Init in the defvar.
9021 (m4-mode-abbrev-table): Let define-derived-mode define it.
9023 2013-05-08 Tom Tromey <tromey@redhat.com>
9025 * progmodes/m4-mode.el (m4-mode-syntax-table):
9026 Do not treat "_" as word constituent. (Bug#14167)
9028 2013-05-07 Glenn Morris <rgm@gnu.org>
9030 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9031 Remove explicit eshell-isearch-cancel-map.
9033 * progmodes/f90.el (f90-smart-end-names): New option.
9034 (f90-smart-end): Doc fix.
9035 (f90-end-block-optional-name): New constant.
9036 (f90-block-match): Respect f90-smart-end-names.
9038 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9041 about implicit semi-colons (bug#14218).
9043 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9045 * frame.el (display-monitor-attributes-list)
9046 (frame-monitor-attributes): New functions.
9048 2013-05-06 Leo Liu <sdl.web@gmail.com>
9050 * progmodes/octave.el (octave-syntax-propertize-function): Change
9051 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9052 (octave-font-lock-keywords): Use octave-operator-regexp.
9053 (octave-completion-at-point): Rename from
9054 octave-completion-at-point-function.
9055 (inferior-octave-directory-tracker): Robustify.
9056 (octave-text-functions): Remove and fix its uses. No such things
9059 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9061 * emacs-lisp/trace.el (trace--display-buffer): New function.
9062 (trace-make-advice): Use it.
9064 2013-05-06 Juri Linkov <juri@jurta.org>
9066 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9067 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9069 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9070 in the help string. (Bug#12985)
9072 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9074 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9076 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * progmodes/perl-mode.el: Add support for here documents.
9079 (perl-syntax-propertize-function): Match here-doc markers.
9080 (perl-syntax-propertize-special-constructs): Find their end.
9081 (perl-imenu-generic-expression): Use [:alnum:].
9083 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9084 (advice--add-function): Refresh the advice if already present
9087 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9089 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9091 2013-05-06 Glenn Morris <rgm@gnu.org>
9093 * w32-fns.el (w32-charset-info-alist): Declare.
9095 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9096 of its defcustom properties.
9097 (eshell-cmpl-initialize): No need to load pcomplete.
9099 * generic-x.el: No need to require comint when compiling.
9101 * net/eudc-export.el: Make it loadable without bbdb.
9102 (top-level): Use require rather than load-library.
9103 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9104 (eudc-batch-export-records-to-bbdb)
9105 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9108 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9110 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9111 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9112 some tweaks, instead.
9114 2013-05-05 Leo Liu <sdl.web@gmail.com>
9116 * progmodes/octave.el (octave-font-lock-keywords)
9117 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9118 (inferior-octave-send-list-and-digest): Improve error message.
9119 (octave-mode, inferior-octave-mode): Use setq-local.
9120 (octave-help): Set info-lookup-mode.
9122 2013-05-05 Richard Stallman <rms@gnu.org>
9124 * vc/compare-w.el (compare-windows-whitespace):
9125 Treat no-break space as whitespace.
9127 * mail/rmailsum.el (rmail-summary-rmail-update):
9128 Detect empty summary and don't change selected message.
9129 (rmail-summary-goto-msg): Likewise.
9131 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9132 Doc fixes, rename args.
9134 2013-05-05 Alan Mackenzie <acm@muc.de>
9136 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9138 2013-05-05 Juri Linkov <juri@jurta.org>
9140 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9141 to not add the length of the summary segment to the return value.
9144 2013-05-05 Leo Liu <sdl.web@gmail.com>
9146 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9147 (inferior-octave-output-filter): Remove.
9148 (octave-send-region, inferior-octave-startup): Fix callers.
9149 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9150 (octave-binary-file-extensions): New user variable.
9151 (octave-find-definition): Confirm if opening binary files.
9152 (octave-help-file): Use octave-find-definition to get the binary
9154 (octave-help): Adjust for octave-help-file change.
9156 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9158 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9159 Merge the two entries that handle function definitions.
9160 (pascal--syntax-propertize): New const.
9161 (pascal-mode): Use it. Use setq-local.
9163 2013-05-04 Glenn Morris <rgm@gnu.org>
9165 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9166 (diary-from-outlook): Respect diary-from-outlook-function.
9168 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9170 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9171 Move the declaration from C.
9172 (read-minibuffer, eval-minibuffer): Move from C.
9173 (completion-setup-function): Avoid minibuffer-completion-contents.
9175 2013-05-03 Leo Liu <sdl.web@gmail.com>
9177 * progmodes/octave.el (octave-font-lock-keywords): Do not
9178 dehighlight 'end' in comments or strings.
9179 (octave-completing-read, octave-goto-function-definition):
9181 (octave-help-buffer): New user variable.
9182 (octave-help-file, octave-help-function): New button types.
9183 (octave-help): New command and bind it to C-h ;.
9184 (octave-find-definition): New command and bind it to M-.
9185 (user-error): Alias to error if not defined.
9187 2013-05-02 Leo Liu <sdl.web@gmail.com>
9189 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9191 (octave-font-lock-keywords): Include [ and {.
9193 2013-05-02 Leo Liu <sdl.web@gmail.com>
9195 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9196 (inferior-octave): Remove calling comint-mode and return the buffer.
9197 (inferior-octave-startup): Cosmetic changes.
9199 2013-05-02 Leo Liu <sdl.web@gmail.com>
9201 * progmodes/octave.el (octave-syntax-propertize-function):
9202 Include the case when ' is at line beginning. (Bug#14336)
9204 2013-05-02 Glenn Morris <rgm@gnu.org>
9206 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9207 * desktop.el (vc-dir-mode): Just autoload it here.
9209 2013-05-02 Alan Mackenzie <acm@muc.de>
9211 Eliminate variable c-standard-font-lock-fontify-region-function.
9212 * progmodes/cc-mode.el
9213 (c-standard-font-lock-fontify-region-function): Remove.
9214 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9216 2013-05-01 Leo Liu <sdl.web@gmail.com>
9218 * progmodes/octave.el: Compatible with older emacs-24 releases.
9219 (inferior-octave-has-built-in-variables): Remove. Built-in
9220 variables were removed from Octave in 2007.
9221 (inferior-octave-startup): Fix uses.
9222 (comint-line-beginning-position): Remove compatibility code for
9225 2013-05-01 Juri Linkov <juri@jurta.org>
9227 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9229 2013-05-01 Juri Linkov <juri@jurta.org>
9231 * comint.el (comint-previous-matching-input): Don't print message
9232 "History item: %d" when `isearch-mode' is active.
9233 (comint-history-isearch-message): Print message "History item: %d"
9234 when `comint-input-ring-index' is not empty and this function is
9235 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9237 2013-05-01 Leo Liu <sdl.web@gmail.com>
9239 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9240 definitions. Use completion-at-point to insert keywords.
9241 (octave-abbrev-start): Remove.
9242 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9244 2013-04-30 Leo Liu <sdl.web@gmail.com>
9246 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9249 2013-04-30 Alan Mackenzie <acm@muc.de>
9251 Handle arbitrarily long C++ member initialisation lists.
9252 * progmodes/cc-engine.el (c-back-over-member-initializers):
9254 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9255 (most) member init lists.
9257 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9259 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9262 2013-04-30 Leo Liu <sdl.web@gmail.com>
9264 * progmodes/octave.el (octave-variables): Remove. No builtin
9265 variables any more. All converted to functions.
9266 (octave-font-lock-keywords, octave-completion-at-point-function):
9268 (octave-font-lock-texinfo-comment): New user variable.
9269 (octave-texinfo-font-lock-keywords): New variable for texinfo
9271 (octave-function-comment-block): New face.
9272 (octave-font-lock-texinfo-comment): New function.
9273 (octave-mode): Font lock texinfo comment block.
9275 2013-04-29 Leo Liu <sdl.web@gmail.com>
9277 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9278 indexing expression.
9279 (octave-continuation-string): Do not use \.
9280 (inferior-octave-complete-impossible): Remove.
9281 (inferior-octave-completion-table)
9282 (inferior-octave-completion-at-point): Remove its uses.
9283 (inferior-octave-startup): completion_matches was introduced to
9284 Octave in 1996 so safe to assume it.
9285 (octave-function-file-comment): Improve to follow how Octave does it.
9286 (octave-update-function-file-comment): Tweak.
9288 2013-04-29 Leo Liu <sdl.web@gmail.com>
9290 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9291 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9292 (octave-function-file-comment): Fix typo.
9293 (octave-sync-function-file-names): Use read-char-choice.
9295 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9297 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9298 to t for the less important warnings.
9300 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9302 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9304 2013-04-27 Glenn Morris <rgm@gnu.org>
9306 * vc/log-view.el (log-view-current-entry):
9307 Treat "---" separator lines as part of the following rev. (Bug#14169)
9309 2013-04-27 Juri Linkov <juri@jurta.org>
9311 * subr.el (read-number): Doc fix about using it by interactive
9312 code letter `n'. (Bug#14254)
9314 2013-04-27 Juri Linkov <juri@jurta.org>
9316 * desktop.el (desktop-auto-save-timeout): New option.
9317 (desktop-file-checksum): New variable.
9318 (desktop-save): Add optional arg `auto-save' and don't auto-save
9320 (desktop-auto-save-timer): New variable.
9321 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9322 (after-init-hook): Call `desktop-auto-save-set-timer'.
9323 Suggested by Reuben Thomas <rrt@sc3d.org> in
9324 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9326 2013-04-27 Leo Liu <sdl.web@gmail.com>
9328 * progmodes/octave.el (octave-function-file-p)
9329 (octave-skip-comment-forward, octave-function-file-comment)
9330 (octave-update-function-file-comment): New functions.
9331 (octave-mode-map): Bind C-c ; to
9332 octave-update-function-file-comment.
9333 (octave-mode-menu): Add octave-update-function-file-comment.
9334 (octave-mode, inferior-octave-mode): Fix doc-string.
9335 (octave-insert-defun): Conform to Octave's coding convention.
9338 * files.el (basic-save-buffer): Don't let errors in
9339 before-save-hook prevent saving buffer.
9341 2013-04-20 Roland Winkler <winkler@gnu.org>
9343 * faces.el (read-face-name): Use completing-read if arg multiple
9346 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9348 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9349 displayed, move point to after the totals line.
9350 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9353 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9356 Add current dir to the load-path.
9357 (package-generate-autoloads): Don't rely on
9358 autoload-ensure-default-file.
9360 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9362 * textmodes/remember.el (remember-store-in-files): Document that
9363 the file name format is passed to `format-time-string'.
9365 2013-04-26 Leo Liu <sdl.web@gmail.com>
9367 * progmodes/octave.el (octave-sync-function-file-names): New function.
9368 (octave-mode): Use it in before-save-hook.
9370 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9375 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9376 \n and comment, even if it's not an implicit ; (bug#14218).
9378 2013-04-26 Glenn Morris <rgm@gnu.org>
9380 * subr.el (read-number): Once more use `read' rather than
9381 `string-to-number', to trap non-numeric input. (Bug#14254)
9383 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9385 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9386 Use `syntax-multiline' text property consistently instead of
9387 `font-lock-multiline'. (Bug#14237)
9389 2013-04-26 Glenn Morris <rgm@gnu.org>
9391 * emacs-lisp/shadow.el (list-load-path-shadows):
9392 No longer necessary to check for duplicate simple.el, since
9393 2012-07-07 change to init_lread to not include installation lisp
9394 directories in load-path when running uninstalled. (Bug#14270)
9396 2013-04-26 Leo Liu <sdl.web@gmail.com>
9398 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9399 (octave-mode, inferior-octave-mode): Use setq-local.
9400 (octave-not-in-string-or-comment-p): Rename to
9401 octave-in-string-or-comment-p.
9402 (octave-in-comment-p, octave-in-string-p)
9403 (octave-in-string-or-comment-p): Replace defsubst with defun.
9405 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9407 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9409 2013-04-25 Bastien Guerry <bzg@gnu.org>
9411 * textmodes/remember.el (remember-data-directory)
9412 (remember-directory-file-name-format): Fix custom types.
9414 2013-04-25 Leo Liu <sdl.web@gmail.com>
9416 * progmodes/octave.el (octave-completion-at-point-function):
9417 Make use of inferior octave process.
9418 (octave-initialize-completions): Remove.
9419 (inferior-octave-completion-table): New function.
9420 (inferior-octave-completion-at-point): Use it.
9421 (octave-completion-alist): Remove.
9423 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9425 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9426 (opascal-mode-syntax-table): New var.
9427 (opascal-literal-kind, opascal-is-literal-end)
9428 (opascal-literal-token-at): Rewrite.
9429 (opascal--literal-start-re, opascal-font-lock-keywords)
9430 (opascal--syntax-propertize): New constants.
9431 (opascal-font-lock-defaults): Adjust.
9432 (opascal-mode): Use them. Set comment-<foo> variables as well.
9433 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9434 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9435 (delphi-other-face, opascal-other-face): Remove face variables.
9436 (opascal-save-state): Remove macro.
9437 (opascal-fontifying-progress-step): Remove constant.
9438 (opascal--ignore-changes): Remove var.
9439 (opascal-set-token-property, opascal-parse-next-literal)
9440 (opascal-is-stable-literal, opascal-complete-literal)
9441 (opascal-is-literal-start, opascal-face-of)
9442 (opascal-parse-region, opascal-parse-region-until-stable)
9443 (opascal-fontify-region, opascal-after-change)
9444 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9445 (opascal-debug-parse-region, opascal-debug-parse-window)
9446 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9447 (opascal-debug-fontify-buffer): Remove.
9448 (opascal-debug-mode-map): Adjust accordingly.
9450 2013-04-25 Leo Liu <sdl.web@gmail.com>
9452 Merge octave-mod.el and octave-inf.el into octave.el with some
9454 * progmodes/octave.el: New file renamed from octave-mod.el.
9455 * progmodes/octave-inf.el: Merged into octave.el.
9456 * progmodes/octave-mod.el: Renamed to octave.el.
9458 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9460 * textmodes/reftex-vars.el
9461 (reftex-label-ignored-macros-and-environments): New defcustom.
9463 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9465 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9467 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9468 (smie-indent-keyword): Improve the check to ensure that the next
9469 comment is really on the same line.
9470 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9472 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9473 semi-colons if the line is not otherwise empty (bug#14218).
9475 2013-04-25 Glenn Morris <rgm@gnu.org>
9477 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9479 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * progmodes/opascal.el (opascal-set-token-property): Rename from
9482 opascal-set-text-properties and only set `token' (bug#14134).
9483 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9484 (opascal-literal-text-properties): Remove.
9485 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9488 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9490 * textmodes/remember.el (remember-handler-functions): Add an
9491 option for a new handler `remember-store-in-files'.
9492 (remember-data-directory, remember-directory-file-name-format):
9494 (remember-store-in-files): New function to store remember notes
9495 as separate files within a directory.
9497 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9499 * progmodes/compile.el (compilation-next-error-function):
9500 Pass "formats" to compilation-find-file (bug#11777).
9502 2013-04-24 Glenn Morris <rgm@gnu.org>
9504 * vc/vc-bzr.el (vc-bzr-print-log):
9505 * vc/vc-hg.el (vc-hg-print-log):
9506 * vc/vc-svn.el (vc-svn-print-log):
9507 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9509 * vc/vc-bzr.el (vc-bzr-print-log):
9510 * vc/vc-cvs.el (vc-cvs-print-log):
9511 * vc/vc-git.el (vc-git-print-log):
9512 * vc/vc-hg.el (vc-hg-print-log):
9513 * vc/vc-mtn.el (vc-mtn-print-log):
9514 * vc/vc-rcs.el (vc-rcs-print-log):
9515 * vc/vc-sccs.el (vc-sccs-print-log):
9516 * vc/vc-svn.el (vc-svn-print-log):
9517 * vc/vc.el (vc-print-log-internal): Doc fixes.
9519 2013-04-23 Glenn Morris <rgm@gnu.org>
9521 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9522 Remove venerable code attempting to avoid substitute-command-keys.
9524 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9526 * textmodes/reftex-vars.el (reftex-label-regexps):
9527 Call `reftex-compile-variables' after changes to this variable.
9529 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9531 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9532 Use lexical-binding.
9533 (jit-lock-force-redisplay): Use markers, check buffer's continued
9534 existence and beware narrowed buffers.
9535 (jit-lock-fontify-now): Adjust call accordingly.
9537 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9539 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9540 to avoid misleading the user.
9542 2013-04-22 Leo Liu <sdl.web@gmail.com>
9544 * info-look.el: Prefer latex2e.info. (Bug#14240)
9546 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9548 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9550 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9551 * net/tramp.el (tramp-call-process): ... here.
9552 (tramp-set-completion-function, tramp-parse-putty):
9553 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9554 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9555 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9556 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9557 (tramp-call-local-coding-command): Use `tramp-call-process'
9558 instead of `tramp-compat-call-process'.
9560 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9561 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9562 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9563 (tramp-find-inline-compress): Improve traces.
9564 (tramp-maybe-send-script): Check for Perl binary.
9565 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9567 2013-04-22 Daiki Ueno <ueno@gnu.org>
9569 * epg.el (epg-context-pinentry-mode): New function.
9570 (epg-context-set-pinentry-mode): New function.
9571 (epg--start): Pass --pinentry-mode option to gpg command.
9573 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9575 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9576 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9577 `completion-at-point'. (Bug#13774)
9579 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9580 default key binding for `describe-distribution' has been moved to
9581 `C-h C-o'. (Bug#13970)
9583 2013-04-21 Glenn Morris <rgm@gnu.org>
9585 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9587 (vc-print-log): Clarify interactive prompt.
9589 2013-04-20 Glenn Morris <rgm@gnu.org>
9591 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9592 No longer include timestamp etc information.
9594 2013-04-20 Roland Winkler <winkler@gnu.org>
9596 * faces.el (read-face-name): Bug fix, return just one face if arg
9597 multiple is nil. (Bug#14209)
9599 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9601 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9602 (remove-function): Autoload.
9604 * comint.el (comint-redirect-original-filter-function): Remove.
9605 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9606 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9607 (vc-cvs-annotate-command):
9608 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9609 * progmodes/prolog.el (prolog-consult-compile):
9610 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9611 Use add/remove-function instead.
9612 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9613 (gud-tooltip-process-output, gud-tooltip-tips):
9614 Use add/remove-function instead.
9615 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9616 (scheme-interaction-mode, exit-scheme-interaction-mode):
9617 Use add/remove-function instead.
9619 * vc/vc-dispatcher.el: Use lexical-binding.
9620 (vc--process-sentinel): Rename from vc-process-sentinel.
9621 Change last arg to be the code to run. Don't use vc-previous-sentinel
9622 and vc-sentinel-commands any more.
9623 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9624 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9626 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9628 * progmodes/sh-script.el (sh-imenu-generic-expression):
9629 Handle function names with a single character. (Bug#14111)
9631 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9633 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9634 for subroutines defined in an eval (bug#14182).
9636 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9638 * bookmark.el (bookmark-completing-read): Improve handling of empty
9641 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9643 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9645 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9647 New faster Imenu implementation (bug#14058).
9648 * progmodes/python.el:
9649 (python-imenu-prev-index-position):
9650 (python-imenu-format-item-label-function)
9651 (python-imenu-format-parent-item-label-function)
9652 (python-imenu-format-parent-item-jump-label-function):
9654 (python-imenu-format-item-label)
9655 (python-imenu-format-parent-item-label)
9656 (python-imenu-format-parent-item-jump-label)
9657 (python-imenu--put-parent, python-imenu--build-tree)
9658 (python-imenu-create-index, python-imenu-create-flat-index)
9659 (python-util-popn): New functions.
9660 (python-mode): Set imenu-create-index-function to
9661 python-imenu-create-index.
9663 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9665 * winner.el (winner-active-region): Use region-active-p, activate-mark
9666 and deactivate-mark (bug#14225).
9668 * simple.el (deactivate-mark): Don't inline it.
9670 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9672 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9674 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9676 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9677 file extensions from the archive-mode entry in order to prefer
9678 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9680 2013-04-18 Leo Liu <sdl.web@gmail.com>
9682 * bindings.el (help-event-list): Add ?\?.
9684 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9686 * subr.el (with-wrapper-hook): Declare obsolete.
9687 * simple.el (filter-buffer-substring-function): New hook.
9688 (filter-buffer-substring): Use it.
9689 (filter-buffer-substring-functions): Mark obsolete.
9690 * minibuffer.el (completion-in-region-function): New hook.
9691 (completion-in-region): Use it.
9692 (completion-in-region-functions): Mark obsolete.
9693 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9694 * abbrev.el (abbrev-expand-function): New hook.
9695 (expand-abbrev): Use it.
9696 (abbrev-expand-functions): Mark obsolete.
9697 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9700 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9702 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9703 and do not care about match data.
9705 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9708 completion tables when completing error conditions and
9709 `declare' arguments.
9710 (lisp-complete-symbol, field-complete): Mark as obsolete.
9711 (check-parens): Unmatched parens are user errors.
9712 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9714 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9716 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9717 command changed buffer (ie. `flyspell-pre-buffer' is not current
9718 buffer), which prevents making decisions based on invalid value of
9719 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9720 cause an error when `flyspell-pre-point' was nil after switching
9722 (flyspell-post-command-hook): No longer needs to change buffers when
9723 checking pre-word. While at it remove unnecessary progn.
9725 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9727 * textmodes/ispell.el (ispell-add-per-file-word-list):
9728 Fix `flyspell-correct-word-before-point' error when accepting
9729 words and `coment-padding' is an integer by using
9730 `comment-normalize-vars' (Bug #14214).
9732 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9734 New defun movement commands.
9735 * progmodes/python.el (python-nav--syntactically)
9736 (python-nav--forward-defun, python-nav-backward-defun)
9737 (python-nav-forward-defun): New functions.
9739 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9741 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9742 (python-syntax-context): Use named compiler-macro for backwards
9743 compatibility with Emacs 24.x.
9745 2013-04-17 Leo Liu <sdl.web@gmail.com>
9747 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9748 octave-hide-process-buffer.
9750 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9755 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9757 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9758 Fix adjustment of offset when receiving incomplete responses from GDB
9761 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9763 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9764 python-mode-abbrev-table.
9765 (python-skeleton-define): Adjust accordingly.
9766 (python-mode-abbrev-table): New table that inherits from it so that
9767 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9769 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9770 (abbrev-symbol): Use it.
9771 (abbrev--before-point): Use it since we already handle inheritance.
9773 2013-04-16 Leo Liu <sdl.web@gmail.com>
9775 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9776 binding to info-lookup-symbol.
9778 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9780 * minibuffer.el (completion--twq-all):
9781 * term/ns-win.el (ns-initialize-window-system):
9782 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9784 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9786 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9789 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9791 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9793 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9794 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9796 (ruby-end-of-defun): Remove the unused arg, change the docstring
9797 to reflect that this function is only used as the value of
9798 `end-of-defun-function'.
9799 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9800 to reflect an earlier change that beginning/end-of-defun functions
9801 jump between methods in a class definition, as well as top-level
9804 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * minibuffer.el (minibuffer-complete): Don't just scroll
9807 a *Completions* that's been iconified.
9808 (minibuffer-force-complete): Make sure repetitions do cycle when going
9809 through completion-in-region -> minibuffer-complete.
9811 2013-04-15 Alan Mackenzie <acm@muc.de>
9813 Correct the placement of c-cpp-delimiters when there're #s not at
9816 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9817 place a submatch around the #.
9818 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9819 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9822 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9825 (advice--member-p): New arg `name'.
9826 (advice--add-function, advice-member-p): Use it (bug#14202).
9828 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9830 Reformulate java imenu-generic-expression.
9831 The old expression contained ill formed regexps.
9833 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9834 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9835 (cc-imenu-java-method-arg-regexp): New defconsts.
9836 (cc-imenu-java-build-type-args-regex): New defun.
9837 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9838 handling of spaces in the regexp.
9840 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9842 * textmodes/ispell.el (ispell-command-loop): Remove
9843 flyspell highlight of a word when ispell accepts it (bug #14178).
9845 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9847 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9848 uses code from the previous `ange-ftp-run-real-handler'.
9849 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9850 only in case that function exist. This is needed for proper
9853 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9855 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9857 * textmodes/reftex.el (reftex-compile-variables): Use it.
9859 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9861 * files.el (normal-mode): Only use default major-mode if no other mode
9864 * emacs-lisp/trace.el (trace-values): New function.
9866 * files.el: Allow : in local variables (bug#14089).
9867 (hack-local-variable-regexp): New var.
9868 (hack-local-variables-prop-line, hack-local-variables): Use it.
9870 2013-04-13 Roland Winkler <winkler@gnu.org>
9872 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9873 data before it gets modified by bibtex-beginning-of-entry.
9875 2013-04-13 Roland Winkler <winkler@gnu.org>
9877 * textmodes/bibtex.el (bibtex-url): Doc fix.
9879 2013-04-13 Roland Winkler <winkler@gnu.org>
9881 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9882 does not visit a BibTeX file, exclude it from the list of buffers
9883 returned by bibtex-initialize.
9885 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9887 * window.el (split-window): Remove interactive form, since as a
9888 command this function is a special case of split-window-below.
9891 2013-04-12 Roland Winkler <winkler@gnu.org>
9893 * faces.el (read-face-name): Do not override value of arg default.
9894 Allow single faces and strings as default values. Remove those
9895 elements from return value that are not faces.
9896 (describe-face): Simplify.
9897 (face-at-point): New optional args thing and multiple so that this
9898 function can provide the same functionality previously provided by
9900 (make-face-bold, make-face-unbold, make-face-italic)
9901 (make-face-unitalic, make-face-bold-italic, invert-face)
9902 (modify-face, read-face-and-attribute): Use face-at-point.
9904 * cus-edit.el (customize-face, customize-face-other-window)
9905 * cus-theme.el (custom-theme-add-face)
9906 * face-remap.el (buffer-face-set)
9907 * facemenu.el (facemenu-set-face): Use face-at-point.
9909 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9911 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9913 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9915 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9916 off leading { and trailing } from field values.
9918 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9920 * emacs-lisp/timer.el (timer--check): New function.
9921 (timer--time, timer-set-function, timer-event-handler): Use it.
9922 (timer-set-idle-time): Simplify.
9923 (timer--activate): CSE.
9924 (timer-event-handler): Give more info in error message.
9925 (internal-timer-start-idle): New function, moved from C.
9927 * mpc.el (mpc-proc): Add `restart' argument.
9928 (mpc-proc-cmd): Use it.
9929 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9930 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9933 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9935 * progmodes/sh-script.el: Implement `sh-mode' own
9936 `add-log-current-defun-function' (bug#14112).
9937 (sh-current-defun-name): New function.
9938 (sh-mode): Use the function.
9940 2013-04-09 Bastien Guerry <bzg@gnu.org>
9942 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9944 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9946 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9948 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9951 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9953 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9956 2013-04-07 Leo Liu <sdl.web@gmail.com>
9958 * pcmpl-x.el: New file.
9960 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9962 Do not set x-display-name until X connection is established.
9963 This is needed to prevent from weird situation described at
9964 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9965 * frame.el (make-frame): Set x-display-name after call to
9966 window system initialization function, not before.
9967 * term/x-win.el (x-initialize-window-system): Add optional
9968 display argument and use it.
9969 * term/w32-win.el (w32-initialize-window-system):
9970 * term/ns-win.el (ns-initialize-window-system):
9971 * term/pc-win.el (msdos-initialize-window-system):
9972 Add compatible optional display argument.
9974 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9976 * files.el (normal-backup-enable-predicate): On MS-Windows and
9977 MS-DOS compare truenames of temporary-file-directory and of the
9978 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9979 don't fail comparison by compare-strings. Also, compare file
9980 names case-insensitively on MS-Windows and MS-DOS.
9982 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9985 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9987 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9989 * whitespace.el (whitespace-color-on, whitespace-color-off):
9990 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9992 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9994 * ispell.el (ispell-set-spellchecker-params):
9995 Really set `ispell-args' for all equivs.
9997 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9999 * ido.el (ido-completions): Use extra elements of ido-decorations
10001 (ido-decorations): Update docstring.
10003 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10005 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10006 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10007 nil during initialization, in order not to miss changes since the
10008 file was opened. (Bug#14140)
10010 2013-04-05 Leo Liu <sdl.web@gmail.com>
10012 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10014 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10016 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10018 2013-04-04 Glenn Morris <rgm@gnu.org>
10020 * electric.el (electric-pair-inhibit-predicate): Add :version.
10022 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10024 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10025 when a package is required several times (bug#14082).
10027 2013-04-04 Roland Winkler <winkler@gnu.org>
10029 * faces.el (read-face-name): Behave as promised by the docstring.
10030 Assume that arg default is a list of faces.
10031 (describe-face): Call read-face-name with list of default faces.
10033 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10035 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10036 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10037 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10039 (bookmark-exit-hook-internal): Save even if list is empty.
10041 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10043 * emacs-lisp/package.el (package-pinned-packages): New var.
10044 (package--add-to-archive-contents): Obey it (bug#14118).
10046 2013-04-03 Alan Mackenzie <acm@muc.de>
10048 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10049 Also adapt to the new values of element 7 of a parse state.
10051 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10052 parameter `not-in-delimiter'. Handle being inside comment opener.
10053 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10054 character in case we're typing a '*' after a '/'.
10055 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10056 instead by passing the parameter to c-state-pp-to-literal.
10058 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10059 for elt. 7 of a parse state.
10061 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10063 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10064 * international/latin1-disp.el, international/mule-util.el:
10065 * language/cyril-util.el, language/european.el, language/ind-util.el:
10066 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10067 * language/tibetan.el, language/viet-util.el:
10068 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10070 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10072 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10073 (electric-pair-post-self-insert-function): Use it.
10074 (electric-pair-default-inhibit): New function, extracted from
10075 electric-pair-post-self-insert-function.
10077 2013-03-31 Roland Winkler <winkler@gnu.org>
10079 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10081 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10083 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10085 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10087 Un-indent after "pass" and "return" statements (Bug#13888)
10088 * progmodes/python.el (python-indent-block-enders): New var.
10089 (python-indent-calculate-indentation): Use it.
10091 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10093 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10094 defun. Defining it as defalias could introduce too eager
10095 byte-compiler optimization. (Bug#14030)
10097 2013-03-30 Chong Yidong <cyd@gnu.org>
10099 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10101 2013-03-30 Leo Liu <sdl.web@gmail.com>
10103 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10104 (kmacro-execute-from-register): Pass the keyboard macro to
10105 kmacro-call-macro or repeating won't work correctly.
10107 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10109 * progmodes/subword.el: Back to using `forward-symbol'.
10111 * subr.el (forward-whitespace, forward-symbol)
10112 (forward-same-syntax): Move from thingatpt.el.
10114 2013-03-29 Leo Liu <sdl.web@gmail.com>
10116 * kmacro.el (kmacro-to-register): New command.
10117 (kmacro-execute-from-register): New function.
10118 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10120 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * mpc.el: Use defvar-local and setq-local.
10123 (mpc--proc-connect): Connection failures are not bugs.
10124 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10125 (mpc-volume-map): Bind to the up-events.
10127 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10129 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10130 instead of `forward-symbol'.
10132 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10135 (edebug--recursive-edit): Use it.
10136 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10137 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10139 2013-03-28 Leo Liu <sdl.web@gmail.com>
10141 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10143 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10145 * facemenu.el (list-colors-callback): New defvar.
10146 (list-colors-redisplay): New function.
10147 (list-colors-display): Install list-colors-redisplay as the
10148 revert-buffer-function. (Bug#14063)
10150 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10152 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10153 and suffixes don't overlap (bug#14061).
10155 * case-table.el: Use lexical-binding.
10156 (case-table-get-table): New function.
10157 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10159 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10161 * progmodes/subword.el: Add `superword-mode' to do word motion
10162 over symbol_words (parallels and leverages `subword-mode' which
10163 does word motion inside MixedCaseWords).
10165 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10167 * eshell/em-unix.el: Move su and sudo to...
10168 * eshell/em-tramp.el: ...Eshell tramp module.
10170 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10172 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10173 Change return value to be a sexp. Delay `get-buffer' to after
10174 restoring the desktop (bug#13951).
10176 2013-03-26 Leo Liu <sdl.web@gmail.com>
10178 * register.el: Move semantic tag handling back to
10179 cedet/semantic/senator.el. (Bug#14052)
10181 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10183 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10184 into the prompt either (bug#13963).
10186 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10189 part of "(error-foo)".
10191 2013-03-24 Juri Linkov <juri@jurta.org>
10193 * replace.el (list-matching-lines-prefix-face): New defcustom.
10194 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10195 `occur-engine' if `face-differs-from-default-p' returns t.
10196 (occur-engine): Add `,' inside backquote construct to evaluate
10197 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10198 Pass `prefix-face' to the functions `occur-context-lines' and
10199 `occur-engine-add-prefix'.
10200 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10201 `prefix-face' and propertize the prefix with `prefix-face'.
10204 2013-03-24 Leo Liu <sdl.web@gmail.com>
10206 * nxml/rng-valid.el (rng-validate-while-idle)
10207 (rng-validate-quick-while-idle): Guard against deleted buffer.
10210 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10211 is the last entry in kill-buffer-hook.
10213 * files.el (kill-buffer-hook): Doc fix.
10215 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10217 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10218 Make it safe-local.
10220 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10222 2013-03-23 Leo Liu <sdl.web@gmail.com>
10224 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10227 * nxml/rng-valid.el (rng-validate-mode)
10228 (rng-after-change-function, rng-do-some-validation):
10229 * nxml/rng-maint.el (rng-validate-buffer):
10230 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10231 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10232 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10233 (nxml-extend-after-change-region): Use with-silent-modifications.
10235 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10238 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10239 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10240 timer-idle-list. (Bug#13999)
10242 2013-03-23 Juri Linkov <juri@jurta.org>
10244 * info.el (info-index-match): New face.
10245 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10246 main pattern and add text properties with the new face to matches
10247 in index entries relative to the beginning of the index entry.
10250 2013-03-21 Eric Ludlam <zappo@gnu.org>
10252 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10253 Inhibit read only while inserting objects.
10255 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10257 * progmodes/cfengine.el: Update docs to mention
10258 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10259 symbol motion. Remove "_" from the word syntax.
10261 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10263 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10264 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10266 2013-03-20 Juri Linkov <juri@jurta.org>
10268 * info.el (Info-next-reference-or-link)
10269 (Info-prev-reference-or-link): New functions.
10270 (Info-next-reference, Info-prev-reference): Use them.
10271 (Info-try-follow-nearest-node): Handle footnote navigation.
10272 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10274 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10276 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10277 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10279 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10281 Suppress unnecessary non-ASCII chatter during build process.
10282 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10283 (batch-skkdic-convert): Suppress most of the chatter.
10284 It's not needed so much now that machines are faster,
10285 and its non-ASCII component was confusing; see Dmitry Gutov in
10286 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10288 2013-03-20 Leo Liu <sdl.web@gmail.com>
10290 * ido.el (ido-chop): Fix bug#10994.
10292 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10294 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10296 (whitespace-color-on, whitespace-color-off):
10297 Use `font-lock-fontify-buffer' (Bug#13817).
10299 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10301 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10302 remapping in mode-line.
10303 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10305 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10307 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10308 value for `whitespace-line' face (Bug#13875).
10309 (whitespace-font-lock-keywords): Change description.
10310 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10311 the constructed keywords instead.
10312 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10314 2013-03-19 Leo Liu <sdl.web@gmail.com>
10316 * progmodes/compile.el (compilation-display-error): New command.
10317 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10320 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10322 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10324 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10326 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10328 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10330 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10332 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10333 * net/tramp-gvfs.el (top):
10334 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10335 (tramp-handle-shell-command): Use it.
10336 (tramp-dissect-file-name): Raise an error when hostname is a
10337 method name, and neither method nor user is specified.
10339 * net/trampver.el: Update release number.
10341 2013-03-18 Leo Liu <sdl.web@gmail.com>
10343 Make sure eldoc can be turned off properly.
10344 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10346 (eldoc-display-message-p): Revert last change.
10347 (eldoc-display-message-no-interference-p)
10348 (eldoc-print-current-symbol-info): Tweak.
10350 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10352 * doc-view.el (doc-view-new-window-function): Check the new window
10353 overlay's display property instead the char property of the
10354 buffer's first char. Use `with-selected-window' instead of
10355 `save-window-excursion' with `select-window'.
10356 (doc-view-document->bitmap): Check the current doc-view overlay's
10357 display property instead the char property of the buffer's first char.
10359 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10361 Automate the build of ja-dic.el (Bug#13984).
10362 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10363 from the input, rather than assume that it's been done for us by the
10364 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10365 the current date into a ja-dic.el comment, as that complicates
10366 regression testing.
10368 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10370 * whitespace.el: Fix double evaluation.
10371 (whitespace-space, whitespace-hspace, whitespace-tab)
10372 (whitespace-newline, whitespace-trailing, whitespace-line)
10373 (whitespace-space-before-tab, whitespace-indentation)
10374 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10376 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10377 (whitespace-color-on): Use a single font-lock-add-keywords call.
10378 Fix double-evaluation of face variables.
10380 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10382 * net/tramp-adb.el (tramp-adb-parse-device-names):
10383 Use `start-process' instead of `call-process'. Otherwise, the
10384 function might be blocked under MS Windows. (Bug#13299)
10386 2013-03-17 Leo Liu <sdl.web@gmail.com>
10388 Extend eldoc to display info in the mode-line. (Bug#13978)
10389 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10390 (eldoc-mode-line-string): New variable.
10391 (eldoc-minibuffer-message): New function.
10392 (eldoc-message-function): New variable.
10393 (eldoc-message): Use it.
10394 (eldoc-display-message-p)
10395 (eldoc-display-message-no-interference-p):
10396 Support eldoc-post-insert-mode.
10398 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10399 (eval-expression): Run it.
10401 2013-03-17 Roland Winkler <winkler@gnu.org>
10403 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10404 strings in the list of return values.
10406 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10408 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10409 radix before checking for HMS forms.
10411 2013-03-16 Leo Liu <sdl.web@gmail.com>
10413 * progmodes/scheme.el: Add indentation and font-locking for λ.
10416 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10418 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10419 token before point (bug#13942).
10421 2013-03-16 Leo Liu <sdl.web@gmail.com>
10423 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10425 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10427 * startup.el (command-line-normalize-file-name): Fix handling of
10428 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10429 <xfq.free@gmail.com> in
10430 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10432 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10434 Sync with Tramp 2.2.7.
10436 * net/trampver.el: Update release number.
10438 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10440 * doc-view.el: Fix bug#13887.
10441 (doc-view-insert-image): Don't modify overlay associated to
10442 non-live windows, and implement horizontal centering of image in
10443 case it's smaller than the window.
10444 (doc-view-new-window-function): Force redisplay of new windows on
10447 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10449 * saveplace.el (save-place-alist-to-file): Don't sort
10450 `save-place-alist', just pretty-print it (bug#13882).
10452 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10454 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10455 Check whether `default-file-name-coding-system' is bound.
10456 It isn't in XEmacs.
10458 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10460 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10461 backquotes for `obsolete' (bug#13929).
10463 * international/mule.el (find-auto-coding): Include file name in
10464 obsolescence warning (bug#13922).
10466 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10468 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10469 for CFEngine 3-specific indentation.
10470 (cfengine3-indent-line): Use it. Fix up category regex.
10471 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10473 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10475 * type-break.el (type-break-file-name):
10476 * textmodes/remember.el (remember-data-file):
10477 * strokes.el (strokes-file):
10478 * shadowfile.el (shadow-initialize):
10479 * saveplace.el (save-place-file):
10480 * ps-bdf.el (bdf-cache-file):
10481 * progmodes/idlwave.el (idlwave-config-directory):
10482 * net/quickurl.el (quickurl-url-file):
10483 * international/kkc.el (kkc-init-file-name):
10484 * ido.el (ido-save-directory-list-file):
10485 * emulation/viper.el (viper-custom-file-name):
10486 * emulation/vip.el (vip-startup-file):
10487 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10488 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10490 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10492 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10493 * language/thai-word.el: Switch to UTF-8.
10495 See ChangeLog.16 for earlier changes.
10497 ;; Local Variables:
10501 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10503 This file is part of GNU Emacs.
10505 GNU Emacs is free software: you can redistribute it and/or modify
10506 it under the terms of the GNU General Public License as published by
10507 the Free Software Foundation, either version 3 of the License, or
10508 (at your option) any later version.
10510 GNU Emacs is distributed in the hope that it will be useful,
10511 but WITHOUT ANY WARRANTY; without even the implied warranty of
10512 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10513 GNU General Public License for more details.
10515 You should have received a copy of the GNU General Public License
10516 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.