1 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5 (tramp-get-remote-locale): New defun.
6 (tramp-open-connection-setup-interactive-shell): Use it.
8 2013-12-02 Leo Liu <sdl.web@gmail.com>
10 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
12 * progmodes/sh-script.el (sh-shell-process):
13 * progmodes/octave.el (inferior-octave-process-live-p):
14 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15 (gdb-inferior-io-sentinel):
16 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
18 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
20 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
21 `save-selected-window' to `log-edit-hide-buf'. This makes
22 `log-edit-show-files' idempotent.
23 (log-edit-show-files): Mark the new window as dedicated.
25 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
27 * vc/log-edit.el (log-edit-mode-map): Add binding for
28 `log-edit-kill-biffer'.
29 (log-edit-hide-buf): Add a FIXME comment.
30 (log-edit-add-new-comment): New function, extracted from
32 (log-edit-done, log-edit-add-to-changelog): Use it.
33 (log-edit-kill-buffer): New command.
35 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
37 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
38 instead of killing the buffer.
40 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
42 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
44 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
46 * net/eww.el (eww-form-checkbox-selected-symbol)
47 (eww-form-checkbox-symbol): New customizable variable.
48 (eww-form-checkbox, eww-toggle-checkbox):
49 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
51 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
52 (shr--get-media-pref, shr--extract-best-source): New function.
53 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
54 no :src tag was specified.
56 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
57 (eww-render): Handle `eww-use-external-browser-for-content-type'.
58 Use \\` to match beginning of string instead of ^.
59 (eww-browse-with-external-browser): Provide optional URL parameter.
60 (eww-render): Set `eww-current-title' back to "".
62 * net/shr.el (shr-tag-video): Display content for video if no
64 (shr-tag-audio): Add support for <audio> tag.
66 * net/eww.el (eww-text-input-types): : New const.
67 (eww-process-text-input): Treat input types in
68 `eww-text-input-types' as text.
70 * net/shr.el (shr-tag-table): Fix comment typo.
72 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
74 * net/eww.el (eww-follow-link): New command to avoid reloading
75 pages when we follow #target links (bug#15243).
76 (eww-quit): Special mode buffers shouldn't query before exiting.
78 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
80 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
83 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
85 * net/eww.el (eww-restore-history): Update the window title after
86 moving in the history.
87 (eww-current-dom): New variable used to save the current DOM.
89 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
91 * vc/log-edit.el (log-edit-mode-map): Add binding for
92 `log-edit-beginning-of-line'.
93 (log-edit-setup-add-author): New user option.
94 (log-edit-beginning-of-line): New command.
95 (log-edit): Move major mode call above the contents setup so that
96 the local variable values are already applied.
97 (log-edit): Only insert "Author: " when
98 `log-edit-setup-add-author' is non-nil.
99 (log-edit): When SETUP is non-nil, position point after ": "
100 instead of point-min.
102 2013-12-01 Glenn Morris <rgm@gnu.org>
104 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
106 2013-11-30 Eli Zaretskii <eliz@gnu.org>
108 * startup.el (fancy-splash-frame): On MS-Windows, trigger
109 redisplay to make sure the initial frame gets a chance to become
112 2013-11-30 Martin Rudalics <rudalics@gmx.at>
114 Support resizing frames and windows pixelwise.
115 * cus-start.el (frame-resize-pixelwise)
116 (window-resize-pixelwise): New entries.
117 * emacs-lisp/debug.el (debug): Use window-total-height instead
118 of window-total-size.
119 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
120 * help.el (describe-bindings-internal): Call help-buffer
121 (temp-buffer-max-width): New option.
122 (resize-temp-buffer-window, help-window-setup)
123 (with-help-window): Rewrite.
124 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
126 * window.el (frame-char-size, window-min-pixel-height)
127 (window-safe-min-pixel-height, window-safe-min-pixel-width)
128 (window-min-pixel-width, window-safe-min-pixel-size)
129 (window-combination-p, window-safe-min-size)
130 (window-resizable-p, window--size-to-pixel)
131 (window--pixel-to-size, window--resize-apply-p): New functions.
132 (window-safe-min-height): Fix doc-string.
133 (window-size, window-min-size, window--min-size-1)
134 (window-sizable, window-sizable-p, window--min-delta-1)
135 (window-min-delta, window--max-delta-1, window-max-delta)
136 (window--resizable, window--resizable-p, window-resizable)
137 (window-full-height-p, window-full-width-p, window-at-side-p)
138 (window--in-direction-2, window-in-direction)
139 (window--resize-reset-1, window--resize-mini-window)
140 (window-resize, window-resize-no-error)
141 (window--resize-child-windows-normal)
142 (window--resize-child-windows, window--resize-siblings)
143 (window--resize-this-window, window--resize-root-window)
144 (window--resize-root-window-vertically)
145 (adjust-window-trailing-edge, enlarge-window, shrink-window)
146 (maximize-window, minimize-window, delete-window)
147 (quit-restore-window, window-split-min-size, split-window)
148 (balance-windows-2, balance-windows)
149 (balance-windows-area-adjust, balance-windows-area)
150 (window--state-get-1, window-state-get, window--state-put-1)
151 (window--state-put-2, window-state-put)
152 (display-buffer-record-window, window--display-buffer):
153 Make functions handle pixelwise sizing of windows.
154 (display-buffer--action-function-custom-type)
155 (display-buffer-fallback-action):
156 Add display-buffer-in-previous-window.
157 (display-buffer-use-some-window): Resize window to height it had
159 (fit-window-to-buffer-horizontally): New option.
160 (fit-frame-to-buffer): Describe new values.
161 (fit-frame-to-buffer-bottom-margin): Replace with
162 fit-frame-to-buffer-margins.
163 (window--sanitize-margin): New function.
164 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
165 using window-text-pixel-size.
167 2013-11-30 Glenn Morris <rgm@gnu.org>
169 * emacs-lisp/bytecomp.el (byte-compile-form):
170 Make the `interactive-only' warning like the `obsolete' one.
171 * comint.el (comint-run):
172 * files.el (insert-file-literally, insert-file):
173 * replace.el (replace-string, replace-regexp):
174 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
175 (goto-line, insert-buffer, next-line, previous-line):
176 Tweak `interactive-only' spec.
178 Stop keeping (most) generated cedet grammar files in the repository.
179 * Makefile.in (semantic): New.
180 (compile-main): Depend on semantic.
182 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
184 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
185 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
187 * uniquify.el (uniquify-buffer-name-style): Change default.
189 * loadup.el: Preload "uniquify".
191 * time.el (display-time-update): Update all mode lines (bug#15999).
193 * electric.el (electric-indent-mode): Enable by default.
194 * loadup.el: Preload "electric".
196 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
198 * emacs-lisp/helpers.el (string-empty-p): New function.
199 (string-blank-p): New function.
201 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
203 * imenu.el (imenu--index-alist): Add missing dot to the docstring
206 2013-11-29 Andreas Politz <politza@fh-trier.de>
207 * imenu.el (imenu--subalist-p): Don't error on non-conses and
208 allow non-lambda lists as functions.
209 (imenu--in-alist): Don't recurse into non-subalists.
210 (imenu): Don't pass function itself as an argument (Bug#14029).
212 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
214 * progmodes/python.el (python-mode-map): Remove binding for ":".
215 (python-indent-electric-colon): Remove command.
216 (python-indent-post-self-insert-function): Integrate the previous code
217 of python-indent-electric-colon. Make it conditional on
218 electric-indent-mode.
219 (python-mode): Add ?: to electric-indent-chars.
220 Move python-indent-post-self-insert-function to the end of
221 post-self-insert-hook.
223 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
225 * doc-view.el (doc-view-goto-page): Update mode-line.
227 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
229 2013-11-27 Glenn Morris <rgm@gnu.org>
231 * international/charprop.el, international/uni-bidi.el:
232 * international/uni-category.el, international/uni-combining.el:
233 * international/uni-comment.el, international/uni-decimal.el:
234 * international/uni-decomposition.el, international/uni-digit.el:
235 * international/uni-lowercase.el, international/uni-mirrored.el:
236 * international/uni-name.el, international/uni-numeric.el:
237 * international/uni-old-name.el, international/uni-titlecase.el:
238 * international/uni-uppercase.el:
239 Remove generated files from VCS repository.
241 2013-11-27 Eli Zaretskii <eliz@gnu.org>
243 * filenotify.el (file-notify-add-watch): Don't special-case
244 w32notify when computing the directory to watch.
246 2013-11-27 Glenn Morris <rgm@gnu.org>
248 Make bootstrap without generated uni-*.el files possible again.
249 * loadup.el: Update command-line-args checking for unidata-gen.
250 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
251 * composite.el, international/characters.el:
252 Handle unicode tables being undefined.
254 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
255 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
256 (compile-main): Depend on leim rule.
258 * loadup.el: Move leim-list.el to leim/ subdirectory.
259 * startup.el (normal-top-level): No more leim directory.
260 * international/ja-dic-cnv.el (skkdic-convert):
261 Disable version-control and autoloads in output files.
262 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
263 Disable version-control and autoloads in output files.
264 * leim/quail: Move here from ../leim.
265 * leim/quail/hangul.el (hangul-input-method-activate):
267 (generated-autoload-load-name): Set file-local value.
268 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
269 (generated-autoload-load-name): Set file-local value.
271 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
273 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
274 (eww-add-bookmark): ask confirmation when add to bookmarks
275 (eww-quit): ask confirmation before quitting eww
277 2013-11-26 Eli Zaretskii <eliz@gnu.org>
279 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
280 reading output from Diff on MS-Windows and MS-DOS.
282 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
284 * emacs-lisp/helpers.el (string-reverse): New function.
286 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
288 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
289 names on MS Windows, like "/[::1]:".
291 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
294 2013-11-26 Glenn Morris <rgm@gnu.org>
296 * progmodes/python.el (python-indent-guess-indent-offset):
297 Avoid corner-case error. (Bug#15975)
299 Preload leim-list.el. (Bug#4789)
300 * loadup.el: Load leim-list.el when found.
301 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
303 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
305 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
307 * emacs-lisp/helpers.el (string-join): New function.
309 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
312 Mark as obsolete and replace it with a symbol property.
313 (byte-compile-form): Use new 'interactive-only property.
314 * comint.el, files.el, replace.el, simple.el:
315 Apply new 'interactive-only properly.
317 2013-11-25 Martin Rudalics <rudalics@gmx.at>
319 * window.el (display-buffer-at-bottom): Make sure that
320 split-window-sensibly creates the new window on bottom
323 2013-11-23 David Kastrup <dak@gnu.org>
325 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
326 on the conflict markers when available.
327 (smerge--get-marker): New function.
328 (smerge-end-re, smerge-base-re): Add subgroup.
330 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
332 * frame.el (handle-focus-in, handle-focus-out): Add missing
335 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
337 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
338 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
340 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
342 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
343 (gomoku--last-pos): New var.
344 (gomoku--intangible-chars): New const.
345 (gomoku--intangible): New function.
346 (gomoku-mode): Use it. Derive from special-mode.
347 (gomoku-move-up): Adjust line count.
348 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
349 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
350 Simplify accordingly.
352 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
353 Remove blink-cursor code.
354 (blink-cursor-timer-function, blink-cursor-suspend):
355 Don't special-case GUIs.
356 (blink-cursor-mode): Use focus-in/out-hook.
358 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
360 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
361 work when annotation is invisible (Bug#13886).
363 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
365 * json.el (json-alist-p): Only return non-nil if the alist has
366 simple keys (Bug#13518).
368 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
370 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
371 when control-statement is the first statement in a buffer (Bug#15956).
373 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
375 * imenu.el (imenu-generic-skip-comments-and-strings):
376 New option (Bug#15560).
377 (imenu--generic-function): Use it.
379 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
381 * minibuffer.el (completion--in-region-1): Scroll the correct
384 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
386 * emacs-lisp/helpers.el: Add some string helpers.
387 (string-trim-left): Removes leading whitespace.
388 (string-trim-right): Removes trailing whitespace.
389 (string-trim): Removes leading and trailing whitespace.
391 * subr.el (string-suffix-p): New function.
393 2013-11-23 Glenn Morris <rgm@gnu.org>
395 * progmodes/python.el (python-shell-send-file):
396 Add option to delete file when done. (Bug#15647)
397 (python-shell-send-string, python-shell-send-region): Use it.
399 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
401 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
402 to set buffer-read-only to t, never to nil. (Bug#15938)
404 * textmodes/tex-mode.el (latex-noindent-environments):
405 Add safe-local-variable property. (Bug#15936)
407 2013-11-23 Glenn Morris <rgm@gnu.org>
409 * textmodes/enriched.el (enriched-mode): Doc fix.
410 * emacs-lisp/authors.el (authors-renamed-files-alist):
411 Add enriched.doc -> enriched.txt.
413 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
415 2013-11-22 Leo Liu <sdl.web@gmail.com>
417 * progmodes/octave.el (inferior-octave-startup): Spit out error
420 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
422 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
425 (ruby-encoding-magic-comment-style): Add :version.
427 2013-11-22 Leo Liu <sdl.web@gmail.com>
429 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
431 (octave-help-mode): Adapt to change to help-mode-finish to use
432 derived-mode-p on 2013-09-17.
433 (inferior-octave-prompt): Also match octave-gui.
434 (octave-kill-process): Don't ask twice. (Bug#10564)
436 2013-11-22 Leo Liu <sdl.web@gmail.com>
438 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
439 (inferior-octave-startup, inferior-octave-check-process)
440 (inferior-octave-track-window-width-change)
441 (octave-completion-at-point, octave-eldoc-function): Use it.
442 (octave-kill-process): Provide confirmation. (Bug#10564)
444 2013-11-21 Leo Liu <sdl.web@gmail.com>
446 * progmodes/octave.el (octave-mode, inferior-octave-mode):
447 Fix obsolete variable comment-use-global-state.
449 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
451 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
452 Add `octave-source-file'.
453 (octave-source-file): New function. (Bug#15935)
455 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
457 * net/eww.el (eww-local-regex): New variable.
458 (eww): Use it to detect localhost and similar.
460 2013-11-21 Leo Liu <sdl.web@gmail.com>
462 Add completion for command `ag'.
463 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
464 (pcomplete/ag): New function.
465 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
467 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
469 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
471 (make-obsolete): Remove interactive spec.
473 2013-11-21 Glenn Morris <rgm@gnu.org>
475 * startup.el (command-line-1): Use path-separator with -L.
477 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
479 * emacs-lisp/package.el (describe-package-1): Add package archive
482 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
484 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
485 Change default to "# encoding: %s" to differentiate it from the
486 default Ruby encoding comment template.
488 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
490 * ses.el (ses-mode): Doc fix. (Bug#14748)
492 2013-11-20 Leo Liu <sdl.web@gmail.com>
494 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
496 2013-11-19 Dan Nicolaescu <dann@gnu.org>
498 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
499 when rebase or bisect are in progress.
501 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
503 * filenotify.el (file-notify-add-watch): Doc fix.
505 2013-11-19 Leo Liu <sdl.web@gmail.com>
507 * obsolete/rcompile.el: Mark obsolete.
509 * progmodes/compile.el (compilation-start)
510 (compilation-goto-locus, compilation-find-file):
511 Pass no-display-ok and handle nil value from display-buffer.
514 * window.el (display-buffer-alist, display-buffer): Document the
515 new parameter no-display-ok.
517 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
519 * electric.el (electric-indent-mode-map): Remove.
520 (electric-indent-mode): Change the global-map instead (bug#15915).
522 * textmodes/text-mode.el (paragraph-indent-minor-mode):
525 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
527 * emacs-lisp/nadvice.el (remove-function): Align with
528 add-function's behavior.
530 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
531 (gdb--string-regexp): New constant.
532 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
533 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
534 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
536 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
537 Adjust use accordingly.
538 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
540 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
542 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
543 interpolation curlies (Bug#15914).
545 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
547 * calc/calc.el (calc-context-sensitive-enter): New variable.
548 (calc-enter): Use `calc-context-sensitive-enter'.
550 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
552 * progmodes/cfengine.el: Version bump.
553 (cfengine-cf-promises): New defcustom to locate cf-promises.
554 (cfengine3-vartypes): Add new "data" type.
555 (cfengine3--current-word): New function to get current name-like
557 (cfengine3--current-function): New function to look up a CFEngine
558 function's definition.
559 (cfengine3-format-function-docstring): New function.
560 (cfengine3-make-syntax-cache): New function.
561 (cfengine3-documentation-function): New function: ElDoc glue.
562 (cfengine3-completion-function): New function: completion glue.
563 (cfengine3-mode): Set `compile-command',
564 `eldoc-documentation-function', and add to
565 `completion-at-point-functions'.
567 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
569 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
570 `tramp-current-connection'.
572 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
574 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
575 nil/self/true/false with "end of symbol".
577 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
579 * subr.el (version-regexp-alist): Fix a typo.
581 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
583 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
584 "en_US.utf8" and "LC_CTYPE" to "".
585 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
586 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
588 2013-11-15 Leo Liu <sdl.web@gmail.com>
590 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
592 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
594 * progmodes/gud.el (ctl-x-map):
595 Remove C-x SPC binding. (Bug#12342)
596 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
598 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
600 * subr.el (version-regexp-alist):
601 Recognize hg, svn and darcs versions as snapshot versions.
603 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
604 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
605 (ruby--encoding-comment-required-p): Extract from
606 `ruby-mode-set-encoding'.
607 (ruby-mode-set-encoding): Add the ability to always insert an
608 utf-8 encoding comment. Fix and simplify coding comment update
611 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
613 * net/tramp-gvfs.el (top): Run init code only when
614 `tramp-gvfs-enabled' is not nil.
615 (tramp-gvfs-enabled): Check also :system bus.
617 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
619 Sync with upstream verilog-mode revision 78e66ba.
620 * progmodes/verilog-mode.el (verilog-end-of-defun)
621 (verilog-type-completion, verilog-get-list): Remove unused funcs.
622 (verilog-get-end-of-defun): Remove unused argument.
623 (verilog-comment-depth): Remove unused local `e'.
624 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
625 Don't pass arg to verilog-get-end-of-defun.
627 2013-11-14 Glenn Morris <rgm@gnu.org>
629 * obsolete/assoc.el (aget): Prefix dynamic variable.
631 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
633 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
635 * widget.el, hfy-cmap.el: Remove bogus package version number.
637 2013-11-13 Glenn Morris <rgm@gnu.org>
639 * replace.el (replace-eval-replacement):
640 Try to give more helpful error message. (Bug#15836)
642 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
643 (archive-7z-update): Avoid custom type mismatches.
645 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
647 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
649 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
650 address can be empty.
652 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
654 (tramp-gvfs-handle-write-region): Implement APPEND.
656 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
658 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
659 binary "|" operator and closing block args delimiter.
660 Remove FIXME comment referring to Ruby 1.8-only syntax.
661 (ruby-smie--implicit-semi-p): Not after "|" operator.
662 (ruby-smie--closing-pipe-p): New function.
663 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
664 (ruby-smie-rules): Indent after "|".
666 2013-11-12 Glenn Morris <rgm@gnu.org>
668 * ps-print.el (ps-face-attribute-list):
669 Handle anonymous faces. (Bug#15827)
671 2013-11-12 Martin Rudalics <rudalics@gmx.at>
673 * window.el (display-buffer-other-frame): Fix doc-string.
676 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
678 * subr.el (force-mode-line-update): Delete, move to buffer.c.
680 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
682 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
683 (tramp-sh-handle-file-local-copy): Don't write a message when
684 saving temporary files.
686 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
687 both directories are remote.
688 (tramp-smb-handle-directory-files): Do not return double entries.
689 Do not expand full file names.
690 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
691 (tramp-smb-handle-write-region): Implement APPEND.
692 (tramp-smb-get-stat-capability): Fix a stupid bug.
694 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
696 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
698 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
700 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
701 throwing error over malformed let/let* (bug#15814).
703 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
705 * iswitchb.el (iswitchb-mode): Mark obsolete.
707 2013-11-11 Glenn Morris <rgm@gnu.org>
709 * international/uni-bidi.el, international/uni-category.el:
710 * international/uni-name.el, international/uni-numeric.el:
711 Regenerate for Unicode 6.3.0.
713 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
715 * net/tramp.el (tramp-methods):
716 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
717 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
719 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
721 * progmodes/sh-script.el (sh-font-lock-keywords-var):
722 Force highlighting text after Summary keyword in doc face for rpm.
724 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
726 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
727 available and the word has no wildcards, append one to the grep pattern.
728 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
729 (ispell-complete-word): Call `ispell-lookup-words' with the value
730 independent of `ispell-look-p'.
732 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
734 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
736 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
739 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
741 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
742 (ruby-font-lock-keywords): Use backquote.
744 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
746 * progmodes/ruby-mode.el (ruby-smie--forward-token)
747 (ruby-smie--backward-token): Only consider full-string matches.
749 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
751 * faces.el (describe-face): Add distant-foreground.
753 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
755 * progmodes/ruby-mode.el: Improve encoding comment handling.
756 (ruby-encoding-magic-comment-style): New option.
757 (ruby-custom-encoding-magic-comment-template): New option.
758 (ruby--insert-coding-comment, ruby--detect-encoding):
759 New functions extracted from `ruby-mode-set-encoding'.
760 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
761 to control the style of the auto-inserted encoding comment.
763 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
765 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
766 Use `smie-backward-sexp' with token argument.
768 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
770 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
771 Remove instrumentation code.
773 2013-11-08 Glenn Morris <rgm@gnu.org>
775 * progmodes/autoconf.el (autoconf-mode):
776 Tweak comment-start-skip. (Bug#15822)
778 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
780 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
782 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
784 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
786 * man.el (Man-start-calling): New macro, extracted from
787 Man-getpage-in-background.
788 (Man-getpage-in-background): Use it.
789 (Man-update-manpage): New command.
790 (Man-mode-map): Bind it.
792 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
794 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
795 of "and", "or", "&&" and "||".
796 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
797 argument. Prohibit opening curly brace because it could only be a
798 block opener in that position.
799 (ruby-smie--forward-token, ruby-smie--backward-token):
800 Separate "|" from "&" or "*" going after it. That can happen in block
802 (ruby-smie--indent-to-stmt): New function, seeks the end of
803 previous statement or beginning of buffer.
804 (ruby-smie-rules): Use it.
805 (ruby-smie-rules): Check if there's a ":" before a curly block
806 opener candidate; if there is, it's a hash.
808 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
810 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
811 (cl--block-wrapper): Fix last accidental change.
813 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
815 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
816 Instrument, in order to hunt failure on hydra.
818 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
820 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
821 malformed bindings form (bug#15814).
823 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
825 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
826 "." compared to " @ ". This incidentally fixes some indentation
828 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
829 (ruby-smie-grammar): New tokens: "and" and "or".
830 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
831 Exclude "and" and "or". Remove "do" in order to work around token
833 (ruby-smie-rules): Add all infix tokens. Handle the case of
836 2013-11-06 Glenn Morris <rgm@gnu.org>
838 * Makefile.in (setwins_almost, setwins_for_subdirs):
839 Avoid accidental matches.
841 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
843 * menu-bar.el (popup-menu): Use key-binding.
845 2013-11-06 Eli Zaretskii <eliz@gnu.org>
847 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
848 menus, support also the menus produced by minor modes.
851 2013-11-06 Leo Liu <sdl.web@gmail.com>
853 * thingatpt.el (thing-at-point-looking-at): Add optional arg
854 DISTANCE to bound the search. All uses changed. (Bug#15808)
856 2013-11-06 Glenn Morris <rgm@gnu.org>
858 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
859 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
860 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
862 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
864 * electric.el (electric-indent-just-newline): New command.
865 (electric-indent-mode-map): New keymap.
866 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
867 Re-add :group which weren't redundant.
869 * electric.el (electric-indent-local-mode): New minor mode.
870 (electric-indent-functions-without-reindent): New var.
871 (electric-indent-post-self-insert-function): Use it.
872 * emacs-lisp/gv.el (buffer-local-value): Add setter.
874 2013-11-05 Eli Zaretskii <eliz@gnu.org>
876 * international/quail.el (quail-help): Be more explicit about the
877 meaning of the labels shown on the keys. (Bug#15800)
879 * startup.el (normal-top-level): Load the subdirs.el files before
880 setting the locale environment. (Bug#15805)
882 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
884 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
885 via arguments so as to get the right ones (bug#15418).
887 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
889 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
891 Fix problems found while writing a test suite.
893 * net/tramp-compat.el (tramp-compat-load): New defun.
894 * net/tramp.el (tramp-handle-load): Use it.
896 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
897 "(numberp ok-if-already-exists)" correctly.
899 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
901 * international/characters.el (glyphless-char-display-control):
904 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
906 * progmodes/python.el (python-mode):
907 * progmodes/scheme.el (scheme-mode):
908 * progmodes/prolog.el (prolog-mode):
909 * progmodes/ruby-mode.el (ruby-mode):
910 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
911 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
913 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
915 * rect.el (rectangle--highlight-for-redisplay):
916 * emacs-lisp/smie.el (smie--next-indent-change):
917 Use buffer-chars-modified-tick.
919 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
921 * electric.el (electric-indent-post-self-insert-function):
922 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
924 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
926 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
928 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
930 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
933 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
935 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
937 * progmodes/python.el: Fix up last change.
938 (python-shell--save-temp-file): New function.
939 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
940 `string' comes from the current buffer.
941 (python-shell-send-string-no-output): Remove `msg' arg.
942 (python--use-fake-loc): New var.
943 (python-shell-buffer-substring): Obey it. Try to compensate for the
944 extra coding line added by python-shell--save-temp-file.
945 (python-shell-send-region): Use python-shell--save-temp-file and
946 python-shell-send-file directly. Add `nomain' argument.
947 (python-shell-send-buffer): Use python-shell-send-region.
948 (python-electric-pair-string-delimiter): New function.
949 (python-mode): Use it.
951 2013-11-04 Eli Zaretskii <eliz@gnu.org>
953 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
954 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
955 environment and decoding all of the default-directory's to here
957 (command-line): Decode also argv[0].
959 * loadup.el: Error out if default-directory is a multibyte string
962 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
964 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
966 * emacs-lisp/package.el (package-menu-mode)
967 (package-menu--print-info, package-menu--archive-predicate):
968 Add Archive column to package list.
970 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
972 Fix problems found while writing a test suite.
974 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
975 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
976 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
977 to nil when running original file name handler. Otherwise,
978 there are problems with constructs like "$$FOO".
980 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
983 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
985 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
987 * subr.el (version<, version<=, version=):
988 Update docstrings with information for snapshot versions.
990 * helpers.el: New library for misc helper functions.
991 (hash-table-keys): New function returning a list of hash keys.
992 (hash-table-values): New function returning a list of hash values.
994 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
996 * progmodes/ruby-mode.el (ruby-smie--forward-token)
997 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
999 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1001 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1002 checking whether point is after a 1-letter word.
1004 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1006 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1007 Don't infloop when expanding region over `multiline' syntax-type that
1008 begins a line (bug#15778).
1010 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1013 Make it into a proper minor mode.
1014 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1015 (rectangle-mark-mode-map): New keymap.
1016 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1018 2013-11-04 Glenn Morris <rgm@gnu.org>
1020 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1022 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1024 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1025 (ruby-smie-rules): Use smie-rule-parent instead.
1027 * emacs-lisp/smie.el (smie-rule-parent): Always call
1028 smie-indent-virtual rather than only for hanging tokens.
1029 (smie--next-indent-change): New helper command.
1031 2013-11-03 Glenn Morris <rgm@gnu.org>
1033 * Makefile.in (abs_srcdir): Remove.
1034 (emacs): Unset EMACSLOADPATH.
1036 2013-11-02 Glenn Morris <rgm@gnu.org>
1038 * Makefile.in (EMACS): Use a relative filename.
1039 (abs_top_builddir): Remove.
1040 (custom-deps, finder-data, autoloads): Use --chdir.
1042 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1044 Use relative filenames in TAGS files.
1045 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1046 (lisptagsfiles4, TAGS): Use relative file names.
1047 (TAGS-LISP): Remove.
1048 (maintainer-clean): No more TAGS-LISP file.
1050 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1051 (lisptagsfiles4): Use absolute filenames again.
1052 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1053 Remove all *loaddefs files, not just the first. Remove esh-groups.
1054 (maintainer-clean): Delete TAGS, TAGS-LISP.
1056 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1058 * emacs-lisp/package.el (package-version-join):
1059 Recognize snapshot versions.
1061 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1063 * subr.el (version-regexp-alist): Add support for snapshot versions.
1065 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1067 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1068 New function, replacement for `smie-rule-parent' for when we want to
1069 skip over our direct parent if it's an assignment token..
1070 (ruby-smie-rules): Use it.
1072 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1074 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1075 unconditionally. Remove now unnecessary forward declarations.
1076 Remove XEmacs-specific setup.
1077 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1078 (ruby-font-lock-syntactic-keywords)
1079 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1080 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1081 (ruby-here-doc-end-syntax): Remove.
1082 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1083 defined as function.
1085 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1087 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1089 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1091 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1092 table and abbrev table, `define-derived-mode' does that for us
1095 2013-11-01 Glenn Morris <rgm@gnu.org>
1097 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1098 files is atomic for some time, so no parallel compilation issues).
1100 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1102 * faces.el (face-x-resources): Add :distant-foreground.
1103 (region): Use :distant-foreground for gtk and ns.
1105 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1107 Allow multiple bibliographies when BibLaTeX is used rather than
1109 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1110 (reftex-locate-bibliography-files): Us it.
1112 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1114 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1115 allow comments in pbm files.
1117 * term/w32-win.el (dynamic-library-alist): Support newer versions
1118 of libjpeg starting with v7: look only for the DLL from the
1119 version against which Emacs was built.
1120 Support versions of libpng beyond 1.4.x.
1121 Support libtiff v4.x.
1123 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1125 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1126 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1128 (ruby-deep-arglist): Add property :type.
1130 2013-10-31 Glenn Morris <rgm@gnu.org>
1132 * Makefile.in (custom-deps, finder-data): No need to setq the target
1133 variables, we are in the right directory and the defaults work fine.
1135 2013-10-30 Glenn Morris <rgm@gnu.org>
1137 * Makefile.in (autoloads): Do not use abs_lisp.
1139 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1140 `newline' does not respect `standard-output', so use `princ'.
1142 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1144 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1145 * buff-menu.el (Buffer-menu--unmark): New function.
1146 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1148 2013-10-30 Glenn Morris <rgm@gnu.org>
1150 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1152 * emacs-lisp/package.el (lm-homepage): Declare.
1154 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1157 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1159 * Makefile.in (finder-data, autoloads, update-subdirs)
1160 (compile-main, compile-clean, compile-always, bootstrap-clean):
1161 Check return value of cd.
1162 (compile-calc): Remove.
1164 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1166 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1168 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1169 (byte-compile-and-folded): New function.
1170 (=, <, >, <=, >=): Use it.
1172 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1173 (path-separator, null-device, buffer-file-coding-system)
1174 (lpr-headers-switches): Check system-type before modifying them.
1175 (find-buffer-file-type-coding-system): Mark obsolete.
1176 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1177 find-file-not-found-set-buffer-file-coding-system.
1178 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1179 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1180 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1181 (w32-direct-print-region-helper, w32-direct-print-region-function)
1182 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1183 * startup.el (normal-top-level-add-subdirs-to-load-path):
1184 * ps-print.el (ps-print-region-function):
1185 * lpr.el (print-region-function): Use new name.
1187 * subr.el (custom-declare-variable-early): Remove function.
1188 (custom-declare-variable-list): Remove var.
1189 (error, user-error): Remove `while' loop.
1190 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1191 (user-emacs-directory-warning, locate-user-emacs-file):
1193 * simple.el (read-quoted-char-radix, read-quoted-char):
1194 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1196 * custom.el (custom-declare-variable-list): Don't process
1197 custom-declare-variable-list.
1199 * progmodes/python.el (python-shell-get-buffer): New function.
1200 (python-shell-get-process): Use it.
1201 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1202 Python which encoding was used. Don't split-string since we only care
1203 about the first line. Return the temp-file, if applicable.
1204 (python-shell-send-region): Tell compile.el how to turn locations in
1205 the temp-file into locations in the source buffer.
1207 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * subr.el (undefined): Add missing behavior from the C code for
1212 * rect.el: Use lexical-binding. Add new rectangular region support.
1213 (rectangle-mark): New command.
1214 (rectangle--region): New var.
1215 (deactivate-mark-hook): Reset rectangle--region.
1216 (rectangle--extract-region, rectangle--insert-for-yank)
1217 (rectangle--highlight-for-redisplay)
1218 (rectangle--unhighlight-for-redisplay): New functions.
1219 (region-extract-function, redisplay-unhighlight-region-function)
1220 (redisplay-highlight-region-function): Use them to handle
1222 * simple.el (region-extract-function): New var.
1223 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1224 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1225 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1226 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1227 (redisplay-unhighlight-region-function)
1228 (redisplay-highlight-region-function): New vars.
1229 (redisplay--update-region-highlight): New function.
1230 (pre-redisplay-function): Use it.
1231 (exchange-point-and-mark): Don't deactivate the mark before
1232 reactivate-it anyway.
1233 * comint.el (comint-kill-region): Remove yank-handler argument.
1234 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1235 (delete-char): Remove property, since it's now part of their
1237 (self-insert-iso): Remove property since this command doesn't exist.
1239 * emacs-lisp/package.el (package--download-one-archive)
1240 (describe-package-1): Don't query the user about final newline.
1242 2013-10-29 Daniel Colascione <dancol@dancol.org>
1244 * net/tramp.el (tramp-methods): Document new functionality.
1245 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1246 tramp-hostname-checker if method provides one instead of scanning
1247 argument list for "%h" to decide hostname acceptability.
1249 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1251 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1252 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1253 Handle COPY-CONTENTS. (Bug#15737)
1255 2013-10-28 Daiki Ueno <ueno@gnu.org>
1258 (epa-file-cache-passphrase-for-symmetric-encryption):
1259 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1261 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1263 * image.el (defimage):
1264 (image-load-path): Doc fixes.
1266 2013-10-27 Alan Mackenzie <acm@muc.de>
1268 Indent statements in macros following "##" correctly.
1269 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1270 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1272 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1274 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1276 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1278 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1279 after `=' is probably a new expression.
1281 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1283 * man.el (man-imenu-title): New option.
1284 (Man-mode-map): Add menu. (Bug#15722)
1285 (Man-mode): Add imenu to menu.
1287 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1289 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1290 specific in what the first arg can be: a non-keyword word,
1291 string/regexp/percent literal opener, opening paren, or unary
1292 operator followed directly by word.
1294 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1297 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1298 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1299 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1300 Remove vars, they do not apply any more.
1301 (prolog-mode-abbrev-table): Remove redundant declaration.
1302 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1303 (prolog-use-smie): Remove.
1304 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1305 supported by prolog-electric-if-then-else-flag.
1306 (prolog-mode-variables, prolog-menu): Use setq-local.
1307 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1308 Remove binding to `Backspace' since this key doesn't exist anyway.
1309 Remove bindings for electric self-inserting keys.
1310 (prog-mode): Assume it's defined.
1311 (prolog-post-self-insert): New function.
1312 (prolog-mode): Use it.
1313 (prolog-indent-line, prolog-indent-level)
1314 (prolog-find-indent-of-matching-paren)
1315 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1316 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1317 (prolog-goto-next-paren, prolog-in-string-or-comment)
1318 (prolog-tokenize, prolog-inside-mline-comment)
1319 (prolog-find-start-of-mline-comment): Remove functions.
1320 (prolog-find-unmatched-paren, prolog-clause-end)
1321 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1322 (prolog-electric--if-then-else): Rename from
1323 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1324 (prolog-tokenize-searchkey): Remove const.
1325 (prolog-clause-info): Use forward-sexp.
1326 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1327 (prolog-electric-if-then-else): Remove commands.
1328 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1329 for use in post-self-insert-hook.
1330 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1331 for use in post-self-insert-hook.
1332 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1333 for use in post-self-insert-hook.
1334 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1335 adapt it for use in post-self-insert-hook.
1337 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1339 * emacs-lisp/ert.el (ert-run-tests-interactively):
1340 Use `completing-read'. (Bug#9756)
1342 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1344 * simple.el (line-move): Call line-move-1 instead of
1345 line-move-visual when the current window hscroll is zero, but
1346 temporary-goal-column indicates we will need to hscroll as result
1347 of the movement. (Bug#15712)
1349 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1351 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1352 capitalization. Use :visible instead of :active.
1353 Fix `ruby-indent-exp' reference. Add menu items for the generic
1354 commands that are used with SMIE.
1355 (ruby-do-end-to-brace): Insert space after `{'.
1357 2013-10-25 John Anthony <john@jo.hnanthony.com>
1359 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1361 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1363 2013-10-25 Glenn Morris <rgm@gnu.org>
1365 * vc/vc.el (vc-print-log): Don't use a working revision unless
1366 one was explicitly specified. (Bug#15322)
1368 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1370 * subr.el (add-to-list): Preserve return value in compiler-macro
1373 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1375 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1376 result. Ask user to retry using '-all' flag. (Bug#15701)
1378 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * emacs-lisp/smie.el: New smie-config system.
1381 (smie-config): New defcustom.
1382 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1383 (smie-config-guess, smie-config-save): New commands.
1384 (smie-config--mode-local, smie-config--buffer-local)
1385 (smie-config--trace, smie-config--modefuns): New vars.
1386 (smie-config--advice, smie-config--mode-hook)
1387 (smie-config--setter, smie-config-local, smie-config--get-trace)
1388 (smie-config--guess-value, smie-config--guess): New functions.
1389 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1390 text properties. Treat "string fence" syntax like string syntax.
1392 * progmodes/sh-script.el (sh-use-smie): Change default.
1393 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1394 (sh-var-value): Simplify by CSE.
1395 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1396 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1398 (sh-guess-basic-offset): Use cl-incf.
1399 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1401 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1403 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1406 2013-10-24 Glenn Morris <rgm@gnu.org>
1408 * Makefile.in (abs_top_srcdir): Remove.
1409 (update-subdirs): Use relative path to update-subdirs.
1411 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1413 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1414 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1415 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1416 Call unmsys--file-name before expand-file-name, not after it.
1418 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1420 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1421 (ert-test-skipped): New error.
1422 (ert-skip, ert-stats-skipped): New defuns.
1423 (ert--skip-unless): New macro.
1424 (ert-test-skipped): New struct.
1425 (ert--run-test-debugger, ert-test-result-type-p)
1426 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1427 (ert--stats-set-test-and-result, ert-char-for-test-result)
1428 (ert-string-for-test-result, ert-run-tests-batch)
1429 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1430 Handle skipped tests. (Bug#9803)
1432 2013-10-24 Glenn Morris <rgm@gnu.org>
1434 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1436 * Makefile.in (abs_top_srcdir): New, set by configure.
1437 (update-subdirs): Correct build-aux location.
1439 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1441 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1442 value, whether we could auto-deduce `backend', or not.
1444 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1445 with parameters" example. Simplify the "is it block or is it
1446 hash" check, but also make it more thorough.
1448 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1450 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1452 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1457 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1460 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1462 * progmodes/compile.el (compilation-directory-matcher)
1463 (compilation-page-delimiter):
1464 Support GNU Make-4.0 directory quoting. (Bug#15678)
1466 2013-10-23 Leo Liu <sdl.web@gmail.com>
1468 * ido.el (ido-tidy): Handle read-only text.
1470 2013-10-23 Glenn Morris <rgm@gnu.org>
1472 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1473 (emacs, compile, compile-always):
1474 Quote entities that might contain whitespace.
1475 (custom-deps, finder-data, autoloads): Use abs_lisp.
1476 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1477 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1478 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1480 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1482 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1483 Use `following-char'.
1485 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1488 * progmodes/ruby-mode.el (ruby-smie-rules):
1489 Remove corresponding workaround. Fix indentation rule of ";" so it
1490 also applies when ";" is the parent.
1492 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1494 * frame.el (display-screens, display-pixel-height)
1495 (display-pixel-width, display-mm-width, display-backing-store)
1496 (display-save-under, display-planes, display-color-cells)
1497 (display-visual-class, display-monitor-attributes-list):
1498 Mention the optional ‘display’ argument in doc strings.
1500 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1502 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1503 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1505 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1507 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1508 TODO. Add "." after " @ ".
1509 (ruby-smie--at-dot-call): New function. Checks if point at method
1510 call with explicit target.
1511 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1512 to the method name tokens when it precedes them.
1513 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1514 (ruby-smie-rules): Add rule for indentation before and after "."
1517 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * textmodes/remember.el (remember-diary-extract-entries):
1522 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1525 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1527 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1528 (ruby-smie--implicit-semi-p): Add new operator chars.
1530 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1532 (ruby-smie--args-separator-p): Check that there's no newline
1533 between method call and its arguments.
1535 2013-10-20 Alan Mackenzie <acm@muc.de>
1537 Allow comma separated lists after Java "implements".
1539 * progmodes/cc-engine.el (c-backward-over-enum-header):
1541 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1542 from a "disallowed" list in enum fontification.
1544 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1546 * startup.el (default-frame-background-mode): Remove unused defvar.
1548 * progmodes/verilog-mode.el (verilog-mode): Don't set
1549 comment-indent-function globally.
1551 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1553 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1554 Move Info menu item creation to ns-win.el.
1556 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1559 * menu-bar.el: Move GNUStep specific menus...
1561 * term/ns-win.el (ns-initialize-window-system): ... to here.
1563 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1565 * simple.el (newline): Only run post-self-insert-hook when
1566 called interactively.
1568 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1570 * icomplete.el (icomplete-with-completion-tables): Add :version.
1572 2013-10-19 Alan Mackenzie <acm@muc.de>
1574 Fix fontification bugs with constructors and const.
1576 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1577 CASE 2) Remove the check for the absence of a suffix construct
1578 after a function declaration with only types (no identifiers) in
1579 the parentheses. Also, accept a function declaration with just a
1580 type inside the parentheses, if this type can be positively
1581 recognised as such, or if a prefix keyword like "explicit" nails
1582 down the construct as a declaration.
1584 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1586 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1587 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1588 the problem whereby selecting a menu item that leads to a
1589 minibuffer prompt moves the cursor out of the minibuffer window,
1590 making it hard to type at the prompt. Suggested by Stefan Monnier
1591 <monnier@iro.umontreal.ca>.
1593 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1595 * menu-bar.el: Don't make Services menu.
1597 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1599 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1600 (ffap-alist): Use ffap-c++-mode for c++-mode.
1601 (ffap-c++-path): New variable.
1602 (ffap-c++-mode): New function.
1604 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1606 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1608 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1610 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1611 introduced on 2013-09-08, which results in an infinite loop
1612 requesting a password.
1614 2013-10-18 Glenn Morris <rgm@gnu.org>
1616 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1618 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1620 Sync with upstream verilog-mode revision 1a6ecec7.
1621 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1622 (verilog-mode-release-date): Remove.
1623 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1624 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1625 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1626 (verilog-auto-tieoff-ignore-regexp)
1627 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1628 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1629 (verilog-signals-with, verilog-dir-cache-preserving)
1630 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1632 (verilog-case-fold): New option, to control case folding in
1633 regexp searches, bug597.
1634 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1635 (verilog-string-match-fold, verilog-in-paren-count)
1636 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1637 (verilog-at-close-struct-p): New functions.
1638 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1639 (verilog-forward-sexp, verilog-set-auto-endcomments):
1640 (verilog-leap-to-case-head): Handle "unique0" case.
1641 (verilog-in-constraint-re): New constant.
1642 (verilog-keywords, verilog-type-font-keywords):
1643 Add some SystemVerilog 1800-2012 keywords.
1644 (verilog-label-be): Remove unimplemented argument, bug669.
1645 (verilog-batch-execute-func): When batch expanding clear
1646 create-lockfiles to prevent spurious user locks when a file ends
1648 (verilog-calculate-indent, verilog-calc-1)
1649 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1650 (verilog-do-indent): Fix indentation of nested constraints
1652 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1653 (verilog-auto-inst-param): Use verilog-string-match-fold.
1654 (verilog-read-inst-module-matcher):
1655 Fix AUTOINST on gate primitives with #1.
1656 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1657 Reads all user-defined typed variables.
1658 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1659 (verilog-signals-matching-regexp)
1660 (verilog-signals-not-matching-regexp, verilog-auto):
1661 Respect verilog-case-fold.
1662 (verilog-diff-report): Fix line count.
1663 (verilog-auto-assign-modport): Remove unused local `modi'.
1664 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1665 better handle multidimensional arrays.
1666 Fix packed array ports misadding bit index in AUTOINST, bug637.
1667 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1668 to not double-declare existing outputs and inputs, respectively.
1669 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1670 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1671 (verilog-sk-uvm-component): New skeleton.
1672 (verilog-submit-bug-report): Add verilog-case-fold,
1673 remove verilog-mode-release-date.
1675 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1677 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1680 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1682 * textmodes/remember.el (remember): set buffer-offer-save in
1683 remember buffers (bug#13566).
1685 2013-10-18 Daniel Colascione <dancol@dancol.org>
1687 When evaluating forms in ielm, direct standard output to ielm
1688 buffer. Add new ielm-return-for-effect command. Remove trailing
1689 whitespace throughout.
1691 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1692 (ielm-return-for-effect): New command.
1693 (ielm-send-input): Accept optional `for-effect' parameter.
1694 (ielm-eval-input): Accept optional `for-effect' parameter.
1695 Bind `standard-output' to stream we create using
1696 `ielm-standard-output-impl'. Suppress printing result when
1698 (ielm-standard-output-impl): New function.
1699 (inferior-emacs-lisp-mode): Explain new features in documentation.
1701 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1705 * net/tramp.el (tramp-debug-message): Do not check for connection
1707 (tramp-message): Use "vector" connection property.
1709 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1710 (tramp-equal-remote, tramp-eshell-directory-change)
1711 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1712 (tramp-adb-handle-rename-file)
1713 * net/tramp-cmds.el (tramp-list-remote-buffers)
1714 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1715 * net/tramp-compat.el (tramp-compat-process-running-p)
1716 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1717 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1718 (tramp-gvfs-handle-rename-file)
1719 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1720 (tramp-set-file-uid-gid)
1721 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1722 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1725 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1726 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1727 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1728 (tramp-gw-open-network-stream): Suppress unrelated traces.
1730 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1731 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1732 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1733 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1734 connection property.
1736 * net/tramp-cache.el (top): Suppress traces when reading
1739 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1740 Refactor common code. Improve debug message.
1741 (tramp-maybe-open-connection)
1742 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1743 connection buffer too early.
1745 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1746 from `tramp-smb-actions-with-acl'.
1747 (tramp-smb-actions-set-acl): New defconst.
1748 (tramp-smb-handle-copy-directory)
1749 (tramp-smb-action-get-acl): New defun, renamed from
1750 `tramp-smb-action-with-acl'.
1751 (tramp-smb-action-set-acl): New defun.
1752 (tramp-smb-handle-set-file-acl): Rewrite.
1754 2013-10-17 Glenn Morris <rgm@gnu.org>
1756 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1758 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1760 * skeleton.el (skeleton-newline): Remove.
1761 (skeleton-internal-1): Use (insert "\n") instead.
1763 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1766 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1767 forward-sexp-function while we redo its job (bug#15613).
1769 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1771 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1772 represented by lists.
1774 2013-10-16 Glenn Morris <rgm@gnu.org>
1776 * tmm.el (tmm--history): New dynamic variable.
1777 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1779 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1781 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1782 (tramp-smb-errors): Add error messages.
1783 (tramp-smb-actions-with-acl): New defconst.
1784 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1785 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1786 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1787 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1788 (tramp-smb-get-stat-capability): Fix tests.
1790 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1792 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1795 2013-10-16 Glenn Morris <rgm@gnu.org>
1797 * ansi-color.el (ansi-color-drop-regexp):
1798 Add 1J, 1K, 2K. (Bug#15617)
1800 * files.el (hack-local-variables--warned-lexical): New.
1801 (hack-local-variables):
1802 Warn about misplaced lexical-binding. (Bug#15616)
1804 * net/eww.el (eww-render): Always set eww-current-url,
1805 and update header line. (Bug#15622)
1806 (eww-display-html): ... Rather than just doing it here.
1808 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1810 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1811 menu navigations commands.
1813 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1815 * progmodes/subword.el (subword-capitalize): Be careful when
1816 the search for [[:alpha:]] fails (bug#15580).
1818 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1820 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1821 to commands that scroll the menu.
1823 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1825 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1826 Handle methods ending with `?' and `!'.
1828 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1830 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1831 `japanese-cp932' to `cp932' to fix the problem where saving a
1832 source file written in Shift_JIS twice would end up having
1833 `coding: japanese-cp932' which Ruby could not recognize.
1834 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1835 in `ruby-encoding-map'.
1836 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1837 doesn't need to be explicitly declared in magic comment.
1838 (ruby-encoding-map): Add type declaration for better customize UI.
1840 2013-10-13 Glenn Morris <rgm@gnu.org>
1842 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1843 Occur buffers are read-only. http://bugs.debian.org/720775
1845 * emacs-lisp/authors.el (authors-fixed-entries):
1846 Comment out old alpha stuff.
1848 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1850 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1851 to `after-save-hook' instead of `before-save-hook'.
1852 (ruby-mode-set-encoding): Use the value of coding system used to
1853 write the file. Call `basic-save-buffer-1' after modifying the
1856 2013-10-13 Alan Mackenzie <acm@muc.de>
1858 Fix indentation/fontification of Java enum with
1859 "implements"/generic.
1861 * progmodes/cc-engine.el (c-backward-over-enum-header):
1862 Extracted from the three other places and enhanced to handle generics.
1863 (c-inside-bracelist-p): Uses new function above.
1864 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1866 (c-font-lock-enum-tail): Uses new function above.
1868 2013-10-13 Kenichi Handa <handa@gnu.org>
1870 * international/mule-cmds.el (select-safe-coding-system): Remove a
1871 superfluous condition in chekcing whether a coding system is safe
1874 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1876 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1878 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1880 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1882 2013-10-13 Glenn Morris <rgm@gnu.org>
1884 * menu-bar.el (menu-bar-update-buffers):
1885 Unify Buffers menu prompt string. (Bug#15576)
1887 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1889 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1891 (authors-fixed-entries): Use accented form of name.
1893 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1896 method calls (bug#15594).
1897 (ruby-smie--args-separator-p): New function.
1898 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1899 recognize paren-free method calls.
1901 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1902 internals of universal-argument.
1904 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1906 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1907 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1908 dropped menu on second mouse click on the menu bar.
1910 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1913 (explicit-shell-file-name): Declare.
1914 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1915 (sh-completion-at-point-function): New function.
1917 (sh-smie--keyword-p): Remove unused argument.
1918 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1920 (sh-set-shell): Always setup SMIE, even if we use the
1921 old indentation code.
1923 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1925 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1927 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1928 predicate would return nil are almost non-existent.
1929 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1931 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1932 cache also after commands that modify the buffer but don't move
1935 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1937 * env.el (substitute-env-in-file-name): New function.
1938 (substitute-env-vars): Extend the meaning of the optional arg.
1940 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1942 * term/w32-win.el (dynamic-library-alist): Define separate lists
1943 of GIF DLLs for versions before and after 5.0.0 of giflib.
1946 2013-10-10 João Távora <joaotavora@gmail.com>
1948 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1949 not locked, use last revision and current source as
1950 defaults. (Bug#15569)
1952 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1954 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1957 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1959 * window.el (pop-to-buffer-same-window): Fix doc-string.
1962 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1964 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1966 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1968 * calendar/icalendar.el (icalendar-import-file):
1969 Fix interactive spec. (Bug#15482)
1971 2013-10-10 Glenn Morris <rgm@gnu.org>
1973 * desktop.el (desktop-save): Default to saving in .emacs.d,
1974 since PWD is no longer in desktop-path by default. (Bug#15319)
1976 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1977 now that text mode has a menu with the same entry.
1978 (menu-bar-text-mode-auto-fill): Remove now unused func.
1979 * textmodes/text-mode.el (text-mode-map):
1980 Use auto-fill help text from menu-bar.el.
1982 2013-10-10 John Anthony <john@jo.hnanthony.com>
1984 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1986 2013-10-09 Juri Linkov <juri@jurta.org>
1988 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1989 instead of this-command-keys. Add universal-argument-more and
1990 universal-argument-minus to the list of prefix commands. (Bug#15568)
1992 2013-10-09 Glenn Morris <rgm@gnu.org>
1994 * vc/vc-svn.el (vc-svn-create-repo):
1995 Expand paths in file://... url. (Bug#15446)
1997 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1999 (authors): Remove unused local variables.
2001 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2003 * profiler.el: Create a more coherent calltree from partial backtraces.
2004 (profiler-format): Hide the tail with `invisible' so that C-s can still
2005 find the hidden elements.
2006 (profiler-calltree-depth): Don't recurse so enthusiastically.
2007 (profiler-function-equal): New hash-table-test.
2008 (profiler-calltree-build-unified): New function.
2009 (profiler-calltree-build): Use it.
2010 (profiler-report-make-name-part): Indent the calltree less.
2011 (profiler-report-mode): Add visibility specs for profiler-format.
2012 (profiler-report-expand-entry, profiler-report-toggle-entry):
2013 Expand the whole subtree when provided with a prefix arg.
2015 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2017 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2019 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2020 hanging iuwu-mod token.
2021 (ruby-smie--forward-token): Do not include a dot after a token in
2023 (ruby-smie--backward-token): Likewise.
2025 2013-10-08 Juri Linkov <juri@jurta.org>
2027 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2028 to isearch-other-control-char.
2029 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2030 and isearch-post-command-hook to post-command-hook.
2031 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2032 and isearch-post-command-hook from post-command-hook.
2033 (isearch-unread-key-sequence)
2034 (isearch-reread-key-sequence-naturally)
2035 (isearch-lookup-scroll-key, isearch-other-control-char)
2036 (isearch-other-meta-char): Remove functions.
2037 (isearch-pre-command-hook, isearch-post-command-hook):
2038 New functions based on isearch-other-meta-char rewritten
2039 relying on the new behavior of overriding-terminal-local-map
2040 that does not replace the local keymaps any more. (Bug#15200)
2042 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2044 Support menus on text-mode terminals.
2045 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2048 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2050 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2051 Move here from mouse.el.
2052 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2054 (tty-menu-navigation-map): New map for TTY menu navigation.
2056 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2058 * frame.el (display-mouse-p): Report text-mode mouse as available
2060 (display-popup-menus-p): Report availability if mouse is
2061 available; don't condition on window-system.
2063 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2064 (tty-menu-selected-face): New faces.
2066 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2069 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2070 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2071 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2073 (lisp-mode-variables): New `elisp' argument.
2074 (emacs-lisp-mode): Use it.
2075 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2076 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2078 * indent.el: Use lexical-binding.
2079 (indent-region): Add progress reporter.
2080 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2082 (indent--next-tab-stop): New function to implement this behavior.
2083 (tab-to-tab-stop, move-to-tab-stop): Use it.
2085 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2087 * indent.el (indent-rigidly--current-indentation): New function.
2088 (indent-rigidly-map): New var.
2089 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2091 2013-10-08 Bastien Guerry <bzg@gnu.org>
2093 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2095 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2097 * progmodes/perl-mode.el: Use lexical-binding.
2098 Remove redundant :group args.
2099 (perl-nochange): Change default to be closer to other major modes's
2101 (perl-indent-line): Don't consider text on current line as a
2102 valid beginning of function from which to indent.
2104 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2105 with more than one argument (bug#15538).
2107 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2109 * vc/pcvs.el: Use lexical-binding.
2110 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2111 environment of `eval'.
2112 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2113 than a list of expressions. Adjust callers.
2114 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2116 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2118 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2119 case of the dot in a chained method call being on the following line.
2121 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * electric.el (electric-indent-inhibit): New var.
2124 (electric-indent-post-self-insert-function): Use it.
2125 * progmodes/python.el (python-mode): Set it.
2127 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2130 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2132 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2133 (css-mode): Use electric-indent-chars.
2135 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2136 (font-lock-beg, font-lock-end): Move before first use.
2137 (nxml-mode): Use syntax-propertize-function.
2138 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2139 (nxml-extend-after-change-region): Remove.
2140 * nxml/xmltok.el: Use lexical-binding.
2141 (xmltok-save): Use `declare'.
2142 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2143 * nxml/nxml-util.el: Use lexical-binding.
2144 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2146 * nxml/nxml-ns.el: Use lexical-binding.
2147 (nxml-ns-save): Use `declare'.
2148 (nxml-ns-prefixes-for): Avoid add-to-list.
2149 * nxml/rng-match.el: Use lexical-binding.
2150 (rng--ipattern): Use cl-defstruct.
2151 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2152 (rng-cons-group-after, rng-subst-group-after)
2153 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2154 Use closures instead of `(lambda...).
2156 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2158 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2161 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2162 Use `tramp-handle-insert-file-contents'.
2163 (tramp-gvfs-handle-insert-file-contents): Remove function.
2165 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2166 Use `save-restriction' in order to keep markers.
2168 * net/trampver.el: Update release number.
2170 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * progmodes/compile.el (compilation-parse-errors):
2173 Use compilation--put-prop.
2174 (compilation--ensure-parse): Check compilation-multiline.
2176 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2178 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2181 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2183 * progmodes/ruby-mode.el: Fix recently added tests.
2184 (ruby-smie-grammar): Add - and +.
2185 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2186 (ruby-smie--backward-id): New functions.
2187 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2188 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2191 2013-10-07 Leo Liu <sdl.web@gmail.com>
2193 * register.el (register-preview-delay)
2194 (register-preview-functions): New variables.
2195 (register-read-with-preview, register-preview)
2196 (register-describe-oneline): New functions.
2197 (point-to-register, window-configuration-to-register)
2198 (frame-configuration-to-register, jump-to-register)
2199 (number-to-register, view-register, insert-register)
2200 (copy-to-register, append-to-register, prepend-to-register)
2201 (copy-rectangle-to-register): Use register-read-with-preview to
2202 read register. (Bug#15525)
2204 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2206 * net/network-stream.el (network-stream-open-starttls): Don't add
2207 --insecure if it's already present, because that gnutls-cli
2208 rejects getting that parameter twice.
2210 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2212 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2215 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2217 * newcomment.el (comment-use-global-state): Change default value
2218 to t, mark obsolete (Bug#15251).
2219 (comment-beginning): In addition to `comment-to-syntax', check the
2220 value of `comment-use-global-state'.
2222 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2224 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2225 (ruby-comment-column): Follow the global default, by default.
2226 (ruby-smie-grammar): Add assignment syntax.
2227 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2228 open-paren, a comma, or a \.
2229 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2230 and line continuations.
2231 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2232 followed by implicit semi-colons. Add rule for string concatenation
2233 and for indentation at BOB.
2234 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2236 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2237 calling next-sexp, since next-token may have skipped chars which
2238 next-sexp doesn't know should be skipped!
2240 2013-10-05 Leo Liu <sdl.web@gmail.com>
2242 * progmodes/octave.el (octave-send-region):
2243 Call compilation-forget-errors.
2245 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2247 * vc/vc-svn.el (vc-svn-find-admin-dir):
2248 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2249 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2250 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2251 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2253 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2257 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2259 * subr.el (read-passwd): Hide chars even when called within a context
2260 where after-change-functions is disabled (bug#15501).
2261 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2262 until we removed ourself from overriding-terminal-local-map.
2264 2013-10-04 Leo Liu <sdl.web@gmail.com>
2266 * progmodes/octave.el (inferior-octave-mode):
2267 Call compilation-forget-errors.
2269 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2271 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2273 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2275 * net/secrets.el (secrets-create-collection): Add optional
2276 argument ALIAS. Use proper Label keyword. Append ALIAS as
2277 dbus-call-method argument. (Bug#15516)
2279 2013-10-04 Leo Liu <sdl.web@gmail.com>
2281 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2282 (inferior-octave-compilation-font-lock-keywords): New variables.
2283 (compilation-error-regexp-alist)
2284 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2285 (inferior-octave-mode): Use compilation-shell-minor-mode.
2287 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2289 * minibuffer.el (completion--replace): Be careful that `end' might be
2292 2013-10-03 Daiki Ueno <ueno@gnu.org>
2294 Add support for package signature checking.
2295 * emacs-lisp/package.el (url-http-file-exists-p)
2296 (epg-make-context, epg-context-set-home-directory)
2297 (epg-verify-string, epg-context-result-for)
2298 (epg-signature-status, epg-signature-to-string)
2299 (epg-check-configuration, epg-configuration)
2300 (epg-import-keys-from-file): Declare.
2301 (package-check-signature): New user option.
2302 (package-unsigned-archives): New user option.
2303 (package-desc): Add `signed' field.
2304 (package-load-descriptor): Set `signed' field if .signed file exists.
2305 (package--archive-file-exists-p): New function.
2306 (package--check-signature): New function.
2307 (package-install-from-archive): Check package signature.
2308 (package--download-one-archive): Check archive signature.
2309 (package-delete): Remove .signed file.
2310 (package-import-keyring): New command.
2311 (package-refresh-contents): Import default keyring.
2312 (package-desc-status): Add "unsigned" status.
2313 (describe-package-1, package-menu--print-info)
2314 (package-menu-mark-delete, package-menu--find-upgrades)
2315 (package-menu--status-predicate): Support "unsigned" status.
2317 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2320 the new compilation scheme using the new byte-codes.
2322 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2323 (byte-pophandler): New byte codes.
2324 (byte-goto-ops): Adjust accordingly.
2325 (byte-compile--use-old-handlers): New var.
2326 (byte-compile-catch): Use new byte codes depending on
2327 byte-compile--use-old-handlers.
2328 (byte-compile-condition-case--old): Rename from
2329 byte-compile-condition-case.
2330 (byte-compile-condition-case--new): New function.
2331 (byte-compile-condition-case): New function that dispatches depending
2332 on byte-compile--use-old-handlers.
2333 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2336 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2337 Optimize under `condition-case' and `catch' if
2338 byte-compile--use-old-handlers is nil.
2339 (disassemble-offset): Handle new bytecodes.
2341 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2343 * subr.el (error): Use `declare'.
2344 (decode-char, encode-char): Use advertised-calling-convention instead
2345 of the docstring to discourage use of the `restriction' arg.
2347 2013-10-03 Daiki Ueno <ueno@gnu.org>
2349 * epg.el (epg-verify-file): Add a comment saying that it does not
2350 notify verification error as a return value nor a signal.
2351 (epg-verify-string): Ditto.
2353 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2355 * progmodes/compile.el (compilation-start): Try globbing the arg to
2358 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2360 Sync with Tramp 2.2.8.
2362 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2363 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2364 * net/trampver.el: Update release number.
2366 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2368 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2369 and default-process-coding-system for darwin only.
2371 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2375 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2377 * vc/vc-git.el (vc-git-grep): Disable pager.
2379 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2381 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2382 Use :url instead of :homepage, as per
2383 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2385 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2386 non-nil, use `syntax-ppss' (Bug#15251).
2388 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2390 * progmodes/octave.el (inferior-octave-startup-file):
2391 Prefer ~/.emacs.d/init_octave.m.
2393 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2395 * emacs-lisp/package.el (package-desc-from-define):
2396 Accept additional arguments as plist, convert them to an alist and store
2397 them in the `extras' slot.
2398 (package-generate-description-file): Convert extras alist back to
2399 plist and append to the `define-package' form arguments.
2400 (package--alist-to-plist): New function.
2401 (package--ac-desc): Add `extras' slot.
2402 (package--add-to-archive-contents): Check if the archive-contents
2403 vector is long enough, and if it is, pass its `extras' slot value
2404 to `package-desc-create'.
2405 (package-buffer-info): Call `lm-homepage', pass the returned value
2406 to `package-desc-from-define'.
2407 (describe-package-1): Render the homepage button (Bug#13291).
2409 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2410 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2412 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2414 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2415 and default-process-coding-system to utf-8-unix (Bug#15402).
2417 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2419 * subr.el (looking-back): Do not recommend using looking-back.
2421 2013-09-28 Alan Mackenzie <acm@muc.de>
2423 Fix indentation/fontification of Java enum with "implements".
2425 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2426 regexp which matches "implements", etc., in Java.
2427 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2428 specifier clauses coming after "enum".
2429 * progmodes/cc-fonts.el (c-font-lock-declarations)
2430 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2433 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2435 * faces.el (region): Change ns_selection_color to
2436 ns_selection_fg_color, add ns_selection_bg_color.
2438 2013-09-28 Leo Liu <sdl.web@gmail.com>
2440 * progmodes/octave.el (inferior-octave-completion-table)
2441 (inferior-octave-completion-at-point): Minor tweaks.
2443 * textmodes/ispell.el (ispell-lookup-words): Rename from
2444 lookup-words. (Bug#15460)
2445 (lookup-words): Obsolete.
2446 (ispell-complete-word, ispell-command-loop): All uses changed.
2448 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2450 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2451 (octave-mode-menu): Add octave-send-buffer.
2452 (octave-send-buffer): New function.
2454 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2456 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2458 (octave-mode-menu): Add octave-lookfor.
2459 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2461 (octave-lookfor): New function.
2463 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2465 * emacs-lisp/cl-macs.el:
2466 (cl--loop-destr-temps): Remove.
2467 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2469 (cl--loop-set-iterator-function): New function.
2470 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2471 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2472 Bind `it' with `let' instead of substituting it with `cl-subst'.
2473 (cl--unused-var-p): New function.
2474 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2475 Eliminate some unused variable warnings (bug#15326).
2477 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2479 * doc-view.el (doc-view-scale-reset): Rename from
2480 `doc-view-reset-zoom-level'.
2481 (doc-view-scale-adjust): New command.
2482 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2483 `doc-view-scale-adjust'.
2485 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2487 * doc-view.el (doc-view-reset-zoom-level): New command.
2488 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2489 zoom commands (bug#15466).
2491 2013-09-26 Kenichi Handa <handa@gnu.org>
2493 * international/quail.el (quail-help): Make it not a command.
2495 2013-09-26 Leo Liu <sdl.web@gmail.com>
2497 * minibuffer.el (completion-all-sorted-completions): Make args
2498 optional as they are.
2500 2013-09-25 Daniel Colascione <dancol@dancol.org>
2502 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2503 specs are and that they're not evaluated.
2505 2013-09-24 Sam Steingold <sds@gnu.org>
2507 * midnight.el (clean-buffer-list-kill-regexps)
2508 (clean-buffer-list-kill-buffer-names): Update for the new Man
2509 buffer naming which includes the object name.
2511 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2514 (eshell-parse-command, eshell-parse-pipeline): Use it since
2515 eshell-separate-commands requires a dynamic scoped var.
2516 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2518 2013-09-23 Leo Liu <sdl.web@gmail.com>
2520 * autoinsert.el (auto-insert-alist): Make the value of
2521 lexical-binding match its file setting.
2523 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2525 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2527 * autoarg.el (autoarg-kp-digit-argument):
2528 * electric.el (Electric-command-loop):
2529 * kmacro.el (kmacro-step-edit-insert):
2530 Do not set universal-argument-num-events.
2532 2013-09-22 Leo Liu <sdl.web@gmail.com>
2534 * files.el (interpreter-mode-alist): Add octave.
2536 2013-09-21 Alan Mackenzie <acm@muc.de>
2538 C++: fontify identifier in declaration following "public:" correctly.
2539 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2540 to match "public", etc.
2541 (c-decl-prefix-re): Add ":" into the C++ value.
2542 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2543 bit. Add a check for a ":" preceded by "public", etc.
2545 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2547 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2548 recognized by GDB 7.5 and later.
2550 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2552 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2554 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * subr.el (internal--call-interactively): New const.
2557 (called-interactively-p): Use it (bug#3984).
2559 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2561 * vc/pcvs.el (cvs-mode-ignore):
2562 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2563 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2565 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2568 (eshell-ls-orig-insert-directory): Remove.
2569 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2570 (eshell-ls-use-in-dired): Use advice-add/remove.
2571 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2572 Add `orig-fun' arg for use in :around advice.
2573 Make it check (redundantly) eshell-ls-use-in-dired.
2575 2013-09-19 Glenn Morris <rgm@gnu.org>
2577 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2579 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2581 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2583 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2585 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2586 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2587 (tramp-get-remote-python): New defuns.
2588 (tramp-get-remote-uid-with-perl)
2589 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2590 contributed by yary <not.com@gmail.com> (tiny change).
2591 (tramp-get-remote-uid-with-python)
2592 (tramp-get-remote-gid-with-python): New defuns. Python code
2593 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2594 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2596 2013-09-19 Glenn Morris <rgm@gnu.org>
2598 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2600 * eshell/em-unix.el (eshell-remove-entries):
2601 Rename argument to avoid name-clash with global `top-level'.
2603 * eshell/esh-proc.el (eshell-kill-process-function):
2604 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2605 (eshell-reset-after-proc): Remove unused arg `proc'.
2607 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2608 (directory-files-and-attributes): Mark unused arg.
2610 * eshell/em-unix.el (eshell-remove-entries):
2611 Remove unused arg `path'. Update callers.
2613 * eshell/em-hist.el (eshell-hist-parse-arguments):
2614 Remove unused arg `silent'. Update callers.
2616 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2617 Fix (f)boundp mix-up.
2619 * eshell/em-smart.el (eshell-smart-scroll-window)
2620 (eshell-disable-after-change):
2621 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2623 2013-09-18 Alan Mackenzie <acm@muc.de>
2625 Fix fontification of type when followed by "const".
2626 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2627 "known" types from fontification.
2629 2013-09-18 Glenn Morris <rgm@gnu.org>
2631 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2632 (chart-face-list): Drop Emacsen without display-color-p.
2634 * net/eww.el (libxml-parse-html-region): Declare.
2635 (eww-display-html): Explicit error if no libxml2 support.
2637 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2639 * image.el (image-type-from-buffer, image-multi-frame-p):
2640 Remove --without-x warning/error.
2642 * mouse.el (mouse-yank-primary):
2643 * term.el (term-mouse-paste):
2644 Reorder to silence --without-x compilation.
2646 * mpc.el (doc-view-mode): Silence --without-x compilation.
2648 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2649 Silence --without-x compilation.
2651 * progmodes/gud.el (gud-find-file, gud-mode):
2652 Silence --without-x compilation.
2653 (tooltip-mode): Declare.
2655 * wdired.el (dired-backup-overwrite): Remove declaration.
2656 (wdired-mode-map): Add doc string.
2658 * custom.el (x-get-resource): Declare.
2660 * eshell/em-glob.el (ange-cache):
2661 * eshell/em-unix.el (ange-cache): Declare.
2663 * faces.el (x-display-list, x-open-connection, x-get-resource):
2666 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2667 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2670 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2672 * net/gnutls.el (gnutls-log-level): Declare.
2674 * net/shr.el (image-size, image-animate): Declare.
2676 * simple.el (font-info): Declare.
2678 * subr.el (x-popup-dialog): Declare.
2680 * term/common-win.el (x-select-enable-primary)
2681 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2684 * term/ns-win.el (x-handle-args): Declare.
2686 * term/x-win.el (x-select-enable-clipboard): Declare.
2688 * term/w32-win.el (create-default-fontset): Declare.
2690 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2693 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2694 (fit-frame-to-buffer): Explicit error if --without-x.
2695 (mouse-autoselect-window-select): Silence compiler.
2697 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2699 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2700 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2701 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2702 * eshell/esh-util.el (eshell-sublist):
2703 Remove unused local variables.
2705 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2707 * textmodes/two-column.el: Make 2C-split work for --without-x.
2708 (scroll-bar-columns): Autoload.
2709 (top-level): Require fringe when compiling.
2711 2013-09-18 Leo Liu <sdl.web@gmail.com>
2713 * subr.el (add-hook): Robustify to handle closure as well.
2715 2013-09-17 Glenn Morris <rgm@gnu.org>
2717 * simple.el (messages-buffer-mode-map): Unbind "g".
2719 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2721 * help-mode.el (help-mode-finish): Use derived-mode-p.
2722 Remove obsolete highlighting.
2724 * play/life.el (life-mode): Use define-derived-mode. Derive from
2726 (life): Let-bind inhibit-read-only.
2727 (life-setup): Avoid `setq'. Use `life-mode'.
2729 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2730 which should not be needed any more.
2731 (package-menu-refresh, package-menu-describe-package): Use user-error.
2733 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2734 (eshell-post-rewrite-command-hook): Make obsolete.
2735 (eshell-parse-command): Simplify.
2736 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2737 (eshell--cmd): Declare.
2738 (eshell-parse-pipeline): Remove unused var `final-p'.
2739 Pass a dynvar to eshell-post-rewrite-command-hook.
2740 Implement the new eshell-post-rewrite-command-function.
2741 (eshell-invoke-directly): Remove unused arg `input'.
2742 * eshell/esh-io.el (eshell-io-initialize):
2743 Use eshell-post-rewrite-command-function (bug#15399).
2744 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2745 adjust to new calling convention.
2746 (eshell-create-handles): Rename args to avoid clashing with dynvar
2749 2013-09-17 Glenn Morris <rgm@gnu.org>
2751 * simple.el (messages-buffer-mode): New major mode.
2752 (messages-buffer): New function.
2753 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2754 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2755 (ert-run-test): Use `messages-buffer' function.
2756 (ert--force-message-log-buffer-truncation): Ignore read-only.
2757 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2758 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2760 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2762 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2764 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2766 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2768 * icomplete.el (icomplete-in-buffer): New var.
2769 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2770 vars and replace them with functions.
2771 (icomplete-minibuffer-setup): Adjust accordingly.
2772 (icomplete--completion-table, icomplete--completion-predicate)
2773 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2775 (icomplete-forward-completions, icomplete-backward-completions)
2776 (icomplete-simple-completing-p, icomplete-exhibit)
2777 (icomplete-completions): Use them.
2778 (icomplete--in-region-buffer): New var.
2779 (icomplete--in-region-setup): New function.
2780 (icomplete-mode): Use it.
2782 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2784 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2785 return args and options.
2786 (eshell-eval-using-options): Use the new return value of
2787 eshell--do-opts to set the options's vars in their scope.
2788 (eshell--set-option): Rename from eshell-set-option.
2790 (eshell--process-option): Rename from eshell-process-option.
2792 (eshell--process-args): Use an `opt-vals' alist to store the options's
2793 values during their processing and return them additionally to the
2796 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2799 continuation character an operator, as far as indentation is
2800 concerned (Bug#15369).
2802 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2804 * window.el (window--state-put-2): Don't process buffer state
2805 when buffer doesn't exist any more (Bug#15382).
2807 2013-09-15 Glenn Morris <rgm@gnu.org>
2809 * eshell/em-unix.el (eshell/rm):
2810 Make -f ignore missing files. (Bug#15373)
2812 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2813 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2814 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2816 2013-09-14 Glenn Morris <rgm@gnu.org>
2818 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2820 2013-09-13 Glenn Morris <rgm@gnu.org>
2822 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2823 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2825 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2827 * frame.el (x-focus-frame): Mark as declared in frame.c.
2829 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2831 * ls-lisp.el: Use advice-add.
2832 (original-insert-directory): Remove.
2833 (ls-lisp--insert-directory): Rename from insert-directory; add
2834 `orig-fun' argument.
2835 (insert-directory): Advise.
2837 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2839 * term.el (term-emulate-terminal): Decode the command string
2840 before passing it to term-command-hook. (Bug#15337)
2842 2013-09-13 Glenn Morris <rgm@gnu.org>
2844 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2846 * eshell/esh-ext.el (eshell-search-path): Declare.
2848 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2849 Otherwise an error occurs if eshell-dirs module not loaded.
2851 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2853 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2855 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2856 `tramp-check-proper-host'. Check for a valid method name.
2858 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2859 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2860 * net/tramp-sh.el (tramp-maybe-open-connection):
2861 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2863 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2864 also for hash values.
2866 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * term/ns-win.el (parameters): Don't declare as dynamic.
2869 (before-make-frame-hook): Don't add ineffective function.
2871 * eshell/*.el: Use lexical-binding (bug#15231).
2873 2013-09-12 Kenichi Handa <handa@gnu.org>
2875 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2877 2013-09-12 Glenn Morris <rgm@gnu.org>
2879 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2880 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2882 * subr.el (do-after-load-evaluation): Also give compiler warnings
2883 when obsolete files are used (except by obsolete files).
2885 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2886 in the status output, assume `filename' is the first. (Bug#15322)
2888 * vc/vc.el (vc-deduce-fileset): Doc fix.
2890 * calc/calc-help.el (Info-goto-node):
2891 * progmodes/cperl-mode.el (Info-find-node):
2892 * vc/ediff.el (Info-goto-node): Update declarations.
2894 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2896 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2897 (vc-bzr-pull): Require vc-dispatcher.
2898 * vc/vc-git.el (vc-compilation-mode): Declare.
2899 (vc-git-pull): Require vc-dispatcher.
2901 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2903 * progmodes/octave.el (help-button-action): Declare.
2905 * shell.el (shell-directory-tracker): Output error as a message
2906 rather than just returning it as a string.
2907 (shell-process-pushd): Remove useless use of message.
2909 * dframe.el (dframe-timer-fn):
2910 * files.el (dir-locals-read-from-file):
2911 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2913 * reveal.el (reveal-post-command):
2914 * saveplace.el (load-save-place-alist-from-file):
2915 * shell.el (shell-resync-dirs):
2916 * w32-common-fns.el (x-get-selection-value):
2917 * emacs-lisp/copyright.el (copyright-find-copyright):
2918 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2919 * emulation/tpu-edt.el (tpu-copy-keyfile):
2920 * play/bubbles.el (bubbles--mark-neighbourhood):
2921 * progmodes/executable.el
2922 (executable-make-buffer-file-executable-if-script-p):
2923 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2925 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2927 Cleanup Eshell to rely less on dynamic scoping.
2928 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2929 last-value, and ext-command here. Bind `args' closer to `body'.
2930 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2931 (eshell--args): Declare new dynamic var.
2932 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2933 last-value, and ext-command. Pass `args' to `body'.
2934 (eshell-process-args): Bind eshell--args.
2935 (eshell-set-option): Use eshell--args.
2936 * eshell/eshell.el (eshell): Use derived-mode-p.
2937 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2938 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2939 (eshell-glob-function): Declare.
2940 * eshell/esh-util.el: Require cl-lib.
2941 (eshell-read-hosts-file): Avoid add-to-list.
2942 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2944 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2946 (eshell/diff): Remove unused var `err'.
2947 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2949 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2950 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2952 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2953 Move declaration before first use.
2954 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2955 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2958 2013-09-12 Glenn Morris <rgm@gnu.org>
2960 * term/ns-win.el (global-map): Remove binding for ispell-next,
2961 deleted 1999-05-29. (Bug#15357)
2963 2013-09-11 Glenn Morris <rgm@gnu.org>
2965 * echistory.el (electric-command-history): Remove call to deleted func.
2967 * play/landmark.el (landmark-mode): Fix typos.
2969 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2970 Check cvs-sort-ignore-file is bound.
2972 * savehist.el: No need for cl when compiling on Emacs.
2974 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2978 (eshell-self-insert-command, eshell-send-invisible):
2979 Remove unused argument.
2980 (eshell-handle-control-codes): Remove unused var `orig'.
2981 Avoid delete-backward-char.
2983 * files.el (set-auto-mode): Simplify a bit further.
2985 2013-09-11 Glenn Morris <rgm@gnu.org>
2987 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2988 (set-auto-mode): Don't regexp-quote elements.
2989 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2990 * progmodes/cc-mode.el (interpreter-mode-alist):
2991 * progmodes/ruby-mode.el (interpreter-mode-alist):
2992 Revert previous change.
2994 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * play/snake.el (snake-mode):
2997 * play/mpuz.el (mpuz-mode):
2998 * play/landmark.el (lm-mode):
2999 * play/blackbox.el (blackbox-mode):
3000 * play/5x5.el (5x5-mode):
3001 * obsolete/options.el (Edit-options-mode):
3002 * net/quickurl.el (quickurl-list-mode):
3003 * net/newst-treeview.el (newsticker-treeview-mode):
3004 * mail/rmailsum.el (rmail-summary-mode):
3005 * mail/mspools.el (mspools-mode):
3006 * locate.el (locate-mode):
3007 * ibuffer.el (ibuffer-mode):
3008 * emulation/ws-mode.el (wordstar-mode):
3009 * emacs-lisp/debug.el (debugger-mode):
3010 * array.el (array-mode):
3011 * net/eudc.el (eudc-mode): Use define-derived-mode.
3012 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3013 Move initialization into declaration.
3014 (mairix-searches-mode): Use define-derived-mode.
3015 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3016 (eudc-edit-hotlist): Use dolist.
3017 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3018 (Man-mode): Use define-derived-mode.
3019 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3020 (Info-edit-mode): Use define-derived-mode.
3021 (Info-cease-edit): Use Info-mode.
3022 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3024 (eshell-mode): Use define-derived-mode.
3025 * chistory.el (command-history-mode-map): Rename from
3026 command-history-map.
3027 (command-history-mode): Use define-derived-mode.
3028 (Command-history-setup): Remove function.
3029 * calc/calc.el (calc-trail-mode-map): New var.
3030 (calc-trail-mode): Use define-derived-mode.
3031 (calc-trail-buffer): Set calc-main-buffer manually.
3032 * bookmark.el (bookmark-insert-annotation): New function.
3033 (bookmark-edit-annotation): Use it.
3034 (bookmark-edit-annotation-mode): Make it a proper major mode.
3035 (bookmark-send-edited-annotation): Use derived-mode-p.
3036 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3037 closer to its ideal place. Use \' to match EOS.
3039 * profiler.el (profiler-calltree-find): Use function-equal.
3041 2013-09-10 Glenn Morris <rgm@gnu.org>
3043 * files.el (interpreter-mode-alist): Convert to regexps.
3044 (set-auto-mode): Adapt for this. (Bug#15306)
3045 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3046 Comment out unused variable.
3047 * progmodes/cc-mode.el (interpreter-mode-alist):
3048 * progmodes/python.el (interpreter-mode-alist):
3049 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3050 * progmodes/sh-script.el (sh-set-shell):
3051 No longer use interpreter-mode-alist to get list of shells.
3053 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3055 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * simple.el: Use set-temporary-overlay-map for universal-argument.
3058 (universal-argument-map): Don't use default-bindings (bug#15317).
3059 Bind switch-frame explicitly. Replace universal-argument-minus with
3060 a conditional binding.
3061 (universal-argument-num-events, saved-overriding-map): Remove.
3062 (restore-overriding-map): Remove.
3063 (universal-argument--mode): Rename from save&set-overriding-map,
3065 (universal-argument, universal-argument-more, negative-argument)
3066 (digit-argument): Adjust accordingly.
3067 (universal-argument-minus): Remove.
3068 (universal-argument-other-key): Remove.
3070 * subr.el (with-demoted-errors): Add `format' argument.
3072 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3074 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3075 `tramp-cleanup-connection'.
3077 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3078 parameters KEEP-DEBUG and KEEP-PASSWORD.
3080 * net/tramp.el (tramp-file-name-handler):
3081 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3082 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3083 (tramp-maybe-open-connection):
3084 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3085 Use `tramp-cleanup-connection'.
3087 * net/tramp-sh.el (tramp-maybe-open-connection):
3088 Catch 'uname-changed inside the progress reporter.
3090 2013-09-10 Glenn Morris <rgm@gnu.org>
3092 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3094 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3095 returns "alternate access method" in mode (eg "-rw-r--r--.").
3097 2013-09-08 Glenn Morris <rgm@gnu.org>
3099 * saveplace.el (load-save-place-alist-from-file):
3100 Demote errors. (Bug#15305)
3102 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3104 Improve compatibility with older Emacsen, and XEmacs.
3106 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3107 only if it is bound. It isn't for XEmacs.
3108 (with-tramp-progress-reporter): Do not let-bind `result'.
3109 This yields to scoping errors in XEmacs.
3110 (tramp-handle-make-auto-save-file-name): New function, moved from
3113 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3114 for `make-auto-save-file-name'.
3115 (tramp-adb--gnu-switches-to-ash):
3116 Use `tramp-compat-replace-regexp-in-string'.
3118 * net/tramp-cache.el (tramp-cache-print): Call
3119 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3121 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3122 bound. It isn't for XEmacs.
3124 * net/tramp-compat.el (tramp-compat-copy-file):
3125 Catch `wrong-number-of-arguments' error.
3126 (tramp-compat-replace-regexp-in-string): New defun.
3128 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3129 for `make-auto-save-file-name'.
3130 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3132 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3133 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3134 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3136 * net/tramp-gw.el (tramp-gw-open-network-stream):
3137 Use `tramp-compat-replace-regexp-in-string'.
3139 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3140 Call `tramp-handle-make-auto-save-file-name'.
3141 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3142 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3143 (tramp-sh-file-inotifywait-process-filter):
3144 Use `tramp-compat-replace-regexp-in-string'.
3145 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3147 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3148 for `make-auto-save-file-name'.
3149 (tramp-smb-handle-copy-directory):
3150 Call `tramp-compat-replace-regexp-in-string'.
3151 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3152 (tramp-smb-handle-copy-file): Improve error message.
3153 (tramp-smb-handle-rename-file): Rename directly only in case
3154 `newname' does not exist yet. This is a restriction of smbclient.
3155 (tramp-smb-maybe-open-connection): Rerun the function only when
3156 `auth-sources' is non-nil.
3158 2013-09-08 Kenichi Handa <handa@gnu.org>
3160 * international/characters.el: Set category "^" (Combining) for
3163 2013-09-07 Alan Mackenzie <acm@muc.de>
3165 Correctly fontify Java class constructors.
3166 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3168 (c-recognize-typeless-decls): Set the Java value to t.
3169 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3170 While handling a "(", add a check for, effectively, Java, and handle a
3171 "typeless" declaration there.
3173 2013-09-07 Roland Winkler <winkler@gnu.org>
3175 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3176 field subtitle for entry type book.
3178 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * minibuffer.el: Make minibuffer-complete call completion-in-region
3181 rather than other way around.
3182 (completion--some, completion-pcm--find-all-completions):
3183 Don't delay signals when debugging.
3184 (minibuffer-completion-contents): Beware fields within the
3185 minibuffer contents.
3186 (completion-all-sorted-completions): Use defvar-local.
3187 (completion--do-completion, completion--cache-all-sorted-completions)
3188 (completion-all-sorted-completions, minibuffer-force-complete):
3189 Add args `beg' and `end'.
3190 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3191 (minibuffer-complete): Use completion-in-region.
3192 (completion-complete-and-exit): New fun, extracted from
3193 minibuffer-complete-and-exit.
3194 (minibuffer-complete-and-exit): Use it.
3195 (completion--complete-and-exit): Rename from
3196 minibuffer--complete-and-exit.
3197 (completion-in-region--single-word): New function, extracted from
3198 minibuffer-complete-word.
3199 (minibuffer-complete-word): Use it.
3200 (display-completion-list): Make `common-substring' argument obsolete.
3201 (completion--in-region): Call completion--in-region-1 instead of
3202 minibuffer-complete.
3203 (completion-help-at-point): Pass boundaries to
3204 minibuffer-completion-help as args rather than via an overlay.
3205 (completion-pcm--string->pattern): Use `any-delim'.
3206 (completion-pcm--optimize-pattern): New function.
3207 (completion-pcm--pattern->regex): Handle `any-delim'.
3208 * icomplete.el (icomplete-forward-completions)
3209 (icomplete-backward-completions, icomplete-completions):
3210 Adjust calls to completion-all-sorted-completions and
3211 completion--cache-all-sorted-completions.
3212 (icomplete-with-completion-tables): Default to t.
3213 * emacs-lisp/crm.el (crm--current-element): Rename from
3214 crm--select-current-element. Don't put an overlay but return the
3216 (crm--completion-command): Take two new args to bind to the boundaries.
3217 (crm-completion-help): Adjust accordingly.
3218 (crm-complete): Use completion-in-region.
3219 (crm-complete-word): Use completion-in-region--single-word.
3220 (crm-complete-and-exit): Use completion-complete-and-exit.
3222 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3224 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3227 2013-09-06 Juri Linkov <juri@jurta.org>
3229 * info.el (Info-display-images-node): When image file doesn't exist
3230 display text version of the image if it's provided in the Info file.
3231 Otherwise, display the location of missing image from SRC attribute.
3232 Add help-echo text property from ALT attribute. (Bug#15279)
3234 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3236 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3237 (edit-abbrevs-mode): Use define-derived-mode.
3239 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3240 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3242 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3243 Use define-derived-mode.
3245 * epg.el (epg-start-encrypt): Minor CSE simplification.
3247 2013-09-06 William Xu <william.xwl@gmail.com>
3249 * arc-mode.el: Add support for 7za (bug#15264).
3250 (archive-7z-program): New var.
3251 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3252 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3253 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3255 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3259 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3260 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3261 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3262 (tramp-postfix-host-format, tramp-file-name-regexp)
3263 (tramp-completion-file-name-regexp)
3264 (tramp-completion-dissect-file-name)
3265 (tramp-handle-substitute-in-file-name): Remove 'url case.
3266 (tramp-file-name-regexp-url)
3267 (tramp-completion-file-name-regexp-url): Remove constants.
3269 2013-09-06 Glenn Morris <rgm@gnu.org>
3271 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3273 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3275 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3276 keywords" below "here-doc beginnings" (Bug#15270).
3278 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * subr.el (pop): Use `car-safe'.
3281 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3282 to detect unused `pop' return value.
3284 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3286 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3287 (python-fill-string): Remove unused var `marker'.
3288 (python-skeleton-add-menu-items): Remove unused var `items'.
3290 * international/mule-cmds.el: Require CL.
3291 (find-coding-systems-for-charsets): Avoid add-to-list.
3292 (sanitize-coding-system-list): New function, extracted from
3293 select-safe-coding-system-interactively.
3294 (select-safe-coding-system-interactively): Use it.
3295 (read-input-method-name): Accept symbols for `default'.
3297 * emacs-lisp/advice.el (defadvice): Add indent rule.
3299 2013-09-05 Daniel Hackney <dan@haxney.org>
3303 * net/browse-url.el:
3306 * net/eudcb-ldap.el:
3319 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3320 byte compiler. Remove some unused let-bound variables.
3322 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3325 a "ref-cell", since it gets better optimized (bug#14883).
3327 2013-09-05 Glenn Morris <rgm@gnu.org>
3329 * progmodes/cc-awk.el (c-forward-sws): Declare.
3331 2013-09-04 Glenn Morris <rgm@gnu.org>
3333 * generic-x.el [rul-generic-mode]: Require cc-mode.
3334 (c++-mode-syntax-table): Declare.
3335 (rul-generic-mode-syntax-table): Init in the defvar.
3337 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3340 (vc-do-command, vc-set-async-update):
3341 * vc/vc-mtn.el (vc-mtn-dir-status):
3342 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3343 (vc-hg-pull, vc-hg-merge-branch):
3344 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3345 (vc-git-merge-branch):
3346 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3347 (vc-cvs-dir-status-files):
3348 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3349 (vc-bzr-dir-status-files):
3350 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3351 * vc/vc-annotate.el: Use lexical-binding.
3352 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3353 (vc-sentinel-movepoint): Declare.
3354 (vc-annotate): Don't use `goto-line'.
3355 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3356 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3357 (vc-sentinel-movepoint): Declare.
3358 * vc/vc-svn.el: Use lexical-binding.
3359 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3361 * vc/vc-rcs.el: Use lexical-binding.
3363 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3364 `deleted'. Don't drop errors silently.
3366 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3368 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3370 * vc/vc.el (vc-ignore): Rewrite.
3371 (vc-default-ignore): New function.
3372 (vc-default-ignore-completion-table): Use find-ignore-file.
3374 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3375 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3376 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3377 Remove. Most code moved to vc.el.
3379 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3381 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3382 * net/tramp-smb.el (tramp-smb-get-file-entries):
3383 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3384 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3386 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3388 (eww-change-select): Remove unused var `properties'.
3389 (eww-make-unique-file-name): Remove unused var `base'.
3391 * finder.el (finder-compile-keywords): Don't mess with windows.
3393 * calculator.el (calculator-funcall): Fix typo in last change.
3395 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3397 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3398 <pkg>-autoloads.el file stop us.
3400 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3401 warnings, and factor out common code.
3403 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3405 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3406 two-character operators and whether the character preceding them
3407 changes their meaning (Bug#15208).
3409 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3411 Format code sent to Python shell for robustness.
3412 * progmodes/python.el (python-shell-buffer-substring):
3414 (python-shell-send-region, python-shell-send-buffer): Use it.
3416 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3418 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3419 * net/tramp.el (tramp-user-error): ... here.
3420 (tramp-find-method, tramp-check-proper-host)
3421 (tramp-dissect-file-name, tramp-debug-message)
3422 (tramp-handle-shell-command):
3423 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3426 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3428 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3430 * avoid.el (mouse-avoidance-point-position)
3431 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3434 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3436 * progmodes/python.el (python-shell-completion-get-completions):
3437 Drop use of deleted `comint-last-prompt-overlay'.
3438 (python-nav-if-name-main): New command.
3440 2013-09-01 Glenn Morris <rgm@gnu.org>
3442 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3443 Avoid leading space in $wins. Otherwise the sed command used by
3444 eg compile-main ends up containing "/*.el". (Bug#15170)
3446 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3448 2013-08-30 Glenn Morris <rgm@gnu.org>
3450 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3451 Fix is-this-a-directory logic. (Bug#15220)
3453 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * textmodes/css-mode.el: Use SMIE.
3456 (css-smie-grammar): New var.
3457 (css-smie--forward-token, css-smie--backward-token)
3458 (css-smie-rules): New functions.
3459 (css-mode): Use them.
3460 (css-navigation-syntax-table): Remove var.
3461 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3462 (css-indent-calculate, css-indent-line): Remove functions.
3464 Misc changes to reduce use of `(lambda...); and other cleanups.
3465 * cus-edit.el: Use lexical-binding.
3466 (customize-push-and-save, customize-apropos)
3467 (custom-buffer-create-internal): Use closures.
3468 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3469 * progmodes/ada-xref.el: Use setq.
3470 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3471 * dframe.el: Use lexical-binding.
3472 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3473 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3474 * descr-text.el: Use lexical-binding.
3475 (describe-text-widget, describe-text-sexp, describe-property-list):
3477 * comint.el (comint-history-isearch-push-state): Use a closure.
3478 * calculator.el: Use lexical-binding.
3479 (calculator-number-to-string): Make it work with lexical-binding.
3480 (calculator-funcall): Same and use cl-letf.
3482 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3483 (lisp--company-doc-string, lisp--company-location): New functions.
3484 (lisp-completion-at-point): Use them to improve Company support.
3486 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3487 params of lambda expressions.
3488 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3489 (ruby-smie--opening-pipe-p): New function.
3490 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3491 symbols and matched |...| for formal params.
3492 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3493 from being treated as hanging. Handle "rescue".
3495 2013-08-29 Glenn Morris <rgm@gnu.org>
3497 * progmodes/cc-engine.el (c-pull-open-brace):
3498 Move definition before use.
3500 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3502 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3503 are immutable. Don't use `unsafe' any more.
3504 (cl--defsubst-expand): Don't substitute at the same time as keeping
3505 a residual unused let-binding. Don't use `unsafe' any more.
3507 2013-08-29 Glenn Morris <rgm@gnu.org>
3509 * calendar/cal-china.el (calendar-chinese-year-cache):
3512 * nxml/nxml-util.el (nxml-debug-clear-inside):
3513 Use cl-loop rather than loop.
3515 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3517 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3519 2013-08-28 Glenn Morris <rgm@gnu.org>
3521 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3523 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3525 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3527 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * simple.el (repeat-complex-command--called-interactively-skip):
3531 (repeat-complex-command): Use it (bug#14136).
3533 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3534 (c-define-abbrev-table): Add `doc' argument.
3535 (c-mode-abbrev-table, c++-mode-abbrev-table)
3536 (objc-mode-abbrev-table, java-mode-abbrev-table)
3537 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3538 (awk-mode-abbrev-table): Use it.
3539 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3540 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3541 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3542 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3543 Move initialization into the declaration; and remove any
3546 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3547 and dynamic let binding.
3549 * vc/smerge-mode.el: Remove redundant :group args.
3551 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3554 2013-08-28 Juri Linkov <juri@jurta.org>
3556 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3557 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3558 (isearch-other-meta-char): Handle an undefined shifted printing
3559 character by downshifting it. (Bug#15200)
3561 2013-08-28 Juri Linkov <juri@jurta.org>
3563 * isearch.el (isearch-search): Change regexp error message for
3564 non-regexp searches. (Bug#15166)
3566 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3568 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3569 for portability to hosts where /bin/sh has problems.
3571 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3573 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3575 2013-08-27 Juri Linkov <juri@jurta.org>
3577 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3578 in the keyboard macro. (Bug#15126)
3580 2013-08-27 Juri Linkov <juri@jurta.org>
3582 * isearch.el (isearch-quote-char): Comment out converting unibyte
3583 to multibyte, thus syncing with its `quoted-insert' counterpart.
3586 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3588 * window.el (display-buffer-use-some-window): Add missing
3589 argument in call of get-largest-window (Bug#15185).
3590 Reported by Stephen Leake.
3592 2013-08-27 Glenn Morris <rgm@gnu.org>
3594 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3596 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3599 from a matcher-function unless there's no more matches (bug#15161).
3601 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3603 * minibuffer.el: Revert change from 2013-08-20.
3605 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3606 with text property `tramp-default', if appropriate.
3607 (tramp-check-proper-host): New defun.
3608 (tramp-dissect-file-name): Do not check hostname. Revert change
3610 (tramp-backtrace): Make VEC-OR-PROC optional.
3612 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3613 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3614 * net/tramp-sh.el (tramp-maybe-open-connection):
3615 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3616 Apply `tramp-check-proper-host'.
3618 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3620 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3621 lambda expression in order to have `describe-variable' display it.
3623 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3625 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3626 BUF can be optional. (Bug#15186)
3628 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3630 * progmodes/flymake.el (flymake-get-real-file-name-function):
3631 Fix broken customization. (Bug#15184)
3633 2013-08-25 Alan Mackenzie <acm@muc.de>
3635 Improve indentation of bracelists defined by macros (without "=").
3637 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3638 expansion begins with "{", regard it as bracelist when it doesn't
3641 Parse C++ inher-intro when there's a template split over 2 lines.
3643 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3644 rigorously the search for "class" etc. followed by ":".
3646 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3647 random languages a regexp which never matches rather than nil.
3649 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3651 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3652 (c-awk-regexp-one-line-possibly-open-char-list-re)
3653 (c-awk-one-line-possibly-open-regexp-re)
3654 (c-awk-one-line-non-syn-ws*-re): Remove.
3655 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3656 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3657 (c-awk-space*-unclosed-regexp-/-re): New constants.
3658 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3659 aren't regexp delimiters.
3661 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3662 handling for a rare situation in AWK Mode involving unterminated
3665 2013-08-23 Glenn Morris <rgm@gnu.org>
3667 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3669 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3671 * files.el (create-file-buffer): If the result would begin with
3672 spaces, prepend a "|" instead of removing them. (Bug#15162)
3674 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3677 text-properties (bug#15155).
3679 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3681 (calc-keypad-redraw): Remove unused var `pad'.
3682 (calc-keypad-press): Remove unused var `menu'.
3684 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3686 * window.el (display-buffer-pop-up-frame):
3687 Call pop-up-frame-function with BUFFER current so `make-frame' will
3688 use it as the new frame's buffer (Bug#15133).
3690 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3692 * calendar/timeclock.el: Minor cleanups.
3693 (timeclock-ask-before-exiting, timeclock-use-display-time):
3695 (timeclock-modeline-display): Define as alias before the
3697 (timeclock-mode-line-display): Use define-minor-mode.
3698 (timeclock-day-list-template): Make it a function, add an argument.
3699 (timeclock-day-list-required, timeclock-day-list-length)
3700 (timeclock-day-list-debt, timeclock-day-list-span)
3701 (timeclock-day-list-break): Adjust calls accordingly.
3703 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3705 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3706 Use read--expression so that completion works again.
3708 2013-08-21 Sam Steingold <sds@gnu.org>
3710 Add rudimentary inferior shell interaction
3711 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3712 (sh-set-shell): Reset it.
3713 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3714 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3716 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * align.el: Use lexical-binding.
3719 (align-region): Simplify accordingly.
3721 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3723 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3725 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3728 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3732 * net/tramp-cmds.el:
3734 * net/tramp-gvfs.el:
3736 * net/tramp-sh.el: Don't wrap external variable declarations by
3737 `eval-when-compile'.
3739 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3741 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3742 now that Emacs supports ImageMagick animations.
3744 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3746 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3747 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3749 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3751 * window.el (mouse-autoselect-window-select): Do autoselect when
3752 mouse pointer is on margin.
3754 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3756 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3758 2013-08-16 Glenn Morris <rgm@gnu.org>
3760 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3761 Handle "Remote Directory" response of some clients. (Bug#15058)
3763 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3764 Tweak warning. (Bug#14926)
3766 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3767 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3769 * image-mode.el (image-mode-map): Add menu items to reverse,
3770 increase, decrease, reset animation speed.
3771 (image--set-speed, image-increase-speed, image-decrease-speed)
3772 (image-reverse-speed, image-reset-speed): New functions.
3773 (image-mode-map): Add bindings for speed commands.
3775 * image.el (image-animate-get-speed, image-animate-set-speed):
3777 (image-animate-timeout): Respect image :speed property.
3779 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3782 previous line (bug#15101).
3783 (debugger-eval-expression, debugger-record-expression):
3784 Use read--expression (bug#15102).
3786 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3788 Remove byte compiler warnings, visible when compiling with
3789 `byte-compile-force-lexical-warnings' set to t.
3791 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3792 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3793 (tramp-handle-unhandled-file-name-directory)
3794 (tramp-handle-file-notify-add-watch, tramp-action-login)
3795 (tramp-action-succeed, tramp-action-permission-denied)
3796 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3799 * net/tramp-adb.el (tramp-adb-parse-device-names)
3800 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3801 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3802 (tramp-adb-handle-file-truename): Remove unused arguments.
3804 * net/tramp-cache.el (tramp-flush-directory-property)
3805 (tramp-flush-connection-property, tramp-list-connections)
3806 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3808 * net/tramp-compat.el (tramp-compat-make-temp-file):
3809 Rename FILENAME to F.
3811 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3812 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3813 (tramp-zeroconf-parse-workstation-device-names)
3814 (tramp-zeroconf-parse-webdav-device-names)
3815 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3817 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3818 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3820 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3822 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3823 (tramp-sh-handle-insert-file-contents-literally)
3824 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3826 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3827 Remove unused variables.
3829 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3830 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3831 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3833 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3834 Make them a defconst.
3835 (tramp-uuencode-region): Remove unused variable.
3837 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3839 * frameset.el (frameset--prop-setter): New function.
3840 (frameset-prop): Add gv-setter declaration.
3841 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3842 parameter was already set in FILTERED. Doc fix.
3843 (frameset--record-minibuffer-relationships): Allow saving a
3844 minibufferless frame without its corresponding minibuffer frame.
3845 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3846 frame, if the frame id matches.
3847 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3848 frames before orphaned ones.
3849 (frameset-restore): Warn about orphaned windows, instead of error out.
3851 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3853 * window.el (window-make-atom): Don't overwrite parameter
3855 (display-buffer-in-atom-window): Handle special case where we
3856 split an already atomic window.
3857 (window--major-non-side-window, display-buffer-in-side-window)
3858 (window--side-check): Ignore minibuffer window when walking
3860 (window-deletable-p): Return 'frame only if no other frame uses
3861 our minibuffer window.
3862 (record-window-buffer): Run buffer-list-update-hook.
3863 (split-window): Make sure window--check-frame won't destroy an
3864 existing atomic window in case the new window gets nested
3866 (display-buffer-at-bottom): Ignore minibuffer window when
3867 walking window tree. Don't split a side window.
3868 (pop-to-buffer): Don't set-buffer here, the select-window call
3870 (mouse-autoselect-window-select): Autoselect only if we are in the
3871 text portion of the window.
3873 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875 * net/shr.el (shr-parse-image-data): New function to grab both the
3876 data itself and the Content-Type.
3877 (shr-put-image): Use it.
3879 * net/eww.el (eww-display-image): Ditto.
3881 * image.el (image-content-type-suffixes): New variable.
3883 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3885 * progmodes/python.el (python-imenu--build-tree)
3886 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3888 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3890 * simple.el (backward-word): Mention the optional argument.
3892 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * frameset.el (frameset--make): Rename constructor from make-frameset.
3895 (frameset-p, frameset-valid-p): Don't autoload.
3896 (frameset-valid-p): Use normal accessors.
3898 2013-08-13 Glenn Morris <rgm@gnu.org>
3900 * progmodes/compile.el (compile-command): Tweak example in doc.
3901 * obsolete/scribe.el (scribe-mode):
3902 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3904 * mail/feedmail.el (feedmail-confirm-outgoing)
3905 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3907 * cus-start.el (truncate-partial-width-windows): Fix type.
3909 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3911 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3913 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3915 * emacs-lisp/timer.el (timer--time-setter): New function.
3916 (timer--time): Use it as gv-setter.
3918 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3919 setter is not a symbol.
3921 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3923 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3924 if sending fails. This makes debugging easier.
3926 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3928 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3929 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3930 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3932 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3934 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3936 2013-08-12 Glenn Morris <rgm@gnu.org>
3938 * format.el (format-annotate-function):
3939 Handle read-only text properties in the source. (Bug#14887)
3941 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3943 * net/eww.el (eww-display-html): Ignore coding system errors.
3944 One web site uses "utf-8lias" as the coding system.
3946 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3948 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3950 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3952 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3953 (tutorial--detailed-help): Remove unused local variables.
3954 (tutorial--save-tutorial-to): Use ignore-errors.
3955 (help-with-tutorial): Use looking-at-p.
3957 * view.el (view-buffer-other-window, view-buffer-other-frame):
3958 Mark unused arguments.
3960 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3961 (woman-select-symbol-fonts, woman, woman-find-file)
3962 (woman-insert-file-contents, woman-non-underline-faces):
3964 (woman1-unquote): Move declaration.
3966 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3967 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3968 argument. Remove unused local variable.
3969 (xml-parse-elem-type): Use string-match-p.
3970 (xml-substitute-numeric-entities): Use ignore-errors.
3972 * calculator.el (calculator): Mark unused argument.
3973 (calculator-paste, calculator-quit, calculator-integer-p):
3975 (calculator-string-to-number, calculator-decimal, calculator-exp)
3976 (calculator-op-or-exp): Use string-match-p.
3978 * dired.el (dired-buffer-more-recently-used-p): Declare.
3979 (dired-insert-set-properties, dired-insert-old-subdirs):
3982 * dired-aux.el (dired-compress): Use ignore-errors.
3983 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3984 (dired-do-async-shell-command, dired-do-shell-command)
3985 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3986 (dired-insert-subdir-validate): Use string-match-p.
3987 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3988 (dired-add-entry): Use string-match-p, looking-at-p.
3989 (dired-insert-subdir-newpos): Remove unused local variable.
3991 * filenotify.el (file-notify-callback): Remove unused local variable.
3993 * filesets.el (filesets-error): Mark unused argument.
3994 (filesets-which-command-p, filesets-filter-dir-names)
3995 (filesets-directory-files, filesets-get-external-viewer)
3996 (filesets-ingroup-get-data): Use string-match-p.
3998 * find-file.el (ff-other-file-name, ff-other-file-name)
3999 (ff-find-the-other-file, ff-cc-hh-converter):
4000 Remove unused local variables.
4001 (ff-get-file-name): Use string-match-p.
4002 (ff-all-dirs-under): Use ignore-errors.
4004 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4005 (follow-select-if-visible): Remove unused local variable.
4007 * forms.el (read-file-filter): Move declaration.
4008 (forms--make-format, forms--make-parser, forms-insert-record):
4009 Quote function with #'.
4010 (forms--update): Use string-match-p. Quote function with #'.
4012 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4013 (help-make-xrefs): Use looking-at-p.
4014 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4016 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4017 (ibuffer-confirm-operation-on): Use string-match-p.
4019 * msb.el (msb-item-handler, msb-dired-item-handler):
4020 Mark unused arguments.
4022 * ses.el (ses-decode-cell-symbol)
4023 (ses-kill-override): Remove unused local variable.
4024 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4025 (ses-load): Use ignore-errors, looking-at-p.
4026 (ses-jump-safe): Use ignore-errors.
4027 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4029 * tabify.el (untabify, tabify): Mark unused arguments.
4031 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4032 Mark unused argument.
4033 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4034 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4036 * emacs-lisp/timer.el (timer--time): Define setter with
4037 gv-define-setter to avoid deprecation warning.
4039 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4040 (*record-cmpl-statistics-p*): Remove (was commented out).
4041 (cmpl-statistics-block): Remove (body was commented out).
4042 All callers changed.
4043 (add-completions-from-buffer, load-completions-from-file):
4044 Remove unused variables.
4046 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4048 * filecache.el (file-cache-delete-file-list):
4049 Print message only when told so.
4050 (file-cache-files-matching): Use #' in mapconcat argument.
4052 * ffap.el (ffap-url-at-point): Fix reference to variable
4053 thing-at-point-default-mail-uri-scheme.
4055 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4057 * subr.el (define-error): New function.
4058 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4059 error-file-not-found and define with define-error.
4060 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4061 and define with define-error.
4062 * userlock.el (file-locked, file-supersession):
4063 * simple.el (mark-inactive):
4064 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4065 * progmodes/ada-mode.el (ada-mode-errors):
4066 * play/life.el (life-extinct):
4067 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4068 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4069 * nxml/rng-util.el (rng-error):
4070 * nxml/rng-uri.el (rng-uri-error):
4071 * nxml/rng-match.el (rng-compile-error):
4072 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4073 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4074 * nxml/nxml-rap.el (nxml-scan-error):
4075 * nxml/nxml-outln.el (nxml-outline-error):
4076 * net/soap-client.el (soap-error):
4077 * net/gnutls.el (gnutls-error):
4078 * net/ange-ftp.el (ftp-error):
4079 * mpc.el (mpc-proc-error):
4080 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4081 (json-number-format, json-string-escape, json-string-format)
4082 (json-key-format, json-object-format):
4083 * jka-compr.el (compression-error):
4084 * international/quail.el (quail-error):
4085 * international/kkc.el (kkc-error):
4086 * emacs-lisp/ert.el (ert-test-failed):
4087 * calc/calc.el (calc-error, inexact-result, math-overflow)
4089 * bookmark.el (bookmark-error-no-filename):
4090 * epg.el (epg-error): Define with define-error.
4092 * time.el (display-time-event-handler)
4093 (display-time-next-load-average): Don't call sit-for since it seems
4094 unnecessary (bug#15045).
4096 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4097 Use #' instead of ' to quote functions.
4098 (checkdoc-output-mode): Use setq-local.
4099 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4100 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4101 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4102 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4103 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4104 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4105 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4106 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4108 * ido.el (ido-completion-help): Fix up compiler warning.
4110 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4112 * frameset.el (frameset-p): Add autoload cookie.
4113 (frameset--jump-to-register): New function, based on code moved from
4115 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4117 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4118 (frameset-restore, frameset-save, frameset-session-filter-alist):
4119 Remove declarations.
4120 (register-alist): Doc fix.
4121 (frameset-to-register): Move to frameset.el.
4122 (jump-to-register, describe-register-1): Remove frameset-specific code.
4124 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4126 * allout-widgets.el (allout-widgets-pre-command-business)
4127 (allout-widgets-post-command-business)
4128 (allout-widgets-after-change-handler)
4129 (allout-decorate-item-and-context, allout-set-boundary-marker)
4130 (allout-body-modification-handler)
4131 (allout-graphics-modification-handler): Mark ignored arguments.
4132 (allout-widgets-post-command-business)
4133 (allout-widgets-exposure-change-processor)
4134 (allout-widgets-exposure-undo-processor)
4135 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4136 (allout-parse-item-at-point, allout-decorate-item-guides)
4137 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4138 * allout.el (epa-passphrase-callback-function): Declare.
4139 (allout-overlay-insert-in-front-handler)
4140 (allout-overlay-interior-modification-handler)
4141 (allout-isearch-end-handler, allout-chart-siblings)
4142 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4143 (allout-yank-processing, allout-process-exposed)
4144 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4145 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4146 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4147 (lisp-indent-defform): Mark ignored arguments.
4148 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4149 (calculate-lisp-indent): Remove unused variables.
4150 * international/characters.el (indian-2-column, arabic-2-column)
4151 (tibetan): Mark ignored arguments.
4152 (use-cjk-char-width-table): Mark ignored arguments.
4153 Remove unused variables.
4154 * international/fontset.el (build-default-fontset-data)
4155 (x-compose-font-name, create-fontset-from-fontset-spec):
4156 Mark ignored arguments.
4157 (fontset-plain-name): Remove unused variables.
4158 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4159 (keyboard-coding-system): Mark ignored arguments.
4160 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4161 * help.el (resize-temp-buffer-window):
4162 * window.el (display-buffer-in-major-side-window)
4163 (display-buffer-in-side-window, display-buffer-in-previous-window):
4164 Remove unused variables.
4165 * isearch.el (isearch-forward-symbol):
4166 * version.el (emacs-bzr-version-bzr):
4167 * international/mule-cmds.el (current-language-environment):
4168 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4170 * term/pc-win.el (x-list-fonts, x-display-planes)
4171 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4172 (x-server-version, x-display-screens, x-display-mm-height)
4173 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4174 (x-selection-owner-p, x-own-selection-internal)
4175 (x-disown-selection-internal, x-get-selection-internal)
4176 (msdos-initialize-window-system):
4177 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4178 * term/x-win.el (x-handle-no-bitmap-icon):
4179 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4180 (vc-default-find-file-hook, vc-default-extra-menu):
4181 Mark ignored arguments.
4183 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4185 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4186 break-condition in the context of the debugged code (bug#12685).
4188 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4191 Do not use an overlay to highlight the last prompt. (Bug#14744)
4192 (comint-mode): Make comint-last-prompt buffer local.
4193 (comint-last-prompt): New variable.
4194 (comint-last-prompt-overlay): Remove. Superseded by
4196 (comint-snapshot-last-prompt, comint-output-filter):
4197 Use comint-last-prompt.
4199 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4201 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4202 (frameset-save): Check validity of the resulting frameset.
4204 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4206 * ido.el (ido-record-command): Add doc string.
4208 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4210 * frameset.el (frameset): Do not disable creation of the default
4211 frameset-p predicate. Doc fix.
4212 (frameset-valid-p): New function, copied from the old predicate-p.
4213 Add additional checks.
4214 (frameset-restore): Check with frameset-valid-p.
4215 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4216 (frameset-name, frameset-description, frameset-properties)
4217 (frameset-states): Add docstring.
4218 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4219 (frameset-filter-alist): Doc fixes.
4221 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4223 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4225 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4227 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4228 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4229 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4230 (byte-compile-normal-call): Remove obsolescence check.
4232 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4234 * frameset.el (frameset-restore): Doc fix.
4236 * register.el (frameset-frame-id, frameset-frame-with-id)
4237 (frameset-p, frameset-restore, frameset-save): Declare.
4238 (register-alist): Document framesets.
4239 (frameset-session-filter-alist): Declare.
4240 (frameset-to-register): New function.
4241 (jump-to-register): Implement jumping to framesets. Doc fix.
4242 (describe-register-1): Describe framesets.
4244 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4246 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4248 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4249 Use lexical-binding.
4251 * frameset.el (frameset): Use type vector, not list (incompatible
4252 change). Do not declare a new constructor, use the default one.
4253 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4254 `name' and `description', respectively, and add read-only slot
4255 `timestamp'. Doc fixes.
4256 (frameset-copy, frameset-persistent-filter-alist)
4257 (frameset-filter-alist, frameset-switch-to-gui-p)
4258 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4259 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4260 (frameset-filter-iconified, frameset-keep-original-display-p):
4262 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4263 Rename from frameset-filter-(save|restore)-param. All callers changed.
4265 (frameset-p): Adapt to change to vector and be more thorough.
4266 Change arg name to OBJECT. Doc fix.
4267 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4268 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4269 All callers changed.
4270 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4271 All callers changed.
4272 (frameset--record-minibuffer-relationships): Rename from
4273 frameset--process-minibuffer-frames. All callers changed.
4274 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4275 Use new default constructor (again). Doc fix.
4276 (frameset--find-frame-if): Rename from `frameset--find-frame.
4277 All callers changed.
4278 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4279 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4281 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4282 PARAMETERS and WINDOW-STATE, respectively.
4283 (frameset-restore): Add new keyword argument PREDICATE.
4284 Reset frameset--target-display to nil. Doc fix.
4286 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4290 (bat-mode-syntax-table): Mark \n as end-of-comment.
4291 (bat-font-lock-keywords): Remove comment rule.
4293 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4294 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4296 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4297 (byte-compile-callargs-warn): Use `push'.
4298 (byte-compile-arglist-warn): Ignore higher-order "calls".
4299 (byte-compile-file-form-autoload): Use `pcase'.
4300 (byte-compile-function-form): If quoting a symbol, check that it exists.
4302 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4304 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4305 and add a few popular commands found in batch files.
4306 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4307 (dos-mode): Doc fixes.
4309 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4312 (dos-mode): Use setq-local. Add space after "rem".
4313 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4314 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4316 2013-08-07 Arni Magnusson <arnima@hafro.is>
4318 * progmodes/dos.el: New file.
4319 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4322 2013-08-06 Glenn Morris <rgm@gnu.org>
4324 * calendar/calendar.el: Add new faces, and day-header-array.
4325 (calendar-weekday-header, calendar-weekend-header)
4326 (calendar-month-header): New faces.
4327 (calendar-day-header-construct): New function.
4328 (calendar-day-header-width): Also :set calendar-day-header-array.
4329 (calendar-american-month-header, calendar-european-month-header)
4330 (calendar-iso-month-header): Use calendar- faces.
4331 (calendar-generate-month):
4332 Use calendar-day-header-array for day headers; apply faces to them.
4333 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4334 (calendar-abbrev-construct): Add optional maxlen argument.
4335 (calendar-day-name-array): Doc fix.
4336 (calendar-day-name-array, calendar-abbrev-length)
4337 (calendar-day-abbrev-array):
4338 Also :set calendar-day-header-array, and maybe redraw.
4339 (calendar-day-header-array): New option. (Bug#15007)
4340 (calendar-font-lock-keywords): Set to nil and make obsolete.
4341 (calendar-day-name): Add option to use header array.
4343 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4345 * net/shr.el (shr-render-td): Remove debugging.
4346 (shr-render-td): Make width computation consistent by defaulting
4347 all zero-width columns to 10 characters. This may not be optimal,
4348 but it's at least consistent.
4349 (shr-make-table-1): Redo last change to fix the real problem in
4352 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4354 * files.el (cache-long-line-scans):
4355 Make obsolete alias to `cache-long-scans'.
4357 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4359 * frameset.el (frameset, frameset-filter-alist)
4360 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4361 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4362 (frameset-compute-pos): Rename from frameset--compute-pos,
4364 (frameset-move-onscreen): Use frameset-compute-pos.
4365 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4367 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4368 Fix typos in docstrings.
4370 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4372 * frame.el (get-other-frame): Tiny cleanup.
4374 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4376 * vc/vc.el (vc-default-ignore-completion-table):
4377 Silence byte-compiler warning.
4379 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4380 slot , which can indeed be nil.
4381 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4382 Move entry for `left' from persistent to live filter alist.
4383 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4385 (frameset-filter-params): When restoring a frame, copy items added to
4386 `filtered', to avoid unwittingly modifying the original parameters.
4387 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4388 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4390 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4391 to use looking-at-p instead of looking-at. (Bug#15028)
4393 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4395 Revert introduction of isearch-filter-predicates (bug#14714).
4396 Rely on add-function instead.
4397 * isearch.el (isearch-filter-predicates): Rename it back to
4398 isearch-filter-predicate.
4399 (isearch-message-prefix): Use advice-function-mapc and advice
4400 properties to get the isearch-message-prefix.
4401 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4402 instead of run-hook-with-args-until-failure.
4403 (isearch-filter-visible): Not obsolete any more.
4404 * loadup.el: Preload nadvice.
4405 * replace.el (perform-replace): Revert to funcall
4406 instead of run-hook-with-args-until-failure.
4407 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4408 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4409 dired-isearch-filenames-toggle; make it into a proper minor mode.
4410 Use add/remove-function.
4411 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4412 Call the minor-mode rather than add/remove-hook.
4413 (dired-isearch-filter-filenames):
4414 Remove isearch-message-prefix property.
4415 * info.el (Info--search-loop): New function, extracted from Info-search.
4416 Funcall isearch-filter-predicate instead of
4417 run-hook-with-args-until-failure isearch-filter-predicates.
4418 (Info-search): Use it.
4419 (Info-mode): Use isearch-filter-predicate instead of
4420 isearch-filter-predicates.
4422 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4424 Do not call to `selected-window' where it is assumed by default.
4425 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4426 `window-hscroll', `window-width', `window-height', `window-buffer',
4427 `window-frame', `window-start', `window-point', `next-window'
4428 and `window-display-table'.
4429 * abbrev.el (abbrev--default-expand):
4430 * bs.el (bs--show-with-configuration):
4431 * buff-menu.el (Buffer-menu-mouse-select):
4432 * calc/calc.el (calc):
4433 * calendar/calendar.el (calendar-generate-window):
4434 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4436 * comint.el (send-invisible, comint-dynamic-complete-filename)
4437 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4438 * completion.el (complete):
4439 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4440 * disp-table.el (describe-current-display-table):
4441 * doc-view.el (doc-view-insert-image):
4442 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4443 * ehelp.el (with-electric-help):
4444 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4445 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4446 * emacs-lisp/helper.el (Helper-help-scroller):
4447 * emulation/cua-base.el (cua--post-command-handler-1):
4448 * eshell/esh-mode.el (eshell-output-filter):
4449 * ffap.el (ffap-gnus-wrapper):
4450 * help-macro.el (make-help-screen):
4451 * hilit-chg.el (highlight-compare-buffers):
4452 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4453 * hl-line.el (global-hl-line-highlight):
4454 * icomplete.el (icomplete-simple-completing-p):
4455 * isearch.el (isearch-done):
4456 * jit-lock.el (jit-lock-stealth-fontify):
4457 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4458 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4459 * mpc.el (mpc-tagbrowser, mpc):
4460 * net/rcirc.el (rcirc-any-buffer):
4461 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4462 * play/landmark.el (landmark-max-width, landmark-max-height):
4463 * play/zone.el (zone):
4464 * progmodes/compile.el (compilation-goto-locus):
4465 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4466 * progmodes/etags.el (find-tag-other-window):
4467 * progmodes/fortran.el (fortran-column-ruler):
4468 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4469 * progmodes/verilog-mode.el (verilog-point-text):
4470 * reposition.el (reposition-window):
4471 * rot13.el (toggle-rot13-mode):
4472 * server.el (server-switch-buffer):
4473 * shell.el (shell-dynamic-complete-command)
4474 (shell-dynamic-complete-environment-variable):
4475 * simple.el (insert-buffer, set-selective-display)
4476 (delete-completion-window):
4477 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4478 (speedbar-recenter):
4479 * startup.el (fancy-splash-head):
4480 * textmodes/ispell.el (ispell-command-loop):
4481 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4482 * tutorial.el (help-with-tutorial):
4483 * vc/add-log.el (add-change-log-entry):
4484 * vc/compare-w.el (compare-windows):
4485 * vc/ediff-help.el (ediff-indent-help-message):
4486 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4487 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4488 (ediff-setup-control-frame):
4489 * vc/emerge.el (emerge-position-region):
4490 * vc/pcvs-util.el (cvs-bury-buffer):
4491 * window.el (walk-windows, mouse-autoselect-window-select):
4492 * winner.el (winner-set-conf, winner-undo): Related users changed.
4494 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4496 * frameset.el (frameset--set-id): Doc fix.
4497 (frameset-frame-id, frameset-frame-id-equal-p)
4498 (frameset-locate-frame-id): New functions.
4499 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4500 (frameset-restore): Use them.
4502 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4504 Do not call to `selected-frame' where it is assumed by default.
4505 Affected functions are `raise-frame', `redraw-frame',
4506 `frame-first-window', `frame-terminal' and `delete-frame'.
4507 * calendar/appt.el (appt-disp-window):
4508 * epg.el (epg-wait-for-completion):
4509 * follow.el (follow-delete-other-windows-and-split)
4510 (follow-avoid-tail-recenter):
4511 * international/mule.el (set-terminal-coding-system):
4512 * mail/rmail.el (rmail-mail-return):
4513 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4514 * progmodes/f90.el (f90-add-imenu-menu):
4515 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4516 * server.el (server-switch-buffer):
4517 * simple.el (delete-completion-window):
4519 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4520 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4521 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4522 * vc/ediff.el (ediff-documentation): Related users changed.
4523 * frame.el (selected-terminal): Remove the leftover.
4525 2013-08-05 Glenn Morris <rgm@gnu.org>
4527 * calendar/calendar.el (calendar-generate-month):
4528 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4529 (calendar-generate-month, calendar-font-lock-keywords):
4530 Fix for calendar-day-header-width > length of any day name.
4532 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4534 * desktop.el (desktop-clear): Use new name of sort predicate.
4536 * frameset.el (frameset): Add docstring. Move :version property to its
4538 (frameset-copy): Rename from copy-frameset.
4539 (frameset-p): Check more thoroughly.
4540 (frameset-prop): Do not check for :version, which is no longer a prop.
4541 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4542 Use new :never value instead of t.
4543 (frameset-filter-alist): Expand and clarify docstring.
4544 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4545 (frameset-filter-minibuffer, frameset-filter-save-param)
4546 (frameset-filter-restore-param, frameset-filter-iconified):
4547 Add pointer to docstring of frameset-filter-alist.
4548 (frameset-filter-params): Rename filter values to be more meaningful:
4549 :never instead of t, and reverse the meanings of :save and :restore.
4550 (frameset--process-minibuffer-frames): Clarify error message.
4551 (frameset-save): Avoid unnecessary and confusing call to framep.
4552 Use new BOA constructor for framesets.
4553 (frameset--reuse-list): Doc fix.
4554 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4555 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4556 (frameset-minibufferless-first-p): Doc fix.
4557 Rename from frameset-sort-frames-for-deletion.
4558 (frameset-restore): Doc fixes. Use new function names.
4559 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4561 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4563 * desktop.el (desktop-restore-forces-onscreen)
4564 (desktop-restore-reuses-frames): Document :keyword constant values.
4565 (desktop-filter-parameters-alist): Remove, now identical to
4566 frameset-filter-alist.
4567 (desktop--filter-tty*): Remove, moved to frameset.el.
4568 (desktop-save-frameset, desktop-restore-frameset):
4569 Do not pass :filters argument.
4571 * frameset.el (frameset-live-filter-alist)
4572 (frameset-persistent-filter-alist): New variables.
4573 (frameset-filter-alist): Use them. Add autoload cookie.
4574 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4575 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4576 `frameset--id' (it's supposed to be internal to frameset.el).
4577 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4578 (frameset--initial-params): New function.
4579 (frameset--get-frame): Use it. Doc fix.
4580 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4581 Accept :all, not 'all.
4582 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4583 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4584 with fbound symbols. Fix frame id matching, and remove matching ids if
4585 the frame being restored is deleted. Obey :delete.
4587 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * subr.el (macrop): New function.
4590 (text-clone--maintaining): New var.
4591 (text-clone--maintain): Rename from text-clone-maintain. Use it
4592 instead of inhibit-modification-hooks.
4594 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4595 a proxy, so as handle autoloads and redefinitions of the target.
4596 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4598 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4599 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4600 (pcase--mutually-exclusive-p): New function.
4601 (pcase--split-consp): Use it.
4602 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4603 mutually exclusive with the current predicate.
4605 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4606 (edebug-macrop): Remove. Use `macrop' instead.
4607 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4609 * eshell/esh-cmd.el (eshell-macrop):
4610 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4612 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4615 (advice-mapc): New function, using it.
4616 (advice-function-member-p): New function.
4617 (advice--normalize): Store the cdr in advice--saved-rewrite since
4618 that's the part that will be changed.
4619 (advice--symbol-function): New function.
4620 (advice-remove): Handle removal before the function is defined.
4621 Adjust to new advice--saved-rewrite.
4622 (advice-member-p): Use advice-function-member-p and
4623 advice--symbol-function.
4625 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4627 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4628 (frameset-filter-minibuffer): Doc fix.
4629 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4630 (frameset--set-id, frameset--process-minibuffer-frames)
4631 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4632 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4634 * desktop.el (desktop-clear): Only delete frames when called
4635 interactively and desktop-restore-frames is non-nil. Doc fix.
4636 (desktop-read): Set desktop-saved-frameset to nil.
4638 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4640 * vc/vc.el (vc-ignore): Rewrite.
4641 (vc-default-ignore-completion-table):
4643 (vc--add-line, vc--remove-regexp): New functions.
4645 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4646 (vc-svn-ignore-completion-table): New function.
4648 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4649 (vc-hg-ignore-completion-table):
4650 (vc-hg-find-ignore-file): New functions.
4652 * vc/vc-git.el (vc-git-ignore): Rewrite.
4653 (vc-git-ignore-completion-table):
4654 (vc-git-find-ignore-file): New functions.
4656 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4658 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4659 (vc-bzr-ignore-completion-table):
4660 (vc-bzr-find-ignore-file): New functions.
4662 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4664 * frameset.el (frameset-prop): New function and setter.
4665 (frameset-save): Do not modify frame list passed by the caller.
4667 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4671 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4674 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4676 * custom.el (custom-initialize-default, custom-initialize-set)
4677 (custom-initialize-reset, custom-initialize-changed): Affect the
4678 toplevel-default-value (bug#6275, bug#14586).
4679 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4682 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4684 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4685 Add cl-def* expressions.
4687 * frameset.el (frameset-filter-params): Fix order of arguments.
4689 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4691 Move code related to saving frames to frameset.el.
4692 * desktop.el: Require frameset.
4693 (desktop-restore-frames): Doc fix.
4694 (desktop-restore-reuses-frames): Rename from
4695 desktop-restoring-reuses-frames.
4696 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4697 (desktop-clear): Clear frames too.
4698 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4699 (desktop--filter-tty*, desktop-save, desktop-read):
4700 Use frameset functions.
4701 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4702 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4703 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4704 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4705 (desktop--process-minibuffer-frames, desktop-save-frames)
4706 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4707 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4708 (desktop--sort-states, desktop-restoring-frames-p)
4709 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4710 (desktop-restoring-frameset-p, desktop-restore-frameset)
4711 (desktop--check-dont-save, desktop-save-frameset): New functions.
4712 (desktop--app-id): New constant.
4713 (desktop-first-buffer, desktop-buffer-ok-count)
4714 (desktop-buffer-fail-count): Move before first use.
4715 * frameset.el: New file.
4717 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * files.el: Use lexical-binding.
4720 (dir-locals-read-from-file): Remove unused `err' variable.
4721 (hack-dir-local-variables--warned-coding): New var.
4722 (hack-dir-local-variables): Use it to avoid repeated warnings.
4723 (make-backup-file-name--default-function): New function.
4724 (make-backup-file-name-function): Use it as default.
4725 (buffer-stale--default-function): New function.
4726 (buffer-stale-function): Use it as default.
4727 (revert-buffer-insert-file-contents--default-function): New function.
4728 (revert-buffer-insert-file-contents-function): Use it as default.
4729 (insert-directory): Avoid add-to-list.
4731 * autorevert.el (auto-revert-handler): Simplify.
4732 Use buffer-stale--default-function.
4734 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4736 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4738 * whitespace.el (whitespace-ensure-local-variables): New function.
4739 (whitespace-cleanup-region): Call it.
4740 (whitespace-turn-on): Call it.
4742 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4744 Complete file name handlers.
4746 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4747 (tramp-handle-verify-visited-file-modtime)
4748 (tramp-handle-file-notify-rm-watch): New functions.
4749 (tramp-call-process): Do not bind `default-directory'.
4751 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4752 Order alphabetically.
4753 [access-file, add-name-to-file, dired-call-process]:
4754 [dired-compress-file, file-acl, file-notify-rm-watch]:
4755 [file-ownership-preserved-p, file-selinux-context]:
4756 [make-directory-internal, make-symbolic-link, set-file-acl]:
4757 [set-file-selinux-context, set-visited-file-modtime]:
4758 [verify-visited-file-modtime]: Add handler.
4759 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4761 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4762 [file-notify-add-watch, file-notify-rm-watch]:
4763 [set-file-times, set-visited-file-modtime]:
4764 [verify-visited-file-modtime]: Add handler.
4765 (with-tramp-gvfs-error-message)
4766 (tramp-gvfs-handle-set-visited-file-modtime)
4767 (tramp-gvfs-fuse-file-name): Remove.
4768 (tramp-gvfs-handle-file-notify-add-watch)
4769 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4770 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4772 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4773 Order alphabetically.
4774 [file-notify-rm-watch ]: Use default Tramp handler.
4775 [executable-find]: Remove private handler.
4776 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4777 `default-directory'.
4778 (tramp-sh-handle-executable-find)
4779 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4780 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4781 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4782 Do not use `format' in `tramp-message'.
4784 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4785 [file-notify-rm-watch, set-visited-file-modtime]:
4786 [verify-visited-file-modtime]: Add handler.
4787 (tramp-smb-call-winexe): Do not bind `default-directory'.
4789 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4791 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4793 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4795 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4797 (log-view-diff-changeset): Same.
4798 (log-view-diff-common): Call backend command `previous-revision'
4799 to find out the previous revision, in both cases. Swap the
4800 variables `to' and `fr', so that `fr' usually refers to the
4801 earlier revision (Bug#14989).
4803 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4805 * ibuf-ext.el (ibuffer-filter-by-filename):
4806 Make it work with dired buffers too.
4808 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4810 * emacs-lisp/re-builder.el (reb-color-display-p):
4811 * files.el (save-buffers-kill-terminal):
4812 * net/browse-url.el (browse-url):
4813 * server.el (server-save-buffers-kill-terminal):
4814 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4815 Prefer nil to selected-frame for the first arg of frame-parameter.
4817 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4819 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4821 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4823 * minibuffer.el (completion--twq-all): Try and preserve each
4824 completion's case choice (bug#14907).
4826 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4828 * net/network-stream.el (open-network-stream): Mention the new
4829 :nogreeting parameter.
4830 (network-stream-open-starttls): Use the :nogreeting parameter
4833 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4835 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4836 more natural than popping.
4838 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4839 (shr-urlify): Highlight under mouse.
4841 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4843 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4845 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4847 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4850 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4851 point-min==1. Fix search string. Fix parentheses missing.
4853 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4854 assume point-min==1. Fix search string. Fix parentheses missing.
4856 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4858 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4861 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4863 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4864 initial frame is minibuffer-less. (Bug#14841)
4866 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4868 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4872 (tramp-maybe-open-connection): Use it.
4874 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4876 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4877 minimal set of parameters passed when creating a frame, because
4878 the minibuffer status of a frame cannot be changed later.
4880 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4882 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4883 replace-regexp-in-string and inadvertent omissions in previous change.
4884 (todo-filter-items): Ensure only file names are comma-separated in
4885 name of filtered items buffer.
4887 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4889 * desktop.el: Optionally force offscreen frames back onscreen.
4890 (desktop-restoring-reuses-frames): New option.
4891 (desktop--compute-pos, desktop--move-onscreen): New functions.
4892 (desktop--make-frame): Use desktop--move-onscreen.
4894 2013-07-27 Alan Mackenzie <acm@muc.de>
4896 Fontify a Java generic method as a function.
4897 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4900 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4902 * calendar/todo-mode.el: Add command to rename todo files.
4903 (todo-rename-file): New command.
4904 (todo-key-bindings-t): Add key binding for it. Change the
4905 bindings of todo-filter-regexp-items(-multifile) to use `x'
4906 instead of `r', since the latter is better suited to the new
4909 2013-07-27 Alan Mackenzie <acm@muc.de>
4911 Make Java try-with-resources statement parse properly.
4912 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4913 (c-block-stmt-1-2-key): New language constants/variables.
4914 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4915 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4916 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4917 with c-block-stmt-1-2-key.
4919 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4921 * desktop.el (desktop--make-frame): Apply most frame parameters after
4922 creating the frame to force (partially or totally) offscreen frames to
4923 be restored as such.
4925 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4927 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4930 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4933 `base' arg of backtrace-frame.
4935 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4937 * simple.el (list-processes): Doc fix.
4939 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4941 * desktop.el (desktop--select-frame):
4942 Try harder to reuse existing frames.
4944 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4946 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4947 (edebug-eval): Use backtrace-eval.
4948 (edebug--display, edebug--recursive-edit): Don't let-bind the
4949 edebug-outer-* vars that keep track of variables we locally let-bind.
4950 (edebug-outside-excursion): Don't restore outside values of locally
4952 (edebug--display): Use user-error.
4953 (cl-lexical-debug, cl-debug-env): Remove.
4955 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4957 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4958 are restored to be sure that they are visible before deleting any
4961 2013-07-26 Matthias Meulien <orontee@gmail.com>
4963 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4964 vc-print-root-log. (Bug#14948)
4966 2013-07-26 Richard Stallman <rms@gnu.org>
4968 Add aliases for encrypting mail.
4969 * epa.el (epa-mail-aliases): New option.
4970 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4971 Bind inhibit-read-only so read-only text doesn't ruin everything.
4972 (epa-mail-default-recipients): New subroutine broken out.
4973 Handle epa-mail-aliases.
4975 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4977 Add support for lexical variables to the debugger's `e' command.
4978 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4979 vars, except for debugger-outer-match-data.
4980 (debugger-frame-number): Move check for "on a function call" from
4981 callers into it. Add `skip-base' argument.
4982 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4983 (debugger-env-macro): Only reset the state stored in non-variables,
4984 i.e. current-buffer and match-data.
4985 (debugger-eval-expression): Rewrite using backtrace-eval.
4986 * subr.el (internal--called-interactively-p--get-frame): Remove.
4987 (called-interactively-p):
4988 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4989 `base' arg of backtrace-frame instead.
4991 2013-07-26 Glenn Morris <rgm@gnu.org>
4993 * align.el (align-regexp): Doc fix. (Bug#14857)
4994 (align-region): Explicit error if subexpression missing/does not match.
4996 * simple.el (global-visual-line-mode):
4997 Do not duplicate the mode lighter. (Bug#14858)
4999 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5001 * window.el (display-buffer): In display-buffer bind
5002 split-window-keep-point to t, bug#14829.
5004 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5006 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5007 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5008 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5009 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5011 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5012 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5014 2013-07-25 Glenn Morris <rgm@gnu.org>
5016 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5018 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5020 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5021 parameter to modify-frame-parameters if the value has not changed;
5022 this is a workaround for bug#14949.
5023 (desktop--make-frame): On cl-delete-if call, check parameter name,
5026 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5028 * vc/vc.el (vc-ignore): New function.
5030 * vc/vc-svn.el (vc-svn-ignore): New function.
5032 * vc/vc-hg.el (vc-hg-ignore): New function.
5034 * vc/vc-git.el (vc-git-ignore): New function.
5036 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5037 (vc-dir-ignore): New function.
5039 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5040 (cvs-append-to-ignore): Move here from pcvs.el.
5042 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5044 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5046 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5048 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5049 (desktop-restore-frames): Warn when deleting an existing frame failed.
5051 2013-07-24 Glenn Morris <rgm@gnu.org>
5053 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5055 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5057 * filenotify.el (file-notify-supported-p):
5058 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5061 * autorevert.el (auto-revert-use-notify):
5062 (auto-revert-notify-add-watch):
5063 * net/tramp.el (tramp-file-name-for-operation):
5064 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5066 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5067 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5068 Remove `file-notify-supported-p' entry.
5070 2013-07-24 Glenn Morris <rgm@gnu.org>
5072 * printing.el: Replace all uses of deleted ps-windows-system,
5073 ps-lp-system, ps-flatten-list with lpr- versions.
5075 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5077 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5078 checked with memq (bug#14935).
5080 * files.el (revert-buffer-function): Use a non-nil default.
5081 (revert-buffer-preserve-modes): Declare var to
5082 provide access to the `preserve-modes' argument.
5083 (revert-buffer): Let-bind it.
5084 (revert-buffer--default): New function, extracted from revert-buffer.
5086 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5088 * lpr.el: Signal print errors more prominently.
5089 (print-region-function): Don't default to nil.
5090 (lpr-print-region): New function, extracted from print-region-1.
5091 Check lpr's return value and signal an error in case of problem.
5092 (print-region-1): Use it.
5093 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5095 (ps-printer-name): Default to nil.
5096 (ps-printer-name-option): Default to lpr-printer-switch.
5097 (ps-print-region-function): Don't default to nil.
5098 (ps-postscript-code-directory): Simplify default.
5099 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5100 (ps-string-list, ps-eval-switch, ps-flatten-list)
5101 (ps-flatten-list-1): Remove.
5102 (ps-multibyte-buffer): Avoid setq.
5103 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5104 (print-region-function, ps-print-region-function): Don't set them here.
5106 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5108 * ido.el (ido-fractionp):
5109 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5110 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5111 (ido-max-directory-size, ido-max-dir-file-cache)
5112 (ido-decorations): Doc fix.
5114 * ansi-color.el: Fix old URL.
5116 2013-07-23 Michael R. Mauger <michael@mauger.com>
5118 * progmodes/sql.el: Version 3.3
5119 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5120 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5121 (sql-interactive-remove-continuation-prompt): Rewrite, use
5122 functions above. Fix continuation prompt and complete output line
5124 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5125 redirected output buffer.
5126 (sql-mode): Restore deleted code (Bug#13591).
5128 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5130 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5132 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5134 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5136 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5138 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5140 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5142 * desktop.el (desktop-clear): Simplify; remove useless checks
5143 against invalid buffer names.
5144 (desktop-list*): Use cl-list*.
5145 (desktop-buffer-info, desktop-create-buffer): Simplify.
5147 2013-07-23 Leo Liu <sdl.web@gmail.com>
5149 * bookmark.el (bookmark-make-record): Restore NAME as a default
5152 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5154 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5155 extracted from autoload--insert-text.
5156 (autoload--insert-text): Remove.
5157 (autoload--print-cookie-text): New function, extracted from
5158 autoload--insert-cookie-text.
5159 (autoload--insert-cookie-text): Remove.
5160 (autoload-generate-file-autoloads): Adjust calls accordingly.
5162 * winner.el (winner-hook-installed-p): Remove.
5163 (winner-mode): Simplify accordingly.
5165 * subr.el (add-to-list): Fix compiler-macro when `append' is
5166 not constant. Don't use `cl-member' for the base case.
5168 * progmodes/subword.el: Fix boundary case (bug#13758).
5169 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5171 (subword-backward-regexp): Make it a constant.
5172 (subword-forward-internal): Don't treat a trailing capital as the
5173 beginning of a word.
5175 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5177 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5178 global value of tabulated-list-revert-hook (bug#14930).
5180 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5182 * desktop.el: Require 'cl-lib.
5183 (desktop-before-saving-frames-functions): New hook.
5184 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5185 for frames being saved. Rename from desktop--save-minibuffer-frames.
5186 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5187 Do not save frames with non-nil `desktop-dont-save' parameter.
5188 Filter out deleted frames.
5189 (desktop--find-frame): Use cl-find-if.
5190 (desktop--select-frame): Use cl-(first|second|third) to access values
5192 (desktop--make-frame): Use cl-delete-if.
5193 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5194 (desktop-restore-frames): Use cl-(first|second|third) to access values
5195 of desktop-mini. Look for visible frame at the end, not while
5198 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5199 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5200 Use string-match-p, looking-at-p (bug#14927).
5202 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5204 * desktop.el (desktop-saved-frame-states):
5205 Rename from desktop--saved-states; all users changed.
5206 (desktop-save-frames): Rename from desktop--save-frames.
5207 Do not save state to desktop file.
5208 (desktop-save): Save desktop-saved-frame-states to desktop file
5210 (desktop-restoring-frames-p): New function.
5211 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5212 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5213 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5215 * desktop.el: Correctly restore iconified frames.
5216 (desktop--filter-iconified-position): New function.
5217 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5219 2013-07-20 Glenn Morris <rgm@gnu.org>
5221 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5222 Let `message' do the formatting.
5223 (def-gdb-preempt-display-buffer): Add explicit format.
5225 * image-dired.el (image-dired-track-original-file):
5226 Use with-current-buffer.
5227 (image-dired-track-thumbnail): Use with-current-buffer.
5228 Avoid changing point of wrong window.
5230 * image-dired.el (image-dired-track-original-file):
5231 Avoid changing point of wrong window. (Bug#14909)
5233 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5235 * progmodes/gdb-mi.el (gdb-done-or-error):
5236 Guard against "%" in gdb output. (Bug#14127)
5238 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5240 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5243 * international/mule.el (coding-system-iso-2022-flags): Fix last
5246 2013-07-20 Kenichi Handa <handa@gnu.org>
5248 * international/mule.el (coding-system-iso-2022-flags):
5249 Add `8-bit-level-4'. (Bug#8522)
5251 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5253 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5256 * net/eww.el (eww-process-text-input): Allow inputting when the
5257 point is at the start of the line, as the properties aren't
5260 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5263 2013-07-19 Richard Stallman <rms@gnu.org>
5265 * epa.el (epa-popup-info-window): Doc fix.
5267 * subr.el (split-string): New arg TRIM.
5269 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5271 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5272 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5274 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5276 * filenotify.el (file-notify--library): Rename from
5277 `file-notify-support'. Do not autoload. Adapt all uses.
5278 (file-notify-supported-p): New defun.
5280 * autorevert.el (auto-revert-use-notify):
5281 Use `file-notify-supported-p' instead of `file-notify-support'.
5283 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5285 * net/tramp.el (tramp-file-name-for-operation):
5286 Add `file-notify-supported-p'.
5288 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5290 (tramp-sh-file-name-handler-alist): Add it as handler for
5291 `file-notify-supported-p '.
5293 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5294 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5295 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5296 Add `ignore' as handler for `file-notify-*' functions.
5298 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5300 * simple.el (line-move-partial, line-move): Don't start vscroll or
5301 scroll-up if the current line is not taller than the window.
5304 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5306 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5307 highlight question marks in the method names as strings.
5308 (ruby-block-beg-keywords): Inline.
5309 (ruby-font-lock-keyword-beg-re): Extract from
5310 `ruby-font-lock-keywords'.
5312 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5314 * frame.el (blink-cursor-blinks): New defcustom.
5315 (blink-cursor-blinks-done): New defvar.
5316 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5317 (blink-cursor-timer-function): Check if number of blinks has been
5319 (blink-cursor-suspend, blink-cursor-check): New defuns.
5321 2013-07-15 Glenn Morris <rgm@gnu.org>
5323 * edmacro.el (edmacro-format-keys): Fix previous change.
5325 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5327 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5328 The hack didn't work outside English locales anyway.
5330 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5332 * simple.el (define-alternatives): Rename from alternatives-define,
5333 per RMS' suggestion.
5335 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5337 * desktop.el (desktop-restore-frames): Change default to t.
5338 (desktop-restore-in-current-display): Now offer more options.
5339 (desktop-restoring-reuses-frames): New customization option.
5340 (desktop--saved-states): Doc fix.
5341 (desktop-filter-parameters-alist): New variable, renamed and expanded
5342 from desktop--excluded-frame-parameters.
5343 (desktop--target-display): New variable.
5344 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5345 (desktop--filter-tty*, desktop--filter-*-color)
5346 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5347 (desktop--filter-save-desktop-parm)
5348 (desktop-restore-in-original-display-p): New functions.
5349 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5350 (desktop--save-minibuffer-frames): New function, inspired by a similar
5351 function from Martin Rudalics.
5352 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5353 (desktop--restore-in-this-display-p): Remove.
5354 (desktop--find-frame): Rename from desktop--find-frame-in-display
5355 and add predicate argument.
5356 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5357 (desktop--reuse-list): New variable.
5358 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5360 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5362 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5364 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5366 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5368 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5369 Highlight conversion methods on Kernel.
5371 2013-07-13 Alan Mackenzie <acm@muc.de>
5373 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5374 and comment it out. This out-commenting enables certain C++
5375 declarations to be parsed correctly.
5377 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5379 * international/mule.el (define-coding-system): Doc fix.
5381 * simple.el (default-font-height): Don't call font-info if the
5382 frame's default font didn't change since the frame was created.
5385 2013-07-13 Leo Liu <sdl.web@gmail.com>
5387 * ido.el (ido-read-file-name): Guard against non-symbol value.
5389 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5391 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5394 2013-07-13 Leo Liu <sdl.web@gmail.com>
5396 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5397 ido-set-matches call. (Bug#6852)
5399 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5401 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5402 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5404 (ruby-font-lock-keywords): Distinguish calls to functions with
5405 module-like names from module references. Highlight character
5408 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5410 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5411 (gdb-send): Handle continued commands. (Bug#14847)
5413 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5415 * desktop.el (desktop--v2s): Remove unused local variable.
5416 (desktop-save-buffer): Make defvar-local; adjust docstring.
5417 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5418 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5420 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5422 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5424 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5426 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5429 2013-07-12 Glenn Morris <rgm@gnu.org>
5431 * doc-view.el: Require cl-lib at runtime too.
5432 (doc-view-remove-if): Remove.
5433 (doc-view-search-next-match, doc-view-search-previous-match):
5436 * edmacro.el: Require cl-lib at runtime too.
5437 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5438 (edmacro-mismatch, edmacro-subseq): Remove.
5440 * shadowfile.el: Require cl-lib.
5441 (shadow-remove-if): Remove.
5442 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5445 * wid-edit.el: Require cl-lib.
5446 (widget-choose): Use cl-remove-if.
5447 (widget-remove-if): Remove.
5449 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5450 (ebrowse-delete-if-not): Remove.
5451 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5452 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5453 Use cl-delete-if-not.
5455 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5457 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5458 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5460 2013-07-12 Leo Liu <sdl.web@gmail.com>
5462 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5464 2013-07-11 Glenn Morris <rgm@gnu.org>
5466 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5467 (edebug-gensym-index, edebug-gensym):
5468 Remove reimplementation of cl-gensym.
5469 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5471 * thumbs.el: Require cl-lib at run-time too.
5472 (thumbs-gensym-counter, thumbs-gensym):
5473 Remove reimplementation of cl-gensym.
5474 (thumbs-temp-file): Use cl-gensym.
5476 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5477 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5478 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5479 (ert--union, ert--gensym-counter, ert--gensym-counter)
5480 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5481 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5482 (ert-make-test-unbound, ert--expand-should-1)
5483 (ert--expand-should, ert--should-error-handle-error)
5484 (should-error, ert--explain-equal-rec)
5485 (ert--plist-difference-explanation, ert-select-tests)
5486 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5487 Use cl-lib functions rather than reimplementations.
5489 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5491 * net/tramp.el (tramp-methods): Extend docstring.
5492 (tramp-connection-timeout): New defcustom.
5493 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5494 (with-tramp-progress-reporter): Simplify.
5495 (tramp-process-actions): Improve messages.
5497 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5498 * net/tramp-sh.el (tramp-maybe-open-connection):
5499 Use `tramp-connection-timeout'.
5500 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5503 2013-07-11 Leo Liu <sdl.web@gmail.com>
5505 * ido.el (ido-read-file-name): Conform to the requirements of
5506 read-file-name. (Bug#11861)
5507 (ido-read-directory-name): Conform to the requirements of
5508 read-directory-name.
5510 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5512 * subr.el (delay-warning): New function.
5514 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5516 * simple.el (default-line-height): New function.
5517 (line-move-partial, line-move): Use it instead of computing the
5519 (line-move-partial): Always compute ROWH. If the last line is
5520 partially-visible, but its text is completely visible, allow
5521 cursor to enter such a partially-visible line.
5523 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5525 Improve error messages. (Bug#14808)
5527 * net/tramp.el (tramp-current-connection): New defvar, moved from
5529 (tramp-message-show-progress-reporter-message): Remove, not
5531 (tramp-error-with-buffer): Show message in minibuffer.
5532 Discard input before waiting. Reset connection timestamp.
5533 (with-tramp-progress-reporter): Improve messages.
5534 (tramp-process-actions): Use progress reporter. Delete process in
5535 case of error. Improve messages.
5537 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5538 Call `tramp-error-with-buffer' with vector and buffer.
5539 (tramp-current-connection): Remove.
5540 (tramp-maybe-open-connection): The car of
5541 `tramp-current-connection' are the first 3 slots of the vector.
5543 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5545 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5546 inside continued strings.
5548 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5550 Timestamp fixes for undo (Bug#14824).
5551 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5553 2013-07-10 Leo Liu <sdl.web@gmail.com>
5555 * files.el (require-final-newline): Allow safe local value.
5558 2013-07-09 Leo Liu <sdl.web@gmail.com>
5560 * ido.el (ido-read-directory-name): Handle fallback.
5561 (ido-read-file-name): Update DIR to ido-current-directory.
5563 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5565 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5567 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5568 "autoload". Remove "warn lower camel case" section, previously
5569 commented out. Highlight negation char. Do not highlight the
5570 target in singleton method definitions.
5572 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5574 * faces.el (tty-setup-hook): Declare the hook.
5576 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5577 and detect when a guard/pred depends on local vars (bug#14773).
5578 (pcase--u1): Adjust caller.
5580 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5582 * simple.el (line-move-partial, line-move): Account for
5584 (line-move-partial): Avoid setting vscroll when the last
5585 partially-visible line in window is of default height.
5587 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5589 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5592 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5594 * subr.el (read-quoted-char): Remove unused local variable `char'.
5596 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5598 * ediff.el (ediff-version): Version update.
5599 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5600 (ediff-merge-with-ancestor-command, ediff-directories-command)
5601 (ediff-directories3-command, ediff-merge-directories-command)
5602 (ediff-merge-directories-with-ancestor-command): New functions.
5603 All are command-line interfaces to ediff: to facilitate calling
5604 Emacs with the appropriate ediff functions invoked.
5606 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5607 (viper-save-kill-buffer): Check if buffer is modified.
5609 * viper.el (viper-version): Version update.
5610 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5612 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5614 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5615 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5616 (viper-intercept-ESC-key): Simplify.
5617 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5618 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5619 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5620 (viper-setup-ESC-to-escape): New functions.
5621 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5622 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5624 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5626 * simple.el (default-font-height, window-screen-lines):
5628 (line-move, line-move-partial): Use them instead of
5629 frame-char-height and window-text-height. This makes scrolling
5630 text smoother when the buffer's default face uses a font that is
5631 different from the frame's default font.
5633 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5635 * files.el (write-file): Do not display confirm dialog for NS,
5636 it does its own dialog, which can't be cancelled (Bug#14578).
5638 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5640 * simple.el (line-move-partial): Adjust the row returned by
5641 posn-at-point for the current window-vscroll. (Bug#14567)
5643 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5645 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5646 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5649 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5651 * window.el (window-state-put-stale-windows): New variable.
5652 (window--state-put-2): Save list of windows without matching buffer.
5653 (window-state-put): Remove "bufferless" windows if possible.
5655 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5657 * simple.el (alternatives-define): Remove leftover :group keyword.
5660 2013-07-06 Leo Liu <sdl.web@gmail.com>
5662 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5663 (ido-enable-virtual-buffers): New variable.
5664 (ido-buffer-internal, ido-toggle-virtual-buffers)
5665 (ido-make-buffer-list): Use it.
5666 (ido-exhibit): Support turning on and off virtual buffers
5669 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5671 * simple.el (alternatives-define): New macro.
5673 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5675 * subr.el (read-quoted-char): Use read-key.
5676 (sit-for): Let read-event decode tty input (bug#14782).
5678 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5680 * calendar/todo-mode.el: Add handling of file deletion, both by
5681 mode command and externally. Fix various related bugs.
5682 Clarify Commentary and improve some documentation strings and code.
5683 (todo-delete-file): New command.
5684 (todo-check-file): New function.
5685 (todo-show): Handle external deletion of the file we're trying to
5686 show (bug#14688). Replace called-interactively-p by an optional
5687 prefix argument to avoid problematic interaction with catch form
5688 when byte compiled (bug#14702).
5689 (todo-quit): Handle external deletion of the archive's todo file.
5690 Make sure the buffer that was visiting the archive file is still
5691 live before trying to bury it.
5692 (todo-category-completions): Handle external deletion of any
5693 category completion files.
5694 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5695 of todo files, in case of external deletion.
5696 (todo-add-file): Replace unnecessary setq by let-binding.
5697 (todo-find-archive): Check whether there are any archives.
5698 Replace unnecessary setq by let-binding.
5699 (todo-archive-done-item): Use find-file-noselect to get the
5700 archive buffer whether or not the archive already exists.
5701 Remove superfluous code. Use file size instead of buffer-file-name to
5702 check if the archive is new; if it is, update list of archives.
5703 (todo-default-todo-file): Allow nil to be a valid value for when
5704 there are no todo files.
5705 (todo-reevaluate-default-file-defcustom): Use corrected definition
5706 of todo-default-todo-file.
5707 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5708 (todo-delete-category, todo-show-categories-table)
5709 (todo-category-number): Clarify comment.
5710 (todo-filter-items): Clarify documentation string.
5711 (todo-show-current-file, todo-display-as-todo-file)
5712 (todo-reset-and-enable-done-separator): Tweak documentation string.
5713 (todo-done-separator): Make separator length window-width, since
5714 bug#2749 is now fixed.
5716 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5718 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5719 Support both "gvfs-monitor-dir" and "inotifywait".
5720 (tramp-sh-file-inotifywait-process-filter): Rename from
5721 `tramp-sh-file-notify-process-filter'.
5722 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5723 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5725 2013-07-05 Leo Liu <sdl.web@gmail.com>
5727 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5729 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5731 * frame.el (display-pixel-height, display-pixel-width)
5732 (display-mm-height, display-mm-width): Mention behavior on
5733 multi-monitor setups in docstrings.
5734 (w32-display-monitor-attributes-list): Declare function.
5735 (display-monitor-attributes-list): Use it.
5737 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5739 * filenotify.el: New package.
5741 * autorevert.el (top): Require filenotify.el.
5742 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5744 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5745 (auto-revert-notify-handler): Use `file-notify-*' functions.
5747 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5749 * net/tramp.el (tramp-file-name-for-operation):
5750 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5752 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5753 for `file-notify-add-watch' and `file-notify-rm-watch'.
5754 (tramp-process-sentinel): Improve trace.
5755 (tramp-sh-handle-file-notify-add-watch)
5756 (tramp-sh-file-notify-process-filter)
5757 (tramp-sh-handle-file-notify-rm-watch)
5758 (tramp-get-remote-inotifywait): New defuns.
5760 2013-07-03 Juri Linkov <juri@jurta.org>
5762 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5763 call of `occur-read-primary-args' to interactive spec.
5765 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5766 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5768 2013-07-03 Matthias Meulien <orontee@gmail.com>
5770 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5771 `Buffer-menu-multi-occur'. Add it to the menu.
5772 (Buffer-menu-mode): Document it in docstring.
5773 (Buffer-menu-multi-occur): New command. (Bug#14673)
5775 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5777 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5778 keywords and built-ins.
5780 2013-07-03 Glenn Morris <rgm@gnu.org>
5782 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5784 Make info-xref checks case-sensitive by default
5785 * info.el (Info-find-node, Info-find-in-tag-table)
5786 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5787 Add option for exact case matching of nodes.
5788 * info-xref.el (info-xref): New custom group.
5789 (info-xref-case-fold): New option.
5790 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5792 2013-07-03 Leo Liu <sdl.web@gmail.com>
5794 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5796 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5798 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5799 middle of block statement initially, lower the depth. Remove
5800 FIXME comment, not longer valid. Remove middle of block statement
5801 detection, no need to do that anymore since we've been using
5802 `ruby-parse-region' here.
5804 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5806 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5808 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5810 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5812 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5814 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5815 (desktop-restore-in-current-display): New customization option.
5816 (desktop--excluded-frame-parameters): Add `font'.
5817 (desktop--save-frames): Rename from desktop--save-windows.
5818 (desktop--restore-in-this-display-p): New function.
5819 (desktop--make-full-frame): Remove unwanted width/height from
5820 full(width|height) frames.
5821 (desktop--restore-frames): Rename from desktop--restore-windows.
5822 Obey desktop-restore-current-display. Do not delete old frames or
5823 select a new frame unless we were able to restore at least one frame.
5825 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5827 * files.el (find-file-noselect): Simplify conditional expression.
5829 * remember.el (remember-append-to-file):
5830 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5832 Add `remember-notes' function to store random notes across Emacs
5834 * remember.el (remember-data-file): Add :set callback to affect
5835 notes buffer (if any).
5836 (remember-notes): New command.
5837 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5838 New defcustoms for the `remember-notes' function.
5839 (remember-notes-save-and-bury-buffer): New command.
5840 (remember-notes-mode-map): New variable.
5841 (remember-mode): New minor mode.
5842 (remember-notes--kill-buffer-query): New function.
5843 * startup.el (initial-buffer-choice): Add notes to custom type.
5845 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5847 * bindings.el (right-char, left-char): Don't call sit-for, this is
5848 no longer needed. Use arithmetic comparison only for numerical
5851 * international/mule-cmds.el (select-safe-coding-system):
5852 Handle the case of FROM being a string correctly. (Bug#14755)
5854 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5857 progression on degenerate tables.
5858 (shr-rescale-image): ImageMagick animated images currently don't work.
5860 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5862 Some fixes and improvements for desktop frame restoration.
5863 It is still experimental and disabled by default.
5864 * desktop.el (desktop--save-windows): Put the selected frame at
5865 the head of the list.
5866 (desktop--make-full-frame): New function.
5867 (desktop--restore-windows): Try to re-select the frame that was
5868 selected upon saving. Do not abort if some frames fail to restore,
5869 just show an error message and continue. Set up maximized frames
5870 so they have default non-maximized dimensions.
5872 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5874 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5875 Don't start heredoc inside a string or comment.
5877 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5879 * bindings.el (visual-order-cursor-movement): New defcustom.
5880 (right-char, left-char): Provide visual-order cursor motion by
5881 calling move-point-visually. Update the doc strings.
5883 2013-06-28 Kenichi Handa <handa@gnu.org>
5885 * international/mule.el (define-coding-system): New coding system
5886 properties :inhibit-null-byte-detection,
5887 :inhibit-iso-escape-detection, and :prefer-utf-8.
5888 (set-buffer-file-coding-system): If :charset-list property of
5889 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5890 appropriate for setting.
5892 * international/mule-cmds.el (select-safe-coding-system):
5893 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5894 multibyte characters, return utf-8 (or one of its siblings).
5896 * international/mule-conf.el (prefer-utf-8): New coding system.
5897 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5900 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5902 * net/shr.el (shr-render-region): New function.
5904 * net/eww.el: Autoload `eww-browse-url'.
5906 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5908 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5909 Adapt to `package-desc-version' being a list.
5910 Use `package--ac-desc-version' to retrieve version from a package
5913 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5915 New experimental feature to save&restore window and frame setup.
5916 * desktop.el (desktop-save-windows): New defcustom.
5917 (desktop--saved-states): New var.
5918 (desktop--excluded-frame-parameters): New defconst.
5919 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5920 (desktop--restore-windows, desktop--save-windows): New functions.
5921 (desktop-save): Call `desktop--save-windows'.
5922 (desktop-read): Call `desktop--restore-windows'.
5924 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5926 * net/shr.el (add-face-text-property): Remove compat definition.
5928 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5930 * info.el (Info-try-follow-nearest-node): Move search for footnote
5931 above search for node name to prevent missing a footnote (bug#14717).
5933 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5935 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5937 2013-06-27 Leo Liu <sdl.web@gmail.com>
5939 * net/eww.el (eww-read-bookmarks): Check file size.
5941 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5943 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5944 advice--pending if newdef is nil or an autoload (bug#13820).
5945 (advice-mapc): New function.
5947 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5949 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5951 (eww-mode-map): Add a menu bar.
5952 (eww-add-bookmark): New command.
5953 (eww-bookmark-mode): New mode and commands.
5954 (eww-add-bookmark): Remove newlines from the title.
5955 (eww-bookmark-browse): Don't bug out if it's the only window.
5957 2013-06-26 Glenn Morris <rgm@gnu.org>
5959 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5960 (hfy-size): Handle ttys. (Bug#14668)
5962 * info-xref.el: Update for Texinfo 5 change in *note format.
5963 (info-xref-node-re, info-xref-note-re): New constants.
5964 (info-xref-check-buffer): Use info-xref-note-re.
5966 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5968 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5970 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5971 nil terminate the loop (bug#14718).
5973 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5975 * net/eww.el: Rework history traversal. When going forward/back,
5976 put these actions into the history, too, so that they can be
5978 (eww-render): Move the history reset to the correct buffer.
5980 2013-06-25 Juri Linkov <juri@jurta.org>
5982 * files-x.el (modify-dir-local-variable): Change the header comment
5983 in the file with directory local variables. (Bug#14692)
5985 * files-x.el (read-file-local-variable-value): Add `default'.
5988 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5990 * net/eww.el (eww-make-unique-file-name): Create a unique file
5991 name before saving to entering `y' accidentally asynchronously.
5993 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5995 * net/eww.el (eww-download): New command and keystroke.
5997 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5999 * net/eww.el (eww-copy-page-url): Change name of command.
6001 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6002 be more consistent with Info and dired.
6004 * net/eww.el (eww-mode-map): Ditto.
6006 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6009 packages from archives.
6010 (package-archive-contents): Change format; include obsolete packages.
6011 (package-desc): Use `dir' to mark builtin packages.
6012 (package--from-builtin): Set the `dir' field to `builtin'.
6013 (generated-autoload-file, version-control): Declare.
6014 (package-compute-transaction): Change first arg and return value to be
6015 lists of package-descs. Adjust to new package-archive-contents format.
6016 (package--add-to-archive-contents): Adjust to new
6017 package-archive-contents format.
6018 (package-download-transaction): Arg is now a list of package-descs.
6019 (package-install): If `pkg' is a package name, pass it as
6020 a requirement, so it is subject to the usual (e.g. disabled) checks.
6021 (describe-package): Accept package-desc as well.
6022 (describe-package-1): Describe a specific package-desc. Add links to
6023 other package-descs for the same package name.
6024 (package-menu-describe-package): Pass the actual package-desc.
6025 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6027 (package-desc-status): New function.
6028 (package-menu--refresh): New function, extracted
6029 from package-menu--generate.
6030 (package-menu--generate): Use it.
6031 (package-delete): Update package-alist.
6032 (package-menu-execute): Don't call package-initialize.
6034 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6035 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6036 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6037 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6038 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6039 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6041 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6043 * window.el (window--state-get-1): Workaround for bug#14527.
6044 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6046 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6048 * net/eww.el (eww-back-url): Implement the history by stashing all
6049 the data into a list.
6050 (eww-forward-url): Allow going forward in the history, too.
6052 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6055 for values and use read--expression for expressions (bug#14710).
6056 (read-file-local-variable): Avoid setq.
6057 (read-file-local-variable-mode): Use minor-mode-list.
6059 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6061 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6064 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6066 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6067 Update imenu-support when dialect changes.
6069 2013-06-25 Leo Liu <sdl.web@gmail.com>
6071 * ido.el (ido-read-internal): Allow forward slash on windows.
6073 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6075 * net/eww.el (eww): Start of strings is \\`, not ^.
6077 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6079 * net/shr.el (shr-browse-url): Fix interactive spec.
6081 * net/eww.el (eww): Add a trailing slash to domain names.
6083 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6085 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6087 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089 * net/shr.el (shr-browse-url): Use an external browser if given a
6092 * net/eww.el (eww-external-browser): Move to shr.
6094 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6096 * net/eww.el (eww): Work more correctly for file: URLs.
6097 (eww-detect-charset): Allow quoted charsets.
6098 (eww-yank-page-url): New command and keystroke.
6100 2013-06-24 Daiki Ueno <ueno@gnu.org>
6102 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6103 file name of gpg executable.
6104 (epg-context-program): New function.
6105 (epg-context-home-directory): New function.
6106 (epg-context-set-program): New function.
6107 (epg-context-set-home-directory): New function.
6108 (epg--start): Use `epg-context-program' instead of
6110 (epg--list-keys-1): Likewise.
6112 2013-06-24 Leo Liu <sdl.web@gmail.com>
6114 * ido.el (ido-read-internal): Fix bug#14620.
6116 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6118 * faces.el (face-documentation): Simplify.
6119 (read-face-attribute, tty-find-type, x-resolve-font-name):
6120 Use `string-match-p'.
6121 (list-faces-display): Use `string-match-p'. Simplify.
6122 (face-spec-recalc): Check face to avoid face alias loops.
6123 (read-color): Use `string-match-p' and non-capturing parenthesis.
6125 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6127 * net/shr.el (shr-rescale-image): Use the new
6128 :max-width/:max-height functionality.
6130 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6132 * net/eww.el (eww-search-prefix): New variable.
6134 (eww-external-browser): New variable.
6135 (eww-mode-map): New keystroke.
6136 (eww-browse-with-external-browser): New command.
6138 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6140 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6142 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6143 Don't skip aligning the next header field when padding is 0;
6144 otherwise, field width is not respected unless the title is as
6147 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6149 * emacs-lisp/package.el (package-el-version): Remove.
6150 (package-process-define-package): Fix inf-loop.
6151 (package-install): Allow symbols as arguments again.
6153 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6156 add some more keyword-like methods.
6157 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6159 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6161 * bs.el (bs-buffer-show-mark): Make defvar-local.
6162 (bs-mode): Use setq-local.
6164 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6165 (emacs-lock--try-unlocking): Make defvar-local.
6167 2013-06-22 Glenn Morris <rgm@gnu.org>
6169 * play/cookie1.el (cookie-apropos): Minor simplification.
6171 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6173 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6175 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6176 `regexp-opt', it breaks the build during dumping.
6178 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6180 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6181 Highlight keyword-like methods on Kernel and Module with
6182 font-lock-builtin-face.
6183 (auto-mode-alist): Consolidate different entries into one regexp
6184 and add more *file-s.
6186 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6188 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6190 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6191 (diary-entry): Use it in the action of this button type instead of
6194 * calendar/todo-mode.el: New version.
6195 (todo-add-category): Append new category to end of file and give
6196 it the highest number, instead of putting it at the beginning and
6197 giving it 0. Incorporate noninteractive functionality.
6198 (todo-forward-category): Adapt to 1-based category numbering.
6199 Allow skipping over archived categories.
6200 (todo-backward-category): Derive from todo-forward-category.
6201 (todo-backward-item, todo-forward-item): Make noninteractive and
6202 delegate interactive part to new commands. Make sensitive to done items.
6203 (todo-categories): Make value an alist of category names and
6204 vectors of item counts.
6205 (todo-category-beg): Make a defconst.
6206 (todo-category-number): Use 1 instead of 0 as initial value.
6207 (todo-category-select): Make sensitive to overlays, optional item
6208 highlighting and done items.
6209 (todo-delete-item): Make sensitive to overlays and marked and done items.
6210 (todo-edit-item): Make sensitive to overlays and editing of
6211 date/time header optional. Add format checks.
6212 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6213 no-op if point is not on an item. Advertise using todo-edit-quit.
6214 (todo-edit-mode): Make sensitive to new format, font-locking, and
6215 multiple todo files.
6216 (todo-insert-item, todo-insert-item-here): Derive from
6217 todo-basic-insert-item and extend functionality.
6218 (todo-item-end, todo-item-start): Make sensitive to done items.
6219 (todo-item-string): Don't return text properties. Restore point.
6220 (todo-jump-to-category): Make sensitive to multiple todo files and
6221 todo archives. Use extended category completion.
6222 (todo-lower-item, todo-raise-item): Rename to *-priority and
6223 derive from todo-set-item-priority.
6224 (todo-mode): Derive from special-mode. Make sensitive to new
6225 format, font-locking and multiple todo files. Make read-only.
6226 (todo-mode-map): Don't suppress digit keys, so they can supply
6227 prefix arguments. Add many new key bindings.
6228 (todo-prefix): Insert as an overlay instead of file text.
6229 Change semantics from diary date expression to purely visual mark.
6230 (todo-print): Rename to todo-print-buffer. Make buffer display
6231 features printable. Remove option to restrict number of items
6232 printed. Add option to print to file.
6233 (todo-print-function): Rename to todo-print-buffer-function.
6234 (todo-quit): Extend to handle exiting new todo modes.
6235 (todo-remove-item): Make sensitive to overlays.
6236 (todo-save): Extend to buffers of filtered items.
6237 (todo-show): Make sensitive to done items, multiple todo files and
6238 new todo modes. Offer to convert legacy todo file before creating
6239 first new todo file.
6240 (todo-show-priorities): Rename to todo-top-priorities.
6241 Change semantics of value 0.
6242 (todo-top-priorities): Rename to todo-filter-top-priorities,
6243 derive from todo-filter-items and extend functionality.
6244 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6245 and extend functionality to other types of filtered items.
6246 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6247 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6248 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6249 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6250 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6251 (todo-edit-mode-hook, todo-entry-prefix-function)
6252 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6253 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6254 (todo-initials, todo-insert-threshold, todo-item-string-start)
6255 (todo-line-string, todo-menu, todo-mode-hook)
6256 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6257 (todo-print-priorities, todo-remove-separator)
6258 (todo-save-top-priorities-too, todo-string-count-lines)
6259 (todo-string-multiline-p, todo-time-string-format)
6260 (todo-tmp-buffer-name): Remove.
6261 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6262 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6263 (todo-edit-category-diary-inclusion)
6264 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6265 (todo-edit-file, todo-edit-item-date-day)
6266 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6267 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6268 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6269 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6270 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6271 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6272 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6273 (todo-filter-top-priorities-multifile, todo-find-archive)
6274 (todo-find-filtered-items-file, todo-go-to-source-item)
6275 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6276 (todo-jump-to-archive-category, todo-lower-category)
6277 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6278 (todo-move-category, todo-move-item, todo-next-button)
6279 (todo-next-item, todo-padded-string, todo-powerset)
6280 (todo-previous-button, todo-previous-item)
6281 (todo-print-buffer-to-file, todo-raise-category)
6282 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6283 (todo-set-category-number, todo-set-item-priority)
6284 (todo-set-top-priorities-in-category)
6285 (todo-set-top-priorities-in-file, todo-show-categories-table)
6286 (todo-sort-categories-alphabetically-or-numerically)
6287 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6288 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6289 (todo-toggle-item-header, todo-toggle-item-highlighting)
6290 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6291 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6292 (todo-unarchive-items, todo-unmark-category): New commands.
6293 (todo-absolute-file-name, todo-add-to-buffer-list)
6294 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6295 (todo-basic-insert-item, todo-category-completions)
6296 (todo-category-number, todo-category-string-matcher-1)
6297 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6298 (todo-check-format, todo-clear-matches)
6299 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6300 (todo-current-category, todo-date-string-matcher)
6301 (todo-define-insertion-command, todo-diary-expired-matcher)
6302 (todo-diary-goto-entry, todo-diary-item-p)
6303 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6304 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6305 (todo-done-item-section-p, todo-done-separator)
6306 (todo-done-string-matcher, todo-files, todo-filter-items)
6307 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6308 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6309 (todo-insert-category-line, todo-insert-item-from-calendar)
6310 (todo-insert-sort-button, todo-insert-with-overlays)
6311 (todo-insertion-command-name, todo-insertion-key-bindings)
6312 (todo-label-to-key, todo-longest-category-name-length)
6313 (todo-make-categories-list, todo-mode-external-set)
6314 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6315 (todo-modes-set-3, todo-multiple-filter-files)
6316 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6317 (todo-read-category, todo-read-date, todo-read-dayname)
6318 (todo-read-file-name, todo-read-time)
6319 (todo-reevaluate-category-completions-files-defcustom)
6320 (todo-reevaluate-default-file-defcustom)
6321 (todo-reevaluate-filelist-defcustoms)
6322 (todo-reevaluate-filter-files-defcustom)
6323 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6324 (todo-reset-done-separator, todo-reset-done-separator-string)
6325 (todo-reset-done-string, todo-reset-global-current-todo-file)
6326 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6327 (todo-reset-prefix, todo-set-categories)
6328 (todo-set-date-from-calendar, todo-set-show-current-file)
6329 (todo-set-top-priorities, todo-short-file-name)
6330 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6331 (todo-total-item-counts, todo-update-buffer-list)
6332 (todo-update-categories-display, todo-update-categories-sexp)
6333 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6335 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6337 (todo-categories, todo-display, todo-edit, todo-faces)
6338 (todo-filtered): New defgroups.
6339 (todo-archived-only, todo-button, todo-category-string, todo-date)
6340 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6341 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6342 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6343 (todo-add-item-if-new-category, todo-always-add-time-string)
6344 (todo-categories-align, todo-categories-archived-label)
6345 (todo-categories-category-label, todo-categories-diary-label)
6346 (todo-categories-done-label, todo-categories-number-separator)
6347 (todo-categories-todo-label, todo-categories-totals-label)
6348 (todo-category-completions-files, todo-completion-ignore-case)
6349 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6350 (todo-done-separator-string, todo-done-string)
6351 (todo-files-function, todo-filter-done-items, todo-filter-files)
6352 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6353 (todo-initial-category, todo-initial-file, todo-item-mark)
6354 (todo-legacy-date-time-regexp, todo-mode-line-function)
6355 (todo-nondiary-marker, todo-number-prefix)
6356 (todo-print-buffer-function, todo-show-current-file)
6357 (todo-show-done-only, todo-show-first, todo-show-with-done)
6358 (todo-skip-archived-categories, todo-top-priorities-overrides)
6359 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6360 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6362 (todo-category-done, todo-date-pattern, todo-date-string-start)
6363 (todo-diary-items-buffer, todo-done-string-start)
6364 (todo-filtered-items-buffer, todo-item-start)
6365 (todo-month-abbrev-array, todo-month-name-array)
6366 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6367 (todo-top-priorities-buffer): New defconsts.
6368 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6369 (todo-categories-with-marks, todo-category-string-face)
6370 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6371 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6372 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6373 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6374 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6375 (todo-font-lock-keywords, todo-global-current-todo-file)
6376 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6377 (todo-insertion-commands-args)
6378 (todo-insertion-commands-args-genlist)
6379 (todo-insertion-commands-names, todo-insertion-map)
6380 (todo-key-bindings-t, todo-key-bindings-t+a)
6381 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6382 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6383 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6384 (todo-visited): New variables.
6386 2013-06-21 Glenn Morris <rgm@gnu.org>
6388 * play/cookie1.el (cookie-apropos): Add optional display argument.
6389 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6390 (psychoanalyze-pinhead): Use cookie-doctor.
6392 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6394 * emacs-lisp/package.el (tar-get-file-descriptor)
6395 (tar--extract): Declare.
6397 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6399 Extend flymake's warning predicate to be a function (bug#14217).
6400 * progmodes/flymake.el (flymake-warning-predicate): New.
6401 (flymake-parse-line): Use it.
6402 (flymake-warning-re): Make obsolete alias to
6403 `flymake-warning-predicate'.
6405 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6408 (package-obsolete-list): Remove.
6409 (package-activate): Remove min-version argument. Add `force' argument.
6410 Adjust to new package-alist format.
6411 (package-mark-obsolete): Remove.
6412 (package-unpack): Force reload of the package's autoloads.
6413 (package-installed-p): Check builtins if the installed package is not
6415 (package-initialize): Don't reset package-obsolete-list.
6416 Don't specify which package version to activate.
6417 (package-process-define-package, describe-package-1)
6418 (package-menu--generate): Adjust to new package-alist format.
6420 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6422 * allout-widgets.el (allout-widgets-mode-off)
6423 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6424 (allout-widgets-post-command-business)
6425 (allout-widgets-after-copy-or-kill-function)
6426 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6427 (allout-decorate-item-and-context)
6428 (allout-graphics-modification-handler): Fix typos in docstrings.
6429 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6431 * cmuscheme.el (scheme-start-file): Doc fix.
6432 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6433 (scheme-input-filter): Use `string-match-p'.
6435 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6437 * dired-x.el: Use Dired consistently in docstrings.
6439 * dired.el: Use Dired consistently in docstrings.
6440 (dired-readin, dired-mode): Use `setq-local'.
6441 (dired-switches-alist): Make defvar-local.
6442 (dired-buffers-for-dir): Use `zerop'.
6443 (dired-safe-switches-p, dired-switches-escape-p)
6444 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6445 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6446 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6447 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6448 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6449 (dired-toggle-marks, dired-mark-files-containing-regexp)
6450 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6451 (dired-flag-auto-save-files, dired-flag-backup-files):
6453 (dired-mark-files-regexp, dired-build-subdir-alist):
6454 Use `string-match-p', `looking-at-p'.
6456 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6457 (direct-print-region-helper): Use `string-match-p'.
6459 2013-06-21 Leo Liu <sdl.web@gmail.com>
6461 * comint.el (comint-redirect-results-list-from-process):
6464 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6466 * net/eww.el (eww-update-header-line-format): Quote % characters.
6468 2013-06-21 Glenn Morris <rgm@gnu.org>
6470 * play/cookie1.el (cookie): New custom group.
6471 (cookie-file): New option.
6472 (cookie-check-file): New function.
6473 (cookie): Make it interactive. Make start and end messages optional.
6474 Interactively, display the result. Default to cookie-file.
6475 (cookie-insert): Default to cookie-file.
6476 (cookie-snarf): Make start and end messages optional.
6477 Default to cookie-file. Use with-temp-buffer.
6478 (cookie-read): Rename from read-cookie.
6479 Make start and end messages optional. Default to cookie-file.
6480 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6482 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6483 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6485 2013-06-21 Leo Liu <sdl.web@gmail.com>
6487 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6489 2013-06-21 Glenn Morris <rgm@gnu.org>
6491 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6493 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6494 Daniel Hackney <dan@haxney.org>
6496 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6497 Consolidate the single-file vs tarball code.
6498 (package-desc-suffix): New function.
6499 (package-desc-full-name): Don't bother inlining it.
6500 (package-load-descriptor): Return the new package-desc.
6501 (package-mark-obsolete): Remove unused arg `package'.
6502 (package-unpack): Make it work for single files as well.
6503 Make it update package-alist.
6504 (package--make-autoloads-and-stuff): Rename from
6505 package--make-autoloads-and-compile. Don't compile any more.
6506 (package--compile): New function.
6507 (package-generate-description-file): New function, extracted from
6508 package-unpack-single.
6509 (package-unpack-single): Remove.
6510 (package--with-work-buffer): Add indentation and debugging info.
6511 (package-download-single): Remove.
6512 (package-install-from-archive): Rename from package-download-tar, make
6513 it take a pkg-desc, and make it work for single files as well.
6514 (package-download-transaction): Simplify.
6515 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6516 external tar program.
6517 (package-install-from-buffer): Remove `pkg-desc' argument.
6518 Use package-tar-file-info for tar-mode buffers.
6519 (package-install-file): Simplify accordingly.
6520 (package-archive-base): Change to take a pkg-desc.
6521 * tar-mode.el (tar--check-descriptor): New function, extracted from
6523 (tar-get-descriptor): Use it.
6524 (tar-get-file-descriptor): New function.
6525 (tar--extract): New function, extracted from tar-extract.
6526 (tar--extract): Use it.
6527 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6528 case the summary uses non-ascii. Adjust to new calling convention of
6529 package-tar-file-info.
6531 2013-06-21 Leo Liu <sdl.web@gmail.com>
6533 * comint.el (comint-redirect-results-list-from-process):
6534 Fix random delay. (Bug#14681)
6536 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6538 * profiler.el (profiler-format-number): Use log, not log10.
6540 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6542 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6544 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6547 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6549 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6550 (AUTOGENEL): ... here.
6551 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6552 (cl--defsubst-expand): Use it.
6554 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6556 * subr.el (log10): Move here from C code, and declare as obsolete.
6557 All uses of (log10 X) replaced with (log X 10).
6559 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6561 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6562 Declare with `defvar-local'.
6563 (tabulated-list-use-header-line, tabulated-list-entries)
6564 (tabulated-list-padding, tabulated-list-printer)
6565 (tabulated-list-sort-key): Declare with `defvar-local'.
6566 (tabulated-list-init-header, tabulated-list-print-fake-header):
6569 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6571 * arc-mode.el (archive-mode): Add `archive-write-file' to
6572 `write-contents-functions' also for remote files. (Bug#14652)
6574 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6576 * cus-edit.el (custom-commands): Fix typos.
6577 (custom-display): Fix tooltip text.
6578 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6579 Fix typos in docstrings.
6580 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6581 (custom-unlispify-menu-entry, custom-magic-value-create)
6582 (custom-add-see-also, custom-group-value-create): Use ?\s.
6583 (custom-guess-type, customize-apropos, editable-field)
6584 (custom-face-value-create): Use `string-match-p'.
6585 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6587 * custom.el (custom-load-symbol): Use `string-match-p'.
6589 * ansi-color.el: Convert to lexical binding.
6590 (ansi-colors): Fix URL.
6591 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6592 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6593 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6595 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6597 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6599 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6601 2013-06-19 Tom Tromey <tromey@redhat.com>
6603 * net/eww.el (eww-top-url): Remove.
6604 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6605 (eww-render): Set new variables. Don't set eww-top-url.
6606 (eww-handle-link): Handle "prev", "home", and "contents".
6607 Downcase the rel text.
6608 (eww-top-url): Choose best top URL.
6610 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6612 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6613 relying in widget.el. Using widget.el leads to too many
6614 user interface inconsistencies.
6615 (eww-self-insert): Implement entering commands in text fields.
6616 (eww-process-text-input): New function to make text input field editing
6618 (eww-submit): Rewrite to use the new-style form methods.
6619 (eww-select-display): Display the correct selected item.
6620 (eww-change-select): Implement changing the select value.
6621 (eww-toggle-checkbox): Implement radio/checkboxes.
6622 (eww-update-field): Fix compilation error.
6623 (eww-tag-textarea): Implement <textarea>.
6625 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6626 we don't shadow mode-specific bindings.
6628 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6631 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6633 2013-06-19 Glenn Morris <rgm@gnu.org>
6635 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6637 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6639 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6642 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6644 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6646 * net/browse-url.el (browse-url-browser-function):
6647 `eww-browse-url' has the right calling signature, `eww' does not.
6649 2013-06-19 Glenn Morris <rgm@gnu.org>
6651 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6652 Only eval autoloaded macros.
6653 (byte-compile-autoload): Only give the macro warning for macros.
6655 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6656 (ps-underlined-faces): Declare.
6658 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6659 (speedbar-add-supported-extension): Declare.
6661 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6662 Don't include a date stamp in the header of the generated file;
6663 it leads to needless differences between output files.
6665 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6667 * net/secrets.el (secrets-struct-secret-content-type):
6668 Replace check of introspection data by a test call of "CreateItem".
6669 Some servers do not offer introspection.
6671 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6673 * electric.el (electric-pair-mode): Improve interaction with
6674 electric-layout-mode.
6675 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6676 (electric-pair-syntax): Use text-mode-syntax-table in comments
6678 (electric-pair--insert): New function.
6679 (electric-pair-post-self-insert-function): Use it and
6680 electric--after-char-pos.
6682 2013-06-19 Leo Liu <sdl.web@gmail.com>
6684 * progmodes/octave.el (octave-help): Fix regexp.
6686 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6688 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6689 (shr-table-horizontal-line): Allow nil as a value, and change the
6691 (shr-insert-table-ruler): Respect the nil value.
6693 2013-06-18 Tom Tromey <tromey@barimba>
6695 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6697 (eww-open-file): New defun.
6698 (eww-render): Initialize new variables.
6699 (eww-display-html): Handle "link" and "a".
6700 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6701 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6702 (eww-back-url): Rename from eww-previous-url.
6703 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6706 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6708 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6709 Distinguish ternary operator tokens from slash symbol and slash
6712 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6714 Convert symbol prettification into minor mode and global minor mode.
6716 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6717 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6718 (prettify-symbols--keywords): Rename from
6719 `prog-prettify-symbols-alist' and make a local defvar.
6720 (prettify-symbols--compose-symbol): Rename from
6721 `prog--prettify-font-lock-compose-symbol'.
6722 (prettify-symbols--make-keywords): Rename from
6723 `prog-prettify-font-lock-symbols-keywords' and simplify.
6724 (prog-prettify-install): Remove.
6725 (prettify-symbols-mode): New minor mode, based on
6726 `prog-prettify-install'.
6727 (turn-on-prettify-symbols-mode): New function.
6728 (global-prettify-symbols-mode): New globalized minor mode.
6730 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6731 * progmodes/cfengine.el (cfengine3-mode):
6732 * progmodes/perl-mode.el (perl-mode): Don't call
6733 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6735 2013-06-18 Juri Linkov <juri@jurta.org>
6737 * files-x.el (modify-file-local-variable-message): New function.
6738 (modify-file-local-variable)
6739 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6740 and call `modify-file-local-variable-message' when it's non-nil.
6741 (add-file-local-variable, delete-file-local-variable)
6742 (add-file-local-variable-prop-line)
6743 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6744 and use it. (Bug#9820)
6746 2013-06-18 Juri Linkov <juri@jurta.org>
6748 * emulation/vi.el (vi-shell-op):
6749 * emulation/vip.el (vip-execute-com, ex-command):
6750 * emulation/viper-cmd.el (viper-exec-bang):
6751 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6752 the call of `shell-command-on-region'. (Bug#14637)
6754 * simple.el (shell-command-on-region): Doc fix.
6756 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6761 2013-06-18 Glenn Morris <rgm@gnu.org>
6763 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6765 * newcomment.el (comment-search-forward, comment-search-backward):
6766 Doc fix. (Bug#14376)
6768 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6770 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6771 (buffer-face-mode-invoke): Doc fix.
6773 2013-06-18 Matthias Meulien <orontee@gmail.com>
6775 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6776 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6778 2013-06-18 Glenn Morris <rgm@gnu.org>
6780 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6781 Replace obsolete function generic-make-keywords with its expansion.
6783 * progmodes/python.el (ffap-alist): Declare.
6785 * textmodes/reftex.el (bibtex-mode-map): Declare.
6787 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6790 (package-unpack, package-unpack-single): Return the pkg-dir.
6791 (package-download-transaction): Use it to update package-alist.
6793 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6795 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6798 2013-06-17 Juri Linkov <juri@jurta.org>
6800 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6802 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6804 * emacs-lisp/package.el (package-load-descriptor):
6805 Remove `with-syntax-table' call, `read' doesn't need it.
6806 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6808 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6810 * startup.el (command-line): Expand package name returned by
6811 `package--description-file' (bug#14639).
6813 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6815 * emacs-lisp/package.el (package-load-descriptor): Do not call
6816 `emacs-lisp-mode', just use its syntax table.
6818 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6820 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6821 `font-lock-extra-managed-props' if any prettifying keyword is added.
6822 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6823 (prog-mode): Use `setq-local'.
6825 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6827 * international/characters.el (standard-case-table): Set syntax of ?»
6828 and ?« to punctuation.
6830 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6832 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6833 Save relevant match data before calling `syntax-ppss' (bug#14595).
6835 2013-06-15 Juri Linkov <juri@jurta.org>
6837 * files-x.el (modify-file-local-variable-prop-line): Add local
6838 variables to the end of the existing comment on the first line.
6839 Use `file-auto-mode-skip' to skip interpreter magic line,
6840 and also skip XML declaration.
6842 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * startup.el (package--builtin-versions): New var.
6845 (package-subdirectory-regexp): Remove.
6846 (package--description-file): Hard code its value instead.
6848 * emacs-lisp/package.el: Don't activate packages older than builtin.
6849 (package-obsolete-list): Rename from package-obsolete-alist, and make
6850 it into a simple list of package-desc.
6851 (package-strip-version): Remove.
6852 (package-built-in-p): Use package--builtin-versions.
6853 (package-mark-obsolete): Simplify.
6854 (package-process-define-package): Mark it obsolete if older than the
6856 (package-handle-response): Use line-end-position.
6857 (package-read-archive-contents, package--download-one-archive):
6859 (package--add-to-archive-contents): Skip if older than the builtin or
6861 (package-menu-describe-package): Fix last change.
6862 (package-list-unversioned): New var.
6863 (package-menu--generate): Use it.
6865 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6866 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6867 (autoload-builtin-package-versions): New variable.
6868 (autoload-generate-file-autoloads): Use them.
6869 Remove the list of autoloaded functions/macros from the
6870 (autoload...) comments.
6872 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6874 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6876 * simple.el (line-move-partial): Don't jump to the next screen
6877 line as soon as it becomes visible. Instead, continue enlarging
6878 the vscroll until the portion of a tall screen line that's left on
6879 display is about the height of the frame's default font.
6882 2013-06-15 Glenn Morris <rgm@gnu.org>
6884 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6885 compilation-error-regexp-alist void, or local while let-bound.
6887 * progmodes/make-mode.el (makefile-mode-syntax-table):
6888 Treat "=" as punctuation. (Bug#14614)
6890 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6892 * help-fns.el (describe-variable):
6893 Add extra line for permanent-local variables.
6895 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6897 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6898 Add export, import, library. (Bug#9164)
6899 (library): Set indent function.
6901 2013-06-14 Glenn Morris <rgm@gnu.org>
6903 * term/xterm.el (xterm--query):
6904 Stop after first matching handler. (Bug#14615)
6906 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6908 Add support for dired in saveplace.
6909 * dired.el (dired-initial-position-hook): New variable.
6910 (dired-initial-position): Call hook to place cursor position.
6911 * saveplace.el (save-place-to-alist): Add dired position.
6912 (save-place-dired-hook): New function.
6914 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6916 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6917 through a symbol rather than letrec.
6919 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6920 (package-desc): Add `dir' field.
6921 (package-desc-full-name): New function.
6922 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6923 (package-maybe-load-descriptor): Remove.
6924 (package-load-all-descriptors): Just call package-load-descriptor.
6925 (package--disabled-p): New function.
6926 (package-desc-vers, package-desc-doc): Remove aliases.
6927 (package--dir): Remove function.
6928 (package-activate): Check if a package is disabled.
6929 (package-process-define-package): New function, extracted from
6931 (define-package): Turn into a place holder.
6932 (package-unpack-single, package-tar-file-info):
6933 Use package--description-file.
6934 (package-compute-transaction): Use package--disabled-p.
6935 (package-download-transaction): Don't call
6936 package-maybe-load-descriptor since they're all loaded anyway.
6937 (package-install): Change argument to be a pkg-desc.
6938 (package-delete): Use a single pkg-desc argument.
6939 (describe-package-1): Use package-desc-dir instead of package--dir.
6940 Use package-desc property instead of package-symbol.
6941 (package-install-button-action): Adjust accordingly.
6942 (package--push): Rewrite.
6943 (package-menu--print-info): Adjust accordingly. Change the ID format
6945 (package-menu-describe-package, package-menu-get-status)
6946 (package-menu--find-upgrades, package-menu-mark-upgrades)
6947 (package-menu-execute, package-menu--name-predicate):
6949 * startup.el (package--description-file): New function.
6950 (command-line): Use it.
6951 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6952 Use package-desc-version.
6954 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6955 (byte-compile-preprocess): Use it.
6956 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6957 can't quite recognize.
6958 (byte-compile-add-to-list): Remove.
6959 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6960 (cconv-closure-convert): Add assertion.
6962 * emacs-lisp/map-ynp.el: Use lexical-binding.
6963 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6964 Factor out some repeated code.
6966 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * subr.el (with-eval-after-load): New macro.
6969 (eval-after-load): Allow form to be a function.
6970 take advantage of lexical-binding.
6971 (do-after-load-evaluation): Use dolist and adjust to new format.
6972 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6974 2013-06-13 Juri Linkov <juri@jurta.org>
6976 * replace.el (perform-replace): Display "symbol " and other search
6977 modes from `isearch-message-prefix' in the *Help* buffer.
6979 * isearch.el (isearch-query-replace): Add " symbol" and other
6980 possible search modes from `isearch-message-prefix' to the prompt.
6981 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6982 when reading a regexp to collect.
6984 2013-06-13 Juri Linkov <juri@jurta.org>
6986 * isearch.el (word-search-regexp): Match whitespace if the search
6987 string begins or ends in whitespace. The LAX arg is applied to
6988 both ends of the search string. Use `regexp-quote' and explicit
6989 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6990 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6991 boundaries are replaced with symbol boundaries, and characters
6992 between symbols match non-word non-symbol syntax. (Bug#14602)
6994 2013-06-13 Juri Linkov <juri@jurta.org>
6996 * isearch.el (isearch-del-char): Don't exceed the length of
6997 `isearch-string' by the prefix arg. (Bug#14563)
6999 2013-06-13 Juri Linkov <juri@jurta.org>
7001 * isearch.el (isearch-yank-word, isearch-yank-line)
7002 (isearch-char-by-name, isearch-quote-char)
7003 (isearch-printing-char, isearch-process-search-char):
7004 Add optional count prefix arg. (Bug#14563)
7006 * international/isearch-x.el
7007 (isearch-process-search-multibyte-characters):
7008 Add optional count prefix arg.
7010 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7012 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7013 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7016 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7018 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7020 2013-06-13 Glenn Morris <rgm@gnu.org>
7022 * startup.el (tty-handle-args):
7023 Don't just discard "--" and anything after. (Bug#14608)
7025 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7027 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7029 Implement changes in Secret Service API. Make it backward compatible.
7030 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7031 (secrets-create-item): Use it. Prefix properties with interface.
7033 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7035 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7036 (term-emulate-terminal): Respect term-suppress-hard-newline.
7038 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7040 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7041 Only remove a `thumb-file' overlay. (Bug#14548)
7043 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7045 * mail/reporter.el (reporter-submit-bug-report):
7046 Handle missing package-name. (Bug#14600)
7048 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7050 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7051 (reftex-citation-prompt, reftex-default-bibliography)
7052 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7053 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7054 (reftex-bib-sort-author, reftex-bib-sort-year)
7055 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7056 (reftex-extract-bib-entries-from-thebibliography)
7057 (reftex-get-bibkey-default, reftex-get-bib-names)
7058 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7059 (reftex-format-bib-entry, reftex-parse-bibitem)
7060 (reftex-format-bibitem, reftex-do-citation)
7061 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7062 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7063 (reftex-insert-bib-matches, reftex-format-citation)
7064 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7065 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7066 existing comments into docstrings.
7068 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7070 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7072 2013-06-12 Andreas Schwab <schwab@suse.de>
7074 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7075 for auto-save files.
7077 2013-06-12 Glenn Morris <rgm@gnu.org>
7079 * ido.el (ido-delete-ignored-files): Remove.
7080 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7081 Go back to calling ido-ignore-item-p directly.
7083 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7085 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7087 * ido.el (ido-delete-ignored-files): New function,
7088 split from ido-make-file-list-1.
7089 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7090 (ido-make-file-list-1): Use ido-delete-ignored-files.
7092 2013-06-12 Leo Liu <sdl.web@gmail.com>
7094 * progmodes/octave.el (inferior-octave-startup)
7095 (inferior-octave-completion-table)
7096 (inferior-octave-track-window-width-change)
7097 (octave-eldoc-function-signatures, octave-help)
7098 (octave-find-definition): Use single quoted strings.
7099 (inferior-octave-startup-args): Change default value.
7100 (inferior-octave-startup): Do not hard code "-i" and
7101 "--no-line-editing".
7102 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7103 (inferior-octave-directory-tracker): Use it.
7104 (octave-goto-function-definition): Robustify.
7105 (octave-help): Support highlighting operators in 'See also'.
7106 (octave-find-definition): Find subfunctions only in Octave mode.
7108 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * help-fns.el (help-fns--compiler-macro): If the handler function is
7111 named, then put a link to it.
7112 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7113 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7115 (cl-eval-when): Simplify debug spec.
7116 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7117 compiler-macro function instead of setting `compiler-macro-file'.
7119 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7121 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7122 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7124 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7125 Daniel Hackney <dan@haxney.org>
7127 First part of Daniel Hackney's patch to package.el.
7128 * emacs-lisp/package.el: Use defstruct.
7129 (package-desc): New, main struct.
7130 (package--bi-desc, package--ac-desc): New structs, used to describe the
7131 format in external files.
7132 (package-desc-vers): Replace with package-desc-version accessor.
7133 (package-desc-doc): Replace with package-desc-summary accessor.
7134 (package-activate-1): Remove `package' arg since the pkg-vec now
7136 (define-package): Use package-desc-from-define.
7137 (package-unpack-single): Change file-name arg to be a symbol.
7138 (package--add-to-archive-contents): Use package-desc-create and new
7139 accessor functions to package--ac-desc.
7140 (package-buffer-info, package-tar-file-info): Return a package-desc.
7141 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7142 arg to be a package-desc.
7143 (package-install-file): Adjust accordingly. Use \' to match EOS.
7144 (package--from-builtin): New function.
7145 (describe-package-1, package-menu--generate): Use it.
7146 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7147 (package-generate-autoloads): Idem and return the name of the file.
7148 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7149 Change pkg-info arg to be a package-desc.
7150 Use package-make-ac-desc.
7151 (package-upload-file): Use \' to match EOS.
7152 * finder.el (finder-compile-keywords): Use package-make-builtin.
7154 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7156 * vc/vc.el (vc-deduce-fileset): Change error message.
7157 (vc-read-backend): New function.
7158 (vc-next-action): Use it.
7160 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7162 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7163 (prolog-font-lock-keywords): Use regexp-opt instead.
7164 Don't manually highlight strings.
7165 (prolog-mode-variables): Simplify comment-start-skip.
7166 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7168 * emacs-lisp/generic.el (generic--normalise-comments)
7169 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7170 (generic-mode-set-comments): Use them.
7171 (generic-bracket-support): Use setq-local.
7172 (generic-make-keywords-list): Declare obsolete.
7174 2013-06-11 Glenn Morris <rgm@gnu.org>
7176 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7177 Prettify after setting font-lock-defaults. (Bug#14574)
7179 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7181 * replace.el (query-replace, occur-read-regexp-defaults-function)
7183 * subr.el (declare-function, number-sequence, local-set-key)
7184 (substitute-key-definition, locate-user-emacs-file)
7185 (with-silent-modifications, split-string, eval-after-load):
7186 Fix typos, remove unneeded backslashes and reflow some docstrings.
7188 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7191 default for Elisp files.
7193 2013-06-11 Glenn Morris <rgm@gnu.org>
7195 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7196 although define-derived-mode was doing this anyway. (Bug#14583)
7198 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7200 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7201 Fix make-variable-buffer-local call to refer to the correct variable.
7203 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7205 * eshell/em-term.el (eshell-visual-commands)
7206 (eshell-visual-subcommands, eshell-visual-options):
7207 Add summary line to docstrings. Add cross-references.
7209 2013-06-10 Glenn Morris <rgm@gnu.org>
7211 * epa.el (epa-read-file-name): New function. (Bug#14510)
7212 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7214 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7216 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7217 output redirection to be ignored with visual commands.
7219 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7221 * eshell/em-term.el (eshell-visual-command-p): New function.
7222 (eshell-term-initialize): Move long lambda to separate function
7223 eshell-visual-command-p.
7224 * eshell/em-dirs.el (eshell-dirs-initialise):
7225 * eshell/em-script.el (eshell-script-initialize):
7226 Add missing #' to lambda.
7228 2013-06-08 Leo Liu <sdl.web@gmail.com>
7230 * progmodes/octave.el (octave-add-log-current-defun): New function.
7231 (octave-mode): Set add-log-current-defun-function.
7232 (octave-goto-function-definition): Do not move point if not found.
7233 (octave-find-definition): Enhance to try subfunctions first.
7235 2013-06-08 Glenn Morris <rgm@gnu.org>
7237 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7238 (byte-compile-backward-char, byte-compile-backward-word):
7239 Improve previous change, to handle non-explicit nil.
7241 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7244 (smie--opener/closer-at-point): New function.
7245 (smie--matching-block-data): Use it. Don't match from right after an
7246 opener or right before a closer. Obey smie-blink-matching-inners.
7247 Don't signal a mismatch for repeated inners like "switch..case..case".
7249 2013-06-07 Leo Liu <sdl.web@gmail.com>
7251 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7253 (octave-function-header-regexp): Fix. (Bug#14570)
7254 (octave-help-mode-finish-hook, octave-help-mode-finish):
7255 Remove. Just use temp-buffer-show-hook.
7257 * newcomment.el (comment-search-backward): Revert last change.
7260 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7262 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7264 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7265 through xargs, to avoid failure due to MS-Windows limitations on
7266 command-line length.
7268 2013-06-06 Glenn Morris <rgm@gnu.org>
7270 * font-lock.el (lisp-font-lock-keywords-2):
7271 Treat user-error like error.
7273 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7274 (byte-compile-backward-char, byte-compile-backward-word):
7275 Handle explicit nil arguments. (Bug#14565)
7277 2013-06-05 Alan Mackenzie <acm@muc.de>
7279 * isearch.el (isearch-allow-prefix): New user option.
7280 (isearch-other-meta-char): Don't exit isearch when a prefix
7281 argument is typed whilst `isearch-allow-prefix' is non-nil.
7284 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * autorevert.el (auto-revert-notify-handler): Use memq.
7287 Hide assertion failure.
7289 * skeleton.el: Use cl-lib.
7290 (skeleton-further-elements): Use defvar-local.
7291 (skeleton-insert): Use cl-progv.
7293 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7295 * progmodes/prog-mode.el (prog-prettify-symbols)
7296 (prog-prettify-install): Update docstrings.
7298 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * simple.el: Move all the prog-mode code to prog-mode.el.
7301 * progmodes/prog-mode.el: New file.
7302 * loadup.el: Add prog-mode.el.
7304 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7306 * simple.el (prog-prettify-symbols): Add version.
7307 (prog-prettify-install): Add convenience function to prettify symbols.
7309 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7310 (perl--augmented-font-lock-keywords-1)
7311 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7312 variables and use it.
7314 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7315 (cfengine3-mode): Remove unneeded variable and use it.
7317 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7318 (lisp--augmented-font-lock-keywords-1)
7319 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7320 Remove unneeded variables and use it.
7322 2013-06-05 João Távora <joaotavora@gmail.com>
7324 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7325 to point when opening the connection. (Bug#14380)
7327 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * subr.el (load-history-regexp, load-history-filename-element)
7330 (eval-after-load, after-load-functions, do-after-load-evaluation)
7331 (eval-next-after-load, display-delayed-warnings)
7332 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7333 definition of save-match-data.
7334 (overriding-local-map): Remove accidental obsolescence declaration.
7336 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7338 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7340 Generalize symbol prettify support to prog-mode and implement it
7341 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7342 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7343 (prog--prettify-font-lock-compose-symbol)
7344 (prog-prettify-font-lock-symbols-keywords): New variables and
7345 functions to support symbol prettification.
7346 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7347 (lisp--augmented-font-lock-keywords-1)
7348 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7349 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7350 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7351 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7352 Implement prettify of -> => :: strings.
7353 * progmodes/perl-mode.el (perl-prettify-symbols)
7354 (perl--font-lock-compose-symbol)
7355 (perl--font-lock-symbols-keywords): Move to prog-mode.
7356 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7357 (perl-font-lock-keywords-1)
7358 (perl-font-lock-keywords-2): Remove explicit prettify support.
7359 (perl--augmented-font-lock-keywords)
7360 (perl--augmented-font-lock-keywords-1)
7361 (perl--augmented-font-lock-keywords-2, perl-mode):
7362 Implement prettify support.
7364 2013-06-05 Leo Liu <sdl.web@gmail.com>
7366 Re-implement smie matching block highlight using
7367 show-paren-data-function. (Bug#14395)
7368 * emacs-lisp/smie.el (smie-matching-block-highlight)
7369 (smie--highlight-matching-block-overlay)
7370 (smie--highlight-matching-block-lastpos)
7371 (smie-highlight-matching-block)
7372 (smie-highlight-matching-block-mode): Remove.
7373 (smie--matching-block-data-cache): New variable.
7374 (smie--matching-block-data): New function.
7375 (smie-setup): Use smie--matching-block-data for
7376 show-paren-data-function.
7378 * progmodes/octave.el (octave-mode-menu): Fix.
7379 (octave-find-definition): Skip garbage lines.
7381 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7383 Fix compilation error with simultaneous dynamic+lexical scoping.
7384 Add warning when a defvar appears after the first let-binding.
7385 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7386 (byte-compile-close-variables): Initialize it.
7387 (byte-compile--declare-var): New function.
7388 (byte-compile-file-form-defvar)
7389 (byte-compile-file-form-define-abbrev-table)
7390 (byte-compile-file-form-custom-declare-variable): Use it.
7391 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7392 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7393 (byte-compile-bind): Handle dynamic bindings that shadow
7395 (byte-compile-unbind): Make arg non-optional.
7396 (byte-compile-let): Simplify.
7397 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7398 (cconv--analyse-function, cconv-analyse-form): Populate it.
7399 Protect byte-compile-bound-variables to limit the scope of defvars.
7400 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7401 Remove unneeded rule for `declare'.
7403 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7404 so as to avoid depending on cl-adjoin at run-time.
7405 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7407 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7408 (macroexp--warn-and-return): Use it.
7410 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * lisp/subr.el: Convert to lexical binding.
7413 (overriding-local-map): Make obsolete.
7414 (add-to-list): Doc fix. Add compiler macro.
7415 (read-key): Swap values of local maps.
7417 2013-06-05 Leo Liu <sdl.web@gmail.com>
7419 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7421 2013-06-04 Leo Liu <sdl.web@gmail.com>
7423 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7424 (compilation-auto-jump): Suppress the "Mark set" message to give
7425 way to exit message.
7427 2013-06-04 Alan Mackenzie <acm@muc.de>
7429 Remove faulty optimisation from indentation calculation.
7430 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7431 search limit based on 2000 characters back from indent-point.
7433 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7435 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7437 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7439 * emacs-lisp/lisp.el: Use lexical-binding.
7440 (lisp--local-variables-1, lisp--local-variables): New functions.
7441 (lisp--local-variables-completion-table): New var.
7442 (lisp-completion-at-point): Use it complete let-bound vars.
7444 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7445 eagerly (bug#14422).
7447 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7449 * autorevert.el (auto-revert-notify-enabled)
7450 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7451 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7452 (auto-revert-notify-handler): Handle also gfilenotify.
7454 * subr.el (file-notify-handle-event): New defun. Replacing ...
7455 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7458 2013-06-03 Juri Linkov <juri@jurta.org>
7460 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7461 `M-s h .'. (Bug#14427)
7463 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7464 command `hi-lock-face-symbol-at-point'.
7465 (hi-lock-face-symbol-at-point): New command.
7466 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7467 (hi-lock-menu): Add `highlight-symbol-at-point'.
7468 (hi-lock-mode): Doc fix.
7470 * isearch.el (isearch-forward-symbol-at-point): New command.
7471 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7472 (isearch-highlight-regexp): Add a regexp which matches
7473 words/symbols for word/symbol mode.
7475 * subr.el (find-tag-default-bounds): New function with the body
7476 mostly moved from `find-tag-default'.
7477 (find-tag-default): Move most code to `find-tag-default-bounds',
7478 call it and apply `buffer-substring-no-properties' afterwards.
7480 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7482 * eshell/em-term.el (eshell-term-initialize):
7483 Use `cl-intersection' rather than `intersection'.
7485 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7487 * vc/log-view.el: Doc fix.
7488 (log-view-mode-map): Copy keymap from `special-mode-map'.
7490 2013-06-02 Eric Ludlam <zappo@gnu.org>
7492 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7493 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7494 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7495 (eieio-unbound, eieio-default-superclass)
7496 (eieio--define-field-accessors, method-static, method-before)
7497 (method-primary, method-after, method-num-lists)
7498 (method-generic-before, method-generic-primary)
7499 (method-generic-after, method-num-slots)
7500 (eieio-specialized-key-to-generic-key)
7501 (eieio--check-type, class-v, class-p)
7502 (eieio-class-name, define-obsolete-function-alias)
7503 (eieio-class-parents-fast, eieio-class-children-fast)
7504 (same-class-fast-p, class-constructor, generic-p)
7505 (generic-primary-only-p, generic-primary-only-one-p)
7506 (class-option-assoc, class-option, eieio-object-p)
7507 (class-abstract-p, class-method-invocation-order)
7508 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7509 (eieio-class-un-autoload, eieio-defclass)
7510 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7511 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7512 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7513 (eieio-defgeneric-reset-generic-form)
7514 (eieio-defgeneric-form-primary-only)
7515 (eieio-defgeneric-reset-generic-form-primary-only)
7516 (eieio-defgeneric-form-primary-only-one)
7517 (eieio-defgeneric-reset-generic-form-primary-only-one)
7518 (eieio-unbind-method-implementations)
7519 (eieio--defmethod, eieio--typep)
7520 (eieio-perform-slot-validation, eieio-validate-slot-value)
7521 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7522 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7523 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7524 (eieio-slot-name-index, eieio-class-slot-name-index)
7525 (eieio-set-defaults, eieio-initarg-to-attribute)
7526 (eieio-attribute-to-initarg, eieio-c3-candidate)
7527 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7528 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7529 (eieio-class-precedence-list, eieio-generic-call-methodname)
7530 (eieio-generic-call-arglst, eieio-generic-call-key)
7531 (eieio-generic-call-next-method-list)
7532 (eieio-pre-method-execution-functions, eieio-generic-call)
7533 (eieio-generic-call-primary-only, eieiomt-method-list)
7534 (eieiomt-optimizing-obarray, eieiomt-install)
7535 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7536 (eieio-generic-form, eieio-defmethod, make-obsolete)
7537 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7538 (defclass): Remove `eval-and-compile' from macro.
7539 (call-next-method, shared-initialize): Instead of using
7540 `scoped-class' variable, use new eieio--scoped-class, and
7541 eieio--with-scoped-class.
7542 (initialize-instance): Rename local variable 'scoped-class' to
7543 'this-class' to remove ambiguitity from old global.
7545 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7547 (eieio--scoped-class-stack): New variable.
7548 (eieio--scoped-class): New fcn.
7549 (eieio--with-scoped-class): New scoping macro.
7550 (eieio-defclass): Use pushnew instead of add-to-list.
7551 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7552 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7553 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7554 `scoped-class' variable, use new eieio--scoped-class, and
7555 eieio--with-scoped-class.
7557 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7559 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7561 * eshell/esh-ext.el (eshell-external-command): Pass args to
7562 `eshell-find-interpreter'.
7563 (eshell-find-interpreter): Add new second parameter ARGS.
7565 * eshell/em-script.el (eshell-script-initialize): Add second arg
7566 to the function added as MATCH to `eshell-interpreter-alist'.
7568 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7569 the function added as MATCH to `eshell-interpreter-alist'.
7571 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7572 (eshell-visual-options): New defcustom.
7573 (eshell-escape-control-x): Adapt docstring.
7574 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7575 `eshell-visual-options' in addition to `eshell-visual-commands'.
7576 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7578 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7580 * progmodes/python.el (python-indent-block-enders): Add break,
7581 continue and raise keywords.
7583 2013-06-01 Glenn Morris <rgm@gnu.org>
7585 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7587 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7588 * progmodes/cc-cmds.el (delete-forward-p):
7589 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7590 * progmodes/cc-engine.el (buffer-syntactic-context):
7591 * progmodes/cc-fonts.el (face-property-instance):
7592 * progmodes/cc-mode.el (set-keymap-parents):
7593 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7594 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7595 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7596 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7597 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7599 * progmodes/cc-vars.el (other): Emacs has this widget since
7600 at least 21.1, so don't (re)define it.
7602 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7603 Replace the obsolete alias pcomplete-arg-quote-list.
7605 2013-06-01 Leo Liu <sdl.web@gmail.com>
7607 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7609 (inferior-octave-minimal-columns)
7610 (inferior-octave-last-column-width): New variables.
7611 (inferior-octave-track-window-width-change): New function.
7612 (inferior-octave-mode): Adjust column width so that Octave output,
7613 for example from 'ls', can fit into the window nicely.
7615 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7617 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7618 Highlight expansions inside regexp literals.
7620 2013-05-31 Glenn Morris <rgm@gnu.org>
7622 * obsolete/sym-comp.el (symbol-complete):
7623 Replace obsolete completion-annotate-function.
7625 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7627 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7629 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7630 New function, checks if point is inside a literal that allows
7631 expression expansion.
7632 (ruby-syntax-propertize-expansion): Use it.
7633 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7636 2013-05-30 Juri Linkov <juri@jurta.org>
7638 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7640 (isearch-invisible): New variable.
7641 (isearch-forward): Doc fix.
7642 (isearch-mode): Set `isearch-invisible'
7643 to the value of `search-invisible'.
7644 (isearch-toggle-case-fold): Doc fix.
7645 (isearch-toggle-invisible): New command.
7646 (isearch-query-replace): Let-bind `search-invisible'
7647 to the value of `isearch-invisible'.
7648 (isearch-search): Use `isearch-invisible' instead of
7649 `search-invisible'. Let-bind `search-invisible'
7650 to the value of `isearch-invisible'. (Bug#11378)
7652 2013-05-30 Juri Linkov <juri@jurta.org>
7654 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7655 call when `query-flag' is nil and `search-invisible' is non-nil.
7658 2013-05-30 Glenn Morris <rgm@gnu.org>
7660 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7662 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7663 (cc-require): Suppress spurious "noruntime" warnings.
7664 (cc-require-when-compile): Use fboundp, for sake of compiler.
7666 * progmodes/cc-mode.el: Move load of cc-vars before that of
7667 cc-langs (which in turn loads cc-vars), to quieten compiler.
7669 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7671 * paren.el: Simplify the code.
7672 (show-paren-mode): Always start the timer.
7673 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7674 (show-paren--overlay, show-paren--overlay-1): Rename from
7675 show-paren-overlay and show-paren-overlay-1, and initialize to an
7676 overlay rather than to nil.
7677 (show-paren-function): Misc cleanup and simplifications.
7679 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7681 * paren.el (show-paren-data-function): New hook.
7682 (show-paren--default): New function, extracted from show-paren-function.
7683 (show-paren-function): Use show-paren-data-function.
7685 2013-05-30 Glenn Morris <rgm@gnu.org>
7687 * ielm.el (ielm-map, ielm-complete-symbol):
7688 Use completion-at-point rather than obsolete functions.
7689 (inferior-emacs-lisp-mode): Doc fix.
7690 Set completion-at-point-functions, rather than
7691 comint-dynamic-complete-functions.
7693 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7694 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7695 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7697 * image.el (image-animated-p): Tweak definition.
7699 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7700 (rlogin-process-connection-type): Tweak default. Add set-after.
7701 (rlogin-host): Doc fix.
7702 (rlogin): Tweak prompt.
7703 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7705 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7706 * progmodes/tcl.el (inferior-tcl-mode-map):
7707 Use completion-at-point rather than obsolete alias.
7709 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7711 * minibuffer.el (read-file-name-completion-ignore-case):
7712 Move before completion--in-region, for eager macro expansion.
7714 2013-05-29 Juri Linkov <juri@jurta.org>
7716 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7717 for total count of matching lines. Add `global-matches' for total
7718 count of matches. Rename `matches' to `lines' for count of
7719 matching lines. Add `matches' for count of matches.
7720 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7721 to `prev-line' for line number of prev match endpt.
7722 Increment `matches' for every match. Print the number of
7723 matching lines in the header.
7724 (occur-context-lines): Rename `lines' to `curr-line'.
7725 Rename `prev-lines' to `prev-line'. (Bug#14017)
7727 2013-05-29 Juri Linkov <juri@jurta.org>
7729 * replace.el (perform-replace): Add `skip-read-only-count',
7730 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7731 Increment them for corresponding conditions and report the number
7732 of skipped occurrences in the final message. (Bug#11746)
7733 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7734 (replace-string, replace-regexp): Doc fix.
7736 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7740 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7741 prog-mode-map (bug#14504).
7743 2013-05-29 Leo Liu <sdl.web@gmail.com>
7745 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7746 (octave-help): Small simplification.
7748 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7749 off the highlight first.
7751 2013-05-29 Glenn Morris <rgm@gnu.org>
7753 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7754 Handle idlwave-last-system-routine-info-cons-cell being nil.
7756 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7757 (idlwave-write-paths): Simplify via with-temp-buffer.
7759 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7760 * emulation/cua-rect.el: Also load cua-base at run time.
7762 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7763 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7764 (cperl-imenu-on-info): Require imenu.
7766 2013-05-28 Alan Mackenzie <acm@muc.de>
7768 Handle "capitalised keywords" correctly.
7769 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7771 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7773 * eshell/em-unix.el: Add -r option to cp.
7775 2013-05-28 Glenn Morris <rgm@gnu.org>
7777 * vc/vc-arch.el (vc-exec-after): Declare.
7778 (vc-switches): Autoload.
7779 * vc/vc-bzr.el: No need to require vc when compiling.
7780 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7781 (vc-resynch-buffer, vc-dir-refresh): Declare.
7782 (vc-setup-buffer, vc-switches): Autoload.
7783 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7784 (vc-resynch-buffer): Declare.
7785 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7786 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7787 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7788 (grep-read-regexp, grep-read-files, grep-expand-template)
7789 (vc-dir-refresh): Declare.
7790 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7791 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7792 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7793 * vc/vc-mtn.el (vc-exec-after): Declare.
7794 (vc-switches): Autoload.
7795 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7796 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7797 (vc-file-tree-walk): Declare.
7798 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7799 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7800 (vc-tag-precondition, vc-rename-master): Autoload.
7801 * vc/vc-svn.el (vc-exec-after): Declare.
7802 (vc-switches, vc-setup-buffer): Autoload.
7803 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7805 (vc-resynch-buffer): Declare.
7807 * obsolete/fast-lock.el (byte-compile-warnings):
7808 Don't warn about obsolete features in this obsolete file.
7810 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7811 Move definition before use.
7813 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7814 (dun-unix-verbs): Remove dun-zippy.
7815 (dun-zippy): Remove function.
7817 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7819 2013-05-27 Juri Linkov <juri@jurta.org>
7821 * replace.el (replace-search): New function with code moved out
7822 from `perform-replace'.
7823 (replace-highlight, replace-dehighlight): Move function definitions
7824 up closer to `replace-search'. (Bug#11746)
7826 2013-05-27 Juri Linkov <juri@jurta.org>
7828 * replace.el (perform-replace): Ignore invisible matches.
7829 In addition to checking `query-replace-skip-read-only', also
7830 filter out matches by calling `run-hook-with-args-until-failure'
7831 on `isearch-filter-predicates', and also check `search-invisible'
7832 for t or call `isearch-range-invisible'.
7833 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7835 2013-05-27 Juri Linkov <juri@jurta.org>
7837 * isearch.el (isearch-filter-predicates): Rename from
7838 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7839 (isearch-message-prefix): Display text from the property
7840 `isearch-message-prefix' of the currently active filters.
7841 (isearch-search): Don't compare `isearch-filter-predicate' with
7842 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7843 on `isearch-filter-predicates'. Also check `search-invisible' for t
7844 or call `isearch-range-invisible'.
7845 (isearch-filter-visible): Make obsolete.
7846 (isearch-lazy-highlight-search):
7847 Call `run-hook-with-args-until-failure' on
7848 `isearch-filter-predicates' and use `isearch-range-invisible'.
7850 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7851 `isearch-filter-predicates' instead of `funcall'ing
7852 `isearch-filter-predicate'.
7853 (Info-mode): Set `Info-isearch-filter' to
7854 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7856 * dired-aux.el (dired-isearch-filter-predicate-orig):
7858 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7859 (dired-isearch-filenames-end): Add and remove
7860 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7861 instead of changing the value of `isearch-filter-predicate'.
7862 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7863 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7864 Put property `isearch-message-prefix' to "filename " on
7865 `dired-isearch-filter-filenames'.
7867 * wdired.el (wdired-change-to-wdired-mode):
7868 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7869 locally instead of changing `isearch-filter-predicate'.
7870 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7872 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7874 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7875 return the commit hash (Bug#14459). Also set the
7876 `vc-git-detached' property.
7877 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7878 (vc-git-mode-line-string): Use the same help-echo format whether
7879 in detached mode or not, because we know the actual revision now.
7880 When in detached mode, shorten the revision to 7 chars.
7882 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * emacs-lisp/easy-mmode.el (define-minor-mode):
7885 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7886 mode hook and provide a docstring.
7888 2013-05-27 Alan Mackenzie <acm@muc.de>
7890 Remove spurious syntax-table text properties inserted by C-y.
7891 * progmodes/cc-mode.el (c-after-change): Also clear hard
7892 syntax-table property with value nil.
7894 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7896 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7897 when reading the events; the buffer layout shall not be changed.
7899 2013-05-27 Leo Liu <sdl.web@gmail.com>
7901 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7903 (inferior-octave-directory-tracker): Automatically re-sync
7905 (octave-help): Improve handling of 'See also'.
7907 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7909 * doc-view.el: Minor naming convention tweaks.
7910 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7912 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7913 even if there's no `display' property yet (bug#14435).
7915 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7917 * subr.el (unmsys--file-name): Rename from reveal-filename.
7919 * Makefile.in (custom-deps, finder-data, autoloads)
7920 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7921 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7922 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7924 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7927 error-completion on the first 2 args of condition-case (bug#14446).
7930 2013-05-25 Leo Liu <sdl.web@gmail.com>
7932 * comint.el (comint-previous-matching-input): Do not flood the
7933 *Messages* buffer with trivial messages.
7935 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7937 * progmodes/flymake.el (flymake-nop): Don't return a string.
7938 (flymake-set-at): Fix typo.
7940 * simple.el (read--expression): New function, extracted from
7941 eval-expression. Set completion-at-point-functions (bug#14465).
7942 (eval-expression, eval-minibuffer): Use it.
7944 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7946 * progmodes/flymake.el (flymake-save-buffer-in-file)
7947 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7948 (flymake-selected-frame, flymake-log, flymake-ins-after)
7949 (flymake-set-at, flymake-get-buildfile-from-cache)
7950 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7951 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7952 Refine the doc string.
7953 (flymake-get-file-name-mode-and-masks): Reformat.
7954 (flymake-get-real-file-name-function): Fix a minor bug.
7956 2013-05-24 Juri Linkov <juri@jurta.org>
7958 * progmodes/grep.el (grep-mode-font-lock-keywords):
7959 Support =linenumber= format used by git-grep for lines with
7960 function names. (Bug#13549)
7962 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7965 0 after a semi-colon; it works better for smie-auto-fill.
7966 (octave--indent-new-comment-line): New function.
7967 (octave-indent-new-comment-line): Use it (indirectly).
7968 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7969 modify comment-line-break-function.
7971 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7972 (smie-setup): Use add-function to set it.
7974 2013-05-24 Sam Steingold <sds@gnu.org>
7976 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7977 argument (before the `interactive' argument).
7979 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7981 * image-mode.el (image-mode-winprops): Add winprops to
7982 image-mode-winprops-alist before running
7983 image-mode-new-window-functions.
7984 * doc-view.el (doc-view-new-window-function): Don't delay
7985 doc-view-goto-page via timers (bug#14435).
7987 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7989 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7990 (doc-view-desktop-save-buffer): New function.
7991 (doc-view-restore-desktop-buffer): New function.
7992 (desktop-buffer-mode-handlers):
7993 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7995 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7996 `desktop-save-buffer' function.
7998 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8000 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8001 (tramp-gvfs-file-name-handler): Raise a user error when
8002 `tramp-gvfs-enabled' is nil.
8003 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8004 Do not raise a user error when loading package. (Bug#14447)
8006 * net/xesam.el: Move to obsolete/.
8008 2013-05-24 Glenn Morris <rgm@gnu.org>
8010 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8012 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8014 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8015 (Info-find-node, Man-getpage-in-background): Declare.
8017 * mail/unrmail.el (unrmail):
8018 Replace obsolete detect-coding-with-priority.
8020 * net/socks.el (socks-split-string): Use this rather than split-string.
8021 (socks-nslookup-host): Update for above change.
8022 (dynamic-choice, s5-dynamic-choice-match)
8023 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8024 Comment out unused code.
8026 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8027 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8028 (gud-tooltip-echo-area): Make obsolete.
8029 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8031 * progmodes/js.el (js--optimize-arglist): Declare.
8033 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8035 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8036 (ediff-window-C): Declare.
8038 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8039 Tweak requires to silence compiler.
8041 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8042 (he-search-string, he-tried-table, he-expand-list)
8043 (he-init-string, he-string-member, he-substitute-string)
8044 (he-reset-string): Declare.
8046 * obsolete/options.el (list-options): Use custom-variable-p,
8047 rather than obsolete alias.
8049 2013-05-23 Sam Steingold <sds@gnu.org>
8051 * simple.el (shell-command-on-region): Pass the `replace' argument
8052 down to `call-process-region' to comply with the doc as reported on
8053 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8055 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8057 * emacs-lisp/smie.el (smie-indent-forward-token)
8058 (smie-indent-backward-token): Handle string tokens (bug#14381).
8060 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8062 * ielm.el (ielm-menu): New menu.
8063 (inferior-emacs-lisp-mode): Set comment-start.
8065 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8067 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8068 Fix deactivate action.
8070 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8071 Add cleveref macros.
8073 * lisp/textmodes/reftex-parse.el
8074 (reftex-locate-bibliography-files): Accept options for
8075 bibliography commands.
8076 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8077 Add addbibresource. Basic Biblatex support.
8079 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8081 * net/tramp-gvfs.el (top):
8082 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8083 when loading package. (Bug#14447)
8085 2013-05-23 Glenn Morris <rgm@gnu.org>
8087 * progmodes/js.el: No need to load comint when compiling.
8088 (ring-insert, comint-send-string, comint-send-input)
8089 (comint-last-input-end, ido-chop): Declare.
8091 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8092 * vc/ediff-mult.el: Adjust requires.
8093 (ediff-directories-internal, ediff-directory-revisions-internal)
8094 (ediff-patch-file-internal): Declare.
8095 * vc/ediff-ptch.el: Adjust requires.
8096 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8097 (ediff-find-file): Autoload.
8098 * vc/ediff-util.el: No need to load ediff when compiling.
8099 (ediff-regions-internal): Declare.
8100 * vc/ediff-wind.el: Adjust requires.
8101 (ediff-compute-toolbar-width): Define when compiling.
8102 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8103 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8104 (dired-get-filename, dired-get-marked-files)
8105 (ediff-last-dir-patch, ediff-patch-default-directory)
8106 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8107 (ediff-patch-buffer-internal): Declare.
8109 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8110 (ispell-process, ispell-buffer-local-words, lm-summary)
8111 (lm-section-start, lm-section-end): Declare.
8112 (checkdoc-ispell-init): Simplify.
8114 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8115 (he-string-member, he-reset-string, he-substitute-string): Declare.
8117 * eshell/em-ls.el: Adjust requires.
8118 (eshell-glob-regexp): Declare.
8119 * eshell/em-tramp.el: Adjust requires.
8120 (eshell-parse-command): Autoload.
8121 * eshell/em-xtra.el: Adjust requires.
8122 (eshell-parse-command): Autoload.
8123 * eshell/esh-ext.el: Adjust requires.
8124 (eshell-parse-command, eshell-close-handles): Autoload.
8125 * eshell/esh-io.el: Adjust requires.
8126 (eshell-output-filter): Autoload.
8127 * eshell/esh-util.el: No need to load tramp when compiling.
8128 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8130 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8131 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8132 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8133 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8134 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8135 * eshell/esh-opt.el, eshell/esh-proc.el:
8136 * eshell/esh-var.el: Adjust requires.
8137 * eshell/eshell.el: Do not require esh-util twice.
8138 (eshell-add-input-to-history): Declare.
8139 (eshell-command): Check history module is active before using it.
8141 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8143 2013-05-22 Leo Liu <sdl.web@gmail.com>
8145 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8147 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8149 * autorevert.el (auto-revert-notify-add-watch)
8150 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8151 it indicates changes in file modification time.
8153 2013-05-22 Glenn Morris <rgm@gnu.org>
8155 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8156 Always delete the autoloaded function from the noruntime and
8157 unresolved functions lists.
8159 * allout.el: No need to load epa, epg, overlay when compiling.
8160 (epg-context-set-passphrase-callback, epg-list-keys)
8161 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8162 (epg-key-user-id-list): Declare.
8164 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8165 (viper-set-parsing-style-toggling-macro)
8166 (viper-set-emacs-state-searchstyle-macros):
8167 Use called-interactively-p on Emacs.
8168 (viper-looking-back): Make it an obsolete alias. Update callers.
8169 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8170 Use looking-back rather than viper-looking-back.
8171 (viper-tmp-insert-at-eob, viper-enlarge-region)
8172 (viper-read-string-with-history, viper-register-to-point)
8173 (viper-append-to-register, viper-change-state-to-vi)
8174 (viper-backward-char-carefully, viper-forward-char-carefully)
8175 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8176 (viper-change-state-to-emacs): Declare.
8177 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8178 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8179 * emulation/viper-mous.el: Do not load viper-cmd.
8180 (viper-backward-char-carefully, viper-forward-char-carefully)
8181 (viper-forward-word, viper-adjust-window): Declare.
8183 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8185 * progmodes/idlw-help.el (idlwave-help-fontify):
8186 Use called-interactively-p.
8188 * term/w32console.el (w32-get-console-codepage)
8189 (w32-get-console-output-codepage): Declare.
8191 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8192 Remove unnecessary declarations.
8193 (dframe-message): Doc fix.
8195 * info.el (dframe-select-attached-frame, dframe-current-frame):
8198 * speedbar.el (speedbar-message): Make it an obsolete alias.
8200 (speedbar-with-attached-buffer)
8201 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8202 (speedbar-with-writable): Use backquote.
8203 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8204 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8205 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8206 rather than speedbar- aliases.
8207 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8208 (speedbar-make-specialized-keymap, speedbar-insert-button)
8209 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8210 (speedbar-do-function-pointer): Declare.
8211 (rmail-speedbar-button, rmail-speedbar-find-file)
8212 (rmail-speedbar-move-message):
8213 Use dframe-with-attached-buffer rather than speedbar- alias.
8214 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8215 (dframe-message, speedbar-make-specialized-keymap)
8216 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8217 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8218 (speedbar-insert-button, dframe-select-attached-frame)
8219 (dframe-maybee-jump-to-attached-frame)
8220 (speedbar-change-initial-expansion-list)
8221 (speedbar-previously-used-expansion-list-name): Declare.
8222 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8223 Use dframe-message, dframe-with-attached-buffer rather than
8225 (gud-sentinel): Silence compiler.
8226 * progmodes/vhdl-mode.el (speedbar-refresh)
8227 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8228 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8229 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8230 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8231 (speedbar-file-lists, speedbar-make-tag-line)
8232 (speedbar-line-directory, speedbar-goto-this-file)
8233 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8234 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8235 (speedbar-make-button, speedbar-reset-scanners)
8236 (speedbar-files-item-info, speedbar-line-text)
8237 (speedbar-find-file-in-frame, speedbar-set-timer)
8238 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8239 (speedbar-with-writable): Do not (re)define it.
8240 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8241 rather than speedbar- alias.
8243 2013-05-21 Leo Liu <sdl.web@gmail.com>
8245 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8247 (octave-mode): Tweak fill-nobreak-predicate.
8248 (inferior-octave-startup): Check process to avoid infinite loop.
8249 (inferior-octave): Pop to buffer first to show abornmal process
8252 2013-05-21 Glenn Morris <rgm@gnu.org>
8254 * printing.el (pr-menu-bar): Define when compiling.
8256 2013-05-21 Leo Liu <sdl.web@gmail.com>
8258 * progmodes/octave.el (octave-auto-fill): Remove.
8259 (octave-indent-new-comment-line): Improve.
8260 (octave-mode): Use auto fill mode through
8261 comment-line-break-function and fill-nobreak-predicate.
8262 (octave-goto-function-definition): Support DEFUN_DLD.
8263 (octave-beginning-of-defun): Small tweak.
8264 (octave-help): Show parent directory.
8266 2013-05-21 Glenn Morris <rgm@gnu.org>
8268 * files.el (dired-unmark):
8269 * progmodes/gud.el (gdb-input): Update declarations.
8271 * calculator.el (electric, ehelp): No need to load when compiling.
8272 (Electric-command-loop, electric-describe-mode): Declare.
8274 * doc-view.el (doc-view-current-converter-processes): Move before use.
8276 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8277 Move MODE-set-explicitly definition before use.
8279 * international/mule-diag.el (mule-diag):
8280 Don't use obsolete window-system-version.
8282 * mail/feedmail.el (smtpmail): No need to load when compiling.
8283 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8285 * mail/mail-utils.el (rfc822): No need to load when compiling.
8286 (rfc822-addresses): Autoload it.
8287 (mail-strip-quoted-names): Trivial simplification.
8289 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8290 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8292 * net/snmp-mode.el (tempo): Don't duplicate requires.
8294 * progmodes/prolog.el (info): No need to load when compiling.
8295 (comint): Require before shell requires it.
8296 (Info-goto-node): Autoload it.
8297 (Info-follow-nearest-node): Declare.
8298 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8300 * textmodes/artist.el (picture-mode-exit): Declare.
8302 * textmodes/reftex-parse.el (reftex-parse-from-file):
8303 Trivial rewrite so the compiler can parse it better.
8305 2013-05-20 Leo Liu <sdl.web@gmail.com>
8307 * progmodes/octave.el (octave-help-mode-map)
8308 (octave-help-mode-finish-hook): New variables.
8309 (octave-help-mode, octave-help-mode-finish): New functions.
8310 (octave-help): Use octave-help-mode.
8312 2013-05-20 Glenn Morris <rgm@gnu.org>
8314 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8316 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8318 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8319 start at point, so that expansion starting right after opening
8320 slash in a regexp is recognized.
8321 (ruby-syntax-before-regexp-re): New defvar, extracted from
8322 ruby-syntax-propertize-function. Since the value of this regexp
8323 is looked up at runtime now, we should be able to turn
8324 `ruby-syntax-methods-before-regexp' into a defcustom later.
8325 (ruby-syntax-propertize-function): Split regexp matching into two
8326 parts, for opening and closing slashes. That allows us to skip
8327 over string interpolations and support multiline regexps.
8328 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8329 for them, which calls `ruby-syntax-propertize-expansion'.
8330 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8331 call to `ruby-syntax-propertize-function'.
8332 (ruby-syntax-propertize-expansion): Extracted from
8333 `ruby-syntax-propertize-expansions'. Handles one expansion.
8334 (ruby-syntax-propertize-percent-literal): Leave point right after
8335 the percent symbol, so that the expression expansion rule can
8336 propertize the contents.
8337 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8339 (ruby-syntax-propertize-expansions): Remove.
8341 2013-05-18 Juri Linkov <juri@jurta.org>
8343 * man.el (Man-default-man-entry): Remove `-' from the end
8344 of the default value. (Bug#14400)
8346 2013-05-18 Glenn Morris <rgm@gnu.org>
8348 * comint.el (comint-password-prompt-regexp):
8349 Allow "password for XXX" where XXX contains colons (eg https://...).
8351 2013-05-18 Leo Liu <sdl.web@gmail.com>
8353 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8354 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8355 (octave-source-directories): Don't check process.
8356 (octave-source-directories, octave-find-definition): Doc fix.
8358 2013-05-18 Glenn Morris <rgm@gnu.org>
8360 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8361 Remove backspace/delete bindings. (Bug#14392)
8363 * cus-dep.el (custom-make-dependencies): Sort the output.
8364 (custom-versions-load-alist): Convert comment to doc.
8366 2013-05-17 Leo Liu <sdl.web@gmail.com>
8368 * newcomment.el (comment-search-backward): Stricter in finding
8369 comment start. (Bug#14303)
8371 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8372 (octave-comment-start-skip): Properly anchored.
8374 2013-05-17 Leo Liu <sdl.web@gmail.com>
8376 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8377 Clean up when turned off. (Bug#14395)
8378 (smie--highlight-matching-block-overlay): No longer buffer-local.
8379 (smie-highlight-matching-block): Adjust.
8381 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8383 Doc string fix for "nanoseconds" (Bug#14406).
8384 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8385 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8387 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8389 * calc/calc-units.el (math-extract-units): Preserve powers
8392 2013-05-17 Leo Liu <sdl.web@gmail.com>
8394 * subr.el (delete-consecutive-dups): New function.
8395 * ido.el (ido-set-matches-1): Use it.
8396 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8397 * ido.el (ido-remove-consecutive-dups): Remove.
8399 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8401 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8402 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8403 regexp-opt's `words'.
8405 2013-05-16 Leo Liu <sdl.web@gmail.com>
8407 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8408 (smie--highlight-matching-block-overlay)
8409 (smie--highlight-matching-block-lastpos)
8410 (smie--highlight-matching-block-timer): New variables.
8411 (smie-highlight-matching-block): New function.
8412 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8413 (smie-setup): Conditionally enable smie-blink-matching-open.
8415 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8417 Sync with upstream verilog-mode r840.
8418 * progmodes/verilog-mode.el (verilog-mode-version)
8419 (verilog-mode-release-date): Update.
8420 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8421 (verilog-sig-tieoff): Fix string error on
8422 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8423 (verilog-read-decls): Fix parameters confusing
8424 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8426 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8428 * subr.el (reveal-filename): New function.
8430 * loadup.el: Compute Emacs executable versions on MS-Windows,
8431 where executables have the .exe extension. Add a hard link
8432 emacs-XX.YY.ZZ.exe on MS-Windows.
8434 * Makefile.in (XARGS_LIMIT): New variable.
8435 (custom-deps, finder-data, autoloads)
8436 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8437 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8438 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8439 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8441 2013-05-16 Leo Liu <sdl.web@gmail.com>
8443 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8444 (octave-mode-menu, octave-mode-map): Remove its uses.
8446 2013-05-16 Reto Zimmermann <reto@gnu.org>
8448 Sync with upstream vhdl mode v3.34.2.
8449 * progmodes/vhdl-mode.el: Use `push' throughout.
8450 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8451 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8452 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8453 (vhdl-actual-generic-name): New option to derive actual generic name.
8454 (vhdl-port-paste-signals): Replace formal by actual generics.
8455 (vhdl-beautify): New name for old group vhdl-align. Update users.
8456 (vhdl-beautify-options): New option.
8457 (vhdl-last-input-event): New compat alias. Use throughout.
8458 (vhdl-goto-line): Replace user level function `goto-line'.
8459 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8460 vhdl-fix-statement-buffer.
8461 (vhdl-create-mode-menu): Add some entries.
8462 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8463 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8464 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8465 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8466 to force statements on one line.
8467 (vhdl-remove-trailing-spaces-region):
8468 New, split from vhdl-remove-trailing-spaces.
8469 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8470 Respect vhdl-beautify-options.
8471 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8472 (vhdl-update-sensitivity-list): Not add with index if exists without.
8473 Not include array index with signal. Ignore keywords in comments.
8474 (vhdl-get-visible-signals): Regexp tweaks.
8475 (vhdl-template-component-inst): Handle empty library.
8476 (vhdl-template-type): Add template for 'enum' type.
8477 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8478 Use vhdl-replace-string.
8479 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8480 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8481 (vhdl-speedbar-initialize): Update for above name change.
8482 (vhdl-compose-wire-components): Fix in handling of constants.
8483 (vhdl-error-regexp-emacs-alist): New variable.
8484 (vhdl-error-regexp-add-emacs): New function;
8485 adds support for new compile.el (Emacs 22+)
8486 (vhdl-generate-makefile-1): Change target order for single lib. units.
8487 Allow use of absolute file names.
8489 2013-05-16 Leo Liu <sdl.web@gmail.com>
8491 * simple.el (prog-indent-sexp): Indent enclosing defun.
8493 2013-05-15 Glenn Morris <rgm@gnu.org>
8495 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8496 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8497 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8498 (whitespace-highlight): Move to whitespace group.
8500 * comint.el (comint-source):
8501 * pcmpl-linux.el (pcmpl-linux):
8502 * shell.el (shell-faces):
8503 * eshell/esh-opt.el (eshell-opt):
8504 * international/ccl.el (ccl): Remove empty custom groups.
8506 * completion.el (dynamic-completion-mode):
8507 * jit-lock.el (jit-lock-debug-mode):
8508 * minibuffer.el (completion-in-region-mode):
8509 * type-break.el (type-break-mode-line-message-mode)
8510 (type-break-query-mode):
8511 * emulation/tpu-edt.el (tpu-edt-mode):
8512 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8513 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8514 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8516 * term/xterm.el (xterm): Change parent group to terminals.
8518 * master.el (master): Remove empty custom group.
8519 (master-mode): Remove unused :group argument.
8520 * textmodes/refill.el (refill): Remove empty custom group.
8521 (refill-mode): Remove unused :group argument.
8523 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8525 * cus-dep.el: Provide a feature.
8526 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8527 Don't mistakenly ignore files whose basenames match a basename
8528 from preloaded-file-list (eg cedet/ede/simple.el).
8529 Add a fallback method for getting :group.
8531 2013-05-15 Juri Linkov <juri@jurta.org>
8533 * isearch.el (isearch-char-by-name): Rename from
8534 `isearch-insert-char-by-name'. Doc fix.
8535 (isearch-forward): Mention `isearch-char-by-name' in
8536 the docstring. (Bug#13348)
8538 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8539 `exit-minibuffer' instead of
8540 `isearch-nonincremental-exit-minibuffer'.
8541 (isearch-edit-string): Remove mention of
8542 `isearch-nonincremental-exit-minibuffer' from docstring.
8543 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8544 (isearch-forward-exit-minibuffer)
8545 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8547 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * loadup.el: Just use unversioned DOC.
8551 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8552 literals as extending to EOB.
8553 (nxml-last-fontify-end): Remove unused variable.
8554 (nxml-after-change1): Use with-silent-modifications.
8555 (nxml-extend-after-change-region): Simplify.
8556 (nxml-extend-after-change-region1): Remove function.
8557 (nxml-after-change1): Don't adjust for dependent regions.
8558 (nxml-fontify-matcher): Simplify.
8559 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8560 (xmltok-add-dependent): Remove function.
8561 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8562 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8563 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8564 unclosed <[[, <?, comment, and other literals as extending to EOB.
8565 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8566 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8568 (rng-do-some-validation-1): Don't mark dependent regions.
8569 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8570 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8571 (nxml-clear-dependent-regions): Remove functions.
8572 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8573 (nxml-ensure-scan-up-to-date):
8574 Don't clear&mark dependent regions.
8576 2013-05-15 Leo Liu <sdl.web@gmail.com>
8578 * progmodes/octave.el (octave-goto-function-definition):
8579 Improve and fix callers.
8581 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8583 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8584 the setter (bug#14387).
8586 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8587 surrounding group (bug#14402).
8589 2013-05-14 Juri Linkov <juri@jurta.org>
8591 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8594 2013-05-14 Glenn Morris <rgm@gnu.org>
8596 * progmodes/f90.el (f90-imenu-generic-expression):
8597 Fix typo in 2013-05-08 change. (Bug#14402)
8599 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8601 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8602 Remove signals for which replies are never received.
8604 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8606 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8607 (gdb-handler-alist, gdb-handler-number): Remove variables.
8608 (gdb-handler-list): New variable.
8609 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8610 (gdb-pending-handler-p, gdb-handle-reply)
8611 (gdb-remove-all-pending-triggers): New functions.
8612 (gdb-discard-unordered-replies): New defcustom.
8613 (gdb-handler): New defstruct.
8614 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8615 instead of gdb-pending-triggers. Update docstring.
8616 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8617 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8618 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8619 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8620 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8621 (gdb-frame-handler): Pending triggers are now automatically managed.
8622 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8624 (gdb-input): Automatically handles pending triggers. Update docstring.
8625 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8626 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8628 (gdb-done-or-error): Now use gdb-handle-reply.
8630 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8632 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8635 2013-05-14 Glenn Morris <rgm@gnu.org>
8637 * subr.el (user-emacs-directory-warning): New option.
8638 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8640 2013-05-14 Leo Liu <sdl.web@gmail.com>
8642 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8644 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8645 (octave-font-lock-texinfo-comment): Fix invalid search bound
8646 error: wrong side of point.
8648 2013-05-14 Glenn Morris <rgm@gnu.org>
8650 * progmodes/flymake.el (flymake-xml-program): New option.
8651 (flymake-xml-init): Use it.
8653 * term/xterm.el: Provide a feature.
8655 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8657 2013-05-13 Glenn Morris <rgm@gnu.org>
8659 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8660 Add compat aliases as a hack workaround. (Bug#14384)
8662 2013-05-13 Leo Liu <sdl.web@gmail.com>
8664 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8666 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8668 (octave-comment-start-skip): Include %!.
8669 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8671 2013-05-12 Leo Liu <sdl.web@gmail.com>
8673 * progmodes/octave.el (inferior-octave-startup): Store the value
8674 of __octave_srcdir__ for octave-source-directories.
8675 (inferior-octave-check-process): New function refactored out of
8676 inferior-octave-send-list-and-digest.
8677 (octave-source-directories)
8678 (octave-find-definition-filename-function): New variables.
8679 (octave-source-directories)
8680 (octave-find-definition-default-filename): New functions.
8681 (octave-find-definition): Improve to find functions implemented in C++.
8683 2013-05-12 Glenn Morris <rgm@gnu.org>
8685 * calendar/diary-lib.el (diary-outlook-format-1):
8686 Don't include dayname in the output. (Bug#14349)
8688 2013-05-11 Glenn Morris <rgm@gnu.org>
8690 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8692 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8693 Treat cc-provide like provide.
8695 2013-05-11 Kevin Ryde <user42@zip.com.au>
8697 * cus-dep.el (custom-make-dependencies):
8698 Use generated-autoload-load-name for the sake of files such
8699 such cedet/semantic/bovine/c.el, where the base file name
8700 is not in load-path. (Bug#5277)
8702 2013-05-11 Glenn Morris <rgm@gnu.org>
8704 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8707 2013-05-11 Leo Liu <sdl.web@gmail.com>
8709 * progmodes/octave.el (octave-indent-comment): Improve.
8710 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8711 (octave-eldoc-function-signatures, octave-eldoc-function):
8713 (octave-mode, inferior-octave-mode): Add eldoc support.
8715 2013-05-11 Richard Stallman <rms@gnu.org>
8717 * epa.el (epa-decrypt-file): Take output file name as argument
8718 and read it using `interactive'.
8720 2013-05-11 Leo Liu <sdl.web@gmail.com>
8722 * progmodes/octave.el (octave-beginning-of-line)
8723 (octave-end-of-line): Check before using up-list because it jumps
8724 out of more syntactic contructs since moving to smie.
8725 (octave-indent-comment): New function.
8726 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8727 (octave-begin-keywords, octave-end-keywords)
8728 (octave-reserved-words, octave-smie-bnf-table)
8729 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8731 2013-05-11 Glenn Morris <rgm@gnu.org>
8733 * faces.el (internal-face-x-get-resource):
8734 * frame.el (ns-display-monitor-attributes-list):
8735 * calc/calc-aent.el (math-to-radians-2):
8736 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8739 * calc/calc-menu.el: Make it loadable in isolation.
8741 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8742 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8743 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8744 (eudc-bbdb-query-internal): Require 'bbdb.
8746 * lpr.el (lpr-headers-switches):
8747 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8749 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8751 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8753 * term.el (term-set-escape-char): Make it idempotent.
8755 2013-05-10 Leo Liu <sdl.web@gmail.com>
8757 * progmodes/octave.el (inferior-octave-completion-table):
8758 No longer a function and all uses changed. Use cache to speed up
8759 completion due to bug#11906.
8760 (octave-beginning-of-defun): Re-write to be more general.
8762 2013-05-10 Glenn Morris <rgm@gnu.org>
8764 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8766 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8768 * comint.el (comint-redirect-send-command-to-process): Use :around
8769 rather than :override for comint-redirect-filter.
8770 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8771 Call it instead of comint-redirect-original-filter-function (which
8772 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8774 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8776 * frame.el (display-monitor-attributes-list): Add NS case.
8777 (ns-display-monitor-attributes-list): Declare.
8779 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8781 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8783 2013-05-09 Glenn Morris <rgm@gnu.org>
8785 * international/fontset.el (vertical-centering-font-regexp):
8788 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8790 * bookmark.el (bookmark-search-delay):
8791 * cus-start.el (vertical-centering-font-regexp):
8792 * ps-mule.el (ps-mule-font-info-database-default):
8793 * ps-print.el (ps-default-fg, ps-default-bg):
8794 * type-break.el (type-break-good-break-interval):
8795 * whitespace.el (whitespace-indentation-regexp)
8796 (whitespace-space-after-tab-regexp):
8797 * emacs-lisp/testcover.el (testcover-1value-functions)
8798 (testcover-noreturn-functions, testcover-progn-functions)
8799 (testcover-prog1-functions):
8800 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8801 * eshell/em-glob.el (eshell-glob-translate-alist):
8802 * play/tetris.el (tetris-tty-colors):
8803 * progmodes/cpp.el (cpp-face-default-list):
8804 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8805 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8806 (idlwave-help-browser-generic-args):
8807 * progmodes/make-mode.el (makefile-special-targets-list):
8808 * progmodes/python.el (python-shell-virtualenv-path):
8809 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8810 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8811 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8812 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8813 * textmodes/reftex-vars.el (reftex-format-label-function):
8814 * textmodes/remember.el (remember-diary-file): Fix custom types.
8816 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8819 2013-05-09 Leo Liu <sdl.web@gmail.com>
8821 * progmodes/octave.el (inferior-octave-completion-at-point):
8822 Restore file completion. (Bug#14300)
8823 (inferior-octave-startup): Fix incorrect highlighting for the
8826 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * progmodes/ruby-mode.el: First cut at SMIE support.
8829 (ruby-use-smie): New var.
8830 (ruby-smie-grammar): New constant.
8831 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8832 (ruby-smie--forward-token, ruby-smie--backward-token)
8833 (ruby-smie-rules): New functions.
8834 (ruby-mode-variables): Setup SMIE if applicable.
8836 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8838 * simple.el (line-move-visual): Signal beginning/end of buffer
8839 only if vertical-motion moved less than it was requested. Avoids
8840 silly incorrect error messages when there are display strings with
8841 multiple newlines at EOL.
8843 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8846 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8847 (prolog-char-quote-workaround):
8848 * progmodes/cperl-mode.el (cperl-under-as-char):
8849 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8851 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8853 (vhdl-mode-syntax-table-init): Remove.
8855 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8858 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8860 (ld-script-font-lock-keywords):
8861 Change regexps to use things like \_< and \_>.
8863 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8864 Change all regexps to use things like \_< and \_>.
8866 * progmodes/autoconf.el (autoconf-definition-regexp)
8867 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8868 Handle a _ with symbol syntax.
8869 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8871 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8872 Consolidate declaration.
8873 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8875 (ada-create-syntax-table): Remove.
8876 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8877 already has the right syntax nowadays.
8878 (ada-goto-next-word): Don't change the syntax of "_".
8880 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8883 2013-05-08 Sam Steingold <sds@gnu.org>
8885 * thingatpt.el (thing-at-point): Accept optional second argument
8886 NO-PROPERTIES to strip the text properties from the return value.
8887 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8888 to `thing-at-point' instead of stripping the properties ourselves.
8889 Also, when `thing-at-point' fails to find a url, prepend "http://"
8890 to the filename at point on the assumption that the user is
8891 pointing at something like gnu.org/gnu.
8893 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8895 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8896 * faces.el (crm-separator):
8897 Silence byte-compiler.
8899 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8900 (tool-bar-map): Remove unneeded defvars.
8902 2013-05-08 Leo Liu <sdl.web@gmail.com>
8904 Re-work a fix for bug#10994 based on Le Wang's patch.
8905 * ido.el (ido-remove-consecutive-dups): New helper.
8906 (ido-completing-read): Use it.
8907 (ido-chop): Revert fix for bug#10994.
8909 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8911 * cus-edit.el (custom-save-variables):
8912 Pretty-print long values. (Bug#14187)
8914 2013-05-08 Glenn Morris <rgm@gnu.org>
8916 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8917 (m4-mode-syntax-table): Init in the defvar.
8918 (m4-mode-abbrev-table): Let define-derived-mode define it.
8920 2013-05-08 Tom Tromey <tromey@redhat.com>
8922 * progmodes/m4-mode.el (m4-mode-syntax-table):
8923 Do not treat "_" as word constituent. (Bug#14167)
8925 2013-05-07 Glenn Morris <rgm@gnu.org>
8927 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8928 Remove explicit eshell-isearch-cancel-map.
8930 * progmodes/f90.el (f90-smart-end-names): New option.
8931 (f90-smart-end): Doc fix.
8932 (f90-end-block-optional-name): New constant.
8933 (f90-block-match): Respect f90-smart-end-names.
8935 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8938 about implicit semi-colons (bug#14218).
8940 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8942 * frame.el (display-monitor-attributes-list)
8943 (frame-monitor-attributes): New functions.
8945 2013-05-06 Leo Liu <sdl.web@gmail.com>
8947 * progmodes/octave.el (octave-syntax-propertize-function): Change
8948 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8949 (octave-font-lock-keywords): Use octave-operator-regexp.
8950 (octave-completion-at-point): Rename from
8951 octave-completion-at-point-function.
8952 (inferior-octave-directory-tracker): Robustify.
8953 (octave-text-functions): Remove and fix its uses. No such things
8956 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * emacs-lisp/trace.el (trace--display-buffer): New function.
8959 (trace-make-advice): Use it.
8961 2013-05-06 Juri Linkov <juri@jurta.org>
8963 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8964 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8966 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8967 in the help string. (Bug#12985)
8969 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8971 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8973 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * progmodes/perl-mode.el: Add support for here documents.
8976 (perl-syntax-propertize-function): Match here-doc markers.
8977 (perl-syntax-propertize-special-constructs): Find their end.
8978 (perl-imenu-generic-expression): Use [:alnum:].
8980 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8981 (advice--add-function): Refresh the advice if already present
8984 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8986 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8988 2013-05-06 Glenn Morris <rgm@gnu.org>
8990 * w32-fns.el (w32-charset-info-alist): Declare.
8992 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8993 of its defcustom properties.
8994 (eshell-cmpl-initialize): No need to load pcomplete.
8996 * generic-x.el: No need to require comint when compiling.
8998 * net/eudc-export.el: Make it loadable without bbdb.
8999 (top-level): Use require rather than load-library.
9000 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9001 (eudc-batch-export-records-to-bbdb)
9002 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9005 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9007 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9008 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9009 some tweaks, instead.
9011 2013-05-05 Leo Liu <sdl.web@gmail.com>
9013 * progmodes/octave.el (octave-font-lock-keywords)
9014 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9015 (inferior-octave-send-list-and-digest): Improve error message.
9016 (octave-mode, inferior-octave-mode): Use setq-local.
9017 (octave-help): Set info-lookup-mode.
9019 2013-05-05 Richard Stallman <rms@gnu.org>
9021 * vc/compare-w.el (compare-windows-whitespace):
9022 Treat no-break space as whitespace.
9024 * mail/rmailsum.el (rmail-summary-rmail-update):
9025 Detect empty summary and don't change selected message.
9026 (rmail-summary-goto-msg): Likewise.
9028 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9029 Doc fixes, rename args.
9031 2013-05-05 Alan Mackenzie <acm@muc.de>
9033 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9035 2013-05-05 Juri Linkov <juri@jurta.org>
9037 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9038 to not add the length of the summary segment to the return value.
9041 2013-05-05 Leo Liu <sdl.web@gmail.com>
9043 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9044 (inferior-octave-output-filter): Remove.
9045 (octave-send-region, inferior-octave-startup): Fix callers.
9046 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9047 (octave-binary-file-extensions): New user variable.
9048 (octave-find-definition): Confirm if opening binary files.
9049 (octave-help-file): Use octave-find-definition to get the binary
9051 (octave-help): Adjust for octave-help-file change.
9053 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9055 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9056 Merge the two entries that handle function definitions.
9057 (pascal--syntax-propertize): New const.
9058 (pascal-mode): Use it. Use setq-local.
9060 2013-05-04 Glenn Morris <rgm@gnu.org>
9062 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9063 (diary-from-outlook): Respect diary-from-outlook-function.
9065 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9067 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9068 Move the declaration from C.
9069 (read-minibuffer, eval-minibuffer): Move from C.
9070 (completion-setup-function): Avoid minibuffer-completion-contents.
9072 2013-05-03 Leo Liu <sdl.web@gmail.com>
9074 * progmodes/octave.el (octave-font-lock-keywords): Do not
9075 dehighlight 'end' in comments or strings.
9076 (octave-completing-read, octave-goto-function-definition):
9078 (octave-help-buffer): New user variable.
9079 (octave-help-file, octave-help-function): New button types.
9080 (octave-help): New command and bind it to C-h ;.
9081 (octave-find-definition): New command and bind it to M-.
9082 (user-error): Alias to error if not defined.
9084 2013-05-02 Leo Liu <sdl.web@gmail.com>
9086 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9088 (octave-font-lock-keywords): Include [ and {.
9090 2013-05-02 Leo Liu <sdl.web@gmail.com>
9092 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9093 (inferior-octave): Remove calling comint-mode and return the buffer.
9094 (inferior-octave-startup): Cosmetic changes.
9096 2013-05-02 Leo Liu <sdl.web@gmail.com>
9098 * progmodes/octave.el (octave-syntax-propertize-function):
9099 Include the case when ' is at line beginning. (Bug#14336)
9101 2013-05-02 Glenn Morris <rgm@gnu.org>
9103 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9104 * desktop.el (vc-dir-mode): Just autoload it here.
9106 2013-05-02 Alan Mackenzie <acm@muc.de>
9108 Eliminate variable c-standard-font-lock-fontify-region-function.
9109 * progmodes/cc-mode.el
9110 (c-standard-font-lock-fontify-region-function): Remove.
9111 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9113 2013-05-01 Leo Liu <sdl.web@gmail.com>
9115 * progmodes/octave.el: Compatible with older emacs-24 releases.
9116 (inferior-octave-has-built-in-variables): Remove. Built-in
9117 variables were removed from Octave in 2007.
9118 (inferior-octave-startup): Fix uses.
9119 (comint-line-beginning-position): Remove compatibility code for
9122 2013-05-01 Juri Linkov <juri@jurta.org>
9124 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9126 2013-05-01 Juri Linkov <juri@jurta.org>
9128 * comint.el (comint-previous-matching-input): Don't print message
9129 "History item: %d" when `isearch-mode' is active.
9130 (comint-history-isearch-message): Print message "History item: %d"
9131 when `comint-input-ring-index' is not empty and this function is
9132 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9134 2013-05-01 Leo Liu <sdl.web@gmail.com>
9136 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9137 definitions. Use completion-at-point to insert keywords.
9138 (octave-abbrev-start): Remove.
9139 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9141 2013-04-30 Leo Liu <sdl.web@gmail.com>
9143 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9146 2013-04-30 Alan Mackenzie <acm@muc.de>
9148 Handle arbitrarily long C++ member initialisation lists.
9149 * progmodes/cc-engine.el (c-back-over-member-initializers):
9151 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9152 (most) member init lists.
9154 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9156 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9159 2013-04-30 Leo Liu <sdl.web@gmail.com>
9161 * progmodes/octave.el (octave-variables): Remove. No builtin
9162 variables any more. All converted to functions.
9163 (octave-font-lock-keywords, octave-completion-at-point-function):
9165 (octave-font-lock-texinfo-comment): New user variable.
9166 (octave-texinfo-font-lock-keywords): New variable for texinfo
9168 (octave-function-comment-block): New face.
9169 (octave-font-lock-texinfo-comment): New function.
9170 (octave-mode): Font lock texinfo comment block.
9172 2013-04-29 Leo Liu <sdl.web@gmail.com>
9174 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9175 indexing expression.
9176 (octave-continuation-string): Do not use \.
9177 (inferior-octave-complete-impossible): Remove.
9178 (inferior-octave-completion-table)
9179 (inferior-octave-completion-at-point): Remove its uses.
9180 (inferior-octave-startup): completion_matches was introduced to
9181 Octave in 1996 so safe to assume it.
9182 (octave-function-file-comment): Improve to follow how Octave does it.
9183 (octave-update-function-file-comment): Tweak.
9185 2013-04-29 Leo Liu <sdl.web@gmail.com>
9187 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9188 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9189 (octave-function-file-comment): Fix typo.
9190 (octave-sync-function-file-names): Use read-char-choice.
9192 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9194 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9195 to t for the less important warnings.
9197 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9199 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9201 2013-04-27 Glenn Morris <rgm@gnu.org>
9203 * vc/log-view.el (log-view-current-entry):
9204 Treat "---" separator lines as part of the following rev. (Bug#14169)
9206 2013-04-27 Juri Linkov <juri@jurta.org>
9208 * subr.el (read-number): Doc fix about using it by interactive
9209 code letter `n'. (Bug#14254)
9211 2013-04-27 Juri Linkov <juri@jurta.org>
9213 * desktop.el (desktop-auto-save-timeout): New option.
9214 (desktop-file-checksum): New variable.
9215 (desktop-save): Add optional arg `auto-save' and don't auto-save
9217 (desktop-auto-save-timer): New variable.
9218 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9219 (after-init-hook): Call `desktop-auto-save-set-timer'.
9220 Suggested by Reuben Thomas <rrt@sc3d.org> in
9221 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9223 2013-04-27 Leo Liu <sdl.web@gmail.com>
9225 * progmodes/octave.el (octave-function-file-p)
9226 (octave-skip-comment-forward, octave-function-file-comment)
9227 (octave-update-function-file-comment): New functions.
9228 (octave-mode-map): Bind C-c ; to
9229 octave-update-function-file-comment.
9230 (octave-mode-menu): Add octave-update-function-file-comment.
9231 (octave-mode, inferior-octave-mode): Fix doc-string.
9232 (octave-insert-defun): Conform to Octave's coding convention.
9235 * files.el (basic-save-buffer): Don't let errors in
9236 before-save-hook prevent saving buffer.
9238 2013-04-20 Roland Winkler <winkler@gnu.org>
9240 * faces.el (read-face-name): Use completing-read if arg multiple
9243 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9245 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9246 displayed, move point to after the totals line.
9247 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9250 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9252 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9253 Add current dir to the load-path.
9254 (package-generate-autoloads): Don't rely on
9255 autoload-ensure-default-file.
9257 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9259 * textmodes/remember.el (remember-store-in-files): Document that
9260 the file name format is passed to `format-time-string'.
9262 2013-04-26 Leo Liu <sdl.web@gmail.com>
9264 * progmodes/octave.el (octave-sync-function-file-names): New function.
9265 (octave-mode): Use it in before-save-hook.
9267 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9269 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9272 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9273 \n and comment, even if it's not an implicit ; (bug#14218).
9275 2013-04-26 Glenn Morris <rgm@gnu.org>
9277 * subr.el (read-number): Once more use `read' rather than
9278 `string-to-number', to trap non-numeric input. (Bug#14254)
9280 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9282 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9283 Use `syntax-multiline' text property consistently instead of
9284 `font-lock-multiline'. (Bug#14237)
9286 2013-04-26 Glenn Morris <rgm@gnu.org>
9288 * emacs-lisp/shadow.el (list-load-path-shadows):
9289 No longer necessary to check for duplicate simple.el, since
9290 2012-07-07 change to init_lread to not include installation lisp
9291 directories in load-path when running uninstalled. (Bug#14270)
9293 2013-04-26 Leo Liu <sdl.web@gmail.com>
9295 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9296 (octave-mode, inferior-octave-mode): Use setq-local.
9297 (octave-not-in-string-or-comment-p): Rename to
9298 octave-in-string-or-comment-p.
9299 (octave-in-comment-p, octave-in-string-p)
9300 (octave-in-string-or-comment-p): Replace defsubst with defun.
9302 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9304 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9306 2013-04-25 Bastien Guerry <bzg@gnu.org>
9308 * textmodes/remember.el (remember-data-directory)
9309 (remember-directory-file-name-format): Fix custom types.
9311 2013-04-25 Leo Liu <sdl.web@gmail.com>
9313 * progmodes/octave.el (octave-completion-at-point-function):
9314 Make use of inferior octave process.
9315 (octave-initialize-completions): Remove.
9316 (inferior-octave-completion-table): New function.
9317 (inferior-octave-completion-at-point): Use it.
9318 (octave-completion-alist): Remove.
9320 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9323 (opascal-mode-syntax-table): New var.
9324 (opascal-literal-kind, opascal-is-literal-end)
9325 (opascal-literal-token-at): Rewrite.
9326 (opascal--literal-start-re, opascal-font-lock-keywords)
9327 (opascal--syntax-propertize): New constants.
9328 (opascal-font-lock-defaults): Adjust.
9329 (opascal-mode): Use them. Set comment-<foo> variables as well.
9330 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9331 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9332 (delphi-other-face, opascal-other-face): Remove face variables.
9333 (opascal-save-state): Remove macro.
9334 (opascal-fontifying-progress-step): Remove constant.
9335 (opascal--ignore-changes): Remove var.
9336 (opascal-set-token-property, opascal-parse-next-literal)
9337 (opascal-is-stable-literal, opascal-complete-literal)
9338 (opascal-is-literal-start, opascal-face-of)
9339 (opascal-parse-region, opascal-parse-region-until-stable)
9340 (opascal-fontify-region, opascal-after-change)
9341 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9342 (opascal-debug-parse-region, opascal-debug-parse-window)
9343 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9344 (opascal-debug-fontify-buffer): Remove.
9345 (opascal-debug-mode-map): Adjust accordingly.
9347 2013-04-25 Leo Liu <sdl.web@gmail.com>
9349 Merge octave-mod.el and octave-inf.el into octave.el with some
9351 * progmodes/octave.el: New file renamed from octave-mod.el.
9352 * progmodes/octave-inf.el: Merged into octave.el.
9353 * progmodes/octave-mod.el: Renamed to octave.el.
9355 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9357 * textmodes/reftex-vars.el
9358 (reftex-label-ignored-macros-and-environments): New defcustom.
9360 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9362 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9364 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9365 (smie-indent-keyword): Improve the check to ensure that the next
9366 comment is really on the same line.
9367 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9369 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9370 semi-colons if the line is not otherwise empty (bug#14218).
9372 2013-04-25 Glenn Morris <rgm@gnu.org>
9374 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9376 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9378 * progmodes/opascal.el (opascal-set-token-property): Rename from
9379 opascal-set-text-properties and only set `token' (bug#14134).
9380 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9381 (opascal-literal-text-properties): Remove.
9382 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9385 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9387 * textmodes/remember.el (remember-handler-functions): Add an
9388 option for a new handler `remember-store-in-files'.
9389 (remember-data-directory, remember-directory-file-name-format):
9391 (remember-store-in-files): New function to store remember notes
9392 as separate files within a directory.
9394 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9396 * progmodes/compile.el (compilation-next-error-function):
9397 Pass "formats" to compilation-find-file (bug#11777).
9399 2013-04-24 Glenn Morris <rgm@gnu.org>
9401 * vc/vc-bzr.el (vc-bzr-print-log):
9402 * vc/vc-hg.el (vc-hg-print-log):
9403 * vc/vc-svn.el (vc-svn-print-log):
9404 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9406 * vc/vc-bzr.el (vc-bzr-print-log):
9407 * vc/vc-cvs.el (vc-cvs-print-log):
9408 * vc/vc-git.el (vc-git-print-log):
9409 * vc/vc-hg.el (vc-hg-print-log):
9410 * vc/vc-mtn.el (vc-mtn-print-log):
9411 * vc/vc-rcs.el (vc-rcs-print-log):
9412 * vc/vc-sccs.el (vc-sccs-print-log):
9413 * vc/vc-svn.el (vc-svn-print-log):
9414 * vc/vc.el (vc-print-log-internal): Doc fixes.
9416 2013-04-23 Glenn Morris <rgm@gnu.org>
9418 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9419 Remove venerable code attempting to avoid substitute-command-keys.
9421 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9423 * textmodes/reftex-vars.el (reftex-label-regexps):
9424 Call `reftex-compile-variables' after changes to this variable.
9426 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9429 Use lexical-binding.
9430 (jit-lock-force-redisplay): Use markers, check buffer's continued
9431 existence and beware narrowed buffers.
9432 (jit-lock-fontify-now): Adjust call accordingly.
9434 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9436 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9437 to avoid misleading the user.
9439 2013-04-22 Leo Liu <sdl.web@gmail.com>
9441 * info-look.el: Prefer latex2e.info. (Bug#14240)
9443 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9445 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9447 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9448 * net/tramp.el (tramp-call-process): ... here.
9449 (tramp-set-completion-function, tramp-parse-putty):
9450 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9451 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9452 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9453 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9454 (tramp-call-local-coding-command): Use `tramp-call-process'
9455 instead of `tramp-compat-call-process'.
9457 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9458 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9459 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9460 (tramp-find-inline-compress): Improve traces.
9461 (tramp-maybe-send-script): Check for Perl binary.
9462 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9464 2013-04-22 Daiki Ueno <ueno@gnu.org>
9466 * epg.el (epg-context-pinentry-mode): New function.
9467 (epg-context-set-pinentry-mode): New function.
9468 (epg--start): Pass --pinentry-mode option to gpg command.
9470 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9472 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9473 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9474 `completion-at-point'. (Bug#13774)
9476 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9477 default key binding for `describe-distribution' has been moved to
9478 `C-h C-o'. (Bug#13970)
9480 2013-04-21 Glenn Morris <rgm@gnu.org>
9482 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9484 (vc-print-log): Clarify interactive prompt.
9486 2013-04-20 Glenn Morris <rgm@gnu.org>
9488 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9489 No longer include timestamp etc information.
9491 2013-04-20 Roland Winkler <winkler@gnu.org>
9493 * faces.el (read-face-name): Bug fix, return just one face if arg
9494 multiple is nil. (Bug#14209)
9496 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9498 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9499 (remove-function): Autoload.
9501 * comint.el (comint-redirect-original-filter-function): Remove.
9502 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9503 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9504 (vc-cvs-annotate-command):
9505 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9506 * progmodes/prolog.el (prolog-consult-compile):
9507 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9508 Use add/remove-function instead.
9509 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9510 (gud-tooltip-process-output, gud-tooltip-tips):
9511 Use add/remove-function instead.
9512 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9513 (scheme-interaction-mode, exit-scheme-interaction-mode):
9514 Use add/remove-function instead.
9516 * vc/vc-dispatcher.el: Use lexical-binding.
9517 (vc--process-sentinel): Rename from vc-process-sentinel.
9518 Change last arg to be the code to run. Don't use vc-previous-sentinel
9519 and vc-sentinel-commands any more.
9520 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9521 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9523 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9525 * progmodes/sh-script.el (sh-imenu-generic-expression):
9526 Handle function names with a single character. (Bug#14111)
9528 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9530 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9531 for subroutines defined in an eval (bug#14182).
9533 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9535 * bookmark.el (bookmark-completing-read): Improve handling of empty
9538 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9540 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9542 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9544 New faster Imenu implementation (bug#14058).
9545 * progmodes/python.el:
9546 (python-imenu-prev-index-position):
9547 (python-imenu-format-item-label-function)
9548 (python-imenu-format-parent-item-label-function)
9549 (python-imenu-format-parent-item-jump-label-function):
9551 (python-imenu-format-item-label)
9552 (python-imenu-format-parent-item-label)
9553 (python-imenu-format-parent-item-jump-label)
9554 (python-imenu--put-parent, python-imenu--build-tree)
9555 (python-imenu-create-index, python-imenu-create-flat-index)
9556 (python-util-popn): New functions.
9557 (python-mode): Set imenu-create-index-function to
9558 python-imenu-create-index.
9560 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9562 * winner.el (winner-active-region): Use region-active-p, activate-mark
9563 and deactivate-mark (bug#14225).
9565 * simple.el (deactivate-mark): Don't inline it.
9567 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9569 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9571 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9573 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9574 file extensions from the archive-mode entry in order to prefer
9575 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9577 2013-04-18 Leo Liu <sdl.web@gmail.com>
9579 * bindings.el (help-event-list): Add ?\?.
9581 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9583 * subr.el (with-wrapper-hook): Declare obsolete.
9584 * simple.el (filter-buffer-substring-function): New hook.
9585 (filter-buffer-substring): Use it.
9586 (filter-buffer-substring-functions): Mark obsolete.
9587 * minibuffer.el (completion-in-region-function): New hook.
9588 (completion-in-region): Use it.
9589 (completion-in-region-functions): Mark obsolete.
9590 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9591 * abbrev.el (abbrev-expand-function): New hook.
9592 (expand-abbrev): Use it.
9593 (abbrev-expand-functions): Mark obsolete.
9594 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9597 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9599 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9600 and do not care about match data.
9602 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9605 completion tables when completing error conditions and
9606 `declare' arguments.
9607 (lisp-complete-symbol, field-complete): Mark as obsolete.
9608 (check-parens): Unmatched parens are user errors.
9609 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9611 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9613 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9614 command changed buffer (ie. `flyspell-pre-buffer' is not current
9615 buffer), which prevents making decisions based on invalid value of
9616 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9617 cause an error when `flyspell-pre-point' was nil after switching
9619 (flyspell-post-command-hook): No longer needs to change buffers when
9620 checking pre-word. While at it remove unnecessary progn.
9622 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9624 * textmodes/ispell.el (ispell-add-per-file-word-list):
9625 Fix `flyspell-correct-word-before-point' error when accepting
9626 words and `coment-padding' is an integer by using
9627 `comment-normalize-vars' (Bug #14214).
9629 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9631 New defun movement commands.
9632 * progmodes/python.el (python-nav--syntactically)
9633 (python-nav--forward-defun, python-nav-backward-defun)
9634 (python-nav-forward-defun): New functions.
9636 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9638 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9639 (python-syntax-context): Use named compiler-macro for backwards
9640 compatibility with Emacs 24.x.
9642 2013-04-17 Leo Liu <sdl.web@gmail.com>
9644 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9645 octave-hide-process-buffer.
9647 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9652 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9654 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9655 Fix adjustment of offset when receiving incomplete responses from GDB
9658 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9660 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9661 python-mode-abbrev-table.
9662 (python-skeleton-define): Adjust accordingly.
9663 (python-mode-abbrev-table): New table that inherits from it so that
9664 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9666 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9667 (abbrev-symbol): Use it.
9668 (abbrev--before-point): Use it since we already handle inheritance.
9670 2013-04-16 Leo Liu <sdl.web@gmail.com>
9672 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9673 binding to info-lookup-symbol.
9675 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9677 * minibuffer.el (completion--twq-all):
9678 * term/ns-win.el (ns-initialize-window-system):
9679 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9681 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9686 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9688 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9690 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9691 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9693 (ruby-end-of-defun): Remove the unused arg, change the docstring
9694 to reflect that this function is only used as the value of
9695 `end-of-defun-function'.
9696 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9697 to reflect an earlier change that beginning/end-of-defun functions
9698 jump between methods in a class definition, as well as top-level
9701 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9703 * minibuffer.el (minibuffer-complete): Don't just scroll
9704 a *Completions* that's been iconified.
9705 (minibuffer-force-complete): Make sure repetitions do cycle when going
9706 through completion-in-region -> minibuffer-complete.
9708 2013-04-15 Alan Mackenzie <acm@muc.de>
9710 Correct the placement of c-cpp-delimiters when there're #s not at
9713 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9714 place a submatch around the #.
9715 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9716 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9719 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9721 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9722 (advice--member-p): New arg `name'.
9723 (advice--add-function, advice-member-p): Use it (bug#14202).
9725 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9727 Reformulate java imenu-generic-expression.
9728 The old expression contained ill formed regexps.
9730 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9731 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9732 (cc-imenu-java-method-arg-regexp): New defconsts.
9733 (cc-imenu-java-build-type-args-regex): New defun.
9734 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9735 handling of spaces in the regexp.
9737 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9739 * textmodes/ispell.el (ispell-command-loop): Remove
9740 flyspell highlight of a word when ispell accepts it (bug #14178).
9742 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9744 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9745 uses code from the previous `ange-ftp-run-real-handler'.
9746 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9747 only in case that function exist. This is needed for proper
9750 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9752 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9754 * textmodes/reftex.el (reftex-compile-variables): Use it.
9756 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9758 * files.el (normal-mode): Only use default major-mode if no other mode
9761 * emacs-lisp/trace.el (trace-values): New function.
9763 * files.el: Allow : in local variables (bug#14089).
9764 (hack-local-variable-regexp): New var.
9765 (hack-local-variables-prop-line, hack-local-variables): Use it.
9767 2013-04-13 Roland Winkler <winkler@gnu.org>
9769 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9770 data before it gets modified by bibtex-beginning-of-entry.
9772 2013-04-13 Roland Winkler <winkler@gnu.org>
9774 * textmodes/bibtex.el (bibtex-url): Doc fix.
9776 2013-04-13 Roland Winkler <winkler@gnu.org>
9778 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9779 does not visit a BibTeX file, exclude it from the list of buffers
9780 returned by bibtex-initialize.
9782 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9784 * window.el (split-window): Remove interactive form, since as a
9785 command this function is a special case of split-window-below.
9788 2013-04-12 Roland Winkler <winkler@gnu.org>
9790 * faces.el (read-face-name): Do not override value of arg default.
9791 Allow single faces and strings as default values. Remove those
9792 elements from return value that are not faces.
9793 (describe-face): Simplify.
9794 (face-at-point): New optional args thing and multiple so that this
9795 function can provide the same functionality previously provided by
9797 (make-face-bold, make-face-unbold, make-face-italic)
9798 (make-face-unitalic, make-face-bold-italic, invert-face)
9799 (modify-face, read-face-and-attribute): Use face-at-point.
9801 * cus-edit.el (customize-face, customize-face-other-window)
9802 * cus-theme.el (custom-theme-add-face)
9803 * face-remap.el (buffer-face-set)
9804 * facemenu.el (facemenu-set-face): Use face-at-point.
9806 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9808 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9810 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9812 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9813 off leading { and trailing } from field values.
9815 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9817 * emacs-lisp/timer.el (timer--check): New function.
9818 (timer--time, timer-set-function, timer-event-handler): Use it.
9819 (timer-set-idle-time): Simplify.
9820 (timer--activate): CSE.
9821 (timer-event-handler): Give more info in error message.
9822 (internal-timer-start-idle): New function, moved from C.
9824 * mpc.el (mpc-proc): Add `restart' argument.
9825 (mpc-proc-cmd): Use it.
9826 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9827 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9830 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9832 * progmodes/sh-script.el: Implement `sh-mode' own
9833 `add-log-current-defun-function' (bug#14112).
9834 (sh-current-defun-name): New function.
9835 (sh-mode): Use the function.
9837 2013-04-09 Bastien Guerry <bzg@gnu.org>
9839 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9841 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9845 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9848 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9850 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9853 2013-04-07 Leo Liu <sdl.web@gmail.com>
9855 * pcmpl-x.el: New file.
9857 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9859 Do not set x-display-name until X connection is established.
9860 This is needed to prevent from weird situation described at
9861 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9862 * frame.el (make-frame): Set x-display-name after call to
9863 window system initialization function, not before.
9864 * term/x-win.el (x-initialize-window-system): Add optional
9865 display argument and use it.
9866 * term/w32-win.el (w32-initialize-window-system):
9867 * term/ns-win.el (ns-initialize-window-system):
9868 * term/pc-win.el (msdos-initialize-window-system):
9869 Add compatible optional display argument.
9871 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9873 * files.el (normal-backup-enable-predicate): On MS-Windows and
9874 MS-DOS compare truenames of temporary-file-directory and of the
9875 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9876 don't fail comparison by compare-strings. Also, compare file
9877 names case-insensitively on MS-Windows and MS-DOS.
9879 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9882 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9884 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9886 * whitespace.el (whitespace-color-on, whitespace-color-off):
9887 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9889 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9891 * ispell.el (ispell-set-spellchecker-params):
9892 Really set `ispell-args' for all equivs.
9894 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * ido.el (ido-completions): Use extra elements of ido-decorations
9898 (ido-decorations): Update docstring.
9900 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9902 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9903 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9904 nil during initialization, in order not to miss changes since the
9905 file was opened. (Bug#14140)
9907 2013-04-05 Leo Liu <sdl.web@gmail.com>
9909 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9911 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9913 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9915 2013-04-04 Glenn Morris <rgm@gnu.org>
9917 * electric.el (electric-pair-inhibit-predicate): Add :version.
9919 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9921 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9922 when a package is required several times (bug#14082).
9924 2013-04-04 Roland Winkler <winkler@gnu.org>
9926 * faces.el (read-face-name): Behave as promised by the docstring.
9927 Assume that arg default is a list of faces.
9928 (describe-face): Call read-face-name with list of default faces.
9930 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9932 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9933 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9934 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9936 (bookmark-exit-hook-internal): Save even if list is empty.
9938 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9940 * emacs-lisp/package.el (package-pinned-packages): New var.
9941 (package--add-to-archive-contents): Obey it (bug#14118).
9943 2013-04-03 Alan Mackenzie <acm@muc.de>
9945 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9946 Also adapt to the new values of element 7 of a parse state.
9948 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9949 parameter `not-in-delimiter'. Handle being inside comment opener.
9950 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9951 character in case we're typing a '*' after a '/'.
9952 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9953 instead by passing the parameter to c-state-pp-to-literal.
9955 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9956 for elt. 7 of a parse state.
9958 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9960 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9961 * international/latin1-disp.el, international/mule-util.el:
9962 * language/cyril-util.el, language/european.el, language/ind-util.el:
9963 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9964 * language/tibetan.el, language/viet-util.el:
9965 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9967 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9969 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9970 (electric-pair-post-self-insert-function): Use it.
9971 (electric-pair-default-inhibit): New function, extracted from
9972 electric-pair-post-self-insert-function.
9974 2013-03-31 Roland Winkler <winkler@gnu.org>
9976 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9978 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9982 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9984 Un-indent after "pass" and "return" statements (Bug#13888)
9985 * progmodes/python.el (python-indent-block-enders): New var.
9986 (python-indent-calculate-indentation): Use it.
9988 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9990 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9991 defun. Defining it as defalias could introduce too eager
9992 byte-compiler optimization. (Bug#14030)
9994 2013-03-30 Chong Yidong <cyd@gnu.org>
9996 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9998 2013-03-30 Leo Liu <sdl.web@gmail.com>
10000 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10001 (kmacro-execute-from-register): Pass the keyboard macro to
10002 kmacro-call-macro or repeating won't work correctly.
10004 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10006 * progmodes/subword.el: Back to using `forward-symbol'.
10008 * subr.el (forward-whitespace, forward-symbol)
10009 (forward-same-syntax): Move from thingatpt.el.
10011 2013-03-29 Leo Liu <sdl.web@gmail.com>
10013 * kmacro.el (kmacro-to-register): New command.
10014 (kmacro-execute-from-register): New function.
10015 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10017 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * mpc.el: Use defvar-local and setq-local.
10020 (mpc--proc-connect): Connection failures are not bugs.
10021 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10022 (mpc-volume-map): Bind to the up-events.
10024 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10026 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10027 instead of `forward-symbol'.
10029 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10032 (edebug--recursive-edit): Use it.
10033 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10034 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10036 2013-03-28 Leo Liu <sdl.web@gmail.com>
10038 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10040 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10042 * facemenu.el (list-colors-callback): New defvar.
10043 (list-colors-redisplay): New function.
10044 (list-colors-display): Install list-colors-redisplay as the
10045 revert-buffer-function. (Bug#14063)
10047 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10049 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10050 and suffixes don't overlap (bug#14061).
10052 * case-table.el: Use lexical-binding.
10053 (case-table-get-table): New function.
10054 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10056 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10058 * progmodes/subword.el: Add `superword-mode' to do word motion
10059 over symbol_words (parallels and leverages `subword-mode' which
10060 does word motion inside MixedCaseWords).
10062 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10064 * eshell/em-unix.el: Move su and sudo to...
10065 * eshell/em-tramp.el: ...Eshell tramp module.
10067 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10069 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10070 Change return value to be a sexp. Delay `get-buffer' to after
10071 restoring the desktop (bug#13951).
10073 2013-03-26 Leo Liu <sdl.web@gmail.com>
10075 * register.el: Move semantic tag handling back to
10076 cedet/semantic/senator.el. (Bug#14052)
10078 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10080 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10081 into the prompt either (bug#13963).
10083 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10086 part of "(error-foo)".
10088 2013-03-24 Juri Linkov <juri@jurta.org>
10090 * replace.el (list-matching-lines-prefix-face): New defcustom.
10091 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10092 `occur-engine' if `face-differs-from-default-p' returns t.
10093 (occur-engine): Add `,' inside backquote construct to evaluate
10094 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10095 Pass `prefix-face' to the functions `occur-context-lines' and
10096 `occur-engine-add-prefix'.
10097 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10098 `prefix-face' and propertize the prefix with `prefix-face'.
10101 2013-03-24 Leo Liu <sdl.web@gmail.com>
10103 * nxml/rng-valid.el (rng-validate-while-idle)
10104 (rng-validate-quick-while-idle): Guard against deleted buffer.
10107 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10108 is the last entry in kill-buffer-hook.
10110 * files.el (kill-buffer-hook): Doc fix.
10112 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10114 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10115 Make it safe-local.
10117 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10119 2013-03-23 Leo Liu <sdl.web@gmail.com>
10121 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10124 * nxml/rng-valid.el (rng-validate-mode)
10125 (rng-after-change-function, rng-do-some-validation):
10126 * nxml/rng-maint.el (rng-validate-buffer):
10127 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10128 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10129 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10130 (nxml-extend-after-change-region): Use with-silent-modifications.
10132 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10135 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10136 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10137 timer-idle-list. (Bug#13999)
10139 2013-03-23 Juri Linkov <juri@jurta.org>
10141 * info.el (info-index-match): New face.
10142 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10143 main pattern and add text properties with the new face to matches
10144 in index entries relative to the beginning of the index entry.
10147 2013-03-21 Eric Ludlam <zappo@gnu.org>
10149 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10150 Inhibit read only while inserting objects.
10152 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10154 * progmodes/cfengine.el: Update docs to mention
10155 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10156 symbol motion. Remove "_" from the word syntax.
10158 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10160 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10161 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10163 2013-03-20 Juri Linkov <juri@jurta.org>
10165 * info.el (Info-next-reference-or-link)
10166 (Info-prev-reference-or-link): New functions.
10167 (Info-next-reference, Info-prev-reference): Use them.
10168 (Info-try-follow-nearest-node): Handle footnote navigation.
10169 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10171 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10173 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10174 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10176 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10178 Suppress unnecessary non-ASCII chatter during build process.
10179 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10180 (batch-skkdic-convert): Suppress most of the chatter.
10181 It's not needed so much now that machines are faster,
10182 and its non-ASCII component was confusing; see Dmitry Gutov in
10183 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10185 2013-03-20 Leo Liu <sdl.web@gmail.com>
10187 * ido.el (ido-chop): Fix bug#10994.
10189 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10191 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10193 (whitespace-color-on, whitespace-color-off):
10194 Use `font-lock-fontify-buffer' (Bug#13817).
10196 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10198 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10199 remapping in mode-line.
10200 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10202 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10204 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10205 value for `whitespace-line' face (Bug#13875).
10206 (whitespace-font-lock-keywords): Change description.
10207 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10208 the constructed keywords instead.
10209 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10211 2013-03-19 Leo Liu <sdl.web@gmail.com>
10213 * progmodes/compile.el (compilation-display-error): New command.
10214 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10217 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10219 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10221 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10223 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10225 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10227 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10229 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10230 * net/tramp-gvfs.el (top):
10231 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10232 (tramp-handle-shell-command): Use it.
10233 (tramp-dissect-file-name): Raise an error when hostname is a
10234 method name, and neither method nor user is specified.
10236 * net/trampver.el: Update release number.
10238 2013-03-18 Leo Liu <sdl.web@gmail.com>
10240 Make sure eldoc can be turned off properly.
10241 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10243 (eldoc-display-message-p): Revert last change.
10244 (eldoc-display-message-no-interference-p)
10245 (eldoc-print-current-symbol-info): Tweak.
10247 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10249 * doc-view.el (doc-view-new-window-function): Check the new window
10250 overlay's display property instead the char property of the
10251 buffer's first char. Use `with-selected-window' instead of
10252 `save-window-excursion' with `select-window'.
10253 (doc-view-document->bitmap): Check the current doc-view overlay's
10254 display property instead the char property of the buffer's first char.
10256 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10258 Automate the build of ja-dic.el (Bug#13984).
10259 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10260 from the input, rather than assume that it's been done for us by the
10261 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10262 the current date into a ja-dic.el comment, as that complicates
10263 regression testing.
10265 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10267 * whitespace.el: Fix double evaluation.
10268 (whitespace-space, whitespace-hspace, whitespace-tab)
10269 (whitespace-newline, whitespace-trailing, whitespace-line)
10270 (whitespace-space-before-tab, whitespace-indentation)
10271 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10273 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10274 (whitespace-color-on): Use a single font-lock-add-keywords call.
10275 Fix double-evaluation of face variables.
10277 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10279 * net/tramp-adb.el (tramp-adb-parse-device-names):
10280 Use `start-process' instead of `call-process'. Otherwise, the
10281 function might be blocked under MS Windows. (Bug#13299)
10283 2013-03-17 Leo Liu <sdl.web@gmail.com>
10285 Extend eldoc to display info in the mode-line. (Bug#13978)
10286 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10287 (eldoc-mode-line-string): New variable.
10288 (eldoc-minibuffer-message): New function.
10289 (eldoc-message-function): New variable.
10290 (eldoc-message): Use it.
10291 (eldoc-display-message-p)
10292 (eldoc-display-message-no-interference-p):
10293 Support eldoc-post-insert-mode.
10295 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10296 (eval-expression): Run it.
10298 2013-03-17 Roland Winkler <winkler@gnu.org>
10300 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10301 strings in the list of return values.
10303 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10305 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10306 radix before checking for HMS forms.
10308 2013-03-16 Leo Liu <sdl.web@gmail.com>
10310 * progmodes/scheme.el: Add indentation and font-locking for λ.
10313 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10315 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10316 token before point (bug#13942).
10318 2013-03-16 Leo Liu <sdl.web@gmail.com>
10320 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10322 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10324 * startup.el (command-line-normalize-file-name): Fix handling of
10325 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10326 <xfq.free@gmail.com> in
10327 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10329 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10331 Sync with Tramp 2.2.7.
10333 * net/trampver.el: Update release number.
10335 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10337 * doc-view.el: Fix bug#13887.
10338 (doc-view-insert-image): Don't modify overlay associated to
10339 non-live windows, and implement horizontal centering of image in
10340 case it's smaller than the window.
10341 (doc-view-new-window-function): Force redisplay of new windows on
10344 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10346 * saveplace.el (save-place-alist-to-file): Don't sort
10347 `save-place-alist', just pretty-print it (bug#13882).
10349 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10351 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10352 Check whether `default-file-name-coding-system' is bound.
10353 It isn't in XEmacs.
10355 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10357 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10358 backquotes for `obsolete' (bug#13929).
10360 * international/mule.el (find-auto-coding): Include file name in
10361 obsolescence warning (bug#13922).
10363 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10365 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10366 for CFEngine 3-specific indentation.
10367 (cfengine3-indent-line): Use it. Fix up category regex.
10368 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10370 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * type-break.el (type-break-file-name):
10373 * textmodes/remember.el (remember-data-file):
10374 * strokes.el (strokes-file):
10375 * shadowfile.el (shadow-initialize):
10376 * saveplace.el (save-place-file):
10377 * ps-bdf.el (bdf-cache-file):
10378 * progmodes/idlwave.el (idlwave-config-directory):
10379 * net/quickurl.el (quickurl-url-file):
10380 * international/kkc.el (kkc-init-file-name):
10381 * ido.el (ido-save-directory-list-file):
10382 * emulation/viper.el (viper-custom-file-name):
10383 * emulation/vip.el (vip-startup-file):
10384 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10385 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10387 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10389 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10390 * language/thai-word.el: Switch to UTF-8.
10392 See ChangeLog.16 for earlier changes.
10394 ;; Local Variables:
10398 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10400 This file is part of GNU Emacs.
10402 GNU Emacs is free software: you can redistribute it and/or modify
10403 it under the terms of the GNU General Public License as published by
10404 the Free Software Foundation, either version 3 of the License, or
10405 (at your option) any later version.
10407 GNU Emacs is distributed in the hope that it will be useful,
10408 but WITHOUT ANY WARRANTY; without even the implied warranty of
10409 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10410 GNU General Public License for more details.
10412 You should have received a copy of the GNU General Public License
10413 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.