1 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3 * net/shr.el (shr-tag-video): Display content for video if no
5 (shr-tag-audio): Add support for <audio> tag.
7 * net/eww.el (eww-text-input-types): : New const.
8 (eww-process-text-input): Treat input types in
9 `eww-text-input-types' as text.
11 * net/shr.el (shr-tag-table): Fix comment typo.
13 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15 * net/eww.el (eww-follow-link): New command to avoid reloading
16 pages when we follow #target links (bug#15243).
17 (eww-quit): Special mode buffers shouldn't query before exiting.
19 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
21 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
24 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26 * net/eww.el (eww-restore-history): Update the window title after
27 moving in the history.
28 (eww-current-dom): New variable used to save the current DOM.
30 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
32 * vc/log-edit.el (log-edit-mode-map): Add binding for
33 `log-edit-beginning-of-line'.
34 (log-edit-setup-add-author): New user option.
35 (log-edit-beginning-of-line): New command.
36 (log-edit): Move major mode call above the contents setup so that
37 the local variable values are already applied.
38 (log-edit): Only insert "Author: " when
39 `log-edit-setup-add-author' is non-nil.
40 (log-edit): When SETUP is non-nil, position point after ": "
43 2013-12-01 Glenn Morris <rgm@gnu.org>
45 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
47 2013-11-30 Eli Zaretskii <eliz@gnu.org>
49 * startup.el (fancy-splash-frame): On MS-Windows, trigger
50 redisplay to make sure the initial frame gets a chance to become
53 2013-11-30 Martin Rudalics <rudalics@gmx.at>
55 Support resizing frames and windows pixelwise.
56 * cus-start.el (frame-resize-pixelwise)
57 (window-resize-pixelwise): New entries.
58 * emacs-lisp/debug.el (debug): Use window-total-height instead
60 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
61 * help.el (describe-bindings-internal): Call help-buffer
62 (temp-buffer-max-width): New option.
63 (resize-temp-buffer-window, help-window-setup)
64 (with-help-window): Rewrite.
65 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
67 * window.el (frame-char-size, window-min-pixel-height)
68 (window-safe-min-pixel-height, window-safe-min-pixel-width)
69 (window-min-pixel-width, window-safe-min-pixel-size)
70 (window-combination-p, window-safe-min-size)
71 (window-resizable-p, window--size-to-pixel)
72 (window--pixel-to-size, window--resize-apply-p): New functions.
73 (window-safe-min-height): Fix doc-string.
74 (window-size, window-min-size, window--min-size-1)
75 (window-sizable, window-sizable-p, window--min-delta-1)
76 (window-min-delta, window--max-delta-1, window-max-delta)
77 (window--resizable, window--resizable-p, window-resizable)
78 (window-full-height-p, window-full-width-p, window-at-side-p)
79 (window--in-direction-2, window-in-direction)
80 (window--resize-reset-1, window--resize-mini-window)
81 (window-resize, window-resize-no-error)
82 (window--resize-child-windows-normal)
83 (window--resize-child-windows, window--resize-siblings)
84 (window--resize-this-window, window--resize-root-window)
85 (window--resize-root-window-vertically)
86 (adjust-window-trailing-edge, enlarge-window, shrink-window)
87 (maximize-window, minimize-window, delete-window)
88 (quit-restore-window, window-split-min-size, split-window)
89 (balance-windows-2, balance-windows)
90 (balance-windows-area-adjust, balance-windows-area)
91 (window--state-get-1, window-state-get, window--state-put-1)
92 (window--state-put-2, window-state-put)
93 (display-buffer-record-window, window--display-buffer): Make
94 functions handle pixelwise sizing of windows.
95 (display-buffer--action-function-custom-type)
96 (display-buffer-fallback-action): Add
97 display-buffer-in-previous-window.
98 (display-buffer-use-some-window): Resize window to height it had
100 (fit-window-to-buffer-horizontally): New option.
101 (fit-frame-to-buffer): Describe new values.
102 (fit-frame-to-buffer-bottom-margin): Replace with
103 fit-frame-to-buffer-margins.
104 (window--sanitize-margin): New function.
105 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
106 using window-text-pixel-size.
108 2013-11-30 Glenn Morris <rgm@gnu.org>
110 * emacs-lisp/bytecomp.el (byte-compile-form):
111 Make the `interactive-only' warning like the `obsolete' one.
112 * comint.el (comint-run):
113 * files.el (insert-file-literally, insert-file):
114 * replace.el (replace-string, replace-regexp):
115 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
116 (goto-line, insert-buffer, next-line, previous-line):
117 Tweak `interactive-only' spec.
119 Stop keeping (most) generated cedet grammar files in the repository.
120 * Makefile.in (semantic): New.
121 (compile-main): Depend on semantic.
123 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
125 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
126 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
128 * uniquify.el (uniquify-buffer-name-style): Change default.
130 * loadup.el: Preload "uniquify".
132 * time.el (display-time-update): Update all mode lines (bug#15999).
134 * electric.el (electric-indent-mode): Enable by default.
135 * loadup.el: Preload "electric".
137 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
139 * emacs-lisp/helpers.el (string-empty-p): New function.
140 (string-blank-p): New function.
142 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
144 * imenu.el (imenu--index-alist): Add missing dot to the docstring
147 2013-11-29 Andreas Politz <politza@fh-trier.de>
148 * imenu.el (imenu--subalist-p): Don't error on non-conses and
149 allow non-lambda lists as functions.
150 (imenu--in-alist): Don't recurse into non-subalists.
151 (imenu): Don't pass function itself as an argument (Bug#14029).
153 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
155 * progmodes/python.el (python-mode-map): Remove binding for ":".
156 (python-indent-electric-colon): Remove command.
157 (python-indent-post-self-insert-function): Integrate the previous code
158 of python-indent-electric-colon. Make it conditional on
159 electric-indent-mode.
160 (python-mode): Add ?: to electric-indent-chars.
161 Move python-indent-post-self-insert-function to the end of
162 post-self-insert-hook.
164 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
166 * doc-view.el (doc-view-goto-page): Update mode-line.
168 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
170 2013-11-27 Glenn Morris <rgm@gnu.org>
172 * international/charprop.el, international/uni-bidi.el:
173 * international/uni-category.el, international/uni-combining.el:
174 * international/uni-comment.el, international/uni-decimal.el:
175 * international/uni-decomposition.el, international/uni-digit.el:
176 * international/uni-lowercase.el, international/uni-mirrored.el:
177 * international/uni-name.el, international/uni-numeric.el:
178 * international/uni-old-name.el, international/uni-titlecase.el:
179 * international/uni-uppercase.el:
180 Remove generated files from VCS repository.
182 2013-11-27 Eli Zaretskii <eliz@gnu.org>
184 * filenotify.el (file-notify-add-watch): Don't special-case
185 w32notify when computing the directory to watch.
187 2013-11-27 Glenn Morris <rgm@gnu.org>
189 Make bootstrap without generated uni-*.el files possible again.
190 * loadup.el: Update command-line-args checking for unidata-gen.
191 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
192 * composite.el, international/characters.el:
193 Handle unicode tables being undefined.
195 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
196 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
197 (compile-main): Depend on leim rule.
199 * loadup.el: Move leim-list.el to leim/ subdirectory.
200 * startup.el (normal-top-level): No more leim directory.
201 * international/ja-dic-cnv.el (skkdic-convert):
202 Disable version-control and autoloads in output files.
203 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
204 Disable version-control and autoloads in output files.
205 * leim/quail: Move here from ../leim.
206 * leim/quail/hangul.el (hangul-input-method-activate):
208 (generated-autoload-load-name): Set file-local value.
209 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
210 (generated-autoload-load-name): Set file-local value.
212 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
214 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
215 (eww-add-bookmark): ask confirmation when add to bookmarks
216 (eww-quit): ask confirmation before quitting eww
218 2013-11-26 Eli Zaretskii <eliz@gnu.org>
220 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
221 reading output from Diff on MS-Windows and MS-DOS.
223 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
225 * emacs-lisp/helpers.el (string-reverse): New function.
227 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
229 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
230 names on MS Windows, like "/[::1]:".
232 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
235 2013-11-26 Glenn Morris <rgm@gnu.org>
237 * progmodes/python.el (python-indent-guess-indent-offset):
238 Avoid corner-case error. (Bug#15975)
240 Preload leim-list.el. (Bug#4789)
241 * loadup.el: Load leim-list.el when found.
242 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
244 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
246 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
248 * emacs-lisp/helpers.el (string-join): New function.
250 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
253 Mark as obsolete and replace it with a symbol property.
254 (byte-compile-form): Use new 'interactive-only property.
255 * comint.el, files.el, replace.el, simple.el:
256 Apply new 'interactive-only properly.
258 2013-11-25 Martin Rudalics <rudalics@gmx.at>
260 * window.el (display-buffer-at-bottom): Make sure that
261 split-window-sensibly creates the new window on bottom
264 2013-11-23 David Kastrup <dak@gnu.org>
266 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
267 on the conflict markers when available.
268 (smerge--get-marker): New function.
269 (smerge-end-re, smerge-base-re): Add subgroup.
271 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
273 * frame.el (handle-focus-in, handle-focus-out): Add missing
276 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
278 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
279 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
281 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
283 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
284 (gomoku--last-pos): New var.
285 (gomoku--intangible-chars): New const.
286 (gomoku--intangible): New function.
287 (gomoku-mode): Use it. Derive from special-mode.
288 (gomoku-move-up): Adjust line count.
289 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
290 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
291 Simplify accordingly.
293 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
294 Remove blink-cursor code.
295 (blink-cursor-timer-function, blink-cursor-suspend):
296 Don't special-case GUIs.
297 (blink-cursor-mode): Use focus-in/out-hook.
299 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
301 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
302 work when annotation is invisible (Bug#13886).
304 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
306 * json.el (json-alist-p): Only return non-nil if the alist has
307 simple keys (Bug#13518).
309 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
311 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
312 when control-statement is the first statement in a buffer (Bug#15956).
314 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
316 * imenu.el (imenu-generic-skip-comments-and-strings):
317 New option (Bug#15560).
318 (imenu--generic-function): Use it.
320 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
322 * minibuffer.el (completion--in-region-1): Scroll the correct
325 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
327 * emacs-lisp/helpers.el: Add some string helpers.
328 (string-trim-left): Removes leading whitespace.
329 (string-trim-right): Removes trailing whitespace.
330 (string-trim): Removes leading and trailing whitespace.
332 * subr.el (string-suffix-p): New function.
334 2013-11-23 Glenn Morris <rgm@gnu.org>
336 * progmodes/python.el (python-shell-send-file):
337 Add option to delete file when done. (Bug#15647)
338 (python-shell-send-string, python-shell-send-region): Use it.
340 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
342 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
343 to set buffer-read-only to t, never to nil. (Bug#15938)
345 * textmodes/tex-mode.el (latex-noindent-environments):
346 Add safe-local-variable property. (Bug#15936)
348 2013-11-23 Glenn Morris <rgm@gnu.org>
350 * textmodes/enriched.el (enriched-mode): Doc fix.
351 * emacs-lisp/authors.el (authors-renamed-files-alist):
352 Add enriched.doc -> enriched.txt.
354 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
356 2013-11-22 Leo Liu <sdl.web@gmail.com>
358 * progmodes/octave.el (inferior-octave-startup): Spit out error
361 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
363 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
366 (ruby-encoding-magic-comment-style): Add :version.
368 2013-11-22 Leo Liu <sdl.web@gmail.com>
370 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
372 (octave-help-mode): Adapt to change to help-mode-finish to use
373 derived-mode-p on 2013-09-17.
374 (inferior-octave-prompt): Also match octave-gui.
375 (octave-kill-process): Don't ask twice. (Bug#10564)
377 2013-11-22 Leo Liu <sdl.web@gmail.com>
379 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
380 (inferior-octave-startup, inferior-octave-check-process)
381 (inferior-octave-track-window-width-change)
382 (octave-completion-at-point, octave-eldoc-function): Use it.
383 (octave-kill-process): Provide confirmation. (Bug#10564)
385 2013-11-21 Leo Liu <sdl.web@gmail.com>
387 * progmodes/octave.el (octave-mode, inferior-octave-mode):
388 Fix obsolete variable comment-use-global-state.
390 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
392 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
393 Add `octave-source-file'.
394 (octave-source-file): New function. (Bug#15935)
396 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
398 * net/eww.el (eww-local-regex): New variable.
399 (eww): Use it to detect localhost and similar.
401 2013-11-21 Leo Liu <sdl.web@gmail.com>
403 Add completion for command `ag'.
404 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
405 (pcomplete/ag): New function.
406 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
408 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
410 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
412 (make-obsolete): Remove interactive spec.
414 2013-11-21 Glenn Morris <rgm@gnu.org>
416 * startup.el (command-line-1): Use path-separator with -L.
418 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
420 * emacs-lisp/package.el (describe-package-1): Add package archive
423 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
425 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
426 Change default to "# encoding: %s" to differentiate it from the
427 default Ruby encoding comment template.
429 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
431 * ses.el (ses-mode): Doc fix. (Bug#14748)
433 2013-11-20 Leo Liu <sdl.web@gmail.com>
435 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
437 2013-11-19 Dan Nicolaescu <dann@gnu.org>
439 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
440 when rebase or bisect are in progress.
442 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
444 * filenotify.el (file-notify-add-watch): Doc fix.
446 2013-11-19 Leo Liu <sdl.web@gmail.com>
448 * obsolete/rcompile.el: Mark obsolete.
450 * progmodes/compile.el (compilation-start)
451 (compilation-goto-locus, compilation-find-file):
452 Pass no-display-ok and handle nil value from display-buffer.
455 * window.el (display-buffer-alist, display-buffer): Document the
456 new parameter no-display-ok.
458 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
460 * electric.el (electric-indent-mode-map): Remove.
461 (electric-indent-mode): Change the global-map instead (bug#15915).
463 * textmodes/text-mode.el (paragraph-indent-minor-mode):
466 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
468 * emacs-lisp/nadvice.el (remove-function): Align with
469 add-function's behavior.
471 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
472 (gdb--string-regexp): New constant.
473 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
474 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
475 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
477 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
478 Adjust use accordingly.
479 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
481 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
483 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
484 interpolation curlies (Bug#15914).
486 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
488 * calc/calc.el (calc-context-sensitive-enter): New variable.
489 (calc-enter): Use `calc-context-sensitive-enter'.
491 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
493 * progmodes/cfengine.el: Version bump.
494 (cfengine-cf-promises): New defcustom to locate cf-promises.
495 (cfengine3-vartypes): Add new "data" type.
496 (cfengine3--current-word): New function to get current name-like
498 (cfengine3--current-function): New function to look up a CFEngine
499 function's definition.
500 (cfengine3-format-function-docstring): New function.
501 (cfengine3-make-syntax-cache): New function.
502 (cfengine3-documentation-function): New function: ElDoc glue.
503 (cfengine3-completion-function): New function: completion glue.
504 (cfengine3-mode): Set `compile-command',
505 `eldoc-documentation-function', and add to
506 `completion-at-point-functions'.
508 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
510 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
511 `tramp-current-connection'.
513 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
515 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
516 nil/self/true/false with "end of symbol".
518 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
520 * subr.el (version-regexp-alist): Fix a typo.
522 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
524 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
525 "en_US.utf8" and "LC_CTYPE" to "".
526 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
527 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
529 2013-11-15 Leo Liu <sdl.web@gmail.com>
531 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
533 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
535 * progmodes/gud.el (ctl-x-map):
536 Remove C-x SPC binding. (Bug#12342)
537 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
539 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
541 * subr.el (version-regexp-alist):
542 Recognize hg, svn and darcs versions as snapshot versions.
544 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
545 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
546 (ruby--encoding-comment-required-p): Extract from
547 `ruby-mode-set-encoding'.
548 (ruby-mode-set-encoding): Add the ability to always insert an
549 utf-8 encoding comment. Fix and simplify coding comment update
552 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
554 * net/tramp-gvfs.el (top): Run init code only when
555 `tramp-gvfs-enabled' is not nil.
556 (tramp-gvfs-enabled): Check also :system bus.
558 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
560 Sync with upstream verilog-mode revision 78e66ba.
561 * progmodes/verilog-mode.el (verilog-end-of-defun)
562 (verilog-type-completion, verilog-get-list): Remove unused funcs.
563 (verilog-get-end-of-defun): Remove unused argument.
564 (verilog-comment-depth): Remove unused local `e'.
565 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
566 Don't pass arg to verilog-get-end-of-defun.
568 2013-11-14 Glenn Morris <rgm@gnu.org>
570 * obsolete/assoc.el (aget): Prefix dynamic variable.
572 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
574 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
576 * widget.el, hfy-cmap.el: Remove bogus package version number.
578 2013-11-13 Glenn Morris <rgm@gnu.org>
580 * replace.el (replace-eval-replacement):
581 Try to give more helpful error message. (Bug#15836)
583 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
584 (archive-7z-update): Avoid custom type mismatches.
586 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
588 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
590 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
591 address can be empty.
593 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
595 (tramp-gvfs-handle-write-region): Implement APPEND.
597 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
599 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
600 binary "|" operator and closing block args delimiter.
601 Remove FIXME comment referring to Ruby 1.8-only syntax.
602 (ruby-smie--implicit-semi-p): Not after "|" operator.
603 (ruby-smie--closing-pipe-p): New function.
604 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
605 (ruby-smie-rules): Indent after "|".
607 2013-11-12 Glenn Morris <rgm@gnu.org>
609 * ps-print.el (ps-face-attribute-list):
610 Handle anonymous faces. (Bug#15827)
612 2013-11-12 Martin Rudalics <rudalics@gmx.at>
614 * window.el (display-buffer-other-frame): Fix doc-string.
617 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
619 * subr.el (force-mode-line-update): Delete, move to buffer.c.
621 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
624 (tramp-sh-handle-file-local-copy): Don't write a message when
625 saving temporary files.
627 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
628 both directories are remote.
629 (tramp-smb-handle-directory-files): Do not return double entries.
630 Do not expand full file names.
631 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
632 (tramp-smb-handle-write-region): Implement APPEND.
633 (tramp-smb-get-stat-capability): Fix a stupid bug.
635 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
637 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
639 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
641 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
642 throwing error over malformed let/let* (bug#15814).
644 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
646 * iswitchb.el (iswitchb-mode): Mark obsolete.
648 2013-11-11 Glenn Morris <rgm@gnu.org>
650 * international/uni-bidi.el, international/uni-category.el:
651 * international/uni-name.el, international/uni-numeric.el:
652 Regenerate for Unicode 6.3.0.
654 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
656 * net/tramp.el (tramp-methods):
657 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
658 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
660 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
662 * progmodes/sh-script.el (sh-font-lock-keywords-var):
663 Force highlighting text after Summary keyword in doc face for rpm.
665 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
667 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
668 available and the word has no wildcards, append one to the grep pattern.
669 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
670 (ispell-complete-word): Call `ispell-lookup-words' with the value
671 independent of `ispell-look-p'.
673 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
675 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
677 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
680 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
682 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
683 (ruby-font-lock-keywords): Use backquote.
685 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
687 * progmodes/ruby-mode.el (ruby-smie--forward-token)
688 (ruby-smie--backward-token): Only consider full-string matches.
690 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
692 * faces.el (describe-face): Add distant-foreground.
694 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
696 * progmodes/ruby-mode.el: Improve encoding comment handling.
697 (ruby-encoding-magic-comment-style): New option.
698 (ruby-custom-encoding-magic-comment-template): New option.
699 (ruby--insert-coding-comment, ruby--detect-encoding):
700 New functions extracted from `ruby-mode-set-encoding'.
701 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
702 to control the style of the auto-inserted encoding comment.
704 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
706 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
707 Use `smie-backward-sexp' with token argument.
709 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
711 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
712 Remove instrumentation code.
714 2013-11-08 Glenn Morris <rgm@gnu.org>
716 * progmodes/autoconf.el (autoconf-mode):
717 Tweak comment-start-skip. (Bug#15822)
719 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
721 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
723 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
725 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
727 * man.el (Man-start-calling): New macro, extracted from
728 Man-getpage-in-background.
729 (Man-getpage-in-background): Use it.
730 (Man-update-manpage): New command.
731 (Man-mode-map): Bind it.
733 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
735 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
736 of "and", "or", "&&" and "||".
737 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
738 argument. Prohibit opening curly brace because it could only be a
739 block opener in that position.
740 (ruby-smie--forward-token, ruby-smie--backward-token):
741 Separate "|" from "&" or "*" going after it. That can happen in block
743 (ruby-smie--indent-to-stmt): New function, seeks the end of
744 previous statement or beginning of buffer.
745 (ruby-smie-rules): Use it.
746 (ruby-smie-rules): Check if there's a ":" before a curly block
747 opener candidate; if there is, it's a hash.
749 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
751 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
752 (cl--block-wrapper): Fix last accidental change.
754 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
756 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
757 Instrument, in order to hunt failure on hydra.
759 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
761 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
762 malformed bindings form (bug#15814).
764 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
766 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
767 "." compared to " @ ". This incidentally fixes some indentation
769 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
770 (ruby-smie-grammar): New tokens: "and" and "or".
771 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
772 Exclude "and" and "or". Remove "do" in order to work around token
774 (ruby-smie-rules): Add all infix tokens. Handle the case of
777 2013-11-06 Glenn Morris <rgm@gnu.org>
779 * Makefile.in (setwins_almost, setwins_for_subdirs):
780 Avoid accidental matches.
782 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
784 * menu-bar.el (popup-menu): Use key-binding.
786 2013-11-06 Eli Zaretskii <eliz@gnu.org>
788 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
789 menus, support also the menus produced by minor modes.
792 2013-11-06 Leo Liu <sdl.web@gmail.com>
794 * thingatpt.el (thing-at-point-looking-at): Add optional arg
795 DISTANCE to bound the search. All uses changed. (Bug#15808)
797 2013-11-06 Glenn Morris <rgm@gnu.org>
799 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
800 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
801 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
803 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
805 * electric.el (electric-indent-just-newline): New command.
806 (electric-indent-mode-map): New keymap.
807 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
808 Re-add :group which weren't redundant.
810 * electric.el (electric-indent-local-mode): New minor mode.
811 (electric-indent-functions-without-reindent): New var.
812 (electric-indent-post-self-insert-function): Use it.
813 * emacs-lisp/gv.el (buffer-local-value): Add setter.
815 2013-11-05 Eli Zaretskii <eliz@gnu.org>
817 * international/quail.el (quail-help): Be more explicit about the
818 meaning of the labels shown on the keys. (Bug#15800)
820 * startup.el (normal-top-level): Load the subdirs.el files before
821 setting the locale environment. (Bug#15805)
823 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
825 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
826 via arguments so as to get the right ones (bug#15418).
828 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
830 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
832 Fix problems found while writing a test suite.
834 * net/tramp-compat.el (tramp-compat-load): New defun.
835 * net/tramp.el (tramp-handle-load): Use it.
837 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
838 "(numberp ok-if-already-exists)" correctly.
840 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
842 * international/characters.el (glyphless-char-display-control):
845 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
847 * progmodes/python.el (python-mode):
848 * progmodes/scheme.el (scheme-mode):
849 * progmodes/prolog.el (prolog-mode):
850 * progmodes/ruby-mode.el (ruby-mode):
851 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
852 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
854 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
856 * rect.el (rectangle--highlight-for-redisplay):
857 * emacs-lisp/smie.el (smie--next-indent-change):
858 Use buffer-chars-modified-tick.
860 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
862 * electric.el (electric-indent-post-self-insert-function):
863 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
865 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
867 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
869 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
871 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
874 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
876 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
878 * progmodes/python.el: Fix up last change.
879 (python-shell--save-temp-file): New function.
880 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
881 `string' comes from the current buffer.
882 (python-shell-send-string-no-output): Remove `msg' arg.
883 (python--use-fake-loc): New var.
884 (python-shell-buffer-substring): Obey it. Try to compensate for the
885 extra coding line added by python-shell--save-temp-file.
886 (python-shell-send-region): Use python-shell--save-temp-file and
887 python-shell-send-file directly. Add `nomain' argument.
888 (python-shell-send-buffer): Use python-shell-send-region.
889 (python-electric-pair-string-delimiter): New function.
890 (python-mode): Use it.
892 2013-11-04 Eli Zaretskii <eliz@gnu.org>
894 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
895 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
896 environment and decoding all of the default-directory's to here
898 (command-line): Decode also argv[0].
900 * loadup.el: Error out if default-directory is a multibyte string
903 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
905 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
907 * emacs-lisp/package.el (package-menu-mode)
908 (package-menu--print-info, package-menu--archive-predicate):
909 Add Archive column to package list.
911 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
913 Fix problems found while writing a test suite.
915 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
916 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
917 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
918 to nil when running original file name handler. Otherwise,
919 there are problems with constructs like "$$FOO".
921 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
924 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
926 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
928 * subr.el (version<, version<=, version=):
929 Update docstrings with information for snapshot versions.
931 * helpers.el: New library for misc helper functions.
932 (hash-table-keys): New function returning a list of hash keys.
933 (hash-table-values): New function returning a list of hash values.
935 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
937 * progmodes/ruby-mode.el (ruby-smie--forward-token)
938 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
940 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
942 * textmodes/fill.el (fill-single-char-nobreak-p): New function
943 checking whether point is after a 1-letter word.
945 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
947 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
948 Don't infloop when expanding region over `multiline' syntax-type that
949 begins a line (bug#15778).
951 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
953 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
954 Make it into a proper minor mode.
955 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
956 (rectangle-mark-mode-map): New keymap.
957 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
959 2013-11-04 Glenn Morris <rgm@gnu.org>
961 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
963 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
965 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
966 (ruby-smie-rules): Use smie-rule-parent instead.
968 * emacs-lisp/smie.el (smie-rule-parent): Always call
969 smie-indent-virtual rather than only for hanging tokens.
970 (smie--next-indent-change): New helper command.
972 2013-11-03 Glenn Morris <rgm@gnu.org>
974 * Makefile.in (abs_srcdir): Remove.
975 (emacs): Unset EMACSLOADPATH.
977 2013-11-02 Glenn Morris <rgm@gnu.org>
979 * Makefile.in (EMACS): Use a relative filename.
980 (abs_top_builddir): Remove.
981 (custom-deps, finder-data, autoloads): Use --chdir.
983 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
985 Use relative filenames in TAGS files.
986 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
987 (lisptagsfiles4, TAGS): Use relative file names.
989 (maintainer-clean): No more TAGS-LISP file.
991 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
992 (lisptagsfiles4): Use absolute filenames again.
993 (TAGS, TAGS-LISP): Not everything needs to run in one line.
994 Remove all *loaddefs files, not just the first. Remove esh-groups.
995 (maintainer-clean): Delete TAGS, TAGS-LISP.
997 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
999 * emacs-lisp/package.el (package-version-join):
1000 Recognize snapshot versions.
1002 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1004 * subr.el (version-regexp-alist): Add support for snapshot versions.
1006 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1008 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1009 New function, replacement for `smie-rule-parent' for when we want to
1010 skip over our direct parent if it's an assignment token..
1011 (ruby-smie-rules): Use it.
1013 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1015 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1016 unconditionally. Remove now unnecessary forward declarations.
1017 Remove XEmacs-specific setup.
1018 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1019 (ruby-font-lock-syntactic-keywords)
1020 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1021 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1022 (ruby-here-doc-end-syntax): Remove.
1023 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1024 defined as function.
1026 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1028 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1030 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1032 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1033 table and abbrev table, `define-derived-mode' does that for us
1036 2013-11-01 Glenn Morris <rgm@gnu.org>
1038 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1039 files is atomic for some time, so no parallel compilation issues).
1041 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1043 * faces.el (face-x-resources): Add :distant-foreground.
1044 (region): Use :distant-foreground for gtk and ns.
1046 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1048 Allow multiple bibliographies when BibLaTeX is used rather than
1050 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1051 (reftex-locate-bibliography-files): Us it.
1053 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1055 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1056 allow comments in pbm files.
1058 * term/w32-win.el (dynamic-library-alist): Support newer versions
1059 of libjpeg starting with v7: look only for the DLL from the
1060 version against which Emacs was built.
1061 Support versions of libpng beyond 1.4.x.
1062 Support libtiff v4.x.
1064 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1066 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1067 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1069 (ruby-deep-arglist): Add property :type.
1071 2013-10-31 Glenn Morris <rgm@gnu.org>
1073 * Makefile.in (custom-deps, finder-data): No need to setq the target
1074 variables, we are in the right directory and the defaults work fine.
1076 2013-10-30 Glenn Morris <rgm@gnu.org>
1078 * Makefile.in (autoloads): Do not use abs_lisp.
1080 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1081 `newline' does not respect `standard-output', so use `princ'.
1083 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1085 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1086 * buff-menu.el (Buffer-menu--unmark): New function.
1087 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1089 2013-10-30 Glenn Morris <rgm@gnu.org>
1091 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1093 * emacs-lisp/package.el (lm-homepage): Declare.
1095 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1098 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1100 * Makefile.in (finder-data, autoloads, update-subdirs)
1101 (compile-main, compile-clean, compile-always, bootstrap-clean):
1102 Check return value of cd.
1103 (compile-calc): Remove.
1105 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1107 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1109 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1110 (byte-compile-and-folded): New function.
1111 (=, <, >, <=, >=): Use it.
1113 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1114 (path-separator, null-device, buffer-file-coding-system)
1115 (lpr-headers-switches): Check system-type before modifying them.
1116 (find-buffer-file-type-coding-system): Mark obsolete.
1117 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1118 find-file-not-found-set-buffer-file-coding-system.
1119 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1120 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1121 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1122 (w32-direct-print-region-helper, w32-direct-print-region-function)
1123 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1124 * startup.el (normal-top-level-add-subdirs-to-load-path):
1125 * ps-print.el (ps-print-region-function):
1126 * lpr.el (print-region-function): Use new name.
1128 * subr.el (custom-declare-variable-early): Remove function.
1129 (custom-declare-variable-list): Remove var.
1130 (error, user-error): Remove `while' loop.
1131 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1132 (user-emacs-directory-warning, locate-user-emacs-file):
1134 * simple.el (read-quoted-char-radix, read-quoted-char):
1135 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1137 * custom.el (custom-declare-variable-list): Don't process
1138 custom-declare-variable-list.
1140 * progmodes/python.el (python-shell-get-buffer): New function.
1141 (python-shell-get-process): Use it.
1142 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1143 Python which encoding was used. Don't split-string since we only care
1144 about the first line. Return the temp-file, if applicable.
1145 (python-shell-send-region): Tell compile.el how to turn locations in
1146 the temp-file into locations in the source buffer.
1148 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1150 * subr.el (undefined): Add missing behavior from the C code for
1153 * rect.el: Use lexical-binding. Add new rectangular region support.
1154 (rectangle-mark): New command.
1155 (rectangle--region): New var.
1156 (deactivate-mark-hook): Reset rectangle--region.
1157 (rectangle--extract-region, rectangle--insert-for-yank)
1158 (rectangle--highlight-for-redisplay)
1159 (rectangle--unhighlight-for-redisplay): New functions.
1160 (region-extract-function, redisplay-unhighlight-region-function)
1161 (redisplay-highlight-region-function): Use them to handle
1163 * simple.el (region-extract-function): New var.
1164 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1165 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1166 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1167 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1168 (redisplay-unhighlight-region-function)
1169 (redisplay-highlight-region-function): New vars.
1170 (redisplay--update-region-highlight): New function.
1171 (pre-redisplay-function): Use it.
1172 (exchange-point-and-mark): Don't deactivate the mark before
1173 reactivate-it anyway.
1174 * comint.el (comint-kill-region): Remove yank-handler argument.
1175 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1176 (delete-char): Remove property, since it's now part of their
1178 (self-insert-iso): Remove property since this command doesn't exist.
1180 * emacs-lisp/package.el (package--download-one-archive)
1181 (describe-package-1): Don't query the user about final newline.
1183 2013-10-29 Daniel Colascione <dancol@dancol.org>
1185 * net/tramp.el (tramp-methods): Document new functionality.
1186 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1187 tramp-hostname-checker if method provides one instead of scanning
1188 argument list for "%h" to decide hostname acceptability.
1190 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1192 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1193 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1194 Handle COPY-CONTENTS. (Bug#15737)
1196 2013-10-28 Daiki Ueno <ueno@gnu.org>
1199 (epa-file-cache-passphrase-for-symmetric-encryption):
1200 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1202 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1204 * image.el (defimage):
1205 (image-load-path): Doc fixes.
1207 2013-10-27 Alan Mackenzie <acm@muc.de>
1209 Indent statements in macros following "##" correctly.
1210 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1211 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1213 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1215 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1217 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1219 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1220 after `=' is probably a new expression.
1222 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1224 * man.el (man-imenu-title): New option.
1225 (Man-mode-map): Add menu. (Bug#15722)
1226 (Man-mode): Add imenu to menu.
1228 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1230 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1231 specific in what the first arg can be: a non-keyword word,
1232 string/regexp/percent literal opener, opening paren, or unary
1233 operator followed directly by word.
1235 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1237 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1238 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1239 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1240 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1241 Remove vars, they do not apply any more.
1242 (prolog-mode-abbrev-table): Remove redundant declaration.
1243 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1244 (prolog-use-smie): Remove.
1245 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1246 supported by prolog-electric-if-then-else-flag.
1247 (prolog-mode-variables, prolog-menu): Use setq-local.
1248 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1249 Remove binding to `Backspace' since this key doesn't exist anyway.
1250 Remove bindings for electric self-inserting keys.
1251 (prog-mode): Assume it's defined.
1252 (prolog-post-self-insert): New function.
1253 (prolog-mode): Use it.
1254 (prolog-indent-line, prolog-indent-level)
1255 (prolog-find-indent-of-matching-paren)
1256 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1257 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1258 (prolog-goto-next-paren, prolog-in-string-or-comment)
1259 (prolog-tokenize, prolog-inside-mline-comment)
1260 (prolog-find-start-of-mline-comment): Remove functions.
1261 (prolog-find-unmatched-paren, prolog-clause-end)
1262 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1263 (prolog-electric--if-then-else): Rename from
1264 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1265 (prolog-tokenize-searchkey): Remove const.
1266 (prolog-clause-info): Use forward-sexp.
1267 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1268 (prolog-electric-if-then-else): Remove commands.
1269 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1270 for use in post-self-insert-hook.
1271 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1272 for use in post-self-insert-hook.
1273 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1274 for use in post-self-insert-hook.
1275 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1276 adapt it for use in post-self-insert-hook.
1278 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1280 * emacs-lisp/ert.el (ert-run-tests-interactively):
1281 Use `completing-read'. (Bug#9756)
1283 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1285 * simple.el (line-move): Call line-move-1 instead of
1286 line-move-visual when the current window hscroll is zero, but
1287 temporary-goal-column indicates we will need to hscroll as result
1288 of the movement. (Bug#15712)
1290 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1292 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1293 capitalization. Use :visible instead of :active.
1294 Fix `ruby-indent-exp' reference. Add menu items for the generic
1295 commands that are used with SMIE.
1296 (ruby-do-end-to-brace): Insert space after `{'.
1298 2013-10-25 John Anthony <john@jo.hnanthony.com>
1300 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1302 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1304 2013-10-25 Glenn Morris <rgm@gnu.org>
1306 * vc/vc.el (vc-print-log): Don't use a working revision unless
1307 one was explicitly specified. (Bug#15322)
1309 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * subr.el (add-to-list): Preserve return value in compiler-macro
1314 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1316 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1317 result. Ask user to retry using '-all' flag. (Bug#15701)
1319 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * emacs-lisp/smie.el: New smie-config system.
1322 (smie-config): New defcustom.
1323 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1324 (smie-config-guess, smie-config-save): New commands.
1325 (smie-config--mode-local, smie-config--buffer-local)
1326 (smie-config--trace, smie-config--modefuns): New vars.
1327 (smie-config--advice, smie-config--mode-hook)
1328 (smie-config--setter, smie-config-local, smie-config--get-trace)
1329 (smie-config--guess-value, smie-config--guess): New functions.
1330 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1331 text properties. Treat "string fence" syntax like string syntax.
1333 * progmodes/sh-script.el (sh-use-smie): Change default.
1334 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1335 (sh-var-value): Simplify by CSE.
1336 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1337 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1339 (sh-guess-basic-offset): Use cl-incf.
1340 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1342 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1344 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1347 2013-10-24 Glenn Morris <rgm@gnu.org>
1349 * Makefile.in (abs_top_srcdir): Remove.
1350 (update-subdirs): Use relative path to update-subdirs.
1352 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1354 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1355 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1356 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1357 Call unmsys--file-name before expand-file-name, not after it.
1359 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1361 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1362 (ert-test-skipped): New error.
1363 (ert-skip, ert-stats-skipped): New defuns.
1364 (ert--skip-unless): New macro.
1365 (ert-test-skipped): New struct.
1366 (ert--run-test-debugger, ert-test-result-type-p)
1367 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1368 (ert--stats-set-test-and-result, ert-char-for-test-result)
1369 (ert-string-for-test-result, ert-run-tests-batch)
1370 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1371 Handle skipped tests. (Bug#9803)
1373 2013-10-24 Glenn Morris <rgm@gnu.org>
1375 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1377 * Makefile.in (abs_top_srcdir): New, set by configure.
1378 (update-subdirs): Correct build-aux location.
1380 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1382 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1383 value, whether we could auto-deduce `backend', or not.
1385 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1386 with parameters" example. Simplify the "is it block or is it
1387 hash" check, but also make it more thorough.
1389 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1391 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1393 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1398 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1401 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1403 * progmodes/compile.el (compilation-directory-matcher)
1404 (compilation-page-delimiter):
1405 Support GNU Make-4.0 directory quoting. (Bug#15678)
1407 2013-10-23 Leo Liu <sdl.web@gmail.com>
1409 * ido.el (ido-tidy): Handle read-only text.
1411 2013-10-23 Glenn Morris <rgm@gnu.org>
1413 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1414 (emacs, compile, compile-always):
1415 Quote entities that might contain whitespace.
1416 (custom-deps, finder-data, autoloads): Use abs_lisp.
1417 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1418 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1419 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1421 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1423 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1424 Use `following-char'.
1426 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1428 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1429 * progmodes/ruby-mode.el (ruby-smie-rules):
1430 Remove corresponding workaround. Fix indentation rule of ";" so it
1431 also applies when ";" is the parent.
1433 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1435 * frame.el (display-screens, display-pixel-height)
1436 (display-pixel-width, display-mm-width, display-backing-store)
1437 (display-save-under, display-planes, display-color-cells)
1438 (display-visual-class, display-monitor-attributes-list):
1439 Mention the optional ‘display’ argument in doc strings.
1441 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1443 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1444 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1446 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1448 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1449 TODO. Add "." after " @ ".
1450 (ruby-smie--at-dot-call): New function. Checks if point at method
1451 call with explicit target.
1452 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1453 to the method name tokens when it precedes them.
1454 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1455 (ruby-smie-rules): Add rule for indentation before and after "."
1458 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1460 * textmodes/remember.el (remember-diary-extract-entries):
1463 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1466 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1468 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1469 (ruby-smie--implicit-semi-p): Add new operator chars.
1471 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1473 (ruby-smie--args-separator-p): Check that there's no newline
1474 between method call and its arguments.
1476 2013-10-20 Alan Mackenzie <acm@muc.de>
1478 Allow comma separated lists after Java "implements".
1480 * progmodes/cc-engine.el (c-backward-over-enum-header):
1482 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1483 from a "disallowed" list in enum fontification.
1485 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1487 * startup.el (default-frame-background-mode): Remove unused defvar.
1489 * progmodes/verilog-mode.el (verilog-mode): Don't set
1490 comment-indent-function globally.
1492 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1494 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1495 Move Info menu item creation to ns-win.el.
1497 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1500 * menu-bar.el: Move GNUStep specific menus...
1502 * term/ns-win.el (ns-initialize-window-system): ... to here.
1504 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * simple.el (newline): Only run post-self-insert-hook when
1507 called interactively.
1509 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1511 * icomplete.el (icomplete-with-completion-tables): Add :version.
1513 2013-10-19 Alan Mackenzie <acm@muc.de>
1515 Fix fontification bugs with constructors and const.
1517 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1518 CASE 2) Remove the check for the absence of a suffix construct
1519 after a function declaration with only types (no identifiers) in
1520 the parentheses. Also, accept a function declaration with just a
1521 type inside the parentheses, if this type can be positively
1522 recognised as such, or if a prefix keyword like "explicit" nails
1523 down the construct as a declaration.
1525 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1527 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1528 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1529 the problem whereby selecting a menu item that leads to a
1530 minibuffer prompt moves the cursor out of the minibuffer window,
1531 making it hard to type at the prompt. Suggested by Stefan Monnier
1532 <monnier@iro.umontreal.ca>.
1534 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1536 * menu-bar.el: Don't make Services menu.
1538 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1540 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1541 (ffap-alist): Use ffap-c++-mode for c++-mode.
1542 (ffap-c++-path): New variable.
1543 (ffap-c++-mode): New function.
1545 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1547 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1549 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1551 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1552 introduced on 2013-09-08, which results in an infinite loop
1553 requesting a password.
1555 2013-10-18 Glenn Morris <rgm@gnu.org>
1557 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1559 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1561 Sync with upstream verilog-mode revision 1a6ecec7.
1562 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1563 (verilog-mode-release-date): Remove.
1564 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1565 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1566 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1567 (verilog-auto-tieoff-ignore-regexp)
1568 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1569 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1570 (verilog-signals-with, verilog-dir-cache-preserving)
1571 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1573 (verilog-case-fold): New option, to control case folding in
1574 regexp searches, bug597.
1575 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1576 (verilog-string-match-fold, verilog-in-paren-count)
1577 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1578 (verilog-at-close-struct-p): New functions.
1579 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1580 (verilog-forward-sexp, verilog-set-auto-endcomments):
1581 (verilog-leap-to-case-head): Handle "unique0" case.
1582 (verilog-in-constraint-re): New constant.
1583 (verilog-keywords, verilog-type-font-keywords):
1584 Add some SystemVerilog 1800-2012 keywords.
1585 (verilog-label-be): Remove unimplemented argument, bug669.
1586 (verilog-batch-execute-func): When batch expanding clear
1587 create-lockfiles to prevent spurious user locks when a file ends
1589 (verilog-calculate-indent, verilog-calc-1)
1590 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1591 (verilog-do-indent): Fix indentation of nested constraints
1593 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1594 (verilog-auto-inst-param): Use verilog-string-match-fold.
1595 (verilog-read-inst-module-matcher):
1596 Fix AUTOINST on gate primitives with #1.
1597 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1598 Reads all user-defined typed variables.
1599 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1600 (verilog-signals-matching-regexp)
1601 (verilog-signals-not-matching-regexp, verilog-auto):
1602 Respect verilog-case-fold.
1603 (verilog-diff-report): Fix line count.
1604 (verilog-auto-assign-modport): Remove unused local `modi'.
1605 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1606 better handle multidimensional arrays.
1607 Fix packed array ports misadding bit index in AUTOINST, bug637.
1608 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1609 to not double-declare existing outputs and inputs, respectively.
1610 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1611 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1612 (verilog-sk-uvm-component): New skeleton.
1613 (verilog-submit-bug-report): Add verilog-case-fold,
1614 remove verilog-mode-release-date.
1616 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1618 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1621 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1623 * textmodes/remember.el (remember): set buffer-offer-save in
1624 remember buffers (bug#13566).
1626 2013-10-18 Daniel Colascione <dancol@dancol.org>
1628 When evaluating forms in ielm, direct standard output to ielm
1629 buffer. Add new ielm-return-for-effect command. Remove trailing
1630 whitespace throughout.
1632 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1633 (ielm-return-for-effect): New command.
1634 (ielm-send-input): Accept optional `for-effect' parameter.
1635 (ielm-eval-input): Accept optional `for-effect' parameter.
1636 Bind `standard-output' to stream we create using
1637 `ielm-standard-output-impl'. Suppress printing result when
1639 (ielm-standard-output-impl): New function.
1640 (inferior-emacs-lisp-mode): Explain new features in documentation.
1642 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1646 * net/tramp.el (tramp-debug-message): Do not check for connection
1648 (tramp-message): Use "vector" connection property.
1650 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1651 (tramp-equal-remote, tramp-eshell-directory-change)
1652 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1653 (tramp-adb-handle-rename-file)
1654 * net/tramp-cmds.el (tramp-list-remote-buffers)
1655 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1656 * net/tramp-compat.el (tramp-compat-process-running-p)
1657 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1658 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1659 (tramp-gvfs-handle-rename-file)
1660 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1661 (tramp-set-file-uid-gid)
1662 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1663 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1666 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1667 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1668 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1669 (tramp-gw-open-network-stream): Suppress unrelated traces.
1671 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1672 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1673 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1674 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1675 connection property.
1677 * net/tramp-cache.el (top): Suppress traces when reading
1680 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1681 Refactor common code. Improve debug message.
1682 (tramp-maybe-open-connection)
1683 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1684 connection buffer too early.
1686 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1687 from `tramp-smb-actions-with-acl'.
1688 (tramp-smb-actions-set-acl): New defconst.
1689 (tramp-smb-handle-copy-directory)
1690 (tramp-smb-action-get-acl): New defun, renamed from
1691 `tramp-smb-action-with-acl'.
1692 (tramp-smb-action-set-acl): New defun.
1693 (tramp-smb-handle-set-file-acl): Rewrite.
1695 2013-10-17 Glenn Morris <rgm@gnu.org>
1697 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1699 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * skeleton.el (skeleton-newline): Remove.
1702 (skeleton-internal-1): Use (insert "\n") instead.
1704 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1707 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1708 forward-sexp-function while we redo its job (bug#15613).
1710 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1712 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1713 represented by lists.
1715 2013-10-16 Glenn Morris <rgm@gnu.org>
1717 * tmm.el (tmm--history): New dynamic variable.
1718 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1720 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1722 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1723 (tramp-smb-errors): Add error messages.
1724 (tramp-smb-actions-with-acl): New defconst.
1725 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1726 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1727 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1728 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1729 (tramp-smb-get-stat-capability): Fix tests.
1731 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1733 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1736 2013-10-16 Glenn Morris <rgm@gnu.org>
1738 * ansi-color.el (ansi-color-drop-regexp):
1739 Add 1J, 1K, 2K. (Bug#15617)
1741 * files.el (hack-local-variables--warned-lexical): New.
1742 (hack-local-variables):
1743 Warn about misplaced lexical-binding. (Bug#15616)
1745 * net/eww.el (eww-render): Always set eww-current-url,
1746 and update header line. (Bug#15622)
1747 (eww-display-html): ... Rather than just doing it here.
1749 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1751 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1752 menu navigations commands.
1754 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1756 * progmodes/subword.el (subword-capitalize): Be careful when
1757 the search for [[:alpha:]] fails (bug#15580).
1759 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1761 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1762 to commands that scroll the menu.
1764 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1766 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1767 Handle methods ending with `?' and `!'.
1769 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1771 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1772 `japanese-cp932' to `cp932' to fix the problem where saving a
1773 source file written in Shift_JIS twice would end up having
1774 `coding: japanese-cp932' which Ruby could not recognize.
1775 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1776 in `ruby-encoding-map'.
1777 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1778 doesn't need to be explicitly declared in magic comment.
1779 (ruby-encoding-map): Add type declaration for better customize UI.
1781 2013-10-13 Glenn Morris <rgm@gnu.org>
1783 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1784 Occur buffers are read-only. http://bugs.debian.org/720775
1786 * emacs-lisp/authors.el (authors-fixed-entries):
1787 Comment out old alpha stuff.
1789 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1791 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1792 to `after-save-hook' instead of `before-save-hook'.
1793 (ruby-mode-set-encoding): Use the value of coding system used to
1794 write the file. Call `basic-save-buffer-1' after modifying the
1797 2013-10-13 Alan Mackenzie <acm@muc.de>
1799 Fix indentation/fontification of Java enum with
1800 "implements"/generic.
1802 * progmodes/cc-engine.el (c-backward-over-enum-header):
1803 Extracted from the three other places and enhanced to handle generics.
1804 (c-inside-bracelist-p): Uses new function above.
1805 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1807 (c-font-lock-enum-tail): Uses new function above.
1809 2013-10-13 Kenichi Handa <handa@gnu.org>
1811 * international/mule-cmds.el (select-safe-coding-system): Remove a
1812 superfluous condition in chekcing whether a coding system is safe
1815 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1817 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1819 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1821 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1823 2013-10-13 Glenn Morris <rgm@gnu.org>
1825 * menu-bar.el (menu-bar-update-buffers):
1826 Unify Buffers menu prompt string. (Bug#15576)
1828 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1830 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1832 (authors-fixed-entries): Use accented form of name.
1834 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1836 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1837 method calls (bug#15594).
1838 (ruby-smie--args-separator-p): New function.
1839 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1840 recognize paren-free method calls.
1842 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1843 internals of universal-argument.
1845 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1847 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1848 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1849 dropped menu on second mouse click on the menu bar.
1851 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1854 (explicit-shell-file-name): Declare.
1855 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1856 (sh-completion-at-point-function): New function.
1858 (sh-smie--keyword-p): Remove unused argument.
1859 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1861 (sh-set-shell): Always setup SMIE, even if we use the
1862 old indentation code.
1864 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1866 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1868 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1869 predicate would return nil are almost non-existent.
1870 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1872 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1873 cache also after commands that modify the buffer but don't move
1876 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * env.el (substitute-env-in-file-name): New function.
1879 (substitute-env-vars): Extend the meaning of the optional arg.
1881 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1883 * term/w32-win.el (dynamic-library-alist): Define separate lists
1884 of GIF DLLs for versions before and after 5.0.0 of giflib.
1887 2013-10-10 João Távora <joaotavora@gmail.com>
1889 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1890 not locked, use last revision and current source as
1891 defaults. (Bug#15569)
1893 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1895 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1898 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1900 * window.el (pop-to-buffer-same-window): Fix doc-string.
1903 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1907 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1909 * calendar/icalendar.el (icalendar-import-file):
1910 Fix interactive spec. (Bug#15482)
1912 2013-10-10 Glenn Morris <rgm@gnu.org>
1914 * desktop.el (desktop-save): Default to saving in .emacs.d,
1915 since PWD is no longer in desktop-path by default. (Bug#15319)
1917 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1918 now that text mode has a menu with the same entry.
1919 (menu-bar-text-mode-auto-fill): Remove now unused func.
1920 * textmodes/text-mode.el (text-mode-map):
1921 Use auto-fill help text from menu-bar.el.
1923 2013-10-10 John Anthony <john@jo.hnanthony.com>
1925 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1927 2013-10-09 Juri Linkov <juri@jurta.org>
1929 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1930 instead of this-command-keys. Add universal-argument-more and
1931 universal-argument-minus to the list of prefix commands. (Bug#15568)
1933 2013-10-09 Glenn Morris <rgm@gnu.org>
1935 * vc/vc-svn.el (vc-svn-create-repo):
1936 Expand paths in file://... url. (Bug#15446)
1938 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1940 (authors): Remove unused local variables.
1942 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * profiler.el: Create a more coherent calltree from partial backtraces.
1945 (profiler-format): Hide the tail with `invisible' so that C-s can still
1946 find the hidden elements.
1947 (profiler-calltree-depth): Don't recurse so enthusiastically.
1948 (profiler-function-equal): New hash-table-test.
1949 (profiler-calltree-build-unified): New function.
1950 (profiler-calltree-build): Use it.
1951 (profiler-report-make-name-part): Indent the calltree less.
1952 (profiler-report-mode): Add visibility specs for profiler-format.
1953 (profiler-report-expand-entry, profiler-report-toggle-entry):
1954 Expand the whole subtree when provided with a prefix arg.
1956 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1958 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1960 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1961 hanging iuwu-mod token.
1962 (ruby-smie--forward-token): Do not include a dot after a token in
1964 (ruby-smie--backward-token): Likewise.
1966 2013-10-08 Juri Linkov <juri@jurta.org>
1968 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1969 to isearch-other-control-char.
1970 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1971 and isearch-post-command-hook to post-command-hook.
1972 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1973 and isearch-post-command-hook from post-command-hook.
1974 (isearch-unread-key-sequence)
1975 (isearch-reread-key-sequence-naturally)
1976 (isearch-lookup-scroll-key, isearch-other-control-char)
1977 (isearch-other-meta-char): Remove functions.
1978 (isearch-pre-command-hook, isearch-post-command-hook):
1979 New functions based on isearch-other-meta-char rewritten
1980 relying on the new behavior of overriding-terminal-local-map
1981 that does not replace the local keymaps any more. (Bug#15200)
1983 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1985 Support menus on text-mode terminals.
1986 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1989 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1991 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1992 Move here from mouse.el.
1993 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1995 (tty-menu-navigation-map): New map for TTY menu navigation.
1997 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1999 * frame.el (display-mouse-p): Report text-mode mouse as available
2001 (display-popup-menus-p): Report availability if mouse is
2002 available; don't condition on window-system.
2004 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2005 (tty-menu-selected-face): New faces.
2007 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2010 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2011 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2012 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2014 (lisp-mode-variables): New `elisp' argument.
2015 (emacs-lisp-mode): Use it.
2016 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2017 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2019 * indent.el: Use lexical-binding.
2020 (indent-region): Add progress reporter.
2021 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2023 (indent--next-tab-stop): New function to implement this behavior.
2024 (tab-to-tab-stop, move-to-tab-stop): Use it.
2026 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2028 * indent.el (indent-rigidly--current-indentation): New function.
2029 (indent-rigidly-map): New var.
2030 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2032 2013-10-08 Bastien Guerry <bzg@gnu.org>
2034 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2036 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * progmodes/perl-mode.el: Use lexical-binding.
2039 Remove redundant :group args.
2040 (perl-nochange): Change default to be closer to other major modes's
2042 (perl-indent-line): Don't consider text on current line as a
2043 valid beginning of function from which to indent.
2045 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2046 with more than one argument (bug#15538).
2048 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2050 * vc/pcvs.el: Use lexical-binding.
2051 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2052 environment of `eval'.
2053 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2054 than a list of expressions. Adjust callers.
2055 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2057 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2059 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2060 case of the dot in a chained method call being on the following line.
2062 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * electric.el (electric-indent-inhibit): New var.
2065 (electric-indent-post-self-insert-function): Use it.
2066 * progmodes/python.el (python-mode): Set it.
2068 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2071 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2073 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2074 (css-mode): Use electric-indent-chars.
2076 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2077 (font-lock-beg, font-lock-end): Move before first use.
2078 (nxml-mode): Use syntax-propertize-function.
2079 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2080 (nxml-extend-after-change-region): Remove.
2081 * nxml/xmltok.el: Use lexical-binding.
2082 (xmltok-save): Use `declare'.
2083 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2084 * nxml/nxml-util.el: Use lexical-binding.
2085 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2087 * nxml/nxml-ns.el: Use lexical-binding.
2088 (nxml-ns-save): Use `declare'.
2089 (nxml-ns-prefixes-for): Avoid add-to-list.
2090 * nxml/rng-match.el: Use lexical-binding.
2091 (rng--ipattern): Use cl-defstruct.
2092 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2093 (rng-cons-group-after, rng-subst-group-after)
2094 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2095 Use closures instead of `(lambda...).
2097 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2099 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2102 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2103 Use `tramp-handle-insert-file-contents'.
2104 (tramp-gvfs-handle-insert-file-contents): Remove function.
2106 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2107 Use `save-restriction' in order to keep markers.
2109 * net/trampver.el: Update release number.
2111 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * progmodes/compile.el (compilation-parse-errors):
2114 Use compilation--put-prop.
2115 (compilation--ensure-parse): Check compilation-multiline.
2117 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2119 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2122 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2124 * progmodes/ruby-mode.el: Fix recently added tests.
2125 (ruby-smie-grammar): Add - and +.
2126 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2127 (ruby-smie--backward-id): New functions.
2128 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2129 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2132 2013-10-07 Leo Liu <sdl.web@gmail.com>
2134 * register.el (register-preview-delay)
2135 (register-preview-functions): New variables.
2136 (register-read-with-preview, register-preview)
2137 (register-describe-oneline): New functions.
2138 (point-to-register, window-configuration-to-register)
2139 (frame-configuration-to-register, jump-to-register)
2140 (number-to-register, view-register, insert-register)
2141 (copy-to-register, append-to-register, prepend-to-register)
2142 (copy-rectangle-to-register): Use register-read-with-preview to
2143 read register. (Bug#15525)
2145 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2147 * net/network-stream.el (network-stream-open-starttls): Don't add
2148 --insecure if it's already present, because that gnutls-cli
2149 rejects getting that parameter twice.
2151 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2153 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2156 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2158 * newcomment.el (comment-use-global-state): Change default value
2159 to t, mark obsolete (Bug#15251).
2160 (comment-beginning): In addition to `comment-to-syntax', check the
2161 value of `comment-use-global-state'.
2163 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2165 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2166 (ruby-comment-column): Follow the global default, by default.
2167 (ruby-smie-grammar): Add assignment syntax.
2168 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2169 open-paren, a comma, or a \.
2170 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2171 and line continuations.
2172 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2173 followed by implicit semi-colons. Add rule for string concatenation
2174 and for indentation at BOB.
2175 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2177 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2178 calling next-sexp, since next-token may have skipped chars which
2179 next-sexp doesn't know should be skipped!
2181 2013-10-05 Leo Liu <sdl.web@gmail.com>
2183 * progmodes/octave.el (octave-send-region):
2184 Call compilation-forget-errors.
2186 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2188 * vc/vc-svn.el (vc-svn-find-admin-dir):
2189 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2190 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2191 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2192 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2194 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2196 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2198 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * subr.el (read-passwd): Hide chars even when called within a context
2201 where after-change-functions is disabled (bug#15501).
2202 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2203 until we removed ourself from overriding-terminal-local-map.
2205 2013-10-04 Leo Liu <sdl.web@gmail.com>
2207 * progmodes/octave.el (inferior-octave-mode):
2208 Call compilation-forget-errors.
2210 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2212 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2214 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2216 * net/secrets.el (secrets-create-collection): Add optional
2217 argument ALIAS. Use proper Label keyword. Append ALIAS as
2218 dbus-call-method argument. (Bug#15516)
2220 2013-10-04 Leo Liu <sdl.web@gmail.com>
2222 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2223 (inferior-octave-compilation-font-lock-keywords): New variables.
2224 (compilation-error-regexp-alist)
2225 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2226 (inferior-octave-mode): Use compilation-shell-minor-mode.
2228 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2230 * minibuffer.el (completion--replace): Be careful that `end' might be
2233 2013-10-03 Daiki Ueno <ueno@gnu.org>
2235 Add support for package signature checking.
2236 * emacs-lisp/package.el (url-http-file-exists-p)
2237 (epg-make-context, epg-context-set-home-directory)
2238 (epg-verify-string, epg-context-result-for)
2239 (epg-signature-status, epg-signature-to-string)
2240 (epg-check-configuration, epg-configuration)
2241 (epg-import-keys-from-file): Declare.
2242 (package-check-signature): New user option.
2243 (package-unsigned-archives): New user option.
2244 (package-desc): Add `signed' field.
2245 (package-load-descriptor): Set `signed' field if .signed file exists.
2246 (package--archive-file-exists-p): New function.
2247 (package--check-signature): New function.
2248 (package-install-from-archive): Check package signature.
2249 (package--download-one-archive): Check archive signature.
2250 (package-delete): Remove .signed file.
2251 (package-import-keyring): New command.
2252 (package-refresh-contents): Import default keyring.
2253 (package-desc-status): Add "unsigned" status.
2254 (describe-package-1, package-menu--print-info)
2255 (package-menu-mark-delete, package-menu--find-upgrades)
2256 (package-menu--status-predicate): Support "unsigned" status.
2258 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2261 the new compilation scheme using the new byte-codes.
2263 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2264 (byte-pophandler): New byte codes.
2265 (byte-goto-ops): Adjust accordingly.
2266 (byte-compile--use-old-handlers): New var.
2267 (byte-compile-catch): Use new byte codes depending on
2268 byte-compile--use-old-handlers.
2269 (byte-compile-condition-case--old): Rename from
2270 byte-compile-condition-case.
2271 (byte-compile-condition-case--new): New function.
2272 (byte-compile-condition-case): New function that dispatches depending
2273 on byte-compile--use-old-handlers.
2274 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2277 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2278 Optimize under `condition-case' and `catch' if
2279 byte-compile--use-old-handlers is nil.
2280 (disassemble-offset): Handle new bytecodes.
2282 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2284 * subr.el (error): Use `declare'.
2285 (decode-char, encode-char): Use advertised-calling-convention instead
2286 of the docstring to discourage use of the `restriction' arg.
2288 2013-10-03 Daiki Ueno <ueno@gnu.org>
2290 * epg.el (epg-verify-file): Add a comment saying that it does not
2291 notify verification error as a return value nor a signal.
2292 (epg-verify-string): Ditto.
2294 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2296 * progmodes/compile.el (compilation-start): Try globbing the arg to
2299 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2301 Sync with Tramp 2.2.8.
2303 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2304 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2305 * net/trampver.el: Update release number.
2307 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2309 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2310 and default-process-coding-system for darwin only.
2312 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2316 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2318 * vc/vc-git.el (vc-git-grep): Disable pager.
2320 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2322 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2323 Use :url instead of :homepage, as per
2324 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2326 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2327 non-nil, use `syntax-ppss' (Bug#15251).
2329 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2331 * progmodes/octave.el (inferior-octave-startup-file):
2332 Prefer ~/.emacs.d/init_octave.m.
2334 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2336 * emacs-lisp/package.el (package-desc-from-define):
2337 Accept additional arguments as plist, convert them to an alist and store
2338 them in the `extras' slot.
2339 (package-generate-description-file): Convert extras alist back to
2340 plist and append to the `define-package' form arguments.
2341 (package--alist-to-plist): New function.
2342 (package--ac-desc): Add `extras' slot.
2343 (package--add-to-archive-contents): Check if the archive-contents
2344 vector is long enough, and if it is, pass its `extras' slot value
2345 to `package-desc-create'.
2346 (package-buffer-info): Call `lm-homepage', pass the returned value
2347 to `package-desc-from-define'.
2348 (describe-package-1): Render the homepage button (Bug#13291).
2350 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2351 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2353 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2355 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2356 and default-process-coding-system to utf-8-unix (Bug#15402).
2358 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2360 * subr.el (looking-back): Do not recommend using looking-back.
2362 2013-09-28 Alan Mackenzie <acm@muc.de>
2364 Fix indentation/fontification of Java enum with "implements".
2366 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2367 regexp which matches "implements", etc., in Java.
2368 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2369 specifier clauses coming after "enum".
2370 * progmodes/cc-fonts.el (c-font-lock-declarations)
2371 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2374 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2376 * faces.el (region): Change ns_selection_color to
2377 ns_selection_fg_color, add ns_selection_bg_color.
2379 2013-09-28 Leo Liu <sdl.web@gmail.com>
2381 * progmodes/octave.el (inferior-octave-completion-table)
2382 (inferior-octave-completion-at-point): Minor tweaks.
2384 * textmodes/ispell.el (ispell-lookup-words): Rename from
2385 lookup-words. (Bug#15460)
2386 (lookup-words): Obsolete.
2387 (ispell-complete-word, ispell-command-loop): All uses changed.
2389 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2391 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2392 (octave-mode-menu): Add octave-send-buffer.
2393 (octave-send-buffer): New function.
2395 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2397 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2399 (octave-mode-menu): Add octave-lookfor.
2400 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2402 (octave-lookfor): New function.
2404 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * emacs-lisp/cl-macs.el:
2407 (cl--loop-destr-temps): Remove.
2408 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2410 (cl--loop-set-iterator-function): New function.
2411 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2412 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2413 Bind `it' with `let' instead of substituting it with `cl-subst'.
2414 (cl--unused-var-p): New function.
2415 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2416 Eliminate some unused variable warnings (bug#15326).
2418 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2420 * doc-view.el (doc-view-scale-reset): Rename from
2421 `doc-view-reset-zoom-level'.
2422 (doc-view-scale-adjust): New command.
2423 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2424 `doc-view-scale-adjust'.
2426 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2428 * doc-view.el (doc-view-reset-zoom-level): New command.
2429 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2430 zoom commands (bug#15466).
2432 2013-09-26 Kenichi Handa <handa@gnu.org>
2434 * international/quail.el (quail-help): Make it not a command.
2436 2013-09-26 Leo Liu <sdl.web@gmail.com>
2438 * minibuffer.el (completion-all-sorted-completions): Make args
2439 optional as they are.
2441 2013-09-25 Daniel Colascione <dancol@dancol.org>
2443 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2444 specs are and that they're not evaluated.
2446 2013-09-24 Sam Steingold <sds@gnu.org>
2448 * midnight.el (clean-buffer-list-kill-regexps)
2449 (clean-buffer-list-kill-buffer-names): Update for the new Man
2450 buffer naming which includes the object name.
2452 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2454 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2455 (eshell-parse-command, eshell-parse-pipeline): Use it since
2456 eshell-separate-commands requires a dynamic scoped var.
2457 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2459 2013-09-23 Leo Liu <sdl.web@gmail.com>
2461 * autoinsert.el (auto-insert-alist): Make the value of
2462 lexical-binding match its file setting.
2464 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2466 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2468 * autoarg.el (autoarg-kp-digit-argument):
2469 * electric.el (Electric-command-loop):
2470 * kmacro.el (kmacro-step-edit-insert):
2471 Do not set universal-argument-num-events.
2473 2013-09-22 Leo Liu <sdl.web@gmail.com>
2475 * files.el (interpreter-mode-alist): Add octave.
2477 2013-09-21 Alan Mackenzie <acm@muc.de>
2479 C++: fontify identifier in declaration following "public:" correctly.
2480 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2481 to match "public", etc.
2482 (c-decl-prefix-re): Add ":" into the C++ value.
2483 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2484 bit. Add a check for a ":" preceded by "public", etc.
2486 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2488 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2489 recognized by GDB 7.5 and later.
2491 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2493 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2495 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * subr.el (internal--call-interactively): New const.
2498 (called-interactively-p): Use it (bug#3984).
2500 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2502 * vc/pcvs.el (cvs-mode-ignore):
2503 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2504 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2506 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2509 (eshell-ls-orig-insert-directory): Remove.
2510 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2511 (eshell-ls-use-in-dired): Use advice-add/remove.
2512 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2513 Add `orig-fun' arg for use in :around advice.
2514 Make it check (redundantly) eshell-ls-use-in-dired.
2516 2013-09-19 Glenn Morris <rgm@gnu.org>
2518 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2520 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2522 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2524 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2526 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2527 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2528 (tramp-get-remote-python): New defuns.
2529 (tramp-get-remote-uid-with-perl)
2530 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2531 contributed by yary <not.com@gmail.com> (tiny change).
2532 (tramp-get-remote-uid-with-python)
2533 (tramp-get-remote-gid-with-python): New defuns. Python code
2534 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2535 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2537 2013-09-19 Glenn Morris <rgm@gnu.org>
2539 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2541 * eshell/em-unix.el (eshell-remove-entries):
2542 Rename argument to avoid name-clash with global `top-level'.
2544 * eshell/esh-proc.el (eshell-kill-process-function):
2545 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2546 (eshell-reset-after-proc): Remove unused arg `proc'.
2548 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2549 (directory-files-and-attributes): Mark unused arg.
2551 * eshell/em-unix.el (eshell-remove-entries):
2552 Remove unused arg `path'. Update callers.
2554 * eshell/em-hist.el (eshell-hist-parse-arguments):
2555 Remove unused arg `silent'. Update callers.
2557 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2558 Fix (f)boundp mix-up.
2560 * eshell/em-smart.el (eshell-smart-scroll-window)
2561 (eshell-disable-after-change):
2562 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2564 2013-09-18 Alan Mackenzie <acm@muc.de>
2566 Fix fontification of type when followed by "const".
2567 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2568 "known" types from fontification.
2570 2013-09-18 Glenn Morris <rgm@gnu.org>
2572 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2573 (chart-face-list): Drop Emacsen without display-color-p.
2575 * net/eww.el (libxml-parse-html-region): Declare.
2576 (eww-display-html): Explicit error if no libxml2 support.
2578 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2580 * image.el (image-type-from-buffer, image-multi-frame-p):
2581 Remove --without-x warning/error.
2583 * mouse.el (mouse-yank-primary):
2584 * term.el (term-mouse-paste):
2585 Reorder to silence --without-x compilation.
2587 * mpc.el (doc-view-mode): Silence --without-x compilation.
2589 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2590 Silence --without-x compilation.
2592 * progmodes/gud.el (gud-find-file, gud-mode):
2593 Silence --without-x compilation.
2594 (tooltip-mode): Declare.
2596 * wdired.el (dired-backup-overwrite): Remove declaration.
2597 (wdired-mode-map): Add doc string.
2599 * custom.el (x-get-resource): Declare.
2601 * eshell/em-glob.el (ange-cache):
2602 * eshell/em-unix.el (ange-cache): Declare.
2604 * faces.el (x-display-list, x-open-connection, x-get-resource):
2607 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2608 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2611 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2613 * net/gnutls.el (gnutls-log-level): Declare.
2615 * net/shr.el (image-size, image-animate): Declare.
2617 * simple.el (font-info): Declare.
2619 * subr.el (x-popup-dialog): Declare.
2621 * term/common-win.el (x-select-enable-primary)
2622 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2625 * term/ns-win.el (x-handle-args): Declare.
2627 * term/x-win.el (x-select-enable-clipboard): Declare.
2629 * term/w32-win.el (create-default-fontset): Declare.
2631 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2634 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2635 (fit-frame-to-buffer): Explicit error if --without-x.
2636 (mouse-autoselect-window-select): Silence compiler.
2638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2640 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2641 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2642 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2643 * eshell/esh-util.el (eshell-sublist):
2644 Remove unused local variables.
2646 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2648 * textmodes/two-column.el: Make 2C-split work for --without-x.
2649 (scroll-bar-columns): Autoload.
2650 (top-level): Require fringe when compiling.
2652 2013-09-18 Leo Liu <sdl.web@gmail.com>
2654 * subr.el (add-hook): Robustify to handle closure as well.
2656 2013-09-17 Glenn Morris <rgm@gnu.org>
2658 * simple.el (messages-buffer-mode-map): Unbind "g".
2660 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * help-mode.el (help-mode-finish): Use derived-mode-p.
2663 Remove obsolete highlighting.
2665 * play/life.el (life-mode): Use define-derived-mode. Derive from
2667 (life): Let-bind inhibit-read-only.
2668 (life-setup): Avoid `setq'. Use `life-mode'.
2670 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2671 which should not be needed any more.
2672 (package-menu-refresh, package-menu-describe-package): Use user-error.
2674 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2675 (eshell-post-rewrite-command-hook): Make obsolete.
2676 (eshell-parse-command): Simplify.
2677 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2678 (eshell--cmd): Declare.
2679 (eshell-parse-pipeline): Remove unused var `final-p'.
2680 Pass a dynvar to eshell-post-rewrite-command-hook.
2681 Implement the new eshell-post-rewrite-command-function.
2682 (eshell-invoke-directly): Remove unused arg `input'.
2683 * eshell/esh-io.el (eshell-io-initialize):
2684 Use eshell-post-rewrite-command-function (bug#15399).
2685 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2686 adjust to new calling convention.
2687 (eshell-create-handles): Rename args to avoid clashing with dynvar
2690 2013-09-17 Glenn Morris <rgm@gnu.org>
2692 * simple.el (messages-buffer-mode): New major mode.
2693 (messages-buffer): New function.
2694 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2695 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2696 (ert-run-test): Use `messages-buffer' function.
2697 (ert--force-message-log-buffer-truncation): Ignore read-only.
2698 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2699 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2701 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2703 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2705 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2707 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * icomplete.el (icomplete-in-buffer): New var.
2710 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2711 vars and replace them with functions.
2712 (icomplete-minibuffer-setup): Adjust accordingly.
2713 (icomplete--completion-table, icomplete--completion-predicate)
2714 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2716 (icomplete-forward-completions, icomplete-backward-completions)
2717 (icomplete-simple-completing-p, icomplete-exhibit)
2718 (icomplete-completions): Use them.
2719 (icomplete--in-region-buffer): New var.
2720 (icomplete--in-region-setup): New function.
2721 (icomplete-mode): Use it.
2723 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2725 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2726 return args and options.
2727 (eshell-eval-using-options): Use the new return value of
2728 eshell--do-opts to set the options's vars in their scope.
2729 (eshell--set-option): Rename from eshell-set-option.
2731 (eshell--process-option): Rename from eshell-process-option.
2733 (eshell--process-args): Use an `opt-vals' alist to store the options's
2734 values during their processing and return them additionally to the
2737 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2739 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2740 continuation character an operator, as far as indentation is
2741 concerned (Bug#15369).
2743 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2745 * window.el (window--state-put-2): Don't process buffer state
2746 when buffer doesn't exist any more (Bug#15382).
2748 2013-09-15 Glenn Morris <rgm@gnu.org>
2750 * eshell/em-unix.el (eshell/rm):
2751 Make -f ignore missing files. (Bug#15373)
2753 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2754 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2755 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2757 2013-09-14 Glenn Morris <rgm@gnu.org>
2759 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2761 2013-09-13 Glenn Morris <rgm@gnu.org>
2763 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2764 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2766 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2768 * frame.el (x-focus-frame): Mark as declared in frame.c.
2770 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * ls-lisp.el: Use advice-add.
2773 (original-insert-directory): Remove.
2774 (ls-lisp--insert-directory): Rename from insert-directory; add
2775 `orig-fun' argument.
2776 (insert-directory): Advise.
2778 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2780 * term.el (term-emulate-terminal): Decode the command string
2781 before passing it to term-command-hook. (Bug#15337)
2783 2013-09-13 Glenn Morris <rgm@gnu.org>
2785 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2787 * eshell/esh-ext.el (eshell-search-path): Declare.
2789 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2790 Otherwise an error occurs if eshell-dirs module not loaded.
2792 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2794 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2796 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2797 `tramp-check-proper-host'. Check for a valid method name.
2799 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2800 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2801 * net/tramp-sh.el (tramp-maybe-open-connection):
2802 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2804 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2805 also for hash values.
2807 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * term/ns-win.el (parameters): Don't declare as dynamic.
2810 (before-make-frame-hook): Don't add ineffective function.
2812 * eshell/*.el: Use lexical-binding (bug#15231).
2814 2013-09-12 Kenichi Handa <handa@gnu.org>
2816 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2818 2013-09-12 Glenn Morris <rgm@gnu.org>
2820 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2821 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2823 * subr.el (do-after-load-evaluation): Also give compiler warnings
2824 when obsolete files are used (except by obsolete files).
2826 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2827 in the status output, assume `filename' is the first. (Bug#15322)
2829 * vc/vc.el (vc-deduce-fileset): Doc fix.
2831 * calc/calc-help.el (Info-goto-node):
2832 * progmodes/cperl-mode.el (Info-find-node):
2833 * vc/ediff.el (Info-goto-node): Update declarations.
2835 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2837 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2838 (vc-bzr-pull): Require vc-dispatcher.
2839 * vc/vc-git.el (vc-compilation-mode): Declare.
2840 (vc-git-pull): Require vc-dispatcher.
2842 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2844 * progmodes/octave.el (help-button-action): Declare.
2846 * shell.el (shell-directory-tracker): Output error as a message
2847 rather than just returning it as a string.
2848 (shell-process-pushd): Remove useless use of message.
2850 * dframe.el (dframe-timer-fn):
2851 * files.el (dir-locals-read-from-file):
2852 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2854 * reveal.el (reveal-post-command):
2855 * saveplace.el (load-save-place-alist-from-file):
2856 * shell.el (shell-resync-dirs):
2857 * w32-common-fns.el (x-get-selection-value):
2858 * emacs-lisp/copyright.el (copyright-find-copyright):
2859 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2860 * emulation/tpu-edt.el (tpu-copy-keyfile):
2861 * play/bubbles.el (bubbles--mark-neighbourhood):
2862 * progmodes/executable.el
2863 (executable-make-buffer-file-executable-if-script-p):
2864 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2866 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2868 Cleanup Eshell to rely less on dynamic scoping.
2869 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2870 last-value, and ext-command here. Bind `args' closer to `body'.
2871 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2872 (eshell--args): Declare new dynamic var.
2873 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2874 last-value, and ext-command. Pass `args' to `body'.
2875 (eshell-process-args): Bind eshell--args.
2876 (eshell-set-option): Use eshell--args.
2877 * eshell/eshell.el (eshell): Use derived-mode-p.
2878 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2879 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2880 (eshell-glob-function): Declare.
2881 * eshell/esh-util.el: Require cl-lib.
2882 (eshell-read-hosts-file): Avoid add-to-list.
2883 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2885 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2887 (eshell/diff): Remove unused var `err'.
2888 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2890 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2891 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2893 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2894 Move declaration before first use.
2895 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2896 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2899 2013-09-12 Glenn Morris <rgm@gnu.org>
2901 * term/ns-win.el (global-map): Remove binding for ispell-next,
2902 deleted 1999-05-29. (Bug#15357)
2904 2013-09-11 Glenn Morris <rgm@gnu.org>
2906 * echistory.el (electric-command-history): Remove call to deleted func.
2908 * play/landmark.el (landmark-mode): Fix typos.
2910 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2911 Check cvs-sort-ignore-file is bound.
2913 * savehist.el: No need for cl when compiling on Emacs.
2915 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2917 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2919 (eshell-self-insert-command, eshell-send-invisible):
2920 Remove unused argument.
2921 (eshell-handle-control-codes): Remove unused var `orig'.
2922 Avoid delete-backward-char.
2924 * files.el (set-auto-mode): Simplify a bit further.
2926 2013-09-11 Glenn Morris <rgm@gnu.org>
2928 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2929 (set-auto-mode): Don't regexp-quote elements.
2930 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2931 * progmodes/cc-mode.el (interpreter-mode-alist):
2932 * progmodes/ruby-mode.el (interpreter-mode-alist):
2933 Revert previous change.
2935 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * play/snake.el (snake-mode):
2938 * play/mpuz.el (mpuz-mode):
2939 * play/landmark.el (lm-mode):
2940 * play/blackbox.el (blackbox-mode):
2941 * play/5x5.el (5x5-mode):
2942 * obsolete/options.el (Edit-options-mode):
2943 * net/quickurl.el (quickurl-list-mode):
2944 * net/newst-treeview.el (newsticker-treeview-mode):
2945 * mail/rmailsum.el (rmail-summary-mode):
2946 * mail/mspools.el (mspools-mode):
2947 * locate.el (locate-mode):
2948 * ibuffer.el (ibuffer-mode):
2949 * emulation/ws-mode.el (wordstar-mode):
2950 * emacs-lisp/debug.el (debugger-mode):
2951 * array.el (array-mode):
2952 * net/eudc.el (eudc-mode): Use define-derived-mode.
2953 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2954 Move initialization into declaration.
2955 (mairix-searches-mode): Use define-derived-mode.
2956 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2957 (eudc-edit-hotlist): Use dolist.
2958 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2959 (Man-mode): Use define-derived-mode.
2960 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2961 (Info-edit-mode): Use define-derived-mode.
2962 (Info-cease-edit): Use Info-mode.
2963 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2965 (eshell-mode): Use define-derived-mode.
2966 * chistory.el (command-history-mode-map): Rename from
2967 command-history-map.
2968 (command-history-mode): Use define-derived-mode.
2969 (Command-history-setup): Remove function.
2970 * calc/calc.el (calc-trail-mode-map): New var.
2971 (calc-trail-mode): Use define-derived-mode.
2972 (calc-trail-buffer): Set calc-main-buffer manually.
2973 * bookmark.el (bookmark-insert-annotation): New function.
2974 (bookmark-edit-annotation): Use it.
2975 (bookmark-edit-annotation-mode): Make it a proper major mode.
2976 (bookmark-send-edited-annotation): Use derived-mode-p.
2977 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2978 closer to its ideal place. Use \' to match EOS.
2980 * profiler.el (profiler-calltree-find): Use function-equal.
2982 2013-09-10 Glenn Morris <rgm@gnu.org>
2984 * files.el (interpreter-mode-alist): Convert to regexps.
2985 (set-auto-mode): Adapt for this. (Bug#15306)
2986 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2987 Comment out unused variable.
2988 * progmodes/cc-mode.el (interpreter-mode-alist):
2989 * progmodes/python.el (interpreter-mode-alist):
2990 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2991 * progmodes/sh-script.el (sh-set-shell):
2992 No longer use interpreter-mode-alist to get list of shells.
2994 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2996 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2998 * simple.el: Use set-temporary-overlay-map for universal-argument.
2999 (universal-argument-map): Don't use default-bindings (bug#15317).
3000 Bind switch-frame explicitly. Replace universal-argument-minus with
3001 a conditional binding.
3002 (universal-argument-num-events, saved-overriding-map): Remove.
3003 (restore-overriding-map): Remove.
3004 (universal-argument--mode): Rename from save&set-overriding-map,
3006 (universal-argument, universal-argument-more, negative-argument)
3007 (digit-argument): Adjust accordingly.
3008 (universal-argument-minus): Remove.
3009 (universal-argument-other-key): Remove.
3011 * subr.el (with-demoted-errors): Add `format' argument.
3013 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3015 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3016 `tramp-cleanup-connection'.
3018 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3019 parameters KEEP-DEBUG and KEEP-PASSWORD.
3021 * net/tramp.el (tramp-file-name-handler):
3022 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3023 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3024 (tramp-maybe-open-connection):
3025 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3026 Use `tramp-cleanup-connection'.
3028 * net/tramp-sh.el (tramp-maybe-open-connection):
3029 Catch 'uname-changed inside the progress reporter.
3031 2013-09-10 Glenn Morris <rgm@gnu.org>
3033 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3035 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3036 returns "alternate access method" in mode (eg "-rw-r--r--.").
3038 2013-09-08 Glenn Morris <rgm@gnu.org>
3040 * saveplace.el (load-save-place-alist-from-file):
3041 Demote errors. (Bug#15305)
3043 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3045 Improve compatibility with older Emacsen, and XEmacs.
3047 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3048 only if it is bound. It isn't for XEmacs.
3049 (with-tramp-progress-reporter): Do not let-bind `result'.
3050 This yields to scoping errors in XEmacs.
3051 (tramp-handle-make-auto-save-file-name): New function, moved from
3054 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3055 for `make-auto-save-file-name'.
3056 (tramp-adb--gnu-switches-to-ash):
3057 Use `tramp-compat-replace-regexp-in-string'.
3059 * net/tramp-cache.el (tramp-cache-print): Call
3060 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3062 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3063 bound. It isn't for XEmacs.
3065 * net/tramp-compat.el (tramp-compat-copy-file):
3066 Catch `wrong-number-of-arguments' error.
3067 (tramp-compat-replace-regexp-in-string): New defun.
3069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3070 for `make-auto-save-file-name'.
3071 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3073 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3074 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3075 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3077 * net/tramp-gw.el (tramp-gw-open-network-stream):
3078 Use `tramp-compat-replace-regexp-in-string'.
3080 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3081 Call `tramp-handle-make-auto-save-file-name'.
3082 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3083 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3084 (tramp-sh-file-inotifywait-process-filter):
3085 Use `tramp-compat-replace-regexp-in-string'.
3086 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3088 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3089 for `make-auto-save-file-name'.
3090 (tramp-smb-handle-copy-directory):
3091 Call `tramp-compat-replace-regexp-in-string'.
3092 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3093 (tramp-smb-handle-copy-file): Improve error message.
3094 (tramp-smb-handle-rename-file): Rename directly only in case
3095 `newname' does not exist yet. This is a restriction of smbclient.
3096 (tramp-smb-maybe-open-connection): Rerun the function only when
3097 `auth-sources' is non-nil.
3099 2013-09-08 Kenichi Handa <handa@gnu.org>
3101 * international/characters.el: Set category "^" (Combining) for
3104 2013-09-07 Alan Mackenzie <acm@muc.de>
3106 Correctly fontify Java class constructors.
3107 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3109 (c-recognize-typeless-decls): Set the Java value to t.
3110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3111 While handling a "(", add a check for, effectively, Java, and handle a
3112 "typeless" declaration there.
3114 2013-09-07 Roland Winkler <winkler@gnu.org>
3116 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3117 field subtitle for entry type book.
3119 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3121 * minibuffer.el: Make minibuffer-complete call completion-in-region
3122 rather than other way around.
3123 (completion--some, completion-pcm--find-all-completions):
3124 Don't delay signals when debugging.
3125 (minibuffer-completion-contents): Beware fields within the
3126 minibuffer contents.
3127 (completion-all-sorted-completions): Use defvar-local.
3128 (completion--do-completion, completion--cache-all-sorted-completions)
3129 (completion-all-sorted-completions, minibuffer-force-complete):
3130 Add args `beg' and `end'.
3131 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3132 (minibuffer-complete): Use completion-in-region.
3133 (completion-complete-and-exit): New fun, extracted from
3134 minibuffer-complete-and-exit.
3135 (minibuffer-complete-and-exit): Use it.
3136 (completion--complete-and-exit): Rename from
3137 minibuffer--complete-and-exit.
3138 (completion-in-region--single-word): New function, extracted from
3139 minibuffer-complete-word.
3140 (minibuffer-complete-word): Use it.
3141 (display-completion-list): Make `common-substring' argument obsolete.
3142 (completion--in-region): Call completion--in-region-1 instead of
3143 minibuffer-complete.
3144 (completion-help-at-point): Pass boundaries to
3145 minibuffer-completion-help as args rather than via an overlay.
3146 (completion-pcm--string->pattern): Use `any-delim'.
3147 (completion-pcm--optimize-pattern): New function.
3148 (completion-pcm--pattern->regex): Handle `any-delim'.
3149 * icomplete.el (icomplete-forward-completions)
3150 (icomplete-backward-completions, icomplete-completions):
3151 Adjust calls to completion-all-sorted-completions and
3152 completion--cache-all-sorted-completions.
3153 (icomplete-with-completion-tables): Default to t.
3154 * emacs-lisp/crm.el (crm--current-element): Rename from
3155 crm--select-current-element. Don't put an overlay but return the
3157 (crm--completion-command): Take two new args to bind to the boundaries.
3158 (crm-completion-help): Adjust accordingly.
3159 (crm-complete): Use completion-in-region.
3160 (crm-complete-word): Use completion-in-region--single-word.
3161 (crm-complete-and-exit): Use completion-complete-and-exit.
3163 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3168 2013-09-06 Juri Linkov <juri@jurta.org>
3170 * info.el (Info-display-images-node): When image file doesn't exist
3171 display text version of the image if it's provided in the Info file.
3172 Otherwise, display the location of missing image from SRC attribute.
3173 Add help-echo text property from ALT attribute. (Bug#15279)
3175 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3178 (edit-abbrevs-mode): Use define-derived-mode.
3180 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3181 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3183 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3184 Use define-derived-mode.
3186 * epg.el (epg-start-encrypt): Minor CSE simplification.
3188 2013-09-06 William Xu <william.xwl@gmail.com>
3190 * arc-mode.el: Add support for 7za (bug#15264).
3191 (archive-7z-program): New var.
3192 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3193 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3194 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3196 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3200 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3201 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3202 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3203 (tramp-postfix-host-format, tramp-file-name-regexp)
3204 (tramp-completion-file-name-regexp)
3205 (tramp-completion-dissect-file-name)
3206 (tramp-handle-substitute-in-file-name): Remove 'url case.
3207 (tramp-file-name-regexp-url)
3208 (tramp-completion-file-name-regexp-url): Remove constants.
3210 2013-09-06 Glenn Morris <rgm@gnu.org>
3212 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3214 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3216 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3217 keywords" below "here-doc beginnings" (Bug#15270).
3219 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3221 * subr.el (pop): Use `car-safe'.
3222 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3223 to detect unused `pop' return value.
3225 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3227 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3228 (python-fill-string): Remove unused var `marker'.
3229 (python-skeleton-add-menu-items): Remove unused var `items'.
3231 * international/mule-cmds.el: Require CL.
3232 (find-coding-systems-for-charsets): Avoid add-to-list.
3233 (sanitize-coding-system-list): New function, extracted from
3234 select-safe-coding-system-interactively.
3235 (select-safe-coding-system-interactively): Use it.
3236 (read-input-method-name): Accept symbols for `default'.
3238 * emacs-lisp/advice.el (defadvice): Add indent rule.
3240 2013-09-05 Daniel Hackney <dan@haxney.org>
3244 * net/browse-url.el:
3247 * net/eudcb-ldap.el:
3260 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3261 byte compiler. Remove some unused let-bound variables.
3263 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3266 a "ref-cell", since it gets better optimized (bug#14883).
3268 2013-09-05 Glenn Morris <rgm@gnu.org>
3270 * progmodes/cc-awk.el (c-forward-sws): Declare.
3272 2013-09-04 Glenn Morris <rgm@gnu.org>
3274 * generic-x.el [rul-generic-mode]: Require cc-mode.
3275 (c++-mode-syntax-table): Declare.
3276 (rul-generic-mode-syntax-table): Init in the defvar.
3278 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3281 (vc-do-command, vc-set-async-update):
3282 * vc/vc-mtn.el (vc-mtn-dir-status):
3283 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3284 (vc-hg-pull, vc-hg-merge-branch):
3285 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3286 (vc-git-merge-branch):
3287 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3288 (vc-cvs-dir-status-files):
3289 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3290 (vc-bzr-dir-status-files):
3291 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3292 * vc/vc-annotate.el: Use lexical-binding.
3293 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3294 (vc-sentinel-movepoint): Declare.
3295 (vc-annotate): Don't use `goto-line'.
3296 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3297 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3298 (vc-sentinel-movepoint): Declare.
3299 * vc/vc-svn.el: Use lexical-binding.
3300 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3302 * vc/vc-rcs.el: Use lexical-binding.
3304 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3305 `deleted'. Don't drop errors silently.
3307 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3309 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3311 * vc/vc.el (vc-ignore): Rewrite.
3312 (vc-default-ignore): New function.
3313 (vc-default-ignore-completion-table): Use find-ignore-file.
3315 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3316 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3317 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3318 Remove. Most code moved to vc.el.
3320 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3323 * net/tramp-smb.el (tramp-smb-get-file-entries):
3324 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3325 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3327 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3329 (eww-change-select): Remove unused var `properties'.
3330 (eww-make-unique-file-name): Remove unused var `base'.
3332 * finder.el (finder-compile-keywords): Don't mess with windows.
3334 * calculator.el (calculator-funcall): Fix typo in last change.
3336 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3338 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3339 <pkg>-autoloads.el file stop us.
3341 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3342 warnings, and factor out common code.
3344 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3346 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3347 two-character operators and whether the character preceding them
3348 changes their meaning (Bug#15208).
3350 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3352 Format code sent to Python shell for robustness.
3353 * progmodes/python.el (python-shell-buffer-substring):
3355 (python-shell-send-region, python-shell-send-buffer): Use it.
3357 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3359 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3360 * net/tramp.el (tramp-user-error): ... here.
3361 (tramp-find-method, tramp-check-proper-host)
3362 (tramp-dissect-file-name, tramp-debug-message)
3363 (tramp-handle-shell-command):
3364 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3367 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3369 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3371 * avoid.el (mouse-avoidance-point-position)
3372 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3375 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3377 * progmodes/python.el (python-shell-completion-get-completions):
3378 Drop use of deleted `comint-last-prompt-overlay'.
3379 (python-nav-if-name-main): New command.
3381 2013-09-01 Glenn Morris <rgm@gnu.org>
3383 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3384 Avoid leading space in $wins. Otherwise the sed command used by
3385 eg compile-main ends up containing "/*.el". (Bug#15170)
3387 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3389 2013-08-30 Glenn Morris <rgm@gnu.org>
3391 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3392 Fix is-this-a-directory logic. (Bug#15220)
3394 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3396 * textmodes/css-mode.el: Use SMIE.
3397 (css-smie-grammar): New var.
3398 (css-smie--forward-token, css-smie--backward-token)
3399 (css-smie-rules): New functions.
3400 (css-mode): Use them.
3401 (css-navigation-syntax-table): Remove var.
3402 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3403 (css-indent-calculate, css-indent-line): Remove functions.
3405 Misc changes to reduce use of `(lambda...); and other cleanups.
3406 * cus-edit.el: Use lexical-binding.
3407 (customize-push-and-save, customize-apropos)
3408 (custom-buffer-create-internal): Use closures.
3409 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3410 * progmodes/ada-xref.el: Use setq.
3411 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3412 * dframe.el: Use lexical-binding.
3413 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3414 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3415 * descr-text.el: Use lexical-binding.
3416 (describe-text-widget, describe-text-sexp, describe-property-list):
3418 * comint.el (comint-history-isearch-push-state): Use a closure.
3419 * calculator.el: Use lexical-binding.
3420 (calculator-number-to-string): Make it work with lexical-binding.
3421 (calculator-funcall): Same and use cl-letf.
3423 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3424 (lisp--company-doc-string, lisp--company-location): New functions.
3425 (lisp-completion-at-point): Use them to improve Company support.
3427 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3428 params of lambda expressions.
3429 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3430 (ruby-smie--opening-pipe-p): New function.
3431 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3432 symbols and matched |...| for formal params.
3433 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3434 from being treated as hanging. Handle "rescue".
3436 2013-08-29 Glenn Morris <rgm@gnu.org>
3438 * progmodes/cc-engine.el (c-pull-open-brace):
3439 Move definition before use.
3441 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3444 are immutable. Don't use `unsafe' any more.
3445 (cl--defsubst-expand): Don't substitute at the same time as keeping
3446 a residual unused let-binding. Don't use `unsafe' any more.
3448 2013-08-29 Glenn Morris <rgm@gnu.org>
3450 * calendar/cal-china.el (calendar-chinese-year-cache):
3453 * nxml/nxml-util.el (nxml-debug-clear-inside):
3454 Use cl-loop rather than loop.
3456 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3458 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3460 2013-08-28 Glenn Morris <rgm@gnu.org>
3462 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3464 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3466 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3468 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * simple.el (repeat-complex-command--called-interactively-skip):
3472 (repeat-complex-command): Use it (bug#14136).
3474 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3475 (c-define-abbrev-table): Add `doc' argument.
3476 (c-mode-abbrev-table, c++-mode-abbrev-table)
3477 (objc-mode-abbrev-table, java-mode-abbrev-table)
3478 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3479 (awk-mode-abbrev-table): Use it.
3480 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3481 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3482 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3483 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3484 Move initialization into the declaration; and remove any
3487 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3488 and dynamic let binding.
3490 * vc/smerge-mode.el: Remove redundant :group args.
3492 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3495 2013-08-28 Juri Linkov <juri@jurta.org>
3497 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3498 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3499 (isearch-other-meta-char): Handle an undefined shifted printing
3500 character by downshifting it. (Bug#15200)
3502 2013-08-28 Juri Linkov <juri@jurta.org>
3504 * isearch.el (isearch-search): Change regexp error message for
3505 non-regexp searches. (Bug#15166)
3507 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3509 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3510 for portability to hosts where /bin/sh has problems.
3512 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3516 2013-08-27 Juri Linkov <juri@jurta.org>
3518 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3519 in the keyboard macro. (Bug#15126)
3521 2013-08-27 Juri Linkov <juri@jurta.org>
3523 * isearch.el (isearch-quote-char): Comment out converting unibyte
3524 to multibyte, thus syncing with its `quoted-insert' counterpart.
3527 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3529 * window.el (display-buffer-use-some-window): Add missing
3530 argument in call of get-largest-window (Bug#15185).
3531 Reported by Stephen Leake.
3533 2013-08-27 Glenn Morris <rgm@gnu.org>
3535 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3537 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3540 from a matcher-function unless there's no more matches (bug#15161).
3542 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3544 * minibuffer.el: Revert change from 2013-08-20.
3546 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3547 with text property `tramp-default', if appropriate.
3548 (tramp-check-proper-host): New defun.
3549 (tramp-dissect-file-name): Do not check hostname. Revert change
3551 (tramp-backtrace): Make VEC-OR-PROC optional.
3553 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3554 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3555 * net/tramp-sh.el (tramp-maybe-open-connection):
3556 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3557 Apply `tramp-check-proper-host'.
3559 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3561 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3562 lambda expression in order to have `describe-variable' display it.
3564 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3566 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3567 BUF can be optional. (Bug#15186)
3569 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3571 * progmodes/flymake.el (flymake-get-real-file-name-function):
3572 Fix broken customization. (Bug#15184)
3574 2013-08-25 Alan Mackenzie <acm@muc.de>
3576 Improve indentation of bracelists defined by macros (without "=").
3578 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3579 expansion begins with "{", regard it as bracelist when it doesn't
3582 Parse C++ inher-intro when there's a template split over 2 lines.
3584 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3585 rigorously the search for "class" etc. followed by ":".
3587 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3588 random languages a regexp which never matches rather than nil.
3590 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3592 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3593 (c-awk-regexp-one-line-possibly-open-char-list-re)
3594 (c-awk-one-line-possibly-open-regexp-re)
3595 (c-awk-one-line-non-syn-ws*-re): Remove.
3596 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3597 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3598 (c-awk-space*-unclosed-regexp-/-re): New constants.
3599 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3600 aren't regexp delimiters.
3602 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3603 handling for a rare situation in AWK Mode involving unterminated
3606 2013-08-23 Glenn Morris <rgm@gnu.org>
3608 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3610 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3612 * files.el (create-file-buffer): If the result would begin with
3613 spaces, prepend a "|" instead of removing them. (Bug#15162)
3615 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3618 text-properties (bug#15155).
3620 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3622 (calc-keypad-redraw): Remove unused var `pad'.
3623 (calc-keypad-press): Remove unused var `menu'.
3625 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3627 * window.el (display-buffer-pop-up-frame):
3628 Call pop-up-frame-function with BUFFER current so `make-frame' will
3629 use it as the new frame's buffer (Bug#15133).
3631 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3633 * calendar/timeclock.el: Minor cleanups.
3634 (timeclock-ask-before-exiting, timeclock-use-display-time):
3636 (timeclock-modeline-display): Define as alias before the
3638 (timeclock-mode-line-display): Use define-minor-mode.
3639 (timeclock-day-list-template): Make it a function, add an argument.
3640 (timeclock-day-list-required, timeclock-day-list-length)
3641 (timeclock-day-list-debt, timeclock-day-list-span)
3642 (timeclock-day-list-break): Adjust calls accordingly.
3644 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3647 Use read--expression so that completion works again.
3649 2013-08-21 Sam Steingold <sds@gnu.org>
3651 Add rudimentary inferior shell interaction
3652 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3653 (sh-set-shell): Reset it.
3654 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3655 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3657 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * align.el: Use lexical-binding.
3660 (align-region): Simplify accordingly.
3662 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3664 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3666 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3669 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3673 * net/tramp-cmds.el:
3675 * net/tramp-gvfs.el:
3677 * net/tramp-sh.el: Don't wrap external variable declarations by
3678 `eval-when-compile'.
3680 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3682 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3683 now that Emacs supports ImageMagick animations.
3685 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3687 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3688 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3690 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3692 * window.el (mouse-autoselect-window-select): Do autoselect when
3693 mouse pointer is on margin.
3695 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3697 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3699 2013-08-16 Glenn Morris <rgm@gnu.org>
3701 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3702 Handle "Remote Directory" response of some clients. (Bug#15058)
3704 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3705 Tweak warning. (Bug#14926)
3707 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3708 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3710 * image-mode.el (image-mode-map): Add menu items to reverse,
3711 increase, decrease, reset animation speed.
3712 (image--set-speed, image-increase-speed, image-decrease-speed)
3713 (image-reverse-speed, image-reset-speed): New functions.
3714 (image-mode-map): Add bindings for speed commands.
3716 * image.el (image-animate-get-speed, image-animate-set-speed):
3718 (image-animate-timeout): Respect image :speed property.
3720 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3723 previous line (bug#15101).
3724 (debugger-eval-expression, debugger-record-expression):
3725 Use read--expression (bug#15102).
3727 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3729 Remove byte compiler warnings, visible when compiling with
3730 `byte-compile-force-lexical-warnings' set to t.
3732 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3733 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3734 (tramp-handle-unhandled-file-name-directory)
3735 (tramp-handle-file-notify-add-watch, tramp-action-login)
3736 (tramp-action-succeed, tramp-action-permission-denied)
3737 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3740 * net/tramp-adb.el (tramp-adb-parse-device-names)
3741 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3742 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3743 (tramp-adb-handle-file-truename): Remove unused arguments.
3745 * net/tramp-cache.el (tramp-flush-directory-property)
3746 (tramp-flush-connection-property, tramp-list-connections)
3747 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3749 * net/tramp-compat.el (tramp-compat-make-temp-file):
3750 Rename FILENAME to F.
3752 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3753 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3754 (tramp-zeroconf-parse-workstation-device-names)
3755 (tramp-zeroconf-parse-webdav-device-names)
3756 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3758 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3759 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3761 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3763 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3764 (tramp-sh-handle-insert-file-contents-literally)
3765 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3767 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3768 Remove unused variables.
3770 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3771 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3772 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3774 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3775 Make them a defconst.
3776 (tramp-uuencode-region): Remove unused variable.
3778 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3780 * frameset.el (frameset--prop-setter): New function.
3781 (frameset-prop): Add gv-setter declaration.
3782 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3783 parameter was already set in FILTERED. Doc fix.
3784 (frameset--record-minibuffer-relationships): Allow saving a
3785 minibufferless frame without its corresponding minibuffer frame.
3786 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3787 frame, if the frame id matches.
3788 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3789 frames before orphaned ones.
3790 (frameset-restore): Warn about orphaned windows, instead of error out.
3792 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3794 * window.el (window-make-atom): Don't overwrite parameter
3796 (display-buffer-in-atom-window): Handle special case where we
3797 split an already atomic window.
3798 (window--major-non-side-window, display-buffer-in-side-window)
3799 (window--side-check): Ignore minibuffer window when walking
3801 (window-deletable-p): Return 'frame only if no other frame uses
3802 our minibuffer window.
3803 (record-window-buffer): Run buffer-list-update-hook.
3804 (split-window): Make sure window--check-frame won't destroy an
3805 existing atomic window in case the new window gets nested
3807 (display-buffer-at-bottom): Ignore minibuffer window when
3808 walking window tree. Don't split a side window.
3809 (pop-to-buffer): Don't set-buffer here, the select-window call
3811 (mouse-autoselect-window-select): Autoselect only if we are in the
3812 text portion of the window.
3814 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3816 * net/shr.el (shr-parse-image-data): New function to grab both the
3817 data itself and the Content-Type.
3818 (shr-put-image): Use it.
3820 * net/eww.el (eww-display-image): Ditto.
3822 * image.el (image-content-type-suffixes): New variable.
3824 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3826 * progmodes/python.el (python-imenu--build-tree)
3827 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3829 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3831 * simple.el (backward-word): Mention the optional argument.
3833 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * frameset.el (frameset--make): Rename constructor from make-frameset.
3836 (frameset-p, frameset-valid-p): Don't autoload.
3837 (frameset-valid-p): Use normal accessors.
3839 2013-08-13 Glenn Morris <rgm@gnu.org>
3841 * progmodes/compile.el (compile-command): Tweak example in doc.
3842 * obsolete/scribe.el (scribe-mode):
3843 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3845 * mail/feedmail.el (feedmail-confirm-outgoing)
3846 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3848 * cus-start.el (truncate-partial-width-windows): Fix type.
3850 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3852 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3854 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * emacs-lisp/timer.el (timer--time-setter): New function.
3857 (timer--time): Use it as gv-setter.
3859 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3860 setter is not a symbol.
3862 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3864 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3865 if sending fails. This makes debugging easier.
3867 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3869 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3870 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3871 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3873 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3875 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3877 2013-08-12 Glenn Morris <rgm@gnu.org>
3879 * format.el (format-annotate-function):
3880 Handle read-only text properties in the source. (Bug#14887)
3882 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3884 * net/eww.el (eww-display-html): Ignore coding system errors.
3885 One web site uses "utf-8lias" as the coding system.
3887 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3889 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3891 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3893 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3894 (tutorial--detailed-help): Remove unused local variables.
3895 (tutorial--save-tutorial-to): Use ignore-errors.
3896 (help-with-tutorial): Use looking-at-p.
3898 * view.el (view-buffer-other-window, view-buffer-other-frame):
3899 Mark unused arguments.
3901 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3902 (woman-select-symbol-fonts, woman, woman-find-file)
3903 (woman-insert-file-contents, woman-non-underline-faces):
3905 (woman1-unquote): Move declaration.
3907 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3908 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3909 argument. Remove unused local variable.
3910 (xml-parse-elem-type): Use string-match-p.
3911 (xml-substitute-numeric-entities): Use ignore-errors.
3913 * calculator.el (calculator): Mark unused argument.
3914 (calculator-paste, calculator-quit, calculator-integer-p):
3916 (calculator-string-to-number, calculator-decimal, calculator-exp)
3917 (calculator-op-or-exp): Use string-match-p.
3919 * dired.el (dired-buffer-more-recently-used-p): Declare.
3920 (dired-insert-set-properties, dired-insert-old-subdirs):
3923 * dired-aux.el (dired-compress): Use ignore-errors.
3924 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3925 (dired-do-async-shell-command, dired-do-shell-command)
3926 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3927 (dired-insert-subdir-validate): Use string-match-p.
3928 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3929 (dired-add-entry): Use string-match-p, looking-at-p.
3930 (dired-insert-subdir-newpos): Remove unused local variable.
3932 * filenotify.el (file-notify-callback): Remove unused local variable.
3934 * filesets.el (filesets-error): Mark unused argument.
3935 (filesets-which-command-p, filesets-filter-dir-names)
3936 (filesets-directory-files, filesets-get-external-viewer)
3937 (filesets-ingroup-get-data): Use string-match-p.
3939 * find-file.el (ff-other-file-name, ff-other-file-name)
3940 (ff-find-the-other-file, ff-cc-hh-converter):
3941 Remove unused local variables.
3942 (ff-get-file-name): Use string-match-p.
3943 (ff-all-dirs-under): Use ignore-errors.
3945 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3946 (follow-select-if-visible): Remove unused local variable.
3948 * forms.el (read-file-filter): Move declaration.
3949 (forms--make-format, forms--make-parser, forms-insert-record):
3950 Quote function with #'.
3951 (forms--update): Use string-match-p. Quote function with #'.
3953 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3954 (help-make-xrefs): Use looking-at-p.
3955 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3957 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3958 (ibuffer-confirm-operation-on): Use string-match-p.
3960 * msb.el (msb-item-handler, msb-dired-item-handler):
3961 Mark unused arguments.
3963 * ses.el (ses-decode-cell-symbol)
3964 (ses-kill-override): Remove unused local variable.
3965 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3966 (ses-load): Use ignore-errors, looking-at-p.
3967 (ses-jump-safe): Use ignore-errors.
3968 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3970 * tabify.el (untabify, tabify): Mark unused arguments.
3972 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3973 Mark unused argument.
3974 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3975 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3977 * emacs-lisp/timer.el (timer--time): Define setter with
3978 gv-define-setter to avoid deprecation warning.
3980 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3981 (*record-cmpl-statistics-p*): Remove (was commented out).
3982 (cmpl-statistics-block): Remove (body was commented out).
3983 All callers changed.
3984 (add-completions-from-buffer, load-completions-from-file):
3985 Remove unused variables.
3987 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3989 * filecache.el (file-cache-delete-file-list):
3990 Print message only when told so.
3991 (file-cache-files-matching): Use #' in mapconcat argument.
3993 * ffap.el (ffap-url-at-point): Fix reference to variable
3994 thing-at-point-default-mail-uri-scheme.
3996 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * subr.el (define-error): New function.
3999 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4000 error-file-not-found and define with define-error.
4001 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4002 and define with define-error.
4003 * userlock.el (file-locked, file-supersession):
4004 * simple.el (mark-inactive):
4005 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4006 * progmodes/ada-mode.el (ada-mode-errors):
4007 * play/life.el (life-extinct):
4008 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4009 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4010 * nxml/rng-util.el (rng-error):
4011 * nxml/rng-uri.el (rng-uri-error):
4012 * nxml/rng-match.el (rng-compile-error):
4013 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4014 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4015 * nxml/nxml-rap.el (nxml-scan-error):
4016 * nxml/nxml-outln.el (nxml-outline-error):
4017 * net/soap-client.el (soap-error):
4018 * net/gnutls.el (gnutls-error):
4019 * net/ange-ftp.el (ftp-error):
4020 * mpc.el (mpc-proc-error):
4021 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4022 (json-number-format, json-string-escape, json-string-format)
4023 (json-key-format, json-object-format):
4024 * jka-compr.el (compression-error):
4025 * international/quail.el (quail-error):
4026 * international/kkc.el (kkc-error):
4027 * emacs-lisp/ert.el (ert-test-failed):
4028 * calc/calc.el (calc-error, inexact-result, math-overflow)
4030 * bookmark.el (bookmark-error-no-filename):
4031 * epg.el (epg-error): Define with define-error.
4033 * time.el (display-time-event-handler)
4034 (display-time-next-load-average): Don't call sit-for since it seems
4035 unnecessary (bug#15045).
4037 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4038 Use #' instead of ' to quote functions.
4039 (checkdoc-output-mode): Use setq-local.
4040 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4041 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4042 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4043 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4044 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4045 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4046 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4047 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4049 * ido.el (ido-completion-help): Fix up compiler warning.
4051 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4053 * frameset.el (frameset-p): Add autoload cookie.
4054 (frameset--jump-to-register): New function, based on code moved from
4056 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4058 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4059 (frameset-restore, frameset-save, frameset-session-filter-alist):
4060 Remove declarations.
4061 (register-alist): Doc fix.
4062 (frameset-to-register): Move to frameset.el.
4063 (jump-to-register, describe-register-1): Remove frameset-specific code.
4065 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4067 * allout-widgets.el (allout-widgets-pre-command-business)
4068 (allout-widgets-post-command-business)
4069 (allout-widgets-after-change-handler)
4070 (allout-decorate-item-and-context, allout-set-boundary-marker)
4071 (allout-body-modification-handler)
4072 (allout-graphics-modification-handler): Mark ignored arguments.
4073 (allout-widgets-post-command-business)
4074 (allout-widgets-exposure-change-processor)
4075 (allout-widgets-exposure-undo-processor)
4076 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4077 (allout-parse-item-at-point, allout-decorate-item-guides)
4078 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4079 * allout.el (epa-passphrase-callback-function): Declare.
4080 (allout-overlay-insert-in-front-handler)
4081 (allout-overlay-interior-modification-handler)
4082 (allout-isearch-end-handler, allout-chart-siblings)
4083 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4084 (allout-yank-processing, allout-process-exposed)
4085 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4086 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4087 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4088 (lisp-indent-defform): Mark ignored arguments.
4089 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4090 (calculate-lisp-indent): Remove unused variables.
4091 * international/characters.el (indian-2-column, arabic-2-column)
4092 (tibetan): Mark ignored arguments.
4093 (use-cjk-char-width-table): Mark ignored arguments.
4094 Remove unused variables.
4095 * international/fontset.el (build-default-fontset-data)
4096 (x-compose-font-name, create-fontset-from-fontset-spec):
4097 Mark ignored arguments.
4098 (fontset-plain-name): Remove unused variables.
4099 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4100 (keyboard-coding-system): Mark ignored arguments.
4101 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4102 * help.el (resize-temp-buffer-window):
4103 * window.el (display-buffer-in-major-side-window)
4104 (display-buffer-in-side-window, display-buffer-in-previous-window):
4105 Remove unused variables.
4106 * isearch.el (isearch-forward-symbol):
4107 * version.el (emacs-bzr-version-bzr):
4108 * international/mule-cmds.el (current-language-environment):
4109 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4111 * term/pc-win.el (x-list-fonts, x-display-planes)
4112 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4113 (x-server-version, x-display-screens, x-display-mm-height)
4114 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4115 (x-selection-owner-p, x-own-selection-internal)
4116 (x-disown-selection-internal, x-get-selection-internal)
4117 (msdos-initialize-window-system):
4118 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4119 * term/x-win.el (x-handle-no-bitmap-icon):
4120 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4121 (vc-default-find-file-hook, vc-default-extra-menu):
4122 Mark ignored arguments.
4124 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4126 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4127 break-condition in the context of the debugged code (bug#12685).
4129 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4132 Do not use an overlay to highlight the last prompt. (Bug#14744)
4133 (comint-mode): Make comint-last-prompt buffer local.
4134 (comint-last-prompt): New variable.
4135 (comint-last-prompt-overlay): Remove. Superseded by
4137 (comint-snapshot-last-prompt, comint-output-filter):
4138 Use comint-last-prompt.
4140 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4142 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4143 (frameset-save): Check validity of the resulting frameset.
4145 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4147 * ido.el (ido-record-command): Add doc string.
4149 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4151 * frameset.el (frameset): Do not disable creation of the default
4152 frameset-p predicate. Doc fix.
4153 (frameset-valid-p): New function, copied from the old predicate-p.
4154 Add additional checks.
4155 (frameset-restore): Check with frameset-valid-p.
4156 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4157 (frameset-name, frameset-description, frameset-properties)
4158 (frameset-states): Add docstring.
4159 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4160 (frameset-filter-alist): Doc fixes.
4162 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4164 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4166 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4169 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4170 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4171 (byte-compile-normal-call): Remove obsolescence check.
4173 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4175 * frameset.el (frameset-restore): Doc fix.
4177 * register.el (frameset-frame-id, frameset-frame-with-id)
4178 (frameset-p, frameset-restore, frameset-save): Declare.
4179 (register-alist): Document framesets.
4180 (frameset-session-filter-alist): Declare.
4181 (frameset-to-register): New function.
4182 (jump-to-register): Implement jumping to framesets. Doc fix.
4183 (describe-register-1): Describe framesets.
4185 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4187 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4189 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4190 Use lexical-binding.
4192 * frameset.el (frameset): Use type vector, not list (incompatible
4193 change). Do not declare a new constructor, use the default one.
4194 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4195 `name' and `description', respectively, and add read-only slot
4196 `timestamp'. Doc fixes.
4197 (frameset-copy, frameset-persistent-filter-alist)
4198 (frameset-filter-alist, frameset-switch-to-gui-p)
4199 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4200 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4201 (frameset-filter-iconified, frameset-keep-original-display-p):
4203 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4204 Rename from frameset-filter-(save|restore)-param. All callers changed.
4206 (frameset-p): Adapt to change to vector and be more thorough.
4207 Change arg name to OBJECT. Doc fix.
4208 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4209 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4210 All callers changed.
4211 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4212 All callers changed.
4213 (frameset--record-minibuffer-relationships): Rename from
4214 frameset--process-minibuffer-frames. All callers changed.
4215 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4216 Use new default constructor (again). Doc fix.
4217 (frameset--find-frame-if): Rename from `frameset--find-frame.
4218 All callers changed.
4219 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4220 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4222 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4223 PARAMETERS and WINDOW-STATE, respectively.
4224 (frameset-restore): Add new keyword argument PREDICATE.
4225 Reset frameset--target-display to nil. Doc fix.
4227 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4231 (bat-mode-syntax-table): Mark \n as end-of-comment.
4232 (bat-font-lock-keywords): Remove comment rule.
4234 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4235 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4237 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4238 (byte-compile-callargs-warn): Use `push'.
4239 (byte-compile-arglist-warn): Ignore higher-order "calls".
4240 (byte-compile-file-form-autoload): Use `pcase'.
4241 (byte-compile-function-form): If quoting a symbol, check that it exists.
4243 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4245 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4246 and add a few popular commands found in batch files.
4247 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4248 (dos-mode): Doc fixes.
4250 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4252 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4253 (dos-mode): Use setq-local. Add space after "rem".
4254 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4255 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4257 2013-08-07 Arni Magnusson <arnima@hafro.is>
4259 * progmodes/dos.el: New file.
4260 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4263 2013-08-06 Glenn Morris <rgm@gnu.org>
4265 * calendar/calendar.el: Add new faces, and day-header-array.
4266 (calendar-weekday-header, calendar-weekend-header)
4267 (calendar-month-header): New faces.
4268 (calendar-day-header-construct): New function.
4269 (calendar-day-header-width): Also :set calendar-day-header-array.
4270 (calendar-american-month-header, calendar-european-month-header)
4271 (calendar-iso-month-header): Use calendar- faces.
4272 (calendar-generate-month):
4273 Use calendar-day-header-array for day headers; apply faces to them.
4274 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4275 (calendar-abbrev-construct): Add optional maxlen argument.
4276 (calendar-day-name-array): Doc fix.
4277 (calendar-day-name-array, calendar-abbrev-length)
4278 (calendar-day-abbrev-array):
4279 Also :set calendar-day-header-array, and maybe redraw.
4280 (calendar-day-header-array): New option. (Bug#15007)
4281 (calendar-font-lock-keywords): Set to nil and make obsolete.
4282 (calendar-day-name): Add option to use header array.
4284 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4286 * net/shr.el (shr-render-td): Remove debugging.
4287 (shr-render-td): Make width computation consistent by defaulting
4288 all zero-width columns to 10 characters. This may not be optimal,
4289 but it's at least consistent.
4290 (shr-make-table-1): Redo last change to fix the real problem in
4293 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4295 * files.el (cache-long-line-scans):
4296 Make obsolete alias to `cache-long-scans'.
4298 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4300 * frameset.el (frameset, frameset-filter-alist)
4301 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4302 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4303 (frameset-compute-pos): Rename from frameset--compute-pos,
4305 (frameset-move-onscreen): Use frameset-compute-pos.
4306 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4308 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4309 Fix typos in docstrings.
4311 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4313 * frame.el (get-other-frame): Tiny cleanup.
4315 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4317 * vc/vc.el (vc-default-ignore-completion-table):
4318 Silence byte-compiler warning.
4320 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4321 slot , which can indeed be nil.
4322 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4323 Move entry for `left' from persistent to live filter alist.
4324 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4326 (frameset-filter-params): When restoring a frame, copy items added to
4327 `filtered', to avoid unwittingly modifying the original parameters.
4328 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4329 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4331 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4332 to use looking-at-p instead of looking-at. (Bug#15028)
4334 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4336 Revert introduction of isearch-filter-predicates (bug#14714).
4337 Rely on add-function instead.
4338 * isearch.el (isearch-filter-predicates): Rename it back to
4339 isearch-filter-predicate.
4340 (isearch-message-prefix): Use advice-function-mapc and advice
4341 properties to get the isearch-message-prefix.
4342 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4343 instead of run-hook-with-args-until-failure.
4344 (isearch-filter-visible): Not obsolete any more.
4345 * loadup.el: Preload nadvice.
4346 * replace.el (perform-replace): Revert to funcall
4347 instead of run-hook-with-args-until-failure.
4348 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4349 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4350 dired-isearch-filenames-toggle; make it into a proper minor mode.
4351 Use add/remove-function.
4352 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4353 Call the minor-mode rather than add/remove-hook.
4354 (dired-isearch-filter-filenames):
4355 Remove isearch-message-prefix property.
4356 * info.el (Info--search-loop): New function, extracted from Info-search.
4357 Funcall isearch-filter-predicate instead of
4358 run-hook-with-args-until-failure isearch-filter-predicates.
4359 (Info-search): Use it.
4360 (Info-mode): Use isearch-filter-predicate instead of
4361 isearch-filter-predicates.
4363 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4365 Do not call to `selected-window' where it is assumed by default.
4366 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4367 `window-hscroll', `window-width', `window-height', `window-buffer',
4368 `window-frame', `window-start', `window-point', `next-window'
4369 and `window-display-table'.
4370 * abbrev.el (abbrev--default-expand):
4371 * bs.el (bs--show-with-configuration):
4372 * buff-menu.el (Buffer-menu-mouse-select):
4373 * calc/calc.el (calc):
4374 * calendar/calendar.el (calendar-generate-window):
4375 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4377 * comint.el (send-invisible, comint-dynamic-complete-filename)
4378 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4379 * completion.el (complete):
4380 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4381 * disp-table.el (describe-current-display-table):
4382 * doc-view.el (doc-view-insert-image):
4383 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4384 * ehelp.el (with-electric-help):
4385 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4386 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4387 * emacs-lisp/helper.el (Helper-help-scroller):
4388 * emulation/cua-base.el (cua--post-command-handler-1):
4389 * eshell/esh-mode.el (eshell-output-filter):
4390 * ffap.el (ffap-gnus-wrapper):
4391 * help-macro.el (make-help-screen):
4392 * hilit-chg.el (highlight-compare-buffers):
4393 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4394 * hl-line.el (global-hl-line-highlight):
4395 * icomplete.el (icomplete-simple-completing-p):
4396 * isearch.el (isearch-done):
4397 * jit-lock.el (jit-lock-stealth-fontify):
4398 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4399 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4400 * mpc.el (mpc-tagbrowser, mpc):
4401 * net/rcirc.el (rcirc-any-buffer):
4402 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4403 * play/landmark.el (landmark-max-width, landmark-max-height):
4404 * play/zone.el (zone):
4405 * progmodes/compile.el (compilation-goto-locus):
4406 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4407 * progmodes/etags.el (find-tag-other-window):
4408 * progmodes/fortran.el (fortran-column-ruler):
4409 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4410 * progmodes/verilog-mode.el (verilog-point-text):
4411 * reposition.el (reposition-window):
4412 * rot13.el (toggle-rot13-mode):
4413 * server.el (server-switch-buffer):
4414 * shell.el (shell-dynamic-complete-command)
4415 (shell-dynamic-complete-environment-variable):
4416 * simple.el (insert-buffer, set-selective-display)
4417 (delete-completion-window):
4418 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4419 (speedbar-recenter):
4420 * startup.el (fancy-splash-head):
4421 * textmodes/ispell.el (ispell-command-loop):
4422 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4423 * tutorial.el (help-with-tutorial):
4424 * vc/add-log.el (add-change-log-entry):
4425 * vc/compare-w.el (compare-windows):
4426 * vc/ediff-help.el (ediff-indent-help-message):
4427 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4428 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4429 (ediff-setup-control-frame):
4430 * vc/emerge.el (emerge-position-region):
4431 * vc/pcvs-util.el (cvs-bury-buffer):
4432 * window.el (walk-windows, mouse-autoselect-window-select):
4433 * winner.el (winner-set-conf, winner-undo): Related users changed.
4435 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4437 * frameset.el (frameset--set-id): Doc fix.
4438 (frameset-frame-id, frameset-frame-id-equal-p)
4439 (frameset-locate-frame-id): New functions.
4440 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4441 (frameset-restore): Use them.
4443 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4445 Do not call to `selected-frame' where it is assumed by default.
4446 Affected functions are `raise-frame', `redraw-frame',
4447 `frame-first-window', `frame-terminal' and `delete-frame'.
4448 * calendar/appt.el (appt-disp-window):
4449 * epg.el (epg-wait-for-completion):
4450 * follow.el (follow-delete-other-windows-and-split)
4451 (follow-avoid-tail-recenter):
4452 * international/mule.el (set-terminal-coding-system):
4453 * mail/rmail.el (rmail-mail-return):
4454 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4455 * progmodes/f90.el (f90-add-imenu-menu):
4456 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4457 * server.el (server-switch-buffer):
4458 * simple.el (delete-completion-window):
4460 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4461 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4462 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4463 * vc/ediff.el (ediff-documentation): Related users changed.
4464 * frame.el (selected-terminal): Remove the leftover.
4466 2013-08-05 Glenn Morris <rgm@gnu.org>
4468 * calendar/calendar.el (calendar-generate-month):
4469 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4470 (calendar-generate-month, calendar-font-lock-keywords):
4471 Fix for calendar-day-header-width > length of any day name.
4473 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4475 * desktop.el (desktop-clear): Use new name of sort predicate.
4477 * frameset.el (frameset): Add docstring. Move :version property to its
4479 (frameset-copy): Rename from copy-frameset.
4480 (frameset-p): Check more thoroughly.
4481 (frameset-prop): Do not check for :version, which is no longer a prop.
4482 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4483 Use new :never value instead of t.
4484 (frameset-filter-alist): Expand and clarify docstring.
4485 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4486 (frameset-filter-minibuffer, frameset-filter-save-param)
4487 (frameset-filter-restore-param, frameset-filter-iconified):
4488 Add pointer to docstring of frameset-filter-alist.
4489 (frameset-filter-params): Rename filter values to be more meaningful:
4490 :never instead of t, and reverse the meanings of :save and :restore.
4491 (frameset--process-minibuffer-frames): Clarify error message.
4492 (frameset-save): Avoid unnecessary and confusing call to framep.
4493 Use new BOA constructor for framesets.
4494 (frameset--reuse-list): Doc fix.
4495 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4496 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4497 (frameset-minibufferless-first-p): Doc fix.
4498 Rename from frameset-sort-frames-for-deletion.
4499 (frameset-restore): Doc fixes. Use new function names.
4500 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4502 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4504 * desktop.el (desktop-restore-forces-onscreen)
4505 (desktop-restore-reuses-frames): Document :keyword constant values.
4506 (desktop-filter-parameters-alist): Remove, now identical to
4507 frameset-filter-alist.
4508 (desktop--filter-tty*): Remove, moved to frameset.el.
4509 (desktop-save-frameset, desktop-restore-frameset):
4510 Do not pass :filters argument.
4512 * frameset.el (frameset-live-filter-alist)
4513 (frameset-persistent-filter-alist): New variables.
4514 (frameset-filter-alist): Use them. Add autoload cookie.
4515 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4516 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4517 `frameset--id' (it's supposed to be internal to frameset.el).
4518 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4519 (frameset--initial-params): New function.
4520 (frameset--get-frame): Use it. Doc fix.
4521 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4522 Accept :all, not 'all.
4523 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4524 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4525 with fbound symbols. Fix frame id matching, and remove matching ids if
4526 the frame being restored is deleted. Obey :delete.
4528 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4530 * subr.el (macrop): New function.
4531 (text-clone--maintaining): New var.
4532 (text-clone--maintain): Rename from text-clone-maintain. Use it
4533 instead of inhibit-modification-hooks.
4535 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4536 a proxy, so as handle autoloads and redefinitions of the target.
4537 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4539 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4540 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4541 (pcase--mutually-exclusive-p): New function.
4542 (pcase--split-consp): Use it.
4543 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4544 mutually exclusive with the current predicate.
4546 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4547 (edebug-macrop): Remove. Use `macrop' instead.
4548 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4550 * eshell/esh-cmd.el (eshell-macrop):
4551 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4553 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4556 (advice-mapc): New function, using it.
4557 (advice-function-member-p): New function.
4558 (advice--normalize): Store the cdr in advice--saved-rewrite since
4559 that's the part that will be changed.
4560 (advice--symbol-function): New function.
4561 (advice-remove): Handle removal before the function is defined.
4562 Adjust to new advice--saved-rewrite.
4563 (advice-member-p): Use advice-function-member-p and
4564 advice--symbol-function.
4566 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4568 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4569 (frameset-filter-minibuffer): Doc fix.
4570 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4571 (frameset--set-id, frameset--process-minibuffer-frames)
4572 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4573 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4575 * desktop.el (desktop-clear): Only delete frames when called
4576 interactively and desktop-restore-frames is non-nil. Doc fix.
4577 (desktop-read): Set desktop-saved-frameset to nil.
4579 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4581 * vc/vc.el (vc-ignore): Rewrite.
4582 (vc-default-ignore-completion-table):
4584 (vc--add-line, vc--remove-regexp): New functions.
4586 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4587 (vc-svn-ignore-completion-table): New function.
4589 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4590 (vc-hg-ignore-completion-table):
4591 (vc-hg-find-ignore-file): New functions.
4593 * vc/vc-git.el (vc-git-ignore): Rewrite.
4594 (vc-git-ignore-completion-table):
4595 (vc-git-find-ignore-file): New functions.
4597 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4599 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4600 (vc-bzr-ignore-completion-table):
4601 (vc-bzr-find-ignore-file): New functions.
4603 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4605 * frameset.el (frameset-prop): New function and setter.
4606 (frameset-save): Do not modify frame list passed by the caller.
4608 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4612 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4615 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4617 * custom.el (custom-initialize-default, custom-initialize-set)
4618 (custom-initialize-reset, custom-initialize-changed): Affect the
4619 toplevel-default-value (bug#6275, bug#14586).
4620 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4623 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4625 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4626 Add cl-def* expressions.
4628 * frameset.el (frameset-filter-params): Fix order of arguments.
4630 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4632 Move code related to saving frames to frameset.el.
4633 * desktop.el: Require frameset.
4634 (desktop-restore-frames): Doc fix.
4635 (desktop-restore-reuses-frames): Rename from
4636 desktop-restoring-reuses-frames.
4637 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4638 (desktop-clear): Clear frames too.
4639 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4640 (desktop--filter-tty*, desktop-save, desktop-read):
4641 Use frameset functions.
4642 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4643 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4644 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4645 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4646 (desktop--process-minibuffer-frames, desktop-save-frames)
4647 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4648 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4649 (desktop--sort-states, desktop-restoring-frames-p)
4650 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4651 (desktop-restoring-frameset-p, desktop-restore-frameset)
4652 (desktop--check-dont-save, desktop-save-frameset): New functions.
4653 (desktop--app-id): New constant.
4654 (desktop-first-buffer, desktop-buffer-ok-count)
4655 (desktop-buffer-fail-count): Move before first use.
4656 * frameset.el: New file.
4658 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * files.el: Use lexical-binding.
4661 (dir-locals-read-from-file): Remove unused `err' variable.
4662 (hack-dir-local-variables--warned-coding): New var.
4663 (hack-dir-local-variables): Use it to avoid repeated warnings.
4664 (make-backup-file-name--default-function): New function.
4665 (make-backup-file-name-function): Use it as default.
4666 (buffer-stale--default-function): New function.
4667 (buffer-stale-function): Use it as default.
4668 (revert-buffer-insert-file-contents--default-function): New function.
4669 (revert-buffer-insert-file-contents-function): Use it as default.
4670 (insert-directory): Avoid add-to-list.
4672 * autorevert.el (auto-revert-handler): Simplify.
4673 Use buffer-stale--default-function.
4675 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4677 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4679 * whitespace.el (whitespace-ensure-local-variables): New function.
4680 (whitespace-cleanup-region): Call it.
4681 (whitespace-turn-on): Call it.
4683 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4685 Complete file name handlers.
4687 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4688 (tramp-handle-verify-visited-file-modtime)
4689 (tramp-handle-file-notify-rm-watch): New functions.
4690 (tramp-call-process): Do not bind `default-directory'.
4692 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4693 Order alphabetically.
4694 [access-file, add-name-to-file, dired-call-process]:
4695 [dired-compress-file, file-acl, file-notify-rm-watch]:
4696 [file-ownership-preserved-p, file-selinux-context]:
4697 [make-directory-internal, make-symbolic-link, set-file-acl]:
4698 [set-file-selinux-context, set-visited-file-modtime]:
4699 [verify-visited-file-modtime]: Add handler.
4700 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4703 [file-notify-add-watch, file-notify-rm-watch]:
4704 [set-file-times, set-visited-file-modtime]:
4705 [verify-visited-file-modtime]: Add handler.
4706 (with-tramp-gvfs-error-message)
4707 (tramp-gvfs-handle-set-visited-file-modtime)
4708 (tramp-gvfs-fuse-file-name): Remove.
4709 (tramp-gvfs-handle-file-notify-add-watch)
4710 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4711 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4713 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4714 Order alphabetically.
4715 [file-notify-rm-watch ]: Use default Tramp handler.
4716 [executable-find]: Remove private handler.
4717 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4718 `default-directory'.
4719 (tramp-sh-handle-executable-find)
4720 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4721 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4722 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4723 Do not use `format' in `tramp-message'.
4725 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4726 [file-notify-rm-watch, set-visited-file-modtime]:
4727 [verify-visited-file-modtime]: Add handler.
4728 (tramp-smb-call-winexe): Do not bind `default-directory'.
4730 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4732 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4734 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4736 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4738 (log-view-diff-changeset): Same.
4739 (log-view-diff-common): Call backend command `previous-revision'
4740 to find out the previous revision, in both cases. Swap the
4741 variables `to' and `fr', so that `fr' usually refers to the
4742 earlier revision (Bug#14989).
4744 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4746 * ibuf-ext.el (ibuffer-filter-by-filename):
4747 Make it work with dired buffers too.
4749 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4751 * emacs-lisp/re-builder.el (reb-color-display-p):
4752 * files.el (save-buffers-kill-terminal):
4753 * net/browse-url.el (browse-url):
4754 * server.el (server-save-buffers-kill-terminal):
4755 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4756 Prefer nil to selected-frame for the first arg of frame-parameter.
4758 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4760 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4762 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4764 * minibuffer.el (completion--twq-all): Try and preserve each
4765 completion's case choice (bug#14907).
4767 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769 * net/network-stream.el (open-network-stream): Mention the new
4770 :nogreeting parameter.
4771 (network-stream-open-starttls): Use the :nogreeting parameter
4774 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4776 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4777 more natural than popping.
4779 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4780 (shr-urlify): Highlight under mouse.
4782 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4784 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4786 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4788 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4791 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4792 point-min==1. Fix search string. Fix parentheses missing.
4794 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4795 assume point-min==1. Fix search string. Fix parentheses missing.
4797 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4799 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4802 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4804 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4805 initial frame is minibuffer-less. (Bug#14841)
4807 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4809 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4812 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4813 (tramp-maybe-open-connection): Use it.
4815 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4817 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4818 minimal set of parameters passed when creating a frame, because
4819 the minibuffer status of a frame cannot be changed later.
4821 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4823 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4824 replace-regexp-in-string and inadvertent omissions in previous change.
4825 (todo-filter-items): Ensure only file names are comma-separated in
4826 name of filtered items buffer.
4828 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4830 * desktop.el: Optionally force offscreen frames back onscreen.
4831 (desktop-restoring-reuses-frames): New option.
4832 (desktop--compute-pos, desktop--move-onscreen): New functions.
4833 (desktop--make-frame): Use desktop--move-onscreen.
4835 2013-07-27 Alan Mackenzie <acm@muc.de>
4837 Fontify a Java generic method as a function.
4838 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4841 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4843 * calendar/todo-mode.el: Add command to rename todo files.
4844 (todo-rename-file): New command.
4845 (todo-key-bindings-t): Add key binding for it. Change the
4846 bindings of todo-filter-regexp-items(-multifile) to use `x'
4847 instead of `r', since the latter is better suited to the new
4850 2013-07-27 Alan Mackenzie <acm@muc.de>
4852 Make Java try-with-resources statement parse properly.
4853 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4854 (c-block-stmt-1-2-key): New language constants/variables.
4855 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4856 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4857 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4858 with c-block-stmt-1-2-key.
4860 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4862 * desktop.el (desktop--make-frame): Apply most frame parameters after
4863 creating the frame to force (partially or totally) offscreen frames to
4864 be restored as such.
4866 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4868 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4871 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4874 `base' arg of backtrace-frame.
4876 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4878 * simple.el (list-processes): Doc fix.
4880 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4882 * desktop.el (desktop--select-frame):
4883 Try harder to reuse existing frames.
4885 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4888 (edebug-eval): Use backtrace-eval.
4889 (edebug--display, edebug--recursive-edit): Don't let-bind the
4890 edebug-outer-* vars that keep track of variables we locally let-bind.
4891 (edebug-outside-excursion): Don't restore outside values of locally
4893 (edebug--display): Use user-error.
4894 (cl-lexical-debug, cl-debug-env): Remove.
4896 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4898 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4899 are restored to be sure that they are visible before deleting any
4902 2013-07-26 Matthias Meulien <orontee@gmail.com>
4904 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4905 vc-print-root-log. (Bug#14948)
4907 2013-07-26 Richard Stallman <rms@gnu.org>
4909 Add aliases for encrypting mail.
4910 * epa.el (epa-mail-aliases): New option.
4911 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4912 Bind inhibit-read-only so read-only text doesn't ruin everything.
4913 (epa-mail-default-recipients): New subroutine broken out.
4914 Handle epa-mail-aliases.
4916 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4918 Add support for lexical variables to the debugger's `e' command.
4919 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4920 vars, except for debugger-outer-match-data.
4921 (debugger-frame-number): Move check for "on a function call" from
4922 callers into it. Add `skip-base' argument.
4923 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4924 (debugger-env-macro): Only reset the state stored in non-variables,
4925 i.e. current-buffer and match-data.
4926 (debugger-eval-expression): Rewrite using backtrace-eval.
4927 * subr.el (internal--called-interactively-p--get-frame): Remove.
4928 (called-interactively-p):
4929 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4930 `base' arg of backtrace-frame instead.
4932 2013-07-26 Glenn Morris <rgm@gnu.org>
4934 * align.el (align-regexp): Doc fix. (Bug#14857)
4935 (align-region): Explicit error if subexpression missing/does not match.
4937 * simple.el (global-visual-line-mode):
4938 Do not duplicate the mode lighter. (Bug#14858)
4940 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4942 * window.el (display-buffer): In display-buffer bind
4943 split-window-keep-point to t, bug#14829.
4945 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4947 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4948 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4949 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4950 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4952 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4953 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4955 2013-07-25 Glenn Morris <rgm@gnu.org>
4957 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4959 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4961 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4962 parameter to modify-frame-parameters if the value has not changed;
4963 this is a workaround for bug#14949.
4964 (desktop--make-frame): On cl-delete-if call, check parameter name,
4967 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4969 * vc/vc.el (vc-ignore): New function.
4971 * vc/vc-svn.el (vc-svn-ignore): New function.
4973 * vc/vc-hg.el (vc-hg-ignore): New function.
4975 * vc/vc-git.el (vc-git-ignore): New function.
4977 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4978 (vc-dir-ignore): New function.
4980 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4981 (cvs-append-to-ignore): Move here from pcvs.el.
4983 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4985 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4987 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4989 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4990 (desktop-restore-frames): Warn when deleting an existing frame failed.
4992 2013-07-24 Glenn Morris <rgm@gnu.org>
4994 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4996 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4998 * filenotify.el (file-notify-supported-p):
4999 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5002 * autorevert.el (auto-revert-use-notify):
5003 (auto-revert-notify-add-watch):
5004 * net/tramp.el (tramp-file-name-for-operation):
5005 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5006 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5007 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5008 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5009 Remove `file-notify-supported-p' entry.
5011 2013-07-24 Glenn Morris <rgm@gnu.org>
5013 * printing.el: Replace all uses of deleted ps-windows-system,
5014 ps-lp-system, ps-flatten-list with lpr- versions.
5016 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5018 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5019 checked with memq (bug#14935).
5021 * files.el (revert-buffer-function): Use a non-nil default.
5022 (revert-buffer-preserve-modes): Declare var to
5023 provide access to the `preserve-modes' argument.
5024 (revert-buffer): Let-bind it.
5025 (revert-buffer--default): New function, extracted from revert-buffer.
5027 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * lpr.el: Signal print errors more prominently.
5030 (print-region-function): Don't default to nil.
5031 (lpr-print-region): New function, extracted from print-region-1.
5032 Check lpr's return value and signal an error in case of problem.
5033 (print-region-1): Use it.
5034 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5036 (ps-printer-name): Default to nil.
5037 (ps-printer-name-option): Default to lpr-printer-switch.
5038 (ps-print-region-function): Don't default to nil.
5039 (ps-postscript-code-directory): Simplify default.
5040 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5041 (ps-string-list, ps-eval-switch, ps-flatten-list)
5042 (ps-flatten-list-1): Remove.
5043 (ps-multibyte-buffer): Avoid setq.
5044 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5045 (print-region-function, ps-print-region-function): Don't set them here.
5047 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5049 * ido.el (ido-fractionp):
5050 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5051 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5052 (ido-max-directory-size, ido-max-dir-file-cache)
5053 (ido-decorations): Doc fix.
5055 * ansi-color.el: Fix old URL.
5057 2013-07-23 Michael R. Mauger <michael@mauger.com>
5059 * progmodes/sql.el: Version 3.3
5060 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5061 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5062 (sql-interactive-remove-continuation-prompt): Rewrite, use
5063 functions above. Fix continuation prompt and complete output line
5065 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5066 redirected output buffer.
5067 (sql-mode): Restore deleted code (Bug#13591).
5069 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5071 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5073 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5075 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5077 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5078 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5079 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5081 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5083 * desktop.el (desktop-clear): Simplify; remove useless checks
5084 against invalid buffer names.
5085 (desktop-list*): Use cl-list*.
5086 (desktop-buffer-info, desktop-create-buffer): Simplify.
5088 2013-07-23 Leo Liu <sdl.web@gmail.com>
5090 * bookmark.el (bookmark-make-record): Restore NAME as a default
5093 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5096 extracted from autoload--insert-text.
5097 (autoload--insert-text): Remove.
5098 (autoload--print-cookie-text): New function, extracted from
5099 autoload--insert-cookie-text.
5100 (autoload--insert-cookie-text): Remove.
5101 (autoload-generate-file-autoloads): Adjust calls accordingly.
5103 * winner.el (winner-hook-installed-p): Remove.
5104 (winner-mode): Simplify accordingly.
5106 * subr.el (add-to-list): Fix compiler-macro when `append' is
5107 not constant. Don't use `cl-member' for the base case.
5109 * progmodes/subword.el: Fix boundary case (bug#13758).
5110 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5112 (subword-backward-regexp): Make it a constant.
5113 (subword-forward-internal): Don't treat a trailing capital as the
5114 beginning of a word.
5116 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5118 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5119 global value of tabulated-list-revert-hook (bug#14930).
5121 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5123 * desktop.el: Require 'cl-lib.
5124 (desktop-before-saving-frames-functions): New hook.
5125 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5126 for frames being saved. Rename from desktop--save-minibuffer-frames.
5127 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5128 Do not save frames with non-nil `desktop-dont-save' parameter.
5129 Filter out deleted frames.
5130 (desktop--find-frame): Use cl-find-if.
5131 (desktop--select-frame): Use cl-(first|second|third) to access values
5133 (desktop--make-frame): Use cl-delete-if.
5134 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5135 (desktop-restore-frames): Use cl-(first|second|third) to access values
5136 of desktop-mini. Look for visible frame at the end, not while
5139 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5140 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5141 Use string-match-p, looking-at-p (bug#14927).
5143 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5145 * desktop.el (desktop-saved-frame-states):
5146 Rename from desktop--saved-states; all users changed.
5147 (desktop-save-frames): Rename from desktop--save-frames.
5148 Do not save state to desktop file.
5149 (desktop-save): Save desktop-saved-frame-states to desktop file
5151 (desktop-restoring-frames-p): New function.
5152 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5153 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5154 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5156 * desktop.el: Correctly restore iconified frames.
5157 (desktop--filter-iconified-position): New function.
5158 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5160 2013-07-20 Glenn Morris <rgm@gnu.org>
5162 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5163 Let `message' do the formatting.
5164 (def-gdb-preempt-display-buffer): Add explicit format.
5166 * image-dired.el (image-dired-track-original-file):
5167 Use with-current-buffer.
5168 (image-dired-track-thumbnail): Use with-current-buffer.
5169 Avoid changing point of wrong window.
5171 * image-dired.el (image-dired-track-original-file):
5172 Avoid changing point of wrong window. (Bug#14909)
5174 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5176 * progmodes/gdb-mi.el (gdb-done-or-error):
5177 Guard against "%" in gdb output. (Bug#14127)
5179 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5181 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5184 * international/mule.el (coding-system-iso-2022-flags): Fix last
5187 2013-07-20 Kenichi Handa <handa@gnu.org>
5189 * international/mule.el (coding-system-iso-2022-flags):
5190 Add `8-bit-level-4'. (Bug#8522)
5192 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5194 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5197 * net/eww.el (eww-process-text-input): Allow inputting when the
5198 point is at the start of the line, as the properties aren't
5201 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5204 2013-07-19 Richard Stallman <rms@gnu.org>
5206 * epa.el (epa-popup-info-window): Doc fix.
5208 * subr.el (split-string): New arg TRIM.
5210 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5212 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5213 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5215 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5217 * filenotify.el (file-notify--library): Rename from
5218 `file-notify-support'. Do not autoload. Adapt all uses.
5219 (file-notify-supported-p): New defun.
5221 * autorevert.el (auto-revert-use-notify):
5222 Use `file-notify-supported-p' instead of `file-notify-support'.
5224 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5226 * net/tramp.el (tramp-file-name-for-operation):
5227 Add `file-notify-supported-p'.
5229 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5231 (tramp-sh-file-name-handler-alist): Add it as handler for
5232 `file-notify-supported-p '.
5234 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5236 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5237 Add `ignore' as handler for `file-notify-*' functions.
5239 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5241 * simple.el (line-move-partial, line-move): Don't start vscroll or
5242 scroll-up if the current line is not taller than the window.
5245 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5248 highlight question marks in the method names as strings.
5249 (ruby-block-beg-keywords): Inline.
5250 (ruby-font-lock-keyword-beg-re): Extract from
5251 `ruby-font-lock-keywords'.
5253 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5255 * frame.el (blink-cursor-blinks): New defcustom.
5256 (blink-cursor-blinks-done): New defvar.
5257 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5258 (blink-cursor-timer-function): Check if number of blinks has been
5260 (blink-cursor-suspend, blink-cursor-check): New defuns.
5262 2013-07-15 Glenn Morris <rgm@gnu.org>
5264 * edmacro.el (edmacro-format-keys): Fix previous change.
5266 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5268 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5269 The hack didn't work outside English locales anyway.
5271 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5273 * simple.el (define-alternatives): Rename from alternatives-define,
5274 per RMS' suggestion.
5276 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5278 * desktop.el (desktop-restore-frames): Change default to t.
5279 (desktop-restore-in-current-display): Now offer more options.
5280 (desktop-restoring-reuses-frames): New customization option.
5281 (desktop--saved-states): Doc fix.
5282 (desktop-filter-parameters-alist): New variable, renamed and expanded
5283 from desktop--excluded-frame-parameters.
5284 (desktop--target-display): New variable.
5285 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5286 (desktop--filter-tty*, desktop--filter-*-color)
5287 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5288 (desktop--filter-save-desktop-parm)
5289 (desktop-restore-in-original-display-p): New functions.
5290 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5291 (desktop--save-minibuffer-frames): New function, inspired by a similar
5292 function from Martin Rudalics.
5293 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5294 (desktop--restore-in-this-display-p): Remove.
5295 (desktop--find-frame): Rename from desktop--find-frame-in-display
5296 and add predicate argument.
5297 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5298 (desktop--reuse-list): New variable.
5299 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5301 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5303 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5305 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5307 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5309 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5310 Highlight conversion methods on Kernel.
5312 2013-07-13 Alan Mackenzie <acm@muc.de>
5314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5315 and comment it out. This out-commenting enables certain C++
5316 declarations to be parsed correctly.
5318 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5320 * international/mule.el (define-coding-system): Doc fix.
5322 * simple.el (default-font-height): Don't call font-info if the
5323 frame's default font didn't change since the frame was created.
5326 2013-07-13 Leo Liu <sdl.web@gmail.com>
5328 * ido.el (ido-read-file-name): Guard against non-symbol value.
5330 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5332 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5335 2013-07-13 Leo Liu <sdl.web@gmail.com>
5337 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5338 ido-set-matches call. (Bug#6852)
5340 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5342 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5343 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5345 (ruby-font-lock-keywords): Distinguish calls to functions with
5346 module-like names from module references. Highlight character
5349 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5351 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5352 (gdb-send): Handle continued commands. (Bug#14847)
5354 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5356 * desktop.el (desktop--v2s): Remove unused local variable.
5357 (desktop-save-buffer): Make defvar-local; adjust docstring.
5358 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5359 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5361 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5363 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5365 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5367 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5370 2013-07-12 Glenn Morris <rgm@gnu.org>
5372 * doc-view.el: Require cl-lib at runtime too.
5373 (doc-view-remove-if): Remove.
5374 (doc-view-search-next-match, doc-view-search-previous-match):
5377 * edmacro.el: Require cl-lib at runtime too.
5378 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5379 (edmacro-mismatch, edmacro-subseq): Remove.
5381 * shadowfile.el: Require cl-lib.
5382 (shadow-remove-if): Remove.
5383 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5386 * wid-edit.el: Require cl-lib.
5387 (widget-choose): Use cl-remove-if.
5388 (widget-remove-if): Remove.
5390 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5391 (ebrowse-delete-if-not): Remove.
5392 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5393 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5394 Use cl-delete-if-not.
5396 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5398 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5399 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5401 2013-07-12 Leo Liu <sdl.web@gmail.com>
5403 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5405 2013-07-11 Glenn Morris <rgm@gnu.org>
5407 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5408 (edebug-gensym-index, edebug-gensym):
5409 Remove reimplementation of cl-gensym.
5410 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5412 * thumbs.el: Require cl-lib at run-time too.
5413 (thumbs-gensym-counter, thumbs-gensym):
5414 Remove reimplementation of cl-gensym.
5415 (thumbs-temp-file): Use cl-gensym.
5417 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5418 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5419 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5420 (ert--union, ert--gensym-counter, ert--gensym-counter)
5421 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5422 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5423 (ert-make-test-unbound, ert--expand-should-1)
5424 (ert--expand-should, ert--should-error-handle-error)
5425 (should-error, ert--explain-equal-rec)
5426 (ert--plist-difference-explanation, ert-select-tests)
5427 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5428 Use cl-lib functions rather than reimplementations.
5430 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5432 * net/tramp.el (tramp-methods): Extend docstring.
5433 (tramp-connection-timeout): New defcustom.
5434 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5435 (with-tramp-progress-reporter): Simplify.
5436 (tramp-process-actions): Improve messages.
5438 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5439 * net/tramp-sh.el (tramp-maybe-open-connection):
5440 Use `tramp-connection-timeout'.
5441 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5444 2013-07-11 Leo Liu <sdl.web@gmail.com>
5446 * ido.el (ido-read-file-name): Conform to the requirements of
5447 read-file-name. (Bug#11861)
5448 (ido-read-directory-name): Conform to the requirements of
5449 read-directory-name.
5451 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5453 * subr.el (delay-warning): New function.
5455 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5457 * simple.el (default-line-height): New function.
5458 (line-move-partial, line-move): Use it instead of computing the
5460 (line-move-partial): Always compute ROWH. If the last line is
5461 partially-visible, but its text is completely visible, allow
5462 cursor to enter such a partially-visible line.
5464 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5466 Improve error messages. (Bug#14808)
5468 * net/tramp.el (tramp-current-connection): New defvar, moved from
5470 (tramp-message-show-progress-reporter-message): Remove, not
5472 (tramp-error-with-buffer): Show message in minibuffer.
5473 Discard input before waiting. Reset connection timestamp.
5474 (with-tramp-progress-reporter): Improve messages.
5475 (tramp-process-actions): Use progress reporter. Delete process in
5476 case of error. Improve messages.
5478 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5479 Call `tramp-error-with-buffer' with vector and buffer.
5480 (tramp-current-connection): Remove.
5481 (tramp-maybe-open-connection): The car of
5482 `tramp-current-connection' are the first 3 slots of the vector.
5484 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5486 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5487 inside continued strings.
5489 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5491 Timestamp fixes for undo (Bug#14824).
5492 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5494 2013-07-10 Leo Liu <sdl.web@gmail.com>
5496 * files.el (require-final-newline): Allow safe local value.
5499 2013-07-09 Leo Liu <sdl.web@gmail.com>
5501 * ido.el (ido-read-directory-name): Handle fallback.
5502 (ido-read-file-name): Update DIR to ido-current-directory.
5504 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5506 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5508 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5509 "autoload". Remove "warn lower camel case" section, previously
5510 commented out. Highlight negation char. Do not highlight the
5511 target in singleton method definitions.
5513 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * faces.el (tty-setup-hook): Declare the hook.
5517 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5518 and detect when a guard/pred depends on local vars (bug#14773).
5519 (pcase--u1): Adjust caller.
5521 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5523 * simple.el (line-move-partial, line-move): Account for
5525 (line-move-partial): Avoid setting vscroll when the last
5526 partially-visible line in window is of default height.
5528 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5530 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5533 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5535 * subr.el (read-quoted-char): Remove unused local variable `char'.
5537 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5539 * ediff.el (ediff-version): Version update.
5540 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5541 (ediff-merge-with-ancestor-command, ediff-directories-command)
5542 (ediff-directories3-command, ediff-merge-directories-command)
5543 (ediff-merge-directories-with-ancestor-command): New functions.
5544 All are command-line interfaces to ediff: to facilitate calling
5545 Emacs with the appropriate ediff functions invoked.
5547 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5548 (viper-save-kill-buffer): Check if buffer is modified.
5550 * viper.el (viper-version): Version update.
5551 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5553 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5556 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5557 (viper-intercept-ESC-key): Simplify.
5558 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5559 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5560 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5561 (viper-setup-ESC-to-escape): New functions.
5562 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5563 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5565 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5567 * simple.el (default-font-height, window-screen-lines):
5569 (line-move, line-move-partial): Use them instead of
5570 frame-char-height and window-text-height. This makes scrolling
5571 text smoother when the buffer's default face uses a font that is
5572 different from the frame's default font.
5574 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5576 * files.el (write-file): Do not display confirm dialog for NS,
5577 it does its own dialog, which can't be cancelled (Bug#14578).
5579 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5581 * simple.el (line-move-partial): Adjust the row returned by
5582 posn-at-point for the current window-vscroll. (Bug#14567)
5584 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5586 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5587 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5590 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5592 * window.el (window-state-put-stale-windows): New variable.
5593 (window--state-put-2): Save list of windows without matching buffer.
5594 (window-state-put): Remove "bufferless" windows if possible.
5596 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5598 * simple.el (alternatives-define): Remove leftover :group keyword.
5601 2013-07-06 Leo Liu <sdl.web@gmail.com>
5603 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5604 (ido-enable-virtual-buffers): New variable.
5605 (ido-buffer-internal, ido-toggle-virtual-buffers)
5606 (ido-make-buffer-list): Use it.
5607 (ido-exhibit): Support turning on and off virtual buffers
5610 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5612 * simple.el (alternatives-define): New macro.
5614 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5616 * subr.el (read-quoted-char): Use read-key.
5617 (sit-for): Let read-event decode tty input (bug#14782).
5619 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5621 * calendar/todo-mode.el: Add handling of file deletion, both by
5622 mode command and externally. Fix various related bugs.
5623 Clarify Commentary and improve some documentation strings and code.
5624 (todo-delete-file): New command.
5625 (todo-check-file): New function.
5626 (todo-show): Handle external deletion of the file we're trying to
5627 show (bug#14688). Replace called-interactively-p by an optional
5628 prefix argument to avoid problematic interaction with catch form
5629 when byte compiled (bug#14702).
5630 (todo-quit): Handle external deletion of the archive's todo file.
5631 Make sure the buffer that was visiting the archive file is still
5632 live before trying to bury it.
5633 (todo-category-completions): Handle external deletion of any
5634 category completion files.
5635 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5636 of todo files, in case of external deletion.
5637 (todo-add-file): Replace unnecessary setq by let-binding.
5638 (todo-find-archive): Check whether there are any archives.
5639 Replace unnecessary setq by let-binding.
5640 (todo-archive-done-item): Use find-file-noselect to get the
5641 archive buffer whether or not the archive already exists.
5642 Remove superfluous code. Use file size instead of buffer-file-name to
5643 check if the archive is new; if it is, update list of archives.
5644 (todo-default-todo-file): Allow nil to be a valid value for when
5645 there are no todo files.
5646 (todo-reevaluate-default-file-defcustom): Use corrected definition
5647 of todo-default-todo-file.
5648 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5649 (todo-delete-category, todo-show-categories-table)
5650 (todo-category-number): Clarify comment.
5651 (todo-filter-items): Clarify documentation string.
5652 (todo-show-current-file, todo-display-as-todo-file)
5653 (todo-reset-and-enable-done-separator): Tweak documentation string.
5654 (todo-done-separator): Make separator length window-width, since
5655 bug#2749 is now fixed.
5657 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5659 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5660 Support both "gvfs-monitor-dir" and "inotifywait".
5661 (tramp-sh-file-inotifywait-process-filter): Rename from
5662 `tramp-sh-file-notify-process-filter'.
5663 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5664 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5666 2013-07-05 Leo Liu <sdl.web@gmail.com>
5668 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5670 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5672 * frame.el (display-pixel-height, display-pixel-width)
5673 (display-mm-height, display-mm-width): Mention behavior on
5674 multi-monitor setups in docstrings.
5675 (w32-display-monitor-attributes-list): Declare function.
5676 (display-monitor-attributes-list): Use it.
5678 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5680 * filenotify.el: New package.
5682 * autorevert.el (top): Require filenotify.el.
5683 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5685 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5686 (auto-revert-notify-handler): Use `file-notify-*' functions.
5688 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5690 * net/tramp.el (tramp-file-name-for-operation):
5691 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5693 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5694 for `file-notify-add-watch' and `file-notify-rm-watch'.
5695 (tramp-process-sentinel): Improve trace.
5696 (tramp-sh-handle-file-notify-add-watch)
5697 (tramp-sh-file-notify-process-filter)
5698 (tramp-sh-handle-file-notify-rm-watch)
5699 (tramp-get-remote-inotifywait): New defuns.
5701 2013-07-03 Juri Linkov <juri@jurta.org>
5703 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5704 call of `occur-read-primary-args' to interactive spec.
5706 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5707 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5709 2013-07-03 Matthias Meulien <orontee@gmail.com>
5711 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5712 `Buffer-menu-multi-occur'. Add it to the menu.
5713 (Buffer-menu-mode): Document it in docstring.
5714 (Buffer-menu-multi-occur): New command. (Bug#14673)
5716 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5718 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5719 keywords and built-ins.
5721 2013-07-03 Glenn Morris <rgm@gnu.org>
5723 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5725 Make info-xref checks case-sensitive by default
5726 * info.el (Info-find-node, Info-find-in-tag-table)
5727 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5728 Add option for exact case matching of nodes.
5729 * info-xref.el (info-xref): New custom group.
5730 (info-xref-case-fold): New option.
5731 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5733 2013-07-03 Leo Liu <sdl.web@gmail.com>
5735 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5737 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5739 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5740 middle of block statement initially, lower the depth. Remove
5741 FIXME comment, not longer valid. Remove middle of block statement
5742 detection, no need to do that anymore since we've been using
5743 `ruby-parse-region' here.
5745 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5747 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5749 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5751 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5753 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5755 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5756 (desktop-restore-in-current-display): New customization option.
5757 (desktop--excluded-frame-parameters): Add `font'.
5758 (desktop--save-frames): Rename from desktop--save-windows.
5759 (desktop--restore-in-this-display-p): New function.
5760 (desktop--make-full-frame): Remove unwanted width/height from
5761 full(width|height) frames.
5762 (desktop--restore-frames): Rename from desktop--restore-windows.
5763 Obey desktop-restore-current-display. Do not delete old frames or
5764 select a new frame unless we were able to restore at least one frame.
5766 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5768 * files.el (find-file-noselect): Simplify conditional expression.
5770 * remember.el (remember-append-to-file):
5771 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5773 Add `remember-notes' function to store random notes across Emacs
5775 * remember.el (remember-data-file): Add :set callback to affect
5776 notes buffer (if any).
5777 (remember-notes): New command.
5778 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5779 New defcustoms for the `remember-notes' function.
5780 (remember-notes-save-and-bury-buffer): New command.
5781 (remember-notes-mode-map): New variable.
5782 (remember-mode): New minor mode.
5783 (remember-notes--kill-buffer-query): New function.
5784 * startup.el (initial-buffer-choice): Add notes to custom type.
5786 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5788 * bindings.el (right-char, left-char): Don't call sit-for, this is
5789 no longer needed. Use arithmetic comparison only for numerical
5792 * international/mule-cmds.el (select-safe-coding-system):
5793 Handle the case of FROM being a string correctly. (Bug#14755)
5795 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5797 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5798 progression on degenerate tables.
5799 (shr-rescale-image): ImageMagick animated images currently don't work.
5801 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5803 Some fixes and improvements for desktop frame restoration.
5804 It is still experimental and disabled by default.
5805 * desktop.el (desktop--save-windows): Put the selected frame at
5806 the head of the list.
5807 (desktop--make-full-frame): New function.
5808 (desktop--restore-windows): Try to re-select the frame that was
5809 selected upon saving. Do not abort if some frames fail to restore,
5810 just show an error message and continue. Set up maximized frames
5811 so they have default non-maximized dimensions.
5813 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5815 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5816 Don't start heredoc inside a string or comment.
5818 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5820 * bindings.el (visual-order-cursor-movement): New defcustom.
5821 (right-char, left-char): Provide visual-order cursor motion by
5822 calling move-point-visually. Update the doc strings.
5824 2013-06-28 Kenichi Handa <handa@gnu.org>
5826 * international/mule.el (define-coding-system): New coding system
5827 properties :inhibit-null-byte-detection,
5828 :inhibit-iso-escape-detection, and :prefer-utf-8.
5829 (set-buffer-file-coding-system): If :charset-list property of
5830 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5831 appropriate for setting.
5833 * international/mule-cmds.el (select-safe-coding-system):
5834 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5835 multibyte characters, return utf-8 (or one of its siblings).
5837 * international/mule-conf.el (prefer-utf-8): New coding system.
5838 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5841 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5843 * net/shr.el (shr-render-region): New function.
5845 * net/eww.el: Autoload `eww-browse-url'.
5847 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5849 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5850 Adapt to `package-desc-version' being a list.
5851 Use `package--ac-desc-version' to retrieve version from a package
5854 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5856 New experimental feature to save&restore window and frame setup.
5857 * desktop.el (desktop-save-windows): New defcustom.
5858 (desktop--saved-states): New var.
5859 (desktop--excluded-frame-parameters): New defconst.
5860 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5861 (desktop--restore-windows, desktop--save-windows): New functions.
5862 (desktop-save): Call `desktop--save-windows'.
5863 (desktop-read): Call `desktop--restore-windows'.
5865 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5867 * net/shr.el (add-face-text-property): Remove compat definition.
5869 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5871 * info.el (Info-try-follow-nearest-node): Move search for footnote
5872 above search for node name to prevent missing a footnote (bug#14717).
5874 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5876 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5878 2013-06-27 Leo Liu <sdl.web@gmail.com>
5880 * net/eww.el (eww-read-bookmarks): Check file size.
5882 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5884 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5885 advice--pending if newdef is nil or an autoload (bug#13820).
5886 (advice-mapc): New function.
5888 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5890 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5892 (eww-mode-map): Add a menu bar.
5893 (eww-add-bookmark): New command.
5894 (eww-bookmark-mode): New mode and commands.
5895 (eww-add-bookmark): Remove newlines from the title.
5896 (eww-bookmark-browse): Don't bug out if it's the only window.
5898 2013-06-26 Glenn Morris <rgm@gnu.org>
5900 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5901 (hfy-size): Handle ttys. (Bug#14668)
5903 * info-xref.el: Update for Texinfo 5 change in *note format.
5904 (info-xref-node-re, info-xref-note-re): New constants.
5905 (info-xref-check-buffer): Use info-xref-note-re.
5907 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5909 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5911 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5912 nil terminate the loop (bug#14718).
5914 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5916 * net/eww.el: Rework history traversal. When going forward/back,
5917 put these actions into the history, too, so that they can be
5919 (eww-render): Move the history reset to the correct buffer.
5921 2013-06-25 Juri Linkov <juri@jurta.org>
5923 * files-x.el (modify-dir-local-variable): Change the header comment
5924 in the file with directory local variables. (Bug#14692)
5926 * files-x.el (read-file-local-variable-value): Add `default'.
5929 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5931 * net/eww.el (eww-make-unique-file-name): Create a unique file
5932 name before saving to entering `y' accidentally asynchronously.
5934 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5936 * net/eww.el (eww-download): New command and keystroke.
5938 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5940 * net/eww.el (eww-copy-page-url): Change name of command.
5942 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5943 be more consistent with Info and dired.
5945 * net/eww.el (eww-mode-map): Ditto.
5947 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5949 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5950 packages from archives.
5951 (package-archive-contents): Change format; include obsolete packages.
5952 (package-desc): Use `dir' to mark builtin packages.
5953 (package--from-builtin): Set the `dir' field to `builtin'.
5954 (generated-autoload-file, version-control): Declare.
5955 (package-compute-transaction): Change first arg and return value to be
5956 lists of package-descs. Adjust to new package-archive-contents format.
5957 (package--add-to-archive-contents): Adjust to new
5958 package-archive-contents format.
5959 (package-download-transaction): Arg is now a list of package-descs.
5960 (package-install): If `pkg' is a package name, pass it as
5961 a requirement, so it is subject to the usual (e.g. disabled) checks.
5962 (describe-package): Accept package-desc as well.
5963 (describe-package-1): Describe a specific package-desc. Add links to
5964 other package-descs for the same package name.
5965 (package-menu-describe-package): Pass the actual package-desc.
5966 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5968 (package-desc-status): New function.
5969 (package-menu--refresh): New function, extracted
5970 from package-menu--generate.
5971 (package-menu--generate): Use it.
5972 (package-delete): Update package-alist.
5973 (package-menu-execute): Don't call package-initialize.
5975 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5976 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5977 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5978 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5979 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5980 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5982 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5984 * window.el (window--state-get-1): Workaround for bug#14527.
5985 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5987 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5989 * net/eww.el (eww-back-url): Implement the history by stashing all
5990 the data into a list.
5991 (eww-forward-url): Allow going forward in the history, too.
5993 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5996 for values and use read--expression for expressions (bug#14710).
5997 (read-file-local-variable): Avoid setq.
5998 (read-file-local-variable-mode): Use minor-mode-list.
6000 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6002 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6005 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6007 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6008 Update imenu-support when dialect changes.
6010 2013-06-25 Leo Liu <sdl.web@gmail.com>
6012 * ido.el (ido-read-internal): Allow forward slash on windows.
6014 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6016 * net/eww.el (eww): Start of strings is \\`, not ^.
6018 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6020 * net/shr.el (shr-browse-url): Fix interactive spec.
6022 * net/eww.el (eww): Add a trailing slash to domain names.
6024 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6026 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6028 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6030 * net/shr.el (shr-browse-url): Use an external browser if given a
6033 * net/eww.el (eww-external-browser): Move to shr.
6035 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6037 * net/eww.el (eww): Work more correctly for file: URLs.
6038 (eww-detect-charset): Allow quoted charsets.
6039 (eww-yank-page-url): New command and keystroke.
6041 2013-06-24 Daiki Ueno <ueno@gnu.org>
6043 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6044 file name of gpg executable.
6045 (epg-context-program): New function.
6046 (epg-context-home-directory): New function.
6047 (epg-context-set-program): New function.
6048 (epg-context-set-home-directory): New function.
6049 (epg--start): Use `epg-context-program' instead of
6051 (epg--list-keys-1): Likewise.
6053 2013-06-24 Leo Liu <sdl.web@gmail.com>
6055 * ido.el (ido-read-internal): Fix bug#14620.
6057 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6059 * faces.el (face-documentation): Simplify.
6060 (read-face-attribute, tty-find-type, x-resolve-font-name):
6061 Use `string-match-p'.
6062 (list-faces-display): Use `string-match-p'. Simplify.
6063 (face-spec-recalc): Check face to avoid face alias loops.
6064 (read-color): Use `string-match-p' and non-capturing parenthesis.
6066 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6068 * net/shr.el (shr-rescale-image): Use the new
6069 :max-width/:max-height functionality.
6071 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6073 * net/eww.el (eww-search-prefix): New variable.
6075 (eww-external-browser): New variable.
6076 (eww-mode-map): New keystroke.
6077 (eww-browse-with-external-browser): New command.
6079 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6081 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6083 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6084 Don't skip aligning the next header field when padding is 0;
6085 otherwise, field width is not respected unless the title is as
6088 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * emacs-lisp/package.el (package-el-version): Remove.
6091 (package-process-define-package): Fix inf-loop.
6092 (package-install): Allow symbols as arguments again.
6094 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6096 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6097 add some more keyword-like methods.
6098 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6100 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6102 * bs.el (bs-buffer-show-mark): Make defvar-local.
6103 (bs-mode): Use setq-local.
6105 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6106 (emacs-lock--try-unlocking): Make defvar-local.
6108 2013-06-22 Glenn Morris <rgm@gnu.org>
6110 * play/cookie1.el (cookie-apropos): Minor simplification.
6112 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6114 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6116 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6117 `regexp-opt', it breaks the build during dumping.
6119 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6121 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6122 Highlight keyword-like methods on Kernel and Module with
6123 font-lock-builtin-face.
6124 (auto-mode-alist): Consolidate different entries into one regexp
6125 and add more *file-s.
6127 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6129 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6131 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6132 (diary-entry): Use it in the action of this button type instead of
6135 * calendar/todo-mode.el: New version.
6136 (todo-add-category): Append new category to end of file and give
6137 it the highest number, instead of putting it at the beginning and
6138 giving it 0. Incorporate noninteractive functionality.
6139 (todo-forward-category): Adapt to 1-based category numbering.
6140 Allow skipping over archived categories.
6141 (todo-backward-category): Derive from todo-forward-category.
6142 (todo-backward-item, todo-forward-item): Make noninteractive and
6143 delegate interactive part to new commands. Make sensitive to done items.
6144 (todo-categories): Make value an alist of category names and
6145 vectors of item counts.
6146 (todo-category-beg): Make a defconst.
6147 (todo-category-number): Use 1 instead of 0 as initial value.
6148 (todo-category-select): Make sensitive to overlays, optional item
6149 highlighting and done items.
6150 (todo-delete-item): Make sensitive to overlays and marked and done items.
6151 (todo-edit-item): Make sensitive to overlays and editing of
6152 date/time header optional. Add format checks.
6153 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6154 no-op if point is not on an item. Advertise using todo-edit-quit.
6155 (todo-edit-mode): Make sensitive to new format, font-locking, and
6156 multiple todo files.
6157 (todo-insert-item, todo-insert-item-here): Derive from
6158 todo-basic-insert-item and extend functionality.
6159 (todo-item-end, todo-item-start): Make sensitive to done items.
6160 (todo-item-string): Don't return text properties. Restore point.
6161 (todo-jump-to-category): Make sensitive to multiple todo files and
6162 todo archives. Use extended category completion.
6163 (todo-lower-item, todo-raise-item): Rename to *-priority and
6164 derive from todo-set-item-priority.
6165 (todo-mode): Derive from special-mode. Make sensitive to new
6166 format, font-locking and multiple todo files. Make read-only.
6167 (todo-mode-map): Don't suppress digit keys, so they can supply
6168 prefix arguments. Add many new key bindings.
6169 (todo-prefix): Insert as an overlay instead of file text.
6170 Change semantics from diary date expression to purely visual mark.
6171 (todo-print): Rename to todo-print-buffer. Make buffer display
6172 features printable. Remove option to restrict number of items
6173 printed. Add option to print to file.
6174 (todo-print-function): Rename to todo-print-buffer-function.
6175 (todo-quit): Extend to handle exiting new todo modes.
6176 (todo-remove-item): Make sensitive to overlays.
6177 (todo-save): Extend to buffers of filtered items.
6178 (todo-show): Make sensitive to done items, multiple todo files and
6179 new todo modes. Offer to convert legacy todo file before creating
6180 first new todo file.
6181 (todo-show-priorities): Rename to todo-top-priorities.
6182 Change semantics of value 0.
6183 (todo-top-priorities): Rename to todo-filter-top-priorities,
6184 derive from todo-filter-items and extend functionality.
6185 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6186 and extend functionality to other types of filtered items.
6187 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6188 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6189 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6190 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6191 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6192 (todo-edit-mode-hook, todo-entry-prefix-function)
6193 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6194 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6195 (todo-initials, todo-insert-threshold, todo-item-string-start)
6196 (todo-line-string, todo-menu, todo-mode-hook)
6197 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6198 (todo-print-priorities, todo-remove-separator)
6199 (todo-save-top-priorities-too, todo-string-count-lines)
6200 (todo-string-multiline-p, todo-time-string-format)
6201 (todo-tmp-buffer-name): Remove.
6202 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6203 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6204 (todo-edit-category-diary-inclusion)
6205 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6206 (todo-edit-file, todo-edit-item-date-day)
6207 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6208 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6209 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6210 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6211 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6212 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6213 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6214 (todo-filter-top-priorities-multifile, todo-find-archive)
6215 (todo-find-filtered-items-file, todo-go-to-source-item)
6216 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6217 (todo-jump-to-archive-category, todo-lower-category)
6218 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6219 (todo-move-category, todo-move-item, todo-next-button)
6220 (todo-next-item, todo-padded-string, todo-powerset)
6221 (todo-previous-button, todo-previous-item)
6222 (todo-print-buffer-to-file, todo-raise-category)
6223 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6224 (todo-set-category-number, todo-set-item-priority)
6225 (todo-set-top-priorities-in-category)
6226 (todo-set-top-priorities-in-file, todo-show-categories-table)
6227 (todo-sort-categories-alphabetically-or-numerically)
6228 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6229 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6230 (todo-toggle-item-header, todo-toggle-item-highlighting)
6231 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6232 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6233 (todo-unarchive-items, todo-unmark-category): New commands.
6234 (todo-absolute-file-name, todo-add-to-buffer-list)
6235 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6236 (todo-basic-insert-item, todo-category-completions)
6237 (todo-category-number, todo-category-string-matcher-1)
6238 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6239 (todo-check-format, todo-clear-matches)
6240 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6241 (todo-current-category, todo-date-string-matcher)
6242 (todo-define-insertion-command, todo-diary-expired-matcher)
6243 (todo-diary-goto-entry, todo-diary-item-p)
6244 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6245 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6246 (todo-done-item-section-p, todo-done-separator)
6247 (todo-done-string-matcher, todo-files, todo-filter-items)
6248 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6249 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6250 (todo-insert-category-line, todo-insert-item-from-calendar)
6251 (todo-insert-sort-button, todo-insert-with-overlays)
6252 (todo-insertion-command-name, todo-insertion-key-bindings)
6253 (todo-label-to-key, todo-longest-category-name-length)
6254 (todo-make-categories-list, todo-mode-external-set)
6255 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6256 (todo-modes-set-3, todo-multiple-filter-files)
6257 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6258 (todo-read-category, todo-read-date, todo-read-dayname)
6259 (todo-read-file-name, todo-read-time)
6260 (todo-reevaluate-category-completions-files-defcustom)
6261 (todo-reevaluate-default-file-defcustom)
6262 (todo-reevaluate-filelist-defcustoms)
6263 (todo-reevaluate-filter-files-defcustom)
6264 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6265 (todo-reset-done-separator, todo-reset-done-separator-string)
6266 (todo-reset-done-string, todo-reset-global-current-todo-file)
6267 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6268 (todo-reset-prefix, todo-set-categories)
6269 (todo-set-date-from-calendar, todo-set-show-current-file)
6270 (todo-set-top-priorities, todo-short-file-name)
6271 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6272 (todo-total-item-counts, todo-update-buffer-list)
6273 (todo-update-categories-display, todo-update-categories-sexp)
6274 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6276 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6278 (todo-categories, todo-display, todo-edit, todo-faces)
6279 (todo-filtered): New defgroups.
6280 (todo-archived-only, todo-button, todo-category-string, todo-date)
6281 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6282 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6283 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6284 (todo-add-item-if-new-category, todo-always-add-time-string)
6285 (todo-categories-align, todo-categories-archived-label)
6286 (todo-categories-category-label, todo-categories-diary-label)
6287 (todo-categories-done-label, todo-categories-number-separator)
6288 (todo-categories-todo-label, todo-categories-totals-label)
6289 (todo-category-completions-files, todo-completion-ignore-case)
6290 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6291 (todo-done-separator-string, todo-done-string)
6292 (todo-files-function, todo-filter-done-items, todo-filter-files)
6293 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6294 (todo-initial-category, todo-initial-file, todo-item-mark)
6295 (todo-legacy-date-time-regexp, todo-mode-line-function)
6296 (todo-nondiary-marker, todo-number-prefix)
6297 (todo-print-buffer-function, todo-show-current-file)
6298 (todo-show-done-only, todo-show-first, todo-show-with-done)
6299 (todo-skip-archived-categories, todo-top-priorities-overrides)
6300 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6301 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6303 (todo-category-done, todo-date-pattern, todo-date-string-start)
6304 (todo-diary-items-buffer, todo-done-string-start)
6305 (todo-filtered-items-buffer, todo-item-start)
6306 (todo-month-abbrev-array, todo-month-name-array)
6307 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6308 (todo-top-priorities-buffer): New defconsts.
6309 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6310 (todo-categories-with-marks, todo-category-string-face)
6311 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6312 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6313 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6314 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6315 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6316 (todo-font-lock-keywords, todo-global-current-todo-file)
6317 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6318 (todo-insertion-commands-args)
6319 (todo-insertion-commands-args-genlist)
6320 (todo-insertion-commands-names, todo-insertion-map)
6321 (todo-key-bindings-t, todo-key-bindings-t+a)
6322 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6323 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6324 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6325 (todo-visited): New variables.
6327 2013-06-21 Glenn Morris <rgm@gnu.org>
6329 * play/cookie1.el (cookie-apropos): Add optional display argument.
6330 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6331 (psychoanalyze-pinhead): Use cookie-doctor.
6333 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6335 * emacs-lisp/package.el (tar-get-file-descriptor)
6336 (tar--extract): Declare.
6338 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6340 Extend flymake's warning predicate to be a function (bug#14217).
6341 * progmodes/flymake.el (flymake-warning-predicate): New.
6342 (flymake-parse-line): Use it.
6343 (flymake-warning-re): Make obsolete alias to
6344 `flymake-warning-predicate'.
6346 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6349 (package-obsolete-list): Remove.
6350 (package-activate): Remove min-version argument. Add `force' argument.
6351 Adjust to new package-alist format.
6352 (package-mark-obsolete): Remove.
6353 (package-unpack): Force reload of the package's autoloads.
6354 (package-installed-p): Check builtins if the installed package is not
6356 (package-initialize): Don't reset package-obsolete-list.
6357 Don't specify which package version to activate.
6358 (package-process-define-package, describe-package-1)
6359 (package-menu--generate): Adjust to new package-alist format.
6361 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6363 * allout-widgets.el (allout-widgets-mode-off)
6364 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6365 (allout-widgets-post-command-business)
6366 (allout-widgets-after-copy-or-kill-function)
6367 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6368 (allout-decorate-item-and-context)
6369 (allout-graphics-modification-handler): Fix typos in docstrings.
6370 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6372 * cmuscheme.el (scheme-start-file): Doc fix.
6373 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6374 (scheme-input-filter): Use `string-match-p'.
6376 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6378 * dired-x.el: Use Dired consistently in docstrings.
6380 * dired.el: Use Dired consistently in docstrings.
6381 (dired-readin, dired-mode): Use `setq-local'.
6382 (dired-switches-alist): Make defvar-local.
6383 (dired-buffers-for-dir): Use `zerop'.
6384 (dired-safe-switches-p, dired-switches-escape-p)
6385 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6386 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6387 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6388 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6389 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6390 (dired-toggle-marks, dired-mark-files-containing-regexp)
6391 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6392 (dired-flag-auto-save-files, dired-flag-backup-files):
6394 (dired-mark-files-regexp, dired-build-subdir-alist):
6395 Use `string-match-p', `looking-at-p'.
6397 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6398 (direct-print-region-helper): Use `string-match-p'.
6400 2013-06-21 Leo Liu <sdl.web@gmail.com>
6402 * comint.el (comint-redirect-results-list-from-process):
6405 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6407 * net/eww.el (eww-update-header-line-format): Quote % characters.
6409 2013-06-21 Glenn Morris <rgm@gnu.org>
6411 * play/cookie1.el (cookie): New custom group.
6412 (cookie-file): New option.
6413 (cookie-check-file): New function.
6414 (cookie): Make it interactive. Make start and end messages optional.
6415 Interactively, display the result. Default to cookie-file.
6416 (cookie-insert): Default to cookie-file.
6417 (cookie-snarf): Make start and end messages optional.
6418 Default to cookie-file. Use with-temp-buffer.
6419 (cookie-read): Rename from read-cookie.
6420 Make start and end messages optional. Default to cookie-file.
6421 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6423 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6424 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6426 2013-06-21 Leo Liu <sdl.web@gmail.com>
6428 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6430 2013-06-21 Glenn Morris <rgm@gnu.org>
6432 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6434 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6435 Daniel Hackney <dan@haxney.org>
6437 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6438 Consolidate the single-file vs tarball code.
6439 (package-desc-suffix): New function.
6440 (package-desc-full-name): Don't bother inlining it.
6441 (package-load-descriptor): Return the new package-desc.
6442 (package-mark-obsolete): Remove unused arg `package'.
6443 (package-unpack): Make it work for single files as well.
6444 Make it update package-alist.
6445 (package--make-autoloads-and-stuff): Rename from
6446 package--make-autoloads-and-compile. Don't compile any more.
6447 (package--compile): New function.
6448 (package-generate-description-file): New function, extracted from
6449 package-unpack-single.
6450 (package-unpack-single): Remove.
6451 (package--with-work-buffer): Add indentation and debugging info.
6452 (package-download-single): Remove.
6453 (package-install-from-archive): Rename from package-download-tar, make
6454 it take a pkg-desc, and make it work for single files as well.
6455 (package-download-transaction): Simplify.
6456 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6457 external tar program.
6458 (package-install-from-buffer): Remove `pkg-desc' argument.
6459 Use package-tar-file-info for tar-mode buffers.
6460 (package-install-file): Simplify accordingly.
6461 (package-archive-base): Change to take a pkg-desc.
6462 * tar-mode.el (tar--check-descriptor): New function, extracted from
6464 (tar-get-descriptor): Use it.
6465 (tar-get-file-descriptor): New function.
6466 (tar--extract): New function, extracted from tar-extract.
6467 (tar--extract): Use it.
6468 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6469 case the summary uses non-ascii. Adjust to new calling convention of
6470 package-tar-file-info.
6472 2013-06-21 Leo Liu <sdl.web@gmail.com>
6474 * comint.el (comint-redirect-results-list-from-process):
6475 Fix random delay. (Bug#14681)
6477 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6479 * profiler.el (profiler-format-number): Use log, not log10.
6481 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6483 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6485 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6488 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6490 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6491 (AUTOGENEL): ... here.
6492 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6493 (cl--defsubst-expand): Use it.
6495 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6497 * subr.el (log10): Move here from C code, and declare as obsolete.
6498 All uses of (log10 X) replaced with (log X 10).
6500 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6502 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6503 Declare with `defvar-local'.
6504 (tabulated-list-use-header-line, tabulated-list-entries)
6505 (tabulated-list-padding, tabulated-list-printer)
6506 (tabulated-list-sort-key): Declare with `defvar-local'.
6507 (tabulated-list-init-header, tabulated-list-print-fake-header):
6510 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6512 * arc-mode.el (archive-mode): Add `archive-write-file' to
6513 `write-contents-functions' also for remote files. (Bug#14652)
6515 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6517 * cus-edit.el (custom-commands): Fix typos.
6518 (custom-display): Fix tooltip text.
6519 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6520 Fix typos in docstrings.
6521 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6522 (custom-unlispify-menu-entry, custom-magic-value-create)
6523 (custom-add-see-also, custom-group-value-create): Use ?\s.
6524 (custom-guess-type, customize-apropos, editable-field)
6525 (custom-face-value-create): Use `string-match-p'.
6526 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6528 * custom.el (custom-load-symbol): Use `string-match-p'.
6530 * ansi-color.el: Convert to lexical binding.
6531 (ansi-colors): Fix URL.
6532 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6533 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6534 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6536 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6538 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6540 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6542 2013-06-19 Tom Tromey <tromey@redhat.com>
6544 * net/eww.el (eww-top-url): Remove.
6545 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6546 (eww-render): Set new variables. Don't set eww-top-url.
6547 (eww-handle-link): Handle "prev", "home", and "contents".
6548 Downcase the rel text.
6549 (eww-top-url): Choose best top URL.
6551 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6553 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6554 relying in widget.el. Using widget.el leads to too many
6555 user interface inconsistencies.
6556 (eww-self-insert): Implement entering commands in text fields.
6557 (eww-process-text-input): New function to make text input field editing
6559 (eww-submit): Rewrite to use the new-style form methods.
6560 (eww-select-display): Display the correct selected item.
6561 (eww-change-select): Implement changing the select value.
6562 (eww-toggle-checkbox): Implement radio/checkboxes.
6563 (eww-update-field): Fix compilation error.
6564 (eww-tag-textarea): Implement <textarea>.
6566 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6567 we don't shadow mode-specific bindings.
6569 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6572 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6574 2013-06-19 Glenn Morris <rgm@gnu.org>
6576 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6578 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6580 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6583 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6585 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6587 * net/browse-url.el (browse-url-browser-function):
6588 `eww-browse-url' has the right calling signature, `eww' does not.
6590 2013-06-19 Glenn Morris <rgm@gnu.org>
6592 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6593 Only eval autoloaded macros.
6594 (byte-compile-autoload): Only give the macro warning for macros.
6596 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6597 (ps-underlined-faces): Declare.
6599 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6600 (speedbar-add-supported-extension): Declare.
6602 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6603 Don't include a date stamp in the header of the generated file;
6604 it leads to needless differences between output files.
6606 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6608 * net/secrets.el (secrets-struct-secret-content-type):
6609 Replace check of introspection data by a test call of "CreateItem".
6610 Some servers do not offer introspection.
6612 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6614 * electric.el (electric-pair-mode): Improve interaction with
6615 electric-layout-mode.
6616 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6617 (electric-pair-syntax): Use text-mode-syntax-table in comments
6619 (electric-pair--insert): New function.
6620 (electric-pair-post-self-insert-function): Use it and
6621 electric--after-char-pos.
6623 2013-06-19 Leo Liu <sdl.web@gmail.com>
6625 * progmodes/octave.el (octave-help): Fix regexp.
6627 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6629 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6630 (shr-table-horizontal-line): Allow nil as a value, and change the
6632 (shr-insert-table-ruler): Respect the nil value.
6634 2013-06-18 Tom Tromey <tromey@barimba>
6636 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6638 (eww-open-file): New defun.
6639 (eww-render): Initialize new variables.
6640 (eww-display-html): Handle "link" and "a".
6641 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6642 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6643 (eww-back-url): Rename from eww-previous-url.
6644 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6647 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6649 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6650 Distinguish ternary operator tokens from slash symbol and slash
6653 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6655 Convert symbol prettification into minor mode and global minor mode.
6657 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6658 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6659 (prettify-symbols--keywords): Rename from
6660 `prog-prettify-symbols-alist' and make a local defvar.
6661 (prettify-symbols--compose-symbol): Rename from
6662 `prog--prettify-font-lock-compose-symbol'.
6663 (prettify-symbols--make-keywords): Rename from
6664 `prog-prettify-font-lock-symbols-keywords' and simplify.
6665 (prog-prettify-install): Remove.
6666 (prettify-symbols-mode): New minor mode, based on
6667 `prog-prettify-install'.
6668 (turn-on-prettify-symbols-mode): New function.
6669 (global-prettify-symbols-mode): New globalized minor mode.
6671 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6672 * progmodes/cfengine.el (cfengine3-mode):
6673 * progmodes/perl-mode.el (perl-mode): Don't call
6674 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6676 2013-06-18 Juri Linkov <juri@jurta.org>
6678 * files-x.el (modify-file-local-variable-message): New function.
6679 (modify-file-local-variable)
6680 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6681 and call `modify-file-local-variable-message' when it's non-nil.
6682 (add-file-local-variable, delete-file-local-variable)
6683 (add-file-local-variable-prop-line)
6684 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6685 and use it. (Bug#9820)
6687 2013-06-18 Juri Linkov <juri@jurta.org>
6689 * emulation/vi.el (vi-shell-op):
6690 * emulation/vip.el (vip-execute-com, ex-command):
6691 * emulation/viper-cmd.el (viper-exec-bang):
6692 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6693 the call of `shell-command-on-region'. (Bug#14637)
6695 * simple.el (shell-command-on-region): Doc fix.
6697 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6702 2013-06-18 Glenn Morris <rgm@gnu.org>
6704 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6706 * newcomment.el (comment-search-forward, comment-search-backward):
6707 Doc fix. (Bug#14376)
6709 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6711 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6712 (buffer-face-mode-invoke): Doc fix.
6714 2013-06-18 Matthias Meulien <orontee@gmail.com>
6716 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6717 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6719 2013-06-18 Glenn Morris <rgm@gnu.org>
6721 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6722 Replace obsolete function generic-make-keywords with its expansion.
6724 * progmodes/python.el (ffap-alist): Declare.
6726 * textmodes/reftex.el (bibtex-mode-map): Declare.
6728 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6731 (package-unpack, package-unpack-single): Return the pkg-dir.
6732 (package-download-transaction): Use it to update package-alist.
6734 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6736 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6739 2013-06-17 Juri Linkov <juri@jurta.org>
6741 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6743 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6745 * emacs-lisp/package.el (package-load-descriptor):
6746 Remove `with-syntax-table' call, `read' doesn't need it.
6747 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6749 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6751 * startup.el (command-line): Expand package name returned by
6752 `package--description-file' (bug#14639).
6754 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6756 * emacs-lisp/package.el (package-load-descriptor): Do not call
6757 `emacs-lisp-mode', just use its syntax table.
6759 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6761 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6762 `font-lock-extra-managed-props' if any prettifying keyword is added.
6763 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6764 (prog-mode): Use `setq-local'.
6766 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * international/characters.el (standard-case-table): Set syntax of ?»
6769 and ?« to punctuation.
6771 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6773 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6774 Save relevant match data before calling `syntax-ppss' (bug#14595).
6776 2013-06-15 Juri Linkov <juri@jurta.org>
6778 * files-x.el (modify-file-local-variable-prop-line): Add local
6779 variables to the end of the existing comment on the first line.
6780 Use `file-auto-mode-skip' to skip interpreter magic line,
6781 and also skip XML declaration.
6783 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * startup.el (package--builtin-versions): New var.
6786 (package-subdirectory-regexp): Remove.
6787 (package--description-file): Hard code its value instead.
6789 * emacs-lisp/package.el: Don't activate packages older than builtin.
6790 (package-obsolete-list): Rename from package-obsolete-alist, and make
6791 it into a simple list of package-desc.
6792 (package-strip-version): Remove.
6793 (package-built-in-p): Use package--builtin-versions.
6794 (package-mark-obsolete): Simplify.
6795 (package-process-define-package): Mark it obsolete if older than the
6797 (package-handle-response): Use line-end-position.
6798 (package-read-archive-contents, package--download-one-archive):
6800 (package--add-to-archive-contents): Skip if older than the builtin or
6802 (package-menu-describe-package): Fix last change.
6803 (package-list-unversioned): New var.
6804 (package-menu--generate): Use it.
6806 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6807 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6808 (autoload-builtin-package-versions): New variable.
6809 (autoload-generate-file-autoloads): Use them.
6810 Remove the list of autoloaded functions/macros from the
6811 (autoload...) comments.
6813 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6815 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6817 * simple.el (line-move-partial): Don't jump to the next screen
6818 line as soon as it becomes visible. Instead, continue enlarging
6819 the vscroll until the portion of a tall screen line that's left on
6820 display is about the height of the frame's default font.
6823 2013-06-15 Glenn Morris <rgm@gnu.org>
6825 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6826 compilation-error-regexp-alist void, or local while let-bound.
6828 * progmodes/make-mode.el (makefile-mode-syntax-table):
6829 Treat "=" as punctuation. (Bug#14614)
6831 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6833 * help-fns.el (describe-variable):
6834 Add extra line for permanent-local variables.
6836 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6838 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6839 Add export, import, library. (Bug#9164)
6840 (library): Set indent function.
6842 2013-06-14 Glenn Morris <rgm@gnu.org>
6844 * term/xterm.el (xterm--query):
6845 Stop after first matching handler. (Bug#14615)
6847 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6849 Add support for dired in saveplace.
6850 * dired.el (dired-initial-position-hook): New variable.
6851 (dired-initial-position): Call hook to place cursor position.
6852 * saveplace.el (save-place-to-alist): Add dired position.
6853 (save-place-dired-hook): New function.
6855 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6857 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6858 through a symbol rather than letrec.
6860 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6861 (package-desc): Add `dir' field.
6862 (package-desc-full-name): New function.
6863 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6864 (package-maybe-load-descriptor): Remove.
6865 (package-load-all-descriptors): Just call package-load-descriptor.
6866 (package--disabled-p): New function.
6867 (package-desc-vers, package-desc-doc): Remove aliases.
6868 (package--dir): Remove function.
6869 (package-activate): Check if a package is disabled.
6870 (package-process-define-package): New function, extracted from
6872 (define-package): Turn into a place holder.
6873 (package-unpack-single, package-tar-file-info):
6874 Use package--description-file.
6875 (package-compute-transaction): Use package--disabled-p.
6876 (package-download-transaction): Don't call
6877 package-maybe-load-descriptor since they're all loaded anyway.
6878 (package-install): Change argument to be a pkg-desc.
6879 (package-delete): Use a single pkg-desc argument.
6880 (describe-package-1): Use package-desc-dir instead of package--dir.
6881 Use package-desc property instead of package-symbol.
6882 (package-install-button-action): Adjust accordingly.
6883 (package--push): Rewrite.
6884 (package-menu--print-info): Adjust accordingly. Change the ID format
6886 (package-menu-describe-package, package-menu-get-status)
6887 (package-menu--find-upgrades, package-menu-mark-upgrades)
6888 (package-menu-execute, package-menu--name-predicate):
6890 * startup.el (package--description-file): New function.
6891 (command-line): Use it.
6892 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6893 Use package-desc-version.
6895 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6896 (byte-compile-preprocess): Use it.
6897 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6898 can't quite recognize.
6899 (byte-compile-add-to-list): Remove.
6900 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6901 (cconv-closure-convert): Add assertion.
6903 * emacs-lisp/map-ynp.el: Use lexical-binding.
6904 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6905 Factor out some repeated code.
6907 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6909 * subr.el (with-eval-after-load): New macro.
6910 (eval-after-load): Allow form to be a function.
6911 take advantage of lexical-binding.
6912 (do-after-load-evaluation): Use dolist and adjust to new format.
6913 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6915 2013-06-13 Juri Linkov <juri@jurta.org>
6917 * replace.el (perform-replace): Display "symbol " and other search
6918 modes from `isearch-message-prefix' in the *Help* buffer.
6920 * isearch.el (isearch-query-replace): Add " symbol" and other
6921 possible search modes from `isearch-message-prefix' to the prompt.
6922 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6923 when reading a regexp to collect.
6925 2013-06-13 Juri Linkov <juri@jurta.org>
6927 * isearch.el (word-search-regexp): Match whitespace if the search
6928 string begins or ends in whitespace. The LAX arg is applied to
6929 both ends of the search string. Use `regexp-quote' and explicit
6930 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6931 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6932 boundaries are replaced with symbol boundaries, and characters
6933 between symbols match non-word non-symbol syntax. (Bug#14602)
6935 2013-06-13 Juri Linkov <juri@jurta.org>
6937 * isearch.el (isearch-del-char): Don't exceed the length of
6938 `isearch-string' by the prefix arg. (Bug#14563)
6940 2013-06-13 Juri Linkov <juri@jurta.org>
6942 * isearch.el (isearch-yank-word, isearch-yank-line)
6943 (isearch-char-by-name, isearch-quote-char)
6944 (isearch-printing-char, isearch-process-search-char):
6945 Add optional count prefix arg. (Bug#14563)
6947 * international/isearch-x.el
6948 (isearch-process-search-multibyte-characters):
6949 Add optional count prefix arg.
6951 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6953 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6954 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6957 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6959 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6961 2013-06-13 Glenn Morris <rgm@gnu.org>
6963 * startup.el (tty-handle-args):
6964 Don't just discard "--" and anything after. (Bug#14608)
6966 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6968 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6970 Implement changes in Secret Service API. Make it backward compatible.
6971 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6972 (secrets-create-item): Use it. Prefix properties with interface.
6974 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6976 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6977 (term-emulate-terminal): Respect term-suppress-hard-newline.
6979 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6981 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6982 Only remove a `thumb-file' overlay. (Bug#14548)
6984 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6986 * mail/reporter.el (reporter-submit-bug-report):
6987 Handle missing package-name. (Bug#14600)
6989 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6991 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6992 (reftex-citation-prompt, reftex-default-bibliography)
6993 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6994 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6995 (reftex-bib-sort-author, reftex-bib-sort-year)
6996 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6997 (reftex-extract-bib-entries-from-thebibliography)
6998 (reftex-get-bibkey-default, reftex-get-bib-names)
6999 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7000 (reftex-format-bib-entry, reftex-parse-bibitem)
7001 (reftex-format-bibitem, reftex-do-citation)
7002 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7003 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7004 (reftex-insert-bib-matches, reftex-format-citation)
7005 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7006 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7007 existing comments into docstrings.
7009 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7011 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7013 2013-06-12 Andreas Schwab <schwab@suse.de>
7015 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7016 for auto-save files.
7018 2013-06-12 Glenn Morris <rgm@gnu.org>
7020 * ido.el (ido-delete-ignored-files): Remove.
7021 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7022 Go back to calling ido-ignore-item-p directly.
7024 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7026 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7028 * ido.el (ido-delete-ignored-files): New function,
7029 split from ido-make-file-list-1.
7030 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7031 (ido-make-file-list-1): Use ido-delete-ignored-files.
7033 2013-06-12 Leo Liu <sdl.web@gmail.com>
7035 * progmodes/octave.el (inferior-octave-startup)
7036 (inferior-octave-completion-table)
7037 (inferior-octave-track-window-width-change)
7038 (octave-eldoc-function-signatures, octave-help)
7039 (octave-find-definition): Use single quoted strings.
7040 (inferior-octave-startup-args): Change default value.
7041 (inferior-octave-startup): Do not hard code "-i" and
7042 "--no-line-editing".
7043 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7044 (inferior-octave-directory-tracker): Use it.
7045 (octave-goto-function-definition): Robustify.
7046 (octave-help): Support highlighting operators in 'See also'.
7047 (octave-find-definition): Find subfunctions only in Octave mode.
7049 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7051 * help-fns.el (help-fns--compiler-macro): If the handler function is
7052 named, then put a link to it.
7053 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7054 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7056 (cl-eval-when): Simplify debug spec.
7057 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7058 compiler-macro function instead of setting `compiler-macro-file'.
7060 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7062 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7063 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7065 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7066 Daniel Hackney <dan@haxney.org>
7068 First part of Daniel Hackney's patch to package.el.
7069 * emacs-lisp/package.el: Use defstruct.
7070 (package-desc): New, main struct.
7071 (package--bi-desc, package--ac-desc): New structs, used to describe the
7072 format in external files.
7073 (package-desc-vers): Replace with package-desc-version accessor.
7074 (package-desc-doc): Replace with package-desc-summary accessor.
7075 (package-activate-1): Remove `package' arg since the pkg-vec now
7077 (define-package): Use package-desc-from-define.
7078 (package-unpack-single): Change file-name arg to be a symbol.
7079 (package--add-to-archive-contents): Use package-desc-create and new
7080 accessor functions to package--ac-desc.
7081 (package-buffer-info, package-tar-file-info): Return a package-desc.
7082 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7083 arg to be a package-desc.
7084 (package-install-file): Adjust accordingly. Use \' to match EOS.
7085 (package--from-builtin): New function.
7086 (describe-package-1, package-menu--generate): Use it.
7087 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7088 (package-generate-autoloads): Idem and return the name of the file.
7089 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7090 Change pkg-info arg to be a package-desc.
7091 Use package-make-ac-desc.
7092 (package-upload-file): Use \' to match EOS.
7093 * finder.el (finder-compile-keywords): Use package-make-builtin.
7095 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * vc/vc.el (vc-deduce-fileset): Change error message.
7098 (vc-read-backend): New function.
7099 (vc-next-action): Use it.
7101 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7103 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7104 (prolog-font-lock-keywords): Use regexp-opt instead.
7105 Don't manually highlight strings.
7106 (prolog-mode-variables): Simplify comment-start-skip.
7107 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7109 * emacs-lisp/generic.el (generic--normalise-comments)
7110 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7111 (generic-mode-set-comments): Use them.
7112 (generic-bracket-support): Use setq-local.
7113 (generic-make-keywords-list): Declare obsolete.
7115 2013-06-11 Glenn Morris <rgm@gnu.org>
7117 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7118 Prettify after setting font-lock-defaults. (Bug#14574)
7120 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7122 * replace.el (query-replace, occur-read-regexp-defaults-function)
7124 * subr.el (declare-function, number-sequence, local-set-key)
7125 (substitute-key-definition, locate-user-emacs-file)
7126 (with-silent-modifications, split-string, eval-after-load):
7127 Fix typos, remove unneeded backslashes and reflow some docstrings.
7129 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7131 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7132 default for Elisp files.
7134 2013-06-11 Glenn Morris <rgm@gnu.org>
7136 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7137 although define-derived-mode was doing this anyway. (Bug#14583)
7139 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7141 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7142 Fix make-variable-buffer-local call to refer to the correct variable.
7144 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7146 * eshell/em-term.el (eshell-visual-commands)
7147 (eshell-visual-subcommands, eshell-visual-options):
7148 Add summary line to docstrings. Add cross-references.
7150 2013-06-10 Glenn Morris <rgm@gnu.org>
7152 * epa.el (epa-read-file-name): New function. (Bug#14510)
7153 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7155 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7157 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7158 output redirection to be ignored with visual commands.
7160 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7162 * eshell/em-term.el (eshell-visual-command-p): New function.
7163 (eshell-term-initialize): Move long lambda to separate function
7164 eshell-visual-command-p.
7165 * eshell/em-dirs.el (eshell-dirs-initialise):
7166 * eshell/em-script.el (eshell-script-initialize):
7167 Add missing #' to lambda.
7169 2013-06-08 Leo Liu <sdl.web@gmail.com>
7171 * progmodes/octave.el (octave-add-log-current-defun): New function.
7172 (octave-mode): Set add-log-current-defun-function.
7173 (octave-goto-function-definition): Do not move point if not found.
7174 (octave-find-definition): Enhance to try subfunctions first.
7176 2013-06-08 Glenn Morris <rgm@gnu.org>
7178 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7179 (byte-compile-backward-char, byte-compile-backward-word):
7180 Improve previous change, to handle non-explicit nil.
7182 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7185 (smie--opener/closer-at-point): New function.
7186 (smie--matching-block-data): Use it. Don't match from right after an
7187 opener or right before a closer. Obey smie-blink-matching-inners.
7188 Don't signal a mismatch for repeated inners like "switch..case..case".
7190 2013-06-07 Leo Liu <sdl.web@gmail.com>
7192 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7194 (octave-function-header-regexp): Fix. (Bug#14570)
7195 (octave-help-mode-finish-hook, octave-help-mode-finish):
7196 Remove. Just use temp-buffer-show-hook.
7198 * newcomment.el (comment-search-backward): Revert last change.
7201 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7203 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7205 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7206 through xargs, to avoid failure due to MS-Windows limitations on
7207 command-line length.
7209 2013-06-06 Glenn Morris <rgm@gnu.org>
7211 * font-lock.el (lisp-font-lock-keywords-2):
7212 Treat user-error like error.
7214 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7215 (byte-compile-backward-char, byte-compile-backward-word):
7216 Handle explicit nil arguments. (Bug#14565)
7218 2013-06-05 Alan Mackenzie <acm@muc.de>
7220 * isearch.el (isearch-allow-prefix): New user option.
7221 (isearch-other-meta-char): Don't exit isearch when a prefix
7222 argument is typed whilst `isearch-allow-prefix' is non-nil.
7225 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * autorevert.el (auto-revert-notify-handler): Use memq.
7228 Hide assertion failure.
7230 * skeleton.el: Use cl-lib.
7231 (skeleton-further-elements): Use defvar-local.
7232 (skeleton-insert): Use cl-progv.
7234 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7236 * progmodes/prog-mode.el (prog-prettify-symbols)
7237 (prog-prettify-install): Update docstrings.
7239 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * simple.el: Move all the prog-mode code to prog-mode.el.
7242 * progmodes/prog-mode.el: New file.
7243 * loadup.el: Add prog-mode.el.
7245 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7247 * simple.el (prog-prettify-symbols): Add version.
7248 (prog-prettify-install): Add convenience function to prettify symbols.
7250 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7251 (perl--augmented-font-lock-keywords-1)
7252 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7253 variables and use it.
7255 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7256 (cfengine3-mode): Remove unneeded variable and use it.
7258 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7259 (lisp--augmented-font-lock-keywords-1)
7260 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7261 Remove unneeded variables and use it.
7263 2013-06-05 João Távora <joaotavora@gmail.com>
7265 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7266 to point when opening the connection. (Bug#14380)
7268 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * subr.el (load-history-regexp, load-history-filename-element)
7271 (eval-after-load, after-load-functions, do-after-load-evaluation)
7272 (eval-next-after-load, display-delayed-warnings)
7273 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7274 definition of save-match-data.
7275 (overriding-local-map): Remove accidental obsolescence declaration.
7277 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7279 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7281 Generalize symbol prettify support to prog-mode and implement it
7282 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7283 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7284 (prog--prettify-font-lock-compose-symbol)
7285 (prog-prettify-font-lock-symbols-keywords): New variables and
7286 functions to support symbol prettification.
7287 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7288 (lisp--augmented-font-lock-keywords-1)
7289 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7290 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7291 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7292 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7293 Implement prettify of -> => :: strings.
7294 * progmodes/perl-mode.el (perl-prettify-symbols)
7295 (perl--font-lock-compose-symbol)
7296 (perl--font-lock-symbols-keywords): Move to prog-mode.
7297 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7298 (perl-font-lock-keywords-1)
7299 (perl-font-lock-keywords-2): Remove explicit prettify support.
7300 (perl--augmented-font-lock-keywords)
7301 (perl--augmented-font-lock-keywords-1)
7302 (perl--augmented-font-lock-keywords-2, perl-mode):
7303 Implement prettify support.
7305 2013-06-05 Leo Liu <sdl.web@gmail.com>
7307 Re-implement smie matching block highlight using
7308 show-paren-data-function. (Bug#14395)
7309 * emacs-lisp/smie.el (smie-matching-block-highlight)
7310 (smie--highlight-matching-block-overlay)
7311 (smie--highlight-matching-block-lastpos)
7312 (smie-highlight-matching-block)
7313 (smie-highlight-matching-block-mode): Remove.
7314 (smie--matching-block-data-cache): New variable.
7315 (smie--matching-block-data): New function.
7316 (smie-setup): Use smie--matching-block-data for
7317 show-paren-data-function.
7319 * progmodes/octave.el (octave-mode-menu): Fix.
7320 (octave-find-definition): Skip garbage lines.
7322 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7324 Fix compilation error with simultaneous dynamic+lexical scoping.
7325 Add warning when a defvar appears after the first let-binding.
7326 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7327 (byte-compile-close-variables): Initialize it.
7328 (byte-compile--declare-var): New function.
7329 (byte-compile-file-form-defvar)
7330 (byte-compile-file-form-define-abbrev-table)
7331 (byte-compile-file-form-custom-declare-variable): Use it.
7332 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7333 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7334 (byte-compile-bind): Handle dynamic bindings that shadow
7336 (byte-compile-unbind): Make arg non-optional.
7337 (byte-compile-let): Simplify.
7338 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7339 (cconv--analyse-function, cconv-analyse-form): Populate it.
7340 Protect byte-compile-bound-variables to limit the scope of defvars.
7341 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7342 Remove unneeded rule for `declare'.
7344 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7345 so as to avoid depending on cl-adjoin at run-time.
7346 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7348 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7349 (macroexp--warn-and-return): Use it.
7351 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * lisp/subr.el: Convert to lexical binding.
7354 (overriding-local-map): Make obsolete.
7355 (add-to-list): Doc fix. Add compiler macro.
7356 (read-key): Swap values of local maps.
7358 2013-06-05 Leo Liu <sdl.web@gmail.com>
7360 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7362 2013-06-04 Leo Liu <sdl.web@gmail.com>
7364 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7365 (compilation-auto-jump): Suppress the "Mark set" message to give
7366 way to exit message.
7368 2013-06-04 Alan Mackenzie <acm@muc.de>
7370 Remove faulty optimisation from indentation calculation.
7371 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7372 search limit based on 2000 characters back from indent-point.
7374 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7376 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7378 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7380 * emacs-lisp/lisp.el: Use lexical-binding.
7381 (lisp--local-variables-1, lisp--local-variables): New functions.
7382 (lisp--local-variables-completion-table): New var.
7383 (lisp-completion-at-point): Use it complete let-bound vars.
7385 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7386 eagerly (bug#14422).
7388 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7390 * autorevert.el (auto-revert-notify-enabled)
7391 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7392 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7393 (auto-revert-notify-handler): Handle also gfilenotify.
7395 * subr.el (file-notify-handle-event): New defun. Replacing ...
7396 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7399 2013-06-03 Juri Linkov <juri@jurta.org>
7401 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7402 `M-s h .'. (Bug#14427)
7404 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7405 command `hi-lock-face-symbol-at-point'.
7406 (hi-lock-face-symbol-at-point): New command.
7407 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7408 (hi-lock-menu): Add `highlight-symbol-at-point'.
7409 (hi-lock-mode): Doc fix.
7411 * isearch.el (isearch-forward-symbol-at-point): New command.
7412 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7413 (isearch-highlight-regexp): Add a regexp which matches
7414 words/symbols for word/symbol mode.
7416 * subr.el (find-tag-default-bounds): New function with the body
7417 mostly moved from `find-tag-default'.
7418 (find-tag-default): Move most code to `find-tag-default-bounds',
7419 call it and apply `buffer-substring-no-properties' afterwards.
7421 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7423 * eshell/em-term.el (eshell-term-initialize):
7424 Use `cl-intersection' rather than `intersection'.
7426 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7428 * vc/log-view.el: Doc fix.
7429 (log-view-mode-map): Copy keymap from `special-mode-map'.
7431 2013-06-02 Eric Ludlam <zappo@gnu.org>
7433 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7434 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7435 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7436 (eieio-unbound, eieio-default-superclass)
7437 (eieio--define-field-accessors, method-static, method-before)
7438 (method-primary, method-after, method-num-lists)
7439 (method-generic-before, method-generic-primary)
7440 (method-generic-after, method-num-slots)
7441 (eieio-specialized-key-to-generic-key)
7442 (eieio--check-type, class-v, class-p)
7443 (eieio-class-name, define-obsolete-function-alias)
7444 (eieio-class-parents-fast, eieio-class-children-fast)
7445 (same-class-fast-p, class-constructor, generic-p)
7446 (generic-primary-only-p, generic-primary-only-one-p)
7447 (class-option-assoc, class-option, eieio-object-p)
7448 (class-abstract-p, class-method-invocation-order)
7449 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7450 (eieio-class-un-autoload, eieio-defclass)
7451 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7452 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7453 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7454 (eieio-defgeneric-reset-generic-form)
7455 (eieio-defgeneric-form-primary-only)
7456 (eieio-defgeneric-reset-generic-form-primary-only)
7457 (eieio-defgeneric-form-primary-only-one)
7458 (eieio-defgeneric-reset-generic-form-primary-only-one)
7459 (eieio-unbind-method-implementations)
7460 (eieio--defmethod, eieio--typep)
7461 (eieio-perform-slot-validation, eieio-validate-slot-value)
7462 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7463 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7464 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7465 (eieio-slot-name-index, eieio-class-slot-name-index)
7466 (eieio-set-defaults, eieio-initarg-to-attribute)
7467 (eieio-attribute-to-initarg, eieio-c3-candidate)
7468 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7469 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7470 (eieio-class-precedence-list, eieio-generic-call-methodname)
7471 (eieio-generic-call-arglst, eieio-generic-call-key)
7472 (eieio-generic-call-next-method-list)
7473 (eieio-pre-method-execution-functions, eieio-generic-call)
7474 (eieio-generic-call-primary-only, eieiomt-method-list)
7475 (eieiomt-optimizing-obarray, eieiomt-install)
7476 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7477 (eieio-generic-form, eieio-defmethod, make-obsolete)
7478 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7479 (defclass): Remove `eval-and-compile' from macro.
7480 (call-next-method, shared-initialize): Instead of using
7481 `scoped-class' variable, use new eieio--scoped-class, and
7482 eieio--with-scoped-class.
7483 (initialize-instance): Rename local variable 'scoped-class' to
7484 'this-class' to remove ambiguitity from old global.
7486 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7488 (eieio--scoped-class-stack): New variable.
7489 (eieio--scoped-class): New fcn.
7490 (eieio--with-scoped-class): New scoping macro.
7491 (eieio-defclass): Use pushnew instead of add-to-list.
7492 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7493 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7494 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7495 `scoped-class' variable, use new eieio--scoped-class, and
7496 eieio--with-scoped-class.
7498 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7500 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7502 * eshell/esh-ext.el (eshell-external-command): Pass args to
7503 `eshell-find-interpreter'.
7504 (eshell-find-interpreter): Add new second parameter ARGS.
7506 * eshell/em-script.el (eshell-script-initialize): Add second arg
7507 to the function added as MATCH to `eshell-interpreter-alist'.
7509 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7510 the function added as MATCH to `eshell-interpreter-alist'.
7512 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7513 (eshell-visual-options): New defcustom.
7514 (eshell-escape-control-x): Adapt docstring.
7515 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7516 `eshell-visual-options' in addition to `eshell-visual-commands'.
7517 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7519 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7521 * progmodes/python.el (python-indent-block-enders): Add break,
7522 continue and raise keywords.
7524 2013-06-01 Glenn Morris <rgm@gnu.org>
7526 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7528 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7529 * progmodes/cc-cmds.el (delete-forward-p):
7530 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7531 * progmodes/cc-engine.el (buffer-syntactic-context):
7532 * progmodes/cc-fonts.el (face-property-instance):
7533 * progmodes/cc-mode.el (set-keymap-parents):
7534 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7535 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7536 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7537 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7538 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7540 * progmodes/cc-vars.el (other): Emacs has this widget since
7541 at least 21.1, so don't (re)define it.
7543 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7544 Replace the obsolete alias pcomplete-arg-quote-list.
7546 2013-06-01 Leo Liu <sdl.web@gmail.com>
7548 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7550 (inferior-octave-minimal-columns)
7551 (inferior-octave-last-column-width): New variables.
7552 (inferior-octave-track-window-width-change): New function.
7553 (inferior-octave-mode): Adjust column width so that Octave output,
7554 for example from 'ls', can fit into the window nicely.
7556 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7558 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7559 Highlight expansions inside regexp literals.
7561 2013-05-31 Glenn Morris <rgm@gnu.org>
7563 * obsolete/sym-comp.el (symbol-complete):
7564 Replace obsolete completion-annotate-function.
7566 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7568 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7570 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7571 New function, checks if point is inside a literal that allows
7572 expression expansion.
7573 (ruby-syntax-propertize-expansion): Use it.
7574 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7577 2013-05-30 Juri Linkov <juri@jurta.org>
7579 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7581 (isearch-invisible): New variable.
7582 (isearch-forward): Doc fix.
7583 (isearch-mode): Set `isearch-invisible'
7584 to the value of `search-invisible'.
7585 (isearch-toggle-case-fold): Doc fix.
7586 (isearch-toggle-invisible): New command.
7587 (isearch-query-replace): Let-bind `search-invisible'
7588 to the value of `isearch-invisible'.
7589 (isearch-search): Use `isearch-invisible' instead of
7590 `search-invisible'. Let-bind `search-invisible'
7591 to the value of `isearch-invisible'. (Bug#11378)
7593 2013-05-30 Juri Linkov <juri@jurta.org>
7595 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7596 call when `query-flag' is nil and `search-invisible' is non-nil.
7599 2013-05-30 Glenn Morris <rgm@gnu.org>
7601 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7603 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7604 (cc-require): Suppress spurious "noruntime" warnings.
7605 (cc-require-when-compile): Use fboundp, for sake of compiler.
7607 * progmodes/cc-mode.el: Move load of cc-vars before that of
7608 cc-langs (which in turn loads cc-vars), to quieten compiler.
7610 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * paren.el: Simplify the code.
7613 (show-paren-mode): Always start the timer.
7614 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7615 (show-paren--overlay, show-paren--overlay-1): Rename from
7616 show-paren-overlay and show-paren-overlay-1, and initialize to an
7617 overlay rather than to nil.
7618 (show-paren-function): Misc cleanup and simplifications.
7620 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7622 * paren.el (show-paren-data-function): New hook.
7623 (show-paren--default): New function, extracted from show-paren-function.
7624 (show-paren-function): Use show-paren-data-function.
7626 2013-05-30 Glenn Morris <rgm@gnu.org>
7628 * ielm.el (ielm-map, ielm-complete-symbol):
7629 Use completion-at-point rather than obsolete functions.
7630 (inferior-emacs-lisp-mode): Doc fix.
7631 Set completion-at-point-functions, rather than
7632 comint-dynamic-complete-functions.
7634 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7635 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7636 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7638 * image.el (image-animated-p): Tweak definition.
7640 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7641 (rlogin-process-connection-type): Tweak default. Add set-after.
7642 (rlogin-host): Doc fix.
7643 (rlogin): Tweak prompt.
7644 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7646 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7647 * progmodes/tcl.el (inferior-tcl-mode-map):
7648 Use completion-at-point rather than obsolete alias.
7650 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7652 * minibuffer.el (read-file-name-completion-ignore-case):
7653 Move before completion--in-region, for eager macro expansion.
7655 2013-05-29 Juri Linkov <juri@jurta.org>
7657 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7658 for total count of matching lines. Add `global-matches' for total
7659 count of matches. Rename `matches' to `lines' for count of
7660 matching lines. Add `matches' for count of matches.
7661 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7662 to `prev-line' for line number of prev match endpt.
7663 Increment `matches' for every match. Print the number of
7664 matching lines in the header.
7665 (occur-context-lines): Rename `lines' to `curr-line'.
7666 Rename `prev-lines' to `prev-line'. (Bug#14017)
7668 2013-05-29 Juri Linkov <juri@jurta.org>
7670 * replace.el (perform-replace): Add `skip-read-only-count',
7671 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7672 Increment them for corresponding conditions and report the number
7673 of skipped occurrences in the final message. (Bug#11746)
7674 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7675 (replace-string, replace-regexp): Doc fix.
7677 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7681 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7682 prog-mode-map (bug#14504).
7684 2013-05-29 Leo Liu <sdl.web@gmail.com>
7686 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7687 (octave-help): Small simplification.
7689 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7690 off the highlight first.
7692 2013-05-29 Glenn Morris <rgm@gnu.org>
7694 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7695 Handle idlwave-last-system-routine-info-cons-cell being nil.
7697 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7698 (idlwave-write-paths): Simplify via with-temp-buffer.
7700 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7701 * emulation/cua-rect.el: Also load cua-base at run time.
7703 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7704 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7705 (cperl-imenu-on-info): Require imenu.
7707 2013-05-28 Alan Mackenzie <acm@muc.de>
7709 Handle "capitalised keywords" correctly.
7710 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7712 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7714 * eshell/em-unix.el: Add -r option to cp.
7716 2013-05-28 Glenn Morris <rgm@gnu.org>
7718 * vc/vc-arch.el (vc-exec-after): Declare.
7719 (vc-switches): Autoload.
7720 * vc/vc-bzr.el: No need to require vc when compiling.
7721 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7722 (vc-resynch-buffer, vc-dir-refresh): Declare.
7723 (vc-setup-buffer, vc-switches): Autoload.
7724 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7725 (vc-resynch-buffer): Declare.
7726 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7727 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7728 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7729 (grep-read-regexp, grep-read-files, grep-expand-template)
7730 (vc-dir-refresh): Declare.
7731 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7732 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7733 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7734 * vc/vc-mtn.el (vc-exec-after): Declare.
7735 (vc-switches): Autoload.
7736 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7737 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7738 (vc-file-tree-walk): Declare.
7739 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7740 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7741 (vc-tag-precondition, vc-rename-master): Autoload.
7742 * vc/vc-svn.el (vc-exec-after): Declare.
7743 (vc-switches, vc-setup-buffer): Autoload.
7744 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7746 (vc-resynch-buffer): Declare.
7748 * obsolete/fast-lock.el (byte-compile-warnings):
7749 Don't warn about obsolete features in this obsolete file.
7751 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7752 Move definition before use.
7754 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7755 (dun-unix-verbs): Remove dun-zippy.
7756 (dun-zippy): Remove function.
7758 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7760 2013-05-27 Juri Linkov <juri@jurta.org>
7762 * replace.el (replace-search): New function with code moved out
7763 from `perform-replace'.
7764 (replace-highlight, replace-dehighlight): Move function definitions
7765 up closer to `replace-search'. (Bug#11746)
7767 2013-05-27 Juri Linkov <juri@jurta.org>
7769 * replace.el (perform-replace): Ignore invisible matches.
7770 In addition to checking `query-replace-skip-read-only', also
7771 filter out matches by calling `run-hook-with-args-until-failure'
7772 on `isearch-filter-predicates', and also check `search-invisible'
7773 for t or call `isearch-range-invisible'.
7774 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7776 2013-05-27 Juri Linkov <juri@jurta.org>
7778 * isearch.el (isearch-filter-predicates): Rename from
7779 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7780 (isearch-message-prefix): Display text from the property
7781 `isearch-message-prefix' of the currently active filters.
7782 (isearch-search): Don't compare `isearch-filter-predicate' with
7783 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7784 on `isearch-filter-predicates'. Also check `search-invisible' for t
7785 or call `isearch-range-invisible'.
7786 (isearch-filter-visible): Make obsolete.
7787 (isearch-lazy-highlight-search):
7788 Call `run-hook-with-args-until-failure' on
7789 `isearch-filter-predicates' and use `isearch-range-invisible'.
7791 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7792 `isearch-filter-predicates' instead of `funcall'ing
7793 `isearch-filter-predicate'.
7794 (Info-mode): Set `Info-isearch-filter' to
7795 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7797 * dired-aux.el (dired-isearch-filter-predicate-orig):
7799 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7800 (dired-isearch-filenames-end): Add and remove
7801 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7802 instead of changing the value of `isearch-filter-predicate'.
7803 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7804 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7805 Put property `isearch-message-prefix' to "filename " on
7806 `dired-isearch-filter-filenames'.
7808 * wdired.el (wdired-change-to-wdired-mode):
7809 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7810 locally instead of changing `isearch-filter-predicate'.
7811 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7813 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7815 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7816 return the commit hash (Bug#14459). Also set the
7817 `vc-git-detached' property.
7818 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7819 (vc-git-mode-line-string): Use the same help-echo format whether
7820 in detached mode or not, because we know the actual revision now.
7821 When in detached mode, shorten the revision to 7 chars.
7823 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * emacs-lisp/easy-mmode.el (define-minor-mode):
7826 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7827 mode hook and provide a docstring.
7829 2013-05-27 Alan Mackenzie <acm@muc.de>
7831 Remove spurious syntax-table text properties inserted by C-y.
7832 * progmodes/cc-mode.el (c-after-change): Also clear hard
7833 syntax-table property with value nil.
7835 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7837 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7838 when reading the events; the buffer layout shall not be changed.
7840 2013-05-27 Leo Liu <sdl.web@gmail.com>
7842 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7844 (inferior-octave-directory-tracker): Automatically re-sync
7846 (octave-help): Improve handling of 'See also'.
7848 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7850 * doc-view.el: Minor naming convention tweaks.
7851 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7853 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7854 even if there's no `display' property yet (bug#14435).
7856 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7858 * subr.el (unmsys--file-name): Rename from reveal-filename.
7860 * Makefile.in (custom-deps, finder-data, autoloads)
7861 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7862 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7863 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7865 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7867 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7868 error-completion on the first 2 args of condition-case (bug#14446).
7871 2013-05-25 Leo Liu <sdl.web@gmail.com>
7873 * comint.el (comint-previous-matching-input): Do not flood the
7874 *Messages* buffer with trivial messages.
7876 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7878 * progmodes/flymake.el (flymake-nop): Don't return a string.
7879 (flymake-set-at): Fix typo.
7881 * simple.el (read--expression): New function, extracted from
7882 eval-expression. Set completion-at-point-functions (bug#14465).
7883 (eval-expression, eval-minibuffer): Use it.
7885 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7887 * progmodes/flymake.el (flymake-save-buffer-in-file)
7888 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7889 (flymake-selected-frame, flymake-log, flymake-ins-after)
7890 (flymake-set-at, flymake-get-buildfile-from-cache)
7891 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7892 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7893 Refine the doc string.
7894 (flymake-get-file-name-mode-and-masks): Reformat.
7895 (flymake-get-real-file-name-function): Fix a minor bug.
7897 2013-05-24 Juri Linkov <juri@jurta.org>
7899 * progmodes/grep.el (grep-mode-font-lock-keywords):
7900 Support =linenumber= format used by git-grep for lines with
7901 function names. (Bug#13549)
7903 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7906 0 after a semi-colon; it works better for smie-auto-fill.
7907 (octave--indent-new-comment-line): New function.
7908 (octave-indent-new-comment-line): Use it (indirectly).
7909 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7910 modify comment-line-break-function.
7912 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7913 (smie-setup): Use add-function to set it.
7915 2013-05-24 Sam Steingold <sds@gnu.org>
7917 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7918 argument (before the `interactive' argument).
7920 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * image-mode.el (image-mode-winprops): Add winprops to
7923 image-mode-winprops-alist before running
7924 image-mode-new-window-functions.
7925 * doc-view.el (doc-view-new-window-function): Don't delay
7926 doc-view-goto-page via timers (bug#14435).
7928 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7930 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7931 (doc-view-desktop-save-buffer): New function.
7932 (doc-view-restore-desktop-buffer): New function.
7933 (desktop-buffer-mode-handlers):
7934 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7936 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7937 `desktop-save-buffer' function.
7939 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7941 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7942 (tramp-gvfs-file-name-handler): Raise a user error when
7943 `tramp-gvfs-enabled' is nil.
7944 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7945 Do not raise a user error when loading package. (Bug#14447)
7947 * net/xesam.el: Move to obsolete/.
7949 2013-05-24 Glenn Morris <rgm@gnu.org>
7951 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7953 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7955 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7956 (Info-find-node, Man-getpage-in-background): Declare.
7958 * mail/unrmail.el (unrmail):
7959 Replace obsolete detect-coding-with-priority.
7961 * net/socks.el (socks-split-string): Use this rather than split-string.
7962 (socks-nslookup-host): Update for above change.
7963 (dynamic-choice, s5-dynamic-choice-match)
7964 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7965 Comment out unused code.
7967 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7968 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7969 (gud-tooltip-echo-area): Make obsolete.
7970 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7972 * progmodes/js.el (js--optimize-arglist): Declare.
7974 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7976 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7977 (ediff-window-C): Declare.
7979 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7980 Tweak requires to silence compiler.
7982 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7983 (he-search-string, he-tried-table, he-expand-list)
7984 (he-init-string, he-string-member, he-substitute-string)
7985 (he-reset-string): Declare.
7987 * obsolete/options.el (list-options): Use custom-variable-p,
7988 rather than obsolete alias.
7990 2013-05-23 Sam Steingold <sds@gnu.org>
7992 * simple.el (shell-command-on-region): Pass the `replace' argument
7993 down to `call-process-region' to comply with the doc as reported on
7994 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7996 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7998 * emacs-lisp/smie.el (smie-indent-forward-token)
7999 (smie-indent-backward-token): Handle string tokens (bug#14381).
8001 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8003 * ielm.el (ielm-menu): New menu.
8004 (inferior-emacs-lisp-mode): Set comment-start.
8006 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8008 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8009 Fix deactivate action.
8011 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8012 Add cleveref macros.
8014 * lisp/textmodes/reftex-parse.el
8015 (reftex-locate-bibliography-files): Accept options for
8016 bibliography commands.
8017 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8018 Add addbibresource. Basic Biblatex support.
8020 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8022 * net/tramp-gvfs.el (top):
8023 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8024 when loading package. (Bug#14447)
8026 2013-05-23 Glenn Morris <rgm@gnu.org>
8028 * progmodes/js.el: No need to load comint when compiling.
8029 (ring-insert, comint-send-string, comint-send-input)
8030 (comint-last-input-end, ido-chop): Declare.
8032 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8033 * vc/ediff-mult.el: Adjust requires.
8034 (ediff-directories-internal, ediff-directory-revisions-internal)
8035 (ediff-patch-file-internal): Declare.
8036 * vc/ediff-ptch.el: Adjust requires.
8037 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8038 (ediff-find-file): Autoload.
8039 * vc/ediff-util.el: No need to load ediff when compiling.
8040 (ediff-regions-internal): Declare.
8041 * vc/ediff-wind.el: Adjust requires.
8042 (ediff-compute-toolbar-width): Define when compiling.
8043 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8044 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8045 (dired-get-filename, dired-get-marked-files)
8046 (ediff-last-dir-patch, ediff-patch-default-directory)
8047 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8048 (ediff-patch-buffer-internal): Declare.
8050 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8051 (ispell-process, ispell-buffer-local-words, lm-summary)
8052 (lm-section-start, lm-section-end): Declare.
8053 (checkdoc-ispell-init): Simplify.
8055 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8056 (he-string-member, he-reset-string, he-substitute-string): Declare.
8058 * eshell/em-ls.el: Adjust requires.
8059 (eshell-glob-regexp): Declare.
8060 * eshell/em-tramp.el: Adjust requires.
8061 (eshell-parse-command): Autoload.
8062 * eshell/em-xtra.el: Adjust requires.
8063 (eshell-parse-command): Autoload.
8064 * eshell/esh-ext.el: Adjust requires.
8065 (eshell-parse-command, eshell-close-handles): Autoload.
8066 * eshell/esh-io.el: Adjust requires.
8067 (eshell-output-filter): Autoload.
8068 * eshell/esh-util.el: No need to load tramp when compiling.
8069 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8071 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8072 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8073 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8074 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8075 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8076 * eshell/esh-opt.el, eshell/esh-proc.el:
8077 * eshell/esh-var.el: Adjust requires.
8078 * eshell/eshell.el: Do not require esh-util twice.
8079 (eshell-add-input-to-history): Declare.
8080 (eshell-command): Check history module is active before using it.
8082 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8084 2013-05-22 Leo Liu <sdl.web@gmail.com>
8086 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8088 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8090 * autorevert.el (auto-revert-notify-add-watch)
8091 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8092 it indicates changes in file modification time.
8094 2013-05-22 Glenn Morris <rgm@gnu.org>
8096 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8097 Always delete the autoloaded function from the noruntime and
8098 unresolved functions lists.
8100 * allout.el: No need to load epa, epg, overlay when compiling.
8101 (epg-context-set-passphrase-callback, epg-list-keys)
8102 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8103 (epg-key-user-id-list): Declare.
8105 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8106 (viper-set-parsing-style-toggling-macro)
8107 (viper-set-emacs-state-searchstyle-macros):
8108 Use called-interactively-p on Emacs.
8109 (viper-looking-back): Make it an obsolete alias. Update callers.
8110 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8111 Use looking-back rather than viper-looking-back.
8112 (viper-tmp-insert-at-eob, viper-enlarge-region)
8113 (viper-read-string-with-history, viper-register-to-point)
8114 (viper-append-to-register, viper-change-state-to-vi)
8115 (viper-backward-char-carefully, viper-forward-char-carefully)
8116 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8117 (viper-change-state-to-emacs): Declare.
8118 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8119 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8120 * emulation/viper-mous.el: Do not load viper-cmd.
8121 (viper-backward-char-carefully, viper-forward-char-carefully)
8122 (viper-forward-word, viper-adjust-window): Declare.
8124 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8126 * progmodes/idlw-help.el (idlwave-help-fontify):
8127 Use called-interactively-p.
8129 * term/w32console.el (w32-get-console-codepage)
8130 (w32-get-console-output-codepage): Declare.
8132 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8133 Remove unnecessary declarations.
8134 (dframe-message): Doc fix.
8136 * info.el (dframe-select-attached-frame, dframe-current-frame):
8139 * speedbar.el (speedbar-message): Make it an obsolete alias.
8141 (speedbar-with-attached-buffer)
8142 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8143 (speedbar-with-writable): Use backquote.
8144 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8145 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8146 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8147 rather than speedbar- aliases.
8148 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8149 (speedbar-make-specialized-keymap, speedbar-insert-button)
8150 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8151 (speedbar-do-function-pointer): Declare.
8152 (rmail-speedbar-button, rmail-speedbar-find-file)
8153 (rmail-speedbar-move-message):
8154 Use dframe-with-attached-buffer rather than speedbar- alias.
8155 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8156 (dframe-message, speedbar-make-specialized-keymap)
8157 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8158 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8159 (speedbar-insert-button, dframe-select-attached-frame)
8160 (dframe-maybee-jump-to-attached-frame)
8161 (speedbar-change-initial-expansion-list)
8162 (speedbar-previously-used-expansion-list-name): Declare.
8163 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8164 Use dframe-message, dframe-with-attached-buffer rather than
8166 (gud-sentinel): Silence compiler.
8167 * progmodes/vhdl-mode.el (speedbar-refresh)
8168 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8169 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8170 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8171 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8172 (speedbar-file-lists, speedbar-make-tag-line)
8173 (speedbar-line-directory, speedbar-goto-this-file)
8174 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8175 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8176 (speedbar-make-button, speedbar-reset-scanners)
8177 (speedbar-files-item-info, speedbar-line-text)
8178 (speedbar-find-file-in-frame, speedbar-set-timer)
8179 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8180 (speedbar-with-writable): Do not (re)define it.
8181 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8182 rather than speedbar- alias.
8184 2013-05-21 Leo Liu <sdl.web@gmail.com>
8186 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8188 (octave-mode): Tweak fill-nobreak-predicate.
8189 (inferior-octave-startup): Check process to avoid infinite loop.
8190 (inferior-octave): Pop to buffer first to show abornmal process
8193 2013-05-21 Glenn Morris <rgm@gnu.org>
8195 * printing.el (pr-menu-bar): Define when compiling.
8197 2013-05-21 Leo Liu <sdl.web@gmail.com>
8199 * progmodes/octave.el (octave-auto-fill): Remove.
8200 (octave-indent-new-comment-line): Improve.
8201 (octave-mode): Use auto fill mode through
8202 comment-line-break-function and fill-nobreak-predicate.
8203 (octave-goto-function-definition): Support DEFUN_DLD.
8204 (octave-beginning-of-defun): Small tweak.
8205 (octave-help): Show parent directory.
8207 2013-05-21 Glenn Morris <rgm@gnu.org>
8209 * files.el (dired-unmark):
8210 * progmodes/gud.el (gdb-input): Update declarations.
8212 * calculator.el (electric, ehelp): No need to load when compiling.
8213 (Electric-command-loop, electric-describe-mode): Declare.
8215 * doc-view.el (doc-view-current-converter-processes): Move before use.
8217 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8218 Move MODE-set-explicitly definition before use.
8220 * international/mule-diag.el (mule-diag):
8221 Don't use obsolete window-system-version.
8223 * mail/feedmail.el (smtpmail): No need to load when compiling.
8224 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8226 * mail/mail-utils.el (rfc822): No need to load when compiling.
8227 (rfc822-addresses): Autoload it.
8228 (mail-strip-quoted-names): Trivial simplification.
8230 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8231 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8233 * net/snmp-mode.el (tempo): Don't duplicate requires.
8235 * progmodes/prolog.el (info): No need to load when compiling.
8236 (comint): Require before shell requires it.
8237 (Info-goto-node): Autoload it.
8238 (Info-follow-nearest-node): Declare.
8239 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8241 * textmodes/artist.el (picture-mode-exit): Declare.
8243 * textmodes/reftex-parse.el (reftex-parse-from-file):
8244 Trivial rewrite so the compiler can parse it better.
8246 2013-05-20 Leo Liu <sdl.web@gmail.com>
8248 * progmodes/octave.el (octave-help-mode-map)
8249 (octave-help-mode-finish-hook): New variables.
8250 (octave-help-mode, octave-help-mode-finish): New functions.
8251 (octave-help): Use octave-help-mode.
8253 2013-05-20 Glenn Morris <rgm@gnu.org>
8255 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8257 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8259 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8260 start at point, so that expansion starting right after opening
8261 slash in a regexp is recognized.
8262 (ruby-syntax-before-regexp-re): New defvar, extracted from
8263 ruby-syntax-propertize-function. Since the value of this regexp
8264 is looked up at runtime now, we should be able to turn
8265 `ruby-syntax-methods-before-regexp' into a defcustom later.
8266 (ruby-syntax-propertize-function): Split regexp matching into two
8267 parts, for opening and closing slashes. That allows us to skip
8268 over string interpolations and support multiline regexps.
8269 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8270 for them, which calls `ruby-syntax-propertize-expansion'.
8271 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8272 call to `ruby-syntax-propertize-function'.
8273 (ruby-syntax-propertize-expansion): Extracted from
8274 `ruby-syntax-propertize-expansions'. Handles one expansion.
8275 (ruby-syntax-propertize-percent-literal): Leave point right after
8276 the percent symbol, so that the expression expansion rule can
8277 propertize the contents.
8278 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8280 (ruby-syntax-propertize-expansions): Remove.
8282 2013-05-18 Juri Linkov <juri@jurta.org>
8284 * man.el (Man-default-man-entry): Remove `-' from the end
8285 of the default value. (Bug#14400)
8287 2013-05-18 Glenn Morris <rgm@gnu.org>
8289 * comint.el (comint-password-prompt-regexp):
8290 Allow "password for XXX" where XXX contains colons (eg https://...).
8292 2013-05-18 Leo Liu <sdl.web@gmail.com>
8294 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8295 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8296 (octave-source-directories): Don't check process.
8297 (octave-source-directories, octave-find-definition): Doc fix.
8299 2013-05-18 Glenn Morris <rgm@gnu.org>
8301 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8302 Remove backspace/delete bindings. (Bug#14392)
8304 * cus-dep.el (custom-make-dependencies): Sort the output.
8305 (custom-versions-load-alist): Convert comment to doc.
8307 2013-05-17 Leo Liu <sdl.web@gmail.com>
8309 * newcomment.el (comment-search-backward): Stricter in finding
8310 comment start. (Bug#14303)
8312 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8313 (octave-comment-start-skip): Properly anchored.
8315 2013-05-17 Leo Liu <sdl.web@gmail.com>
8317 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8318 Clean up when turned off. (Bug#14395)
8319 (smie--highlight-matching-block-overlay): No longer buffer-local.
8320 (smie-highlight-matching-block): Adjust.
8322 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8324 Doc string fix for "nanoseconds" (Bug#14406).
8325 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8326 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8328 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8330 * calc/calc-units.el (math-extract-units): Preserve powers
8333 2013-05-17 Leo Liu <sdl.web@gmail.com>
8335 * subr.el (delete-consecutive-dups): New function.
8336 * ido.el (ido-set-matches-1): Use it.
8337 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8338 * ido.el (ido-remove-consecutive-dups): Remove.
8340 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8342 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8343 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8344 regexp-opt's `words'.
8346 2013-05-16 Leo Liu <sdl.web@gmail.com>
8348 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8349 (smie--highlight-matching-block-overlay)
8350 (smie--highlight-matching-block-lastpos)
8351 (smie--highlight-matching-block-timer): New variables.
8352 (smie-highlight-matching-block): New function.
8353 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8354 (smie-setup): Conditionally enable smie-blink-matching-open.
8356 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8358 Sync with upstream verilog-mode r840.
8359 * progmodes/verilog-mode.el (verilog-mode-version)
8360 (verilog-mode-release-date): Update.
8361 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8362 (verilog-sig-tieoff): Fix string error on
8363 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8364 (verilog-read-decls): Fix parameters confusing
8365 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8367 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8369 * subr.el (reveal-filename): New function.
8371 * loadup.el: Compute Emacs executable versions on MS-Windows,
8372 where executables have the .exe extension. Add a hard link
8373 emacs-XX.YY.ZZ.exe on MS-Windows.
8375 * Makefile.in (XARGS_LIMIT): New variable.
8376 (custom-deps, finder-data, autoloads)
8377 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8378 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8379 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8380 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8382 2013-05-16 Leo Liu <sdl.web@gmail.com>
8384 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8385 (octave-mode-menu, octave-mode-map): Remove its uses.
8387 2013-05-16 Reto Zimmermann <reto@gnu.org>
8389 Sync with upstream vhdl mode v3.34.2.
8390 * progmodes/vhdl-mode.el: Use `push' throughout.
8391 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8392 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8393 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8394 (vhdl-actual-generic-name): New option to derive actual generic name.
8395 (vhdl-port-paste-signals): Replace formal by actual generics.
8396 (vhdl-beautify): New name for old group vhdl-align. Update users.
8397 (vhdl-beautify-options): New option.
8398 (vhdl-last-input-event): New compat alias. Use throughout.
8399 (vhdl-goto-line): Replace user level function `goto-line'.
8400 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8401 vhdl-fix-statement-buffer.
8402 (vhdl-create-mode-menu): Add some entries.
8403 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8404 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8405 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8406 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8407 to force statements on one line.
8408 (vhdl-remove-trailing-spaces-region):
8409 New, split from vhdl-remove-trailing-spaces.
8410 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8411 Respect vhdl-beautify-options.
8412 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8413 (vhdl-update-sensitivity-list): Not add with index if exists without.
8414 Not include array index with signal. Ignore keywords in comments.
8415 (vhdl-get-visible-signals): Regexp tweaks.
8416 (vhdl-template-component-inst): Handle empty library.
8417 (vhdl-template-type): Add template for 'enum' type.
8418 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8419 Use vhdl-replace-string.
8420 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8421 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8422 (vhdl-speedbar-initialize): Update for above name change.
8423 (vhdl-compose-wire-components): Fix in handling of constants.
8424 (vhdl-error-regexp-emacs-alist): New variable.
8425 (vhdl-error-regexp-add-emacs): New function;
8426 adds support for new compile.el (Emacs 22+)
8427 (vhdl-generate-makefile-1): Change target order for single lib. units.
8428 Allow use of absolute file names.
8430 2013-05-16 Leo Liu <sdl.web@gmail.com>
8432 * simple.el (prog-indent-sexp): Indent enclosing defun.
8434 2013-05-15 Glenn Morris <rgm@gnu.org>
8436 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8437 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8438 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8439 (whitespace-highlight): Move to whitespace group.
8441 * comint.el (comint-source):
8442 * pcmpl-linux.el (pcmpl-linux):
8443 * shell.el (shell-faces):
8444 * eshell/esh-opt.el (eshell-opt):
8445 * international/ccl.el (ccl): Remove empty custom groups.
8447 * completion.el (dynamic-completion-mode):
8448 * jit-lock.el (jit-lock-debug-mode):
8449 * minibuffer.el (completion-in-region-mode):
8450 * type-break.el (type-break-mode-line-message-mode)
8451 (type-break-query-mode):
8452 * emulation/tpu-edt.el (tpu-edt-mode):
8453 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8454 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8455 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8457 * term/xterm.el (xterm): Change parent group to terminals.
8459 * master.el (master): Remove empty custom group.
8460 (master-mode): Remove unused :group argument.
8461 * textmodes/refill.el (refill): Remove empty custom group.
8462 (refill-mode): Remove unused :group argument.
8464 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8466 * cus-dep.el: Provide a feature.
8467 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8468 Don't mistakenly ignore files whose basenames match a basename
8469 from preloaded-file-list (eg cedet/ede/simple.el).
8470 Add a fallback method for getting :group.
8472 2013-05-15 Juri Linkov <juri@jurta.org>
8474 * isearch.el (isearch-char-by-name): Rename from
8475 `isearch-insert-char-by-name'. Doc fix.
8476 (isearch-forward): Mention `isearch-char-by-name' in
8477 the docstring. (Bug#13348)
8479 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8480 `exit-minibuffer' instead of
8481 `isearch-nonincremental-exit-minibuffer'.
8482 (isearch-edit-string): Remove mention of
8483 `isearch-nonincremental-exit-minibuffer' from docstring.
8484 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8485 (isearch-forward-exit-minibuffer)
8486 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8488 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8490 * loadup.el: Just use unversioned DOC.
8492 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8493 literals as extending to EOB.
8494 (nxml-last-fontify-end): Remove unused variable.
8495 (nxml-after-change1): Use with-silent-modifications.
8496 (nxml-extend-after-change-region): Simplify.
8497 (nxml-extend-after-change-region1): Remove function.
8498 (nxml-after-change1): Don't adjust for dependent regions.
8499 (nxml-fontify-matcher): Simplify.
8500 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8501 (xmltok-add-dependent): Remove function.
8502 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8503 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8504 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8505 unclosed <[[, <?, comment, and other literals as extending to EOB.
8506 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8507 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8509 (rng-do-some-validation-1): Don't mark dependent regions.
8510 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8511 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8512 (nxml-clear-dependent-regions): Remove functions.
8513 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8514 (nxml-ensure-scan-up-to-date):
8515 Don't clear&mark dependent regions.
8517 2013-05-15 Leo Liu <sdl.web@gmail.com>
8519 * progmodes/octave.el (octave-goto-function-definition):
8520 Improve and fix callers.
8522 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8525 the setter (bug#14387).
8527 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8528 surrounding group (bug#14402).
8530 2013-05-14 Juri Linkov <juri@jurta.org>
8532 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8535 2013-05-14 Glenn Morris <rgm@gnu.org>
8537 * progmodes/f90.el (f90-imenu-generic-expression):
8538 Fix typo in 2013-05-08 change. (Bug#14402)
8540 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8542 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8543 Remove signals for which replies are never received.
8545 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8547 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8548 (gdb-handler-alist, gdb-handler-number): Remove variables.
8549 (gdb-handler-list): New variable.
8550 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8551 (gdb-pending-handler-p, gdb-handle-reply)
8552 (gdb-remove-all-pending-triggers): New functions.
8553 (gdb-discard-unordered-replies): New defcustom.
8554 (gdb-handler): New defstruct.
8555 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8556 instead of gdb-pending-triggers. Update docstring.
8557 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8558 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8559 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8560 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8561 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8562 (gdb-frame-handler): Pending triggers are now automatically managed.
8563 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8565 (gdb-input): Automatically handles pending triggers. Update docstring.
8566 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8567 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8569 (gdb-done-or-error): Now use gdb-handle-reply.
8571 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8573 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8576 2013-05-14 Glenn Morris <rgm@gnu.org>
8578 * subr.el (user-emacs-directory-warning): New option.
8579 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8581 2013-05-14 Leo Liu <sdl.web@gmail.com>
8583 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8585 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8586 (octave-font-lock-texinfo-comment): Fix invalid search bound
8587 error: wrong side of point.
8589 2013-05-14 Glenn Morris <rgm@gnu.org>
8591 * progmodes/flymake.el (flymake-xml-program): New option.
8592 (flymake-xml-init): Use it.
8594 * term/xterm.el: Provide a feature.
8596 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8598 2013-05-13 Glenn Morris <rgm@gnu.org>
8600 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8601 Add compat aliases as a hack workaround. (Bug#14384)
8603 2013-05-13 Leo Liu <sdl.web@gmail.com>
8605 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8607 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8609 (octave-comment-start-skip): Include %!.
8610 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8612 2013-05-12 Leo Liu <sdl.web@gmail.com>
8614 * progmodes/octave.el (inferior-octave-startup): Store the value
8615 of __octave_srcdir__ for octave-source-directories.
8616 (inferior-octave-check-process): New function refactored out of
8617 inferior-octave-send-list-and-digest.
8618 (octave-source-directories)
8619 (octave-find-definition-filename-function): New variables.
8620 (octave-source-directories)
8621 (octave-find-definition-default-filename): New functions.
8622 (octave-find-definition): Improve to find functions implemented in C++.
8624 2013-05-12 Glenn Morris <rgm@gnu.org>
8626 * calendar/diary-lib.el (diary-outlook-format-1):
8627 Don't include dayname in the output. (Bug#14349)
8629 2013-05-11 Glenn Morris <rgm@gnu.org>
8631 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8633 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8634 Treat cc-provide like provide.
8636 2013-05-11 Kevin Ryde <user42@zip.com.au>
8638 * cus-dep.el (custom-make-dependencies):
8639 Use generated-autoload-load-name for the sake of files such
8640 such cedet/semantic/bovine/c.el, where the base file name
8641 is not in load-path. (Bug#5277)
8643 2013-05-11 Glenn Morris <rgm@gnu.org>
8645 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8648 2013-05-11 Leo Liu <sdl.web@gmail.com>
8650 * progmodes/octave.el (octave-indent-comment): Improve.
8651 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8652 (octave-eldoc-function-signatures, octave-eldoc-function):
8654 (octave-mode, inferior-octave-mode): Add eldoc support.
8656 2013-05-11 Richard Stallman <rms@gnu.org>
8658 * epa.el (epa-decrypt-file): Take output file name as argument
8659 and read it using `interactive'.
8661 2013-05-11 Leo Liu <sdl.web@gmail.com>
8663 * progmodes/octave.el (octave-beginning-of-line)
8664 (octave-end-of-line): Check before using up-list because it jumps
8665 out of more syntactic contructs since moving to smie.
8666 (octave-indent-comment): New function.
8667 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8668 (octave-begin-keywords, octave-end-keywords)
8669 (octave-reserved-words, octave-smie-bnf-table)
8670 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8672 2013-05-11 Glenn Morris <rgm@gnu.org>
8674 * faces.el (internal-face-x-get-resource):
8675 * frame.el (ns-display-monitor-attributes-list):
8676 * calc/calc-aent.el (math-to-radians-2):
8677 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8680 * calc/calc-menu.el: Make it loadable in isolation.
8682 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8683 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8684 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8685 (eudc-bbdb-query-internal): Require 'bbdb.
8687 * lpr.el (lpr-headers-switches):
8688 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8690 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8692 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8694 * term.el (term-set-escape-char): Make it idempotent.
8696 2013-05-10 Leo Liu <sdl.web@gmail.com>
8698 * progmodes/octave.el (inferior-octave-completion-table):
8699 No longer a function and all uses changed. Use cache to speed up
8700 completion due to bug#11906.
8701 (octave-beginning-of-defun): Re-write to be more general.
8703 2013-05-10 Glenn Morris <rgm@gnu.org>
8705 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8707 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8709 * comint.el (comint-redirect-send-command-to-process): Use :around
8710 rather than :override for comint-redirect-filter.
8711 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8712 Call it instead of comint-redirect-original-filter-function (which
8713 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8715 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8717 * frame.el (display-monitor-attributes-list): Add NS case.
8718 (ns-display-monitor-attributes-list): Declare.
8720 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8722 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8724 2013-05-09 Glenn Morris <rgm@gnu.org>
8726 * international/fontset.el (vertical-centering-font-regexp):
8729 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8731 * bookmark.el (bookmark-search-delay):
8732 * cus-start.el (vertical-centering-font-regexp):
8733 * ps-mule.el (ps-mule-font-info-database-default):
8734 * ps-print.el (ps-default-fg, ps-default-bg):
8735 * type-break.el (type-break-good-break-interval):
8736 * whitespace.el (whitespace-indentation-regexp)
8737 (whitespace-space-after-tab-regexp):
8738 * emacs-lisp/testcover.el (testcover-1value-functions)
8739 (testcover-noreturn-functions, testcover-progn-functions)
8740 (testcover-prog1-functions):
8741 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8742 * eshell/em-glob.el (eshell-glob-translate-alist):
8743 * play/tetris.el (tetris-tty-colors):
8744 * progmodes/cpp.el (cpp-face-default-list):
8745 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8746 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8747 (idlwave-help-browser-generic-args):
8748 * progmodes/make-mode.el (makefile-special-targets-list):
8749 * progmodes/python.el (python-shell-virtualenv-path):
8750 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8751 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8752 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8753 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8754 * textmodes/reftex-vars.el (reftex-format-label-function):
8755 * textmodes/remember.el (remember-diary-file): Fix custom types.
8757 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8760 2013-05-09 Leo Liu <sdl.web@gmail.com>
8762 * progmodes/octave.el (inferior-octave-completion-at-point):
8763 Restore file completion. (Bug#14300)
8764 (inferior-octave-startup): Fix incorrect highlighting for the
8767 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8769 * progmodes/ruby-mode.el: First cut at SMIE support.
8770 (ruby-use-smie): New var.
8771 (ruby-smie-grammar): New constant.
8772 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8773 (ruby-smie--forward-token, ruby-smie--backward-token)
8774 (ruby-smie-rules): New functions.
8775 (ruby-mode-variables): Setup SMIE if applicable.
8777 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8779 * simple.el (line-move-visual): Signal beginning/end of buffer
8780 only if vertical-motion moved less than it was requested. Avoids
8781 silly incorrect error messages when there are display strings with
8782 multiple newlines at EOL.
8784 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8787 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8788 (prolog-char-quote-workaround):
8789 * progmodes/cperl-mode.el (cperl-under-as-char):
8790 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8792 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8794 (vhdl-mode-syntax-table-init): Remove.
8796 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8799 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8801 (ld-script-font-lock-keywords):
8802 Change regexps to use things like \_< and \_>.
8804 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8805 Change all regexps to use things like \_< and \_>.
8807 * progmodes/autoconf.el (autoconf-definition-regexp)
8808 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8809 Handle a _ with symbol syntax.
8810 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8812 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8813 Consolidate declaration.
8814 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8816 (ada-create-syntax-table): Remove.
8817 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8818 already has the right syntax nowadays.
8819 (ada-goto-next-word): Don't change the syntax of "_".
8821 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8824 2013-05-08 Sam Steingold <sds@gnu.org>
8826 * thingatpt.el (thing-at-point): Accept optional second argument
8827 NO-PROPERTIES to strip the text properties from the return value.
8828 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8829 to `thing-at-point' instead of stripping the properties ourselves.
8830 Also, when `thing-at-point' fails to find a url, prepend "http://"
8831 to the filename at point on the assumption that the user is
8832 pointing at something like gnu.org/gnu.
8834 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8836 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8837 * faces.el (crm-separator):
8838 Silence byte-compiler.
8840 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8841 (tool-bar-map): Remove unneeded defvars.
8843 2013-05-08 Leo Liu <sdl.web@gmail.com>
8845 Re-work a fix for bug#10994 based on Le Wang's patch.
8846 * ido.el (ido-remove-consecutive-dups): New helper.
8847 (ido-completing-read): Use it.
8848 (ido-chop): Revert fix for bug#10994.
8850 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8852 * cus-edit.el (custom-save-variables):
8853 Pretty-print long values. (Bug#14187)
8855 2013-05-08 Glenn Morris <rgm@gnu.org>
8857 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8858 (m4-mode-syntax-table): Init in the defvar.
8859 (m4-mode-abbrev-table): Let define-derived-mode define it.
8861 2013-05-08 Tom Tromey <tromey@redhat.com>
8863 * progmodes/m4-mode.el (m4-mode-syntax-table):
8864 Do not treat "_" as word constituent. (Bug#14167)
8866 2013-05-07 Glenn Morris <rgm@gnu.org>
8868 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8869 Remove explicit eshell-isearch-cancel-map.
8871 * progmodes/f90.el (f90-smart-end-names): New option.
8872 (f90-smart-end): Doc fix.
8873 (f90-end-block-optional-name): New constant.
8874 (f90-block-match): Respect f90-smart-end-names.
8876 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8879 about implicit semi-colons (bug#14218).
8881 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8883 * frame.el (display-monitor-attributes-list)
8884 (frame-monitor-attributes): New functions.
8886 2013-05-06 Leo Liu <sdl.web@gmail.com>
8888 * progmodes/octave.el (octave-syntax-propertize-function): Change
8889 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8890 (octave-font-lock-keywords): Use octave-operator-regexp.
8891 (octave-completion-at-point): Rename from
8892 octave-completion-at-point-function.
8893 (inferior-octave-directory-tracker): Robustify.
8894 (octave-text-functions): Remove and fix its uses. No such things
8897 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/trace.el (trace--display-buffer): New function.
8900 (trace-make-advice): Use it.
8902 2013-05-06 Juri Linkov <juri@jurta.org>
8904 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8905 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8907 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8908 in the help string. (Bug#12985)
8910 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8912 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8914 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8916 * progmodes/perl-mode.el: Add support for here documents.
8917 (perl-syntax-propertize-function): Match here-doc markers.
8918 (perl-syntax-propertize-special-constructs): Find their end.
8919 (perl-imenu-generic-expression): Use [:alnum:].
8921 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8922 (advice--add-function): Refresh the advice if already present
8925 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8927 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8929 2013-05-06 Glenn Morris <rgm@gnu.org>
8931 * w32-fns.el (w32-charset-info-alist): Declare.
8933 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8934 of its defcustom properties.
8935 (eshell-cmpl-initialize): No need to load pcomplete.
8937 * generic-x.el: No need to require comint when compiling.
8939 * net/eudc-export.el: Make it loadable without bbdb.
8940 (top-level): Use require rather than load-library.
8941 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8942 (eudc-batch-export-records-to-bbdb)
8943 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8946 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8948 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8949 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8950 some tweaks, instead.
8952 2013-05-05 Leo Liu <sdl.web@gmail.com>
8954 * progmodes/octave.el (octave-font-lock-keywords)
8955 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8956 (inferior-octave-send-list-and-digest): Improve error message.
8957 (octave-mode, inferior-octave-mode): Use setq-local.
8958 (octave-help): Set info-lookup-mode.
8960 2013-05-05 Richard Stallman <rms@gnu.org>
8962 * vc/compare-w.el (compare-windows-whitespace):
8963 Treat no-break space as whitespace.
8965 * mail/rmailsum.el (rmail-summary-rmail-update):
8966 Detect empty summary and don't change selected message.
8967 (rmail-summary-goto-msg): Likewise.
8969 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8970 Doc fixes, rename args.
8972 2013-05-05 Alan Mackenzie <acm@muc.de>
8974 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8976 2013-05-05 Juri Linkov <juri@jurta.org>
8978 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8979 to not add the length of the summary segment to the return value.
8982 2013-05-05 Leo Liu <sdl.web@gmail.com>
8984 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8985 (inferior-octave-output-filter): Remove.
8986 (octave-send-region, inferior-octave-startup): Fix callers.
8987 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8988 (octave-binary-file-extensions): New user variable.
8989 (octave-find-definition): Confirm if opening binary files.
8990 (octave-help-file): Use octave-find-definition to get the binary
8992 (octave-help): Adjust for octave-help-file change.
8994 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8997 Merge the two entries that handle function definitions.
8998 (pascal--syntax-propertize): New const.
8999 (pascal-mode): Use it. Use setq-local.
9001 2013-05-04 Glenn Morris <rgm@gnu.org>
9003 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9004 (diary-from-outlook): Respect diary-from-outlook-function.
9006 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9008 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9009 Move the declaration from C.
9010 (read-minibuffer, eval-minibuffer): Move from C.
9011 (completion-setup-function): Avoid minibuffer-completion-contents.
9013 2013-05-03 Leo Liu <sdl.web@gmail.com>
9015 * progmodes/octave.el (octave-font-lock-keywords): Do not
9016 dehighlight 'end' in comments or strings.
9017 (octave-completing-read, octave-goto-function-definition):
9019 (octave-help-buffer): New user variable.
9020 (octave-help-file, octave-help-function): New button types.
9021 (octave-help): New command and bind it to C-h ;.
9022 (octave-find-definition): New command and bind it to M-.
9023 (user-error): Alias to error if not defined.
9025 2013-05-02 Leo Liu <sdl.web@gmail.com>
9027 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9029 (octave-font-lock-keywords): Include [ and {.
9031 2013-05-02 Leo Liu <sdl.web@gmail.com>
9033 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9034 (inferior-octave): Remove calling comint-mode and return the buffer.
9035 (inferior-octave-startup): Cosmetic changes.
9037 2013-05-02 Leo Liu <sdl.web@gmail.com>
9039 * progmodes/octave.el (octave-syntax-propertize-function):
9040 Include the case when ' is at line beginning. (Bug#14336)
9042 2013-05-02 Glenn Morris <rgm@gnu.org>
9044 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9045 * desktop.el (vc-dir-mode): Just autoload it here.
9047 2013-05-02 Alan Mackenzie <acm@muc.de>
9049 Eliminate variable c-standard-font-lock-fontify-region-function.
9050 * progmodes/cc-mode.el
9051 (c-standard-font-lock-fontify-region-function): Remove.
9052 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9054 2013-05-01 Leo Liu <sdl.web@gmail.com>
9056 * progmodes/octave.el: Compatible with older emacs-24 releases.
9057 (inferior-octave-has-built-in-variables): Remove. Built-in
9058 variables were removed from Octave in 2007.
9059 (inferior-octave-startup): Fix uses.
9060 (comint-line-beginning-position): Remove compatibility code for
9063 2013-05-01 Juri Linkov <juri@jurta.org>
9065 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9067 2013-05-01 Juri Linkov <juri@jurta.org>
9069 * comint.el (comint-previous-matching-input): Don't print message
9070 "History item: %d" when `isearch-mode' is active.
9071 (comint-history-isearch-message): Print message "History item: %d"
9072 when `comint-input-ring-index' is not empty and this function is
9073 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9075 2013-05-01 Leo Liu <sdl.web@gmail.com>
9077 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9078 definitions. Use completion-at-point to insert keywords.
9079 (octave-abbrev-start): Remove.
9080 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9082 2013-04-30 Leo Liu <sdl.web@gmail.com>
9084 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9087 2013-04-30 Alan Mackenzie <acm@muc.de>
9089 Handle arbitrarily long C++ member initialisation lists.
9090 * progmodes/cc-engine.el (c-back-over-member-initializers):
9092 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9093 (most) member init lists.
9095 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9097 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9100 2013-04-30 Leo Liu <sdl.web@gmail.com>
9102 * progmodes/octave.el (octave-variables): Remove. No builtin
9103 variables any more. All converted to functions.
9104 (octave-font-lock-keywords, octave-completion-at-point-function):
9106 (octave-font-lock-texinfo-comment): New user variable.
9107 (octave-texinfo-font-lock-keywords): New variable for texinfo
9109 (octave-function-comment-block): New face.
9110 (octave-font-lock-texinfo-comment): New function.
9111 (octave-mode): Font lock texinfo comment block.
9113 2013-04-29 Leo Liu <sdl.web@gmail.com>
9115 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9116 indexing expression.
9117 (octave-continuation-string): Do not use \.
9118 (inferior-octave-complete-impossible): Remove.
9119 (inferior-octave-completion-table)
9120 (inferior-octave-completion-at-point): Remove its uses.
9121 (inferior-octave-startup): completion_matches was introduced to
9122 Octave in 1996 so safe to assume it.
9123 (octave-function-file-comment): Improve to follow how Octave does it.
9124 (octave-update-function-file-comment): Tweak.
9126 2013-04-29 Leo Liu <sdl.web@gmail.com>
9128 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9129 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9130 (octave-function-file-comment): Fix typo.
9131 (octave-sync-function-file-names): Use read-char-choice.
9133 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9135 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9136 to t for the less important warnings.
9138 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9140 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9142 2013-04-27 Glenn Morris <rgm@gnu.org>
9144 * vc/log-view.el (log-view-current-entry):
9145 Treat "---" separator lines as part of the following rev. (Bug#14169)
9147 2013-04-27 Juri Linkov <juri@jurta.org>
9149 * subr.el (read-number): Doc fix about using it by interactive
9150 code letter `n'. (Bug#14254)
9152 2013-04-27 Juri Linkov <juri@jurta.org>
9154 * desktop.el (desktop-auto-save-timeout): New option.
9155 (desktop-file-checksum): New variable.
9156 (desktop-save): Add optional arg `auto-save' and don't auto-save
9158 (desktop-auto-save-timer): New variable.
9159 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9160 (after-init-hook): Call `desktop-auto-save-set-timer'.
9161 Suggested by Reuben Thomas <rrt@sc3d.org> in
9162 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9164 2013-04-27 Leo Liu <sdl.web@gmail.com>
9166 * progmodes/octave.el (octave-function-file-p)
9167 (octave-skip-comment-forward, octave-function-file-comment)
9168 (octave-update-function-file-comment): New functions.
9169 (octave-mode-map): Bind C-c ; to
9170 octave-update-function-file-comment.
9171 (octave-mode-menu): Add octave-update-function-file-comment.
9172 (octave-mode, inferior-octave-mode): Fix doc-string.
9173 (octave-insert-defun): Conform to Octave's coding convention.
9176 * files.el (basic-save-buffer): Don't let errors in
9177 before-save-hook prevent saving buffer.
9179 2013-04-20 Roland Winkler <winkler@gnu.org>
9181 * faces.el (read-face-name): Use completing-read if arg multiple
9184 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9186 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9187 displayed, move point to after the totals line.
9188 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9191 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9193 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9194 Add current dir to the load-path.
9195 (package-generate-autoloads): Don't rely on
9196 autoload-ensure-default-file.
9198 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9200 * textmodes/remember.el (remember-store-in-files): Document that
9201 the file name format is passed to `format-time-string'.
9203 2013-04-26 Leo Liu <sdl.web@gmail.com>
9205 * progmodes/octave.el (octave-sync-function-file-names): New function.
9206 (octave-mode): Use it in before-save-hook.
9208 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9210 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9213 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9214 \n and comment, even if it's not an implicit ; (bug#14218).
9216 2013-04-26 Glenn Morris <rgm@gnu.org>
9218 * subr.el (read-number): Once more use `read' rather than
9219 `string-to-number', to trap non-numeric input. (Bug#14254)
9221 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9223 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9224 Use `syntax-multiline' text property consistently instead of
9225 `font-lock-multiline'. (Bug#14237)
9227 2013-04-26 Glenn Morris <rgm@gnu.org>
9229 * emacs-lisp/shadow.el (list-load-path-shadows):
9230 No longer necessary to check for duplicate simple.el, since
9231 2012-07-07 change to init_lread to not include installation lisp
9232 directories in load-path when running uninstalled. (Bug#14270)
9234 2013-04-26 Leo Liu <sdl.web@gmail.com>
9236 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9237 (octave-mode, inferior-octave-mode): Use setq-local.
9238 (octave-not-in-string-or-comment-p): Rename to
9239 octave-in-string-or-comment-p.
9240 (octave-in-comment-p, octave-in-string-p)
9241 (octave-in-string-or-comment-p): Replace defsubst with defun.
9243 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9245 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9247 2013-04-25 Bastien Guerry <bzg@gnu.org>
9249 * textmodes/remember.el (remember-data-directory)
9250 (remember-directory-file-name-format): Fix custom types.
9252 2013-04-25 Leo Liu <sdl.web@gmail.com>
9254 * progmodes/octave.el (octave-completion-at-point-function):
9255 Make use of inferior octave process.
9256 (octave-initialize-completions): Remove.
9257 (inferior-octave-completion-table): New function.
9258 (inferior-octave-completion-at-point): Use it.
9259 (octave-completion-alist): Remove.
9261 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9264 (opascal-mode-syntax-table): New var.
9265 (opascal-literal-kind, opascal-is-literal-end)
9266 (opascal-literal-token-at): Rewrite.
9267 (opascal--literal-start-re, opascal-font-lock-keywords)
9268 (opascal--syntax-propertize): New constants.
9269 (opascal-font-lock-defaults): Adjust.
9270 (opascal-mode): Use them. Set comment-<foo> variables as well.
9271 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9272 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9273 (delphi-other-face, opascal-other-face): Remove face variables.
9274 (opascal-save-state): Remove macro.
9275 (opascal-fontifying-progress-step): Remove constant.
9276 (opascal--ignore-changes): Remove var.
9277 (opascal-set-token-property, opascal-parse-next-literal)
9278 (opascal-is-stable-literal, opascal-complete-literal)
9279 (opascal-is-literal-start, opascal-face-of)
9280 (opascal-parse-region, opascal-parse-region-until-stable)
9281 (opascal-fontify-region, opascal-after-change)
9282 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9283 (opascal-debug-parse-region, opascal-debug-parse-window)
9284 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9285 (opascal-debug-fontify-buffer): Remove.
9286 (opascal-debug-mode-map): Adjust accordingly.
9288 2013-04-25 Leo Liu <sdl.web@gmail.com>
9290 Merge octave-mod.el and octave-inf.el into octave.el with some
9292 * progmodes/octave.el: New file renamed from octave-mod.el.
9293 * progmodes/octave-inf.el: Merged into octave.el.
9294 * progmodes/octave-mod.el: Renamed to octave.el.
9296 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9298 * textmodes/reftex-vars.el
9299 (reftex-label-ignored-macros-and-environments): New defcustom.
9301 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9303 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9306 (smie-indent-keyword): Improve the check to ensure that the next
9307 comment is really on the same line.
9308 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9310 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9311 semi-colons if the line is not otherwise empty (bug#14218).
9313 2013-04-25 Glenn Morris <rgm@gnu.org>
9315 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9317 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * progmodes/opascal.el (opascal-set-token-property): Rename from
9320 opascal-set-text-properties and only set `token' (bug#14134).
9321 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9322 (opascal-literal-text-properties): Remove.
9323 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9326 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9328 * textmodes/remember.el (remember-handler-functions): Add an
9329 option for a new handler `remember-store-in-files'.
9330 (remember-data-directory, remember-directory-file-name-format):
9332 (remember-store-in-files): New function to store remember notes
9333 as separate files within a directory.
9335 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9337 * progmodes/compile.el (compilation-next-error-function):
9338 Pass "formats" to compilation-find-file (bug#11777).
9340 2013-04-24 Glenn Morris <rgm@gnu.org>
9342 * vc/vc-bzr.el (vc-bzr-print-log):
9343 * vc/vc-hg.el (vc-hg-print-log):
9344 * vc/vc-svn.el (vc-svn-print-log):
9345 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9347 * vc/vc-bzr.el (vc-bzr-print-log):
9348 * vc/vc-cvs.el (vc-cvs-print-log):
9349 * vc/vc-git.el (vc-git-print-log):
9350 * vc/vc-hg.el (vc-hg-print-log):
9351 * vc/vc-mtn.el (vc-mtn-print-log):
9352 * vc/vc-rcs.el (vc-rcs-print-log):
9353 * vc/vc-sccs.el (vc-sccs-print-log):
9354 * vc/vc-svn.el (vc-svn-print-log):
9355 * vc/vc.el (vc-print-log-internal): Doc fixes.
9357 2013-04-23 Glenn Morris <rgm@gnu.org>
9359 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9360 Remove venerable code attempting to avoid substitute-command-keys.
9362 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9364 * textmodes/reftex-vars.el (reftex-label-regexps):
9365 Call `reftex-compile-variables' after changes to this variable.
9367 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9370 Use lexical-binding.
9371 (jit-lock-force-redisplay): Use markers, check buffer's continued
9372 existence and beware narrowed buffers.
9373 (jit-lock-fontify-now): Adjust call accordingly.
9375 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9378 to avoid misleading the user.
9380 2013-04-22 Leo Liu <sdl.web@gmail.com>
9382 * info-look.el: Prefer latex2e.info. (Bug#14240)
9384 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9386 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9388 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9389 * net/tramp.el (tramp-call-process): ... here.
9390 (tramp-set-completion-function, tramp-parse-putty):
9391 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9392 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9393 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9394 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9395 (tramp-call-local-coding-command): Use `tramp-call-process'
9396 instead of `tramp-compat-call-process'.
9398 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9399 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9400 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9401 (tramp-find-inline-compress): Improve traces.
9402 (tramp-maybe-send-script): Check for Perl binary.
9403 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9405 2013-04-22 Daiki Ueno <ueno@gnu.org>
9407 * epg.el (epg-context-pinentry-mode): New function.
9408 (epg-context-set-pinentry-mode): New function.
9409 (epg--start): Pass --pinentry-mode option to gpg command.
9411 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9413 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9414 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9415 `completion-at-point'. (Bug#13774)
9417 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9418 default key binding for `describe-distribution' has been moved to
9419 `C-h C-o'. (Bug#13970)
9421 2013-04-21 Glenn Morris <rgm@gnu.org>
9423 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9425 (vc-print-log): Clarify interactive prompt.
9427 2013-04-20 Glenn Morris <rgm@gnu.org>
9429 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9430 No longer include timestamp etc information.
9432 2013-04-20 Roland Winkler <winkler@gnu.org>
9434 * faces.el (read-face-name): Bug fix, return just one face if arg
9435 multiple is nil. (Bug#14209)
9437 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9440 (remove-function): Autoload.
9442 * comint.el (comint-redirect-original-filter-function): Remove.
9443 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9444 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9445 (vc-cvs-annotate-command):
9446 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9447 * progmodes/prolog.el (prolog-consult-compile):
9448 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9449 Use add/remove-function instead.
9450 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9451 (gud-tooltip-process-output, gud-tooltip-tips):
9452 Use add/remove-function instead.
9453 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9454 (scheme-interaction-mode, exit-scheme-interaction-mode):
9455 Use add/remove-function instead.
9457 * vc/vc-dispatcher.el: Use lexical-binding.
9458 (vc--process-sentinel): Rename from vc-process-sentinel.
9459 Change last arg to be the code to run. Don't use vc-previous-sentinel
9460 and vc-sentinel-commands any more.
9461 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9462 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9464 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9466 * progmodes/sh-script.el (sh-imenu-generic-expression):
9467 Handle function names with a single character. (Bug#14111)
9469 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9471 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9472 for subroutines defined in an eval (bug#14182).
9474 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9476 * bookmark.el (bookmark-completing-read): Improve handling of empty
9479 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9483 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9485 New faster Imenu implementation (bug#14058).
9486 * progmodes/python.el:
9487 (python-imenu-prev-index-position):
9488 (python-imenu-format-item-label-function)
9489 (python-imenu-format-parent-item-label-function)
9490 (python-imenu-format-parent-item-jump-label-function):
9492 (python-imenu-format-item-label)
9493 (python-imenu-format-parent-item-label)
9494 (python-imenu-format-parent-item-jump-label)
9495 (python-imenu--put-parent, python-imenu--build-tree)
9496 (python-imenu-create-index, python-imenu-create-flat-index)
9497 (python-util-popn): New functions.
9498 (python-mode): Set imenu-create-index-function to
9499 python-imenu-create-index.
9501 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9503 * winner.el (winner-active-region): Use region-active-p, activate-mark
9504 and deactivate-mark (bug#14225).
9506 * simple.el (deactivate-mark): Don't inline it.
9508 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9510 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9512 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9514 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9515 file extensions from the archive-mode entry in order to prefer
9516 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9518 2013-04-18 Leo Liu <sdl.web@gmail.com>
9520 * bindings.el (help-event-list): Add ?\?.
9522 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9524 * subr.el (with-wrapper-hook): Declare obsolete.
9525 * simple.el (filter-buffer-substring-function): New hook.
9526 (filter-buffer-substring): Use it.
9527 (filter-buffer-substring-functions): Mark obsolete.
9528 * minibuffer.el (completion-in-region-function): New hook.
9529 (completion-in-region): Use it.
9530 (completion-in-region-functions): Mark obsolete.
9531 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9532 * abbrev.el (abbrev-expand-function): New hook.
9533 (expand-abbrev): Use it.
9534 (abbrev-expand-functions): Mark obsolete.
9535 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9538 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9540 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9541 and do not care about match data.
9543 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9545 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9546 completion tables when completing error conditions and
9547 `declare' arguments.
9548 (lisp-complete-symbol, field-complete): Mark as obsolete.
9549 (check-parens): Unmatched parens are user errors.
9550 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9552 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9554 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9555 command changed buffer (ie. `flyspell-pre-buffer' is not current
9556 buffer), which prevents making decisions based on invalid value of
9557 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9558 cause an error when `flyspell-pre-point' was nil after switching
9560 (flyspell-post-command-hook): No longer needs to change buffers when
9561 checking pre-word. While at it remove unnecessary progn.
9563 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9565 * textmodes/ispell.el (ispell-add-per-file-word-list):
9566 Fix `flyspell-correct-word-before-point' error when accepting
9567 words and `coment-padding' is an integer by using
9568 `comment-normalize-vars' (Bug #14214).
9570 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9572 New defun movement commands.
9573 * progmodes/python.el (python-nav--syntactically)
9574 (python-nav--forward-defun, python-nav-backward-defun)
9575 (python-nav-forward-defun): New functions.
9577 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9579 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9580 (python-syntax-context): Use named compiler-macro for backwards
9581 compatibility with Emacs 24.x.
9583 2013-04-17 Leo Liu <sdl.web@gmail.com>
9585 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9586 octave-hide-process-buffer.
9588 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9590 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9593 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9595 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9596 Fix adjustment of offset when receiving incomplete responses from GDB
9599 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9601 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9602 python-mode-abbrev-table.
9603 (python-skeleton-define): Adjust accordingly.
9604 (python-mode-abbrev-table): New table that inherits from it so that
9605 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9607 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9608 (abbrev-symbol): Use it.
9609 (abbrev--before-point): Use it since we already handle inheritance.
9611 2013-04-16 Leo Liu <sdl.web@gmail.com>
9613 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9614 binding to info-lookup-symbol.
9616 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9618 * minibuffer.el (completion--twq-all):
9619 * term/ns-win.el (ns-initialize-window-system):
9620 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9622 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9624 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9627 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9629 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9631 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9632 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9634 (ruby-end-of-defun): Remove the unused arg, change the docstring
9635 to reflect that this function is only used as the value of
9636 `end-of-defun-function'.
9637 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9638 to reflect an earlier change that beginning/end-of-defun functions
9639 jump between methods in a class definition, as well as top-level
9642 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9644 * minibuffer.el (minibuffer-complete): Don't just scroll
9645 a *Completions* that's been iconified.
9646 (minibuffer-force-complete): Make sure repetitions do cycle when going
9647 through completion-in-region -> minibuffer-complete.
9649 2013-04-15 Alan Mackenzie <acm@muc.de>
9651 Correct the placement of c-cpp-delimiters when there're #s not at
9654 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9655 place a submatch around the #.
9656 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9657 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9660 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9662 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9663 (advice--member-p): New arg `name'.
9664 (advice--add-function, advice-member-p): Use it (bug#14202).
9666 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9668 Reformulate java imenu-generic-expression.
9669 The old expression contained ill formed regexps.
9671 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9672 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9673 (cc-imenu-java-method-arg-regexp): New defconsts.
9674 (cc-imenu-java-build-type-args-regex): New defun.
9675 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9676 handling of spaces in the regexp.
9678 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9680 * textmodes/ispell.el (ispell-command-loop): Remove
9681 flyspell highlight of a word when ispell accepts it (bug #14178).
9683 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9685 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9686 uses code from the previous `ange-ftp-run-real-handler'.
9687 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9688 only in case that function exist. This is needed for proper
9691 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9693 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9695 * textmodes/reftex.el (reftex-compile-variables): Use it.
9697 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * files.el (normal-mode): Only use default major-mode if no other mode
9702 * emacs-lisp/trace.el (trace-values): New function.
9704 * files.el: Allow : in local variables (bug#14089).
9705 (hack-local-variable-regexp): New var.
9706 (hack-local-variables-prop-line, hack-local-variables): Use it.
9708 2013-04-13 Roland Winkler <winkler@gnu.org>
9710 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9711 data before it gets modified by bibtex-beginning-of-entry.
9713 2013-04-13 Roland Winkler <winkler@gnu.org>
9715 * textmodes/bibtex.el (bibtex-url): Doc fix.
9717 2013-04-13 Roland Winkler <winkler@gnu.org>
9719 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9720 does not visit a BibTeX file, exclude it from the list of buffers
9721 returned by bibtex-initialize.
9723 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9725 * window.el (split-window): Remove interactive form, since as a
9726 command this function is a special case of split-window-below.
9729 2013-04-12 Roland Winkler <winkler@gnu.org>
9731 * faces.el (read-face-name): Do not override value of arg default.
9732 Allow single faces and strings as default values. Remove those
9733 elements from return value that are not faces.
9734 (describe-face): Simplify.
9735 (face-at-point): New optional args thing and multiple so that this
9736 function can provide the same functionality previously provided by
9738 (make-face-bold, make-face-unbold, make-face-italic)
9739 (make-face-unitalic, make-face-bold-italic, invert-face)
9740 (modify-face, read-face-and-attribute): Use face-at-point.
9742 * cus-edit.el (customize-face, customize-face-other-window)
9743 * cus-theme.el (custom-theme-add-face)
9744 * face-remap.el (buffer-face-set)
9745 * facemenu.el (facemenu-set-face): Use face-at-point.
9747 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9749 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9751 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9753 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9754 off leading { and trailing } from field values.
9756 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9758 * emacs-lisp/timer.el (timer--check): New function.
9759 (timer--time, timer-set-function, timer-event-handler): Use it.
9760 (timer-set-idle-time): Simplify.
9761 (timer--activate): CSE.
9762 (timer-event-handler): Give more info in error message.
9763 (internal-timer-start-idle): New function, moved from C.
9765 * mpc.el (mpc-proc): Add `restart' argument.
9766 (mpc-proc-cmd): Use it.
9767 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9768 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9771 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9773 * progmodes/sh-script.el: Implement `sh-mode' own
9774 `add-log-current-defun-function' (bug#14112).
9775 (sh-current-defun-name): New function.
9776 (sh-mode): Use the function.
9778 2013-04-09 Bastien Guerry <bzg@gnu.org>
9780 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9782 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9784 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9786 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9789 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9791 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9794 2013-04-07 Leo Liu <sdl.web@gmail.com>
9796 * pcmpl-x.el: New file.
9798 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9800 Do not set x-display-name until X connection is established.
9801 This is needed to prevent from weird situation described at
9802 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9803 * frame.el (make-frame): Set x-display-name after call to
9804 window system initialization function, not before.
9805 * term/x-win.el (x-initialize-window-system): Add optional
9806 display argument and use it.
9807 * term/w32-win.el (w32-initialize-window-system):
9808 * term/ns-win.el (ns-initialize-window-system):
9809 * term/pc-win.el (msdos-initialize-window-system):
9810 Add compatible optional display argument.
9812 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9814 * files.el (normal-backup-enable-predicate): On MS-Windows and
9815 MS-DOS compare truenames of temporary-file-directory and of the
9816 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9817 don't fail comparison by compare-strings. Also, compare file
9818 names case-insensitively on MS-Windows and MS-DOS.
9820 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9823 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9825 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9827 * whitespace.el (whitespace-color-on, whitespace-color-off):
9828 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9830 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9832 * ispell.el (ispell-set-spellchecker-params):
9833 Really set `ispell-args' for all equivs.
9835 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9837 * ido.el (ido-completions): Use extra elements of ido-decorations
9839 (ido-decorations): Update docstring.
9841 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9843 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9844 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9845 nil during initialization, in order not to miss changes since the
9846 file was opened. (Bug#14140)
9848 2013-04-05 Leo Liu <sdl.web@gmail.com>
9850 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9852 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9854 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9856 2013-04-04 Glenn Morris <rgm@gnu.org>
9858 * electric.el (electric-pair-inhibit-predicate): Add :version.
9860 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9863 when a package is required several times (bug#14082).
9865 2013-04-04 Roland Winkler <winkler@gnu.org>
9867 * faces.el (read-face-name): Behave as promised by the docstring.
9868 Assume that arg default is a list of faces.
9869 (describe-face): Call read-face-name with list of default faces.
9871 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9873 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9874 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9875 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9877 (bookmark-exit-hook-internal): Save even if list is empty.
9879 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9881 * emacs-lisp/package.el (package-pinned-packages): New var.
9882 (package--add-to-archive-contents): Obey it (bug#14118).
9884 2013-04-03 Alan Mackenzie <acm@muc.de>
9886 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9887 Also adapt to the new values of element 7 of a parse state.
9889 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9890 parameter `not-in-delimiter'. Handle being inside comment opener.
9891 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9892 character in case we're typing a '*' after a '/'.
9893 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9894 instead by passing the parameter to c-state-pp-to-literal.
9896 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9897 for elt. 7 of a parse state.
9899 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9901 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9902 * international/latin1-disp.el, international/mule-util.el:
9903 * language/cyril-util.el, language/european.el, language/ind-util.el:
9904 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9905 * language/tibetan.el, language/viet-util.el:
9906 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9908 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9910 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9911 (electric-pair-post-self-insert-function): Use it.
9912 (electric-pair-default-inhibit): New function, extracted from
9913 electric-pair-post-self-insert-function.
9915 2013-03-31 Roland Winkler <winkler@gnu.org>
9917 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9919 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9921 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9923 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9925 Un-indent after "pass" and "return" statements (Bug#13888)
9926 * progmodes/python.el (python-indent-block-enders): New var.
9927 (python-indent-calculate-indentation): Use it.
9929 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9931 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9932 defun. Defining it as defalias could introduce too eager
9933 byte-compiler optimization. (Bug#14030)
9935 2013-03-30 Chong Yidong <cyd@gnu.org>
9937 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9939 2013-03-30 Leo Liu <sdl.web@gmail.com>
9941 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9942 (kmacro-execute-from-register): Pass the keyboard macro to
9943 kmacro-call-macro or repeating won't work correctly.
9945 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9947 * progmodes/subword.el: Back to using `forward-symbol'.
9949 * subr.el (forward-whitespace, forward-symbol)
9950 (forward-same-syntax): Move from thingatpt.el.
9952 2013-03-29 Leo Liu <sdl.web@gmail.com>
9954 * kmacro.el (kmacro-to-register): New command.
9955 (kmacro-execute-from-register): New function.
9956 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9958 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * mpc.el: Use defvar-local and setq-local.
9961 (mpc--proc-connect): Connection failures are not bugs.
9962 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9963 (mpc-volume-map): Bind to the up-events.
9965 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9967 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9968 instead of `forward-symbol'.
9970 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9972 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9973 (edebug--recursive-edit): Use it.
9974 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9975 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9977 2013-03-28 Leo Liu <sdl.web@gmail.com>
9979 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9981 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9983 * facemenu.el (list-colors-callback): New defvar.
9984 (list-colors-redisplay): New function.
9985 (list-colors-display): Install list-colors-redisplay as the
9986 revert-buffer-function. (Bug#14063)
9988 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9991 and suffixes don't overlap (bug#14061).
9993 * case-table.el: Use lexical-binding.
9994 (case-table-get-table): New function.
9995 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9997 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9999 * progmodes/subword.el: Add `superword-mode' to do word motion
10000 over symbol_words (parallels and leverages `subword-mode' which
10001 does word motion inside MixedCaseWords).
10003 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10005 * eshell/em-unix.el: Move su and sudo to...
10006 * eshell/em-tramp.el: ...Eshell tramp module.
10008 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10011 Change return value to be a sexp. Delay `get-buffer' to after
10012 restoring the desktop (bug#13951).
10014 2013-03-26 Leo Liu <sdl.web@gmail.com>
10016 * register.el: Move semantic tag handling back to
10017 cedet/semantic/senator.el. (Bug#14052)
10019 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10021 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10022 into the prompt either (bug#13963).
10024 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10026 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10027 part of "(error-foo)".
10029 2013-03-24 Juri Linkov <juri@jurta.org>
10031 * replace.el (list-matching-lines-prefix-face): New defcustom.
10032 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10033 `occur-engine' if `face-differs-from-default-p' returns t.
10034 (occur-engine): Add `,' inside backquote construct to evaluate
10035 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10036 Pass `prefix-face' to the functions `occur-context-lines' and
10037 `occur-engine-add-prefix'.
10038 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10039 `prefix-face' and propertize the prefix with `prefix-face'.
10042 2013-03-24 Leo Liu <sdl.web@gmail.com>
10044 * nxml/rng-valid.el (rng-validate-while-idle)
10045 (rng-validate-quick-while-idle): Guard against deleted buffer.
10048 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10049 is the last entry in kill-buffer-hook.
10051 * files.el (kill-buffer-hook): Doc fix.
10053 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10055 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10056 Make it safe-local.
10058 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10060 2013-03-23 Leo Liu <sdl.web@gmail.com>
10062 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10065 * nxml/rng-valid.el (rng-validate-mode)
10066 (rng-after-change-function, rng-do-some-validation):
10067 * nxml/rng-maint.el (rng-validate-buffer):
10068 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10069 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10070 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10071 (nxml-extend-after-change-region): Use with-silent-modifications.
10073 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10076 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10077 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10078 timer-idle-list. (Bug#13999)
10080 2013-03-23 Juri Linkov <juri@jurta.org>
10082 * info.el (info-index-match): New face.
10083 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10084 main pattern and add text properties with the new face to matches
10085 in index entries relative to the beginning of the index entry.
10088 2013-03-21 Eric Ludlam <zappo@gnu.org>
10090 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10091 Inhibit read only while inserting objects.
10093 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10095 * progmodes/cfengine.el: Update docs to mention
10096 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10097 symbol motion. Remove "_" from the word syntax.
10099 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10101 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10102 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10104 2013-03-20 Juri Linkov <juri@jurta.org>
10106 * info.el (Info-next-reference-or-link)
10107 (Info-prev-reference-or-link): New functions.
10108 (Info-next-reference, Info-prev-reference): Use them.
10109 (Info-try-follow-nearest-node): Handle footnote navigation.
10110 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10112 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10114 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10115 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10117 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10119 Suppress unnecessary non-ASCII chatter during build process.
10120 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10121 (batch-skkdic-convert): Suppress most of the chatter.
10122 It's not needed so much now that machines are faster,
10123 and its non-ASCII component was confusing; see Dmitry Gutov in
10124 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10126 2013-03-20 Leo Liu <sdl.web@gmail.com>
10128 * ido.el (ido-chop): Fix bug#10994.
10130 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10132 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10134 (whitespace-color-on, whitespace-color-off):
10135 Use `font-lock-fontify-buffer' (Bug#13817).
10137 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10140 remapping in mode-line.
10141 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10143 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10145 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10146 value for `whitespace-line' face (Bug#13875).
10147 (whitespace-font-lock-keywords): Change description.
10148 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10149 the constructed keywords instead.
10150 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10152 2013-03-19 Leo Liu <sdl.web@gmail.com>
10154 * progmodes/compile.el (compilation-display-error): New command.
10155 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10158 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10160 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10162 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10164 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10166 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10168 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10170 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10171 * net/tramp-gvfs.el (top):
10172 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10173 (tramp-handle-shell-command): Use it.
10174 (tramp-dissect-file-name): Raise an error when hostname is a
10175 method name, and neither method nor user is specified.
10177 * net/trampver.el: Update release number.
10179 2013-03-18 Leo Liu <sdl.web@gmail.com>
10181 Make sure eldoc can be turned off properly.
10182 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10184 (eldoc-display-message-p): Revert last change.
10185 (eldoc-display-message-no-interference-p)
10186 (eldoc-print-current-symbol-info): Tweak.
10188 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10190 * doc-view.el (doc-view-new-window-function): Check the new window
10191 overlay's display property instead the char property of the
10192 buffer's first char. Use `with-selected-window' instead of
10193 `save-window-excursion' with `select-window'.
10194 (doc-view-document->bitmap): Check the current doc-view overlay's
10195 display property instead the char property of the buffer's first char.
10197 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10199 Automate the build of ja-dic.el (Bug#13984).
10200 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10201 from the input, rather than assume that it's been done for us by the
10202 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10203 the current date into a ja-dic.el comment, as that complicates
10204 regression testing.
10206 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * whitespace.el: Fix double evaluation.
10209 (whitespace-space, whitespace-hspace, whitespace-tab)
10210 (whitespace-newline, whitespace-trailing, whitespace-line)
10211 (whitespace-space-before-tab, whitespace-indentation)
10212 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10214 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10215 (whitespace-color-on): Use a single font-lock-add-keywords call.
10216 Fix double-evaluation of face variables.
10218 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10220 * net/tramp-adb.el (tramp-adb-parse-device-names):
10221 Use `start-process' instead of `call-process'. Otherwise, the
10222 function might be blocked under MS Windows. (Bug#13299)
10224 2013-03-17 Leo Liu <sdl.web@gmail.com>
10226 Extend eldoc to display info in the mode-line. (Bug#13978)
10227 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10228 (eldoc-mode-line-string): New variable.
10229 (eldoc-minibuffer-message): New function.
10230 (eldoc-message-function): New variable.
10231 (eldoc-message): Use it.
10232 (eldoc-display-message-p)
10233 (eldoc-display-message-no-interference-p):
10234 Support eldoc-post-insert-mode.
10236 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10237 (eval-expression): Run it.
10239 2013-03-17 Roland Winkler <winkler@gnu.org>
10241 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10242 strings in the list of return values.
10244 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10246 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10247 radix before checking for HMS forms.
10249 2013-03-16 Leo Liu <sdl.web@gmail.com>
10251 * progmodes/scheme.el: Add indentation and font-locking for λ.
10254 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10257 token before point (bug#13942).
10259 2013-03-16 Leo Liu <sdl.web@gmail.com>
10261 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10263 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10265 * startup.el (command-line-normalize-file-name): Fix handling of
10266 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10267 <xfq.free@gmail.com> in
10268 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10270 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10272 Sync with Tramp 2.2.7.
10274 * net/trampver.el: Update release number.
10276 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10278 * doc-view.el: Fix bug#13887.
10279 (doc-view-insert-image): Don't modify overlay associated to
10280 non-live windows, and implement horizontal centering of image in
10281 case it's smaller than the window.
10282 (doc-view-new-window-function): Force redisplay of new windows on
10285 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10287 * saveplace.el (save-place-alist-to-file): Don't sort
10288 `save-place-alist', just pretty-print it (bug#13882).
10290 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10292 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10293 Check whether `default-file-name-coding-system' is bound.
10294 It isn't in XEmacs.
10296 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10299 backquotes for `obsolete' (bug#13929).
10301 * international/mule.el (find-auto-coding): Include file name in
10302 obsolescence warning (bug#13922).
10304 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10306 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10307 for CFEngine 3-specific indentation.
10308 (cfengine3-indent-line): Use it. Fix up category regex.
10309 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10311 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * type-break.el (type-break-file-name):
10314 * textmodes/remember.el (remember-data-file):
10315 * strokes.el (strokes-file):
10316 * shadowfile.el (shadow-initialize):
10317 * saveplace.el (save-place-file):
10318 * ps-bdf.el (bdf-cache-file):
10319 * progmodes/idlwave.el (idlwave-config-directory):
10320 * net/quickurl.el (quickurl-url-file):
10321 * international/kkc.el (kkc-init-file-name):
10322 * ido.el (ido-save-directory-list-file):
10323 * emulation/viper.el (viper-custom-file-name):
10324 * emulation/vip.el (vip-startup-file):
10325 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10326 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10328 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10330 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10331 * language/thai-word.el: Switch to UTF-8.
10333 See ChangeLog.16 for earlier changes.
10335 ;; Local Variables:
10339 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10341 This file is part of GNU Emacs.
10343 GNU Emacs is free software: you can redistribute it and/or modify
10344 it under the terms of the GNU General Public License as published by
10345 the Free Software Foundation, either version 3 of the License, or
10346 (at your option) any later version.
10348 GNU Emacs is distributed in the hope that it will be useful,
10349 but WITHOUT ANY WARRANTY; without even the implied warranty of
10350 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10351 GNU General Public License for more details.
10353 You should have received a copy of the GNU General Public License
10354 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.