1 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3 * net/shr.el (shr-prefer-media-type-alist): : New customizable
5 (shr--get-media-pref): New function.
6 (shr--extract-best-source): New function.
7 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8 no :src tag was specified.
10 * net/eww.el (eww-use-external-browser-for-content-type): New
12 (eww-render): Handle `eww-use-external-browser-for-content-type'.
13 Use \\` to match beginning of string instead of ^.
14 (eww-browse-with-external-browser): Provide optional URL parameter.
15 (eww-render): Set `eww-current-title' back to "".
17 * net/shr.el (shr-tag-video): Display content for video if no
19 (shr-tag-audio): Add support for <audio> tag.
21 * net/eww.el (eww-text-input-types): : New const.
22 (eww-process-text-input): Treat input types in
23 `eww-text-input-types' as text.
25 * net/shr.el (shr-tag-table): Fix comment typo.
27 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
29 * net/eww.el (eww-follow-link): New command to avoid reloading
30 pages when we follow #target links (bug#15243).
31 (eww-quit): Special mode buffers shouldn't query before exiting.
33 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
35 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
38 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
40 * net/eww.el (eww-restore-history): Update the window title after
41 moving in the history.
42 (eww-current-dom): New variable used to save the current DOM.
44 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
46 * vc/log-edit.el (log-edit-mode-map): Add binding for
47 `log-edit-beginning-of-line'.
48 (log-edit-setup-add-author): New user option.
49 (log-edit-beginning-of-line): New command.
50 (log-edit): Move major mode call above the contents setup so that
51 the local variable values are already applied.
52 (log-edit): Only insert "Author: " when
53 `log-edit-setup-add-author' is non-nil.
54 (log-edit): When SETUP is non-nil, position point after ": "
57 2013-12-01 Glenn Morris <rgm@gnu.org>
59 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
61 2013-11-30 Eli Zaretskii <eliz@gnu.org>
63 * startup.el (fancy-splash-frame): On MS-Windows, trigger
64 redisplay to make sure the initial frame gets a chance to become
67 2013-11-30 Martin Rudalics <rudalics@gmx.at>
69 Support resizing frames and windows pixelwise.
70 * cus-start.el (frame-resize-pixelwise)
71 (window-resize-pixelwise): New entries.
72 * emacs-lisp/debug.el (debug): Use window-total-height instead
74 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
75 * help.el (describe-bindings-internal): Call help-buffer
76 (temp-buffer-max-width): New option.
77 (resize-temp-buffer-window, help-window-setup)
78 (with-help-window): Rewrite.
79 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
81 * window.el (frame-char-size, window-min-pixel-height)
82 (window-safe-min-pixel-height, window-safe-min-pixel-width)
83 (window-min-pixel-width, window-safe-min-pixel-size)
84 (window-combination-p, window-safe-min-size)
85 (window-resizable-p, window--size-to-pixel)
86 (window--pixel-to-size, window--resize-apply-p): New functions.
87 (window-safe-min-height): Fix doc-string.
88 (window-size, window-min-size, window--min-size-1)
89 (window-sizable, window-sizable-p, window--min-delta-1)
90 (window-min-delta, window--max-delta-1, window-max-delta)
91 (window--resizable, window--resizable-p, window-resizable)
92 (window-full-height-p, window-full-width-p, window-at-side-p)
93 (window--in-direction-2, window-in-direction)
94 (window--resize-reset-1, window--resize-mini-window)
95 (window-resize, window-resize-no-error)
96 (window--resize-child-windows-normal)
97 (window--resize-child-windows, window--resize-siblings)
98 (window--resize-this-window, window--resize-root-window)
99 (window--resize-root-window-vertically)
100 (adjust-window-trailing-edge, enlarge-window, shrink-window)
101 (maximize-window, minimize-window, delete-window)
102 (quit-restore-window, window-split-min-size, split-window)
103 (balance-windows-2, balance-windows)
104 (balance-windows-area-adjust, balance-windows-area)
105 (window--state-get-1, window-state-get, window--state-put-1)
106 (window--state-put-2, window-state-put)
107 (display-buffer-record-window, window--display-buffer): Make
108 functions handle pixelwise sizing of windows.
109 (display-buffer--action-function-custom-type)
110 (display-buffer-fallback-action): Add
111 display-buffer-in-previous-window.
112 (display-buffer-use-some-window): Resize window to height it had
114 (fit-window-to-buffer-horizontally): New option.
115 (fit-frame-to-buffer): Describe new values.
116 (fit-frame-to-buffer-bottom-margin): Replace with
117 fit-frame-to-buffer-margins.
118 (window--sanitize-margin): New function.
119 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
120 using window-text-pixel-size.
122 2013-11-30 Glenn Morris <rgm@gnu.org>
124 * emacs-lisp/bytecomp.el (byte-compile-form):
125 Make the `interactive-only' warning like the `obsolete' one.
126 * comint.el (comint-run):
127 * files.el (insert-file-literally, insert-file):
128 * replace.el (replace-string, replace-regexp):
129 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
130 (goto-line, insert-buffer, next-line, previous-line):
131 Tweak `interactive-only' spec.
133 Stop keeping (most) generated cedet grammar files in the repository.
134 * Makefile.in (semantic): New.
135 (compile-main): Depend on semantic.
137 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
139 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
140 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
142 * uniquify.el (uniquify-buffer-name-style): Change default.
144 * loadup.el: Preload "uniquify".
146 * time.el (display-time-update): Update all mode lines (bug#15999).
148 * electric.el (electric-indent-mode): Enable by default.
149 * loadup.el: Preload "electric".
151 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
153 * emacs-lisp/helpers.el (string-empty-p): New function.
154 (string-blank-p): New function.
156 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
158 * imenu.el (imenu--index-alist): Add missing dot to the docstring
161 2013-11-29 Andreas Politz <politza@fh-trier.de>
162 * imenu.el (imenu--subalist-p): Don't error on non-conses and
163 allow non-lambda lists as functions.
164 (imenu--in-alist): Don't recurse into non-subalists.
165 (imenu): Don't pass function itself as an argument (Bug#14029).
167 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
169 * progmodes/python.el (python-mode-map): Remove binding for ":".
170 (python-indent-electric-colon): Remove command.
171 (python-indent-post-self-insert-function): Integrate the previous code
172 of python-indent-electric-colon. Make it conditional on
173 electric-indent-mode.
174 (python-mode): Add ?: to electric-indent-chars.
175 Move python-indent-post-self-insert-function to the end of
176 post-self-insert-hook.
178 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
180 * doc-view.el (doc-view-goto-page): Update mode-line.
182 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
184 2013-11-27 Glenn Morris <rgm@gnu.org>
186 * international/charprop.el, international/uni-bidi.el:
187 * international/uni-category.el, international/uni-combining.el:
188 * international/uni-comment.el, international/uni-decimal.el:
189 * international/uni-decomposition.el, international/uni-digit.el:
190 * international/uni-lowercase.el, international/uni-mirrored.el:
191 * international/uni-name.el, international/uni-numeric.el:
192 * international/uni-old-name.el, international/uni-titlecase.el:
193 * international/uni-uppercase.el:
194 Remove generated files from VCS repository.
196 2013-11-27 Eli Zaretskii <eliz@gnu.org>
198 * filenotify.el (file-notify-add-watch): Don't special-case
199 w32notify when computing the directory to watch.
201 2013-11-27 Glenn Morris <rgm@gnu.org>
203 Make bootstrap without generated uni-*.el files possible again.
204 * loadup.el: Update command-line-args checking for unidata-gen.
205 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
206 * composite.el, international/characters.el:
207 Handle unicode tables being undefined.
209 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
210 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
211 (compile-main): Depend on leim rule.
213 * loadup.el: Move leim-list.el to leim/ subdirectory.
214 * startup.el (normal-top-level): No more leim directory.
215 * international/ja-dic-cnv.el (skkdic-convert):
216 Disable version-control and autoloads in output files.
217 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
218 Disable version-control and autoloads in output files.
219 * leim/quail: Move here from ../leim.
220 * leim/quail/hangul.el (hangul-input-method-activate):
222 (generated-autoload-load-name): Set file-local value.
223 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
224 (generated-autoload-load-name): Set file-local value.
226 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
228 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
229 (eww-add-bookmark): ask confirmation when add to bookmarks
230 (eww-quit): ask confirmation before quitting eww
232 2013-11-26 Eli Zaretskii <eliz@gnu.org>
234 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
235 reading output from Diff on MS-Windows and MS-DOS.
237 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
239 * emacs-lisp/helpers.el (string-reverse): New function.
241 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
243 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
244 names on MS Windows, like "/[::1]:".
246 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
249 2013-11-26 Glenn Morris <rgm@gnu.org>
251 * progmodes/python.el (python-indent-guess-indent-offset):
252 Avoid corner-case error. (Bug#15975)
254 Preload leim-list.el. (Bug#4789)
255 * loadup.el: Load leim-list.el when found.
256 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
258 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
260 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
262 * emacs-lisp/helpers.el (string-join): New function.
264 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
266 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
267 Mark as obsolete and replace it with a symbol property.
268 (byte-compile-form): Use new 'interactive-only property.
269 * comint.el, files.el, replace.el, simple.el:
270 Apply new 'interactive-only properly.
272 2013-11-25 Martin Rudalics <rudalics@gmx.at>
274 * window.el (display-buffer-at-bottom): Make sure that
275 split-window-sensibly creates the new window on bottom
278 2013-11-23 David Kastrup <dak@gnu.org>
280 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
281 on the conflict markers when available.
282 (smerge--get-marker): New function.
283 (smerge-end-re, smerge-base-re): Add subgroup.
285 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
287 * frame.el (handle-focus-in, handle-focus-out): Add missing
290 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
292 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
293 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
295 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
297 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
298 (gomoku--last-pos): New var.
299 (gomoku--intangible-chars): New const.
300 (gomoku--intangible): New function.
301 (gomoku-mode): Use it. Derive from special-mode.
302 (gomoku-move-up): Adjust line count.
303 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
304 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
305 Simplify accordingly.
307 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
308 Remove blink-cursor code.
309 (blink-cursor-timer-function, blink-cursor-suspend):
310 Don't special-case GUIs.
311 (blink-cursor-mode): Use focus-in/out-hook.
313 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
315 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
316 work when annotation is invisible (Bug#13886).
318 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
320 * json.el (json-alist-p): Only return non-nil if the alist has
321 simple keys (Bug#13518).
323 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
325 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
326 when control-statement is the first statement in a buffer (Bug#15956).
328 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
330 * imenu.el (imenu-generic-skip-comments-and-strings):
331 New option (Bug#15560).
332 (imenu--generic-function): Use it.
334 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
336 * minibuffer.el (completion--in-region-1): Scroll the correct
339 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
341 * emacs-lisp/helpers.el: Add some string helpers.
342 (string-trim-left): Removes leading whitespace.
343 (string-trim-right): Removes trailing whitespace.
344 (string-trim): Removes leading and trailing whitespace.
346 * subr.el (string-suffix-p): New function.
348 2013-11-23 Glenn Morris <rgm@gnu.org>
350 * progmodes/python.el (python-shell-send-file):
351 Add option to delete file when done. (Bug#15647)
352 (python-shell-send-string, python-shell-send-region): Use it.
354 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
356 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
357 to set buffer-read-only to t, never to nil. (Bug#15938)
359 * textmodes/tex-mode.el (latex-noindent-environments):
360 Add safe-local-variable property. (Bug#15936)
362 2013-11-23 Glenn Morris <rgm@gnu.org>
364 * textmodes/enriched.el (enriched-mode): Doc fix.
365 * emacs-lisp/authors.el (authors-renamed-files-alist):
366 Add enriched.doc -> enriched.txt.
368 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
370 2013-11-22 Leo Liu <sdl.web@gmail.com>
372 * progmodes/octave.el (inferior-octave-startup): Spit out error
375 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
377 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
380 (ruby-encoding-magic-comment-style): Add :version.
382 2013-11-22 Leo Liu <sdl.web@gmail.com>
384 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
386 (octave-help-mode): Adapt to change to help-mode-finish to use
387 derived-mode-p on 2013-09-17.
388 (inferior-octave-prompt): Also match octave-gui.
389 (octave-kill-process): Don't ask twice. (Bug#10564)
391 2013-11-22 Leo Liu <sdl.web@gmail.com>
393 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
394 (inferior-octave-startup, inferior-octave-check-process)
395 (inferior-octave-track-window-width-change)
396 (octave-completion-at-point, octave-eldoc-function): Use it.
397 (octave-kill-process): Provide confirmation. (Bug#10564)
399 2013-11-21 Leo Liu <sdl.web@gmail.com>
401 * progmodes/octave.el (octave-mode, inferior-octave-mode):
402 Fix obsolete variable comment-use-global-state.
404 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
406 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
407 Add `octave-source-file'.
408 (octave-source-file): New function. (Bug#15935)
410 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
412 * net/eww.el (eww-local-regex): New variable.
413 (eww): Use it to detect localhost and similar.
415 2013-11-21 Leo Liu <sdl.web@gmail.com>
417 Add completion for command `ag'.
418 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
419 (pcomplete/ag): New function.
420 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
422 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
424 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
426 (make-obsolete): Remove interactive spec.
428 2013-11-21 Glenn Morris <rgm@gnu.org>
430 * startup.el (command-line-1): Use path-separator with -L.
432 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
434 * emacs-lisp/package.el (describe-package-1): Add package archive
437 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
439 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
440 Change default to "# encoding: %s" to differentiate it from the
441 default Ruby encoding comment template.
443 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
445 * ses.el (ses-mode): Doc fix. (Bug#14748)
447 2013-11-20 Leo Liu <sdl.web@gmail.com>
449 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
451 2013-11-19 Dan Nicolaescu <dann@gnu.org>
453 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
454 when rebase or bisect are in progress.
456 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
458 * filenotify.el (file-notify-add-watch): Doc fix.
460 2013-11-19 Leo Liu <sdl.web@gmail.com>
462 * obsolete/rcompile.el: Mark obsolete.
464 * progmodes/compile.el (compilation-start)
465 (compilation-goto-locus, compilation-find-file):
466 Pass no-display-ok and handle nil value from display-buffer.
469 * window.el (display-buffer-alist, display-buffer): Document the
470 new parameter no-display-ok.
472 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
474 * electric.el (electric-indent-mode-map): Remove.
475 (electric-indent-mode): Change the global-map instead (bug#15915).
477 * textmodes/text-mode.el (paragraph-indent-minor-mode):
480 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
482 * emacs-lisp/nadvice.el (remove-function): Align with
483 add-function's behavior.
485 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
486 (gdb--string-regexp): New constant.
487 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
488 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
489 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
491 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
492 Adjust use accordingly.
493 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
495 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
497 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
498 interpolation curlies (Bug#15914).
500 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
502 * calc/calc.el (calc-context-sensitive-enter): New variable.
503 (calc-enter): Use `calc-context-sensitive-enter'.
505 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
507 * progmodes/cfengine.el: Version bump.
508 (cfengine-cf-promises): New defcustom to locate cf-promises.
509 (cfengine3-vartypes): Add new "data" type.
510 (cfengine3--current-word): New function to get current name-like
512 (cfengine3--current-function): New function to look up a CFEngine
513 function's definition.
514 (cfengine3-format-function-docstring): New function.
515 (cfengine3-make-syntax-cache): New function.
516 (cfengine3-documentation-function): New function: ElDoc glue.
517 (cfengine3-completion-function): New function: completion glue.
518 (cfengine3-mode): Set `compile-command',
519 `eldoc-documentation-function', and add to
520 `completion-at-point-functions'.
522 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
524 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
525 `tramp-current-connection'.
527 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
530 nil/self/true/false with "end of symbol".
532 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
534 * subr.el (version-regexp-alist): Fix a typo.
536 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
538 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
539 "en_US.utf8" and "LC_CTYPE" to "".
540 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
541 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
543 2013-11-15 Leo Liu <sdl.web@gmail.com>
545 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
547 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
549 * progmodes/gud.el (ctl-x-map):
550 Remove C-x SPC binding. (Bug#12342)
551 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
553 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
555 * subr.el (version-regexp-alist):
556 Recognize hg, svn and darcs versions as snapshot versions.
558 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
559 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
560 (ruby--encoding-comment-required-p): Extract from
561 `ruby-mode-set-encoding'.
562 (ruby-mode-set-encoding): Add the ability to always insert an
563 utf-8 encoding comment. Fix and simplify coding comment update
566 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
568 * net/tramp-gvfs.el (top): Run init code only when
569 `tramp-gvfs-enabled' is not nil.
570 (tramp-gvfs-enabled): Check also :system bus.
572 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
574 Sync with upstream verilog-mode revision 78e66ba.
575 * progmodes/verilog-mode.el (verilog-end-of-defun)
576 (verilog-type-completion, verilog-get-list): Remove unused funcs.
577 (verilog-get-end-of-defun): Remove unused argument.
578 (verilog-comment-depth): Remove unused local `e'.
579 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
580 Don't pass arg to verilog-get-end-of-defun.
582 2013-11-14 Glenn Morris <rgm@gnu.org>
584 * obsolete/assoc.el (aget): Prefix dynamic variable.
586 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
588 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
590 * widget.el, hfy-cmap.el: Remove bogus package version number.
592 2013-11-13 Glenn Morris <rgm@gnu.org>
594 * replace.el (replace-eval-replacement):
595 Try to give more helpful error message. (Bug#15836)
597 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
598 (archive-7z-update): Avoid custom type mismatches.
600 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
602 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
604 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
605 address can be empty.
607 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
609 (tramp-gvfs-handle-write-region): Implement APPEND.
611 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
613 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
614 binary "|" operator and closing block args delimiter.
615 Remove FIXME comment referring to Ruby 1.8-only syntax.
616 (ruby-smie--implicit-semi-p): Not after "|" operator.
617 (ruby-smie--closing-pipe-p): New function.
618 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
619 (ruby-smie-rules): Indent after "|".
621 2013-11-12 Glenn Morris <rgm@gnu.org>
623 * ps-print.el (ps-face-attribute-list):
624 Handle anonymous faces. (Bug#15827)
626 2013-11-12 Martin Rudalics <rudalics@gmx.at>
628 * window.el (display-buffer-other-frame): Fix doc-string.
631 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
633 * subr.el (force-mode-line-update): Delete, move to buffer.c.
635 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
637 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
638 (tramp-sh-handle-file-local-copy): Don't write a message when
639 saving temporary files.
641 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
642 both directories are remote.
643 (tramp-smb-handle-directory-files): Do not return double entries.
644 Do not expand full file names.
645 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
646 (tramp-smb-handle-write-region): Implement APPEND.
647 (tramp-smb-get-stat-capability): Fix a stupid bug.
649 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
651 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
653 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
655 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
656 throwing error over malformed let/let* (bug#15814).
658 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
660 * iswitchb.el (iswitchb-mode): Mark obsolete.
662 2013-11-11 Glenn Morris <rgm@gnu.org>
664 * international/uni-bidi.el, international/uni-category.el:
665 * international/uni-name.el, international/uni-numeric.el:
666 Regenerate for Unicode 6.3.0.
668 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
670 * net/tramp.el (tramp-methods):
671 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
672 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
674 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
676 * progmodes/sh-script.el (sh-font-lock-keywords-var):
677 Force highlighting text after Summary keyword in doc face for rpm.
679 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
681 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
682 available and the word has no wildcards, append one to the grep pattern.
683 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
684 (ispell-complete-word): Call `ispell-lookup-words' with the value
685 independent of `ispell-look-p'.
687 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
689 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
691 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
694 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
696 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
697 (ruby-font-lock-keywords): Use backquote.
699 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
701 * progmodes/ruby-mode.el (ruby-smie--forward-token)
702 (ruby-smie--backward-token): Only consider full-string matches.
704 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
706 * faces.el (describe-face): Add distant-foreground.
708 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
710 * progmodes/ruby-mode.el: Improve encoding comment handling.
711 (ruby-encoding-magic-comment-style): New option.
712 (ruby-custom-encoding-magic-comment-template): New option.
713 (ruby--insert-coding-comment, ruby--detect-encoding):
714 New functions extracted from `ruby-mode-set-encoding'.
715 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
716 to control the style of the auto-inserted encoding comment.
718 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
720 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
721 Use `smie-backward-sexp' with token argument.
723 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
725 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
726 Remove instrumentation code.
728 2013-11-08 Glenn Morris <rgm@gnu.org>
730 * progmodes/autoconf.el (autoconf-mode):
731 Tweak comment-start-skip. (Bug#15822)
733 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
735 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
737 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
739 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
741 * man.el (Man-start-calling): New macro, extracted from
742 Man-getpage-in-background.
743 (Man-getpage-in-background): Use it.
744 (Man-update-manpage): New command.
745 (Man-mode-map): Bind it.
747 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
749 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
750 of "and", "or", "&&" and "||".
751 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
752 argument. Prohibit opening curly brace because it could only be a
753 block opener in that position.
754 (ruby-smie--forward-token, ruby-smie--backward-token):
755 Separate "|" from "&" or "*" going after it. That can happen in block
757 (ruby-smie--indent-to-stmt): New function, seeks the end of
758 previous statement or beginning of buffer.
759 (ruby-smie-rules): Use it.
760 (ruby-smie-rules): Check if there's a ":" before a curly block
761 opener candidate; if there is, it's a hash.
763 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
765 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
766 (cl--block-wrapper): Fix last accidental change.
768 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
770 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
771 Instrument, in order to hunt failure on hydra.
773 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
775 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
776 malformed bindings form (bug#15814).
778 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
780 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
781 "." compared to " @ ". This incidentally fixes some indentation
783 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
784 (ruby-smie-grammar): New tokens: "and" and "or".
785 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
786 Exclude "and" and "or". Remove "do" in order to work around token
788 (ruby-smie-rules): Add all infix tokens. Handle the case of
791 2013-11-06 Glenn Morris <rgm@gnu.org>
793 * Makefile.in (setwins_almost, setwins_for_subdirs):
794 Avoid accidental matches.
796 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
798 * menu-bar.el (popup-menu): Use key-binding.
800 2013-11-06 Eli Zaretskii <eliz@gnu.org>
802 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
803 menus, support also the menus produced by minor modes.
806 2013-11-06 Leo Liu <sdl.web@gmail.com>
808 * thingatpt.el (thing-at-point-looking-at): Add optional arg
809 DISTANCE to bound the search. All uses changed. (Bug#15808)
811 2013-11-06 Glenn Morris <rgm@gnu.org>
813 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
814 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
815 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
817 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
819 * electric.el (electric-indent-just-newline): New command.
820 (electric-indent-mode-map): New keymap.
821 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
822 Re-add :group which weren't redundant.
824 * electric.el (electric-indent-local-mode): New minor mode.
825 (electric-indent-functions-without-reindent): New var.
826 (electric-indent-post-self-insert-function): Use it.
827 * emacs-lisp/gv.el (buffer-local-value): Add setter.
829 2013-11-05 Eli Zaretskii <eliz@gnu.org>
831 * international/quail.el (quail-help): Be more explicit about the
832 meaning of the labels shown on the keys. (Bug#15800)
834 * startup.el (normal-top-level): Load the subdirs.el files before
835 setting the locale environment. (Bug#15805)
837 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
839 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
840 via arguments so as to get the right ones (bug#15418).
842 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
844 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
846 Fix problems found while writing a test suite.
848 * net/tramp-compat.el (tramp-compat-load): New defun.
849 * net/tramp.el (tramp-handle-load): Use it.
851 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
852 "(numberp ok-if-already-exists)" correctly.
854 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
856 * international/characters.el (glyphless-char-display-control):
859 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
861 * progmodes/python.el (python-mode):
862 * progmodes/scheme.el (scheme-mode):
863 * progmodes/prolog.el (prolog-mode):
864 * progmodes/ruby-mode.el (ruby-mode):
865 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
866 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
868 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
870 * rect.el (rectangle--highlight-for-redisplay):
871 * emacs-lisp/smie.el (smie--next-indent-change):
872 Use buffer-chars-modified-tick.
874 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
876 * electric.el (electric-indent-post-self-insert-function):
877 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
879 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
881 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
883 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
885 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
888 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
890 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
892 * progmodes/python.el: Fix up last change.
893 (python-shell--save-temp-file): New function.
894 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
895 `string' comes from the current buffer.
896 (python-shell-send-string-no-output): Remove `msg' arg.
897 (python--use-fake-loc): New var.
898 (python-shell-buffer-substring): Obey it. Try to compensate for the
899 extra coding line added by python-shell--save-temp-file.
900 (python-shell-send-region): Use python-shell--save-temp-file and
901 python-shell-send-file directly. Add `nomain' argument.
902 (python-shell-send-buffer): Use python-shell-send-region.
903 (python-electric-pair-string-delimiter): New function.
904 (python-mode): Use it.
906 2013-11-04 Eli Zaretskii <eliz@gnu.org>
908 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
909 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
910 environment and decoding all of the default-directory's to here
912 (command-line): Decode also argv[0].
914 * loadup.el: Error out if default-directory is a multibyte string
917 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
919 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
921 * emacs-lisp/package.el (package-menu-mode)
922 (package-menu--print-info, package-menu--archive-predicate):
923 Add Archive column to package list.
925 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
927 Fix problems found while writing a test suite.
929 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
930 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
931 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
932 to nil when running original file name handler. Otherwise,
933 there are problems with constructs like "$$FOO".
935 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
938 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
940 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
942 * subr.el (version<, version<=, version=):
943 Update docstrings with information for snapshot versions.
945 * helpers.el: New library for misc helper functions.
946 (hash-table-keys): New function returning a list of hash keys.
947 (hash-table-values): New function returning a list of hash values.
949 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
951 * progmodes/ruby-mode.el (ruby-smie--forward-token)
952 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
954 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
956 * textmodes/fill.el (fill-single-char-nobreak-p): New function
957 checking whether point is after a 1-letter word.
959 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
961 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
962 Don't infloop when expanding region over `multiline' syntax-type that
963 begins a line (bug#15778).
965 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
967 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
968 Make it into a proper minor mode.
969 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
970 (rectangle-mark-mode-map): New keymap.
971 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
973 2013-11-04 Glenn Morris <rgm@gnu.org>
975 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
977 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
979 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
980 (ruby-smie-rules): Use smie-rule-parent instead.
982 * emacs-lisp/smie.el (smie-rule-parent): Always call
983 smie-indent-virtual rather than only for hanging tokens.
984 (smie--next-indent-change): New helper command.
986 2013-11-03 Glenn Morris <rgm@gnu.org>
988 * Makefile.in (abs_srcdir): Remove.
989 (emacs): Unset EMACSLOADPATH.
991 2013-11-02 Glenn Morris <rgm@gnu.org>
993 * Makefile.in (EMACS): Use a relative filename.
994 (abs_top_builddir): Remove.
995 (custom-deps, finder-data, autoloads): Use --chdir.
997 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
999 Use relative filenames in TAGS files.
1000 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1001 (lisptagsfiles4, TAGS): Use relative file names.
1002 (TAGS-LISP): Remove.
1003 (maintainer-clean): No more TAGS-LISP file.
1005 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1006 (lisptagsfiles4): Use absolute filenames again.
1007 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1008 Remove all *loaddefs files, not just the first. Remove esh-groups.
1009 (maintainer-clean): Delete TAGS, TAGS-LISP.
1011 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1013 * emacs-lisp/package.el (package-version-join):
1014 Recognize snapshot versions.
1016 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1018 * subr.el (version-regexp-alist): Add support for snapshot versions.
1020 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1022 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1023 New function, replacement for `smie-rule-parent' for when we want to
1024 skip over our direct parent if it's an assignment token..
1025 (ruby-smie-rules): Use it.
1027 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1029 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1030 unconditionally. Remove now unnecessary forward declarations.
1031 Remove XEmacs-specific setup.
1032 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1033 (ruby-font-lock-syntactic-keywords)
1034 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1035 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1036 (ruby-here-doc-end-syntax): Remove.
1037 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1038 defined as function.
1040 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1042 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1044 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1046 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1047 table and abbrev table, `define-derived-mode' does that for us
1050 2013-11-01 Glenn Morris <rgm@gnu.org>
1052 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1053 files is atomic for some time, so no parallel compilation issues).
1055 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1057 * faces.el (face-x-resources): Add :distant-foreground.
1058 (region): Use :distant-foreground for gtk and ns.
1060 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1062 Allow multiple bibliographies when BibLaTeX is used rather than
1064 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1065 (reftex-locate-bibliography-files): Us it.
1067 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1069 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1070 allow comments in pbm files.
1072 * term/w32-win.el (dynamic-library-alist): Support newer versions
1073 of libjpeg starting with v7: look only for the DLL from the
1074 version against which Emacs was built.
1075 Support versions of libpng beyond 1.4.x.
1076 Support libtiff v4.x.
1078 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1080 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1081 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1083 (ruby-deep-arglist): Add property :type.
1085 2013-10-31 Glenn Morris <rgm@gnu.org>
1087 * Makefile.in (custom-deps, finder-data): No need to setq the target
1088 variables, we are in the right directory and the defaults work fine.
1090 2013-10-30 Glenn Morris <rgm@gnu.org>
1092 * Makefile.in (autoloads): Do not use abs_lisp.
1094 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1095 `newline' does not respect `standard-output', so use `princ'.
1097 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1099 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1100 * buff-menu.el (Buffer-menu--unmark): New function.
1101 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1103 2013-10-30 Glenn Morris <rgm@gnu.org>
1105 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1107 * emacs-lisp/package.el (lm-homepage): Declare.
1109 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1112 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1114 * Makefile.in (finder-data, autoloads, update-subdirs)
1115 (compile-main, compile-clean, compile-always, bootstrap-clean):
1116 Check return value of cd.
1117 (compile-calc): Remove.
1119 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1121 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1123 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1124 (byte-compile-and-folded): New function.
1125 (=, <, >, <=, >=): Use it.
1127 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1128 (path-separator, null-device, buffer-file-coding-system)
1129 (lpr-headers-switches): Check system-type before modifying them.
1130 (find-buffer-file-type-coding-system): Mark obsolete.
1131 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1132 find-file-not-found-set-buffer-file-coding-system.
1133 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1134 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1135 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1136 (w32-direct-print-region-helper, w32-direct-print-region-function)
1137 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1138 * startup.el (normal-top-level-add-subdirs-to-load-path):
1139 * ps-print.el (ps-print-region-function):
1140 * lpr.el (print-region-function): Use new name.
1142 * subr.el (custom-declare-variable-early): Remove function.
1143 (custom-declare-variable-list): Remove var.
1144 (error, user-error): Remove `while' loop.
1145 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1146 (user-emacs-directory-warning, locate-user-emacs-file):
1148 * simple.el (read-quoted-char-radix, read-quoted-char):
1149 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1151 * custom.el (custom-declare-variable-list): Don't process
1152 custom-declare-variable-list.
1154 * progmodes/python.el (python-shell-get-buffer): New function.
1155 (python-shell-get-process): Use it.
1156 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1157 Python which encoding was used. Don't split-string since we only care
1158 about the first line. Return the temp-file, if applicable.
1159 (python-shell-send-region): Tell compile.el how to turn locations in
1160 the temp-file into locations in the source buffer.
1162 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * subr.el (undefined): Add missing behavior from the C code for
1167 * rect.el: Use lexical-binding. Add new rectangular region support.
1168 (rectangle-mark): New command.
1169 (rectangle--region): New var.
1170 (deactivate-mark-hook): Reset rectangle--region.
1171 (rectangle--extract-region, rectangle--insert-for-yank)
1172 (rectangle--highlight-for-redisplay)
1173 (rectangle--unhighlight-for-redisplay): New functions.
1174 (region-extract-function, redisplay-unhighlight-region-function)
1175 (redisplay-highlight-region-function): Use them to handle
1177 * simple.el (region-extract-function): New var.
1178 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1179 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1180 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1181 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1182 (redisplay-unhighlight-region-function)
1183 (redisplay-highlight-region-function): New vars.
1184 (redisplay--update-region-highlight): New function.
1185 (pre-redisplay-function): Use it.
1186 (exchange-point-and-mark): Don't deactivate the mark before
1187 reactivate-it anyway.
1188 * comint.el (comint-kill-region): Remove yank-handler argument.
1189 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1190 (delete-char): Remove property, since it's now part of their
1192 (self-insert-iso): Remove property since this command doesn't exist.
1194 * emacs-lisp/package.el (package--download-one-archive)
1195 (describe-package-1): Don't query the user about final newline.
1197 2013-10-29 Daniel Colascione <dancol@dancol.org>
1199 * net/tramp.el (tramp-methods): Document new functionality.
1200 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1201 tramp-hostname-checker if method provides one instead of scanning
1202 argument list for "%h" to decide hostname acceptability.
1204 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1206 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1207 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1208 Handle COPY-CONTENTS. (Bug#15737)
1210 2013-10-28 Daiki Ueno <ueno@gnu.org>
1213 (epa-file-cache-passphrase-for-symmetric-encryption):
1214 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1216 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1218 * image.el (defimage):
1219 (image-load-path): Doc fixes.
1221 2013-10-27 Alan Mackenzie <acm@muc.de>
1223 Indent statements in macros following "##" correctly.
1224 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1225 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1227 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1229 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1231 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1233 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1234 after `=' is probably a new expression.
1236 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1238 * man.el (man-imenu-title): New option.
1239 (Man-mode-map): Add menu. (Bug#15722)
1240 (Man-mode): Add imenu to menu.
1242 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1244 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1245 specific in what the first arg can be: a non-keyword word,
1246 string/regexp/percent literal opener, opening paren, or unary
1247 operator followed directly by word.
1249 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1252 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1253 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1254 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1255 Remove vars, they do not apply any more.
1256 (prolog-mode-abbrev-table): Remove redundant declaration.
1257 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1258 (prolog-use-smie): Remove.
1259 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1260 supported by prolog-electric-if-then-else-flag.
1261 (prolog-mode-variables, prolog-menu): Use setq-local.
1262 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1263 Remove binding to `Backspace' since this key doesn't exist anyway.
1264 Remove bindings for electric self-inserting keys.
1265 (prog-mode): Assume it's defined.
1266 (prolog-post-self-insert): New function.
1267 (prolog-mode): Use it.
1268 (prolog-indent-line, prolog-indent-level)
1269 (prolog-find-indent-of-matching-paren)
1270 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1271 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1272 (prolog-goto-next-paren, prolog-in-string-or-comment)
1273 (prolog-tokenize, prolog-inside-mline-comment)
1274 (prolog-find-start-of-mline-comment): Remove functions.
1275 (prolog-find-unmatched-paren, prolog-clause-end)
1276 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1277 (prolog-electric--if-then-else): Rename from
1278 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1279 (prolog-tokenize-searchkey): Remove const.
1280 (prolog-clause-info): Use forward-sexp.
1281 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1282 (prolog-electric-if-then-else): Remove commands.
1283 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1284 for use in post-self-insert-hook.
1285 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1286 for use in post-self-insert-hook.
1287 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1288 for use in post-self-insert-hook.
1289 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1290 adapt it for use in post-self-insert-hook.
1292 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1294 * emacs-lisp/ert.el (ert-run-tests-interactively):
1295 Use `completing-read'. (Bug#9756)
1297 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1299 * simple.el (line-move): Call line-move-1 instead of
1300 line-move-visual when the current window hscroll is zero, but
1301 temporary-goal-column indicates we will need to hscroll as result
1302 of the movement. (Bug#15712)
1304 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1306 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1307 capitalization. Use :visible instead of :active.
1308 Fix `ruby-indent-exp' reference. Add menu items for the generic
1309 commands that are used with SMIE.
1310 (ruby-do-end-to-brace): Insert space after `{'.
1312 2013-10-25 John Anthony <john@jo.hnanthony.com>
1314 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1316 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1318 2013-10-25 Glenn Morris <rgm@gnu.org>
1320 * vc/vc.el (vc-print-log): Don't use a working revision unless
1321 one was explicitly specified. (Bug#15322)
1323 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * subr.el (add-to-list): Preserve return value in compiler-macro
1328 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1330 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1331 result. Ask user to retry using '-all' flag. (Bug#15701)
1333 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * emacs-lisp/smie.el: New smie-config system.
1336 (smie-config): New defcustom.
1337 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1338 (smie-config-guess, smie-config-save): New commands.
1339 (smie-config--mode-local, smie-config--buffer-local)
1340 (smie-config--trace, smie-config--modefuns): New vars.
1341 (smie-config--advice, smie-config--mode-hook)
1342 (smie-config--setter, smie-config-local, smie-config--get-trace)
1343 (smie-config--guess-value, smie-config--guess): New functions.
1344 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1345 text properties. Treat "string fence" syntax like string syntax.
1347 * progmodes/sh-script.el (sh-use-smie): Change default.
1348 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1349 (sh-var-value): Simplify by CSE.
1350 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1351 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1353 (sh-guess-basic-offset): Use cl-incf.
1354 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1356 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1358 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1361 2013-10-24 Glenn Morris <rgm@gnu.org>
1363 * Makefile.in (abs_top_srcdir): Remove.
1364 (update-subdirs): Use relative path to update-subdirs.
1366 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1368 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1369 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1370 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1371 Call unmsys--file-name before expand-file-name, not after it.
1373 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1375 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1376 (ert-test-skipped): New error.
1377 (ert-skip, ert-stats-skipped): New defuns.
1378 (ert--skip-unless): New macro.
1379 (ert-test-skipped): New struct.
1380 (ert--run-test-debugger, ert-test-result-type-p)
1381 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1382 (ert--stats-set-test-and-result, ert-char-for-test-result)
1383 (ert-string-for-test-result, ert-run-tests-batch)
1384 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1385 Handle skipped tests. (Bug#9803)
1387 2013-10-24 Glenn Morris <rgm@gnu.org>
1389 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1391 * Makefile.in (abs_top_srcdir): New, set by configure.
1392 (update-subdirs): Correct build-aux location.
1394 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1396 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1397 value, whether we could auto-deduce `backend', or not.
1399 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1400 with parameters" example. Simplify the "is it block or is it
1401 hash" check, but also make it more thorough.
1403 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1405 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1407 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1412 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1415 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1417 * progmodes/compile.el (compilation-directory-matcher)
1418 (compilation-page-delimiter):
1419 Support GNU Make-4.0 directory quoting. (Bug#15678)
1421 2013-10-23 Leo Liu <sdl.web@gmail.com>
1423 * ido.el (ido-tidy): Handle read-only text.
1425 2013-10-23 Glenn Morris <rgm@gnu.org>
1427 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1428 (emacs, compile, compile-always):
1429 Quote entities that might contain whitespace.
1430 (custom-deps, finder-data, autoloads): Use abs_lisp.
1431 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1432 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1433 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1435 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1437 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1438 Use `following-char'.
1440 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1443 * progmodes/ruby-mode.el (ruby-smie-rules):
1444 Remove corresponding workaround. Fix indentation rule of ";" so it
1445 also applies when ";" is the parent.
1447 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1449 * frame.el (display-screens, display-pixel-height)
1450 (display-pixel-width, display-mm-width, display-backing-store)
1451 (display-save-under, display-planes, display-color-cells)
1452 (display-visual-class, display-monitor-attributes-list):
1453 Mention the optional ‘display’ argument in doc strings.
1455 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1457 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1458 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1460 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1462 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1463 TODO. Add "." after " @ ".
1464 (ruby-smie--at-dot-call): New function. Checks if point at method
1465 call with explicit target.
1466 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1467 to the method name tokens when it precedes them.
1468 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1469 (ruby-smie-rules): Add rule for indentation before and after "."
1472 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1474 * textmodes/remember.el (remember-diary-extract-entries):
1477 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1480 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1482 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1483 (ruby-smie--implicit-semi-p): Add new operator chars.
1485 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1487 (ruby-smie--args-separator-p): Check that there's no newline
1488 between method call and its arguments.
1490 2013-10-20 Alan Mackenzie <acm@muc.de>
1492 Allow comma separated lists after Java "implements".
1494 * progmodes/cc-engine.el (c-backward-over-enum-header):
1496 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1497 from a "disallowed" list in enum fontification.
1499 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1501 * startup.el (default-frame-background-mode): Remove unused defvar.
1503 * progmodes/verilog-mode.el (verilog-mode): Don't set
1504 comment-indent-function globally.
1506 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1508 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1509 Move Info menu item creation to ns-win.el.
1511 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1514 * menu-bar.el: Move GNUStep specific menus...
1516 * term/ns-win.el (ns-initialize-window-system): ... to here.
1518 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1520 * simple.el (newline): Only run post-self-insert-hook when
1521 called interactively.
1523 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1525 * icomplete.el (icomplete-with-completion-tables): Add :version.
1527 2013-10-19 Alan Mackenzie <acm@muc.de>
1529 Fix fontification bugs with constructors and const.
1531 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1532 CASE 2) Remove the check for the absence of a suffix construct
1533 after a function declaration with only types (no identifiers) in
1534 the parentheses. Also, accept a function declaration with just a
1535 type inside the parentheses, if this type can be positively
1536 recognised as such, or if a prefix keyword like "explicit" nails
1537 down the construct as a declaration.
1539 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1541 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1542 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1543 the problem whereby selecting a menu item that leads to a
1544 minibuffer prompt moves the cursor out of the minibuffer window,
1545 making it hard to type at the prompt. Suggested by Stefan Monnier
1546 <monnier@iro.umontreal.ca>.
1548 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1550 * menu-bar.el: Don't make Services menu.
1552 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1554 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1555 (ffap-alist): Use ffap-c++-mode for c++-mode.
1556 (ffap-c++-path): New variable.
1557 (ffap-c++-mode): New function.
1559 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1561 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1563 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1565 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1566 introduced on 2013-09-08, which results in an infinite loop
1567 requesting a password.
1569 2013-10-18 Glenn Morris <rgm@gnu.org>
1571 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1573 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1575 Sync with upstream verilog-mode revision 1a6ecec7.
1576 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1577 (verilog-mode-release-date): Remove.
1578 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1579 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1580 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1581 (verilog-auto-tieoff-ignore-regexp)
1582 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1583 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1584 (verilog-signals-with, verilog-dir-cache-preserving)
1585 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1587 (verilog-case-fold): New option, to control case folding in
1588 regexp searches, bug597.
1589 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1590 (verilog-string-match-fold, verilog-in-paren-count)
1591 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1592 (verilog-at-close-struct-p): New functions.
1593 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1594 (verilog-forward-sexp, verilog-set-auto-endcomments):
1595 (verilog-leap-to-case-head): Handle "unique0" case.
1596 (verilog-in-constraint-re): New constant.
1597 (verilog-keywords, verilog-type-font-keywords):
1598 Add some SystemVerilog 1800-2012 keywords.
1599 (verilog-label-be): Remove unimplemented argument, bug669.
1600 (verilog-batch-execute-func): When batch expanding clear
1601 create-lockfiles to prevent spurious user locks when a file ends
1603 (verilog-calculate-indent, verilog-calc-1)
1604 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1605 (verilog-do-indent): Fix indentation of nested constraints
1607 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1608 (verilog-auto-inst-param): Use verilog-string-match-fold.
1609 (verilog-read-inst-module-matcher):
1610 Fix AUTOINST on gate primitives with #1.
1611 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1612 Reads all user-defined typed variables.
1613 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1614 (verilog-signals-matching-regexp)
1615 (verilog-signals-not-matching-regexp, verilog-auto):
1616 Respect verilog-case-fold.
1617 (verilog-diff-report): Fix line count.
1618 (verilog-auto-assign-modport): Remove unused local `modi'.
1619 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1620 better handle multidimensional arrays.
1621 Fix packed array ports misadding bit index in AUTOINST, bug637.
1622 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1623 to not double-declare existing outputs and inputs, respectively.
1624 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1625 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1626 (verilog-sk-uvm-component): New skeleton.
1627 (verilog-submit-bug-report): Add verilog-case-fold,
1628 remove verilog-mode-release-date.
1630 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1632 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1635 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1637 * textmodes/remember.el (remember): set buffer-offer-save in
1638 remember buffers (bug#13566).
1640 2013-10-18 Daniel Colascione <dancol@dancol.org>
1642 When evaluating forms in ielm, direct standard output to ielm
1643 buffer. Add new ielm-return-for-effect command. Remove trailing
1644 whitespace throughout.
1646 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1647 (ielm-return-for-effect): New command.
1648 (ielm-send-input): Accept optional `for-effect' parameter.
1649 (ielm-eval-input): Accept optional `for-effect' parameter.
1650 Bind `standard-output' to stream we create using
1651 `ielm-standard-output-impl'. Suppress printing result when
1653 (ielm-standard-output-impl): New function.
1654 (inferior-emacs-lisp-mode): Explain new features in documentation.
1656 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1660 * net/tramp.el (tramp-debug-message): Do not check for connection
1662 (tramp-message): Use "vector" connection property.
1664 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1665 (tramp-equal-remote, tramp-eshell-directory-change)
1666 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1667 (tramp-adb-handle-rename-file)
1668 * net/tramp-cmds.el (tramp-list-remote-buffers)
1669 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1670 * net/tramp-compat.el (tramp-compat-process-running-p)
1671 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1672 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1673 (tramp-gvfs-handle-rename-file)
1674 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1675 (tramp-set-file-uid-gid)
1676 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1677 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1680 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1681 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1682 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1683 (tramp-gw-open-network-stream): Suppress unrelated traces.
1685 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1686 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1688 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1689 connection property.
1691 * net/tramp-cache.el (top): Suppress traces when reading
1694 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1695 Refactor common code. Improve debug message.
1696 (tramp-maybe-open-connection)
1697 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1698 connection buffer too early.
1700 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1701 from `tramp-smb-actions-with-acl'.
1702 (tramp-smb-actions-set-acl): New defconst.
1703 (tramp-smb-handle-copy-directory)
1704 (tramp-smb-action-get-acl): New defun, renamed from
1705 `tramp-smb-action-with-acl'.
1706 (tramp-smb-action-set-acl): New defun.
1707 (tramp-smb-handle-set-file-acl): Rewrite.
1709 2013-10-17 Glenn Morris <rgm@gnu.org>
1711 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1713 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1715 * skeleton.el (skeleton-newline): Remove.
1716 (skeleton-internal-1): Use (insert "\n") instead.
1718 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1721 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1722 forward-sexp-function while we redo its job (bug#15613).
1724 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1726 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1727 represented by lists.
1729 2013-10-16 Glenn Morris <rgm@gnu.org>
1731 * tmm.el (tmm--history): New dynamic variable.
1732 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1734 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1737 (tramp-smb-errors): Add error messages.
1738 (tramp-smb-actions-with-acl): New defconst.
1739 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1740 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1741 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1742 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1743 (tramp-smb-get-stat-capability): Fix tests.
1745 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1747 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1750 2013-10-16 Glenn Morris <rgm@gnu.org>
1752 * ansi-color.el (ansi-color-drop-regexp):
1753 Add 1J, 1K, 2K. (Bug#15617)
1755 * files.el (hack-local-variables--warned-lexical): New.
1756 (hack-local-variables):
1757 Warn about misplaced lexical-binding. (Bug#15616)
1759 * net/eww.el (eww-render): Always set eww-current-url,
1760 and update header line. (Bug#15622)
1761 (eww-display-html): ... Rather than just doing it here.
1763 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1765 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1766 menu navigations commands.
1768 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1770 * progmodes/subword.el (subword-capitalize): Be careful when
1771 the search for [[:alpha:]] fails (bug#15580).
1773 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1775 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1776 to commands that scroll the menu.
1778 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1780 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1781 Handle methods ending with `?' and `!'.
1783 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1785 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1786 `japanese-cp932' to `cp932' to fix the problem where saving a
1787 source file written in Shift_JIS twice would end up having
1788 `coding: japanese-cp932' which Ruby could not recognize.
1789 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1790 in `ruby-encoding-map'.
1791 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1792 doesn't need to be explicitly declared in magic comment.
1793 (ruby-encoding-map): Add type declaration for better customize UI.
1795 2013-10-13 Glenn Morris <rgm@gnu.org>
1797 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1798 Occur buffers are read-only. http://bugs.debian.org/720775
1800 * emacs-lisp/authors.el (authors-fixed-entries):
1801 Comment out old alpha stuff.
1803 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1805 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1806 to `after-save-hook' instead of `before-save-hook'.
1807 (ruby-mode-set-encoding): Use the value of coding system used to
1808 write the file. Call `basic-save-buffer-1' after modifying the
1811 2013-10-13 Alan Mackenzie <acm@muc.de>
1813 Fix indentation/fontification of Java enum with
1814 "implements"/generic.
1816 * progmodes/cc-engine.el (c-backward-over-enum-header):
1817 Extracted from the three other places and enhanced to handle generics.
1818 (c-inside-bracelist-p): Uses new function above.
1819 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1821 (c-font-lock-enum-tail): Uses new function above.
1823 2013-10-13 Kenichi Handa <handa@gnu.org>
1825 * international/mule-cmds.el (select-safe-coding-system): Remove a
1826 superfluous condition in chekcing whether a coding system is safe
1829 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1831 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1833 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1835 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1837 2013-10-13 Glenn Morris <rgm@gnu.org>
1839 * menu-bar.el (menu-bar-update-buffers):
1840 Unify Buffers menu prompt string. (Bug#15576)
1842 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1844 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1846 (authors-fixed-entries): Use accented form of name.
1848 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1850 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1851 method calls (bug#15594).
1852 (ruby-smie--args-separator-p): New function.
1853 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1854 recognize paren-free method calls.
1856 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1857 internals of universal-argument.
1859 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1861 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1862 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1863 dropped menu on second mouse click on the menu bar.
1865 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1867 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1868 (explicit-shell-file-name): Declare.
1869 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1870 (sh-completion-at-point-function): New function.
1872 (sh-smie--keyword-p): Remove unused argument.
1873 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1875 (sh-set-shell): Always setup SMIE, even if we use the
1876 old indentation code.
1878 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1880 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1882 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1883 predicate would return nil are almost non-existent.
1884 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1886 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1887 cache also after commands that modify the buffer but don't move
1890 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * env.el (substitute-env-in-file-name): New function.
1893 (substitute-env-vars): Extend the meaning of the optional arg.
1895 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1897 * term/w32-win.el (dynamic-library-alist): Define separate lists
1898 of GIF DLLs for versions before and after 5.0.0 of giflib.
1901 2013-10-10 João Távora <joaotavora@gmail.com>
1903 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1904 not locked, use last revision and current source as
1905 defaults. (Bug#15569)
1907 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1909 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1912 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1914 * window.el (pop-to-buffer-same-window): Fix doc-string.
1917 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1921 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1923 * calendar/icalendar.el (icalendar-import-file):
1924 Fix interactive spec. (Bug#15482)
1926 2013-10-10 Glenn Morris <rgm@gnu.org>
1928 * desktop.el (desktop-save): Default to saving in .emacs.d,
1929 since PWD is no longer in desktop-path by default. (Bug#15319)
1931 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1932 now that text mode has a menu with the same entry.
1933 (menu-bar-text-mode-auto-fill): Remove now unused func.
1934 * textmodes/text-mode.el (text-mode-map):
1935 Use auto-fill help text from menu-bar.el.
1937 2013-10-10 John Anthony <john@jo.hnanthony.com>
1939 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1941 2013-10-09 Juri Linkov <juri@jurta.org>
1943 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1944 instead of this-command-keys. Add universal-argument-more and
1945 universal-argument-minus to the list of prefix commands. (Bug#15568)
1947 2013-10-09 Glenn Morris <rgm@gnu.org>
1949 * vc/vc-svn.el (vc-svn-create-repo):
1950 Expand paths in file://... url. (Bug#15446)
1952 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1954 (authors): Remove unused local variables.
1956 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * profiler.el: Create a more coherent calltree from partial backtraces.
1959 (profiler-format): Hide the tail with `invisible' so that C-s can still
1960 find the hidden elements.
1961 (profiler-calltree-depth): Don't recurse so enthusiastically.
1962 (profiler-function-equal): New hash-table-test.
1963 (profiler-calltree-build-unified): New function.
1964 (profiler-calltree-build): Use it.
1965 (profiler-report-make-name-part): Indent the calltree less.
1966 (profiler-report-mode): Add visibility specs for profiler-format.
1967 (profiler-report-expand-entry, profiler-report-toggle-entry):
1968 Expand the whole subtree when provided with a prefix arg.
1970 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1972 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1974 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1975 hanging iuwu-mod token.
1976 (ruby-smie--forward-token): Do not include a dot after a token in
1978 (ruby-smie--backward-token): Likewise.
1980 2013-10-08 Juri Linkov <juri@jurta.org>
1982 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1983 to isearch-other-control-char.
1984 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1985 and isearch-post-command-hook to post-command-hook.
1986 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1987 and isearch-post-command-hook from post-command-hook.
1988 (isearch-unread-key-sequence)
1989 (isearch-reread-key-sequence-naturally)
1990 (isearch-lookup-scroll-key, isearch-other-control-char)
1991 (isearch-other-meta-char): Remove functions.
1992 (isearch-pre-command-hook, isearch-post-command-hook):
1993 New functions based on isearch-other-meta-char rewritten
1994 relying on the new behavior of overriding-terminal-local-map
1995 that does not replace the local keymaps any more. (Bug#15200)
1997 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1999 Support menus on text-mode terminals.
2000 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2003 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2005 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2006 Move here from mouse.el.
2007 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2009 (tty-menu-navigation-map): New map for TTY menu navigation.
2011 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2013 * frame.el (display-mouse-p): Report text-mode mouse as available
2015 (display-popup-menus-p): Report availability if mouse is
2016 available; don't condition on window-system.
2018 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2019 (tty-menu-selected-face): New faces.
2021 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2023 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2024 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2025 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2026 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2028 (lisp-mode-variables): New `elisp' argument.
2029 (emacs-lisp-mode): Use it.
2030 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2031 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2033 * indent.el: Use lexical-binding.
2034 (indent-region): Add progress reporter.
2035 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2037 (indent--next-tab-stop): New function to implement this behavior.
2038 (tab-to-tab-stop, move-to-tab-stop): Use it.
2040 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2042 * indent.el (indent-rigidly--current-indentation): New function.
2043 (indent-rigidly-map): New var.
2044 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2046 2013-10-08 Bastien Guerry <bzg@gnu.org>
2048 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2050 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * progmodes/perl-mode.el: Use lexical-binding.
2053 Remove redundant :group args.
2054 (perl-nochange): Change default to be closer to other major modes's
2056 (perl-indent-line): Don't consider text on current line as a
2057 valid beginning of function from which to indent.
2059 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2060 with more than one argument (bug#15538).
2062 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2064 * vc/pcvs.el: Use lexical-binding.
2065 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2066 environment of `eval'.
2067 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2068 than a list of expressions. Adjust callers.
2069 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2071 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2073 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2074 case of the dot in a chained method call being on the following line.
2076 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * electric.el (electric-indent-inhibit): New var.
2079 (electric-indent-post-self-insert-function): Use it.
2080 * progmodes/python.el (python-mode): Set it.
2082 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2085 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2087 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2088 (css-mode): Use electric-indent-chars.
2090 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2091 (font-lock-beg, font-lock-end): Move before first use.
2092 (nxml-mode): Use syntax-propertize-function.
2093 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2094 (nxml-extend-after-change-region): Remove.
2095 * nxml/xmltok.el: Use lexical-binding.
2096 (xmltok-save): Use `declare'.
2097 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2098 * nxml/nxml-util.el: Use lexical-binding.
2099 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2101 * nxml/nxml-ns.el: Use lexical-binding.
2102 (nxml-ns-save): Use `declare'.
2103 (nxml-ns-prefixes-for): Avoid add-to-list.
2104 * nxml/rng-match.el: Use lexical-binding.
2105 (rng--ipattern): Use cl-defstruct.
2106 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2107 (rng-cons-group-after, rng-subst-group-after)
2108 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2109 Use closures instead of `(lambda...).
2111 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2113 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2117 Use `tramp-handle-insert-file-contents'.
2118 (tramp-gvfs-handle-insert-file-contents): Remove function.
2120 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2121 Use `save-restriction' in order to keep markers.
2123 * net/trampver.el: Update release number.
2125 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2127 * progmodes/compile.el (compilation-parse-errors):
2128 Use compilation--put-prop.
2129 (compilation--ensure-parse): Check compilation-multiline.
2131 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2133 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2136 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2138 * progmodes/ruby-mode.el: Fix recently added tests.
2139 (ruby-smie-grammar): Add - and +.
2140 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2141 (ruby-smie--backward-id): New functions.
2142 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2143 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2146 2013-10-07 Leo Liu <sdl.web@gmail.com>
2148 * register.el (register-preview-delay)
2149 (register-preview-functions): New variables.
2150 (register-read-with-preview, register-preview)
2151 (register-describe-oneline): New functions.
2152 (point-to-register, window-configuration-to-register)
2153 (frame-configuration-to-register, jump-to-register)
2154 (number-to-register, view-register, insert-register)
2155 (copy-to-register, append-to-register, prepend-to-register)
2156 (copy-rectangle-to-register): Use register-read-with-preview to
2157 read register. (Bug#15525)
2159 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2161 * net/network-stream.el (network-stream-open-starttls): Don't add
2162 --insecure if it's already present, because that gnutls-cli
2163 rejects getting that parameter twice.
2165 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2167 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2170 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2172 * newcomment.el (comment-use-global-state): Change default value
2173 to t, mark obsolete (Bug#15251).
2174 (comment-beginning): In addition to `comment-to-syntax', check the
2175 value of `comment-use-global-state'.
2177 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2179 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2180 (ruby-comment-column): Follow the global default, by default.
2181 (ruby-smie-grammar): Add assignment syntax.
2182 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2183 open-paren, a comma, or a \.
2184 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2185 and line continuations.
2186 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2187 followed by implicit semi-colons. Add rule for string concatenation
2188 and for indentation at BOB.
2189 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2191 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2192 calling next-sexp, since next-token may have skipped chars which
2193 next-sexp doesn't know should be skipped!
2195 2013-10-05 Leo Liu <sdl.web@gmail.com>
2197 * progmodes/octave.el (octave-send-region):
2198 Call compilation-forget-errors.
2200 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2202 * vc/vc-svn.el (vc-svn-find-admin-dir):
2203 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2204 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2205 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2206 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2208 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2212 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * subr.el (read-passwd): Hide chars even when called within a context
2215 where after-change-functions is disabled (bug#15501).
2216 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2217 until we removed ourself from overriding-terminal-local-map.
2219 2013-10-04 Leo Liu <sdl.web@gmail.com>
2221 * progmodes/octave.el (inferior-octave-mode):
2222 Call compilation-forget-errors.
2224 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2226 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2228 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2230 * net/secrets.el (secrets-create-collection): Add optional
2231 argument ALIAS. Use proper Label keyword. Append ALIAS as
2232 dbus-call-method argument. (Bug#15516)
2234 2013-10-04 Leo Liu <sdl.web@gmail.com>
2236 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2237 (inferior-octave-compilation-font-lock-keywords): New variables.
2238 (compilation-error-regexp-alist)
2239 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2240 (inferior-octave-mode): Use compilation-shell-minor-mode.
2242 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2244 * minibuffer.el (completion--replace): Be careful that `end' might be
2247 2013-10-03 Daiki Ueno <ueno@gnu.org>
2249 Add support for package signature checking.
2250 * emacs-lisp/package.el (url-http-file-exists-p)
2251 (epg-make-context, epg-context-set-home-directory)
2252 (epg-verify-string, epg-context-result-for)
2253 (epg-signature-status, epg-signature-to-string)
2254 (epg-check-configuration, epg-configuration)
2255 (epg-import-keys-from-file): Declare.
2256 (package-check-signature): New user option.
2257 (package-unsigned-archives): New user option.
2258 (package-desc): Add `signed' field.
2259 (package-load-descriptor): Set `signed' field if .signed file exists.
2260 (package--archive-file-exists-p): New function.
2261 (package--check-signature): New function.
2262 (package-install-from-archive): Check package signature.
2263 (package--download-one-archive): Check archive signature.
2264 (package-delete): Remove .signed file.
2265 (package-import-keyring): New command.
2266 (package-refresh-contents): Import default keyring.
2267 (package-desc-status): Add "unsigned" status.
2268 (describe-package-1, package-menu--print-info)
2269 (package-menu-mark-delete, package-menu--find-upgrades)
2270 (package-menu--status-predicate): Support "unsigned" status.
2272 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2274 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2275 the new compilation scheme using the new byte-codes.
2277 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2278 (byte-pophandler): New byte codes.
2279 (byte-goto-ops): Adjust accordingly.
2280 (byte-compile--use-old-handlers): New var.
2281 (byte-compile-catch): Use new byte codes depending on
2282 byte-compile--use-old-handlers.
2283 (byte-compile-condition-case--old): Rename from
2284 byte-compile-condition-case.
2285 (byte-compile-condition-case--new): New function.
2286 (byte-compile-condition-case): New function that dispatches depending
2287 on byte-compile--use-old-handlers.
2288 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2291 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2292 Optimize under `condition-case' and `catch' if
2293 byte-compile--use-old-handlers is nil.
2294 (disassemble-offset): Handle new bytecodes.
2296 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * subr.el (error): Use `declare'.
2299 (decode-char, encode-char): Use advertised-calling-convention instead
2300 of the docstring to discourage use of the `restriction' arg.
2302 2013-10-03 Daiki Ueno <ueno@gnu.org>
2304 * epg.el (epg-verify-file): Add a comment saying that it does not
2305 notify verification error as a return value nor a signal.
2306 (epg-verify-string): Ditto.
2308 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2310 * progmodes/compile.el (compilation-start): Try globbing the arg to
2313 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2315 Sync with Tramp 2.2.8.
2317 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2318 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2319 * net/trampver.el: Update release number.
2321 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2323 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2324 and default-process-coding-system for darwin only.
2326 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2330 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2332 * vc/vc-git.el (vc-git-grep): Disable pager.
2334 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2336 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2337 Use :url instead of :homepage, as per
2338 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2340 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2341 non-nil, use `syntax-ppss' (Bug#15251).
2343 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2345 * progmodes/octave.el (inferior-octave-startup-file):
2346 Prefer ~/.emacs.d/init_octave.m.
2348 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2350 * emacs-lisp/package.el (package-desc-from-define):
2351 Accept additional arguments as plist, convert them to an alist and store
2352 them in the `extras' slot.
2353 (package-generate-description-file): Convert extras alist back to
2354 plist and append to the `define-package' form arguments.
2355 (package--alist-to-plist): New function.
2356 (package--ac-desc): Add `extras' slot.
2357 (package--add-to-archive-contents): Check if the archive-contents
2358 vector is long enough, and if it is, pass its `extras' slot value
2359 to `package-desc-create'.
2360 (package-buffer-info): Call `lm-homepage', pass the returned value
2361 to `package-desc-from-define'.
2362 (describe-package-1): Render the homepage button (Bug#13291).
2364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2365 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2367 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2369 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2370 and default-process-coding-system to utf-8-unix (Bug#15402).
2372 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2374 * subr.el (looking-back): Do not recommend using looking-back.
2376 2013-09-28 Alan Mackenzie <acm@muc.de>
2378 Fix indentation/fontification of Java enum with "implements".
2380 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2381 regexp which matches "implements", etc., in Java.
2382 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2383 specifier clauses coming after "enum".
2384 * progmodes/cc-fonts.el (c-font-lock-declarations)
2385 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2388 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2390 * faces.el (region): Change ns_selection_color to
2391 ns_selection_fg_color, add ns_selection_bg_color.
2393 2013-09-28 Leo Liu <sdl.web@gmail.com>
2395 * progmodes/octave.el (inferior-octave-completion-table)
2396 (inferior-octave-completion-at-point): Minor tweaks.
2398 * textmodes/ispell.el (ispell-lookup-words): Rename from
2399 lookup-words. (Bug#15460)
2400 (lookup-words): Obsolete.
2401 (ispell-complete-word, ispell-command-loop): All uses changed.
2403 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2405 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2406 (octave-mode-menu): Add octave-send-buffer.
2407 (octave-send-buffer): New function.
2409 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2411 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2413 (octave-mode-menu): Add octave-lookfor.
2414 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2416 (octave-lookfor): New function.
2418 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * emacs-lisp/cl-macs.el:
2421 (cl--loop-destr-temps): Remove.
2422 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2424 (cl--loop-set-iterator-function): New function.
2425 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2426 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2427 Bind `it' with `let' instead of substituting it with `cl-subst'.
2428 (cl--unused-var-p): New function.
2429 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2430 Eliminate some unused variable warnings (bug#15326).
2432 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2434 * doc-view.el (doc-view-scale-reset): Rename from
2435 `doc-view-reset-zoom-level'.
2436 (doc-view-scale-adjust): New command.
2437 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2438 `doc-view-scale-adjust'.
2440 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2442 * doc-view.el (doc-view-reset-zoom-level): New command.
2443 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2444 zoom commands (bug#15466).
2446 2013-09-26 Kenichi Handa <handa@gnu.org>
2448 * international/quail.el (quail-help): Make it not a command.
2450 2013-09-26 Leo Liu <sdl.web@gmail.com>
2452 * minibuffer.el (completion-all-sorted-completions): Make args
2453 optional as they are.
2455 2013-09-25 Daniel Colascione <dancol@dancol.org>
2457 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2458 specs are and that they're not evaluated.
2460 2013-09-24 Sam Steingold <sds@gnu.org>
2462 * midnight.el (clean-buffer-list-kill-regexps)
2463 (clean-buffer-list-kill-buffer-names): Update for the new Man
2464 buffer naming which includes the object name.
2466 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2468 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2469 (eshell-parse-command, eshell-parse-pipeline): Use it since
2470 eshell-separate-commands requires a dynamic scoped var.
2471 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2473 2013-09-23 Leo Liu <sdl.web@gmail.com>
2475 * autoinsert.el (auto-insert-alist): Make the value of
2476 lexical-binding match its file setting.
2478 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2480 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2482 * autoarg.el (autoarg-kp-digit-argument):
2483 * electric.el (Electric-command-loop):
2484 * kmacro.el (kmacro-step-edit-insert):
2485 Do not set universal-argument-num-events.
2487 2013-09-22 Leo Liu <sdl.web@gmail.com>
2489 * files.el (interpreter-mode-alist): Add octave.
2491 2013-09-21 Alan Mackenzie <acm@muc.de>
2493 C++: fontify identifier in declaration following "public:" correctly.
2494 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2495 to match "public", etc.
2496 (c-decl-prefix-re): Add ":" into the C++ value.
2497 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2498 bit. Add a check for a ":" preceded by "public", etc.
2500 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2502 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2503 recognized by GDB 7.5 and later.
2505 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2507 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2509 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2511 * subr.el (internal--call-interactively): New const.
2512 (called-interactively-p): Use it (bug#3984).
2514 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2516 * vc/pcvs.el (cvs-mode-ignore):
2517 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2518 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2520 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2523 (eshell-ls-orig-insert-directory): Remove.
2524 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2525 (eshell-ls-use-in-dired): Use advice-add/remove.
2526 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2527 Add `orig-fun' arg for use in :around advice.
2528 Make it check (redundantly) eshell-ls-use-in-dired.
2530 2013-09-19 Glenn Morris <rgm@gnu.org>
2532 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2534 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2536 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2538 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2540 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2541 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2542 (tramp-get-remote-python): New defuns.
2543 (tramp-get-remote-uid-with-perl)
2544 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2545 contributed by yary <not.com@gmail.com> (tiny change).
2546 (tramp-get-remote-uid-with-python)
2547 (tramp-get-remote-gid-with-python): New defuns. Python code
2548 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2549 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2551 2013-09-19 Glenn Morris <rgm@gnu.org>
2553 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2555 * eshell/em-unix.el (eshell-remove-entries):
2556 Rename argument to avoid name-clash with global `top-level'.
2558 * eshell/esh-proc.el (eshell-kill-process-function):
2559 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2560 (eshell-reset-after-proc): Remove unused arg `proc'.
2562 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2563 (directory-files-and-attributes): Mark unused arg.
2565 * eshell/em-unix.el (eshell-remove-entries):
2566 Remove unused arg `path'. Update callers.
2568 * eshell/em-hist.el (eshell-hist-parse-arguments):
2569 Remove unused arg `silent'. Update callers.
2571 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2572 Fix (f)boundp mix-up.
2574 * eshell/em-smart.el (eshell-smart-scroll-window)
2575 (eshell-disable-after-change):
2576 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2578 2013-09-18 Alan Mackenzie <acm@muc.de>
2580 Fix fontification of type when followed by "const".
2581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2582 "known" types from fontification.
2584 2013-09-18 Glenn Morris <rgm@gnu.org>
2586 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2587 (chart-face-list): Drop Emacsen without display-color-p.
2589 * net/eww.el (libxml-parse-html-region): Declare.
2590 (eww-display-html): Explicit error if no libxml2 support.
2592 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2594 * image.el (image-type-from-buffer, image-multi-frame-p):
2595 Remove --without-x warning/error.
2597 * mouse.el (mouse-yank-primary):
2598 * term.el (term-mouse-paste):
2599 Reorder to silence --without-x compilation.
2601 * mpc.el (doc-view-mode): Silence --without-x compilation.
2603 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2604 Silence --without-x compilation.
2606 * progmodes/gud.el (gud-find-file, gud-mode):
2607 Silence --without-x compilation.
2608 (tooltip-mode): Declare.
2610 * wdired.el (dired-backup-overwrite): Remove declaration.
2611 (wdired-mode-map): Add doc string.
2613 * custom.el (x-get-resource): Declare.
2615 * eshell/em-glob.el (ange-cache):
2616 * eshell/em-unix.el (ange-cache): Declare.
2618 * faces.el (x-display-list, x-open-connection, x-get-resource):
2621 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2622 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2625 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2627 * net/gnutls.el (gnutls-log-level): Declare.
2629 * net/shr.el (image-size, image-animate): Declare.
2631 * simple.el (font-info): Declare.
2633 * subr.el (x-popup-dialog): Declare.
2635 * term/common-win.el (x-select-enable-primary)
2636 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2639 * term/ns-win.el (x-handle-args): Declare.
2641 * term/x-win.el (x-select-enable-clipboard): Declare.
2643 * term/w32-win.el (create-default-fontset): Declare.
2645 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2648 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2649 (fit-frame-to-buffer): Explicit error if --without-x.
2650 (mouse-autoselect-window-select): Silence compiler.
2652 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2654 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2655 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2656 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2657 * eshell/esh-util.el (eshell-sublist):
2658 Remove unused local variables.
2660 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2662 * textmodes/two-column.el: Make 2C-split work for --without-x.
2663 (scroll-bar-columns): Autoload.
2664 (top-level): Require fringe when compiling.
2666 2013-09-18 Leo Liu <sdl.web@gmail.com>
2668 * subr.el (add-hook): Robustify to handle closure as well.
2670 2013-09-17 Glenn Morris <rgm@gnu.org>
2672 * simple.el (messages-buffer-mode-map): Unbind "g".
2674 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * help-mode.el (help-mode-finish): Use derived-mode-p.
2677 Remove obsolete highlighting.
2679 * play/life.el (life-mode): Use define-derived-mode. Derive from
2681 (life): Let-bind inhibit-read-only.
2682 (life-setup): Avoid `setq'. Use `life-mode'.
2684 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2685 which should not be needed any more.
2686 (package-menu-refresh, package-menu-describe-package): Use user-error.
2688 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2689 (eshell-post-rewrite-command-hook): Make obsolete.
2690 (eshell-parse-command): Simplify.
2691 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2692 (eshell--cmd): Declare.
2693 (eshell-parse-pipeline): Remove unused var `final-p'.
2694 Pass a dynvar to eshell-post-rewrite-command-hook.
2695 Implement the new eshell-post-rewrite-command-function.
2696 (eshell-invoke-directly): Remove unused arg `input'.
2697 * eshell/esh-io.el (eshell-io-initialize):
2698 Use eshell-post-rewrite-command-function (bug#15399).
2699 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2700 adjust to new calling convention.
2701 (eshell-create-handles): Rename args to avoid clashing with dynvar
2704 2013-09-17 Glenn Morris <rgm@gnu.org>
2706 * simple.el (messages-buffer-mode): New major mode.
2707 (messages-buffer): New function.
2708 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2709 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2710 (ert-run-test): Use `messages-buffer' function.
2711 (ert--force-message-log-buffer-truncation): Ignore read-only.
2712 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2713 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2715 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2719 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2721 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * icomplete.el (icomplete-in-buffer): New var.
2724 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2725 vars and replace them with functions.
2726 (icomplete-minibuffer-setup): Adjust accordingly.
2727 (icomplete--completion-table, icomplete--completion-predicate)
2728 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2730 (icomplete-forward-completions, icomplete-backward-completions)
2731 (icomplete-simple-completing-p, icomplete-exhibit)
2732 (icomplete-completions): Use them.
2733 (icomplete--in-region-buffer): New var.
2734 (icomplete--in-region-setup): New function.
2735 (icomplete-mode): Use it.
2737 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2739 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2740 return args and options.
2741 (eshell-eval-using-options): Use the new return value of
2742 eshell--do-opts to set the options's vars in their scope.
2743 (eshell--set-option): Rename from eshell-set-option.
2745 (eshell--process-option): Rename from eshell-process-option.
2747 (eshell--process-args): Use an `opt-vals' alist to store the options's
2748 values during their processing and return them additionally to the
2751 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2753 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2754 continuation character an operator, as far as indentation is
2755 concerned (Bug#15369).
2757 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2759 * window.el (window--state-put-2): Don't process buffer state
2760 when buffer doesn't exist any more (Bug#15382).
2762 2013-09-15 Glenn Morris <rgm@gnu.org>
2764 * eshell/em-unix.el (eshell/rm):
2765 Make -f ignore missing files. (Bug#15373)
2767 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2768 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2769 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2771 2013-09-14 Glenn Morris <rgm@gnu.org>
2773 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2775 2013-09-13 Glenn Morris <rgm@gnu.org>
2777 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2778 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2780 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2782 * frame.el (x-focus-frame): Mark as declared in frame.c.
2784 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2786 * ls-lisp.el: Use advice-add.
2787 (original-insert-directory): Remove.
2788 (ls-lisp--insert-directory): Rename from insert-directory; add
2789 `orig-fun' argument.
2790 (insert-directory): Advise.
2792 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2794 * term.el (term-emulate-terminal): Decode the command string
2795 before passing it to term-command-hook. (Bug#15337)
2797 2013-09-13 Glenn Morris <rgm@gnu.org>
2799 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2801 * eshell/esh-ext.el (eshell-search-path): Declare.
2803 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2804 Otherwise an error occurs if eshell-dirs module not loaded.
2806 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2808 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2810 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2811 `tramp-check-proper-host'. Check for a valid method name.
2813 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2814 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2815 * net/tramp-sh.el (tramp-maybe-open-connection):
2816 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2818 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2819 also for hash values.
2821 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2823 * term/ns-win.el (parameters): Don't declare as dynamic.
2824 (before-make-frame-hook): Don't add ineffective function.
2826 * eshell/*.el: Use lexical-binding (bug#15231).
2828 2013-09-12 Kenichi Handa <handa@gnu.org>
2830 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2832 2013-09-12 Glenn Morris <rgm@gnu.org>
2834 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2835 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2837 * subr.el (do-after-load-evaluation): Also give compiler warnings
2838 when obsolete files are used (except by obsolete files).
2840 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2841 in the status output, assume `filename' is the first. (Bug#15322)
2843 * vc/vc.el (vc-deduce-fileset): Doc fix.
2845 * calc/calc-help.el (Info-goto-node):
2846 * progmodes/cperl-mode.el (Info-find-node):
2847 * vc/ediff.el (Info-goto-node): Update declarations.
2849 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2851 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2852 (vc-bzr-pull): Require vc-dispatcher.
2853 * vc/vc-git.el (vc-compilation-mode): Declare.
2854 (vc-git-pull): Require vc-dispatcher.
2856 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2858 * progmodes/octave.el (help-button-action): Declare.
2860 * shell.el (shell-directory-tracker): Output error as a message
2861 rather than just returning it as a string.
2862 (shell-process-pushd): Remove useless use of message.
2864 * dframe.el (dframe-timer-fn):
2865 * files.el (dir-locals-read-from-file):
2866 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2868 * reveal.el (reveal-post-command):
2869 * saveplace.el (load-save-place-alist-from-file):
2870 * shell.el (shell-resync-dirs):
2871 * w32-common-fns.el (x-get-selection-value):
2872 * emacs-lisp/copyright.el (copyright-find-copyright):
2873 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2874 * emulation/tpu-edt.el (tpu-copy-keyfile):
2875 * play/bubbles.el (bubbles--mark-neighbourhood):
2876 * progmodes/executable.el
2877 (executable-make-buffer-file-executable-if-script-p):
2878 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2880 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2882 Cleanup Eshell to rely less on dynamic scoping.
2883 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2884 last-value, and ext-command here. Bind `args' closer to `body'.
2885 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2886 (eshell--args): Declare new dynamic var.
2887 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2888 last-value, and ext-command. Pass `args' to `body'.
2889 (eshell-process-args): Bind eshell--args.
2890 (eshell-set-option): Use eshell--args.
2891 * eshell/eshell.el (eshell): Use derived-mode-p.
2892 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2893 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2894 (eshell-glob-function): Declare.
2895 * eshell/esh-util.el: Require cl-lib.
2896 (eshell-read-hosts-file): Avoid add-to-list.
2897 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2899 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2901 (eshell/diff): Remove unused var `err'.
2902 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2904 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2905 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2907 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2908 Move declaration before first use.
2909 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2910 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2913 2013-09-12 Glenn Morris <rgm@gnu.org>
2915 * term/ns-win.el (global-map): Remove binding for ispell-next,
2916 deleted 1999-05-29. (Bug#15357)
2918 2013-09-11 Glenn Morris <rgm@gnu.org>
2920 * echistory.el (electric-command-history): Remove call to deleted func.
2922 * play/landmark.el (landmark-mode): Fix typos.
2924 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2925 Check cvs-sort-ignore-file is bound.
2927 * savehist.el: No need for cl when compiling on Emacs.
2929 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2933 (eshell-self-insert-command, eshell-send-invisible):
2934 Remove unused argument.
2935 (eshell-handle-control-codes): Remove unused var `orig'.
2936 Avoid delete-backward-char.
2938 * files.el (set-auto-mode): Simplify a bit further.
2940 2013-09-11 Glenn Morris <rgm@gnu.org>
2942 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2943 (set-auto-mode): Don't regexp-quote elements.
2944 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2945 * progmodes/cc-mode.el (interpreter-mode-alist):
2946 * progmodes/ruby-mode.el (interpreter-mode-alist):
2947 Revert previous change.
2949 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2951 * play/snake.el (snake-mode):
2952 * play/mpuz.el (mpuz-mode):
2953 * play/landmark.el (lm-mode):
2954 * play/blackbox.el (blackbox-mode):
2955 * play/5x5.el (5x5-mode):
2956 * obsolete/options.el (Edit-options-mode):
2957 * net/quickurl.el (quickurl-list-mode):
2958 * net/newst-treeview.el (newsticker-treeview-mode):
2959 * mail/rmailsum.el (rmail-summary-mode):
2960 * mail/mspools.el (mspools-mode):
2961 * locate.el (locate-mode):
2962 * ibuffer.el (ibuffer-mode):
2963 * emulation/ws-mode.el (wordstar-mode):
2964 * emacs-lisp/debug.el (debugger-mode):
2965 * array.el (array-mode):
2966 * net/eudc.el (eudc-mode): Use define-derived-mode.
2967 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2968 Move initialization into declaration.
2969 (mairix-searches-mode): Use define-derived-mode.
2970 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2971 (eudc-edit-hotlist): Use dolist.
2972 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2973 (Man-mode): Use define-derived-mode.
2974 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2975 (Info-edit-mode): Use define-derived-mode.
2976 (Info-cease-edit): Use Info-mode.
2977 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2979 (eshell-mode): Use define-derived-mode.
2980 * chistory.el (command-history-mode-map): Rename from
2981 command-history-map.
2982 (command-history-mode): Use define-derived-mode.
2983 (Command-history-setup): Remove function.
2984 * calc/calc.el (calc-trail-mode-map): New var.
2985 (calc-trail-mode): Use define-derived-mode.
2986 (calc-trail-buffer): Set calc-main-buffer manually.
2987 * bookmark.el (bookmark-insert-annotation): New function.
2988 (bookmark-edit-annotation): Use it.
2989 (bookmark-edit-annotation-mode): Make it a proper major mode.
2990 (bookmark-send-edited-annotation): Use derived-mode-p.
2991 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2992 closer to its ideal place. Use \' to match EOS.
2994 * profiler.el (profiler-calltree-find): Use function-equal.
2996 2013-09-10 Glenn Morris <rgm@gnu.org>
2998 * files.el (interpreter-mode-alist): Convert to regexps.
2999 (set-auto-mode): Adapt for this. (Bug#15306)
3000 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3001 Comment out unused variable.
3002 * progmodes/cc-mode.el (interpreter-mode-alist):
3003 * progmodes/python.el (interpreter-mode-alist):
3004 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3005 * progmodes/sh-script.el (sh-set-shell):
3006 No longer use interpreter-mode-alist to get list of shells.
3008 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3010 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3012 * simple.el: Use set-temporary-overlay-map for universal-argument.
3013 (universal-argument-map): Don't use default-bindings (bug#15317).
3014 Bind switch-frame explicitly. Replace universal-argument-minus with
3015 a conditional binding.
3016 (universal-argument-num-events, saved-overriding-map): Remove.
3017 (restore-overriding-map): Remove.
3018 (universal-argument--mode): Rename from save&set-overriding-map,
3020 (universal-argument, universal-argument-more, negative-argument)
3021 (digit-argument): Adjust accordingly.
3022 (universal-argument-minus): Remove.
3023 (universal-argument-other-key): Remove.
3025 * subr.el (with-demoted-errors): Add `format' argument.
3027 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3029 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3030 `tramp-cleanup-connection'.
3032 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3033 parameters KEEP-DEBUG and KEEP-PASSWORD.
3035 * net/tramp.el (tramp-file-name-handler):
3036 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3037 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3038 (tramp-maybe-open-connection):
3039 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3040 Use `tramp-cleanup-connection'.
3042 * net/tramp-sh.el (tramp-maybe-open-connection):
3043 Catch 'uname-changed inside the progress reporter.
3045 2013-09-10 Glenn Morris <rgm@gnu.org>
3047 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3049 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3050 returns "alternate access method" in mode (eg "-rw-r--r--.").
3052 2013-09-08 Glenn Morris <rgm@gnu.org>
3054 * saveplace.el (load-save-place-alist-from-file):
3055 Demote errors. (Bug#15305)
3057 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3059 Improve compatibility with older Emacsen, and XEmacs.
3061 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3062 only if it is bound. It isn't for XEmacs.
3063 (with-tramp-progress-reporter): Do not let-bind `result'.
3064 This yields to scoping errors in XEmacs.
3065 (tramp-handle-make-auto-save-file-name): New function, moved from
3068 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3069 for `make-auto-save-file-name'.
3070 (tramp-adb--gnu-switches-to-ash):
3071 Use `tramp-compat-replace-regexp-in-string'.
3073 * net/tramp-cache.el (tramp-cache-print): Call
3074 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3076 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3077 bound. It isn't for XEmacs.
3079 * net/tramp-compat.el (tramp-compat-copy-file):
3080 Catch `wrong-number-of-arguments' error.
3081 (tramp-compat-replace-regexp-in-string): New defun.
3083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3084 for `make-auto-save-file-name'.
3085 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3087 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3088 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3089 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3091 * net/tramp-gw.el (tramp-gw-open-network-stream):
3092 Use `tramp-compat-replace-regexp-in-string'.
3094 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3095 Call `tramp-handle-make-auto-save-file-name'.
3096 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3097 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3098 (tramp-sh-file-inotifywait-process-filter):
3099 Use `tramp-compat-replace-regexp-in-string'.
3100 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3102 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3103 for `make-auto-save-file-name'.
3104 (tramp-smb-handle-copy-directory):
3105 Call `tramp-compat-replace-regexp-in-string'.
3106 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3107 (tramp-smb-handle-copy-file): Improve error message.
3108 (tramp-smb-handle-rename-file): Rename directly only in case
3109 `newname' does not exist yet. This is a restriction of smbclient.
3110 (tramp-smb-maybe-open-connection): Rerun the function only when
3111 `auth-sources' is non-nil.
3113 2013-09-08 Kenichi Handa <handa@gnu.org>
3115 * international/characters.el: Set category "^" (Combining) for
3118 2013-09-07 Alan Mackenzie <acm@muc.de>
3120 Correctly fontify Java class constructors.
3121 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3123 (c-recognize-typeless-decls): Set the Java value to t.
3124 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3125 While handling a "(", add a check for, effectively, Java, and handle a
3126 "typeless" declaration there.
3128 2013-09-07 Roland Winkler <winkler@gnu.org>
3130 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3131 field subtitle for entry type book.
3133 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * minibuffer.el: Make minibuffer-complete call completion-in-region
3136 rather than other way around.
3137 (completion--some, completion-pcm--find-all-completions):
3138 Don't delay signals when debugging.
3139 (minibuffer-completion-contents): Beware fields within the
3140 minibuffer contents.
3141 (completion-all-sorted-completions): Use defvar-local.
3142 (completion--do-completion, completion--cache-all-sorted-completions)
3143 (completion-all-sorted-completions, minibuffer-force-complete):
3144 Add args `beg' and `end'.
3145 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3146 (minibuffer-complete): Use completion-in-region.
3147 (completion-complete-and-exit): New fun, extracted from
3148 minibuffer-complete-and-exit.
3149 (minibuffer-complete-and-exit): Use it.
3150 (completion--complete-and-exit): Rename from
3151 minibuffer--complete-and-exit.
3152 (completion-in-region--single-word): New function, extracted from
3153 minibuffer-complete-word.
3154 (minibuffer-complete-word): Use it.
3155 (display-completion-list): Make `common-substring' argument obsolete.
3156 (completion--in-region): Call completion--in-region-1 instead of
3157 minibuffer-complete.
3158 (completion-help-at-point): Pass boundaries to
3159 minibuffer-completion-help as args rather than via an overlay.
3160 (completion-pcm--string->pattern): Use `any-delim'.
3161 (completion-pcm--optimize-pattern): New function.
3162 (completion-pcm--pattern->regex): Handle `any-delim'.
3163 * icomplete.el (icomplete-forward-completions)
3164 (icomplete-backward-completions, icomplete-completions):
3165 Adjust calls to completion-all-sorted-completions and
3166 completion--cache-all-sorted-completions.
3167 (icomplete-with-completion-tables): Default to t.
3168 * emacs-lisp/crm.el (crm--current-element): Rename from
3169 crm--select-current-element. Don't put an overlay but return the
3171 (crm--completion-command): Take two new args to bind to the boundaries.
3172 (crm-completion-help): Adjust accordingly.
3173 (crm-complete): Use completion-in-region.
3174 (crm-complete-word): Use completion-in-region--single-word.
3175 (crm-complete-and-exit): Use completion-complete-and-exit.
3177 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3179 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3182 2013-09-06 Juri Linkov <juri@jurta.org>
3184 * info.el (Info-display-images-node): When image file doesn't exist
3185 display text version of the image if it's provided in the Info file.
3186 Otherwise, display the location of missing image from SRC attribute.
3187 Add help-echo text property from ALT attribute. (Bug#15279)
3189 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3191 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3192 (edit-abbrevs-mode): Use define-derived-mode.
3194 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3195 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3197 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3198 Use define-derived-mode.
3200 * epg.el (epg-start-encrypt): Minor CSE simplification.
3202 2013-09-06 William Xu <william.xwl@gmail.com>
3204 * arc-mode.el: Add support for 7za (bug#15264).
3205 (archive-7z-program): New var.
3206 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3207 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3208 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3210 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3214 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3215 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3216 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3217 (tramp-postfix-host-format, tramp-file-name-regexp)
3218 (tramp-completion-file-name-regexp)
3219 (tramp-completion-dissect-file-name)
3220 (tramp-handle-substitute-in-file-name): Remove 'url case.
3221 (tramp-file-name-regexp-url)
3222 (tramp-completion-file-name-regexp-url): Remove constants.
3224 2013-09-06 Glenn Morris <rgm@gnu.org>
3226 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3228 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3230 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3231 keywords" below "here-doc beginnings" (Bug#15270).
3233 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * subr.el (pop): Use `car-safe'.
3236 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3237 to detect unused `pop' return value.
3239 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3241 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3242 (python-fill-string): Remove unused var `marker'.
3243 (python-skeleton-add-menu-items): Remove unused var `items'.
3245 * international/mule-cmds.el: Require CL.
3246 (find-coding-systems-for-charsets): Avoid add-to-list.
3247 (sanitize-coding-system-list): New function, extracted from
3248 select-safe-coding-system-interactively.
3249 (select-safe-coding-system-interactively): Use it.
3250 (read-input-method-name): Accept symbols for `default'.
3252 * emacs-lisp/advice.el (defadvice): Add indent rule.
3254 2013-09-05 Daniel Hackney <dan@haxney.org>
3258 * net/browse-url.el:
3261 * net/eudcb-ldap.el:
3274 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3275 byte compiler. Remove some unused let-bound variables.
3277 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3279 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3280 a "ref-cell", since it gets better optimized (bug#14883).
3282 2013-09-05 Glenn Morris <rgm@gnu.org>
3284 * progmodes/cc-awk.el (c-forward-sws): Declare.
3286 2013-09-04 Glenn Morris <rgm@gnu.org>
3288 * generic-x.el [rul-generic-mode]: Require cc-mode.
3289 (c++-mode-syntax-table): Declare.
3290 (rul-generic-mode-syntax-table): Init in the defvar.
3292 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3295 (vc-do-command, vc-set-async-update):
3296 * vc/vc-mtn.el (vc-mtn-dir-status):
3297 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3298 (vc-hg-pull, vc-hg-merge-branch):
3299 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3300 (vc-git-merge-branch):
3301 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3302 (vc-cvs-dir-status-files):
3303 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3304 (vc-bzr-dir-status-files):
3305 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3306 * vc/vc-annotate.el: Use lexical-binding.
3307 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3308 (vc-sentinel-movepoint): Declare.
3309 (vc-annotate): Don't use `goto-line'.
3310 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3311 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3312 (vc-sentinel-movepoint): Declare.
3313 * vc/vc-svn.el: Use lexical-binding.
3314 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3316 * vc/vc-rcs.el: Use lexical-binding.
3318 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3319 `deleted'. Don't drop errors silently.
3321 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3323 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3325 * vc/vc.el (vc-ignore): Rewrite.
3326 (vc-default-ignore): New function.
3327 (vc-default-ignore-completion-table): Use find-ignore-file.
3329 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3330 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3331 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3332 Remove. Most code moved to vc.el.
3334 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3336 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3337 * net/tramp-smb.el (tramp-smb-get-file-entries):
3338 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3339 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3341 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3343 (eww-change-select): Remove unused var `properties'.
3344 (eww-make-unique-file-name): Remove unused var `base'.
3346 * finder.el (finder-compile-keywords): Don't mess with windows.
3348 * calculator.el (calculator-funcall): Fix typo in last change.
3350 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3352 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3353 <pkg>-autoloads.el file stop us.
3355 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3356 warnings, and factor out common code.
3358 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3360 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3361 two-character operators and whether the character preceding them
3362 changes their meaning (Bug#15208).
3364 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3366 Format code sent to Python shell for robustness.
3367 * progmodes/python.el (python-shell-buffer-substring):
3369 (python-shell-send-region, python-shell-send-buffer): Use it.
3371 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3373 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3374 * net/tramp.el (tramp-user-error): ... here.
3375 (tramp-find-method, tramp-check-proper-host)
3376 (tramp-dissect-file-name, tramp-debug-message)
3377 (tramp-handle-shell-command):
3378 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3379 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3381 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3383 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3385 * avoid.el (mouse-avoidance-point-position)
3386 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3389 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3391 * progmodes/python.el (python-shell-completion-get-completions):
3392 Drop use of deleted `comint-last-prompt-overlay'.
3393 (python-nav-if-name-main): New command.
3395 2013-09-01 Glenn Morris <rgm@gnu.org>
3397 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3398 Avoid leading space in $wins. Otherwise the sed command used by
3399 eg compile-main ends up containing "/*.el". (Bug#15170)
3401 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3403 2013-08-30 Glenn Morris <rgm@gnu.org>
3405 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3406 Fix is-this-a-directory logic. (Bug#15220)
3408 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3410 * textmodes/css-mode.el: Use SMIE.
3411 (css-smie-grammar): New var.
3412 (css-smie--forward-token, css-smie--backward-token)
3413 (css-smie-rules): New functions.
3414 (css-mode): Use them.
3415 (css-navigation-syntax-table): Remove var.
3416 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3417 (css-indent-calculate, css-indent-line): Remove functions.
3419 Misc changes to reduce use of `(lambda...); and other cleanups.
3420 * cus-edit.el: Use lexical-binding.
3421 (customize-push-and-save, customize-apropos)
3422 (custom-buffer-create-internal): Use closures.
3423 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3424 * progmodes/ada-xref.el: Use setq.
3425 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3426 * dframe.el: Use lexical-binding.
3427 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3428 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3429 * descr-text.el: Use lexical-binding.
3430 (describe-text-widget, describe-text-sexp, describe-property-list):
3432 * comint.el (comint-history-isearch-push-state): Use a closure.
3433 * calculator.el: Use lexical-binding.
3434 (calculator-number-to-string): Make it work with lexical-binding.
3435 (calculator-funcall): Same and use cl-letf.
3437 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3438 (lisp--company-doc-string, lisp--company-location): New functions.
3439 (lisp-completion-at-point): Use them to improve Company support.
3441 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3442 params of lambda expressions.
3443 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3444 (ruby-smie--opening-pipe-p): New function.
3445 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3446 symbols and matched |...| for formal params.
3447 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3448 from being treated as hanging. Handle "rescue".
3450 2013-08-29 Glenn Morris <rgm@gnu.org>
3452 * progmodes/cc-engine.el (c-pull-open-brace):
3453 Move definition before use.
3455 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3458 are immutable. Don't use `unsafe' any more.
3459 (cl--defsubst-expand): Don't substitute at the same time as keeping
3460 a residual unused let-binding. Don't use `unsafe' any more.
3462 2013-08-29 Glenn Morris <rgm@gnu.org>
3464 * calendar/cal-china.el (calendar-chinese-year-cache):
3467 * nxml/nxml-util.el (nxml-debug-clear-inside):
3468 Use cl-loop rather than loop.
3470 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3472 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3474 2013-08-28 Glenn Morris <rgm@gnu.org>
3476 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3478 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3480 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3482 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3484 * simple.el (repeat-complex-command--called-interactively-skip):
3486 (repeat-complex-command): Use it (bug#14136).
3488 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3489 (c-define-abbrev-table): Add `doc' argument.
3490 (c-mode-abbrev-table, c++-mode-abbrev-table)
3491 (objc-mode-abbrev-table, java-mode-abbrev-table)
3492 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3493 (awk-mode-abbrev-table): Use it.
3494 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3495 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3496 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3497 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3498 Move initialization into the declaration; and remove any
3501 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3502 and dynamic let binding.
3504 * vc/smerge-mode.el: Remove redundant :group args.
3506 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3509 2013-08-28 Juri Linkov <juri@jurta.org>
3511 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3512 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3513 (isearch-other-meta-char): Handle an undefined shifted printing
3514 character by downshifting it. (Bug#15200)
3516 2013-08-28 Juri Linkov <juri@jurta.org>
3518 * isearch.el (isearch-search): Change regexp error message for
3519 non-regexp searches. (Bug#15166)
3521 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3523 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3524 for portability to hosts where /bin/sh has problems.
3526 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3530 2013-08-27 Juri Linkov <juri@jurta.org>
3532 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3533 in the keyboard macro. (Bug#15126)
3535 2013-08-27 Juri Linkov <juri@jurta.org>
3537 * isearch.el (isearch-quote-char): Comment out converting unibyte
3538 to multibyte, thus syncing with its `quoted-insert' counterpart.
3541 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3543 * window.el (display-buffer-use-some-window): Add missing
3544 argument in call of get-largest-window (Bug#15185).
3545 Reported by Stephen Leake.
3547 2013-08-27 Glenn Morris <rgm@gnu.org>
3549 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3551 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3554 from a matcher-function unless there's no more matches (bug#15161).
3556 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3558 * minibuffer.el: Revert change from 2013-08-20.
3560 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3561 with text property `tramp-default', if appropriate.
3562 (tramp-check-proper-host): New defun.
3563 (tramp-dissect-file-name): Do not check hostname. Revert change
3565 (tramp-backtrace): Make VEC-OR-PROC optional.
3567 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3568 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3569 * net/tramp-sh.el (tramp-maybe-open-connection):
3570 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3571 Apply `tramp-check-proper-host'.
3573 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3575 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3576 lambda expression in order to have `describe-variable' display it.
3578 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3580 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3581 BUF can be optional. (Bug#15186)
3583 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3585 * progmodes/flymake.el (flymake-get-real-file-name-function):
3586 Fix broken customization. (Bug#15184)
3588 2013-08-25 Alan Mackenzie <acm@muc.de>
3590 Improve indentation of bracelists defined by macros (without "=").
3592 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3593 expansion begins with "{", regard it as bracelist when it doesn't
3596 Parse C++ inher-intro when there's a template split over 2 lines.
3598 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3599 rigorously the search for "class" etc. followed by ":".
3601 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3602 random languages a regexp which never matches rather than nil.
3604 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3606 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3607 (c-awk-regexp-one-line-possibly-open-char-list-re)
3608 (c-awk-one-line-possibly-open-regexp-re)
3609 (c-awk-one-line-non-syn-ws*-re): Remove.
3610 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3611 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3612 (c-awk-space*-unclosed-regexp-/-re): New constants.
3613 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3614 aren't regexp delimiters.
3616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3617 handling for a rare situation in AWK Mode involving unterminated
3620 2013-08-23 Glenn Morris <rgm@gnu.org>
3622 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3624 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3626 * files.el (create-file-buffer): If the result would begin with
3627 spaces, prepend a "|" instead of removing them. (Bug#15162)
3629 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3631 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3632 text-properties (bug#15155).
3634 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3636 (calc-keypad-redraw): Remove unused var `pad'.
3637 (calc-keypad-press): Remove unused var `menu'.
3639 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3641 * window.el (display-buffer-pop-up-frame):
3642 Call pop-up-frame-function with BUFFER current so `make-frame' will
3643 use it as the new frame's buffer (Bug#15133).
3645 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3647 * calendar/timeclock.el: Minor cleanups.
3648 (timeclock-ask-before-exiting, timeclock-use-display-time):
3650 (timeclock-modeline-display): Define as alias before the
3652 (timeclock-mode-line-display): Use define-minor-mode.
3653 (timeclock-day-list-template): Make it a function, add an argument.
3654 (timeclock-day-list-required, timeclock-day-list-length)
3655 (timeclock-day-list-debt, timeclock-day-list-span)
3656 (timeclock-day-list-break): Adjust calls accordingly.
3658 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3661 Use read--expression so that completion works again.
3663 2013-08-21 Sam Steingold <sds@gnu.org>
3665 Add rudimentary inferior shell interaction
3666 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3667 (sh-set-shell): Reset it.
3668 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3669 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3671 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3673 * align.el: Use lexical-binding.
3674 (align-region): Simplify accordingly.
3676 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3678 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3680 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3683 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3687 * net/tramp-cmds.el:
3689 * net/tramp-gvfs.el:
3691 * net/tramp-sh.el: Don't wrap external variable declarations by
3692 `eval-when-compile'.
3694 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3696 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3697 now that Emacs supports ImageMagick animations.
3699 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3701 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3702 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3704 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3706 * window.el (mouse-autoselect-window-select): Do autoselect when
3707 mouse pointer is on margin.
3709 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3711 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3713 2013-08-16 Glenn Morris <rgm@gnu.org>
3715 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3716 Handle "Remote Directory" response of some clients. (Bug#15058)
3718 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3719 Tweak warning. (Bug#14926)
3721 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3722 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3724 * image-mode.el (image-mode-map): Add menu items to reverse,
3725 increase, decrease, reset animation speed.
3726 (image--set-speed, image-increase-speed, image-decrease-speed)
3727 (image-reverse-speed, image-reset-speed): New functions.
3728 (image-mode-map): Add bindings for speed commands.
3730 * image.el (image-animate-get-speed, image-animate-set-speed):
3732 (image-animate-timeout): Respect image :speed property.
3734 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3736 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3737 previous line (bug#15101).
3738 (debugger-eval-expression, debugger-record-expression):
3739 Use read--expression (bug#15102).
3741 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3743 Remove byte compiler warnings, visible when compiling with
3744 `byte-compile-force-lexical-warnings' set to t.
3746 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3747 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3748 (tramp-handle-unhandled-file-name-directory)
3749 (tramp-handle-file-notify-add-watch, tramp-action-login)
3750 (tramp-action-succeed, tramp-action-permission-denied)
3751 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3754 * net/tramp-adb.el (tramp-adb-parse-device-names)
3755 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3756 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3757 (tramp-adb-handle-file-truename): Remove unused arguments.
3759 * net/tramp-cache.el (tramp-flush-directory-property)
3760 (tramp-flush-connection-property, tramp-list-connections)
3761 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3763 * net/tramp-compat.el (tramp-compat-make-temp-file):
3764 Rename FILENAME to F.
3766 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3767 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3768 (tramp-zeroconf-parse-workstation-device-names)
3769 (tramp-zeroconf-parse-webdav-device-names)
3770 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3772 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3773 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3775 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3777 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3778 (tramp-sh-handle-insert-file-contents-literally)
3779 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3781 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3782 Remove unused variables.
3784 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3785 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3786 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3788 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3789 Make them a defconst.
3790 (tramp-uuencode-region): Remove unused variable.
3792 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3794 * frameset.el (frameset--prop-setter): New function.
3795 (frameset-prop): Add gv-setter declaration.
3796 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3797 parameter was already set in FILTERED. Doc fix.
3798 (frameset--record-minibuffer-relationships): Allow saving a
3799 minibufferless frame without its corresponding minibuffer frame.
3800 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3801 frame, if the frame id matches.
3802 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3803 frames before orphaned ones.
3804 (frameset-restore): Warn about orphaned windows, instead of error out.
3806 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3808 * window.el (window-make-atom): Don't overwrite parameter
3810 (display-buffer-in-atom-window): Handle special case where we
3811 split an already atomic window.
3812 (window--major-non-side-window, display-buffer-in-side-window)
3813 (window--side-check): Ignore minibuffer window when walking
3815 (window-deletable-p): Return 'frame only if no other frame uses
3816 our minibuffer window.
3817 (record-window-buffer): Run buffer-list-update-hook.
3818 (split-window): Make sure window--check-frame won't destroy an
3819 existing atomic window in case the new window gets nested
3821 (display-buffer-at-bottom): Ignore minibuffer window when
3822 walking window tree. Don't split a side window.
3823 (pop-to-buffer): Don't set-buffer here, the select-window call
3825 (mouse-autoselect-window-select): Autoselect only if we are in the
3826 text portion of the window.
3828 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3830 * net/shr.el (shr-parse-image-data): New function to grab both the
3831 data itself and the Content-Type.
3832 (shr-put-image): Use it.
3834 * net/eww.el (eww-display-image): Ditto.
3836 * image.el (image-content-type-suffixes): New variable.
3838 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3840 * progmodes/python.el (python-imenu--build-tree)
3841 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3843 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3845 * simple.el (backward-word): Mention the optional argument.
3847 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * frameset.el (frameset--make): Rename constructor from make-frameset.
3850 (frameset-p, frameset-valid-p): Don't autoload.
3851 (frameset-valid-p): Use normal accessors.
3853 2013-08-13 Glenn Morris <rgm@gnu.org>
3855 * progmodes/compile.el (compile-command): Tweak example in doc.
3856 * obsolete/scribe.el (scribe-mode):
3857 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3859 * mail/feedmail.el (feedmail-confirm-outgoing)
3860 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3862 * cus-start.el (truncate-partial-width-windows): Fix type.
3864 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3866 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3868 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * emacs-lisp/timer.el (timer--time-setter): New function.
3871 (timer--time): Use it as gv-setter.
3873 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3874 setter is not a symbol.
3876 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3878 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3879 if sending fails. This makes debugging easier.
3881 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3883 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3884 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3885 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3887 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3889 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3891 2013-08-12 Glenn Morris <rgm@gnu.org>
3893 * format.el (format-annotate-function):
3894 Handle read-only text properties in the source. (Bug#14887)
3896 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3898 * net/eww.el (eww-display-html): Ignore coding system errors.
3899 One web site uses "utf-8lias" as the coding system.
3901 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3903 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3905 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3907 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3908 (tutorial--detailed-help): Remove unused local variables.
3909 (tutorial--save-tutorial-to): Use ignore-errors.
3910 (help-with-tutorial): Use looking-at-p.
3912 * view.el (view-buffer-other-window, view-buffer-other-frame):
3913 Mark unused arguments.
3915 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3916 (woman-select-symbol-fonts, woman, woman-find-file)
3917 (woman-insert-file-contents, woman-non-underline-faces):
3919 (woman1-unquote): Move declaration.
3921 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3922 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3923 argument. Remove unused local variable.
3924 (xml-parse-elem-type): Use string-match-p.
3925 (xml-substitute-numeric-entities): Use ignore-errors.
3927 * calculator.el (calculator): Mark unused argument.
3928 (calculator-paste, calculator-quit, calculator-integer-p):
3930 (calculator-string-to-number, calculator-decimal, calculator-exp)
3931 (calculator-op-or-exp): Use string-match-p.
3933 * dired.el (dired-buffer-more-recently-used-p): Declare.
3934 (dired-insert-set-properties, dired-insert-old-subdirs):
3937 * dired-aux.el (dired-compress): Use ignore-errors.
3938 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3939 (dired-do-async-shell-command, dired-do-shell-command)
3940 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3941 (dired-insert-subdir-validate): Use string-match-p.
3942 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3943 (dired-add-entry): Use string-match-p, looking-at-p.
3944 (dired-insert-subdir-newpos): Remove unused local variable.
3946 * filenotify.el (file-notify-callback): Remove unused local variable.
3948 * filesets.el (filesets-error): Mark unused argument.
3949 (filesets-which-command-p, filesets-filter-dir-names)
3950 (filesets-directory-files, filesets-get-external-viewer)
3951 (filesets-ingroup-get-data): Use string-match-p.
3953 * find-file.el (ff-other-file-name, ff-other-file-name)
3954 (ff-find-the-other-file, ff-cc-hh-converter):
3955 Remove unused local variables.
3956 (ff-get-file-name): Use string-match-p.
3957 (ff-all-dirs-under): Use ignore-errors.
3959 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3960 (follow-select-if-visible): Remove unused local variable.
3962 * forms.el (read-file-filter): Move declaration.
3963 (forms--make-format, forms--make-parser, forms-insert-record):
3964 Quote function with #'.
3965 (forms--update): Use string-match-p. Quote function with #'.
3967 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3968 (help-make-xrefs): Use looking-at-p.
3969 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3971 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3972 (ibuffer-confirm-operation-on): Use string-match-p.
3974 * msb.el (msb-item-handler, msb-dired-item-handler):
3975 Mark unused arguments.
3977 * ses.el (ses-decode-cell-symbol)
3978 (ses-kill-override): Remove unused local variable.
3979 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3980 (ses-load): Use ignore-errors, looking-at-p.
3981 (ses-jump-safe): Use ignore-errors.
3982 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3984 * tabify.el (untabify, tabify): Mark unused arguments.
3986 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3987 Mark unused argument.
3988 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3989 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3991 * emacs-lisp/timer.el (timer--time): Define setter with
3992 gv-define-setter to avoid deprecation warning.
3994 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3995 (*record-cmpl-statistics-p*): Remove (was commented out).
3996 (cmpl-statistics-block): Remove (body was commented out).
3997 All callers changed.
3998 (add-completions-from-buffer, load-completions-from-file):
3999 Remove unused variables.
4001 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4003 * filecache.el (file-cache-delete-file-list):
4004 Print message only when told so.
4005 (file-cache-files-matching): Use #' in mapconcat argument.
4007 * ffap.el (ffap-url-at-point): Fix reference to variable
4008 thing-at-point-default-mail-uri-scheme.
4010 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4012 * subr.el (define-error): New function.
4013 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4014 error-file-not-found and define with define-error.
4015 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4016 and define with define-error.
4017 * userlock.el (file-locked, file-supersession):
4018 * simple.el (mark-inactive):
4019 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4020 * progmodes/ada-mode.el (ada-mode-errors):
4021 * play/life.el (life-extinct):
4022 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4023 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4024 * nxml/rng-util.el (rng-error):
4025 * nxml/rng-uri.el (rng-uri-error):
4026 * nxml/rng-match.el (rng-compile-error):
4027 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4028 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4029 * nxml/nxml-rap.el (nxml-scan-error):
4030 * nxml/nxml-outln.el (nxml-outline-error):
4031 * net/soap-client.el (soap-error):
4032 * net/gnutls.el (gnutls-error):
4033 * net/ange-ftp.el (ftp-error):
4034 * mpc.el (mpc-proc-error):
4035 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4036 (json-number-format, json-string-escape, json-string-format)
4037 (json-key-format, json-object-format):
4038 * jka-compr.el (compression-error):
4039 * international/quail.el (quail-error):
4040 * international/kkc.el (kkc-error):
4041 * emacs-lisp/ert.el (ert-test-failed):
4042 * calc/calc.el (calc-error, inexact-result, math-overflow)
4044 * bookmark.el (bookmark-error-no-filename):
4045 * epg.el (epg-error): Define with define-error.
4047 * time.el (display-time-event-handler)
4048 (display-time-next-load-average): Don't call sit-for since it seems
4049 unnecessary (bug#15045).
4051 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4052 Use #' instead of ' to quote functions.
4053 (checkdoc-output-mode): Use setq-local.
4054 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4055 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4056 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4057 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4058 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4059 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4060 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4061 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4063 * ido.el (ido-completion-help): Fix up compiler warning.
4065 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4067 * frameset.el (frameset-p): Add autoload cookie.
4068 (frameset--jump-to-register): New function, based on code moved from
4070 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4072 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4073 (frameset-restore, frameset-save, frameset-session-filter-alist):
4074 Remove declarations.
4075 (register-alist): Doc fix.
4076 (frameset-to-register): Move to frameset.el.
4077 (jump-to-register, describe-register-1): Remove frameset-specific code.
4079 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4081 * allout-widgets.el (allout-widgets-pre-command-business)
4082 (allout-widgets-post-command-business)
4083 (allout-widgets-after-change-handler)
4084 (allout-decorate-item-and-context, allout-set-boundary-marker)
4085 (allout-body-modification-handler)
4086 (allout-graphics-modification-handler): Mark ignored arguments.
4087 (allout-widgets-post-command-business)
4088 (allout-widgets-exposure-change-processor)
4089 (allout-widgets-exposure-undo-processor)
4090 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4091 (allout-parse-item-at-point, allout-decorate-item-guides)
4092 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4093 * allout.el (epa-passphrase-callback-function): Declare.
4094 (allout-overlay-insert-in-front-handler)
4095 (allout-overlay-interior-modification-handler)
4096 (allout-isearch-end-handler, allout-chart-siblings)
4097 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4098 (allout-yank-processing, allout-process-exposed)
4099 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4100 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4101 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4102 (lisp-indent-defform): Mark ignored arguments.
4103 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4104 (calculate-lisp-indent): Remove unused variables.
4105 * international/characters.el (indian-2-column, arabic-2-column)
4106 (tibetan): Mark ignored arguments.
4107 (use-cjk-char-width-table): Mark ignored arguments.
4108 Remove unused variables.
4109 * international/fontset.el (build-default-fontset-data)
4110 (x-compose-font-name, create-fontset-from-fontset-spec):
4111 Mark ignored arguments.
4112 (fontset-plain-name): Remove unused variables.
4113 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4114 (keyboard-coding-system): Mark ignored arguments.
4115 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4116 * help.el (resize-temp-buffer-window):
4117 * window.el (display-buffer-in-major-side-window)
4118 (display-buffer-in-side-window, display-buffer-in-previous-window):
4119 Remove unused variables.
4120 * isearch.el (isearch-forward-symbol):
4121 * version.el (emacs-bzr-version-bzr):
4122 * international/mule-cmds.el (current-language-environment):
4123 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4125 * term/pc-win.el (x-list-fonts, x-display-planes)
4126 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4127 (x-server-version, x-display-screens, x-display-mm-height)
4128 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4129 (x-selection-owner-p, x-own-selection-internal)
4130 (x-disown-selection-internal, x-get-selection-internal)
4131 (msdos-initialize-window-system):
4132 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4133 * term/x-win.el (x-handle-no-bitmap-icon):
4134 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4135 (vc-default-find-file-hook, vc-default-extra-menu):
4136 Mark ignored arguments.
4138 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4141 break-condition in the context of the debugged code (bug#12685).
4143 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4146 Do not use an overlay to highlight the last prompt. (Bug#14744)
4147 (comint-mode): Make comint-last-prompt buffer local.
4148 (comint-last-prompt): New variable.
4149 (comint-last-prompt-overlay): Remove. Superseded by
4151 (comint-snapshot-last-prompt, comint-output-filter):
4152 Use comint-last-prompt.
4154 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4156 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4157 (frameset-save): Check validity of the resulting frameset.
4159 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4161 * ido.el (ido-record-command): Add doc string.
4163 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4165 * frameset.el (frameset): Do not disable creation of the default
4166 frameset-p predicate. Doc fix.
4167 (frameset-valid-p): New function, copied from the old predicate-p.
4168 Add additional checks.
4169 (frameset-restore): Check with frameset-valid-p.
4170 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4171 (frameset-name, frameset-description, frameset-properties)
4172 (frameset-states): Add docstring.
4173 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4174 (frameset-filter-alist): Doc fixes.
4176 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4178 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4180 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4183 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4184 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4185 (byte-compile-normal-call): Remove obsolescence check.
4187 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4189 * frameset.el (frameset-restore): Doc fix.
4191 * register.el (frameset-frame-id, frameset-frame-with-id)
4192 (frameset-p, frameset-restore, frameset-save): Declare.
4193 (register-alist): Document framesets.
4194 (frameset-session-filter-alist): Declare.
4195 (frameset-to-register): New function.
4196 (jump-to-register): Implement jumping to framesets. Doc fix.
4197 (describe-register-1): Describe framesets.
4199 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4201 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4203 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4204 Use lexical-binding.
4206 * frameset.el (frameset): Use type vector, not list (incompatible
4207 change). Do not declare a new constructor, use the default one.
4208 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4209 `name' and `description', respectively, and add read-only slot
4210 `timestamp'. Doc fixes.
4211 (frameset-copy, frameset-persistent-filter-alist)
4212 (frameset-filter-alist, frameset-switch-to-gui-p)
4213 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4214 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4215 (frameset-filter-iconified, frameset-keep-original-display-p):
4217 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4218 Rename from frameset-filter-(save|restore)-param. All callers changed.
4220 (frameset-p): Adapt to change to vector and be more thorough.
4221 Change arg name to OBJECT. Doc fix.
4222 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4223 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4224 All callers changed.
4225 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4226 All callers changed.
4227 (frameset--record-minibuffer-relationships): Rename from
4228 frameset--process-minibuffer-frames. All callers changed.
4229 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4230 Use new default constructor (again). Doc fix.
4231 (frameset--find-frame-if): Rename from `frameset--find-frame.
4232 All callers changed.
4233 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4234 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4236 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4237 PARAMETERS and WINDOW-STATE, respectively.
4238 (frameset-restore): Add new keyword argument PREDICATE.
4239 Reset frameset--target-display to nil. Doc fix.
4241 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4243 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4245 (bat-mode-syntax-table): Mark \n as end-of-comment.
4246 (bat-font-lock-keywords): Remove comment rule.
4248 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4249 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4251 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4252 (byte-compile-callargs-warn): Use `push'.
4253 (byte-compile-arglist-warn): Ignore higher-order "calls".
4254 (byte-compile-file-form-autoload): Use `pcase'.
4255 (byte-compile-function-form): If quoting a symbol, check that it exists.
4257 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4259 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4260 and add a few popular commands found in batch files.
4261 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4262 (dos-mode): Doc fixes.
4264 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4267 (dos-mode): Use setq-local. Add space after "rem".
4268 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4269 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4271 2013-08-07 Arni Magnusson <arnima@hafro.is>
4273 * progmodes/dos.el: New file.
4274 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4277 2013-08-06 Glenn Morris <rgm@gnu.org>
4279 * calendar/calendar.el: Add new faces, and day-header-array.
4280 (calendar-weekday-header, calendar-weekend-header)
4281 (calendar-month-header): New faces.
4282 (calendar-day-header-construct): New function.
4283 (calendar-day-header-width): Also :set calendar-day-header-array.
4284 (calendar-american-month-header, calendar-european-month-header)
4285 (calendar-iso-month-header): Use calendar- faces.
4286 (calendar-generate-month):
4287 Use calendar-day-header-array for day headers; apply faces to them.
4288 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4289 (calendar-abbrev-construct): Add optional maxlen argument.
4290 (calendar-day-name-array): Doc fix.
4291 (calendar-day-name-array, calendar-abbrev-length)
4292 (calendar-day-abbrev-array):
4293 Also :set calendar-day-header-array, and maybe redraw.
4294 (calendar-day-header-array): New option. (Bug#15007)
4295 (calendar-font-lock-keywords): Set to nil and make obsolete.
4296 (calendar-day-name): Add option to use header array.
4298 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300 * net/shr.el (shr-render-td): Remove debugging.
4301 (shr-render-td): Make width computation consistent by defaulting
4302 all zero-width columns to 10 characters. This may not be optimal,
4303 but it's at least consistent.
4304 (shr-make-table-1): Redo last change to fix the real problem in
4307 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4309 * files.el (cache-long-line-scans):
4310 Make obsolete alias to `cache-long-scans'.
4312 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4314 * frameset.el (frameset, frameset-filter-alist)
4315 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4316 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4317 (frameset-compute-pos): Rename from frameset--compute-pos,
4319 (frameset-move-onscreen): Use frameset-compute-pos.
4320 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4322 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4323 Fix typos in docstrings.
4325 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4327 * frame.el (get-other-frame): Tiny cleanup.
4329 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4331 * vc/vc.el (vc-default-ignore-completion-table):
4332 Silence byte-compiler warning.
4334 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4335 slot , which can indeed be nil.
4336 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4337 Move entry for `left' from persistent to live filter alist.
4338 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4340 (frameset-filter-params): When restoring a frame, copy items added to
4341 `filtered', to avoid unwittingly modifying the original parameters.
4342 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4343 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4345 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4346 to use looking-at-p instead of looking-at. (Bug#15028)
4348 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4350 Revert introduction of isearch-filter-predicates (bug#14714).
4351 Rely on add-function instead.
4352 * isearch.el (isearch-filter-predicates): Rename it back to
4353 isearch-filter-predicate.
4354 (isearch-message-prefix): Use advice-function-mapc and advice
4355 properties to get the isearch-message-prefix.
4356 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4357 instead of run-hook-with-args-until-failure.
4358 (isearch-filter-visible): Not obsolete any more.
4359 * loadup.el: Preload nadvice.
4360 * replace.el (perform-replace): Revert to funcall
4361 instead of run-hook-with-args-until-failure.
4362 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4363 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4364 dired-isearch-filenames-toggle; make it into a proper minor mode.
4365 Use add/remove-function.
4366 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4367 Call the minor-mode rather than add/remove-hook.
4368 (dired-isearch-filter-filenames):
4369 Remove isearch-message-prefix property.
4370 * info.el (Info--search-loop): New function, extracted from Info-search.
4371 Funcall isearch-filter-predicate instead of
4372 run-hook-with-args-until-failure isearch-filter-predicates.
4373 (Info-search): Use it.
4374 (Info-mode): Use isearch-filter-predicate instead of
4375 isearch-filter-predicates.
4377 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4379 Do not call to `selected-window' where it is assumed by default.
4380 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4381 `window-hscroll', `window-width', `window-height', `window-buffer',
4382 `window-frame', `window-start', `window-point', `next-window'
4383 and `window-display-table'.
4384 * abbrev.el (abbrev--default-expand):
4385 * bs.el (bs--show-with-configuration):
4386 * buff-menu.el (Buffer-menu-mouse-select):
4387 * calc/calc.el (calc):
4388 * calendar/calendar.el (calendar-generate-window):
4389 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4391 * comint.el (send-invisible, comint-dynamic-complete-filename)
4392 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4393 * completion.el (complete):
4394 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4395 * disp-table.el (describe-current-display-table):
4396 * doc-view.el (doc-view-insert-image):
4397 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4398 * ehelp.el (with-electric-help):
4399 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4400 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4401 * emacs-lisp/helper.el (Helper-help-scroller):
4402 * emulation/cua-base.el (cua--post-command-handler-1):
4403 * eshell/esh-mode.el (eshell-output-filter):
4404 * ffap.el (ffap-gnus-wrapper):
4405 * help-macro.el (make-help-screen):
4406 * hilit-chg.el (highlight-compare-buffers):
4407 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4408 * hl-line.el (global-hl-line-highlight):
4409 * icomplete.el (icomplete-simple-completing-p):
4410 * isearch.el (isearch-done):
4411 * jit-lock.el (jit-lock-stealth-fontify):
4412 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4413 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4414 * mpc.el (mpc-tagbrowser, mpc):
4415 * net/rcirc.el (rcirc-any-buffer):
4416 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4417 * play/landmark.el (landmark-max-width, landmark-max-height):
4418 * play/zone.el (zone):
4419 * progmodes/compile.el (compilation-goto-locus):
4420 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4421 * progmodes/etags.el (find-tag-other-window):
4422 * progmodes/fortran.el (fortran-column-ruler):
4423 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4424 * progmodes/verilog-mode.el (verilog-point-text):
4425 * reposition.el (reposition-window):
4426 * rot13.el (toggle-rot13-mode):
4427 * server.el (server-switch-buffer):
4428 * shell.el (shell-dynamic-complete-command)
4429 (shell-dynamic-complete-environment-variable):
4430 * simple.el (insert-buffer, set-selective-display)
4431 (delete-completion-window):
4432 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4433 (speedbar-recenter):
4434 * startup.el (fancy-splash-head):
4435 * textmodes/ispell.el (ispell-command-loop):
4436 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4437 * tutorial.el (help-with-tutorial):
4438 * vc/add-log.el (add-change-log-entry):
4439 * vc/compare-w.el (compare-windows):
4440 * vc/ediff-help.el (ediff-indent-help-message):
4441 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4442 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4443 (ediff-setup-control-frame):
4444 * vc/emerge.el (emerge-position-region):
4445 * vc/pcvs-util.el (cvs-bury-buffer):
4446 * window.el (walk-windows, mouse-autoselect-window-select):
4447 * winner.el (winner-set-conf, winner-undo): Related users changed.
4449 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4451 * frameset.el (frameset--set-id): Doc fix.
4452 (frameset-frame-id, frameset-frame-id-equal-p)
4453 (frameset-locate-frame-id): New functions.
4454 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4455 (frameset-restore): Use them.
4457 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4459 Do not call to `selected-frame' where it is assumed by default.
4460 Affected functions are `raise-frame', `redraw-frame',
4461 `frame-first-window', `frame-terminal' and `delete-frame'.
4462 * calendar/appt.el (appt-disp-window):
4463 * epg.el (epg-wait-for-completion):
4464 * follow.el (follow-delete-other-windows-and-split)
4465 (follow-avoid-tail-recenter):
4466 * international/mule.el (set-terminal-coding-system):
4467 * mail/rmail.el (rmail-mail-return):
4468 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4469 * progmodes/f90.el (f90-add-imenu-menu):
4470 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4471 * server.el (server-switch-buffer):
4472 * simple.el (delete-completion-window):
4474 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4475 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4476 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4477 * vc/ediff.el (ediff-documentation): Related users changed.
4478 * frame.el (selected-terminal): Remove the leftover.
4480 2013-08-05 Glenn Morris <rgm@gnu.org>
4482 * calendar/calendar.el (calendar-generate-month):
4483 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4484 (calendar-generate-month, calendar-font-lock-keywords):
4485 Fix for calendar-day-header-width > length of any day name.
4487 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4489 * desktop.el (desktop-clear): Use new name of sort predicate.
4491 * frameset.el (frameset): Add docstring. Move :version property to its
4493 (frameset-copy): Rename from copy-frameset.
4494 (frameset-p): Check more thoroughly.
4495 (frameset-prop): Do not check for :version, which is no longer a prop.
4496 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4497 Use new :never value instead of t.
4498 (frameset-filter-alist): Expand and clarify docstring.
4499 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4500 (frameset-filter-minibuffer, frameset-filter-save-param)
4501 (frameset-filter-restore-param, frameset-filter-iconified):
4502 Add pointer to docstring of frameset-filter-alist.
4503 (frameset-filter-params): Rename filter values to be more meaningful:
4504 :never instead of t, and reverse the meanings of :save and :restore.
4505 (frameset--process-minibuffer-frames): Clarify error message.
4506 (frameset-save): Avoid unnecessary and confusing call to framep.
4507 Use new BOA constructor for framesets.
4508 (frameset--reuse-list): Doc fix.
4509 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4510 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4511 (frameset-minibufferless-first-p): Doc fix.
4512 Rename from frameset-sort-frames-for-deletion.
4513 (frameset-restore): Doc fixes. Use new function names.
4514 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4516 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4518 * desktop.el (desktop-restore-forces-onscreen)
4519 (desktop-restore-reuses-frames): Document :keyword constant values.
4520 (desktop-filter-parameters-alist): Remove, now identical to
4521 frameset-filter-alist.
4522 (desktop--filter-tty*): Remove, moved to frameset.el.
4523 (desktop-save-frameset, desktop-restore-frameset):
4524 Do not pass :filters argument.
4526 * frameset.el (frameset-live-filter-alist)
4527 (frameset-persistent-filter-alist): New variables.
4528 (frameset-filter-alist): Use them. Add autoload cookie.
4529 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4530 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4531 `frameset--id' (it's supposed to be internal to frameset.el).
4532 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4533 (frameset--initial-params): New function.
4534 (frameset--get-frame): Use it. Doc fix.
4535 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4536 Accept :all, not 'all.
4537 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4538 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4539 with fbound symbols. Fix frame id matching, and remove matching ids if
4540 the frame being restored is deleted. Obey :delete.
4542 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4544 * subr.el (macrop): New function.
4545 (text-clone--maintaining): New var.
4546 (text-clone--maintain): Rename from text-clone-maintain. Use it
4547 instead of inhibit-modification-hooks.
4549 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4550 a proxy, so as handle autoloads and redefinitions of the target.
4551 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4553 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4554 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4555 (pcase--mutually-exclusive-p): New function.
4556 (pcase--split-consp): Use it.
4557 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4558 mutually exclusive with the current predicate.
4560 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4561 (edebug-macrop): Remove. Use `macrop' instead.
4562 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4564 * eshell/esh-cmd.el (eshell-macrop):
4565 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4567 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4570 (advice-mapc): New function, using it.
4571 (advice-function-member-p): New function.
4572 (advice--normalize): Store the cdr in advice--saved-rewrite since
4573 that's the part that will be changed.
4574 (advice--symbol-function): New function.
4575 (advice-remove): Handle removal before the function is defined.
4576 Adjust to new advice--saved-rewrite.
4577 (advice-member-p): Use advice-function-member-p and
4578 advice--symbol-function.
4580 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4582 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4583 (frameset-filter-minibuffer): Doc fix.
4584 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4585 (frameset--set-id, frameset--process-minibuffer-frames)
4586 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4587 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4589 * desktop.el (desktop-clear): Only delete frames when called
4590 interactively and desktop-restore-frames is non-nil. Doc fix.
4591 (desktop-read): Set desktop-saved-frameset to nil.
4593 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4595 * vc/vc.el (vc-ignore): Rewrite.
4596 (vc-default-ignore-completion-table):
4598 (vc--add-line, vc--remove-regexp): New functions.
4600 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4601 (vc-svn-ignore-completion-table): New function.
4603 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4604 (vc-hg-ignore-completion-table):
4605 (vc-hg-find-ignore-file): New functions.
4607 * vc/vc-git.el (vc-git-ignore): Rewrite.
4608 (vc-git-ignore-completion-table):
4609 (vc-git-find-ignore-file): New functions.
4611 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4613 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4614 (vc-bzr-ignore-completion-table):
4615 (vc-bzr-find-ignore-file): New functions.
4617 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4619 * frameset.el (frameset-prop): New function and setter.
4620 (frameset-save): Do not modify frame list passed by the caller.
4622 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4626 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4629 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4631 * custom.el (custom-initialize-default, custom-initialize-set)
4632 (custom-initialize-reset, custom-initialize-changed): Affect the
4633 toplevel-default-value (bug#6275, bug#14586).
4634 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4637 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4639 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4640 Add cl-def* expressions.
4642 * frameset.el (frameset-filter-params): Fix order of arguments.
4644 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4646 Move code related to saving frames to frameset.el.
4647 * desktop.el: Require frameset.
4648 (desktop-restore-frames): Doc fix.
4649 (desktop-restore-reuses-frames): Rename from
4650 desktop-restoring-reuses-frames.
4651 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4652 (desktop-clear): Clear frames too.
4653 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4654 (desktop--filter-tty*, desktop-save, desktop-read):
4655 Use frameset functions.
4656 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4657 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4658 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4659 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4660 (desktop--process-minibuffer-frames, desktop-save-frames)
4661 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4662 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4663 (desktop--sort-states, desktop-restoring-frames-p)
4664 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4665 (desktop-restoring-frameset-p, desktop-restore-frameset)
4666 (desktop--check-dont-save, desktop-save-frameset): New functions.
4667 (desktop--app-id): New constant.
4668 (desktop-first-buffer, desktop-buffer-ok-count)
4669 (desktop-buffer-fail-count): Move before first use.
4670 * frameset.el: New file.
4672 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4674 * files.el: Use lexical-binding.
4675 (dir-locals-read-from-file): Remove unused `err' variable.
4676 (hack-dir-local-variables--warned-coding): New var.
4677 (hack-dir-local-variables): Use it to avoid repeated warnings.
4678 (make-backup-file-name--default-function): New function.
4679 (make-backup-file-name-function): Use it as default.
4680 (buffer-stale--default-function): New function.
4681 (buffer-stale-function): Use it as default.
4682 (revert-buffer-insert-file-contents--default-function): New function.
4683 (revert-buffer-insert-file-contents-function): Use it as default.
4684 (insert-directory): Avoid add-to-list.
4686 * autorevert.el (auto-revert-handler): Simplify.
4687 Use buffer-stale--default-function.
4689 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4691 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4693 * whitespace.el (whitespace-ensure-local-variables): New function.
4694 (whitespace-cleanup-region): Call it.
4695 (whitespace-turn-on): Call it.
4697 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4699 Complete file name handlers.
4701 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4702 (tramp-handle-verify-visited-file-modtime)
4703 (tramp-handle-file-notify-rm-watch): New functions.
4704 (tramp-call-process): Do not bind `default-directory'.
4706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4707 Order alphabetically.
4708 [access-file, add-name-to-file, dired-call-process]:
4709 [dired-compress-file, file-acl, file-notify-rm-watch]:
4710 [file-ownership-preserved-p, file-selinux-context]:
4711 [make-directory-internal, make-symbolic-link, set-file-acl]:
4712 [set-file-selinux-context, set-visited-file-modtime]:
4713 [verify-visited-file-modtime]: Add handler.
4714 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4717 [file-notify-add-watch, file-notify-rm-watch]:
4718 [set-file-times, set-visited-file-modtime]:
4719 [verify-visited-file-modtime]: Add handler.
4720 (with-tramp-gvfs-error-message)
4721 (tramp-gvfs-handle-set-visited-file-modtime)
4722 (tramp-gvfs-fuse-file-name): Remove.
4723 (tramp-gvfs-handle-file-notify-add-watch)
4724 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4725 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4727 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4728 Order alphabetically.
4729 [file-notify-rm-watch ]: Use default Tramp handler.
4730 [executable-find]: Remove private handler.
4731 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4732 `default-directory'.
4733 (tramp-sh-handle-executable-find)
4734 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4735 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4736 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4737 Do not use `format' in `tramp-message'.
4739 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4740 [file-notify-rm-watch, set-visited-file-modtime]:
4741 [verify-visited-file-modtime]: Add handler.
4742 (tramp-smb-call-winexe): Do not bind `default-directory'.
4744 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4746 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4748 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4750 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4752 (log-view-diff-changeset): Same.
4753 (log-view-diff-common): Call backend command `previous-revision'
4754 to find out the previous revision, in both cases. Swap the
4755 variables `to' and `fr', so that `fr' usually refers to the
4756 earlier revision (Bug#14989).
4758 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4760 * ibuf-ext.el (ibuffer-filter-by-filename):
4761 Make it work with dired buffers too.
4763 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4765 * emacs-lisp/re-builder.el (reb-color-display-p):
4766 * files.el (save-buffers-kill-terminal):
4767 * net/browse-url.el (browse-url):
4768 * server.el (server-save-buffers-kill-terminal):
4769 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4770 Prefer nil to selected-frame for the first arg of frame-parameter.
4772 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4774 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4776 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4778 * minibuffer.el (completion--twq-all): Try and preserve each
4779 completion's case choice (bug#14907).
4781 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4783 * net/network-stream.el (open-network-stream): Mention the new
4784 :nogreeting parameter.
4785 (network-stream-open-starttls): Use the :nogreeting parameter
4788 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4790 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4791 more natural than popping.
4793 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4794 (shr-urlify): Highlight under mouse.
4796 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4798 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4800 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4802 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4805 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4806 point-min==1. Fix search string. Fix parentheses missing.
4808 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4809 assume point-min==1. Fix search string. Fix parentheses missing.
4811 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4813 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4816 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4818 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4819 initial frame is minibuffer-less. (Bug#14841)
4821 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4823 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4827 (tramp-maybe-open-connection): Use it.
4829 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4831 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4832 minimal set of parameters passed when creating a frame, because
4833 the minibuffer status of a frame cannot be changed later.
4835 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4837 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4838 replace-regexp-in-string and inadvertent omissions in previous change.
4839 (todo-filter-items): Ensure only file names are comma-separated in
4840 name of filtered items buffer.
4842 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4844 * desktop.el: Optionally force offscreen frames back onscreen.
4845 (desktop-restoring-reuses-frames): New option.
4846 (desktop--compute-pos, desktop--move-onscreen): New functions.
4847 (desktop--make-frame): Use desktop--move-onscreen.
4849 2013-07-27 Alan Mackenzie <acm@muc.de>
4851 Fontify a Java generic method as a function.
4852 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4855 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4857 * calendar/todo-mode.el: Add command to rename todo files.
4858 (todo-rename-file): New command.
4859 (todo-key-bindings-t): Add key binding for it. Change the
4860 bindings of todo-filter-regexp-items(-multifile) to use `x'
4861 instead of `r', since the latter is better suited to the new
4864 2013-07-27 Alan Mackenzie <acm@muc.de>
4866 Make Java try-with-resources statement parse properly.
4867 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4868 (c-block-stmt-1-2-key): New language constants/variables.
4869 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4870 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4871 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4872 with c-block-stmt-1-2-key.
4874 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4876 * desktop.el (desktop--make-frame): Apply most frame parameters after
4877 creating the frame to force (partially or totally) offscreen frames to
4878 be restored as such.
4880 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4882 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4885 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4888 `base' arg of backtrace-frame.
4890 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4892 * simple.el (list-processes): Doc fix.
4894 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4896 * desktop.el (desktop--select-frame):
4897 Try harder to reuse existing frames.
4899 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4901 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4902 (edebug-eval): Use backtrace-eval.
4903 (edebug--display, edebug--recursive-edit): Don't let-bind the
4904 edebug-outer-* vars that keep track of variables we locally let-bind.
4905 (edebug-outside-excursion): Don't restore outside values of locally
4907 (edebug--display): Use user-error.
4908 (cl-lexical-debug, cl-debug-env): Remove.
4910 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4912 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4913 are restored to be sure that they are visible before deleting any
4916 2013-07-26 Matthias Meulien <orontee@gmail.com>
4918 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4919 vc-print-root-log. (Bug#14948)
4921 2013-07-26 Richard Stallman <rms@gnu.org>
4923 Add aliases for encrypting mail.
4924 * epa.el (epa-mail-aliases): New option.
4925 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4926 Bind inhibit-read-only so read-only text doesn't ruin everything.
4927 (epa-mail-default-recipients): New subroutine broken out.
4928 Handle epa-mail-aliases.
4930 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4932 Add support for lexical variables to the debugger's `e' command.
4933 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4934 vars, except for debugger-outer-match-data.
4935 (debugger-frame-number): Move check for "on a function call" from
4936 callers into it. Add `skip-base' argument.
4937 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4938 (debugger-env-macro): Only reset the state stored in non-variables,
4939 i.e. current-buffer and match-data.
4940 (debugger-eval-expression): Rewrite using backtrace-eval.
4941 * subr.el (internal--called-interactively-p--get-frame): Remove.
4942 (called-interactively-p):
4943 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4944 `base' arg of backtrace-frame instead.
4946 2013-07-26 Glenn Morris <rgm@gnu.org>
4948 * align.el (align-regexp): Doc fix. (Bug#14857)
4949 (align-region): Explicit error if subexpression missing/does not match.
4951 * simple.el (global-visual-line-mode):
4952 Do not duplicate the mode lighter. (Bug#14858)
4954 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4956 * window.el (display-buffer): In display-buffer bind
4957 split-window-keep-point to t, bug#14829.
4959 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4961 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4962 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4963 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4964 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4966 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4967 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4969 2013-07-25 Glenn Morris <rgm@gnu.org>
4971 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4973 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4975 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4976 parameter to modify-frame-parameters if the value has not changed;
4977 this is a workaround for bug#14949.
4978 (desktop--make-frame): On cl-delete-if call, check parameter name,
4981 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4983 * vc/vc.el (vc-ignore): New function.
4985 * vc/vc-svn.el (vc-svn-ignore): New function.
4987 * vc/vc-hg.el (vc-hg-ignore): New function.
4989 * vc/vc-git.el (vc-git-ignore): New function.
4991 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4992 (vc-dir-ignore): New function.
4994 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4995 (cvs-append-to-ignore): Move here from pcvs.el.
4997 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4999 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5001 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5003 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5004 (desktop-restore-frames): Warn when deleting an existing frame failed.
5006 2013-07-24 Glenn Morris <rgm@gnu.org>
5008 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5010 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5012 * filenotify.el (file-notify-supported-p):
5013 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5016 * autorevert.el (auto-revert-use-notify):
5017 (auto-revert-notify-add-watch):
5018 * net/tramp.el (tramp-file-name-for-operation):
5019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5021 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5022 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5023 Remove `file-notify-supported-p' entry.
5025 2013-07-24 Glenn Morris <rgm@gnu.org>
5027 * printing.el: Replace all uses of deleted ps-windows-system,
5028 ps-lp-system, ps-flatten-list with lpr- versions.
5030 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5033 checked with memq (bug#14935).
5035 * files.el (revert-buffer-function): Use a non-nil default.
5036 (revert-buffer-preserve-modes): Declare var to
5037 provide access to the `preserve-modes' argument.
5038 (revert-buffer): Let-bind it.
5039 (revert-buffer--default): New function, extracted from revert-buffer.
5041 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5043 * lpr.el: Signal print errors more prominently.
5044 (print-region-function): Don't default to nil.
5045 (lpr-print-region): New function, extracted from print-region-1.
5046 Check lpr's return value and signal an error in case of problem.
5047 (print-region-1): Use it.
5048 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5050 (ps-printer-name): Default to nil.
5051 (ps-printer-name-option): Default to lpr-printer-switch.
5052 (ps-print-region-function): Don't default to nil.
5053 (ps-postscript-code-directory): Simplify default.
5054 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5055 (ps-string-list, ps-eval-switch, ps-flatten-list)
5056 (ps-flatten-list-1): Remove.
5057 (ps-multibyte-buffer): Avoid setq.
5058 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5059 (print-region-function, ps-print-region-function): Don't set them here.
5061 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5063 * ido.el (ido-fractionp):
5064 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5065 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5066 (ido-max-directory-size, ido-max-dir-file-cache)
5067 (ido-decorations): Doc fix.
5069 * ansi-color.el: Fix old URL.
5071 2013-07-23 Michael R. Mauger <michael@mauger.com>
5073 * progmodes/sql.el: Version 3.3
5074 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5075 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5076 (sql-interactive-remove-continuation-prompt): Rewrite, use
5077 functions above. Fix continuation prompt and complete output line
5079 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5080 redirected output buffer.
5081 (sql-mode): Restore deleted code (Bug#13591).
5083 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5085 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5087 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5089 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5091 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5093 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5095 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5097 * desktop.el (desktop-clear): Simplify; remove useless checks
5098 against invalid buffer names.
5099 (desktop-list*): Use cl-list*.
5100 (desktop-buffer-info, desktop-create-buffer): Simplify.
5102 2013-07-23 Leo Liu <sdl.web@gmail.com>
5104 * bookmark.el (bookmark-make-record): Restore NAME as a default
5107 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5110 extracted from autoload--insert-text.
5111 (autoload--insert-text): Remove.
5112 (autoload--print-cookie-text): New function, extracted from
5113 autoload--insert-cookie-text.
5114 (autoload--insert-cookie-text): Remove.
5115 (autoload-generate-file-autoloads): Adjust calls accordingly.
5117 * winner.el (winner-hook-installed-p): Remove.
5118 (winner-mode): Simplify accordingly.
5120 * subr.el (add-to-list): Fix compiler-macro when `append' is
5121 not constant. Don't use `cl-member' for the base case.
5123 * progmodes/subword.el: Fix boundary case (bug#13758).
5124 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5126 (subword-backward-regexp): Make it a constant.
5127 (subword-forward-internal): Don't treat a trailing capital as the
5128 beginning of a word.
5130 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5132 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5133 global value of tabulated-list-revert-hook (bug#14930).
5135 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5137 * desktop.el: Require 'cl-lib.
5138 (desktop-before-saving-frames-functions): New hook.
5139 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5140 for frames being saved. Rename from desktop--save-minibuffer-frames.
5141 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5142 Do not save frames with non-nil `desktop-dont-save' parameter.
5143 Filter out deleted frames.
5144 (desktop--find-frame): Use cl-find-if.
5145 (desktop--select-frame): Use cl-(first|second|third) to access values
5147 (desktop--make-frame): Use cl-delete-if.
5148 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5149 (desktop-restore-frames): Use cl-(first|second|third) to access values
5150 of desktop-mini. Look for visible frame at the end, not while
5153 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5154 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5155 Use string-match-p, looking-at-p (bug#14927).
5157 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5159 * desktop.el (desktop-saved-frame-states):
5160 Rename from desktop--saved-states; all users changed.
5161 (desktop-save-frames): Rename from desktop--save-frames.
5162 Do not save state to desktop file.
5163 (desktop-save): Save desktop-saved-frame-states to desktop file
5165 (desktop-restoring-frames-p): New function.
5166 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5167 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5168 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5170 * desktop.el: Correctly restore iconified frames.
5171 (desktop--filter-iconified-position): New function.
5172 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5174 2013-07-20 Glenn Morris <rgm@gnu.org>
5176 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5177 Let `message' do the formatting.
5178 (def-gdb-preempt-display-buffer): Add explicit format.
5180 * image-dired.el (image-dired-track-original-file):
5181 Use with-current-buffer.
5182 (image-dired-track-thumbnail): Use with-current-buffer.
5183 Avoid changing point of wrong window.
5185 * image-dired.el (image-dired-track-original-file):
5186 Avoid changing point of wrong window. (Bug#14909)
5188 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5190 * progmodes/gdb-mi.el (gdb-done-or-error):
5191 Guard against "%" in gdb output. (Bug#14127)
5193 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5195 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5198 * international/mule.el (coding-system-iso-2022-flags): Fix last
5201 2013-07-20 Kenichi Handa <handa@gnu.org>
5203 * international/mule.el (coding-system-iso-2022-flags):
5204 Add `8-bit-level-4'. (Bug#8522)
5206 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5208 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5211 * net/eww.el (eww-process-text-input): Allow inputting when the
5212 point is at the start of the line, as the properties aren't
5215 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5218 2013-07-19 Richard Stallman <rms@gnu.org>
5220 * epa.el (epa-popup-info-window): Doc fix.
5222 * subr.el (split-string): New arg TRIM.
5224 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5226 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5227 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5229 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5231 * filenotify.el (file-notify--library): Rename from
5232 `file-notify-support'. Do not autoload. Adapt all uses.
5233 (file-notify-supported-p): New defun.
5235 * autorevert.el (auto-revert-use-notify):
5236 Use `file-notify-supported-p' instead of `file-notify-support'.
5238 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5240 * net/tramp.el (tramp-file-name-for-operation):
5241 Add `file-notify-supported-p'.
5243 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5245 (tramp-sh-file-name-handler-alist): Add it as handler for
5246 `file-notify-supported-p '.
5248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5249 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5250 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5251 Add `ignore' as handler for `file-notify-*' functions.
5253 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5255 * simple.el (line-move-partial, line-move): Don't start vscroll or
5256 scroll-up if the current line is not taller than the window.
5259 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5262 highlight question marks in the method names as strings.
5263 (ruby-block-beg-keywords): Inline.
5264 (ruby-font-lock-keyword-beg-re): Extract from
5265 `ruby-font-lock-keywords'.
5267 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5269 * frame.el (blink-cursor-blinks): New defcustom.
5270 (blink-cursor-blinks-done): New defvar.
5271 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5272 (blink-cursor-timer-function): Check if number of blinks has been
5274 (blink-cursor-suspend, blink-cursor-check): New defuns.
5276 2013-07-15 Glenn Morris <rgm@gnu.org>
5278 * edmacro.el (edmacro-format-keys): Fix previous change.
5280 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5282 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5283 The hack didn't work outside English locales anyway.
5285 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5287 * simple.el (define-alternatives): Rename from alternatives-define,
5288 per RMS' suggestion.
5290 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5292 * desktop.el (desktop-restore-frames): Change default to t.
5293 (desktop-restore-in-current-display): Now offer more options.
5294 (desktop-restoring-reuses-frames): New customization option.
5295 (desktop--saved-states): Doc fix.
5296 (desktop-filter-parameters-alist): New variable, renamed and expanded
5297 from desktop--excluded-frame-parameters.
5298 (desktop--target-display): New variable.
5299 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5300 (desktop--filter-tty*, desktop--filter-*-color)
5301 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5302 (desktop--filter-save-desktop-parm)
5303 (desktop-restore-in-original-display-p): New functions.
5304 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5305 (desktop--save-minibuffer-frames): New function, inspired by a similar
5306 function from Martin Rudalics.
5307 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5308 (desktop--restore-in-this-display-p): Remove.
5309 (desktop--find-frame): Rename from desktop--find-frame-in-display
5310 and add predicate argument.
5311 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5312 (desktop--reuse-list): New variable.
5313 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5315 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5317 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5319 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5321 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5323 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5324 Highlight conversion methods on Kernel.
5326 2013-07-13 Alan Mackenzie <acm@muc.de>
5328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5329 and comment it out. This out-commenting enables certain C++
5330 declarations to be parsed correctly.
5332 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5334 * international/mule.el (define-coding-system): Doc fix.
5336 * simple.el (default-font-height): Don't call font-info if the
5337 frame's default font didn't change since the frame was created.
5340 2013-07-13 Leo Liu <sdl.web@gmail.com>
5342 * ido.el (ido-read-file-name): Guard against non-symbol value.
5344 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5346 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5349 2013-07-13 Leo Liu <sdl.web@gmail.com>
5351 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5352 ido-set-matches call. (Bug#6852)
5354 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5356 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5357 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5359 (ruby-font-lock-keywords): Distinguish calls to functions with
5360 module-like names from module references. Highlight character
5363 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5365 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5366 (gdb-send): Handle continued commands. (Bug#14847)
5368 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5370 * desktop.el (desktop--v2s): Remove unused local variable.
5371 (desktop-save-buffer): Make defvar-local; adjust docstring.
5372 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5373 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5375 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5377 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5379 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5381 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5384 2013-07-12 Glenn Morris <rgm@gnu.org>
5386 * doc-view.el: Require cl-lib at runtime too.
5387 (doc-view-remove-if): Remove.
5388 (doc-view-search-next-match, doc-view-search-previous-match):
5391 * edmacro.el: Require cl-lib at runtime too.
5392 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5393 (edmacro-mismatch, edmacro-subseq): Remove.
5395 * shadowfile.el: Require cl-lib.
5396 (shadow-remove-if): Remove.
5397 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5400 * wid-edit.el: Require cl-lib.
5401 (widget-choose): Use cl-remove-if.
5402 (widget-remove-if): Remove.
5404 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5405 (ebrowse-delete-if-not): Remove.
5406 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5407 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5408 Use cl-delete-if-not.
5410 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5412 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5413 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5415 2013-07-12 Leo Liu <sdl.web@gmail.com>
5417 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5419 2013-07-11 Glenn Morris <rgm@gnu.org>
5421 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5422 (edebug-gensym-index, edebug-gensym):
5423 Remove reimplementation of cl-gensym.
5424 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5426 * thumbs.el: Require cl-lib at run-time too.
5427 (thumbs-gensym-counter, thumbs-gensym):
5428 Remove reimplementation of cl-gensym.
5429 (thumbs-temp-file): Use cl-gensym.
5431 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5432 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5433 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5434 (ert--union, ert--gensym-counter, ert--gensym-counter)
5435 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5436 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5437 (ert-make-test-unbound, ert--expand-should-1)
5438 (ert--expand-should, ert--should-error-handle-error)
5439 (should-error, ert--explain-equal-rec)
5440 (ert--plist-difference-explanation, ert-select-tests)
5441 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5442 Use cl-lib functions rather than reimplementations.
5444 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5446 * net/tramp.el (tramp-methods): Extend docstring.
5447 (tramp-connection-timeout): New defcustom.
5448 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5449 (with-tramp-progress-reporter): Simplify.
5450 (tramp-process-actions): Improve messages.
5452 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5453 * net/tramp-sh.el (tramp-maybe-open-connection):
5454 Use `tramp-connection-timeout'.
5455 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5458 2013-07-11 Leo Liu <sdl.web@gmail.com>
5460 * ido.el (ido-read-file-name): Conform to the requirements of
5461 read-file-name. (Bug#11861)
5462 (ido-read-directory-name): Conform to the requirements of
5463 read-directory-name.
5465 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5467 * subr.el (delay-warning): New function.
5469 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5471 * simple.el (default-line-height): New function.
5472 (line-move-partial, line-move): Use it instead of computing the
5474 (line-move-partial): Always compute ROWH. If the last line is
5475 partially-visible, but its text is completely visible, allow
5476 cursor to enter such a partially-visible line.
5478 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5480 Improve error messages. (Bug#14808)
5482 * net/tramp.el (tramp-current-connection): New defvar, moved from
5484 (tramp-message-show-progress-reporter-message): Remove, not
5486 (tramp-error-with-buffer): Show message in minibuffer.
5487 Discard input before waiting. Reset connection timestamp.
5488 (with-tramp-progress-reporter): Improve messages.
5489 (tramp-process-actions): Use progress reporter. Delete process in
5490 case of error. Improve messages.
5492 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5493 Call `tramp-error-with-buffer' with vector and buffer.
5494 (tramp-current-connection): Remove.
5495 (tramp-maybe-open-connection): The car of
5496 `tramp-current-connection' are the first 3 slots of the vector.
5498 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5500 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5501 inside continued strings.
5503 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5505 Timestamp fixes for undo (Bug#14824).
5506 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5508 2013-07-10 Leo Liu <sdl.web@gmail.com>
5510 * files.el (require-final-newline): Allow safe local value.
5513 2013-07-09 Leo Liu <sdl.web@gmail.com>
5515 * ido.el (ido-read-directory-name): Handle fallback.
5516 (ido-read-file-name): Update DIR to ido-current-directory.
5518 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5520 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5522 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5523 "autoload". Remove "warn lower camel case" section, previously
5524 commented out. Highlight negation char. Do not highlight the
5525 target in singleton method definitions.
5527 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5529 * faces.el (tty-setup-hook): Declare the hook.
5531 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5532 and detect when a guard/pred depends on local vars (bug#14773).
5533 (pcase--u1): Adjust caller.
5535 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5537 * simple.el (line-move-partial, line-move): Account for
5539 (line-move-partial): Avoid setting vscroll when the last
5540 partially-visible line in window is of default height.
5542 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5544 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5547 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5549 * subr.el (read-quoted-char): Remove unused local variable `char'.
5551 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5553 * ediff.el (ediff-version): Version update.
5554 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5555 (ediff-merge-with-ancestor-command, ediff-directories-command)
5556 (ediff-directories3-command, ediff-merge-directories-command)
5557 (ediff-merge-directories-with-ancestor-command): New functions.
5558 All are command-line interfaces to ediff: to facilitate calling
5559 Emacs with the appropriate ediff functions invoked.
5561 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5562 (viper-save-kill-buffer): Check if buffer is modified.
5564 * viper.el (viper-version): Version update.
5565 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5567 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5569 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5570 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5571 (viper-intercept-ESC-key): Simplify.
5572 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5573 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5574 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5575 (viper-setup-ESC-to-escape): New functions.
5576 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5577 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5579 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5581 * simple.el (default-font-height, window-screen-lines):
5583 (line-move, line-move-partial): Use them instead of
5584 frame-char-height and window-text-height. This makes scrolling
5585 text smoother when the buffer's default face uses a font that is
5586 different from the frame's default font.
5588 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5590 * files.el (write-file): Do not display confirm dialog for NS,
5591 it does its own dialog, which can't be cancelled (Bug#14578).
5593 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5595 * simple.el (line-move-partial): Adjust the row returned by
5596 posn-at-point for the current window-vscroll. (Bug#14567)
5598 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5600 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5601 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5604 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5606 * window.el (window-state-put-stale-windows): New variable.
5607 (window--state-put-2): Save list of windows without matching buffer.
5608 (window-state-put): Remove "bufferless" windows if possible.
5610 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5612 * simple.el (alternatives-define): Remove leftover :group keyword.
5615 2013-07-06 Leo Liu <sdl.web@gmail.com>
5617 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5618 (ido-enable-virtual-buffers): New variable.
5619 (ido-buffer-internal, ido-toggle-virtual-buffers)
5620 (ido-make-buffer-list): Use it.
5621 (ido-exhibit): Support turning on and off virtual buffers
5624 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5626 * simple.el (alternatives-define): New macro.
5628 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * subr.el (read-quoted-char): Use read-key.
5631 (sit-for): Let read-event decode tty input (bug#14782).
5633 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5635 * calendar/todo-mode.el: Add handling of file deletion, both by
5636 mode command and externally. Fix various related bugs.
5637 Clarify Commentary and improve some documentation strings and code.
5638 (todo-delete-file): New command.
5639 (todo-check-file): New function.
5640 (todo-show): Handle external deletion of the file we're trying to
5641 show (bug#14688). Replace called-interactively-p by an optional
5642 prefix argument to avoid problematic interaction with catch form
5643 when byte compiled (bug#14702).
5644 (todo-quit): Handle external deletion of the archive's todo file.
5645 Make sure the buffer that was visiting the archive file is still
5646 live before trying to bury it.
5647 (todo-category-completions): Handle external deletion of any
5648 category completion files.
5649 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5650 of todo files, in case of external deletion.
5651 (todo-add-file): Replace unnecessary setq by let-binding.
5652 (todo-find-archive): Check whether there are any archives.
5653 Replace unnecessary setq by let-binding.
5654 (todo-archive-done-item): Use find-file-noselect to get the
5655 archive buffer whether or not the archive already exists.
5656 Remove superfluous code. Use file size instead of buffer-file-name to
5657 check if the archive is new; if it is, update list of archives.
5658 (todo-default-todo-file): Allow nil to be a valid value for when
5659 there are no todo files.
5660 (todo-reevaluate-default-file-defcustom): Use corrected definition
5661 of todo-default-todo-file.
5662 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5663 (todo-delete-category, todo-show-categories-table)
5664 (todo-category-number): Clarify comment.
5665 (todo-filter-items): Clarify documentation string.
5666 (todo-show-current-file, todo-display-as-todo-file)
5667 (todo-reset-and-enable-done-separator): Tweak documentation string.
5668 (todo-done-separator): Make separator length window-width, since
5669 bug#2749 is now fixed.
5671 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5673 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5674 Support both "gvfs-monitor-dir" and "inotifywait".
5675 (tramp-sh-file-inotifywait-process-filter): Rename from
5676 `tramp-sh-file-notify-process-filter'.
5677 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5678 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5680 2013-07-05 Leo Liu <sdl.web@gmail.com>
5682 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5684 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5686 * frame.el (display-pixel-height, display-pixel-width)
5687 (display-mm-height, display-mm-width): Mention behavior on
5688 multi-monitor setups in docstrings.
5689 (w32-display-monitor-attributes-list): Declare function.
5690 (display-monitor-attributes-list): Use it.
5692 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5694 * filenotify.el: New package.
5696 * autorevert.el (top): Require filenotify.el.
5697 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5699 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5700 (auto-revert-notify-handler): Use `file-notify-*' functions.
5702 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5704 * net/tramp.el (tramp-file-name-for-operation):
5705 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5707 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5708 for `file-notify-add-watch' and `file-notify-rm-watch'.
5709 (tramp-process-sentinel): Improve trace.
5710 (tramp-sh-handle-file-notify-add-watch)
5711 (tramp-sh-file-notify-process-filter)
5712 (tramp-sh-handle-file-notify-rm-watch)
5713 (tramp-get-remote-inotifywait): New defuns.
5715 2013-07-03 Juri Linkov <juri@jurta.org>
5717 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5718 call of `occur-read-primary-args' to interactive spec.
5720 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5721 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5723 2013-07-03 Matthias Meulien <orontee@gmail.com>
5725 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5726 `Buffer-menu-multi-occur'. Add it to the menu.
5727 (Buffer-menu-mode): Document it in docstring.
5728 (Buffer-menu-multi-occur): New command. (Bug#14673)
5730 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5733 keywords and built-ins.
5735 2013-07-03 Glenn Morris <rgm@gnu.org>
5737 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5739 Make info-xref checks case-sensitive by default
5740 * info.el (Info-find-node, Info-find-in-tag-table)
5741 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5742 Add option for exact case matching of nodes.
5743 * info-xref.el (info-xref): New custom group.
5744 (info-xref-case-fold): New option.
5745 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5747 2013-07-03 Leo Liu <sdl.web@gmail.com>
5749 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5751 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5753 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5754 middle of block statement initially, lower the depth. Remove
5755 FIXME comment, not longer valid. Remove middle of block statement
5756 detection, no need to do that anymore since we've been using
5757 `ruby-parse-region' here.
5759 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5761 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5763 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5765 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5767 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5769 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5770 (desktop-restore-in-current-display): New customization option.
5771 (desktop--excluded-frame-parameters): Add `font'.
5772 (desktop--save-frames): Rename from desktop--save-windows.
5773 (desktop--restore-in-this-display-p): New function.
5774 (desktop--make-full-frame): Remove unwanted width/height from
5775 full(width|height) frames.
5776 (desktop--restore-frames): Rename from desktop--restore-windows.
5777 Obey desktop-restore-current-display. Do not delete old frames or
5778 select a new frame unless we were able to restore at least one frame.
5780 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5782 * files.el (find-file-noselect): Simplify conditional expression.
5784 * remember.el (remember-append-to-file):
5785 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5787 Add `remember-notes' function to store random notes across Emacs
5789 * remember.el (remember-data-file): Add :set callback to affect
5790 notes buffer (if any).
5791 (remember-notes): New command.
5792 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5793 New defcustoms for the `remember-notes' function.
5794 (remember-notes-save-and-bury-buffer): New command.
5795 (remember-notes-mode-map): New variable.
5796 (remember-mode): New minor mode.
5797 (remember-notes--kill-buffer-query): New function.
5798 * startup.el (initial-buffer-choice): Add notes to custom type.
5800 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5802 * bindings.el (right-char, left-char): Don't call sit-for, this is
5803 no longer needed. Use arithmetic comparison only for numerical
5806 * international/mule-cmds.el (select-safe-coding-system):
5807 Handle the case of FROM being a string correctly. (Bug#14755)
5809 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5811 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5812 progression on degenerate tables.
5813 (shr-rescale-image): ImageMagick animated images currently don't work.
5815 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5817 Some fixes and improvements for desktop frame restoration.
5818 It is still experimental and disabled by default.
5819 * desktop.el (desktop--save-windows): Put the selected frame at
5820 the head of the list.
5821 (desktop--make-full-frame): New function.
5822 (desktop--restore-windows): Try to re-select the frame that was
5823 selected upon saving. Do not abort if some frames fail to restore,
5824 just show an error message and continue. Set up maximized frames
5825 so they have default non-maximized dimensions.
5827 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5830 Don't start heredoc inside a string or comment.
5832 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5834 * bindings.el (visual-order-cursor-movement): New defcustom.
5835 (right-char, left-char): Provide visual-order cursor motion by
5836 calling move-point-visually. Update the doc strings.
5838 2013-06-28 Kenichi Handa <handa@gnu.org>
5840 * international/mule.el (define-coding-system): New coding system
5841 properties :inhibit-null-byte-detection,
5842 :inhibit-iso-escape-detection, and :prefer-utf-8.
5843 (set-buffer-file-coding-system): If :charset-list property of
5844 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5845 appropriate for setting.
5847 * international/mule-cmds.el (select-safe-coding-system):
5848 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5849 multibyte characters, return utf-8 (or one of its siblings).
5851 * international/mule-conf.el (prefer-utf-8): New coding system.
5852 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5855 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5857 * net/shr.el (shr-render-region): New function.
5859 * net/eww.el: Autoload `eww-browse-url'.
5861 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5864 Adapt to `package-desc-version' being a list.
5865 Use `package--ac-desc-version' to retrieve version from a package
5868 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5870 New experimental feature to save&restore window and frame setup.
5871 * desktop.el (desktop-save-windows): New defcustom.
5872 (desktop--saved-states): New var.
5873 (desktop--excluded-frame-parameters): New defconst.
5874 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5875 (desktop--restore-windows, desktop--save-windows): New functions.
5876 (desktop-save): Call `desktop--save-windows'.
5877 (desktop-read): Call `desktop--restore-windows'.
5879 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881 * net/shr.el (add-face-text-property): Remove compat definition.
5883 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5885 * info.el (Info-try-follow-nearest-node): Move search for footnote
5886 above search for node name to prevent missing a footnote (bug#14717).
5888 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5890 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5892 2013-06-27 Leo Liu <sdl.web@gmail.com>
5894 * net/eww.el (eww-read-bookmarks): Check file size.
5896 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5898 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5899 advice--pending if newdef is nil or an autoload (bug#13820).
5900 (advice-mapc): New function.
5902 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5906 (eww-mode-map): Add a menu bar.
5907 (eww-add-bookmark): New command.
5908 (eww-bookmark-mode): New mode and commands.
5909 (eww-add-bookmark): Remove newlines from the title.
5910 (eww-bookmark-browse): Don't bug out if it's the only window.
5912 2013-06-26 Glenn Morris <rgm@gnu.org>
5914 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5915 (hfy-size): Handle ttys. (Bug#14668)
5917 * info-xref.el: Update for Texinfo 5 change in *note format.
5918 (info-xref-node-re, info-xref-note-re): New constants.
5919 (info-xref-check-buffer): Use info-xref-note-re.
5921 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5923 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5925 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5926 nil terminate the loop (bug#14718).
5928 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5930 * net/eww.el: Rework history traversal. When going forward/back,
5931 put these actions into the history, too, so that they can be
5933 (eww-render): Move the history reset to the correct buffer.
5935 2013-06-25 Juri Linkov <juri@jurta.org>
5937 * files-x.el (modify-dir-local-variable): Change the header comment
5938 in the file with directory local variables. (Bug#14692)
5940 * files-x.el (read-file-local-variable-value): Add `default'.
5943 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5945 * net/eww.el (eww-make-unique-file-name): Create a unique file
5946 name before saving to entering `y' accidentally asynchronously.
5948 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5950 * net/eww.el (eww-download): New command and keystroke.
5952 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5954 * net/eww.el (eww-copy-page-url): Change name of command.
5956 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5957 be more consistent with Info and dired.
5959 * net/eww.el (eww-mode-map): Ditto.
5961 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5964 packages from archives.
5965 (package-archive-contents): Change format; include obsolete packages.
5966 (package-desc): Use `dir' to mark builtin packages.
5967 (package--from-builtin): Set the `dir' field to `builtin'.
5968 (generated-autoload-file, version-control): Declare.
5969 (package-compute-transaction): Change first arg and return value to be
5970 lists of package-descs. Adjust to new package-archive-contents format.
5971 (package--add-to-archive-contents): Adjust to new
5972 package-archive-contents format.
5973 (package-download-transaction): Arg is now a list of package-descs.
5974 (package-install): If `pkg' is a package name, pass it as
5975 a requirement, so it is subject to the usual (e.g. disabled) checks.
5976 (describe-package): Accept package-desc as well.
5977 (describe-package-1): Describe a specific package-desc. Add links to
5978 other package-descs for the same package name.
5979 (package-menu-describe-package): Pass the actual package-desc.
5980 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5982 (package-desc-status): New function.
5983 (package-menu--refresh): New function, extracted
5984 from package-menu--generate.
5985 (package-menu--generate): Use it.
5986 (package-delete): Update package-alist.
5987 (package-menu-execute): Don't call package-initialize.
5989 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5990 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5991 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5992 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5993 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5994 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5996 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5998 * window.el (window--state-get-1): Workaround for bug#14527.
5999 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6001 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6003 * net/eww.el (eww-back-url): Implement the history by stashing all
6004 the data into a list.
6005 (eww-forward-url): Allow going forward in the history, too.
6007 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6009 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6010 for values and use read--expression for expressions (bug#14710).
6011 (read-file-local-variable): Avoid setq.
6012 (read-file-local-variable-mode): Use minor-mode-list.
6014 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6016 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6019 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6021 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6022 Update imenu-support when dialect changes.
6024 2013-06-25 Leo Liu <sdl.web@gmail.com>
6026 * ido.el (ido-read-internal): Allow forward slash on windows.
6028 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6030 * net/eww.el (eww): Start of strings is \\`, not ^.
6032 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6034 * net/shr.el (shr-browse-url): Fix interactive spec.
6036 * net/eww.el (eww): Add a trailing slash to domain names.
6038 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6040 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6042 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044 * net/shr.el (shr-browse-url): Use an external browser if given a
6047 * net/eww.el (eww-external-browser): Move to shr.
6049 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6051 * net/eww.el (eww): Work more correctly for file: URLs.
6052 (eww-detect-charset): Allow quoted charsets.
6053 (eww-yank-page-url): New command and keystroke.
6055 2013-06-24 Daiki Ueno <ueno@gnu.org>
6057 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6058 file name of gpg executable.
6059 (epg-context-program): New function.
6060 (epg-context-home-directory): New function.
6061 (epg-context-set-program): New function.
6062 (epg-context-set-home-directory): New function.
6063 (epg--start): Use `epg-context-program' instead of
6065 (epg--list-keys-1): Likewise.
6067 2013-06-24 Leo Liu <sdl.web@gmail.com>
6069 * ido.el (ido-read-internal): Fix bug#14620.
6071 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6073 * faces.el (face-documentation): Simplify.
6074 (read-face-attribute, tty-find-type, x-resolve-font-name):
6075 Use `string-match-p'.
6076 (list-faces-display): Use `string-match-p'. Simplify.
6077 (face-spec-recalc): Check face to avoid face alias loops.
6078 (read-color): Use `string-match-p' and non-capturing parenthesis.
6080 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6082 * net/shr.el (shr-rescale-image): Use the new
6083 :max-width/:max-height functionality.
6085 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6087 * net/eww.el (eww-search-prefix): New variable.
6089 (eww-external-browser): New variable.
6090 (eww-mode-map): New keystroke.
6091 (eww-browse-with-external-browser): New command.
6093 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6095 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6097 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6098 Don't skip aligning the next header field when padding is 0;
6099 otherwise, field width is not respected unless the title is as
6102 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * emacs-lisp/package.el (package-el-version): Remove.
6105 (package-process-define-package): Fix inf-loop.
6106 (package-install): Allow symbols as arguments again.
6108 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6110 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6111 add some more keyword-like methods.
6112 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6114 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6116 * bs.el (bs-buffer-show-mark): Make defvar-local.
6117 (bs-mode): Use setq-local.
6119 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6120 (emacs-lock--try-unlocking): Make defvar-local.
6122 2013-06-22 Glenn Morris <rgm@gnu.org>
6124 * play/cookie1.el (cookie-apropos): Minor simplification.
6126 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6128 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6130 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6131 `regexp-opt', it breaks the build during dumping.
6133 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6135 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6136 Highlight keyword-like methods on Kernel and Module with
6137 font-lock-builtin-face.
6138 (auto-mode-alist): Consolidate different entries into one regexp
6139 and add more *file-s.
6141 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6143 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6145 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6146 (diary-entry): Use it in the action of this button type instead of
6149 * calendar/todo-mode.el: New version.
6150 (todo-add-category): Append new category to end of file and give
6151 it the highest number, instead of putting it at the beginning and
6152 giving it 0. Incorporate noninteractive functionality.
6153 (todo-forward-category): Adapt to 1-based category numbering.
6154 Allow skipping over archived categories.
6155 (todo-backward-category): Derive from todo-forward-category.
6156 (todo-backward-item, todo-forward-item): Make noninteractive and
6157 delegate interactive part to new commands. Make sensitive to done items.
6158 (todo-categories): Make value an alist of category names and
6159 vectors of item counts.
6160 (todo-category-beg): Make a defconst.
6161 (todo-category-number): Use 1 instead of 0 as initial value.
6162 (todo-category-select): Make sensitive to overlays, optional item
6163 highlighting and done items.
6164 (todo-delete-item): Make sensitive to overlays and marked and done items.
6165 (todo-edit-item): Make sensitive to overlays and editing of
6166 date/time header optional. Add format checks.
6167 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6168 no-op if point is not on an item. Advertise using todo-edit-quit.
6169 (todo-edit-mode): Make sensitive to new format, font-locking, and
6170 multiple todo files.
6171 (todo-insert-item, todo-insert-item-here): Derive from
6172 todo-basic-insert-item and extend functionality.
6173 (todo-item-end, todo-item-start): Make sensitive to done items.
6174 (todo-item-string): Don't return text properties. Restore point.
6175 (todo-jump-to-category): Make sensitive to multiple todo files and
6176 todo archives. Use extended category completion.
6177 (todo-lower-item, todo-raise-item): Rename to *-priority and
6178 derive from todo-set-item-priority.
6179 (todo-mode): Derive from special-mode. Make sensitive to new
6180 format, font-locking and multiple todo files. Make read-only.
6181 (todo-mode-map): Don't suppress digit keys, so they can supply
6182 prefix arguments. Add many new key bindings.
6183 (todo-prefix): Insert as an overlay instead of file text.
6184 Change semantics from diary date expression to purely visual mark.
6185 (todo-print): Rename to todo-print-buffer. Make buffer display
6186 features printable. Remove option to restrict number of items
6187 printed. Add option to print to file.
6188 (todo-print-function): Rename to todo-print-buffer-function.
6189 (todo-quit): Extend to handle exiting new todo modes.
6190 (todo-remove-item): Make sensitive to overlays.
6191 (todo-save): Extend to buffers of filtered items.
6192 (todo-show): Make sensitive to done items, multiple todo files and
6193 new todo modes. Offer to convert legacy todo file before creating
6194 first new todo file.
6195 (todo-show-priorities): Rename to todo-top-priorities.
6196 Change semantics of value 0.
6197 (todo-top-priorities): Rename to todo-filter-top-priorities,
6198 derive from todo-filter-items and extend functionality.
6199 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6200 and extend functionality to other types of filtered items.
6201 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6202 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6203 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6204 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6205 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6206 (todo-edit-mode-hook, todo-entry-prefix-function)
6207 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6208 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6209 (todo-initials, todo-insert-threshold, todo-item-string-start)
6210 (todo-line-string, todo-menu, todo-mode-hook)
6211 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6212 (todo-print-priorities, todo-remove-separator)
6213 (todo-save-top-priorities-too, todo-string-count-lines)
6214 (todo-string-multiline-p, todo-time-string-format)
6215 (todo-tmp-buffer-name): Remove.
6216 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6217 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6218 (todo-edit-category-diary-inclusion)
6219 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6220 (todo-edit-file, todo-edit-item-date-day)
6221 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6222 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6223 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6224 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6225 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6226 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6227 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6228 (todo-filter-top-priorities-multifile, todo-find-archive)
6229 (todo-find-filtered-items-file, todo-go-to-source-item)
6230 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6231 (todo-jump-to-archive-category, todo-lower-category)
6232 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6233 (todo-move-category, todo-move-item, todo-next-button)
6234 (todo-next-item, todo-padded-string, todo-powerset)
6235 (todo-previous-button, todo-previous-item)
6236 (todo-print-buffer-to-file, todo-raise-category)
6237 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6238 (todo-set-category-number, todo-set-item-priority)
6239 (todo-set-top-priorities-in-category)
6240 (todo-set-top-priorities-in-file, todo-show-categories-table)
6241 (todo-sort-categories-alphabetically-or-numerically)
6242 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6243 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6244 (todo-toggle-item-header, todo-toggle-item-highlighting)
6245 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6246 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6247 (todo-unarchive-items, todo-unmark-category): New commands.
6248 (todo-absolute-file-name, todo-add-to-buffer-list)
6249 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6250 (todo-basic-insert-item, todo-category-completions)
6251 (todo-category-number, todo-category-string-matcher-1)
6252 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6253 (todo-check-format, todo-clear-matches)
6254 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6255 (todo-current-category, todo-date-string-matcher)
6256 (todo-define-insertion-command, todo-diary-expired-matcher)
6257 (todo-diary-goto-entry, todo-diary-item-p)
6258 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6259 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6260 (todo-done-item-section-p, todo-done-separator)
6261 (todo-done-string-matcher, todo-files, todo-filter-items)
6262 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6263 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6264 (todo-insert-category-line, todo-insert-item-from-calendar)
6265 (todo-insert-sort-button, todo-insert-with-overlays)
6266 (todo-insertion-command-name, todo-insertion-key-bindings)
6267 (todo-label-to-key, todo-longest-category-name-length)
6268 (todo-make-categories-list, todo-mode-external-set)
6269 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6270 (todo-modes-set-3, todo-multiple-filter-files)
6271 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6272 (todo-read-category, todo-read-date, todo-read-dayname)
6273 (todo-read-file-name, todo-read-time)
6274 (todo-reevaluate-category-completions-files-defcustom)
6275 (todo-reevaluate-default-file-defcustom)
6276 (todo-reevaluate-filelist-defcustoms)
6277 (todo-reevaluate-filter-files-defcustom)
6278 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6279 (todo-reset-done-separator, todo-reset-done-separator-string)
6280 (todo-reset-done-string, todo-reset-global-current-todo-file)
6281 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6282 (todo-reset-prefix, todo-set-categories)
6283 (todo-set-date-from-calendar, todo-set-show-current-file)
6284 (todo-set-top-priorities, todo-short-file-name)
6285 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6286 (todo-total-item-counts, todo-update-buffer-list)
6287 (todo-update-categories-display, todo-update-categories-sexp)
6288 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6290 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6292 (todo-categories, todo-display, todo-edit, todo-faces)
6293 (todo-filtered): New defgroups.
6294 (todo-archived-only, todo-button, todo-category-string, todo-date)
6295 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6296 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6297 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6298 (todo-add-item-if-new-category, todo-always-add-time-string)
6299 (todo-categories-align, todo-categories-archived-label)
6300 (todo-categories-category-label, todo-categories-diary-label)
6301 (todo-categories-done-label, todo-categories-number-separator)
6302 (todo-categories-todo-label, todo-categories-totals-label)
6303 (todo-category-completions-files, todo-completion-ignore-case)
6304 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6305 (todo-done-separator-string, todo-done-string)
6306 (todo-files-function, todo-filter-done-items, todo-filter-files)
6307 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6308 (todo-initial-category, todo-initial-file, todo-item-mark)
6309 (todo-legacy-date-time-regexp, todo-mode-line-function)
6310 (todo-nondiary-marker, todo-number-prefix)
6311 (todo-print-buffer-function, todo-show-current-file)
6312 (todo-show-done-only, todo-show-first, todo-show-with-done)
6313 (todo-skip-archived-categories, todo-top-priorities-overrides)
6314 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6315 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6317 (todo-category-done, todo-date-pattern, todo-date-string-start)
6318 (todo-diary-items-buffer, todo-done-string-start)
6319 (todo-filtered-items-buffer, todo-item-start)
6320 (todo-month-abbrev-array, todo-month-name-array)
6321 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6322 (todo-top-priorities-buffer): New defconsts.
6323 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6324 (todo-categories-with-marks, todo-category-string-face)
6325 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6326 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6327 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6328 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6329 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6330 (todo-font-lock-keywords, todo-global-current-todo-file)
6331 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6332 (todo-insertion-commands-args)
6333 (todo-insertion-commands-args-genlist)
6334 (todo-insertion-commands-names, todo-insertion-map)
6335 (todo-key-bindings-t, todo-key-bindings-t+a)
6336 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6337 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6338 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6339 (todo-visited): New variables.
6341 2013-06-21 Glenn Morris <rgm@gnu.org>
6343 * play/cookie1.el (cookie-apropos): Add optional display argument.
6344 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6345 (psychoanalyze-pinhead): Use cookie-doctor.
6347 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6349 * emacs-lisp/package.el (tar-get-file-descriptor)
6350 (tar--extract): Declare.
6352 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6354 Extend flymake's warning predicate to be a function (bug#14217).
6355 * progmodes/flymake.el (flymake-warning-predicate): New.
6356 (flymake-parse-line): Use it.
6357 (flymake-warning-re): Make obsolete alias to
6358 `flymake-warning-predicate'.
6360 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6363 (package-obsolete-list): Remove.
6364 (package-activate): Remove min-version argument. Add `force' argument.
6365 Adjust to new package-alist format.
6366 (package-mark-obsolete): Remove.
6367 (package-unpack): Force reload of the package's autoloads.
6368 (package-installed-p): Check builtins if the installed package is not
6370 (package-initialize): Don't reset package-obsolete-list.
6371 Don't specify which package version to activate.
6372 (package-process-define-package, describe-package-1)
6373 (package-menu--generate): Adjust to new package-alist format.
6375 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6377 * allout-widgets.el (allout-widgets-mode-off)
6378 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6379 (allout-widgets-post-command-business)
6380 (allout-widgets-after-copy-or-kill-function)
6381 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6382 (allout-decorate-item-and-context)
6383 (allout-graphics-modification-handler): Fix typos in docstrings.
6384 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6386 * cmuscheme.el (scheme-start-file): Doc fix.
6387 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6388 (scheme-input-filter): Use `string-match-p'.
6390 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6392 * dired-x.el: Use Dired consistently in docstrings.
6394 * dired.el: Use Dired consistently in docstrings.
6395 (dired-readin, dired-mode): Use `setq-local'.
6396 (dired-switches-alist): Make defvar-local.
6397 (dired-buffers-for-dir): Use `zerop'.
6398 (dired-safe-switches-p, dired-switches-escape-p)
6399 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6400 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6401 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6402 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6403 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6404 (dired-toggle-marks, dired-mark-files-containing-regexp)
6405 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6406 (dired-flag-auto-save-files, dired-flag-backup-files):
6408 (dired-mark-files-regexp, dired-build-subdir-alist):
6409 Use `string-match-p', `looking-at-p'.
6411 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6412 (direct-print-region-helper): Use `string-match-p'.
6414 2013-06-21 Leo Liu <sdl.web@gmail.com>
6416 * comint.el (comint-redirect-results-list-from-process):
6419 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421 * net/eww.el (eww-update-header-line-format): Quote % characters.
6423 2013-06-21 Glenn Morris <rgm@gnu.org>
6425 * play/cookie1.el (cookie): New custom group.
6426 (cookie-file): New option.
6427 (cookie-check-file): New function.
6428 (cookie): Make it interactive. Make start and end messages optional.
6429 Interactively, display the result. Default to cookie-file.
6430 (cookie-insert): Default to cookie-file.
6431 (cookie-snarf): Make start and end messages optional.
6432 Default to cookie-file. Use with-temp-buffer.
6433 (cookie-read): Rename from read-cookie.
6434 Make start and end messages optional. Default to cookie-file.
6435 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6437 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6438 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6440 2013-06-21 Leo Liu <sdl.web@gmail.com>
6442 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6444 2013-06-21 Glenn Morris <rgm@gnu.org>
6446 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6448 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6449 Daniel Hackney <dan@haxney.org>
6451 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6452 Consolidate the single-file vs tarball code.
6453 (package-desc-suffix): New function.
6454 (package-desc-full-name): Don't bother inlining it.
6455 (package-load-descriptor): Return the new package-desc.
6456 (package-mark-obsolete): Remove unused arg `package'.
6457 (package-unpack): Make it work for single files as well.
6458 Make it update package-alist.
6459 (package--make-autoloads-and-stuff): Rename from
6460 package--make-autoloads-and-compile. Don't compile any more.
6461 (package--compile): New function.
6462 (package-generate-description-file): New function, extracted from
6463 package-unpack-single.
6464 (package-unpack-single): Remove.
6465 (package--with-work-buffer): Add indentation and debugging info.
6466 (package-download-single): Remove.
6467 (package-install-from-archive): Rename from package-download-tar, make
6468 it take a pkg-desc, and make it work for single files as well.
6469 (package-download-transaction): Simplify.
6470 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6471 external tar program.
6472 (package-install-from-buffer): Remove `pkg-desc' argument.
6473 Use package-tar-file-info for tar-mode buffers.
6474 (package-install-file): Simplify accordingly.
6475 (package-archive-base): Change to take a pkg-desc.
6476 * tar-mode.el (tar--check-descriptor): New function, extracted from
6478 (tar-get-descriptor): Use it.
6479 (tar-get-file-descriptor): New function.
6480 (tar--extract): New function, extracted from tar-extract.
6481 (tar--extract): Use it.
6482 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6483 case the summary uses non-ascii. Adjust to new calling convention of
6484 package-tar-file-info.
6486 2013-06-21 Leo Liu <sdl.web@gmail.com>
6488 * comint.el (comint-redirect-results-list-from-process):
6489 Fix random delay. (Bug#14681)
6491 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6493 * profiler.el (profiler-format-number): Use log, not log10.
6495 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6497 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6499 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6501 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6502 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6504 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6505 (AUTOGENEL): ... here.
6506 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6507 (cl--defsubst-expand): Use it.
6509 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6511 * subr.el (log10): Move here from C code, and declare as obsolete.
6512 All uses of (log10 X) replaced with (log X 10).
6514 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6516 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6517 Declare with `defvar-local'.
6518 (tabulated-list-use-header-line, tabulated-list-entries)
6519 (tabulated-list-padding, tabulated-list-printer)
6520 (tabulated-list-sort-key): Declare with `defvar-local'.
6521 (tabulated-list-init-header, tabulated-list-print-fake-header):
6524 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6526 * arc-mode.el (archive-mode): Add `archive-write-file' to
6527 `write-contents-functions' also for remote files. (Bug#14652)
6529 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6531 * cus-edit.el (custom-commands): Fix typos.
6532 (custom-display): Fix tooltip text.
6533 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6534 Fix typos in docstrings.
6535 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6536 (custom-unlispify-menu-entry, custom-magic-value-create)
6537 (custom-add-see-also, custom-group-value-create): Use ?\s.
6538 (custom-guess-type, customize-apropos, editable-field)
6539 (custom-face-value-create): Use `string-match-p'.
6540 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6542 * custom.el (custom-load-symbol): Use `string-match-p'.
6544 * ansi-color.el: Convert to lexical binding.
6545 (ansi-colors): Fix URL.
6546 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6547 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6548 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6550 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6552 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6554 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6556 2013-06-19 Tom Tromey <tromey@redhat.com>
6558 * net/eww.el (eww-top-url): Remove.
6559 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6560 (eww-render): Set new variables. Don't set eww-top-url.
6561 (eww-handle-link): Handle "prev", "home", and "contents".
6562 Downcase the rel text.
6563 (eww-top-url): Choose best top URL.
6565 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6568 relying in widget.el. Using widget.el leads to too many
6569 user interface inconsistencies.
6570 (eww-self-insert): Implement entering commands in text fields.
6571 (eww-process-text-input): New function to make text input field editing
6573 (eww-submit): Rewrite to use the new-style form methods.
6574 (eww-select-display): Display the correct selected item.
6575 (eww-change-select): Implement changing the select value.
6576 (eww-toggle-checkbox): Implement radio/checkboxes.
6577 (eww-update-field): Fix compilation error.
6578 (eww-tag-textarea): Implement <textarea>.
6580 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6581 we don't shadow mode-specific bindings.
6583 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6586 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6588 2013-06-19 Glenn Morris <rgm@gnu.org>
6590 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6592 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6594 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6597 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6599 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6601 * net/browse-url.el (browse-url-browser-function):
6602 `eww-browse-url' has the right calling signature, `eww' does not.
6604 2013-06-19 Glenn Morris <rgm@gnu.org>
6606 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6607 Only eval autoloaded macros.
6608 (byte-compile-autoload): Only give the macro warning for macros.
6610 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6611 (ps-underlined-faces): Declare.
6613 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6614 (speedbar-add-supported-extension): Declare.
6616 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6617 Don't include a date stamp in the header of the generated file;
6618 it leads to needless differences between output files.
6620 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6622 * net/secrets.el (secrets-struct-secret-content-type):
6623 Replace check of introspection data by a test call of "CreateItem".
6624 Some servers do not offer introspection.
6626 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6628 * electric.el (electric-pair-mode): Improve interaction with
6629 electric-layout-mode.
6630 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6631 (electric-pair-syntax): Use text-mode-syntax-table in comments
6633 (electric-pair--insert): New function.
6634 (electric-pair-post-self-insert-function): Use it and
6635 electric--after-char-pos.
6637 2013-06-19 Leo Liu <sdl.web@gmail.com>
6639 * progmodes/octave.el (octave-help): Fix regexp.
6641 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6643 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6644 (shr-table-horizontal-line): Allow nil as a value, and change the
6646 (shr-insert-table-ruler): Respect the nil value.
6648 2013-06-18 Tom Tromey <tromey@barimba>
6650 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6652 (eww-open-file): New defun.
6653 (eww-render): Initialize new variables.
6654 (eww-display-html): Handle "link" and "a".
6655 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6656 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6657 (eww-back-url): Rename from eww-previous-url.
6658 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6661 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6663 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6664 Distinguish ternary operator tokens from slash symbol and slash
6667 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6669 Convert symbol prettification into minor mode and global minor mode.
6671 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6672 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6673 (prettify-symbols--keywords): Rename from
6674 `prog-prettify-symbols-alist' and make a local defvar.
6675 (prettify-symbols--compose-symbol): Rename from
6676 `prog--prettify-font-lock-compose-symbol'.
6677 (prettify-symbols--make-keywords): Rename from
6678 `prog-prettify-font-lock-symbols-keywords' and simplify.
6679 (prog-prettify-install): Remove.
6680 (prettify-symbols-mode): New minor mode, based on
6681 `prog-prettify-install'.
6682 (turn-on-prettify-symbols-mode): New function.
6683 (global-prettify-symbols-mode): New globalized minor mode.
6685 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6686 * progmodes/cfengine.el (cfengine3-mode):
6687 * progmodes/perl-mode.el (perl-mode): Don't call
6688 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6690 2013-06-18 Juri Linkov <juri@jurta.org>
6692 * files-x.el (modify-file-local-variable-message): New function.
6693 (modify-file-local-variable)
6694 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6695 and call `modify-file-local-variable-message' when it's non-nil.
6696 (add-file-local-variable, delete-file-local-variable)
6697 (add-file-local-variable-prop-line)
6698 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6699 and use it. (Bug#9820)
6701 2013-06-18 Juri Linkov <juri@jurta.org>
6703 * emulation/vi.el (vi-shell-op):
6704 * emulation/vip.el (vip-execute-com, ex-command):
6705 * emulation/viper-cmd.el (viper-exec-bang):
6706 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6707 the call of `shell-command-on-region'. (Bug#14637)
6709 * simple.el (shell-command-on-region): Doc fix.
6711 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6713 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6716 2013-06-18 Glenn Morris <rgm@gnu.org>
6718 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6720 * newcomment.el (comment-search-forward, comment-search-backward):
6721 Doc fix. (Bug#14376)
6723 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6725 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6726 (buffer-face-mode-invoke): Doc fix.
6728 2013-06-18 Matthias Meulien <orontee@gmail.com>
6730 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6731 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6733 2013-06-18 Glenn Morris <rgm@gnu.org>
6735 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6736 Replace obsolete function generic-make-keywords with its expansion.
6738 * progmodes/python.el (ffap-alist): Declare.
6740 * textmodes/reftex.el (bibtex-mode-map): Declare.
6742 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6744 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6745 (package-unpack, package-unpack-single): Return the pkg-dir.
6746 (package-download-transaction): Use it to update package-alist.
6748 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6753 2013-06-17 Juri Linkov <juri@jurta.org>
6755 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6757 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6759 * emacs-lisp/package.el (package-load-descriptor):
6760 Remove `with-syntax-table' call, `read' doesn't need it.
6761 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6763 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6765 * startup.el (command-line): Expand package name returned by
6766 `package--description-file' (bug#14639).
6768 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6770 * emacs-lisp/package.el (package-load-descriptor): Do not call
6771 `emacs-lisp-mode', just use its syntax table.
6773 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6775 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6776 `font-lock-extra-managed-props' if any prettifying keyword is added.
6777 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6778 (prog-mode): Use `setq-local'.
6780 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6782 * international/characters.el (standard-case-table): Set syntax of ?»
6783 and ?« to punctuation.
6785 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6787 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6788 Save relevant match data before calling `syntax-ppss' (bug#14595).
6790 2013-06-15 Juri Linkov <juri@jurta.org>
6792 * files-x.el (modify-file-local-variable-prop-line): Add local
6793 variables to the end of the existing comment on the first line.
6794 Use `file-auto-mode-skip' to skip interpreter magic line,
6795 and also skip XML declaration.
6797 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6799 * startup.el (package--builtin-versions): New var.
6800 (package-subdirectory-regexp): Remove.
6801 (package--description-file): Hard code its value instead.
6803 * emacs-lisp/package.el: Don't activate packages older than builtin.
6804 (package-obsolete-list): Rename from package-obsolete-alist, and make
6805 it into a simple list of package-desc.
6806 (package-strip-version): Remove.
6807 (package-built-in-p): Use package--builtin-versions.
6808 (package-mark-obsolete): Simplify.
6809 (package-process-define-package): Mark it obsolete if older than the
6811 (package-handle-response): Use line-end-position.
6812 (package-read-archive-contents, package--download-one-archive):
6814 (package--add-to-archive-contents): Skip if older than the builtin or
6816 (package-menu-describe-package): Fix last change.
6817 (package-list-unversioned): New var.
6818 (package-menu--generate): Use it.
6820 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6821 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6822 (autoload-builtin-package-versions): New variable.
6823 (autoload-generate-file-autoloads): Use them.
6824 Remove the list of autoloaded functions/macros from the
6825 (autoload...) comments.
6827 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6829 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6831 * simple.el (line-move-partial): Don't jump to the next screen
6832 line as soon as it becomes visible. Instead, continue enlarging
6833 the vscroll until the portion of a tall screen line that's left on
6834 display is about the height of the frame's default font.
6837 2013-06-15 Glenn Morris <rgm@gnu.org>
6839 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6840 compilation-error-regexp-alist void, or local while let-bound.
6842 * progmodes/make-mode.el (makefile-mode-syntax-table):
6843 Treat "=" as punctuation. (Bug#14614)
6845 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6847 * help-fns.el (describe-variable):
6848 Add extra line for permanent-local variables.
6850 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6852 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6853 Add export, import, library. (Bug#9164)
6854 (library): Set indent function.
6856 2013-06-14 Glenn Morris <rgm@gnu.org>
6858 * term/xterm.el (xterm--query):
6859 Stop after first matching handler. (Bug#14615)
6861 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6863 Add support for dired in saveplace.
6864 * dired.el (dired-initial-position-hook): New variable.
6865 (dired-initial-position): Call hook to place cursor position.
6866 * saveplace.el (save-place-to-alist): Add dired position.
6867 (save-place-dired-hook): New function.
6869 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6872 through a symbol rather than letrec.
6874 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6875 (package-desc): Add `dir' field.
6876 (package-desc-full-name): New function.
6877 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6878 (package-maybe-load-descriptor): Remove.
6879 (package-load-all-descriptors): Just call package-load-descriptor.
6880 (package--disabled-p): New function.
6881 (package-desc-vers, package-desc-doc): Remove aliases.
6882 (package--dir): Remove function.
6883 (package-activate): Check if a package is disabled.
6884 (package-process-define-package): New function, extracted from
6886 (define-package): Turn into a place holder.
6887 (package-unpack-single, package-tar-file-info):
6888 Use package--description-file.
6889 (package-compute-transaction): Use package--disabled-p.
6890 (package-download-transaction): Don't call
6891 package-maybe-load-descriptor since they're all loaded anyway.
6892 (package-install): Change argument to be a pkg-desc.
6893 (package-delete): Use a single pkg-desc argument.
6894 (describe-package-1): Use package-desc-dir instead of package--dir.
6895 Use package-desc property instead of package-symbol.
6896 (package-install-button-action): Adjust accordingly.
6897 (package--push): Rewrite.
6898 (package-menu--print-info): Adjust accordingly. Change the ID format
6900 (package-menu-describe-package, package-menu-get-status)
6901 (package-menu--find-upgrades, package-menu-mark-upgrades)
6902 (package-menu-execute, package-menu--name-predicate):
6904 * startup.el (package--description-file): New function.
6905 (command-line): Use it.
6906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6907 Use package-desc-version.
6909 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6910 (byte-compile-preprocess): Use it.
6911 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6912 can't quite recognize.
6913 (byte-compile-add-to-list): Remove.
6914 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6915 (cconv-closure-convert): Add assertion.
6917 * emacs-lisp/map-ynp.el: Use lexical-binding.
6918 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6919 Factor out some repeated code.
6921 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * subr.el (with-eval-after-load): New macro.
6924 (eval-after-load): Allow form to be a function.
6925 take advantage of lexical-binding.
6926 (do-after-load-evaluation): Use dolist and adjust to new format.
6927 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6929 2013-06-13 Juri Linkov <juri@jurta.org>
6931 * replace.el (perform-replace): Display "symbol " and other search
6932 modes from `isearch-message-prefix' in the *Help* buffer.
6934 * isearch.el (isearch-query-replace): Add " symbol" and other
6935 possible search modes from `isearch-message-prefix' to the prompt.
6936 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6937 when reading a regexp to collect.
6939 2013-06-13 Juri Linkov <juri@jurta.org>
6941 * isearch.el (word-search-regexp): Match whitespace if the search
6942 string begins or ends in whitespace. The LAX arg is applied to
6943 both ends of the search string. Use `regexp-quote' and explicit
6944 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6945 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6946 boundaries are replaced with symbol boundaries, and characters
6947 between symbols match non-word non-symbol syntax. (Bug#14602)
6949 2013-06-13 Juri Linkov <juri@jurta.org>
6951 * isearch.el (isearch-del-char): Don't exceed the length of
6952 `isearch-string' by the prefix arg. (Bug#14563)
6954 2013-06-13 Juri Linkov <juri@jurta.org>
6956 * isearch.el (isearch-yank-word, isearch-yank-line)
6957 (isearch-char-by-name, isearch-quote-char)
6958 (isearch-printing-char, isearch-process-search-char):
6959 Add optional count prefix arg. (Bug#14563)
6961 * international/isearch-x.el
6962 (isearch-process-search-multibyte-characters):
6963 Add optional count prefix arg.
6965 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6968 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6971 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6973 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6975 2013-06-13 Glenn Morris <rgm@gnu.org>
6977 * startup.el (tty-handle-args):
6978 Don't just discard "--" and anything after. (Bug#14608)
6980 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6982 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6984 Implement changes in Secret Service API. Make it backward compatible.
6985 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6986 (secrets-create-item): Use it. Prefix properties with interface.
6988 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6990 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6991 (term-emulate-terminal): Respect term-suppress-hard-newline.
6993 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6995 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6996 Only remove a `thumb-file' overlay. (Bug#14548)
6998 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7000 * mail/reporter.el (reporter-submit-bug-report):
7001 Handle missing package-name. (Bug#14600)
7003 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7005 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7006 (reftex-citation-prompt, reftex-default-bibliography)
7007 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7008 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7009 (reftex-bib-sort-author, reftex-bib-sort-year)
7010 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7011 (reftex-extract-bib-entries-from-thebibliography)
7012 (reftex-get-bibkey-default, reftex-get-bib-names)
7013 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7014 (reftex-format-bib-entry, reftex-parse-bibitem)
7015 (reftex-format-bibitem, reftex-do-citation)
7016 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7017 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7018 (reftex-insert-bib-matches, reftex-format-citation)
7019 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7020 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7021 existing comments into docstrings.
7023 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7025 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7027 2013-06-12 Andreas Schwab <schwab@suse.de>
7029 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7030 for auto-save files.
7032 2013-06-12 Glenn Morris <rgm@gnu.org>
7034 * ido.el (ido-delete-ignored-files): Remove.
7035 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7036 Go back to calling ido-ignore-item-p directly.
7038 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7040 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7042 * ido.el (ido-delete-ignored-files): New function,
7043 split from ido-make-file-list-1.
7044 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7045 (ido-make-file-list-1): Use ido-delete-ignored-files.
7047 2013-06-12 Leo Liu <sdl.web@gmail.com>
7049 * progmodes/octave.el (inferior-octave-startup)
7050 (inferior-octave-completion-table)
7051 (inferior-octave-track-window-width-change)
7052 (octave-eldoc-function-signatures, octave-help)
7053 (octave-find-definition): Use single quoted strings.
7054 (inferior-octave-startup-args): Change default value.
7055 (inferior-octave-startup): Do not hard code "-i" and
7056 "--no-line-editing".
7057 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7058 (inferior-octave-directory-tracker): Use it.
7059 (octave-goto-function-definition): Robustify.
7060 (octave-help): Support highlighting operators in 'See also'.
7061 (octave-find-definition): Find subfunctions only in Octave mode.
7063 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * help-fns.el (help-fns--compiler-macro): If the handler function is
7066 named, then put a link to it.
7067 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7068 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7070 (cl-eval-when): Simplify debug spec.
7071 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7072 compiler-macro function instead of setting `compiler-macro-file'.
7074 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7076 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7077 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7079 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7080 Daniel Hackney <dan@haxney.org>
7082 First part of Daniel Hackney's patch to package.el.
7083 * emacs-lisp/package.el: Use defstruct.
7084 (package-desc): New, main struct.
7085 (package--bi-desc, package--ac-desc): New structs, used to describe the
7086 format in external files.
7087 (package-desc-vers): Replace with package-desc-version accessor.
7088 (package-desc-doc): Replace with package-desc-summary accessor.
7089 (package-activate-1): Remove `package' arg since the pkg-vec now
7091 (define-package): Use package-desc-from-define.
7092 (package-unpack-single): Change file-name arg to be a symbol.
7093 (package--add-to-archive-contents): Use package-desc-create and new
7094 accessor functions to package--ac-desc.
7095 (package-buffer-info, package-tar-file-info): Return a package-desc.
7096 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7097 arg to be a package-desc.
7098 (package-install-file): Adjust accordingly. Use \' to match EOS.
7099 (package--from-builtin): New function.
7100 (describe-package-1, package-menu--generate): Use it.
7101 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7102 (package-generate-autoloads): Idem and return the name of the file.
7103 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7104 Change pkg-info arg to be a package-desc.
7105 Use package-make-ac-desc.
7106 (package-upload-file): Use \' to match EOS.
7107 * finder.el (finder-compile-keywords): Use package-make-builtin.
7109 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7111 * vc/vc.el (vc-deduce-fileset): Change error message.
7112 (vc-read-backend): New function.
7113 (vc-next-action): Use it.
7115 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7117 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7118 (prolog-font-lock-keywords): Use regexp-opt instead.
7119 Don't manually highlight strings.
7120 (prolog-mode-variables): Simplify comment-start-skip.
7121 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7123 * emacs-lisp/generic.el (generic--normalise-comments)
7124 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7125 (generic-mode-set-comments): Use them.
7126 (generic-bracket-support): Use setq-local.
7127 (generic-make-keywords-list): Declare obsolete.
7129 2013-06-11 Glenn Morris <rgm@gnu.org>
7131 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7132 Prettify after setting font-lock-defaults. (Bug#14574)
7134 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7136 * replace.el (query-replace, occur-read-regexp-defaults-function)
7138 * subr.el (declare-function, number-sequence, local-set-key)
7139 (substitute-key-definition, locate-user-emacs-file)
7140 (with-silent-modifications, split-string, eval-after-load):
7141 Fix typos, remove unneeded backslashes and reflow some docstrings.
7143 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7146 default for Elisp files.
7148 2013-06-11 Glenn Morris <rgm@gnu.org>
7150 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7151 although define-derived-mode was doing this anyway. (Bug#14583)
7153 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7155 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7156 Fix make-variable-buffer-local call to refer to the correct variable.
7158 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7160 * eshell/em-term.el (eshell-visual-commands)
7161 (eshell-visual-subcommands, eshell-visual-options):
7162 Add summary line to docstrings. Add cross-references.
7164 2013-06-10 Glenn Morris <rgm@gnu.org>
7166 * epa.el (epa-read-file-name): New function. (Bug#14510)
7167 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7169 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7171 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7172 output redirection to be ignored with visual commands.
7174 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7176 * eshell/em-term.el (eshell-visual-command-p): New function.
7177 (eshell-term-initialize): Move long lambda to separate function
7178 eshell-visual-command-p.
7179 * eshell/em-dirs.el (eshell-dirs-initialise):
7180 * eshell/em-script.el (eshell-script-initialize):
7181 Add missing #' to lambda.
7183 2013-06-08 Leo Liu <sdl.web@gmail.com>
7185 * progmodes/octave.el (octave-add-log-current-defun): New function.
7186 (octave-mode): Set add-log-current-defun-function.
7187 (octave-goto-function-definition): Do not move point if not found.
7188 (octave-find-definition): Enhance to try subfunctions first.
7190 2013-06-08 Glenn Morris <rgm@gnu.org>
7192 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7193 (byte-compile-backward-char, byte-compile-backward-word):
7194 Improve previous change, to handle non-explicit nil.
7196 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7199 (smie--opener/closer-at-point): New function.
7200 (smie--matching-block-data): Use it. Don't match from right after an
7201 opener or right before a closer. Obey smie-blink-matching-inners.
7202 Don't signal a mismatch for repeated inners like "switch..case..case".
7204 2013-06-07 Leo Liu <sdl.web@gmail.com>
7206 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7208 (octave-function-header-regexp): Fix. (Bug#14570)
7209 (octave-help-mode-finish-hook, octave-help-mode-finish):
7210 Remove. Just use temp-buffer-show-hook.
7212 * newcomment.el (comment-search-backward): Revert last change.
7215 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7217 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7219 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7220 through xargs, to avoid failure due to MS-Windows limitations on
7221 command-line length.
7223 2013-06-06 Glenn Morris <rgm@gnu.org>
7225 * font-lock.el (lisp-font-lock-keywords-2):
7226 Treat user-error like error.
7228 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7229 (byte-compile-backward-char, byte-compile-backward-word):
7230 Handle explicit nil arguments. (Bug#14565)
7232 2013-06-05 Alan Mackenzie <acm@muc.de>
7234 * isearch.el (isearch-allow-prefix): New user option.
7235 (isearch-other-meta-char): Don't exit isearch when a prefix
7236 argument is typed whilst `isearch-allow-prefix' is non-nil.
7239 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * autorevert.el (auto-revert-notify-handler): Use memq.
7242 Hide assertion failure.
7244 * skeleton.el: Use cl-lib.
7245 (skeleton-further-elements): Use defvar-local.
7246 (skeleton-insert): Use cl-progv.
7248 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7250 * progmodes/prog-mode.el (prog-prettify-symbols)
7251 (prog-prettify-install): Update docstrings.
7253 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * simple.el: Move all the prog-mode code to prog-mode.el.
7256 * progmodes/prog-mode.el: New file.
7257 * loadup.el: Add prog-mode.el.
7259 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7261 * simple.el (prog-prettify-symbols): Add version.
7262 (prog-prettify-install): Add convenience function to prettify symbols.
7264 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7265 (perl--augmented-font-lock-keywords-1)
7266 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7267 variables and use it.
7269 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7270 (cfengine3-mode): Remove unneeded variable and use it.
7272 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7273 (lisp--augmented-font-lock-keywords-1)
7274 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7275 Remove unneeded variables and use it.
7277 2013-06-05 João Távora <joaotavora@gmail.com>
7279 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7280 to point when opening the connection. (Bug#14380)
7282 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * subr.el (load-history-regexp, load-history-filename-element)
7285 (eval-after-load, after-load-functions, do-after-load-evaluation)
7286 (eval-next-after-load, display-delayed-warnings)
7287 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7288 definition of save-match-data.
7289 (overriding-local-map): Remove accidental obsolescence declaration.
7291 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7293 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7295 Generalize symbol prettify support to prog-mode and implement it
7296 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7297 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7298 (prog--prettify-font-lock-compose-symbol)
7299 (prog-prettify-font-lock-symbols-keywords): New variables and
7300 functions to support symbol prettification.
7301 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7302 (lisp--augmented-font-lock-keywords-1)
7303 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7304 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7305 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7306 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7307 Implement prettify of -> => :: strings.
7308 * progmodes/perl-mode.el (perl-prettify-symbols)
7309 (perl--font-lock-compose-symbol)
7310 (perl--font-lock-symbols-keywords): Move to prog-mode.
7311 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7312 (perl-font-lock-keywords-1)
7313 (perl-font-lock-keywords-2): Remove explicit prettify support.
7314 (perl--augmented-font-lock-keywords)
7315 (perl--augmented-font-lock-keywords-1)
7316 (perl--augmented-font-lock-keywords-2, perl-mode):
7317 Implement prettify support.
7319 2013-06-05 Leo Liu <sdl.web@gmail.com>
7321 Re-implement smie matching block highlight using
7322 show-paren-data-function. (Bug#14395)
7323 * emacs-lisp/smie.el (smie-matching-block-highlight)
7324 (smie--highlight-matching-block-overlay)
7325 (smie--highlight-matching-block-lastpos)
7326 (smie-highlight-matching-block)
7327 (smie-highlight-matching-block-mode): Remove.
7328 (smie--matching-block-data-cache): New variable.
7329 (smie--matching-block-data): New function.
7330 (smie-setup): Use smie--matching-block-data for
7331 show-paren-data-function.
7333 * progmodes/octave.el (octave-mode-menu): Fix.
7334 (octave-find-definition): Skip garbage lines.
7336 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7338 Fix compilation error with simultaneous dynamic+lexical scoping.
7339 Add warning when a defvar appears after the first let-binding.
7340 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7341 (byte-compile-close-variables): Initialize it.
7342 (byte-compile--declare-var): New function.
7343 (byte-compile-file-form-defvar)
7344 (byte-compile-file-form-define-abbrev-table)
7345 (byte-compile-file-form-custom-declare-variable): Use it.
7346 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7347 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7348 (byte-compile-bind): Handle dynamic bindings that shadow
7350 (byte-compile-unbind): Make arg non-optional.
7351 (byte-compile-let): Simplify.
7352 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7353 (cconv--analyse-function, cconv-analyse-form): Populate it.
7354 Protect byte-compile-bound-variables to limit the scope of defvars.
7355 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7356 Remove unneeded rule for `declare'.
7358 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7359 so as to avoid depending on cl-adjoin at run-time.
7360 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7362 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7363 (macroexp--warn-and-return): Use it.
7365 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7367 * lisp/subr.el: Convert to lexical binding.
7368 (overriding-local-map): Make obsolete.
7369 (add-to-list): Doc fix. Add compiler macro.
7370 (read-key): Swap values of local maps.
7372 2013-06-05 Leo Liu <sdl.web@gmail.com>
7374 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7376 2013-06-04 Leo Liu <sdl.web@gmail.com>
7378 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7379 (compilation-auto-jump): Suppress the "Mark set" message to give
7380 way to exit message.
7382 2013-06-04 Alan Mackenzie <acm@muc.de>
7384 Remove faulty optimisation from indentation calculation.
7385 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7386 search limit based on 2000 characters back from indent-point.
7388 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7390 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7392 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7394 * emacs-lisp/lisp.el: Use lexical-binding.
7395 (lisp--local-variables-1, lisp--local-variables): New functions.
7396 (lisp--local-variables-completion-table): New var.
7397 (lisp-completion-at-point): Use it complete let-bound vars.
7399 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7400 eagerly (bug#14422).
7402 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7404 * autorevert.el (auto-revert-notify-enabled)
7405 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7406 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7407 (auto-revert-notify-handler): Handle also gfilenotify.
7409 * subr.el (file-notify-handle-event): New defun. Replacing ...
7410 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7413 2013-06-03 Juri Linkov <juri@jurta.org>
7415 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7416 `M-s h .'. (Bug#14427)
7418 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7419 command `hi-lock-face-symbol-at-point'.
7420 (hi-lock-face-symbol-at-point): New command.
7421 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7422 (hi-lock-menu): Add `highlight-symbol-at-point'.
7423 (hi-lock-mode): Doc fix.
7425 * isearch.el (isearch-forward-symbol-at-point): New command.
7426 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7427 (isearch-highlight-regexp): Add a regexp which matches
7428 words/symbols for word/symbol mode.
7430 * subr.el (find-tag-default-bounds): New function with the body
7431 mostly moved from `find-tag-default'.
7432 (find-tag-default): Move most code to `find-tag-default-bounds',
7433 call it and apply `buffer-substring-no-properties' afterwards.
7435 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7437 * eshell/em-term.el (eshell-term-initialize):
7438 Use `cl-intersection' rather than `intersection'.
7440 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7442 * vc/log-view.el: Doc fix.
7443 (log-view-mode-map): Copy keymap from `special-mode-map'.
7445 2013-06-02 Eric Ludlam <zappo@gnu.org>
7447 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7448 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7449 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7450 (eieio-unbound, eieio-default-superclass)
7451 (eieio--define-field-accessors, method-static, method-before)
7452 (method-primary, method-after, method-num-lists)
7453 (method-generic-before, method-generic-primary)
7454 (method-generic-after, method-num-slots)
7455 (eieio-specialized-key-to-generic-key)
7456 (eieio--check-type, class-v, class-p)
7457 (eieio-class-name, define-obsolete-function-alias)
7458 (eieio-class-parents-fast, eieio-class-children-fast)
7459 (same-class-fast-p, class-constructor, generic-p)
7460 (generic-primary-only-p, generic-primary-only-one-p)
7461 (class-option-assoc, class-option, eieio-object-p)
7462 (class-abstract-p, class-method-invocation-order)
7463 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7464 (eieio-class-un-autoload, eieio-defclass)
7465 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7466 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7467 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7468 (eieio-defgeneric-reset-generic-form)
7469 (eieio-defgeneric-form-primary-only)
7470 (eieio-defgeneric-reset-generic-form-primary-only)
7471 (eieio-defgeneric-form-primary-only-one)
7472 (eieio-defgeneric-reset-generic-form-primary-only-one)
7473 (eieio-unbind-method-implementations)
7474 (eieio--defmethod, eieio--typep)
7475 (eieio-perform-slot-validation, eieio-validate-slot-value)
7476 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7477 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7478 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7479 (eieio-slot-name-index, eieio-class-slot-name-index)
7480 (eieio-set-defaults, eieio-initarg-to-attribute)
7481 (eieio-attribute-to-initarg, eieio-c3-candidate)
7482 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7483 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7484 (eieio-class-precedence-list, eieio-generic-call-methodname)
7485 (eieio-generic-call-arglst, eieio-generic-call-key)
7486 (eieio-generic-call-next-method-list)
7487 (eieio-pre-method-execution-functions, eieio-generic-call)
7488 (eieio-generic-call-primary-only, eieiomt-method-list)
7489 (eieiomt-optimizing-obarray, eieiomt-install)
7490 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7491 (eieio-generic-form, eieio-defmethod, make-obsolete)
7492 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7493 (defclass): Remove `eval-and-compile' from macro.
7494 (call-next-method, shared-initialize): Instead of using
7495 `scoped-class' variable, use new eieio--scoped-class, and
7496 eieio--with-scoped-class.
7497 (initialize-instance): Rename local variable 'scoped-class' to
7498 'this-class' to remove ambiguitity from old global.
7500 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7502 (eieio--scoped-class-stack): New variable.
7503 (eieio--scoped-class): New fcn.
7504 (eieio--with-scoped-class): New scoping macro.
7505 (eieio-defclass): Use pushnew instead of add-to-list.
7506 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7507 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7508 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7509 `scoped-class' variable, use new eieio--scoped-class, and
7510 eieio--with-scoped-class.
7512 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7514 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7516 * eshell/esh-ext.el (eshell-external-command): Pass args to
7517 `eshell-find-interpreter'.
7518 (eshell-find-interpreter): Add new second parameter ARGS.
7520 * eshell/em-script.el (eshell-script-initialize): Add second arg
7521 to the function added as MATCH to `eshell-interpreter-alist'.
7523 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7524 the function added as MATCH to `eshell-interpreter-alist'.
7526 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7527 (eshell-visual-options): New defcustom.
7528 (eshell-escape-control-x): Adapt docstring.
7529 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7530 `eshell-visual-options' in addition to `eshell-visual-commands'.
7531 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7533 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7535 * progmodes/python.el (python-indent-block-enders): Add break,
7536 continue and raise keywords.
7538 2013-06-01 Glenn Morris <rgm@gnu.org>
7540 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7542 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7543 * progmodes/cc-cmds.el (delete-forward-p):
7544 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7545 * progmodes/cc-engine.el (buffer-syntactic-context):
7546 * progmodes/cc-fonts.el (face-property-instance):
7547 * progmodes/cc-mode.el (set-keymap-parents):
7548 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7549 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7550 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7551 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7552 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7554 * progmodes/cc-vars.el (other): Emacs has this widget since
7555 at least 21.1, so don't (re)define it.
7557 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7558 Replace the obsolete alias pcomplete-arg-quote-list.
7560 2013-06-01 Leo Liu <sdl.web@gmail.com>
7562 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7564 (inferior-octave-minimal-columns)
7565 (inferior-octave-last-column-width): New variables.
7566 (inferior-octave-track-window-width-change): New function.
7567 (inferior-octave-mode): Adjust column width so that Octave output,
7568 for example from 'ls', can fit into the window nicely.
7570 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7572 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7573 Highlight expansions inside regexp literals.
7575 2013-05-31 Glenn Morris <rgm@gnu.org>
7577 * obsolete/sym-comp.el (symbol-complete):
7578 Replace obsolete completion-annotate-function.
7580 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7582 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7584 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7585 New function, checks if point is inside a literal that allows
7586 expression expansion.
7587 (ruby-syntax-propertize-expansion): Use it.
7588 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7591 2013-05-30 Juri Linkov <juri@jurta.org>
7593 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7595 (isearch-invisible): New variable.
7596 (isearch-forward): Doc fix.
7597 (isearch-mode): Set `isearch-invisible'
7598 to the value of `search-invisible'.
7599 (isearch-toggle-case-fold): Doc fix.
7600 (isearch-toggle-invisible): New command.
7601 (isearch-query-replace): Let-bind `search-invisible'
7602 to the value of `isearch-invisible'.
7603 (isearch-search): Use `isearch-invisible' instead of
7604 `search-invisible'. Let-bind `search-invisible'
7605 to the value of `isearch-invisible'. (Bug#11378)
7607 2013-05-30 Juri Linkov <juri@jurta.org>
7609 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7610 call when `query-flag' is nil and `search-invisible' is non-nil.
7613 2013-05-30 Glenn Morris <rgm@gnu.org>
7615 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7617 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7618 (cc-require): Suppress spurious "noruntime" warnings.
7619 (cc-require-when-compile): Use fboundp, for sake of compiler.
7621 * progmodes/cc-mode.el: Move load of cc-vars before that of
7622 cc-langs (which in turn loads cc-vars), to quieten compiler.
7624 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7626 * paren.el: Simplify the code.
7627 (show-paren-mode): Always start the timer.
7628 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7629 (show-paren--overlay, show-paren--overlay-1): Rename from
7630 show-paren-overlay and show-paren-overlay-1, and initialize to an
7631 overlay rather than to nil.
7632 (show-paren-function): Misc cleanup and simplifications.
7634 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7636 * paren.el (show-paren-data-function): New hook.
7637 (show-paren--default): New function, extracted from show-paren-function.
7638 (show-paren-function): Use show-paren-data-function.
7640 2013-05-30 Glenn Morris <rgm@gnu.org>
7642 * ielm.el (ielm-map, ielm-complete-symbol):
7643 Use completion-at-point rather than obsolete functions.
7644 (inferior-emacs-lisp-mode): Doc fix.
7645 Set completion-at-point-functions, rather than
7646 comint-dynamic-complete-functions.
7648 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7649 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7650 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7652 * image.el (image-animated-p): Tweak definition.
7654 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7655 (rlogin-process-connection-type): Tweak default. Add set-after.
7656 (rlogin-host): Doc fix.
7657 (rlogin): Tweak prompt.
7658 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7660 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7661 * progmodes/tcl.el (inferior-tcl-mode-map):
7662 Use completion-at-point rather than obsolete alias.
7664 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7666 * minibuffer.el (read-file-name-completion-ignore-case):
7667 Move before completion--in-region, for eager macro expansion.
7669 2013-05-29 Juri Linkov <juri@jurta.org>
7671 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7672 for total count of matching lines. Add `global-matches' for total
7673 count of matches. Rename `matches' to `lines' for count of
7674 matching lines. Add `matches' for count of matches.
7675 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7676 to `prev-line' for line number of prev match endpt.
7677 Increment `matches' for every match. Print the number of
7678 matching lines in the header.
7679 (occur-context-lines): Rename `lines' to `curr-line'.
7680 Rename `prev-lines' to `prev-line'. (Bug#14017)
7682 2013-05-29 Juri Linkov <juri@jurta.org>
7684 * replace.el (perform-replace): Add `skip-read-only-count',
7685 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7686 Increment them for corresponding conditions and report the number
7687 of skipped occurrences in the final message. (Bug#11746)
7688 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7689 (replace-string, replace-regexp): Doc fix.
7691 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7695 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7696 prog-mode-map (bug#14504).
7698 2013-05-29 Leo Liu <sdl.web@gmail.com>
7700 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7701 (octave-help): Small simplification.
7703 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7704 off the highlight first.
7706 2013-05-29 Glenn Morris <rgm@gnu.org>
7708 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7709 Handle idlwave-last-system-routine-info-cons-cell being nil.
7711 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7712 (idlwave-write-paths): Simplify via with-temp-buffer.
7714 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7715 * emulation/cua-rect.el: Also load cua-base at run time.
7717 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7718 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7719 (cperl-imenu-on-info): Require imenu.
7721 2013-05-28 Alan Mackenzie <acm@muc.de>
7723 Handle "capitalised keywords" correctly.
7724 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7726 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7728 * eshell/em-unix.el: Add -r option to cp.
7730 2013-05-28 Glenn Morris <rgm@gnu.org>
7732 * vc/vc-arch.el (vc-exec-after): Declare.
7733 (vc-switches): Autoload.
7734 * vc/vc-bzr.el: No need to require vc when compiling.
7735 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7736 (vc-resynch-buffer, vc-dir-refresh): Declare.
7737 (vc-setup-buffer, vc-switches): Autoload.
7738 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7739 (vc-resynch-buffer): Declare.
7740 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7741 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7742 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7743 (grep-read-regexp, grep-read-files, grep-expand-template)
7744 (vc-dir-refresh): Declare.
7745 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7746 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7747 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7748 * vc/vc-mtn.el (vc-exec-after): Declare.
7749 (vc-switches): Autoload.
7750 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7751 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7752 (vc-file-tree-walk): Declare.
7753 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7754 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7755 (vc-tag-precondition, vc-rename-master): Autoload.
7756 * vc/vc-svn.el (vc-exec-after): Declare.
7757 (vc-switches, vc-setup-buffer): Autoload.
7758 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7760 (vc-resynch-buffer): Declare.
7762 * obsolete/fast-lock.el (byte-compile-warnings):
7763 Don't warn about obsolete features in this obsolete file.
7765 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7766 Move definition before use.
7768 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7769 (dun-unix-verbs): Remove dun-zippy.
7770 (dun-zippy): Remove function.
7772 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7774 2013-05-27 Juri Linkov <juri@jurta.org>
7776 * replace.el (replace-search): New function with code moved out
7777 from `perform-replace'.
7778 (replace-highlight, replace-dehighlight): Move function definitions
7779 up closer to `replace-search'. (Bug#11746)
7781 2013-05-27 Juri Linkov <juri@jurta.org>
7783 * replace.el (perform-replace): Ignore invisible matches.
7784 In addition to checking `query-replace-skip-read-only', also
7785 filter out matches by calling `run-hook-with-args-until-failure'
7786 on `isearch-filter-predicates', and also check `search-invisible'
7787 for t or call `isearch-range-invisible'.
7788 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7790 2013-05-27 Juri Linkov <juri@jurta.org>
7792 * isearch.el (isearch-filter-predicates): Rename from
7793 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7794 (isearch-message-prefix): Display text from the property
7795 `isearch-message-prefix' of the currently active filters.
7796 (isearch-search): Don't compare `isearch-filter-predicate' with
7797 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7798 on `isearch-filter-predicates'. Also check `search-invisible' for t
7799 or call `isearch-range-invisible'.
7800 (isearch-filter-visible): Make obsolete.
7801 (isearch-lazy-highlight-search):
7802 Call `run-hook-with-args-until-failure' on
7803 `isearch-filter-predicates' and use `isearch-range-invisible'.
7805 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7806 `isearch-filter-predicates' instead of `funcall'ing
7807 `isearch-filter-predicate'.
7808 (Info-mode): Set `Info-isearch-filter' to
7809 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7811 * dired-aux.el (dired-isearch-filter-predicate-orig):
7813 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7814 (dired-isearch-filenames-end): Add and remove
7815 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7816 instead of changing the value of `isearch-filter-predicate'.
7817 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7818 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7819 Put property `isearch-message-prefix' to "filename " on
7820 `dired-isearch-filter-filenames'.
7822 * wdired.el (wdired-change-to-wdired-mode):
7823 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7824 locally instead of changing `isearch-filter-predicate'.
7825 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7827 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7829 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7830 return the commit hash (Bug#14459). Also set the
7831 `vc-git-detached' property.
7832 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7833 (vc-git-mode-line-string): Use the same help-echo format whether
7834 in detached mode or not, because we know the actual revision now.
7835 When in detached mode, shorten the revision to 7 chars.
7837 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * emacs-lisp/easy-mmode.el (define-minor-mode):
7840 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7841 mode hook and provide a docstring.
7843 2013-05-27 Alan Mackenzie <acm@muc.de>
7845 Remove spurious syntax-table text properties inserted by C-y.
7846 * progmodes/cc-mode.el (c-after-change): Also clear hard
7847 syntax-table property with value nil.
7849 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7851 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7852 when reading the events; the buffer layout shall not be changed.
7854 2013-05-27 Leo Liu <sdl.web@gmail.com>
7856 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7858 (inferior-octave-directory-tracker): Automatically re-sync
7860 (octave-help): Improve handling of 'See also'.
7862 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7864 * doc-view.el: Minor naming convention tweaks.
7865 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7867 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7868 even if there's no `display' property yet (bug#14435).
7870 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7872 * subr.el (unmsys--file-name): Rename from reveal-filename.
7874 * Makefile.in (custom-deps, finder-data, autoloads)
7875 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7876 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7877 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7879 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7882 error-completion on the first 2 args of condition-case (bug#14446).
7885 2013-05-25 Leo Liu <sdl.web@gmail.com>
7887 * comint.el (comint-previous-matching-input): Do not flood the
7888 *Messages* buffer with trivial messages.
7890 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * progmodes/flymake.el (flymake-nop): Don't return a string.
7893 (flymake-set-at): Fix typo.
7895 * simple.el (read--expression): New function, extracted from
7896 eval-expression. Set completion-at-point-functions (bug#14465).
7897 (eval-expression, eval-minibuffer): Use it.
7899 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7901 * progmodes/flymake.el (flymake-save-buffer-in-file)
7902 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7903 (flymake-selected-frame, flymake-log, flymake-ins-after)
7904 (flymake-set-at, flymake-get-buildfile-from-cache)
7905 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7906 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7907 Refine the doc string.
7908 (flymake-get-file-name-mode-and-masks): Reformat.
7909 (flymake-get-real-file-name-function): Fix a minor bug.
7911 2013-05-24 Juri Linkov <juri@jurta.org>
7913 * progmodes/grep.el (grep-mode-font-lock-keywords):
7914 Support =linenumber= format used by git-grep for lines with
7915 function names. (Bug#13549)
7917 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7920 0 after a semi-colon; it works better for smie-auto-fill.
7921 (octave--indent-new-comment-line): New function.
7922 (octave-indent-new-comment-line): Use it (indirectly).
7923 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7924 modify comment-line-break-function.
7926 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7927 (smie-setup): Use add-function to set it.
7929 2013-05-24 Sam Steingold <sds@gnu.org>
7931 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7932 argument (before the `interactive' argument).
7934 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7936 * image-mode.el (image-mode-winprops): Add winprops to
7937 image-mode-winprops-alist before running
7938 image-mode-new-window-functions.
7939 * doc-view.el (doc-view-new-window-function): Don't delay
7940 doc-view-goto-page via timers (bug#14435).
7942 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7944 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7945 (doc-view-desktop-save-buffer): New function.
7946 (doc-view-restore-desktop-buffer): New function.
7947 (desktop-buffer-mode-handlers):
7948 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7950 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7951 `desktop-save-buffer' function.
7953 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7955 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7956 (tramp-gvfs-file-name-handler): Raise a user error when
7957 `tramp-gvfs-enabled' is nil.
7958 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7959 Do not raise a user error when loading package. (Bug#14447)
7961 * net/xesam.el: Move to obsolete/.
7963 2013-05-24 Glenn Morris <rgm@gnu.org>
7965 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7967 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7969 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7970 (Info-find-node, Man-getpage-in-background): Declare.
7972 * mail/unrmail.el (unrmail):
7973 Replace obsolete detect-coding-with-priority.
7975 * net/socks.el (socks-split-string): Use this rather than split-string.
7976 (socks-nslookup-host): Update for above change.
7977 (dynamic-choice, s5-dynamic-choice-match)
7978 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7979 Comment out unused code.
7981 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7982 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7983 (gud-tooltip-echo-area): Make obsolete.
7984 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7986 * progmodes/js.el (js--optimize-arglist): Declare.
7988 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7990 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7991 (ediff-window-C): Declare.
7993 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7994 Tweak requires to silence compiler.
7996 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7997 (he-search-string, he-tried-table, he-expand-list)
7998 (he-init-string, he-string-member, he-substitute-string)
7999 (he-reset-string): Declare.
8001 * obsolete/options.el (list-options): Use custom-variable-p,
8002 rather than obsolete alias.
8004 2013-05-23 Sam Steingold <sds@gnu.org>
8006 * simple.el (shell-command-on-region): Pass the `replace' argument
8007 down to `call-process-region' to comply with the doc as reported on
8008 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8010 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * emacs-lisp/smie.el (smie-indent-forward-token)
8013 (smie-indent-backward-token): Handle string tokens (bug#14381).
8015 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8017 * ielm.el (ielm-menu): New menu.
8018 (inferior-emacs-lisp-mode): Set comment-start.
8020 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8022 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8023 Fix deactivate action.
8025 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8026 Add cleveref macros.
8028 * lisp/textmodes/reftex-parse.el
8029 (reftex-locate-bibliography-files): Accept options for
8030 bibliography commands.
8031 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8032 Add addbibresource. Basic Biblatex support.
8034 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8036 * net/tramp-gvfs.el (top):
8037 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8038 when loading package. (Bug#14447)
8040 2013-05-23 Glenn Morris <rgm@gnu.org>
8042 * progmodes/js.el: No need to load comint when compiling.
8043 (ring-insert, comint-send-string, comint-send-input)
8044 (comint-last-input-end, ido-chop): Declare.
8046 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8047 * vc/ediff-mult.el: Adjust requires.
8048 (ediff-directories-internal, ediff-directory-revisions-internal)
8049 (ediff-patch-file-internal): Declare.
8050 * vc/ediff-ptch.el: Adjust requires.
8051 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8052 (ediff-find-file): Autoload.
8053 * vc/ediff-util.el: No need to load ediff when compiling.
8054 (ediff-regions-internal): Declare.
8055 * vc/ediff-wind.el: Adjust requires.
8056 (ediff-compute-toolbar-width): Define when compiling.
8057 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8058 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8059 (dired-get-filename, dired-get-marked-files)
8060 (ediff-last-dir-patch, ediff-patch-default-directory)
8061 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8062 (ediff-patch-buffer-internal): Declare.
8064 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8065 (ispell-process, ispell-buffer-local-words, lm-summary)
8066 (lm-section-start, lm-section-end): Declare.
8067 (checkdoc-ispell-init): Simplify.
8069 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8070 (he-string-member, he-reset-string, he-substitute-string): Declare.
8072 * eshell/em-ls.el: Adjust requires.
8073 (eshell-glob-regexp): Declare.
8074 * eshell/em-tramp.el: Adjust requires.
8075 (eshell-parse-command): Autoload.
8076 * eshell/em-xtra.el: Adjust requires.
8077 (eshell-parse-command): Autoload.
8078 * eshell/esh-ext.el: Adjust requires.
8079 (eshell-parse-command, eshell-close-handles): Autoload.
8080 * eshell/esh-io.el: Adjust requires.
8081 (eshell-output-filter): Autoload.
8082 * eshell/esh-util.el: No need to load tramp when compiling.
8083 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8085 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8086 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8087 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8088 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8089 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8090 * eshell/esh-opt.el, eshell/esh-proc.el:
8091 * eshell/esh-var.el: Adjust requires.
8092 * eshell/eshell.el: Do not require esh-util twice.
8093 (eshell-add-input-to-history): Declare.
8094 (eshell-command): Check history module is active before using it.
8096 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8098 2013-05-22 Leo Liu <sdl.web@gmail.com>
8100 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8102 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8104 * autorevert.el (auto-revert-notify-add-watch)
8105 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8106 it indicates changes in file modification time.
8108 2013-05-22 Glenn Morris <rgm@gnu.org>
8110 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8111 Always delete the autoloaded function from the noruntime and
8112 unresolved functions lists.
8114 * allout.el: No need to load epa, epg, overlay when compiling.
8115 (epg-context-set-passphrase-callback, epg-list-keys)
8116 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8117 (epg-key-user-id-list): Declare.
8119 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8120 (viper-set-parsing-style-toggling-macro)
8121 (viper-set-emacs-state-searchstyle-macros):
8122 Use called-interactively-p on Emacs.
8123 (viper-looking-back): Make it an obsolete alias. Update callers.
8124 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8125 Use looking-back rather than viper-looking-back.
8126 (viper-tmp-insert-at-eob, viper-enlarge-region)
8127 (viper-read-string-with-history, viper-register-to-point)
8128 (viper-append-to-register, viper-change-state-to-vi)
8129 (viper-backward-char-carefully, viper-forward-char-carefully)
8130 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8131 (viper-change-state-to-emacs): Declare.
8132 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8133 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8134 * emulation/viper-mous.el: Do not load viper-cmd.
8135 (viper-backward-char-carefully, viper-forward-char-carefully)
8136 (viper-forward-word, viper-adjust-window): Declare.
8138 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8140 * progmodes/idlw-help.el (idlwave-help-fontify):
8141 Use called-interactively-p.
8143 * term/w32console.el (w32-get-console-codepage)
8144 (w32-get-console-output-codepage): Declare.
8146 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8147 Remove unnecessary declarations.
8148 (dframe-message): Doc fix.
8150 * info.el (dframe-select-attached-frame, dframe-current-frame):
8153 * speedbar.el (speedbar-message): Make it an obsolete alias.
8155 (speedbar-with-attached-buffer)
8156 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8157 (speedbar-with-writable): Use backquote.
8158 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8159 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8160 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8161 rather than speedbar- aliases.
8162 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8163 (speedbar-make-specialized-keymap, speedbar-insert-button)
8164 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8165 (speedbar-do-function-pointer): Declare.
8166 (rmail-speedbar-button, rmail-speedbar-find-file)
8167 (rmail-speedbar-move-message):
8168 Use dframe-with-attached-buffer rather than speedbar- alias.
8169 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8170 (dframe-message, speedbar-make-specialized-keymap)
8171 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8172 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8173 (speedbar-insert-button, dframe-select-attached-frame)
8174 (dframe-maybee-jump-to-attached-frame)
8175 (speedbar-change-initial-expansion-list)
8176 (speedbar-previously-used-expansion-list-name): Declare.
8177 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8178 Use dframe-message, dframe-with-attached-buffer rather than
8180 (gud-sentinel): Silence compiler.
8181 * progmodes/vhdl-mode.el (speedbar-refresh)
8182 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8183 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8184 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8185 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8186 (speedbar-file-lists, speedbar-make-tag-line)
8187 (speedbar-line-directory, speedbar-goto-this-file)
8188 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8189 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8190 (speedbar-make-button, speedbar-reset-scanners)
8191 (speedbar-files-item-info, speedbar-line-text)
8192 (speedbar-find-file-in-frame, speedbar-set-timer)
8193 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8194 (speedbar-with-writable): Do not (re)define it.
8195 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8196 rather than speedbar- alias.
8198 2013-05-21 Leo Liu <sdl.web@gmail.com>
8200 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8202 (octave-mode): Tweak fill-nobreak-predicate.
8203 (inferior-octave-startup): Check process to avoid infinite loop.
8204 (inferior-octave): Pop to buffer first to show abornmal process
8207 2013-05-21 Glenn Morris <rgm@gnu.org>
8209 * printing.el (pr-menu-bar): Define when compiling.
8211 2013-05-21 Leo Liu <sdl.web@gmail.com>
8213 * progmodes/octave.el (octave-auto-fill): Remove.
8214 (octave-indent-new-comment-line): Improve.
8215 (octave-mode): Use auto fill mode through
8216 comment-line-break-function and fill-nobreak-predicate.
8217 (octave-goto-function-definition): Support DEFUN_DLD.
8218 (octave-beginning-of-defun): Small tweak.
8219 (octave-help): Show parent directory.
8221 2013-05-21 Glenn Morris <rgm@gnu.org>
8223 * files.el (dired-unmark):
8224 * progmodes/gud.el (gdb-input): Update declarations.
8226 * calculator.el (electric, ehelp): No need to load when compiling.
8227 (Electric-command-loop, electric-describe-mode): Declare.
8229 * doc-view.el (doc-view-current-converter-processes): Move before use.
8231 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8232 Move MODE-set-explicitly definition before use.
8234 * international/mule-diag.el (mule-diag):
8235 Don't use obsolete window-system-version.
8237 * mail/feedmail.el (smtpmail): No need to load when compiling.
8238 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8240 * mail/mail-utils.el (rfc822): No need to load when compiling.
8241 (rfc822-addresses): Autoload it.
8242 (mail-strip-quoted-names): Trivial simplification.
8244 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8245 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8247 * net/snmp-mode.el (tempo): Don't duplicate requires.
8249 * progmodes/prolog.el (info): No need to load when compiling.
8250 (comint): Require before shell requires it.
8251 (Info-goto-node): Autoload it.
8252 (Info-follow-nearest-node): Declare.
8253 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8255 * textmodes/artist.el (picture-mode-exit): Declare.
8257 * textmodes/reftex-parse.el (reftex-parse-from-file):
8258 Trivial rewrite so the compiler can parse it better.
8260 2013-05-20 Leo Liu <sdl.web@gmail.com>
8262 * progmodes/octave.el (octave-help-mode-map)
8263 (octave-help-mode-finish-hook): New variables.
8264 (octave-help-mode, octave-help-mode-finish): New functions.
8265 (octave-help): Use octave-help-mode.
8267 2013-05-20 Glenn Morris <rgm@gnu.org>
8269 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8271 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8273 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8274 start at point, so that expansion starting right after opening
8275 slash in a regexp is recognized.
8276 (ruby-syntax-before-regexp-re): New defvar, extracted from
8277 ruby-syntax-propertize-function. Since the value of this regexp
8278 is looked up at runtime now, we should be able to turn
8279 `ruby-syntax-methods-before-regexp' into a defcustom later.
8280 (ruby-syntax-propertize-function): Split regexp matching into two
8281 parts, for opening and closing slashes. That allows us to skip
8282 over string interpolations and support multiline regexps.
8283 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8284 for them, which calls `ruby-syntax-propertize-expansion'.
8285 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8286 call to `ruby-syntax-propertize-function'.
8287 (ruby-syntax-propertize-expansion): Extracted from
8288 `ruby-syntax-propertize-expansions'. Handles one expansion.
8289 (ruby-syntax-propertize-percent-literal): Leave point right after
8290 the percent symbol, so that the expression expansion rule can
8291 propertize the contents.
8292 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8294 (ruby-syntax-propertize-expansions): Remove.
8296 2013-05-18 Juri Linkov <juri@jurta.org>
8298 * man.el (Man-default-man-entry): Remove `-' from the end
8299 of the default value. (Bug#14400)
8301 2013-05-18 Glenn Morris <rgm@gnu.org>
8303 * comint.el (comint-password-prompt-regexp):
8304 Allow "password for XXX" where XXX contains colons (eg https://...).
8306 2013-05-18 Leo Liu <sdl.web@gmail.com>
8308 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8309 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8310 (octave-source-directories): Don't check process.
8311 (octave-source-directories, octave-find-definition): Doc fix.
8313 2013-05-18 Glenn Morris <rgm@gnu.org>
8315 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8316 Remove backspace/delete bindings. (Bug#14392)
8318 * cus-dep.el (custom-make-dependencies): Sort the output.
8319 (custom-versions-load-alist): Convert comment to doc.
8321 2013-05-17 Leo Liu <sdl.web@gmail.com>
8323 * newcomment.el (comment-search-backward): Stricter in finding
8324 comment start. (Bug#14303)
8326 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8327 (octave-comment-start-skip): Properly anchored.
8329 2013-05-17 Leo Liu <sdl.web@gmail.com>
8331 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8332 Clean up when turned off. (Bug#14395)
8333 (smie--highlight-matching-block-overlay): No longer buffer-local.
8334 (smie-highlight-matching-block): Adjust.
8336 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8338 Doc string fix for "nanoseconds" (Bug#14406).
8339 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8340 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8342 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8344 * calc/calc-units.el (math-extract-units): Preserve powers
8347 2013-05-17 Leo Liu <sdl.web@gmail.com>
8349 * subr.el (delete-consecutive-dups): New function.
8350 * ido.el (ido-set-matches-1): Use it.
8351 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8352 * ido.el (ido-remove-consecutive-dups): Remove.
8354 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8356 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8357 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8358 regexp-opt's `words'.
8360 2013-05-16 Leo Liu <sdl.web@gmail.com>
8362 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8363 (smie--highlight-matching-block-overlay)
8364 (smie--highlight-matching-block-lastpos)
8365 (smie--highlight-matching-block-timer): New variables.
8366 (smie-highlight-matching-block): New function.
8367 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8368 (smie-setup): Conditionally enable smie-blink-matching-open.
8370 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8372 Sync with upstream verilog-mode r840.
8373 * progmodes/verilog-mode.el (verilog-mode-version)
8374 (verilog-mode-release-date): Update.
8375 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8376 (verilog-sig-tieoff): Fix string error on
8377 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8378 (verilog-read-decls): Fix parameters confusing
8379 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8381 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8383 * subr.el (reveal-filename): New function.
8385 * loadup.el: Compute Emacs executable versions on MS-Windows,
8386 where executables have the .exe extension. Add a hard link
8387 emacs-XX.YY.ZZ.exe on MS-Windows.
8389 * Makefile.in (XARGS_LIMIT): New variable.
8390 (custom-deps, finder-data, autoloads)
8391 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8392 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8393 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8394 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8396 2013-05-16 Leo Liu <sdl.web@gmail.com>
8398 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8399 (octave-mode-menu, octave-mode-map): Remove its uses.
8401 2013-05-16 Reto Zimmermann <reto@gnu.org>
8403 Sync with upstream vhdl mode v3.34.2.
8404 * progmodes/vhdl-mode.el: Use `push' throughout.
8405 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8406 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8407 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8408 (vhdl-actual-generic-name): New option to derive actual generic name.
8409 (vhdl-port-paste-signals): Replace formal by actual generics.
8410 (vhdl-beautify): New name for old group vhdl-align. Update users.
8411 (vhdl-beautify-options): New option.
8412 (vhdl-last-input-event): New compat alias. Use throughout.
8413 (vhdl-goto-line): Replace user level function `goto-line'.
8414 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8415 vhdl-fix-statement-buffer.
8416 (vhdl-create-mode-menu): Add some entries.
8417 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8418 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8419 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8420 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8421 to force statements on one line.
8422 (vhdl-remove-trailing-spaces-region):
8423 New, split from vhdl-remove-trailing-spaces.
8424 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8425 Respect vhdl-beautify-options.
8426 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8427 (vhdl-update-sensitivity-list): Not add with index if exists without.
8428 Not include array index with signal. Ignore keywords in comments.
8429 (vhdl-get-visible-signals): Regexp tweaks.
8430 (vhdl-template-component-inst): Handle empty library.
8431 (vhdl-template-type): Add template for 'enum' type.
8432 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8433 Use vhdl-replace-string.
8434 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8435 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8436 (vhdl-speedbar-initialize): Update for above name change.
8437 (vhdl-compose-wire-components): Fix in handling of constants.
8438 (vhdl-error-regexp-emacs-alist): New variable.
8439 (vhdl-error-regexp-add-emacs): New function;
8440 adds support for new compile.el (Emacs 22+)
8441 (vhdl-generate-makefile-1): Change target order for single lib. units.
8442 Allow use of absolute file names.
8444 2013-05-16 Leo Liu <sdl.web@gmail.com>
8446 * simple.el (prog-indent-sexp): Indent enclosing defun.
8448 2013-05-15 Glenn Morris <rgm@gnu.org>
8450 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8451 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8452 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8453 (whitespace-highlight): Move to whitespace group.
8455 * comint.el (comint-source):
8456 * pcmpl-linux.el (pcmpl-linux):
8457 * shell.el (shell-faces):
8458 * eshell/esh-opt.el (eshell-opt):
8459 * international/ccl.el (ccl): Remove empty custom groups.
8461 * completion.el (dynamic-completion-mode):
8462 * jit-lock.el (jit-lock-debug-mode):
8463 * minibuffer.el (completion-in-region-mode):
8464 * type-break.el (type-break-mode-line-message-mode)
8465 (type-break-query-mode):
8466 * emulation/tpu-edt.el (tpu-edt-mode):
8467 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8468 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8469 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8471 * term/xterm.el (xterm): Change parent group to terminals.
8473 * master.el (master): Remove empty custom group.
8474 (master-mode): Remove unused :group argument.
8475 * textmodes/refill.el (refill): Remove empty custom group.
8476 (refill-mode): Remove unused :group argument.
8478 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8480 * cus-dep.el: Provide a feature.
8481 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8482 Don't mistakenly ignore files whose basenames match a basename
8483 from preloaded-file-list (eg cedet/ede/simple.el).
8484 Add a fallback method for getting :group.
8486 2013-05-15 Juri Linkov <juri@jurta.org>
8488 * isearch.el (isearch-char-by-name): Rename from
8489 `isearch-insert-char-by-name'. Doc fix.
8490 (isearch-forward): Mention `isearch-char-by-name' in
8491 the docstring. (Bug#13348)
8493 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8494 `exit-minibuffer' instead of
8495 `isearch-nonincremental-exit-minibuffer'.
8496 (isearch-edit-string): Remove mention of
8497 `isearch-nonincremental-exit-minibuffer' from docstring.
8498 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8499 (isearch-forward-exit-minibuffer)
8500 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8502 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * loadup.el: Just use unversioned DOC.
8506 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8507 literals as extending to EOB.
8508 (nxml-last-fontify-end): Remove unused variable.
8509 (nxml-after-change1): Use with-silent-modifications.
8510 (nxml-extend-after-change-region): Simplify.
8511 (nxml-extend-after-change-region1): Remove function.
8512 (nxml-after-change1): Don't adjust for dependent regions.
8513 (nxml-fontify-matcher): Simplify.
8514 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8515 (xmltok-add-dependent): Remove function.
8516 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8517 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8518 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8519 unclosed <[[, <?, comment, and other literals as extending to EOB.
8520 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8521 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8523 (rng-do-some-validation-1): Don't mark dependent regions.
8524 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8525 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8526 (nxml-clear-dependent-regions): Remove functions.
8527 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8528 (nxml-ensure-scan-up-to-date):
8529 Don't clear&mark dependent regions.
8531 2013-05-15 Leo Liu <sdl.web@gmail.com>
8533 * progmodes/octave.el (octave-goto-function-definition):
8534 Improve and fix callers.
8536 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8538 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8539 the setter (bug#14387).
8541 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8542 surrounding group (bug#14402).
8544 2013-05-14 Juri Linkov <juri@jurta.org>
8546 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8549 2013-05-14 Glenn Morris <rgm@gnu.org>
8551 * progmodes/f90.el (f90-imenu-generic-expression):
8552 Fix typo in 2013-05-08 change. (Bug#14402)
8554 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8556 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8557 Remove signals for which replies are never received.
8559 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8561 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8562 (gdb-handler-alist, gdb-handler-number): Remove variables.
8563 (gdb-handler-list): New variable.
8564 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8565 (gdb-pending-handler-p, gdb-handle-reply)
8566 (gdb-remove-all-pending-triggers): New functions.
8567 (gdb-discard-unordered-replies): New defcustom.
8568 (gdb-handler): New defstruct.
8569 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8570 instead of gdb-pending-triggers. Update docstring.
8571 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8572 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8573 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8574 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8575 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8576 (gdb-frame-handler): Pending triggers are now automatically managed.
8577 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8579 (gdb-input): Automatically handles pending triggers. Update docstring.
8580 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8581 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8583 (gdb-done-or-error): Now use gdb-handle-reply.
8585 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8587 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8590 2013-05-14 Glenn Morris <rgm@gnu.org>
8592 * subr.el (user-emacs-directory-warning): New option.
8593 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8595 2013-05-14 Leo Liu <sdl.web@gmail.com>
8597 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8599 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8600 (octave-font-lock-texinfo-comment): Fix invalid search bound
8601 error: wrong side of point.
8603 2013-05-14 Glenn Morris <rgm@gnu.org>
8605 * progmodes/flymake.el (flymake-xml-program): New option.
8606 (flymake-xml-init): Use it.
8608 * term/xterm.el: Provide a feature.
8610 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8612 2013-05-13 Glenn Morris <rgm@gnu.org>
8614 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8615 Add compat aliases as a hack workaround. (Bug#14384)
8617 2013-05-13 Leo Liu <sdl.web@gmail.com>
8619 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8621 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8623 (octave-comment-start-skip): Include %!.
8624 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8626 2013-05-12 Leo Liu <sdl.web@gmail.com>
8628 * progmodes/octave.el (inferior-octave-startup): Store the value
8629 of __octave_srcdir__ for octave-source-directories.
8630 (inferior-octave-check-process): New function refactored out of
8631 inferior-octave-send-list-and-digest.
8632 (octave-source-directories)
8633 (octave-find-definition-filename-function): New variables.
8634 (octave-source-directories)
8635 (octave-find-definition-default-filename): New functions.
8636 (octave-find-definition): Improve to find functions implemented in C++.
8638 2013-05-12 Glenn Morris <rgm@gnu.org>
8640 * calendar/diary-lib.el (diary-outlook-format-1):
8641 Don't include dayname in the output. (Bug#14349)
8643 2013-05-11 Glenn Morris <rgm@gnu.org>
8645 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8647 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8648 Treat cc-provide like provide.
8650 2013-05-11 Kevin Ryde <user42@zip.com.au>
8652 * cus-dep.el (custom-make-dependencies):
8653 Use generated-autoload-load-name for the sake of files such
8654 such cedet/semantic/bovine/c.el, where the base file name
8655 is not in load-path. (Bug#5277)
8657 2013-05-11 Glenn Morris <rgm@gnu.org>
8659 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8662 2013-05-11 Leo Liu <sdl.web@gmail.com>
8664 * progmodes/octave.el (octave-indent-comment): Improve.
8665 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8666 (octave-eldoc-function-signatures, octave-eldoc-function):
8668 (octave-mode, inferior-octave-mode): Add eldoc support.
8670 2013-05-11 Richard Stallman <rms@gnu.org>
8672 * epa.el (epa-decrypt-file): Take output file name as argument
8673 and read it using `interactive'.
8675 2013-05-11 Leo Liu <sdl.web@gmail.com>
8677 * progmodes/octave.el (octave-beginning-of-line)
8678 (octave-end-of-line): Check before using up-list because it jumps
8679 out of more syntactic contructs since moving to smie.
8680 (octave-indent-comment): New function.
8681 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8682 (octave-begin-keywords, octave-end-keywords)
8683 (octave-reserved-words, octave-smie-bnf-table)
8684 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8686 2013-05-11 Glenn Morris <rgm@gnu.org>
8688 * faces.el (internal-face-x-get-resource):
8689 * frame.el (ns-display-monitor-attributes-list):
8690 * calc/calc-aent.el (math-to-radians-2):
8691 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8694 * calc/calc-menu.el: Make it loadable in isolation.
8696 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8697 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8698 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8699 (eudc-bbdb-query-internal): Require 'bbdb.
8701 * lpr.el (lpr-headers-switches):
8702 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8704 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8706 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8708 * term.el (term-set-escape-char): Make it idempotent.
8710 2013-05-10 Leo Liu <sdl.web@gmail.com>
8712 * progmodes/octave.el (inferior-octave-completion-table):
8713 No longer a function and all uses changed. Use cache to speed up
8714 completion due to bug#11906.
8715 (octave-beginning-of-defun): Re-write to be more general.
8717 2013-05-10 Glenn Morris <rgm@gnu.org>
8719 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8721 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8723 * comint.el (comint-redirect-send-command-to-process): Use :around
8724 rather than :override for comint-redirect-filter.
8725 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8726 Call it instead of comint-redirect-original-filter-function (which
8727 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8729 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8731 * frame.el (display-monitor-attributes-list): Add NS case.
8732 (ns-display-monitor-attributes-list): Declare.
8734 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8736 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8738 2013-05-09 Glenn Morris <rgm@gnu.org>
8740 * international/fontset.el (vertical-centering-font-regexp):
8743 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8745 * bookmark.el (bookmark-search-delay):
8746 * cus-start.el (vertical-centering-font-regexp):
8747 * ps-mule.el (ps-mule-font-info-database-default):
8748 * ps-print.el (ps-default-fg, ps-default-bg):
8749 * type-break.el (type-break-good-break-interval):
8750 * whitespace.el (whitespace-indentation-regexp)
8751 (whitespace-space-after-tab-regexp):
8752 * emacs-lisp/testcover.el (testcover-1value-functions)
8753 (testcover-noreturn-functions, testcover-progn-functions)
8754 (testcover-prog1-functions):
8755 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8756 * eshell/em-glob.el (eshell-glob-translate-alist):
8757 * play/tetris.el (tetris-tty-colors):
8758 * progmodes/cpp.el (cpp-face-default-list):
8759 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8760 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8761 (idlwave-help-browser-generic-args):
8762 * progmodes/make-mode.el (makefile-special-targets-list):
8763 * progmodes/python.el (python-shell-virtualenv-path):
8764 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8765 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8766 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8767 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8768 * textmodes/reftex-vars.el (reftex-format-label-function):
8769 * textmodes/remember.el (remember-diary-file): Fix custom types.
8771 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8774 2013-05-09 Leo Liu <sdl.web@gmail.com>
8776 * progmodes/octave.el (inferior-octave-completion-at-point):
8777 Restore file completion. (Bug#14300)
8778 (inferior-octave-startup): Fix incorrect highlighting for the
8781 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8783 * progmodes/ruby-mode.el: First cut at SMIE support.
8784 (ruby-use-smie): New var.
8785 (ruby-smie-grammar): New constant.
8786 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8787 (ruby-smie--forward-token, ruby-smie--backward-token)
8788 (ruby-smie-rules): New functions.
8789 (ruby-mode-variables): Setup SMIE if applicable.
8791 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8793 * simple.el (line-move-visual): Signal beginning/end of buffer
8794 only if vertical-motion moved less than it was requested. Avoids
8795 silly incorrect error messages when there are display strings with
8796 multiple newlines at EOL.
8798 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8800 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8801 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8802 (prolog-char-quote-workaround):
8803 * progmodes/cperl-mode.el (cperl-under-as-char):
8804 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8806 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8808 (vhdl-mode-syntax-table-init): Remove.
8810 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8813 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8815 (ld-script-font-lock-keywords):
8816 Change regexps to use things like \_< and \_>.
8818 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8819 Change all regexps to use things like \_< and \_>.
8821 * progmodes/autoconf.el (autoconf-definition-regexp)
8822 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8823 Handle a _ with symbol syntax.
8824 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8826 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8827 Consolidate declaration.
8828 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8830 (ada-create-syntax-table): Remove.
8831 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8832 already has the right syntax nowadays.
8833 (ada-goto-next-word): Don't change the syntax of "_".
8835 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8838 2013-05-08 Sam Steingold <sds@gnu.org>
8840 * thingatpt.el (thing-at-point): Accept optional second argument
8841 NO-PROPERTIES to strip the text properties from the return value.
8842 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8843 to `thing-at-point' instead of stripping the properties ourselves.
8844 Also, when `thing-at-point' fails to find a url, prepend "http://"
8845 to the filename at point on the assumption that the user is
8846 pointing at something like gnu.org/gnu.
8848 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8850 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8851 * faces.el (crm-separator):
8852 Silence byte-compiler.
8854 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8855 (tool-bar-map): Remove unneeded defvars.
8857 2013-05-08 Leo Liu <sdl.web@gmail.com>
8859 Re-work a fix for bug#10994 based on Le Wang's patch.
8860 * ido.el (ido-remove-consecutive-dups): New helper.
8861 (ido-completing-read): Use it.
8862 (ido-chop): Revert fix for bug#10994.
8864 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8866 * cus-edit.el (custom-save-variables):
8867 Pretty-print long values. (Bug#14187)
8869 2013-05-08 Glenn Morris <rgm@gnu.org>
8871 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8872 (m4-mode-syntax-table): Init in the defvar.
8873 (m4-mode-abbrev-table): Let define-derived-mode define it.
8875 2013-05-08 Tom Tromey <tromey@redhat.com>
8877 * progmodes/m4-mode.el (m4-mode-syntax-table):
8878 Do not treat "_" as word constituent. (Bug#14167)
8880 2013-05-07 Glenn Morris <rgm@gnu.org>
8882 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8883 Remove explicit eshell-isearch-cancel-map.
8885 * progmodes/f90.el (f90-smart-end-names): New option.
8886 (f90-smart-end): Doc fix.
8887 (f90-end-block-optional-name): New constant.
8888 (f90-block-match): Respect f90-smart-end-names.
8890 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8893 about implicit semi-colons (bug#14218).
8895 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8897 * frame.el (display-monitor-attributes-list)
8898 (frame-monitor-attributes): New functions.
8900 2013-05-06 Leo Liu <sdl.web@gmail.com>
8902 * progmodes/octave.el (octave-syntax-propertize-function): Change
8903 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8904 (octave-font-lock-keywords): Use octave-operator-regexp.
8905 (octave-completion-at-point): Rename from
8906 octave-completion-at-point-function.
8907 (inferior-octave-directory-tracker): Robustify.
8908 (octave-text-functions): Remove and fix its uses. No such things
8911 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8913 * emacs-lisp/trace.el (trace--display-buffer): New function.
8914 (trace-make-advice): Use it.
8916 2013-05-06 Juri Linkov <juri@jurta.org>
8918 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8919 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8921 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8922 in the help string. (Bug#12985)
8924 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8926 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8928 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * progmodes/perl-mode.el: Add support for here documents.
8931 (perl-syntax-propertize-function): Match here-doc markers.
8932 (perl-syntax-propertize-special-constructs): Find their end.
8933 (perl-imenu-generic-expression): Use [:alnum:].
8935 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8936 (advice--add-function): Refresh the advice if already present
8939 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8941 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8943 2013-05-06 Glenn Morris <rgm@gnu.org>
8945 * w32-fns.el (w32-charset-info-alist): Declare.
8947 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8948 of its defcustom properties.
8949 (eshell-cmpl-initialize): No need to load pcomplete.
8951 * generic-x.el: No need to require comint when compiling.
8953 * net/eudc-export.el: Make it loadable without bbdb.
8954 (top-level): Use require rather than load-library.
8955 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8956 (eudc-batch-export-records-to-bbdb)
8957 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8960 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8962 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8963 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8964 some tweaks, instead.
8966 2013-05-05 Leo Liu <sdl.web@gmail.com>
8968 * progmodes/octave.el (octave-font-lock-keywords)
8969 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8970 (inferior-octave-send-list-and-digest): Improve error message.
8971 (octave-mode, inferior-octave-mode): Use setq-local.
8972 (octave-help): Set info-lookup-mode.
8974 2013-05-05 Richard Stallman <rms@gnu.org>
8976 * vc/compare-w.el (compare-windows-whitespace):
8977 Treat no-break space as whitespace.
8979 * mail/rmailsum.el (rmail-summary-rmail-update):
8980 Detect empty summary and don't change selected message.
8981 (rmail-summary-goto-msg): Likewise.
8983 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8984 Doc fixes, rename args.
8986 2013-05-05 Alan Mackenzie <acm@muc.de>
8988 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8990 2013-05-05 Juri Linkov <juri@jurta.org>
8992 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8993 to not add the length of the summary segment to the return value.
8996 2013-05-05 Leo Liu <sdl.web@gmail.com>
8998 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8999 (inferior-octave-output-filter): Remove.
9000 (octave-send-region, inferior-octave-startup): Fix callers.
9001 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9002 (octave-binary-file-extensions): New user variable.
9003 (octave-find-definition): Confirm if opening binary files.
9004 (octave-help-file): Use octave-find-definition to get the binary
9006 (octave-help): Adjust for octave-help-file change.
9008 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9011 Merge the two entries that handle function definitions.
9012 (pascal--syntax-propertize): New const.
9013 (pascal-mode): Use it. Use setq-local.
9015 2013-05-04 Glenn Morris <rgm@gnu.org>
9017 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9018 (diary-from-outlook): Respect diary-from-outlook-function.
9020 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9022 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9023 Move the declaration from C.
9024 (read-minibuffer, eval-minibuffer): Move from C.
9025 (completion-setup-function): Avoid minibuffer-completion-contents.
9027 2013-05-03 Leo Liu <sdl.web@gmail.com>
9029 * progmodes/octave.el (octave-font-lock-keywords): Do not
9030 dehighlight 'end' in comments or strings.
9031 (octave-completing-read, octave-goto-function-definition):
9033 (octave-help-buffer): New user variable.
9034 (octave-help-file, octave-help-function): New button types.
9035 (octave-help): New command and bind it to C-h ;.
9036 (octave-find-definition): New command and bind it to M-.
9037 (user-error): Alias to error if not defined.
9039 2013-05-02 Leo Liu <sdl.web@gmail.com>
9041 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9043 (octave-font-lock-keywords): Include [ and {.
9045 2013-05-02 Leo Liu <sdl.web@gmail.com>
9047 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9048 (inferior-octave): Remove calling comint-mode and return the buffer.
9049 (inferior-octave-startup): Cosmetic changes.
9051 2013-05-02 Leo Liu <sdl.web@gmail.com>
9053 * progmodes/octave.el (octave-syntax-propertize-function):
9054 Include the case when ' is at line beginning. (Bug#14336)
9056 2013-05-02 Glenn Morris <rgm@gnu.org>
9058 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9059 * desktop.el (vc-dir-mode): Just autoload it here.
9061 2013-05-02 Alan Mackenzie <acm@muc.de>
9063 Eliminate variable c-standard-font-lock-fontify-region-function.
9064 * progmodes/cc-mode.el
9065 (c-standard-font-lock-fontify-region-function): Remove.
9066 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9068 2013-05-01 Leo Liu <sdl.web@gmail.com>
9070 * progmodes/octave.el: Compatible with older emacs-24 releases.
9071 (inferior-octave-has-built-in-variables): Remove. Built-in
9072 variables were removed from Octave in 2007.
9073 (inferior-octave-startup): Fix uses.
9074 (comint-line-beginning-position): Remove compatibility code for
9077 2013-05-01 Juri Linkov <juri@jurta.org>
9079 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9081 2013-05-01 Juri Linkov <juri@jurta.org>
9083 * comint.el (comint-previous-matching-input): Don't print message
9084 "History item: %d" when `isearch-mode' is active.
9085 (comint-history-isearch-message): Print message "History item: %d"
9086 when `comint-input-ring-index' is not empty and this function is
9087 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9089 2013-05-01 Leo Liu <sdl.web@gmail.com>
9091 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9092 definitions. Use completion-at-point to insert keywords.
9093 (octave-abbrev-start): Remove.
9094 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9096 2013-04-30 Leo Liu <sdl.web@gmail.com>
9098 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9101 2013-04-30 Alan Mackenzie <acm@muc.de>
9103 Handle arbitrarily long C++ member initialisation lists.
9104 * progmodes/cc-engine.el (c-back-over-member-initializers):
9106 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9107 (most) member init lists.
9109 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9111 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9114 2013-04-30 Leo Liu <sdl.web@gmail.com>
9116 * progmodes/octave.el (octave-variables): Remove. No builtin
9117 variables any more. All converted to functions.
9118 (octave-font-lock-keywords, octave-completion-at-point-function):
9120 (octave-font-lock-texinfo-comment): New user variable.
9121 (octave-texinfo-font-lock-keywords): New variable for texinfo
9123 (octave-function-comment-block): New face.
9124 (octave-font-lock-texinfo-comment): New function.
9125 (octave-mode): Font lock texinfo comment block.
9127 2013-04-29 Leo Liu <sdl.web@gmail.com>
9129 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9130 indexing expression.
9131 (octave-continuation-string): Do not use \.
9132 (inferior-octave-complete-impossible): Remove.
9133 (inferior-octave-completion-table)
9134 (inferior-octave-completion-at-point): Remove its uses.
9135 (inferior-octave-startup): completion_matches was introduced to
9136 Octave in 1996 so safe to assume it.
9137 (octave-function-file-comment): Improve to follow how Octave does it.
9138 (octave-update-function-file-comment): Tweak.
9140 2013-04-29 Leo Liu <sdl.web@gmail.com>
9142 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9143 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9144 (octave-function-file-comment): Fix typo.
9145 (octave-sync-function-file-names): Use read-char-choice.
9147 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9149 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9150 to t for the less important warnings.
9152 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9154 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9156 2013-04-27 Glenn Morris <rgm@gnu.org>
9158 * vc/log-view.el (log-view-current-entry):
9159 Treat "---" separator lines as part of the following rev. (Bug#14169)
9161 2013-04-27 Juri Linkov <juri@jurta.org>
9163 * subr.el (read-number): Doc fix about using it by interactive
9164 code letter `n'. (Bug#14254)
9166 2013-04-27 Juri Linkov <juri@jurta.org>
9168 * desktop.el (desktop-auto-save-timeout): New option.
9169 (desktop-file-checksum): New variable.
9170 (desktop-save): Add optional arg `auto-save' and don't auto-save
9172 (desktop-auto-save-timer): New variable.
9173 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9174 (after-init-hook): Call `desktop-auto-save-set-timer'.
9175 Suggested by Reuben Thomas <rrt@sc3d.org> in
9176 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9178 2013-04-27 Leo Liu <sdl.web@gmail.com>
9180 * progmodes/octave.el (octave-function-file-p)
9181 (octave-skip-comment-forward, octave-function-file-comment)
9182 (octave-update-function-file-comment): New functions.
9183 (octave-mode-map): Bind C-c ; to
9184 octave-update-function-file-comment.
9185 (octave-mode-menu): Add octave-update-function-file-comment.
9186 (octave-mode, inferior-octave-mode): Fix doc-string.
9187 (octave-insert-defun): Conform to Octave's coding convention.
9190 * files.el (basic-save-buffer): Don't let errors in
9191 before-save-hook prevent saving buffer.
9193 2013-04-20 Roland Winkler <winkler@gnu.org>
9195 * faces.el (read-face-name): Use completing-read if arg multiple
9198 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9200 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9201 displayed, move point to after the totals line.
9202 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9205 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9208 Add current dir to the load-path.
9209 (package-generate-autoloads): Don't rely on
9210 autoload-ensure-default-file.
9212 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9214 * textmodes/remember.el (remember-store-in-files): Document that
9215 the file name format is passed to `format-time-string'.
9217 2013-04-26 Leo Liu <sdl.web@gmail.com>
9219 * progmodes/octave.el (octave-sync-function-file-names): New function.
9220 (octave-mode): Use it in before-save-hook.
9222 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9224 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9227 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9228 \n and comment, even if it's not an implicit ; (bug#14218).
9230 2013-04-26 Glenn Morris <rgm@gnu.org>
9232 * subr.el (read-number): Once more use `read' rather than
9233 `string-to-number', to trap non-numeric input. (Bug#14254)
9235 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9237 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9238 Use `syntax-multiline' text property consistently instead of
9239 `font-lock-multiline'. (Bug#14237)
9241 2013-04-26 Glenn Morris <rgm@gnu.org>
9243 * emacs-lisp/shadow.el (list-load-path-shadows):
9244 No longer necessary to check for duplicate simple.el, since
9245 2012-07-07 change to init_lread to not include installation lisp
9246 directories in load-path when running uninstalled. (Bug#14270)
9248 2013-04-26 Leo Liu <sdl.web@gmail.com>
9250 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9251 (octave-mode, inferior-octave-mode): Use setq-local.
9252 (octave-not-in-string-or-comment-p): Rename to
9253 octave-in-string-or-comment-p.
9254 (octave-in-comment-p, octave-in-string-p)
9255 (octave-in-string-or-comment-p): Replace defsubst with defun.
9257 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9259 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9261 2013-04-25 Bastien Guerry <bzg@gnu.org>
9263 * textmodes/remember.el (remember-data-directory)
9264 (remember-directory-file-name-format): Fix custom types.
9266 2013-04-25 Leo Liu <sdl.web@gmail.com>
9268 * progmodes/octave.el (octave-completion-at-point-function):
9269 Make use of inferior octave process.
9270 (octave-initialize-completions): Remove.
9271 (inferior-octave-completion-table): New function.
9272 (inferior-octave-completion-at-point): Use it.
9273 (octave-completion-alist): Remove.
9275 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9278 (opascal-mode-syntax-table): New var.
9279 (opascal-literal-kind, opascal-is-literal-end)
9280 (opascal-literal-token-at): Rewrite.
9281 (opascal--literal-start-re, opascal-font-lock-keywords)
9282 (opascal--syntax-propertize): New constants.
9283 (opascal-font-lock-defaults): Adjust.
9284 (opascal-mode): Use them. Set comment-<foo> variables as well.
9285 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9286 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9287 (delphi-other-face, opascal-other-face): Remove face variables.
9288 (opascal-save-state): Remove macro.
9289 (opascal-fontifying-progress-step): Remove constant.
9290 (opascal--ignore-changes): Remove var.
9291 (opascal-set-token-property, opascal-parse-next-literal)
9292 (opascal-is-stable-literal, opascal-complete-literal)
9293 (opascal-is-literal-start, opascal-face-of)
9294 (opascal-parse-region, opascal-parse-region-until-stable)
9295 (opascal-fontify-region, opascal-after-change)
9296 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9297 (opascal-debug-parse-region, opascal-debug-parse-window)
9298 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9299 (opascal-debug-fontify-buffer): Remove.
9300 (opascal-debug-mode-map): Adjust accordingly.
9302 2013-04-25 Leo Liu <sdl.web@gmail.com>
9304 Merge octave-mod.el and octave-inf.el into octave.el with some
9306 * progmodes/octave.el: New file renamed from octave-mod.el.
9307 * progmodes/octave-inf.el: Merged into octave.el.
9308 * progmodes/octave-mod.el: Renamed to octave.el.
9310 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9312 * textmodes/reftex-vars.el
9313 (reftex-label-ignored-macros-and-environments): New defcustom.
9315 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9317 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9320 (smie-indent-keyword): Improve the check to ensure that the next
9321 comment is really on the same line.
9322 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9324 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9325 semi-colons if the line is not otherwise empty (bug#14218).
9327 2013-04-25 Glenn Morris <rgm@gnu.org>
9329 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9331 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9333 * progmodes/opascal.el (opascal-set-token-property): Rename from
9334 opascal-set-text-properties and only set `token' (bug#14134).
9335 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9336 (opascal-literal-text-properties): Remove.
9337 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9340 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9342 * textmodes/remember.el (remember-handler-functions): Add an
9343 option for a new handler `remember-store-in-files'.
9344 (remember-data-directory, remember-directory-file-name-format):
9346 (remember-store-in-files): New function to store remember notes
9347 as separate files within a directory.
9349 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9351 * progmodes/compile.el (compilation-next-error-function):
9352 Pass "formats" to compilation-find-file (bug#11777).
9354 2013-04-24 Glenn Morris <rgm@gnu.org>
9356 * vc/vc-bzr.el (vc-bzr-print-log):
9357 * vc/vc-hg.el (vc-hg-print-log):
9358 * vc/vc-svn.el (vc-svn-print-log):
9359 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9361 * vc/vc-bzr.el (vc-bzr-print-log):
9362 * vc/vc-cvs.el (vc-cvs-print-log):
9363 * vc/vc-git.el (vc-git-print-log):
9364 * vc/vc-hg.el (vc-hg-print-log):
9365 * vc/vc-mtn.el (vc-mtn-print-log):
9366 * vc/vc-rcs.el (vc-rcs-print-log):
9367 * vc/vc-sccs.el (vc-sccs-print-log):
9368 * vc/vc-svn.el (vc-svn-print-log):
9369 * vc/vc.el (vc-print-log-internal): Doc fixes.
9371 2013-04-23 Glenn Morris <rgm@gnu.org>
9373 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9374 Remove venerable code attempting to avoid substitute-command-keys.
9376 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9378 * textmodes/reftex-vars.el (reftex-label-regexps):
9379 Call `reftex-compile-variables' after changes to this variable.
9381 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9383 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9384 Use lexical-binding.
9385 (jit-lock-force-redisplay): Use markers, check buffer's continued
9386 existence and beware narrowed buffers.
9387 (jit-lock-fontify-now): Adjust call accordingly.
9389 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9391 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9392 to avoid misleading the user.
9394 2013-04-22 Leo Liu <sdl.web@gmail.com>
9396 * info-look.el: Prefer latex2e.info. (Bug#14240)
9398 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9400 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9402 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9403 * net/tramp.el (tramp-call-process): ... here.
9404 (tramp-set-completion-function, tramp-parse-putty):
9405 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9406 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9407 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9408 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9409 (tramp-call-local-coding-command): Use `tramp-call-process'
9410 instead of `tramp-compat-call-process'.
9412 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9413 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9414 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9415 (tramp-find-inline-compress): Improve traces.
9416 (tramp-maybe-send-script): Check for Perl binary.
9417 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9419 2013-04-22 Daiki Ueno <ueno@gnu.org>
9421 * epg.el (epg-context-pinentry-mode): New function.
9422 (epg-context-set-pinentry-mode): New function.
9423 (epg--start): Pass --pinentry-mode option to gpg command.
9425 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9427 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9428 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9429 `completion-at-point'. (Bug#13774)
9431 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9432 default key binding for `describe-distribution' has been moved to
9433 `C-h C-o'. (Bug#13970)
9435 2013-04-21 Glenn Morris <rgm@gnu.org>
9437 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9439 (vc-print-log): Clarify interactive prompt.
9441 2013-04-20 Glenn Morris <rgm@gnu.org>
9443 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9444 No longer include timestamp etc information.
9446 2013-04-20 Roland Winkler <winkler@gnu.org>
9448 * faces.el (read-face-name): Bug fix, return just one face if arg
9449 multiple is nil. (Bug#14209)
9451 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9453 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9454 (remove-function): Autoload.
9456 * comint.el (comint-redirect-original-filter-function): Remove.
9457 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9458 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9459 (vc-cvs-annotate-command):
9460 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9461 * progmodes/prolog.el (prolog-consult-compile):
9462 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9463 Use add/remove-function instead.
9464 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9465 (gud-tooltip-process-output, gud-tooltip-tips):
9466 Use add/remove-function instead.
9467 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9468 (scheme-interaction-mode, exit-scheme-interaction-mode):
9469 Use add/remove-function instead.
9471 * vc/vc-dispatcher.el: Use lexical-binding.
9472 (vc--process-sentinel): Rename from vc-process-sentinel.
9473 Change last arg to be the code to run. Don't use vc-previous-sentinel
9474 and vc-sentinel-commands any more.
9475 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9476 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9478 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9480 * progmodes/sh-script.el (sh-imenu-generic-expression):
9481 Handle function names with a single character. (Bug#14111)
9483 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9485 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9486 for subroutines defined in an eval (bug#14182).
9488 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9490 * bookmark.el (bookmark-completing-read): Improve handling of empty
9493 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9495 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9497 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9499 New faster Imenu implementation (bug#14058).
9500 * progmodes/python.el:
9501 (python-imenu-prev-index-position):
9502 (python-imenu-format-item-label-function)
9503 (python-imenu-format-parent-item-label-function)
9504 (python-imenu-format-parent-item-jump-label-function):
9506 (python-imenu-format-item-label)
9507 (python-imenu-format-parent-item-label)
9508 (python-imenu-format-parent-item-jump-label)
9509 (python-imenu--put-parent, python-imenu--build-tree)
9510 (python-imenu-create-index, python-imenu-create-flat-index)
9511 (python-util-popn): New functions.
9512 (python-mode): Set imenu-create-index-function to
9513 python-imenu-create-index.
9515 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9517 * winner.el (winner-active-region): Use region-active-p, activate-mark
9518 and deactivate-mark (bug#14225).
9520 * simple.el (deactivate-mark): Don't inline it.
9522 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9524 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9526 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9528 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9529 file extensions from the archive-mode entry in order to prefer
9530 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9532 2013-04-18 Leo Liu <sdl.web@gmail.com>
9534 * bindings.el (help-event-list): Add ?\?.
9536 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * subr.el (with-wrapper-hook): Declare obsolete.
9539 * simple.el (filter-buffer-substring-function): New hook.
9540 (filter-buffer-substring): Use it.
9541 (filter-buffer-substring-functions): Mark obsolete.
9542 * minibuffer.el (completion-in-region-function): New hook.
9543 (completion-in-region): Use it.
9544 (completion-in-region-functions): Mark obsolete.
9545 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9546 * abbrev.el (abbrev-expand-function): New hook.
9547 (expand-abbrev): Use it.
9548 (abbrev-expand-functions): Mark obsolete.
9549 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9552 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9554 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9555 and do not care about match data.
9557 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9559 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9560 completion tables when completing error conditions and
9561 `declare' arguments.
9562 (lisp-complete-symbol, field-complete): Mark as obsolete.
9563 (check-parens): Unmatched parens are user errors.
9564 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9566 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9568 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9569 command changed buffer (ie. `flyspell-pre-buffer' is not current
9570 buffer), which prevents making decisions based on invalid value of
9571 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9572 cause an error when `flyspell-pre-point' was nil after switching
9574 (flyspell-post-command-hook): No longer needs to change buffers when
9575 checking pre-word. While at it remove unnecessary progn.
9577 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9579 * textmodes/ispell.el (ispell-add-per-file-word-list):
9580 Fix `flyspell-correct-word-before-point' error when accepting
9581 words and `coment-padding' is an integer by using
9582 `comment-normalize-vars' (Bug #14214).
9584 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9586 New defun movement commands.
9587 * progmodes/python.el (python-nav--syntactically)
9588 (python-nav--forward-defun, python-nav-backward-defun)
9589 (python-nav-forward-defun): New functions.
9591 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9593 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9594 (python-syntax-context): Use named compiler-macro for backwards
9595 compatibility with Emacs 24.x.
9597 2013-04-17 Leo Liu <sdl.web@gmail.com>
9599 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9600 octave-hide-process-buffer.
9602 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9607 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9609 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9610 Fix adjustment of offset when receiving incomplete responses from GDB
9613 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9615 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9616 python-mode-abbrev-table.
9617 (python-skeleton-define): Adjust accordingly.
9618 (python-mode-abbrev-table): New table that inherits from it so that
9619 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9621 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9622 (abbrev-symbol): Use it.
9623 (abbrev--before-point): Use it since we already handle inheritance.
9625 2013-04-16 Leo Liu <sdl.web@gmail.com>
9627 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9628 binding to info-lookup-symbol.
9630 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9632 * minibuffer.el (completion--twq-all):
9633 * term/ns-win.el (ns-initialize-window-system):
9634 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9636 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9638 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9641 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9643 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9645 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9646 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9648 (ruby-end-of-defun): Remove the unused arg, change the docstring
9649 to reflect that this function is only used as the value of
9650 `end-of-defun-function'.
9651 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9652 to reflect an earlier change that beginning/end-of-defun functions
9653 jump between methods in a class definition, as well as top-level
9656 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * minibuffer.el (minibuffer-complete): Don't just scroll
9659 a *Completions* that's been iconified.
9660 (minibuffer-force-complete): Make sure repetitions do cycle when going
9661 through completion-in-region -> minibuffer-complete.
9663 2013-04-15 Alan Mackenzie <acm@muc.de>
9665 Correct the placement of c-cpp-delimiters when there're #s not at
9668 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9669 place a submatch around the #.
9670 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9671 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9674 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9677 (advice--member-p): New arg `name'.
9678 (advice--add-function, advice-member-p): Use it (bug#14202).
9680 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9682 Reformulate java imenu-generic-expression.
9683 The old expression contained ill formed regexps.
9685 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9686 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9687 (cc-imenu-java-method-arg-regexp): New defconsts.
9688 (cc-imenu-java-build-type-args-regex): New defun.
9689 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9690 handling of spaces in the regexp.
9692 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9694 * textmodes/ispell.el (ispell-command-loop): Remove
9695 flyspell highlight of a word when ispell accepts it (bug #14178).
9697 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9699 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9700 uses code from the previous `ange-ftp-run-real-handler'.
9701 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9702 only in case that function exist. This is needed for proper
9705 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9707 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9709 * textmodes/reftex.el (reftex-compile-variables): Use it.
9711 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9713 * files.el (normal-mode): Only use default major-mode if no other mode
9716 * emacs-lisp/trace.el (trace-values): New function.
9718 * files.el: Allow : in local variables (bug#14089).
9719 (hack-local-variable-regexp): New var.
9720 (hack-local-variables-prop-line, hack-local-variables): Use it.
9722 2013-04-13 Roland Winkler <winkler@gnu.org>
9724 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9725 data before it gets modified by bibtex-beginning-of-entry.
9727 2013-04-13 Roland Winkler <winkler@gnu.org>
9729 * textmodes/bibtex.el (bibtex-url): Doc fix.
9731 2013-04-13 Roland Winkler <winkler@gnu.org>
9733 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9734 does not visit a BibTeX file, exclude it from the list of buffers
9735 returned by bibtex-initialize.
9737 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9739 * window.el (split-window): Remove interactive form, since as a
9740 command this function is a special case of split-window-below.
9743 2013-04-12 Roland Winkler <winkler@gnu.org>
9745 * faces.el (read-face-name): Do not override value of arg default.
9746 Allow single faces and strings as default values. Remove those
9747 elements from return value that are not faces.
9748 (describe-face): Simplify.
9749 (face-at-point): New optional args thing and multiple so that this
9750 function can provide the same functionality previously provided by
9752 (make-face-bold, make-face-unbold, make-face-italic)
9753 (make-face-unitalic, make-face-bold-italic, invert-face)
9754 (modify-face, read-face-and-attribute): Use face-at-point.
9756 * cus-edit.el (customize-face, customize-face-other-window)
9757 * cus-theme.el (custom-theme-add-face)
9758 * face-remap.el (buffer-face-set)
9759 * facemenu.el (facemenu-set-face): Use face-at-point.
9761 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9763 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9765 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9767 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9768 off leading { and trailing } from field values.
9770 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9772 * emacs-lisp/timer.el (timer--check): New function.
9773 (timer--time, timer-set-function, timer-event-handler): Use it.
9774 (timer-set-idle-time): Simplify.
9775 (timer--activate): CSE.
9776 (timer-event-handler): Give more info in error message.
9777 (internal-timer-start-idle): New function, moved from C.
9779 * mpc.el (mpc-proc): Add `restart' argument.
9780 (mpc-proc-cmd): Use it.
9781 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9782 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9785 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9787 * progmodes/sh-script.el: Implement `sh-mode' own
9788 `add-log-current-defun-function' (bug#14112).
9789 (sh-current-defun-name): New function.
9790 (sh-mode): Use the function.
9792 2013-04-09 Bastien Guerry <bzg@gnu.org>
9794 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9796 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9798 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9800 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9803 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9805 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9808 2013-04-07 Leo Liu <sdl.web@gmail.com>
9810 * pcmpl-x.el: New file.
9812 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9814 Do not set x-display-name until X connection is established.
9815 This is needed to prevent from weird situation described at
9816 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9817 * frame.el (make-frame): Set x-display-name after call to
9818 window system initialization function, not before.
9819 * term/x-win.el (x-initialize-window-system): Add optional
9820 display argument and use it.
9821 * term/w32-win.el (w32-initialize-window-system):
9822 * term/ns-win.el (ns-initialize-window-system):
9823 * term/pc-win.el (msdos-initialize-window-system):
9824 Add compatible optional display argument.
9826 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9828 * files.el (normal-backup-enable-predicate): On MS-Windows and
9829 MS-DOS compare truenames of temporary-file-directory and of the
9830 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9831 don't fail comparison by compare-strings. Also, compare file
9832 names case-insensitively on MS-Windows and MS-DOS.
9834 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9837 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9839 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9841 * whitespace.el (whitespace-color-on, whitespace-color-off):
9842 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9844 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9846 * ispell.el (ispell-set-spellchecker-params):
9847 Really set `ispell-args' for all equivs.
9849 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * ido.el (ido-completions): Use extra elements of ido-decorations
9853 (ido-decorations): Update docstring.
9855 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9857 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9858 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9859 nil during initialization, in order not to miss changes since the
9860 file was opened. (Bug#14140)
9862 2013-04-05 Leo Liu <sdl.web@gmail.com>
9864 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9866 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9868 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9870 2013-04-04 Glenn Morris <rgm@gnu.org>
9872 * electric.el (electric-pair-inhibit-predicate): Add :version.
9874 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9877 when a package is required several times (bug#14082).
9879 2013-04-04 Roland Winkler <winkler@gnu.org>
9881 * faces.el (read-face-name): Behave as promised by the docstring.
9882 Assume that arg default is a list of faces.
9883 (describe-face): Call read-face-name with list of default faces.
9885 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9887 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9888 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9889 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9891 (bookmark-exit-hook-internal): Save even if list is empty.
9893 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9895 * emacs-lisp/package.el (package-pinned-packages): New var.
9896 (package--add-to-archive-contents): Obey it (bug#14118).
9898 2013-04-03 Alan Mackenzie <acm@muc.de>
9900 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9901 Also adapt to the new values of element 7 of a parse state.
9903 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9904 parameter `not-in-delimiter'. Handle being inside comment opener.
9905 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9906 character in case we're typing a '*' after a '/'.
9907 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9908 instead by passing the parameter to c-state-pp-to-literal.
9910 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9911 for elt. 7 of a parse state.
9913 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9915 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9916 * international/latin1-disp.el, international/mule-util.el:
9917 * language/cyril-util.el, language/european.el, language/ind-util.el:
9918 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9919 * language/tibetan.el, language/viet-util.el:
9920 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9922 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9924 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9925 (electric-pair-post-self-insert-function): Use it.
9926 (electric-pair-default-inhibit): New function, extracted from
9927 electric-pair-post-self-insert-function.
9929 2013-03-31 Roland Winkler <winkler@gnu.org>
9931 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9933 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9935 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9937 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9939 Un-indent after "pass" and "return" statements (Bug#13888)
9940 * progmodes/python.el (python-indent-block-enders): New var.
9941 (python-indent-calculate-indentation): Use it.
9943 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9945 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9946 defun. Defining it as defalias could introduce too eager
9947 byte-compiler optimization. (Bug#14030)
9949 2013-03-30 Chong Yidong <cyd@gnu.org>
9951 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9953 2013-03-30 Leo Liu <sdl.web@gmail.com>
9955 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9956 (kmacro-execute-from-register): Pass the keyboard macro to
9957 kmacro-call-macro or repeating won't work correctly.
9959 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9961 * progmodes/subword.el: Back to using `forward-symbol'.
9963 * subr.el (forward-whitespace, forward-symbol)
9964 (forward-same-syntax): Move from thingatpt.el.
9966 2013-03-29 Leo Liu <sdl.web@gmail.com>
9968 * kmacro.el (kmacro-to-register): New command.
9969 (kmacro-execute-from-register): New function.
9970 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9972 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9974 * mpc.el: Use defvar-local and setq-local.
9975 (mpc--proc-connect): Connection failures are not bugs.
9976 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9977 (mpc-volume-map): Bind to the up-events.
9979 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9981 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9982 instead of `forward-symbol'.
9984 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9987 (edebug--recursive-edit): Use it.
9988 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9989 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9991 2013-03-28 Leo Liu <sdl.web@gmail.com>
9993 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9995 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9997 * facemenu.el (list-colors-callback): New defvar.
9998 (list-colors-redisplay): New function.
9999 (list-colors-display): Install list-colors-redisplay as the
10000 revert-buffer-function. (Bug#14063)
10002 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10004 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10005 and suffixes don't overlap (bug#14061).
10007 * case-table.el: Use lexical-binding.
10008 (case-table-get-table): New function.
10009 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10011 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10013 * progmodes/subword.el: Add `superword-mode' to do word motion
10014 over symbol_words (parallels and leverages `subword-mode' which
10015 does word motion inside MixedCaseWords).
10017 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10019 * eshell/em-unix.el: Move su and sudo to...
10020 * eshell/em-tramp.el: ...Eshell tramp module.
10022 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10024 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10025 Change return value to be a sexp. Delay `get-buffer' to after
10026 restoring the desktop (bug#13951).
10028 2013-03-26 Leo Liu <sdl.web@gmail.com>
10030 * register.el: Move semantic tag handling back to
10031 cedet/semantic/senator.el. (Bug#14052)
10033 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10035 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10036 into the prompt either (bug#13963).
10038 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10041 part of "(error-foo)".
10043 2013-03-24 Juri Linkov <juri@jurta.org>
10045 * replace.el (list-matching-lines-prefix-face): New defcustom.
10046 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10047 `occur-engine' if `face-differs-from-default-p' returns t.
10048 (occur-engine): Add `,' inside backquote construct to evaluate
10049 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10050 Pass `prefix-face' to the functions `occur-context-lines' and
10051 `occur-engine-add-prefix'.
10052 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10053 `prefix-face' and propertize the prefix with `prefix-face'.
10056 2013-03-24 Leo Liu <sdl.web@gmail.com>
10058 * nxml/rng-valid.el (rng-validate-while-idle)
10059 (rng-validate-quick-while-idle): Guard against deleted buffer.
10062 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10063 is the last entry in kill-buffer-hook.
10065 * files.el (kill-buffer-hook): Doc fix.
10067 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10069 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10070 Make it safe-local.
10072 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10074 2013-03-23 Leo Liu <sdl.web@gmail.com>
10076 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10079 * nxml/rng-valid.el (rng-validate-mode)
10080 (rng-after-change-function, rng-do-some-validation):
10081 * nxml/rng-maint.el (rng-validate-buffer):
10082 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10083 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10084 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10085 (nxml-extend-after-change-region): Use with-silent-modifications.
10087 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10090 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10091 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10092 timer-idle-list. (Bug#13999)
10094 2013-03-23 Juri Linkov <juri@jurta.org>
10096 * info.el (info-index-match): New face.
10097 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10098 main pattern and add text properties with the new face to matches
10099 in index entries relative to the beginning of the index entry.
10102 2013-03-21 Eric Ludlam <zappo@gnu.org>
10104 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10105 Inhibit read only while inserting objects.
10107 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10109 * progmodes/cfengine.el: Update docs to mention
10110 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10111 symbol motion. Remove "_" from the word syntax.
10113 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10115 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10116 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10118 2013-03-20 Juri Linkov <juri@jurta.org>
10120 * info.el (Info-next-reference-or-link)
10121 (Info-prev-reference-or-link): New functions.
10122 (Info-next-reference, Info-prev-reference): Use them.
10123 (Info-try-follow-nearest-node): Handle footnote navigation.
10124 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10126 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10128 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10129 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10131 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10133 Suppress unnecessary non-ASCII chatter during build process.
10134 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10135 (batch-skkdic-convert): Suppress most of the chatter.
10136 It's not needed so much now that machines are faster,
10137 and its non-ASCII component was confusing; see Dmitry Gutov in
10138 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10140 2013-03-20 Leo Liu <sdl.web@gmail.com>
10142 * ido.el (ido-chop): Fix bug#10994.
10144 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10146 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10148 (whitespace-color-on, whitespace-color-off):
10149 Use `font-lock-fontify-buffer' (Bug#13817).
10151 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10154 remapping in mode-line.
10155 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10157 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10159 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10160 value for `whitespace-line' face (Bug#13875).
10161 (whitespace-font-lock-keywords): Change description.
10162 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10163 the constructed keywords instead.
10164 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10166 2013-03-19 Leo Liu <sdl.web@gmail.com>
10168 * progmodes/compile.el (compilation-display-error): New command.
10169 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10172 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10174 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10176 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10178 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10180 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10182 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10184 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10185 * net/tramp-gvfs.el (top):
10186 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10187 (tramp-handle-shell-command): Use it.
10188 (tramp-dissect-file-name): Raise an error when hostname is a
10189 method name, and neither method nor user is specified.
10191 * net/trampver.el: Update release number.
10193 2013-03-18 Leo Liu <sdl.web@gmail.com>
10195 Make sure eldoc can be turned off properly.
10196 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10198 (eldoc-display-message-p): Revert last change.
10199 (eldoc-display-message-no-interference-p)
10200 (eldoc-print-current-symbol-info): Tweak.
10202 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10204 * doc-view.el (doc-view-new-window-function): Check the new window
10205 overlay's display property instead the char property of the
10206 buffer's first char. Use `with-selected-window' instead of
10207 `save-window-excursion' with `select-window'.
10208 (doc-view-document->bitmap): Check the current doc-view overlay's
10209 display property instead the char property of the buffer's first char.
10211 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10213 Automate the build of ja-dic.el (Bug#13984).
10214 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10215 from the input, rather than assume that it's been done for us by the
10216 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10217 the current date into a ja-dic.el comment, as that complicates
10218 regression testing.
10220 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10222 * whitespace.el: Fix double evaluation.
10223 (whitespace-space, whitespace-hspace, whitespace-tab)
10224 (whitespace-newline, whitespace-trailing, whitespace-line)
10225 (whitespace-space-before-tab, whitespace-indentation)
10226 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10228 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10229 (whitespace-color-on): Use a single font-lock-add-keywords call.
10230 Fix double-evaluation of face variables.
10232 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10234 * net/tramp-adb.el (tramp-adb-parse-device-names):
10235 Use `start-process' instead of `call-process'. Otherwise, the
10236 function might be blocked under MS Windows. (Bug#13299)
10238 2013-03-17 Leo Liu <sdl.web@gmail.com>
10240 Extend eldoc to display info in the mode-line. (Bug#13978)
10241 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10242 (eldoc-mode-line-string): New variable.
10243 (eldoc-minibuffer-message): New function.
10244 (eldoc-message-function): New variable.
10245 (eldoc-message): Use it.
10246 (eldoc-display-message-p)
10247 (eldoc-display-message-no-interference-p):
10248 Support eldoc-post-insert-mode.
10250 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10251 (eval-expression): Run it.
10253 2013-03-17 Roland Winkler <winkler@gnu.org>
10255 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10256 strings in the list of return values.
10258 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10260 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10261 radix before checking for HMS forms.
10263 2013-03-16 Leo Liu <sdl.web@gmail.com>
10265 * progmodes/scheme.el: Add indentation and font-locking for λ.
10268 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10270 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10271 token before point (bug#13942).
10273 2013-03-16 Leo Liu <sdl.web@gmail.com>
10275 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10277 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10279 * startup.el (command-line-normalize-file-name): Fix handling of
10280 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10281 <xfq.free@gmail.com> in
10282 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10284 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10286 Sync with Tramp 2.2.7.
10288 * net/trampver.el: Update release number.
10290 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10292 * doc-view.el: Fix bug#13887.
10293 (doc-view-insert-image): Don't modify overlay associated to
10294 non-live windows, and implement horizontal centering of image in
10295 case it's smaller than the window.
10296 (doc-view-new-window-function): Force redisplay of new windows on
10299 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10301 * saveplace.el (save-place-alist-to-file): Don't sort
10302 `save-place-alist', just pretty-print it (bug#13882).
10304 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10306 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10307 Check whether `default-file-name-coding-system' is bound.
10308 It isn't in XEmacs.
10310 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10312 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10313 backquotes for `obsolete' (bug#13929).
10315 * international/mule.el (find-auto-coding): Include file name in
10316 obsolescence warning (bug#13922).
10318 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10320 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10321 for CFEngine 3-specific indentation.
10322 (cfengine3-indent-line): Use it. Fix up category regex.
10323 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10325 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10327 * type-break.el (type-break-file-name):
10328 * textmodes/remember.el (remember-data-file):
10329 * strokes.el (strokes-file):
10330 * shadowfile.el (shadow-initialize):
10331 * saveplace.el (save-place-file):
10332 * ps-bdf.el (bdf-cache-file):
10333 * progmodes/idlwave.el (idlwave-config-directory):
10334 * net/quickurl.el (quickurl-url-file):
10335 * international/kkc.el (kkc-init-file-name):
10336 * ido.el (ido-save-directory-list-file):
10337 * emulation/viper.el (viper-custom-file-name):
10338 * emulation/vip.el (vip-startup-file):
10339 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10340 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10342 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10344 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10345 * language/thai-word.el: Switch to UTF-8.
10347 See ChangeLog.16 for earlier changes.
10349 ;; Local Variables:
10353 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10355 This file is part of GNU Emacs.
10357 GNU Emacs is free software: you can redistribute it and/or modify
10358 it under the terms of the GNU General Public License as published by
10359 the Free Software Foundation, either version 3 of the License, or
10360 (at your option) any later version.
10362 GNU Emacs is distributed in the hope that it will be useful,
10363 but WITHOUT ANY WARRANTY; without even the implied warranty of
10364 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10365 GNU General Public License for more details.
10367 You should have received a copy of the GNU General Public License
10368 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.