1 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5 2013-12-07 Tassilo Horn <tsdh@gnu.org>
7 * help-fns.el (describe-function-1): Use new advice-* functions
8 rather than old ad-* functions. Fix function type description and
9 source links for advised functions and subrs.
11 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13 * net/shr.el (shr-tag-img): Don't bug out on <img src="">
16 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
18 * progmodes/compile.el (compilation-start):
19 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
21 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
22 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
24 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
26 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch
29 2013-12-06 Leo Liu <sdl.web@gmail.com>
31 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
32 (inferior-octave-startup): Always use "octave> " for prompt.
33 (octave-goto-function-definition)
34 (octave-sync-function-file-names)
35 (octave-find-definition-default-filename): Remove redundant backquotes.
37 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
39 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
41 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
42 where appropriate already.
43 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
44 end of method names (Bug#15874).
46 2013-12-06 Juri Linkov <juri@jurta.org>
48 * isearch.el (isearch--saved-overriding-local-map):
49 New internal variable.
50 (isearch-mode): Set it to the initial value of
51 `overriding-terminal-local-map'.
52 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
53 with `isearch--saved-overriding-local-map'. (Bug#16035)
55 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
57 * progmodes/octave.el (inferior-octave-completion-table): Turn
58 back into function, use `completion-table-with-cache'
59 (Bug#11906). Update all references.
61 * minibuffer.el (completion-table-with-cache): New function.
63 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
65 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
67 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
69 * net/eww.el (eww-current-source): New variable to store page
71 (eww-display-html, eww-mode, eww-save-history)
72 (eww-restore-history): Use it.
73 (eww-view-source): New command to view page source.
74 Opportunistically uses `html-mode' to highlight the buffer.
75 (eww-mode-map): Install it.
77 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
79 * net/dbus.el (dbus-unregister-service)
80 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
82 (dbus-unregister-service): Skip :serial entries in
83 `dbus-registered-objects-table'.
84 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
86 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
88 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
89 around keywords with extra `split-string' argument.
91 2013-12-04 Martin Rudalics <rudalics@gmx.at>
93 * windmove.el (windmove-other-window-loc): Handle navigation
94 between windows (excluding the minibuffer window - Bug#16017).
96 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
98 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
100 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
101 preserve unibyte strings. (Bug#16048)
103 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
105 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
106 Call force-mode-line-update is the proper buffer (bug#16042).
108 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
110 * vc/log-edit.el (log-edit-add-new-comment): Rename to
111 `log-edit-remember-comment', make argument optional. Adjust all
113 (log-edit-mode): Add `log-edit-remember-comment' to
114 `kill-buffer-hook' locally.
115 (log-edit-kill-buffer): Don't remember comment explicitly since
116 the buffer is killed anyway.
118 2013-12-04 Juri Linkov <juri@jurta.org>
120 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
121 add-hook and remove-hook for multi-buffer search. (Bug#16035)
123 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
125 * notifications.el (notifications-close-notification): Call the
126 D-Bus method with ID being a `:uint32'. (Bug#16030)
128 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
130 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
132 2013-12-03 Juri Linkov <juri@jurta.org>
134 * progmodes/compile.el (compilation-start): Rename window alist
135 entry `no-display-ok' to `allow-no-window'.
137 * simple.el (shell-command): Add window alist entry
138 `allow-no-window' to `display-buffer'.
139 (async-shell-command): Doc fix.
141 * window.el (display-buffer-no-window): New action function.
142 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
144 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
146 * vc/log-edit.el (log-edit-set-header): Extract from
147 `log-edit-toggle-header'.
148 (log-edit-extract-headers): Separate the summary, when extracted
149 from header, from the rest of the message with an empty line.
151 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
152 line, if present, to the Summary header.
154 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
156 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
157 in current-buffer (bug#16029).
159 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
161 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
162 (debugger-mode-map): Bind it.
163 (debugger--backtrace-base): New function.
164 (debugger-eval-expression): Use it.
165 (debugger-frame-number): Skip local vars when present.
166 (debugger--locals-visible-p, debugger--insert-locals)
167 (debugger--show-locals, debugger--hide-locals): New functions.
169 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
171 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
173 (tramp-get-remote-locale): New defun.
174 (tramp-open-connection-setup-interactive-shell): Use it.
176 2013-12-02 Leo Liu <sdl.web@gmail.com>
178 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
180 * progmodes/sh-script.el (sh-shell-process):
181 * progmodes/octave.el (inferior-octave-process-live-p):
182 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
183 (gdb-inferior-io-sentinel):
184 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
186 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
188 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
189 `save-selected-window' to `log-edit-hide-buf'. This makes
190 `log-edit-show-files' idempotent.
191 (log-edit-show-files): Mark the new window as dedicated.
193 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
195 * vc/log-edit.el (log-edit-mode-map): Add binding for
196 `log-edit-kill-biffer'.
197 (log-edit-hide-buf): Add a FIXME comment.
198 (log-edit-add-new-comment): New function, extracted from
200 (log-edit-done, log-edit-add-to-changelog): Use it.
201 (log-edit-kill-buffer): New command.
203 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
205 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
206 instead of killing the buffer.
208 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
210 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
212 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
214 * net/eww.el (eww-form-checkbox-selected-symbol)
215 (eww-form-checkbox-symbol): New customizable variable.
216 (eww-form-checkbox, eww-toggle-checkbox):
217 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
219 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
220 (shr--get-media-pref, shr--extract-best-source): New function.
221 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
222 no :src tag was specified.
224 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
225 (eww-render): Handle `eww-use-external-browser-for-content-type'.
226 Use \\` to match beginning of string instead of ^.
227 (eww-browse-with-external-browser): Provide optional URL parameter.
228 (eww-render): Set `eww-current-title' back to "".
230 * net/shr.el (shr-tag-video): Display content for video if no
232 (shr-tag-audio): Add support for <audio> tag.
234 * net/eww.el (eww-text-input-types): : New const.
235 (eww-process-text-input): Treat input types in
236 `eww-text-input-types' as text.
238 * net/shr.el (shr-tag-table): Fix comment typo.
240 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
242 * net/eww.el (eww-follow-link): New command to avoid reloading
243 pages when we follow #target links (bug#15243).
244 (eww-quit): Special mode buffers shouldn't query before exiting.
246 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
248 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
251 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
253 * net/eww.el (eww-restore-history): Update the window title after
254 moving in the history.
255 (eww-current-dom): New variable used to save the current DOM.
257 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
259 * vc/log-edit.el (log-edit-mode-map): Add binding for
260 `log-edit-beginning-of-line'.
261 (log-edit-setup-add-author): New user option.
262 (log-edit-beginning-of-line): New command.
263 (log-edit): Move major mode call above the contents setup so that
264 the local variable values are already applied.
265 (log-edit): Only insert "Author: " when
266 `log-edit-setup-add-author' is non-nil.
267 (log-edit): When SETUP is non-nil, position point after ": "
268 instead of point-min.
270 2013-12-01 Glenn Morris <rgm@gnu.org>
272 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
274 2013-11-30 Eli Zaretskii <eliz@gnu.org>
276 * startup.el (fancy-splash-frame): On MS-Windows, trigger
277 redisplay to make sure the initial frame gets a chance to become
280 2013-11-30 Martin Rudalics <rudalics@gmx.at>
282 Support resizing frames and windows pixelwise.
283 * cus-start.el (frame-resize-pixelwise)
284 (window-resize-pixelwise): New entries.
285 * emacs-lisp/debug.el (debug): Use window-total-height instead
286 of window-total-size.
287 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
288 * help.el (describe-bindings-internal): Call help-buffer
289 (temp-buffer-max-width): New option.
290 (resize-temp-buffer-window, help-window-setup)
291 (with-help-window): Rewrite.
292 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
294 * window.el (frame-char-size, window-min-pixel-height)
295 (window-safe-min-pixel-height, window-safe-min-pixel-width)
296 (window-min-pixel-width, window-safe-min-pixel-size)
297 (window-combination-p, window-safe-min-size)
298 (window-resizable-p, window--size-to-pixel)
299 (window--pixel-to-size, window--resize-apply-p): New functions.
300 (window-safe-min-height): Fix doc-string.
301 (window-size, window-min-size, window--min-size-1)
302 (window-sizable, window-sizable-p, window--min-delta-1)
303 (window-min-delta, window--max-delta-1, window-max-delta)
304 (window--resizable, window--resizable-p, window-resizable)
305 (window-full-height-p, window-full-width-p, window-at-side-p)
306 (window--in-direction-2, window-in-direction)
307 (window--resize-reset-1, window--resize-mini-window)
308 (window-resize, window-resize-no-error)
309 (window--resize-child-windows-normal)
310 (window--resize-child-windows, window--resize-siblings)
311 (window--resize-this-window, window--resize-root-window)
312 (window--resize-root-window-vertically)
313 (adjust-window-trailing-edge, enlarge-window, shrink-window)
314 (maximize-window, minimize-window, delete-window)
315 (quit-restore-window, window-split-min-size, split-window)
316 (balance-windows-2, balance-windows)
317 (balance-windows-area-adjust, balance-windows-area)
318 (window--state-get-1, window-state-get, window--state-put-1)
319 (window--state-put-2, window-state-put)
320 (display-buffer-record-window, window--display-buffer):
321 Make functions handle pixelwise sizing of windows.
322 (display-buffer--action-function-custom-type)
323 (display-buffer-fallback-action):
324 Add display-buffer-in-previous-window.
325 (display-buffer-use-some-window): Resize window to height it had
327 (fit-window-to-buffer-horizontally): New option.
328 (fit-frame-to-buffer): Describe new values.
329 (fit-frame-to-buffer-bottom-margin): Replace with
330 fit-frame-to-buffer-margins.
331 (window--sanitize-margin): New function.
332 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
333 using window-text-pixel-size.
335 2013-11-30 Glenn Morris <rgm@gnu.org>
337 * emacs-lisp/bytecomp.el (byte-compile-form):
338 Make the `interactive-only' warning like the `obsolete' one.
339 * comint.el (comint-run):
340 * files.el (insert-file-literally, insert-file):
341 * replace.el (replace-string, replace-regexp):
342 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
343 (goto-line, insert-buffer, next-line, previous-line):
344 Tweak `interactive-only' spec.
346 Stop keeping (most) generated cedet grammar files in the repository.
347 * Makefile.in (semantic): New.
348 (compile-main): Depend on semantic.
350 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
352 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
353 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
355 * uniquify.el (uniquify-buffer-name-style): Change default.
357 * loadup.el: Preload "uniquify".
359 * time.el (display-time-update): Update all mode lines (bug#15999).
361 * electric.el (electric-indent-mode): Enable by default.
362 * loadup.el: Preload "electric".
364 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
366 * emacs-lisp/helpers.el (string-empty-p): New function.
367 (string-blank-p): New function.
369 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
371 * imenu.el (imenu--index-alist): Add missing dot to the docstring
374 2013-11-29 Andreas Politz <politza@fh-trier.de>
375 * imenu.el (imenu--subalist-p): Don't error on non-conses and
376 allow non-lambda lists as functions.
377 (imenu--in-alist): Don't recurse into non-subalists.
378 (imenu): Don't pass function itself as an argument (Bug#14029).
380 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
382 * progmodes/python.el (python-mode-map): Remove binding for ":".
383 (python-indent-electric-colon): Remove command.
384 (python-indent-post-self-insert-function): Integrate the previous code
385 of python-indent-electric-colon. Make it conditional on
386 electric-indent-mode.
387 (python-mode): Add ?: to electric-indent-chars.
388 Move python-indent-post-self-insert-function to the end of
389 post-self-insert-hook.
391 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
393 * doc-view.el (doc-view-goto-page): Update mode-line.
395 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
397 2013-11-27 Glenn Morris <rgm@gnu.org>
399 * international/charprop.el, international/uni-bidi.el:
400 * international/uni-category.el, international/uni-combining.el:
401 * international/uni-comment.el, international/uni-decimal.el:
402 * international/uni-decomposition.el, international/uni-digit.el:
403 * international/uni-lowercase.el, international/uni-mirrored.el:
404 * international/uni-name.el, international/uni-numeric.el:
405 * international/uni-old-name.el, international/uni-titlecase.el:
406 * international/uni-uppercase.el:
407 Remove generated files from VCS repository.
409 2013-11-27 Eli Zaretskii <eliz@gnu.org>
411 * filenotify.el (file-notify-add-watch): Don't special-case
412 w32notify when computing the directory to watch.
414 2013-11-27 Glenn Morris <rgm@gnu.org>
416 Make bootstrap without generated uni-*.el files possible again.
417 * loadup.el: Update command-line-args checking for unidata-gen.
418 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
419 * composite.el, international/characters.el:
420 Handle unicode tables being undefined.
422 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
423 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
424 (compile-main): Depend on leim rule.
426 * loadup.el: Move leim-list.el to leim/ subdirectory.
427 * startup.el (normal-top-level): No more leim directory.
428 * international/ja-dic-cnv.el (skkdic-convert):
429 Disable version-control and autoloads in output files.
430 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
431 Disable version-control and autoloads in output files.
432 * leim/quail: Move here from ../leim.
433 * leim/quail/hangul.el (hangul-input-method-activate):
435 (generated-autoload-load-name): Set file-local value.
436 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
437 (generated-autoload-load-name): Set file-local value.
439 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
441 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
442 (eww-add-bookmark): ask confirmation when add to bookmarks
443 (eww-quit): ask confirmation before quitting eww
445 2013-11-26 Eli Zaretskii <eliz@gnu.org>
447 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
448 reading output from Diff on MS-Windows and MS-DOS.
450 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
452 * emacs-lisp/helpers.el (string-reverse): New function.
454 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
456 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
457 names on MS Windows, like "/[::1]:".
459 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
462 2013-11-26 Glenn Morris <rgm@gnu.org>
464 * progmodes/python.el (python-indent-guess-indent-offset):
465 Avoid corner-case error. (Bug#15975)
467 Preload leim-list.el. (Bug#4789)
468 * loadup.el: Load leim-list.el when found.
469 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
471 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
473 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
475 * emacs-lisp/helpers.el (string-join): New function.
477 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
479 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
480 Mark as obsolete and replace it with a symbol property.
481 (byte-compile-form): Use new 'interactive-only property.
482 * comint.el, files.el, replace.el, simple.el:
483 Apply new 'interactive-only properly.
485 2013-11-25 Martin Rudalics <rudalics@gmx.at>
487 * window.el (display-buffer-at-bottom): Make sure that
488 split-window-sensibly creates the new window on bottom
491 2013-11-23 David Kastrup <dak@gnu.org>
493 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
494 on the conflict markers when available.
495 (smerge--get-marker): New function.
496 (smerge-end-re, smerge-base-re): Add subgroup.
498 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
500 * frame.el (handle-focus-in, handle-focus-out): Add missing
503 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
505 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
506 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
508 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
510 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
511 (gomoku--last-pos): New var.
512 (gomoku--intangible-chars): New const.
513 (gomoku--intangible): New function.
514 (gomoku-mode): Use it. Derive from special-mode.
515 (gomoku-move-up): Adjust line count.
516 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
517 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
518 Simplify accordingly.
520 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
521 Remove blink-cursor code.
522 (blink-cursor-timer-function, blink-cursor-suspend):
523 Don't special-case GUIs.
524 (blink-cursor-mode): Use focus-in/out-hook.
526 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
528 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
529 work when annotation is invisible (Bug#13886).
531 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
533 * json.el (json-alist-p): Only return non-nil if the alist has
534 simple keys (Bug#13518).
536 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
538 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
539 when control-statement is the first statement in a buffer (Bug#15956).
541 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
543 * imenu.el (imenu-generic-skip-comments-and-strings):
544 New option (Bug#15560).
545 (imenu--generic-function): Use it.
547 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
549 * minibuffer.el (completion--in-region-1): Scroll the correct
552 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
554 * emacs-lisp/helpers.el: Add some string helpers.
555 (string-trim-left): Removes leading whitespace.
556 (string-trim-right): Removes trailing whitespace.
557 (string-trim): Removes leading and trailing whitespace.
559 * subr.el (string-suffix-p): New function.
561 2013-11-23 Glenn Morris <rgm@gnu.org>
563 * progmodes/python.el (python-shell-send-file):
564 Add option to delete file when done. (Bug#15647)
565 (python-shell-send-string, python-shell-send-region): Use it.
567 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
569 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
570 to set buffer-read-only to t, never to nil. (Bug#15938)
572 * textmodes/tex-mode.el (latex-noindent-environments):
573 Add safe-local-variable property. (Bug#15936)
575 2013-11-23 Glenn Morris <rgm@gnu.org>
577 * textmodes/enriched.el (enriched-mode): Doc fix.
578 * emacs-lisp/authors.el (authors-renamed-files-alist):
579 Add enriched.doc -> enriched.txt.
581 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
583 2013-11-22 Leo Liu <sdl.web@gmail.com>
585 * progmodes/octave.el (inferior-octave-startup): Spit out error
588 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
590 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
593 (ruby-encoding-magic-comment-style): Add :version.
595 2013-11-22 Leo Liu <sdl.web@gmail.com>
597 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
599 (octave-help-mode): Adapt to change to help-mode-finish to use
600 derived-mode-p on 2013-09-17.
601 (inferior-octave-prompt): Also match octave-gui.
602 (octave-kill-process): Don't ask twice. (Bug#10564)
604 2013-11-22 Leo Liu <sdl.web@gmail.com>
606 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
607 (inferior-octave-startup, inferior-octave-check-process)
608 (inferior-octave-track-window-width-change)
609 (octave-completion-at-point, octave-eldoc-function): Use it.
610 (octave-kill-process): Provide confirmation. (Bug#10564)
612 2013-11-21 Leo Liu <sdl.web@gmail.com>
614 * progmodes/octave.el (octave-mode, inferior-octave-mode):
615 Fix obsolete variable comment-use-global-state.
617 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
619 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
620 Add `octave-source-file'.
621 (octave-source-file): New function. (Bug#15935)
623 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
625 * net/eww.el (eww-local-regex): New variable.
626 (eww): Use it to detect localhost and similar.
628 2013-11-21 Leo Liu <sdl.web@gmail.com>
630 Add completion for command `ag'.
631 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
632 (pcomplete/ag): New function.
633 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
635 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
637 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
639 (make-obsolete): Remove interactive spec.
641 2013-11-21 Glenn Morris <rgm@gnu.org>
643 * startup.el (command-line-1): Use path-separator with -L.
645 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
647 * emacs-lisp/package.el (describe-package-1): Add package archive
650 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
652 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
653 Change default to "# encoding: %s" to differentiate it from the
654 default Ruby encoding comment template.
656 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
658 * ses.el (ses-mode): Doc fix. (Bug#14748)
660 2013-11-20 Leo Liu <sdl.web@gmail.com>
662 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
664 2013-11-19 Dan Nicolaescu <dann@gnu.org>
666 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
667 when rebase or bisect are in progress.
669 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
671 * filenotify.el (file-notify-add-watch): Doc fix.
673 2013-11-19 Leo Liu <sdl.web@gmail.com>
675 * obsolete/rcompile.el: Mark obsolete.
677 * progmodes/compile.el (compilation-start)
678 (compilation-goto-locus, compilation-find-file):
679 Pass no-display-ok and handle nil value from display-buffer.
682 * window.el (display-buffer-alist, display-buffer): Document the
683 new parameter no-display-ok. Return either a window or nil
684 but never a non-window value.
686 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
688 * electric.el (electric-indent-mode-map): Remove.
689 (electric-indent-mode): Change the global-map instead (bug#15915).
691 * textmodes/text-mode.el (paragraph-indent-minor-mode):
694 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
696 * emacs-lisp/nadvice.el (remove-function): Align with
697 add-function's behavior.
699 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
700 (gdb--string-regexp): New constant.
701 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
702 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
703 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
705 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
706 Adjust use accordingly.
707 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
709 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
711 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
712 interpolation curlies (Bug#15914).
714 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
716 * calc/calc.el (calc-context-sensitive-enter): New variable.
717 (calc-enter): Use `calc-context-sensitive-enter'.
719 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
721 * progmodes/cfengine.el: Version bump.
722 (cfengine-cf-promises): New defcustom to locate cf-promises.
723 (cfengine3-vartypes): Add new "data" type.
724 (cfengine3--current-word): New function to get current name-like
726 (cfengine3--current-function): New function to look up a CFEngine
727 function's definition.
728 (cfengine3-format-function-docstring): New function.
729 (cfengine3-make-syntax-cache): New function.
730 (cfengine3-documentation-function): New function: ElDoc glue.
731 (cfengine3-completion-function): New function: completion glue.
732 (cfengine3-mode): Set `compile-command',
733 `eldoc-documentation-function', and add to
734 `completion-at-point-functions'.
736 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
738 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
739 `tramp-current-connection'.
741 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
744 nil/self/true/false with "end of symbol".
746 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
748 * subr.el (version-regexp-alist): Fix a typo.
750 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
752 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
753 "en_US.utf8" and "LC_CTYPE" to "".
754 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
755 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
757 2013-11-15 Leo Liu <sdl.web@gmail.com>
759 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
761 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
763 * progmodes/gud.el (ctl-x-map):
764 Remove C-x SPC binding. (Bug#12342)
765 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
767 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
769 * subr.el (version-regexp-alist):
770 Recognize hg, svn and darcs versions as snapshot versions.
772 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
773 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
774 (ruby--encoding-comment-required-p): Extract from
775 `ruby-mode-set-encoding'.
776 (ruby-mode-set-encoding): Add the ability to always insert an
777 utf-8 encoding comment. Fix and simplify coding comment update
780 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
782 * net/tramp-gvfs.el (top): Run init code only when
783 `tramp-gvfs-enabled' is not nil.
784 (tramp-gvfs-enabled): Check also :system bus.
786 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
788 Sync with upstream verilog-mode revision 78e66ba.
789 * progmodes/verilog-mode.el (verilog-end-of-defun)
790 (verilog-type-completion, verilog-get-list): Remove unused funcs.
791 (verilog-get-end-of-defun): Remove unused argument.
792 (verilog-comment-depth): Remove unused local `e'.
793 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
794 Don't pass arg to verilog-get-end-of-defun.
796 2013-11-14 Glenn Morris <rgm@gnu.org>
798 * obsolete/assoc.el (aget): Prefix dynamic variable.
800 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
802 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
804 * widget.el, hfy-cmap.el: Remove bogus package version number.
806 2013-11-13 Glenn Morris <rgm@gnu.org>
808 * replace.el (replace-eval-replacement):
809 Try to give more helpful error message. (Bug#15836)
811 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
812 (archive-7z-update): Avoid custom type mismatches.
814 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
816 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
818 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
819 address can be empty.
821 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
823 (tramp-gvfs-handle-write-region): Implement APPEND.
825 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
827 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
828 binary "|" operator and closing block args delimiter.
829 Remove FIXME comment referring to Ruby 1.8-only syntax.
830 (ruby-smie--implicit-semi-p): Not after "|" operator.
831 (ruby-smie--closing-pipe-p): New function.
832 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
833 (ruby-smie-rules): Indent after "|".
835 2013-11-12 Glenn Morris <rgm@gnu.org>
837 * ps-print.el (ps-face-attribute-list):
838 Handle anonymous faces. (Bug#15827)
840 2013-11-12 Martin Rudalics <rudalics@gmx.at>
842 * window.el (display-buffer-other-frame): Fix doc-string.
845 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
847 * subr.el (force-mode-line-update): Delete, move to buffer.c.
849 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
851 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
852 (tramp-sh-handle-file-local-copy): Don't write a message when
853 saving temporary files.
855 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
856 both directories are remote.
857 (tramp-smb-handle-directory-files): Do not return double entries.
858 Do not expand full file names.
859 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
860 (tramp-smb-handle-write-region): Implement APPEND.
861 (tramp-smb-get-stat-capability): Fix a stupid bug.
863 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
865 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
867 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
869 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
870 throwing error over malformed let/let* (bug#15814).
872 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
874 * iswitchb.el (iswitchb-mode): Mark obsolete.
876 2013-11-11 Glenn Morris <rgm@gnu.org>
878 * international/uni-bidi.el, international/uni-category.el:
879 * international/uni-name.el, international/uni-numeric.el:
880 Regenerate for Unicode 6.3.0.
882 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
884 * net/tramp.el (tramp-methods):
885 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
886 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
888 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
890 * progmodes/sh-script.el (sh-font-lock-keywords-var):
891 Force highlighting text after Summary keyword in doc face for rpm.
893 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
895 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
896 available and the word has no wildcards, append one to the grep pattern.
897 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
898 (ispell-complete-word): Call `ispell-lookup-words' with the value
899 independent of `ispell-look-p'.
901 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
903 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
905 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
908 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
910 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
911 (ruby-font-lock-keywords): Use backquote.
913 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
915 * progmodes/ruby-mode.el (ruby-smie--forward-token)
916 (ruby-smie--backward-token): Only consider full-string matches.
918 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
920 * faces.el (describe-face): Add distant-foreground.
922 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
924 * progmodes/ruby-mode.el: Improve encoding comment handling.
925 (ruby-encoding-magic-comment-style): New option.
926 (ruby-custom-encoding-magic-comment-template): New option.
927 (ruby--insert-coding-comment, ruby--detect-encoding):
928 New functions extracted from `ruby-mode-set-encoding'.
929 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
930 to control the style of the auto-inserted encoding comment.
932 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
934 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
935 Use `smie-backward-sexp' with token argument.
937 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
939 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
940 Remove instrumentation code.
942 2013-11-08 Glenn Morris <rgm@gnu.org>
944 * progmodes/autoconf.el (autoconf-mode):
945 Tweak comment-start-skip. (Bug#15822)
947 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
949 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
951 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
953 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
955 * man.el (Man-start-calling): New macro, extracted from
956 Man-getpage-in-background.
957 (Man-getpage-in-background): Use it.
958 (Man-update-manpage): New command.
959 (Man-mode-map): Bind it.
961 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
963 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
964 of "and", "or", "&&" and "||".
965 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
966 argument. Prohibit opening curly brace because it could only be a
967 block opener in that position.
968 (ruby-smie--forward-token, ruby-smie--backward-token):
969 Separate "|" from "&" or "*" going after it. That can happen in block
971 (ruby-smie--indent-to-stmt): New function, seeks the end of
972 previous statement or beginning of buffer.
973 (ruby-smie-rules): Use it.
974 (ruby-smie-rules): Check if there's a ":" before a curly block
975 opener candidate; if there is, it's a hash.
977 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
979 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
980 (cl--block-wrapper): Fix last accidental change.
982 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
984 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
985 Instrument, in order to hunt failure on hydra.
987 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
989 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
990 malformed bindings form (bug#15814).
992 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
994 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
995 "." compared to " @ ". This incidentally fixes some indentation
997 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
998 (ruby-smie-grammar): New tokens: "and" and "or".
999 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1000 Exclude "and" and "or". Remove "do" in order to work around token
1002 (ruby-smie-rules): Add all infix tokens. Handle the case of
1003 beginning-of-buffer.
1005 2013-11-06 Glenn Morris <rgm@gnu.org>
1007 * Makefile.in (setwins_almost, setwins_for_subdirs):
1008 Avoid accidental matches.
1010 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * menu-bar.el (popup-menu): Use key-binding.
1014 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1016 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1017 menus, support also the menus produced by minor modes.
1020 2013-11-06 Leo Liu <sdl.web@gmail.com>
1022 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1023 DISTANCE to bound the search. All uses changed. (Bug#15808)
1025 2013-11-06 Glenn Morris <rgm@gnu.org>
1027 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1028 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1029 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1031 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * electric.el (electric-indent-just-newline): New command.
1034 (electric-indent-mode-map): New keymap.
1035 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1036 Re-add :group which weren't redundant.
1038 * electric.el (electric-indent-local-mode): New minor mode.
1039 (electric-indent-functions-without-reindent): New var.
1040 (electric-indent-post-self-insert-function): Use it.
1041 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1043 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1045 * international/quail.el (quail-help): Be more explicit about the
1046 meaning of the labels shown on the keys. (Bug#15800)
1048 * startup.el (normal-top-level): Load the subdirs.el files before
1049 setting the locale environment. (Bug#15805)
1051 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1054 via arguments so as to get the right ones (bug#15418).
1056 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1058 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1060 Fix problems found while writing a test suite.
1062 * net/tramp-compat.el (tramp-compat-load): New defun.
1063 * net/tramp.el (tramp-handle-load): Use it.
1065 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1066 "(numberp ok-if-already-exists)" correctly.
1068 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1070 * international/characters.el (glyphless-char-display-control):
1073 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1075 * progmodes/python.el (python-mode):
1076 * progmodes/scheme.el (scheme-mode):
1077 * progmodes/prolog.el (prolog-mode):
1078 * progmodes/ruby-mode.el (ruby-mode):
1079 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1080 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1082 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * rect.el (rectangle--highlight-for-redisplay):
1085 * emacs-lisp/smie.el (smie--next-indent-change):
1086 Use buffer-chars-modified-tick.
1088 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1090 * electric.el (electric-indent-post-self-insert-function):
1091 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1093 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1095 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1097 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1099 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1102 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1106 * progmodes/python.el: Fix up last change.
1107 (python-shell--save-temp-file): New function.
1108 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1109 `string' comes from the current buffer.
1110 (python-shell-send-string-no-output): Remove `msg' arg.
1111 (python--use-fake-loc): New var.
1112 (python-shell-buffer-substring): Obey it. Try to compensate for the
1113 extra coding line added by python-shell--save-temp-file.
1114 (python-shell-send-region): Use python-shell--save-temp-file and
1115 python-shell-send-file directly. Add `nomain' argument.
1116 (python-shell-send-buffer): Use python-shell-send-region.
1117 (python-electric-pair-string-delimiter): New function.
1118 (python-mode): Use it.
1120 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1122 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1123 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1124 environment and decoding all of the default-directory's to here
1126 (command-line): Decode also argv[0].
1128 * loadup.el: Error out if default-directory is a multibyte string
1129 when we are dumping.
1131 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1133 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1135 * emacs-lisp/package.el (package-menu-mode)
1136 (package-menu--print-info, package-menu--archive-predicate):
1137 Add Archive column to package list.
1139 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1141 Fix problems found while writing a test suite.
1143 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1144 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1145 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1146 to nil when running original file name handler. Otherwise,
1147 there are problems with constructs like "$$FOO".
1149 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1152 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1154 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1156 * subr.el (version<, version<=, version=):
1157 Update docstrings with information for snapshot versions.
1159 * helpers.el: New library for misc helper functions.
1160 (hash-table-keys): New function returning a list of hash keys.
1161 (hash-table-values): New function returning a list of hash values.
1163 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1165 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1166 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1168 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1170 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1171 checking whether point is after a 1-letter word.
1173 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1175 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1176 Don't infloop when expanding region over `multiline' syntax-type that
1177 begins a line (bug#15778).
1179 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1182 Make it into a proper minor mode.
1183 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1184 (rectangle-mark-mode-map): New keymap.
1185 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1187 2013-11-04 Glenn Morris <rgm@gnu.org>
1189 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1191 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1194 (ruby-smie-rules): Use smie-rule-parent instead.
1196 * emacs-lisp/smie.el (smie-rule-parent): Always call
1197 smie-indent-virtual rather than only for hanging tokens.
1198 (smie--next-indent-change): New helper command.
1200 2013-11-03 Glenn Morris <rgm@gnu.org>
1202 * Makefile.in (abs_srcdir): Remove.
1203 (emacs): Unset EMACSLOADPATH.
1205 2013-11-02 Glenn Morris <rgm@gnu.org>
1207 * Makefile.in (EMACS): Use a relative filename.
1208 (abs_top_builddir): Remove.
1209 (custom-deps, finder-data, autoloads): Use --chdir.
1211 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1213 Use relative filenames in TAGS files.
1214 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1215 (lisptagsfiles4, TAGS): Use relative file names.
1216 (TAGS-LISP): Remove.
1217 (maintainer-clean): No more TAGS-LISP file.
1219 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1220 (lisptagsfiles4): Use absolute filenames again.
1221 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1222 Remove all *loaddefs files, not just the first. Remove esh-groups.
1223 (maintainer-clean): Delete TAGS, TAGS-LISP.
1225 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1227 * emacs-lisp/package.el (package-version-join):
1228 Recognize snapshot versions.
1230 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1232 * subr.el (version-regexp-alist): Add support for snapshot versions.
1234 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1236 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1237 New function, replacement for `smie-rule-parent' for when we want to
1238 skip over our direct parent if it's an assignment token..
1239 (ruby-smie-rules): Use it.
1241 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1243 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1244 unconditionally. Remove now unnecessary forward declarations.
1245 Remove XEmacs-specific setup.
1246 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1247 (ruby-font-lock-syntactic-keywords)
1248 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1249 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1250 (ruby-here-doc-end-syntax): Remove.
1251 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1252 defined as function.
1254 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1256 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1258 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1260 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1261 table and abbrev table, `define-derived-mode' does that for us
1264 2013-11-01 Glenn Morris <rgm@gnu.org>
1266 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1267 files is atomic for some time, so no parallel compilation issues).
1269 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1271 * faces.el (face-x-resources): Add :distant-foreground.
1272 (region): Use :distant-foreground for gtk and ns.
1274 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1276 Allow multiple bibliographies when BibLaTeX is used rather than
1278 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1279 (reftex-locate-bibliography-files): Us it.
1281 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1283 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1284 allow comments in pbm files.
1286 * term/w32-win.el (dynamic-library-alist): Support newer versions
1287 of libjpeg starting with v7: look only for the DLL from the
1288 version against which Emacs was built.
1289 Support versions of libpng beyond 1.4.x.
1290 Support libtiff v4.x.
1292 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1294 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1295 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1297 (ruby-deep-arglist): Add property :type.
1299 2013-10-31 Glenn Morris <rgm@gnu.org>
1301 * Makefile.in (custom-deps, finder-data): No need to setq the target
1302 variables, we are in the right directory and the defaults work fine.
1304 2013-10-30 Glenn Morris <rgm@gnu.org>
1306 * Makefile.in (autoloads): Do not use abs_lisp.
1308 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1309 `newline' does not respect `standard-output', so use `princ'.
1311 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1313 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1314 * buff-menu.el (Buffer-menu--unmark): New function.
1315 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1317 2013-10-30 Glenn Morris <rgm@gnu.org>
1319 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1321 * emacs-lisp/package.el (lm-homepage): Declare.
1323 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1326 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1328 * Makefile.in (finder-data, autoloads, update-subdirs)
1329 (compile-main, compile-clean, compile-always, bootstrap-clean):
1330 Check return value of cd.
1331 (compile-calc): Remove.
1333 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1337 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1338 (byte-compile-and-folded): New function.
1339 (=, <, >, <=, >=): Use it.
1341 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1342 (path-separator, null-device, buffer-file-coding-system)
1343 (lpr-headers-switches): Check system-type before modifying them.
1344 (find-buffer-file-type-coding-system): Mark obsolete.
1345 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1346 find-file-not-found-set-buffer-file-coding-system.
1347 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1348 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1349 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1350 (w32-direct-print-region-helper, w32-direct-print-region-function)
1351 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1352 * startup.el (normal-top-level-add-subdirs-to-load-path):
1353 * ps-print.el (ps-print-region-function):
1354 * lpr.el (print-region-function): Use new name.
1356 * subr.el (custom-declare-variable-early): Remove function.
1357 (custom-declare-variable-list): Remove var.
1358 (error, user-error): Remove `while' loop.
1359 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1360 (user-emacs-directory-warning, locate-user-emacs-file):
1362 * simple.el (read-quoted-char-radix, read-quoted-char):
1363 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1365 * custom.el (custom-declare-variable-list): Don't process
1366 custom-declare-variable-list.
1368 * progmodes/python.el (python-shell-get-buffer): New function.
1369 (python-shell-get-process): Use it.
1370 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1371 Python which encoding was used. Don't split-string since we only care
1372 about the first line. Return the temp-file, if applicable.
1373 (python-shell-send-region): Tell compile.el how to turn locations in
1374 the temp-file into locations in the source buffer.
1376 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * subr.el (undefined): Add missing behavior from the C code for
1381 * rect.el: Use lexical-binding. Add new rectangular region support.
1382 (rectangle-mark): New command.
1383 (rectangle--region): New var.
1384 (deactivate-mark-hook): Reset rectangle--region.
1385 (rectangle--extract-region, rectangle--insert-for-yank)
1386 (rectangle--highlight-for-redisplay)
1387 (rectangle--unhighlight-for-redisplay): New functions.
1388 (region-extract-function, redisplay-unhighlight-region-function)
1389 (redisplay-highlight-region-function): Use them to handle
1391 * simple.el (region-extract-function): New var.
1392 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1393 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1394 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1395 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1396 (redisplay-unhighlight-region-function)
1397 (redisplay-highlight-region-function): New vars.
1398 (redisplay--update-region-highlight): New function.
1399 (pre-redisplay-function): Use it.
1400 (exchange-point-and-mark): Don't deactivate the mark before
1401 reactivate-it anyway.
1402 * comint.el (comint-kill-region): Remove yank-handler argument.
1403 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1404 (delete-char): Remove property, since it's now part of their
1406 (self-insert-iso): Remove property since this command doesn't exist.
1408 * emacs-lisp/package.el (package--download-one-archive)
1409 (describe-package-1): Don't query the user about final newline.
1411 2013-10-29 Daniel Colascione <dancol@dancol.org>
1413 * net/tramp.el (tramp-methods): Document new functionality.
1414 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1415 tramp-hostname-checker if method provides one instead of scanning
1416 argument list for "%h" to decide hostname acceptability.
1418 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1420 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1421 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1422 Handle COPY-CONTENTS. (Bug#15737)
1424 2013-10-28 Daiki Ueno <ueno@gnu.org>
1427 (epa-file-cache-passphrase-for-symmetric-encryption):
1428 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1430 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1432 * image.el (defimage):
1433 (image-load-path): Doc fixes.
1435 2013-10-27 Alan Mackenzie <acm@muc.de>
1437 Indent statements in macros following "##" correctly.
1438 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1439 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1441 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1443 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1445 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1447 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1448 after `=' is probably a new expression.
1450 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1452 * man.el (man-imenu-title): New option.
1453 (Man-mode-map): Add menu. (Bug#15722)
1454 (Man-mode): Add imenu to menu.
1456 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1458 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1459 specific in what the first arg can be: a non-keyword word,
1460 string/regexp/percent literal opener, opening paren, or unary
1461 operator followed directly by word.
1463 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1465 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1466 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1467 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1468 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1469 Remove vars, they do not apply any more.
1470 (prolog-mode-abbrev-table): Remove redundant declaration.
1471 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1472 (prolog-use-smie): Remove.
1473 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1474 supported by prolog-electric-if-then-else-flag.
1475 (prolog-mode-variables, prolog-menu): Use setq-local.
1476 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1477 Remove binding to `Backspace' since this key doesn't exist anyway.
1478 Remove bindings for electric self-inserting keys.
1479 (prog-mode): Assume it's defined.
1480 (prolog-post-self-insert): New function.
1481 (prolog-mode): Use it.
1482 (prolog-indent-line, prolog-indent-level)
1483 (prolog-find-indent-of-matching-paren)
1484 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1485 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1486 (prolog-goto-next-paren, prolog-in-string-or-comment)
1487 (prolog-tokenize, prolog-inside-mline-comment)
1488 (prolog-find-start-of-mline-comment): Remove functions.
1489 (prolog-find-unmatched-paren, prolog-clause-end)
1490 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1491 (prolog-electric--if-then-else): Rename from
1492 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1493 (prolog-tokenize-searchkey): Remove const.
1494 (prolog-clause-info): Use forward-sexp.
1495 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1496 (prolog-electric-if-then-else): Remove commands.
1497 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1498 for use in post-self-insert-hook.
1499 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1500 for use in post-self-insert-hook.
1501 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1502 for use in post-self-insert-hook.
1503 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1504 adapt it for use in post-self-insert-hook.
1506 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1508 * emacs-lisp/ert.el (ert-run-tests-interactively):
1509 Use `completing-read'. (Bug#9756)
1511 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1513 * simple.el (line-move): Call line-move-1 instead of
1514 line-move-visual when the current window hscroll is zero, but
1515 temporary-goal-column indicates we will need to hscroll as result
1516 of the movement. (Bug#15712)
1518 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1520 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1521 capitalization. Use :visible instead of :active.
1522 Fix `ruby-indent-exp' reference. Add menu items for the generic
1523 commands that are used with SMIE.
1524 (ruby-do-end-to-brace): Insert space after `{'.
1526 2013-10-25 John Anthony <john@jo.hnanthony.com>
1528 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1530 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1532 2013-10-25 Glenn Morris <rgm@gnu.org>
1534 * vc/vc.el (vc-print-log): Don't use a working revision unless
1535 one was explicitly specified. (Bug#15322)
1537 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1539 * subr.el (add-to-list): Preserve return value in compiler-macro
1542 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1544 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1545 result. Ask user to retry using '-all' flag. (Bug#15701)
1547 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * emacs-lisp/smie.el: New smie-config system.
1550 (smie-config): New defcustom.
1551 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1552 (smie-config-guess, smie-config-save): New commands.
1553 (smie-config--mode-local, smie-config--buffer-local)
1554 (smie-config--trace, smie-config--modefuns): New vars.
1555 (smie-config--advice, smie-config--mode-hook)
1556 (smie-config--setter, smie-config-local, smie-config--get-trace)
1557 (smie-config--guess-value, smie-config--guess): New functions.
1558 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1559 text properties. Treat "string fence" syntax like string syntax.
1561 * progmodes/sh-script.el (sh-use-smie): Change default.
1562 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1563 (sh-var-value): Simplify by CSE.
1564 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1565 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1567 (sh-guess-basic-offset): Use cl-incf.
1568 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1570 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1572 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1575 2013-10-24 Glenn Morris <rgm@gnu.org>
1577 * Makefile.in (abs_top_srcdir): Remove.
1578 (update-subdirs): Use relative path to update-subdirs.
1580 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1582 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1583 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1584 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1585 Call unmsys--file-name before expand-file-name, not after it.
1587 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1589 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1590 (ert-test-skipped): New error.
1591 (ert-skip, ert-stats-skipped): New defuns.
1592 (ert--skip-unless): New macro.
1593 (ert-test-skipped): New struct.
1594 (ert--run-test-debugger, ert-test-result-type-p)
1595 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1596 (ert--stats-set-test-and-result, ert-char-for-test-result)
1597 (ert-string-for-test-result, ert-run-tests-batch)
1598 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1599 Handle skipped tests. (Bug#9803)
1601 2013-10-24 Glenn Morris <rgm@gnu.org>
1603 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1605 * Makefile.in (abs_top_srcdir): New, set by configure.
1606 (update-subdirs): Correct build-aux location.
1608 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1610 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1611 value, whether we could auto-deduce `backend', or not.
1613 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1614 with parameters" example. Simplify the "is it block or is it
1615 hash" check, but also make it more thorough.
1617 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1619 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1621 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1626 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1629 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1631 * progmodes/compile.el (compilation-directory-matcher)
1632 (compilation-page-delimiter):
1633 Support GNU Make-4.0 directory quoting. (Bug#15678)
1635 2013-10-23 Leo Liu <sdl.web@gmail.com>
1637 * ido.el (ido-tidy): Handle read-only text.
1639 2013-10-23 Glenn Morris <rgm@gnu.org>
1641 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1642 (emacs, compile, compile-always):
1643 Quote entities that might contain whitespace.
1644 (custom-deps, finder-data, autoloads): Use abs_lisp.
1645 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1646 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1647 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1649 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1651 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1652 Use `following-char'.
1654 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1657 * progmodes/ruby-mode.el (ruby-smie-rules):
1658 Remove corresponding workaround. Fix indentation rule of ";" so it
1659 also applies when ";" is the parent.
1661 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1663 * frame.el (display-screens, display-pixel-height)
1664 (display-pixel-width, display-mm-width, display-backing-store)
1665 (display-save-under, display-planes, display-color-cells)
1666 (display-visual-class, display-monitor-attributes-list):
1667 Mention the optional ‘display’ argument in doc strings.
1669 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1671 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1672 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1674 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1676 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1677 TODO. Add "." after " @ ".
1678 (ruby-smie--at-dot-call): New function. Checks if point at method
1679 call with explicit target.
1680 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1681 to the method name tokens when it precedes them.
1682 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1683 (ruby-smie-rules): Add rule for indentation before and after "."
1686 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1688 * textmodes/remember.el (remember-diary-extract-entries):
1691 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1694 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1696 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1697 (ruby-smie--implicit-semi-p): Add new operator chars.
1699 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1701 (ruby-smie--args-separator-p): Check that there's no newline
1702 between method call and its arguments.
1704 2013-10-20 Alan Mackenzie <acm@muc.de>
1706 Allow comma separated lists after Java "implements".
1708 * progmodes/cc-engine.el (c-backward-over-enum-header):
1710 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1711 from a "disallowed" list in enum fontification.
1713 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1715 * startup.el (default-frame-background-mode): Remove unused defvar.
1717 * progmodes/verilog-mode.el (verilog-mode): Don't set
1718 comment-indent-function globally.
1720 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1722 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1723 Move Info menu item creation to ns-win.el.
1725 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1728 * menu-bar.el: Move GNUStep specific menus...
1730 * term/ns-win.el (ns-initialize-window-system): ... to here.
1732 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1734 * simple.el (newline): Only run post-self-insert-hook when
1735 called interactively.
1737 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1739 * icomplete.el (icomplete-with-completion-tables): Add :version.
1741 2013-10-19 Alan Mackenzie <acm@muc.de>
1743 Fix fontification bugs with constructors and const.
1745 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1746 CASE 2) Remove the check for the absence of a suffix construct
1747 after a function declaration with only types (no identifiers) in
1748 the parentheses. Also, accept a function declaration with just a
1749 type inside the parentheses, if this type can be positively
1750 recognised as such, or if a prefix keyword like "explicit" nails
1751 down the construct as a declaration.
1753 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1755 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1756 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1757 the problem whereby selecting a menu item that leads to a
1758 minibuffer prompt moves the cursor out of the minibuffer window,
1759 making it hard to type at the prompt. Suggested by Stefan Monnier
1760 <monnier@iro.umontreal.ca>.
1762 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1764 * menu-bar.el: Don't make Services menu.
1766 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1768 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1769 (ffap-alist): Use ffap-c++-mode for c++-mode.
1770 (ffap-c++-path): New variable.
1771 (ffap-c++-mode): New function.
1773 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1775 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1777 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1779 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1780 introduced on 2013-09-08, which results in an infinite loop
1781 requesting a password.
1783 2013-10-18 Glenn Morris <rgm@gnu.org>
1785 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1787 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1789 Sync with upstream verilog-mode revision 1a6ecec7.
1790 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1791 (verilog-mode-release-date): Remove.
1792 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1793 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1794 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1795 (verilog-auto-tieoff-ignore-regexp)
1796 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1797 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1798 (verilog-signals-with, verilog-dir-cache-preserving)
1799 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1801 (verilog-case-fold): New option, to control case folding in
1802 regexp searches, bug597.
1803 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1804 (verilog-string-match-fold, verilog-in-paren-count)
1805 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1806 (verilog-at-close-struct-p): New functions.
1807 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1808 (verilog-forward-sexp, verilog-set-auto-endcomments):
1809 (verilog-leap-to-case-head): Handle "unique0" case.
1810 (verilog-in-constraint-re): New constant.
1811 (verilog-keywords, verilog-type-font-keywords):
1812 Add some SystemVerilog 1800-2012 keywords.
1813 (verilog-label-be): Remove unimplemented argument, bug669.
1814 (verilog-batch-execute-func): When batch expanding clear
1815 create-lockfiles to prevent spurious user locks when a file ends
1817 (verilog-calculate-indent, verilog-calc-1)
1818 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1819 (verilog-do-indent): Fix indentation of nested constraints
1821 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1822 (verilog-auto-inst-param): Use verilog-string-match-fold.
1823 (verilog-read-inst-module-matcher):
1824 Fix AUTOINST on gate primitives with #1.
1825 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1826 Reads all user-defined typed variables.
1827 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1828 (verilog-signals-matching-regexp)
1829 (verilog-signals-not-matching-regexp, verilog-auto):
1830 Respect verilog-case-fold.
1831 (verilog-diff-report): Fix line count.
1832 (verilog-auto-assign-modport): Remove unused local `modi'.
1833 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1834 better handle multidimensional arrays.
1835 Fix packed array ports misadding bit index in AUTOINST, bug637.
1836 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1837 to not double-declare existing outputs and inputs, respectively.
1838 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1839 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1840 (verilog-sk-uvm-component): New skeleton.
1841 (verilog-submit-bug-report): Add verilog-case-fold,
1842 remove verilog-mode-release-date.
1844 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1846 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1849 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1851 * textmodes/remember.el (remember): set buffer-offer-save in
1852 remember buffers (bug#13566).
1854 2013-10-18 Daniel Colascione <dancol@dancol.org>
1856 When evaluating forms in ielm, direct standard output to ielm
1857 buffer. Add new ielm-return-for-effect command. Remove trailing
1858 whitespace throughout.
1860 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1861 (ielm-return-for-effect): New command.
1862 (ielm-send-input): Accept optional `for-effect' parameter.
1863 (ielm-eval-input): Accept optional `for-effect' parameter.
1864 Bind `standard-output' to stream we create using
1865 `ielm-standard-output-impl'. Suppress printing result when
1867 (ielm-standard-output-impl): New function.
1868 (inferior-emacs-lisp-mode): Explain new features in documentation.
1870 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1874 * net/tramp.el (tramp-debug-message): Do not check for connection
1876 (tramp-message): Use "vector" connection property.
1878 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1879 (tramp-equal-remote, tramp-eshell-directory-change)
1880 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1881 (tramp-adb-handle-rename-file)
1882 * net/tramp-cmds.el (tramp-list-remote-buffers)
1883 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1884 * net/tramp-compat.el (tramp-compat-process-running-p)
1885 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1886 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1887 (tramp-gvfs-handle-rename-file)
1888 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1889 (tramp-set-file-uid-gid)
1890 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1891 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1894 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1895 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1896 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1897 (tramp-gw-open-network-stream): Suppress unrelated traces.
1899 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1900 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1901 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1902 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1903 connection property.
1905 * net/tramp-cache.el (top): Suppress traces when reading
1908 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1909 Refactor common code. Improve debug message.
1910 (tramp-maybe-open-connection)
1911 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1912 connection buffer too early.
1914 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1915 from `tramp-smb-actions-with-acl'.
1916 (tramp-smb-actions-set-acl): New defconst.
1917 (tramp-smb-handle-copy-directory)
1918 (tramp-smb-action-get-acl): New defun, renamed from
1919 `tramp-smb-action-with-acl'.
1920 (tramp-smb-action-set-acl): New defun.
1921 (tramp-smb-handle-set-file-acl): Rewrite.
1923 2013-10-17 Glenn Morris <rgm@gnu.org>
1925 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1927 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * skeleton.el (skeleton-newline): Remove.
1930 (skeleton-internal-1): Use (insert "\n") instead.
1932 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1935 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1936 forward-sexp-function while we redo its job (bug#15613).
1938 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1940 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1941 represented by lists.
1943 2013-10-16 Glenn Morris <rgm@gnu.org>
1945 * tmm.el (tmm--history): New dynamic variable.
1946 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1948 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1950 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1951 (tramp-smb-errors): Add error messages.
1952 (tramp-smb-actions-with-acl): New defconst.
1953 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1954 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1955 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1956 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1957 (tramp-smb-get-stat-capability): Fix tests.
1959 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1961 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1964 2013-10-16 Glenn Morris <rgm@gnu.org>
1966 * ansi-color.el (ansi-color-drop-regexp):
1967 Add 1J, 1K, 2K. (Bug#15617)
1969 * files.el (hack-local-variables--warned-lexical): New.
1970 (hack-local-variables):
1971 Warn about misplaced lexical-binding. (Bug#15616)
1973 * net/eww.el (eww-render): Always set eww-current-url,
1974 and update header line. (Bug#15622)
1975 (eww-display-html): ... Rather than just doing it here.
1977 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1979 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1980 menu navigations commands.
1982 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1984 * progmodes/subword.el (subword-capitalize): Be careful when
1985 the search for [[:alpha:]] fails (bug#15580).
1987 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1989 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1990 to commands that scroll the menu.
1992 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1994 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1995 Handle methods ending with `?' and `!'.
1997 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1999 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2000 `japanese-cp932' to `cp932' to fix the problem where saving a
2001 source file written in Shift_JIS twice would end up having
2002 `coding: japanese-cp932' which Ruby could not recognize.
2003 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2004 in `ruby-encoding-map'.
2005 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2006 doesn't need to be explicitly declared in magic comment.
2007 (ruby-encoding-map): Add type declaration for better customize UI.
2009 2013-10-13 Glenn Morris <rgm@gnu.org>
2011 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2012 Occur buffers are read-only. http://bugs.debian.org/720775
2014 * emacs-lisp/authors.el (authors-fixed-entries):
2015 Comment out old alpha stuff.
2017 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2019 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2020 to `after-save-hook' instead of `before-save-hook'.
2021 (ruby-mode-set-encoding): Use the value of coding system used to
2022 write the file. Call `basic-save-buffer-1' after modifying the
2025 2013-10-13 Alan Mackenzie <acm@muc.de>
2027 Fix indentation/fontification of Java enum with
2028 "implements"/generic.
2030 * progmodes/cc-engine.el (c-backward-over-enum-header):
2031 Extracted from the three other places and enhanced to handle generics.
2032 (c-inside-bracelist-p): Uses new function above.
2033 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2035 (c-font-lock-enum-tail): Uses new function above.
2037 2013-10-13 Kenichi Handa <handa@gnu.org>
2039 * international/mule-cmds.el (select-safe-coding-system): Remove a
2040 superfluous condition in chekcing whether a coding system is safe
2043 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2045 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2047 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2049 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2051 2013-10-13 Glenn Morris <rgm@gnu.org>
2053 * menu-bar.el (menu-bar-update-buffers):
2054 Unify Buffers menu prompt string. (Bug#15576)
2056 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2058 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2060 (authors-fixed-entries): Use accented form of name.
2062 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2065 method calls (bug#15594).
2066 (ruby-smie--args-separator-p): New function.
2067 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2068 recognize paren-free method calls.
2070 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2071 internals of universal-argument.
2073 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2075 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2076 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2077 dropped menu on second mouse click on the menu bar.
2079 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2081 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2082 (explicit-shell-file-name): Declare.
2083 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2084 (sh-completion-at-point-function): New function.
2086 (sh-smie--keyword-p): Remove unused argument.
2087 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2089 (sh-set-shell): Always setup SMIE, even if we use the
2090 old indentation code.
2092 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2094 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2096 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2097 predicate would return nil are almost non-existent.
2098 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2100 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2101 cache also after commands that modify the buffer but don't move
2104 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * env.el (substitute-env-in-file-name): New function.
2107 (substitute-env-vars): Extend the meaning of the optional arg.
2109 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2111 * term/w32-win.el (dynamic-library-alist): Define separate lists
2112 of GIF DLLs for versions before and after 5.0.0 of giflib.
2115 2013-10-10 João Távora <joaotavora@gmail.com>
2117 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2118 not locked, use last revision and current source as
2119 defaults. (Bug#15569)
2121 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2123 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2126 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2128 * window.el (pop-to-buffer-same-window): Fix doc-string.
2131 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2135 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2137 * calendar/icalendar.el (icalendar-import-file):
2138 Fix interactive spec. (Bug#15482)
2140 2013-10-10 Glenn Morris <rgm@gnu.org>
2142 * desktop.el (desktop-save): Default to saving in .emacs.d,
2143 since PWD is no longer in desktop-path by default. (Bug#15319)
2145 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2146 now that text mode has a menu with the same entry.
2147 (menu-bar-text-mode-auto-fill): Remove now unused func.
2148 * textmodes/text-mode.el (text-mode-map):
2149 Use auto-fill help text from menu-bar.el.
2151 2013-10-10 John Anthony <john@jo.hnanthony.com>
2153 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2155 2013-10-09 Juri Linkov <juri@jurta.org>
2157 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2158 instead of this-command-keys. Add universal-argument-more and
2159 universal-argument-minus to the list of prefix commands. (Bug#15568)
2161 2013-10-09 Glenn Morris <rgm@gnu.org>
2163 * vc/vc-svn.el (vc-svn-create-repo):
2164 Expand paths in file://... url. (Bug#15446)
2166 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2168 (authors): Remove unused local variables.
2170 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * profiler.el: Create a more coherent calltree from partial backtraces.
2173 (profiler-format): Hide the tail with `invisible' so that C-s can still
2174 find the hidden elements.
2175 (profiler-calltree-depth): Don't recurse so enthusiastically.
2176 (profiler-function-equal): New hash-table-test.
2177 (profiler-calltree-build-unified): New function.
2178 (profiler-calltree-build): Use it.
2179 (profiler-report-make-name-part): Indent the calltree less.
2180 (profiler-report-mode): Add visibility specs for profiler-format.
2181 (profiler-report-expand-entry, profiler-report-toggle-entry):
2182 Expand the whole subtree when provided with a prefix arg.
2184 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2186 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2188 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2189 hanging iuwu-mod token.
2190 (ruby-smie--forward-token): Do not include a dot after a token in
2192 (ruby-smie--backward-token): Likewise.
2194 2013-10-08 Juri Linkov <juri@jurta.org>
2196 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2197 to isearch-other-control-char.
2198 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2199 and isearch-post-command-hook to post-command-hook.
2200 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2201 and isearch-post-command-hook from post-command-hook.
2202 (isearch-unread-key-sequence)
2203 (isearch-reread-key-sequence-naturally)
2204 (isearch-lookup-scroll-key, isearch-other-control-char)
2205 (isearch-other-meta-char): Remove functions.
2206 (isearch-pre-command-hook, isearch-post-command-hook):
2207 New functions based on isearch-other-meta-char rewritten
2208 relying on the new behavior of overriding-terminal-local-map
2209 that does not replace the local keymaps any more. (Bug#15200)
2211 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2213 Support menus on text-mode terminals.
2214 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2217 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2219 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2220 Move here from mouse.el.
2221 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2223 (tty-menu-navigation-map): New map for TTY menu navigation.
2225 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2227 * frame.el (display-mouse-p): Report text-mode mouse as available
2229 (display-popup-menus-p): Report availability if mouse is
2230 available; don't condition on window-system.
2232 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2233 (tty-menu-selected-face): New faces.
2235 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2238 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2239 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2240 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2242 (lisp-mode-variables): New `elisp' argument.
2243 (emacs-lisp-mode): Use it.
2244 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2245 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2247 * indent.el: Use lexical-binding.
2248 (indent-region): Add progress reporter.
2249 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2251 (indent--next-tab-stop): New function to implement this behavior.
2252 (tab-to-tab-stop, move-to-tab-stop): Use it.
2254 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2256 * indent.el (indent-rigidly--current-indentation): New function.
2257 (indent-rigidly-map): New var.
2258 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2260 2013-10-08 Bastien Guerry <bzg@gnu.org>
2262 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2264 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * progmodes/perl-mode.el: Use lexical-binding.
2267 Remove redundant :group args.
2268 (perl-nochange): Change default to be closer to other major modes's
2270 (perl-indent-line): Don't consider text on current line as a
2271 valid beginning of function from which to indent.
2273 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2274 with more than one argument (bug#15538).
2276 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2278 * vc/pcvs.el: Use lexical-binding.
2279 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2280 environment of `eval'.
2281 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2282 than a list of expressions. Adjust callers.
2283 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2285 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2287 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2288 case of the dot in a chained method call being on the following line.
2290 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * electric.el (electric-indent-inhibit): New var.
2293 (electric-indent-post-self-insert-function): Use it.
2294 * progmodes/python.el (python-mode): Set it.
2296 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2299 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2301 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2302 (css-mode): Use electric-indent-chars.
2304 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2305 (font-lock-beg, font-lock-end): Move before first use.
2306 (nxml-mode): Use syntax-propertize-function.
2307 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2308 (nxml-extend-after-change-region): Remove.
2309 * nxml/xmltok.el: Use lexical-binding.
2310 (xmltok-save): Use `declare'.
2311 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2312 * nxml/nxml-util.el: Use lexical-binding.
2313 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2315 * nxml/nxml-ns.el: Use lexical-binding.
2316 (nxml-ns-save): Use `declare'.
2317 (nxml-ns-prefixes-for): Avoid add-to-list.
2318 * nxml/rng-match.el: Use lexical-binding.
2319 (rng--ipattern): Use cl-defstruct.
2320 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2321 (rng-cons-group-after, rng-subst-group-after)
2322 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2323 Use closures instead of `(lambda...).
2325 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2327 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2331 Use `tramp-handle-insert-file-contents'.
2332 (tramp-gvfs-handle-insert-file-contents): Remove function.
2334 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2335 Use `save-restriction' in order to keep markers.
2337 * net/trampver.el: Update release number.
2339 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * progmodes/compile.el (compilation-parse-errors):
2342 Use compilation--put-prop.
2343 (compilation--ensure-parse): Check compilation-multiline.
2345 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2347 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2350 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2352 * progmodes/ruby-mode.el: Fix recently added tests.
2353 (ruby-smie-grammar): Add - and +.
2354 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2355 (ruby-smie--backward-id): New functions.
2356 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2357 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2360 2013-10-07 Leo Liu <sdl.web@gmail.com>
2362 * register.el (register-preview-delay)
2363 (register-preview-functions): New variables.
2364 (register-read-with-preview, register-preview)
2365 (register-describe-oneline): New functions.
2366 (point-to-register, window-configuration-to-register)
2367 (frame-configuration-to-register, jump-to-register)
2368 (number-to-register, view-register, insert-register)
2369 (copy-to-register, append-to-register, prepend-to-register)
2370 (copy-rectangle-to-register): Use register-read-with-preview to
2371 read register. (Bug#15525)
2373 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2375 * net/network-stream.el (network-stream-open-starttls): Don't add
2376 --insecure if it's already present, because that gnutls-cli
2377 rejects getting that parameter twice.
2379 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2381 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2384 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2386 * newcomment.el (comment-use-global-state): Change default value
2387 to t, mark obsolete (Bug#15251).
2388 (comment-beginning): In addition to `comment-to-syntax', check the
2389 value of `comment-use-global-state'.
2391 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2393 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2394 (ruby-comment-column): Follow the global default, by default.
2395 (ruby-smie-grammar): Add assignment syntax.
2396 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2397 open-paren, a comma, or a \.
2398 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2399 and line continuations.
2400 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2401 followed by implicit semi-colons. Add rule for string concatenation
2402 and for indentation at BOB.
2403 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2405 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2406 calling next-sexp, since next-token may have skipped chars which
2407 next-sexp doesn't know should be skipped!
2409 2013-10-05 Leo Liu <sdl.web@gmail.com>
2411 * progmodes/octave.el (octave-send-region):
2412 Call compilation-forget-errors.
2414 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2416 * vc/vc-svn.el (vc-svn-find-admin-dir):
2417 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2418 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2419 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2420 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2422 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2426 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * subr.el (read-passwd): Hide chars even when called within a context
2429 where after-change-functions is disabled (bug#15501).
2430 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2431 until we removed ourself from overriding-terminal-local-map.
2433 2013-10-04 Leo Liu <sdl.web@gmail.com>
2435 * progmodes/octave.el (inferior-octave-mode):
2436 Call compilation-forget-errors.
2438 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2440 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2442 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2444 * net/secrets.el (secrets-create-collection): Add optional
2445 argument ALIAS. Use proper Label keyword. Append ALIAS as
2446 dbus-call-method argument. (Bug#15516)
2448 2013-10-04 Leo Liu <sdl.web@gmail.com>
2450 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2451 (inferior-octave-compilation-font-lock-keywords): New variables.
2452 (compilation-error-regexp-alist)
2453 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2454 (inferior-octave-mode): Use compilation-shell-minor-mode.
2456 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2458 * minibuffer.el (completion--replace): Be careful that `end' might be
2461 2013-10-03 Daiki Ueno <ueno@gnu.org>
2463 Add support for package signature checking.
2464 * emacs-lisp/package.el (url-http-file-exists-p)
2465 (epg-make-context, epg-context-set-home-directory)
2466 (epg-verify-string, epg-context-result-for)
2467 (epg-signature-status, epg-signature-to-string)
2468 (epg-check-configuration, epg-configuration)
2469 (epg-import-keys-from-file): Declare.
2470 (package-check-signature): New user option.
2471 (package-unsigned-archives): New user option.
2472 (package-desc): Add `signed' field.
2473 (package-load-descriptor): Set `signed' field if .signed file exists.
2474 (package--archive-file-exists-p): New function.
2475 (package--check-signature): New function.
2476 (package-install-from-archive): Check package signature.
2477 (package--download-one-archive): Check archive signature.
2478 (package-delete): Remove .signed file.
2479 (package-import-keyring): New command.
2480 (package-refresh-contents): Import default keyring.
2481 (package-desc-status): Add "unsigned" status.
2482 (describe-package-1, package-menu--print-info)
2483 (package-menu-mark-delete, package-menu--find-upgrades)
2484 (package-menu--status-predicate): Support "unsigned" status.
2486 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2488 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2489 the new compilation scheme using the new byte-codes.
2491 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2492 (byte-pophandler): New byte codes.
2493 (byte-goto-ops): Adjust accordingly.
2494 (byte-compile--use-old-handlers): New var.
2495 (byte-compile-catch): Use new byte codes depending on
2496 byte-compile--use-old-handlers.
2497 (byte-compile-condition-case--old): Rename from
2498 byte-compile-condition-case.
2499 (byte-compile-condition-case--new): New function.
2500 (byte-compile-condition-case): New function that dispatches depending
2501 on byte-compile--use-old-handlers.
2502 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2505 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2506 Optimize under `condition-case' and `catch' if
2507 byte-compile--use-old-handlers is nil.
2508 (disassemble-offset): Handle new bytecodes.
2510 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * subr.el (error): Use `declare'.
2513 (decode-char, encode-char): Use advertised-calling-convention instead
2514 of the docstring to discourage use of the `restriction' arg.
2516 2013-10-03 Daiki Ueno <ueno@gnu.org>
2518 * epg.el (epg-verify-file): Add a comment saying that it does not
2519 notify verification error as a return value nor a signal.
2520 (epg-verify-string): Ditto.
2522 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2524 * progmodes/compile.el (compilation-start): Try globbing the arg to
2527 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2529 Sync with Tramp 2.2.8.
2531 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2532 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2533 * net/trampver.el: Update release number.
2535 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2537 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2538 and default-process-coding-system for darwin only.
2540 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2544 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2546 * vc/vc-git.el (vc-git-grep): Disable pager.
2548 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2550 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2551 Use :url instead of :homepage, as per
2552 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2554 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2555 non-nil, use `syntax-ppss' (Bug#15251).
2557 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2559 * progmodes/octave.el (inferior-octave-startup-file):
2560 Prefer ~/.emacs.d/init_octave.m.
2562 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2564 * emacs-lisp/package.el (package-desc-from-define):
2565 Accept additional arguments as plist, convert them to an alist and store
2566 them in the `extras' slot.
2567 (package-generate-description-file): Convert extras alist back to
2568 plist and append to the `define-package' form arguments.
2569 (package--alist-to-plist): New function.
2570 (package--ac-desc): Add `extras' slot.
2571 (package--add-to-archive-contents): Check if the archive-contents
2572 vector is long enough, and if it is, pass its `extras' slot value
2573 to `package-desc-create'.
2574 (package-buffer-info): Call `lm-homepage', pass the returned value
2575 to `package-desc-from-define'.
2576 (describe-package-1): Render the homepage button (Bug#13291).
2578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2579 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2581 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2583 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2584 and default-process-coding-system to utf-8-unix (Bug#15402).
2586 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2588 * subr.el (looking-back): Do not recommend using looking-back.
2590 2013-09-28 Alan Mackenzie <acm@muc.de>
2592 Fix indentation/fontification of Java enum with "implements".
2594 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2595 regexp which matches "implements", etc., in Java.
2596 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2597 specifier clauses coming after "enum".
2598 * progmodes/cc-fonts.el (c-font-lock-declarations)
2599 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2602 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2604 * faces.el (region): Change ns_selection_color to
2605 ns_selection_fg_color, add ns_selection_bg_color.
2607 2013-09-28 Leo Liu <sdl.web@gmail.com>
2609 * progmodes/octave.el (inferior-octave-completion-table)
2610 (inferior-octave-completion-at-point): Minor tweaks.
2612 * textmodes/ispell.el (ispell-lookup-words): Rename from
2613 lookup-words. (Bug#15460)
2614 (lookup-words): Obsolete.
2615 (ispell-complete-word, ispell-command-loop): All uses changed.
2617 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2619 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2620 (octave-mode-menu): Add octave-send-buffer.
2621 (octave-send-buffer): New function.
2623 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2625 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2627 (octave-mode-menu): Add octave-lookfor.
2628 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2630 (octave-lookfor): New function.
2632 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * emacs-lisp/cl-macs.el:
2635 (cl--loop-destr-temps): Remove.
2636 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2638 (cl--loop-set-iterator-function): New function.
2639 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2640 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2641 Bind `it' with `let' instead of substituting it with `cl-subst'.
2642 (cl--unused-var-p): New function.
2643 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2644 Eliminate some unused variable warnings (bug#15326).
2646 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2648 * doc-view.el (doc-view-scale-reset): Rename from
2649 `doc-view-reset-zoom-level'.
2650 (doc-view-scale-adjust): New command.
2651 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2652 `doc-view-scale-adjust'.
2654 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2656 * doc-view.el (doc-view-reset-zoom-level): New command.
2657 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2658 zoom commands (bug#15466).
2660 2013-09-26 Kenichi Handa <handa@gnu.org>
2662 * international/quail.el (quail-help): Make it not a command.
2664 2013-09-26 Leo Liu <sdl.web@gmail.com>
2666 * minibuffer.el (completion-all-sorted-completions): Make args
2667 optional as they are.
2669 2013-09-25 Daniel Colascione <dancol@dancol.org>
2671 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2672 specs are and that they're not evaluated.
2674 2013-09-24 Sam Steingold <sds@gnu.org>
2676 * midnight.el (clean-buffer-list-kill-regexps)
2677 (clean-buffer-list-kill-buffer-names): Update for the new Man
2678 buffer naming which includes the object name.
2680 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2683 (eshell-parse-command, eshell-parse-pipeline): Use it since
2684 eshell-separate-commands requires a dynamic scoped var.
2685 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2687 2013-09-23 Leo Liu <sdl.web@gmail.com>
2689 * autoinsert.el (auto-insert-alist): Make the value of
2690 lexical-binding match its file setting.
2692 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2694 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2696 * autoarg.el (autoarg-kp-digit-argument):
2697 * electric.el (Electric-command-loop):
2698 * kmacro.el (kmacro-step-edit-insert):
2699 Do not set universal-argument-num-events.
2701 2013-09-22 Leo Liu <sdl.web@gmail.com>
2703 * files.el (interpreter-mode-alist): Add octave.
2705 2013-09-21 Alan Mackenzie <acm@muc.de>
2707 C++: fontify identifier in declaration following "public:" correctly.
2708 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2709 to match "public", etc.
2710 (c-decl-prefix-re): Add ":" into the C++ value.
2711 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2712 bit. Add a check for a ":" preceded by "public", etc.
2714 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2716 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2717 recognized by GDB 7.5 and later.
2719 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2721 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2723 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * subr.el (internal--call-interactively): New const.
2726 (called-interactively-p): Use it (bug#3984).
2728 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2730 * vc/pcvs.el (cvs-mode-ignore):
2731 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2732 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2734 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2736 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2737 (eshell-ls-orig-insert-directory): Remove.
2738 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2739 (eshell-ls-use-in-dired): Use advice-add/remove.
2740 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2741 Add `orig-fun' arg for use in :around advice.
2742 Make it check (redundantly) eshell-ls-use-in-dired.
2744 2013-09-19 Glenn Morris <rgm@gnu.org>
2746 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2748 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2750 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2752 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2754 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2755 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2756 (tramp-get-remote-python): New defuns.
2757 (tramp-get-remote-uid-with-perl)
2758 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2759 contributed by yary <not.com@gmail.com> (tiny change).
2760 (tramp-get-remote-uid-with-python)
2761 (tramp-get-remote-gid-with-python): New defuns. Python code
2762 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2763 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2765 2013-09-19 Glenn Morris <rgm@gnu.org>
2767 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2769 * eshell/em-unix.el (eshell-remove-entries):
2770 Rename argument to avoid name-clash with global `top-level'.
2772 * eshell/esh-proc.el (eshell-kill-process-function):
2773 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2774 (eshell-reset-after-proc): Remove unused arg `proc'.
2776 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2777 (directory-files-and-attributes): Mark unused arg.
2779 * eshell/em-unix.el (eshell-remove-entries):
2780 Remove unused arg `path'. Update callers.
2782 * eshell/em-hist.el (eshell-hist-parse-arguments):
2783 Remove unused arg `silent'. Update callers.
2785 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2786 Fix (f)boundp mix-up.
2788 * eshell/em-smart.el (eshell-smart-scroll-window)
2789 (eshell-disable-after-change):
2790 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2792 2013-09-18 Alan Mackenzie <acm@muc.de>
2794 Fix fontification of type when followed by "const".
2795 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2796 "known" types from fontification.
2798 2013-09-18 Glenn Morris <rgm@gnu.org>
2800 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2801 (chart-face-list): Drop Emacsen without display-color-p.
2803 * net/eww.el (libxml-parse-html-region): Declare.
2804 (eww-display-html): Explicit error if no libxml2 support.
2806 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2808 * image.el (image-type-from-buffer, image-multi-frame-p):
2809 Remove --without-x warning/error.
2811 * mouse.el (mouse-yank-primary):
2812 * term.el (term-mouse-paste):
2813 Reorder to silence --without-x compilation.
2815 * mpc.el (doc-view-mode): Silence --without-x compilation.
2817 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2818 Silence --without-x compilation.
2820 * progmodes/gud.el (gud-find-file, gud-mode):
2821 Silence --without-x compilation.
2822 (tooltip-mode): Declare.
2824 * wdired.el (dired-backup-overwrite): Remove declaration.
2825 (wdired-mode-map): Add doc string.
2827 * custom.el (x-get-resource): Declare.
2829 * eshell/em-glob.el (ange-cache):
2830 * eshell/em-unix.el (ange-cache): Declare.
2832 * faces.el (x-display-list, x-open-connection, x-get-resource):
2835 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2836 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2839 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2841 * net/gnutls.el (gnutls-log-level): Declare.
2843 * net/shr.el (image-size, image-animate): Declare.
2845 * simple.el (font-info): Declare.
2847 * subr.el (x-popup-dialog): Declare.
2849 * term/common-win.el (x-select-enable-primary)
2850 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2853 * term/ns-win.el (x-handle-args): Declare.
2855 * term/x-win.el (x-select-enable-clipboard): Declare.
2857 * term/w32-win.el (create-default-fontset): Declare.
2859 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2862 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2863 (fit-frame-to-buffer): Explicit error if --without-x.
2864 (mouse-autoselect-window-select): Silence compiler.
2866 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2868 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2869 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2870 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2871 * eshell/esh-util.el (eshell-sublist):
2872 Remove unused local variables.
2874 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2876 * textmodes/two-column.el: Make 2C-split work for --without-x.
2877 (scroll-bar-columns): Autoload.
2878 (top-level): Require fringe when compiling.
2880 2013-09-18 Leo Liu <sdl.web@gmail.com>
2882 * subr.el (add-hook): Robustify to handle closure as well.
2884 2013-09-17 Glenn Morris <rgm@gnu.org>
2886 * simple.el (messages-buffer-mode-map): Unbind "g".
2888 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2890 * help-mode.el (help-mode-finish): Use derived-mode-p.
2891 Remove obsolete highlighting.
2893 * play/life.el (life-mode): Use define-derived-mode. Derive from
2895 (life): Let-bind inhibit-read-only.
2896 (life-setup): Avoid `setq'. Use `life-mode'.
2898 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2899 which should not be needed any more.
2900 (package-menu-refresh, package-menu-describe-package): Use user-error.
2902 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2903 (eshell-post-rewrite-command-hook): Make obsolete.
2904 (eshell-parse-command): Simplify.
2905 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2906 (eshell--cmd): Declare.
2907 (eshell-parse-pipeline): Remove unused var `final-p'.
2908 Pass a dynvar to eshell-post-rewrite-command-hook.
2909 Implement the new eshell-post-rewrite-command-function.
2910 (eshell-invoke-directly): Remove unused arg `input'.
2911 * eshell/esh-io.el (eshell-io-initialize):
2912 Use eshell-post-rewrite-command-function (bug#15399).
2913 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2914 adjust to new calling convention.
2915 (eshell-create-handles): Rename args to avoid clashing with dynvar
2918 2013-09-17 Glenn Morris <rgm@gnu.org>
2920 * simple.el (messages-buffer-mode): New major mode.
2921 (messages-buffer): New function.
2922 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2923 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2924 (ert-run-test): Use `messages-buffer' function.
2925 (ert--force-message-log-buffer-truncation): Ignore read-only.
2926 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2927 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2929 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2933 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2935 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * icomplete.el (icomplete-in-buffer): New var.
2938 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2939 vars and replace them with functions.
2940 (icomplete-minibuffer-setup): Adjust accordingly.
2941 (icomplete--completion-table, icomplete--completion-predicate)
2942 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2944 (icomplete-forward-completions, icomplete-backward-completions)
2945 (icomplete-simple-completing-p, icomplete-exhibit)
2946 (icomplete-completions): Use them.
2947 (icomplete--in-region-buffer): New var.
2948 (icomplete--in-region-setup): New function.
2949 (icomplete-mode): Use it.
2951 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2953 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2954 return args and options.
2955 (eshell-eval-using-options): Use the new return value of
2956 eshell--do-opts to set the options's vars in their scope.
2957 (eshell--set-option): Rename from eshell-set-option.
2959 (eshell--process-option): Rename from eshell-process-option.
2961 (eshell--process-args): Use an `opt-vals' alist to store the options's
2962 values during their processing and return them additionally to the
2965 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2967 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2968 continuation character an operator, as far as indentation is
2969 concerned (Bug#15369).
2971 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2973 * window.el (window--state-put-2): Don't process buffer state
2974 when buffer doesn't exist any more (Bug#15382).
2976 2013-09-15 Glenn Morris <rgm@gnu.org>
2978 * eshell/em-unix.el (eshell/rm):
2979 Make -f ignore missing files. (Bug#15373)
2981 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2982 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2983 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2985 2013-09-14 Glenn Morris <rgm@gnu.org>
2987 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2989 2013-09-13 Glenn Morris <rgm@gnu.org>
2991 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2992 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2994 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2996 * frame.el (x-focus-frame): Mark as declared in frame.c.
2998 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * ls-lisp.el: Use advice-add.
3001 (original-insert-directory): Remove.
3002 (ls-lisp--insert-directory): Rename from insert-directory; add
3003 `orig-fun' argument.
3004 (insert-directory): Advise.
3006 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3008 * term.el (term-emulate-terminal): Decode the command string
3009 before passing it to term-command-hook. (Bug#15337)
3011 2013-09-13 Glenn Morris <rgm@gnu.org>
3013 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3015 * eshell/esh-ext.el (eshell-search-path): Declare.
3017 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3018 Otherwise an error occurs if eshell-dirs module not loaded.
3020 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3022 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3024 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3025 `tramp-check-proper-host'. Check for a valid method name.
3027 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3028 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3029 * net/tramp-sh.el (tramp-maybe-open-connection):
3030 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3032 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3033 also for hash values.
3035 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3037 * term/ns-win.el (parameters): Don't declare as dynamic.
3038 (before-make-frame-hook): Don't add ineffective function.
3040 * eshell/*.el: Use lexical-binding (bug#15231).
3042 2013-09-12 Kenichi Handa <handa@gnu.org>
3044 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3046 2013-09-12 Glenn Morris <rgm@gnu.org>
3048 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3049 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3051 * subr.el (do-after-load-evaluation): Also give compiler warnings
3052 when obsolete files are used (except by obsolete files).
3054 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3055 in the status output, assume `filename' is the first. (Bug#15322)
3057 * vc/vc.el (vc-deduce-fileset): Doc fix.
3059 * calc/calc-help.el (Info-goto-node):
3060 * progmodes/cperl-mode.el (Info-find-node):
3061 * vc/ediff.el (Info-goto-node): Update declarations.
3063 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3065 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3066 (vc-bzr-pull): Require vc-dispatcher.
3067 * vc/vc-git.el (vc-compilation-mode): Declare.
3068 (vc-git-pull): Require vc-dispatcher.
3070 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3072 * progmodes/octave.el (help-button-action): Declare.
3074 * shell.el (shell-directory-tracker): Output error as a message
3075 rather than just returning it as a string.
3076 (shell-process-pushd): Remove useless use of message.
3078 * dframe.el (dframe-timer-fn):
3079 * files.el (dir-locals-read-from-file):
3080 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3082 * reveal.el (reveal-post-command):
3083 * saveplace.el (load-save-place-alist-from-file):
3084 * shell.el (shell-resync-dirs):
3085 * w32-common-fns.el (x-get-selection-value):
3086 * emacs-lisp/copyright.el (copyright-find-copyright):
3087 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3088 * emulation/tpu-edt.el (tpu-copy-keyfile):
3089 * play/bubbles.el (bubbles--mark-neighbourhood):
3090 * progmodes/executable.el
3091 (executable-make-buffer-file-executable-if-script-p):
3092 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3094 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3096 Cleanup Eshell to rely less on dynamic scoping.
3097 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3098 last-value, and ext-command here. Bind `args' closer to `body'.
3099 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3100 (eshell--args): Declare new dynamic var.
3101 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3102 last-value, and ext-command. Pass `args' to `body'.
3103 (eshell-process-args): Bind eshell--args.
3104 (eshell-set-option): Use eshell--args.
3105 * eshell/eshell.el (eshell): Use derived-mode-p.
3106 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3107 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3108 (eshell-glob-function): Declare.
3109 * eshell/esh-util.el: Require cl-lib.
3110 (eshell-read-hosts-file): Avoid add-to-list.
3111 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3113 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3115 (eshell/diff): Remove unused var `err'.
3116 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3118 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3119 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3121 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3122 Move declaration before first use.
3123 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3124 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3127 2013-09-12 Glenn Morris <rgm@gnu.org>
3129 * term/ns-win.el (global-map): Remove binding for ispell-next,
3130 deleted 1999-05-29. (Bug#15357)
3132 2013-09-11 Glenn Morris <rgm@gnu.org>
3134 * echistory.el (electric-command-history): Remove call to deleted func.
3136 * play/landmark.el (landmark-mode): Fix typos.
3138 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3139 Check cvs-sort-ignore-file is bound.
3141 * savehist.el: No need for cl when compiling on Emacs.
3143 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3147 (eshell-self-insert-command, eshell-send-invisible):
3148 Remove unused argument.
3149 (eshell-handle-control-codes): Remove unused var `orig'.
3150 Avoid delete-backward-char.
3152 * files.el (set-auto-mode): Simplify a bit further.
3154 2013-09-11 Glenn Morris <rgm@gnu.org>
3156 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3157 (set-auto-mode): Don't regexp-quote elements.
3158 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3159 * progmodes/cc-mode.el (interpreter-mode-alist):
3160 * progmodes/ruby-mode.el (interpreter-mode-alist):
3161 Revert previous change.
3163 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * play/snake.el (snake-mode):
3166 * play/mpuz.el (mpuz-mode):
3167 * play/landmark.el (lm-mode):
3168 * play/blackbox.el (blackbox-mode):
3169 * play/5x5.el (5x5-mode):
3170 * obsolete/options.el (Edit-options-mode):
3171 * net/quickurl.el (quickurl-list-mode):
3172 * net/newst-treeview.el (newsticker-treeview-mode):
3173 * mail/rmailsum.el (rmail-summary-mode):
3174 * mail/mspools.el (mspools-mode):
3175 * locate.el (locate-mode):
3176 * ibuffer.el (ibuffer-mode):
3177 * emulation/ws-mode.el (wordstar-mode):
3178 * emacs-lisp/debug.el (debugger-mode):
3179 * array.el (array-mode):
3180 * net/eudc.el (eudc-mode): Use define-derived-mode.
3181 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3182 Move initialization into declaration.
3183 (mairix-searches-mode): Use define-derived-mode.
3184 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3185 (eudc-edit-hotlist): Use dolist.
3186 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3187 (Man-mode): Use define-derived-mode.
3188 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3189 (Info-edit-mode): Use define-derived-mode.
3190 (Info-cease-edit): Use Info-mode.
3191 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3193 (eshell-mode): Use define-derived-mode.
3194 * chistory.el (command-history-mode-map): Rename from
3195 command-history-map.
3196 (command-history-mode): Use define-derived-mode.
3197 (Command-history-setup): Remove function.
3198 * calc/calc.el (calc-trail-mode-map): New var.
3199 (calc-trail-mode): Use define-derived-mode.
3200 (calc-trail-buffer): Set calc-main-buffer manually.
3201 * bookmark.el (bookmark-insert-annotation): New function.
3202 (bookmark-edit-annotation): Use it.
3203 (bookmark-edit-annotation-mode): Make it a proper major mode.
3204 (bookmark-send-edited-annotation): Use derived-mode-p.
3205 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3206 closer to its ideal place. Use \' to match EOS.
3208 * profiler.el (profiler-calltree-find): Use function-equal.
3210 2013-09-10 Glenn Morris <rgm@gnu.org>
3212 * files.el (interpreter-mode-alist): Convert to regexps.
3213 (set-auto-mode): Adapt for this. (Bug#15306)
3214 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3215 Comment out unused variable.
3216 * progmodes/cc-mode.el (interpreter-mode-alist):
3217 * progmodes/python.el (interpreter-mode-alist):
3218 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3219 * progmodes/sh-script.el (sh-set-shell):
3220 No longer use interpreter-mode-alist to get list of shells.
3222 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3224 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * simple.el: Use set-temporary-overlay-map for universal-argument.
3227 (universal-argument-map): Don't use default-bindings (bug#15317).
3228 Bind switch-frame explicitly. Replace universal-argument-minus with
3229 a conditional binding.
3230 (universal-argument-num-events, saved-overriding-map): Remove.
3231 (restore-overriding-map): Remove.
3232 (universal-argument--mode): Rename from save&set-overriding-map,
3234 (universal-argument, universal-argument-more, negative-argument)
3235 (digit-argument): Adjust accordingly.
3236 (universal-argument-minus): Remove.
3237 (universal-argument-other-key): Remove.
3239 * subr.el (with-demoted-errors): Add `format' argument.
3241 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3243 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3244 `tramp-cleanup-connection'.
3246 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3247 parameters KEEP-DEBUG and KEEP-PASSWORD.
3249 * net/tramp.el (tramp-file-name-handler):
3250 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3251 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3252 (tramp-maybe-open-connection):
3253 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3254 Use `tramp-cleanup-connection'.
3256 * net/tramp-sh.el (tramp-maybe-open-connection):
3257 Catch 'uname-changed inside the progress reporter.
3259 2013-09-10 Glenn Morris <rgm@gnu.org>
3261 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3263 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3264 returns "alternate access method" in mode (eg "-rw-r--r--.").
3266 2013-09-08 Glenn Morris <rgm@gnu.org>
3268 * saveplace.el (load-save-place-alist-from-file):
3269 Demote errors. (Bug#15305)
3271 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3273 Improve compatibility with older Emacsen, and XEmacs.
3275 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3276 only if it is bound. It isn't for XEmacs.
3277 (with-tramp-progress-reporter): Do not let-bind `result'.
3278 This yields to scoping errors in XEmacs.
3279 (tramp-handle-make-auto-save-file-name): New function, moved from
3282 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3283 for `make-auto-save-file-name'.
3284 (tramp-adb--gnu-switches-to-ash):
3285 Use `tramp-compat-replace-regexp-in-string'.
3287 * net/tramp-cache.el (tramp-cache-print): Call
3288 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3290 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3291 bound. It isn't for XEmacs.
3293 * net/tramp-compat.el (tramp-compat-copy-file):
3294 Catch `wrong-number-of-arguments' error.
3295 (tramp-compat-replace-regexp-in-string): New defun.
3297 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3298 for `make-auto-save-file-name'.
3299 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3301 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3302 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3303 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3305 * net/tramp-gw.el (tramp-gw-open-network-stream):
3306 Use `tramp-compat-replace-regexp-in-string'.
3308 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3309 Call `tramp-handle-make-auto-save-file-name'.
3310 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3311 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3312 (tramp-sh-file-inotifywait-process-filter):
3313 Use `tramp-compat-replace-regexp-in-string'.
3314 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3316 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3317 for `make-auto-save-file-name'.
3318 (tramp-smb-handle-copy-directory):
3319 Call `tramp-compat-replace-regexp-in-string'.
3320 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3321 (tramp-smb-handle-copy-file): Improve error message.
3322 (tramp-smb-handle-rename-file): Rename directly only in case
3323 `newname' does not exist yet. This is a restriction of smbclient.
3324 (tramp-smb-maybe-open-connection): Rerun the function only when
3325 `auth-sources' is non-nil.
3327 2013-09-08 Kenichi Handa <handa@gnu.org>
3329 * international/characters.el: Set category "^" (Combining) for
3332 2013-09-07 Alan Mackenzie <acm@muc.de>
3334 Correctly fontify Java class constructors.
3335 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3337 (c-recognize-typeless-decls): Set the Java value to t.
3338 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3339 While handling a "(", add a check for, effectively, Java, and handle a
3340 "typeless" declaration there.
3342 2013-09-07 Roland Winkler <winkler@gnu.org>
3344 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3345 field subtitle for entry type book.
3347 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * minibuffer.el: Make minibuffer-complete call completion-in-region
3350 rather than other way around.
3351 (completion--some, completion-pcm--find-all-completions):
3352 Don't delay signals when debugging.
3353 (minibuffer-completion-contents): Beware fields within the
3354 minibuffer contents.
3355 (completion-all-sorted-completions): Use defvar-local.
3356 (completion--do-completion, completion--cache-all-sorted-completions)
3357 (completion-all-sorted-completions, minibuffer-force-complete):
3358 Add args `beg' and `end'.
3359 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3360 (minibuffer-complete): Use completion-in-region.
3361 (completion-complete-and-exit): New fun, extracted from
3362 minibuffer-complete-and-exit.
3363 (minibuffer-complete-and-exit): Use it.
3364 (completion--complete-and-exit): Rename from
3365 minibuffer--complete-and-exit.
3366 (completion-in-region--single-word): New function, extracted from
3367 minibuffer-complete-word.
3368 (minibuffer-complete-word): Use it.
3369 (display-completion-list): Make `common-substring' argument obsolete.
3370 (completion--in-region): Call completion--in-region-1 instead of
3371 minibuffer-complete.
3372 (completion-help-at-point): Pass boundaries to
3373 minibuffer-completion-help as args rather than via an overlay.
3374 (completion-pcm--string->pattern): Use `any-delim'.
3375 (completion-pcm--optimize-pattern): New function.
3376 (completion-pcm--pattern->regex): Handle `any-delim'.
3377 * icomplete.el (icomplete-forward-completions)
3378 (icomplete-backward-completions, icomplete-completions):
3379 Adjust calls to completion-all-sorted-completions and
3380 completion--cache-all-sorted-completions.
3381 (icomplete-with-completion-tables): Default to t.
3382 * emacs-lisp/crm.el (crm--current-element): Rename from
3383 crm--select-current-element. Don't put an overlay but return the
3385 (crm--completion-command): Take two new args to bind to the boundaries.
3386 (crm-completion-help): Adjust accordingly.
3387 (crm-complete): Use completion-in-region.
3388 (crm-complete-word): Use completion-in-region--single-word.
3389 (crm-complete-and-exit): Use completion-complete-and-exit.
3391 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3396 2013-09-06 Juri Linkov <juri@jurta.org>
3398 * info.el (Info-display-images-node): When image file doesn't exist
3399 display text version of the image if it's provided in the Info file.
3400 Otherwise, display the location of missing image from SRC attribute.
3401 Add help-echo text property from ALT attribute. (Bug#15279)
3403 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3406 (edit-abbrevs-mode): Use define-derived-mode.
3408 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3409 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3411 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3412 Use define-derived-mode.
3414 * epg.el (epg-start-encrypt): Minor CSE simplification.
3416 2013-09-06 William Xu <william.xwl@gmail.com>
3418 * arc-mode.el: Add support for 7za (bug#15264).
3419 (archive-7z-program): New var.
3420 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3421 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3422 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3424 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3428 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3429 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3430 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3431 (tramp-postfix-host-format, tramp-file-name-regexp)
3432 (tramp-completion-file-name-regexp)
3433 (tramp-completion-dissect-file-name)
3434 (tramp-handle-substitute-in-file-name): Remove 'url case.
3435 (tramp-file-name-regexp-url)
3436 (tramp-completion-file-name-regexp-url): Remove constants.
3438 2013-09-06 Glenn Morris <rgm@gnu.org>
3440 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3442 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3444 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3445 keywords" below "here-doc beginnings" (Bug#15270).
3447 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3449 * subr.el (pop): Use `car-safe'.
3450 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3451 to detect unused `pop' return value.
3453 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3455 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3456 (python-fill-string): Remove unused var `marker'.
3457 (python-skeleton-add-menu-items): Remove unused var `items'.
3459 * international/mule-cmds.el: Require CL.
3460 (find-coding-systems-for-charsets): Avoid add-to-list.
3461 (sanitize-coding-system-list): New function, extracted from
3462 select-safe-coding-system-interactively.
3463 (select-safe-coding-system-interactively): Use it.
3464 (read-input-method-name): Accept symbols for `default'.
3466 * emacs-lisp/advice.el (defadvice): Add indent rule.
3468 2013-09-05 Daniel Hackney <dan@haxney.org>
3472 * net/browse-url.el:
3475 * net/eudcb-ldap.el:
3488 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3489 byte compiler. Remove some unused let-bound variables.
3491 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3494 a "ref-cell", since it gets better optimized (bug#14883).
3496 2013-09-05 Glenn Morris <rgm@gnu.org>
3498 * progmodes/cc-awk.el (c-forward-sws): Declare.
3500 2013-09-04 Glenn Morris <rgm@gnu.org>
3502 * generic-x.el [rul-generic-mode]: Require cc-mode.
3503 (c++-mode-syntax-table): Declare.
3504 (rul-generic-mode-syntax-table): Init in the defvar.
3506 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3509 (vc-do-command, vc-set-async-update):
3510 * vc/vc-mtn.el (vc-mtn-dir-status):
3511 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3512 (vc-hg-pull, vc-hg-merge-branch):
3513 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3514 (vc-git-merge-branch):
3515 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3516 (vc-cvs-dir-status-files):
3517 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3518 (vc-bzr-dir-status-files):
3519 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3520 * vc/vc-annotate.el: Use lexical-binding.
3521 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3522 (vc-sentinel-movepoint): Declare.
3523 (vc-annotate): Don't use `goto-line'.
3524 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3525 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3526 (vc-sentinel-movepoint): Declare.
3527 * vc/vc-svn.el: Use lexical-binding.
3528 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3530 * vc/vc-rcs.el: Use lexical-binding.
3532 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3533 `deleted'. Don't drop errors silently.
3535 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3537 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3539 * vc/vc.el (vc-ignore): Rewrite.
3540 (vc-default-ignore): New function.
3541 (vc-default-ignore-completion-table): Use find-ignore-file.
3543 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3544 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3545 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3546 Remove. Most code moved to vc.el.
3548 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3551 * net/tramp-smb.el (tramp-smb-get-file-entries):
3552 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3553 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3555 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3557 (eww-change-select): Remove unused var `properties'.
3558 (eww-make-unique-file-name): Remove unused var `base'.
3560 * finder.el (finder-compile-keywords): Don't mess with windows.
3562 * calculator.el (calculator-funcall): Fix typo in last change.
3564 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3566 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3567 <pkg>-autoloads.el file stop us.
3569 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3570 warnings, and factor out common code.
3572 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3574 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3575 two-character operators and whether the character preceding them
3576 changes their meaning (Bug#15208).
3578 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3580 Format code sent to Python shell for robustness.
3581 * progmodes/python.el (python-shell-buffer-substring):
3583 (python-shell-send-region, python-shell-send-buffer): Use it.
3585 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3587 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3588 * net/tramp.el (tramp-user-error): ... here.
3589 (tramp-find-method, tramp-check-proper-host)
3590 (tramp-dissect-file-name, tramp-debug-message)
3591 (tramp-handle-shell-command):
3592 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3593 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3595 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3597 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3599 * avoid.el (mouse-avoidance-point-position)
3600 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3603 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3605 * progmodes/python.el (python-shell-completion-get-completions):
3606 Drop use of deleted `comint-last-prompt-overlay'.
3607 (python-nav-if-name-main): New command.
3609 2013-09-01 Glenn Morris <rgm@gnu.org>
3611 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3612 Avoid leading space in $wins. Otherwise the sed command used by
3613 eg compile-main ends up containing "/*.el". (Bug#15170)
3615 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3617 2013-08-30 Glenn Morris <rgm@gnu.org>
3619 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3620 Fix is-this-a-directory logic. (Bug#15220)
3622 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * textmodes/css-mode.el: Use SMIE.
3625 (css-smie-grammar): New var.
3626 (css-smie--forward-token, css-smie--backward-token)
3627 (css-smie-rules): New functions.
3628 (css-mode): Use them.
3629 (css-navigation-syntax-table): Remove var.
3630 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3631 (css-indent-calculate, css-indent-line): Remove functions.
3633 Misc changes to reduce use of `(lambda...); and other cleanups.
3634 * cus-edit.el: Use lexical-binding.
3635 (customize-push-and-save, customize-apropos)
3636 (custom-buffer-create-internal): Use closures.
3637 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3638 * progmodes/ada-xref.el: Use setq.
3639 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3640 * dframe.el: Use lexical-binding.
3641 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3642 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3643 * descr-text.el: Use lexical-binding.
3644 (describe-text-widget, describe-text-sexp, describe-property-list):
3646 * comint.el (comint-history-isearch-push-state): Use a closure.
3647 * calculator.el: Use lexical-binding.
3648 (calculator-number-to-string): Make it work with lexical-binding.
3649 (calculator-funcall): Same and use cl-letf.
3651 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3652 (lisp--company-doc-string, lisp--company-location): New functions.
3653 (lisp-completion-at-point): Use them to improve Company support.
3655 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3656 params of lambda expressions.
3657 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3658 (ruby-smie--opening-pipe-p): New function.
3659 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3660 symbols and matched |...| for formal params.
3661 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3662 from being treated as hanging. Handle "rescue".
3664 2013-08-29 Glenn Morris <rgm@gnu.org>
3666 * progmodes/cc-engine.el (c-pull-open-brace):
3667 Move definition before use.
3669 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3672 are immutable. Don't use `unsafe' any more.
3673 (cl--defsubst-expand): Don't substitute at the same time as keeping
3674 a residual unused let-binding. Don't use `unsafe' any more.
3676 2013-08-29 Glenn Morris <rgm@gnu.org>
3678 * calendar/cal-china.el (calendar-chinese-year-cache):
3681 * nxml/nxml-util.el (nxml-debug-clear-inside):
3682 Use cl-loop rather than loop.
3684 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3686 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3688 2013-08-28 Glenn Morris <rgm@gnu.org>
3690 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3692 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3694 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3696 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * simple.el (repeat-complex-command--called-interactively-skip):
3700 (repeat-complex-command): Use it (bug#14136).
3702 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3703 (c-define-abbrev-table): Add `doc' argument.
3704 (c-mode-abbrev-table, c++-mode-abbrev-table)
3705 (objc-mode-abbrev-table, java-mode-abbrev-table)
3706 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3707 (awk-mode-abbrev-table): Use it.
3708 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3709 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3710 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3711 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3712 Move initialization into the declaration; and remove any
3715 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3716 and dynamic let binding.
3718 * vc/smerge-mode.el: Remove redundant :group args.
3720 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3723 2013-08-28 Juri Linkov <juri@jurta.org>
3725 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3726 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3727 (isearch-other-meta-char): Handle an undefined shifted printing
3728 character by downshifting it. (Bug#15200)
3730 2013-08-28 Juri Linkov <juri@jurta.org>
3732 * isearch.el (isearch-search): Change regexp error message for
3733 non-regexp searches. (Bug#15166)
3735 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3737 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3738 for portability to hosts where /bin/sh has problems.
3740 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3742 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3744 2013-08-27 Juri Linkov <juri@jurta.org>
3746 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3747 in the keyboard macro. (Bug#15126)
3749 2013-08-27 Juri Linkov <juri@jurta.org>
3751 * isearch.el (isearch-quote-char): Comment out converting unibyte
3752 to multibyte, thus syncing with its `quoted-insert' counterpart.
3755 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3757 * window.el (display-buffer-use-some-window): Add missing
3758 argument in call of get-largest-window (Bug#15185).
3759 Reported by Stephen Leake.
3761 2013-08-27 Glenn Morris <rgm@gnu.org>
3763 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3765 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3768 from a matcher-function unless there's no more matches (bug#15161).
3770 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3772 * minibuffer.el: Revert change from 2013-08-20.
3774 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3775 with text property `tramp-default', if appropriate.
3776 (tramp-check-proper-host): New defun.
3777 (tramp-dissect-file-name): Do not check hostname. Revert change
3779 (tramp-backtrace): Make VEC-OR-PROC optional.
3781 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3782 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3783 * net/tramp-sh.el (tramp-maybe-open-connection):
3784 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3785 Apply `tramp-check-proper-host'.
3787 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3789 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3790 lambda expression in order to have `describe-variable' display it.
3792 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3794 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3795 BUF can be optional. (Bug#15186)
3797 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3799 * progmodes/flymake.el (flymake-get-real-file-name-function):
3800 Fix broken customization. (Bug#15184)
3802 2013-08-25 Alan Mackenzie <acm@muc.de>
3804 Improve indentation of bracelists defined by macros (without "=").
3806 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3807 expansion begins with "{", regard it as bracelist when it doesn't
3810 Parse C++ inher-intro when there's a template split over 2 lines.
3812 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3813 rigorously the search for "class" etc. followed by ":".
3815 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3816 random languages a regexp which never matches rather than nil.
3818 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3820 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3821 (c-awk-regexp-one-line-possibly-open-char-list-re)
3822 (c-awk-one-line-possibly-open-regexp-re)
3823 (c-awk-one-line-non-syn-ws*-re): Remove.
3824 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3825 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3826 (c-awk-space*-unclosed-regexp-/-re): New constants.
3827 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3828 aren't regexp delimiters.
3830 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3831 handling for a rare situation in AWK Mode involving unterminated
3834 2013-08-23 Glenn Morris <rgm@gnu.org>
3836 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3838 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3840 * files.el (create-file-buffer): If the result would begin with
3841 spaces, prepend a "|" instead of removing them. (Bug#15162)
3843 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3846 text-properties (bug#15155).
3848 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3850 (calc-keypad-redraw): Remove unused var `pad'.
3851 (calc-keypad-press): Remove unused var `menu'.
3853 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3855 * window.el (display-buffer-pop-up-frame):
3856 Call pop-up-frame-function with BUFFER current so `make-frame' will
3857 use it as the new frame's buffer (Bug#15133).
3859 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3861 * calendar/timeclock.el: Minor cleanups.
3862 (timeclock-ask-before-exiting, timeclock-use-display-time):
3864 (timeclock-modeline-display): Define as alias before the
3866 (timeclock-mode-line-display): Use define-minor-mode.
3867 (timeclock-day-list-template): Make it a function, add an argument.
3868 (timeclock-day-list-required, timeclock-day-list-length)
3869 (timeclock-day-list-debt, timeclock-day-list-span)
3870 (timeclock-day-list-break): Adjust calls accordingly.
3872 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3875 Use read--expression so that completion works again.
3877 2013-08-21 Sam Steingold <sds@gnu.org>
3879 Add rudimentary inferior shell interaction
3880 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3881 (sh-set-shell): Reset it.
3882 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3883 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3885 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * align.el: Use lexical-binding.
3888 (align-region): Simplify accordingly.
3890 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3892 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3894 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3897 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3901 * net/tramp-cmds.el:
3903 * net/tramp-gvfs.el:
3905 * net/tramp-sh.el: Don't wrap external variable declarations by
3906 `eval-when-compile'.
3908 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3910 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3911 now that Emacs supports ImageMagick animations.
3913 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3915 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3916 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3918 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3920 * window.el (mouse-autoselect-window-select): Do autoselect when
3921 mouse pointer is on margin.
3923 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3925 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3927 2013-08-16 Glenn Morris <rgm@gnu.org>
3929 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3930 Handle "Remote Directory" response of some clients. (Bug#15058)
3932 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3933 Tweak warning. (Bug#14926)
3935 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3936 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3938 * image-mode.el (image-mode-map): Add menu items to reverse,
3939 increase, decrease, reset animation speed.
3940 (image--set-speed, image-increase-speed, image-decrease-speed)
3941 (image-reverse-speed, image-reset-speed): New functions.
3942 (image-mode-map): Add bindings for speed commands.
3944 * image.el (image-animate-get-speed, image-animate-set-speed):
3946 (image-animate-timeout): Respect image :speed property.
3948 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3951 previous line (bug#15101).
3952 (debugger-eval-expression, debugger-record-expression):
3953 Use read--expression (bug#15102).
3955 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3957 Remove byte compiler warnings, visible when compiling with
3958 `byte-compile-force-lexical-warnings' set to t.
3960 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3961 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3962 (tramp-handle-unhandled-file-name-directory)
3963 (tramp-handle-file-notify-add-watch, tramp-action-login)
3964 (tramp-action-succeed, tramp-action-permission-denied)
3965 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3968 * net/tramp-adb.el (tramp-adb-parse-device-names)
3969 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3970 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3971 (tramp-adb-handle-file-truename): Remove unused arguments.
3973 * net/tramp-cache.el (tramp-flush-directory-property)
3974 (tramp-flush-connection-property, tramp-list-connections)
3975 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3977 * net/tramp-compat.el (tramp-compat-make-temp-file):
3978 Rename FILENAME to F.
3980 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3981 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3982 (tramp-zeroconf-parse-workstation-device-names)
3983 (tramp-zeroconf-parse-webdav-device-names)
3984 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3986 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3987 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3989 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3991 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3992 (tramp-sh-handle-insert-file-contents-literally)
3993 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3995 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3996 Remove unused variables.
3998 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3999 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4000 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4002 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4003 Make them a defconst.
4004 (tramp-uuencode-region): Remove unused variable.
4006 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4008 * frameset.el (frameset--prop-setter): New function.
4009 (frameset-prop): Add gv-setter declaration.
4010 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4011 parameter was already set in FILTERED. Doc fix.
4012 (frameset--record-minibuffer-relationships): Allow saving a
4013 minibufferless frame without its corresponding minibuffer frame.
4014 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4015 frame, if the frame id matches.
4016 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4017 frames before orphaned ones.
4018 (frameset-restore): Warn about orphaned windows, instead of error out.
4020 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4022 * window.el (window-make-atom): Don't overwrite parameter
4024 (display-buffer-in-atom-window): Handle special case where we
4025 split an already atomic window.
4026 (window--major-non-side-window, display-buffer-in-side-window)
4027 (window--side-check): Ignore minibuffer window when walking
4029 (window-deletable-p): Return 'frame only if no other frame uses
4030 our minibuffer window.
4031 (record-window-buffer): Run buffer-list-update-hook.
4032 (split-window): Make sure window--check-frame won't destroy an
4033 existing atomic window in case the new window gets nested
4035 (display-buffer-at-bottom): Ignore minibuffer window when
4036 walking window tree. Don't split a side window.
4037 (pop-to-buffer): Don't set-buffer here, the select-window call
4039 (mouse-autoselect-window-select): Autoselect only if we are in the
4040 text portion of the window.
4042 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4044 * net/shr.el (shr-parse-image-data): New function to grab both the
4045 data itself and the Content-Type.
4046 (shr-put-image): Use it.
4048 * net/eww.el (eww-display-image): Ditto.
4050 * image.el (image-content-type-suffixes): New variable.
4052 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4054 * progmodes/python.el (python-imenu--build-tree)
4055 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4057 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4059 * simple.el (backward-word): Mention the optional argument.
4061 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * frameset.el (frameset--make): Rename constructor from make-frameset.
4064 (frameset-p, frameset-valid-p): Don't autoload.
4065 (frameset-valid-p): Use normal accessors.
4067 2013-08-13 Glenn Morris <rgm@gnu.org>
4069 * progmodes/compile.el (compile-command): Tweak example in doc.
4070 * obsolete/scribe.el (scribe-mode):
4071 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4073 * mail/feedmail.el (feedmail-confirm-outgoing)
4074 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4076 * cus-start.el (truncate-partial-width-windows): Fix type.
4078 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4080 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4082 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * emacs-lisp/timer.el (timer--time-setter): New function.
4085 (timer--time): Use it as gv-setter.
4087 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4088 setter is not a symbol.
4090 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4092 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4093 if sending fails. This makes debugging easier.
4095 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4097 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4098 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4099 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4101 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4103 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4105 2013-08-12 Glenn Morris <rgm@gnu.org>
4107 * format.el (format-annotate-function):
4108 Handle read-only text properties in the source. (Bug#14887)
4110 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4112 * net/eww.el (eww-display-html): Ignore coding system errors.
4113 One web site uses "utf-8lias" as the coding system.
4115 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4117 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4119 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4121 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4122 (tutorial--detailed-help): Remove unused local variables.
4123 (tutorial--save-tutorial-to): Use ignore-errors.
4124 (help-with-tutorial): Use looking-at-p.
4126 * view.el (view-buffer-other-window, view-buffer-other-frame):
4127 Mark unused arguments.
4129 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4130 (woman-select-symbol-fonts, woman, woman-find-file)
4131 (woman-insert-file-contents, woman-non-underline-faces):
4133 (woman1-unquote): Move declaration.
4135 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4136 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4137 argument. Remove unused local variable.
4138 (xml-parse-elem-type): Use string-match-p.
4139 (xml-substitute-numeric-entities): Use ignore-errors.
4141 * calculator.el (calculator): Mark unused argument.
4142 (calculator-paste, calculator-quit, calculator-integer-p):
4144 (calculator-string-to-number, calculator-decimal, calculator-exp)
4145 (calculator-op-or-exp): Use string-match-p.
4147 * dired.el (dired-buffer-more-recently-used-p): Declare.
4148 (dired-insert-set-properties, dired-insert-old-subdirs):
4151 * dired-aux.el (dired-compress): Use ignore-errors.
4152 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4153 (dired-do-async-shell-command, dired-do-shell-command)
4154 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4155 (dired-insert-subdir-validate): Use string-match-p.
4156 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4157 (dired-add-entry): Use string-match-p, looking-at-p.
4158 (dired-insert-subdir-newpos): Remove unused local variable.
4160 * filenotify.el (file-notify-callback): Remove unused local variable.
4162 * filesets.el (filesets-error): Mark unused argument.
4163 (filesets-which-command-p, filesets-filter-dir-names)
4164 (filesets-directory-files, filesets-get-external-viewer)
4165 (filesets-ingroup-get-data): Use string-match-p.
4167 * find-file.el (ff-other-file-name, ff-other-file-name)
4168 (ff-find-the-other-file, ff-cc-hh-converter):
4169 Remove unused local variables.
4170 (ff-get-file-name): Use string-match-p.
4171 (ff-all-dirs-under): Use ignore-errors.
4173 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4174 (follow-select-if-visible): Remove unused local variable.
4176 * forms.el (read-file-filter): Move declaration.
4177 (forms--make-format, forms--make-parser, forms-insert-record):
4178 Quote function with #'.
4179 (forms--update): Use string-match-p. Quote function with #'.
4181 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4182 (help-make-xrefs): Use looking-at-p.
4183 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4185 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4186 (ibuffer-confirm-operation-on): Use string-match-p.
4188 * msb.el (msb-item-handler, msb-dired-item-handler):
4189 Mark unused arguments.
4191 * ses.el (ses-decode-cell-symbol)
4192 (ses-kill-override): Remove unused local variable.
4193 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4194 (ses-load): Use ignore-errors, looking-at-p.
4195 (ses-jump-safe): Use ignore-errors.
4196 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4198 * tabify.el (untabify, tabify): Mark unused arguments.
4200 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4201 Mark unused argument.
4202 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4203 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4205 * emacs-lisp/timer.el (timer--time): Define setter with
4206 gv-define-setter to avoid deprecation warning.
4208 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4209 (*record-cmpl-statistics-p*): Remove (was commented out).
4210 (cmpl-statistics-block): Remove (body was commented out).
4211 All callers changed.
4212 (add-completions-from-buffer, load-completions-from-file):
4213 Remove unused variables.
4215 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4217 * filecache.el (file-cache-delete-file-list):
4218 Print message only when told so.
4219 (file-cache-files-matching): Use #' in mapconcat argument.
4221 * ffap.el (ffap-url-at-point): Fix reference to variable
4222 thing-at-point-default-mail-uri-scheme.
4224 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4226 * subr.el (define-error): New function.
4227 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4228 error-file-not-found and define with define-error.
4229 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4230 and define with define-error.
4231 * userlock.el (file-locked, file-supersession):
4232 * simple.el (mark-inactive):
4233 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4234 * progmodes/ada-mode.el (ada-mode-errors):
4235 * play/life.el (life-extinct):
4236 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4237 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4238 * nxml/rng-util.el (rng-error):
4239 * nxml/rng-uri.el (rng-uri-error):
4240 * nxml/rng-match.el (rng-compile-error):
4241 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4242 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4243 * nxml/nxml-rap.el (nxml-scan-error):
4244 * nxml/nxml-outln.el (nxml-outline-error):
4245 * net/soap-client.el (soap-error):
4246 * net/gnutls.el (gnutls-error):
4247 * net/ange-ftp.el (ftp-error):
4248 * mpc.el (mpc-proc-error):
4249 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4250 (json-number-format, json-string-escape, json-string-format)
4251 (json-key-format, json-object-format):
4252 * jka-compr.el (compression-error):
4253 * international/quail.el (quail-error):
4254 * international/kkc.el (kkc-error):
4255 * emacs-lisp/ert.el (ert-test-failed):
4256 * calc/calc.el (calc-error, inexact-result, math-overflow)
4258 * bookmark.el (bookmark-error-no-filename):
4259 * epg.el (epg-error): Define with define-error.
4261 * time.el (display-time-event-handler)
4262 (display-time-next-load-average): Don't call sit-for since it seems
4263 unnecessary (bug#15045).
4265 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4266 Use #' instead of ' to quote functions.
4267 (checkdoc-output-mode): Use setq-local.
4268 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4269 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4270 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4271 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4272 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4273 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4274 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4275 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4277 * ido.el (ido-completion-help): Fix up compiler warning.
4279 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4281 * frameset.el (frameset-p): Add autoload cookie.
4282 (frameset--jump-to-register): New function, based on code moved from
4284 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4286 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4287 (frameset-restore, frameset-save, frameset-session-filter-alist):
4288 Remove declarations.
4289 (register-alist): Doc fix.
4290 (frameset-to-register): Move to frameset.el.
4291 (jump-to-register, describe-register-1): Remove frameset-specific code.
4293 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4295 * allout-widgets.el (allout-widgets-pre-command-business)
4296 (allout-widgets-post-command-business)
4297 (allout-widgets-after-change-handler)
4298 (allout-decorate-item-and-context, allout-set-boundary-marker)
4299 (allout-body-modification-handler)
4300 (allout-graphics-modification-handler): Mark ignored arguments.
4301 (allout-widgets-post-command-business)
4302 (allout-widgets-exposure-change-processor)
4303 (allout-widgets-exposure-undo-processor)
4304 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4305 (allout-parse-item-at-point, allout-decorate-item-guides)
4306 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4307 * allout.el (epa-passphrase-callback-function): Declare.
4308 (allout-overlay-insert-in-front-handler)
4309 (allout-overlay-interior-modification-handler)
4310 (allout-isearch-end-handler, allout-chart-siblings)
4311 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4312 (allout-yank-processing, allout-process-exposed)
4313 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4314 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4315 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4316 (lisp-indent-defform): Mark ignored arguments.
4317 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4318 (calculate-lisp-indent): Remove unused variables.
4319 * international/characters.el (indian-2-column, arabic-2-column)
4320 (tibetan): Mark ignored arguments.
4321 (use-cjk-char-width-table): Mark ignored arguments.
4322 Remove unused variables.
4323 * international/fontset.el (build-default-fontset-data)
4324 (x-compose-font-name, create-fontset-from-fontset-spec):
4325 Mark ignored arguments.
4326 (fontset-plain-name): Remove unused variables.
4327 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4328 (keyboard-coding-system): Mark ignored arguments.
4329 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4330 * help.el (resize-temp-buffer-window):
4331 * window.el (display-buffer-in-major-side-window)
4332 (display-buffer-in-side-window, display-buffer-in-previous-window):
4333 Remove unused variables.
4334 * isearch.el (isearch-forward-symbol):
4335 * version.el (emacs-bzr-version-bzr):
4336 * international/mule-cmds.el (current-language-environment):
4337 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4339 * term/pc-win.el (x-list-fonts, x-display-planes)
4340 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4341 (x-server-version, x-display-screens, x-display-mm-height)
4342 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4343 (x-selection-owner-p, x-own-selection-internal)
4344 (x-disown-selection-internal, x-get-selection-internal)
4345 (msdos-initialize-window-system):
4346 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4347 * term/x-win.el (x-handle-no-bitmap-icon):
4348 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4349 (vc-default-find-file-hook, vc-default-extra-menu):
4350 Mark ignored arguments.
4352 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4355 break-condition in the context of the debugged code (bug#12685).
4357 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4360 Do not use an overlay to highlight the last prompt. (Bug#14744)
4361 (comint-mode): Make comint-last-prompt buffer local.
4362 (comint-last-prompt): New variable.
4363 (comint-last-prompt-overlay): Remove. Superseded by
4365 (comint-snapshot-last-prompt, comint-output-filter):
4366 Use comint-last-prompt.
4368 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4370 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4371 (frameset-save): Check validity of the resulting frameset.
4373 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4375 * ido.el (ido-record-command): Add doc string.
4377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4379 * frameset.el (frameset): Do not disable creation of the default
4380 frameset-p predicate. Doc fix.
4381 (frameset-valid-p): New function, copied from the old predicate-p.
4382 Add additional checks.
4383 (frameset-restore): Check with frameset-valid-p.
4384 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4385 (frameset-name, frameset-description, frameset-properties)
4386 (frameset-states): Add docstring.
4387 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4388 (frameset-filter-alist): Doc fixes.
4390 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4392 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4394 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4396 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4397 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4398 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4399 (byte-compile-normal-call): Remove obsolescence check.
4401 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4403 * frameset.el (frameset-restore): Doc fix.
4405 * register.el (frameset-frame-id, frameset-frame-with-id)
4406 (frameset-p, frameset-restore, frameset-save): Declare.
4407 (register-alist): Document framesets.
4408 (frameset-session-filter-alist): Declare.
4409 (frameset-to-register): New function.
4410 (jump-to-register): Implement jumping to framesets. Doc fix.
4411 (describe-register-1): Describe framesets.
4413 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4415 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4417 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4418 Use lexical-binding.
4420 * frameset.el (frameset): Use type vector, not list (incompatible
4421 change). Do not declare a new constructor, use the default one.
4422 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4423 `name' and `description', respectively, and add read-only slot
4424 `timestamp'. Doc fixes.
4425 (frameset-copy, frameset-persistent-filter-alist)
4426 (frameset-filter-alist, frameset-switch-to-gui-p)
4427 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4428 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4429 (frameset-filter-iconified, frameset-keep-original-display-p):
4431 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4432 Rename from frameset-filter-(save|restore)-param. All callers changed.
4434 (frameset-p): Adapt to change to vector and be more thorough.
4435 Change arg name to OBJECT. Doc fix.
4436 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4437 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4438 All callers changed.
4439 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4440 All callers changed.
4441 (frameset--record-minibuffer-relationships): Rename from
4442 frameset--process-minibuffer-frames. All callers changed.
4443 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4444 Use new default constructor (again). Doc fix.
4445 (frameset--find-frame-if): Rename from `frameset--find-frame.
4446 All callers changed.
4447 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4448 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4450 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4451 PARAMETERS and WINDOW-STATE, respectively.
4452 (frameset-restore): Add new keyword argument PREDICATE.
4453 Reset frameset--target-display to nil. Doc fix.
4455 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4457 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4459 (bat-mode-syntax-table): Mark \n as end-of-comment.
4460 (bat-font-lock-keywords): Remove comment rule.
4462 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4463 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4465 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4466 (byte-compile-callargs-warn): Use `push'.
4467 (byte-compile-arglist-warn): Ignore higher-order "calls".
4468 (byte-compile-file-form-autoload): Use `pcase'.
4469 (byte-compile-function-form): If quoting a symbol, check that it exists.
4471 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4473 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4474 and add a few popular commands found in batch files.
4475 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4476 (dos-mode): Doc fixes.
4478 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4481 (dos-mode): Use setq-local. Add space after "rem".
4482 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4483 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4485 2013-08-07 Arni Magnusson <arnima@hafro.is>
4487 * progmodes/dos.el: New file.
4488 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4491 2013-08-06 Glenn Morris <rgm@gnu.org>
4493 * calendar/calendar.el: Add new faces, and day-header-array.
4494 (calendar-weekday-header, calendar-weekend-header)
4495 (calendar-month-header): New faces.
4496 (calendar-day-header-construct): New function.
4497 (calendar-day-header-width): Also :set calendar-day-header-array.
4498 (calendar-american-month-header, calendar-european-month-header)
4499 (calendar-iso-month-header): Use calendar- faces.
4500 (calendar-generate-month):
4501 Use calendar-day-header-array for day headers; apply faces to them.
4502 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4503 (calendar-abbrev-construct): Add optional maxlen argument.
4504 (calendar-day-name-array): Doc fix.
4505 (calendar-day-name-array, calendar-abbrev-length)
4506 (calendar-day-abbrev-array):
4507 Also :set calendar-day-header-array, and maybe redraw.
4508 (calendar-day-header-array): New option. (Bug#15007)
4509 (calendar-font-lock-keywords): Set to nil and make obsolete.
4510 (calendar-day-name): Add option to use header array.
4512 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4514 * net/shr.el (shr-render-td): Remove debugging.
4515 (shr-render-td): Make width computation consistent by defaulting
4516 all zero-width columns to 10 characters. This may not be optimal,
4517 but it's at least consistent.
4518 (shr-make-table-1): Redo last change to fix the real problem in
4521 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4523 * files.el (cache-long-line-scans):
4524 Make obsolete alias to `cache-long-scans'.
4526 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4528 * frameset.el (frameset, frameset-filter-alist)
4529 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4530 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4531 (frameset-compute-pos): Rename from frameset--compute-pos,
4533 (frameset-move-onscreen): Use frameset-compute-pos.
4534 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4536 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4537 Fix typos in docstrings.
4539 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4541 * frame.el (get-other-frame): Tiny cleanup.
4543 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4545 * vc/vc.el (vc-default-ignore-completion-table):
4546 Silence byte-compiler warning.
4548 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4549 slot , which can indeed be nil.
4550 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4551 Move entry for `left' from persistent to live filter alist.
4552 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4554 (frameset-filter-params): When restoring a frame, copy items added to
4555 `filtered', to avoid unwittingly modifying the original parameters.
4556 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4557 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4559 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4560 to use looking-at-p instead of looking-at. (Bug#15028)
4562 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4564 Revert introduction of isearch-filter-predicates (bug#14714).
4565 Rely on add-function instead.
4566 * isearch.el (isearch-filter-predicates): Rename it back to
4567 isearch-filter-predicate.
4568 (isearch-message-prefix): Use advice-function-mapc and advice
4569 properties to get the isearch-message-prefix.
4570 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4571 instead of run-hook-with-args-until-failure.
4572 (isearch-filter-visible): Not obsolete any more.
4573 * loadup.el: Preload nadvice.
4574 * replace.el (perform-replace): Revert to funcall
4575 instead of run-hook-with-args-until-failure.
4576 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4577 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4578 dired-isearch-filenames-toggle; make it into a proper minor mode.
4579 Use add/remove-function.
4580 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4581 Call the minor-mode rather than add/remove-hook.
4582 (dired-isearch-filter-filenames):
4583 Remove isearch-message-prefix property.
4584 * info.el (Info--search-loop): New function, extracted from Info-search.
4585 Funcall isearch-filter-predicate instead of
4586 run-hook-with-args-until-failure isearch-filter-predicates.
4587 (Info-search): Use it.
4588 (Info-mode): Use isearch-filter-predicate instead of
4589 isearch-filter-predicates.
4591 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4593 Do not call to `selected-window' where it is assumed by default.
4594 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4595 `window-hscroll', `window-width', `window-height', `window-buffer',
4596 `window-frame', `window-start', `window-point', `next-window'
4597 and `window-display-table'.
4598 * abbrev.el (abbrev--default-expand):
4599 * bs.el (bs--show-with-configuration):
4600 * buff-menu.el (Buffer-menu-mouse-select):
4601 * calc/calc.el (calc):
4602 * calendar/calendar.el (calendar-generate-window):
4603 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4605 * comint.el (send-invisible, comint-dynamic-complete-filename)
4606 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4607 * completion.el (complete):
4608 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4609 * disp-table.el (describe-current-display-table):
4610 * doc-view.el (doc-view-insert-image):
4611 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4612 * ehelp.el (with-electric-help):
4613 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4614 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4615 * emacs-lisp/helper.el (Helper-help-scroller):
4616 * emulation/cua-base.el (cua--post-command-handler-1):
4617 * eshell/esh-mode.el (eshell-output-filter):
4618 * ffap.el (ffap-gnus-wrapper):
4619 * help-macro.el (make-help-screen):
4620 * hilit-chg.el (highlight-compare-buffers):
4621 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4622 * hl-line.el (global-hl-line-highlight):
4623 * icomplete.el (icomplete-simple-completing-p):
4624 * isearch.el (isearch-done):
4625 * jit-lock.el (jit-lock-stealth-fontify):
4626 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4627 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4628 * mpc.el (mpc-tagbrowser, mpc):
4629 * net/rcirc.el (rcirc-any-buffer):
4630 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4631 * play/landmark.el (landmark-max-width, landmark-max-height):
4632 * play/zone.el (zone):
4633 * progmodes/compile.el (compilation-goto-locus):
4634 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4635 * progmodes/etags.el (find-tag-other-window):
4636 * progmodes/fortran.el (fortran-column-ruler):
4637 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4638 * progmodes/verilog-mode.el (verilog-point-text):
4639 * reposition.el (reposition-window):
4640 * rot13.el (toggle-rot13-mode):
4641 * server.el (server-switch-buffer):
4642 * shell.el (shell-dynamic-complete-command)
4643 (shell-dynamic-complete-environment-variable):
4644 * simple.el (insert-buffer, set-selective-display)
4645 (delete-completion-window):
4646 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4647 (speedbar-recenter):
4648 * startup.el (fancy-splash-head):
4649 * textmodes/ispell.el (ispell-command-loop):
4650 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4651 * tutorial.el (help-with-tutorial):
4652 * vc/add-log.el (add-change-log-entry):
4653 * vc/compare-w.el (compare-windows):
4654 * vc/ediff-help.el (ediff-indent-help-message):
4655 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4656 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4657 (ediff-setup-control-frame):
4658 * vc/emerge.el (emerge-position-region):
4659 * vc/pcvs-util.el (cvs-bury-buffer):
4660 * window.el (walk-windows, mouse-autoselect-window-select):
4661 * winner.el (winner-set-conf, winner-undo): Related users changed.
4663 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4665 * frameset.el (frameset--set-id): Doc fix.
4666 (frameset-frame-id, frameset-frame-id-equal-p)
4667 (frameset-locate-frame-id): New functions.
4668 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4669 (frameset-restore): Use them.
4671 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4673 Do not call to `selected-frame' where it is assumed by default.
4674 Affected functions are `raise-frame', `redraw-frame',
4675 `frame-first-window', `frame-terminal' and `delete-frame'.
4676 * calendar/appt.el (appt-disp-window):
4677 * epg.el (epg-wait-for-completion):
4678 * follow.el (follow-delete-other-windows-and-split)
4679 (follow-avoid-tail-recenter):
4680 * international/mule.el (set-terminal-coding-system):
4681 * mail/rmail.el (rmail-mail-return):
4682 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4683 * progmodes/f90.el (f90-add-imenu-menu):
4684 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4685 * server.el (server-switch-buffer):
4686 * simple.el (delete-completion-window):
4688 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4689 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4690 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4691 * vc/ediff.el (ediff-documentation): Related users changed.
4692 * frame.el (selected-terminal): Remove the leftover.
4694 2013-08-05 Glenn Morris <rgm@gnu.org>
4696 * calendar/calendar.el (calendar-generate-month):
4697 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4698 (calendar-generate-month, calendar-font-lock-keywords):
4699 Fix for calendar-day-header-width > length of any day name.
4701 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4703 * desktop.el (desktop-clear): Use new name of sort predicate.
4705 * frameset.el (frameset): Add docstring. Move :version property to its
4707 (frameset-copy): Rename from copy-frameset.
4708 (frameset-p): Check more thoroughly.
4709 (frameset-prop): Do not check for :version, which is no longer a prop.
4710 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4711 Use new :never value instead of t.
4712 (frameset-filter-alist): Expand and clarify docstring.
4713 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4714 (frameset-filter-minibuffer, frameset-filter-save-param)
4715 (frameset-filter-restore-param, frameset-filter-iconified):
4716 Add pointer to docstring of frameset-filter-alist.
4717 (frameset-filter-params): Rename filter values to be more meaningful:
4718 :never instead of t, and reverse the meanings of :save and :restore.
4719 (frameset--process-minibuffer-frames): Clarify error message.
4720 (frameset-save): Avoid unnecessary and confusing call to framep.
4721 Use new BOA constructor for framesets.
4722 (frameset--reuse-list): Doc fix.
4723 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4724 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4725 (frameset-minibufferless-first-p): Doc fix.
4726 Rename from frameset-sort-frames-for-deletion.
4727 (frameset-restore): Doc fixes. Use new function names.
4728 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4730 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4732 * desktop.el (desktop-restore-forces-onscreen)
4733 (desktop-restore-reuses-frames): Document :keyword constant values.
4734 (desktop-filter-parameters-alist): Remove, now identical to
4735 frameset-filter-alist.
4736 (desktop--filter-tty*): Remove, moved to frameset.el.
4737 (desktop-save-frameset, desktop-restore-frameset):
4738 Do not pass :filters argument.
4740 * frameset.el (frameset-live-filter-alist)
4741 (frameset-persistent-filter-alist): New variables.
4742 (frameset-filter-alist): Use them. Add autoload cookie.
4743 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4744 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4745 `frameset--id' (it's supposed to be internal to frameset.el).
4746 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4747 (frameset--initial-params): New function.
4748 (frameset--get-frame): Use it. Doc fix.
4749 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4750 Accept :all, not 'all.
4751 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4752 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4753 with fbound symbols. Fix frame id matching, and remove matching ids if
4754 the frame being restored is deleted. Obey :delete.
4756 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * subr.el (macrop): New function.
4759 (text-clone--maintaining): New var.
4760 (text-clone--maintain): Rename from text-clone-maintain. Use it
4761 instead of inhibit-modification-hooks.
4763 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4764 a proxy, so as handle autoloads and redefinitions of the target.
4765 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4767 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4768 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4769 (pcase--mutually-exclusive-p): New function.
4770 (pcase--split-consp): Use it.
4771 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4772 mutually exclusive with the current predicate.
4774 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4775 (edebug-macrop): Remove. Use `macrop' instead.
4776 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4778 * eshell/esh-cmd.el (eshell-macrop):
4779 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4781 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4784 (advice-mapc): New function, using it.
4785 (advice-function-member-p): New function.
4786 (advice--normalize): Store the cdr in advice--saved-rewrite since
4787 that's the part that will be changed.
4788 (advice--symbol-function): New function.
4789 (advice-remove): Handle removal before the function is defined.
4790 Adjust to new advice--saved-rewrite.
4791 (advice-member-p): Use advice-function-member-p and
4792 advice--symbol-function.
4794 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4796 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4797 (frameset-filter-minibuffer): Doc fix.
4798 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4799 (frameset--set-id, frameset--process-minibuffer-frames)
4800 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4801 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4803 * desktop.el (desktop-clear): Only delete frames when called
4804 interactively and desktop-restore-frames is non-nil. Doc fix.
4805 (desktop-read): Set desktop-saved-frameset to nil.
4807 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4809 * vc/vc.el (vc-ignore): Rewrite.
4810 (vc-default-ignore-completion-table):
4812 (vc--add-line, vc--remove-regexp): New functions.
4814 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4815 (vc-svn-ignore-completion-table): New function.
4817 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4818 (vc-hg-ignore-completion-table):
4819 (vc-hg-find-ignore-file): New functions.
4821 * vc/vc-git.el (vc-git-ignore): Rewrite.
4822 (vc-git-ignore-completion-table):
4823 (vc-git-find-ignore-file): New functions.
4825 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4827 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4828 (vc-bzr-ignore-completion-table):
4829 (vc-bzr-find-ignore-file): New functions.
4831 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4833 * frameset.el (frameset-prop): New function and setter.
4834 (frameset-save): Do not modify frame list passed by the caller.
4836 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4840 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4843 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4845 * custom.el (custom-initialize-default, custom-initialize-set)
4846 (custom-initialize-reset, custom-initialize-changed): Affect the
4847 toplevel-default-value (bug#6275, bug#14586).
4848 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4851 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4853 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4854 Add cl-def* expressions.
4856 * frameset.el (frameset-filter-params): Fix order of arguments.
4858 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4860 Move code related to saving frames to frameset.el.
4861 * desktop.el: Require frameset.
4862 (desktop-restore-frames): Doc fix.
4863 (desktop-restore-reuses-frames): Rename from
4864 desktop-restoring-reuses-frames.
4865 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4866 (desktop-clear): Clear frames too.
4867 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4868 (desktop--filter-tty*, desktop-save, desktop-read):
4869 Use frameset functions.
4870 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4871 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4872 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4873 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4874 (desktop--process-minibuffer-frames, desktop-save-frames)
4875 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4876 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4877 (desktop--sort-states, desktop-restoring-frames-p)
4878 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4879 (desktop-restoring-frameset-p, desktop-restore-frameset)
4880 (desktop--check-dont-save, desktop-save-frameset): New functions.
4881 (desktop--app-id): New constant.
4882 (desktop-first-buffer, desktop-buffer-ok-count)
4883 (desktop-buffer-fail-count): Move before first use.
4884 * frameset.el: New file.
4886 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4888 * files.el: Use lexical-binding.
4889 (dir-locals-read-from-file): Remove unused `err' variable.
4890 (hack-dir-local-variables--warned-coding): New var.
4891 (hack-dir-local-variables): Use it to avoid repeated warnings.
4892 (make-backup-file-name--default-function): New function.
4893 (make-backup-file-name-function): Use it as default.
4894 (buffer-stale--default-function): New function.
4895 (buffer-stale-function): Use it as default.
4896 (revert-buffer-insert-file-contents--default-function): New function.
4897 (revert-buffer-insert-file-contents-function): Use it as default.
4898 (insert-directory): Avoid add-to-list.
4900 * autorevert.el (auto-revert-handler): Simplify.
4901 Use buffer-stale--default-function.
4903 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4905 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4907 * whitespace.el (whitespace-ensure-local-variables): New function.
4908 (whitespace-cleanup-region): Call it.
4909 (whitespace-turn-on): Call it.
4911 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4913 Complete file name handlers.
4915 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4916 (tramp-handle-verify-visited-file-modtime)
4917 (tramp-handle-file-notify-rm-watch): New functions.
4918 (tramp-call-process): Do not bind `default-directory'.
4920 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4921 Order alphabetically.
4922 [access-file, add-name-to-file, dired-call-process]:
4923 [dired-compress-file, file-acl, file-notify-rm-watch]:
4924 [file-ownership-preserved-p, file-selinux-context]:
4925 [make-directory-internal, make-symbolic-link, set-file-acl]:
4926 [set-file-selinux-context, set-visited-file-modtime]:
4927 [verify-visited-file-modtime]: Add handler.
4928 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4930 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4931 [file-notify-add-watch, file-notify-rm-watch]:
4932 [set-file-times, set-visited-file-modtime]:
4933 [verify-visited-file-modtime]: Add handler.
4934 (with-tramp-gvfs-error-message)
4935 (tramp-gvfs-handle-set-visited-file-modtime)
4936 (tramp-gvfs-fuse-file-name): Remove.
4937 (tramp-gvfs-handle-file-notify-add-watch)
4938 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4939 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4941 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4942 Order alphabetically.
4943 [file-notify-rm-watch ]: Use default Tramp handler.
4944 [executable-find]: Remove private handler.
4945 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4946 `default-directory'.
4947 (tramp-sh-handle-executable-find)
4948 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4949 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4950 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4951 Do not use `format' in `tramp-message'.
4953 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4954 [file-notify-rm-watch, set-visited-file-modtime]:
4955 [verify-visited-file-modtime]: Add handler.
4956 (tramp-smb-call-winexe): Do not bind `default-directory'.
4958 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4960 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4962 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4964 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4966 (log-view-diff-changeset): Same.
4967 (log-view-diff-common): Call backend command `previous-revision'
4968 to find out the previous revision, in both cases. Swap the
4969 variables `to' and `fr', so that `fr' usually refers to the
4970 earlier revision (Bug#14989).
4972 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4974 * ibuf-ext.el (ibuffer-filter-by-filename):
4975 Make it work with dired buffers too.
4977 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4979 * emacs-lisp/re-builder.el (reb-color-display-p):
4980 * files.el (save-buffers-kill-terminal):
4981 * net/browse-url.el (browse-url):
4982 * server.el (server-save-buffers-kill-terminal):
4983 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4984 Prefer nil to selected-frame for the first arg of frame-parameter.
4986 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4988 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4990 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4992 * minibuffer.el (completion--twq-all): Try and preserve each
4993 completion's case choice (bug#14907).
4995 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4997 * net/network-stream.el (open-network-stream): Mention the new
4998 :nogreeting parameter.
4999 (network-stream-open-starttls): Use the :nogreeting parameter
5002 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5004 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5005 more natural than popping.
5007 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5008 (shr-urlify): Highlight under mouse.
5010 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5012 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5014 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5016 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5019 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5020 point-min==1. Fix search string. Fix parentheses missing.
5022 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5023 assume point-min==1. Fix search string. Fix parentheses missing.
5025 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5027 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5030 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5032 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5033 initial frame is minibuffer-less. (Bug#14841)
5035 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5037 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5040 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5041 (tramp-maybe-open-connection): Use it.
5043 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5045 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5046 minimal set of parameters passed when creating a frame, because
5047 the minibuffer status of a frame cannot be changed later.
5049 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5051 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5052 replace-regexp-in-string and inadvertent omissions in previous change.
5053 (todo-filter-items): Ensure only file names are comma-separated in
5054 name of filtered items buffer.
5056 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5058 * desktop.el: Optionally force offscreen frames back onscreen.
5059 (desktop-restoring-reuses-frames): New option.
5060 (desktop--compute-pos, desktop--move-onscreen): New functions.
5061 (desktop--make-frame): Use desktop--move-onscreen.
5063 2013-07-27 Alan Mackenzie <acm@muc.de>
5065 Fontify a Java generic method as a function.
5066 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5069 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5071 * calendar/todo-mode.el: Add command to rename todo files.
5072 (todo-rename-file): New command.
5073 (todo-key-bindings-t): Add key binding for it. Change the
5074 bindings of todo-filter-regexp-items(-multifile) to use `x'
5075 instead of `r', since the latter is better suited to the new
5078 2013-07-27 Alan Mackenzie <acm@muc.de>
5080 Make Java try-with-resources statement parse properly.
5081 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5082 (c-block-stmt-1-2-key): New language constants/variables.
5083 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5084 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5085 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5086 with c-block-stmt-1-2-key.
5088 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5090 * desktop.el (desktop--make-frame): Apply most frame parameters after
5091 creating the frame to force (partially or totally) offscreen frames to
5092 be restored as such.
5094 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5096 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5099 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5102 `base' arg of backtrace-frame.
5104 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5106 * simple.el (list-processes): Doc fix.
5108 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5110 * desktop.el (desktop--select-frame):
5111 Try harder to reuse existing frames.
5113 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5116 (edebug-eval): Use backtrace-eval.
5117 (edebug--display, edebug--recursive-edit): Don't let-bind the
5118 edebug-outer-* vars that keep track of variables we locally let-bind.
5119 (edebug-outside-excursion): Don't restore outside values of locally
5121 (edebug--display): Use user-error.
5122 (cl-lexical-debug, cl-debug-env): Remove.
5124 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5126 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5127 are restored to be sure that they are visible before deleting any
5130 2013-07-26 Matthias Meulien <orontee@gmail.com>
5132 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5133 vc-print-root-log. (Bug#14948)
5135 2013-07-26 Richard Stallman <rms@gnu.org>
5137 Add aliases for encrypting mail.
5138 * epa.el (epa-mail-aliases): New option.
5139 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5140 Bind inhibit-read-only so read-only text doesn't ruin everything.
5141 (epa-mail-default-recipients): New subroutine broken out.
5142 Handle epa-mail-aliases.
5144 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5146 Add support for lexical variables to the debugger's `e' command.
5147 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5148 vars, except for debugger-outer-match-data.
5149 (debugger-frame-number): Move check for "on a function call" from
5150 callers into it. Add `skip-base' argument.
5151 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5152 (debugger-env-macro): Only reset the state stored in non-variables,
5153 i.e. current-buffer and match-data.
5154 (debugger-eval-expression): Rewrite using backtrace-eval.
5155 * subr.el (internal--called-interactively-p--get-frame): Remove.
5156 (called-interactively-p):
5157 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5158 `base' arg of backtrace-frame instead.
5160 2013-07-26 Glenn Morris <rgm@gnu.org>
5162 * align.el (align-regexp): Doc fix. (Bug#14857)
5163 (align-region): Explicit error if subexpression missing/does not match.
5165 * simple.el (global-visual-line-mode):
5166 Do not duplicate the mode lighter. (Bug#14858)
5168 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5170 * window.el (display-buffer): In display-buffer bind
5171 split-window-keep-point to t, bug#14829.
5173 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5175 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5176 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5177 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5178 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5180 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5181 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5183 2013-07-25 Glenn Morris <rgm@gnu.org>
5185 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5187 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5189 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5190 parameter to modify-frame-parameters if the value has not changed;
5191 this is a workaround for bug#14949.
5192 (desktop--make-frame): On cl-delete-if call, check parameter name,
5195 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5197 * vc/vc.el (vc-ignore): New function.
5199 * vc/vc-svn.el (vc-svn-ignore): New function.
5201 * vc/vc-hg.el (vc-hg-ignore): New function.
5203 * vc/vc-git.el (vc-git-ignore): New function.
5205 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5206 (vc-dir-ignore): New function.
5208 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5209 (cvs-append-to-ignore): Move here from pcvs.el.
5211 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5213 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5215 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5217 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5218 (desktop-restore-frames): Warn when deleting an existing frame failed.
5220 2013-07-24 Glenn Morris <rgm@gnu.org>
5222 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5224 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5226 * filenotify.el (file-notify-supported-p):
5227 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5230 * autorevert.el (auto-revert-use-notify):
5231 (auto-revert-notify-add-watch):
5232 * net/tramp.el (tramp-file-name-for-operation):
5233 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5234 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5235 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5236 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5237 Remove `file-notify-supported-p' entry.
5239 2013-07-24 Glenn Morris <rgm@gnu.org>
5241 * printing.el: Replace all uses of deleted ps-windows-system,
5242 ps-lp-system, ps-flatten-list with lpr- versions.
5244 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5246 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5247 checked with memq (bug#14935).
5249 * files.el (revert-buffer-function): Use a non-nil default.
5250 (revert-buffer-preserve-modes): Declare var to
5251 provide access to the `preserve-modes' argument.
5252 (revert-buffer): Let-bind it.
5253 (revert-buffer--default): New function, extracted from revert-buffer.
5255 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5257 * lpr.el: Signal print errors more prominently.
5258 (print-region-function): Don't default to nil.
5259 (lpr-print-region): New function, extracted from print-region-1.
5260 Check lpr's return value and signal an error in case of problem.
5261 (print-region-1): Use it.
5262 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5264 (ps-printer-name): Default to nil.
5265 (ps-printer-name-option): Default to lpr-printer-switch.
5266 (ps-print-region-function): Don't default to nil.
5267 (ps-postscript-code-directory): Simplify default.
5268 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5269 (ps-string-list, ps-eval-switch, ps-flatten-list)
5270 (ps-flatten-list-1): Remove.
5271 (ps-multibyte-buffer): Avoid setq.
5272 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5273 (print-region-function, ps-print-region-function): Don't set them here.
5275 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5277 * ido.el (ido-fractionp):
5278 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5279 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5280 (ido-max-directory-size, ido-max-dir-file-cache)
5281 (ido-decorations): Doc fix.
5283 * ansi-color.el: Fix old URL.
5285 2013-07-23 Michael R. Mauger <michael@mauger.com>
5287 * progmodes/sql.el: Version 3.3
5288 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5289 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5290 (sql-interactive-remove-continuation-prompt): Rewrite, use
5291 functions above. Fix continuation prompt and complete output line
5293 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5294 redirected output buffer.
5295 (sql-mode): Restore deleted code (Bug#13591).
5297 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5299 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5301 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5303 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5305 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5306 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5307 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5309 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5311 * desktop.el (desktop-clear): Simplify; remove useless checks
5312 against invalid buffer names.
5313 (desktop-list*): Use cl-list*.
5314 (desktop-buffer-info, desktop-create-buffer): Simplify.
5316 2013-07-23 Leo Liu <sdl.web@gmail.com>
5318 * bookmark.el (bookmark-make-record): Restore NAME as a default
5321 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5323 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5324 extracted from autoload--insert-text.
5325 (autoload--insert-text): Remove.
5326 (autoload--print-cookie-text): New function, extracted from
5327 autoload--insert-cookie-text.
5328 (autoload--insert-cookie-text): Remove.
5329 (autoload-generate-file-autoloads): Adjust calls accordingly.
5331 * winner.el (winner-hook-installed-p): Remove.
5332 (winner-mode): Simplify accordingly.
5334 * subr.el (add-to-list): Fix compiler-macro when `append' is
5335 not constant. Don't use `cl-member' for the base case.
5337 * progmodes/subword.el: Fix boundary case (bug#13758).
5338 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5340 (subword-backward-regexp): Make it a constant.
5341 (subword-forward-internal): Don't treat a trailing capital as the
5342 beginning of a word.
5344 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5346 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5347 global value of tabulated-list-revert-hook (bug#14930).
5349 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5351 * desktop.el: Require 'cl-lib.
5352 (desktop-before-saving-frames-functions): New hook.
5353 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5354 for frames being saved. Rename from desktop--save-minibuffer-frames.
5355 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5356 Do not save frames with non-nil `desktop-dont-save' parameter.
5357 Filter out deleted frames.
5358 (desktop--find-frame): Use cl-find-if.
5359 (desktop--select-frame): Use cl-(first|second|third) to access values
5361 (desktop--make-frame): Use cl-delete-if.
5362 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5363 (desktop-restore-frames): Use cl-(first|second|third) to access values
5364 of desktop-mini. Look for visible frame at the end, not while
5367 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5368 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5369 Use string-match-p, looking-at-p (bug#14927).
5371 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5373 * desktop.el (desktop-saved-frame-states):
5374 Rename from desktop--saved-states; all users changed.
5375 (desktop-save-frames): Rename from desktop--save-frames.
5376 Do not save state to desktop file.
5377 (desktop-save): Save desktop-saved-frame-states to desktop file
5379 (desktop-restoring-frames-p): New function.
5380 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5381 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5382 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5384 * desktop.el: Correctly restore iconified frames.
5385 (desktop--filter-iconified-position): New function.
5386 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5388 2013-07-20 Glenn Morris <rgm@gnu.org>
5390 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5391 Let `message' do the formatting.
5392 (def-gdb-preempt-display-buffer): Add explicit format.
5394 * image-dired.el (image-dired-track-original-file):
5395 Use with-current-buffer.
5396 (image-dired-track-thumbnail): Use with-current-buffer.
5397 Avoid changing point of wrong window.
5399 * image-dired.el (image-dired-track-original-file):
5400 Avoid changing point of wrong window. (Bug#14909)
5402 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5404 * progmodes/gdb-mi.el (gdb-done-or-error):
5405 Guard against "%" in gdb output. (Bug#14127)
5407 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5409 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5412 * international/mule.el (coding-system-iso-2022-flags): Fix last
5415 2013-07-20 Kenichi Handa <handa@gnu.org>
5417 * international/mule.el (coding-system-iso-2022-flags):
5418 Add `8-bit-level-4'. (Bug#8522)
5420 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5425 * net/eww.el (eww-process-text-input): Allow inputting when the
5426 point is at the start of the line, as the properties aren't
5429 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5432 2013-07-19 Richard Stallman <rms@gnu.org>
5434 * epa.el (epa-popup-info-window): Doc fix.
5436 * subr.el (split-string): New arg TRIM.
5438 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5440 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5441 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5443 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5445 * filenotify.el (file-notify--library): Rename from
5446 `file-notify-support'. Do not autoload. Adapt all uses.
5447 (file-notify-supported-p): New defun.
5449 * autorevert.el (auto-revert-use-notify):
5450 Use `file-notify-supported-p' instead of `file-notify-support'.
5452 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5454 * net/tramp.el (tramp-file-name-for-operation):
5455 Add `file-notify-supported-p'.
5457 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5459 (tramp-sh-file-name-handler-alist): Add it as handler for
5460 `file-notify-supported-p '.
5462 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5463 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5464 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5465 Add `ignore' as handler for `file-notify-*' functions.
5467 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5469 * simple.el (line-move-partial, line-move): Don't start vscroll or
5470 scroll-up if the current line is not taller than the window.
5473 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5475 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5476 highlight question marks in the method names as strings.
5477 (ruby-block-beg-keywords): Inline.
5478 (ruby-font-lock-keyword-beg-re): Extract from
5479 `ruby-font-lock-keywords'.
5481 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5483 * frame.el (blink-cursor-blinks): New defcustom.
5484 (blink-cursor-blinks-done): New defvar.
5485 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5486 (blink-cursor-timer-function): Check if number of blinks has been
5488 (blink-cursor-suspend, blink-cursor-check): New defuns.
5490 2013-07-15 Glenn Morris <rgm@gnu.org>
5492 * edmacro.el (edmacro-format-keys): Fix previous change.
5494 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5496 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5497 The hack didn't work outside English locales anyway.
5499 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5501 * simple.el (define-alternatives): Rename from alternatives-define,
5502 per RMS' suggestion.
5504 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5506 * desktop.el (desktop-restore-frames): Change default to t.
5507 (desktop-restore-in-current-display): Now offer more options.
5508 (desktop-restoring-reuses-frames): New customization option.
5509 (desktop--saved-states): Doc fix.
5510 (desktop-filter-parameters-alist): New variable, renamed and expanded
5511 from desktop--excluded-frame-parameters.
5512 (desktop--target-display): New variable.
5513 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5514 (desktop--filter-tty*, desktop--filter-*-color)
5515 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5516 (desktop--filter-save-desktop-parm)
5517 (desktop-restore-in-original-display-p): New functions.
5518 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5519 (desktop--save-minibuffer-frames): New function, inspired by a similar
5520 function from Martin Rudalics.
5521 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5522 (desktop--restore-in-this-display-p): Remove.
5523 (desktop--find-frame): Rename from desktop--find-frame-in-display
5524 and add predicate argument.
5525 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5526 (desktop--reuse-list): New variable.
5527 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5529 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5531 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5533 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5535 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5537 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5538 Highlight conversion methods on Kernel.
5540 2013-07-13 Alan Mackenzie <acm@muc.de>
5542 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5543 and comment it out. This out-commenting enables certain C++
5544 declarations to be parsed correctly.
5546 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5548 * international/mule.el (define-coding-system): Doc fix.
5550 * simple.el (default-font-height): Don't call font-info if the
5551 frame's default font didn't change since the frame was created.
5554 2013-07-13 Leo Liu <sdl.web@gmail.com>
5556 * ido.el (ido-read-file-name): Guard against non-symbol value.
5558 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5560 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5563 2013-07-13 Leo Liu <sdl.web@gmail.com>
5565 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5566 ido-set-matches call. (Bug#6852)
5568 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5570 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5571 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5573 (ruby-font-lock-keywords): Distinguish calls to functions with
5574 module-like names from module references. Highlight character
5577 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5579 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5580 (gdb-send): Handle continued commands. (Bug#14847)
5582 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5584 * desktop.el (desktop--v2s): Remove unused local variable.
5585 (desktop-save-buffer): Make defvar-local; adjust docstring.
5586 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5587 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5589 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5591 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5593 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5595 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5598 2013-07-12 Glenn Morris <rgm@gnu.org>
5600 * doc-view.el: Require cl-lib at runtime too.
5601 (doc-view-remove-if): Remove.
5602 (doc-view-search-next-match, doc-view-search-previous-match):
5605 * edmacro.el: Require cl-lib at runtime too.
5606 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5607 (edmacro-mismatch, edmacro-subseq): Remove.
5609 * shadowfile.el: Require cl-lib.
5610 (shadow-remove-if): Remove.
5611 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5614 * wid-edit.el: Require cl-lib.
5615 (widget-choose): Use cl-remove-if.
5616 (widget-remove-if): Remove.
5618 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5619 (ebrowse-delete-if-not): Remove.
5620 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5621 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5622 Use cl-delete-if-not.
5624 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5626 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5627 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5629 2013-07-12 Leo Liu <sdl.web@gmail.com>
5631 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5633 2013-07-11 Glenn Morris <rgm@gnu.org>
5635 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5636 (edebug-gensym-index, edebug-gensym):
5637 Remove reimplementation of cl-gensym.
5638 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5640 * thumbs.el: Require cl-lib at run-time too.
5641 (thumbs-gensym-counter, thumbs-gensym):
5642 Remove reimplementation of cl-gensym.
5643 (thumbs-temp-file): Use cl-gensym.
5645 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5646 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5647 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5648 (ert--union, ert--gensym-counter, ert--gensym-counter)
5649 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5650 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5651 (ert-make-test-unbound, ert--expand-should-1)
5652 (ert--expand-should, ert--should-error-handle-error)
5653 (should-error, ert--explain-equal-rec)
5654 (ert--plist-difference-explanation, ert-select-tests)
5655 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5656 Use cl-lib functions rather than reimplementations.
5658 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5660 * net/tramp.el (tramp-methods): Extend docstring.
5661 (tramp-connection-timeout): New defcustom.
5662 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5663 (with-tramp-progress-reporter): Simplify.
5664 (tramp-process-actions): Improve messages.
5666 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5667 * net/tramp-sh.el (tramp-maybe-open-connection):
5668 Use `tramp-connection-timeout'.
5669 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5672 2013-07-11 Leo Liu <sdl.web@gmail.com>
5674 * ido.el (ido-read-file-name): Conform to the requirements of
5675 read-file-name. (Bug#11861)
5676 (ido-read-directory-name): Conform to the requirements of
5677 read-directory-name.
5679 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5681 * subr.el (delay-warning): New function.
5683 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5685 * simple.el (default-line-height): New function.
5686 (line-move-partial, line-move): Use it instead of computing the
5688 (line-move-partial): Always compute ROWH. If the last line is
5689 partially-visible, but its text is completely visible, allow
5690 cursor to enter such a partially-visible line.
5692 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5694 Improve error messages. (Bug#14808)
5696 * net/tramp.el (tramp-current-connection): New defvar, moved from
5698 (tramp-message-show-progress-reporter-message): Remove, not
5700 (tramp-error-with-buffer): Show message in minibuffer.
5701 Discard input before waiting. Reset connection timestamp.
5702 (with-tramp-progress-reporter): Improve messages.
5703 (tramp-process-actions): Use progress reporter. Delete process in
5704 case of error. Improve messages.
5706 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5707 Call `tramp-error-with-buffer' with vector and buffer.
5708 (tramp-current-connection): Remove.
5709 (tramp-maybe-open-connection): The car of
5710 `tramp-current-connection' are the first 3 slots of the vector.
5712 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5714 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5715 inside continued strings.
5717 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5719 Timestamp fixes for undo (Bug#14824).
5720 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5722 2013-07-10 Leo Liu <sdl.web@gmail.com>
5724 * files.el (require-final-newline): Allow safe local value.
5727 2013-07-09 Leo Liu <sdl.web@gmail.com>
5729 * ido.el (ido-read-directory-name): Handle fallback.
5730 (ido-read-file-name): Update DIR to ido-current-directory.
5732 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5734 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5736 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5737 "autoload". Remove "warn lower camel case" section, previously
5738 commented out. Highlight negation char. Do not highlight the
5739 target in singleton method definitions.
5741 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * faces.el (tty-setup-hook): Declare the hook.
5745 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5746 and detect when a guard/pred depends on local vars (bug#14773).
5747 (pcase--u1): Adjust caller.
5749 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5751 * simple.el (line-move-partial, line-move): Account for
5753 (line-move-partial): Avoid setting vscroll when the last
5754 partially-visible line in window is of default height.
5756 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5761 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5763 * subr.el (read-quoted-char): Remove unused local variable `char'.
5765 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5767 * ediff.el (ediff-version): Version update.
5768 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5769 (ediff-merge-with-ancestor-command, ediff-directories-command)
5770 (ediff-directories3-command, ediff-merge-directories-command)
5771 (ediff-merge-directories-with-ancestor-command): New functions.
5772 All are command-line interfaces to ediff: to facilitate calling
5773 Emacs with the appropriate ediff functions invoked.
5775 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5776 (viper-save-kill-buffer): Check if buffer is modified.
5778 * viper.el (viper-version): Version update.
5779 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5781 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5784 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5785 (viper-intercept-ESC-key): Simplify.
5786 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5787 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5788 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5789 (viper-setup-ESC-to-escape): New functions.
5790 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5791 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5793 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5795 * simple.el (default-font-height, window-screen-lines):
5797 (line-move, line-move-partial): Use them instead of
5798 frame-char-height and window-text-height. This makes scrolling
5799 text smoother when the buffer's default face uses a font that is
5800 different from the frame's default font.
5802 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5804 * files.el (write-file): Do not display confirm dialog for NS,
5805 it does its own dialog, which can't be cancelled (Bug#14578).
5807 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5809 * simple.el (line-move-partial): Adjust the row returned by
5810 posn-at-point for the current window-vscroll. (Bug#14567)
5812 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5814 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5815 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5818 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5820 * window.el (window-state-put-stale-windows): New variable.
5821 (window--state-put-2): Save list of windows without matching buffer.
5822 (window-state-put): Remove "bufferless" windows if possible.
5824 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5826 * simple.el (alternatives-define): Remove leftover :group keyword.
5829 2013-07-06 Leo Liu <sdl.web@gmail.com>
5831 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5832 (ido-enable-virtual-buffers): New variable.
5833 (ido-buffer-internal, ido-toggle-virtual-buffers)
5834 (ido-make-buffer-list): Use it.
5835 (ido-exhibit): Support turning on and off virtual buffers
5838 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5840 * simple.el (alternatives-define): New macro.
5842 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5844 * subr.el (read-quoted-char): Use read-key.
5845 (sit-for): Let read-event decode tty input (bug#14782).
5847 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5849 * calendar/todo-mode.el: Add handling of file deletion, both by
5850 mode command and externally. Fix various related bugs.
5851 Clarify Commentary and improve some documentation strings and code.
5852 (todo-delete-file): New command.
5853 (todo-check-file): New function.
5854 (todo-show): Handle external deletion of the file we're trying to
5855 show (bug#14688). Replace called-interactively-p by an optional
5856 prefix argument to avoid problematic interaction with catch form
5857 when byte compiled (bug#14702).
5858 (todo-quit): Handle external deletion of the archive's todo file.
5859 Make sure the buffer that was visiting the archive file is still
5860 live before trying to bury it.
5861 (todo-category-completions): Handle external deletion of any
5862 category completion files.
5863 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5864 of todo files, in case of external deletion.
5865 (todo-add-file): Replace unnecessary setq by let-binding.
5866 (todo-find-archive): Check whether there are any archives.
5867 Replace unnecessary setq by let-binding.
5868 (todo-archive-done-item): Use find-file-noselect to get the
5869 archive buffer whether or not the archive already exists.
5870 Remove superfluous code. Use file size instead of buffer-file-name to
5871 check if the archive is new; if it is, update list of archives.
5872 (todo-default-todo-file): Allow nil to be a valid value for when
5873 there are no todo files.
5874 (todo-reevaluate-default-file-defcustom): Use corrected definition
5875 of todo-default-todo-file.
5876 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5877 (todo-delete-category, todo-show-categories-table)
5878 (todo-category-number): Clarify comment.
5879 (todo-filter-items): Clarify documentation string.
5880 (todo-show-current-file, todo-display-as-todo-file)
5881 (todo-reset-and-enable-done-separator): Tweak documentation string.
5882 (todo-done-separator): Make separator length window-width, since
5883 bug#2749 is now fixed.
5885 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5887 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5888 Support both "gvfs-monitor-dir" and "inotifywait".
5889 (tramp-sh-file-inotifywait-process-filter): Rename from
5890 `tramp-sh-file-notify-process-filter'.
5891 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5892 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5894 2013-07-05 Leo Liu <sdl.web@gmail.com>
5896 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5898 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5900 * frame.el (display-pixel-height, display-pixel-width)
5901 (display-mm-height, display-mm-width): Mention behavior on
5902 multi-monitor setups in docstrings.
5903 (w32-display-monitor-attributes-list): Declare function.
5904 (display-monitor-attributes-list): Use it.
5906 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5908 * filenotify.el: New package.
5910 * autorevert.el (top): Require filenotify.el.
5911 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5913 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5914 (auto-revert-notify-handler): Use `file-notify-*' functions.
5916 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5918 * net/tramp.el (tramp-file-name-for-operation):
5919 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5921 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5922 for `file-notify-add-watch' and `file-notify-rm-watch'.
5923 (tramp-process-sentinel): Improve trace.
5924 (tramp-sh-handle-file-notify-add-watch)
5925 (tramp-sh-file-notify-process-filter)
5926 (tramp-sh-handle-file-notify-rm-watch)
5927 (tramp-get-remote-inotifywait): New defuns.
5929 2013-07-03 Juri Linkov <juri@jurta.org>
5931 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5932 call of `occur-read-primary-args' to interactive spec.
5934 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5935 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5937 2013-07-03 Matthias Meulien <orontee@gmail.com>
5939 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5940 `Buffer-menu-multi-occur'. Add it to the menu.
5941 (Buffer-menu-mode): Document it in docstring.
5942 (Buffer-menu-multi-occur): New command. (Bug#14673)
5944 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5946 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5947 keywords and built-ins.
5949 2013-07-03 Glenn Morris <rgm@gnu.org>
5951 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5953 Make info-xref checks case-sensitive by default
5954 * info.el (Info-find-node, Info-find-in-tag-table)
5955 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5956 Add option for exact case matching of nodes.
5957 * info-xref.el (info-xref): New custom group.
5958 (info-xref-case-fold): New option.
5959 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5961 2013-07-03 Leo Liu <sdl.web@gmail.com>
5963 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5965 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5967 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5968 middle of block statement initially, lower the depth. Remove
5969 FIXME comment, not longer valid. Remove middle of block statement
5970 detection, no need to do that anymore since we've been using
5971 `ruby-parse-region' here.
5973 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5975 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5977 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5979 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5981 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5983 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5984 (desktop-restore-in-current-display): New customization option.
5985 (desktop--excluded-frame-parameters): Add `font'.
5986 (desktop--save-frames): Rename from desktop--save-windows.
5987 (desktop--restore-in-this-display-p): New function.
5988 (desktop--make-full-frame): Remove unwanted width/height from
5989 full(width|height) frames.
5990 (desktop--restore-frames): Rename from desktop--restore-windows.
5991 Obey desktop-restore-current-display. Do not delete old frames or
5992 select a new frame unless we were able to restore at least one frame.
5994 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5996 * files.el (find-file-noselect): Simplify conditional expression.
5998 * remember.el (remember-append-to-file):
5999 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6001 Add `remember-notes' function to store random notes across Emacs
6003 * remember.el (remember-data-file): Add :set callback to affect
6004 notes buffer (if any).
6005 (remember-notes): New command.
6006 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6007 New defcustoms for the `remember-notes' function.
6008 (remember-notes-save-and-bury-buffer): New command.
6009 (remember-notes-mode-map): New variable.
6010 (remember-mode): New minor mode.
6011 (remember-notes--kill-buffer-query): New function.
6012 * startup.el (initial-buffer-choice): Add notes to custom type.
6014 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6016 * bindings.el (right-char, left-char): Don't call sit-for, this is
6017 no longer needed. Use arithmetic comparison only for numerical
6020 * international/mule-cmds.el (select-safe-coding-system):
6021 Handle the case of FROM being a string correctly. (Bug#14755)
6023 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6025 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6026 progression on degenerate tables.
6027 (shr-rescale-image): ImageMagick animated images currently don't work.
6029 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6031 Some fixes and improvements for desktop frame restoration.
6032 It is still experimental and disabled by default.
6033 * desktop.el (desktop--save-windows): Put the selected frame at
6034 the head of the list.
6035 (desktop--make-full-frame): New function.
6036 (desktop--restore-windows): Try to re-select the frame that was
6037 selected upon saving. Do not abort if some frames fail to restore,
6038 just show an error message and continue. Set up maximized frames
6039 so they have default non-maximized dimensions.
6041 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6043 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6044 Don't start heredoc inside a string or comment.
6046 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6048 * bindings.el (visual-order-cursor-movement): New defcustom.
6049 (right-char, left-char): Provide visual-order cursor motion by
6050 calling move-point-visually. Update the doc strings.
6052 2013-06-28 Kenichi Handa <handa@gnu.org>
6054 * international/mule.el (define-coding-system): New coding system
6055 properties :inhibit-null-byte-detection,
6056 :inhibit-iso-escape-detection, and :prefer-utf-8.
6057 (set-buffer-file-coding-system): If :charset-list property of
6058 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6059 appropriate for setting.
6061 * international/mule-cmds.el (select-safe-coding-system):
6062 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6063 multibyte characters, return utf-8 (or one of its siblings).
6065 * international/mule-conf.el (prefer-utf-8): New coding system.
6066 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6069 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6071 * net/shr.el (shr-render-region): New function.
6073 * net/eww.el: Autoload `eww-browse-url'.
6075 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6077 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6078 Adapt to `package-desc-version' being a list.
6079 Use `package--ac-desc-version' to retrieve version from a package
6082 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6084 New experimental feature to save&restore window and frame setup.
6085 * desktop.el (desktop-save-windows): New defcustom.
6086 (desktop--saved-states): New var.
6087 (desktop--excluded-frame-parameters): New defconst.
6088 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6089 (desktop--restore-windows, desktop--save-windows): New functions.
6090 (desktop-save): Call `desktop--save-windows'.
6091 (desktop-read): Call `desktop--restore-windows'.
6093 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095 * net/shr.el (add-face-text-property): Remove compat definition.
6097 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6099 * info.el (Info-try-follow-nearest-node): Move search for footnote
6100 above search for node name to prevent missing a footnote (bug#14717).
6102 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6104 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6106 2013-06-27 Leo Liu <sdl.web@gmail.com>
6108 * net/eww.el (eww-read-bookmarks): Check file size.
6110 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6112 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6113 advice--pending if newdef is nil or an autoload (bug#13820).
6114 (advice-mapc): New function.
6116 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6118 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6120 (eww-mode-map): Add a menu bar.
6121 (eww-add-bookmark): New command.
6122 (eww-bookmark-mode): New mode and commands.
6123 (eww-add-bookmark): Remove newlines from the title.
6124 (eww-bookmark-browse): Don't bug out if it's the only window.
6126 2013-06-26 Glenn Morris <rgm@gnu.org>
6128 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6129 (hfy-size): Handle ttys. (Bug#14668)
6131 * info-xref.el: Update for Texinfo 5 change in *note format.
6132 (info-xref-node-re, info-xref-note-re): New constants.
6133 (info-xref-check-buffer): Use info-xref-note-re.
6135 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6137 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6139 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6140 nil terminate the loop (bug#14718).
6142 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6144 * net/eww.el: Rework history traversal. When going forward/back,
6145 put these actions into the history, too, so that they can be
6147 (eww-render): Move the history reset to the correct buffer.
6149 2013-06-25 Juri Linkov <juri@jurta.org>
6151 * files-x.el (modify-dir-local-variable): Change the header comment
6152 in the file with directory local variables. (Bug#14692)
6154 * files-x.el (read-file-local-variable-value): Add `default'.
6157 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6159 * net/eww.el (eww-make-unique-file-name): Create a unique file
6160 name before saving to entering `y' accidentally asynchronously.
6162 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6164 * net/eww.el (eww-download): New command and keystroke.
6166 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6168 * net/eww.el (eww-copy-page-url): Change name of command.
6170 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6171 be more consistent with Info and dired.
6173 * net/eww.el (eww-mode-map): Ditto.
6175 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6177 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6178 packages from archives.
6179 (package-archive-contents): Change format; include obsolete packages.
6180 (package-desc): Use `dir' to mark builtin packages.
6181 (package--from-builtin): Set the `dir' field to `builtin'.
6182 (generated-autoload-file, version-control): Declare.
6183 (package-compute-transaction): Change first arg and return value to be
6184 lists of package-descs. Adjust to new package-archive-contents format.
6185 (package--add-to-archive-contents): Adjust to new
6186 package-archive-contents format.
6187 (package-download-transaction): Arg is now a list of package-descs.
6188 (package-install): If `pkg' is a package name, pass it as
6189 a requirement, so it is subject to the usual (e.g. disabled) checks.
6190 (describe-package): Accept package-desc as well.
6191 (describe-package-1): Describe a specific package-desc. Add links to
6192 other package-descs for the same package name.
6193 (package-menu-describe-package): Pass the actual package-desc.
6194 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6196 (package-desc-status): New function.
6197 (package-menu--refresh): New function, extracted
6198 from package-menu--generate.
6199 (package-menu--generate): Use it.
6200 (package-delete): Update package-alist.
6201 (package-menu-execute): Don't call package-initialize.
6203 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6204 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6205 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6206 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6207 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6208 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6210 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6212 * window.el (window--state-get-1): Workaround for bug#14527.
6213 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6215 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6217 * net/eww.el (eww-back-url): Implement the history by stashing all
6218 the data into a list.
6219 (eww-forward-url): Allow going forward in the history, too.
6221 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6224 for values and use read--expression for expressions (bug#14710).
6225 (read-file-local-variable): Avoid setq.
6226 (read-file-local-variable-mode): Use minor-mode-list.
6228 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6230 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6233 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6235 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6236 Update imenu-support when dialect changes.
6238 2013-06-25 Leo Liu <sdl.web@gmail.com>
6240 * ido.el (ido-read-internal): Allow forward slash on windows.
6242 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6244 * net/eww.el (eww): Start of strings is \\`, not ^.
6246 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6248 * net/shr.el (shr-browse-url): Fix interactive spec.
6250 * net/eww.el (eww): Add a trailing slash to domain names.
6252 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6254 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6256 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6258 * net/shr.el (shr-browse-url): Use an external browser if given a
6261 * net/eww.el (eww-external-browser): Move to shr.
6263 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6265 * net/eww.el (eww): Work more correctly for file: URLs.
6266 (eww-detect-charset): Allow quoted charsets.
6267 (eww-yank-page-url): New command and keystroke.
6269 2013-06-24 Daiki Ueno <ueno@gnu.org>
6271 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6272 file name of gpg executable.
6273 (epg-context-program): New function.
6274 (epg-context-home-directory): New function.
6275 (epg-context-set-program): New function.
6276 (epg-context-set-home-directory): New function.
6277 (epg--start): Use `epg-context-program' instead of
6279 (epg--list-keys-1): Likewise.
6281 2013-06-24 Leo Liu <sdl.web@gmail.com>
6283 * ido.el (ido-read-internal): Fix bug#14620.
6285 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6287 * faces.el (face-documentation): Simplify.
6288 (read-face-attribute, tty-find-type, x-resolve-font-name):
6289 Use `string-match-p'.
6290 (list-faces-display): Use `string-match-p'. Simplify.
6291 (face-spec-recalc): Check face to avoid face alias loops.
6292 (read-color): Use `string-match-p' and non-capturing parenthesis.
6294 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6296 * net/shr.el (shr-rescale-image): Use the new
6297 :max-width/:max-height functionality.
6299 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6301 * net/eww.el (eww-search-prefix): New variable.
6303 (eww-external-browser): New variable.
6304 (eww-mode-map): New keystroke.
6305 (eww-browse-with-external-browser): New command.
6307 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6309 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6311 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6312 Don't skip aligning the next header field when padding is 0;
6313 otherwise, field width is not respected unless the title is as
6316 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * emacs-lisp/package.el (package-el-version): Remove.
6319 (package-process-define-package): Fix inf-loop.
6320 (package-install): Allow symbols as arguments again.
6322 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6324 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6325 add some more keyword-like methods.
6326 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6328 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6330 * bs.el (bs-buffer-show-mark): Make defvar-local.
6331 (bs-mode): Use setq-local.
6333 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6334 (emacs-lock--try-unlocking): Make defvar-local.
6336 2013-06-22 Glenn Morris <rgm@gnu.org>
6338 * play/cookie1.el (cookie-apropos): Minor simplification.
6340 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6342 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6344 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6345 `regexp-opt', it breaks the build during dumping.
6347 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6349 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6350 Highlight keyword-like methods on Kernel and Module with
6351 font-lock-builtin-face.
6352 (auto-mode-alist): Consolidate different entries into one regexp
6353 and add more *file-s.
6355 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6357 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6359 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6360 (diary-entry): Use it in the action of this button type instead of
6363 * calendar/todo-mode.el: New version.
6364 (todo-add-category): Append new category to end of file and give
6365 it the highest number, instead of putting it at the beginning and
6366 giving it 0. Incorporate noninteractive functionality.
6367 (todo-forward-category): Adapt to 1-based category numbering.
6368 Allow skipping over archived categories.
6369 (todo-backward-category): Derive from todo-forward-category.
6370 (todo-backward-item, todo-forward-item): Make noninteractive and
6371 delegate interactive part to new commands. Make sensitive to done items.
6372 (todo-categories): Make value an alist of category names and
6373 vectors of item counts.
6374 (todo-category-beg): Make a defconst.
6375 (todo-category-number): Use 1 instead of 0 as initial value.
6376 (todo-category-select): Make sensitive to overlays, optional item
6377 highlighting and done items.
6378 (todo-delete-item): Make sensitive to overlays and marked and done items.
6379 (todo-edit-item): Make sensitive to overlays and editing of
6380 date/time header optional. Add format checks.
6381 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6382 no-op if point is not on an item. Advertise using todo-edit-quit.
6383 (todo-edit-mode): Make sensitive to new format, font-locking, and
6384 multiple todo files.
6385 (todo-insert-item, todo-insert-item-here): Derive from
6386 todo-basic-insert-item and extend functionality.
6387 (todo-item-end, todo-item-start): Make sensitive to done items.
6388 (todo-item-string): Don't return text properties. Restore point.
6389 (todo-jump-to-category): Make sensitive to multiple todo files and
6390 todo archives. Use extended category completion.
6391 (todo-lower-item, todo-raise-item): Rename to *-priority and
6392 derive from todo-set-item-priority.
6393 (todo-mode): Derive from special-mode. Make sensitive to new
6394 format, font-locking and multiple todo files. Make read-only.
6395 (todo-mode-map): Don't suppress digit keys, so they can supply
6396 prefix arguments. Add many new key bindings.
6397 (todo-prefix): Insert as an overlay instead of file text.
6398 Change semantics from diary date expression to purely visual mark.
6399 (todo-print): Rename to todo-print-buffer. Make buffer display
6400 features printable. Remove option to restrict number of items
6401 printed. Add option to print to file.
6402 (todo-print-function): Rename to todo-print-buffer-function.
6403 (todo-quit): Extend to handle exiting new todo modes.
6404 (todo-remove-item): Make sensitive to overlays.
6405 (todo-save): Extend to buffers of filtered items.
6406 (todo-show): Make sensitive to done items, multiple todo files and
6407 new todo modes. Offer to convert legacy todo file before creating
6408 first new todo file.
6409 (todo-show-priorities): Rename to todo-top-priorities.
6410 Change semantics of value 0.
6411 (todo-top-priorities): Rename to todo-filter-top-priorities,
6412 derive from todo-filter-items and extend functionality.
6413 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6414 and extend functionality to other types of filtered items.
6415 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6416 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6417 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6418 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6419 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6420 (todo-edit-mode-hook, todo-entry-prefix-function)
6421 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6422 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6423 (todo-initials, todo-insert-threshold, todo-item-string-start)
6424 (todo-line-string, todo-menu, todo-mode-hook)
6425 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6426 (todo-print-priorities, todo-remove-separator)
6427 (todo-save-top-priorities-too, todo-string-count-lines)
6428 (todo-string-multiline-p, todo-time-string-format)
6429 (todo-tmp-buffer-name): Remove.
6430 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6431 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6432 (todo-edit-category-diary-inclusion)
6433 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6434 (todo-edit-file, todo-edit-item-date-day)
6435 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6436 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6437 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6438 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6439 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6440 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6441 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6442 (todo-filter-top-priorities-multifile, todo-find-archive)
6443 (todo-find-filtered-items-file, todo-go-to-source-item)
6444 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6445 (todo-jump-to-archive-category, todo-lower-category)
6446 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6447 (todo-move-category, todo-move-item, todo-next-button)
6448 (todo-next-item, todo-padded-string, todo-powerset)
6449 (todo-previous-button, todo-previous-item)
6450 (todo-print-buffer-to-file, todo-raise-category)
6451 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6452 (todo-set-category-number, todo-set-item-priority)
6453 (todo-set-top-priorities-in-category)
6454 (todo-set-top-priorities-in-file, todo-show-categories-table)
6455 (todo-sort-categories-alphabetically-or-numerically)
6456 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6457 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6458 (todo-toggle-item-header, todo-toggle-item-highlighting)
6459 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6460 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6461 (todo-unarchive-items, todo-unmark-category): New commands.
6462 (todo-absolute-file-name, todo-add-to-buffer-list)
6463 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6464 (todo-basic-insert-item, todo-category-completions)
6465 (todo-category-number, todo-category-string-matcher-1)
6466 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6467 (todo-check-format, todo-clear-matches)
6468 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6469 (todo-current-category, todo-date-string-matcher)
6470 (todo-define-insertion-command, todo-diary-expired-matcher)
6471 (todo-diary-goto-entry, todo-diary-item-p)
6472 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6473 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6474 (todo-done-item-section-p, todo-done-separator)
6475 (todo-done-string-matcher, todo-files, todo-filter-items)
6476 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6477 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6478 (todo-insert-category-line, todo-insert-item-from-calendar)
6479 (todo-insert-sort-button, todo-insert-with-overlays)
6480 (todo-insertion-command-name, todo-insertion-key-bindings)
6481 (todo-label-to-key, todo-longest-category-name-length)
6482 (todo-make-categories-list, todo-mode-external-set)
6483 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6484 (todo-modes-set-3, todo-multiple-filter-files)
6485 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6486 (todo-read-category, todo-read-date, todo-read-dayname)
6487 (todo-read-file-name, todo-read-time)
6488 (todo-reevaluate-category-completions-files-defcustom)
6489 (todo-reevaluate-default-file-defcustom)
6490 (todo-reevaluate-filelist-defcustoms)
6491 (todo-reevaluate-filter-files-defcustom)
6492 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6493 (todo-reset-done-separator, todo-reset-done-separator-string)
6494 (todo-reset-done-string, todo-reset-global-current-todo-file)
6495 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6496 (todo-reset-prefix, todo-set-categories)
6497 (todo-set-date-from-calendar, todo-set-show-current-file)
6498 (todo-set-top-priorities, todo-short-file-name)
6499 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6500 (todo-total-item-counts, todo-update-buffer-list)
6501 (todo-update-categories-display, todo-update-categories-sexp)
6502 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6504 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6506 (todo-categories, todo-display, todo-edit, todo-faces)
6507 (todo-filtered): New defgroups.
6508 (todo-archived-only, todo-button, todo-category-string, todo-date)
6509 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6510 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6511 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6512 (todo-add-item-if-new-category, todo-always-add-time-string)
6513 (todo-categories-align, todo-categories-archived-label)
6514 (todo-categories-category-label, todo-categories-diary-label)
6515 (todo-categories-done-label, todo-categories-number-separator)
6516 (todo-categories-todo-label, todo-categories-totals-label)
6517 (todo-category-completions-files, todo-completion-ignore-case)
6518 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6519 (todo-done-separator-string, todo-done-string)
6520 (todo-files-function, todo-filter-done-items, todo-filter-files)
6521 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6522 (todo-initial-category, todo-initial-file, todo-item-mark)
6523 (todo-legacy-date-time-regexp, todo-mode-line-function)
6524 (todo-nondiary-marker, todo-number-prefix)
6525 (todo-print-buffer-function, todo-show-current-file)
6526 (todo-show-done-only, todo-show-first, todo-show-with-done)
6527 (todo-skip-archived-categories, todo-top-priorities-overrides)
6528 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6529 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6531 (todo-category-done, todo-date-pattern, todo-date-string-start)
6532 (todo-diary-items-buffer, todo-done-string-start)
6533 (todo-filtered-items-buffer, todo-item-start)
6534 (todo-month-abbrev-array, todo-month-name-array)
6535 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6536 (todo-top-priorities-buffer): New defconsts.
6537 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6538 (todo-categories-with-marks, todo-category-string-face)
6539 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6540 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6541 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6542 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6543 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6544 (todo-font-lock-keywords, todo-global-current-todo-file)
6545 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6546 (todo-insertion-commands-args)
6547 (todo-insertion-commands-args-genlist)
6548 (todo-insertion-commands-names, todo-insertion-map)
6549 (todo-key-bindings-t, todo-key-bindings-t+a)
6550 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6551 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6552 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6553 (todo-visited): New variables.
6555 2013-06-21 Glenn Morris <rgm@gnu.org>
6557 * play/cookie1.el (cookie-apropos): Add optional display argument.
6558 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6559 (psychoanalyze-pinhead): Use cookie-doctor.
6561 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6563 * emacs-lisp/package.el (tar-get-file-descriptor)
6564 (tar--extract): Declare.
6566 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6568 Extend flymake's warning predicate to be a function (bug#14217).
6569 * progmodes/flymake.el (flymake-warning-predicate): New.
6570 (flymake-parse-line): Use it.
6571 (flymake-warning-re): Make obsolete alias to
6572 `flymake-warning-predicate'.
6574 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6576 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6577 (package-obsolete-list): Remove.
6578 (package-activate): Remove min-version argument. Add `force' argument.
6579 Adjust to new package-alist format.
6580 (package-mark-obsolete): Remove.
6581 (package-unpack): Force reload of the package's autoloads.
6582 (package-installed-p): Check builtins if the installed package is not
6584 (package-initialize): Don't reset package-obsolete-list.
6585 Don't specify which package version to activate.
6586 (package-process-define-package, describe-package-1)
6587 (package-menu--generate): Adjust to new package-alist format.
6589 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6591 * allout-widgets.el (allout-widgets-mode-off)
6592 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6593 (allout-widgets-post-command-business)
6594 (allout-widgets-after-copy-or-kill-function)
6595 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6596 (allout-decorate-item-and-context)
6597 (allout-graphics-modification-handler): Fix typos in docstrings.
6598 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6600 * cmuscheme.el (scheme-start-file): Doc fix.
6601 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6602 (scheme-input-filter): Use `string-match-p'.
6604 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6606 * dired-x.el: Use Dired consistently in docstrings.
6608 * dired.el: Use Dired consistently in docstrings.
6609 (dired-readin, dired-mode): Use `setq-local'.
6610 (dired-switches-alist): Make defvar-local.
6611 (dired-buffers-for-dir): Use `zerop'.
6612 (dired-safe-switches-p, dired-switches-escape-p)
6613 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6614 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6615 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6616 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6617 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6618 (dired-toggle-marks, dired-mark-files-containing-regexp)
6619 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6620 (dired-flag-auto-save-files, dired-flag-backup-files):
6622 (dired-mark-files-regexp, dired-build-subdir-alist):
6623 Use `string-match-p', `looking-at-p'.
6625 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6626 (direct-print-region-helper): Use `string-match-p'.
6628 2013-06-21 Leo Liu <sdl.web@gmail.com>
6630 * comint.el (comint-redirect-results-list-from-process):
6633 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6635 * net/eww.el (eww-update-header-line-format): Quote % characters.
6637 2013-06-21 Glenn Morris <rgm@gnu.org>
6639 * play/cookie1.el (cookie): New custom group.
6640 (cookie-file): New option.
6641 (cookie-check-file): New function.
6642 (cookie): Make it interactive. Make start and end messages optional.
6643 Interactively, display the result. Default to cookie-file.
6644 (cookie-insert): Default to cookie-file.
6645 (cookie-snarf): Make start and end messages optional.
6646 Default to cookie-file. Use with-temp-buffer.
6647 (cookie-read): Rename from read-cookie.
6648 Make start and end messages optional. Default to cookie-file.
6649 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6651 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6652 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6654 2013-06-21 Leo Liu <sdl.web@gmail.com>
6656 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6658 2013-06-21 Glenn Morris <rgm@gnu.org>
6660 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6662 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6663 Daniel Hackney <dan@haxney.org>
6665 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6666 Consolidate the single-file vs tarball code.
6667 (package-desc-suffix): New function.
6668 (package-desc-full-name): Don't bother inlining it.
6669 (package-load-descriptor): Return the new package-desc.
6670 (package-mark-obsolete): Remove unused arg `package'.
6671 (package-unpack): Make it work for single files as well.
6672 Make it update package-alist.
6673 (package--make-autoloads-and-stuff): Rename from
6674 package--make-autoloads-and-compile. Don't compile any more.
6675 (package--compile): New function.
6676 (package-generate-description-file): New function, extracted from
6677 package-unpack-single.
6678 (package-unpack-single): Remove.
6679 (package--with-work-buffer): Add indentation and debugging info.
6680 (package-download-single): Remove.
6681 (package-install-from-archive): Rename from package-download-tar, make
6682 it take a pkg-desc, and make it work for single files as well.
6683 (package-download-transaction): Simplify.
6684 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6685 external tar program.
6686 (package-install-from-buffer): Remove `pkg-desc' argument.
6687 Use package-tar-file-info for tar-mode buffers.
6688 (package-install-file): Simplify accordingly.
6689 (package-archive-base): Change to take a pkg-desc.
6690 * tar-mode.el (tar--check-descriptor): New function, extracted from
6692 (tar-get-descriptor): Use it.
6693 (tar-get-file-descriptor): New function.
6694 (tar--extract): New function, extracted from tar-extract.
6695 (tar--extract): Use it.
6696 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6697 case the summary uses non-ascii. Adjust to new calling convention of
6698 package-tar-file-info.
6700 2013-06-21 Leo Liu <sdl.web@gmail.com>
6702 * comint.el (comint-redirect-results-list-from-process):
6703 Fix random delay. (Bug#14681)
6705 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6707 * profiler.el (profiler-format-number): Use log, not log10.
6709 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6711 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6713 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6716 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6718 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6719 (AUTOGENEL): ... here.
6720 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6721 (cl--defsubst-expand): Use it.
6723 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6725 * subr.el (log10): Move here from C code, and declare as obsolete.
6726 All uses of (log10 X) replaced with (log X 10).
6728 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6730 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6731 Declare with `defvar-local'.
6732 (tabulated-list-use-header-line, tabulated-list-entries)
6733 (tabulated-list-padding, tabulated-list-printer)
6734 (tabulated-list-sort-key): Declare with `defvar-local'.
6735 (tabulated-list-init-header, tabulated-list-print-fake-header):
6738 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6740 * arc-mode.el (archive-mode): Add `archive-write-file' to
6741 `write-contents-functions' also for remote files. (Bug#14652)
6743 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6745 * cus-edit.el (custom-commands): Fix typos.
6746 (custom-display): Fix tooltip text.
6747 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6748 Fix typos in docstrings.
6749 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6750 (custom-unlispify-menu-entry, custom-magic-value-create)
6751 (custom-add-see-also, custom-group-value-create): Use ?\s.
6752 (custom-guess-type, customize-apropos, editable-field)
6753 (custom-face-value-create): Use `string-match-p'.
6754 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6756 * custom.el (custom-load-symbol): Use `string-match-p'.
6758 * ansi-color.el: Convert to lexical binding.
6759 (ansi-colors): Fix URL.
6760 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6761 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6762 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6764 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6766 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6768 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6770 2013-06-19 Tom Tromey <tromey@redhat.com>
6772 * net/eww.el (eww-top-url): Remove.
6773 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6774 (eww-render): Set new variables. Don't set eww-top-url.
6775 (eww-handle-link): Handle "prev", "home", and "contents".
6776 Downcase the rel text.
6777 (eww-top-url): Choose best top URL.
6779 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6782 relying in widget.el. Using widget.el leads to too many
6783 user interface inconsistencies.
6784 (eww-self-insert): Implement entering commands in text fields.
6785 (eww-process-text-input): New function to make text input field editing
6787 (eww-submit): Rewrite to use the new-style form methods.
6788 (eww-select-display): Display the correct selected item.
6789 (eww-change-select): Implement changing the select value.
6790 (eww-toggle-checkbox): Implement radio/checkboxes.
6791 (eww-update-field): Fix compilation error.
6792 (eww-tag-textarea): Implement <textarea>.
6794 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6795 we don't shadow mode-specific bindings.
6797 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6800 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6802 2013-06-19 Glenn Morris <rgm@gnu.org>
6804 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6806 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6808 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6811 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6813 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6815 * net/browse-url.el (browse-url-browser-function):
6816 `eww-browse-url' has the right calling signature, `eww' does not.
6818 2013-06-19 Glenn Morris <rgm@gnu.org>
6820 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6821 Only eval autoloaded macros.
6822 (byte-compile-autoload): Only give the macro warning for macros.
6824 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6825 (ps-underlined-faces): Declare.
6827 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6828 (speedbar-add-supported-extension): Declare.
6830 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6831 Don't include a date stamp in the header of the generated file;
6832 it leads to needless differences between output files.
6834 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6836 * net/secrets.el (secrets-struct-secret-content-type):
6837 Replace check of introspection data by a test call of "CreateItem".
6838 Some servers do not offer introspection.
6840 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6842 * electric.el (electric-pair-mode): Improve interaction with
6843 electric-layout-mode.
6844 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6845 (electric-pair-syntax): Use text-mode-syntax-table in comments
6847 (electric-pair--insert): New function.
6848 (electric-pair-post-self-insert-function): Use it and
6849 electric--after-char-pos.
6851 2013-06-19 Leo Liu <sdl.web@gmail.com>
6853 * progmodes/octave.el (octave-help): Fix regexp.
6855 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6858 (shr-table-horizontal-line): Allow nil as a value, and change the
6860 (shr-insert-table-ruler): Respect the nil value.
6862 2013-06-18 Tom Tromey <tromey@barimba>
6864 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6866 (eww-open-file): New defun.
6867 (eww-render): Initialize new variables.
6868 (eww-display-html): Handle "link" and "a".
6869 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6870 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6871 (eww-back-url): Rename from eww-previous-url.
6872 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6875 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6877 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6878 Distinguish ternary operator tokens from slash symbol and slash
6881 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6883 Convert symbol prettification into minor mode and global minor mode.
6885 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6886 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6887 (prettify-symbols--keywords): Rename from
6888 `prog-prettify-symbols-alist' and make a local defvar.
6889 (prettify-symbols--compose-symbol): Rename from
6890 `prog--prettify-font-lock-compose-symbol'.
6891 (prettify-symbols--make-keywords): Rename from
6892 `prog-prettify-font-lock-symbols-keywords' and simplify.
6893 (prog-prettify-install): Remove.
6894 (prettify-symbols-mode): New minor mode, based on
6895 `prog-prettify-install'.
6896 (turn-on-prettify-symbols-mode): New function.
6897 (global-prettify-symbols-mode): New globalized minor mode.
6899 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6900 * progmodes/cfengine.el (cfengine3-mode):
6901 * progmodes/perl-mode.el (perl-mode): Don't call
6902 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6904 2013-06-18 Juri Linkov <juri@jurta.org>
6906 * files-x.el (modify-file-local-variable-message): New function.
6907 (modify-file-local-variable)
6908 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6909 and call `modify-file-local-variable-message' when it's non-nil.
6910 (add-file-local-variable, delete-file-local-variable)
6911 (add-file-local-variable-prop-line)
6912 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6913 and use it. (Bug#9820)
6915 2013-06-18 Juri Linkov <juri@jurta.org>
6917 * emulation/vi.el (vi-shell-op):
6918 * emulation/vip.el (vip-execute-com, ex-command):
6919 * emulation/viper-cmd.el (viper-exec-bang):
6920 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6921 the call of `shell-command-on-region'. (Bug#14637)
6923 * simple.el (shell-command-on-region): Doc fix.
6925 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6927 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6930 2013-06-18 Glenn Morris <rgm@gnu.org>
6932 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6934 * newcomment.el (comment-search-forward, comment-search-backward):
6935 Doc fix. (Bug#14376)
6937 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6939 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6940 (buffer-face-mode-invoke): Doc fix.
6942 2013-06-18 Matthias Meulien <orontee@gmail.com>
6944 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6945 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6947 2013-06-18 Glenn Morris <rgm@gnu.org>
6949 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6950 Replace obsolete function generic-make-keywords with its expansion.
6952 * progmodes/python.el (ffap-alist): Declare.
6954 * textmodes/reftex.el (bibtex-mode-map): Declare.
6956 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6958 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6959 (package-unpack, package-unpack-single): Return the pkg-dir.
6960 (package-download-transaction): Use it to update package-alist.
6962 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6967 2013-06-17 Juri Linkov <juri@jurta.org>
6969 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6971 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6973 * emacs-lisp/package.el (package-load-descriptor):
6974 Remove `with-syntax-table' call, `read' doesn't need it.
6975 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6977 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6979 * startup.el (command-line): Expand package name returned by
6980 `package--description-file' (bug#14639).
6982 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6984 * emacs-lisp/package.el (package-load-descriptor): Do not call
6985 `emacs-lisp-mode', just use its syntax table.
6987 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6989 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6990 `font-lock-extra-managed-props' if any prettifying keyword is added.
6991 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6992 (prog-mode): Use `setq-local'.
6994 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * international/characters.el (standard-case-table): Set syntax of ?»
6997 and ?« to punctuation.
6999 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7001 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7002 Save relevant match data before calling `syntax-ppss' (bug#14595).
7004 2013-06-15 Juri Linkov <juri@jurta.org>
7006 * files-x.el (modify-file-local-variable-prop-line): Add local
7007 variables to the end of the existing comment on the first line.
7008 Use `file-auto-mode-skip' to skip interpreter magic line,
7009 and also skip XML declaration.
7011 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7013 * startup.el (package--builtin-versions): New var.
7014 (package-subdirectory-regexp): Remove.
7015 (package--description-file): Hard code its value instead.
7017 * emacs-lisp/package.el: Don't activate packages older than builtin.
7018 (package-obsolete-list): Rename from package-obsolete-alist, and make
7019 it into a simple list of package-desc.
7020 (package-strip-version): Remove.
7021 (package-built-in-p): Use package--builtin-versions.
7022 (package-mark-obsolete): Simplify.
7023 (package-process-define-package): Mark it obsolete if older than the
7025 (package-handle-response): Use line-end-position.
7026 (package-read-archive-contents, package--download-one-archive):
7028 (package--add-to-archive-contents): Skip if older than the builtin or
7030 (package-menu-describe-package): Fix last change.
7031 (package-list-unversioned): New var.
7032 (package-menu--generate): Use it.
7034 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7035 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7036 (autoload-builtin-package-versions): New variable.
7037 (autoload-generate-file-autoloads): Use them.
7038 Remove the list of autoloaded functions/macros from the
7039 (autoload...) comments.
7041 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7043 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7045 * simple.el (line-move-partial): Don't jump to the next screen
7046 line as soon as it becomes visible. Instead, continue enlarging
7047 the vscroll until the portion of a tall screen line that's left on
7048 display is about the height of the frame's default font.
7051 2013-06-15 Glenn Morris <rgm@gnu.org>
7053 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7054 compilation-error-regexp-alist void, or local while let-bound.
7056 * progmodes/make-mode.el (makefile-mode-syntax-table):
7057 Treat "=" as punctuation. (Bug#14614)
7059 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7061 * help-fns.el (describe-variable):
7062 Add extra line for permanent-local variables.
7064 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7066 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7067 Add export, import, library. (Bug#9164)
7068 (library): Set indent function.
7070 2013-06-14 Glenn Morris <rgm@gnu.org>
7072 * term/xterm.el (xterm--query):
7073 Stop after first matching handler. (Bug#14615)
7075 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7077 Add support for dired in saveplace.
7078 * dired.el (dired-initial-position-hook): New variable.
7079 (dired-initial-position): Call hook to place cursor position.
7080 * saveplace.el (save-place-to-alist): Add dired position.
7081 (save-place-dired-hook): New function.
7083 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7085 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7086 through a symbol rather than letrec.
7088 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7089 (package-desc): Add `dir' field.
7090 (package-desc-full-name): New function.
7091 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7092 (package-maybe-load-descriptor): Remove.
7093 (package-load-all-descriptors): Just call package-load-descriptor.
7094 (package--disabled-p): New function.
7095 (package-desc-vers, package-desc-doc): Remove aliases.
7096 (package--dir): Remove function.
7097 (package-activate): Check if a package is disabled.
7098 (package-process-define-package): New function, extracted from
7100 (define-package): Turn into a place holder.
7101 (package-unpack-single, package-tar-file-info):
7102 Use package--description-file.
7103 (package-compute-transaction): Use package--disabled-p.
7104 (package-download-transaction): Don't call
7105 package-maybe-load-descriptor since they're all loaded anyway.
7106 (package-install): Change argument to be a pkg-desc.
7107 (package-delete): Use a single pkg-desc argument.
7108 (describe-package-1): Use package-desc-dir instead of package--dir.
7109 Use package-desc property instead of package-symbol.
7110 (package-install-button-action): Adjust accordingly.
7111 (package--push): Rewrite.
7112 (package-menu--print-info): Adjust accordingly. Change the ID format
7114 (package-menu-describe-package, package-menu-get-status)
7115 (package-menu--find-upgrades, package-menu-mark-upgrades)
7116 (package-menu-execute, package-menu--name-predicate):
7118 * startup.el (package--description-file): New function.
7119 (command-line): Use it.
7120 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7121 Use package-desc-version.
7123 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7124 (byte-compile-preprocess): Use it.
7125 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7126 can't quite recognize.
7127 (byte-compile-add-to-list): Remove.
7128 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7129 (cconv-closure-convert): Add assertion.
7131 * emacs-lisp/map-ynp.el: Use lexical-binding.
7132 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7133 Factor out some repeated code.
7135 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7137 * subr.el (with-eval-after-load): New macro.
7138 (eval-after-load): Allow form to be a function.
7139 take advantage of lexical-binding.
7140 (do-after-load-evaluation): Use dolist and adjust to new format.
7141 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7143 2013-06-13 Juri Linkov <juri@jurta.org>
7145 * replace.el (perform-replace): Display "symbol " and other search
7146 modes from `isearch-message-prefix' in the *Help* buffer.
7148 * isearch.el (isearch-query-replace): Add " symbol" and other
7149 possible search modes from `isearch-message-prefix' to the prompt.
7150 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7151 when reading a regexp to collect.
7153 2013-06-13 Juri Linkov <juri@jurta.org>
7155 * isearch.el (word-search-regexp): Match whitespace if the search
7156 string begins or ends in whitespace. The LAX arg is applied to
7157 both ends of the search string. Use `regexp-quote' and explicit
7158 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7159 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7160 boundaries are replaced with symbol boundaries, and characters
7161 between symbols match non-word non-symbol syntax. (Bug#14602)
7163 2013-06-13 Juri Linkov <juri@jurta.org>
7165 * isearch.el (isearch-del-char): Don't exceed the length of
7166 `isearch-string' by the prefix arg. (Bug#14563)
7168 2013-06-13 Juri Linkov <juri@jurta.org>
7170 * isearch.el (isearch-yank-word, isearch-yank-line)
7171 (isearch-char-by-name, isearch-quote-char)
7172 (isearch-printing-char, isearch-process-search-char):
7173 Add optional count prefix arg. (Bug#14563)
7175 * international/isearch-x.el
7176 (isearch-process-search-multibyte-characters):
7177 Add optional count prefix arg.
7179 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7182 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7185 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7187 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7189 2013-06-13 Glenn Morris <rgm@gnu.org>
7191 * startup.el (tty-handle-args):
7192 Don't just discard "--" and anything after. (Bug#14608)
7194 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7196 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7198 Implement changes in Secret Service API. Make it backward compatible.
7199 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7200 (secrets-create-item): Use it. Prefix properties with interface.
7202 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7204 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7205 (term-emulate-terminal): Respect term-suppress-hard-newline.
7207 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7209 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7210 Only remove a `thumb-file' overlay. (Bug#14548)
7212 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7214 * mail/reporter.el (reporter-submit-bug-report):
7215 Handle missing package-name. (Bug#14600)
7217 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7219 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7220 (reftex-citation-prompt, reftex-default-bibliography)
7221 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7222 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7223 (reftex-bib-sort-author, reftex-bib-sort-year)
7224 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7225 (reftex-extract-bib-entries-from-thebibliography)
7226 (reftex-get-bibkey-default, reftex-get-bib-names)
7227 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7228 (reftex-format-bib-entry, reftex-parse-bibitem)
7229 (reftex-format-bibitem, reftex-do-citation)
7230 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7231 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7232 (reftex-insert-bib-matches, reftex-format-citation)
7233 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7234 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7235 existing comments into docstrings.
7237 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7239 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7241 2013-06-12 Andreas Schwab <schwab@suse.de>
7243 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7244 for auto-save files.
7246 2013-06-12 Glenn Morris <rgm@gnu.org>
7248 * ido.el (ido-delete-ignored-files): Remove.
7249 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7250 Go back to calling ido-ignore-item-p directly.
7252 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7254 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7256 * ido.el (ido-delete-ignored-files): New function,
7257 split from ido-make-file-list-1.
7258 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7259 (ido-make-file-list-1): Use ido-delete-ignored-files.
7261 2013-06-12 Leo Liu <sdl.web@gmail.com>
7263 * progmodes/octave.el (inferior-octave-startup)
7264 (inferior-octave-completion-table)
7265 (inferior-octave-track-window-width-change)
7266 (octave-eldoc-function-signatures, octave-help)
7267 (octave-find-definition): Use single quoted strings.
7268 (inferior-octave-startup-args): Change default value.
7269 (inferior-octave-startup): Do not hard code "-i" and
7270 "--no-line-editing".
7271 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7272 (inferior-octave-directory-tracker): Use it.
7273 (octave-goto-function-definition): Robustify.
7274 (octave-help): Support highlighting operators in 'See also'.
7275 (octave-find-definition): Find subfunctions only in Octave mode.
7277 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * help-fns.el (help-fns--compiler-macro): If the handler function is
7280 named, then put a link to it.
7281 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7282 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7284 (cl-eval-when): Simplify debug spec.
7285 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7286 compiler-macro function instead of setting `compiler-macro-file'.
7288 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7290 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7291 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7293 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7294 Daniel Hackney <dan@haxney.org>
7296 First part of Daniel Hackney's patch to package.el.
7297 * emacs-lisp/package.el: Use defstruct.
7298 (package-desc): New, main struct.
7299 (package--bi-desc, package--ac-desc): New structs, used to describe the
7300 format in external files.
7301 (package-desc-vers): Replace with package-desc-version accessor.
7302 (package-desc-doc): Replace with package-desc-summary accessor.
7303 (package-activate-1): Remove `package' arg since the pkg-vec now
7305 (define-package): Use package-desc-from-define.
7306 (package-unpack-single): Change file-name arg to be a symbol.
7307 (package--add-to-archive-contents): Use package-desc-create and new
7308 accessor functions to package--ac-desc.
7309 (package-buffer-info, package-tar-file-info): Return a package-desc.
7310 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7311 arg to be a package-desc.
7312 (package-install-file): Adjust accordingly. Use \' to match EOS.
7313 (package--from-builtin): New function.
7314 (describe-package-1, package-menu--generate): Use it.
7315 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7316 (package-generate-autoloads): Idem and return the name of the file.
7317 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7318 Change pkg-info arg to be a package-desc.
7319 Use package-make-ac-desc.
7320 (package-upload-file): Use \' to match EOS.
7321 * finder.el (finder-compile-keywords): Use package-make-builtin.
7323 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7325 * vc/vc.el (vc-deduce-fileset): Change error message.
7326 (vc-read-backend): New function.
7327 (vc-next-action): Use it.
7329 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7331 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7332 (prolog-font-lock-keywords): Use regexp-opt instead.
7333 Don't manually highlight strings.
7334 (prolog-mode-variables): Simplify comment-start-skip.
7335 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7337 * emacs-lisp/generic.el (generic--normalise-comments)
7338 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7339 (generic-mode-set-comments): Use them.
7340 (generic-bracket-support): Use setq-local.
7341 (generic-make-keywords-list): Declare obsolete.
7343 2013-06-11 Glenn Morris <rgm@gnu.org>
7345 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7346 Prettify after setting font-lock-defaults. (Bug#14574)
7348 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7350 * replace.el (query-replace, occur-read-regexp-defaults-function)
7352 * subr.el (declare-function, number-sequence, local-set-key)
7353 (substitute-key-definition, locate-user-emacs-file)
7354 (with-silent-modifications, split-string, eval-after-load):
7355 Fix typos, remove unneeded backslashes and reflow some docstrings.
7357 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7359 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7360 default for Elisp files.
7362 2013-06-11 Glenn Morris <rgm@gnu.org>
7364 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7365 although define-derived-mode was doing this anyway. (Bug#14583)
7367 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7369 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7370 Fix make-variable-buffer-local call to refer to the correct variable.
7372 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7374 * eshell/em-term.el (eshell-visual-commands)
7375 (eshell-visual-subcommands, eshell-visual-options):
7376 Add summary line to docstrings. Add cross-references.
7378 2013-06-10 Glenn Morris <rgm@gnu.org>
7380 * epa.el (epa-read-file-name): New function. (Bug#14510)
7381 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7383 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7385 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7386 output redirection to be ignored with visual commands.
7388 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7390 * eshell/em-term.el (eshell-visual-command-p): New function.
7391 (eshell-term-initialize): Move long lambda to separate function
7392 eshell-visual-command-p.
7393 * eshell/em-dirs.el (eshell-dirs-initialise):
7394 * eshell/em-script.el (eshell-script-initialize):
7395 Add missing #' to lambda.
7397 2013-06-08 Leo Liu <sdl.web@gmail.com>
7399 * progmodes/octave.el (octave-add-log-current-defun): New function.
7400 (octave-mode): Set add-log-current-defun-function.
7401 (octave-goto-function-definition): Do not move point if not found.
7402 (octave-find-definition): Enhance to try subfunctions first.
7404 2013-06-08 Glenn Morris <rgm@gnu.org>
7406 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7407 (byte-compile-backward-char, byte-compile-backward-word):
7408 Improve previous change, to handle non-explicit nil.
7410 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7413 (smie--opener/closer-at-point): New function.
7414 (smie--matching-block-data): Use it. Don't match from right after an
7415 opener or right before a closer. Obey smie-blink-matching-inners.
7416 Don't signal a mismatch for repeated inners like "switch..case..case".
7418 2013-06-07 Leo Liu <sdl.web@gmail.com>
7420 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7422 (octave-function-header-regexp): Fix. (Bug#14570)
7423 (octave-help-mode-finish-hook, octave-help-mode-finish):
7424 Remove. Just use temp-buffer-show-hook.
7426 * newcomment.el (comment-search-backward): Revert last change.
7429 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7431 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7433 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7434 through xargs, to avoid failure due to MS-Windows limitations on
7435 command-line length.
7437 2013-06-06 Glenn Morris <rgm@gnu.org>
7439 * font-lock.el (lisp-font-lock-keywords-2):
7440 Treat user-error like error.
7442 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7443 (byte-compile-backward-char, byte-compile-backward-word):
7444 Handle explicit nil arguments. (Bug#14565)
7446 2013-06-05 Alan Mackenzie <acm@muc.de>
7448 * isearch.el (isearch-allow-prefix): New user option.
7449 (isearch-other-meta-char): Don't exit isearch when a prefix
7450 argument is typed whilst `isearch-allow-prefix' is non-nil.
7453 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * autorevert.el (auto-revert-notify-handler): Use memq.
7456 Hide assertion failure.
7458 * skeleton.el: Use cl-lib.
7459 (skeleton-further-elements): Use defvar-local.
7460 (skeleton-insert): Use cl-progv.
7462 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7464 * progmodes/prog-mode.el (prog-prettify-symbols)
7465 (prog-prettify-install): Update docstrings.
7467 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7469 * simple.el: Move all the prog-mode code to prog-mode.el.
7470 * progmodes/prog-mode.el: New file.
7471 * loadup.el: Add prog-mode.el.
7473 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7475 * simple.el (prog-prettify-symbols): Add version.
7476 (prog-prettify-install): Add convenience function to prettify symbols.
7478 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7479 (perl--augmented-font-lock-keywords-1)
7480 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7481 variables and use it.
7483 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7484 (cfengine3-mode): Remove unneeded variable and use it.
7486 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7487 (lisp--augmented-font-lock-keywords-1)
7488 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7489 Remove unneeded variables and use it.
7491 2013-06-05 João Távora <joaotavora@gmail.com>
7493 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7494 to point when opening the connection. (Bug#14380)
7496 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * subr.el (load-history-regexp, load-history-filename-element)
7499 (eval-after-load, after-load-functions, do-after-load-evaluation)
7500 (eval-next-after-load, display-delayed-warnings)
7501 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7502 definition of save-match-data.
7503 (overriding-local-map): Remove accidental obsolescence declaration.
7505 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7507 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7509 Generalize symbol prettify support to prog-mode and implement it
7510 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7511 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7512 (prog--prettify-font-lock-compose-symbol)
7513 (prog-prettify-font-lock-symbols-keywords): New variables and
7514 functions to support symbol prettification.
7515 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7516 (lisp--augmented-font-lock-keywords-1)
7517 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7518 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7519 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7520 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7521 Implement prettify of -> => :: strings.
7522 * progmodes/perl-mode.el (perl-prettify-symbols)
7523 (perl--font-lock-compose-symbol)
7524 (perl--font-lock-symbols-keywords): Move to prog-mode.
7525 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7526 (perl-font-lock-keywords-1)
7527 (perl-font-lock-keywords-2): Remove explicit prettify support.
7528 (perl--augmented-font-lock-keywords)
7529 (perl--augmented-font-lock-keywords-1)
7530 (perl--augmented-font-lock-keywords-2, perl-mode):
7531 Implement prettify support.
7533 2013-06-05 Leo Liu <sdl.web@gmail.com>
7535 Re-implement smie matching block highlight using
7536 show-paren-data-function. (Bug#14395)
7537 * emacs-lisp/smie.el (smie-matching-block-highlight)
7538 (smie--highlight-matching-block-overlay)
7539 (smie--highlight-matching-block-lastpos)
7540 (smie-highlight-matching-block)
7541 (smie-highlight-matching-block-mode): Remove.
7542 (smie--matching-block-data-cache): New variable.
7543 (smie--matching-block-data): New function.
7544 (smie-setup): Use smie--matching-block-data for
7545 show-paren-data-function.
7547 * progmodes/octave.el (octave-mode-menu): Fix.
7548 (octave-find-definition): Skip garbage lines.
7550 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7552 Fix compilation error with simultaneous dynamic+lexical scoping.
7553 Add warning when a defvar appears after the first let-binding.
7554 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7555 (byte-compile-close-variables): Initialize it.
7556 (byte-compile--declare-var): New function.
7557 (byte-compile-file-form-defvar)
7558 (byte-compile-file-form-define-abbrev-table)
7559 (byte-compile-file-form-custom-declare-variable): Use it.
7560 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7561 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7562 (byte-compile-bind): Handle dynamic bindings that shadow
7564 (byte-compile-unbind): Make arg non-optional.
7565 (byte-compile-let): Simplify.
7566 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7567 (cconv--analyse-function, cconv-analyse-form): Populate it.
7568 Protect byte-compile-bound-variables to limit the scope of defvars.
7569 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7570 Remove unneeded rule for `declare'.
7572 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7573 so as to avoid depending on cl-adjoin at run-time.
7574 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7576 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7577 (macroexp--warn-and-return): Use it.
7579 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7581 * lisp/subr.el: Convert to lexical binding.
7582 (overriding-local-map): Make obsolete.
7583 (add-to-list): Doc fix. Add compiler macro.
7584 (read-key): Swap values of local maps.
7586 2013-06-05 Leo Liu <sdl.web@gmail.com>
7588 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7590 2013-06-04 Leo Liu <sdl.web@gmail.com>
7592 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7593 (compilation-auto-jump): Suppress the "Mark set" message to give
7594 way to exit message.
7596 2013-06-04 Alan Mackenzie <acm@muc.de>
7598 Remove faulty optimisation from indentation calculation.
7599 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7600 search limit based on 2000 characters back from indent-point.
7602 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7604 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7606 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * emacs-lisp/lisp.el: Use lexical-binding.
7609 (lisp--local-variables-1, lisp--local-variables): New functions.
7610 (lisp--local-variables-completion-table): New var.
7611 (lisp-completion-at-point): Use it complete let-bound vars.
7613 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7614 eagerly (bug#14422).
7616 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7618 * autorevert.el (auto-revert-notify-enabled)
7619 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7620 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7621 (auto-revert-notify-handler): Handle also gfilenotify.
7623 * subr.el (file-notify-handle-event): New defun. Replacing ...
7624 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7627 2013-06-03 Juri Linkov <juri@jurta.org>
7629 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7630 `M-s h .'. (Bug#14427)
7632 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7633 command `hi-lock-face-symbol-at-point'.
7634 (hi-lock-face-symbol-at-point): New command.
7635 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7636 (hi-lock-menu): Add `highlight-symbol-at-point'.
7637 (hi-lock-mode): Doc fix.
7639 * isearch.el (isearch-forward-symbol-at-point): New command.
7640 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7641 (isearch-highlight-regexp): Add a regexp which matches
7642 words/symbols for word/symbol mode.
7644 * subr.el (find-tag-default-bounds): New function with the body
7645 mostly moved from `find-tag-default'.
7646 (find-tag-default): Move most code to `find-tag-default-bounds',
7647 call it and apply `buffer-substring-no-properties' afterwards.
7649 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7651 * eshell/em-term.el (eshell-term-initialize):
7652 Use `cl-intersection' rather than `intersection'.
7654 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7656 * vc/log-view.el: Doc fix.
7657 (log-view-mode-map): Copy keymap from `special-mode-map'.
7659 2013-06-02 Eric Ludlam <zappo@gnu.org>
7661 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7662 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7663 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7664 (eieio-unbound, eieio-default-superclass)
7665 (eieio--define-field-accessors, method-static, method-before)
7666 (method-primary, method-after, method-num-lists)
7667 (method-generic-before, method-generic-primary)
7668 (method-generic-after, method-num-slots)
7669 (eieio-specialized-key-to-generic-key)
7670 (eieio--check-type, class-v, class-p)
7671 (eieio-class-name, define-obsolete-function-alias)
7672 (eieio-class-parents-fast, eieio-class-children-fast)
7673 (same-class-fast-p, class-constructor, generic-p)
7674 (generic-primary-only-p, generic-primary-only-one-p)
7675 (class-option-assoc, class-option, eieio-object-p)
7676 (class-abstract-p, class-method-invocation-order)
7677 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7678 (eieio-class-un-autoload, eieio-defclass)
7679 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7680 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7681 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7682 (eieio-defgeneric-reset-generic-form)
7683 (eieio-defgeneric-form-primary-only)
7684 (eieio-defgeneric-reset-generic-form-primary-only)
7685 (eieio-defgeneric-form-primary-only-one)
7686 (eieio-defgeneric-reset-generic-form-primary-only-one)
7687 (eieio-unbind-method-implementations)
7688 (eieio--defmethod, eieio--typep)
7689 (eieio-perform-slot-validation, eieio-validate-slot-value)
7690 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7691 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7692 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7693 (eieio-slot-name-index, eieio-class-slot-name-index)
7694 (eieio-set-defaults, eieio-initarg-to-attribute)
7695 (eieio-attribute-to-initarg, eieio-c3-candidate)
7696 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7697 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7698 (eieio-class-precedence-list, eieio-generic-call-methodname)
7699 (eieio-generic-call-arglst, eieio-generic-call-key)
7700 (eieio-generic-call-next-method-list)
7701 (eieio-pre-method-execution-functions, eieio-generic-call)
7702 (eieio-generic-call-primary-only, eieiomt-method-list)
7703 (eieiomt-optimizing-obarray, eieiomt-install)
7704 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7705 (eieio-generic-form, eieio-defmethod, make-obsolete)
7706 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7707 (defclass): Remove `eval-and-compile' from macro.
7708 (call-next-method, shared-initialize): Instead of using
7709 `scoped-class' variable, use new eieio--scoped-class, and
7710 eieio--with-scoped-class.
7711 (initialize-instance): Rename local variable 'scoped-class' to
7712 'this-class' to remove ambiguitity from old global.
7714 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7716 (eieio--scoped-class-stack): New variable.
7717 (eieio--scoped-class): New fcn.
7718 (eieio--with-scoped-class): New scoping macro.
7719 (eieio-defclass): Use pushnew instead of add-to-list.
7720 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7721 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7722 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7723 `scoped-class' variable, use new eieio--scoped-class, and
7724 eieio--with-scoped-class.
7726 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7728 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7730 * eshell/esh-ext.el (eshell-external-command): Pass args to
7731 `eshell-find-interpreter'.
7732 (eshell-find-interpreter): Add new second parameter ARGS.
7734 * eshell/em-script.el (eshell-script-initialize): Add second arg
7735 to the function added as MATCH to `eshell-interpreter-alist'.
7737 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7738 the function added as MATCH to `eshell-interpreter-alist'.
7740 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7741 (eshell-visual-options): New defcustom.
7742 (eshell-escape-control-x): Adapt docstring.
7743 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7744 `eshell-visual-options' in addition to `eshell-visual-commands'.
7745 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7747 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7749 * progmodes/python.el (python-indent-block-enders): Add break,
7750 continue and raise keywords.
7752 2013-06-01 Glenn Morris <rgm@gnu.org>
7754 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7756 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7757 * progmodes/cc-cmds.el (delete-forward-p):
7758 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7759 * progmodes/cc-engine.el (buffer-syntactic-context):
7760 * progmodes/cc-fonts.el (face-property-instance):
7761 * progmodes/cc-mode.el (set-keymap-parents):
7762 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7763 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7764 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7765 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7766 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7768 * progmodes/cc-vars.el (other): Emacs has this widget since
7769 at least 21.1, so don't (re)define it.
7771 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7772 Replace the obsolete alias pcomplete-arg-quote-list.
7774 2013-06-01 Leo Liu <sdl.web@gmail.com>
7776 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7778 (inferior-octave-minimal-columns)
7779 (inferior-octave-last-column-width): New variables.
7780 (inferior-octave-track-window-width-change): New function.
7781 (inferior-octave-mode): Adjust column width so that Octave output,
7782 for example from 'ls', can fit into the window nicely.
7784 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7786 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7787 Highlight expansions inside regexp literals.
7789 2013-05-31 Glenn Morris <rgm@gnu.org>
7791 * obsolete/sym-comp.el (symbol-complete):
7792 Replace obsolete completion-annotate-function.
7794 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7796 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7798 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7799 New function, checks if point is inside a literal that allows
7800 expression expansion.
7801 (ruby-syntax-propertize-expansion): Use it.
7802 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7805 2013-05-30 Juri Linkov <juri@jurta.org>
7807 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7809 (isearch-invisible): New variable.
7810 (isearch-forward): Doc fix.
7811 (isearch-mode): Set `isearch-invisible'
7812 to the value of `search-invisible'.
7813 (isearch-toggle-case-fold): Doc fix.
7814 (isearch-toggle-invisible): New command.
7815 (isearch-query-replace): Let-bind `search-invisible'
7816 to the value of `isearch-invisible'.
7817 (isearch-search): Use `isearch-invisible' instead of
7818 `search-invisible'. Let-bind `search-invisible'
7819 to the value of `isearch-invisible'. (Bug#11378)
7821 2013-05-30 Juri Linkov <juri@jurta.org>
7823 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7824 call when `query-flag' is nil and `search-invisible' is non-nil.
7827 2013-05-30 Glenn Morris <rgm@gnu.org>
7829 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7831 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7832 (cc-require): Suppress spurious "noruntime" warnings.
7833 (cc-require-when-compile): Use fboundp, for sake of compiler.
7835 * progmodes/cc-mode.el: Move load of cc-vars before that of
7836 cc-langs (which in turn loads cc-vars), to quieten compiler.
7838 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7840 * paren.el: Simplify the code.
7841 (show-paren-mode): Always start the timer.
7842 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7843 (show-paren--overlay, show-paren--overlay-1): Rename from
7844 show-paren-overlay and show-paren-overlay-1, and initialize to an
7845 overlay rather than to nil.
7846 (show-paren-function): Misc cleanup and simplifications.
7848 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7850 * paren.el (show-paren-data-function): New hook.
7851 (show-paren--default): New function, extracted from show-paren-function.
7852 (show-paren-function): Use show-paren-data-function.
7854 2013-05-30 Glenn Morris <rgm@gnu.org>
7856 * ielm.el (ielm-map, ielm-complete-symbol):
7857 Use completion-at-point rather than obsolete functions.
7858 (inferior-emacs-lisp-mode): Doc fix.
7859 Set completion-at-point-functions, rather than
7860 comint-dynamic-complete-functions.
7862 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7863 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7864 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7866 * image.el (image-animated-p): Tweak definition.
7868 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7869 (rlogin-process-connection-type): Tweak default. Add set-after.
7870 (rlogin-host): Doc fix.
7871 (rlogin): Tweak prompt.
7872 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7874 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7875 * progmodes/tcl.el (inferior-tcl-mode-map):
7876 Use completion-at-point rather than obsolete alias.
7878 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7880 * minibuffer.el (read-file-name-completion-ignore-case):
7881 Move before completion--in-region, for eager macro expansion.
7883 2013-05-29 Juri Linkov <juri@jurta.org>
7885 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7886 for total count of matching lines. Add `global-matches' for total
7887 count of matches. Rename `matches' to `lines' for count of
7888 matching lines. Add `matches' for count of matches.
7889 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7890 to `prev-line' for line number of prev match endpt.
7891 Increment `matches' for every match. Print the number of
7892 matching lines in the header.
7893 (occur-context-lines): Rename `lines' to `curr-line'.
7894 Rename `prev-lines' to `prev-line'. (Bug#14017)
7896 2013-05-29 Juri Linkov <juri@jurta.org>
7898 * replace.el (perform-replace): Add `skip-read-only-count',
7899 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7900 Increment them for corresponding conditions and report the number
7901 of skipped occurrences in the final message. (Bug#11746)
7902 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7903 (replace-string, replace-regexp): Doc fix.
7905 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7909 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7910 prog-mode-map (bug#14504).
7912 2013-05-29 Leo Liu <sdl.web@gmail.com>
7914 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7915 (octave-help): Small simplification.
7917 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7918 off the highlight first.
7920 2013-05-29 Glenn Morris <rgm@gnu.org>
7922 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7923 Handle idlwave-last-system-routine-info-cons-cell being nil.
7925 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7926 (idlwave-write-paths): Simplify via with-temp-buffer.
7928 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7929 * emulation/cua-rect.el: Also load cua-base at run time.
7931 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7932 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7933 (cperl-imenu-on-info): Require imenu.
7935 2013-05-28 Alan Mackenzie <acm@muc.de>
7937 Handle "capitalised keywords" correctly.
7938 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7940 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7942 * eshell/em-unix.el: Add -r option to cp.
7944 2013-05-28 Glenn Morris <rgm@gnu.org>
7946 * vc/vc-arch.el (vc-exec-after): Declare.
7947 (vc-switches): Autoload.
7948 * vc/vc-bzr.el: No need to require vc when compiling.
7949 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7950 (vc-resynch-buffer, vc-dir-refresh): Declare.
7951 (vc-setup-buffer, vc-switches): Autoload.
7952 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7953 (vc-resynch-buffer): Declare.
7954 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7955 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7956 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7957 (grep-read-regexp, grep-read-files, grep-expand-template)
7958 (vc-dir-refresh): Declare.
7959 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7960 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7961 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7962 * vc/vc-mtn.el (vc-exec-after): Declare.
7963 (vc-switches): Autoload.
7964 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7965 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7966 (vc-file-tree-walk): Declare.
7967 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7968 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7969 (vc-tag-precondition, vc-rename-master): Autoload.
7970 * vc/vc-svn.el (vc-exec-after): Declare.
7971 (vc-switches, vc-setup-buffer): Autoload.
7972 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7974 (vc-resynch-buffer): Declare.
7976 * obsolete/fast-lock.el (byte-compile-warnings):
7977 Don't warn about obsolete features in this obsolete file.
7979 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7980 Move definition before use.
7982 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7983 (dun-unix-verbs): Remove dun-zippy.
7984 (dun-zippy): Remove function.
7986 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7988 2013-05-27 Juri Linkov <juri@jurta.org>
7990 * replace.el (replace-search): New function with code moved out
7991 from `perform-replace'.
7992 (replace-highlight, replace-dehighlight): Move function definitions
7993 up closer to `replace-search'. (Bug#11746)
7995 2013-05-27 Juri Linkov <juri@jurta.org>
7997 * replace.el (perform-replace): Ignore invisible matches.
7998 In addition to checking `query-replace-skip-read-only', also
7999 filter out matches by calling `run-hook-with-args-until-failure'
8000 on `isearch-filter-predicates', and also check `search-invisible'
8001 for t or call `isearch-range-invisible'.
8002 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8004 2013-05-27 Juri Linkov <juri@jurta.org>
8006 * isearch.el (isearch-filter-predicates): Rename from
8007 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8008 (isearch-message-prefix): Display text from the property
8009 `isearch-message-prefix' of the currently active filters.
8010 (isearch-search): Don't compare `isearch-filter-predicate' with
8011 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8012 on `isearch-filter-predicates'. Also check `search-invisible' for t
8013 or call `isearch-range-invisible'.
8014 (isearch-filter-visible): Make obsolete.
8015 (isearch-lazy-highlight-search):
8016 Call `run-hook-with-args-until-failure' on
8017 `isearch-filter-predicates' and use `isearch-range-invisible'.
8019 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8020 `isearch-filter-predicates' instead of `funcall'ing
8021 `isearch-filter-predicate'.
8022 (Info-mode): Set `Info-isearch-filter' to
8023 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8025 * dired-aux.el (dired-isearch-filter-predicate-orig):
8027 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8028 (dired-isearch-filenames-end): Add and remove
8029 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8030 instead of changing the value of `isearch-filter-predicate'.
8031 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8032 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8033 Put property `isearch-message-prefix' to "filename " on
8034 `dired-isearch-filter-filenames'.
8036 * wdired.el (wdired-change-to-wdired-mode):
8037 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8038 locally instead of changing `isearch-filter-predicate'.
8039 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8041 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8043 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8044 return the commit hash (Bug#14459). Also set the
8045 `vc-git-detached' property.
8046 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8047 (vc-git-mode-line-string): Use the same help-echo format whether
8048 in detached mode or not, because we know the actual revision now.
8049 When in detached mode, shorten the revision to 7 chars.
8051 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8053 * emacs-lisp/easy-mmode.el (define-minor-mode):
8054 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8055 mode hook and provide a docstring.
8057 2013-05-27 Alan Mackenzie <acm@muc.de>
8059 Remove spurious syntax-table text properties inserted by C-y.
8060 * progmodes/cc-mode.el (c-after-change): Also clear hard
8061 syntax-table property with value nil.
8063 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8065 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8066 when reading the events; the buffer layout shall not be changed.
8068 2013-05-27 Leo Liu <sdl.web@gmail.com>
8070 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8072 (inferior-octave-directory-tracker): Automatically re-sync
8074 (octave-help): Improve handling of 'See also'.
8076 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * doc-view.el: Minor naming convention tweaks.
8079 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8081 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8082 even if there's no `display' property yet (bug#14435).
8084 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8086 * subr.el (unmsys--file-name): Rename from reveal-filename.
8088 * Makefile.in (custom-deps, finder-data, autoloads)
8089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8091 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8093 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8096 error-completion on the first 2 args of condition-case (bug#14446).
8099 2013-05-25 Leo Liu <sdl.web@gmail.com>
8101 * comint.el (comint-previous-matching-input): Do not flood the
8102 *Messages* buffer with trivial messages.
8104 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * progmodes/flymake.el (flymake-nop): Don't return a string.
8107 (flymake-set-at): Fix typo.
8109 * simple.el (read--expression): New function, extracted from
8110 eval-expression. Set completion-at-point-functions (bug#14465).
8111 (eval-expression, eval-minibuffer): Use it.
8113 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8115 * progmodes/flymake.el (flymake-save-buffer-in-file)
8116 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8117 (flymake-selected-frame, flymake-log, flymake-ins-after)
8118 (flymake-set-at, flymake-get-buildfile-from-cache)
8119 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8120 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8121 Refine the doc string.
8122 (flymake-get-file-name-mode-and-masks): Reformat.
8123 (flymake-get-real-file-name-function): Fix a minor bug.
8125 2013-05-24 Juri Linkov <juri@jurta.org>
8127 * progmodes/grep.el (grep-mode-font-lock-keywords):
8128 Support =linenumber= format used by git-grep for lines with
8129 function names. (Bug#13549)
8131 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8134 0 after a semi-colon; it works better for smie-auto-fill.
8135 (octave--indent-new-comment-line): New function.
8136 (octave-indent-new-comment-line): Use it (indirectly).
8137 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8138 modify comment-line-break-function.
8140 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8141 (smie-setup): Use add-function to set it.
8143 2013-05-24 Sam Steingold <sds@gnu.org>
8145 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8146 argument (before the `interactive' argument).
8148 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8150 * image-mode.el (image-mode-winprops): Add winprops to
8151 image-mode-winprops-alist before running
8152 image-mode-new-window-functions.
8153 * doc-view.el (doc-view-new-window-function): Don't delay
8154 doc-view-goto-page via timers (bug#14435).
8156 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8158 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8159 (doc-view-desktop-save-buffer): New function.
8160 (doc-view-restore-desktop-buffer): New function.
8161 (desktop-buffer-mode-handlers):
8162 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8164 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8165 `desktop-save-buffer' function.
8167 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8169 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8170 (tramp-gvfs-file-name-handler): Raise a user error when
8171 `tramp-gvfs-enabled' is nil.
8172 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8173 Do not raise a user error when loading package. (Bug#14447)
8175 * net/xesam.el: Move to obsolete/.
8177 2013-05-24 Glenn Morris <rgm@gnu.org>
8179 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8181 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8183 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8184 (Info-find-node, Man-getpage-in-background): Declare.
8186 * mail/unrmail.el (unrmail):
8187 Replace obsolete detect-coding-with-priority.
8189 * net/socks.el (socks-split-string): Use this rather than split-string.
8190 (socks-nslookup-host): Update for above change.
8191 (dynamic-choice, s5-dynamic-choice-match)
8192 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8193 Comment out unused code.
8195 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8196 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8197 (gud-tooltip-echo-area): Make obsolete.
8198 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8200 * progmodes/js.el (js--optimize-arglist): Declare.
8202 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8204 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8205 (ediff-window-C): Declare.
8207 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8208 Tweak requires to silence compiler.
8210 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8211 (he-search-string, he-tried-table, he-expand-list)
8212 (he-init-string, he-string-member, he-substitute-string)
8213 (he-reset-string): Declare.
8215 * obsolete/options.el (list-options): Use custom-variable-p,
8216 rather than obsolete alias.
8218 2013-05-23 Sam Steingold <sds@gnu.org>
8220 * simple.el (shell-command-on-region): Pass the `replace' argument
8221 down to `call-process-region' to comply with the doc as reported on
8222 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8224 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * emacs-lisp/smie.el (smie-indent-forward-token)
8227 (smie-indent-backward-token): Handle string tokens (bug#14381).
8229 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8231 * ielm.el (ielm-menu): New menu.
8232 (inferior-emacs-lisp-mode): Set comment-start.
8234 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8236 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8237 Fix deactivate action.
8239 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8240 Add cleveref macros.
8242 * lisp/textmodes/reftex-parse.el
8243 (reftex-locate-bibliography-files): Accept options for
8244 bibliography commands.
8245 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8246 Add addbibresource. Basic Biblatex support.
8248 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8250 * net/tramp-gvfs.el (top):
8251 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8252 when loading package. (Bug#14447)
8254 2013-05-23 Glenn Morris <rgm@gnu.org>
8256 * progmodes/js.el: No need to load comint when compiling.
8257 (ring-insert, comint-send-string, comint-send-input)
8258 (comint-last-input-end, ido-chop): Declare.
8260 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8261 * vc/ediff-mult.el: Adjust requires.
8262 (ediff-directories-internal, ediff-directory-revisions-internal)
8263 (ediff-patch-file-internal): Declare.
8264 * vc/ediff-ptch.el: Adjust requires.
8265 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8266 (ediff-find-file): Autoload.
8267 * vc/ediff-util.el: No need to load ediff when compiling.
8268 (ediff-regions-internal): Declare.
8269 * vc/ediff-wind.el: Adjust requires.
8270 (ediff-compute-toolbar-width): Define when compiling.
8271 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8272 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8273 (dired-get-filename, dired-get-marked-files)
8274 (ediff-last-dir-patch, ediff-patch-default-directory)
8275 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8276 (ediff-patch-buffer-internal): Declare.
8278 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8279 (ispell-process, ispell-buffer-local-words, lm-summary)
8280 (lm-section-start, lm-section-end): Declare.
8281 (checkdoc-ispell-init): Simplify.
8283 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8284 (he-string-member, he-reset-string, he-substitute-string): Declare.
8286 * eshell/em-ls.el: Adjust requires.
8287 (eshell-glob-regexp): Declare.
8288 * eshell/em-tramp.el: Adjust requires.
8289 (eshell-parse-command): Autoload.
8290 * eshell/em-xtra.el: Adjust requires.
8291 (eshell-parse-command): Autoload.
8292 * eshell/esh-ext.el: Adjust requires.
8293 (eshell-parse-command, eshell-close-handles): Autoload.
8294 * eshell/esh-io.el: Adjust requires.
8295 (eshell-output-filter): Autoload.
8296 * eshell/esh-util.el: No need to load tramp when compiling.
8297 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8299 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8300 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8301 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8302 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8303 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8304 * eshell/esh-opt.el, eshell/esh-proc.el:
8305 * eshell/esh-var.el: Adjust requires.
8306 * eshell/eshell.el: Do not require esh-util twice.
8307 (eshell-add-input-to-history): Declare.
8308 (eshell-command): Check history module is active before using it.
8310 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8312 2013-05-22 Leo Liu <sdl.web@gmail.com>
8314 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8316 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8318 * autorevert.el (auto-revert-notify-add-watch)
8319 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8320 it indicates changes in file modification time.
8322 2013-05-22 Glenn Morris <rgm@gnu.org>
8324 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8325 Always delete the autoloaded function from the noruntime and
8326 unresolved functions lists.
8328 * allout.el: No need to load epa, epg, overlay when compiling.
8329 (epg-context-set-passphrase-callback, epg-list-keys)
8330 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8331 (epg-key-user-id-list): Declare.
8333 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8334 (viper-set-parsing-style-toggling-macro)
8335 (viper-set-emacs-state-searchstyle-macros):
8336 Use called-interactively-p on Emacs.
8337 (viper-looking-back): Make it an obsolete alias. Update callers.
8338 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8339 Use looking-back rather than viper-looking-back.
8340 (viper-tmp-insert-at-eob, viper-enlarge-region)
8341 (viper-read-string-with-history, viper-register-to-point)
8342 (viper-append-to-register, viper-change-state-to-vi)
8343 (viper-backward-char-carefully, viper-forward-char-carefully)
8344 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8345 (viper-change-state-to-emacs): Declare.
8346 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8347 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8348 * emulation/viper-mous.el: Do not load viper-cmd.
8349 (viper-backward-char-carefully, viper-forward-char-carefully)
8350 (viper-forward-word, viper-adjust-window): Declare.
8352 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8354 * progmodes/idlw-help.el (idlwave-help-fontify):
8355 Use called-interactively-p.
8357 * term/w32console.el (w32-get-console-codepage)
8358 (w32-get-console-output-codepage): Declare.
8360 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8361 Remove unnecessary declarations.
8362 (dframe-message): Doc fix.
8364 * info.el (dframe-select-attached-frame, dframe-current-frame):
8367 * speedbar.el (speedbar-message): Make it an obsolete alias.
8369 (speedbar-with-attached-buffer)
8370 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8371 (speedbar-with-writable): Use backquote.
8372 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8373 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8374 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8375 rather than speedbar- aliases.
8376 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8377 (speedbar-make-specialized-keymap, speedbar-insert-button)
8378 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8379 (speedbar-do-function-pointer): Declare.
8380 (rmail-speedbar-button, rmail-speedbar-find-file)
8381 (rmail-speedbar-move-message):
8382 Use dframe-with-attached-buffer rather than speedbar- alias.
8383 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8384 (dframe-message, speedbar-make-specialized-keymap)
8385 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8386 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8387 (speedbar-insert-button, dframe-select-attached-frame)
8388 (dframe-maybee-jump-to-attached-frame)
8389 (speedbar-change-initial-expansion-list)
8390 (speedbar-previously-used-expansion-list-name): Declare.
8391 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8392 Use dframe-message, dframe-with-attached-buffer rather than
8394 (gud-sentinel): Silence compiler.
8395 * progmodes/vhdl-mode.el (speedbar-refresh)
8396 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8397 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8398 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8399 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8400 (speedbar-file-lists, speedbar-make-tag-line)
8401 (speedbar-line-directory, speedbar-goto-this-file)
8402 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8403 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8404 (speedbar-make-button, speedbar-reset-scanners)
8405 (speedbar-files-item-info, speedbar-line-text)
8406 (speedbar-find-file-in-frame, speedbar-set-timer)
8407 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8408 (speedbar-with-writable): Do not (re)define it.
8409 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8410 rather than speedbar- alias.
8412 2013-05-21 Leo Liu <sdl.web@gmail.com>
8414 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8416 (octave-mode): Tweak fill-nobreak-predicate.
8417 (inferior-octave-startup): Check process to avoid infinite loop.
8418 (inferior-octave): Pop to buffer first to show abornmal process
8421 2013-05-21 Glenn Morris <rgm@gnu.org>
8423 * printing.el (pr-menu-bar): Define when compiling.
8425 2013-05-21 Leo Liu <sdl.web@gmail.com>
8427 * progmodes/octave.el (octave-auto-fill): Remove.
8428 (octave-indent-new-comment-line): Improve.
8429 (octave-mode): Use auto fill mode through
8430 comment-line-break-function and fill-nobreak-predicate.
8431 (octave-goto-function-definition): Support DEFUN_DLD.
8432 (octave-beginning-of-defun): Small tweak.
8433 (octave-help): Show parent directory.
8435 2013-05-21 Glenn Morris <rgm@gnu.org>
8437 * files.el (dired-unmark):
8438 * progmodes/gud.el (gdb-input): Update declarations.
8440 * calculator.el (electric, ehelp): No need to load when compiling.
8441 (Electric-command-loop, electric-describe-mode): Declare.
8443 * doc-view.el (doc-view-current-converter-processes): Move before use.
8445 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8446 Move MODE-set-explicitly definition before use.
8448 * international/mule-diag.el (mule-diag):
8449 Don't use obsolete window-system-version.
8451 * mail/feedmail.el (smtpmail): No need to load when compiling.
8452 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8454 * mail/mail-utils.el (rfc822): No need to load when compiling.
8455 (rfc822-addresses): Autoload it.
8456 (mail-strip-quoted-names): Trivial simplification.
8458 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8459 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8461 * net/snmp-mode.el (tempo): Don't duplicate requires.
8463 * progmodes/prolog.el (info): No need to load when compiling.
8464 (comint): Require before shell requires it.
8465 (Info-goto-node): Autoload it.
8466 (Info-follow-nearest-node): Declare.
8467 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8469 * textmodes/artist.el (picture-mode-exit): Declare.
8471 * textmodes/reftex-parse.el (reftex-parse-from-file):
8472 Trivial rewrite so the compiler can parse it better.
8474 2013-05-20 Leo Liu <sdl.web@gmail.com>
8476 * progmodes/octave.el (octave-help-mode-map)
8477 (octave-help-mode-finish-hook): New variables.
8478 (octave-help-mode, octave-help-mode-finish): New functions.
8479 (octave-help): Use octave-help-mode.
8481 2013-05-20 Glenn Morris <rgm@gnu.org>
8483 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8485 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8487 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8488 start at point, so that expansion starting right after opening
8489 slash in a regexp is recognized.
8490 (ruby-syntax-before-regexp-re): New defvar, extracted from
8491 ruby-syntax-propertize-function. Since the value of this regexp
8492 is looked up at runtime now, we should be able to turn
8493 `ruby-syntax-methods-before-regexp' into a defcustom later.
8494 (ruby-syntax-propertize-function): Split regexp matching into two
8495 parts, for opening and closing slashes. That allows us to skip
8496 over string interpolations and support multiline regexps.
8497 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8498 for them, which calls `ruby-syntax-propertize-expansion'.
8499 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8500 call to `ruby-syntax-propertize-function'.
8501 (ruby-syntax-propertize-expansion): Extracted from
8502 `ruby-syntax-propertize-expansions'. Handles one expansion.
8503 (ruby-syntax-propertize-percent-literal): Leave point right after
8504 the percent symbol, so that the expression expansion rule can
8505 propertize the contents.
8506 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8508 (ruby-syntax-propertize-expansions): Remove.
8510 2013-05-18 Juri Linkov <juri@jurta.org>
8512 * man.el (Man-default-man-entry): Remove `-' from the end
8513 of the default value. (Bug#14400)
8515 2013-05-18 Glenn Morris <rgm@gnu.org>
8517 * comint.el (comint-password-prompt-regexp):
8518 Allow "password for XXX" where XXX contains colons (eg https://...).
8520 2013-05-18 Leo Liu <sdl.web@gmail.com>
8522 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8523 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8524 (octave-source-directories): Don't check process.
8525 (octave-source-directories, octave-find-definition): Doc fix.
8527 2013-05-18 Glenn Morris <rgm@gnu.org>
8529 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8530 Remove backspace/delete bindings. (Bug#14392)
8532 * cus-dep.el (custom-make-dependencies): Sort the output.
8533 (custom-versions-load-alist): Convert comment to doc.
8535 2013-05-17 Leo Liu <sdl.web@gmail.com>
8537 * newcomment.el (comment-search-backward): Stricter in finding
8538 comment start. (Bug#14303)
8540 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8541 (octave-comment-start-skip): Properly anchored.
8543 2013-05-17 Leo Liu <sdl.web@gmail.com>
8545 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8546 Clean up when turned off. (Bug#14395)
8547 (smie--highlight-matching-block-overlay): No longer buffer-local.
8548 (smie-highlight-matching-block): Adjust.
8550 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8552 Doc string fix for "nanoseconds" (Bug#14406).
8553 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8554 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8556 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8558 * calc/calc-units.el (math-extract-units): Preserve powers
8561 2013-05-17 Leo Liu <sdl.web@gmail.com>
8563 * subr.el (delete-consecutive-dups): New function.
8564 * ido.el (ido-set-matches-1): Use it.
8565 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8566 * ido.el (ido-remove-consecutive-dups): Remove.
8568 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8571 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8572 regexp-opt's `words'.
8574 2013-05-16 Leo Liu <sdl.web@gmail.com>
8576 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8577 (smie--highlight-matching-block-overlay)
8578 (smie--highlight-matching-block-lastpos)
8579 (smie--highlight-matching-block-timer): New variables.
8580 (smie-highlight-matching-block): New function.
8581 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8582 (smie-setup): Conditionally enable smie-blink-matching-open.
8584 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8586 Sync with upstream verilog-mode r840.
8587 * progmodes/verilog-mode.el (verilog-mode-version)
8588 (verilog-mode-release-date): Update.
8589 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8590 (verilog-sig-tieoff): Fix string error on
8591 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8592 (verilog-read-decls): Fix parameters confusing
8593 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8595 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8597 * subr.el (reveal-filename): New function.
8599 * loadup.el: Compute Emacs executable versions on MS-Windows,
8600 where executables have the .exe extension. Add a hard link
8601 emacs-XX.YY.ZZ.exe on MS-Windows.
8603 * Makefile.in (XARGS_LIMIT): New variable.
8604 (custom-deps, finder-data, autoloads)
8605 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8606 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8607 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8608 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8610 2013-05-16 Leo Liu <sdl.web@gmail.com>
8612 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8613 (octave-mode-menu, octave-mode-map): Remove its uses.
8615 2013-05-16 Reto Zimmermann <reto@gnu.org>
8617 Sync with upstream vhdl mode v3.34.2.
8618 * progmodes/vhdl-mode.el: Use `push' throughout.
8619 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8620 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8621 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8622 (vhdl-actual-generic-name): New option to derive actual generic name.
8623 (vhdl-port-paste-signals): Replace formal by actual generics.
8624 (vhdl-beautify): New name for old group vhdl-align. Update users.
8625 (vhdl-beautify-options): New option.
8626 (vhdl-last-input-event): New compat alias. Use throughout.
8627 (vhdl-goto-line): Replace user level function `goto-line'.
8628 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8629 vhdl-fix-statement-buffer.
8630 (vhdl-create-mode-menu): Add some entries.
8631 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8632 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8633 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8634 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8635 to force statements on one line.
8636 (vhdl-remove-trailing-spaces-region):
8637 New, split from vhdl-remove-trailing-spaces.
8638 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8639 Respect vhdl-beautify-options.
8640 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8641 (vhdl-update-sensitivity-list): Not add with index if exists without.
8642 Not include array index with signal. Ignore keywords in comments.
8643 (vhdl-get-visible-signals): Regexp tweaks.
8644 (vhdl-template-component-inst): Handle empty library.
8645 (vhdl-template-type): Add template for 'enum' type.
8646 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8647 Use vhdl-replace-string.
8648 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8649 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8650 (vhdl-speedbar-initialize): Update for above name change.
8651 (vhdl-compose-wire-components): Fix in handling of constants.
8652 (vhdl-error-regexp-emacs-alist): New variable.
8653 (vhdl-error-regexp-add-emacs): New function;
8654 adds support for new compile.el (Emacs 22+)
8655 (vhdl-generate-makefile-1): Change target order for single lib. units.
8656 Allow use of absolute file names.
8658 2013-05-16 Leo Liu <sdl.web@gmail.com>
8660 * simple.el (prog-indent-sexp): Indent enclosing defun.
8662 2013-05-15 Glenn Morris <rgm@gnu.org>
8664 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8665 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8666 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8667 (whitespace-highlight): Move to whitespace group.
8669 * comint.el (comint-source):
8670 * pcmpl-linux.el (pcmpl-linux):
8671 * shell.el (shell-faces):
8672 * eshell/esh-opt.el (eshell-opt):
8673 * international/ccl.el (ccl): Remove empty custom groups.
8675 * completion.el (dynamic-completion-mode):
8676 * jit-lock.el (jit-lock-debug-mode):
8677 * minibuffer.el (completion-in-region-mode):
8678 * type-break.el (type-break-mode-line-message-mode)
8679 (type-break-query-mode):
8680 * emulation/tpu-edt.el (tpu-edt-mode):
8681 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8682 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8683 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8685 * term/xterm.el (xterm): Change parent group to terminals.
8687 * master.el (master): Remove empty custom group.
8688 (master-mode): Remove unused :group argument.
8689 * textmodes/refill.el (refill): Remove empty custom group.
8690 (refill-mode): Remove unused :group argument.
8692 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8694 * cus-dep.el: Provide a feature.
8695 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8696 Don't mistakenly ignore files whose basenames match a basename
8697 from preloaded-file-list (eg cedet/ede/simple.el).
8698 Add a fallback method for getting :group.
8700 2013-05-15 Juri Linkov <juri@jurta.org>
8702 * isearch.el (isearch-char-by-name): Rename from
8703 `isearch-insert-char-by-name'. Doc fix.
8704 (isearch-forward): Mention `isearch-char-by-name' in
8705 the docstring. (Bug#13348)
8707 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8708 `exit-minibuffer' instead of
8709 `isearch-nonincremental-exit-minibuffer'.
8710 (isearch-edit-string): Remove mention of
8711 `isearch-nonincremental-exit-minibuffer' from docstring.
8712 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8713 (isearch-forward-exit-minibuffer)
8714 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8716 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * loadup.el: Just use unversioned DOC.
8720 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8721 literals as extending to EOB.
8722 (nxml-last-fontify-end): Remove unused variable.
8723 (nxml-after-change1): Use with-silent-modifications.
8724 (nxml-extend-after-change-region): Simplify.
8725 (nxml-extend-after-change-region1): Remove function.
8726 (nxml-after-change1): Don't adjust for dependent regions.
8727 (nxml-fontify-matcher): Simplify.
8728 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8729 (xmltok-add-dependent): Remove function.
8730 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8731 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8732 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8733 unclosed <[[, <?, comment, and other literals as extending to EOB.
8734 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8735 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8737 (rng-do-some-validation-1): Don't mark dependent regions.
8738 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8739 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8740 (nxml-clear-dependent-regions): Remove functions.
8741 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8742 (nxml-ensure-scan-up-to-date):
8743 Don't clear&mark dependent regions.
8745 2013-05-15 Leo Liu <sdl.web@gmail.com>
8747 * progmodes/octave.el (octave-goto-function-definition):
8748 Improve and fix callers.
8750 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8752 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8753 the setter (bug#14387).
8755 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8756 surrounding group (bug#14402).
8758 2013-05-14 Juri Linkov <juri@jurta.org>
8760 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8763 2013-05-14 Glenn Morris <rgm@gnu.org>
8765 * progmodes/f90.el (f90-imenu-generic-expression):
8766 Fix typo in 2013-05-08 change. (Bug#14402)
8768 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8770 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8771 Remove signals for which replies are never received.
8773 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8775 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8776 (gdb-handler-alist, gdb-handler-number): Remove variables.
8777 (gdb-handler-list): New variable.
8778 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8779 (gdb-pending-handler-p, gdb-handle-reply)
8780 (gdb-remove-all-pending-triggers): New functions.
8781 (gdb-discard-unordered-replies): New defcustom.
8782 (gdb-handler): New defstruct.
8783 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8784 instead of gdb-pending-triggers. Update docstring.
8785 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8786 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8787 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8788 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8789 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8790 (gdb-frame-handler): Pending triggers are now automatically managed.
8791 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8793 (gdb-input): Automatically handles pending triggers. Update docstring.
8794 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8795 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8797 (gdb-done-or-error): Now use gdb-handle-reply.
8799 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8801 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8804 2013-05-14 Glenn Morris <rgm@gnu.org>
8806 * subr.el (user-emacs-directory-warning): New option.
8807 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8809 2013-05-14 Leo Liu <sdl.web@gmail.com>
8811 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8813 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8814 (octave-font-lock-texinfo-comment): Fix invalid search bound
8815 error: wrong side of point.
8817 2013-05-14 Glenn Morris <rgm@gnu.org>
8819 * progmodes/flymake.el (flymake-xml-program): New option.
8820 (flymake-xml-init): Use it.
8822 * term/xterm.el: Provide a feature.
8824 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8826 2013-05-13 Glenn Morris <rgm@gnu.org>
8828 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8829 Add compat aliases as a hack workaround. (Bug#14384)
8831 2013-05-13 Leo Liu <sdl.web@gmail.com>
8833 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8835 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8837 (octave-comment-start-skip): Include %!.
8838 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8840 2013-05-12 Leo Liu <sdl.web@gmail.com>
8842 * progmodes/octave.el (inferior-octave-startup): Store the value
8843 of __octave_srcdir__ for octave-source-directories.
8844 (inferior-octave-check-process): New function refactored out of
8845 inferior-octave-send-list-and-digest.
8846 (octave-source-directories)
8847 (octave-find-definition-filename-function): New variables.
8848 (octave-source-directories)
8849 (octave-find-definition-default-filename): New functions.
8850 (octave-find-definition): Improve to find functions implemented in C++.
8852 2013-05-12 Glenn Morris <rgm@gnu.org>
8854 * calendar/diary-lib.el (diary-outlook-format-1):
8855 Don't include dayname in the output. (Bug#14349)
8857 2013-05-11 Glenn Morris <rgm@gnu.org>
8859 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8861 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8862 Treat cc-provide like provide.
8864 2013-05-11 Kevin Ryde <user42@zip.com.au>
8866 * cus-dep.el (custom-make-dependencies):
8867 Use generated-autoload-load-name for the sake of files such
8868 such cedet/semantic/bovine/c.el, where the base file name
8869 is not in load-path. (Bug#5277)
8871 2013-05-11 Glenn Morris <rgm@gnu.org>
8873 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8876 2013-05-11 Leo Liu <sdl.web@gmail.com>
8878 * progmodes/octave.el (octave-indent-comment): Improve.
8879 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8880 (octave-eldoc-function-signatures, octave-eldoc-function):
8882 (octave-mode, inferior-octave-mode): Add eldoc support.
8884 2013-05-11 Richard Stallman <rms@gnu.org>
8886 * epa.el (epa-decrypt-file): Take output file name as argument
8887 and read it using `interactive'.
8889 2013-05-11 Leo Liu <sdl.web@gmail.com>
8891 * progmodes/octave.el (octave-beginning-of-line)
8892 (octave-end-of-line): Check before using up-list because it jumps
8893 out of more syntactic contructs since moving to smie.
8894 (octave-indent-comment): New function.
8895 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8896 (octave-begin-keywords, octave-end-keywords)
8897 (octave-reserved-words, octave-smie-bnf-table)
8898 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8900 2013-05-11 Glenn Morris <rgm@gnu.org>
8902 * faces.el (internal-face-x-get-resource):
8903 * frame.el (ns-display-monitor-attributes-list):
8904 * calc/calc-aent.el (math-to-radians-2):
8905 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8908 * calc/calc-menu.el: Make it loadable in isolation.
8910 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8911 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8912 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8913 (eudc-bbdb-query-internal): Require 'bbdb.
8915 * lpr.el (lpr-headers-switches):
8916 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8918 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8920 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8922 * term.el (term-set-escape-char): Make it idempotent.
8924 2013-05-10 Leo Liu <sdl.web@gmail.com>
8926 * progmodes/octave.el (inferior-octave-completion-table):
8927 No longer a function and all uses changed. Use cache to speed up
8928 completion due to bug#11906.
8929 (octave-beginning-of-defun): Re-write to be more general.
8931 2013-05-10 Glenn Morris <rgm@gnu.org>
8933 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8935 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * comint.el (comint-redirect-send-command-to-process): Use :around
8938 rather than :override for comint-redirect-filter.
8939 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8940 Call it instead of comint-redirect-original-filter-function (which
8941 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8943 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8945 * frame.el (display-monitor-attributes-list): Add NS case.
8946 (ns-display-monitor-attributes-list): Declare.
8948 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8950 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8952 2013-05-09 Glenn Morris <rgm@gnu.org>
8954 * international/fontset.el (vertical-centering-font-regexp):
8957 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8959 * bookmark.el (bookmark-search-delay):
8960 * cus-start.el (vertical-centering-font-regexp):
8961 * ps-mule.el (ps-mule-font-info-database-default):
8962 * ps-print.el (ps-default-fg, ps-default-bg):
8963 * type-break.el (type-break-good-break-interval):
8964 * whitespace.el (whitespace-indentation-regexp)
8965 (whitespace-space-after-tab-regexp):
8966 * emacs-lisp/testcover.el (testcover-1value-functions)
8967 (testcover-noreturn-functions, testcover-progn-functions)
8968 (testcover-prog1-functions):
8969 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8970 * eshell/em-glob.el (eshell-glob-translate-alist):
8971 * play/tetris.el (tetris-tty-colors):
8972 * progmodes/cpp.el (cpp-face-default-list):
8973 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8974 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8975 (idlwave-help-browser-generic-args):
8976 * progmodes/make-mode.el (makefile-special-targets-list):
8977 * progmodes/python.el (python-shell-virtualenv-path):
8978 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8979 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8980 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8981 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8982 * textmodes/reftex-vars.el (reftex-format-label-function):
8983 * textmodes/remember.el (remember-diary-file): Fix custom types.
8985 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8988 2013-05-09 Leo Liu <sdl.web@gmail.com>
8990 * progmodes/octave.el (inferior-octave-completion-at-point):
8991 Restore file completion. (Bug#14300)
8992 (inferior-octave-startup): Fix incorrect highlighting for the
8995 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8997 * progmodes/ruby-mode.el: First cut at SMIE support.
8998 (ruby-use-smie): New var.
8999 (ruby-smie-grammar): New constant.
9000 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9001 (ruby-smie--forward-token, ruby-smie--backward-token)
9002 (ruby-smie-rules): New functions.
9003 (ruby-mode-variables): Setup SMIE if applicable.
9005 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9007 * simple.el (line-move-visual): Signal beginning/end of buffer
9008 only if vertical-motion moved less than it was requested. Avoids
9009 silly incorrect error messages when there are display strings with
9010 multiple newlines at EOL.
9012 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9015 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9016 (prolog-char-quote-workaround):
9017 * progmodes/cperl-mode.el (cperl-under-as-char):
9018 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9020 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9022 (vhdl-mode-syntax-table-init): Remove.
9024 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9027 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9029 (ld-script-font-lock-keywords):
9030 Change regexps to use things like \_< and \_>.
9032 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9033 Change all regexps to use things like \_< and \_>.
9035 * progmodes/autoconf.el (autoconf-definition-regexp)
9036 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9037 Handle a _ with symbol syntax.
9038 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9040 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9041 Consolidate declaration.
9042 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9044 (ada-create-syntax-table): Remove.
9045 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9046 already has the right syntax nowadays.
9047 (ada-goto-next-word): Don't change the syntax of "_".
9049 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9052 2013-05-08 Sam Steingold <sds@gnu.org>
9054 * thingatpt.el (thing-at-point): Accept optional second argument
9055 NO-PROPERTIES to strip the text properties from the return value.
9056 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9057 to `thing-at-point' instead of stripping the properties ourselves.
9058 Also, when `thing-at-point' fails to find a url, prepend "http://"
9059 to the filename at point on the assumption that the user is
9060 pointing at something like gnu.org/gnu.
9062 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9064 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9065 * faces.el (crm-separator):
9066 Silence byte-compiler.
9068 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9069 (tool-bar-map): Remove unneeded defvars.
9071 2013-05-08 Leo Liu <sdl.web@gmail.com>
9073 Re-work a fix for bug#10994 based on Le Wang's patch.
9074 * ido.el (ido-remove-consecutive-dups): New helper.
9075 (ido-completing-read): Use it.
9076 (ido-chop): Revert fix for bug#10994.
9078 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9080 * cus-edit.el (custom-save-variables):
9081 Pretty-print long values. (Bug#14187)
9083 2013-05-08 Glenn Morris <rgm@gnu.org>
9085 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9086 (m4-mode-syntax-table): Init in the defvar.
9087 (m4-mode-abbrev-table): Let define-derived-mode define it.
9089 2013-05-08 Tom Tromey <tromey@redhat.com>
9091 * progmodes/m4-mode.el (m4-mode-syntax-table):
9092 Do not treat "_" as word constituent. (Bug#14167)
9094 2013-05-07 Glenn Morris <rgm@gnu.org>
9096 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9097 Remove explicit eshell-isearch-cancel-map.
9099 * progmodes/f90.el (f90-smart-end-names): New option.
9100 (f90-smart-end): Doc fix.
9101 (f90-end-block-optional-name): New constant.
9102 (f90-block-match): Respect f90-smart-end-names.
9104 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9106 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9107 about implicit semi-colons (bug#14218).
9109 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9111 * frame.el (display-monitor-attributes-list)
9112 (frame-monitor-attributes): New functions.
9114 2013-05-06 Leo Liu <sdl.web@gmail.com>
9116 * progmodes/octave.el (octave-syntax-propertize-function): Change
9117 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9118 (octave-font-lock-keywords): Use octave-operator-regexp.
9119 (octave-completion-at-point): Rename from
9120 octave-completion-at-point-function.
9121 (inferior-octave-directory-tracker): Robustify.
9122 (octave-text-functions): Remove and fix its uses. No such things
9125 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * emacs-lisp/trace.el (trace--display-buffer): New function.
9128 (trace-make-advice): Use it.
9130 2013-05-06 Juri Linkov <juri@jurta.org>
9132 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9133 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9135 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9136 in the help string. (Bug#12985)
9138 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9140 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9142 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * progmodes/perl-mode.el: Add support for here documents.
9145 (perl-syntax-propertize-function): Match here-doc markers.
9146 (perl-syntax-propertize-special-constructs): Find their end.
9147 (perl-imenu-generic-expression): Use [:alnum:].
9149 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9150 (advice--add-function): Refresh the advice if already present
9153 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9155 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9157 2013-05-06 Glenn Morris <rgm@gnu.org>
9159 * w32-fns.el (w32-charset-info-alist): Declare.
9161 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9162 of its defcustom properties.
9163 (eshell-cmpl-initialize): No need to load pcomplete.
9165 * generic-x.el: No need to require comint when compiling.
9167 * net/eudc-export.el: Make it loadable without bbdb.
9168 (top-level): Use require rather than load-library.
9169 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9170 (eudc-batch-export-records-to-bbdb)
9171 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9174 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9176 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9177 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9178 some tweaks, instead.
9180 2013-05-05 Leo Liu <sdl.web@gmail.com>
9182 * progmodes/octave.el (octave-font-lock-keywords)
9183 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9184 (inferior-octave-send-list-and-digest): Improve error message.
9185 (octave-mode, inferior-octave-mode): Use setq-local.
9186 (octave-help): Set info-lookup-mode.
9188 2013-05-05 Richard Stallman <rms@gnu.org>
9190 * vc/compare-w.el (compare-windows-whitespace):
9191 Treat no-break space as whitespace.
9193 * mail/rmailsum.el (rmail-summary-rmail-update):
9194 Detect empty summary and don't change selected message.
9195 (rmail-summary-goto-msg): Likewise.
9197 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9198 Doc fixes, rename args.
9200 2013-05-05 Alan Mackenzie <acm@muc.de>
9202 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9204 2013-05-05 Juri Linkov <juri@jurta.org>
9206 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9207 to not add the length of the summary segment to the return value.
9210 2013-05-05 Leo Liu <sdl.web@gmail.com>
9212 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9213 (inferior-octave-output-filter): Remove.
9214 (octave-send-region, inferior-octave-startup): Fix callers.
9215 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9216 (octave-binary-file-extensions): New user variable.
9217 (octave-find-definition): Confirm if opening binary files.
9218 (octave-help-file): Use octave-find-definition to get the binary
9220 (octave-help): Adjust for octave-help-file change.
9222 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9224 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9225 Merge the two entries that handle function definitions.
9226 (pascal--syntax-propertize): New const.
9227 (pascal-mode): Use it. Use setq-local.
9229 2013-05-04 Glenn Morris <rgm@gnu.org>
9231 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9232 (diary-from-outlook): Respect diary-from-outlook-function.
9234 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9236 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9237 Move the declaration from C.
9238 (read-minibuffer, eval-minibuffer): Move from C.
9239 (completion-setup-function): Avoid minibuffer-completion-contents.
9241 2013-05-03 Leo Liu <sdl.web@gmail.com>
9243 * progmodes/octave.el (octave-font-lock-keywords): Do not
9244 dehighlight 'end' in comments or strings.
9245 (octave-completing-read, octave-goto-function-definition):
9247 (octave-help-buffer): New user variable.
9248 (octave-help-file, octave-help-function): New button types.
9249 (octave-help): New command and bind it to C-h ;.
9250 (octave-find-definition): New command and bind it to M-.
9251 (user-error): Alias to error if not defined.
9253 2013-05-02 Leo Liu <sdl.web@gmail.com>
9255 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9257 (octave-font-lock-keywords): Include [ and {.
9259 2013-05-02 Leo Liu <sdl.web@gmail.com>
9261 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9262 (inferior-octave): Remove calling comint-mode and return the buffer.
9263 (inferior-octave-startup): Cosmetic changes.
9265 2013-05-02 Leo Liu <sdl.web@gmail.com>
9267 * progmodes/octave.el (octave-syntax-propertize-function):
9268 Include the case when ' is at line beginning. (Bug#14336)
9270 2013-05-02 Glenn Morris <rgm@gnu.org>
9272 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9273 * desktop.el (vc-dir-mode): Just autoload it here.
9275 2013-05-02 Alan Mackenzie <acm@muc.de>
9277 Eliminate variable c-standard-font-lock-fontify-region-function.
9278 * progmodes/cc-mode.el
9279 (c-standard-font-lock-fontify-region-function): Remove.
9280 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9282 2013-05-01 Leo Liu <sdl.web@gmail.com>
9284 * progmodes/octave.el: Compatible with older emacs-24 releases.
9285 (inferior-octave-has-built-in-variables): Remove. Built-in
9286 variables were removed from Octave in 2007.
9287 (inferior-octave-startup): Fix uses.
9288 (comint-line-beginning-position): Remove compatibility code for
9291 2013-05-01 Juri Linkov <juri@jurta.org>
9293 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9295 2013-05-01 Juri Linkov <juri@jurta.org>
9297 * comint.el (comint-previous-matching-input): Don't print message
9298 "History item: %d" when `isearch-mode' is active.
9299 (comint-history-isearch-message): Print message "History item: %d"
9300 when `comint-input-ring-index' is not empty and this function is
9301 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9303 2013-05-01 Leo Liu <sdl.web@gmail.com>
9305 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9306 definitions. Use completion-at-point to insert keywords.
9307 (octave-abbrev-start): Remove.
9308 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9310 2013-04-30 Leo Liu <sdl.web@gmail.com>
9312 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9315 2013-04-30 Alan Mackenzie <acm@muc.de>
9317 Handle arbitrarily long C++ member initialisation lists.
9318 * progmodes/cc-engine.el (c-back-over-member-initializers):
9320 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9321 (most) member init lists.
9323 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9325 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9328 2013-04-30 Leo Liu <sdl.web@gmail.com>
9330 * progmodes/octave.el (octave-variables): Remove. No builtin
9331 variables any more. All converted to functions.
9332 (octave-font-lock-keywords, octave-completion-at-point-function):
9334 (octave-font-lock-texinfo-comment): New user variable.
9335 (octave-texinfo-font-lock-keywords): New variable for texinfo
9337 (octave-function-comment-block): New face.
9338 (octave-font-lock-texinfo-comment): New function.
9339 (octave-mode): Font lock texinfo comment block.
9341 2013-04-29 Leo Liu <sdl.web@gmail.com>
9343 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9344 indexing expression.
9345 (octave-continuation-string): Do not use \.
9346 (inferior-octave-complete-impossible): Remove.
9347 (inferior-octave-completion-table)
9348 (inferior-octave-completion-at-point): Remove its uses.
9349 (inferior-octave-startup): completion_matches was introduced to
9350 Octave in 1996 so safe to assume it.
9351 (octave-function-file-comment): Improve to follow how Octave does it.
9352 (octave-update-function-file-comment): Tweak.
9354 2013-04-29 Leo Liu <sdl.web@gmail.com>
9356 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9357 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9358 (octave-function-file-comment): Fix typo.
9359 (octave-sync-function-file-names): Use read-char-choice.
9361 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9363 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9364 to t for the less important warnings.
9366 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9368 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9370 2013-04-27 Glenn Morris <rgm@gnu.org>
9372 * vc/log-view.el (log-view-current-entry):
9373 Treat "---" separator lines as part of the following rev. (Bug#14169)
9375 2013-04-27 Juri Linkov <juri@jurta.org>
9377 * subr.el (read-number): Doc fix about using it by interactive
9378 code letter `n'. (Bug#14254)
9380 2013-04-27 Juri Linkov <juri@jurta.org>
9382 * desktop.el (desktop-auto-save-timeout): New option.
9383 (desktop-file-checksum): New variable.
9384 (desktop-save): Add optional arg `auto-save' and don't auto-save
9386 (desktop-auto-save-timer): New variable.
9387 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9388 (after-init-hook): Call `desktop-auto-save-set-timer'.
9389 Suggested by Reuben Thomas <rrt@sc3d.org> in
9390 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9392 2013-04-27 Leo Liu <sdl.web@gmail.com>
9394 * progmodes/octave.el (octave-function-file-p)
9395 (octave-skip-comment-forward, octave-function-file-comment)
9396 (octave-update-function-file-comment): New functions.
9397 (octave-mode-map): Bind C-c ; to
9398 octave-update-function-file-comment.
9399 (octave-mode-menu): Add octave-update-function-file-comment.
9400 (octave-mode, inferior-octave-mode): Fix doc-string.
9401 (octave-insert-defun): Conform to Octave's coding convention.
9404 * files.el (basic-save-buffer): Don't let errors in
9405 before-save-hook prevent saving buffer.
9407 2013-04-20 Roland Winkler <winkler@gnu.org>
9409 * faces.el (read-face-name): Use completing-read if arg multiple
9412 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9414 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9415 displayed, move point to after the totals line.
9416 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9419 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9421 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9422 Add current dir to the load-path.
9423 (package-generate-autoloads): Don't rely on
9424 autoload-ensure-default-file.
9426 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9428 * textmodes/remember.el (remember-store-in-files): Document that
9429 the file name format is passed to `format-time-string'.
9431 2013-04-26 Leo Liu <sdl.web@gmail.com>
9433 * progmodes/octave.el (octave-sync-function-file-names): New function.
9434 (octave-mode): Use it in before-save-hook.
9436 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9441 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9442 \n and comment, even if it's not an implicit ; (bug#14218).
9444 2013-04-26 Glenn Morris <rgm@gnu.org>
9446 * subr.el (read-number): Once more use `read' rather than
9447 `string-to-number', to trap non-numeric input. (Bug#14254)
9449 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9451 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9452 Use `syntax-multiline' text property consistently instead of
9453 `font-lock-multiline'. (Bug#14237)
9455 2013-04-26 Glenn Morris <rgm@gnu.org>
9457 * emacs-lisp/shadow.el (list-load-path-shadows):
9458 No longer necessary to check for duplicate simple.el, since
9459 2012-07-07 change to init_lread to not include installation lisp
9460 directories in load-path when running uninstalled. (Bug#14270)
9462 2013-04-26 Leo Liu <sdl.web@gmail.com>
9464 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9465 (octave-mode, inferior-octave-mode): Use setq-local.
9466 (octave-not-in-string-or-comment-p): Rename to
9467 octave-in-string-or-comment-p.
9468 (octave-in-comment-p, octave-in-string-p)
9469 (octave-in-string-or-comment-p): Replace defsubst with defun.
9471 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9473 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9475 2013-04-25 Bastien Guerry <bzg@gnu.org>
9477 * textmodes/remember.el (remember-data-directory)
9478 (remember-directory-file-name-format): Fix custom types.
9480 2013-04-25 Leo Liu <sdl.web@gmail.com>
9482 * progmodes/octave.el (octave-completion-at-point-function):
9483 Make use of inferior octave process.
9484 (octave-initialize-completions): Remove.
9485 (inferior-octave-completion-table): New function.
9486 (inferior-octave-completion-at-point): Use it.
9487 (octave-completion-alist): Remove.
9489 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9491 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9492 (opascal-mode-syntax-table): New var.
9493 (opascal-literal-kind, opascal-is-literal-end)
9494 (opascal-literal-token-at): Rewrite.
9495 (opascal--literal-start-re, opascal-font-lock-keywords)
9496 (opascal--syntax-propertize): New constants.
9497 (opascal-font-lock-defaults): Adjust.
9498 (opascal-mode): Use them. Set comment-<foo> variables as well.
9499 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9500 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9501 (delphi-other-face, opascal-other-face): Remove face variables.
9502 (opascal-save-state): Remove macro.
9503 (opascal-fontifying-progress-step): Remove constant.
9504 (opascal--ignore-changes): Remove var.
9505 (opascal-set-token-property, opascal-parse-next-literal)
9506 (opascal-is-stable-literal, opascal-complete-literal)
9507 (opascal-is-literal-start, opascal-face-of)
9508 (opascal-parse-region, opascal-parse-region-until-stable)
9509 (opascal-fontify-region, opascal-after-change)
9510 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9511 (opascal-debug-parse-region, opascal-debug-parse-window)
9512 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9513 (opascal-debug-fontify-buffer): Remove.
9514 (opascal-debug-mode-map): Adjust accordingly.
9516 2013-04-25 Leo Liu <sdl.web@gmail.com>
9518 Merge octave-mod.el and octave-inf.el into octave.el with some
9520 * progmodes/octave.el: New file renamed from octave-mod.el.
9521 * progmodes/octave-inf.el: Merged into octave.el.
9522 * progmodes/octave-mod.el: Renamed to octave.el.
9524 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9526 * textmodes/reftex-vars.el
9527 (reftex-label-ignored-macros-and-environments): New defcustom.
9529 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9531 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9533 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9534 (smie-indent-keyword): Improve the check to ensure that the next
9535 comment is really on the same line.
9536 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9538 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9539 semi-colons if the line is not otherwise empty (bug#14218).
9541 2013-04-25 Glenn Morris <rgm@gnu.org>
9543 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9545 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9547 * progmodes/opascal.el (opascal-set-token-property): Rename from
9548 opascal-set-text-properties and only set `token' (bug#14134).
9549 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9550 (opascal-literal-text-properties): Remove.
9551 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9554 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9556 * textmodes/remember.el (remember-handler-functions): Add an
9557 option for a new handler `remember-store-in-files'.
9558 (remember-data-directory, remember-directory-file-name-format):
9560 (remember-store-in-files): New function to store remember notes
9561 as separate files within a directory.
9563 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9565 * progmodes/compile.el (compilation-next-error-function):
9566 Pass "formats" to compilation-find-file (bug#11777).
9568 2013-04-24 Glenn Morris <rgm@gnu.org>
9570 * vc/vc-bzr.el (vc-bzr-print-log):
9571 * vc/vc-hg.el (vc-hg-print-log):
9572 * vc/vc-svn.el (vc-svn-print-log):
9573 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9575 * vc/vc-bzr.el (vc-bzr-print-log):
9576 * vc/vc-cvs.el (vc-cvs-print-log):
9577 * vc/vc-git.el (vc-git-print-log):
9578 * vc/vc-hg.el (vc-hg-print-log):
9579 * vc/vc-mtn.el (vc-mtn-print-log):
9580 * vc/vc-rcs.el (vc-rcs-print-log):
9581 * vc/vc-sccs.el (vc-sccs-print-log):
9582 * vc/vc-svn.el (vc-svn-print-log):
9583 * vc/vc.el (vc-print-log-internal): Doc fixes.
9585 2013-04-23 Glenn Morris <rgm@gnu.org>
9587 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9588 Remove venerable code attempting to avoid substitute-command-keys.
9590 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9592 * textmodes/reftex-vars.el (reftex-label-regexps):
9593 Call `reftex-compile-variables' after changes to this variable.
9595 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9597 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9598 Use lexical-binding.
9599 (jit-lock-force-redisplay): Use markers, check buffer's continued
9600 existence and beware narrowed buffers.
9601 (jit-lock-fontify-now): Adjust call accordingly.
9603 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9605 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9606 to avoid misleading the user.
9608 2013-04-22 Leo Liu <sdl.web@gmail.com>
9610 * info-look.el: Prefer latex2e.info. (Bug#14240)
9612 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9614 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9616 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9617 * net/tramp.el (tramp-call-process): ... here.
9618 (tramp-set-completion-function, tramp-parse-putty):
9619 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9620 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9621 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9622 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9623 (tramp-call-local-coding-command): Use `tramp-call-process'
9624 instead of `tramp-compat-call-process'.
9626 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9627 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9628 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9629 (tramp-find-inline-compress): Improve traces.
9630 (tramp-maybe-send-script): Check for Perl binary.
9631 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9633 2013-04-22 Daiki Ueno <ueno@gnu.org>
9635 * epg.el (epg-context-pinentry-mode): New function.
9636 (epg-context-set-pinentry-mode): New function.
9637 (epg--start): Pass --pinentry-mode option to gpg command.
9639 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9641 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9642 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9643 `completion-at-point'. (Bug#13774)
9645 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9646 default key binding for `describe-distribution' has been moved to
9647 `C-h C-o'. (Bug#13970)
9649 2013-04-21 Glenn Morris <rgm@gnu.org>
9651 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9653 (vc-print-log): Clarify interactive prompt.
9655 2013-04-20 Glenn Morris <rgm@gnu.org>
9657 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9658 No longer include timestamp etc information.
9660 2013-04-20 Roland Winkler <winkler@gnu.org>
9662 * faces.el (read-face-name): Bug fix, return just one face if arg
9663 multiple is nil. (Bug#14209)
9665 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9667 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9668 (remove-function): Autoload.
9670 * comint.el (comint-redirect-original-filter-function): Remove.
9671 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9672 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9673 (vc-cvs-annotate-command):
9674 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9675 * progmodes/prolog.el (prolog-consult-compile):
9676 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9677 Use add/remove-function instead.
9678 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9679 (gud-tooltip-process-output, gud-tooltip-tips):
9680 Use add/remove-function instead.
9681 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9682 (scheme-interaction-mode, exit-scheme-interaction-mode):
9683 Use add/remove-function instead.
9685 * vc/vc-dispatcher.el: Use lexical-binding.
9686 (vc--process-sentinel): Rename from vc-process-sentinel.
9687 Change last arg to be the code to run. Don't use vc-previous-sentinel
9688 and vc-sentinel-commands any more.
9689 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9690 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9692 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9694 * progmodes/sh-script.el (sh-imenu-generic-expression):
9695 Handle function names with a single character. (Bug#14111)
9697 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9699 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9700 for subroutines defined in an eval (bug#14182).
9702 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9704 * bookmark.el (bookmark-completing-read): Improve handling of empty
9707 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9709 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9711 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9713 New faster Imenu implementation (bug#14058).
9714 * progmodes/python.el:
9715 (python-imenu-prev-index-position):
9716 (python-imenu-format-item-label-function)
9717 (python-imenu-format-parent-item-label-function)
9718 (python-imenu-format-parent-item-jump-label-function):
9720 (python-imenu-format-item-label)
9721 (python-imenu-format-parent-item-label)
9722 (python-imenu-format-parent-item-jump-label)
9723 (python-imenu--put-parent, python-imenu--build-tree)
9724 (python-imenu-create-index, python-imenu-create-flat-index)
9725 (python-util-popn): New functions.
9726 (python-mode): Set imenu-create-index-function to
9727 python-imenu-create-index.
9729 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9731 * winner.el (winner-active-region): Use region-active-p, activate-mark
9732 and deactivate-mark (bug#14225).
9734 * simple.el (deactivate-mark): Don't inline it.
9736 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9738 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9740 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9742 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9743 file extensions from the archive-mode entry in order to prefer
9744 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9746 2013-04-18 Leo Liu <sdl.web@gmail.com>
9748 * bindings.el (help-event-list): Add ?\?.
9750 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * subr.el (with-wrapper-hook): Declare obsolete.
9753 * simple.el (filter-buffer-substring-function): New hook.
9754 (filter-buffer-substring): Use it.
9755 (filter-buffer-substring-functions): Mark obsolete.
9756 * minibuffer.el (completion-in-region-function): New hook.
9757 (completion-in-region): Use it.
9758 (completion-in-region-functions): Mark obsolete.
9759 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9760 * abbrev.el (abbrev-expand-function): New hook.
9761 (expand-abbrev): Use it.
9762 (abbrev-expand-functions): Mark obsolete.
9763 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9766 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9768 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9769 and do not care about match data.
9771 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9774 completion tables when completing error conditions and
9775 `declare' arguments.
9776 (lisp-complete-symbol, field-complete): Mark as obsolete.
9777 (check-parens): Unmatched parens are user errors.
9778 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9780 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9782 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9783 command changed buffer (ie. `flyspell-pre-buffer' is not current
9784 buffer), which prevents making decisions based on invalid value of
9785 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9786 cause an error when `flyspell-pre-point' was nil after switching
9788 (flyspell-post-command-hook): No longer needs to change buffers when
9789 checking pre-word. While at it remove unnecessary progn.
9791 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9793 * textmodes/ispell.el (ispell-add-per-file-word-list):
9794 Fix `flyspell-correct-word-before-point' error when accepting
9795 words and `coment-padding' is an integer by using
9796 `comment-normalize-vars' (Bug #14214).
9798 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9800 New defun movement commands.
9801 * progmodes/python.el (python-nav--syntactically)
9802 (python-nav--forward-defun, python-nav-backward-defun)
9803 (python-nav-forward-defun): New functions.
9805 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9807 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9808 (python-syntax-context): Use named compiler-macro for backwards
9809 compatibility with Emacs 24.x.
9811 2013-04-17 Leo Liu <sdl.web@gmail.com>
9813 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9814 octave-hide-process-buffer.
9816 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9821 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9823 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9824 Fix adjustment of offset when receiving incomplete responses from GDB
9827 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9829 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9830 python-mode-abbrev-table.
9831 (python-skeleton-define): Adjust accordingly.
9832 (python-mode-abbrev-table): New table that inherits from it so that
9833 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9835 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9836 (abbrev-symbol): Use it.
9837 (abbrev--before-point): Use it since we already handle inheritance.
9839 2013-04-16 Leo Liu <sdl.web@gmail.com>
9841 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9842 binding to info-lookup-symbol.
9844 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9846 * minibuffer.el (completion--twq-all):
9847 * term/ns-win.el (ns-initialize-window-system):
9848 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9850 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9855 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9857 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9859 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9860 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9862 (ruby-end-of-defun): Remove the unused arg, change the docstring
9863 to reflect that this function is only used as the value of
9864 `end-of-defun-function'.
9865 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9866 to reflect an earlier change that beginning/end-of-defun functions
9867 jump between methods in a class definition, as well as top-level
9870 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * minibuffer.el (minibuffer-complete): Don't just scroll
9873 a *Completions* that's been iconified.
9874 (minibuffer-force-complete): Make sure repetitions do cycle when going
9875 through completion-in-region -> minibuffer-complete.
9877 2013-04-15 Alan Mackenzie <acm@muc.de>
9879 Correct the placement of c-cpp-delimiters when there're #s not at
9882 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9883 place a submatch around the #.
9884 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9885 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9888 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9890 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9891 (advice--member-p): New arg `name'.
9892 (advice--add-function, advice-member-p): Use it (bug#14202).
9894 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9896 Reformulate java imenu-generic-expression.
9897 The old expression contained ill formed regexps.
9899 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9900 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9901 (cc-imenu-java-method-arg-regexp): New defconsts.
9902 (cc-imenu-java-build-type-args-regex): New defun.
9903 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9904 handling of spaces in the regexp.
9906 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9908 * textmodes/ispell.el (ispell-command-loop): Remove
9909 flyspell highlight of a word when ispell accepts it (bug #14178).
9911 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9913 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9914 uses code from the previous `ange-ftp-run-real-handler'.
9915 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9916 only in case that function exist. This is needed for proper
9919 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9921 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9923 * textmodes/reftex.el (reftex-compile-variables): Use it.
9925 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * files.el (normal-mode): Only use default major-mode if no other mode
9930 * emacs-lisp/trace.el (trace-values): New function.
9932 * files.el: Allow : in local variables (bug#14089).
9933 (hack-local-variable-regexp): New var.
9934 (hack-local-variables-prop-line, hack-local-variables): Use it.
9936 2013-04-13 Roland Winkler <winkler@gnu.org>
9938 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9939 data before it gets modified by bibtex-beginning-of-entry.
9941 2013-04-13 Roland Winkler <winkler@gnu.org>
9943 * textmodes/bibtex.el (bibtex-url): Doc fix.
9945 2013-04-13 Roland Winkler <winkler@gnu.org>
9947 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9948 does not visit a BibTeX file, exclude it from the list of buffers
9949 returned by bibtex-initialize.
9951 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9953 * window.el (split-window): Remove interactive form, since as a
9954 command this function is a special case of split-window-below.
9957 2013-04-12 Roland Winkler <winkler@gnu.org>
9959 * faces.el (read-face-name): Do not override value of arg default.
9960 Allow single faces and strings as default values. Remove those
9961 elements from return value that are not faces.
9962 (describe-face): Simplify.
9963 (face-at-point): New optional args thing and multiple so that this
9964 function can provide the same functionality previously provided by
9966 (make-face-bold, make-face-unbold, make-face-italic)
9967 (make-face-unitalic, make-face-bold-italic, invert-face)
9968 (modify-face, read-face-and-attribute): Use face-at-point.
9970 * cus-edit.el (customize-face, customize-face-other-window)
9971 * cus-theme.el (custom-theme-add-face)
9972 * face-remap.el (buffer-face-set)
9973 * facemenu.el (facemenu-set-face): Use face-at-point.
9975 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9977 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9979 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9981 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9982 off leading { and trailing } from field values.
9984 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * emacs-lisp/timer.el (timer--check): New function.
9987 (timer--time, timer-set-function, timer-event-handler): Use it.
9988 (timer-set-idle-time): Simplify.
9989 (timer--activate): CSE.
9990 (timer-event-handler): Give more info in error message.
9991 (internal-timer-start-idle): New function, moved from C.
9993 * mpc.el (mpc-proc): Add `restart' argument.
9994 (mpc-proc-cmd): Use it.
9995 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9996 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9999 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10001 * progmodes/sh-script.el: Implement `sh-mode' own
10002 `add-log-current-defun-function' (bug#14112).
10003 (sh-current-defun-name): New function.
10004 (sh-mode): Use the function.
10006 2013-04-09 Bastien Guerry <bzg@gnu.org>
10008 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10010 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10014 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10017 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10019 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10022 2013-04-07 Leo Liu <sdl.web@gmail.com>
10024 * pcmpl-x.el: New file.
10026 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10028 Do not set x-display-name until X connection is established.
10029 This is needed to prevent from weird situation described at
10030 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10031 * frame.el (make-frame): Set x-display-name after call to
10032 window system initialization function, not before.
10033 * term/x-win.el (x-initialize-window-system): Add optional
10034 display argument and use it.
10035 * term/w32-win.el (w32-initialize-window-system):
10036 * term/ns-win.el (ns-initialize-window-system):
10037 * term/pc-win.el (msdos-initialize-window-system):
10038 Add compatible optional display argument.
10040 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10042 * files.el (normal-backup-enable-predicate): On MS-Windows and
10043 MS-DOS compare truenames of temporary-file-directory and of the
10044 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10045 don't fail comparison by compare-strings. Also, compare file
10046 names case-insensitively on MS-Windows and MS-DOS.
10048 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10050 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10051 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10053 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10055 * whitespace.el (whitespace-color-on, whitespace-color-off):
10056 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10058 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10060 * ispell.el (ispell-set-spellchecker-params):
10061 Really set `ispell-args' for all equivs.
10063 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10065 * ido.el (ido-completions): Use extra elements of ido-decorations
10067 (ido-decorations): Update docstring.
10069 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10071 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10072 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10073 nil during initialization, in order not to miss changes since the
10074 file was opened. (Bug#14140)
10076 2013-04-05 Leo Liu <sdl.web@gmail.com>
10078 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10080 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10082 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10084 2013-04-04 Glenn Morris <rgm@gnu.org>
10086 * electric.el (electric-pair-inhibit-predicate): Add :version.
10088 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10090 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10091 when a package is required several times (bug#14082).
10093 2013-04-04 Roland Winkler <winkler@gnu.org>
10095 * faces.el (read-face-name): Behave as promised by the docstring.
10096 Assume that arg default is a list of faces.
10097 (describe-face): Call read-face-name with list of default faces.
10099 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10101 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10102 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10103 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10105 (bookmark-exit-hook-internal): Save even if list is empty.
10107 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10109 * emacs-lisp/package.el (package-pinned-packages): New var.
10110 (package--add-to-archive-contents): Obey it (bug#14118).
10112 2013-04-03 Alan Mackenzie <acm@muc.de>
10114 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10115 Also adapt to the new values of element 7 of a parse state.
10117 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10118 parameter `not-in-delimiter'. Handle being inside comment opener.
10119 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10120 character in case we're typing a '*' after a '/'.
10121 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10122 instead by passing the parameter to c-state-pp-to-literal.
10124 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10125 for elt. 7 of a parse state.
10127 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10129 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10130 * international/latin1-disp.el, international/mule-util.el:
10131 * language/cyril-util.el, language/european.el, language/ind-util.el:
10132 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10133 * language/tibetan.el, language/viet-util.el:
10134 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10136 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10139 (electric-pair-post-self-insert-function): Use it.
10140 (electric-pair-default-inhibit): New function, extracted from
10141 electric-pair-post-self-insert-function.
10143 2013-03-31 Roland Winkler <winkler@gnu.org>
10145 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10147 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10149 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10151 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10153 Un-indent after "pass" and "return" statements (Bug#13888)
10154 * progmodes/python.el (python-indent-block-enders): New var.
10155 (python-indent-calculate-indentation): Use it.
10157 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10159 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10160 defun. Defining it as defalias could introduce too eager
10161 byte-compiler optimization. (Bug#14030)
10163 2013-03-30 Chong Yidong <cyd@gnu.org>
10165 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10167 2013-03-30 Leo Liu <sdl.web@gmail.com>
10169 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10170 (kmacro-execute-from-register): Pass the keyboard macro to
10171 kmacro-call-macro or repeating won't work correctly.
10173 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10175 * progmodes/subword.el: Back to using `forward-symbol'.
10177 * subr.el (forward-whitespace, forward-symbol)
10178 (forward-same-syntax): Move from thingatpt.el.
10180 2013-03-29 Leo Liu <sdl.web@gmail.com>
10182 * kmacro.el (kmacro-to-register): New command.
10183 (kmacro-execute-from-register): New function.
10184 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10186 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * mpc.el: Use defvar-local and setq-local.
10189 (mpc--proc-connect): Connection failures are not bugs.
10190 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10191 (mpc-volume-map): Bind to the up-events.
10193 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10195 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10196 instead of `forward-symbol'.
10198 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10200 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10201 (edebug--recursive-edit): Use it.
10202 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10203 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10205 2013-03-28 Leo Liu <sdl.web@gmail.com>
10207 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10209 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10211 * facemenu.el (list-colors-callback): New defvar.
10212 (list-colors-redisplay): New function.
10213 (list-colors-display): Install list-colors-redisplay as the
10214 revert-buffer-function. (Bug#14063)
10216 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10219 and suffixes don't overlap (bug#14061).
10221 * case-table.el: Use lexical-binding.
10222 (case-table-get-table): New function.
10223 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10225 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10227 * progmodes/subword.el: Add `superword-mode' to do word motion
10228 over symbol_words (parallels and leverages `subword-mode' which
10229 does word motion inside MixedCaseWords).
10231 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10233 * eshell/em-unix.el: Move su and sudo to...
10234 * eshell/em-tramp.el: ...Eshell tramp module.
10236 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10238 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10239 Change return value to be a sexp. Delay `get-buffer' to after
10240 restoring the desktop (bug#13951).
10242 2013-03-26 Leo Liu <sdl.web@gmail.com>
10244 * register.el: Move semantic tag handling back to
10245 cedet/semantic/senator.el. (Bug#14052)
10247 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10249 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10250 into the prompt either (bug#13963).
10252 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10254 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10255 part of "(error-foo)".
10257 2013-03-24 Juri Linkov <juri@jurta.org>
10259 * replace.el (list-matching-lines-prefix-face): New defcustom.
10260 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10261 `occur-engine' if `face-differs-from-default-p' returns t.
10262 (occur-engine): Add `,' inside backquote construct to evaluate
10263 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10264 Pass `prefix-face' to the functions `occur-context-lines' and
10265 `occur-engine-add-prefix'.
10266 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10267 `prefix-face' and propertize the prefix with `prefix-face'.
10270 2013-03-24 Leo Liu <sdl.web@gmail.com>
10272 * nxml/rng-valid.el (rng-validate-while-idle)
10273 (rng-validate-quick-while-idle): Guard against deleted buffer.
10276 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10277 is the last entry in kill-buffer-hook.
10279 * files.el (kill-buffer-hook): Doc fix.
10281 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10283 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10284 Make it safe-local.
10286 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10288 2013-03-23 Leo Liu <sdl.web@gmail.com>
10290 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10293 * nxml/rng-valid.el (rng-validate-mode)
10294 (rng-after-change-function, rng-do-some-validation):
10295 * nxml/rng-maint.el (rng-validate-buffer):
10296 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10297 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10298 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10299 (nxml-extend-after-change-region): Use with-silent-modifications.
10301 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10304 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10305 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10306 timer-idle-list. (Bug#13999)
10308 2013-03-23 Juri Linkov <juri@jurta.org>
10310 * info.el (info-index-match): New face.
10311 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10312 main pattern and add text properties with the new face to matches
10313 in index entries relative to the beginning of the index entry.
10316 2013-03-21 Eric Ludlam <zappo@gnu.org>
10318 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10319 Inhibit read only while inserting objects.
10321 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10323 * progmodes/cfengine.el: Update docs to mention
10324 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10325 symbol motion. Remove "_" from the word syntax.
10327 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10329 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10330 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10332 2013-03-20 Juri Linkov <juri@jurta.org>
10334 * info.el (Info-next-reference-or-link)
10335 (Info-prev-reference-or-link): New functions.
10336 (Info-next-reference, Info-prev-reference): Use them.
10337 (Info-try-follow-nearest-node): Handle footnote navigation.
10338 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10340 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10342 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10343 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10345 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10347 Suppress unnecessary non-ASCII chatter during build process.
10348 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10349 (batch-skkdic-convert): Suppress most of the chatter.
10350 It's not needed so much now that machines are faster,
10351 and its non-ASCII component was confusing; see Dmitry Gutov in
10352 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10354 2013-03-20 Leo Liu <sdl.web@gmail.com>
10356 * ido.el (ido-chop): Fix bug#10994.
10358 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10360 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10362 (whitespace-color-on, whitespace-color-off):
10363 Use `font-lock-fontify-buffer' (Bug#13817).
10365 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10368 remapping in mode-line.
10369 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10371 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10373 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10374 value for `whitespace-line' face (Bug#13875).
10375 (whitespace-font-lock-keywords): Change description.
10376 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10377 the constructed keywords instead.
10378 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10380 2013-03-19 Leo Liu <sdl.web@gmail.com>
10382 * progmodes/compile.el (compilation-display-error): New command.
10383 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10386 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10388 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10390 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10392 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10394 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10396 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10398 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10399 * net/tramp-gvfs.el (top):
10400 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10401 (tramp-handle-shell-command): Use it.
10402 (tramp-dissect-file-name): Raise an error when hostname is a
10403 method name, and neither method nor user is specified.
10405 * net/trampver.el: Update release number.
10407 2013-03-18 Leo Liu <sdl.web@gmail.com>
10409 Make sure eldoc can be turned off properly.
10410 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10412 (eldoc-display-message-p): Revert last change.
10413 (eldoc-display-message-no-interference-p)
10414 (eldoc-print-current-symbol-info): Tweak.
10416 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10418 * doc-view.el (doc-view-new-window-function): Check the new window
10419 overlay's display property instead the char property of the
10420 buffer's first char. Use `with-selected-window' instead of
10421 `save-window-excursion' with `select-window'.
10422 (doc-view-document->bitmap): Check the current doc-view overlay's
10423 display property instead the char property of the buffer's first char.
10425 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10427 Automate the build of ja-dic.el (Bug#13984).
10428 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10429 from the input, rather than assume that it's been done for us by the
10430 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10431 the current date into a ja-dic.el comment, as that complicates
10432 regression testing.
10434 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * whitespace.el: Fix double evaluation.
10437 (whitespace-space, whitespace-hspace, whitespace-tab)
10438 (whitespace-newline, whitespace-trailing, whitespace-line)
10439 (whitespace-space-before-tab, whitespace-indentation)
10440 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10442 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10443 (whitespace-color-on): Use a single font-lock-add-keywords call.
10444 Fix double-evaluation of face variables.
10446 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10448 * net/tramp-adb.el (tramp-adb-parse-device-names):
10449 Use `start-process' instead of `call-process'. Otherwise, the
10450 function might be blocked under MS Windows. (Bug#13299)
10452 2013-03-17 Leo Liu <sdl.web@gmail.com>
10454 Extend eldoc to display info in the mode-line. (Bug#13978)
10455 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10456 (eldoc-mode-line-string): New variable.
10457 (eldoc-minibuffer-message): New function.
10458 (eldoc-message-function): New variable.
10459 (eldoc-message): Use it.
10460 (eldoc-display-message-p)
10461 (eldoc-display-message-no-interference-p):
10462 Support eldoc-post-insert-mode.
10464 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10465 (eval-expression): Run it.
10467 2013-03-17 Roland Winkler <winkler@gnu.org>
10469 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10470 strings in the list of return values.
10472 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10474 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10475 radix before checking for HMS forms.
10477 2013-03-16 Leo Liu <sdl.web@gmail.com>
10479 * progmodes/scheme.el: Add indentation and font-locking for λ.
10482 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10484 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10485 token before point (bug#13942).
10487 2013-03-16 Leo Liu <sdl.web@gmail.com>
10489 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10491 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10493 * startup.el (command-line-normalize-file-name): Fix handling of
10494 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10495 <xfq.free@gmail.com> in
10496 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10498 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10500 Sync with Tramp 2.2.7.
10502 * net/trampver.el: Update release number.
10504 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10506 * doc-view.el: Fix bug#13887.
10507 (doc-view-insert-image): Don't modify overlay associated to
10508 non-live windows, and implement horizontal centering of image in
10509 case it's smaller than the window.
10510 (doc-view-new-window-function): Force redisplay of new windows on
10513 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10515 * saveplace.el (save-place-alist-to-file): Don't sort
10516 `save-place-alist', just pretty-print it (bug#13882).
10518 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10520 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10521 Check whether `default-file-name-coding-system' is bound.
10522 It isn't in XEmacs.
10524 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10526 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10527 backquotes for `obsolete' (bug#13929).
10529 * international/mule.el (find-auto-coding): Include file name in
10530 obsolescence warning (bug#13922).
10532 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10534 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10535 for CFEngine 3-specific indentation.
10536 (cfengine3-indent-line): Use it. Fix up category regex.
10537 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10539 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10541 * type-break.el (type-break-file-name):
10542 * textmodes/remember.el (remember-data-file):
10543 * strokes.el (strokes-file):
10544 * shadowfile.el (shadow-initialize):
10545 * saveplace.el (save-place-file):
10546 * ps-bdf.el (bdf-cache-file):
10547 * progmodes/idlwave.el (idlwave-config-directory):
10548 * net/quickurl.el (quickurl-url-file):
10549 * international/kkc.el (kkc-init-file-name):
10550 * ido.el (ido-save-directory-list-file):
10551 * emulation/viper.el (viper-custom-file-name):
10552 * emulation/vip.el (vip-startup-file):
10553 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10554 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10556 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10558 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10559 * language/thai-word.el: Switch to UTF-8.
10561 See ChangeLog.16 for earlier changes.
10563 ;; Local Variables:
10567 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10569 This file is part of GNU Emacs.
10571 GNU Emacs is free software: you can redistribute it and/or modify
10572 it under the terms of the GNU General Public License as published by
10573 the Free Software Foundation, either version 3 of the License, or
10574 (at your option) any later version.
10576 GNU Emacs is distributed in the hope that it will be useful,
10577 but WITHOUT ANY WARRANTY; without even the implied warranty of
10578 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10579 GNU General Public License for more details.
10581 You should have received a copy of the GNU General Public License
10582 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.