1 2013-12-01 Glenn Morris <rgm@gnu.org>
3 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5 2013-11-30 Eli Zaretskii <eliz@gnu.org>
7 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8 redisplay to make sure the initial frame gets a change to become
11 2013-11-30 Martin Rudalics <rudalics@gmx.at>
13 Support resizing frames and windows pixelwise.
14 * cus-start.el (frame-resize-pixelwise)
15 (window-resize-pixelwise): New entries.
16 * emacs-lisp/debug.el (debug): Use window-total-height instead
18 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
19 * help.el (describe-bindings-internal): Call help-buffer
20 (temp-buffer-max-width): New option.
21 (resize-temp-buffer-window, help-window-setup)
22 (with-help-window): Rewrite.
23 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
25 * window.el (frame-char-size, window-min-pixel-height)
26 (window-safe-min-pixel-height, window-safe-min-pixel-width)
27 (window-min-pixel-width, window-safe-min-pixel-size)
28 (window-combination-p, window-safe-min-size)
29 (window-resizable-p, window--size-to-pixel)
30 (window--pixel-to-size, window--resize-apply-p): New functions.
31 (window-safe-min-height): Fix doc-string.
32 (window-size, window-min-size, window--min-size-1)
33 (window-sizable, window-sizable-p, window--min-delta-1)
34 (window-min-delta, window--max-delta-1, window-max-delta)
35 (window--resizable, window--resizable-p, window-resizable)
36 (window-full-height-p, window-full-width-p, window-at-side-p)
37 (window--in-direction-2, window-in-direction)
38 (window--resize-reset-1, window--resize-mini-window)
39 (window-resize, window-resize-no-error)
40 (window--resize-child-windows-normal)
41 (window--resize-child-windows, window--resize-siblings)
42 (window--resize-this-window, window--resize-root-window)
43 (window--resize-root-window-vertically)
44 (adjust-window-trailing-edge, enlarge-window, shrink-window)
45 (maximize-window, minimize-window, delete-window)
46 (quit-restore-window, window-split-min-size, split-window)
47 (balance-windows-2, balance-windows)
48 (balance-windows-area-adjust, balance-windows-area)
49 (window--state-get-1, window-state-get, window--state-put-1)
50 (window--state-put-2, window-state-put)
51 (display-buffer-record-window, window--display-buffer): Make
52 functions handle pixelwise sizing of windows.
53 (display-buffer--action-function-custom-type)
54 (display-buffer-fallback-action): Add
55 display-buffer-in-previous-window.
56 (display-buffer-use-some-window): Resize window to height it had
58 (fit-window-to-buffer-horizontally): New option.
59 (fit-frame-to-buffer): Describe new values.
60 (fit-frame-to-buffer-bottom-margin): Replace with
61 fit-frame-to-buffer-margins.
62 (window--sanitize-margin): New function.
63 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
64 using window-text-pixel-size.
66 2013-11-30 Glenn Morris <rgm@gnu.org>
68 * emacs-lisp/bytecomp.el (byte-compile-form):
69 Make the `interactive-only' warning like the `obsolete' one.
70 * comint.el (comint-run):
71 * files.el (insert-file-literally, insert-file):
72 * replace.el (replace-string, replace-regexp):
73 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
74 (goto-line, insert-buffer, next-line, previous-line):
75 Tweak `interactive-only' spec.
77 Stop keeping (most) generated cedet grammar files in the repository.
78 * Makefile.in (semantic): New.
79 (compile-main): Depend on semantic.
81 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
83 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
84 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
86 * uniquify.el (uniquify-buffer-name-style): Change default.
88 * loadup.el: Preload "uniquify".
90 * time.el (display-time-update): Update all mode lines (bug#15999).
92 * electric.el (electric-indent-mode): Enable by default.
93 * loadup.el: Preload "electric".
95 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
97 * emacs-lisp/helpers.el (string-empty-p): New function.
98 (string-blank-p): New function.
100 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
102 * imenu.el (imenu--index-alist): Add missing dot to the docstring
105 2013-11-29 Andreas Politz <politza@fh-trier.de>
106 * imenu.el (imenu--subalist-p): Don't error on non-conses and
107 allow non-lambda lists as functions.
108 (imenu--in-alist): Don't recurse into non-subalists.
109 (imenu): Don't pass function itself as an argument (Bug#14029).
111 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
113 * progmodes/python.el (python-mode-map): Remove binding for ":".
114 (python-indent-electric-colon): Remove command.
115 (python-indent-post-self-insert-function): Integrate the previous code
116 of python-indent-electric-colon. Make it conditional on
117 electric-indent-mode.
118 (python-mode): Add ?: to electric-indent-chars.
119 Move python-indent-post-self-insert-function to the end of
120 post-self-insert-hook.
122 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
124 * doc-view.el (doc-view-goto-page): Update mode-line.
126 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
128 2013-11-27 Glenn Morris <rgm@gnu.org>
130 * international/charprop.el, international/uni-bidi.el:
131 * international/uni-category.el, international/uni-combining.el:
132 * international/uni-comment.el, international/uni-decimal.el:
133 * international/uni-decomposition.el, international/uni-digit.el:
134 * international/uni-lowercase.el, international/uni-mirrored.el:
135 * international/uni-name.el, international/uni-numeric.el:
136 * international/uni-old-name.el, international/uni-titlecase.el:
137 * international/uni-uppercase.el:
138 Remove generated files from VCS repository.
140 2013-11-27 Eli Zaretskii <eliz@gnu.org>
142 * filenotify.el (file-notify-add-watch): Don't special-case
143 w32notify when computing the directory to watch.
145 2013-11-27 Glenn Morris <rgm@gnu.org>
147 Make bootstrap without generated uni-*.el files possible again.
148 * loadup.el: Update command-line-args checking for unidata-gen.
149 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
150 * composite.el, international/characters.el:
151 Handle unicode tables being undefined.
153 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
154 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
155 (compile-main): Depend on leim rule.
157 * loadup.el: Move leim-list.el to leim/ subdirectory.
158 * startup.el (normal-top-level): No more leim directory.
159 * international/ja-dic-cnv.el (skkdic-convert):
160 Disable version-control and autoloads in output files.
161 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
162 Disable version-control and autoloads in output files.
163 * leim/quail: Move here from ../leim.
164 * leim/quail/hangul.el (hangul-input-method-activate):
166 (generated-autoload-load-name): Set file-local value.
167 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
168 (generated-autoload-load-name): Set file-local value.
170 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
172 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
173 (eww-add-bookmark): ask confirmation when add to bookmarks
174 (eww-quit): ask confirmation before quitting eww
176 2013-11-26 Eli Zaretskii <eliz@gnu.org>
178 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
179 reading output from Diff on MS-Windows and MS-DOS.
181 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
183 * emacs-lisp/helpers.el (string-reverse): New function.
185 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
187 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
188 names on MS Windows, like "/[::1]:".
190 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
193 2013-11-26 Glenn Morris <rgm@gnu.org>
195 * progmodes/python.el (python-indent-guess-indent-offset):
196 Avoid corner-case error. (Bug#15975)
198 Preload leim-list.el. (Bug#4789)
199 * loadup.el: Load leim-list.el when found.
200 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
202 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
204 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
206 * emacs-lisp/helpers.el (string-join): New function.
208 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
210 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
211 Mark as obsolete and replace it with a symbol property.
212 (byte-compile-form): Use new 'interactive-only property.
213 * comint.el, files.el, replace.el, simple.el:
214 Apply new 'interactive-only properly.
216 2013-11-25 Martin Rudalics <rudalics@gmx.at>
218 * window.el (display-buffer-at-bottom): Make sure that
219 split-window-sensibly creates the new window on bottom
222 2013-11-23 David Kastrup <dak@gnu.org>
224 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
225 on the conflict markers when available.
226 (smerge--get-marker): New function.
227 (smerge-end-re, smerge-base-re): Add subgroup.
229 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
231 * frame.el (handle-focus-in, handle-focus-out): Add missing
234 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
236 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
237 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
239 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
241 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
242 (gomoku--last-pos): New var.
243 (gomoku--intangible-chars): New const.
244 (gomoku--intangible): New function.
245 (gomoku-mode): Use it. Derive from special-mode.
246 (gomoku-move-up): Adjust line count.
247 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
248 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
249 Simplify accordingly.
251 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
252 Remove blink-cursor code.
253 (blink-cursor-timer-function, blink-cursor-suspend):
254 Don't special-case GUIs.
255 (blink-cursor-mode): Use focus-in/out-hook.
257 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
259 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
260 work when annotation is invisible (Bug#13886).
262 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
264 * json.el (json-alist-p): Only return non-nil if the alist has
265 simple keys (Bug#13518).
267 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
269 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
270 when control-statement is the first statement in a buffer (Bug#15956).
272 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
274 * imenu.el (imenu-generic-skip-comments-and-strings):
275 New option (Bug#15560).
276 (imenu--generic-function): Use it.
278 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
280 * minibuffer.el (completion--in-region-1): Scroll the correct
283 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
285 * emacs-lisp/helpers.el: Add some string helpers.
286 (string-trim-left): Removes leading whitespace.
287 (string-trim-right): Removes trailing whitespace.
288 (string-trim): Removes leading and trailing whitespace.
290 * subr.el (string-suffix-p): New function.
292 2013-11-23 Glenn Morris <rgm@gnu.org>
294 * progmodes/python.el (python-shell-send-file):
295 Add option to delete file when done. (Bug#15647)
296 (python-shell-send-string, python-shell-send-region): Use it.
298 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
300 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
301 to set buffer-read-only to t, never to nil. (Bug#15938)
303 * textmodes/tex-mode.el (latex-noindent-environments):
304 Add safe-local-variable property. (Bug#15936)
306 2013-11-23 Glenn Morris <rgm@gnu.org>
308 * textmodes/enriched.el (enriched-mode): Doc fix.
309 * emacs-lisp/authors.el (authors-renamed-files-alist):
310 Add enriched.doc -> enriched.txt.
312 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
314 2013-11-22 Leo Liu <sdl.web@gmail.com>
316 * progmodes/octave.el (inferior-octave-startup): Spit out error
319 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
321 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
324 (ruby-encoding-magic-comment-style): Add :version.
326 2013-11-22 Leo Liu <sdl.web@gmail.com>
328 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
330 (octave-help-mode): Adapt to change to help-mode-finish to use
331 derived-mode-p on 2013-09-17.
332 (inferior-octave-prompt): Also match octave-gui.
333 (octave-kill-process): Don't ask twice. (Bug#10564)
335 2013-11-22 Leo Liu <sdl.web@gmail.com>
337 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
338 (inferior-octave-startup, inferior-octave-check-process)
339 (inferior-octave-track-window-width-change)
340 (octave-completion-at-point, octave-eldoc-function): Use it.
341 (octave-kill-process): Provide confirmation. (Bug#10564)
343 2013-11-21 Leo Liu <sdl.web@gmail.com>
345 * progmodes/octave.el (octave-mode, inferior-octave-mode):
346 Fix obsolete variable comment-use-global-state.
348 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
350 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
351 Add `octave-source-file'.
352 (octave-source-file): New function. (Bug#15935)
354 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
356 * net/eww.el (eww-local-regex): New variable.
357 (eww): Use it to detect localhost and similar.
359 2013-11-21 Leo Liu <sdl.web@gmail.com>
361 Add completion for command `ag'.
362 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
363 (pcomplete/ag): New function.
364 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
366 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
368 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
370 (make-obsolete): Remove interactive spec.
372 2013-11-21 Glenn Morris <rgm@gnu.org>
374 * startup.el (command-line-1): Use path-separator with -L.
376 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
378 * emacs-lisp/package.el (describe-package-1): Add package archive
381 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
383 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
384 Change default to "# encoding: %s" to differentiate it from the
385 default Ruby encoding comment template.
387 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
389 * ses.el (ses-mode): Doc fix. (Bug#14748)
391 2013-11-20 Leo Liu <sdl.web@gmail.com>
393 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
395 2013-11-19 Dan Nicolaescu <dann@gnu.org>
397 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
398 when rebase or bisect are in progress.
400 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
402 * filenotify.el (file-notify-add-watch): Doc fix.
404 2013-11-19 Leo Liu <sdl.web@gmail.com>
406 * obsolete/rcompile.el: Mark obsolete.
408 * progmodes/compile.el (compilation-start)
409 (compilation-goto-locus, compilation-find-file):
410 Pass no-display-ok and handle nil value from display-buffer.
413 * window.el (display-buffer-alist, display-buffer): Document the
414 new parameter no-display-ok.
416 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
418 * electric.el (electric-indent-mode-map): Remove.
419 (electric-indent-mode): Change the global-map instead (bug#15915).
421 * textmodes/text-mode.el (paragraph-indent-minor-mode):
424 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
426 * emacs-lisp/nadvice.el (remove-function): Align with
427 add-function's behavior.
429 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
430 (gdb--string-regexp): New constant.
431 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
432 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
433 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
435 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
436 Adjust use accordingly.
437 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
439 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
441 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
442 interpolation curlies (Bug#15914).
444 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
446 * calc/calc.el (calc-context-sensitive-enter): New variable.
447 (calc-enter): Use `calc-context-sensitive-enter'.
449 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
451 * progmodes/cfengine.el: Version bump.
452 (cfengine-cf-promises): New defcustom to locate cf-promises.
453 (cfengine3-vartypes): Add new "data" type.
454 (cfengine3--current-word): New function to get current name-like
456 (cfengine3--current-function): New function to look up a CFEngine
457 function's definition.
458 (cfengine3-format-function-docstring): New function.
459 (cfengine3-make-syntax-cache): New function.
460 (cfengine3-documentation-function): New function: ElDoc glue.
461 (cfengine3-completion-function): New function: completion glue.
462 (cfengine3-mode): Set `compile-command',
463 `eldoc-documentation-function', and add to
464 `completion-at-point-functions'.
466 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
468 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
469 `tramp-current-connection'.
471 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
473 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
474 nil/self/true/false with "end of symbol".
476 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
478 * subr.el (version-regexp-alist): Fix a typo.
480 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
482 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
483 "en_US.utf8" and "LC_CTYPE" to "".
484 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
485 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
487 2013-11-15 Leo Liu <sdl.web@gmail.com>
489 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
491 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
493 * progmodes/gud.el (ctl-x-map):
494 Remove C-x SPC binding. (Bug#12342)
495 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
497 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
499 * subr.el (version-regexp-alist):
500 Recognize hg, svn and darcs versions as snapshot versions.
502 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
503 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
504 (ruby--encoding-comment-required-p): Extract from
505 `ruby-mode-set-encoding'.
506 (ruby-mode-set-encoding): Add the ability to always insert an
507 utf-8 encoding comment. Fix and simplify coding comment update
510 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
512 * net/tramp-gvfs.el (top): Run init code only when
513 `tramp-gvfs-enabled' is not nil.
514 (tramp-gvfs-enabled): Check also :system bus.
516 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
518 Sync with upstream verilog-mode revision 78e66ba.
519 * progmodes/verilog-mode.el (verilog-end-of-defun)
520 (verilog-type-completion, verilog-get-list): Remove unused funcs.
521 (verilog-get-end-of-defun): Remove unused argument.
522 (verilog-comment-depth): Remove unused local `e'.
523 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
524 Don't pass arg to verilog-get-end-of-defun.
526 2013-11-14 Glenn Morris <rgm@gnu.org>
528 * obsolete/assoc.el (aget): Prefix dynamic variable.
530 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
532 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
534 * widget.el, hfy-cmap.el: Remove bogus package version number.
536 2013-11-13 Glenn Morris <rgm@gnu.org>
538 * replace.el (replace-eval-replacement):
539 Try to give more helpful error message. (Bug#15836)
541 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
542 (archive-7z-update): Avoid custom type mismatches.
544 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
546 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
548 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
549 address can be empty.
551 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
553 (tramp-gvfs-handle-write-region): Implement APPEND.
555 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
557 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
558 binary "|" operator and closing block args delimiter.
559 Remove FIXME comment referring to Ruby 1.8-only syntax.
560 (ruby-smie--implicit-semi-p): Not after "|" operator.
561 (ruby-smie--closing-pipe-p): New function.
562 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
563 (ruby-smie-rules): Indent after "|".
565 2013-11-12 Glenn Morris <rgm@gnu.org>
567 * ps-print.el (ps-face-attribute-list):
568 Handle anonymous faces. (Bug#15827)
570 2013-11-12 Martin Rudalics <rudalics@gmx.at>
572 * window.el (display-buffer-other-frame): Fix doc-string.
575 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
577 * subr.el (force-mode-line-update): Delete, move to buffer.c.
579 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
581 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
582 (tramp-sh-handle-file-local-copy): Don't write a message when
583 saving temporary files.
585 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
586 both directories are remote.
587 (tramp-smb-handle-directory-files): Do not return double entries.
588 Do not expand full file names.
589 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
590 (tramp-smb-handle-write-region): Implement APPEND.
591 (tramp-smb-get-stat-capability): Fix a stupid bug.
593 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
595 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
597 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
599 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
600 throwing error over malformed let/let* (bug#15814).
602 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
604 * iswitchb.el (iswitchb-mode): Mark obsolete.
606 2013-11-11 Glenn Morris <rgm@gnu.org>
608 * international/uni-bidi.el, international/uni-category.el:
609 * international/uni-name.el, international/uni-numeric.el:
610 Regenerate for Unicode 6.3.0.
612 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
614 * net/tramp.el (tramp-methods):
615 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
616 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
618 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
620 * progmodes/sh-script.el (sh-font-lock-keywords-var):
621 Force highlighting text after Summary keyword in doc face for rpm.
623 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
625 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
626 available and the word has no wildcards, append one to the grep pattern.
627 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
628 (ispell-complete-word): Call `ispell-lookup-words' with the value
629 independent of `ispell-look-p'.
631 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
633 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
635 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
638 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
640 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
641 (ruby-font-lock-keywords): Use backquote.
643 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
645 * progmodes/ruby-mode.el (ruby-smie--forward-token)
646 (ruby-smie--backward-token): Only consider full-string matches.
648 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
650 * faces.el (describe-face): Add distant-foreground.
652 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
654 * progmodes/ruby-mode.el: Improve encoding comment handling.
655 (ruby-encoding-magic-comment-style): New option.
656 (ruby-custom-encoding-magic-comment-template): New option.
657 (ruby--insert-coding-comment, ruby--detect-encoding):
658 New functions extracted from `ruby-mode-set-encoding'.
659 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
660 to control the style of the auto-inserted encoding comment.
662 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
664 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
665 Use `smie-backward-sexp' with token argument.
667 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
669 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
670 Remove instrumentation code.
672 2013-11-08 Glenn Morris <rgm@gnu.org>
674 * progmodes/autoconf.el (autoconf-mode):
675 Tweak comment-start-skip. (Bug#15822)
677 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
679 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
681 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
683 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
685 * man.el (Man-start-calling): New macro, extracted from
686 Man-getpage-in-background.
687 (Man-getpage-in-background): Use it.
688 (Man-update-manpage): New command.
689 (Man-mode-map): Bind it.
691 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
693 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
694 of "and", "or", "&&" and "||".
695 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
696 argument. Prohibit opening curly brace because it could only be a
697 block opener in that position.
698 (ruby-smie--forward-token, ruby-smie--backward-token):
699 Separate "|" from "&" or "*" going after it. That can happen in block
701 (ruby-smie--indent-to-stmt): New function, seeks the end of
702 previous statement or beginning of buffer.
703 (ruby-smie-rules): Use it.
704 (ruby-smie-rules): Check if there's a ":" before a curly block
705 opener candidate; if there is, it's a hash.
707 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
709 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
710 (cl--block-wrapper): Fix last accidental change.
712 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
714 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
715 Instrument, in order to hunt failure on hydra.
717 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
719 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
720 malformed bindings form (bug#15814).
722 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
724 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
725 "." compared to " @ ". This incidentally fixes some indentation
727 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
728 (ruby-smie-grammar): New tokens: "and" and "or".
729 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
730 Exclude "and" and "or". Remove "do" in order to work around token
732 (ruby-smie-rules): Add all infix tokens. Handle the case of
735 2013-11-06 Glenn Morris <rgm@gnu.org>
737 * Makefile.in (setwins_almost, setwins_for_subdirs):
738 Avoid accidental matches.
740 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
742 * menu-bar.el (popup-menu): Use key-binding.
744 2013-11-06 Eli Zaretskii <eliz@gnu.org>
746 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
747 menus, support also the menus produced by minor modes.
750 2013-11-06 Leo Liu <sdl.web@gmail.com>
752 * thingatpt.el (thing-at-point-looking-at): Add optional arg
753 DISTANCE to bound the search. All uses changed. (Bug#15808)
755 2013-11-06 Glenn Morris <rgm@gnu.org>
757 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
758 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
759 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
761 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
763 * electric.el (electric-indent-just-newline): New command.
764 (electric-indent-mode-map): New keymap.
765 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
766 Re-add :group which weren't redundant.
768 * electric.el (electric-indent-local-mode): New minor mode.
769 (electric-indent-functions-without-reindent): New var.
770 (electric-indent-post-self-insert-function): Use it.
771 * emacs-lisp/gv.el (buffer-local-value): Add setter.
773 2013-11-05 Eli Zaretskii <eliz@gnu.org>
775 * international/quail.el (quail-help): Be more explicit about the
776 meaning of the labels shown on the keys. (Bug#15800)
778 * startup.el (normal-top-level): Load the subdirs.el files before
779 setting the locale environment. (Bug#15805)
781 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
783 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
784 via arguments so as to get the right ones (bug#15418).
786 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
788 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
790 Fix problems found while writing a test suite.
792 * net/tramp-compat.el (tramp-compat-load): New defun.
793 * net/tramp.el (tramp-handle-load): Use it.
795 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
796 "(numberp ok-if-already-exists)" correctly.
798 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
800 * international/characters.el (glyphless-char-display-control):
803 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
805 * progmodes/python.el (python-mode):
806 * progmodes/scheme.el (scheme-mode):
807 * progmodes/prolog.el (prolog-mode):
808 * progmodes/ruby-mode.el (ruby-mode):
809 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
810 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
812 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
814 * rect.el (rectangle--highlight-for-redisplay):
815 * emacs-lisp/smie.el (smie--next-indent-change):
816 Use buffer-chars-modified-tick.
818 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
820 * electric.el (electric-indent-post-self-insert-function):
821 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
823 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
825 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
827 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
829 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
832 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
834 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
836 * progmodes/python.el: Fix up last change.
837 (python-shell--save-temp-file): New function.
838 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
839 `string' comes from the current buffer.
840 (python-shell-send-string-no-output): Remove `msg' arg.
841 (python--use-fake-loc): New var.
842 (python-shell-buffer-substring): Obey it. Try to compensate for the
843 extra coding line added by python-shell--save-temp-file.
844 (python-shell-send-region): Use python-shell--save-temp-file and
845 python-shell-send-file directly. Add `nomain' argument.
846 (python-shell-send-buffer): Use python-shell-send-region.
847 (python-electric-pair-string-delimiter): New function.
848 (python-mode): Use it.
850 2013-11-04 Eli Zaretskii <eliz@gnu.org>
852 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
853 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
854 environment and decoding all of the default-directory's to here
856 (command-line): Decode also argv[0].
858 * loadup.el: Error out if default-directory is a multibyte string
861 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
863 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
865 * emacs-lisp/package.el (package-menu-mode)
866 (package-menu--print-info, package-menu--archive-predicate):
867 Add Archive column to package list.
869 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
871 Fix problems found while writing a test suite.
873 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
874 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
875 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
876 to nil when running original file name handler. Otherwise,
877 there are problems with constructs like "$$FOO".
879 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
882 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
884 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
886 * subr.el (version<, version<=, version=):
887 Update docstrings with information for snapshot versions.
889 * helpers.el: New library for misc helper functions.
890 (hash-table-keys): New function returning a list of hash keys.
891 (hash-table-values): New function returning a list of hash values.
893 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
895 * progmodes/ruby-mode.el (ruby-smie--forward-token)
896 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
898 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
900 * textmodes/fill.el (fill-single-char-nobreak-p): New function
901 checking whether point is after a 1-letter word.
903 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
905 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
906 Don't infloop when expanding region over `multiline' syntax-type that
907 begins a line (bug#15778).
909 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
911 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
912 Make it into a proper minor mode.
913 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
914 (rectangle-mark-mode-map): New keymap.
915 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
917 2013-11-04 Glenn Morris <rgm@gnu.org>
919 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
921 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
923 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
924 (ruby-smie-rules): Use smie-rule-parent instead.
926 * emacs-lisp/smie.el (smie-rule-parent): Always call
927 smie-indent-virtual rather than only for hanging tokens.
928 (smie--next-indent-change): New helper command.
930 2013-11-03 Glenn Morris <rgm@gnu.org>
932 * Makefile.in (abs_srcdir): Remove.
933 (emacs): Unset EMACSLOADPATH.
935 2013-11-02 Glenn Morris <rgm@gnu.org>
937 * Makefile.in (EMACS): Use a relative filename.
938 (abs_top_builddir): Remove.
939 (custom-deps, finder-data, autoloads): Use --chdir.
941 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
943 Use relative filenames in TAGS files.
944 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
945 (lisptagsfiles4, TAGS): Use relative file names.
947 (maintainer-clean): No more TAGS-LISP file.
949 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
950 (lisptagsfiles4): Use absolute filenames again.
951 (TAGS, TAGS-LISP): Not everything needs to run in one line.
952 Remove all *loaddefs files, not just the first. Remove esh-groups.
953 (maintainer-clean): Delete TAGS, TAGS-LISP.
955 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
957 * emacs-lisp/package.el (package-version-join):
958 Recognize snapshot versions.
960 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
962 * subr.el (version-regexp-alist): Add support for snapshot versions.
964 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
966 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
967 New function, replacement for `smie-rule-parent' for when we want to
968 skip over our direct parent if it's an assignment token..
969 (ruby-smie-rules): Use it.
971 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
973 * progmodes/ruby-mode.el Use `syntax-propertize-function'
974 unconditionally. Remove now unnecessary forward declarations.
975 Remove XEmacs-specific setup.
976 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
977 (ruby-font-lock-syntactic-keywords)
978 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
979 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
980 (ruby-here-doc-end-syntax): Remove.
981 (ruby-mode): Don't check whether `syntax-propertize-rules' is
984 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
986 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
988 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
990 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
991 table and abbrev table, `define-derived-mode' does that for us
994 2013-11-01 Glenn Morris <rgm@gnu.org>
996 * Makefile.in: Remove manual mh-e dependencies (writing .elc
997 files is atomic for some time, so no parallel compilation issues).
999 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1001 * faces.el (face-x-resources): Add :distant-foreground.
1002 (region): Use :distant-foreground for gtk and ns.
1004 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1006 Allow multiple bibliographies when BibLaTeX is used rather than
1008 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1009 (reftex-locate-bibliography-files): Us it.
1011 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1013 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1014 allow comments in pbm files.
1016 * term/w32-win.el (dynamic-library-alist): Support newer versions
1017 of libjpeg starting with v7: look only for the DLL from the
1018 version against which Emacs was built.
1019 Support versions of libpng beyond 1.4.x.
1020 Support libtiff v4.x.
1022 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1024 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1025 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1027 (ruby-deep-arglist): Add property :type.
1029 2013-10-31 Glenn Morris <rgm@gnu.org>
1031 * Makefile.in (custom-deps, finder-data): No need to setq the target
1032 variables, we are in the right directory and the defaults work fine.
1034 2013-10-30 Glenn Morris <rgm@gnu.org>
1036 * Makefile.in (autoloads): Do not use abs_lisp.
1038 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1039 `newline' does not respect `standard-output', so use `princ'.
1041 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1043 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1044 * buff-menu.el (Buffer-menu--unmark): New function.
1045 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1047 2013-10-30 Glenn Morris <rgm@gnu.org>
1049 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1051 * emacs-lisp/package.el (lm-homepage): Declare.
1053 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1056 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1058 * Makefile.in (finder-data, autoloads, update-subdirs)
1059 (compile-main, compile-clean, compile-always, bootstrap-clean):
1060 Check return value of cd.
1061 (compile-calc): Remove.
1063 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1065 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1067 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1068 (byte-compile-and-folded): New function.
1069 (=, <, >, <=, >=): Use it.
1071 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1072 (path-separator, null-device, buffer-file-coding-system)
1073 (lpr-headers-switches): Check system-type before modifying them.
1074 (find-buffer-file-type-coding-system): Mark obsolete.
1075 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1076 find-file-not-found-set-buffer-file-coding-system.
1077 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1078 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1079 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1080 (w32-direct-print-region-helper, w32-direct-print-region-function)
1081 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1082 * startup.el (normal-top-level-add-subdirs-to-load-path):
1083 * ps-print.el (ps-print-region-function):
1084 * lpr.el (print-region-function): Use new name.
1086 * subr.el (custom-declare-variable-early): Remove function.
1087 (custom-declare-variable-list): Remove var.
1088 (error, user-error): Remove `while' loop.
1089 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1090 (user-emacs-directory-warning, locate-user-emacs-file):
1092 * simple.el (read-quoted-char-radix, read-quoted-char):
1093 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1095 * custom.el (custom-declare-variable-list): Don't process
1096 custom-declare-variable-list.
1098 * progmodes/python.el (python-shell-get-buffer): New function.
1099 (python-shell-get-process): Use it.
1100 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1101 Python which encoding was used. Don't split-string since we only care
1102 about the first line. Return the temp-file, if applicable.
1103 (python-shell-send-region): Tell compile.el how to turn locations in
1104 the temp-file into locations in the source buffer.
1106 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1108 * subr.el (undefined): Add missing behavior from the C code for
1111 * rect.el: Use lexical-binding. Add new rectangular region support.
1112 (rectangle-mark): New command.
1113 (rectangle--region): New var.
1114 (deactivate-mark-hook): Reset rectangle--region.
1115 (rectangle--extract-region, rectangle--insert-for-yank)
1116 (rectangle--highlight-for-redisplay)
1117 (rectangle--unhighlight-for-redisplay): New functions.
1118 (region-extract-function, redisplay-unhighlight-region-function)
1119 (redisplay-highlight-region-function): Use them to handle
1121 * simple.el (region-extract-function): New var.
1122 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1123 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1124 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1125 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1126 (redisplay-unhighlight-region-function)
1127 (redisplay-highlight-region-function): New vars.
1128 (redisplay--update-region-highlight): New function.
1129 (pre-redisplay-function): Use it.
1130 (exchange-point-and-mark): Don't deactivate the mark before
1131 reactivate-it anyway.
1132 * comint.el (comint-kill-region): Remove yank-handler argument.
1133 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1134 (delete-char): Remove property, since it's now part of their
1136 (self-insert-iso): Remove property since this command doesn't exist.
1138 * emacs-lisp/package.el (package--download-one-archive)
1139 (describe-package-1): Don't query the user about final newline.
1141 2013-10-29 Daniel Colascione <dancol@dancol.org>
1143 * net/tramp.el (tramp-methods): Document new functionality.
1144 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1145 tramp-hostname-checker if method provides one instead of scanning
1146 argument list for "%h" to decide hostname acceptability.
1148 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1150 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1151 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1152 Handle COPY-CONTENTS. (Bug#15737)
1154 2013-10-28 Daiki Ueno <ueno@gnu.org>
1157 (epa-file-cache-passphrase-for-symmetric-encryption):
1158 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1160 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1162 * image.el (defimage):
1163 (image-load-path): Doc fixes.
1165 2013-10-27 Alan Mackenzie <acm@muc.de>
1167 Indent statements in macros following "##" correctly.
1168 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1169 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1171 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1173 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1175 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1177 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1178 after `=' is probably a new expression.
1180 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1182 * man.el (man-imenu-title): New option.
1183 (Man-mode-map): Add menu. (Bug#15722)
1184 (Man-mode): Add imenu to menu.
1186 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1188 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1189 specific in what the first arg can be: a non-keyword word,
1190 string/regexp/percent literal opener, opening paren, or unary
1191 operator followed directly by word.
1193 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1196 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1197 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1198 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1199 Remove vars, they do not apply any more.
1200 (prolog-mode-abbrev-table): Remove redundant declaration.
1201 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1202 (prolog-use-smie): Remove.
1203 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1204 supported by prolog-electric-if-then-else-flag.
1205 (prolog-mode-variables, prolog-menu): Use setq-local.
1206 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1207 Remove binding to `Backspace' since this key doesn't exist anyway.
1208 Remove bindings for electric self-inserting keys.
1209 (prog-mode): Assume it's defined.
1210 (prolog-post-self-insert): New function.
1211 (prolog-mode): Use it.
1212 (prolog-indent-line, prolog-indent-level)
1213 (prolog-find-indent-of-matching-paren)
1214 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1215 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1216 (prolog-goto-next-paren, prolog-in-string-or-comment)
1217 (prolog-tokenize, prolog-inside-mline-comment)
1218 (prolog-find-start-of-mline-comment): Remove functions.
1219 (prolog-find-unmatched-paren, prolog-clause-end)
1220 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1221 (prolog-electric--if-then-else): Rename from
1222 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1223 (prolog-tokenize-searchkey): Remove const.
1224 (prolog-clause-info): Use forward-sexp.
1225 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1226 (prolog-electric-if-then-else): Remove commands.
1227 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1228 for use in post-self-insert-hook.
1229 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1230 for use in post-self-insert-hook.
1231 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1232 for use in post-self-insert-hook.
1233 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1234 adapt it for use in post-self-insert-hook.
1236 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1238 * emacs-lisp/ert.el (ert-run-tests-interactively):
1239 Use `completing-read'. (Bug#9756)
1241 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1243 * simple.el (line-move): Call line-move-1 instead of
1244 line-move-visual when the current window hscroll is zero, but
1245 temporary-goal-column indicates we will need to hscroll as result
1246 of the movement. (Bug#15712)
1248 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1250 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1251 capitalization. Use :visible instead of :active.
1252 Fix `ruby-indent-exp' reference. Add menu items for the generic
1253 commands that are used with SMIE.
1254 (ruby-do-end-to-brace): Insert space after `{'.
1256 2013-10-25 John Anthony <john@jo.hnanthony.com>
1258 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1260 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1262 2013-10-25 Glenn Morris <rgm@gnu.org>
1264 * vc/vc.el (vc-print-log): Don't use a working revision unless
1265 one was explicitly specified. (Bug#15322)
1267 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * subr.el (add-to-list): Preserve return value in compiler-macro
1272 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1274 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1275 result. Ask user to retry using '-all' flag. (Bug#15701)
1277 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * emacs-lisp/smie.el: New smie-config system.
1280 (smie-config): New defcustom.
1281 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1282 (smie-config-guess, smie-config-save): New commands.
1283 (smie-config--mode-local, smie-config--buffer-local)
1284 (smie-config--trace, smie-config--modefuns): New vars.
1285 (smie-config--advice, smie-config--mode-hook)
1286 (smie-config--setter, smie-config-local, smie-config--get-trace)
1287 (smie-config--guess-value, smie-config--guess): New functions.
1288 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1289 text properties. Treat "string fence" syntax like string syntax.
1291 * progmodes/sh-script.el (sh-use-smie): Change default.
1292 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1293 (sh-var-value): Simplify by CSE.
1294 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1295 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1297 (sh-guess-basic-offset): Use cl-incf.
1298 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1300 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1302 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1305 2013-10-24 Glenn Morris <rgm@gnu.org>
1307 * Makefile.in (abs_top_srcdir): Remove.
1308 (update-subdirs): Use relative path to update-subdirs.
1310 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1312 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1313 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1314 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1315 Call unmsys--file-name before expand-file-name, not after it.
1317 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1319 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1320 (ert-test-skipped): New error.
1321 (ert-skip, ert-stats-skipped): New defuns.
1322 (ert--skip-unless): New macro.
1323 (ert-test-skipped): New struct.
1324 (ert--run-test-debugger, ert-test-result-type-p)
1325 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1326 (ert--stats-set-test-and-result, ert-char-for-test-result)
1327 (ert-string-for-test-result, ert-run-tests-batch)
1328 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1329 Handle skipped tests. (Bug#9803)
1331 2013-10-24 Glenn Morris <rgm@gnu.org>
1333 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1335 * Makefile.in (abs_top_srcdir): New, set by configure.
1336 (update-subdirs): Correct build-aux location.
1338 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1340 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1341 value, whether we could auto-deduce `backend', or not.
1343 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1344 with parameters" example. Simplify the "is it block or is it
1345 hash" check, but also make it more thorough.
1347 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1349 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1351 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1356 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1359 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1361 * progmodes/compile.el (compilation-directory-matcher)
1362 (compilation-page-delimiter):
1363 Support GNU Make-4.0 directory quoting. (Bug#15678)
1365 2013-10-23 Leo Liu <sdl.web@gmail.com>
1367 * ido.el (ido-tidy): Handle read-only text.
1369 2013-10-23 Glenn Morris <rgm@gnu.org>
1371 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1372 (emacs, compile, compile-always):
1373 Quote entities that might contain whitespace.
1374 (custom-deps, finder-data, autoloads): Use abs_lisp.
1375 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1376 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1377 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1379 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1381 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1382 Use `following-char'.
1384 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1387 * progmodes/ruby-mode.el (ruby-smie-rules):
1388 Remove corresponding workaround. Fix indentation rule of ";" so it
1389 also applies when ";" is the parent.
1391 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1393 * frame.el (display-screens, display-pixel-height)
1394 (display-pixel-width, display-mm-width, display-backing-store)
1395 (display-save-under, display-planes, display-color-cells)
1396 (display-visual-class, display-monitor-attributes-list):
1397 Mention the optional ‘display’ argument in doc strings.
1399 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1401 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1402 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1404 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1406 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1407 TODO. Add "." after " @ ".
1408 (ruby-smie--at-dot-call): New function. Checks if point at method
1409 call with explicit target.
1410 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1411 to the method name tokens when it precedes them.
1412 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1413 (ruby-smie-rules): Add rule for indentation before and after "."
1416 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1418 * textmodes/remember.el (remember-diary-extract-entries):
1421 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1424 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1426 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1427 (ruby-smie--implicit-semi-p): Add new operator chars.
1429 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1431 (ruby-smie--args-separator-p): Check that there's no newline
1432 between method call and its arguments.
1434 2013-10-20 Alan Mackenzie <acm@muc.de>
1436 Allow comma separated lists after Java "implements".
1438 * progmodes/cc-engine.el (c-backward-over-enum-header):
1440 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1441 from a "disallowed" list in enum fontification.
1443 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1445 * startup.el (default-frame-background-mode): Remove unused defvar.
1447 * progmodes/verilog-mode.el (verilog-mode): Don't set
1448 comment-indent-function globally.
1450 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1452 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1453 Move Info menu item creation to ns-win.el.
1455 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1458 * menu-bar.el: Move GNUStep specific menus...
1460 * term/ns-win.el (ns-initialize-window-system): ... to here.
1462 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * simple.el (newline): Only run post-self-insert-hook when
1465 called interactively.
1467 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1469 * icomplete.el (icomplete-with-completion-tables): Add :version.
1471 2013-10-19 Alan Mackenzie <acm@muc.de>
1473 Fix fontification bugs with constructors and const.
1475 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1476 CASE 2) Remove the check for the absence of a suffix construct
1477 after a function declaration with only types (no identifiers) in
1478 the parentheses. Also, accept a function declaration with just a
1479 type inside the parentheses, if this type can be positively
1480 recognised as such, or if a prefix keyword like "explicit" nails
1481 down the construct as a declaration.
1483 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1485 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1486 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1487 the problem whereby selecting a menu item that leads to a
1488 minibuffer prompt moves the cursor out of the minibuffer window,
1489 making it hard to type at the prompt. Suggested by Stefan Monnier
1490 <monnier@iro.umontreal.ca>.
1492 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1494 * menu-bar.el: Don't make Services menu.
1496 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1498 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1499 (ffap-alist): Use ffap-c++-mode for c++-mode.
1500 (ffap-c++-path): New variable.
1501 (ffap-c++-mode): New function.
1503 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1505 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1507 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1509 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1510 introduced on 2013-09-08, which results in an infinite loop
1511 requesting a password.
1513 2013-10-18 Glenn Morris <rgm@gnu.org>
1515 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1517 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1519 Sync with upstream verilog-mode revision 1a6ecec7.
1520 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1521 (verilog-mode-release-date): Remove.
1522 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1523 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1524 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1525 (verilog-auto-tieoff-ignore-regexp)
1526 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1527 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1528 (verilog-signals-with, verilog-dir-cache-preserving)
1529 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1531 (verilog-case-fold): New option, to control case folding in
1532 regexp searches, bug597.
1533 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1534 (verilog-string-match-fold, verilog-in-paren-count)
1535 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1536 (verilog-at-close-struct-p): New functions.
1537 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1538 (verilog-forward-sexp, verilog-set-auto-endcomments):
1539 (verilog-leap-to-case-head): Handle "unique0" case.
1540 (verilog-in-constraint-re): New constant.
1541 (verilog-keywords, verilog-type-font-keywords):
1542 Add some SystemVerilog 1800-2012 keywords.
1543 (verilog-label-be): Remove unimplemented argument, bug669.
1544 (verilog-batch-execute-func): When batch expanding clear
1545 create-lockfiles to prevent spurious user locks when a file ends
1547 (verilog-calculate-indent, verilog-calc-1)
1548 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1549 (verilog-do-indent): Fix indentation of nested constraints
1551 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1552 (verilog-auto-inst-param): Use verilog-string-match-fold.
1553 (verilog-read-inst-module-matcher):
1554 Fix AUTOINST on gate primitives with #1.
1555 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1556 Reads all user-defined typed variables.
1557 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1558 (verilog-signals-matching-regexp)
1559 (verilog-signals-not-matching-regexp, verilog-auto):
1560 Respect verilog-case-fold.
1561 (verilog-diff-report): Fix line count.
1562 (verilog-auto-assign-modport): Remove unused local `modi'.
1563 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1564 better handle multidimensional arrays.
1565 Fix packed array ports misadding bit index in AUTOINST, bug637.
1566 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1567 to not double-declare existing outputs and inputs, respectively.
1568 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1569 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1570 (verilog-sk-uvm-component): New skeleton.
1571 (verilog-submit-bug-report): Add verilog-case-fold,
1572 remove verilog-mode-release-date.
1574 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1576 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1579 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1581 * textmodes/remember.el (remember): set buffer-offer-save in
1582 remember buffers (bug#13566).
1584 2013-10-18 Daniel Colascione <dancol@dancol.org>
1586 When evaluating forms in ielm, direct standard output to ielm
1587 buffer. Add new ielm-return-for-effect command. Remove trailing
1588 whitespace throughout.
1590 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1591 (ielm-return-for-effect): New command.
1592 (ielm-send-input): Accept optional `for-effect' parameter.
1593 (ielm-eval-input): Accept optional `for-effect' parameter.
1594 Bind `standard-output' to stream we create using
1595 `ielm-standard-output-impl'. Suppress printing result when
1597 (ielm-standard-output-impl): New function.
1598 (inferior-emacs-lisp-mode): Explain new features in documentation.
1600 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1604 * net/tramp.el (tramp-debug-message): Do not check for connection
1606 (tramp-message): Use "vector" connection property.
1608 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1609 (tramp-equal-remote, tramp-eshell-directory-change)
1610 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1611 (tramp-adb-handle-rename-file)
1612 * net/tramp-cmds.el (tramp-list-remote-buffers)
1613 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1614 * net/tramp-compat.el (tramp-compat-process-running-p)
1615 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1616 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1617 (tramp-gvfs-handle-rename-file)
1618 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1619 (tramp-set-file-uid-gid)
1620 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1621 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1624 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1625 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1626 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1627 (tramp-gw-open-network-stream): Suppress unrelated traces.
1629 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1630 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1631 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1632 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1633 connection property.
1635 * net/tramp-cache.el (top): Suppress traces when reading
1638 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1639 Refactor common code. Improve debug message.
1640 (tramp-maybe-open-connection)
1641 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1642 connection buffer too early.
1644 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1645 from `tramp-smb-actions-with-acl'.
1646 (tramp-smb-actions-set-acl): New defconst.
1647 (tramp-smb-handle-copy-directory)
1648 (tramp-smb-action-get-acl): New defun, renamed from
1649 `tramp-smb-action-with-acl'.
1650 (tramp-smb-action-set-acl): New defun.
1651 (tramp-smb-handle-set-file-acl): Rewrite.
1653 2013-10-17 Glenn Morris <rgm@gnu.org>
1655 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1657 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * skeleton.el (skeleton-newline): Remove.
1660 (skeleton-internal-1): Use (insert "\n") instead.
1662 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1665 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1666 forward-sexp-function while we redo its job (bug#15613).
1668 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1670 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1671 represented by lists.
1673 2013-10-16 Glenn Morris <rgm@gnu.org>
1675 * tmm.el (tmm--history): New dynamic variable.
1676 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1678 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1680 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1681 (tramp-smb-errors): Add error messages.
1682 (tramp-smb-actions-with-acl): New defconst.
1683 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1684 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1685 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1686 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1687 (tramp-smb-get-stat-capability): Fix tests.
1689 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1691 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1694 2013-10-16 Glenn Morris <rgm@gnu.org>
1696 * ansi-color.el (ansi-color-drop-regexp):
1697 Add 1J, 1K, 2K. (Bug#15617)
1699 * files.el (hack-local-variables--warned-lexical): New.
1700 (hack-local-variables):
1701 Warn about misplaced lexical-binding. (Bug#15616)
1703 * net/eww.el (eww-render): Always set eww-current-url,
1704 and update header line. (Bug#15622)
1705 (eww-display-html): ... Rather than just doing it here.
1707 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1709 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1710 menu navigations commands.
1712 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1714 * progmodes/subword.el (subword-capitalize): Be careful when
1715 the search for [[:alpha:]] fails (bug#15580).
1717 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1719 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1720 to commands that scroll the menu.
1722 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1724 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1725 Handle methods ending with `?' and `!'.
1727 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1729 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1730 `japanese-cp932' to `cp932' to fix the problem where saving a
1731 source file written in Shift_JIS twice would end up having
1732 `coding: japanese-cp932' which Ruby could not recognize.
1733 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1734 in `ruby-encoding-map'.
1735 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1736 doesn't need to be explicitly declared in magic comment.
1737 (ruby-encoding-map): Add type declaration for better customize UI.
1739 2013-10-13 Glenn Morris <rgm@gnu.org>
1741 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1742 Occur buffers are read-only. http://bugs.debian.org/720775
1744 * emacs-lisp/authors.el (authors-fixed-entries):
1745 Comment out old alpha stuff.
1747 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1749 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1750 to `after-save-hook' instead of `before-save-hook'.
1751 (ruby-mode-set-encoding): Use the value of coding system used to
1752 write the file. Call `basic-save-buffer-1' after modifying the
1755 2013-10-13 Alan Mackenzie <acm@muc.de>
1757 Fix indentation/fontification of Java enum with
1758 "implements"/generic.
1760 * progmodes/cc-engine.el (c-backward-over-enum-header):
1761 Extracted from the three other places and enhanced to handle generics.
1762 (c-inside-bracelist-p): Uses new function above.
1763 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1765 (c-font-lock-enum-tail): Uses new function above.
1767 2013-10-13 Kenichi Handa <handa@gnu.org>
1769 * international/mule-cmds.el (select-safe-coding-system): Remove a
1770 superfluous condition in chekcing whether a coding system is safe
1773 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1775 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1777 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1779 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1781 2013-10-13 Glenn Morris <rgm@gnu.org>
1783 * menu-bar.el (menu-bar-update-buffers):
1784 Unify Buffers menu prompt string. (Bug#15576)
1786 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1788 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1790 (authors-fixed-entries): Use accented form of name.
1792 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1795 method calls (bug#15594).
1796 (ruby-smie--args-separator-p): New function.
1797 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1798 recognize paren-free method calls.
1800 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1801 internals of universal-argument.
1803 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1805 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1806 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1807 dropped menu on second mouse click on the menu bar.
1809 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1812 (explicit-shell-file-name): Declare.
1813 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1814 (sh-completion-at-point-function): New function.
1816 (sh-smie--keyword-p): Remove unused argument.
1817 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1819 (sh-set-shell): Always setup SMIE, even if we use the
1820 old indentation code.
1822 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1824 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1826 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1827 predicate would return nil are almost non-existent.
1828 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1830 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1831 cache also after commands that modify the buffer but don't move
1834 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1836 * env.el (substitute-env-in-file-name): New function.
1837 (substitute-env-vars): Extend the meaning of the optional arg.
1839 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1841 * term/w32-win.el (dynamic-library-alist): Define separate lists
1842 of GIF DLLs for versions before and after 5.0.0 of giflib.
1845 2013-10-10 João Távora <joaotavora@gmail.com>
1847 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1848 not locked, use last revision and current source as
1849 defaults. (Bug#15569)
1851 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1853 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1856 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1858 * window.el (pop-to-buffer-same-window): Fix doc-string.
1861 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1865 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1867 * calendar/icalendar.el (icalendar-import-file):
1868 Fix interactive spec. (Bug#15482)
1870 2013-10-10 Glenn Morris <rgm@gnu.org>
1872 * desktop.el (desktop-save): Default to saving in .emacs.d,
1873 since PWD is no longer in desktop-path by default. (Bug#15319)
1875 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1876 now that text mode has a menu with the same entry.
1877 (menu-bar-text-mode-auto-fill): Remove now unused func.
1878 * textmodes/text-mode.el (text-mode-map):
1879 Use auto-fill help text from menu-bar.el.
1881 2013-10-10 John Anthony <john@jo.hnanthony.com>
1883 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1885 2013-10-09 Juri Linkov <juri@jurta.org>
1887 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1888 instead of this-command-keys. Add universal-argument-more and
1889 universal-argument-minus to the list of prefix commands. (Bug#15568)
1891 2013-10-09 Glenn Morris <rgm@gnu.org>
1893 * vc/vc-svn.el (vc-svn-create-repo):
1894 Expand paths in file://... url. (Bug#15446)
1896 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1898 (authors): Remove unused local variables.
1900 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * profiler.el: Create a more coherent calltree from partial backtraces.
1903 (profiler-format): Hide the tail with `invisible' so that C-s can still
1904 find the hidden elements.
1905 (profiler-calltree-depth): Don't recurse so enthusiastically.
1906 (profiler-function-equal): New hash-table-test.
1907 (profiler-calltree-build-unified): New function.
1908 (profiler-calltree-build): Use it.
1909 (profiler-report-make-name-part): Indent the calltree less.
1910 (profiler-report-mode): Add visibility specs for profiler-format.
1911 (profiler-report-expand-entry, profiler-report-toggle-entry):
1912 Expand the whole subtree when provided with a prefix arg.
1914 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1916 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1918 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1919 hanging iuwu-mod token.
1920 (ruby-smie--forward-token): Do not include a dot after a token in
1922 (ruby-smie--backward-token): Likewise.
1924 2013-10-08 Juri Linkov <juri@jurta.org>
1926 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1927 to isearch-other-control-char.
1928 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1929 and isearch-post-command-hook to post-command-hook.
1930 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1931 and isearch-post-command-hook from post-command-hook.
1932 (isearch-unread-key-sequence)
1933 (isearch-reread-key-sequence-naturally)
1934 (isearch-lookup-scroll-key, isearch-other-control-char)
1935 (isearch-other-meta-char): Remove functions.
1936 (isearch-pre-command-hook, isearch-post-command-hook):
1937 New functions based on isearch-other-meta-char rewritten
1938 relying on the new behavior of overriding-terminal-local-map
1939 that does not replace the local keymaps any more. (Bug#15200)
1941 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1943 Support menus on text-mode terminals.
1944 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1947 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1949 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1950 Move here from mouse.el.
1951 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1953 (tty-menu-navigation-map): New map for TTY menu navigation.
1955 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1957 * frame.el (display-mouse-p): Report text-mode mouse as available
1959 (display-popup-menus-p): Report availability if mouse is
1960 available; don't condition on window-system.
1962 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1963 (tty-menu-selected-face): New faces.
1965 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1967 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1968 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1969 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1970 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1972 (lisp-mode-variables): New `elisp' argument.
1973 (emacs-lisp-mode): Use it.
1974 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1975 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1977 * indent.el: Use lexical-binding.
1978 (indent-region): Add progress reporter.
1979 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1981 (indent--next-tab-stop): New function to implement this behavior.
1982 (tab-to-tab-stop, move-to-tab-stop): Use it.
1984 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1986 * indent.el (indent-rigidly--current-indentation): New function.
1987 (indent-rigidly-map): New var.
1988 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1990 2013-10-08 Bastien Guerry <bzg@gnu.org>
1992 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1994 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1996 * progmodes/perl-mode.el: Use lexical-binding.
1997 Remove redundant :group args.
1998 (perl-nochange): Change default to be closer to other major modes's
2000 (perl-indent-line): Don't consider text on current line as a
2001 valid beginning of function from which to indent.
2003 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2004 with more than one argument (bug#15538).
2006 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2008 * vc/pcvs.el: Use lexical-binding.
2009 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2010 environment of `eval'.
2011 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2012 than a list of expressions. Adjust callers.
2013 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2015 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2017 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2018 case of the dot in a chained method call being on the following line.
2020 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * electric.el (electric-indent-inhibit): New var.
2023 (electric-indent-post-self-insert-function): Use it.
2024 * progmodes/python.el (python-mode): Set it.
2026 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2029 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2031 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2032 (css-mode): Use electric-indent-chars.
2034 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2035 (font-lock-beg, font-lock-end): Move before first use.
2036 (nxml-mode): Use syntax-propertize-function.
2037 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2038 (nxml-extend-after-change-region): Remove.
2039 * nxml/xmltok.el: Use lexical-binding.
2040 (xmltok-save): Use `declare'.
2041 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2042 * nxml/nxml-util.el: Use lexical-binding.
2043 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2045 * nxml/nxml-ns.el: Use lexical-binding.
2046 (nxml-ns-save): Use `declare'.
2047 (nxml-ns-prefixes-for): Avoid add-to-list.
2048 * nxml/rng-match.el: Use lexical-binding.
2049 (rng--ipattern): Use cl-defstruct.
2050 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2051 (rng-cons-group-after, rng-subst-group-after)
2052 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2053 Use closures instead of `(lambda...).
2055 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2057 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2060 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2061 Use `tramp-handle-insert-file-contents'.
2062 (tramp-gvfs-handle-insert-file-contents): Remove function.
2064 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2065 Use `save-restriction' in order to keep markers.
2067 * net/trampver.el: Update release number.
2069 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * progmodes/compile.el (compilation-parse-errors):
2072 Use compilation--put-prop.
2073 (compilation--ensure-parse): Check compilation-multiline.
2075 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2077 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2080 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2082 * progmodes/ruby-mode.el: Fix recently added tests.
2083 (ruby-smie-grammar): Add - and +.
2084 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2085 (ruby-smie--backward-id): New functions.
2086 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2087 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2090 2013-10-07 Leo Liu <sdl.web@gmail.com>
2092 * register.el (register-preview-delay)
2093 (register-preview-functions): New variables.
2094 (register-read-with-preview, register-preview)
2095 (register-describe-oneline): New functions.
2096 (point-to-register, window-configuration-to-register)
2097 (frame-configuration-to-register, jump-to-register)
2098 (number-to-register, view-register, insert-register)
2099 (copy-to-register, append-to-register, prepend-to-register)
2100 (copy-rectangle-to-register): Use register-read-with-preview to
2101 read register. (Bug#15525)
2103 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2105 * net/network-stream.el (network-stream-open-starttls): Don't add
2106 --insecure if it's already present, because that gnutls-cli
2107 rejects getting that parameter twice.
2109 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2111 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2114 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2116 * newcomment.el (comment-use-global-state): Change default value
2117 to t, mark obsolete (Bug#15251).
2118 (comment-beginning): In addition to `comment-to-syntax', check the
2119 value of `comment-use-global-state'.
2121 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2124 (ruby-comment-column): Follow the global default, by default.
2125 (ruby-smie-grammar): Add assignment syntax.
2126 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2127 open-paren, a comma, or a \.
2128 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2129 and line continuations.
2130 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2131 followed by implicit semi-colons. Add rule for string concatenation
2132 and for indentation at BOB.
2133 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2135 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2136 calling next-sexp, since next-token may have skipped chars which
2137 next-sexp doesn't know should be skipped!
2139 2013-10-05 Leo Liu <sdl.web@gmail.com>
2141 * progmodes/octave.el (octave-send-region):
2142 Call compilation-forget-errors.
2144 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2146 * vc/vc-svn.el (vc-svn-find-admin-dir):
2147 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2148 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2149 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2150 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2152 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2154 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2156 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2158 * subr.el (read-passwd): Hide chars even when called within a context
2159 where after-change-functions is disabled (bug#15501).
2160 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2161 until we removed ourself from overriding-terminal-local-map.
2163 2013-10-04 Leo Liu <sdl.web@gmail.com>
2165 * progmodes/octave.el (inferior-octave-mode):
2166 Call compilation-forget-errors.
2168 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2170 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2172 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2174 * net/secrets.el (secrets-create-collection): Add optional
2175 argument ALIAS. Use proper Label keyword. Append ALIAS as
2176 dbus-call-method argument. (Bug#15516)
2178 2013-10-04 Leo Liu <sdl.web@gmail.com>
2180 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2181 (inferior-octave-compilation-font-lock-keywords): New variables.
2182 (compilation-error-regexp-alist)
2183 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2184 (inferior-octave-mode): Use compilation-shell-minor-mode.
2186 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2188 * minibuffer.el (completion--replace): Be careful that `end' might be
2191 2013-10-03 Daiki Ueno <ueno@gnu.org>
2193 Add support for package signature checking.
2194 * emacs-lisp/package.el (url-http-file-exists-p)
2195 (epg-make-context, epg-context-set-home-directory)
2196 (epg-verify-string, epg-context-result-for)
2197 (epg-signature-status, epg-signature-to-string)
2198 (epg-check-configuration, epg-configuration)
2199 (epg-import-keys-from-file): Declare.
2200 (package-check-signature): New user option.
2201 (package-unsigned-archives): New user option.
2202 (package-desc): Add `signed' field.
2203 (package-load-descriptor): Set `signed' field if .signed file exists.
2204 (package--archive-file-exists-p): New function.
2205 (package--check-signature): New function.
2206 (package-install-from-archive): Check package signature.
2207 (package--download-one-archive): Check archive signature.
2208 (package-delete): Remove .signed file.
2209 (package-import-keyring): New command.
2210 (package-refresh-contents): Import default keyring.
2211 (package-desc-status): Add "unsigned" status.
2212 (describe-package-1, package-menu--print-info)
2213 (package-menu-mark-delete, package-menu--find-upgrades)
2214 (package-menu--status-predicate): Support "unsigned" status.
2216 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2219 the new compilation scheme using the new byte-codes.
2221 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2222 (byte-pophandler): New byte codes.
2223 (byte-goto-ops): Adjust accordingly.
2224 (byte-compile--use-old-handlers): New var.
2225 (byte-compile-catch): Use new byte codes depending on
2226 byte-compile--use-old-handlers.
2227 (byte-compile-condition-case--old): Rename from
2228 byte-compile-condition-case.
2229 (byte-compile-condition-case--new): New function.
2230 (byte-compile-condition-case): New function that dispatches depending
2231 on byte-compile--use-old-handlers.
2232 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2235 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2236 Optimize under `condition-case' and `catch' if
2237 byte-compile--use-old-handlers is nil.
2238 (disassemble-offset): Handle new bytecodes.
2240 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2242 * subr.el (error): Use `declare'.
2243 (decode-char, encode-char): Use advertised-calling-convention instead
2244 of the docstring to discourage use of the `restriction' arg.
2246 2013-10-03 Daiki Ueno <ueno@gnu.org>
2248 * epg.el (epg-verify-file): Add a comment saying that it does not
2249 notify verification error as a return value nor a signal.
2250 (epg-verify-string): Ditto.
2252 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2254 * progmodes/compile.el (compilation-start): Try globbing the arg to
2257 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2259 Sync with Tramp 2.2.8.
2261 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2262 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2263 * net/trampver.el: Update release number.
2265 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2267 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2268 and default-process-coding-system for darwin only.
2270 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2274 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2276 * vc/vc-git.el (vc-git-grep): Disable pager.
2278 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2280 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2281 Use :url instead of :homepage, as per
2282 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2284 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2285 non-nil, use `syntax-ppss' (Bug#15251).
2287 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2289 * progmodes/octave.el (inferior-octave-startup-file):
2290 Prefer ~/.emacs.d/init_octave.m.
2292 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2294 * emacs-lisp/package.el (package-desc-from-define):
2295 Accept additional arguments as plist, convert them to an alist and store
2296 them in the `extras' slot.
2297 (package-generate-description-file): Convert extras alist back to
2298 plist and append to the `define-package' form arguments.
2299 (package--alist-to-plist): New function.
2300 (package--ac-desc): Add `extras' slot.
2301 (package--add-to-archive-contents): Check if the archive-contents
2302 vector is long enough, and if it is, pass its `extras' slot value
2303 to `package-desc-create'.
2304 (package-buffer-info): Call `lm-homepage', pass the returned value
2305 to `package-desc-from-define'.
2306 (describe-package-1): Render the homepage button (Bug#13291).
2308 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2309 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2311 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2313 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2314 and default-process-coding-system to utf-8-unix (Bug#15402).
2316 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2318 * subr.el (looking-back): Do not recommend using looking-back.
2320 2013-09-28 Alan Mackenzie <acm@muc.de>
2322 Fix indentation/fontification of Java enum with "implements".
2324 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2325 regexp which matches "implements", etc., in Java.
2326 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2327 specifier clauses coming after "enum".
2328 * progmodes/cc-fonts.el (c-font-lock-declarations)
2329 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2332 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2334 * faces.el (region): Change ns_selection_color to
2335 ns_selection_fg_color, add ns_selection_bg_color.
2337 2013-09-28 Leo Liu <sdl.web@gmail.com>
2339 * progmodes/octave.el (inferior-octave-completion-table)
2340 (inferior-octave-completion-at-point): Minor tweaks.
2342 * textmodes/ispell.el (ispell-lookup-words): Rename from
2343 lookup-words. (Bug#15460)
2344 (lookup-words): Obsolete.
2345 (ispell-complete-word, ispell-command-loop): All uses changed.
2347 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2349 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2350 (octave-mode-menu): Add octave-send-buffer.
2351 (octave-send-buffer): New function.
2353 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2355 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2357 (octave-mode-menu): Add octave-lookfor.
2358 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2360 (octave-lookfor): New function.
2362 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * emacs-lisp/cl-macs.el:
2365 (cl--loop-destr-temps): Remove.
2366 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2368 (cl--loop-set-iterator-function): New function.
2369 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2370 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2371 Bind `it' with `let' instead of substituting it with `cl-subst'.
2372 (cl--unused-var-p): New function.
2373 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2374 Eliminate some unused variable warnings (bug#15326).
2376 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2378 * doc-view.el (doc-view-scale-reset): Rename from
2379 `doc-view-reset-zoom-level'.
2380 (doc-view-scale-adjust): New command.
2381 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2382 `doc-view-scale-adjust'.
2384 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2386 * doc-view.el (doc-view-reset-zoom-level): New command.
2387 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2388 zoom commands (bug#15466).
2390 2013-09-26 Kenichi Handa <handa@gnu.org>
2392 * international/quail.el (quail-help): Make it not a command.
2394 2013-09-26 Leo Liu <sdl.web@gmail.com>
2396 * minibuffer.el (completion-all-sorted-completions): Make args
2397 optional as they are.
2399 2013-09-25 Daniel Colascione <dancol@dancol.org>
2401 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2402 specs are and that they're not evaluated.
2404 2013-09-24 Sam Steingold <sds@gnu.org>
2406 * midnight.el (clean-buffer-list-kill-regexps)
2407 (clean-buffer-list-kill-buffer-names): Update for the new Man
2408 buffer naming which includes the object name.
2410 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2413 (eshell-parse-command, eshell-parse-pipeline): Use it since
2414 eshell-separate-commands requires a dynamic scoped var.
2415 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2417 2013-09-23 Leo Liu <sdl.web@gmail.com>
2419 * autoinsert.el (auto-insert-alist): Make the value of
2420 lexical-binding match its file setting.
2422 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2424 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2426 * autoarg.el (autoarg-kp-digit-argument):
2427 * electric.el (Electric-command-loop):
2428 * kmacro.el (kmacro-step-edit-insert):
2429 Do not set universal-argument-num-events.
2431 2013-09-22 Leo Liu <sdl.web@gmail.com>
2433 * files.el (interpreter-mode-alist): Add octave.
2435 2013-09-21 Alan Mackenzie <acm@muc.de>
2437 C++: fontify identifier in declaration following "public:" correctly.
2438 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2439 to match "public", etc.
2440 (c-decl-prefix-re): Add ":" into the C++ value.
2441 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2442 bit. Add a check for a ":" preceded by "public", etc.
2444 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2446 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2447 recognized by GDB 7.5 and later.
2449 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2451 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2453 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2455 * subr.el (internal--call-interactively): New const.
2456 (called-interactively-p): Use it (bug#3984).
2458 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2460 * vc/pcvs.el (cvs-mode-ignore):
2461 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2462 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2464 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2467 (eshell-ls-orig-insert-directory): Remove.
2468 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2469 (eshell-ls-use-in-dired): Use advice-add/remove.
2470 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2471 Add `orig-fun' arg for use in :around advice.
2472 Make it check (redundantly) eshell-ls-use-in-dired.
2474 2013-09-19 Glenn Morris <rgm@gnu.org>
2476 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2478 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2480 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2482 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2484 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2485 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2486 (tramp-get-remote-python): New defuns.
2487 (tramp-get-remote-uid-with-perl)
2488 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2489 contributed by yary <not.com@gmail.com> (tiny change).
2490 (tramp-get-remote-uid-with-python)
2491 (tramp-get-remote-gid-with-python): New defuns. Python code
2492 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2493 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2495 2013-09-19 Glenn Morris <rgm@gnu.org>
2497 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2499 * eshell/em-unix.el (eshell-remove-entries):
2500 Rename argument to avoid name-clash with global `top-level'.
2502 * eshell/esh-proc.el (eshell-kill-process-function):
2503 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2504 (eshell-reset-after-proc): Remove unused arg `proc'.
2506 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2507 (directory-files-and-attributes): Mark unused arg.
2509 * eshell/em-unix.el (eshell-remove-entries):
2510 Remove unused arg `path'. Update callers.
2512 * eshell/em-hist.el (eshell-hist-parse-arguments):
2513 Remove unused arg `silent'. Update callers.
2515 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2516 Fix (f)boundp mix-up.
2518 * eshell/em-smart.el (eshell-smart-scroll-window)
2519 (eshell-disable-after-change):
2520 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2522 2013-09-18 Alan Mackenzie <acm@muc.de>
2524 Fix fontification of type when followed by "const".
2525 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2526 "known" types from fontification.
2528 2013-09-18 Glenn Morris <rgm@gnu.org>
2530 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2531 (chart-face-list): Drop Emacsen without display-color-p.
2533 * net/eww.el (libxml-parse-html-region): Declare.
2534 (eww-display-html): Explicit error if no libxml2 support.
2536 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2538 * image.el (image-type-from-buffer, image-multi-frame-p):
2539 Remove --without-x warning/error.
2541 * mouse.el (mouse-yank-primary):
2542 * term.el (term-mouse-paste):
2543 Reorder to silence --without-x compilation.
2545 * mpc.el (doc-view-mode): Silence --without-x compilation.
2547 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2548 Silence --without-x compilation.
2550 * progmodes/gud.el (gud-find-file, gud-mode):
2551 Silence --without-x compilation.
2552 (tooltip-mode): Declare.
2554 * wdired.el (dired-backup-overwrite): Remove declaration.
2555 (wdired-mode-map): Add doc string.
2557 * custom.el (x-get-resource): Declare.
2559 * eshell/em-glob.el (ange-cache):
2560 * eshell/em-unix.el (ange-cache): Declare.
2562 * faces.el (x-display-list, x-open-connection, x-get-resource):
2565 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2566 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2569 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2571 * net/gnutls.el (gnutls-log-level): Declare.
2573 * net/shr.el (image-size, image-animate): Declare.
2575 * simple.el (font-info): Declare.
2577 * subr.el (x-popup-dialog): Declare.
2579 * term/common-win.el (x-select-enable-primary)
2580 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2583 * term/ns-win.el (x-handle-args): Declare.
2585 * term/x-win.el (x-select-enable-clipboard): Declare.
2587 * term/w32-win.el (create-default-fontset): Declare.
2589 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2592 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2593 (fit-frame-to-buffer): Explicit error if --without-x.
2594 (mouse-autoselect-window-select): Silence compiler.
2596 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2598 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2599 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2600 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2601 * eshell/esh-util.el (eshell-sublist):
2602 Remove unused local variables.
2604 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2606 * textmodes/two-column.el: Make 2C-split work for --without-x.
2607 (scroll-bar-columns): Autoload.
2608 (top-level): Require fringe when compiling.
2610 2013-09-18 Leo Liu <sdl.web@gmail.com>
2612 * subr.el (add-hook): Robustify to handle closure as well.
2614 2013-09-17 Glenn Morris <rgm@gnu.org>
2616 * simple.el (messages-buffer-mode-map): Unbind "g".
2618 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * help-mode.el (help-mode-finish): Use derived-mode-p.
2621 Remove obsolete highlighting.
2623 * play/life.el (life-mode): Use define-derived-mode. Derive from
2625 (life): Let-bind inhibit-read-only.
2626 (life-setup): Avoid `setq'. Use `life-mode'.
2628 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2629 which should not be needed any more.
2630 (package-menu-refresh, package-menu-describe-package): Use user-error.
2632 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2633 (eshell-post-rewrite-command-hook): Make obsolete.
2634 (eshell-parse-command): Simplify.
2635 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2636 (eshell--cmd): Declare.
2637 (eshell-parse-pipeline): Remove unused var `final-p'.
2638 Pass a dynvar to eshell-post-rewrite-command-hook.
2639 Implement the new eshell-post-rewrite-command-function.
2640 (eshell-invoke-directly): Remove unused arg `input'.
2641 * eshell/esh-io.el (eshell-io-initialize):
2642 Use eshell-post-rewrite-command-function (bug#15399).
2643 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2644 adjust to new calling convention.
2645 (eshell-create-handles): Rename args to avoid clashing with dynvar
2648 2013-09-17 Glenn Morris <rgm@gnu.org>
2650 * simple.el (messages-buffer-mode): New major mode.
2651 (messages-buffer): New function.
2652 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2653 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2654 (ert-run-test): Use `messages-buffer' function.
2655 (ert--force-message-log-buffer-truncation): Ignore read-only.
2656 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2657 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2659 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2663 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2665 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2667 * icomplete.el (icomplete-in-buffer): New var.
2668 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2669 vars and replace them with functions.
2670 (icomplete-minibuffer-setup): Adjust accordingly.
2671 (icomplete--completion-table, icomplete--completion-predicate)
2672 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2674 (icomplete-forward-completions, icomplete-backward-completions)
2675 (icomplete-simple-completing-p, icomplete-exhibit)
2676 (icomplete-completions): Use them.
2677 (icomplete--in-region-buffer): New var.
2678 (icomplete--in-region-setup): New function.
2679 (icomplete-mode): Use it.
2681 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2683 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2684 return args and options.
2685 (eshell-eval-using-options): Use the new return value of
2686 eshell--do-opts to set the options's vars in their scope.
2687 (eshell--set-option): Rename from eshell-set-option.
2689 (eshell--process-option): Rename from eshell-process-option.
2691 (eshell--process-args): Use an `opt-vals' alist to store the options's
2692 values during their processing and return them additionally to the
2695 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2697 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2698 continuation character an operator, as far as indentation is
2699 concerned (Bug#15369).
2701 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2703 * window.el (window--state-put-2): Don't process buffer state
2704 when buffer doesn't exist any more (Bug#15382).
2706 2013-09-15 Glenn Morris <rgm@gnu.org>
2708 * eshell/em-unix.el (eshell/rm):
2709 Make -f ignore missing files. (Bug#15373)
2711 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2712 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2713 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2715 2013-09-14 Glenn Morris <rgm@gnu.org>
2717 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2719 2013-09-13 Glenn Morris <rgm@gnu.org>
2721 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2722 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2724 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2726 * frame.el (x-focus-frame): Mark as declared in frame.c.
2728 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2730 * ls-lisp.el: Use advice-add.
2731 (original-insert-directory): Remove.
2732 (ls-lisp--insert-directory): Rename from insert-directory; add
2733 `orig-fun' argument.
2734 (insert-directory): Advise.
2736 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2738 * term.el (term-emulate-terminal): Decode the command string
2739 before passing it to term-command-hook. (Bug#15337)
2741 2013-09-13 Glenn Morris <rgm@gnu.org>
2743 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2745 * eshell/esh-ext.el (eshell-search-path): Declare.
2747 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2748 Otherwise an error occurs if eshell-dirs module not loaded.
2750 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2752 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2754 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2755 `tramp-check-proper-host'. Check for a valid method name.
2757 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2758 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2759 * net/tramp-sh.el (tramp-maybe-open-connection):
2760 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2762 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2763 also for hash values.
2765 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * term/ns-win.el (parameters): Don't declare as dynamic.
2768 (before-make-frame-hook): Don't add ineffective function.
2770 * eshell/*.el: Use lexical-binding (bug#15231).
2772 2013-09-12 Kenichi Handa <handa@gnu.org>
2774 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2776 2013-09-12 Glenn Morris <rgm@gnu.org>
2778 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2779 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2781 * subr.el (do-after-load-evaluation): Also give compiler warnings
2782 when obsolete files are used (except by obsolete files).
2784 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2785 in the status output, assume `filename' is the first. (Bug#15322)
2787 * vc/vc.el (vc-deduce-fileset): Doc fix.
2789 * calc/calc-help.el (Info-goto-node):
2790 * progmodes/cperl-mode.el (Info-find-node):
2791 * vc/ediff.el (Info-goto-node): Update declarations.
2793 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2795 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2796 (vc-bzr-pull): Require vc-dispatcher.
2797 * vc/vc-git.el (vc-compilation-mode): Declare.
2798 (vc-git-pull): Require vc-dispatcher.
2800 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2802 * progmodes/octave.el (help-button-action): Declare.
2804 * shell.el (shell-directory-tracker): Output error as a message
2805 rather than just returning it as a string.
2806 (shell-process-pushd): Remove useless use of message.
2808 * dframe.el (dframe-timer-fn):
2809 * files.el (dir-locals-read-from-file):
2810 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2812 * reveal.el (reveal-post-command):
2813 * saveplace.el (load-save-place-alist-from-file):
2814 * shell.el (shell-resync-dirs):
2815 * w32-common-fns.el (x-get-selection-value):
2816 * emacs-lisp/copyright.el (copyright-find-copyright):
2817 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2818 * emulation/tpu-edt.el (tpu-copy-keyfile):
2819 * play/bubbles.el (bubbles--mark-neighbourhood):
2820 * progmodes/executable.el
2821 (executable-make-buffer-file-executable-if-script-p):
2822 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2824 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2826 Cleanup Eshell to rely less on dynamic scoping.
2827 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2828 last-value, and ext-command here. Bind `args' closer to `body'.
2829 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2830 (eshell--args): Declare new dynamic var.
2831 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2832 last-value, and ext-command. Pass `args' to `body'.
2833 (eshell-process-args): Bind eshell--args.
2834 (eshell-set-option): Use eshell--args.
2835 * eshell/eshell.el (eshell): Use derived-mode-p.
2836 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2837 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2838 (eshell-glob-function): Declare.
2839 * eshell/esh-util.el: Require cl-lib.
2840 (eshell-read-hosts-file): Avoid add-to-list.
2841 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2843 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2845 (eshell/diff): Remove unused var `err'.
2846 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2848 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2849 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2851 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2852 Move declaration before first use.
2853 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2854 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2857 2013-09-12 Glenn Morris <rgm@gnu.org>
2859 * term/ns-win.el (global-map): Remove binding for ispell-next,
2860 deleted 1999-05-29. (Bug#15357)
2862 2013-09-11 Glenn Morris <rgm@gnu.org>
2864 * echistory.el (electric-command-history): Remove call to deleted func.
2866 * play/landmark.el (landmark-mode): Fix typos.
2868 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2869 Check cvs-sort-ignore-file is bound.
2871 * savehist.el: No need for cl when compiling on Emacs.
2873 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2877 (eshell-self-insert-command, eshell-send-invisible):
2878 Remove unused argument.
2879 (eshell-handle-control-codes): Remove unused var `orig'.
2880 Avoid delete-backward-char.
2882 * files.el (set-auto-mode): Simplify a bit further.
2884 2013-09-11 Glenn Morris <rgm@gnu.org>
2886 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2887 (set-auto-mode): Don't regexp-quote elements.
2888 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2889 * progmodes/cc-mode.el (interpreter-mode-alist):
2890 * progmodes/ruby-mode.el (interpreter-mode-alist):
2891 Revert previous change.
2893 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2895 * play/snake.el (snake-mode):
2896 * play/mpuz.el (mpuz-mode):
2897 * play/landmark.el (lm-mode):
2898 * play/blackbox.el (blackbox-mode):
2899 * play/5x5.el (5x5-mode):
2900 * obsolete/options.el (Edit-options-mode):
2901 * net/quickurl.el (quickurl-list-mode):
2902 * net/newst-treeview.el (newsticker-treeview-mode):
2903 * mail/rmailsum.el (rmail-summary-mode):
2904 * mail/mspools.el (mspools-mode):
2905 * locate.el (locate-mode):
2906 * ibuffer.el (ibuffer-mode):
2907 * emulation/ws-mode.el (wordstar-mode):
2908 * emacs-lisp/debug.el (debugger-mode):
2909 * array.el (array-mode):
2910 * net/eudc.el (eudc-mode): Use define-derived-mode.
2911 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2912 Move initialization into declaration.
2913 (mairix-searches-mode): Use define-derived-mode.
2914 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2915 (eudc-edit-hotlist): Use dolist.
2916 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2917 (Man-mode): Use define-derived-mode.
2918 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2919 (Info-edit-mode): Use define-derived-mode.
2920 (Info-cease-edit): Use Info-mode.
2921 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2923 (eshell-mode): Use define-derived-mode.
2924 * chistory.el (command-history-mode-map): Rename from
2925 command-history-map.
2926 (command-history-mode): Use define-derived-mode.
2927 (Command-history-setup): Remove function.
2928 * calc/calc.el (calc-trail-mode-map): New var.
2929 (calc-trail-mode): Use define-derived-mode.
2930 (calc-trail-buffer): Set calc-main-buffer manually.
2931 * bookmark.el (bookmark-insert-annotation): New function.
2932 (bookmark-edit-annotation): Use it.
2933 (bookmark-edit-annotation-mode): Make it a proper major mode.
2934 (bookmark-send-edited-annotation): Use derived-mode-p.
2935 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2936 closer to its ideal place. Use \' to match EOS.
2938 * profiler.el (profiler-calltree-find): Use function-equal.
2940 2013-09-10 Glenn Morris <rgm@gnu.org>
2942 * files.el (interpreter-mode-alist): Convert to regexps.
2943 (set-auto-mode): Adapt for this. (Bug#15306)
2944 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2945 Comment out unused variable.
2946 * progmodes/cc-mode.el (interpreter-mode-alist):
2947 * progmodes/python.el (interpreter-mode-alist):
2948 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2949 * progmodes/sh-script.el (sh-set-shell):
2950 No longer use interpreter-mode-alist to get list of shells.
2952 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2954 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2956 * simple.el: Use set-temporary-overlay-map for universal-argument.
2957 (universal-argument-map): Don't use default-bindings (bug#15317).
2958 Bind switch-frame explicitly. Replace universal-argument-minus with
2959 a conditional binding.
2960 (universal-argument-num-events, saved-overriding-map): Remove.
2961 (restore-overriding-map): Remove.
2962 (universal-argument--mode): Rename from save&set-overriding-map,
2964 (universal-argument, universal-argument-more, negative-argument)
2965 (digit-argument): Adjust accordingly.
2966 (universal-argument-minus): Remove.
2967 (universal-argument-other-key): Remove.
2969 * subr.el (with-demoted-errors): Add `format' argument.
2971 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2973 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2974 `tramp-cleanup-connection'.
2976 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2977 parameters KEEP-DEBUG and KEEP-PASSWORD.
2979 * net/tramp.el (tramp-file-name-handler):
2980 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2981 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2982 (tramp-maybe-open-connection):
2983 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2984 Use `tramp-cleanup-connection'.
2986 * net/tramp-sh.el (tramp-maybe-open-connection):
2987 Catch 'uname-changed inside the progress reporter.
2989 2013-09-10 Glenn Morris <rgm@gnu.org>
2991 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2993 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2994 returns "alternate access method" in mode (eg "-rw-r--r--.").
2996 2013-09-08 Glenn Morris <rgm@gnu.org>
2998 * saveplace.el (load-save-place-alist-from-file):
2999 Demote errors. (Bug#15305)
3001 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3003 Improve compatibility with older Emacsen, and XEmacs.
3005 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3006 only if it is bound. It isn't for XEmacs.
3007 (with-tramp-progress-reporter): Do not let-bind `result'.
3008 This yields to scoping errors in XEmacs.
3009 (tramp-handle-make-auto-save-file-name): New function, moved from
3012 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3013 for `make-auto-save-file-name'.
3014 (tramp-adb--gnu-switches-to-ash):
3015 Use `tramp-compat-replace-regexp-in-string'.
3017 * net/tramp-cache.el (tramp-cache-print): Call
3018 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3020 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3021 bound. It isn't for XEmacs.
3023 * net/tramp-compat.el (tramp-compat-copy-file):
3024 Catch `wrong-number-of-arguments' error.
3025 (tramp-compat-replace-regexp-in-string): New defun.
3027 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3028 for `make-auto-save-file-name'.
3029 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3031 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3032 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3033 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3035 * net/tramp-gw.el (tramp-gw-open-network-stream):
3036 Use `tramp-compat-replace-regexp-in-string'.
3038 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3039 Call `tramp-handle-make-auto-save-file-name'.
3040 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3041 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3042 (tramp-sh-file-inotifywait-process-filter):
3043 Use `tramp-compat-replace-regexp-in-string'.
3044 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3046 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3047 for `make-auto-save-file-name'.
3048 (tramp-smb-handle-copy-directory):
3049 Call `tramp-compat-replace-regexp-in-string'.
3050 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3051 (tramp-smb-handle-copy-file): Improve error message.
3052 (tramp-smb-handle-rename-file): Rename directly only in case
3053 `newname' does not exist yet. This is a restriction of smbclient.
3054 (tramp-smb-maybe-open-connection): Rerun the function only when
3055 `auth-sources' is non-nil.
3057 2013-09-08 Kenichi Handa <handa@gnu.org>
3059 * international/characters.el: Set category "^" (Combining) for
3062 2013-09-07 Alan Mackenzie <acm@muc.de>
3064 Correctly fontify Java class constructors.
3065 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3067 (c-recognize-typeless-decls): Set the Java value to t.
3068 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3069 While handling a "(", add a check for, effectively, Java, and handle a
3070 "typeless" declaration there.
3072 2013-09-07 Roland Winkler <winkler@gnu.org>
3074 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3075 field subtitle for entry type book.
3077 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * minibuffer.el: Make minibuffer-complete call completion-in-region
3080 rather than other way around.
3081 (completion--some, completion-pcm--find-all-completions):
3082 Don't delay signals when debugging.
3083 (minibuffer-completion-contents): Beware fields within the
3084 minibuffer contents.
3085 (completion-all-sorted-completions): Use defvar-local.
3086 (completion--do-completion, completion--cache-all-sorted-completions)
3087 (completion-all-sorted-completions, minibuffer-force-complete):
3088 Add args `beg' and `end'.
3089 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3090 (minibuffer-complete): Use completion-in-region.
3091 (completion-complete-and-exit): New fun, extracted from
3092 minibuffer-complete-and-exit.
3093 (minibuffer-complete-and-exit): Use it.
3094 (completion--complete-and-exit): Rename from
3095 minibuffer--complete-and-exit.
3096 (completion-in-region--single-word): New function, extracted from
3097 minibuffer-complete-word.
3098 (minibuffer-complete-word): Use it.
3099 (display-completion-list): Make `common-substring' argument obsolete.
3100 (completion--in-region): Call completion--in-region-1 instead of
3101 minibuffer-complete.
3102 (completion-help-at-point): Pass boundaries to
3103 minibuffer-completion-help as args rather than via an overlay.
3104 (completion-pcm--string->pattern): Use `any-delim'.
3105 (completion-pcm--optimize-pattern): New function.
3106 (completion-pcm--pattern->regex): Handle `any-delim'.
3107 * icomplete.el (icomplete-forward-completions)
3108 (icomplete-backward-completions, icomplete-completions):
3109 Adjust calls to completion-all-sorted-completions and
3110 completion--cache-all-sorted-completions.
3111 (icomplete-with-completion-tables): Default to t.
3112 * emacs-lisp/crm.el (crm--current-element): Rename from
3113 crm--select-current-element. Don't put an overlay but return the
3115 (crm--completion-command): Take two new args to bind to the boundaries.
3116 (crm-completion-help): Adjust accordingly.
3117 (crm-complete): Use completion-in-region.
3118 (crm-complete-word): Use completion-in-region--single-word.
3119 (crm-complete-and-exit): Use completion-complete-and-exit.
3121 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3126 2013-09-06 Juri Linkov <juri@jurta.org>
3128 * info.el (Info-display-images-node): When image file doesn't exist
3129 display text version of the image if it's provided in the Info file.
3130 Otherwise, display the location of missing image from SRC attribute.
3131 Add help-echo text property from ALT attribute. (Bug#15279)
3133 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3136 (edit-abbrevs-mode): Use define-derived-mode.
3138 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3139 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3141 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3142 Use define-derived-mode.
3144 * epg.el (epg-start-encrypt): Minor CSE simplification.
3146 2013-09-06 William Xu <william.xwl@gmail.com>
3148 * arc-mode.el: Add support for 7za (bug#15264).
3149 (archive-7z-program): New var.
3150 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3151 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3152 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3154 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3158 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3159 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3160 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3161 (tramp-postfix-host-format, tramp-file-name-regexp)
3162 (tramp-completion-file-name-regexp)
3163 (tramp-completion-dissect-file-name)
3164 (tramp-handle-substitute-in-file-name): Remove 'url case.
3165 (tramp-file-name-regexp-url)
3166 (tramp-completion-file-name-regexp-url): Remove constants.
3168 2013-09-06 Glenn Morris <rgm@gnu.org>
3170 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3172 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3175 keywords" below "here-doc beginnings" (Bug#15270).
3177 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3179 * subr.el (pop): Use `car-safe'.
3180 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3181 to detect unused `pop' return value.
3183 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3185 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3186 (python-fill-string): Remove unused var `marker'.
3187 (python-skeleton-add-menu-items): Remove unused var `items'.
3189 * international/mule-cmds.el: Require CL.
3190 (find-coding-systems-for-charsets): Avoid add-to-list.
3191 (sanitize-coding-system-list): New function, extracted from
3192 select-safe-coding-system-interactively.
3193 (select-safe-coding-system-interactively): Use it.
3194 (read-input-method-name): Accept symbols for `default'.
3196 * emacs-lisp/advice.el (defadvice): Add indent rule.
3198 2013-09-05 Daniel Hackney <dan@haxney.org>
3202 * net/browse-url.el:
3205 * net/eudcb-ldap.el:
3218 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3219 byte compiler. Remove some unused let-bound variables.
3221 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3224 a "ref-cell", since it gets better optimized (bug#14883).
3226 2013-09-05 Glenn Morris <rgm@gnu.org>
3228 * progmodes/cc-awk.el (c-forward-sws): Declare.
3230 2013-09-04 Glenn Morris <rgm@gnu.org>
3232 * generic-x.el [rul-generic-mode]: Require cc-mode.
3233 (c++-mode-syntax-table): Declare.
3234 (rul-generic-mode-syntax-table): Init in the defvar.
3236 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3238 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3239 (vc-do-command, vc-set-async-update):
3240 * vc/vc-mtn.el (vc-mtn-dir-status):
3241 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3242 (vc-hg-pull, vc-hg-merge-branch):
3243 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3244 (vc-git-merge-branch):
3245 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3246 (vc-cvs-dir-status-files):
3247 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3248 (vc-bzr-dir-status-files):
3249 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3250 * vc/vc-annotate.el: Use lexical-binding.
3251 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3252 (vc-sentinel-movepoint): Declare.
3253 (vc-annotate): Don't use `goto-line'.
3254 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3255 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3256 (vc-sentinel-movepoint): Declare.
3257 * vc/vc-svn.el: Use lexical-binding.
3258 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3260 * vc/vc-rcs.el: Use lexical-binding.
3262 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3263 `deleted'. Don't drop errors silently.
3265 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3267 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3269 * vc/vc.el (vc-ignore): Rewrite.
3270 (vc-default-ignore): New function.
3271 (vc-default-ignore-completion-table): Use find-ignore-file.
3273 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3274 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3275 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3276 Remove. Most code moved to vc.el.
3278 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3281 * net/tramp-smb.el (tramp-smb-get-file-entries):
3282 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3283 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3285 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3287 (eww-change-select): Remove unused var `properties'.
3288 (eww-make-unique-file-name): Remove unused var `base'.
3290 * finder.el (finder-compile-keywords): Don't mess with windows.
3292 * calculator.el (calculator-funcall): Fix typo in last change.
3294 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3296 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3297 <pkg>-autoloads.el file stop us.
3299 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3300 warnings, and factor out common code.
3302 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3304 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3305 two-character operators and whether the character preceding them
3306 changes their meaning (Bug#15208).
3308 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3310 Format code sent to Python shell for robustness.
3311 * progmodes/python.el (python-shell-buffer-substring):
3313 (python-shell-send-region, python-shell-send-buffer): Use it.
3315 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3317 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3318 * net/tramp.el (tramp-user-error): ... here.
3319 (tramp-find-method, tramp-check-proper-host)
3320 (tramp-dissect-file-name, tramp-debug-message)
3321 (tramp-handle-shell-command):
3322 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3323 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3325 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3327 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3329 * avoid.el (mouse-avoidance-point-position)
3330 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3333 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3335 * progmodes/python.el (python-shell-completion-get-completions):
3336 Drop use of deleted `comint-last-prompt-overlay'.
3337 (python-nav-if-name-main): New command.
3339 2013-09-01 Glenn Morris <rgm@gnu.org>
3341 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3342 Avoid leading space in $wins. Otherwise the sed command used by
3343 eg compile-main ends up containing "/*.el". (Bug#15170)
3345 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3347 2013-08-30 Glenn Morris <rgm@gnu.org>
3349 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3350 Fix is-this-a-directory logic. (Bug#15220)
3352 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * textmodes/css-mode.el: Use SMIE.
3355 (css-smie-grammar): New var.
3356 (css-smie--forward-token, css-smie--backward-token)
3357 (css-smie-rules): New functions.
3358 (css-mode): Use them.
3359 (css-navigation-syntax-table): Remove var.
3360 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3361 (css-indent-calculate, css-indent-line): Remove functions.
3363 Misc changes to reduce use of `(lambda...); and other cleanups.
3364 * cus-edit.el: Use lexical-binding.
3365 (customize-push-and-save, customize-apropos)
3366 (custom-buffer-create-internal): Use closures.
3367 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3368 * progmodes/ada-xref.el: Use setq.
3369 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3370 * dframe.el: Use lexical-binding.
3371 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3372 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3373 * descr-text.el: Use lexical-binding.
3374 (describe-text-widget, describe-text-sexp, describe-property-list):
3376 * comint.el (comint-history-isearch-push-state): Use a closure.
3377 * calculator.el: Use lexical-binding.
3378 (calculator-number-to-string): Make it work with lexical-binding.
3379 (calculator-funcall): Same and use cl-letf.
3381 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3382 (lisp--company-doc-string, lisp--company-location): New functions.
3383 (lisp-completion-at-point): Use them to improve Company support.
3385 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3386 params of lambda expressions.
3387 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3388 (ruby-smie--opening-pipe-p): New function.
3389 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3390 symbols and matched |...| for formal params.
3391 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3392 from being treated as hanging. Handle "rescue".
3394 2013-08-29 Glenn Morris <rgm@gnu.org>
3396 * progmodes/cc-engine.el (c-pull-open-brace):
3397 Move definition before use.
3399 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3402 are immutable. Don't use `unsafe' any more.
3403 (cl--defsubst-expand): Don't substitute at the same time as keeping
3404 a residual unused let-binding. Don't use `unsafe' any more.
3406 2013-08-29 Glenn Morris <rgm@gnu.org>
3408 * calendar/cal-china.el (calendar-chinese-year-cache):
3411 * nxml/nxml-util.el (nxml-debug-clear-inside):
3412 Use cl-loop rather than loop.
3414 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3416 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3418 2013-08-28 Glenn Morris <rgm@gnu.org>
3420 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3422 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3424 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3426 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * simple.el (repeat-complex-command--called-interactively-skip):
3430 (repeat-complex-command): Use it (bug#14136).
3432 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3433 (c-define-abbrev-table): Add `doc' argument.
3434 (c-mode-abbrev-table, c++-mode-abbrev-table)
3435 (objc-mode-abbrev-table, java-mode-abbrev-table)
3436 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3437 (awk-mode-abbrev-table): Use it.
3438 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3439 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3440 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3441 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3442 Move initialization into the declaration; and remove any
3445 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3446 and dynamic let binding.
3448 * vc/smerge-mode.el: Remove redundant :group args.
3450 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3453 2013-08-28 Juri Linkov <juri@jurta.org>
3455 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3456 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3457 (isearch-other-meta-char): Handle an undefined shifted printing
3458 character by downshifting it. (Bug#15200)
3460 2013-08-28 Juri Linkov <juri@jurta.org>
3462 * isearch.el (isearch-search): Change regexp error message for
3463 non-regexp searches. (Bug#15166)
3465 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3467 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3468 for portability to hosts where /bin/sh has problems.
3470 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3472 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3474 2013-08-27 Juri Linkov <juri@jurta.org>
3476 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3477 in the keyboard macro. (Bug#15126)
3479 2013-08-27 Juri Linkov <juri@jurta.org>
3481 * isearch.el (isearch-quote-char): Comment out converting unibyte
3482 to multibyte, thus syncing with its `quoted-insert' counterpart.
3485 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3487 * window.el (display-buffer-use-some-window): Add missing
3488 argument in call of get-largest-window (Bug#15185).
3489 Reported by Stephen Leake.
3491 2013-08-27 Glenn Morris <rgm@gnu.org>
3493 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3495 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3498 from a matcher-function unless there's no more matches (bug#15161).
3500 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3502 * minibuffer.el: Revert change from 2013-08-20.
3504 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3505 with text property `tramp-default', if appropriate.
3506 (tramp-check-proper-host): New defun.
3507 (tramp-dissect-file-name): Do not check hostname. Revert change
3509 (tramp-backtrace): Make VEC-OR-PROC optional.
3511 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3513 * net/tramp-sh.el (tramp-maybe-open-connection):
3514 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3515 Apply `tramp-check-proper-host'.
3517 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3519 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3520 lambda expression in order to have `describe-variable' display it.
3522 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3524 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3525 BUF can be optional. (Bug#15186)
3527 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3529 * progmodes/flymake.el (flymake-get-real-file-name-function):
3530 Fix broken customization. (Bug#15184)
3532 2013-08-25 Alan Mackenzie <acm@muc.de>
3534 Improve indentation of bracelists defined by macros (without "=").
3536 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3537 expansion begins with "{", regard it as bracelist when it doesn't
3540 Parse C++ inher-intro when there's a template split over 2 lines.
3542 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3543 rigorously the search for "class" etc. followed by ":".
3545 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3546 random languages a regexp which never matches rather than nil.
3548 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3550 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3551 (c-awk-regexp-one-line-possibly-open-char-list-re)
3552 (c-awk-one-line-possibly-open-regexp-re)
3553 (c-awk-one-line-non-syn-ws*-re): Remove.
3554 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3555 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3556 (c-awk-space*-unclosed-regexp-/-re): New constants.
3557 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3558 aren't regexp delimiters.
3560 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3561 handling for a rare situation in AWK Mode involving unterminated
3564 2013-08-23 Glenn Morris <rgm@gnu.org>
3566 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3568 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3570 * files.el (create-file-buffer): If the result would begin with
3571 spaces, prepend a "|" instead of removing them. (Bug#15162)
3573 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3576 text-properties (bug#15155).
3578 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3580 (calc-keypad-redraw): Remove unused var `pad'.
3581 (calc-keypad-press): Remove unused var `menu'.
3583 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3585 * window.el (display-buffer-pop-up-frame):
3586 Call pop-up-frame-function with BUFFER current so `make-frame' will
3587 use it as the new frame's buffer (Bug#15133).
3589 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * calendar/timeclock.el: Minor cleanups.
3592 (timeclock-ask-before-exiting, timeclock-use-display-time):
3594 (timeclock-modeline-display): Define as alias before the
3596 (timeclock-mode-line-display): Use define-minor-mode.
3597 (timeclock-day-list-template): Make it a function, add an argument.
3598 (timeclock-day-list-required, timeclock-day-list-length)
3599 (timeclock-day-list-debt, timeclock-day-list-span)
3600 (timeclock-day-list-break): Adjust calls accordingly.
3602 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3605 Use read--expression so that completion works again.
3607 2013-08-21 Sam Steingold <sds@gnu.org>
3609 Add rudimentary inferior shell interaction
3610 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3611 (sh-set-shell): Reset it.
3612 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3613 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3615 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * align.el: Use lexical-binding.
3618 (align-region): Simplify accordingly.
3620 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3622 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3624 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3627 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3631 * net/tramp-cmds.el:
3633 * net/tramp-gvfs.el:
3635 * net/tramp-sh.el: Don't wrap external variable declarations by
3636 `eval-when-compile'.
3638 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3640 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3641 now that Emacs supports ImageMagick animations.
3643 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3645 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3646 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3648 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3650 * window.el (mouse-autoselect-window-select): Do autoselect when
3651 mouse pointer is on margin.
3653 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3655 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3657 2013-08-16 Glenn Morris <rgm@gnu.org>
3659 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3660 Handle "Remote Directory" response of some clients. (Bug#15058)
3662 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3663 Tweak warning. (Bug#14926)
3665 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3666 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3668 * image-mode.el (image-mode-map): Add menu items to reverse,
3669 increase, decrease, reset animation speed.
3670 (image--set-speed, image-increase-speed, image-decrease-speed)
3671 (image-reverse-speed, image-reset-speed): New functions.
3672 (image-mode-map): Add bindings for speed commands.
3674 * image.el (image-animate-get-speed, image-animate-set-speed):
3676 (image-animate-timeout): Respect image :speed property.
3678 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3680 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3681 previous line (bug#15101).
3682 (debugger-eval-expression, debugger-record-expression):
3683 Use read--expression (bug#15102).
3685 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3687 Remove byte compiler warnings, visible when compiling with
3688 `byte-compile-force-lexical-warnings' set to t.
3690 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3691 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3692 (tramp-handle-unhandled-file-name-directory)
3693 (tramp-handle-file-notify-add-watch, tramp-action-login)
3694 (tramp-action-succeed, tramp-action-permission-denied)
3695 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3698 * net/tramp-adb.el (tramp-adb-parse-device-names)
3699 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3700 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3701 (tramp-adb-handle-file-truename): Remove unused arguments.
3703 * net/tramp-cache.el (tramp-flush-directory-property)
3704 (tramp-flush-connection-property, tramp-list-connections)
3705 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3707 * net/tramp-compat.el (tramp-compat-make-temp-file):
3708 Rename FILENAME to F.
3710 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3711 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3712 (tramp-zeroconf-parse-workstation-device-names)
3713 (tramp-zeroconf-parse-webdav-device-names)
3714 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3716 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3717 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3719 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3721 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3722 (tramp-sh-handle-insert-file-contents-literally)
3723 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3725 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3726 Remove unused variables.
3728 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3729 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3730 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3732 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3733 Make them a defconst.
3734 (tramp-uuencode-region): Remove unused variable.
3736 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3738 * frameset.el (frameset--prop-setter): New function.
3739 (frameset-prop): Add gv-setter declaration.
3740 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3741 parameter was already set in FILTERED. Doc fix.
3742 (frameset--record-minibuffer-relationships): Allow saving a
3743 minibufferless frame without its corresponding minibuffer frame.
3744 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3745 frame, if the frame id matches.
3746 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3747 frames before orphaned ones.
3748 (frameset-restore): Warn about orphaned windows, instead of error out.
3750 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3752 * window.el (window-make-atom): Don't overwrite parameter
3754 (display-buffer-in-atom-window): Handle special case where we
3755 split an already atomic window.
3756 (window--major-non-side-window, display-buffer-in-side-window)
3757 (window--side-check): Ignore minibuffer window when walking
3759 (window-deletable-p): Return 'frame only if no other frame uses
3760 our minibuffer window.
3761 (record-window-buffer): Run buffer-list-update-hook.
3762 (split-window): Make sure window--check-frame won't destroy an
3763 existing atomic window in case the new window gets nested
3765 (display-buffer-at-bottom): Ignore minibuffer window when
3766 walking window tree. Don't split a side window.
3767 (pop-to-buffer): Don't set-buffer here, the select-window call
3769 (mouse-autoselect-window-select): Autoselect only if we are in the
3770 text portion of the window.
3772 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3774 * net/shr.el (shr-parse-image-data): New function to grab both the
3775 data itself and the Content-Type.
3776 (shr-put-image): Use it.
3778 * net/eww.el (eww-display-image): Ditto.
3780 * image.el (image-content-type-suffixes): New variable.
3782 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3784 * progmodes/python.el (python-imenu--build-tree)
3785 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3787 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3789 * simple.el (backward-word): Mention the optional argument.
3791 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * frameset.el (frameset--make): Rename constructor from make-frameset.
3794 (frameset-p, frameset-valid-p): Don't autoload.
3795 (frameset-valid-p): Use normal accessors.
3797 2013-08-13 Glenn Morris <rgm@gnu.org>
3799 * progmodes/compile.el (compile-command): Tweak example in doc.
3800 * obsolete/scribe.el (scribe-mode):
3801 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3803 * mail/feedmail.el (feedmail-confirm-outgoing)
3804 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3806 * cus-start.el (truncate-partial-width-windows): Fix type.
3808 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3810 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3812 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * emacs-lisp/timer.el (timer--time-setter): New function.
3815 (timer--time): Use it as gv-setter.
3817 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3818 setter is not a symbol.
3820 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3822 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3823 if sending fails. This makes debugging easier.
3825 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3827 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3828 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3829 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3831 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3833 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3835 2013-08-12 Glenn Morris <rgm@gnu.org>
3837 * format.el (format-annotate-function):
3838 Handle read-only text properties in the source. (Bug#14887)
3840 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3842 * net/eww.el (eww-display-html): Ignore coding system errors.
3843 One web site uses "utf-8lias" as the coding system.
3845 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3847 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3849 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3851 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3852 (tutorial--detailed-help): Remove unused local variables.
3853 (tutorial--save-tutorial-to): Use ignore-errors.
3854 (help-with-tutorial): Use looking-at-p.
3856 * view.el (view-buffer-other-window, view-buffer-other-frame):
3857 Mark unused arguments.
3859 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3860 (woman-select-symbol-fonts, woman, woman-find-file)
3861 (woman-insert-file-contents, woman-non-underline-faces):
3863 (woman1-unquote): Move declaration.
3865 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3866 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3867 argument. Remove unused local variable.
3868 (xml-parse-elem-type): Use string-match-p.
3869 (xml-substitute-numeric-entities): Use ignore-errors.
3871 * calculator.el (calculator): Mark unused argument.
3872 (calculator-paste, calculator-quit, calculator-integer-p):
3874 (calculator-string-to-number, calculator-decimal, calculator-exp)
3875 (calculator-op-or-exp): Use string-match-p.
3877 * dired.el (dired-buffer-more-recently-used-p): Declare.
3878 (dired-insert-set-properties, dired-insert-old-subdirs):
3881 * dired-aux.el (dired-compress): Use ignore-errors.
3882 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3883 (dired-do-async-shell-command, dired-do-shell-command)
3884 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3885 (dired-insert-subdir-validate): Use string-match-p.
3886 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3887 (dired-add-entry): Use string-match-p, looking-at-p.
3888 (dired-insert-subdir-newpos): Remove unused local variable.
3890 * filenotify.el (file-notify-callback): Remove unused local variable.
3892 * filesets.el (filesets-error): Mark unused argument.
3893 (filesets-which-command-p, filesets-filter-dir-names)
3894 (filesets-directory-files, filesets-get-external-viewer)
3895 (filesets-ingroup-get-data): Use string-match-p.
3897 * find-file.el (ff-other-file-name, ff-other-file-name)
3898 (ff-find-the-other-file, ff-cc-hh-converter):
3899 Remove unused local variables.
3900 (ff-get-file-name): Use string-match-p.
3901 (ff-all-dirs-under): Use ignore-errors.
3903 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3904 (follow-select-if-visible): Remove unused local variable.
3906 * forms.el (read-file-filter): Move declaration.
3907 (forms--make-format, forms--make-parser, forms-insert-record):
3908 Quote function with #'.
3909 (forms--update): Use string-match-p. Quote function with #'.
3911 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3912 (help-make-xrefs): Use looking-at-p.
3913 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3915 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3916 (ibuffer-confirm-operation-on): Use string-match-p.
3918 * msb.el (msb-item-handler, msb-dired-item-handler):
3919 Mark unused arguments.
3921 * ses.el (ses-decode-cell-symbol)
3922 (ses-kill-override): Remove unused local variable.
3923 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3924 (ses-load): Use ignore-errors, looking-at-p.
3925 (ses-jump-safe): Use ignore-errors.
3926 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3928 * tabify.el (untabify, tabify): Mark unused arguments.
3930 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3931 Mark unused argument.
3932 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3933 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3935 * emacs-lisp/timer.el (timer--time): Define setter with
3936 gv-define-setter to avoid deprecation warning.
3938 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3939 (*record-cmpl-statistics-p*): Remove (was commented out).
3940 (cmpl-statistics-block): Remove (body was commented out).
3941 All callers changed.
3942 (add-completions-from-buffer, load-completions-from-file):
3943 Remove unused variables.
3945 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3947 * filecache.el (file-cache-delete-file-list):
3948 Print message only when told so.
3949 (file-cache-files-matching): Use #' in mapconcat argument.
3951 * ffap.el (ffap-url-at-point): Fix reference to variable
3952 thing-at-point-default-mail-uri-scheme.
3954 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3956 * subr.el (define-error): New function.
3957 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3958 error-file-not-found and define with define-error.
3959 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3960 and define with define-error.
3961 * userlock.el (file-locked, file-supersession):
3962 * simple.el (mark-inactive):
3963 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3964 * progmodes/ada-mode.el (ada-mode-errors):
3965 * play/life.el (life-extinct):
3966 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3967 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3968 * nxml/rng-util.el (rng-error):
3969 * nxml/rng-uri.el (rng-uri-error):
3970 * nxml/rng-match.el (rng-compile-error):
3971 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3972 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3973 * nxml/nxml-rap.el (nxml-scan-error):
3974 * nxml/nxml-outln.el (nxml-outline-error):
3975 * net/soap-client.el (soap-error):
3976 * net/gnutls.el (gnutls-error):
3977 * net/ange-ftp.el (ftp-error):
3978 * mpc.el (mpc-proc-error):
3979 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3980 (json-number-format, json-string-escape, json-string-format)
3981 (json-key-format, json-object-format):
3982 * jka-compr.el (compression-error):
3983 * international/quail.el (quail-error):
3984 * international/kkc.el (kkc-error):
3985 * emacs-lisp/ert.el (ert-test-failed):
3986 * calc/calc.el (calc-error, inexact-result, math-overflow)
3988 * bookmark.el (bookmark-error-no-filename):
3989 * epg.el (epg-error): Define with define-error.
3991 * time.el (display-time-event-handler)
3992 (display-time-next-load-average): Don't call sit-for since it seems
3993 unnecessary (bug#15045).
3995 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3996 Use #' instead of ' to quote functions.
3997 (checkdoc-output-mode): Use setq-local.
3998 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3999 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4000 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4001 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4002 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4003 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4004 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4005 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4007 * ido.el (ido-completion-help): Fix up compiler warning.
4009 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4011 * frameset.el (frameset-p): Add autoload cookie.
4012 (frameset--jump-to-register): New function, based on code moved from
4014 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4016 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4017 (frameset-restore, frameset-save, frameset-session-filter-alist):
4018 Remove declarations.
4019 (register-alist): Doc fix.
4020 (frameset-to-register): Move to frameset.el.
4021 (jump-to-register, describe-register-1): Remove frameset-specific code.
4023 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4025 * allout-widgets.el (allout-widgets-pre-command-business)
4026 (allout-widgets-post-command-business)
4027 (allout-widgets-after-change-handler)
4028 (allout-decorate-item-and-context, allout-set-boundary-marker)
4029 (allout-body-modification-handler)
4030 (allout-graphics-modification-handler): Mark ignored arguments.
4031 (allout-widgets-post-command-business)
4032 (allout-widgets-exposure-change-processor)
4033 (allout-widgets-exposure-undo-processor)
4034 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4035 (allout-parse-item-at-point, allout-decorate-item-guides)
4036 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4037 * allout.el (epa-passphrase-callback-function): Declare.
4038 (allout-overlay-insert-in-front-handler)
4039 (allout-overlay-interior-modification-handler)
4040 (allout-isearch-end-handler, allout-chart-siblings)
4041 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4042 (allout-yank-processing, allout-process-exposed)
4043 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4044 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4045 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4046 (lisp-indent-defform): Mark ignored arguments.
4047 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4048 (calculate-lisp-indent): Remove unused variables.
4049 * international/characters.el (indian-2-column, arabic-2-column)
4050 (tibetan): Mark ignored arguments.
4051 (use-cjk-char-width-table): Mark ignored arguments.
4052 Remove unused variables.
4053 * international/fontset.el (build-default-fontset-data)
4054 (x-compose-font-name, create-fontset-from-fontset-spec):
4055 Mark ignored arguments.
4056 (fontset-plain-name): Remove unused variables.
4057 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4058 (keyboard-coding-system): Mark ignored arguments.
4059 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4060 * help.el (resize-temp-buffer-window):
4061 * window.el (display-buffer-in-major-side-window)
4062 (display-buffer-in-side-window, display-buffer-in-previous-window):
4063 Remove unused variables.
4064 * isearch.el (isearch-forward-symbol):
4065 * version.el (emacs-bzr-version-bzr):
4066 * international/mule-cmds.el (current-language-environment):
4067 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4069 * term/pc-win.el (x-list-fonts, x-display-planes)
4070 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4071 (x-server-version, x-display-screens, x-display-mm-height)
4072 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4073 (x-selection-owner-p, x-own-selection-internal)
4074 (x-disown-selection-internal, x-get-selection-internal)
4075 (msdos-initialize-window-system):
4076 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4077 * term/x-win.el (x-handle-no-bitmap-icon):
4078 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4079 (vc-default-find-file-hook, vc-default-extra-menu):
4080 Mark ignored arguments.
4082 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4085 break-condition in the context of the debugged code (bug#12685).
4087 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4090 Do not use an overlay to highlight the last prompt. (Bug#14744)
4091 (comint-mode): Make comint-last-prompt buffer local.
4092 (comint-last-prompt): New variable.
4093 (comint-last-prompt-overlay): Remove. Superseded by
4095 (comint-snapshot-last-prompt, comint-output-filter):
4096 Use comint-last-prompt.
4098 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4100 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4101 (frameset-save): Check validity of the resulting frameset.
4103 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4105 * ido.el (ido-record-command): Add doc string.
4107 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4109 * frameset.el (frameset): Do not disable creation of the default
4110 frameset-p predicate. Doc fix.
4111 (frameset-valid-p): New function, copied from the old predicate-p.
4112 Add additional checks.
4113 (frameset-restore): Check with frameset-valid-p.
4114 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4115 (frameset-name, frameset-description, frameset-properties)
4116 (frameset-states): Add docstring.
4117 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4118 (frameset-filter-alist): Doc fixes.
4120 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4122 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4124 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4126 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4127 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4128 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4129 (byte-compile-normal-call): Remove obsolescence check.
4131 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4133 * frameset.el (frameset-restore): Doc fix.
4135 * register.el (frameset-frame-id, frameset-frame-with-id)
4136 (frameset-p, frameset-restore, frameset-save): Declare.
4137 (register-alist): Document framesets.
4138 (frameset-session-filter-alist): Declare.
4139 (frameset-to-register): New function.
4140 (jump-to-register): Implement jumping to framesets. Doc fix.
4141 (describe-register-1): Describe framesets.
4143 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4145 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4147 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4148 Use lexical-binding.
4150 * frameset.el (frameset): Use type vector, not list (incompatible
4151 change). Do not declare a new constructor, use the default one.
4152 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4153 `name' and `description', respectively, and add read-only slot
4154 `timestamp'. Doc fixes.
4155 (frameset-copy, frameset-persistent-filter-alist)
4156 (frameset-filter-alist, frameset-switch-to-gui-p)
4157 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4158 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4159 (frameset-filter-iconified, frameset-keep-original-display-p):
4161 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4162 Rename from frameset-filter-(save|restore)-param. All callers changed.
4164 (frameset-p): Adapt to change to vector and be more thorough.
4165 Change arg name to OBJECT. Doc fix.
4166 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4167 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4168 All callers changed.
4169 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4170 All callers changed.
4171 (frameset--record-minibuffer-relationships): Rename from
4172 frameset--process-minibuffer-frames. All callers changed.
4173 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4174 Use new default constructor (again). Doc fix.
4175 (frameset--find-frame-if): Rename from `frameset--find-frame.
4176 All callers changed.
4177 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4178 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4180 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4181 PARAMETERS and WINDOW-STATE, respectively.
4182 (frameset-restore): Add new keyword argument PREDICATE.
4183 Reset frameset--target-display to nil. Doc fix.
4185 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4189 (bat-mode-syntax-table): Mark \n as end-of-comment.
4190 (bat-font-lock-keywords): Remove comment rule.
4192 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4193 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4195 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4196 (byte-compile-callargs-warn): Use `push'.
4197 (byte-compile-arglist-warn): Ignore higher-order "calls".
4198 (byte-compile-file-form-autoload): Use `pcase'.
4199 (byte-compile-function-form): If quoting a symbol, check that it exists.
4201 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4203 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4204 and add a few popular commands found in batch files.
4205 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4206 (dos-mode): Doc fixes.
4208 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4210 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4211 (dos-mode): Use setq-local. Add space after "rem".
4212 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4213 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4215 2013-08-07 Arni Magnusson <arnima@hafro.is>
4217 * progmodes/dos.el: New file.
4218 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4221 2013-08-06 Glenn Morris <rgm@gnu.org>
4223 * calendar/calendar.el: Add new faces, and day-header-array.
4224 (calendar-weekday-header, calendar-weekend-header)
4225 (calendar-month-header): New faces.
4226 (calendar-day-header-construct): New function.
4227 (calendar-day-header-width): Also :set calendar-day-header-array.
4228 (calendar-american-month-header, calendar-european-month-header)
4229 (calendar-iso-month-header): Use calendar- faces.
4230 (calendar-generate-month):
4231 Use calendar-day-header-array for day headers; apply faces to them.
4232 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4233 (calendar-abbrev-construct): Add optional maxlen argument.
4234 (calendar-day-name-array): Doc fix.
4235 (calendar-day-name-array, calendar-abbrev-length)
4236 (calendar-day-abbrev-array):
4237 Also :set calendar-day-header-array, and maybe redraw.
4238 (calendar-day-header-array): New option. (Bug#15007)
4239 (calendar-font-lock-keywords): Set to nil and make obsolete.
4240 (calendar-day-name): Add option to use header array.
4242 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4244 * net/shr.el (shr-render-td): Remove debugging.
4245 (shr-render-td): Make width computation consistent by defaulting
4246 all zero-width columns to 10 characters. This may not be optimal,
4247 but it's at least consistent.
4248 (shr-make-table-1): Redo last change to fix the real problem in
4251 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4253 * files.el (cache-long-line-scans):
4254 Make obsolete alias to `cache-long-scans'.
4256 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4258 * frameset.el (frameset, frameset-filter-alist)
4259 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4260 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4261 (frameset-compute-pos): Rename from frameset--compute-pos,
4263 (frameset-move-onscreen): Use frameset-compute-pos.
4264 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4266 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4267 Fix typos in docstrings.
4269 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4271 * frame.el (get-other-frame): Tiny cleanup.
4273 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4275 * vc/vc.el (vc-default-ignore-completion-table):
4276 Silence byte-compiler warning.
4278 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4279 slot , which can indeed be nil.
4280 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4281 Move entry for `left' from persistent to live filter alist.
4282 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4284 (frameset-filter-params): When restoring a frame, copy items added to
4285 `filtered', to avoid unwittingly modifying the original parameters.
4286 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4287 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4289 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4290 to use looking-at-p instead of looking-at. (Bug#15028)
4292 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4294 Revert introduction of isearch-filter-predicates (bug#14714).
4295 Rely on add-function instead.
4296 * isearch.el (isearch-filter-predicates): Rename it back to
4297 isearch-filter-predicate.
4298 (isearch-message-prefix): Use advice-function-mapc and advice
4299 properties to get the isearch-message-prefix.
4300 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4301 instead of run-hook-with-args-until-failure.
4302 (isearch-filter-visible): Not obsolete any more.
4303 * loadup.el: Preload nadvice.
4304 * replace.el (perform-replace): Revert to funcall
4305 instead of run-hook-with-args-until-failure.
4306 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4307 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4308 dired-isearch-filenames-toggle; make it into a proper minor mode.
4309 Use add/remove-function.
4310 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4311 Call the minor-mode rather than add/remove-hook.
4312 (dired-isearch-filter-filenames):
4313 Remove isearch-message-prefix property.
4314 * info.el (Info--search-loop): New function, extracted from Info-search.
4315 Funcall isearch-filter-predicate instead of
4316 run-hook-with-args-until-failure isearch-filter-predicates.
4317 (Info-search): Use it.
4318 (Info-mode): Use isearch-filter-predicate instead of
4319 isearch-filter-predicates.
4321 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4323 Do not call to `selected-window' where it is assumed by default.
4324 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4325 `window-hscroll', `window-width', `window-height', `window-buffer',
4326 `window-frame', `window-start', `window-point', `next-window'
4327 and `window-display-table'.
4328 * abbrev.el (abbrev--default-expand):
4329 * bs.el (bs--show-with-configuration):
4330 * buff-menu.el (Buffer-menu-mouse-select):
4331 * calc/calc.el (calc):
4332 * calendar/calendar.el (calendar-generate-window):
4333 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4335 * comint.el (send-invisible, comint-dynamic-complete-filename)
4336 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4337 * completion.el (complete):
4338 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4339 * disp-table.el (describe-current-display-table):
4340 * doc-view.el (doc-view-insert-image):
4341 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4342 * ehelp.el (with-electric-help):
4343 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4344 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4345 * emacs-lisp/helper.el (Helper-help-scroller):
4346 * emulation/cua-base.el (cua--post-command-handler-1):
4347 * eshell/esh-mode.el (eshell-output-filter):
4348 * ffap.el (ffap-gnus-wrapper):
4349 * help-macro.el (make-help-screen):
4350 * hilit-chg.el (highlight-compare-buffers):
4351 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4352 * hl-line.el (global-hl-line-highlight):
4353 * icomplete.el (icomplete-simple-completing-p):
4354 * isearch.el (isearch-done):
4355 * jit-lock.el (jit-lock-stealth-fontify):
4356 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4357 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4358 * mpc.el (mpc-tagbrowser, mpc):
4359 * net/rcirc.el (rcirc-any-buffer):
4360 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4361 * play/landmark.el (landmark-max-width, landmark-max-height):
4362 * play/zone.el (zone):
4363 * progmodes/compile.el (compilation-goto-locus):
4364 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4365 * progmodes/etags.el (find-tag-other-window):
4366 * progmodes/fortran.el (fortran-column-ruler):
4367 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4368 * progmodes/verilog-mode.el (verilog-point-text):
4369 * reposition.el (reposition-window):
4370 * rot13.el (toggle-rot13-mode):
4371 * server.el (server-switch-buffer):
4372 * shell.el (shell-dynamic-complete-command)
4373 (shell-dynamic-complete-environment-variable):
4374 * simple.el (insert-buffer, set-selective-display)
4375 (delete-completion-window):
4376 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4377 (speedbar-recenter):
4378 * startup.el (fancy-splash-head):
4379 * textmodes/ispell.el (ispell-command-loop):
4380 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4381 * tutorial.el (help-with-tutorial):
4382 * vc/add-log.el (add-change-log-entry):
4383 * vc/compare-w.el (compare-windows):
4384 * vc/ediff-help.el (ediff-indent-help-message):
4385 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4386 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4387 (ediff-setup-control-frame):
4388 * vc/emerge.el (emerge-position-region):
4389 * vc/pcvs-util.el (cvs-bury-buffer):
4390 * window.el (walk-windows, mouse-autoselect-window-select):
4391 * winner.el (winner-set-conf, winner-undo): Related users changed.
4393 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4395 * frameset.el (frameset--set-id): Doc fix.
4396 (frameset-frame-id, frameset-frame-id-equal-p)
4397 (frameset-locate-frame-id): New functions.
4398 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4399 (frameset-restore): Use them.
4401 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4403 Do not call to `selected-frame' where it is assumed by default.
4404 Affected functions are `raise-frame', `redraw-frame',
4405 `frame-first-window', `frame-terminal' and `delete-frame'.
4406 * calendar/appt.el (appt-disp-window):
4407 * epg.el (epg-wait-for-completion):
4408 * follow.el (follow-delete-other-windows-and-split)
4409 (follow-avoid-tail-recenter):
4410 * international/mule.el (set-terminal-coding-system):
4411 * mail/rmail.el (rmail-mail-return):
4412 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4413 * progmodes/f90.el (f90-add-imenu-menu):
4414 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4415 * server.el (server-switch-buffer):
4416 * simple.el (delete-completion-window):
4418 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4419 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4420 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4421 * vc/ediff.el (ediff-documentation): Related users changed.
4422 * frame.el (selected-terminal): Remove the leftover.
4424 2013-08-05 Glenn Morris <rgm@gnu.org>
4426 * calendar/calendar.el (calendar-generate-month):
4427 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4428 (calendar-generate-month, calendar-font-lock-keywords):
4429 Fix for calendar-day-header-width > length of any day name.
4431 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4433 * desktop.el (desktop-clear): Use new name of sort predicate.
4435 * frameset.el (frameset): Add docstring. Move :version property to its
4437 (frameset-copy): Rename from copy-frameset.
4438 (frameset-p): Check more thoroughly.
4439 (frameset-prop): Do not check for :version, which is no longer a prop.
4440 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4441 Use new :never value instead of t.
4442 (frameset-filter-alist): Expand and clarify docstring.
4443 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4444 (frameset-filter-minibuffer, frameset-filter-save-param)
4445 (frameset-filter-restore-param, frameset-filter-iconified):
4446 Add pointer to docstring of frameset-filter-alist.
4447 (frameset-filter-params): Rename filter values to be more meaningful:
4448 :never instead of t, and reverse the meanings of :save and :restore.
4449 (frameset--process-minibuffer-frames): Clarify error message.
4450 (frameset-save): Avoid unnecessary and confusing call to framep.
4451 Use new BOA constructor for framesets.
4452 (frameset--reuse-list): Doc fix.
4453 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4454 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4455 (frameset-minibufferless-first-p): Doc fix.
4456 Rename from frameset-sort-frames-for-deletion.
4457 (frameset-restore): Doc fixes. Use new function names.
4458 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4460 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4462 * desktop.el (desktop-restore-forces-onscreen)
4463 (desktop-restore-reuses-frames): Document :keyword constant values.
4464 (desktop-filter-parameters-alist): Remove, now identical to
4465 frameset-filter-alist.
4466 (desktop--filter-tty*): Remove, moved to frameset.el.
4467 (desktop-save-frameset, desktop-restore-frameset):
4468 Do not pass :filters argument.
4470 * frameset.el (frameset-live-filter-alist)
4471 (frameset-persistent-filter-alist): New variables.
4472 (frameset-filter-alist): Use them. Add autoload cookie.
4473 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4474 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4475 `frameset--id' (it's supposed to be internal to frameset.el).
4476 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4477 (frameset--initial-params): New function.
4478 (frameset--get-frame): Use it. Doc fix.
4479 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4480 Accept :all, not 'all.
4481 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4482 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4483 with fbound symbols. Fix frame id matching, and remove matching ids if
4484 the frame being restored is deleted. Obey :delete.
4486 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4488 * subr.el (macrop): New function.
4489 (text-clone--maintaining): New var.
4490 (text-clone--maintain): Rename from text-clone-maintain. Use it
4491 instead of inhibit-modification-hooks.
4493 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4494 a proxy, so as handle autoloads and redefinitions of the target.
4495 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4497 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4498 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4499 (pcase--mutually-exclusive-p): New function.
4500 (pcase--split-consp): Use it.
4501 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4502 mutually exclusive with the current predicate.
4504 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4505 (edebug-macrop): Remove. Use `macrop' instead.
4506 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4508 * eshell/esh-cmd.el (eshell-macrop):
4509 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4511 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4513 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4514 (advice-mapc): New function, using it.
4515 (advice-function-member-p): New function.
4516 (advice--normalize): Store the cdr in advice--saved-rewrite since
4517 that's the part that will be changed.
4518 (advice--symbol-function): New function.
4519 (advice-remove): Handle removal before the function is defined.
4520 Adjust to new advice--saved-rewrite.
4521 (advice-member-p): Use advice-function-member-p and
4522 advice--symbol-function.
4524 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4526 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4527 (frameset-filter-minibuffer): Doc fix.
4528 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4529 (frameset--set-id, frameset--process-minibuffer-frames)
4530 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4531 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4533 * desktop.el (desktop-clear): Only delete frames when called
4534 interactively and desktop-restore-frames is non-nil. Doc fix.
4535 (desktop-read): Set desktop-saved-frameset to nil.
4537 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4539 * vc/vc.el (vc-ignore): Rewrite.
4540 (vc-default-ignore-completion-table):
4542 (vc--add-line, vc--remove-regexp): New functions.
4544 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4545 (vc-svn-ignore-completion-table): New function.
4547 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4548 (vc-hg-ignore-completion-table):
4549 (vc-hg-find-ignore-file): New functions.
4551 * vc/vc-git.el (vc-git-ignore): Rewrite.
4552 (vc-git-ignore-completion-table):
4553 (vc-git-find-ignore-file): New functions.
4555 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4557 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4558 (vc-bzr-ignore-completion-table):
4559 (vc-bzr-find-ignore-file): New functions.
4561 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4563 * frameset.el (frameset-prop): New function and setter.
4564 (frameset-save): Do not modify frame list passed by the caller.
4566 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4570 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4573 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4575 * custom.el (custom-initialize-default, custom-initialize-set)
4576 (custom-initialize-reset, custom-initialize-changed): Affect the
4577 toplevel-default-value (bug#6275, bug#14586).
4578 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4581 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4583 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4584 Add cl-def* expressions.
4586 * frameset.el (frameset-filter-params): Fix order of arguments.
4588 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4590 Move code related to saving frames to frameset.el.
4591 * desktop.el: Require frameset.
4592 (desktop-restore-frames): Doc fix.
4593 (desktop-restore-reuses-frames): Rename from
4594 desktop-restoring-reuses-frames.
4595 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4596 (desktop-clear): Clear frames too.
4597 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4598 (desktop--filter-tty*, desktop-save, desktop-read):
4599 Use frameset functions.
4600 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4601 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4602 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4603 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4604 (desktop--process-minibuffer-frames, desktop-save-frames)
4605 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4606 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4607 (desktop--sort-states, desktop-restoring-frames-p)
4608 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4609 (desktop-restoring-frameset-p, desktop-restore-frameset)
4610 (desktop--check-dont-save, desktop-save-frameset): New functions.
4611 (desktop--app-id): New constant.
4612 (desktop-first-buffer, desktop-buffer-ok-count)
4613 (desktop-buffer-fail-count): Move before first use.
4614 * frameset.el: New file.
4616 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * files.el: Use lexical-binding.
4619 (dir-locals-read-from-file): Remove unused `err' variable.
4620 (hack-dir-local-variables--warned-coding): New var.
4621 (hack-dir-local-variables): Use it to avoid repeated warnings.
4622 (make-backup-file-name--default-function): New function.
4623 (make-backup-file-name-function): Use it as default.
4624 (buffer-stale--default-function): New function.
4625 (buffer-stale-function): Use it as default.
4626 (revert-buffer-insert-file-contents--default-function): New function.
4627 (revert-buffer-insert-file-contents-function): Use it as default.
4628 (insert-directory): Avoid add-to-list.
4630 * autorevert.el (auto-revert-handler): Simplify.
4631 Use buffer-stale--default-function.
4633 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4635 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4637 * whitespace.el (whitespace-ensure-local-variables): New function.
4638 (whitespace-cleanup-region): Call it.
4639 (whitespace-turn-on): Call it.
4641 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4643 Complete file name handlers.
4645 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4646 (tramp-handle-verify-visited-file-modtime)
4647 (tramp-handle-file-notify-rm-watch): New functions.
4648 (tramp-call-process): Do not bind `default-directory'.
4650 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4651 Order alphabetically.
4652 [access-file, add-name-to-file, dired-call-process]:
4653 [dired-compress-file, file-acl, file-notify-rm-watch]:
4654 [file-ownership-preserved-p, file-selinux-context]:
4655 [make-directory-internal, make-symbolic-link, set-file-acl]:
4656 [set-file-selinux-context, set-visited-file-modtime]:
4657 [verify-visited-file-modtime]: Add handler.
4658 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4661 [file-notify-add-watch, file-notify-rm-watch]:
4662 [set-file-times, set-visited-file-modtime]:
4663 [verify-visited-file-modtime]: Add handler.
4664 (with-tramp-gvfs-error-message)
4665 (tramp-gvfs-handle-set-visited-file-modtime)
4666 (tramp-gvfs-fuse-file-name): Remove.
4667 (tramp-gvfs-handle-file-notify-add-watch)
4668 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4669 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4671 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4672 Order alphabetically.
4673 [file-notify-rm-watch ]: Use default Tramp handler.
4674 [executable-find]: Remove private handler.
4675 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4676 `default-directory'.
4677 (tramp-sh-handle-executable-find)
4678 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4679 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4680 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4681 Do not use `format' in `tramp-message'.
4683 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4684 [file-notify-rm-watch, set-visited-file-modtime]:
4685 [verify-visited-file-modtime]: Add handler.
4686 (tramp-smb-call-winexe): Do not bind `default-directory'.
4688 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4690 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4692 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4694 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4696 (log-view-diff-changeset): Same.
4697 (log-view-diff-common): Call backend command `previous-revision'
4698 to find out the previous revision, in both cases. Swap the
4699 variables `to' and `fr', so that `fr' usually refers to the
4700 earlier revision (Bug#14989).
4702 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4704 * ibuf-ext.el (ibuffer-filter-by-filename):
4705 Make it work with dired buffers too.
4707 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4709 * emacs-lisp/re-builder.el (reb-color-display-p):
4710 * files.el (save-buffers-kill-terminal):
4711 * net/browse-url.el (browse-url):
4712 * server.el (server-save-buffers-kill-terminal):
4713 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4714 Prefer nil to selected-frame for the first arg of frame-parameter.
4716 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4718 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4720 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4722 * minibuffer.el (completion--twq-all): Try and preserve each
4723 completion's case choice (bug#14907).
4725 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4727 * net/network-stream.el (open-network-stream): Mention the new
4728 :nogreeting parameter.
4729 (network-stream-open-starttls): Use the :nogreeting parameter
4732 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4734 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4735 more natural than popping.
4737 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4738 (shr-urlify): Highlight under mouse.
4740 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4742 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4744 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4746 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4749 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4750 point-min==1. Fix search string. Fix parentheses missing.
4752 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4753 assume point-min==1. Fix search string. Fix parentheses missing.
4755 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4757 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4760 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4762 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4763 initial frame is minibuffer-less. (Bug#14841)
4765 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4767 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4770 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4771 (tramp-maybe-open-connection): Use it.
4773 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4775 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4776 minimal set of parameters passed when creating a frame, because
4777 the minibuffer status of a frame cannot be changed later.
4779 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4781 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4782 replace-regexp-in-string and inadvertent omissions in previous change.
4783 (todo-filter-items): Ensure only file names are comma-separated in
4784 name of filtered items buffer.
4786 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4788 * desktop.el: Optionally force offscreen frames back onscreen.
4789 (desktop-restoring-reuses-frames): New option.
4790 (desktop--compute-pos, desktop--move-onscreen): New functions.
4791 (desktop--make-frame): Use desktop--move-onscreen.
4793 2013-07-27 Alan Mackenzie <acm@muc.de>
4795 Fontify a Java generic method as a function.
4796 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4799 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4801 * calendar/todo-mode.el: Add command to rename todo files.
4802 (todo-rename-file): New command.
4803 (todo-key-bindings-t): Add key binding for it. Change the
4804 bindings of todo-filter-regexp-items(-multifile) to use `x'
4805 instead of `r', since the latter is better suited to the new
4808 2013-07-27 Alan Mackenzie <acm@muc.de>
4810 Make Java try-with-resources statement parse properly.
4811 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4812 (c-block-stmt-1-2-key): New language constants/variables.
4813 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4814 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4815 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4816 with c-block-stmt-1-2-key.
4818 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4820 * desktop.el (desktop--make-frame): Apply most frame parameters after
4821 creating the frame to force (partially or totally) offscreen frames to
4822 be restored as such.
4824 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4826 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4829 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4831 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4832 `base' arg of backtrace-frame.
4834 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4836 * simple.el (list-processes): Doc fix.
4838 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4840 * desktop.el (desktop--select-frame):
4841 Try harder to reuse existing frames.
4843 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4845 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4846 (edebug-eval): Use backtrace-eval.
4847 (edebug--display, edebug--recursive-edit): Don't let-bind the
4848 edebug-outer-* vars that keep track of variables we locally let-bind.
4849 (edebug-outside-excursion): Don't restore outside values of locally
4851 (edebug--display): Use user-error.
4852 (cl-lexical-debug, cl-debug-env): Remove.
4854 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4856 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4857 are restored to be sure that they are visible before deleting any
4860 2013-07-26 Matthias Meulien <orontee@gmail.com>
4862 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4863 vc-print-root-log. (Bug#14948)
4865 2013-07-26 Richard Stallman <rms@gnu.org>
4867 Add aliases for encrypting mail.
4868 * epa.el (epa-mail-aliases): New option.
4869 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4870 Bind inhibit-read-only so read-only text doesn't ruin everything.
4871 (epa-mail-default-recipients): New subroutine broken out.
4872 Handle epa-mail-aliases.
4874 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4876 Add support for lexical variables to the debugger's `e' command.
4877 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4878 vars, except for debugger-outer-match-data.
4879 (debugger-frame-number): Move check for "on a function call" from
4880 callers into it. Add `skip-base' argument.
4881 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4882 (debugger-env-macro): Only reset the state stored in non-variables,
4883 i.e. current-buffer and match-data.
4884 (debugger-eval-expression): Rewrite using backtrace-eval.
4885 * subr.el (internal--called-interactively-p--get-frame): Remove.
4886 (called-interactively-p):
4887 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4888 `base' arg of backtrace-frame instead.
4890 2013-07-26 Glenn Morris <rgm@gnu.org>
4892 * align.el (align-regexp): Doc fix. (Bug#14857)
4893 (align-region): Explicit error if subexpression missing/does not match.
4895 * simple.el (global-visual-line-mode):
4896 Do not duplicate the mode lighter. (Bug#14858)
4898 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4900 * window.el (display-buffer): In display-buffer bind
4901 split-window-keep-point to t, bug#14829.
4903 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4905 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4906 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4907 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4908 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4910 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4911 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4913 2013-07-25 Glenn Morris <rgm@gnu.org>
4915 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4917 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4919 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4920 parameter to modify-frame-parameters if the value has not changed;
4921 this is a workaround for bug#14949.
4922 (desktop--make-frame): On cl-delete-if call, check parameter name,
4925 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4927 * vc/vc.el (vc-ignore): New function.
4929 * vc/vc-svn.el (vc-svn-ignore): New function.
4931 * vc/vc-hg.el (vc-hg-ignore): New function.
4933 * vc/vc-git.el (vc-git-ignore): New function.
4935 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4936 (vc-dir-ignore): New function.
4938 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4939 (cvs-append-to-ignore): Move here from pcvs.el.
4941 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4943 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4945 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4947 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4948 (desktop-restore-frames): Warn when deleting an existing frame failed.
4950 2013-07-24 Glenn Morris <rgm@gnu.org>
4952 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4954 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4956 * filenotify.el (file-notify-supported-p):
4957 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4960 * autorevert.el (auto-revert-use-notify):
4961 (auto-revert-notify-add-watch):
4962 * net/tramp.el (tramp-file-name-for-operation):
4963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4965 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4966 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4967 Remove `file-notify-supported-p' entry.
4969 2013-07-24 Glenn Morris <rgm@gnu.org>
4971 * printing.el: Replace all uses of deleted ps-windows-system,
4972 ps-lp-system, ps-flatten-list with lpr- versions.
4974 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4976 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4977 checked with memq (bug#14935).
4979 * files.el (revert-buffer-function): Use a non-nil default.
4980 (revert-buffer-preserve-modes): Declare var to
4981 provide access to the `preserve-modes' argument.
4982 (revert-buffer): Let-bind it.
4983 (revert-buffer--default): New function, extracted from revert-buffer.
4985 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * lpr.el: Signal print errors more prominently.
4988 (print-region-function): Don't default to nil.
4989 (lpr-print-region): New function, extracted from print-region-1.
4990 Check lpr's return value and signal an error in case of problem.
4991 (print-region-1): Use it.
4992 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4994 (ps-printer-name): Default to nil.
4995 (ps-printer-name-option): Default to lpr-printer-switch.
4996 (ps-print-region-function): Don't default to nil.
4997 (ps-postscript-code-directory): Simplify default.
4998 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4999 (ps-string-list, ps-eval-switch, ps-flatten-list)
5000 (ps-flatten-list-1): Remove.
5001 (ps-multibyte-buffer): Avoid setq.
5002 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5003 (print-region-function, ps-print-region-function): Don't set them here.
5005 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5007 * ido.el (ido-fractionp):
5008 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5009 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5010 (ido-max-directory-size, ido-max-dir-file-cache)
5011 (ido-decorations): Doc fix.
5013 * ansi-color.el: Fix old URL.
5015 2013-07-23 Michael R. Mauger <michael@mauger.com>
5017 * progmodes/sql.el: Version 3.3
5018 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5019 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5020 (sql-interactive-remove-continuation-prompt): Rewrite, use
5021 functions above. Fix continuation prompt and complete output line
5023 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5024 redirected output buffer.
5025 (sql-mode): Restore deleted code (Bug#13591).
5027 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5029 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5031 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5033 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5035 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5039 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5041 * desktop.el (desktop-clear): Simplify; remove useless checks
5042 against invalid buffer names.
5043 (desktop-list*): Use cl-list*.
5044 (desktop-buffer-info, desktop-create-buffer): Simplify.
5046 2013-07-23 Leo Liu <sdl.web@gmail.com>
5048 * bookmark.el (bookmark-make-record): Restore NAME as a default
5051 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5054 extracted from autoload--insert-text.
5055 (autoload--insert-text): Remove.
5056 (autoload--print-cookie-text): New function, extracted from
5057 autoload--insert-cookie-text.
5058 (autoload--insert-cookie-text): Remove.
5059 (autoload-generate-file-autoloads): Adjust calls accordingly.
5061 * winner.el (winner-hook-installed-p): Remove.
5062 (winner-mode): Simplify accordingly.
5064 * subr.el (add-to-list): Fix compiler-macro when `append' is
5065 not constant. Don't use `cl-member' for the base case.
5067 * progmodes/subword.el: Fix boundary case (bug#13758).
5068 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5070 (subword-backward-regexp): Make it a constant.
5071 (subword-forward-internal): Don't treat a trailing capital as the
5072 beginning of a word.
5074 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5076 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5077 global value of tabulated-list-revert-hook (bug#14930).
5079 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5081 * desktop.el: Require 'cl-lib.
5082 (desktop-before-saving-frames-functions): New hook.
5083 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5084 for frames being saved. Rename from desktop--save-minibuffer-frames.
5085 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5086 Do not save frames with non-nil `desktop-dont-save' parameter.
5087 Filter out deleted frames.
5088 (desktop--find-frame): Use cl-find-if.
5089 (desktop--select-frame): Use cl-(first|second|third) to access values
5091 (desktop--make-frame): Use cl-delete-if.
5092 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5093 (desktop-restore-frames): Use cl-(first|second|third) to access values
5094 of desktop-mini. Look for visible frame at the end, not while
5097 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5098 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5099 Use string-match-p, looking-at-p (bug#14927).
5101 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5103 * desktop.el (desktop-saved-frame-states):
5104 Rename from desktop--saved-states; all users changed.
5105 (desktop-save-frames): Rename from desktop--save-frames.
5106 Do not save state to desktop file.
5107 (desktop-save): Save desktop-saved-frame-states to desktop file
5109 (desktop-restoring-frames-p): New function.
5110 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5111 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5112 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5114 * desktop.el: Correctly restore iconified frames.
5115 (desktop--filter-iconified-position): New function.
5116 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5118 2013-07-20 Glenn Morris <rgm@gnu.org>
5120 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5121 Let `message' do the formatting.
5122 (def-gdb-preempt-display-buffer): Add explicit format.
5124 * image-dired.el (image-dired-track-original-file):
5125 Use with-current-buffer.
5126 (image-dired-track-thumbnail): Use with-current-buffer.
5127 Avoid changing point of wrong window.
5129 * image-dired.el (image-dired-track-original-file):
5130 Avoid changing point of wrong window. (Bug#14909)
5132 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5134 * progmodes/gdb-mi.el (gdb-done-or-error):
5135 Guard against "%" in gdb output. (Bug#14127)
5137 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5139 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5142 * international/mule.el (coding-system-iso-2022-flags): Fix last
5145 2013-07-20 Kenichi Handa <handa@gnu.org>
5147 * international/mule.el (coding-system-iso-2022-flags):
5148 Add `8-bit-level-4'. (Bug#8522)
5150 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5152 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5155 * net/eww.el (eww-process-text-input): Allow inputting when the
5156 point is at the start of the line, as the properties aren't
5159 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5162 2013-07-19 Richard Stallman <rms@gnu.org>
5164 * epa.el (epa-popup-info-window): Doc fix.
5166 * subr.el (split-string): New arg TRIM.
5168 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5170 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5171 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5173 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5175 * filenotify.el (file-notify--library): Rename from
5176 `file-notify-support'. Do not autoload. Adapt all uses.
5177 (file-notify-supported-p): New defun.
5179 * autorevert.el (auto-revert-use-notify):
5180 Use `file-notify-supported-p' instead of `file-notify-support'.
5182 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5184 * net/tramp.el (tramp-file-name-for-operation):
5185 Add `file-notify-supported-p'.
5187 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5189 (tramp-sh-file-name-handler-alist): Add it as handler for
5190 `file-notify-supported-p '.
5192 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5193 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5194 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5195 Add `ignore' as handler for `file-notify-*' functions.
5197 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5199 * simple.el (line-move-partial, line-move): Don't start vscroll or
5200 scroll-up if the current line is not taller than the window.
5203 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5205 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5206 highlight question marks in the method names as strings.
5207 (ruby-block-beg-keywords): Inline.
5208 (ruby-font-lock-keyword-beg-re): Extract from
5209 `ruby-font-lock-keywords'.
5211 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5213 * frame.el (blink-cursor-blinks): New defcustom.
5214 (blink-cursor-blinks-done): New defvar.
5215 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5216 (blink-cursor-timer-function): Check if number of blinks has been
5218 (blink-cursor-suspend, blink-cursor-check): New defuns.
5220 2013-07-15 Glenn Morris <rgm@gnu.org>
5222 * edmacro.el (edmacro-format-keys): Fix previous change.
5224 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5226 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5227 The hack didn't work outside English locales anyway.
5229 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5231 * simple.el (define-alternatives): Rename from alternatives-define,
5232 per RMS' suggestion.
5234 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5236 * desktop.el (desktop-restore-frames): Change default to t.
5237 (desktop-restore-in-current-display): Now offer more options.
5238 (desktop-restoring-reuses-frames): New customization option.
5239 (desktop--saved-states): Doc fix.
5240 (desktop-filter-parameters-alist): New variable, renamed and expanded
5241 from desktop--excluded-frame-parameters.
5242 (desktop--target-display): New variable.
5243 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5244 (desktop--filter-tty*, desktop--filter-*-color)
5245 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5246 (desktop--filter-save-desktop-parm)
5247 (desktop-restore-in-original-display-p): New functions.
5248 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5249 (desktop--save-minibuffer-frames): New function, inspired by a similar
5250 function from Martin Rudalics.
5251 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5252 (desktop--restore-in-this-display-p): Remove.
5253 (desktop--find-frame): Rename from desktop--find-frame-in-display
5254 and add predicate argument.
5255 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5256 (desktop--reuse-list): New variable.
5257 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5259 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5261 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5263 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5265 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5268 Highlight conversion methods on Kernel.
5270 2013-07-13 Alan Mackenzie <acm@muc.de>
5272 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5273 and comment it out. This out-commenting enables certain C++
5274 declarations to be parsed correctly.
5276 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5278 * international/mule.el (define-coding-system): Doc fix.
5280 * simple.el (default-font-height): Don't call font-info if the
5281 frame's default font didn't change since the frame was created.
5284 2013-07-13 Leo Liu <sdl.web@gmail.com>
5286 * ido.el (ido-read-file-name): Guard against non-symbol value.
5288 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5290 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5293 2013-07-13 Leo Liu <sdl.web@gmail.com>
5295 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5296 ido-set-matches call. (Bug#6852)
5298 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5300 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5301 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5303 (ruby-font-lock-keywords): Distinguish calls to functions with
5304 module-like names from module references. Highlight character
5307 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5309 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5310 (gdb-send): Handle continued commands. (Bug#14847)
5312 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5314 * desktop.el (desktop--v2s): Remove unused local variable.
5315 (desktop-save-buffer): Make defvar-local; adjust docstring.
5316 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5317 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5319 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5321 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5323 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5325 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5328 2013-07-12 Glenn Morris <rgm@gnu.org>
5330 * doc-view.el: Require cl-lib at runtime too.
5331 (doc-view-remove-if): Remove.
5332 (doc-view-search-next-match, doc-view-search-previous-match):
5335 * edmacro.el: Require cl-lib at runtime too.
5336 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5337 (edmacro-mismatch, edmacro-subseq): Remove.
5339 * shadowfile.el: Require cl-lib.
5340 (shadow-remove-if): Remove.
5341 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5344 * wid-edit.el: Require cl-lib.
5345 (widget-choose): Use cl-remove-if.
5346 (widget-remove-if): Remove.
5348 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5349 (ebrowse-delete-if-not): Remove.
5350 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5351 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5352 Use cl-delete-if-not.
5354 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5356 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5357 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5359 2013-07-12 Leo Liu <sdl.web@gmail.com>
5361 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5363 2013-07-11 Glenn Morris <rgm@gnu.org>
5365 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5366 (edebug-gensym-index, edebug-gensym):
5367 Remove reimplementation of cl-gensym.
5368 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5370 * thumbs.el: Require cl-lib at run-time too.
5371 (thumbs-gensym-counter, thumbs-gensym):
5372 Remove reimplementation of cl-gensym.
5373 (thumbs-temp-file): Use cl-gensym.
5375 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5376 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5377 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5378 (ert--union, ert--gensym-counter, ert--gensym-counter)
5379 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5380 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5381 (ert-make-test-unbound, ert--expand-should-1)
5382 (ert--expand-should, ert--should-error-handle-error)
5383 (should-error, ert--explain-equal-rec)
5384 (ert--plist-difference-explanation, ert-select-tests)
5385 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5386 Use cl-lib functions rather than reimplementations.
5388 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5390 * net/tramp.el (tramp-methods): Extend docstring.
5391 (tramp-connection-timeout): New defcustom.
5392 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5393 (with-tramp-progress-reporter): Simplify.
5394 (tramp-process-actions): Improve messages.
5396 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5397 * net/tramp-sh.el (tramp-maybe-open-connection):
5398 Use `tramp-connection-timeout'.
5399 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5402 2013-07-11 Leo Liu <sdl.web@gmail.com>
5404 * ido.el (ido-read-file-name): Conform to the requirements of
5405 read-file-name. (Bug#11861)
5406 (ido-read-directory-name): Conform to the requirements of
5407 read-directory-name.
5409 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5411 * subr.el (delay-warning): New function.
5413 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5415 * simple.el (default-line-height): New function.
5416 (line-move-partial, line-move): Use it instead of computing the
5418 (line-move-partial): Always compute ROWH. If the last line is
5419 partially-visible, but its text is completely visible, allow
5420 cursor to enter such a partially-visible line.
5422 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5424 Improve error messages. (Bug#14808)
5426 * net/tramp.el (tramp-current-connection): New defvar, moved from
5428 (tramp-message-show-progress-reporter-message): Remove, not
5430 (tramp-error-with-buffer): Show message in minibuffer.
5431 Discard input before waiting. Reset connection timestamp.
5432 (with-tramp-progress-reporter): Improve messages.
5433 (tramp-process-actions): Use progress reporter. Delete process in
5434 case of error. Improve messages.
5436 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5437 Call `tramp-error-with-buffer' with vector and buffer.
5438 (tramp-current-connection): Remove.
5439 (tramp-maybe-open-connection): The car of
5440 `tramp-current-connection' are the first 3 slots of the vector.
5442 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5444 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5445 inside continued strings.
5447 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5449 Timestamp fixes for undo (Bug#14824).
5450 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5452 2013-07-10 Leo Liu <sdl.web@gmail.com>
5454 * files.el (require-final-newline): Allow safe local value.
5457 2013-07-09 Leo Liu <sdl.web@gmail.com>
5459 * ido.el (ido-read-directory-name): Handle fallback.
5460 (ido-read-file-name): Update DIR to ido-current-directory.
5462 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5464 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5466 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5467 "autoload". Remove "warn lower camel case" section, previously
5468 commented out. Highlight negation char. Do not highlight the
5469 target in singleton method definitions.
5471 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5473 * faces.el (tty-setup-hook): Declare the hook.
5475 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5476 and detect when a guard/pred depends on local vars (bug#14773).
5477 (pcase--u1): Adjust caller.
5479 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5481 * simple.el (line-move-partial, line-move): Account for
5483 (line-move-partial): Avoid setting vscroll when the last
5484 partially-visible line in window is of default height.
5486 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5488 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5491 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5493 * subr.el (read-quoted-char): Remove unused local variable `char'.
5495 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5497 * ediff.el (ediff-version): Version update.
5498 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5499 (ediff-merge-with-ancestor-command, ediff-directories-command)
5500 (ediff-directories3-command, ediff-merge-directories-command)
5501 (ediff-merge-directories-with-ancestor-command): New functions.
5502 All are command-line interfaces to ediff: to facilitate calling
5503 Emacs with the appropriate ediff functions invoked.
5505 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5506 (viper-save-kill-buffer): Check if buffer is modified.
5508 * viper.el (viper-version): Version update.
5509 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5511 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5513 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5514 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5515 (viper-intercept-ESC-key): Simplify.
5516 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5517 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5518 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5519 (viper-setup-ESC-to-escape): New functions.
5520 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5521 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5523 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5525 * simple.el (default-font-height, window-screen-lines):
5527 (line-move, line-move-partial): Use them instead of
5528 frame-char-height and window-text-height. This makes scrolling
5529 text smoother when the buffer's default face uses a font that is
5530 different from the frame's default font.
5532 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5534 * files.el (write-file): Do not display confirm dialog for NS,
5535 it does its own dialog, which can't be cancelled (Bug#14578).
5537 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5539 * simple.el (line-move-partial): Adjust the row returned by
5540 posn-at-point for the current window-vscroll. (Bug#14567)
5542 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5544 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5545 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5548 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5550 * window.el (window-state-put-stale-windows): New variable.
5551 (window--state-put-2): Save list of windows without matching buffer.
5552 (window-state-put): Remove "bufferless" windows if possible.
5554 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5556 * simple.el (alternatives-define): Remove leftover :group keyword.
5559 2013-07-06 Leo Liu <sdl.web@gmail.com>
5561 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5562 (ido-enable-virtual-buffers): New variable.
5563 (ido-buffer-internal, ido-toggle-virtual-buffers)
5564 (ido-make-buffer-list): Use it.
5565 (ido-exhibit): Support turning on and off virtual buffers
5568 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5570 * simple.el (alternatives-define): New macro.
5572 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5574 * subr.el (read-quoted-char): Use read-key.
5575 (sit-for): Let read-event decode tty input (bug#14782).
5577 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5579 * calendar/todo-mode.el: Add handling of file deletion, both by
5580 mode command and externally. Fix various related bugs.
5581 Clarify Commentary and improve some documentation strings and code.
5582 (todo-delete-file): New command.
5583 (todo-check-file): New function.
5584 (todo-show): Handle external deletion of the file we're trying to
5585 show (bug#14688). Replace called-interactively-p by an optional
5586 prefix argument to avoid problematic interaction with catch form
5587 when byte compiled (bug#14702).
5588 (todo-quit): Handle external deletion of the archive's todo file.
5589 Make sure the buffer that was visiting the archive file is still
5590 live before trying to bury it.
5591 (todo-category-completions): Handle external deletion of any
5592 category completion files.
5593 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5594 of todo files, in case of external deletion.
5595 (todo-add-file): Replace unnecessary setq by let-binding.
5596 (todo-find-archive): Check whether there are any archives.
5597 Replace unnecessary setq by let-binding.
5598 (todo-archive-done-item): Use find-file-noselect to get the
5599 archive buffer whether or not the archive already exists.
5600 Remove superfluous code. Use file size instead of buffer-file-name to
5601 check if the archive is new; if it is, update list of archives.
5602 (todo-default-todo-file): Allow nil to be a valid value for when
5603 there are no todo files.
5604 (todo-reevaluate-default-file-defcustom): Use corrected definition
5605 of todo-default-todo-file.
5606 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5607 (todo-delete-category, todo-show-categories-table)
5608 (todo-category-number): Clarify comment.
5609 (todo-filter-items): Clarify documentation string.
5610 (todo-show-current-file, todo-display-as-todo-file)
5611 (todo-reset-and-enable-done-separator): Tweak documentation string.
5612 (todo-done-separator): Make separator length window-width, since
5613 bug#2749 is now fixed.
5615 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5617 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5618 Support both "gvfs-monitor-dir" and "inotifywait".
5619 (tramp-sh-file-inotifywait-process-filter): Rename from
5620 `tramp-sh-file-notify-process-filter'.
5621 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5622 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5624 2013-07-05 Leo Liu <sdl.web@gmail.com>
5626 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5628 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5630 * frame.el (display-pixel-height, display-pixel-width)
5631 (display-mm-height, display-mm-width): Mention behavior on
5632 multi-monitor setups in docstrings.
5633 (w32-display-monitor-attributes-list): Declare function.
5634 (display-monitor-attributes-list): Use it.
5636 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5638 * filenotify.el: New package.
5640 * autorevert.el (top): Require filenotify.el.
5641 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5643 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5644 (auto-revert-notify-handler): Use `file-notify-*' functions.
5646 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5648 * net/tramp.el (tramp-file-name-for-operation):
5649 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5651 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5652 for `file-notify-add-watch' and `file-notify-rm-watch'.
5653 (tramp-process-sentinel): Improve trace.
5654 (tramp-sh-handle-file-notify-add-watch)
5655 (tramp-sh-file-notify-process-filter)
5656 (tramp-sh-handle-file-notify-rm-watch)
5657 (tramp-get-remote-inotifywait): New defuns.
5659 2013-07-03 Juri Linkov <juri@jurta.org>
5661 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5662 call of `occur-read-primary-args' to interactive spec.
5664 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5665 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5667 2013-07-03 Matthias Meulien <orontee@gmail.com>
5669 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5670 `Buffer-menu-multi-occur'. Add it to the menu.
5671 (Buffer-menu-mode): Document it in docstring.
5672 (Buffer-menu-multi-occur): New command. (Bug#14673)
5674 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5676 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5677 keywords and built-ins.
5679 2013-07-03 Glenn Morris <rgm@gnu.org>
5681 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5683 Make info-xref checks case-sensitive by default
5684 * info.el (Info-find-node, Info-find-in-tag-table)
5685 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5686 Add option for exact case matching of nodes.
5687 * info-xref.el (info-xref): New custom group.
5688 (info-xref-case-fold): New option.
5689 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5691 2013-07-03 Leo Liu <sdl.web@gmail.com>
5693 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5695 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5697 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5698 middle of block statement initially, lower the depth. Remove
5699 FIXME comment, not longer valid. Remove middle of block statement
5700 detection, no need to do that anymore since we've been using
5701 `ruby-parse-region' here.
5703 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5705 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5707 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5709 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5711 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5713 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5714 (desktop-restore-in-current-display): New customization option.
5715 (desktop--excluded-frame-parameters): Add `font'.
5716 (desktop--save-frames): Rename from desktop--save-windows.
5717 (desktop--restore-in-this-display-p): New function.
5718 (desktop--make-full-frame): Remove unwanted width/height from
5719 full(width|height) frames.
5720 (desktop--restore-frames): Rename from desktop--restore-windows.
5721 Obey desktop-restore-current-display. Do not delete old frames or
5722 select a new frame unless we were able to restore at least one frame.
5724 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5726 * files.el (find-file-noselect): Simplify conditional expression.
5728 * remember.el (remember-append-to-file):
5729 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5731 Add `remember-notes' function to store random notes across Emacs
5733 * remember.el (remember-data-file): Add :set callback to affect
5734 notes buffer (if any).
5735 (remember-notes): New command.
5736 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5737 New defcustoms for the `remember-notes' function.
5738 (remember-notes-save-and-bury-buffer): New command.
5739 (remember-notes-mode-map): New variable.
5740 (remember-mode): New minor mode.
5741 (remember-notes--kill-buffer-query): New function.
5742 * startup.el (initial-buffer-choice): Add notes to custom type.
5744 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5746 * bindings.el (right-char, left-char): Don't call sit-for, this is
5747 no longer needed. Use arithmetic comparison only for numerical
5750 * international/mule-cmds.el (select-safe-coding-system):
5751 Handle the case of FROM being a string correctly. (Bug#14755)
5753 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5755 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5756 progression on degenerate tables.
5757 (shr-rescale-image): ImageMagick animated images currently don't work.
5759 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5761 Some fixes and improvements for desktop frame restoration.
5762 It is still experimental and disabled by default.
5763 * desktop.el (desktop--save-windows): Put the selected frame at
5764 the head of the list.
5765 (desktop--make-full-frame): New function.
5766 (desktop--restore-windows): Try to re-select the frame that was
5767 selected upon saving. Do not abort if some frames fail to restore,
5768 just show an error message and continue. Set up maximized frames
5769 so they have default non-maximized dimensions.
5771 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5773 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5774 Don't start heredoc inside a string or comment.
5776 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5778 * bindings.el (visual-order-cursor-movement): New defcustom.
5779 (right-char, left-char): Provide visual-order cursor motion by
5780 calling move-point-visually. Update the doc strings.
5782 2013-06-28 Kenichi Handa <handa@gnu.org>
5784 * international/mule.el (define-coding-system): New coding system
5785 properties :inhibit-null-byte-detection,
5786 :inhibit-iso-escape-detection, and :prefer-utf-8.
5787 (set-buffer-file-coding-system): If :charset-list property of
5788 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5789 appropriate for setting.
5791 * international/mule-cmds.el (select-safe-coding-system):
5792 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5793 multibyte characters, return utf-8 (or one of its siblings).
5795 * international/mule-conf.el (prefer-utf-8): New coding system.
5796 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5799 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5801 * net/shr.el (shr-render-region): New function.
5803 * net/eww.el: Autoload `eww-browse-url'.
5805 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5807 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5808 Adapt to `package-desc-version' being a list.
5809 Use `package--ac-desc-version' to retrieve version from a package
5812 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5814 New experimental feature to save&restore window and frame setup.
5815 * desktop.el (desktop-save-windows): New defcustom.
5816 (desktop--saved-states): New var.
5817 (desktop--excluded-frame-parameters): New defconst.
5818 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5819 (desktop--restore-windows, desktop--save-windows): New functions.
5820 (desktop-save): Call `desktop--save-windows'.
5821 (desktop-read): Call `desktop--restore-windows'.
5823 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5825 * net/shr.el (add-face-text-property): Remove compat definition.
5827 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5829 * info.el (Info-try-follow-nearest-node): Move search for footnote
5830 above search for node name to prevent missing a footnote (bug#14717).
5832 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5834 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5836 2013-06-27 Leo Liu <sdl.web@gmail.com>
5838 * net/eww.el (eww-read-bookmarks): Check file size.
5840 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5843 advice--pending if newdef is nil or an autoload (bug#13820).
5844 (advice-mapc): New function.
5846 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5848 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5850 (eww-mode-map): Add a menu bar.
5851 (eww-add-bookmark): New command.
5852 (eww-bookmark-mode): New mode and commands.
5853 (eww-add-bookmark): Remove newlines from the title.
5854 (eww-bookmark-browse): Don't bug out if it's the only window.
5856 2013-06-26 Glenn Morris <rgm@gnu.org>
5858 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5859 (hfy-size): Handle ttys. (Bug#14668)
5861 * info-xref.el: Update for Texinfo 5 change in *note format.
5862 (info-xref-node-re, info-xref-note-re): New constants.
5863 (info-xref-check-buffer): Use info-xref-note-re.
5865 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5869 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5870 nil terminate the loop (bug#14718).
5872 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5874 * net/eww.el: Rework history traversal. When going forward/back,
5875 put these actions into the history, too, so that they can be
5877 (eww-render): Move the history reset to the correct buffer.
5879 2013-06-25 Juri Linkov <juri@jurta.org>
5881 * files-x.el (modify-dir-local-variable): Change the header comment
5882 in the file with directory local variables. (Bug#14692)
5884 * files-x.el (read-file-local-variable-value): Add `default'.
5887 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5889 * net/eww.el (eww-make-unique-file-name): Create a unique file
5890 name before saving to entering `y' accidentally asynchronously.
5892 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5894 * net/eww.el (eww-download): New command and keystroke.
5896 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5898 * net/eww.el (eww-copy-page-url): Change name of command.
5900 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5901 be more consistent with Info and dired.
5903 * net/eww.el (eww-mode-map): Ditto.
5905 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5907 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5908 packages from archives.
5909 (package-archive-contents): Change format; include obsolete packages.
5910 (package-desc): Use `dir' to mark builtin packages.
5911 (package--from-builtin): Set the `dir' field to `builtin'.
5912 (generated-autoload-file, version-control): Declare.
5913 (package-compute-transaction): Change first arg and return value to be
5914 lists of package-descs. Adjust to new package-archive-contents format.
5915 (package--add-to-archive-contents): Adjust to new
5916 package-archive-contents format.
5917 (package-download-transaction): Arg is now a list of package-descs.
5918 (package-install): If `pkg' is a package name, pass it as
5919 a requirement, so it is subject to the usual (e.g. disabled) checks.
5920 (describe-package): Accept package-desc as well.
5921 (describe-package-1): Describe a specific package-desc. Add links to
5922 other package-descs for the same package name.
5923 (package-menu-describe-package): Pass the actual package-desc.
5924 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5926 (package-desc-status): New function.
5927 (package-menu--refresh): New function, extracted
5928 from package-menu--generate.
5929 (package-menu--generate): Use it.
5930 (package-delete): Update package-alist.
5931 (package-menu-execute): Don't call package-initialize.
5933 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5934 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5935 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5936 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5937 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5938 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5940 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5942 * window.el (window--state-get-1): Workaround for bug#14527.
5943 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5945 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5947 * net/eww.el (eww-back-url): Implement the history by stashing all
5948 the data into a list.
5949 (eww-forward-url): Allow going forward in the history, too.
5951 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5953 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5954 for values and use read--expression for expressions (bug#14710).
5955 (read-file-local-variable): Avoid setq.
5956 (read-file-local-variable-mode): Use minor-mode-list.
5958 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5960 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5963 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5965 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5966 Update imenu-support when dialect changes.
5968 2013-06-25 Leo Liu <sdl.web@gmail.com>
5970 * ido.el (ido-read-internal): Allow forward slash on windows.
5972 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5974 * net/eww.el (eww): Start of strings is \\`, not ^.
5976 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5978 * net/shr.el (shr-browse-url): Fix interactive spec.
5980 * net/eww.el (eww): Add a trailing slash to domain names.
5982 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5984 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5986 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5988 * net/shr.el (shr-browse-url): Use an external browser if given a
5991 * net/eww.el (eww-external-browser): Move to shr.
5993 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5995 * net/eww.el (eww): Work more correctly for file: URLs.
5996 (eww-detect-charset): Allow quoted charsets.
5997 (eww-yank-page-url): New command and keystroke.
5999 2013-06-24 Daiki Ueno <ueno@gnu.org>
6001 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6002 file name of gpg executable.
6003 (epg-context-program): New function.
6004 (epg-context-home-directory): New function.
6005 (epg-context-set-program): New function.
6006 (epg-context-set-home-directory): New function.
6007 (epg--start): Use `epg-context-program' instead of
6009 (epg--list-keys-1): Likewise.
6011 2013-06-24 Leo Liu <sdl.web@gmail.com>
6013 * ido.el (ido-read-internal): Fix bug#14620.
6015 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6017 * faces.el (face-documentation): Simplify.
6018 (read-face-attribute, tty-find-type, x-resolve-font-name):
6019 Use `string-match-p'.
6020 (list-faces-display): Use `string-match-p'. Simplify.
6021 (face-spec-recalc): Check face to avoid face alias loops.
6022 (read-color): Use `string-match-p' and non-capturing parenthesis.
6024 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6026 * net/shr.el (shr-rescale-image): Use the new
6027 :max-width/:max-height functionality.
6029 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6031 * net/eww.el (eww-search-prefix): New variable.
6033 (eww-external-browser): New variable.
6034 (eww-mode-map): New keystroke.
6035 (eww-browse-with-external-browser): New command.
6037 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6039 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6041 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6042 Don't skip aligning the next header field when padding is 0;
6043 otherwise, field width is not respected unless the title is as
6046 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * emacs-lisp/package.el (package-el-version): Remove.
6049 (package-process-define-package): Fix inf-loop.
6050 (package-install): Allow symbols as arguments again.
6052 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6054 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6055 add some more keyword-like methods.
6056 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6058 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6060 * bs.el (bs-buffer-show-mark): Make defvar-local.
6061 (bs-mode): Use setq-local.
6063 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6064 (emacs-lock--try-unlocking): Make defvar-local.
6066 2013-06-22 Glenn Morris <rgm@gnu.org>
6068 * play/cookie1.el (cookie-apropos): Minor simplification.
6070 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6072 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6074 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6075 `regexp-opt', it breaks the build during dumping.
6077 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6079 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6080 Highlight keyword-like methods on Kernel and Module with
6081 font-lock-builtin-face.
6082 (auto-mode-alist): Consolidate different entries into one regexp
6083 and add more *file-s.
6085 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6087 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6089 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6090 (diary-entry): Use it in the action of this button type instead of
6093 * calendar/todo-mode.el: New version.
6094 (todo-add-category): Append new category to end of file and give
6095 it the highest number, instead of putting it at the beginning and
6096 giving it 0. Incorporate noninteractive functionality.
6097 (todo-forward-category): Adapt to 1-based category numbering.
6098 Allow skipping over archived categories.
6099 (todo-backward-category): Derive from todo-forward-category.
6100 (todo-backward-item, todo-forward-item): Make noninteractive and
6101 delegate interactive part to new commands. Make sensitive to done items.
6102 (todo-categories): Make value an alist of category names and
6103 vectors of item counts.
6104 (todo-category-beg): Make a defconst.
6105 (todo-category-number): Use 1 instead of 0 as initial value.
6106 (todo-category-select): Make sensitive to overlays, optional item
6107 highlighting and done items.
6108 (todo-delete-item): Make sensitive to overlays and marked and done items.
6109 (todo-edit-item): Make sensitive to overlays and editing of
6110 date/time header optional. Add format checks.
6111 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6112 no-op if point is not on an item. Advertise using todo-edit-quit.
6113 (todo-edit-mode): Make sensitive to new format, font-locking, and
6114 multiple todo files.
6115 (todo-insert-item, todo-insert-item-here): Derive from
6116 todo-basic-insert-item and extend functionality.
6117 (todo-item-end, todo-item-start): Make sensitive to done items.
6118 (todo-item-string): Don't return text properties. Restore point.
6119 (todo-jump-to-category): Make sensitive to multiple todo files and
6120 todo archives. Use extended category completion.
6121 (todo-lower-item, todo-raise-item): Rename to *-priority and
6122 derive from todo-set-item-priority.
6123 (todo-mode): Derive from special-mode. Make sensitive to new
6124 format, font-locking and multiple todo files. Make read-only.
6125 (todo-mode-map): Don't suppress digit keys, so they can supply
6126 prefix arguments. Add many new key bindings.
6127 (todo-prefix): Insert as an overlay instead of file text.
6128 Change semantics from diary date expression to purely visual mark.
6129 (todo-print): Rename to todo-print-buffer. Make buffer display
6130 features printable. Remove option to restrict number of items
6131 printed. Add option to print to file.
6132 (todo-print-function): Rename to todo-print-buffer-function.
6133 (todo-quit): Extend to handle exiting new todo modes.
6134 (todo-remove-item): Make sensitive to overlays.
6135 (todo-save): Extend to buffers of filtered items.
6136 (todo-show): Make sensitive to done items, multiple todo files and
6137 new todo modes. Offer to convert legacy todo file before creating
6138 first new todo file.
6139 (todo-show-priorities): Rename to todo-top-priorities.
6140 Change semantics of value 0.
6141 (todo-top-priorities): Rename to todo-filter-top-priorities,
6142 derive from todo-filter-items and extend functionality.
6143 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6144 and extend functionality to other types of filtered items.
6145 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6146 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6147 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6148 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6149 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6150 (todo-edit-mode-hook, todo-entry-prefix-function)
6151 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6152 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6153 (todo-initials, todo-insert-threshold, todo-item-string-start)
6154 (todo-line-string, todo-menu, todo-mode-hook)
6155 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6156 (todo-print-priorities, todo-remove-separator)
6157 (todo-save-top-priorities-too, todo-string-count-lines)
6158 (todo-string-multiline-p, todo-time-string-format)
6159 (todo-tmp-buffer-name): Remove.
6160 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6161 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6162 (todo-edit-category-diary-inclusion)
6163 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6164 (todo-edit-file, todo-edit-item-date-day)
6165 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6166 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6167 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6168 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6169 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6170 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6171 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6172 (todo-filter-top-priorities-multifile, todo-find-archive)
6173 (todo-find-filtered-items-file, todo-go-to-source-item)
6174 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6175 (todo-jump-to-archive-category, todo-lower-category)
6176 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6177 (todo-move-category, todo-move-item, todo-next-button)
6178 (todo-next-item, todo-padded-string, todo-powerset)
6179 (todo-previous-button, todo-previous-item)
6180 (todo-print-buffer-to-file, todo-raise-category)
6181 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6182 (todo-set-category-number, todo-set-item-priority)
6183 (todo-set-top-priorities-in-category)
6184 (todo-set-top-priorities-in-file, todo-show-categories-table)
6185 (todo-sort-categories-alphabetically-or-numerically)
6186 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6187 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6188 (todo-toggle-item-header, todo-toggle-item-highlighting)
6189 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6190 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6191 (todo-unarchive-items, todo-unmark-category): New commands.
6192 (todo-absolute-file-name, todo-add-to-buffer-list)
6193 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6194 (todo-basic-insert-item, todo-category-completions)
6195 (todo-category-number, todo-category-string-matcher-1)
6196 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6197 (todo-check-format, todo-clear-matches)
6198 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6199 (todo-current-category, todo-date-string-matcher)
6200 (todo-define-insertion-command, todo-diary-expired-matcher)
6201 (todo-diary-goto-entry, todo-diary-item-p)
6202 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6203 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6204 (todo-done-item-section-p, todo-done-separator)
6205 (todo-done-string-matcher, todo-files, todo-filter-items)
6206 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6207 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6208 (todo-insert-category-line, todo-insert-item-from-calendar)
6209 (todo-insert-sort-button, todo-insert-with-overlays)
6210 (todo-insertion-command-name, todo-insertion-key-bindings)
6211 (todo-label-to-key, todo-longest-category-name-length)
6212 (todo-make-categories-list, todo-mode-external-set)
6213 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6214 (todo-modes-set-3, todo-multiple-filter-files)
6215 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6216 (todo-read-category, todo-read-date, todo-read-dayname)
6217 (todo-read-file-name, todo-read-time)
6218 (todo-reevaluate-category-completions-files-defcustom)
6219 (todo-reevaluate-default-file-defcustom)
6220 (todo-reevaluate-filelist-defcustoms)
6221 (todo-reevaluate-filter-files-defcustom)
6222 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6223 (todo-reset-done-separator, todo-reset-done-separator-string)
6224 (todo-reset-done-string, todo-reset-global-current-todo-file)
6225 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6226 (todo-reset-prefix, todo-set-categories)
6227 (todo-set-date-from-calendar, todo-set-show-current-file)
6228 (todo-set-top-priorities, todo-short-file-name)
6229 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6230 (todo-total-item-counts, todo-update-buffer-list)
6231 (todo-update-categories-display, todo-update-categories-sexp)
6232 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6234 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6236 (todo-categories, todo-display, todo-edit, todo-faces)
6237 (todo-filtered): New defgroups.
6238 (todo-archived-only, todo-button, todo-category-string, todo-date)
6239 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6240 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6241 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6242 (todo-add-item-if-new-category, todo-always-add-time-string)
6243 (todo-categories-align, todo-categories-archived-label)
6244 (todo-categories-category-label, todo-categories-diary-label)
6245 (todo-categories-done-label, todo-categories-number-separator)
6246 (todo-categories-todo-label, todo-categories-totals-label)
6247 (todo-category-completions-files, todo-completion-ignore-case)
6248 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6249 (todo-done-separator-string, todo-done-string)
6250 (todo-files-function, todo-filter-done-items, todo-filter-files)
6251 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6252 (todo-initial-category, todo-initial-file, todo-item-mark)
6253 (todo-legacy-date-time-regexp, todo-mode-line-function)
6254 (todo-nondiary-marker, todo-number-prefix)
6255 (todo-print-buffer-function, todo-show-current-file)
6256 (todo-show-done-only, todo-show-first, todo-show-with-done)
6257 (todo-skip-archived-categories, todo-top-priorities-overrides)
6258 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6259 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6261 (todo-category-done, todo-date-pattern, todo-date-string-start)
6262 (todo-diary-items-buffer, todo-done-string-start)
6263 (todo-filtered-items-buffer, todo-item-start)
6264 (todo-month-abbrev-array, todo-month-name-array)
6265 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6266 (todo-top-priorities-buffer): New defconsts.
6267 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6268 (todo-categories-with-marks, todo-category-string-face)
6269 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6270 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6271 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6272 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6273 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6274 (todo-font-lock-keywords, todo-global-current-todo-file)
6275 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6276 (todo-insertion-commands-args)
6277 (todo-insertion-commands-args-genlist)
6278 (todo-insertion-commands-names, todo-insertion-map)
6279 (todo-key-bindings-t, todo-key-bindings-t+a)
6280 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6281 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6282 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6283 (todo-visited): New variables.
6285 2013-06-21 Glenn Morris <rgm@gnu.org>
6287 * play/cookie1.el (cookie-apropos): Add optional display argument.
6288 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6289 (psychoanalyze-pinhead): Use cookie-doctor.
6291 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6293 * emacs-lisp/package.el (tar-get-file-descriptor)
6294 (tar--extract): Declare.
6296 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6298 Extend flymake's warning predicate to be a function (bug#14217).
6299 * progmodes/flymake.el (flymake-warning-predicate): New.
6300 (flymake-parse-line): Use it.
6301 (flymake-warning-re): Make obsolete alias to
6302 `flymake-warning-predicate'.
6304 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6306 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6307 (package-obsolete-list): Remove.
6308 (package-activate): Remove min-version argument. Add `force' argument.
6309 Adjust to new package-alist format.
6310 (package-mark-obsolete): Remove.
6311 (package-unpack): Force reload of the package's autoloads.
6312 (package-installed-p): Check builtins if the installed package is not
6314 (package-initialize): Don't reset package-obsolete-list.
6315 Don't specify which package version to activate.
6316 (package-process-define-package, describe-package-1)
6317 (package-menu--generate): Adjust to new package-alist format.
6319 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6321 * allout-widgets.el (allout-widgets-mode-off)
6322 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6323 (allout-widgets-post-command-business)
6324 (allout-widgets-after-copy-or-kill-function)
6325 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6326 (allout-decorate-item-and-context)
6327 (allout-graphics-modification-handler): Fix typos in docstrings.
6328 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6330 * cmuscheme.el (scheme-start-file): Doc fix.
6331 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6332 (scheme-input-filter): Use `string-match-p'.
6334 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6336 * dired-x.el: Use Dired consistently in docstrings.
6338 * dired.el: Use Dired consistently in docstrings.
6339 (dired-readin, dired-mode): Use `setq-local'.
6340 (dired-switches-alist): Make defvar-local.
6341 (dired-buffers-for-dir): Use `zerop'.
6342 (dired-safe-switches-p, dired-switches-escape-p)
6343 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6344 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6345 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6346 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6347 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6348 (dired-toggle-marks, dired-mark-files-containing-regexp)
6349 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6350 (dired-flag-auto-save-files, dired-flag-backup-files):
6352 (dired-mark-files-regexp, dired-build-subdir-alist):
6353 Use `string-match-p', `looking-at-p'.
6355 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6356 (direct-print-region-helper): Use `string-match-p'.
6358 2013-06-21 Leo Liu <sdl.web@gmail.com>
6360 * comint.el (comint-redirect-results-list-from-process):
6363 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365 * net/eww.el (eww-update-header-line-format): Quote % characters.
6367 2013-06-21 Glenn Morris <rgm@gnu.org>
6369 * play/cookie1.el (cookie): New custom group.
6370 (cookie-file): New option.
6371 (cookie-check-file): New function.
6372 (cookie): Make it interactive. Make start and end messages optional.
6373 Interactively, display the result. Default to cookie-file.
6374 (cookie-insert): Default to cookie-file.
6375 (cookie-snarf): Make start and end messages optional.
6376 Default to cookie-file. Use with-temp-buffer.
6377 (cookie-read): Rename from read-cookie.
6378 Make start and end messages optional. Default to cookie-file.
6379 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6381 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6382 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6384 2013-06-21 Leo Liu <sdl.web@gmail.com>
6386 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6388 2013-06-21 Glenn Morris <rgm@gnu.org>
6390 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6392 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6393 Daniel Hackney <dan@haxney.org>
6395 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6396 Consolidate the single-file vs tarball code.
6397 (package-desc-suffix): New function.
6398 (package-desc-full-name): Don't bother inlining it.
6399 (package-load-descriptor): Return the new package-desc.
6400 (package-mark-obsolete): Remove unused arg `package'.
6401 (package-unpack): Make it work for single files as well.
6402 Make it update package-alist.
6403 (package--make-autoloads-and-stuff): Rename from
6404 package--make-autoloads-and-compile. Don't compile any more.
6405 (package--compile): New function.
6406 (package-generate-description-file): New function, extracted from
6407 package-unpack-single.
6408 (package-unpack-single): Remove.
6409 (package--with-work-buffer): Add indentation and debugging info.
6410 (package-download-single): Remove.
6411 (package-install-from-archive): Rename from package-download-tar, make
6412 it take a pkg-desc, and make it work for single files as well.
6413 (package-download-transaction): Simplify.
6414 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6415 external tar program.
6416 (package-install-from-buffer): Remove `pkg-desc' argument.
6417 Use package-tar-file-info for tar-mode buffers.
6418 (package-install-file): Simplify accordingly.
6419 (package-archive-base): Change to take a pkg-desc.
6420 * tar-mode.el (tar--check-descriptor): New function, extracted from
6422 (tar-get-descriptor): Use it.
6423 (tar-get-file-descriptor): New function.
6424 (tar--extract): New function, extracted from tar-extract.
6425 (tar--extract): Use it.
6426 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6427 case the summary uses non-ascii. Adjust to new calling convention of
6428 package-tar-file-info.
6430 2013-06-21 Leo Liu <sdl.web@gmail.com>
6432 * comint.el (comint-redirect-results-list-from-process):
6433 Fix random delay. (Bug#14681)
6435 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6437 * profiler.el (profiler-format-number): Use log, not log10.
6439 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6441 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6443 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6445 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6446 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6448 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6449 (AUTOGENEL): ... here.
6450 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6451 (cl--defsubst-expand): Use it.
6453 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6455 * subr.el (log10): Move here from C code, and declare as obsolete.
6456 All uses of (log10 X) replaced with (log X 10).
6458 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6460 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6461 Declare with `defvar-local'.
6462 (tabulated-list-use-header-line, tabulated-list-entries)
6463 (tabulated-list-padding, tabulated-list-printer)
6464 (tabulated-list-sort-key): Declare with `defvar-local'.
6465 (tabulated-list-init-header, tabulated-list-print-fake-header):
6468 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6470 * arc-mode.el (archive-mode): Add `archive-write-file' to
6471 `write-contents-functions' also for remote files. (Bug#14652)
6473 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6475 * cus-edit.el (custom-commands): Fix typos.
6476 (custom-display): Fix tooltip text.
6477 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6478 Fix typos in docstrings.
6479 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6480 (custom-unlispify-menu-entry, custom-magic-value-create)
6481 (custom-add-see-also, custom-group-value-create): Use ?\s.
6482 (custom-guess-type, customize-apropos, editable-field)
6483 (custom-face-value-create): Use `string-match-p'.
6484 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6486 * custom.el (custom-load-symbol): Use `string-match-p'.
6488 * ansi-color.el: Convert to lexical binding.
6489 (ansi-colors): Fix URL.
6490 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6491 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6492 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6494 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6498 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6500 2013-06-19 Tom Tromey <tromey@redhat.com>
6502 * net/eww.el (eww-top-url): Remove.
6503 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6504 (eww-render): Set new variables. Don't set eww-top-url.
6505 (eww-handle-link): Handle "prev", "home", and "contents".
6506 Downcase the rel text.
6507 (eww-top-url): Choose best top URL.
6509 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6511 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6512 relying in widget.el. Using widget.el leads to too many
6513 user interface inconsistencies.
6514 (eww-self-insert): Implement entering commands in text fields.
6515 (eww-process-text-input): New function to make text input field editing
6517 (eww-submit): Rewrite to use the new-style form methods.
6518 (eww-select-display): Display the correct selected item.
6519 (eww-change-select): Implement changing the select value.
6520 (eww-toggle-checkbox): Implement radio/checkboxes.
6521 (eww-update-field): Fix compilation error.
6522 (eww-tag-textarea): Implement <textarea>.
6524 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6525 we don't shadow mode-specific bindings.
6527 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6530 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6532 2013-06-19 Glenn Morris <rgm@gnu.org>
6534 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6536 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6538 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6541 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6543 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545 * net/browse-url.el (browse-url-browser-function):
6546 `eww-browse-url' has the right calling signature, `eww' does not.
6548 2013-06-19 Glenn Morris <rgm@gnu.org>
6550 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6551 Only eval autoloaded macros.
6552 (byte-compile-autoload): Only give the macro warning for macros.
6554 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6555 (ps-underlined-faces): Declare.
6557 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6558 (speedbar-add-supported-extension): Declare.
6560 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6561 Don't include a date stamp in the header of the generated file;
6562 it leads to needless differences between output files.
6564 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6566 * net/secrets.el (secrets-struct-secret-content-type):
6567 Replace check of introspection data by a test call of "CreateItem".
6568 Some servers do not offer introspection.
6570 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * electric.el (electric-pair-mode): Improve interaction with
6573 electric-layout-mode.
6574 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6575 (electric-pair-syntax): Use text-mode-syntax-table in comments
6577 (electric-pair--insert): New function.
6578 (electric-pair-post-self-insert-function): Use it and
6579 electric--after-char-pos.
6581 2013-06-19 Leo Liu <sdl.web@gmail.com>
6583 * progmodes/octave.el (octave-help): Fix regexp.
6585 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6587 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6588 (shr-table-horizontal-line): Allow nil as a value, and change the
6590 (shr-insert-table-ruler): Respect the nil value.
6592 2013-06-18 Tom Tromey <tromey@barimba>
6594 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6596 (eww-open-file): New defun.
6597 (eww-render): Initialize new variables.
6598 (eww-display-html): Handle "link" and "a".
6599 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6600 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6601 (eww-back-url): Rename from eww-previous-url.
6602 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6605 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6607 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6608 Distinguish ternary operator tokens from slash symbol and slash
6611 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6613 Convert symbol prettification into minor mode and global minor mode.
6615 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6616 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6617 (prettify-symbols--keywords): Rename from
6618 `prog-prettify-symbols-alist' and make a local defvar.
6619 (prettify-symbols--compose-symbol): Rename from
6620 `prog--prettify-font-lock-compose-symbol'.
6621 (prettify-symbols--make-keywords): Rename from
6622 `prog-prettify-font-lock-symbols-keywords' and simplify.
6623 (prog-prettify-install): Remove.
6624 (prettify-symbols-mode): New minor mode, based on
6625 `prog-prettify-install'.
6626 (turn-on-prettify-symbols-mode): New function.
6627 (global-prettify-symbols-mode): New globalized minor mode.
6629 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6630 * progmodes/cfengine.el (cfengine3-mode):
6631 * progmodes/perl-mode.el (perl-mode): Don't call
6632 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6634 2013-06-18 Juri Linkov <juri@jurta.org>
6636 * files-x.el (modify-file-local-variable-message): New function.
6637 (modify-file-local-variable)
6638 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6639 and call `modify-file-local-variable-message' when it's non-nil.
6640 (add-file-local-variable, delete-file-local-variable)
6641 (add-file-local-variable-prop-line)
6642 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6643 and use it. (Bug#9820)
6645 2013-06-18 Juri Linkov <juri@jurta.org>
6647 * emulation/vi.el (vi-shell-op):
6648 * emulation/vip.el (vip-execute-com, ex-command):
6649 * emulation/viper-cmd.el (viper-exec-bang):
6650 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6651 the call of `shell-command-on-region'. (Bug#14637)
6653 * simple.el (shell-command-on-region): Doc fix.
6655 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6660 2013-06-18 Glenn Morris <rgm@gnu.org>
6662 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6664 * newcomment.el (comment-search-forward, comment-search-backward):
6665 Doc fix. (Bug#14376)
6667 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6669 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6670 (buffer-face-mode-invoke): Doc fix.
6672 2013-06-18 Matthias Meulien <orontee@gmail.com>
6674 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6675 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6677 2013-06-18 Glenn Morris <rgm@gnu.org>
6679 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6680 Replace obsolete function generic-make-keywords with its expansion.
6682 * progmodes/python.el (ffap-alist): Declare.
6684 * textmodes/reftex.el (bibtex-mode-map): Declare.
6686 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6689 (package-unpack, package-unpack-single): Return the pkg-dir.
6690 (package-download-transaction): Use it to update package-alist.
6692 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6694 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6697 2013-06-17 Juri Linkov <juri@jurta.org>
6699 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6701 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6703 * emacs-lisp/package.el (package-load-descriptor):
6704 Remove `with-syntax-table' call, `read' doesn't need it.
6705 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6707 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6709 * startup.el (command-line): Expand package name returned by
6710 `package--description-file' (bug#14639).
6712 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6714 * emacs-lisp/package.el (package-load-descriptor): Do not call
6715 `emacs-lisp-mode', just use its syntax table.
6717 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6719 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6720 `font-lock-extra-managed-props' if any prettifying keyword is added.
6721 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6722 (prog-mode): Use `setq-local'.
6724 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6726 * international/characters.el (standard-case-table): Set syntax of ?»
6727 and ?« to punctuation.
6729 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6731 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6732 Save relevant match data before calling `syntax-ppss' (bug#14595).
6734 2013-06-15 Juri Linkov <juri@jurta.org>
6736 * files-x.el (modify-file-local-variable-prop-line): Add local
6737 variables to the end of the existing comment on the first line.
6738 Use `file-auto-mode-skip' to skip interpreter magic line,
6739 and also skip XML declaration.
6741 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * startup.el (package--builtin-versions): New var.
6744 (package-subdirectory-regexp): Remove.
6745 (package--description-file): Hard code its value instead.
6747 * emacs-lisp/package.el: Don't activate packages older than builtin.
6748 (package-obsolete-list): Rename from package-obsolete-alist, and make
6749 it into a simple list of package-desc.
6750 (package-strip-version): Remove.
6751 (package-built-in-p): Use package--builtin-versions.
6752 (package-mark-obsolete): Simplify.
6753 (package-process-define-package): Mark it obsolete if older than the
6755 (package-handle-response): Use line-end-position.
6756 (package-read-archive-contents, package--download-one-archive):
6758 (package--add-to-archive-contents): Skip if older than the builtin or
6760 (package-menu-describe-package): Fix last change.
6761 (package-list-unversioned): New var.
6762 (package-menu--generate): Use it.
6764 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6765 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6766 (autoload-builtin-package-versions): New variable.
6767 (autoload-generate-file-autoloads): Use them.
6768 Remove the list of autoloaded functions/macros from the
6769 (autoload...) comments.
6771 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6773 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6775 * simple.el (line-move-partial): Don't jump to the next screen
6776 line as soon as it becomes visible. Instead, continue enlarging
6777 the vscroll until the portion of a tall screen line that's left on
6778 display is about the height of the frame's default font.
6781 2013-06-15 Glenn Morris <rgm@gnu.org>
6783 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6784 compilation-error-regexp-alist void, or local while let-bound.
6786 * progmodes/make-mode.el (makefile-mode-syntax-table):
6787 Treat "=" as punctuation. (Bug#14614)
6789 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6791 * help-fns.el (describe-variable):
6792 Add extra line for permanent-local variables.
6794 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6796 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6797 Add export, import, library. (Bug#9164)
6798 (library): Set indent function.
6800 2013-06-14 Glenn Morris <rgm@gnu.org>
6802 * term/xterm.el (xterm--query):
6803 Stop after first matching handler. (Bug#14615)
6805 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6807 Add support for dired in saveplace.
6808 * dired.el (dired-initial-position-hook): New variable.
6809 (dired-initial-position): Call hook to place cursor position.
6810 * saveplace.el (save-place-to-alist): Add dired position.
6811 (save-place-dired-hook): New function.
6813 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6816 through a symbol rather than letrec.
6818 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6819 (package-desc): Add `dir' field.
6820 (package-desc-full-name): New function.
6821 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6822 (package-maybe-load-descriptor): Remove.
6823 (package-load-all-descriptors): Just call package-load-descriptor.
6824 (package--disabled-p): New function.
6825 (package-desc-vers, package-desc-doc): Remove aliases.
6826 (package--dir): Remove function.
6827 (package-activate): Check if a package is disabled.
6828 (package-process-define-package): New function, extracted from
6830 (define-package): Turn into a place holder.
6831 (package-unpack-single, package-tar-file-info):
6832 Use package--description-file.
6833 (package-compute-transaction): Use package--disabled-p.
6834 (package-download-transaction): Don't call
6835 package-maybe-load-descriptor since they're all loaded anyway.
6836 (package-install): Change argument to be a pkg-desc.
6837 (package-delete): Use a single pkg-desc argument.
6838 (describe-package-1): Use package-desc-dir instead of package--dir.
6839 Use package-desc property instead of package-symbol.
6840 (package-install-button-action): Adjust accordingly.
6841 (package--push): Rewrite.
6842 (package-menu--print-info): Adjust accordingly. Change the ID format
6844 (package-menu-describe-package, package-menu-get-status)
6845 (package-menu--find-upgrades, package-menu-mark-upgrades)
6846 (package-menu-execute, package-menu--name-predicate):
6848 * startup.el (package--description-file): New function.
6849 (command-line): Use it.
6850 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6851 Use package-desc-version.
6853 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6854 (byte-compile-preprocess): Use it.
6855 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6856 can't quite recognize.
6857 (byte-compile-add-to-list): Remove.
6858 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6859 (cconv-closure-convert): Add assertion.
6861 * emacs-lisp/map-ynp.el: Use lexical-binding.
6862 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6863 Factor out some repeated code.
6865 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6867 * subr.el (with-eval-after-load): New macro.
6868 (eval-after-load): Allow form to be a function.
6869 take advantage of lexical-binding.
6870 (do-after-load-evaluation): Use dolist and adjust to new format.
6871 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6873 2013-06-13 Juri Linkov <juri@jurta.org>
6875 * replace.el (perform-replace): Display "symbol " and other search
6876 modes from `isearch-message-prefix' in the *Help* buffer.
6878 * isearch.el (isearch-query-replace): Add " symbol" and other
6879 possible search modes from `isearch-message-prefix' to the prompt.
6880 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6881 when reading a regexp to collect.
6883 2013-06-13 Juri Linkov <juri@jurta.org>
6885 * isearch.el (word-search-regexp): Match whitespace if the search
6886 string begins or ends in whitespace. The LAX arg is applied to
6887 both ends of the search string. Use `regexp-quote' and explicit
6888 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6889 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6890 boundaries are replaced with symbol boundaries, and characters
6891 between symbols match non-word non-symbol syntax. (Bug#14602)
6893 2013-06-13 Juri Linkov <juri@jurta.org>
6895 * isearch.el (isearch-del-char): Don't exceed the length of
6896 `isearch-string' by the prefix arg. (Bug#14563)
6898 2013-06-13 Juri Linkov <juri@jurta.org>
6900 * isearch.el (isearch-yank-word, isearch-yank-line)
6901 (isearch-char-by-name, isearch-quote-char)
6902 (isearch-printing-char, isearch-process-search-char):
6903 Add optional count prefix arg. (Bug#14563)
6905 * international/isearch-x.el
6906 (isearch-process-search-multibyte-characters):
6907 Add optional count prefix arg.
6909 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6911 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6912 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6915 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6917 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6919 2013-06-13 Glenn Morris <rgm@gnu.org>
6921 * startup.el (tty-handle-args):
6922 Don't just discard "--" and anything after. (Bug#14608)
6924 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6926 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6928 Implement changes in Secret Service API. Make it backward compatible.
6929 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6930 (secrets-create-item): Use it. Prefix properties with interface.
6932 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6934 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6935 (term-emulate-terminal): Respect term-suppress-hard-newline.
6937 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6939 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6940 Only remove a `thumb-file' overlay. (Bug#14548)
6942 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6944 * mail/reporter.el (reporter-submit-bug-report):
6945 Handle missing package-name. (Bug#14600)
6947 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6949 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6950 (reftex-citation-prompt, reftex-default-bibliography)
6951 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6952 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6953 (reftex-bib-sort-author, reftex-bib-sort-year)
6954 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6955 (reftex-extract-bib-entries-from-thebibliography)
6956 (reftex-get-bibkey-default, reftex-get-bib-names)
6957 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6958 (reftex-format-bib-entry, reftex-parse-bibitem)
6959 (reftex-format-bibitem, reftex-do-citation)
6960 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6961 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6962 (reftex-insert-bib-matches, reftex-format-citation)
6963 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6964 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6965 existing comments into docstrings.
6967 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6969 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6971 2013-06-12 Andreas Schwab <schwab@suse.de>
6973 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6974 for auto-save files.
6976 2013-06-12 Glenn Morris <rgm@gnu.org>
6978 * ido.el (ido-delete-ignored-files): Remove.
6979 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6980 Go back to calling ido-ignore-item-p directly.
6982 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6984 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6986 * ido.el (ido-delete-ignored-files): New function,
6987 split from ido-make-file-list-1.
6988 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6989 (ido-make-file-list-1): Use ido-delete-ignored-files.
6991 2013-06-12 Leo Liu <sdl.web@gmail.com>
6993 * progmodes/octave.el (inferior-octave-startup)
6994 (inferior-octave-completion-table)
6995 (inferior-octave-track-window-width-change)
6996 (octave-eldoc-function-signatures, octave-help)
6997 (octave-find-definition): Use single quoted strings.
6998 (inferior-octave-startup-args): Change default value.
6999 (inferior-octave-startup): Do not hard code "-i" and
7000 "--no-line-editing".
7001 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7002 (inferior-octave-directory-tracker): Use it.
7003 (octave-goto-function-definition): Robustify.
7004 (octave-help): Support highlighting operators in 'See also'.
7005 (octave-find-definition): Find subfunctions only in Octave mode.
7007 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7009 * help-fns.el (help-fns--compiler-macro): If the handler function is
7010 named, then put a link to it.
7011 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7012 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7014 (cl-eval-when): Simplify debug spec.
7015 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7016 compiler-macro function instead of setting `compiler-macro-file'.
7018 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7020 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7021 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7023 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7024 Daniel Hackney <dan@haxney.org>
7026 First part of Daniel Hackney's patch to package.el.
7027 * emacs-lisp/package.el: Use defstruct.
7028 (package-desc): New, main struct.
7029 (package--bi-desc, package--ac-desc): New structs, used to describe the
7030 format in external files.
7031 (package-desc-vers): Replace with package-desc-version accessor.
7032 (package-desc-doc): Replace with package-desc-summary accessor.
7033 (package-activate-1): Remove `package' arg since the pkg-vec now
7035 (define-package): Use package-desc-from-define.
7036 (package-unpack-single): Change file-name arg to be a symbol.
7037 (package--add-to-archive-contents): Use package-desc-create and new
7038 accessor functions to package--ac-desc.
7039 (package-buffer-info, package-tar-file-info): Return a package-desc.
7040 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7041 arg to be a package-desc.
7042 (package-install-file): Adjust accordingly. Use \' to match EOS.
7043 (package--from-builtin): New function.
7044 (describe-package-1, package-menu--generate): Use it.
7045 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7046 (package-generate-autoloads): Idem and return the name of the file.
7047 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7048 Change pkg-info arg to be a package-desc.
7049 Use package-make-ac-desc.
7050 (package-upload-file): Use \' to match EOS.
7051 * finder.el (finder-compile-keywords): Use package-make-builtin.
7053 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * vc/vc.el (vc-deduce-fileset): Change error message.
7056 (vc-read-backend): New function.
7057 (vc-next-action): Use it.
7059 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7061 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7062 (prolog-font-lock-keywords): Use regexp-opt instead.
7063 Don't manually highlight strings.
7064 (prolog-mode-variables): Simplify comment-start-skip.
7065 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7067 * emacs-lisp/generic.el (generic--normalise-comments)
7068 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7069 (generic-mode-set-comments): Use them.
7070 (generic-bracket-support): Use setq-local.
7071 (generic-make-keywords-list): Declare obsolete.
7073 2013-06-11 Glenn Morris <rgm@gnu.org>
7075 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7076 Prettify after setting font-lock-defaults. (Bug#14574)
7078 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7080 * replace.el (query-replace, occur-read-regexp-defaults-function)
7082 * subr.el (declare-function, number-sequence, local-set-key)
7083 (substitute-key-definition, locate-user-emacs-file)
7084 (with-silent-modifications, split-string, eval-after-load):
7085 Fix typos, remove unneeded backslashes and reflow some docstrings.
7087 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7089 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7090 default for Elisp files.
7092 2013-06-11 Glenn Morris <rgm@gnu.org>
7094 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7095 although define-derived-mode was doing this anyway. (Bug#14583)
7097 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7099 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7100 Fix make-variable-buffer-local call to refer to the correct variable.
7102 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7104 * eshell/em-term.el (eshell-visual-commands)
7105 (eshell-visual-subcommands, eshell-visual-options):
7106 Add summary line to docstrings. Add cross-references.
7108 2013-06-10 Glenn Morris <rgm@gnu.org>
7110 * epa.el (epa-read-file-name): New function. (Bug#14510)
7111 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7113 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7115 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7116 output redirection to be ignored with visual commands.
7118 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7120 * eshell/em-term.el (eshell-visual-command-p): New function.
7121 (eshell-term-initialize): Move long lambda to separate function
7122 eshell-visual-command-p.
7123 * eshell/em-dirs.el (eshell-dirs-initialise):
7124 * eshell/em-script.el (eshell-script-initialize):
7125 Add missing #' to lambda.
7127 2013-06-08 Leo Liu <sdl.web@gmail.com>
7129 * progmodes/octave.el (octave-add-log-current-defun): New function.
7130 (octave-mode): Set add-log-current-defun-function.
7131 (octave-goto-function-definition): Do not move point if not found.
7132 (octave-find-definition): Enhance to try subfunctions first.
7134 2013-06-08 Glenn Morris <rgm@gnu.org>
7136 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7137 (byte-compile-backward-char, byte-compile-backward-word):
7138 Improve previous change, to handle non-explicit nil.
7140 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7143 (smie--opener/closer-at-point): New function.
7144 (smie--matching-block-data): Use it. Don't match from right after an
7145 opener or right before a closer. Obey smie-blink-matching-inners.
7146 Don't signal a mismatch for repeated inners like "switch..case..case".
7148 2013-06-07 Leo Liu <sdl.web@gmail.com>
7150 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7152 (octave-function-header-regexp): Fix. (Bug#14570)
7153 (octave-help-mode-finish-hook, octave-help-mode-finish):
7154 Remove. Just use temp-buffer-show-hook.
7156 * newcomment.el (comment-search-backward): Revert last change.
7159 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7161 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7163 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7164 through xargs, to avoid failure due to MS-Windows limitations on
7165 command-line length.
7167 2013-06-06 Glenn Morris <rgm@gnu.org>
7169 * font-lock.el (lisp-font-lock-keywords-2):
7170 Treat user-error like error.
7172 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7173 (byte-compile-backward-char, byte-compile-backward-word):
7174 Handle explicit nil arguments. (Bug#14565)
7176 2013-06-05 Alan Mackenzie <acm@muc.de>
7178 * isearch.el (isearch-allow-prefix): New user option.
7179 (isearch-other-meta-char): Don't exit isearch when a prefix
7180 argument is typed whilst `isearch-allow-prefix' is non-nil.
7183 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7185 * autorevert.el (auto-revert-notify-handler): Use memq.
7186 Hide assertion failure.
7188 * skeleton.el: Use cl-lib.
7189 (skeleton-further-elements): Use defvar-local.
7190 (skeleton-insert): Use cl-progv.
7192 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7194 * progmodes/prog-mode.el (prog-prettify-symbols)
7195 (prog-prettify-install): Update docstrings.
7197 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7199 * simple.el: Move all the prog-mode code to prog-mode.el.
7200 * progmodes/prog-mode.el: New file.
7201 * loadup.el: Add prog-mode.el.
7203 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7205 * simple.el (prog-prettify-symbols): Add version.
7206 (prog-prettify-install): Add convenience function to prettify symbols.
7208 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7209 (perl--augmented-font-lock-keywords-1)
7210 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7211 variables and use it.
7213 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7214 (cfengine3-mode): Remove unneeded variable and use it.
7216 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7217 (lisp--augmented-font-lock-keywords-1)
7218 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7219 Remove unneeded variables and use it.
7221 2013-06-05 João Távora <joaotavora@gmail.com>
7223 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7224 to point when opening the connection. (Bug#14380)
7226 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * subr.el (load-history-regexp, load-history-filename-element)
7229 (eval-after-load, after-load-functions, do-after-load-evaluation)
7230 (eval-next-after-load, display-delayed-warnings)
7231 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7232 definition of save-match-data.
7233 (overriding-local-map): Remove accidental obsolescence declaration.
7235 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7237 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7239 Generalize symbol prettify support to prog-mode and implement it
7240 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7241 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7242 (prog--prettify-font-lock-compose-symbol)
7243 (prog-prettify-font-lock-symbols-keywords): New variables and
7244 functions to support symbol prettification.
7245 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7246 (lisp--augmented-font-lock-keywords-1)
7247 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7248 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7249 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7250 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7251 Implement prettify of -> => :: strings.
7252 * progmodes/perl-mode.el (perl-prettify-symbols)
7253 (perl--font-lock-compose-symbol)
7254 (perl--font-lock-symbols-keywords): Move to prog-mode.
7255 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7256 (perl-font-lock-keywords-1)
7257 (perl-font-lock-keywords-2): Remove explicit prettify support.
7258 (perl--augmented-font-lock-keywords)
7259 (perl--augmented-font-lock-keywords-1)
7260 (perl--augmented-font-lock-keywords-2, perl-mode):
7261 Implement prettify support.
7263 2013-06-05 Leo Liu <sdl.web@gmail.com>
7265 Re-implement smie matching block highlight using
7266 show-paren-data-function. (Bug#14395)
7267 * emacs-lisp/smie.el (smie-matching-block-highlight)
7268 (smie--highlight-matching-block-overlay)
7269 (smie--highlight-matching-block-lastpos)
7270 (smie-highlight-matching-block)
7271 (smie-highlight-matching-block-mode): Remove.
7272 (smie--matching-block-data-cache): New variable.
7273 (smie--matching-block-data): New function.
7274 (smie-setup): Use smie--matching-block-data for
7275 show-paren-data-function.
7277 * progmodes/octave.el (octave-mode-menu): Fix.
7278 (octave-find-definition): Skip garbage lines.
7280 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7282 Fix compilation error with simultaneous dynamic+lexical scoping.
7283 Add warning when a defvar appears after the first let-binding.
7284 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7285 (byte-compile-close-variables): Initialize it.
7286 (byte-compile--declare-var): New function.
7287 (byte-compile-file-form-defvar)
7288 (byte-compile-file-form-define-abbrev-table)
7289 (byte-compile-file-form-custom-declare-variable): Use it.
7290 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7291 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7292 (byte-compile-bind): Handle dynamic bindings that shadow
7294 (byte-compile-unbind): Make arg non-optional.
7295 (byte-compile-let): Simplify.
7296 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7297 (cconv--analyse-function, cconv-analyse-form): Populate it.
7298 Protect byte-compile-bound-variables to limit the scope of defvars.
7299 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7300 Remove unneeded rule for `declare'.
7302 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7303 so as to avoid depending on cl-adjoin at run-time.
7304 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7306 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7307 (macroexp--warn-and-return): Use it.
7309 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * lisp/subr.el: Convert to lexical binding.
7312 (overriding-local-map): Make obsolete.
7313 (add-to-list): Doc fix. Add compiler macro.
7314 (read-key): Swap values of local maps.
7316 2013-06-05 Leo Liu <sdl.web@gmail.com>
7318 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7320 2013-06-04 Leo Liu <sdl.web@gmail.com>
7322 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7323 (compilation-auto-jump): Suppress the "Mark set" message to give
7324 way to exit message.
7326 2013-06-04 Alan Mackenzie <acm@muc.de>
7328 Remove faulty optimisation from indentation calculation.
7329 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7330 search limit based on 2000 characters back from indent-point.
7332 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7334 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7336 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * emacs-lisp/lisp.el: Use lexical-binding.
7339 (lisp--local-variables-1, lisp--local-variables): New functions.
7340 (lisp--local-variables-completion-table): New var.
7341 (lisp-completion-at-point): Use it complete let-bound vars.
7343 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7344 eagerly (bug#14422).
7346 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7348 * autorevert.el (auto-revert-notify-enabled)
7349 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7350 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7351 (auto-revert-notify-handler): Handle also gfilenotify.
7353 * subr.el (file-notify-handle-event): New defun. Replacing ...
7354 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7357 2013-06-03 Juri Linkov <juri@jurta.org>
7359 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7360 `M-s h .'. (Bug#14427)
7362 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7363 command `hi-lock-face-symbol-at-point'.
7364 (hi-lock-face-symbol-at-point): New command.
7365 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7366 (hi-lock-menu): Add `highlight-symbol-at-point'.
7367 (hi-lock-mode): Doc fix.
7369 * isearch.el (isearch-forward-symbol-at-point): New command.
7370 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7371 (isearch-highlight-regexp): Add a regexp which matches
7372 words/symbols for word/symbol mode.
7374 * subr.el (find-tag-default-bounds): New function with the body
7375 mostly moved from `find-tag-default'.
7376 (find-tag-default): Move most code to `find-tag-default-bounds',
7377 call it and apply `buffer-substring-no-properties' afterwards.
7379 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7381 * eshell/em-term.el (eshell-term-initialize):
7382 Use `cl-intersection' rather than `intersection'.
7384 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7386 * vc/log-view.el: Doc fix.
7387 (log-view-mode-map): Copy keymap from `special-mode-map'.
7389 2013-06-02 Eric Ludlam <zappo@gnu.org>
7391 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7392 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7393 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7394 (eieio-unbound, eieio-default-superclass)
7395 (eieio--define-field-accessors, method-static, method-before)
7396 (method-primary, method-after, method-num-lists)
7397 (method-generic-before, method-generic-primary)
7398 (method-generic-after, method-num-slots)
7399 (eieio-specialized-key-to-generic-key)
7400 (eieio--check-type, class-v, class-p)
7401 (eieio-class-name, define-obsolete-function-alias)
7402 (eieio-class-parents-fast, eieio-class-children-fast)
7403 (same-class-fast-p, class-constructor, generic-p)
7404 (generic-primary-only-p, generic-primary-only-one-p)
7405 (class-option-assoc, class-option, eieio-object-p)
7406 (class-abstract-p, class-method-invocation-order)
7407 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7408 (eieio-class-un-autoload, eieio-defclass)
7409 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7410 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7411 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7412 (eieio-defgeneric-reset-generic-form)
7413 (eieio-defgeneric-form-primary-only)
7414 (eieio-defgeneric-reset-generic-form-primary-only)
7415 (eieio-defgeneric-form-primary-only-one)
7416 (eieio-defgeneric-reset-generic-form-primary-only-one)
7417 (eieio-unbind-method-implementations)
7418 (eieio--defmethod, eieio--typep)
7419 (eieio-perform-slot-validation, eieio-validate-slot-value)
7420 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7421 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7422 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7423 (eieio-slot-name-index, eieio-class-slot-name-index)
7424 (eieio-set-defaults, eieio-initarg-to-attribute)
7425 (eieio-attribute-to-initarg, eieio-c3-candidate)
7426 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7427 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7428 (eieio-class-precedence-list, eieio-generic-call-methodname)
7429 (eieio-generic-call-arglst, eieio-generic-call-key)
7430 (eieio-generic-call-next-method-list)
7431 (eieio-pre-method-execution-functions, eieio-generic-call)
7432 (eieio-generic-call-primary-only, eieiomt-method-list)
7433 (eieiomt-optimizing-obarray, eieiomt-install)
7434 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7435 (eieio-generic-form, eieio-defmethod, make-obsolete)
7436 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7437 (defclass): Remove `eval-and-compile' from macro.
7438 (call-next-method, shared-initialize): Instead of using
7439 `scoped-class' variable, use new eieio--scoped-class, and
7440 eieio--with-scoped-class.
7441 (initialize-instance): Rename local variable 'scoped-class' to
7442 'this-class' to remove ambiguitity from old global.
7444 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7446 (eieio--scoped-class-stack): New variable.
7447 (eieio--scoped-class): New fcn.
7448 (eieio--with-scoped-class): New scoping macro.
7449 (eieio-defclass): Use pushnew instead of add-to-list.
7450 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7451 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7452 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7453 `scoped-class' variable, use new eieio--scoped-class, and
7454 eieio--with-scoped-class.
7456 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7458 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7460 * eshell/esh-ext.el (eshell-external-command): Pass args to
7461 `eshell-find-interpreter'.
7462 (eshell-find-interpreter): Add new second parameter ARGS.
7464 * eshell/em-script.el (eshell-script-initialize): Add second arg
7465 to the function added as MATCH to `eshell-interpreter-alist'.
7467 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7468 the function added as MATCH to `eshell-interpreter-alist'.
7470 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7471 (eshell-visual-options): New defcustom.
7472 (eshell-escape-control-x): Adapt docstring.
7473 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7474 `eshell-visual-options' in addition to `eshell-visual-commands'.
7475 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7477 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7479 * progmodes/python.el (python-indent-block-enders): Add break,
7480 continue and raise keywords.
7482 2013-06-01 Glenn Morris <rgm@gnu.org>
7484 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7486 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7487 * progmodes/cc-cmds.el (delete-forward-p):
7488 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7489 * progmodes/cc-engine.el (buffer-syntactic-context):
7490 * progmodes/cc-fonts.el (face-property-instance):
7491 * progmodes/cc-mode.el (set-keymap-parents):
7492 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7493 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7494 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7495 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7496 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7498 * progmodes/cc-vars.el (other): Emacs has this widget since
7499 at least 21.1, so don't (re)define it.
7501 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7502 Replace the obsolete alias pcomplete-arg-quote-list.
7504 2013-06-01 Leo Liu <sdl.web@gmail.com>
7506 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7508 (inferior-octave-minimal-columns)
7509 (inferior-octave-last-column-width): New variables.
7510 (inferior-octave-track-window-width-change): New function.
7511 (inferior-octave-mode): Adjust column width so that Octave output,
7512 for example from 'ls', can fit into the window nicely.
7514 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7516 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7517 Highlight expansions inside regexp literals.
7519 2013-05-31 Glenn Morris <rgm@gnu.org>
7521 * obsolete/sym-comp.el (symbol-complete):
7522 Replace obsolete completion-annotate-function.
7524 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7526 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7528 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7529 New function, checks if point is inside a literal that allows
7530 expression expansion.
7531 (ruby-syntax-propertize-expansion): Use it.
7532 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7535 2013-05-30 Juri Linkov <juri@jurta.org>
7537 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7539 (isearch-invisible): New variable.
7540 (isearch-forward): Doc fix.
7541 (isearch-mode): Set `isearch-invisible'
7542 to the value of `search-invisible'.
7543 (isearch-toggle-case-fold): Doc fix.
7544 (isearch-toggle-invisible): New command.
7545 (isearch-query-replace): Let-bind `search-invisible'
7546 to the value of `isearch-invisible'.
7547 (isearch-search): Use `isearch-invisible' instead of
7548 `search-invisible'. Let-bind `search-invisible'
7549 to the value of `isearch-invisible'. (Bug#11378)
7551 2013-05-30 Juri Linkov <juri@jurta.org>
7553 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7554 call when `query-flag' is nil and `search-invisible' is non-nil.
7557 2013-05-30 Glenn Morris <rgm@gnu.org>
7559 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7561 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7562 (cc-require): Suppress spurious "noruntime" warnings.
7563 (cc-require-when-compile): Use fboundp, for sake of compiler.
7565 * progmodes/cc-mode.el: Move load of cc-vars before that of
7566 cc-langs (which in turn loads cc-vars), to quieten compiler.
7568 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7570 * paren.el: Simplify the code.
7571 (show-paren-mode): Always start the timer.
7572 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7573 (show-paren--overlay, show-paren--overlay-1): Rename from
7574 show-paren-overlay and show-paren-overlay-1, and initialize to an
7575 overlay rather than to nil.
7576 (show-paren-function): Misc cleanup and simplifications.
7578 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7580 * paren.el (show-paren-data-function): New hook.
7581 (show-paren--default): New function, extracted from show-paren-function.
7582 (show-paren-function): Use show-paren-data-function.
7584 2013-05-30 Glenn Morris <rgm@gnu.org>
7586 * ielm.el (ielm-map, ielm-complete-symbol):
7587 Use completion-at-point rather than obsolete functions.
7588 (inferior-emacs-lisp-mode): Doc fix.
7589 Set completion-at-point-functions, rather than
7590 comint-dynamic-complete-functions.
7592 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7593 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7594 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7596 * image.el (image-animated-p): Tweak definition.
7598 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7599 (rlogin-process-connection-type): Tweak default. Add set-after.
7600 (rlogin-host): Doc fix.
7601 (rlogin): Tweak prompt.
7602 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7604 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7605 * progmodes/tcl.el (inferior-tcl-mode-map):
7606 Use completion-at-point rather than obsolete alias.
7608 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7610 * minibuffer.el (read-file-name-completion-ignore-case):
7611 Move before completion--in-region, for eager macro expansion.
7613 2013-05-29 Juri Linkov <juri@jurta.org>
7615 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7616 for total count of matching lines. Add `global-matches' for total
7617 count of matches. Rename `matches' to `lines' for count of
7618 matching lines. Add `matches' for count of matches.
7619 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7620 to `prev-line' for line number of prev match endpt.
7621 Increment `matches' for every match. Print the number of
7622 matching lines in the header.
7623 (occur-context-lines): Rename `lines' to `curr-line'.
7624 Rename `prev-lines' to `prev-line'. (Bug#14017)
7626 2013-05-29 Juri Linkov <juri@jurta.org>
7628 * replace.el (perform-replace): Add `skip-read-only-count',
7629 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7630 Increment them for corresponding conditions and report the number
7631 of skipped occurrences in the final message. (Bug#11746)
7632 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7633 (replace-string, replace-regexp): Doc fix.
7635 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7639 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7640 prog-mode-map (bug#14504).
7642 2013-05-29 Leo Liu <sdl.web@gmail.com>
7644 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7645 (octave-help): Small simplification.
7647 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7648 off the highlight first.
7650 2013-05-29 Glenn Morris <rgm@gnu.org>
7652 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7653 Handle idlwave-last-system-routine-info-cons-cell being nil.
7655 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7656 (idlwave-write-paths): Simplify via with-temp-buffer.
7658 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7659 * emulation/cua-rect.el: Also load cua-base at run time.
7661 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7662 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7663 (cperl-imenu-on-info): Require imenu.
7665 2013-05-28 Alan Mackenzie <acm@muc.de>
7667 Handle "capitalised keywords" correctly.
7668 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7670 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7672 * eshell/em-unix.el: Add -r option to cp.
7674 2013-05-28 Glenn Morris <rgm@gnu.org>
7676 * vc/vc-arch.el (vc-exec-after): Declare.
7677 (vc-switches): Autoload.
7678 * vc/vc-bzr.el: No need to require vc when compiling.
7679 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7680 (vc-resynch-buffer, vc-dir-refresh): Declare.
7681 (vc-setup-buffer, vc-switches): Autoload.
7682 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7683 (vc-resynch-buffer): Declare.
7684 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7685 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7686 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7687 (grep-read-regexp, grep-read-files, grep-expand-template)
7688 (vc-dir-refresh): Declare.
7689 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7690 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7691 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7692 * vc/vc-mtn.el (vc-exec-after): Declare.
7693 (vc-switches): Autoload.
7694 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7695 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7696 (vc-file-tree-walk): Declare.
7697 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7698 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7699 (vc-tag-precondition, vc-rename-master): Autoload.
7700 * vc/vc-svn.el (vc-exec-after): Declare.
7701 (vc-switches, vc-setup-buffer): Autoload.
7702 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7704 (vc-resynch-buffer): Declare.
7706 * obsolete/fast-lock.el (byte-compile-warnings):
7707 Don't warn about obsolete features in this obsolete file.
7709 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7710 Move definition before use.
7712 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7713 (dun-unix-verbs): Remove dun-zippy.
7714 (dun-zippy): Remove function.
7716 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7718 2013-05-27 Juri Linkov <juri@jurta.org>
7720 * replace.el (replace-search): New function with code moved out
7721 from `perform-replace'.
7722 (replace-highlight, replace-dehighlight): Move function definitions
7723 up closer to `replace-search'. (Bug#11746)
7725 2013-05-27 Juri Linkov <juri@jurta.org>
7727 * replace.el (perform-replace): Ignore invisible matches.
7728 In addition to checking `query-replace-skip-read-only', also
7729 filter out matches by calling `run-hook-with-args-until-failure'
7730 on `isearch-filter-predicates', and also check `search-invisible'
7731 for t or call `isearch-range-invisible'.
7732 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7734 2013-05-27 Juri Linkov <juri@jurta.org>
7736 * isearch.el (isearch-filter-predicates): Rename from
7737 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7738 (isearch-message-prefix): Display text from the property
7739 `isearch-message-prefix' of the currently active filters.
7740 (isearch-search): Don't compare `isearch-filter-predicate' with
7741 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7742 on `isearch-filter-predicates'. Also check `search-invisible' for t
7743 or call `isearch-range-invisible'.
7744 (isearch-filter-visible): Make obsolete.
7745 (isearch-lazy-highlight-search):
7746 Call `run-hook-with-args-until-failure' on
7747 `isearch-filter-predicates' and use `isearch-range-invisible'.
7749 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7750 `isearch-filter-predicates' instead of `funcall'ing
7751 `isearch-filter-predicate'.
7752 (Info-mode): Set `Info-isearch-filter' to
7753 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7755 * dired-aux.el (dired-isearch-filter-predicate-orig):
7757 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7758 (dired-isearch-filenames-end): Add and remove
7759 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7760 instead of changing the value of `isearch-filter-predicate'.
7761 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7762 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7763 Put property `isearch-message-prefix' to "filename " on
7764 `dired-isearch-filter-filenames'.
7766 * wdired.el (wdired-change-to-wdired-mode):
7767 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7768 locally instead of changing `isearch-filter-predicate'.
7769 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7771 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7773 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7774 return the commit hash (Bug#14459). Also set the
7775 `vc-git-detached' property.
7776 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7777 (vc-git-mode-line-string): Use the same help-echo format whether
7778 in detached mode or not, because we know the actual revision now.
7779 When in detached mode, shorten the revision to 7 chars.
7781 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7783 * emacs-lisp/easy-mmode.el (define-minor-mode):
7784 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7785 mode hook and provide a docstring.
7787 2013-05-27 Alan Mackenzie <acm@muc.de>
7789 Remove spurious syntax-table text properties inserted by C-y.
7790 * progmodes/cc-mode.el (c-after-change): Also clear hard
7791 syntax-table property with value nil.
7793 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7795 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7796 when reading the events; the buffer layout shall not be changed.
7798 2013-05-27 Leo Liu <sdl.web@gmail.com>
7800 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7802 (inferior-octave-directory-tracker): Automatically re-sync
7804 (octave-help): Improve handling of 'See also'.
7806 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * doc-view.el: Minor naming convention tweaks.
7809 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7811 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7812 even if there's no `display' property yet (bug#14435).
7814 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7816 * subr.el (unmsys--file-name): Rename from reveal-filename.
7818 * Makefile.in (custom-deps, finder-data, autoloads)
7819 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7820 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7821 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7823 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7826 error-completion on the first 2 args of condition-case (bug#14446).
7829 2013-05-25 Leo Liu <sdl.web@gmail.com>
7831 * comint.el (comint-previous-matching-input): Do not flood the
7832 *Messages* buffer with trivial messages.
7834 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * progmodes/flymake.el (flymake-nop): Don't return a string.
7837 (flymake-set-at): Fix typo.
7839 * simple.el (read--expression): New function, extracted from
7840 eval-expression. Set completion-at-point-functions (bug#14465).
7841 (eval-expression, eval-minibuffer): Use it.
7843 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7845 * progmodes/flymake.el (flymake-save-buffer-in-file)
7846 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7847 (flymake-selected-frame, flymake-log, flymake-ins-after)
7848 (flymake-set-at, flymake-get-buildfile-from-cache)
7849 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7850 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7851 Refine the doc string.
7852 (flymake-get-file-name-mode-and-masks): Reformat.
7853 (flymake-get-real-file-name-function): Fix a minor bug.
7855 2013-05-24 Juri Linkov <juri@jurta.org>
7857 * progmodes/grep.el (grep-mode-font-lock-keywords):
7858 Support =linenumber= format used by git-grep for lines with
7859 function names. (Bug#13549)
7861 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7863 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7864 0 after a semi-colon; it works better for smie-auto-fill.
7865 (octave--indent-new-comment-line): New function.
7866 (octave-indent-new-comment-line): Use it (indirectly).
7867 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7868 modify comment-line-break-function.
7870 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7871 (smie-setup): Use add-function to set it.
7873 2013-05-24 Sam Steingold <sds@gnu.org>
7875 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7876 argument (before the `interactive' argument).
7878 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * image-mode.el (image-mode-winprops): Add winprops to
7881 image-mode-winprops-alist before running
7882 image-mode-new-window-functions.
7883 * doc-view.el (doc-view-new-window-function): Don't delay
7884 doc-view-goto-page via timers (bug#14435).
7886 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7888 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7889 (doc-view-desktop-save-buffer): New function.
7890 (doc-view-restore-desktop-buffer): New function.
7891 (desktop-buffer-mode-handlers):
7892 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7894 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7895 `desktop-save-buffer' function.
7897 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7899 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7900 (tramp-gvfs-file-name-handler): Raise a user error when
7901 `tramp-gvfs-enabled' is nil.
7902 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7903 Do not raise a user error when loading package. (Bug#14447)
7905 * net/xesam.el: Move to obsolete/.
7907 2013-05-24 Glenn Morris <rgm@gnu.org>
7909 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7911 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7913 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7914 (Info-find-node, Man-getpage-in-background): Declare.
7916 * mail/unrmail.el (unrmail):
7917 Replace obsolete detect-coding-with-priority.
7919 * net/socks.el (socks-split-string): Use this rather than split-string.
7920 (socks-nslookup-host): Update for above change.
7921 (dynamic-choice, s5-dynamic-choice-match)
7922 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7923 Comment out unused code.
7925 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7926 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7927 (gud-tooltip-echo-area): Make obsolete.
7928 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7930 * progmodes/js.el (js--optimize-arglist): Declare.
7932 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7934 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7935 (ediff-window-C): Declare.
7937 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7938 Tweak requires to silence compiler.
7940 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7941 (he-search-string, he-tried-table, he-expand-list)
7942 (he-init-string, he-string-member, he-substitute-string)
7943 (he-reset-string): Declare.
7945 * obsolete/options.el (list-options): Use custom-variable-p,
7946 rather than obsolete alias.
7948 2013-05-23 Sam Steingold <sds@gnu.org>
7950 * simple.el (shell-command-on-region): Pass the `replace' argument
7951 down to `call-process-region' to comply with the doc as reported on
7952 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7954 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7956 * emacs-lisp/smie.el (smie-indent-forward-token)
7957 (smie-indent-backward-token): Handle string tokens (bug#14381).
7959 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7961 * ielm.el (ielm-menu): New menu.
7962 (inferior-emacs-lisp-mode): Set comment-start.
7964 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7966 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7967 Fix deactivate action.
7969 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7970 Add cleveref macros.
7972 * lisp/textmodes/reftex-parse.el
7973 (reftex-locate-bibliography-files): Accept options for
7974 bibliography commands.
7975 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7976 Add addbibresource. Basic Biblatex support.
7978 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7980 * net/tramp-gvfs.el (top):
7981 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7982 when loading package. (Bug#14447)
7984 2013-05-23 Glenn Morris <rgm@gnu.org>
7986 * progmodes/js.el: No need to load comint when compiling.
7987 (ring-insert, comint-send-string, comint-send-input)
7988 (comint-last-input-end, ido-chop): Declare.
7990 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7991 * vc/ediff-mult.el: Adjust requires.
7992 (ediff-directories-internal, ediff-directory-revisions-internal)
7993 (ediff-patch-file-internal): Declare.
7994 * vc/ediff-ptch.el: Adjust requires.
7995 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7996 (ediff-find-file): Autoload.
7997 * vc/ediff-util.el: No need to load ediff when compiling.
7998 (ediff-regions-internal): Declare.
7999 * vc/ediff-wind.el: Adjust requires.
8000 (ediff-compute-toolbar-width): Define when compiling.
8001 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8002 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8003 (dired-get-filename, dired-get-marked-files)
8004 (ediff-last-dir-patch, ediff-patch-default-directory)
8005 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8006 (ediff-patch-buffer-internal): Declare.
8008 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8009 (ispell-process, ispell-buffer-local-words, lm-summary)
8010 (lm-section-start, lm-section-end): Declare.
8011 (checkdoc-ispell-init): Simplify.
8013 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8014 (he-string-member, he-reset-string, he-substitute-string): Declare.
8016 * eshell/em-ls.el: Adjust requires.
8017 (eshell-glob-regexp): Declare.
8018 * eshell/em-tramp.el: Adjust requires.
8019 (eshell-parse-command): Autoload.
8020 * eshell/em-xtra.el: Adjust requires.
8021 (eshell-parse-command): Autoload.
8022 * eshell/esh-ext.el: Adjust requires.
8023 (eshell-parse-command, eshell-close-handles): Autoload.
8024 * eshell/esh-io.el: Adjust requires.
8025 (eshell-output-filter): Autoload.
8026 * eshell/esh-util.el: No need to load tramp when compiling.
8027 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8029 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8030 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8031 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8032 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8033 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8034 * eshell/esh-opt.el, eshell/esh-proc.el:
8035 * eshell/esh-var.el: Adjust requires.
8036 * eshell/eshell.el: Do not require esh-util twice.
8037 (eshell-add-input-to-history): Declare.
8038 (eshell-command): Check history module is active before using it.
8040 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8042 2013-05-22 Leo Liu <sdl.web@gmail.com>
8044 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8046 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8048 * autorevert.el (auto-revert-notify-add-watch)
8049 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8050 it indicates changes in file modification time.
8052 2013-05-22 Glenn Morris <rgm@gnu.org>
8054 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8055 Always delete the autoloaded function from the noruntime and
8056 unresolved functions lists.
8058 * allout.el: No need to load epa, epg, overlay when compiling.
8059 (epg-context-set-passphrase-callback, epg-list-keys)
8060 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8061 (epg-key-user-id-list): Declare.
8063 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8064 (viper-set-parsing-style-toggling-macro)
8065 (viper-set-emacs-state-searchstyle-macros):
8066 Use called-interactively-p on Emacs.
8067 (viper-looking-back): Make it an obsolete alias. Update callers.
8068 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8069 Use looking-back rather than viper-looking-back.
8070 (viper-tmp-insert-at-eob, viper-enlarge-region)
8071 (viper-read-string-with-history, viper-register-to-point)
8072 (viper-append-to-register, viper-change-state-to-vi)
8073 (viper-backward-char-carefully, viper-forward-char-carefully)
8074 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8075 (viper-change-state-to-emacs): Declare.
8076 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8077 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8078 * emulation/viper-mous.el: Do not load viper-cmd.
8079 (viper-backward-char-carefully, viper-forward-char-carefully)
8080 (viper-forward-word, viper-adjust-window): Declare.
8082 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8084 * progmodes/idlw-help.el (idlwave-help-fontify):
8085 Use called-interactively-p.
8087 * term/w32console.el (w32-get-console-codepage)
8088 (w32-get-console-output-codepage): Declare.
8090 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8091 Remove unnecessary declarations.
8092 (dframe-message): Doc fix.
8094 * info.el (dframe-select-attached-frame, dframe-current-frame):
8097 * speedbar.el (speedbar-message): Make it an obsolete alias.
8099 (speedbar-with-attached-buffer)
8100 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8101 (speedbar-with-writable): Use backquote.
8102 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8103 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8104 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8105 rather than speedbar- aliases.
8106 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8107 (speedbar-make-specialized-keymap, speedbar-insert-button)
8108 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8109 (speedbar-do-function-pointer): Declare.
8110 (rmail-speedbar-button, rmail-speedbar-find-file)
8111 (rmail-speedbar-move-message):
8112 Use dframe-with-attached-buffer rather than speedbar- alias.
8113 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8114 (dframe-message, speedbar-make-specialized-keymap)
8115 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8116 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8117 (speedbar-insert-button, dframe-select-attached-frame)
8118 (dframe-maybee-jump-to-attached-frame)
8119 (speedbar-change-initial-expansion-list)
8120 (speedbar-previously-used-expansion-list-name): Declare.
8121 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8122 Use dframe-message, dframe-with-attached-buffer rather than
8124 (gud-sentinel): Silence compiler.
8125 * progmodes/vhdl-mode.el (speedbar-refresh)
8126 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8127 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8128 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8129 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8130 (speedbar-file-lists, speedbar-make-tag-line)
8131 (speedbar-line-directory, speedbar-goto-this-file)
8132 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8133 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8134 (speedbar-make-button, speedbar-reset-scanners)
8135 (speedbar-files-item-info, speedbar-line-text)
8136 (speedbar-find-file-in-frame, speedbar-set-timer)
8137 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8138 (speedbar-with-writable): Do not (re)define it.
8139 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8140 rather than speedbar- alias.
8142 2013-05-21 Leo Liu <sdl.web@gmail.com>
8144 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8146 (octave-mode): Tweak fill-nobreak-predicate.
8147 (inferior-octave-startup): Check process to avoid infinite loop.
8148 (inferior-octave): Pop to buffer first to show abornmal process
8151 2013-05-21 Glenn Morris <rgm@gnu.org>
8153 * printing.el (pr-menu-bar): Define when compiling.
8155 2013-05-21 Leo Liu <sdl.web@gmail.com>
8157 * progmodes/octave.el (octave-auto-fill): Remove.
8158 (octave-indent-new-comment-line): Improve.
8159 (octave-mode): Use auto fill mode through
8160 comment-line-break-function and fill-nobreak-predicate.
8161 (octave-goto-function-definition): Support DEFUN_DLD.
8162 (octave-beginning-of-defun): Small tweak.
8163 (octave-help): Show parent directory.
8165 2013-05-21 Glenn Morris <rgm@gnu.org>
8167 * files.el (dired-unmark):
8168 * progmodes/gud.el (gdb-input): Update declarations.
8170 * calculator.el (electric, ehelp): No need to load when compiling.
8171 (Electric-command-loop, electric-describe-mode): Declare.
8173 * doc-view.el (doc-view-current-converter-processes): Move before use.
8175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8176 Move MODE-set-explicitly definition before use.
8178 * international/mule-diag.el (mule-diag):
8179 Don't use obsolete window-system-version.
8181 * mail/feedmail.el (smtpmail): No need to load when compiling.
8182 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8184 * mail/mail-utils.el (rfc822): No need to load when compiling.
8185 (rfc822-addresses): Autoload it.
8186 (mail-strip-quoted-names): Trivial simplification.
8188 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8189 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8191 * net/snmp-mode.el (tempo): Don't duplicate requires.
8193 * progmodes/prolog.el (info): No need to load when compiling.
8194 (comint): Require before shell requires it.
8195 (Info-goto-node): Autoload it.
8196 (Info-follow-nearest-node): Declare.
8197 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8199 * textmodes/artist.el (picture-mode-exit): Declare.
8201 * textmodes/reftex-parse.el (reftex-parse-from-file):
8202 Trivial rewrite so the compiler can parse it better.
8204 2013-05-20 Leo Liu <sdl.web@gmail.com>
8206 * progmodes/octave.el (octave-help-mode-map)
8207 (octave-help-mode-finish-hook): New variables.
8208 (octave-help-mode, octave-help-mode-finish): New functions.
8209 (octave-help): Use octave-help-mode.
8211 2013-05-20 Glenn Morris <rgm@gnu.org>
8213 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8215 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8217 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8218 start at point, so that expansion starting right after opening
8219 slash in a regexp is recognized.
8220 (ruby-syntax-before-regexp-re): New defvar, extracted from
8221 ruby-syntax-propertize-function. Since the value of this regexp
8222 is looked up at runtime now, we should be able to turn
8223 `ruby-syntax-methods-before-regexp' into a defcustom later.
8224 (ruby-syntax-propertize-function): Split regexp matching into two
8225 parts, for opening and closing slashes. That allows us to skip
8226 over string interpolations and support multiline regexps.
8227 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8228 for them, which calls `ruby-syntax-propertize-expansion'.
8229 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8230 call to `ruby-syntax-propertize-function'.
8231 (ruby-syntax-propertize-expansion): Extracted from
8232 `ruby-syntax-propertize-expansions'. Handles one expansion.
8233 (ruby-syntax-propertize-percent-literal): Leave point right after
8234 the percent symbol, so that the expression expansion rule can
8235 propertize the contents.
8236 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8238 (ruby-syntax-propertize-expansions): Remove.
8240 2013-05-18 Juri Linkov <juri@jurta.org>
8242 * man.el (Man-default-man-entry): Remove `-' from the end
8243 of the default value. (Bug#14400)
8245 2013-05-18 Glenn Morris <rgm@gnu.org>
8247 * comint.el (comint-password-prompt-regexp):
8248 Allow "password for XXX" where XXX contains colons (eg https://...).
8250 2013-05-18 Leo Liu <sdl.web@gmail.com>
8252 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8253 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8254 (octave-source-directories): Don't check process.
8255 (octave-source-directories, octave-find-definition): Doc fix.
8257 2013-05-18 Glenn Morris <rgm@gnu.org>
8259 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8260 Remove backspace/delete bindings. (Bug#14392)
8262 * cus-dep.el (custom-make-dependencies): Sort the output.
8263 (custom-versions-load-alist): Convert comment to doc.
8265 2013-05-17 Leo Liu <sdl.web@gmail.com>
8267 * newcomment.el (comment-search-backward): Stricter in finding
8268 comment start. (Bug#14303)
8270 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8271 (octave-comment-start-skip): Properly anchored.
8273 2013-05-17 Leo Liu <sdl.web@gmail.com>
8275 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8276 Clean up when turned off. (Bug#14395)
8277 (smie--highlight-matching-block-overlay): No longer buffer-local.
8278 (smie-highlight-matching-block): Adjust.
8280 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8282 Doc string fix for "nanoseconds" (Bug#14406).
8283 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8284 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8286 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8288 * calc/calc-units.el (math-extract-units): Preserve powers
8291 2013-05-17 Leo Liu <sdl.web@gmail.com>
8293 * subr.el (delete-consecutive-dups): New function.
8294 * ido.el (ido-set-matches-1): Use it.
8295 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8296 * ido.el (ido-remove-consecutive-dups): Remove.
8298 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8301 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8302 regexp-opt's `words'.
8304 2013-05-16 Leo Liu <sdl.web@gmail.com>
8306 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8307 (smie--highlight-matching-block-overlay)
8308 (smie--highlight-matching-block-lastpos)
8309 (smie--highlight-matching-block-timer): New variables.
8310 (smie-highlight-matching-block): New function.
8311 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8312 (smie-setup): Conditionally enable smie-blink-matching-open.
8314 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8316 Sync with upstream verilog-mode r840.
8317 * progmodes/verilog-mode.el (verilog-mode-version)
8318 (verilog-mode-release-date): Update.
8319 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8320 (verilog-sig-tieoff): Fix string error on
8321 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8322 (verilog-read-decls): Fix parameters confusing
8323 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8325 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8327 * subr.el (reveal-filename): New function.
8329 * loadup.el: Compute Emacs executable versions on MS-Windows,
8330 where executables have the .exe extension. Add a hard link
8331 emacs-XX.YY.ZZ.exe on MS-Windows.
8333 * Makefile.in (XARGS_LIMIT): New variable.
8334 (custom-deps, finder-data, autoloads)
8335 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8336 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8337 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8338 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8340 2013-05-16 Leo Liu <sdl.web@gmail.com>
8342 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8343 (octave-mode-menu, octave-mode-map): Remove its uses.
8345 2013-05-16 Reto Zimmermann <reto@gnu.org>
8347 Sync with upstream vhdl mode v3.34.2.
8348 * progmodes/vhdl-mode.el: Use `push' throughout.
8349 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8350 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8351 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8352 (vhdl-actual-generic-name): New option to derive actual generic name.
8353 (vhdl-port-paste-signals): Replace formal by actual generics.
8354 (vhdl-beautify): New name for old group vhdl-align. Update users.
8355 (vhdl-beautify-options): New option.
8356 (vhdl-last-input-event): New compat alias. Use throughout.
8357 (vhdl-goto-line): Replace user level function `goto-line'.
8358 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8359 vhdl-fix-statement-buffer.
8360 (vhdl-create-mode-menu): Add some entries.
8361 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8362 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8363 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8364 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8365 to force statements on one line.
8366 (vhdl-remove-trailing-spaces-region):
8367 New, split from vhdl-remove-trailing-spaces.
8368 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8369 Respect vhdl-beautify-options.
8370 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8371 (vhdl-update-sensitivity-list): Not add with index if exists without.
8372 Not include array index with signal. Ignore keywords in comments.
8373 (vhdl-get-visible-signals): Regexp tweaks.
8374 (vhdl-template-component-inst): Handle empty library.
8375 (vhdl-template-type): Add template for 'enum' type.
8376 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8377 Use vhdl-replace-string.
8378 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8379 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8380 (vhdl-speedbar-initialize): Update for above name change.
8381 (vhdl-compose-wire-components): Fix in handling of constants.
8382 (vhdl-error-regexp-emacs-alist): New variable.
8383 (vhdl-error-regexp-add-emacs): New function;
8384 adds support for new compile.el (Emacs 22+)
8385 (vhdl-generate-makefile-1): Change target order for single lib. units.
8386 Allow use of absolute file names.
8388 2013-05-16 Leo Liu <sdl.web@gmail.com>
8390 * simple.el (prog-indent-sexp): Indent enclosing defun.
8392 2013-05-15 Glenn Morris <rgm@gnu.org>
8394 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8395 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8396 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8397 (whitespace-highlight): Move to whitespace group.
8399 * comint.el (comint-source):
8400 * pcmpl-linux.el (pcmpl-linux):
8401 * shell.el (shell-faces):
8402 * eshell/esh-opt.el (eshell-opt):
8403 * international/ccl.el (ccl): Remove empty custom groups.
8405 * completion.el (dynamic-completion-mode):
8406 * jit-lock.el (jit-lock-debug-mode):
8407 * minibuffer.el (completion-in-region-mode):
8408 * type-break.el (type-break-mode-line-message-mode)
8409 (type-break-query-mode):
8410 * emulation/tpu-edt.el (tpu-edt-mode):
8411 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8412 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8413 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8415 * term/xterm.el (xterm): Change parent group to terminals.
8417 * master.el (master): Remove empty custom group.
8418 (master-mode): Remove unused :group argument.
8419 * textmodes/refill.el (refill): Remove empty custom group.
8420 (refill-mode): Remove unused :group argument.
8422 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8424 * cus-dep.el: Provide a feature.
8425 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8426 Don't mistakenly ignore files whose basenames match a basename
8427 from preloaded-file-list (eg cedet/ede/simple.el).
8428 Add a fallback method for getting :group.
8430 2013-05-15 Juri Linkov <juri@jurta.org>
8432 * isearch.el (isearch-char-by-name): Rename from
8433 `isearch-insert-char-by-name'. Doc fix.
8434 (isearch-forward): Mention `isearch-char-by-name' in
8435 the docstring. (Bug#13348)
8437 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8438 `exit-minibuffer' instead of
8439 `isearch-nonincremental-exit-minibuffer'.
8440 (isearch-edit-string): Remove mention of
8441 `isearch-nonincremental-exit-minibuffer' from docstring.
8442 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8443 (isearch-forward-exit-minibuffer)
8444 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8446 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8448 * loadup.el: Just use unversioned DOC.
8450 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8451 literals as extending to EOB.
8452 (nxml-last-fontify-end): Remove unused variable.
8453 (nxml-after-change1): Use with-silent-modifications.
8454 (nxml-extend-after-change-region): Simplify.
8455 (nxml-extend-after-change-region1): Remove function.
8456 (nxml-after-change1): Don't adjust for dependent regions.
8457 (nxml-fontify-matcher): Simplify.
8458 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8459 (xmltok-add-dependent): Remove function.
8460 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8461 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8462 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8463 unclosed <[[, <?, comment, and other literals as extending to EOB.
8464 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8465 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8467 (rng-do-some-validation-1): Don't mark dependent regions.
8468 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8469 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8470 (nxml-clear-dependent-regions): Remove functions.
8471 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8472 (nxml-ensure-scan-up-to-date):
8473 Don't clear&mark dependent regions.
8475 2013-05-15 Leo Liu <sdl.web@gmail.com>
8477 * progmodes/octave.el (octave-goto-function-definition):
8478 Improve and fix callers.
8480 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8482 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8483 the setter (bug#14387).
8485 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8486 surrounding group (bug#14402).
8488 2013-05-14 Juri Linkov <juri@jurta.org>
8490 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8493 2013-05-14 Glenn Morris <rgm@gnu.org>
8495 * progmodes/f90.el (f90-imenu-generic-expression):
8496 Fix typo in 2013-05-08 change. (Bug#14402)
8498 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8500 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8501 Remove signals for which replies are never received.
8503 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8505 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8506 (gdb-handler-alist, gdb-handler-number): Remove variables.
8507 (gdb-handler-list): New variable.
8508 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8509 (gdb-pending-handler-p, gdb-handle-reply)
8510 (gdb-remove-all-pending-triggers): New functions.
8511 (gdb-discard-unordered-replies): New defcustom.
8512 (gdb-handler): New defstruct.
8513 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8514 instead of gdb-pending-triggers. Update docstring.
8515 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8516 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8517 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8518 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8519 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8520 (gdb-frame-handler): Pending triggers are now automatically managed.
8521 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8523 (gdb-input): Automatically handles pending triggers. Update docstring.
8524 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8525 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8527 (gdb-done-or-error): Now use gdb-handle-reply.
8529 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8531 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8534 2013-05-14 Glenn Morris <rgm@gnu.org>
8536 * subr.el (user-emacs-directory-warning): New option.
8537 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8539 2013-05-14 Leo Liu <sdl.web@gmail.com>
8541 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8543 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8544 (octave-font-lock-texinfo-comment): Fix invalid search bound
8545 error: wrong side of point.
8547 2013-05-14 Glenn Morris <rgm@gnu.org>
8549 * progmodes/flymake.el (flymake-xml-program): New option.
8550 (flymake-xml-init): Use it.
8552 * term/xterm.el: Provide a feature.
8554 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8556 2013-05-13 Glenn Morris <rgm@gnu.org>
8558 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8559 Add compat aliases as a hack workaround. (Bug#14384)
8561 2013-05-13 Leo Liu <sdl.web@gmail.com>
8563 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8565 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8567 (octave-comment-start-skip): Include %!.
8568 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8570 2013-05-12 Leo Liu <sdl.web@gmail.com>
8572 * progmodes/octave.el (inferior-octave-startup): Store the value
8573 of __octave_srcdir__ for octave-source-directories.
8574 (inferior-octave-check-process): New function refactored out of
8575 inferior-octave-send-list-and-digest.
8576 (octave-source-directories)
8577 (octave-find-definition-filename-function): New variables.
8578 (octave-source-directories)
8579 (octave-find-definition-default-filename): New functions.
8580 (octave-find-definition): Improve to find functions implemented in C++.
8582 2013-05-12 Glenn Morris <rgm@gnu.org>
8584 * calendar/diary-lib.el (diary-outlook-format-1):
8585 Don't include dayname in the output. (Bug#14349)
8587 2013-05-11 Glenn Morris <rgm@gnu.org>
8589 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8591 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8592 Treat cc-provide like provide.
8594 2013-05-11 Kevin Ryde <user42@zip.com.au>
8596 * cus-dep.el (custom-make-dependencies):
8597 Use generated-autoload-load-name for the sake of files such
8598 such cedet/semantic/bovine/c.el, where the base file name
8599 is not in load-path. (Bug#5277)
8601 2013-05-11 Glenn Morris <rgm@gnu.org>
8603 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8606 2013-05-11 Leo Liu <sdl.web@gmail.com>
8608 * progmodes/octave.el (octave-indent-comment): Improve.
8609 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8610 (octave-eldoc-function-signatures, octave-eldoc-function):
8612 (octave-mode, inferior-octave-mode): Add eldoc support.
8614 2013-05-11 Richard Stallman <rms@gnu.org>
8616 * epa.el (epa-decrypt-file): Take output file name as argument
8617 and read it using `interactive'.
8619 2013-05-11 Leo Liu <sdl.web@gmail.com>
8621 * progmodes/octave.el (octave-beginning-of-line)
8622 (octave-end-of-line): Check before using up-list because it jumps
8623 out of more syntactic contructs since moving to smie.
8624 (octave-indent-comment): New function.
8625 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8626 (octave-begin-keywords, octave-end-keywords)
8627 (octave-reserved-words, octave-smie-bnf-table)
8628 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8630 2013-05-11 Glenn Morris <rgm@gnu.org>
8632 * faces.el (internal-face-x-get-resource):
8633 * frame.el (ns-display-monitor-attributes-list):
8634 * calc/calc-aent.el (math-to-radians-2):
8635 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8638 * calc/calc-menu.el: Make it loadable in isolation.
8640 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8641 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8642 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8643 (eudc-bbdb-query-internal): Require 'bbdb.
8645 * lpr.el (lpr-headers-switches):
8646 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8648 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8650 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8652 * term.el (term-set-escape-char): Make it idempotent.
8654 2013-05-10 Leo Liu <sdl.web@gmail.com>
8656 * progmodes/octave.el (inferior-octave-completion-table):
8657 No longer a function and all uses changed. Use cache to speed up
8658 completion due to bug#11906.
8659 (octave-beginning-of-defun): Re-write to be more general.
8661 2013-05-10 Glenn Morris <rgm@gnu.org>
8663 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8665 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8667 * comint.el (comint-redirect-send-command-to-process): Use :around
8668 rather than :override for comint-redirect-filter.
8669 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8670 Call it instead of comint-redirect-original-filter-function (which
8671 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8673 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8675 * frame.el (display-monitor-attributes-list): Add NS case.
8676 (ns-display-monitor-attributes-list): Declare.
8678 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8680 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8682 2013-05-09 Glenn Morris <rgm@gnu.org>
8684 * international/fontset.el (vertical-centering-font-regexp):
8687 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8689 * bookmark.el (bookmark-search-delay):
8690 * cus-start.el (vertical-centering-font-regexp):
8691 * ps-mule.el (ps-mule-font-info-database-default):
8692 * ps-print.el (ps-default-fg, ps-default-bg):
8693 * type-break.el (type-break-good-break-interval):
8694 * whitespace.el (whitespace-indentation-regexp)
8695 (whitespace-space-after-tab-regexp):
8696 * emacs-lisp/testcover.el (testcover-1value-functions)
8697 (testcover-noreturn-functions, testcover-progn-functions)
8698 (testcover-prog1-functions):
8699 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8700 * eshell/em-glob.el (eshell-glob-translate-alist):
8701 * play/tetris.el (tetris-tty-colors):
8702 * progmodes/cpp.el (cpp-face-default-list):
8703 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8704 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8705 (idlwave-help-browser-generic-args):
8706 * progmodes/make-mode.el (makefile-special-targets-list):
8707 * progmodes/python.el (python-shell-virtualenv-path):
8708 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8709 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8710 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8711 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8712 * textmodes/reftex-vars.el (reftex-format-label-function):
8713 * textmodes/remember.el (remember-diary-file): Fix custom types.
8715 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8718 2013-05-09 Leo Liu <sdl.web@gmail.com>
8720 * progmodes/octave.el (inferior-octave-completion-at-point):
8721 Restore file completion. (Bug#14300)
8722 (inferior-octave-startup): Fix incorrect highlighting for the
8725 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8727 * progmodes/ruby-mode.el: First cut at SMIE support.
8728 (ruby-use-smie): New var.
8729 (ruby-smie-grammar): New constant.
8730 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8731 (ruby-smie--forward-token, ruby-smie--backward-token)
8732 (ruby-smie-rules): New functions.
8733 (ruby-mode-variables): Setup SMIE if applicable.
8735 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8737 * simple.el (line-move-visual): Signal beginning/end of buffer
8738 only if vertical-motion moved less than it was requested. Avoids
8739 silly incorrect error messages when there are display strings with
8740 multiple newlines at EOL.
8742 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8744 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8745 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8746 (prolog-char-quote-workaround):
8747 * progmodes/cperl-mode.el (cperl-under-as-char):
8748 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8750 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8752 (vhdl-mode-syntax-table-init): Remove.
8754 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8757 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8759 (ld-script-font-lock-keywords):
8760 Change regexps to use things like \_< and \_>.
8762 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8763 Change all regexps to use things like \_< and \_>.
8765 * progmodes/autoconf.el (autoconf-definition-regexp)
8766 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8767 Handle a _ with symbol syntax.
8768 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8770 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8771 Consolidate declaration.
8772 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8774 (ada-create-syntax-table): Remove.
8775 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8776 already has the right syntax nowadays.
8777 (ada-goto-next-word): Don't change the syntax of "_".
8779 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8782 2013-05-08 Sam Steingold <sds@gnu.org>
8784 * thingatpt.el (thing-at-point): Accept optional second argument
8785 NO-PROPERTIES to strip the text properties from the return value.
8786 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8787 to `thing-at-point' instead of stripping the properties ourselves.
8788 Also, when `thing-at-point' fails to find a url, prepend "http://"
8789 to the filename at point on the assumption that the user is
8790 pointing at something like gnu.org/gnu.
8792 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8794 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8795 * faces.el (crm-separator):
8796 Silence byte-compiler.
8798 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8799 (tool-bar-map): Remove unneeded defvars.
8801 2013-05-08 Leo Liu <sdl.web@gmail.com>
8803 Re-work a fix for bug#10994 based on Le Wang's patch.
8804 * ido.el (ido-remove-consecutive-dups): New helper.
8805 (ido-completing-read): Use it.
8806 (ido-chop): Revert fix for bug#10994.
8808 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8810 * cus-edit.el (custom-save-variables):
8811 Pretty-print long values. (Bug#14187)
8813 2013-05-08 Glenn Morris <rgm@gnu.org>
8815 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8816 (m4-mode-syntax-table): Init in the defvar.
8817 (m4-mode-abbrev-table): Let define-derived-mode define it.
8819 2013-05-08 Tom Tromey <tromey@redhat.com>
8821 * progmodes/m4-mode.el (m4-mode-syntax-table):
8822 Do not treat "_" as word constituent. (Bug#14167)
8824 2013-05-07 Glenn Morris <rgm@gnu.org>
8826 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8827 Remove explicit eshell-isearch-cancel-map.
8829 * progmodes/f90.el (f90-smart-end-names): New option.
8830 (f90-smart-end): Doc fix.
8831 (f90-end-block-optional-name): New constant.
8832 (f90-block-match): Respect f90-smart-end-names.
8834 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8836 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8837 about implicit semi-colons (bug#14218).
8839 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8841 * frame.el (display-monitor-attributes-list)
8842 (frame-monitor-attributes): New functions.
8844 2013-05-06 Leo Liu <sdl.web@gmail.com>
8846 * progmodes/octave.el (octave-syntax-propertize-function): Change
8847 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8848 (octave-font-lock-keywords): Use octave-operator-regexp.
8849 (octave-completion-at-point): Rename from
8850 octave-completion-at-point-function.
8851 (inferior-octave-directory-tracker): Robustify.
8852 (octave-text-functions): Remove and fix its uses. No such things
8855 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * emacs-lisp/trace.el (trace--display-buffer): New function.
8858 (trace-make-advice): Use it.
8860 2013-05-06 Juri Linkov <juri@jurta.org>
8862 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8863 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8865 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8866 in the help string. (Bug#12985)
8868 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8870 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8872 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * progmodes/perl-mode.el: Add support for here documents.
8875 (perl-syntax-propertize-function): Match here-doc markers.
8876 (perl-syntax-propertize-special-constructs): Find their end.
8877 (perl-imenu-generic-expression): Use [:alnum:].
8879 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8880 (advice--add-function): Refresh the advice if already present
8883 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8885 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8887 2013-05-06 Glenn Morris <rgm@gnu.org>
8889 * w32-fns.el (w32-charset-info-alist): Declare.
8891 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8892 of its defcustom properties.
8893 (eshell-cmpl-initialize): No need to load pcomplete.
8895 * generic-x.el: No need to require comint when compiling.
8897 * net/eudc-export.el: Make it loadable without bbdb.
8898 (top-level): Use require rather than load-library.
8899 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8900 (eudc-batch-export-records-to-bbdb)
8901 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8904 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8906 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8907 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8908 some tweaks, instead.
8910 2013-05-05 Leo Liu <sdl.web@gmail.com>
8912 * progmodes/octave.el (octave-font-lock-keywords)
8913 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8914 (inferior-octave-send-list-and-digest): Improve error message.
8915 (octave-mode, inferior-octave-mode): Use setq-local.
8916 (octave-help): Set info-lookup-mode.
8918 2013-05-05 Richard Stallman <rms@gnu.org>
8920 * vc/compare-w.el (compare-windows-whitespace):
8921 Treat no-break space as whitespace.
8923 * mail/rmailsum.el (rmail-summary-rmail-update):
8924 Detect empty summary and don't change selected message.
8925 (rmail-summary-goto-msg): Likewise.
8927 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8928 Doc fixes, rename args.
8930 2013-05-05 Alan Mackenzie <acm@muc.de>
8932 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8934 2013-05-05 Juri Linkov <juri@jurta.org>
8936 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8937 to not add the length of the summary segment to the return value.
8940 2013-05-05 Leo Liu <sdl.web@gmail.com>
8942 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8943 (inferior-octave-output-filter): Remove.
8944 (octave-send-region, inferior-octave-startup): Fix callers.
8945 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8946 (octave-binary-file-extensions): New user variable.
8947 (octave-find-definition): Confirm if opening binary files.
8948 (octave-help-file): Use octave-find-definition to get the binary
8950 (octave-help): Adjust for octave-help-file change.
8952 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8955 Merge the two entries that handle function definitions.
8956 (pascal--syntax-propertize): New const.
8957 (pascal-mode): Use it. Use setq-local.
8959 2013-05-04 Glenn Morris <rgm@gnu.org>
8961 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8962 (diary-from-outlook): Respect diary-from-outlook-function.
8964 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8967 Move the declaration from C.
8968 (read-minibuffer, eval-minibuffer): Move from C.
8969 (completion-setup-function): Avoid minibuffer-completion-contents.
8971 2013-05-03 Leo Liu <sdl.web@gmail.com>
8973 * progmodes/octave.el (octave-font-lock-keywords): Do not
8974 dehighlight 'end' in comments or strings.
8975 (octave-completing-read, octave-goto-function-definition):
8977 (octave-help-buffer): New user variable.
8978 (octave-help-file, octave-help-function): New button types.
8979 (octave-help): New command and bind it to C-h ;.
8980 (octave-find-definition): New command and bind it to M-.
8981 (user-error): Alias to error if not defined.
8983 2013-05-02 Leo Liu <sdl.web@gmail.com>
8985 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8987 (octave-font-lock-keywords): Include [ and {.
8989 2013-05-02 Leo Liu <sdl.web@gmail.com>
8991 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8992 (inferior-octave): Remove calling comint-mode and return the buffer.
8993 (inferior-octave-startup): Cosmetic changes.
8995 2013-05-02 Leo Liu <sdl.web@gmail.com>
8997 * progmodes/octave.el (octave-syntax-propertize-function):
8998 Include the case when ' is at line beginning. (Bug#14336)
9000 2013-05-02 Glenn Morris <rgm@gnu.org>
9002 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9003 * desktop.el (vc-dir-mode): Just autoload it here.
9005 2013-05-02 Alan Mackenzie <acm@muc.de>
9007 Eliminate variable c-standard-font-lock-fontify-region-function.
9008 * progmodes/cc-mode.el
9009 (c-standard-font-lock-fontify-region-function): Remove.
9010 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9012 2013-05-01 Leo Liu <sdl.web@gmail.com>
9014 * progmodes/octave.el: Compatible with older emacs-24 releases.
9015 (inferior-octave-has-built-in-variables): Remove. Built-in
9016 variables were removed from Octave in 2007.
9017 (inferior-octave-startup): Fix uses.
9018 (comint-line-beginning-position): Remove compatibility code for
9021 2013-05-01 Juri Linkov <juri@jurta.org>
9023 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9025 2013-05-01 Juri Linkov <juri@jurta.org>
9027 * comint.el (comint-previous-matching-input): Don't print message
9028 "History item: %d" when `isearch-mode' is active.
9029 (comint-history-isearch-message): Print message "History item: %d"
9030 when `comint-input-ring-index' is not empty and this function is
9031 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9033 2013-05-01 Leo Liu <sdl.web@gmail.com>
9035 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9036 definitions. Use completion-at-point to insert keywords.
9037 (octave-abbrev-start): Remove.
9038 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9040 2013-04-30 Leo Liu <sdl.web@gmail.com>
9042 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9045 2013-04-30 Alan Mackenzie <acm@muc.de>
9047 Handle arbitrarily long C++ member initialisation lists.
9048 * progmodes/cc-engine.el (c-back-over-member-initializers):
9050 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9051 (most) member init lists.
9053 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9055 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9058 2013-04-30 Leo Liu <sdl.web@gmail.com>
9060 * progmodes/octave.el (octave-variables): Remove. No builtin
9061 variables any more. All converted to functions.
9062 (octave-font-lock-keywords, octave-completion-at-point-function):
9064 (octave-font-lock-texinfo-comment): New user variable.
9065 (octave-texinfo-font-lock-keywords): New variable for texinfo
9067 (octave-function-comment-block): New face.
9068 (octave-font-lock-texinfo-comment): New function.
9069 (octave-mode): Font lock texinfo comment block.
9071 2013-04-29 Leo Liu <sdl.web@gmail.com>
9073 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9074 indexing expression.
9075 (octave-continuation-string): Do not use \.
9076 (inferior-octave-complete-impossible): Remove.
9077 (inferior-octave-completion-table)
9078 (inferior-octave-completion-at-point): Remove its uses.
9079 (inferior-octave-startup): completion_matches was introduced to
9080 Octave in 1996 so safe to assume it.
9081 (octave-function-file-comment): Improve to follow how Octave does it.
9082 (octave-update-function-file-comment): Tweak.
9084 2013-04-29 Leo Liu <sdl.web@gmail.com>
9086 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9087 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9088 (octave-function-file-comment): Fix typo.
9089 (octave-sync-function-file-names): Use read-char-choice.
9091 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9093 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9094 to t for the less important warnings.
9096 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9098 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9100 2013-04-27 Glenn Morris <rgm@gnu.org>
9102 * vc/log-view.el (log-view-current-entry):
9103 Treat "---" separator lines as part of the following rev. (Bug#14169)
9105 2013-04-27 Juri Linkov <juri@jurta.org>
9107 * subr.el (read-number): Doc fix about using it by interactive
9108 code letter `n'. (Bug#14254)
9110 2013-04-27 Juri Linkov <juri@jurta.org>
9112 * desktop.el (desktop-auto-save-timeout): New option.
9113 (desktop-file-checksum): New variable.
9114 (desktop-save): Add optional arg `auto-save' and don't auto-save
9116 (desktop-auto-save-timer): New variable.
9117 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9118 (after-init-hook): Call `desktop-auto-save-set-timer'.
9119 Suggested by Reuben Thomas <rrt@sc3d.org> in
9120 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9122 2013-04-27 Leo Liu <sdl.web@gmail.com>
9124 * progmodes/octave.el (octave-function-file-p)
9125 (octave-skip-comment-forward, octave-function-file-comment)
9126 (octave-update-function-file-comment): New functions.
9127 (octave-mode-map): Bind C-c ; to
9128 octave-update-function-file-comment.
9129 (octave-mode-menu): Add octave-update-function-file-comment.
9130 (octave-mode, inferior-octave-mode): Fix doc-string.
9131 (octave-insert-defun): Conform to Octave's coding convention.
9134 * files.el (basic-save-buffer): Don't let errors in
9135 before-save-hook prevent saving buffer.
9137 2013-04-20 Roland Winkler <winkler@gnu.org>
9139 * faces.el (read-face-name): Use completing-read if arg multiple
9142 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9144 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9145 displayed, move point to after the totals line.
9146 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9149 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9152 Add current dir to the load-path.
9153 (package-generate-autoloads): Don't rely on
9154 autoload-ensure-default-file.
9156 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9158 * textmodes/remember.el (remember-store-in-files): Document that
9159 the file name format is passed to `format-time-string'.
9161 2013-04-26 Leo Liu <sdl.web@gmail.com>
9163 * progmodes/octave.el (octave-sync-function-file-names): New function.
9164 (octave-mode): Use it in before-save-hook.
9166 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9171 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9172 \n and comment, even if it's not an implicit ; (bug#14218).
9174 2013-04-26 Glenn Morris <rgm@gnu.org>
9176 * subr.el (read-number): Once more use `read' rather than
9177 `string-to-number', to trap non-numeric input. (Bug#14254)
9179 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9181 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9182 Use `syntax-multiline' text property consistently instead of
9183 `font-lock-multiline'. (Bug#14237)
9185 2013-04-26 Glenn Morris <rgm@gnu.org>
9187 * emacs-lisp/shadow.el (list-load-path-shadows):
9188 No longer necessary to check for duplicate simple.el, since
9189 2012-07-07 change to init_lread to not include installation lisp
9190 directories in load-path when running uninstalled. (Bug#14270)
9192 2013-04-26 Leo Liu <sdl.web@gmail.com>
9194 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9195 (octave-mode, inferior-octave-mode): Use setq-local.
9196 (octave-not-in-string-or-comment-p): Rename to
9197 octave-in-string-or-comment-p.
9198 (octave-in-comment-p, octave-in-string-p)
9199 (octave-in-string-or-comment-p): Replace defsubst with defun.
9201 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9203 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9205 2013-04-25 Bastien Guerry <bzg@gnu.org>
9207 * textmodes/remember.el (remember-data-directory)
9208 (remember-directory-file-name-format): Fix custom types.
9210 2013-04-25 Leo Liu <sdl.web@gmail.com>
9212 * progmodes/octave.el (octave-completion-at-point-function):
9213 Make use of inferior octave process.
9214 (octave-initialize-completions): Remove.
9215 (inferior-octave-completion-table): New function.
9216 (inferior-octave-completion-at-point): Use it.
9217 (octave-completion-alist): Remove.
9219 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9221 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9222 (opascal-mode-syntax-table): New var.
9223 (opascal-literal-kind, opascal-is-literal-end)
9224 (opascal-literal-token-at): Rewrite.
9225 (opascal--literal-start-re, opascal-font-lock-keywords)
9226 (opascal--syntax-propertize): New constants.
9227 (opascal-font-lock-defaults): Adjust.
9228 (opascal-mode): Use them. Set comment-<foo> variables as well.
9229 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9230 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9231 (delphi-other-face, opascal-other-face): Remove face variables.
9232 (opascal-save-state): Remove macro.
9233 (opascal-fontifying-progress-step): Remove constant.
9234 (opascal--ignore-changes): Remove var.
9235 (opascal-set-token-property, opascal-parse-next-literal)
9236 (opascal-is-stable-literal, opascal-complete-literal)
9237 (opascal-is-literal-start, opascal-face-of)
9238 (opascal-parse-region, opascal-parse-region-until-stable)
9239 (opascal-fontify-region, opascal-after-change)
9240 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9241 (opascal-debug-parse-region, opascal-debug-parse-window)
9242 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9243 (opascal-debug-fontify-buffer): Remove.
9244 (opascal-debug-mode-map): Adjust accordingly.
9246 2013-04-25 Leo Liu <sdl.web@gmail.com>
9248 Merge octave-mod.el and octave-inf.el into octave.el with some
9250 * progmodes/octave.el: New file renamed from octave-mod.el.
9251 * progmodes/octave-inf.el: Merged into octave.el.
9252 * progmodes/octave-mod.el: Renamed to octave.el.
9254 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9256 * textmodes/reftex-vars.el
9257 (reftex-label-ignored-macros-and-environments): New defcustom.
9259 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9261 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9264 (smie-indent-keyword): Improve the check to ensure that the next
9265 comment is really on the same line.
9266 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9268 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9269 semi-colons if the line is not otherwise empty (bug#14218).
9271 2013-04-25 Glenn Morris <rgm@gnu.org>
9273 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9275 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * progmodes/opascal.el (opascal-set-token-property): Rename from
9278 opascal-set-text-properties and only set `token' (bug#14134).
9279 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9280 (opascal-literal-text-properties): Remove.
9281 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9284 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9286 * textmodes/remember.el (remember-handler-functions): Add an
9287 option for a new handler `remember-store-in-files'.
9288 (remember-data-directory, remember-directory-file-name-format):
9290 (remember-store-in-files): New function to store remember notes
9291 as separate files within a directory.
9293 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9295 * progmodes/compile.el (compilation-next-error-function):
9296 Pass "formats" to compilation-find-file (bug#11777).
9298 2013-04-24 Glenn Morris <rgm@gnu.org>
9300 * vc/vc-bzr.el (vc-bzr-print-log):
9301 * vc/vc-hg.el (vc-hg-print-log):
9302 * vc/vc-svn.el (vc-svn-print-log):
9303 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9305 * vc/vc-bzr.el (vc-bzr-print-log):
9306 * vc/vc-cvs.el (vc-cvs-print-log):
9307 * vc/vc-git.el (vc-git-print-log):
9308 * vc/vc-hg.el (vc-hg-print-log):
9309 * vc/vc-mtn.el (vc-mtn-print-log):
9310 * vc/vc-rcs.el (vc-rcs-print-log):
9311 * vc/vc-sccs.el (vc-sccs-print-log):
9312 * vc/vc-svn.el (vc-svn-print-log):
9313 * vc/vc.el (vc-print-log-internal): Doc fixes.
9315 2013-04-23 Glenn Morris <rgm@gnu.org>
9317 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9318 Remove venerable code attempting to avoid substitute-command-keys.
9320 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9322 * textmodes/reftex-vars.el (reftex-label-regexps):
9323 Call `reftex-compile-variables' after changes to this variable.
9325 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9327 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9328 Use lexical-binding.
9329 (jit-lock-force-redisplay): Use markers, check buffer's continued
9330 existence and beware narrowed buffers.
9331 (jit-lock-fontify-now): Adjust call accordingly.
9333 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9335 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9336 to avoid misleading the user.
9338 2013-04-22 Leo Liu <sdl.web@gmail.com>
9340 * info-look.el: Prefer latex2e.info. (Bug#14240)
9342 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9344 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9346 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9347 * net/tramp.el (tramp-call-process): ... here.
9348 (tramp-set-completion-function, tramp-parse-putty):
9349 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9350 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9351 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9352 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9353 (tramp-call-local-coding-command): Use `tramp-call-process'
9354 instead of `tramp-compat-call-process'.
9356 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9357 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9358 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9359 (tramp-find-inline-compress): Improve traces.
9360 (tramp-maybe-send-script): Check for Perl binary.
9361 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9363 2013-04-22 Daiki Ueno <ueno@gnu.org>
9365 * epg.el (epg-context-pinentry-mode): New function.
9366 (epg-context-set-pinentry-mode): New function.
9367 (epg--start): Pass --pinentry-mode option to gpg command.
9369 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9371 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9372 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9373 `completion-at-point'. (Bug#13774)
9375 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9376 default key binding for `describe-distribution' has been moved to
9377 `C-h C-o'. (Bug#13970)
9379 2013-04-21 Glenn Morris <rgm@gnu.org>
9381 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9383 (vc-print-log): Clarify interactive prompt.
9385 2013-04-20 Glenn Morris <rgm@gnu.org>
9387 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9388 No longer include timestamp etc information.
9390 2013-04-20 Roland Winkler <winkler@gnu.org>
9392 * faces.el (read-face-name): Bug fix, return just one face if arg
9393 multiple is nil. (Bug#14209)
9395 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9397 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9398 (remove-function): Autoload.
9400 * comint.el (comint-redirect-original-filter-function): Remove.
9401 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9402 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9403 (vc-cvs-annotate-command):
9404 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9405 * progmodes/prolog.el (prolog-consult-compile):
9406 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9407 Use add/remove-function instead.
9408 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9409 (gud-tooltip-process-output, gud-tooltip-tips):
9410 Use add/remove-function instead.
9411 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9412 (scheme-interaction-mode, exit-scheme-interaction-mode):
9413 Use add/remove-function instead.
9415 * vc/vc-dispatcher.el: Use lexical-binding.
9416 (vc--process-sentinel): Rename from vc-process-sentinel.
9417 Change last arg to be the code to run. Don't use vc-previous-sentinel
9418 and vc-sentinel-commands any more.
9419 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9420 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9422 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9424 * progmodes/sh-script.el (sh-imenu-generic-expression):
9425 Handle function names with a single character. (Bug#14111)
9427 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9429 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9430 for subroutines defined in an eval (bug#14182).
9432 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9434 * bookmark.el (bookmark-completing-read): Improve handling of empty
9437 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9441 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9443 New faster Imenu implementation (bug#14058).
9444 * progmodes/python.el:
9445 (python-imenu-prev-index-position):
9446 (python-imenu-format-item-label-function)
9447 (python-imenu-format-parent-item-label-function)
9448 (python-imenu-format-parent-item-jump-label-function):
9450 (python-imenu-format-item-label)
9451 (python-imenu-format-parent-item-label)
9452 (python-imenu-format-parent-item-jump-label)
9453 (python-imenu--put-parent, python-imenu--build-tree)
9454 (python-imenu-create-index, python-imenu-create-flat-index)
9455 (python-util-popn): New functions.
9456 (python-mode): Set imenu-create-index-function to
9457 python-imenu-create-index.
9459 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9461 * winner.el (winner-active-region): Use region-active-p, activate-mark
9462 and deactivate-mark (bug#14225).
9464 * simple.el (deactivate-mark): Don't inline it.
9466 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9468 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9470 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9472 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9473 file extensions from the archive-mode entry in order to prefer
9474 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9476 2013-04-18 Leo Liu <sdl.web@gmail.com>
9478 * bindings.el (help-event-list): Add ?\?.
9480 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9482 * subr.el (with-wrapper-hook): Declare obsolete.
9483 * simple.el (filter-buffer-substring-function): New hook.
9484 (filter-buffer-substring): Use it.
9485 (filter-buffer-substring-functions): Mark obsolete.
9486 * minibuffer.el (completion-in-region-function): New hook.
9487 (completion-in-region): Use it.
9488 (completion-in-region-functions): Mark obsolete.
9489 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9490 * abbrev.el (abbrev-expand-function): New hook.
9491 (expand-abbrev): Use it.
9492 (abbrev-expand-functions): Mark obsolete.
9493 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9496 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9498 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9499 and do not care about match data.
9501 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9503 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9504 completion tables when completing error conditions and
9505 `declare' arguments.
9506 (lisp-complete-symbol, field-complete): Mark as obsolete.
9507 (check-parens): Unmatched parens are user errors.
9508 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9510 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9512 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9513 command changed buffer (ie. `flyspell-pre-buffer' is not current
9514 buffer), which prevents making decisions based on invalid value of
9515 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9516 cause an error when `flyspell-pre-point' was nil after switching
9518 (flyspell-post-command-hook): No longer needs to change buffers when
9519 checking pre-word. While at it remove unnecessary progn.
9521 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9523 * textmodes/ispell.el (ispell-add-per-file-word-list):
9524 Fix `flyspell-correct-word-before-point' error when accepting
9525 words and `coment-padding' is an integer by using
9526 `comment-normalize-vars' (Bug #14214).
9528 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9530 New defun movement commands.
9531 * progmodes/python.el (python-nav--syntactically)
9532 (python-nav--forward-defun, python-nav-backward-defun)
9533 (python-nav-forward-defun): New functions.
9535 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9537 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9538 (python-syntax-context): Use named compiler-macro for backwards
9539 compatibility with Emacs 24.x.
9541 2013-04-17 Leo Liu <sdl.web@gmail.com>
9543 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9544 octave-hide-process-buffer.
9546 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9551 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9553 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9554 Fix adjustment of offset when receiving incomplete responses from GDB
9557 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9559 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9560 python-mode-abbrev-table.
9561 (python-skeleton-define): Adjust accordingly.
9562 (python-mode-abbrev-table): New table that inherits from it so that
9563 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9565 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9566 (abbrev-symbol): Use it.
9567 (abbrev--before-point): Use it since we already handle inheritance.
9569 2013-04-16 Leo Liu <sdl.web@gmail.com>
9571 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9572 binding to info-lookup-symbol.
9574 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9576 * minibuffer.el (completion--twq-all):
9577 * term/ns-win.el (ns-initialize-window-system):
9578 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9580 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9582 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9585 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9587 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9589 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9590 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9592 (ruby-end-of-defun): Remove the unused arg, change the docstring
9593 to reflect that this function is only used as the value of
9594 `end-of-defun-function'.
9595 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9596 to reflect an earlier change that beginning/end-of-defun functions
9597 jump between methods in a class definition, as well as top-level
9600 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * minibuffer.el (minibuffer-complete): Don't just scroll
9603 a *Completions* that's been iconified.
9604 (minibuffer-force-complete): Make sure repetitions do cycle when going
9605 through completion-in-region -> minibuffer-complete.
9607 2013-04-15 Alan Mackenzie <acm@muc.de>
9609 Correct the placement of c-cpp-delimiters when there're #s not at
9612 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9613 place a submatch around the #.
9614 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9615 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9618 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9621 (advice--member-p): New arg `name'.
9622 (advice--add-function, advice-member-p): Use it (bug#14202).
9624 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9626 Reformulate java imenu-generic-expression.
9627 The old expression contained ill formed regexps.
9629 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9630 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9631 (cc-imenu-java-method-arg-regexp): New defconsts.
9632 (cc-imenu-java-build-type-args-regex): New defun.
9633 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9634 handling of spaces in the regexp.
9636 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9638 * textmodes/ispell.el (ispell-command-loop): Remove
9639 flyspell highlight of a word when ispell accepts it (bug #14178).
9641 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9643 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9644 uses code from the previous `ange-ftp-run-real-handler'.
9645 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9646 only in case that function exist. This is needed for proper
9649 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9651 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9653 * textmodes/reftex.el (reftex-compile-variables): Use it.
9655 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9657 * files.el (normal-mode): Only use default major-mode if no other mode
9660 * emacs-lisp/trace.el (trace-values): New function.
9662 * files.el: Allow : in local variables (bug#14089).
9663 (hack-local-variable-regexp): New var.
9664 (hack-local-variables-prop-line, hack-local-variables): Use it.
9666 2013-04-13 Roland Winkler <winkler@gnu.org>
9668 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9669 data before it gets modified by bibtex-beginning-of-entry.
9671 2013-04-13 Roland Winkler <winkler@gnu.org>
9673 * textmodes/bibtex.el (bibtex-url): Doc fix.
9675 2013-04-13 Roland Winkler <winkler@gnu.org>
9677 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9678 does not visit a BibTeX file, exclude it from the list of buffers
9679 returned by bibtex-initialize.
9681 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9683 * window.el (split-window): Remove interactive form, since as a
9684 command this function is a special case of split-window-below.
9687 2013-04-12 Roland Winkler <winkler@gnu.org>
9689 * faces.el (read-face-name): Do not override value of arg default.
9690 Allow single faces and strings as default values. Remove those
9691 elements from return value that are not faces.
9692 (describe-face): Simplify.
9693 (face-at-point): New optional args thing and multiple so that this
9694 function can provide the same functionality previously provided by
9696 (make-face-bold, make-face-unbold, make-face-italic)
9697 (make-face-unitalic, make-face-bold-italic, invert-face)
9698 (modify-face, read-face-and-attribute): Use face-at-point.
9700 * cus-edit.el (customize-face, customize-face-other-window)
9701 * cus-theme.el (custom-theme-add-face)
9702 * face-remap.el (buffer-face-set)
9703 * facemenu.el (facemenu-set-face): Use face-at-point.
9705 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9707 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9709 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9711 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9712 off leading { and trailing } from field values.
9714 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * emacs-lisp/timer.el (timer--check): New function.
9717 (timer--time, timer-set-function, timer-event-handler): Use it.
9718 (timer-set-idle-time): Simplify.
9719 (timer--activate): CSE.
9720 (timer-event-handler): Give more info in error message.
9721 (internal-timer-start-idle): New function, moved from C.
9723 * mpc.el (mpc-proc): Add `restart' argument.
9724 (mpc-proc-cmd): Use it.
9725 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9726 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9729 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9731 * progmodes/sh-script.el: Implement `sh-mode' own
9732 `add-log-current-defun-function' (bug#14112).
9733 (sh-current-defun-name): New function.
9734 (sh-mode): Use the function.
9736 2013-04-09 Bastien Guerry <bzg@gnu.org>
9738 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9740 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9742 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9744 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9747 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9749 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9752 2013-04-07 Leo Liu <sdl.web@gmail.com>
9754 * pcmpl-x.el: New file.
9756 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9758 Do not set x-display-name until X connection is established.
9759 This is needed to prevent from weird situation described at
9760 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9761 * frame.el (make-frame): Set x-display-name after call to
9762 window system initialization function, not before.
9763 * term/x-win.el (x-initialize-window-system): Add optional
9764 display argument and use it.
9765 * term/w32-win.el (w32-initialize-window-system):
9766 * term/ns-win.el (ns-initialize-window-system):
9767 * term/pc-win.el (msdos-initialize-window-system):
9768 Add compatible optional display argument.
9770 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9772 * files.el (normal-backup-enable-predicate): On MS-Windows and
9773 MS-DOS compare truenames of temporary-file-directory and of the
9774 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9775 don't fail comparison by compare-strings. Also, compare file
9776 names case-insensitively on MS-Windows and MS-DOS.
9778 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9780 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9781 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9783 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9785 * whitespace.el (whitespace-color-on, whitespace-color-off):
9786 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9788 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9790 * ispell.el (ispell-set-spellchecker-params):
9791 Really set `ispell-args' for all equivs.
9793 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * ido.el (ido-completions): Use extra elements of ido-decorations
9797 (ido-decorations): Update docstring.
9799 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9801 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9802 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9803 nil during initialization, in order not to miss changes since the
9804 file was opened. (Bug#14140)
9806 2013-04-05 Leo Liu <sdl.web@gmail.com>
9808 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9810 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9812 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9814 2013-04-04 Glenn Morris <rgm@gnu.org>
9816 * electric.el (electric-pair-inhibit-predicate): Add :version.
9818 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9820 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9821 when a package is required several times (bug#14082).
9823 2013-04-04 Roland Winkler <winkler@gnu.org>
9825 * faces.el (read-face-name): Behave as promised by the docstring.
9826 Assume that arg default is a list of faces.
9827 (describe-face): Call read-face-name with list of default faces.
9829 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9831 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9832 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9833 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9835 (bookmark-exit-hook-internal): Save even if list is empty.
9837 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9839 * emacs-lisp/package.el (package-pinned-packages): New var.
9840 (package--add-to-archive-contents): Obey it (bug#14118).
9842 2013-04-03 Alan Mackenzie <acm@muc.de>
9844 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9845 Also adapt to the new values of element 7 of a parse state.
9847 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9848 parameter `not-in-delimiter'. Handle being inside comment opener.
9849 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9850 character in case we're typing a '*' after a '/'.
9851 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9852 instead by passing the parameter to c-state-pp-to-literal.
9854 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9855 for elt. 7 of a parse state.
9857 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9859 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9860 * international/latin1-disp.el, international/mule-util.el:
9861 * language/cyril-util.el, language/european.el, language/ind-util.el:
9862 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9863 * language/tibetan.el, language/viet-util.el:
9864 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9866 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9868 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9869 (electric-pair-post-self-insert-function): Use it.
9870 (electric-pair-default-inhibit): New function, extracted from
9871 electric-pair-post-self-insert-function.
9873 2013-03-31 Roland Winkler <winkler@gnu.org>
9875 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9877 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9879 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9881 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9883 Un-indent after "pass" and "return" statements (Bug#13888)
9884 * progmodes/python.el (python-indent-block-enders): New var.
9885 (python-indent-calculate-indentation): Use it.
9887 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9889 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9890 defun. Defining it as defalias could introduce too eager
9891 byte-compiler optimization. (Bug#14030)
9893 2013-03-30 Chong Yidong <cyd@gnu.org>
9895 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9897 2013-03-30 Leo Liu <sdl.web@gmail.com>
9899 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9900 (kmacro-execute-from-register): Pass the keyboard macro to
9901 kmacro-call-macro or repeating won't work correctly.
9903 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9905 * progmodes/subword.el: Back to using `forward-symbol'.
9907 * subr.el (forward-whitespace, forward-symbol)
9908 (forward-same-syntax): Move from thingatpt.el.
9910 2013-03-29 Leo Liu <sdl.web@gmail.com>
9912 * kmacro.el (kmacro-to-register): New command.
9913 (kmacro-execute-from-register): New function.
9914 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9916 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9918 * mpc.el: Use defvar-local and setq-local.
9919 (mpc--proc-connect): Connection failures are not bugs.
9920 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9921 (mpc-volume-map): Bind to the up-events.
9923 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9925 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9926 instead of `forward-symbol'.
9928 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9931 (edebug--recursive-edit): Use it.
9932 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9933 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9935 2013-03-28 Leo Liu <sdl.web@gmail.com>
9937 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9939 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9941 * facemenu.el (list-colors-callback): New defvar.
9942 (list-colors-redisplay): New function.
9943 (list-colors-display): Install list-colors-redisplay as the
9944 revert-buffer-function. (Bug#14063)
9946 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9949 and suffixes don't overlap (bug#14061).
9951 * case-table.el: Use lexical-binding.
9952 (case-table-get-table): New function.
9953 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9955 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9957 * progmodes/subword.el: Add `superword-mode' to do word motion
9958 over symbol_words (parallels and leverages `subword-mode' which
9959 does word motion inside MixedCaseWords).
9961 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9963 * eshell/em-unix.el: Move su and sudo to...
9964 * eshell/em-tramp.el: ...Eshell tramp module.
9966 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9969 Change return value to be a sexp. Delay `get-buffer' to after
9970 restoring the desktop (bug#13951).
9972 2013-03-26 Leo Liu <sdl.web@gmail.com>
9974 * register.el: Move semantic tag handling back to
9975 cedet/semantic/senator.el. (Bug#14052)
9977 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9980 into the prompt either (bug#13963).
9982 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9985 part of "(error-foo)".
9987 2013-03-24 Juri Linkov <juri@jurta.org>
9989 * replace.el (list-matching-lines-prefix-face): New defcustom.
9990 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9991 `occur-engine' if `face-differs-from-default-p' returns t.
9992 (occur-engine): Add `,' inside backquote construct to evaluate
9993 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9994 Pass `prefix-face' to the functions `occur-context-lines' and
9995 `occur-engine-add-prefix'.
9996 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9997 `prefix-face' and propertize the prefix with `prefix-face'.
10000 2013-03-24 Leo Liu <sdl.web@gmail.com>
10002 * nxml/rng-valid.el (rng-validate-while-idle)
10003 (rng-validate-quick-while-idle): Guard against deleted buffer.
10006 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10007 is the last entry in kill-buffer-hook.
10009 * files.el (kill-buffer-hook): Doc fix.
10011 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10013 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10014 Make it safe-local.
10016 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10018 2013-03-23 Leo Liu <sdl.web@gmail.com>
10020 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10023 * nxml/rng-valid.el (rng-validate-mode)
10024 (rng-after-change-function, rng-do-some-validation):
10025 * nxml/rng-maint.el (rng-validate-buffer):
10026 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10027 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10028 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10029 (nxml-extend-after-change-region): Use with-silent-modifications.
10031 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10034 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10035 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10036 timer-idle-list. (Bug#13999)
10038 2013-03-23 Juri Linkov <juri@jurta.org>
10040 * info.el (info-index-match): New face.
10041 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10042 main pattern and add text properties with the new face to matches
10043 in index entries relative to the beginning of the index entry.
10046 2013-03-21 Eric Ludlam <zappo@gnu.org>
10048 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10049 Inhibit read only while inserting objects.
10051 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10053 * progmodes/cfengine.el: Update docs to mention
10054 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10055 symbol motion. Remove "_" from the word syntax.
10057 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10059 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10060 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10062 2013-03-20 Juri Linkov <juri@jurta.org>
10064 * info.el (Info-next-reference-or-link)
10065 (Info-prev-reference-or-link): New functions.
10066 (Info-next-reference, Info-prev-reference): Use them.
10067 (Info-try-follow-nearest-node): Handle footnote navigation.
10068 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10070 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10072 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10073 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10075 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10077 Suppress unnecessary non-ASCII chatter during build process.
10078 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10079 (batch-skkdic-convert): Suppress most of the chatter.
10080 It's not needed so much now that machines are faster,
10081 and its non-ASCII component was confusing; see Dmitry Gutov in
10082 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10084 2013-03-20 Leo Liu <sdl.web@gmail.com>
10086 * ido.el (ido-chop): Fix bug#10994.
10088 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10090 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10092 (whitespace-color-on, whitespace-color-off):
10093 Use `font-lock-fontify-buffer' (Bug#13817).
10095 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10098 remapping in mode-line.
10099 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10101 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10103 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10104 value for `whitespace-line' face (Bug#13875).
10105 (whitespace-font-lock-keywords): Change description.
10106 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10107 the constructed keywords instead.
10108 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10110 2013-03-19 Leo Liu <sdl.web@gmail.com>
10112 * progmodes/compile.el (compilation-display-error): New command.
10113 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10116 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10118 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10120 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10122 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10124 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10126 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10128 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10129 * net/tramp-gvfs.el (top):
10130 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10131 (tramp-handle-shell-command): Use it.
10132 (tramp-dissect-file-name): Raise an error when hostname is a
10133 method name, and neither method nor user is specified.
10135 * net/trampver.el: Update release number.
10137 2013-03-18 Leo Liu <sdl.web@gmail.com>
10139 Make sure eldoc can be turned off properly.
10140 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10142 (eldoc-display-message-p): Revert last change.
10143 (eldoc-display-message-no-interference-p)
10144 (eldoc-print-current-symbol-info): Tweak.
10146 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10148 * doc-view.el (doc-view-new-window-function): Check the new window
10149 overlay's display property instead the char property of the
10150 buffer's first char. Use `with-selected-window' instead of
10151 `save-window-excursion' with `select-window'.
10152 (doc-view-document->bitmap): Check the current doc-view overlay's
10153 display property instead the char property of the buffer's first char.
10155 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10157 Automate the build of ja-dic.el (Bug#13984).
10158 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10159 from the input, rather than assume that it's been done for us by the
10160 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10161 the current date into a ja-dic.el comment, as that complicates
10162 regression testing.
10164 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10166 * whitespace.el: Fix double evaluation.
10167 (whitespace-space, whitespace-hspace, whitespace-tab)
10168 (whitespace-newline, whitespace-trailing, whitespace-line)
10169 (whitespace-space-before-tab, whitespace-indentation)
10170 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10172 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10173 (whitespace-color-on): Use a single font-lock-add-keywords call.
10174 Fix double-evaluation of face variables.
10176 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10178 * net/tramp-adb.el (tramp-adb-parse-device-names):
10179 Use `start-process' instead of `call-process'. Otherwise, the
10180 function might be blocked under MS Windows. (Bug#13299)
10182 2013-03-17 Leo Liu <sdl.web@gmail.com>
10184 Extend eldoc to display info in the mode-line. (Bug#13978)
10185 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10186 (eldoc-mode-line-string): New variable.
10187 (eldoc-minibuffer-message): New function.
10188 (eldoc-message-function): New variable.
10189 (eldoc-message): Use it.
10190 (eldoc-display-message-p)
10191 (eldoc-display-message-no-interference-p):
10192 Support eldoc-post-insert-mode.
10194 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10195 (eval-expression): Run it.
10197 2013-03-17 Roland Winkler <winkler@gnu.org>
10199 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10200 strings in the list of return values.
10202 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10204 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10205 radix before checking for HMS forms.
10207 2013-03-16 Leo Liu <sdl.web@gmail.com>
10209 * progmodes/scheme.el: Add indentation and font-locking for λ.
10212 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10215 token before point (bug#13942).
10217 2013-03-16 Leo Liu <sdl.web@gmail.com>
10219 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10221 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10223 * startup.el (command-line-normalize-file-name): Fix handling of
10224 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10225 <xfq.free@gmail.com> in
10226 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10228 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10230 Sync with Tramp 2.2.7.
10232 * net/trampver.el: Update release number.
10234 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10236 * doc-view.el: Fix bug#13887.
10237 (doc-view-insert-image): Don't modify overlay associated to
10238 non-live windows, and implement horizontal centering of image in
10239 case it's smaller than the window.
10240 (doc-view-new-window-function): Force redisplay of new windows on
10243 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10245 * saveplace.el (save-place-alist-to-file): Don't sort
10246 `save-place-alist', just pretty-print it (bug#13882).
10248 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10250 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10251 Check whether `default-file-name-coding-system' is bound.
10252 It isn't in XEmacs.
10254 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10257 backquotes for `obsolete' (bug#13929).
10259 * international/mule.el (find-auto-coding): Include file name in
10260 obsolescence warning (bug#13922).
10262 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10264 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10265 for CFEngine 3-specific indentation.
10266 (cfengine3-indent-line): Use it. Fix up category regex.
10267 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10269 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * type-break.el (type-break-file-name):
10272 * textmodes/remember.el (remember-data-file):
10273 * strokes.el (strokes-file):
10274 * shadowfile.el (shadow-initialize):
10275 * saveplace.el (save-place-file):
10276 * ps-bdf.el (bdf-cache-file):
10277 * progmodes/idlwave.el (idlwave-config-directory):
10278 * net/quickurl.el (quickurl-url-file):
10279 * international/kkc.el (kkc-init-file-name):
10280 * ido.el (ido-save-directory-list-file):
10281 * emulation/viper.el (viper-custom-file-name):
10282 * emulation/vip.el (vip-startup-file):
10283 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10284 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10286 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10288 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10289 * language/thai-word.el: Switch to UTF-8.
10291 See ChangeLog.16 for earlier changes.
10293 ;; Local Variables:
10297 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10299 This file is part of GNU Emacs.
10301 GNU Emacs is free software: you can redistribute it and/or modify
10302 it under the terms of the GNU General Public License as published by
10303 the Free Software Foundation, either version 3 of the License, or
10304 (at your option) any later version.
10306 GNU Emacs is distributed in the hope that it will be useful,
10307 but WITHOUT ANY WARRANTY; without even the implied warranty of
10308 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10309 GNU General Public License for more details.
10311 You should have received a copy of the GNU General Public License
10312 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.