1 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4 two-character operators and whether the character preceding them
5 changes their meaning (Bug#15208).
7 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9 Format code sent to Python shell for robustness.
10 * progmodes/python.el (python-shell-buffer-substring): New
12 (python-shell-send-region, python-shell-send-buffer): Use it.
14 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
16 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
17 * net/tramp.el (tramp-user-error): ... here.
18 (tramp-find-method, tramp-check-proper-host)
19 (tramp-dissect-file-name, tramp-debug-message)
20 (tramp-handle-shell-command):
21 * net/tramp-adb.el (tramp-adb-handle-shell-command):
22 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
24 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
26 2013-09-02 Martin Rudalics <rudalics@gmx.at>
28 * avoid.el (mouse-avoidance-point-position)
29 (mouse-avoidance-too-close-p): Handle case where posn-at-point
32 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
34 * progmodes/python.el (python-shell-completion-get-completions):
35 Drop use of deleted `comint-last-prompt-overlay'.
36 (python-nav-if-name-main): New command.
38 2013-09-01 Glenn Morris <rgm@gnu.org>
40 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
41 Avoid leading space in $wins. Otherwise the sed command used by
42 eg compile-main ends up containing "/*.el". (Bug#15170)
44 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
46 2013-08-30 Glenn Morris <rgm@gnu.org>
48 * emacs-lisp/bytecomp.el (byte-recompile-directory):
49 Fix is-this-a-directory logic. (Bug#15220)
51 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
53 * textmodes/css-mode.el: Use SMIE.
54 (css-smie-grammar): New var.
55 (css-smie--forward-token, css-smie--backward-token)
56 (css-smie-rules): New functions.
58 (css-navigation-syntax-table): Remove var.
59 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
60 (css-indent-calculate, css-indent-line): Remove functions.
62 Misc changes to reduce use of `(lambda...); and other cleanups.
63 * cus-edit.el: Use lexical-binding.
64 (customize-push-and-save, customize-apropos)
65 (custom-buffer-create-internal): Use closures.
66 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
67 * progmodes/ada-xref.el: Use setq.
68 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
69 * dframe.el: Use lexical-binding.
70 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
71 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
72 * descr-text.el: Use lexical-binding.
73 (describe-text-widget, describe-text-sexp, describe-property-list):
75 * comint.el (comint-history-isearch-push-state): Use a closure.
76 * calculator.el: Use lexical-binding.
77 (calculator-number-to-string): Make it work with lexical-binding.
78 (calculator-funcall): Same and use cl-letf.
80 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
81 (lisp--company-doc-string, lisp--company-location): New functions.
82 (lisp-completion-at-point): Use them to improve Company support.
84 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
85 params of lambda expressions.
86 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
87 (ruby-smie--opening-pipe-p): New function.
88 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
89 symbols and matched |...| for formal params.
90 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
91 from being treated as hanging. Handle "rescue".
93 2013-08-29 Glenn Morris <rgm@gnu.org>
95 * progmodes/cc-engine.el (c-pull-open-brace):
96 Move definition before use.
98 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
100 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
101 are immutable. Don't use `unsafe' any more.
102 (cl--defsubst-expand): Don't substitute at the same time as keeping
103 a residual unused let-binding. Don't use `unsafe' any more.
105 2013-08-29 Glenn Morris <rgm@gnu.org>
107 * calendar/cal-china.el (calendar-chinese-year-cache):
110 * nxml/nxml-util.el (nxml-debug-clear-inside):
111 Use cl-loop rather than loop.
113 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
115 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
117 2013-08-28 Glenn Morris <rgm@gnu.org>
119 * progmodes/antlr-mode.el: No need to require cc-mode twice.
121 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
123 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
125 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
127 * simple.el (repeat-complex-command--called-interactively-skip):
129 (repeat-complex-command): Use it (bug#14136).
131 * progmodes/cc-mode.el: Minor cleanup of var declarations.
132 (c-define-abbrev-table): Add `doc' argument.
133 (c-mode-abbrev-table, c++-mode-abbrev-table)
134 (objc-mode-abbrev-table, java-mode-abbrev-table)
135 (idl-mode-abbrev-table, pike-mode-abbrev-table)
136 (awk-mode-abbrev-table): Use it.
137 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
138 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
139 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
140 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
141 Move initialization into the declaration; and remove any
144 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
145 and dynamic let binding.
147 * vc/smerge-mode.el: Remove redundant :group args.
149 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
152 2013-08-28 Juri Linkov <juri@jurta.org>
154 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
155 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
156 (isearch-other-meta-char): Handle an undefined shifted printing
157 character by downshifting it. (Bug#15200)
159 2013-08-28 Juri Linkov <juri@jurta.org>
161 * isearch.el (isearch-search): Change regexp error message for
162 non-regexp searches. (Bug#15166)
164 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
166 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
167 for portability to hosts where /bin/sh has problems.
169 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
171 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
173 2013-08-27 Juri Linkov <juri@jurta.org>
175 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
176 in the keyboard macro. (Bug#15126)
178 2013-08-27 Juri Linkov <juri@jurta.org>
180 * isearch.el (isearch-quote-char): Comment out converting unibyte
181 to multibyte, thus syncing with its `quoted-insert' counterpart.
184 2013-08-27 Martin Rudalics <rudalics@gmx.at>
186 * window.el (display-buffer-use-some-window): Add missing
187 argument in call of get-largest-window (Bug#15185).
188 Reported by Stephen Leake.
190 2013-08-27 Glenn Morris <rgm@gnu.org>
192 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
194 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
196 * progmodes/python.el (python-font-lock-keywords): Don't return nil
197 from a matcher-function unless there's no more matches (bug#15161).
199 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
201 * minibuffer.el: Revert change from 2013-08-20.
203 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
204 with text property `tramp-default', if appropriate.
205 (tramp-check-proper-host): New defun.
206 (tramp-dissect-file-name): Do not check hostname. Revert change
208 (tramp-backtrace): Make VEC-OR-PROC optional.
210 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
211 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
212 * net/tramp-sh.el (tramp-maybe-open-connection):
213 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
214 Apply `tramp-check-proper-host'.
216 2013-08-26 Tassilo Horn <tsdh@gnu.org>
218 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
219 lambda expression in order to have `describe-variable' display it.
221 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
223 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
224 BUF can be optional. (Bug#15186)
226 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
228 * progmodes/flymake.el (flymake-get-real-file-name-function):
229 Fix broken customization. (Bug#15184)
231 2013-08-25 Alan Mackenzie <acm@muc.de>
233 Improve indentation of bracelists defined by macros (without "=").
235 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
236 expansion begins with "{", regard it as bracelist when it doesn't
239 Parse C++ inher-intro when there's a template split over 2 lines.
241 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
242 rigorously the search for "class" etc. followed by ":".
244 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
245 random languages a regexp which never matches rather than nil.
247 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
249 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
250 (c-awk-regexp-one-line-possibly-open-char-list-re)
251 (c-awk-one-line-possibly-open-regexp-re)
252 (c-awk-one-line-non-syn-ws*-re): Remove.
253 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
254 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
255 (c-awk-space*-unclosed-regexp-/-re): New constants.
256 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
257 aren't regexp delimiters.
259 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
260 handling for a rare situation in AWK Mode involving unterminated
263 2013-08-23 Glenn Morris <rgm@gnu.org>
265 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
267 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
269 * files.el (create-file-buffer): If the result would begin with
270 spaces, prepend a "|" instead of removing them. (Bug#15162)
272 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
274 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
275 text-properties (bug#15155).
277 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
279 (calc-keypad-redraw): Remove unused var `pad'.
280 (calc-keypad-press): Remove unused var `menu'.
282 2013-08-23 Martin Rudalics <rudalics@gmx.at>
284 * window.el (display-buffer-pop-up-frame):
285 Call pop-up-frame-function with BUFFER current so `make-frame' will
286 use it as the new frame's buffer (Bug#15133).
288 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
290 * calendar/timeclock.el: Minor cleanups.
291 (timeclock-ask-before-exiting, timeclock-use-display-time):
293 (timeclock-modeline-display): Define as alias before the
295 (timeclock-mode-line-display): Use define-minor-mode.
296 (timeclock-day-list-template): Make it a function, add an argument.
297 (timeclock-day-list-required, timeclock-day-list-length)
298 (timeclock-day-list-debt, timeclock-day-list-span)
299 (timeclock-day-list-break): Adjust calls accordingly.
301 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
304 Use read--expression so that completion works again.
306 2013-08-21 Sam Steingold <sds@gnu.org>
308 Add rudimentary inferior shell interaction
309 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
310 (sh-set-shell): Reset it.
311 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
312 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
314 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
316 * align.el: Use lexical-binding.
317 (align-region): Simplify accordingly.
319 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
321 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
323 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
326 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
334 * net/tramp-sh.el: Don't wrap external variable declarations by
337 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
339 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
340 now that Emacs supports ImageMagick animations.
342 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
344 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
345 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
347 2013-08-16 Martin Rudalics <rudalics@gmx.at>
349 * window.el (mouse-autoselect-window-select): Do autoselect when
350 mouse pointer is on margin.
352 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
354 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
356 2013-08-16 Glenn Morris <rgm@gnu.org>
358 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
359 Handle "Remote Directory" response of some clients. (Bug#15058)
361 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
362 Tweak warning. (Bug#14926)
364 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
365 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
367 * image-mode.el (image-mode-map): Add menu items to reverse,
368 increase, decrease, reset animation speed.
369 (image--set-speed, image-increase-speed, image-decrease-speed)
370 (image-reverse-speed, image-reset-speed): New functions.
371 (image-mode-map): Add bindings for speed commands.
373 * image.el (image-animate-get-speed, image-animate-set-speed):
375 (image-animate-timeout): Respect image :speed property.
377 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
379 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
380 previous line (bug#15101).
381 (debugger-eval-expression, debugger-record-expression):
382 Use read--expression (bug#15102).
384 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
386 Remove byte compiler warnings, visible when compiling with
387 `byte-compile-force-lexical-warnings' set to t.
389 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
390 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
391 (tramp-handle-unhandled-file-name-directory)
392 (tramp-handle-file-notify-add-watch, tramp-action-login)
393 (tramp-action-succeed, tramp-action-permission-denied)
394 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
397 * net/tramp-adb.el (tramp-adb-parse-device-names)
398 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
399 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
400 (tramp-adb-handle-file-truename): Remove unused arguments.
402 * net/tramp-cache.el (tramp-flush-directory-property)
403 (tramp-flush-connection-property, tramp-list-connections)
404 (tramp-parse-connection-properties): Prefix unused arguments with "_".
406 * net/tramp-compat.el (tramp-compat-make-temp-file):
407 Rename FILENAME to F.
409 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
410 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
411 (tramp-zeroconf-parse-workstation-device-names)
412 (tramp-zeroconf-parse-webdav-device-names)
413 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
415 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
416 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
418 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
420 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
421 (tramp-sh-handle-insert-file-contents-literally)
422 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
424 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
425 Remove unused variables.
427 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
428 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
429 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
431 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
432 Make them a defconst.
433 (tramp-uuencode-region): Remove unused variable.
435 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
437 * frameset.el (frameset--prop-setter): New function.
438 (frameset-prop): Add gv-setter declaration.
439 (frameset-filter-minibuffer): Deal with the case that the minibuffer
440 parameter was already set in FILTERED. Doc fix.
441 (frameset--record-minibuffer-relationships): Allow saving a
442 minibufferless frame without its corresponding minibuffer frame.
443 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
444 frame, if the frame id matches.
445 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
446 frames before orphaned ones.
447 (frameset-restore): Warn about orphaned windows, instead of error out.
449 2013-08-14 Martin Rudalics <rudalics@gmx.at>
451 * window.el (window-make-atom): Don't overwrite parameter
453 (display-buffer-in-atom-window): Handle special case where we
454 split an already atomic window.
455 (window--major-non-side-window, display-buffer-in-side-window)
456 (window--side-check): Ignore minibuffer window when walking
458 (window-deletable-p): Return 'frame only if no other frame uses
459 our minibuffer window.
460 (record-window-buffer): Run buffer-list-update-hook.
461 (split-window): Make sure window--check-frame won't destroy an
462 existing atomic window in case the new window gets nested
464 (display-buffer-at-bottom): Ignore minibuffer window when
465 walking window tree. Don't split a side window.
466 (pop-to-buffer): Don't set-buffer here, the select-window call
468 (mouse-autoselect-window-select): Autoselect only if we are in the
469 text portion of the window.
471 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
473 * net/shr.el (shr-parse-image-data): New function to grab both the
474 data itself and the Content-Type.
475 (shr-put-image): Use it.
477 * net/eww.el (eww-display-image): Ditto.
479 * image.el (image-content-type-suffixes): New variable.
481 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
483 * progmodes/python.el (python-imenu--build-tree)
484 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
486 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
488 * simple.el (backward-word): Mention the optional argument.
490 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
492 * frameset.el (frameset--make): Rename constructor from make-frameset.
493 (frameset-p, frameset-valid-p): Don't autoload.
494 (frameset-valid-p): Use normal accessors.
496 2013-08-13 Glenn Morris <rgm@gnu.org>
498 * progmodes/compile.el (compile-command): Tweak example in doc.
499 * obsolete/scribe.el (scribe-mode):
500 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
502 * mail/feedmail.el (feedmail-confirm-outgoing)
503 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
505 * cus-start.el (truncate-partial-width-windows): Fix type.
507 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
509 * net/shr.el (shr-table-horizontal-line): Fix custom type.
511 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
513 * emacs-lisp/timer.el (timer--time-setter): New function.
514 (timer--time): Use it as gv-setter.
516 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
517 setter is not a symbol.
519 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
521 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
522 if sending fails. This makes debugging easier.
524 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
526 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
527 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
528 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
530 2013-08-12 Eli Zaretskii <eliz@gnu.org>
532 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
534 2013-08-12 Glenn Morris <rgm@gnu.org>
536 * format.el (format-annotate-function):
537 Handle read-only text properties in the source. (Bug#14887)
539 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
541 * net/eww.el (eww-display-html): Ignore coding system errors.
542 One web site uses "utf-8lias" as the coding system.
544 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
546 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
548 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
550 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
551 (tutorial--detailed-help): Remove unused local variables.
552 (tutorial--save-tutorial-to): Use ignore-errors.
553 (help-with-tutorial): Use looking-at-p.
555 * view.el (view-buffer-other-window, view-buffer-other-frame):
556 Mark unused arguments.
558 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
559 (woman-select-symbol-fonts, woman, woman-find-file)
560 (woman-insert-file-contents, woman-non-underline-faces):
562 (woman1-unquote): Move declaration.
564 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
565 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
566 argument. Remove unused local variable.
567 (xml-parse-elem-type): Use string-match-p.
568 (xml-substitute-numeric-entities): Use ignore-errors.
570 * calculator.el (calculator): Mark unused argument.
571 (calculator-paste, calculator-quit, calculator-integer-p):
573 (calculator-string-to-number, calculator-decimal, calculator-exp)
574 (calculator-op-or-exp): Use string-match-p.
576 * dired.el (dired-buffer-more-recently-used-p): Declare.
577 (dired-insert-set-properties, dired-insert-old-subdirs):
580 * dired-aux.el (dired-compress): Use ignore-errors.
581 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
582 (dired-do-async-shell-command, dired-do-shell-command)
583 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
584 (dired-insert-subdir-validate): Use string-match-p.
585 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
586 (dired-add-entry): Use string-match-p, looking-at-p.
587 (dired-insert-subdir-newpos): Remove unused local variable.
589 * filenotify.el (file-notify-callback): Remove unused local variable.
591 * filesets.el (filesets-error): Mark unused argument.
592 (filesets-which-command-p, filesets-filter-dir-names)
593 (filesets-directory-files, filesets-get-external-viewer)
594 (filesets-ingroup-get-data): Use string-match-p.
596 * find-file.el (ff-other-file-name, ff-other-file-name)
597 (ff-find-the-other-file, ff-cc-hh-converter):
598 Remove unused local variables.
599 (ff-get-file-name): Use string-match-p.
600 (ff-all-dirs-under): Use ignore-errors.
602 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
603 (follow-select-if-visible): Remove unused local variable.
605 * forms.el (read-file-filter): Move declaration.
606 (forms--make-format, forms--make-parser, forms-insert-record):
607 Quote function with #'.
608 (forms--update): Use string-match-p. Quote function with #'.
610 * help-mode.el (help-dir-local-var-def): Mark unused argument.
611 (help-make-xrefs): Use looking-at-p.
612 (help-xref-on-pp): Use looking-at-p, ignore-errors.
614 * ibuffer.el (ibuffer-ext-visible-p): Declare.
615 (ibuffer-confirm-operation-on): Use string-match-p.
617 * msb.el (msb-item-handler, msb-dired-item-handler):
618 Mark unused arguments.
620 * ses.el (ses-decode-cell-symbol)
621 (ses-kill-override): Remove unused local variable.
622 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
623 (ses-load): Use ignore-errors, looking-at-p.
624 (ses-jump-safe): Use ignore-errors.
625 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
627 * tabify.el (untabify, tabify): Mark unused arguments.
629 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
630 Mark unused argument.
631 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
632 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
634 * emacs-lisp/timer.el (timer--time): Define setter with
635 gv-define-setter to avoid deprecation warning.
637 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
638 (*record-cmpl-statistics-p*): Remove (was commented out).
639 (cmpl-statistics-block): Remove (body was commented out).
641 (add-completions-from-buffer, load-completions-from-file):
642 Remove unused variables.
644 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
646 * filecache.el (file-cache-delete-file-list):
647 Print message only when told so.
648 (file-cache-files-matching): Use #' in mapconcat argument.
650 * ffap.el (ffap-url-at-point): Fix reference to variable
651 thing-at-point-default-mail-uri-scheme.
653 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
655 * subr.el (define-error): New function.
656 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
657 error-file-not-found and define with define-error.
658 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
659 and define with define-error.
660 * userlock.el (file-locked, file-supersession):
661 * simple.el (mark-inactive):
662 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
663 * progmodes/ada-mode.el (ada-mode-errors):
664 * play/life.el (life-extinct):
665 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
666 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
667 * nxml/rng-util.el (rng-error):
668 * nxml/rng-uri.el (rng-uri-error):
669 * nxml/rng-match.el (rng-compile-error):
670 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
671 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
672 * nxml/nxml-rap.el (nxml-scan-error):
673 * nxml/nxml-outln.el (nxml-outline-error):
674 * net/soap-client.el (soap-error):
675 * net/gnutls.el (gnutls-error):
676 * net/ange-ftp.el (ftp-error):
677 * mpc.el (mpc-proc-error):
678 * json.el (json-error, json-readtable-error, json-unknown-keyword)
679 (json-number-format, json-string-escape, json-string-format)
680 (json-key-format, json-object-format):
681 * jka-compr.el (compression-error):
682 * international/quail.el (quail-error):
683 * international/kkc.el (kkc-error):
684 * emacs-lisp/ert.el (ert-test-failed):
685 * calc/calc.el (calc-error, inexact-result, math-overflow)
687 * bookmark.el (bookmark-error-no-filename):
688 * epg.el (epg-error): Define with define-error.
690 * time.el (display-time-event-handler)
691 (display-time-next-load-average): Don't call sit-for since it seems
692 unnecessary (bug#15045).
694 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
695 Use #' instead of ' to quote functions.
696 (checkdoc-output-mode): Use setq-local.
697 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
698 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
699 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
700 (checkdoc-ispell, checkdoc-ispell-current-buffer)
701 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
702 (checkdoc-ispell-message-text, checkdoc-ispell-start)
703 (checkdoc-ispell-continue, checkdoc-ispell-comments)
704 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
706 * ido.el (ido-completion-help): Fix up compiler warning.
708 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
710 * frameset.el (frameset-p): Add autoload cookie.
711 (frameset--jump-to-register): New function, based on code moved from
713 (frameset-to-register): Move from register.el. Adapt to `registerv'.
715 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
716 (frameset-restore, frameset-save, frameset-session-filter-alist):
718 (register-alist): Doc fix.
719 (frameset-to-register): Move to frameset.el.
720 (jump-to-register, describe-register-1): Remove frameset-specific code.
722 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
724 * allout-widgets.el (allout-widgets-pre-command-business)
725 (allout-widgets-post-command-business)
726 (allout-widgets-after-change-handler)
727 (allout-decorate-item-and-context, allout-set-boundary-marker)
728 (allout-body-modification-handler)
729 (allout-graphics-modification-handler): Mark ignored arguments.
730 (allout-widgets-post-command-business)
731 (allout-widgets-exposure-change-processor)
732 (allout-widgets-exposure-undo-processor)
733 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
734 (allout-parse-item-at-point, allout-decorate-item-guides)
735 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
736 * allout.el (epa-passphrase-callback-function): Declare.
737 (allout-overlay-insert-in-front-handler)
738 (allout-overlay-interior-modification-handler)
739 (allout-isearch-end-handler, allout-chart-siblings)
740 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
741 (allout-yank-processing, allout-process-exposed)
742 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
743 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
744 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
745 (lisp-indent-defform): Mark ignored arguments.
746 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
747 (calculate-lisp-indent): Remove unused variables.
748 * international/characters.el (indian-2-column, arabic-2-column)
749 (tibetan): Mark ignored arguments.
750 (use-cjk-char-width-table): Mark ignored arguments.
751 Remove unused variables.
752 * international/fontset.el (build-default-fontset-data)
753 (x-compose-font-name, create-fontset-from-fontset-spec):
754 Mark ignored arguments.
755 (fontset-plain-name): Remove unused variables.
756 * international/mule.el (charset-id, charset-bytes, generic-char-p)
757 (keyboard-coding-system): Mark ignored arguments.
758 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
759 * help.el (resize-temp-buffer-window):
760 * window.el (display-buffer-in-major-side-window)
761 (display-buffer-in-side-window, display-buffer-in-previous-window):
762 Remove unused variables.
763 * isearch.el (isearch-forward-symbol):
764 * version.el (emacs-bzr-version-bzr):
765 * international/mule-cmds.el (current-language-environment):
766 * term/common-win.el (x-handle-iconic, x-handle-geometry)
768 * term/pc-win.el (x-list-fonts, x-display-planes)
769 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
770 (x-server-version, x-display-screens, x-display-mm-height)
771 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
772 (x-selection-owner-p, x-own-selection-internal)
773 (x-disown-selection-internal, x-get-selection-internal)
774 (msdos-initialize-window-system):
775 * term/tty-colors.el (tty-color-alist, tty-color-clear):
776 * term/x-win.el (x-handle-no-bitmap-icon):
777 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
778 (vc-default-find-file-hook, vc-default-extra-menu):
779 Mark ignored arguments.
781 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
783 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
784 break-condition in the context of the debugged code (bug#12685).
786 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
789 Do not use an overlay to highlight the last prompt. (Bug#14744)
790 (comint-mode): Make comint-last-prompt buffer local.
791 (comint-last-prompt): New variable.
792 (comint-last-prompt-overlay): Remove. Superseded by
794 (comint-snapshot-last-prompt, comint-output-filter):
795 Use comint-last-prompt.
797 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
799 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
800 (frameset-save): Check validity of the resulting frameset.
802 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
804 * ido.el (ido-record-command): Add doc string.
806 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
808 * frameset.el (frameset): Do not disable creation of the default
809 frameset-p predicate. Doc fix.
810 (frameset-valid-p): New function, copied from the old predicate-p.
811 Add additional checks.
812 (frameset-restore): Check with frameset-valid-p.
813 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
814 (frameset-name, frameset-description, frameset-properties)
815 (frameset-states): Add docstring.
816 (frameset-session-filter-alist, frameset-persistent-filter-alist)
817 (frameset-filter-alist): Doc fixes.
819 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
821 * frameset.el (frameset-p, frameset-prop): Doc fixes.
823 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
825 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
826 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
827 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
828 (byte-compile-normal-call): Remove obsolescence check.
830 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
832 * frameset.el (frameset-restore): Doc fix.
834 * register.el (frameset-frame-id, frameset-frame-with-id)
835 (frameset-p, frameset-restore, frameset-save): Declare.
836 (register-alist): Document framesets.
837 (frameset-session-filter-alist): Declare.
838 (frameset-to-register): New function.
839 (jump-to-register): Implement jumping to framesets. Doc fix.
840 (describe-register-1): Describe framesets.
842 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
844 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
846 * desktop.el (desktop-save-frameset): Use new frameset-save args.
849 * frameset.el (frameset): Use type vector, not list (incompatible
850 change). Do not declare a new constructor, use the default one.
851 Upgrade suggested properties `app', `name' and `desc' to slots `app',
852 `name' and `description', respectively, and add read-only slot
853 `timestamp'. Doc fixes.
854 (frameset-copy, frameset-persistent-filter-alist)
855 (frameset-filter-alist, frameset-switch-to-gui-p)
856 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
857 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
858 (frameset-filter-iconified, frameset-keep-original-display-p):
860 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
861 Rename from frameset-filter-(save|restore)-param. All callers changed.
863 (frameset-p): Adapt to change to vector and be more thorough.
864 Change arg name to OBJECT. Doc fix.
865 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
866 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
868 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
870 (frameset--record-minibuffer-relationships): Rename from
871 frameset--process-minibuffer-frames. All callers changed.
872 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
873 Use new default constructor (again). Doc fix.
874 (frameset--find-frame-if): Rename from `frameset--find-frame.
876 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
877 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
879 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
880 PARAMETERS and WINDOW-STATE, respectively.
881 (frameset-restore): Add new keyword argument PREDICATE.
882 Reset frameset--target-display to nil. Doc fix.
884 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
886 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
888 (bat-mode-syntax-table): Mark \n as end-of-comment.
889 (bat-font-lock-keywords): Remove comment rule.
891 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
892 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
894 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
895 (byte-compile-callargs-warn): Use `push'.
896 (byte-compile-arglist-warn): Ignore higher-order "calls".
897 (byte-compile-file-form-autoload): Use `pcase'.
898 (byte-compile-function-form): If quoting a symbol, check that it exists.
900 2013-08-07 Eli Zaretskii <eliz@gnu.org>
902 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
903 and add a few popular commands found in batch files.
904 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
905 (dos-mode): Doc fixes.
907 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
909 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
910 (dos-mode): Use setq-local. Add space after "rem".
911 (dos-mode-syntax-table): Don't use "w" for symbol chars.
912 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
914 2013-08-07 Arni Magnusson <arnima@hafro.is>
916 * progmodes/dos.el: New file.
917 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
920 2013-08-06 Glenn Morris <rgm@gnu.org>
922 * calendar/calendar.el: Add new faces, and day-header-array.
923 (calendar-weekday-header, calendar-weekend-header)
924 (calendar-month-header): New faces.
925 (calendar-day-header-construct): New function.
926 (calendar-day-header-width): Also :set calendar-day-header-array.
927 (calendar-american-month-header, calendar-european-month-header)
928 (calendar-iso-month-header): Use calendar- faces.
929 (calendar-generate-month):
930 Use calendar-day-header-array for day headers; apply faces to them.
931 (calendar-mode): Check calendar-font-lock-keywords non-nil.
932 (calendar-abbrev-construct): Add optional maxlen argument.
933 (calendar-day-name-array): Doc fix.
934 (calendar-day-name-array, calendar-abbrev-length)
935 (calendar-day-abbrev-array):
936 Also :set calendar-day-header-array, and maybe redraw.
937 (calendar-day-header-array): New option. (Bug#15007)
938 (calendar-font-lock-keywords): Set to nil and make obsolete.
939 (calendar-day-name): Add option to use header array.
941 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
943 * net/shr.el (shr-render-td): Remove debugging.
944 (shr-render-td): Make width computation consistent by defaulting
945 all zero-width columns to 10 characters. This may not be optimal,
946 but it's at least consistent.
947 (shr-make-table-1): Redo last change to fix the real problem in
950 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
952 * files.el (cache-long-line-scans):
953 Make obsolete alias to `cache-long-scans'.
955 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
957 * frameset.el (frameset, frameset-filter-alist)
958 (frameset-filter-params, frameset-save, frameset--reuse-frame)
959 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
960 (frameset-compute-pos): Rename from frameset--compute-pos,
962 (frameset-move-onscreen): Use frameset-compute-pos.
963 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
965 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
966 Fix typos in docstrings.
968 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
970 * frame.el (get-other-frame): Tiny cleanup.
972 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
974 * vc/vc.el (vc-default-ignore-completion-table):
975 Silence byte-compiler warning.
977 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
978 slot , which can indeed be nil.
979 (frameset-live-filter-alist, frameset-persistent-filter-alist):
980 Move entry for `left' from persistent to live filter alist.
981 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
983 (frameset-filter-params): When restoring a frame, copy items added to
984 `filtered', to avoid unwittingly modifying the original parameters.
985 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
986 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
988 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
989 to use looking-at-p instead of looking-at. (Bug#15028)
991 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
993 Revert introduction of isearch-filter-predicates (bug#14714).
994 Rely on add-function instead.
995 * isearch.el (isearch-filter-predicates): Rename it back to
996 isearch-filter-predicate.
997 (isearch-message-prefix): Use advice-function-mapc and advice
998 properties to get the isearch-message-prefix.
999 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1000 instead of run-hook-with-args-until-failure.
1001 (isearch-filter-visible): Not obsolete any more.
1002 * loadup.el: Preload nadvice.
1003 * replace.el (perform-replace): Revert to funcall
1004 instead of run-hook-with-args-until-failure.
1005 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1006 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1007 dired-isearch-filenames-toggle; make it into a proper minor mode.
1008 Use add/remove-function.
1009 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1010 Call the minor-mode rather than add/remove-hook.
1011 (dired-isearch-filter-filenames):
1012 Remove isearch-message-prefix property.
1013 * info.el (Info--search-loop): New function, extracted from Info-search.
1014 Funcall isearch-filter-predicate instead of
1015 run-hook-with-args-until-failure isearch-filter-predicates.
1016 (Info-search): Use it.
1017 (Info-mode): Use isearch-filter-predicate instead of
1018 isearch-filter-predicates.
1020 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1022 Do not call to `selected-window' where it is assumed by default.
1023 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1024 `window-hscroll', `window-width', `window-height', `window-buffer',
1025 `window-frame', `window-start', `window-point', `next-window'
1026 and `window-display-table'.
1027 * abbrev.el (abbrev--default-expand):
1028 * bs.el (bs--show-with-configuration):
1029 * buff-menu.el (Buffer-menu-mouse-select):
1030 * calc/calc.el (calc):
1031 * calendar/calendar.el (calendar-generate-window):
1032 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1034 * comint.el (send-invisible, comint-dynamic-complete-filename)
1035 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1036 * completion.el (complete):
1037 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1038 * disp-table.el (describe-current-display-table):
1039 * doc-view.el (doc-view-insert-image):
1040 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1041 * ehelp.el (with-electric-help):
1042 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1043 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1044 * emacs-lisp/helper.el (Helper-help-scroller):
1045 * emulation/cua-base.el (cua--post-command-handler-1):
1046 * eshell/esh-mode.el (eshell-output-filter):
1047 * ffap.el (ffap-gnus-wrapper):
1048 * help-macro.el (make-help-screen):
1049 * hilit-chg.el (highlight-compare-buffers):
1050 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1051 * hl-line.el (global-hl-line-highlight):
1052 * icomplete.el (icomplete-simple-completing-p):
1053 * isearch.el (isearch-done):
1054 * jit-lock.el (jit-lock-stealth-fontify):
1055 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1056 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1057 * mpc.el (mpc-tagbrowser, mpc):
1058 * net/rcirc.el (rcirc-any-buffer):
1059 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1060 * play/landmark.el (landmark-max-width, landmark-max-height):
1061 * play/zone.el (zone):
1062 * progmodes/compile.el (compilation-goto-locus):
1063 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1064 * progmodes/etags.el (find-tag-other-window):
1065 * progmodes/fortran.el (fortran-column-ruler):
1066 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1067 * progmodes/verilog-mode.el (verilog-point-text):
1068 * reposition.el (reposition-window):
1069 * rot13.el (toggle-rot13-mode):
1070 * server.el (server-switch-buffer):
1071 * shell.el (shell-dynamic-complete-command)
1072 (shell-dynamic-complete-environment-variable):
1073 * simple.el (insert-buffer, set-selective-display)
1074 (delete-completion-window):
1075 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1076 (speedbar-recenter):
1077 * startup.el (fancy-splash-head):
1078 * textmodes/ispell.el (ispell-command-loop):
1079 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1080 * tutorial.el (help-with-tutorial):
1081 * vc/add-log.el (add-change-log-entry):
1082 * vc/compare-w.el (compare-windows):
1083 * vc/ediff-help.el (ediff-indent-help-message):
1084 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1085 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1086 (ediff-setup-control-frame):
1087 * vc/emerge.el (emerge-position-region):
1088 * vc/pcvs-util.el (cvs-bury-buffer):
1089 * window.el (walk-windows, mouse-autoselect-window-select):
1090 * winner.el (winner-set-conf, winner-undo): Related users changed.
1092 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1094 * frameset.el (frameset--set-id): Doc fix.
1095 (frameset-frame-id, frameset-frame-id-equal-p)
1096 (frameset-locate-frame-id): New functions.
1097 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1098 (frameset-restore): Use them.
1100 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1102 Do not call to `selected-frame' where it is assumed by default.
1103 Affected functions are `raise-frame', `redraw-frame',
1104 `frame-first-window', `frame-terminal' and `delete-frame'.
1105 * calendar/appt.el (appt-disp-window):
1106 * epg.el (epg-wait-for-completion):
1107 * follow.el (follow-delete-other-windows-and-split)
1108 (follow-avoid-tail-recenter):
1109 * international/mule.el (set-terminal-coding-system):
1110 * mail/rmail.el (rmail-mail-return):
1111 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1112 * progmodes/f90.el (f90-add-imenu-menu):
1113 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1114 * server.el (server-switch-buffer):
1115 * simple.el (delete-completion-window):
1117 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1118 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1119 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1120 * vc/ediff.el (ediff-documentation): Related users changed.
1121 * frame.el (selected-terminal): Remove the leftover.
1123 2013-08-05 Glenn Morris <rgm@gnu.org>
1125 * calendar/calendar.el (calendar-generate-month):
1126 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1127 (calendar-generate-month, calendar-font-lock-keywords):
1128 Fix for calendar-day-header-width > length of any day name.
1130 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1132 * desktop.el (desktop-clear): Use new name of sort predicate.
1134 * frameset.el (frameset): Add docstring. Move :version property to its
1136 (frameset-copy): Rename from copy-frameset.
1137 (frameset-p): Check more thoroughly.
1138 (frameset-prop): Do not check for :version, which is no longer a prop.
1139 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1140 Use new :never value instead of t.
1141 (frameset-filter-alist): Expand and clarify docstring.
1142 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1143 (frameset-filter-minibuffer, frameset-filter-save-param)
1144 (frameset-filter-restore-param, frameset-filter-iconified):
1145 Add pointer to docstring of frameset-filter-alist.
1146 (frameset-filter-params): Rename filter values to be more meaningful:
1147 :never instead of t, and reverse the meanings of :save and :restore.
1148 (frameset--process-minibuffer-frames): Clarify error message.
1149 (frameset-save): Avoid unnecessary and confusing call to framep.
1150 Use new BOA constructor for framesets.
1151 (frameset--reuse-list): Doc fix.
1152 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1153 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1154 (frameset-minibufferless-first-p): Doc fix.
1155 Rename from frameset-sort-frames-for-deletion.
1156 (frameset-restore): Doc fixes. Use new function names.
1157 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1159 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1161 * desktop.el (desktop-restore-forces-onscreen)
1162 (desktop-restore-reuses-frames): Document :keyword constant values.
1163 (desktop-filter-parameters-alist): Remove, now identical to
1164 frameset-filter-alist.
1165 (desktop--filter-tty*): Remove, moved to frameset.el.
1166 (desktop-save-frameset, desktop-restore-frameset):
1167 Do not pass :filters argument.
1169 * frameset.el (frameset-live-filter-alist)
1170 (frameset-persistent-filter-alist): New variables.
1171 (frameset-filter-alist): Use them. Add autoload cookie.
1172 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1173 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1174 `frameset--id' (it's supposed to be internal to frameset.el).
1175 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1176 (frameset--initial-params): New function.
1177 (frameset--get-frame): Use it. Doc fix.
1178 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1179 Accept :all, not 'all.
1180 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1181 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1182 with fbound symbols. Fix frame id matching, and remove matching ids if
1183 the frame being restored is deleted. Obey :delete.
1185 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * subr.el (macrop): New function.
1188 (text-clone--maintaining): New var.
1189 (text-clone--maintain): Rename from text-clone-maintain. Use it
1190 instead of inhibit-modification-hooks.
1192 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1193 a proxy, so as handle autoloads and redefinitions of the target.
1194 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1196 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1197 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1198 (pcase--mutually-exclusive-p): New function.
1199 (pcase--split-consp): Use it.
1200 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1201 mutually exclusive with the current predicate.
1203 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1204 (edebug-macrop): Remove. Use `macrop' instead.
1205 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1207 * eshell/esh-cmd.el (eshell-macrop):
1208 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1210 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1212 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1213 (advice-mapc): New function, using it.
1214 (advice-function-member-p): New function.
1215 (advice--normalize): Store the cdr in advice--saved-rewrite since
1216 that's the part that will be changed.
1217 (advice--symbol-function): New function.
1218 (advice-remove): Handle removal before the function is defined.
1219 Adjust to new advice--saved-rewrite.
1220 (advice-member-p): Use advice-function-member-p and
1221 advice--symbol-function.
1223 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1225 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1226 (frameset-filter-minibuffer): Doc fix.
1227 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1228 (frameset--set-id, frameset--process-minibuffer-frames)
1229 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1230 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1232 * desktop.el (desktop-clear): Only delete frames when called
1233 interactively and desktop-restore-frames is non-nil. Doc fix.
1234 (desktop-read): Set desktop-saved-frameset to nil.
1236 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1238 * vc/vc.el (vc-ignore): Rewrite.
1239 (vc-default-ignore-completion-table):
1241 (vc--add-line, vc--remove-regexp): New functions.
1243 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1244 (vc-svn-ignore-completion-table): New function.
1246 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1247 (vc-hg-ignore-completion-table):
1248 (vc-hg-find-ignore-file): New functions.
1250 * vc/vc-git.el (vc-git-ignore): Rewrite.
1251 (vc-git-ignore-completion-table):
1252 (vc-git-find-ignore-file): New functions.
1254 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1256 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1257 (vc-bzr-ignore-completion-table):
1258 (vc-bzr-find-ignore-file): New functions.
1260 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1262 * frameset.el (frameset-prop): New function and setter.
1263 (frameset-save): Do not modify frame list passed by the caller.
1265 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1267 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1269 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1271 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1272 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1274 * custom.el (custom-initialize-default, custom-initialize-set)
1275 (custom-initialize-reset, custom-initialize-changed): Affect the
1276 toplevel-default-value (bug#6275, bug#14586).
1277 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1280 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1282 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1283 Add cl-def* expressions.
1285 * frameset.el (frameset-filter-params): Fix order of arguments.
1287 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1289 Move code related to saving frames to frameset.el.
1290 * desktop.el: Require frameset.
1291 (desktop-restore-frames): Doc fix.
1292 (desktop-restore-reuses-frames): Rename from
1293 desktop-restoring-reuses-frames.
1294 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1295 (desktop-clear): Clear frames too.
1296 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1297 (desktop--filter-tty*, desktop-save, desktop-read):
1298 Use frameset functions.
1299 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1300 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1301 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1302 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1303 (desktop--process-minibuffer-frames, desktop-save-frames)
1304 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1305 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1306 (desktop--sort-states, desktop-restoring-frames-p)
1307 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1308 (desktop-restoring-frameset-p, desktop-restore-frameset)
1309 (desktop--check-dont-save, desktop-save-frameset): New functions.
1310 (desktop--app-id): New constant.
1311 (desktop-first-buffer, desktop-buffer-ok-count)
1312 (desktop-buffer-fail-count): Move before first use.
1313 * frameset.el: New file.
1315 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1317 * files.el: Use lexical-binding.
1318 (dir-locals-read-from-file): Remove unused `err' variable.
1319 (hack-dir-local-variables--warned-coding): New var.
1320 (hack-dir-local-variables): Use it to avoid repeated warnings.
1321 (make-backup-file-name--default-function): New function.
1322 (make-backup-file-name-function): Use it as default.
1323 (buffer-stale--default-function): New function.
1324 (buffer-stale-function): Use it as default.
1325 (revert-buffer-insert-file-contents--default-function): New function.
1326 (revert-buffer-insert-file-contents-function): Use it as default.
1327 (insert-directory): Avoid add-to-list.
1329 * autorevert.el (auto-revert-handler): Simplify.
1330 Use buffer-stale--default-function.
1332 2013-08-01 Tassilo Horn <tsdh@gnu.org>
1334 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1336 * whitespace.el (whitespace-ensure-local-variables): New function.
1337 (whitespace-cleanup-region): Call it.
1338 (whitespace-turn-on): Call it.
1340 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
1342 Complete file name handlers.
1344 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1345 (tramp-handle-verify-visited-file-modtime)
1346 (tramp-handle-file-notify-rm-watch): New functions.
1347 (tramp-call-process): Do not bind `default-directory'.
1349 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1350 Order alphabetically.
1351 [access-file, add-name-to-file, dired-call-process]:
1352 [dired-compress-file, file-acl, file-notify-rm-watch]:
1353 [file-ownership-preserved-p, file-selinux-context]:
1354 [make-directory-internal, make-symbolic-link, set-file-acl]:
1355 [set-file-selinux-context, set-visited-file-modtime]:
1356 [verify-visited-file-modtime]: Add handler.
1357 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1360 [file-notify-add-watch, file-notify-rm-watch]:
1361 [set-file-times, set-visited-file-modtime]:
1362 [verify-visited-file-modtime]: Add handler.
1363 (with-tramp-gvfs-error-message)
1364 (tramp-gvfs-handle-set-visited-file-modtime)
1365 (tramp-gvfs-fuse-file-name): Remove.
1366 (tramp-gvfs-handle-file-notify-add-watch)
1367 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1368 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1370 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1371 Order alphabetically.
1372 [file-notify-rm-watch ]: Use default Tramp handler.
1373 [executable-find]: Remove private handler.
1374 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1375 `default-directory'.
1376 (tramp-sh-handle-executable-find)
1377 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1378 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1379 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1380 Do not use `format' in `tramp-message'.
1382 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1383 [file-notify-rm-watch, set-visited-file-modtime]:
1384 [verify-visited-file-modtime]: Add handler.
1385 (tramp-smb-call-winexe): Do not bind `default-directory'.
1387 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1389 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1391 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1393 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1395 (log-view-diff-changeset): Same.
1396 (log-view-diff-common): Call backend command `previous-revision'
1397 to find out the previous revision, in both cases. Swap the
1398 variables `to' and `fr', so that `fr' usually refers to the
1399 earlier revision (Bug#14989).
1401 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
1403 * ibuf-ext.el (ibuffer-filter-by-filename):
1404 Make it work with dired buffers too.
1406 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
1408 * emacs-lisp/re-builder.el (reb-color-display-p):
1409 * files.el (save-buffers-kill-terminal):
1410 * net/browse-url.el (browse-url):
1411 * server.el (server-save-buffers-kill-terminal):
1412 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1413 Prefer nil to selected-frame for the first arg of frame-parameter.
1415 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1417 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1419 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
1421 * minibuffer.el (completion--twq-all): Try and preserve each
1422 completion's case choice (bug#14907).
1424 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1426 * net/network-stream.el (open-network-stream): Mention the new
1427 :nogreeting parameter.
1428 (network-stream-open-starttls): Use the :nogreeting parameter
1431 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1433 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1434 more natural than popping.
1436 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
1437 (shr-urlify): Highlight under mouse.
1439 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1441 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1443 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1445 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1448 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1449 point-min==1. Fix search string. Fix parentheses missing.
1451 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
1452 assume point-min==1. Fix search string. Fix parentheses missing.
1454 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1456 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1459 2013-07-29 Eli Zaretskii <eliz@gnu.org>
1461 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1462 initial frame is minibuffer-less. (Bug#14841)
1464 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
1466 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1469 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1470 (tramp-maybe-open-connection): Use it.
1472 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1474 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1475 minimal set of parameters passed when creating a frame, because
1476 the minibuffer status of a frame cannot be changed later.
1478 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
1480 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1481 replace-regexp-in-string and inadvertent omissions in previous change.
1482 (todo-filter-items): Ensure only file names are comma-separated in
1483 name of filtered items buffer.
1485 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1487 * desktop.el: Optionally force offscreen frames back onscreen.
1488 (desktop-restoring-reuses-frames): New option.
1489 (desktop--compute-pos, desktop--move-onscreen): New functions.
1490 (desktop--make-frame): Use desktop--move-onscreen.
1492 2013-07-27 Alan Mackenzie <acm@muc.de>
1494 Fontify a Java generic method as a function.
1495 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1498 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
1500 * calendar/todo-mode.el: Add command to rename todo files.
1501 (todo-rename-file): New command.
1502 (todo-key-bindings-t): Add key binding for it. Change the
1503 bindings of todo-filter-regexp-items(-multifile) to use `x'
1504 instead of `r', since the latter is better suited to the new
1507 2013-07-27 Alan Mackenzie <acm@muc.de>
1509 Make Java try-with-resources statement parse properly.
1510 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1511 (c-block-stmt-1-2-key): New language constants/variables.
1512 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1513 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1514 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
1515 with c-block-stmt-1-2-key.
1517 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
1519 * desktop.el (desktop--make-frame): Apply most frame parameters after
1520 creating the frame to force (partially or totally) offscreen frames to
1521 be restored as such.
1523 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1525 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
1528 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1530 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1531 `base' arg of backtrace-frame.
1533 2013-07-26 Eli Zaretskii <eliz@gnu.org>
1535 * simple.el (list-processes): Doc fix.
1537 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1539 * desktop.el (desktop--select-frame):
1540 Try harder to reuse existing frames.
1542 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1544 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1545 (edebug-eval): Use backtrace-eval.
1546 (edebug--display, edebug--recursive-edit): Don't let-bind the
1547 edebug-outer-* vars that keep track of variables we locally let-bind.
1548 (edebug-outside-excursion): Don't restore outside values of locally
1550 (edebug--display): Use user-error.
1551 (cl-lexical-debug, cl-debug-env): Remove.
1553 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1555 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1556 are restored to be sure that they are visible before deleting any
1559 2013-07-26 Matthias Meulien <orontee@gmail.com>
1561 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1562 vc-print-root-log. (Bug#14948)
1564 2013-07-26 Richard Stallman <rms@gnu.org>
1566 Add aliases for encrypting mail.
1567 * epa.el (epa-mail-aliases): New option.
1568 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1569 Bind inhibit-read-only so read-only text doesn't ruin everything.
1570 (epa-mail-default-recipients): New subroutine broken out.
1571 Handle epa-mail-aliases.
1573 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1575 Add support for lexical variables to the debugger's `e' command.
1576 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1577 vars, except for debugger-outer-match-data.
1578 (debugger-frame-number): Move check for "on a function call" from
1579 callers into it. Add `skip-base' argument.
1580 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1581 (debugger-env-macro): Only reset the state stored in non-variables,
1582 i.e. current-buffer and match-data.
1583 (debugger-eval-expression): Rewrite using backtrace-eval.
1584 * subr.el (internal--called-interactively-p--get-frame): Remove.
1585 (called-interactively-p):
1586 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1587 `base' arg of backtrace-frame instead.
1589 2013-07-26 Glenn Morris <rgm@gnu.org>
1591 * align.el (align-regexp): Doc fix. (Bug#14857)
1592 (align-region): Explicit error if subexpression missing/does not match.
1594 * simple.el (global-visual-line-mode):
1595 Do not duplicate the mode lighter. (Bug#14858)
1597 2013-07-25 Martin Rudalics <rudalics@gmx.at>
1599 * window.el (display-buffer): In display-buffer bind
1600 split-window-keep-point to t, bug#14829.
1602 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1604 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1605 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1606 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1607 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1609 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1610 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
1612 2013-07-25 Glenn Morris <rgm@gnu.org>
1614 * dired-x.el (dired-mark-extension): Convert comment to doc string.
1616 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1618 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1619 parameter to modify-frame-parameters if the value has not changed;
1620 this is a workaround for bug#14949.
1621 (desktop--make-frame): On cl-delete-if call, check parameter name,
1624 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1626 * vc/vc.el (vc-ignore): New function.
1628 * vc/vc-svn.el (vc-svn-ignore): New function.
1630 * vc/vc-hg.el (vc-hg-ignore): New function.
1632 * vc/vc-git.el (vc-git-ignore): New function.
1634 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1635 (vc-dir-ignore): New function.
1637 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1638 (cvs-append-to-ignore): Move here from pcvs.el.
1640 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1642 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1644 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1646 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1647 (desktop-restore-frames): Warn when deleting an existing frame failed.
1649 2013-07-24 Glenn Morris <rgm@gnu.org>
1651 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1653 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1655 * filenotify.el (file-notify-supported-p):
1656 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1659 * autorevert.el (auto-revert-use-notify):
1660 (auto-revert-notify-add-watch):
1661 * net/tramp.el (tramp-file-name-for-operation):
1662 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1663 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1664 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1665 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1666 Remove `file-notify-supported-p' entry.
1668 2013-07-24 Glenn Morris <rgm@gnu.org>
1670 * printing.el: Replace all uses of deleted ps-windows-system,
1671 ps-lp-system, ps-flatten-list with lpr- versions.
1673 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1676 checked with memq (bug#14935).
1678 * files.el (revert-buffer-function): Use a non-nil default.
1679 (revert-buffer-preserve-modes): Declare var to
1680 provide access to the `preserve-modes' argument.
1681 (revert-buffer): Let-bind it.
1682 (revert-buffer--default): New function, extracted from revert-buffer.
1684 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * lpr.el: Signal print errors more prominently.
1687 (print-region-function): Don't default to nil.
1688 (lpr-print-region): New function, extracted from print-region-1.
1689 Check lpr's return value and signal an error in case of problem.
1690 (print-region-1): Use it.
1691 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1693 (ps-printer-name): Default to nil.
1694 (ps-printer-name-option): Default to lpr-printer-switch.
1695 (ps-print-region-function): Don't default to nil.
1696 (ps-postscript-code-directory): Simplify default.
1697 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1698 (ps-string-list, ps-eval-switch, ps-flatten-list)
1699 (ps-flatten-list-1): Remove.
1700 (ps-multibyte-buffer): Avoid setq.
1701 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1702 (print-region-function, ps-print-region-function): Don't set them here.
1704 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1706 * ido.el (ido-fractionp):
1707 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1708 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1709 (ido-max-directory-size, ido-max-dir-file-cache)
1710 (ido-decorations): Doc fix.
1712 * ansi-color.el: Fix old URL.
1714 2013-07-23 Michael R. Mauger <michael@mauger.com>
1716 * progmodes/sql.el Version 3.3
1717 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1718 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1719 (sql-interactive-remove-continuation-prompt): Rewrite, use
1720 functions above. Fix continuation prompt and complete output line
1722 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1723 redirected output buffer.
1724 (sql-mode): Restore deleted code (Bug#13591).
1726 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1728 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1730 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1732 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1735 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1736 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1738 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1740 * desktop.el (desktop-clear): Simplify; remove useless checks
1741 against invalid buffer names.
1742 (desktop-list*): Use cl-list*.
1743 (desktop-buffer-info, desktop-create-buffer): Simplify.
1745 2013-07-23 Leo Liu <sdl.web@gmail.com>
1747 * bookmark.el (bookmark-make-record): Restore NAME as a default
1750 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1753 extracted from autoload--insert-text.
1754 (autoload--insert-text): Remove.
1755 (autoload--print-cookie-text): New function, extracted from
1756 autoload--insert-cookie-text.
1757 (autoload--insert-cookie-text): Remove.
1758 (autoload-generate-file-autoloads): Adjust calls accordingly.
1760 * winner.el (winner-hook-installed-p): Remove.
1761 (winner-mode): Simplify accordingly.
1763 * subr.el (add-to-list): Fix compiler-macro when `append' is
1764 not constant. Don't use `cl-member' for the base case.
1766 * progmodes/subword.el: Fix boundary case (bug#13758).
1767 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1769 (subword-backward-regexp): Make it a constant.
1770 (subword-forward-internal): Don't treat a trailing capital as the
1771 beginning of a word.
1773 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1775 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1776 global value of tabulated-list-revert-hook (bug#14930).
1778 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1780 * desktop.el: Require 'cl-lib.
1781 (desktop-before-saving-frames-functions): New hook.
1782 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1783 for frames being saved. Rename from desktop--save-minibuffer-frames.
1784 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1785 Do not save frames with non-nil `desktop-dont-save' parameter.
1786 Filter out deleted frames.
1787 (desktop--find-frame): Use cl-find-if.
1788 (desktop--select-frame): Use cl-(first|second|third) to access values
1790 (desktop--make-frame): Use cl-delete-if.
1791 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1792 (desktop-restore-frames): Use cl-(first|second|third) to access values
1793 of desktop-mini. Look for visible frame at the end, not while
1796 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1797 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1798 Use string-match-p, looking-at-p (bug#14927).
1800 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1802 * desktop.el (desktop-saved-frame-states):
1803 Rename from desktop--saved-states; all users changed.
1804 (desktop-save-frames): Rename from desktop--save-frames.
1805 Do not save state to desktop file.
1806 (desktop-save): Save desktop-saved-frame-states to desktop file
1808 (desktop-restoring-frames-p): New function.
1809 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1810 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1811 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1813 * desktop.el: Correctly restore iconified frames.
1814 (desktop--filter-iconified-position): New function.
1815 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1817 2013-07-20 Glenn Morris <rgm@gnu.org>
1819 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1820 Let `message' do the formatting.
1821 (def-gdb-preempt-display-buffer): Add explicit format.
1823 * image-dired.el (image-dired-track-original-file):
1824 Use with-current-buffer.
1825 (image-dired-track-thumbnail): Use with-current-buffer.
1826 Avoid changing point of wrong window.
1828 * image-dired.el (image-dired-track-original-file):
1829 Avoid changing point of wrong window. (Bug#14909)
1831 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1833 * progmodes/gdb-mi.el (gdb-done-or-error):
1834 Guard against "%" in gdb output. (Bug#14127)
1836 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1838 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1841 * international/mule.el (coding-system-iso-2022-flags): Fix last
1844 2013-07-20 Kenichi Handa <handa@gnu.org>
1846 * international/mule.el (coding-system-iso-2022-flags):
1847 Add `8-bit-level-4'. (Bug#8522)
1849 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1851 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1854 * net/eww.el (eww-process-text-input): Allow inputting when the
1855 point is at the start of the line, as the properties aren't
1858 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1861 2013-07-19 Richard Stallman <rms@gnu.org>
1863 * epa.el (epa-popup-info-window): Doc fix.
1865 * subr.el (split-string): New arg TRIM.
1867 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1869 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1870 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1872 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1874 * filenotify.el (file-notify--library): Rename from
1875 `file-notify-support'. Do not autoload. Adapt all uses.
1876 (file-notify-supported-p): New defun.
1878 * autorevert.el (auto-revert-use-notify):
1879 Use `file-notify-supported-p' instead of `file-notify-support'.
1881 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1883 * net/tramp.el (tramp-file-name-for-operation):
1884 Add `file-notify-supported-p'.
1886 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1888 (tramp-sh-file-name-handler-alist): Add it as handler for
1889 `file-notify-supported-p '.
1891 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1893 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1894 Add `ignore' as handler for `file-notify-*' functions.
1896 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1898 * simple.el (line-move-partial, line-move): Don't start vscroll or
1899 scroll-up if the current line is not taller than the window.
1902 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1905 highlight question marks in the method names as strings.
1906 (ruby-block-beg-keywords): Inline.
1907 (ruby-font-lock-keyword-beg-re): Extract from
1908 `ruby-font-lock-keywords'.
1910 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1912 * frame.el (blink-cursor-blinks): New defcustom.
1913 (blink-cursor-blinks-done): New defvar.
1914 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1915 (blink-cursor-timer-function): Check if number of blinks has been
1917 (blink-cursor-suspend, blink-cursor-check): New defuns.
1919 2013-07-15 Glenn Morris <rgm@gnu.org>
1921 * edmacro.el (edmacro-format-keys): Fix previous change.
1923 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1925 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1926 The hack didn't work outside English locales anyway.
1928 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1930 * simple.el (define-alternatives): Rename from alternatives-define,
1931 per RMS' suggestion.
1933 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1935 * desktop.el (desktop-restore-frames): Change default to t.
1936 (desktop-restore-in-current-display): Now offer more options.
1937 (desktop-restoring-reuses-frames): New customization option.
1938 (desktop--saved-states): Doc fix.
1939 (desktop-filter-parameters-alist): New variable, renamed and expanded
1940 from desktop--excluded-frame-parameters.
1941 (desktop--target-display): New variable.
1942 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1943 (desktop--filter-tty*, desktop--filter-*-color)
1944 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1945 (desktop--filter-save-desktop-parm)
1946 (desktop-restore-in-original-display-p): New functions.
1947 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1948 (desktop--save-minibuffer-frames): New function, inspired by a similar
1949 function from Martin Rudalics.
1950 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1951 (desktop--restore-in-this-display-p): Remove.
1952 (desktop--find-frame): Rename from desktop--find-frame-in-display
1953 and add predicate argument.
1954 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1955 (desktop--reuse-list): New variable.
1956 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1958 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1960 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1962 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1964 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1966 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1967 Highlight conversion methods on Kernel.
1969 2013-07-13 Alan Mackenzie <acm@muc.de>
1971 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1972 and comment it out. This out-commenting enables certain C++
1973 declarations to be parsed correctly.
1975 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1977 * international/mule.el (define-coding-system): Doc fix.
1979 * simple.el (default-font-height): Don't call font-info if the
1980 frame's default font didn't change since the frame was created.
1983 2013-07-13 Leo Liu <sdl.web@gmail.com>
1985 * ido.el (ido-read-file-name): Guard against non-symbol value.
1987 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1989 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1992 2013-07-13 Leo Liu <sdl.web@gmail.com>
1994 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1995 ido-set-matches call. (Bug#6852)
1997 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1999 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2000 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2002 (ruby-font-lock-keywords): Distinguish calls to functions with
2003 module-like names from module references. Highlight character
2006 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2008 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2009 (gdb-send): Handle continued commands. (Bug#14847)
2011 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2013 * desktop.el (desktop--v2s): Remove unused local variable.
2014 (desktop-save-buffer): Make defvar-local; adjust docstring.
2015 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2016 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2018 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2020 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2022 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2024 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2027 2013-07-12 Glenn Morris <rgm@gnu.org>
2029 * doc-view.el: Require cl-lib at runtime too.
2030 (doc-view-remove-if): Remove.
2031 (doc-view-search-next-match, doc-view-search-previous-match):
2034 * edmacro.el: Require cl-lib at runtime too.
2035 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2036 (edmacro-mismatch, edmacro-subseq): Remove.
2038 * shadowfile.el: Require cl-lib.
2039 (shadow-remove-if): Remove.
2040 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2043 * wid-edit.el: Require cl-lib.
2044 (widget-choose): Use cl-remove-if.
2045 (widget-remove-if): Remove.
2047 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2048 (ebrowse-delete-if-not): Remove.
2049 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2050 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2051 Use cl-delete-if-not.
2053 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2055 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2056 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2058 2013-07-12 Leo Liu <sdl.web@gmail.com>
2060 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2062 2013-07-11 Glenn Morris <rgm@gnu.org>
2064 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2065 (edebug-gensym-index, edebug-gensym):
2066 Remove reimplementation of cl-gensym.
2067 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2069 * thumbs.el: Require cl-lib at run-time too.
2070 (thumbs-gensym-counter, thumbs-gensym):
2071 Remove reimplementation of cl-gensym.
2072 (thumbs-temp-file): Use cl-gensym.
2074 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2075 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2076 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2077 (ert--union, ert--gensym-counter, ert--gensym-counter)
2078 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2079 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2080 (ert-make-test-unbound, ert--expand-should-1)
2081 (ert--expand-should, ert--should-error-handle-error)
2082 (should-error, ert--explain-equal-rec)
2083 (ert--plist-difference-explanation, ert-select-tests)
2084 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2085 Use cl-lib functions rather than reimplementations.
2087 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2089 * net/tramp.el (tramp-methods): Extend docstring.
2090 (tramp-connection-timeout): New defcustom.
2091 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2092 (with-tramp-progress-reporter): Simplify.
2093 (tramp-process-actions): Improve messages.
2095 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2096 * net/tramp-sh.el (tramp-maybe-open-connection):
2097 Use `tramp-connection-timeout'.
2098 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2101 2013-07-11 Leo Liu <sdl.web@gmail.com>
2103 * ido.el (ido-read-file-name): Conform to the requirements of
2104 read-file-name. (Bug#11861)
2105 (ido-read-directory-name): Conform to the requirements of
2106 read-directory-name.
2108 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2110 * subr.el (delay-warning): New function.
2112 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2114 * simple.el (default-line-height): New function.
2115 (line-move-partial, line-move): Use it instead of computing the
2117 (line-move-partial): Always compute ROWH. If the last line is
2118 partially-visible, but its text is completely visible, allow
2119 cursor to enter such a partially-visible line.
2121 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2123 Improve error messages. (Bug#14808)
2125 * net/tramp.el (tramp-current-connection): New defvar, moved from
2127 (tramp-message-show-progress-reporter-message): Remove, not
2129 (tramp-error-with-buffer): Show message in minibuffer.
2130 Discard input before waiting. Reset connection timestamp.
2131 (with-tramp-progress-reporter): Improve messages.
2132 (tramp-process-actions): Use progress reporter. Delete process in
2133 case of error. Improve messages.
2135 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2136 Call `tramp-error-with-buffer' with vector and buffer.
2137 (tramp-current-connection): Remove.
2138 (tramp-maybe-open-connection): The car of
2139 `tramp-current-connection' are the first 3 slots of the vector.
2141 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2143 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2144 inside continued strings.
2146 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2148 Timestamp fixes for undo (Bug#14824).
2149 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2151 2013-07-10 Leo Liu <sdl.web@gmail.com>
2153 * files.el (require-final-newline): Allow safe local value.
2156 2013-07-09 Leo Liu <sdl.web@gmail.com>
2158 * ido.el (ido-read-directory-name): Handle fallback.
2159 (ido-read-file-name): Update DIR to ido-current-directory.
2161 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2163 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2165 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2166 "autoload". Remove "warn lower camel case" section, previously
2167 commented out. Highlight negation char. Do not highlight the
2168 target in singleton method definitions.
2170 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * faces.el (tty-setup-hook): Declare the hook.
2174 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2175 and detect when a guard/pred depends on local vars (bug#14773).
2176 (pcase--u1): Adjust caller.
2178 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2180 * simple.el (line-move-partial, line-move): Account for
2182 (line-move-partial): Avoid setting vscroll when the last
2183 partially-visible line in window is of default height.
2185 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2187 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2190 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2192 * subr.el (read-quoted-char): Remove unused local variable `char'.
2194 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2196 * ediff.el (ediff-version): Version update.
2197 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2198 (ediff-merge-with-ancestor-command, ediff-directories-command)
2199 (ediff-directories3-command, ediff-merge-directories-command)
2200 (ediff-merge-directories-with-ancestor-command): New functions.
2201 All are command-line interfaces to ediff: to facilitate calling
2202 Emacs with the appropriate ediff functions invoked.
2204 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2205 (viper-save-kill-buffer): Check if buffer is modified.
2207 * viper.el (viper-version): Version update.
2208 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2210 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2212 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2213 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2214 (viper-intercept-ESC-key): Simplify.
2215 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2216 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2217 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2218 (viper-setup-ESC-to-escape): New functions.
2219 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2220 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2222 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2224 * simple.el (default-font-height, window-screen-lines):
2226 (line-move, line-move-partial): Use them instead of
2227 frame-char-height and window-text-height. This makes scrolling
2228 text smoother when the buffer's default face uses a font that is
2229 different from the frame's default font.
2231 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2233 * files.el (write-file): Do not display confirm dialog for NS,
2234 it does its own dialog, which can't be cancelled (Bug#14578).
2236 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2238 * simple.el (line-move-partial): Adjust the row returned by
2239 posn-at-point for the current window-vscroll. (Bug#14567)
2241 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2243 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2244 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2247 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2249 * window.el (window-state-put-stale-windows): New variable.
2250 (window--state-put-2): Save list of windows without matching buffer.
2251 (window-state-put): Remove "bufferless" windows if possible.
2253 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2255 * simple.el (alternatives-define): Remove leftover :group keyword.
2258 2013-07-06 Leo Liu <sdl.web@gmail.com>
2260 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2261 (ido-enable-virtual-buffers): New variable.
2262 (ido-buffer-internal, ido-toggle-virtual-buffers)
2263 (ido-make-buffer-list): Use it.
2264 (ido-exhibit): Support turning on and off virtual buffers
2267 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2269 * simple.el (alternatives-define): New macro.
2271 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2273 * subr.el (read-quoted-char): Use read-key.
2274 (sit-for): Let read-event decode tty input (bug#14782).
2276 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
2278 * calendar/todo-mode.el: Add handling of file deletion, both by
2279 mode command and externally. Fix various related bugs.
2280 Clarify Commentary and improve some documentation strings and code.
2281 (todo-delete-file): New command.
2282 (todo-check-file): New function.
2283 (todo-show): Handle external deletion of the file we're trying to
2284 show (bug#14688). Replace called-interactively-p by an optional
2285 prefix argument to avoid problematic interaction with catch form
2286 when byte compiled (bug#14702).
2287 (todo-quit): Handle external deletion of the archive's todo file.
2288 Make sure the buffer that was visiting the archive file is still
2289 live before trying to bury it.
2290 (todo-category-completions): Handle external deletion of any
2291 category completion files.
2292 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2293 of todo files, in case of external deletion.
2294 (todo-add-file): Replace unnecessary setq by let-binding.
2295 (todo-find-archive): Check whether there are any archives.
2296 Replace unnecessary setq by let-binding.
2297 (todo-archive-done-item): Use find-file-noselect to get the
2298 archive buffer whether or not the archive already exists.
2299 Remove superfluous code. Use file size instead of buffer-file-name to
2300 check if the archive is new; if it is, update list of archives.
2301 (todo-default-todo-file): Allow nil to be a valid value for when
2302 there are no todo files.
2303 (todo-reevaluate-default-file-defcustom): Use corrected definition
2304 of todo-default-todo-file.
2305 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2306 (todo-delete-category, todo-show-categories-table)
2307 (todo-category-number): Clarify comment.
2308 (todo-filter-items): Clarify documentation string.
2309 (todo-show-current-file, todo-display-as-todo-file)
2310 (todo-reset-and-enable-done-separator): Tweak documentation string.
2311 (todo-done-separator): Make separator length window-width, since
2312 bug#2749 is now fixed.
2314 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
2316 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2317 Support both "gvfs-monitor-dir" and "inotifywait".
2318 (tramp-sh-file-inotifywait-process-filter): Rename from
2319 `tramp-sh-file-notify-process-filter'.
2320 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2321 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2323 2013-07-05 Leo Liu <sdl.web@gmail.com>
2325 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2327 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2329 * frame.el (display-pixel-height, display-pixel-width)
2330 (display-mm-height, display-mm-width): Mention behavior on
2331 multi-monitor setups in docstrings.
2332 (w32-display-monitor-attributes-list): Declare function.
2333 (display-monitor-attributes-list): Use it.
2335 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
2337 * filenotify.el: New package.
2339 * autorevert.el (top): Require filenotify.el.
2340 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2342 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2343 (auto-revert-notify-handler): Use `file-notify-*' functions.
2345 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2347 * net/tramp.el (tramp-file-name-for-operation):
2348 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
2350 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2351 for `file-notify-add-watch' and `file-notify-rm-watch'.
2352 (tramp-process-sentinel): Improve trace.
2353 (tramp-sh-handle-file-notify-add-watch)
2354 (tramp-sh-file-notify-process-filter)
2355 (tramp-sh-handle-file-notify-rm-watch)
2356 (tramp-get-remote-inotifywait): New defuns.
2358 2013-07-03 Juri Linkov <juri@jurta.org>
2360 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2361 call of `occur-read-primary-args' to interactive spec.
2363 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2364 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2366 2013-07-03 Matthias Meulien <orontee@gmail.com>
2368 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2369 `Buffer-menu-multi-occur'. Add it to the menu.
2370 (Buffer-menu-mode): Document it in docstring.
2371 (Buffer-menu-multi-occur): New command. (Bug#14673)
2373 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2375 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2376 keywords and built-ins.
2378 2013-07-03 Glenn Morris <rgm@gnu.org>
2380 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2382 Make info-xref checks case-sensitive by default
2383 * info.el (Info-find-node, Info-find-in-tag-table)
2384 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2385 Add option for exact case matching of nodes.
2386 * info-xref.el (info-xref): New custom group.
2387 (info-xref-case-fold): New option.
2388 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2390 2013-07-03 Leo Liu <sdl.web@gmail.com>
2392 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2394 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2396 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2397 middle of block statement initially, lower the depth. Remove
2398 FIXME comment, not longer valid. Remove middle of block statement
2399 detection, no need to do that anymore since we've been using
2400 `ruby-parse-region' here.
2402 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2404 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2406 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
2408 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2410 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
2412 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2413 (desktop-restore-in-current-display): New customization option.
2414 (desktop--excluded-frame-parameters): Add `font'.
2415 (desktop--save-frames): Rename from desktop--save-windows.
2416 (desktop--restore-in-this-display-p): New function.
2417 (desktop--make-full-frame): Remove unwanted width/height from
2418 full(width|height) frames.
2419 (desktop--restore-frames): Rename from desktop--restore-windows.
2420 Obey desktop-restore-current-display. Do not delete old frames or
2421 select a new frame unless we were able to restore at least one frame.
2423 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
2425 * files.el (find-file-noselect): Simplify conditional expression.
2427 * remember.el (remember-append-to-file):
2428 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2430 Add `remember-notes' function to store random notes across Emacs
2432 * remember.el (remember-data-file): Add :set callback to affect
2433 notes buffer (if any).
2434 (remember-notes): New command.
2435 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2436 New defcustoms for the `remember-notes' function.
2437 (remember-notes-save-and-bury-buffer): New command.
2438 (remember-notes-mode-map): New variable.
2439 (remember-mode): New minor mode.
2440 (remember-notes--kill-buffer-query): New function.
2441 * startup.el (initial-buffer-choice): Add notes to custom type.
2443 2013-06-30 Eli Zaretskii <eliz@gnu.org>
2445 * bindings.el (right-char, left-char): Don't call sit-for, this is
2446 no longer needed. Use arithmetic comparison only for numerical
2449 * international/mule-cmds.el (select-safe-coding-system):
2450 Handle the case of FROM being a string correctly. (Bug#14755)
2452 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2454 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2455 progression on degenerate tables.
2456 (shr-rescale-image): ImageMagick animated images currently don't work.
2458 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
2460 Some fixes and improvements for desktop frame restoration.
2461 It is still experimental and disabled by default.
2462 * desktop.el (desktop--save-windows): Put the selected frame at
2463 the head of the list.
2464 (desktop--make-full-frame): New function.
2465 (desktop--restore-windows): Try to re-select the frame that was
2466 selected upon saving. Do not abort if some frames fail to restore,
2467 just show an error message and continue. Set up maximized frames
2468 so they have default non-maximized dimensions.
2470 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2472 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2473 Don't start heredoc inside a string or comment.
2475 2013-06-29 Eli Zaretskii <eliz@gnu.org>
2477 * bindings.el (visual-order-cursor-movement): New defcustom.
2478 (right-char, left-char): Provide visual-order cursor motion by
2479 calling move-point-visually. Update the doc strings.
2481 2013-06-28 Kenichi Handa <handa@gnu.org>
2483 * international/mule.el (define-coding-system): New coding system
2484 properties :inhibit-null-byte-detection,
2485 :inhibit-iso-escape-detection, and :prefer-utf-8.
2486 (set-buffer-file-coding-system): If :charset-list property of
2487 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2488 appropriate for setting.
2490 * international/mule-cmds.el (select-safe-coding-system):
2491 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2492 multibyte characters, return utf-8 (or one of its siblings).
2494 * international/mule-conf.el (prefer-utf-8): New coding system.
2495 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2498 2013-06-28 Ivan Kanis <ivan@kanis.fr>
2500 * net/shr.el (shr-render-region): New function.
2502 * net/eww.el: Autoload `eww-browse-url'.
2504 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2506 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2507 Adapt to `package-desc-version' being a list.
2508 Use `package--ac-desc-version' to retrieve version from a package
2511 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2513 New experimental feature to save&restore window and frame setup.
2514 * desktop.el (desktop-save-windows): New defcustom.
2515 (desktop--saved-states): New var.
2516 (desktop--excluded-frame-parameters): New defconst.
2517 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2518 (desktop--restore-windows, desktop--save-windows): New functions.
2519 (desktop-save): Call `desktop--save-windows'.
2520 (desktop-read): Call `desktop--restore-windows'.
2522 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2524 * net/shr.el (add-face-text-property): Remove compat definition.
2526 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2528 * info.el (Info-try-follow-nearest-node): Move search for footnote
2529 above search for node name to prevent missing a footnote (bug#14717).
2531 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2533 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2535 2013-06-27 Leo Liu <sdl.web@gmail.com>
2537 * net/eww.el (eww-read-bookmarks): Check file size.
2539 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2542 advice--pending if newdef is nil or an autoload (bug#13820).
2543 (advice-mapc): New function.
2545 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2547 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2549 (eww-mode-map): Add a menu bar.
2550 (eww-add-bookmark): New command.
2551 (eww-bookmark-mode): New mode and commands.
2552 (eww-add-bookmark): Remove newlines from the title.
2553 (eww-bookmark-browse): Don't bug out if it's the only window.
2555 2013-06-26 Glenn Morris <rgm@gnu.org>
2557 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2558 (hfy-size): Handle ttys. (Bug#14668)
2560 * info-xref.el: Update for Texinfo 5 change in *note format.
2561 (info-xref-node-re, info-xref-note-re): New constants.
2562 (info-xref-check-buffer): Use info-xref-note-re.
2564 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2568 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2569 nil terminate the loop (bug#14718).
2571 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2573 * net/eww.el: Rework history traversal. When going forward/back,
2574 put these actions into the history, too, so that they can be
2576 (eww-render): Move the history reset to the correct buffer.
2578 2013-06-25 Juri Linkov <juri@jurta.org>
2580 * files-x.el (modify-dir-local-variable): Change the header comment
2581 in the file with directory local variables. (Bug#14692)
2583 * files-x.el (read-file-local-variable-value): Add `default'.
2586 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2588 * net/eww.el (eww-make-unique-file-name): Create a unique file
2589 name before saving to entering `y' accidentally asynchronously.
2591 2013-06-25 Ivan Kanis <ivan@kanis.fr>
2593 * net/eww.el (eww-download): New command and keystroke.
2595 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2597 * net/eww.el (eww-copy-page-url): Change name of command.
2599 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2600 be more consistent with Info and dired.
2602 * net/eww.el (eww-mode-map): Ditto.
2604 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2607 packages from archives.
2608 (package-archive-contents): Change format; include obsolete packages.
2609 (package-desc): Use `dir' to mark builtin packages.
2610 (package--from-builtin): Set the `dir' field to `builtin'.
2611 (generated-autoload-file, version-control): Declare.
2612 (package-compute-transaction): Change first arg and return value to be
2613 lists of package-descs. Adjust to new package-archive-contents format.
2614 (package--add-to-archive-contents): Adjust to new
2615 package-archive-contents format.
2616 (package-download-transaction): Arg is now a list of package-descs.
2617 (package-install): If `pkg' is a package name, pass it as
2618 a requirement, so it is subject to the usual (e.g. disabled) checks.
2619 (describe-package): Accept package-desc as well.
2620 (describe-package-1): Describe a specific package-desc. Add links to
2621 other package-descs for the same package name.
2622 (package-menu-describe-package): Pass the actual package-desc.
2623 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2625 (package-desc-status): New function.
2626 (package-menu--refresh): New function, extracted
2627 from package-menu--generate.
2628 (package-menu--generate): Use it.
2629 (package-delete): Update package-alist.
2630 (package-menu-execute): Don't call package-initialize.
2632 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2633 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2634 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2635 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2636 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2637 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2639 2013-06-25 Martin Rudalics <rudalics@gmx.at>
2641 * window.el (window--state-get-1): Workaround for bug#14527.
2642 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2644 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2646 * net/eww.el (eww-back-url): Implement the history by stashing all
2647 the data into a list.
2648 (eww-forward-url): Allow going forward in the history, too.
2650 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2653 for values and use read--expression for expressions (bug#14710).
2654 (read-file-local-variable): Avoid setq.
2655 (read-file-local-variable-mode): Use minor-mode-list.
2657 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2659 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2662 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2664 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2665 Update imenu-support when dialect changes.
2667 2013-06-25 Leo Liu <sdl.web@gmail.com>
2669 * ido.el (ido-read-internal): Allow forward slash on windows.
2671 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2673 * net/eww.el (eww): Start of strings is \\`, not ^.
2675 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2677 * net/shr.el (shr-browse-url): Fix interactive spec.
2679 * net/eww.el (eww): Add a trailing slash to domain names.
2681 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2683 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2685 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2687 * net/shr.el (shr-browse-url): Use an external browser if given a
2690 * net/eww.el (eww-external-browser): Move to shr.
2692 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2694 * net/eww.el (eww): Work more correctly for file: URLs.
2695 (eww-detect-charset): Allow quoted charsets.
2696 (eww-yank-page-url): New command and keystroke.
2698 2013-06-24 Daiki Ueno <ueno@gnu.org>
2700 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2701 file name of gpg executable.
2702 (epg-context-program): New function.
2703 (epg-context-home-directory): New function.
2704 (epg-context-set-program): New function.
2705 (epg-context-set-home-directory): New function.
2706 (epg--start): Use `epg-context-program' instead of
2708 (epg--list-keys-1): Likewise.
2710 2013-06-24 Leo Liu <sdl.web@gmail.com>
2712 * ido.el (ido-read-internal): Fix bug#14620.
2714 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2716 * faces.el (face-documentation): Simplify.
2717 (read-face-attribute, tty-find-type, x-resolve-font-name):
2718 Use `string-match-p'.
2719 (list-faces-display): Use `string-match-p'. Simplify.
2720 (face-spec-recalc): Check face to avoid face alias loops.
2721 (read-color): Use `string-match-p' and non-capturing parenthesis.
2723 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2725 * net/shr.el (shr-rescale-image): Use the new
2726 :max-width/:max-height functionality.
2728 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2730 * net/eww.el (eww-search-prefix): New variable.
2732 (eww-external-browser): New variable.
2733 (eww-mode-map): New keystroke.
2734 (eww-browse-with-external-browser): New command.
2736 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2738 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2740 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2741 Don't skip aligning the next header field when padding is 0;
2742 otherwise, field width is not respected unless the title is as
2745 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2747 * emacs-lisp/package.el (package-el-version): Remove.
2748 (package-process-define-package): Fix inf-loop.
2749 (package-install): Allow symbols as arguments again.
2751 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2753 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2754 add some more keyword-like methods.
2755 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2757 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2759 * bs.el (bs-buffer-show-mark): Make defvar-local.
2760 (bs-mode): Use setq-local.
2762 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2763 (emacs-lock--try-unlocking): Make defvar-local.
2765 2013-06-22 Glenn Morris <rgm@gnu.org>
2767 * play/cookie1.el (cookie-apropos): Minor simplification.
2769 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2771 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2773 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2774 `regexp-opt', it breaks the build during dumping.
2776 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2778 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2779 Highlight keyword-like methods on Kernel and Module with
2780 font-lock-builtin-face.
2781 (auto-mode-alist): Consolidate different entries into one regexp
2782 and add more *file-s.
2784 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2786 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2788 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2789 (diary-entry): Use it in the action of this button type instead of
2792 * calendar/todo-mode.el: New version.
2793 (todo-add-category): Append new category to end of file and give
2794 it the highest number, instead of putting it at the beginning and
2795 giving it 0. Incorporate noninteractive functionality.
2796 (todo-forward-category): Adapt to 1-based category numbering.
2797 Allow skipping over archived categories.
2798 (todo-backward-category): Derive from todo-forward-category.
2799 (todo-backward-item, todo-forward-item): Make noninteractive and
2800 delegate interactive part to new commands. Make sensitive to done items.
2801 (todo-categories): Make value an alist of category names and
2802 vectors of item counts.
2803 (todo-category-beg): Make a defconst.
2804 (todo-category-number): Use 1 instead of 0 as initial value.
2805 (todo-category-select): Make sensitive to overlays, optional item
2806 highlighting and done items.
2807 (todo-delete-item): Make sensitive to overlays and marked and done items.
2808 (todo-edit-item): Make sensitive to overlays and editing of
2809 date/time header optional. Add format checks.
2810 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2811 no-op if point is not on an item. Advertise using todo-edit-quit.
2812 (todo-edit-mode): Make sensitive to new format, font-locking, and
2813 multiple todo files.
2814 (todo-insert-item, todo-insert-item-here): Derive from
2815 todo-basic-insert-item and extend functionality.
2816 (todo-item-end, todo-item-start): Make sensitive to done items.
2817 (todo-item-string): Don't return text properties. Restore point.
2818 (todo-jump-to-category): Make sensitive to multiple todo files and
2819 todo archives. Use extended category completion.
2820 (todo-lower-item, todo-raise-item): Rename to *-priority and
2821 derive from todo-set-item-priority.
2822 (todo-mode): Derive from special-mode. Make sensitive to new
2823 format, font-locking and multiple todo files. Make read-only.
2824 (todo-mode-map): Don't suppress digit keys, so they can supply
2825 prefix arguments. Add many new key bindings.
2826 (todo-prefix): Insert as an overlay instead of file text.
2827 Change semantics from diary date expression to purely visual mark.
2828 (todo-print): Rename to todo-print-buffer. Make buffer display
2829 features printable. Remove option to restrict number of items
2830 printed. Add option to print to file.
2831 (todo-print-function): Rename to todo-print-buffer-function.
2832 (todo-quit): Extend to handle exiting new todo modes.
2833 (todo-remove-item): Make sensitive to overlays.
2834 (todo-save): Extend to buffers of filtered items.
2835 (todo-show): Make sensitive to done items, multiple todo files and
2836 new todo modes. Offer to convert legacy todo file before creating
2837 first new todo file.
2838 (todo-show-priorities): Rename to todo-top-priorities.
2839 Change semantics of value 0.
2840 (todo-top-priorities): Rename to todo-filter-top-priorities,
2841 derive from todo-filter-items and extend functionality.
2842 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2843 and extend functionality to other types of filtered items.
2844 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2845 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2846 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2847 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2848 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2849 (todo-edit-mode-hook, todo-entry-prefix-function)
2850 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2851 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2852 (todo-initials, todo-insert-threshold, todo-item-string-start)
2853 (todo-line-string, todo-menu, todo-mode-hook)
2854 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2855 (todo-print-priorities, todo-remove-separator)
2856 (todo-save-top-priorities-too, todo-string-count-lines)
2857 (todo-string-multiline-p, todo-time-string-format)
2858 (todo-tmp-buffer-name): Remove.
2859 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2860 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2861 (todo-edit-category-diary-inclusion)
2862 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2863 (todo-edit-file, todo-edit-item-date-day)
2864 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2865 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2866 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2867 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2868 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2869 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2870 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2871 (todo-filter-top-priorities-multifile, todo-find-archive)
2872 (todo-find-filtered-items-file, todo-go-to-source-item)
2873 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2874 (todo-jump-to-archive-category, todo-lower-category)
2875 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2876 (todo-move-category, todo-move-item, todo-next-button)
2877 (todo-next-item, todo-padded-string, todo-powerset)
2878 (todo-previous-button, todo-previous-item)
2879 (todo-print-buffer-to-file, todo-raise-category)
2880 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2881 (todo-set-category-number, todo-set-item-priority)
2882 (todo-set-top-priorities-in-category)
2883 (todo-set-top-priorities-in-file, todo-show-categories-table)
2884 (todo-sort-categories-alphabetically-or-numerically)
2885 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2886 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2887 (todo-toggle-item-header, todo-toggle-item-highlighting)
2888 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2889 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2890 (todo-unarchive-items, todo-unmark-category): New commands.
2891 (todo-absolute-file-name, todo-add-to-buffer-list)
2892 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2893 (todo-basic-insert-item, todo-category-completions)
2894 (todo-category-number, todo-category-string-matcher-1)
2895 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2896 (todo-check-format, todo-clear-matches)
2897 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2898 (todo-current-category, todo-date-string-matcher)
2899 (todo-define-insertion-command, todo-diary-expired-matcher)
2900 (todo-diary-goto-entry, todo-diary-item-p)
2901 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2902 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2903 (todo-done-item-section-p, todo-done-separator)
2904 (todo-done-string-matcher, todo-files, todo-filter-items)
2905 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2906 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2907 (todo-insert-category-line, todo-insert-item-from-calendar)
2908 (todo-insert-sort-button, todo-insert-with-overlays)
2909 (todo-insertion-command-name, todo-insertion-key-bindings)
2910 (todo-label-to-key, todo-longest-category-name-length)
2911 (todo-make-categories-list, todo-mode-external-set)
2912 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2913 (todo-modes-set-3, todo-multiple-filter-files)
2914 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2915 (todo-read-category, todo-read-date, todo-read-dayname)
2916 (todo-read-file-name, todo-read-time)
2917 (todo-reevaluate-category-completions-files-defcustom)
2918 (todo-reevaluate-default-file-defcustom)
2919 (todo-reevaluate-filelist-defcustoms)
2920 (todo-reevaluate-filter-files-defcustom)
2921 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2922 (todo-reset-done-separator, todo-reset-done-separator-string)
2923 (todo-reset-done-string, todo-reset-global-current-todo-file)
2924 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2925 (todo-reset-prefix, todo-set-categories)
2926 (todo-set-date-from-calendar, todo-set-show-current-file)
2927 (todo-set-top-priorities, todo-short-file-name)
2928 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2929 (todo-total-item-counts, todo-update-buffer-list)
2930 (todo-update-categories-display, todo-update-categories-sexp)
2931 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2933 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2935 (todo-categories, todo-display, todo-edit, todo-faces)
2936 (todo-filtered): New defgroups.
2937 (todo-archived-only, todo-button, todo-category-string, todo-date)
2938 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2939 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2940 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2941 (todo-add-item-if-new-category, todo-always-add-time-string)
2942 (todo-categories-align, todo-categories-archived-label)
2943 (todo-categories-category-label, todo-categories-diary-label)
2944 (todo-categories-done-label, todo-categories-number-separator)
2945 (todo-categories-todo-label, todo-categories-totals-label)
2946 (todo-category-completions-files, todo-completion-ignore-case)
2947 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2948 (todo-done-separator-string, todo-done-string)
2949 (todo-files-function, todo-filter-done-items, todo-filter-files)
2950 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2951 (todo-initial-category, todo-initial-file, todo-item-mark)
2952 (todo-legacy-date-time-regexp, todo-mode-line-function)
2953 (todo-nondiary-marker, todo-number-prefix)
2954 (todo-print-buffer-function, todo-show-current-file)
2955 (todo-show-done-only, todo-show-first, todo-show-with-done)
2956 (todo-skip-archived-categories, todo-top-priorities-overrides)
2957 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2958 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2960 (todo-category-done, todo-date-pattern, todo-date-string-start)
2961 (todo-diary-items-buffer, todo-done-string-start)
2962 (todo-filtered-items-buffer, todo-item-start)
2963 (todo-month-abbrev-array, todo-month-name-array)
2964 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2965 (todo-top-priorities-buffer): New defconsts.
2966 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2967 (todo-categories-with-marks, todo-category-string-face)
2968 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2969 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2970 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2971 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2972 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2973 (todo-font-lock-keywords, todo-global-current-todo-file)
2974 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2975 (todo-insertion-commands-args)
2976 (todo-insertion-commands-args-genlist)
2977 (todo-insertion-commands-names, todo-insertion-map)
2978 (todo-key-bindings-t, todo-key-bindings-t+a)
2979 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2980 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2981 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2982 (todo-visited): New variables.
2984 2013-06-21 Glenn Morris <rgm@gnu.org>
2986 * play/cookie1.el (cookie-apropos): Add optional display argument.
2987 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2988 (psychoanalyze-pinhead): Use cookie-doctor.
2990 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2992 * emacs-lisp/package.el (tar-get-file-descriptor)
2993 (tar--extract): Declare.
2995 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2997 Extend flymake's warning predicate to be a function (bug#14217).
2998 * progmodes/flymake.el (flymake-warning-predicate): New.
2999 (flymake-parse-line): Use it.
3000 (flymake-warning-re): Make obsolete alias to
3001 `flymake-warning-predicate'.
3003 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3005 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3006 (package-obsolete-list): Remove.
3007 (package-activate): Remove min-version argument. Add `force' argument.
3008 Adjust to new package-alist format.
3009 (package-mark-obsolete): Remove.
3010 (package-unpack): Force reload of the package's autoloads.
3011 (package-installed-p): Check builtins if the installed package is not
3013 (package-initialize): Don't reset package-obsolete-list.
3014 Don't specify which package version to activate.
3015 (package-process-define-package, describe-package-1)
3016 (package-menu--generate): Adjust to new package-alist format.
3018 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3020 * allout-widgets.el (allout-widgets-mode-off)
3021 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3022 (allout-widgets-post-command-business)
3023 (allout-widgets-after-copy-or-kill-function)
3024 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3025 (allout-decorate-item-and-context)
3026 (allout-graphics-modification-handler): Fix typos in docstrings.
3027 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3029 * cmuscheme.el (scheme-start-file): Doc fix.
3030 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3031 (scheme-input-filter): Use `string-match-p'.
3033 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3035 * dired-x.el: Use Dired consistently in docstrings.
3037 * dired.el: Use Dired consistently in docstrings.
3038 (dired-readin, dired-mode): Use `setq-local'.
3039 (dired-switches-alist): Make defvar-local.
3040 (dired-buffers-for-dir): Use `zerop'.
3041 (dired-safe-switches-p, dired-switches-escape-p)
3042 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3043 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3044 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3045 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3046 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3047 (dired-toggle-marks, dired-mark-files-containing-regexp)
3048 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3049 (dired-flag-auto-save-files, dired-flag-backup-files):
3051 (dired-mark-files-regexp, dired-build-subdir-alist):
3052 Use `string-match-p', `looking-at-p'.
3054 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3055 (direct-print-region-helper): Use `string-match-p'.
3057 2013-06-21 Leo Liu <sdl.web@gmail.com>
3059 * comint.el (comint-redirect-results-list-from-process):
3062 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3064 * net/eww.el (eww-update-header-line-format): Quote % characters.
3066 2013-06-21 Glenn Morris <rgm@gnu.org>
3068 * play/cookie1.el (cookie): New custom group.
3069 (cookie-file): New option.
3070 (cookie-check-file): New function.
3071 (cookie): Make it interactive. Make start and end messages optional.
3072 Interactively, display the result. Default to cookie-file.
3073 (cookie-insert): Default to cookie-file.
3074 (cookie-snarf): Make start and end messages optional.
3075 Default to cookie-file. Use with-temp-buffer.
3076 (cookie-read): Rename from read-cookie.
3077 Make start and end messages optional. Default to cookie-file.
3078 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3080 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3081 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3083 2013-06-21 Leo Liu <sdl.web@gmail.com>
3085 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3087 2013-06-21 Glenn Morris <rgm@gnu.org>
3089 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3091 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3092 Daniel Hackney <dan@haxney.org>
3094 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3095 Consolidate the single-file vs tarball code.
3096 (package-desc-suffix): New function.
3097 (package-desc-full-name): Don't bother inlining it.
3098 (package-load-descriptor): Return the new package-desc.
3099 (package-mark-obsolete): Remove unused arg `package'.
3100 (package-unpack): Make it work for single files as well.
3101 Make it update package-alist.
3102 (package--make-autoloads-and-stuff): Rename from
3103 package--make-autoloads-and-compile. Don't compile any more.
3104 (package--compile): New function.
3105 (package-generate-description-file): New function, extracted from
3106 package-unpack-single.
3107 (package-unpack-single): Remove.
3108 (package--with-work-buffer): Add indentation and debugging info.
3109 (package-download-single): Remove.
3110 (package-install-from-archive): Rename from package-download-tar, make
3111 it take a pkg-desc, and make it work for single files as well.
3112 (package-download-transaction): Simplify.
3113 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3114 external tar program.
3115 (package-install-from-buffer): Remove `pkg-desc' argument.
3116 Use package-tar-file-info for tar-mode buffers.
3117 (package-install-file): Simplify accordingly.
3118 (package-archive-base): Change to take a pkg-desc.
3119 * tar-mode.el (tar--check-descriptor): New function, extracted from
3121 (tar-get-descriptor): Use it.
3122 (tar-get-file-descriptor): New function.
3123 (tar--extract): New function, extracted from tar-extract.
3124 (tar--extract): Use it.
3125 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3126 case the summary uses non-ascii. Adjust to new calling convention of
3127 package-tar-file-info.
3129 2013-06-21 Leo Liu <sdl.web@gmail.com>
3131 * comint.el (comint-redirect-results-list-from-process):
3132 Fix random delay. (Bug#14681)
3134 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3136 * profiler.el (profiler-format-number): Use log, not log10.
3138 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3140 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3142 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3145 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3147 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3148 (AUTOGENEL): ... here.
3149 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3150 (cl--defsubst-expand): Use it.
3152 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3154 * subr.el (log10): Move here from C code, and declare as obsolete.
3155 All uses of (log10 X) replaced with (log X 10).
3157 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3159 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3160 Declare with `defvar-local'.
3161 (tabulated-list-use-header-line, tabulated-list-entries)
3162 (tabulated-list-padding, tabulated-list-printer)
3163 (tabulated-list-sort-key): Declare with `defvar-local'.
3164 (tabulated-list-init-header, tabulated-list-print-fake-header):
3167 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3169 * arc-mode.el (archive-mode): Add `archive-write-file' to
3170 `write-contents-functions' also for remote files. (Bug#14652)
3172 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3174 * cus-edit.el (custom-commands): Fix typos.
3175 (custom-display): Fix tooltip text.
3176 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3177 Fix typos in docstrings.
3178 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3179 (custom-unlispify-menu-entry, custom-magic-value-create)
3180 (custom-add-see-also, custom-group-value-create): Use ?\s.
3181 (custom-guess-type, customize-apropos, editable-field)
3182 (custom-face-value-create): Use `string-match-p'.
3183 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3185 * custom.el (custom-load-symbol): Use `string-match-p'.
3187 * ansi-color.el: Convert to lexical binding.
3188 (ansi-colors): Fix URL.
3189 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3190 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3191 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3193 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3195 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3197 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3199 2013-06-19 Tom Tromey <tromey@redhat.com>
3201 * net/eww.el (eww-top-url): Remove.
3202 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3203 (eww-render): Set new variables. Don't set eww-top-url.
3204 (eww-handle-link): Handle "prev", "home", and "contents".
3205 Downcase the rel text.
3206 (eww-top-url): Choose best top URL.
3208 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3210 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3211 relying in widget.el. Using widget.el leads to too many
3212 user interface inconsistencies.
3213 (eww-self-insert): Implement entering commands in text fields.
3214 (eww-process-text-input): New function to make text input field editing
3216 (eww-submit): Rewrite to use the new-style form methods.
3217 (eww-select-display): Display the correct selected item.
3218 (eww-change-select): Implement changing the select value.
3219 (eww-toggle-checkbox): Implement radio/checkboxes.
3220 (eww-update-field): Fix compilation error.
3221 (eww-tag-textarea): Implement <textarea>.
3223 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3224 we don't shadow mode-specific bindings.
3226 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3229 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3231 2013-06-19 Glenn Morris <rgm@gnu.org>
3233 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3235 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3237 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3240 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3242 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3244 * net/browse-url.el (browse-url-browser-function):
3245 `eww-browse-url' has the right calling signature, `eww' does not.
3247 2013-06-19 Glenn Morris <rgm@gnu.org>
3249 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3250 Only eval autoloaded macros.
3251 (byte-compile-autoload): Only give the macro warning for macros.
3253 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3254 (ps-underlined-faces): Declare.
3256 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3257 (speedbar-add-supported-extension): Declare.
3259 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3260 Don't include a date stamp in the header of the generated file;
3261 it leads to needless differences between output files.
3263 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3265 * net/secrets.el (secrets-struct-secret-content-type):
3266 Replace check of introspection data by a test call of "CreateItem".
3267 Some servers do not offer introspection.
3269 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * electric.el (electric-pair-mode): Improve interaction with
3272 electric-layout-mode.
3273 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3274 (electric-pair-syntax): Use text-mode-syntax-table in comments
3276 (electric-pair--insert): New function.
3277 (electric-pair-post-self-insert-function): Use it and
3278 electric--after-char-pos.
3280 2013-06-19 Leo Liu <sdl.web@gmail.com>
3282 * progmodes/octave.el (octave-help): Fix regexp.
3284 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3286 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3287 (shr-table-horizontal-line): Allow nil as a value, and change the
3289 (shr-insert-table-ruler): Respect the nil value.
3291 2013-06-18 Tom Tromey <tromey@barimba>
3293 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3295 (eww-open-file): New defun.
3296 (eww-render): Initialize new variables.
3297 (eww-display-html): Handle "link" and "a".
3298 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3299 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3300 (eww-back-url): Rename from eww-previous-url.
3301 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3304 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3306 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3307 Distinguish ternary operator tokens from slash symbol and slash
3310 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3312 Convert symbol prettification into minor mode and global minor mode.
3314 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3315 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3316 (prettify-symbols--keywords): Rename from
3317 `prog-prettify-symbols-alist' and make a local defvar.
3318 (prettify-symbols--compose-symbol): Rename from
3319 `prog--prettify-font-lock-compose-symbol'.
3320 (prettify-symbols--make-keywords): Rename from
3321 `prog-prettify-font-lock-symbols-keywords' and simplify.
3322 (prog-prettify-install): Remove.
3323 (prettify-symbols-mode): New minor mode, based on
3324 `prog-prettify-install'.
3325 (turn-on-prettify-symbols-mode): New function.
3326 (global-prettify-symbols-mode): New globalized minor mode.
3328 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3329 * progmodes/cfengine.el (cfengine3-mode):
3330 * progmodes/perl-mode.el (perl-mode): Don't call
3331 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3333 2013-06-18 Juri Linkov <juri@jurta.org>
3335 * files-x.el (modify-file-local-variable-message): New function.
3336 (modify-file-local-variable)
3337 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3338 and call `modify-file-local-variable-message' when it's non-nil.
3339 (add-file-local-variable, delete-file-local-variable)
3340 (add-file-local-variable-prop-line)
3341 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3342 and use it. (Bug#9820)
3344 2013-06-18 Juri Linkov <juri@jurta.org>
3346 * emulation/vi.el (vi-shell-op):
3347 * emulation/vip.el (vip-execute-com, ex-command):
3348 * emulation/viper-cmd.el (viper-exec-bang):
3349 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3350 the call of `shell-command-on-region'. (Bug#14637)
3352 * simple.el (shell-command-on-region): Doc fix.
3354 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3356 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3359 2013-06-18 Glenn Morris <rgm@gnu.org>
3361 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3363 * newcomment.el (comment-search-forward, comment-search-backward):
3364 Doc fix. (Bug#14376)
3366 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3368 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3369 (buffer-face-mode-invoke): Doc fix.
3371 2013-06-18 Matthias Meulien <orontee@gmail.com>
3373 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
3374 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
3376 2013-06-18 Glenn Morris <rgm@gnu.org>
3378 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3379 Replace obsolete function generic-make-keywords with its expansion.
3381 * progmodes/python.el (ffap-alist): Declare.
3383 * textmodes/reftex.el (bibtex-mode-map): Declare.
3385 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3388 (package-unpack, package-unpack-single): Return the pkg-dir.
3389 (package-download-transaction): Use it to update package-alist.
3391 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3393 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3396 2013-06-17 Juri Linkov <juri@jurta.org>
3398 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3400 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3402 * emacs-lisp/package.el (package-load-descriptor):
3403 Remove `with-syntax-table' call, `read' doesn't need it.
3404 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3406 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3408 * startup.el (command-line): Expand package name returned by
3409 `package--description-file' (bug#14639).
3411 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3413 * emacs-lisp/package.el (package-load-descriptor): Do not call
3414 `emacs-lisp-mode', just use its syntax table.
3416 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3418 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3419 `font-lock-extra-managed-props' if any prettifying keyword is added.
3420 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3421 (prog-mode): Use `setq-local'.
3423 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3425 * international/characters.el (standard-case-table): Set syntax of ?»
3426 and ?« to punctuation.
3428 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
3430 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3431 Save relevant match data before calling `syntax-ppss' (bug#14595).
3433 2013-06-15 Juri Linkov <juri@jurta.org>
3435 * files-x.el (modify-file-local-variable-prop-line): Add local
3436 variables to the end of the existing comment on the first line.
3437 Use `file-auto-mode-skip' to skip interpreter magic line,
3438 and also skip XML declaration.
3440 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * startup.el (package--builtin-versions): New var.
3443 (package-subdirectory-regexp): Remove.
3444 (package--description-file): Hard code its value instead.
3446 * emacs-lisp/package.el: Don't activate packages older than builtin.
3447 (package-obsolete-list): Rename from package-obsolete-alist, and make
3448 it into a simple list of package-desc.
3449 (package-strip-version): Remove.
3450 (package-built-in-p): Use package--builtin-versions.
3451 (package-mark-obsolete): Simplify.
3452 (package-process-define-package): Mark it obsolete if older than the
3454 (package-handle-response): Use line-end-position.
3455 (package-read-archive-contents, package--download-one-archive):
3457 (package--add-to-archive-contents): Skip if older than the builtin or
3459 (package-menu-describe-package): Fix last change.
3460 (package-list-unversioned): New var.
3461 (package-menu--generate): Use it.
3463 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3464 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3465 (autoload-builtin-package-versions): New variable.
3466 (autoload-generate-file-autoloads): Use them.
3467 Remove the list of autoloaded functions/macros from the
3468 (autoload...) comments.
3470 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3472 2013-06-15 Eli Zaretskii <eliz@gnu.org>
3474 * simple.el (line-move-partial): Don't jump to the next screen
3475 line as soon as it becomes visible. Instead, continue enlarging
3476 the vscroll until the portion of a tall screen line that's left on
3477 display is about the height of the frame's default font.
3480 2013-06-15 Glenn Morris <rgm@gnu.org>
3482 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3483 compilation-error-regexp-alist void, or local while let-bound.
3485 * progmodes/make-mode.el (makefile-mode-syntax-table):
3486 Treat "=" as punctuation. (Bug#14614)
3488 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
3490 * help-fns.el (describe-variable):
3491 Add extra line for permanent-local variables.
3493 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3495 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3496 Add export, import, library. (Bug#9164)
3497 (library): Set indent function.
3499 2013-06-14 Glenn Morris <rgm@gnu.org>
3501 * term/xterm.el (xterm--query):
3502 Stop after first matching handler. (Bug#14615)
3504 2013-06-14 Ivan Kanis <ivan@kanis.fr>
3506 Add support for dired in saveplace.
3507 * dired.el (dired-initial-position-hook): New variable.
3508 (dired-initial-position): Call hook to place cursor position.
3509 * saveplace.el (save-place-to-alist): Add dired position.
3510 (save-place-dired-hook): New function.
3512 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3515 through a symbol rather than letrec.
3517 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3518 (package-desc): Add `dir' field.
3519 (package-desc-full-name): New function.
3520 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3521 (package-maybe-load-descriptor): Remove.
3522 (package-load-all-descriptors): Just call package-load-descriptor.
3523 (package--disabled-p): New function.
3524 (package-desc-vers, package-desc-doc): Remove aliases.
3525 (package--dir): Remove function.
3526 (package-activate): Check if a package is disabled.
3527 (package-process-define-package): New function, extracted from
3529 (define-package): Turn into a place holder.
3530 (package-unpack-single, package-tar-file-info):
3531 Use package--description-file.
3532 (package-compute-transaction): Use package--disabled-p.
3533 (package-download-transaction): Don't call
3534 package-maybe-load-descriptor since they're all loaded anyway.
3535 (package-install): Change argument to be a pkg-desc.
3536 (package-delete): Use a single pkg-desc argument.
3537 (describe-package-1): Use package-desc-dir instead of package--dir.
3538 Use package-desc property instead of package-symbol.
3539 (package-install-button-action): Adjust accordingly.
3540 (package--push): Rewrite.
3541 (package-menu--print-info): Adjust accordingly. Change the ID format
3543 (package-menu-describe-package, package-menu-get-status)
3544 (package-menu--find-upgrades, package-menu-mark-upgrades)
3545 (package-menu-execute, package-menu--name-predicate):
3547 * startup.el (package--description-file): New function.
3548 (command-line): Use it.
3549 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3550 Use package-desc-version.
3552 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3553 (byte-compile-preprocess): Use it.
3554 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3555 can't quite recognize.
3556 (byte-compile-add-to-list): Remove.
3557 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3558 (cconv-closure-convert): Add assertion.
3560 * emacs-lisp/map-ynp.el: Use lexical-binding.
3561 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3562 Factor out some repeated code.
3564 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * subr.el (with-eval-after-load): New macro.
3567 (eval-after-load): Allow form to be a function.
3568 take advantage of lexical-binding.
3569 (do-after-load-evaluation): Use dolist and adjust to new format.
3570 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3572 2013-06-13 Juri Linkov <juri@jurta.org>
3574 * replace.el (perform-replace): Display "symbol " and other search
3575 modes from `isearch-message-prefix' in the *Help* buffer.
3577 * isearch.el (isearch-query-replace): Add " symbol" and other
3578 possible search modes from `isearch-message-prefix' to the prompt.
3579 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3580 when reading a regexp to collect.
3582 2013-06-13 Juri Linkov <juri@jurta.org>
3584 * isearch.el (word-search-regexp): Match whitespace if the search
3585 string begins or ends in whitespace. The LAX arg is applied to
3586 both ends of the search string. Use `regexp-quote' and explicit
3587 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3588 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3589 boundaries are replaced with symbol boundaries, and characters
3590 between symbols match non-word non-symbol syntax. (Bug#14602)
3592 2013-06-13 Juri Linkov <juri@jurta.org>
3594 * isearch.el (isearch-del-char): Don't exceed the length of
3595 `isearch-string' by the prefix arg. (Bug#14563)
3597 2013-06-13 Juri Linkov <juri@jurta.org>
3599 * isearch.el (isearch-yank-word, isearch-yank-line)
3600 (isearch-char-by-name, isearch-quote-char)
3601 (isearch-printing-char, isearch-process-search-char):
3602 Add optional count prefix arg. (Bug#14563)
3604 * international/isearch-x.el
3605 (isearch-process-search-multibyte-characters):
3606 Add optional count prefix arg.
3608 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3610 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3611 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3614 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3616 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3618 2013-06-13 Glenn Morris <rgm@gnu.org>
3620 * startup.el (tty-handle-args):
3621 Don't just discard "--" and anything after. (Bug#14608)
3623 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3625 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
3627 Implement changes in Secret Service API. Make it backward compatible.
3628 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3629 (secrets-create-item): Use it. Prefix properties with interface.
3631 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3633 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3634 (term-emulate-terminal): Respect term-suppress-hard-newline.
3636 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3638 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3639 Only remove a `thumb-file' overlay. (Bug#14548)
3641 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
3643 * mail/reporter.el (reporter-submit-bug-report):
3644 Handle missing package-name. (Bug#14600)
3646 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3648 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3649 (reftex-citation-prompt, reftex-default-bibliography)
3650 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3651 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3652 (reftex-bib-sort-author, reftex-bib-sort-year)
3653 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3654 (reftex-extract-bib-entries-from-thebibliography)
3655 (reftex-get-bibkey-default, reftex-get-bib-names)
3656 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3657 (reftex-format-bib-entry, reftex-parse-bibitem)
3658 (reftex-format-bibitem, reftex-do-citation)
3659 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3660 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3661 (reftex-insert-bib-matches, reftex-format-citation)
3662 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3663 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3664 existing comments into docstrings.
3666 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3668 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3670 2013-06-12 Andreas Schwab <schwab@suse.de>
3672 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3673 for auto-save files.
3675 2013-06-12 Glenn Morris <rgm@gnu.org>
3677 * ido.el (ido-delete-ignored-files): Remove.
3678 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3679 Go back to calling ido-ignore-item-p directly.
3681 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3683 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3685 * ido.el (ido-delete-ignored-files): New function,
3686 split from ido-make-file-list-1.
3687 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3688 (ido-make-file-list-1): Use ido-delete-ignored-files.
3690 2013-06-12 Leo Liu <sdl.web@gmail.com>
3692 * progmodes/octave.el (inferior-octave-startup)
3693 (inferior-octave-completion-table)
3694 (inferior-octave-track-window-width-change)
3695 (octave-eldoc-function-signatures, octave-help)
3696 (octave-find-definition): Use single quoted strings.
3697 (inferior-octave-startup-args): Change default value.
3698 (inferior-octave-startup): Do not hard code "-i" and
3699 "--no-line-editing".
3700 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3701 (inferior-octave-directory-tracker): Use it.
3702 (octave-goto-function-definition): Robustify.
3703 (octave-help): Support highlighting operators in 'See also'.
3704 (octave-find-definition): Find subfunctions only in Octave mode.
3706 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * help-fns.el (help-fns--compiler-macro): If the handler function is
3709 named, then put a link to it.
3710 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3711 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3713 (cl-eval-when): Simplify debug spec.
3714 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3715 compiler-macro function instead of setting `compiler-macro-file'.
3717 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3719 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3720 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3722 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3723 Daniel Hackney <dan@haxney.org>
3725 First part of Daniel Hackney's patch to package.el.
3726 * emacs-lisp/package.el: Use defstruct.
3727 (package-desc): New, main struct.
3728 (package--bi-desc, package--ac-desc): New structs, used to describe the
3729 format in external files.
3730 (package-desc-vers): Replace with package-desc-version accessor.
3731 (package-desc-doc): Replace with package-desc-summary accessor.
3732 (package-activate-1): Remove `package' arg since the pkg-vec now
3734 (define-package): Use package-desc-from-define.
3735 (package-unpack-single): Change file-name arg to be a symbol.
3736 (package--add-to-archive-contents): Use package-desc-create and new
3737 accessor functions to package--ac-desc.
3738 (package-buffer-info, package-tar-file-info): Return a package-desc.
3739 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3740 arg to be a package-desc.
3741 (package-install-file): Adjust accordingly. Use \' to match EOS.
3742 (package--from-builtin): New function.
3743 (describe-package-1, package-menu--generate): Use it.
3744 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3745 (package-generate-autoloads): Idem and return the name of the file.
3746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3747 Change pkg-info arg to be a package-desc.
3748 Use package-make-ac-desc.
3749 (package-upload-file): Use \' to match EOS.
3750 * finder.el (finder-compile-keywords): Use package-make-builtin.
3752 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * vc/vc.el (vc-deduce-fileset): Change error message.
3755 (vc-read-backend): New function.
3756 (vc-next-action): Use it.
3758 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3760 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3761 (prolog-font-lock-keywords): Use regexp-opt instead.
3762 Don't manually highlight strings.
3763 (prolog-mode-variables): Simplify comment-start-skip.
3764 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3766 * emacs-lisp/generic.el (generic--normalise-comments)
3767 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3768 (generic-mode-set-comments): Use them.
3769 (generic-bracket-support): Use setq-local.
3770 (generic-make-keywords-list): Declare obsolete.
3772 2013-06-11 Glenn Morris <rgm@gnu.org>
3774 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3775 Prettify after setting font-lock-defaults. (Bug#14574)
3777 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3779 * replace.el (query-replace, occur-read-regexp-defaults-function)
3781 * subr.el (declare-function, number-sequence, local-set-key)
3782 (substitute-key-definition, locate-user-emacs-file)
3783 (with-silent-modifications, split-string, eval-after-load):
3784 Fix typos, remove unneeded backslashes and reflow some docstrings.
3786 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3789 default for Elisp files.
3791 2013-06-11 Glenn Morris <rgm@gnu.org>
3793 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3794 although define-derived-mode was doing this anyway. (Bug#14583)
3796 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3798 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3799 Fix make-variable-buffer-local call to refer to the correct variable.
3801 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3803 * eshell/em-term.el (eshell-visual-commands)
3804 (eshell-visual-subcommands, eshell-visual-options):
3805 Add summary line to docstrings. Add cross-references.
3807 2013-06-10 Glenn Morris <rgm@gnu.org>
3809 * epa.el (epa-read-file-name): New function. (Bug#14510)
3810 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3812 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3814 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3815 output redirection to be ignored with visual commands.
3817 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3819 * eshell/em-term.el (eshell-visual-command-p): New function.
3820 (eshell-term-initialize): Move long lambda to separate function
3821 eshell-visual-command-p.
3822 * eshell/em-dirs.el (eshell-dirs-initialise):
3823 * eshell/em-script.el (eshell-script-initialize):
3824 Add missing #' to lambda.
3826 2013-06-08 Leo Liu <sdl.web@gmail.com>
3828 * progmodes/octave.el (octave-add-log-current-defun): New function.
3829 (octave-mode): Set add-log-current-defun-function.
3830 (octave-goto-function-definition): Do not move point if not found.
3831 (octave-find-definition): Enhance to try subfunctions first.
3833 2013-06-08 Glenn Morris <rgm@gnu.org>
3835 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3836 (byte-compile-backward-char, byte-compile-backward-word):
3837 Improve previous change, to handle non-explicit nil.
3839 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3841 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3842 (smie--opener/closer-at-point): New function.
3843 (smie--matching-block-data): Use it. Don't match from right after an
3844 opener or right before a closer. Obey smie-blink-matching-inners.
3845 Don't signal a mismatch for repeated inners like "switch..case..case".
3847 2013-06-07 Leo Liu <sdl.web@gmail.com>
3849 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3851 (octave-function-header-regexp): Fix. (Bug#14570)
3852 (octave-help-mode-finish-hook, octave-help-mode-finish):
3853 Remove. Just use temp-buffer-show-hook.
3855 * newcomment.el (comment-search-backward): Revert last change.
3858 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3860 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3862 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3863 through xargs, to avoid failure due to MS-Windows limitations on
3864 command-line length.
3866 2013-06-06 Glenn Morris <rgm@gnu.org>
3868 * font-lock.el (lisp-font-lock-keywords-2):
3869 Treat user-error like error.
3871 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3872 (byte-compile-backward-char, byte-compile-backward-word):
3873 Handle explicit nil arguments. (Bug#14565)
3875 2013-06-05 Alan Mackenzie <acm@muc.de>
3877 * isearch.el (isearch-allow-prefix): New user option.
3878 (isearch-other-meta-char): Don't exit isearch when a prefix
3879 argument is typed whilst `isearch-allow-prefix' is non-nil.
3882 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * autorevert.el (auto-revert-notify-handler): Use memq.
3885 Hide assertion failure.
3887 * skeleton.el: Use cl-lib.
3888 (skeleton-further-elements): Use defvar-local.
3889 (skeleton-insert): Use cl-progv.
3891 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3893 * progmodes/prog-mode.el (prog-prettify-symbols)
3894 (prog-prettify-install): Update docstrings.
3896 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * simple.el: Move all the prog-mode code to prog-mode.el.
3899 * progmodes/prog-mode.el: New file.
3900 * loadup.el: Add prog-mode.el.
3902 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3904 * simple.el (prog-prettify-symbols): Add version.
3905 (prog-prettify-install): Add convenience function to prettify symbols.
3907 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3908 (perl--augmented-font-lock-keywords-1)
3909 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3910 variables and use it.
3912 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3913 (cfengine3-mode): Remove unneeded variable and use it.
3915 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3916 (lisp--augmented-font-lock-keywords-1)
3917 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3918 Remove unneeded variables and use it.
3920 2013-06-05 João Távora <joaotavora@gmail.com>
3922 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3923 to point when opening the connection. (Bug#14380)
3925 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * subr.el (load-history-regexp, load-history-filename-element)
3928 (eval-after-load, after-load-functions, do-after-load-evaluation)
3929 (eval-next-after-load, display-delayed-warnings)
3930 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3931 definition of save-match-data.
3932 (overriding-local-map): Remove accidental obsolescence declaration.
3934 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3936 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3938 Generalize symbol prettify support to prog-mode and implement it
3939 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3940 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3941 (prog--prettify-font-lock-compose-symbol)
3942 (prog-prettify-font-lock-symbols-keywords): New variables and
3943 functions to support symbol prettification.
3944 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3945 (lisp--augmented-font-lock-keywords-1)
3946 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3947 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3948 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3949 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3950 Implement prettify of -> => :: strings.
3951 * progmodes/perl-mode.el (perl-prettify-symbols)
3952 (perl--font-lock-compose-symbol)
3953 (perl--font-lock-symbols-keywords): Move to prog-mode.
3954 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3955 (perl-font-lock-keywords-1)
3956 (perl-font-lock-keywords-2): Remove explicit prettify support.
3957 (perl--augmented-font-lock-keywords)
3958 (perl--augmented-font-lock-keywords-1)
3959 (perl--augmented-font-lock-keywords-2, perl-mode):
3960 Implement prettify support.
3962 2013-06-05 Leo Liu <sdl.web@gmail.com>
3964 Re-implement smie matching block highlight using
3965 show-paren-data-function. (Bug#14395)
3966 * emacs-lisp/smie.el (smie-matching-block-highlight)
3967 (smie--highlight-matching-block-overlay)
3968 (smie--highlight-matching-block-lastpos)
3969 (smie-highlight-matching-block)
3970 (smie-highlight-matching-block-mode): Remove.
3971 (smie--matching-block-data-cache): New variable.
3972 (smie--matching-block-data): New function.
3973 (smie-setup): Use smie--matching-block-data for
3974 show-paren-data-function.
3976 * progmodes/octave.el (octave-mode-menu): Fix.
3977 (octave-find-definition): Skip garbage lines.
3979 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3981 Fix compilation error with simultaneous dynamic+lexical scoping.
3982 Add warning when a defvar appears after the first let-binding.
3983 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3984 (byte-compile-close-variables): Initialize it.
3985 (byte-compile--declare-var): New function.
3986 (byte-compile-file-form-defvar)
3987 (byte-compile-file-form-define-abbrev-table)
3988 (byte-compile-file-form-custom-declare-variable): Use it.
3989 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3990 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3991 (byte-compile-bind): Handle dynamic bindings that shadow
3993 (byte-compile-unbind): Make arg non-optional.
3994 (byte-compile-let): Simplify.
3995 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3996 (cconv--analyse-function, cconv-analyse-form): Populate it.
3997 Protect byte-compile-bound-variables to limit the scope of defvars.
3998 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3999 Remove unneeded rule for `declare'.
4001 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4002 so as to avoid depending on cl-adjoin at run-time.
4003 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4005 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4006 (macroexp--warn-and-return): Use it.
4008 2013-06-05 Leo Liu <sdl.web@gmail.com>
4010 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4012 2013-06-04 Leo Liu <sdl.web@gmail.com>
4014 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4015 (compilation-auto-jump): Suppress the "Mark set" message to give
4016 way to exit message.
4018 2013-06-04 Alan Mackenzie <acm@muc.de>
4020 Remove faulty optimisation from indentation calculation.
4021 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4022 search limit based on 2000 characters back from indent-point.
4024 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4026 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4028 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4030 * emacs-lisp/lisp.el: Use lexical-binding.
4031 (lisp--local-variables-1, lisp--local-variables): New functions.
4032 (lisp--local-variables-completion-table): New var.
4033 (lisp-completion-at-point): Use it complete let-bound vars.
4035 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4036 eagerly (bug#14422).
4038 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4040 * autorevert.el (auto-revert-notify-enabled)
4041 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4042 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4043 (auto-revert-notify-handler): Handle also gfilenotify.
4045 * subr.el (file-notify-handle-event): New defun. Replacing ...
4046 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4049 2013-06-03 Juri Linkov <juri@jurta.org>
4051 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4052 `M-s h .'. (Bug#14427)
4054 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4055 command `hi-lock-face-symbol-at-point'.
4056 (hi-lock-face-symbol-at-point): New command.
4057 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4058 (hi-lock-menu): Add `highlight-symbol-at-point'.
4059 (hi-lock-mode): Doc fix.
4061 * isearch.el (isearch-forward-symbol-at-point): New command.
4062 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4063 (isearch-highlight-regexp): Add a regexp which matches
4064 words/symbols for word/symbol mode.
4066 * subr.el (find-tag-default-bounds): New function with the body
4067 mostly moved from `find-tag-default'.
4068 (find-tag-default): Move most code to `find-tag-default-bounds',
4069 call it and apply `buffer-substring-no-properties' afterwards.
4071 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4073 * eshell/em-term.el (eshell-term-initialize):
4074 Use `cl-intersection' rather than `intersection'.
4076 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4078 * vc/log-view.el: Doc fix.
4079 (log-view-mode-map): Copy keymap from `special-mode-map'.
4081 2013-06-02 Eric Ludlam <zappo@gnu.org>
4083 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4084 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4085 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4086 (eieio-unbound, eieio-default-superclass)
4087 (eieio--define-field-accessors, method-static, method-before)
4088 (method-primary, method-after, method-num-lists)
4089 (method-generic-before, method-generic-primary)
4090 (method-generic-after, method-num-slots)
4091 (eieio-specialized-key-to-generic-key)
4092 (eieio--check-type, class-v, class-p)
4093 (eieio-class-name, define-obsolete-function-alias)
4094 (eieio-class-parents-fast, eieio-class-children-fast)
4095 (same-class-fast-p, class-constructor, generic-p)
4096 (generic-primary-only-p, generic-primary-only-one-p)
4097 (class-option-assoc, class-option, eieio-object-p)
4098 (class-abstract-p, class-method-invocation-order)
4099 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4100 (eieio-class-un-autoload, eieio-defclass)
4101 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4102 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4103 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4104 (eieio-defgeneric-reset-generic-form)
4105 (eieio-defgeneric-form-primary-only)
4106 (eieio-defgeneric-reset-generic-form-primary-only)
4107 (eieio-defgeneric-form-primary-only-one)
4108 (eieio-defgeneric-reset-generic-form-primary-only-one)
4109 (eieio-unbind-method-implementations)
4110 (eieio--defmethod, eieio--typep)
4111 (eieio-perform-slot-validation, eieio-validate-slot-value)
4112 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4113 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4114 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4115 (eieio-slot-name-index, eieio-class-slot-name-index)
4116 (eieio-set-defaults, eieio-initarg-to-attribute)
4117 (eieio-attribute-to-initarg, eieio-c3-candidate)
4118 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4119 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4120 (eieio-class-precedence-list, eieio-generic-call-methodname)
4121 (eieio-generic-call-arglst, eieio-generic-call-key)
4122 (eieio-generic-call-next-method-list)
4123 (eieio-pre-method-execution-functions, eieio-generic-call)
4124 (eieio-generic-call-primary-only, eieiomt-method-list)
4125 (eieiomt-optimizing-obarray, eieiomt-install)
4126 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4127 (eieio-generic-form, eieio-defmethod, make-obsolete)
4128 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4129 (defclass): Remove `eval-and-compile' from macro.
4130 (call-next-method, shared-initialize): Instead of using
4131 `scoped-class' variable, use new eieio--scoped-class, and
4132 eieio--with-scoped-class.
4133 (initialize-instance): Rename local variable 'scoped-class' to
4134 'this-class' to remove ambiguitity from old global.
4136 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4138 (eieio--scoped-class-stack): New variable.
4139 (eieio--scoped-class): New fcn.
4140 (eieio--with-scoped-class): New scoping macro.
4141 (eieio-defclass): Use pushnew instead of add-to-list.
4142 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4143 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4144 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4145 `scoped-class' variable, use new eieio--scoped-class, and
4146 eieio--with-scoped-class.
4148 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4150 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4152 * eshell/esh-ext.el (eshell-external-command): Pass args to
4153 `eshell-find-interpreter'.
4154 (eshell-find-interpreter): Add new second parameter ARGS.
4156 * eshell/em-script.el (eshell-script-initialize): Add second arg
4157 to the function added as MATCH to `eshell-interpreter-alist'.
4159 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4160 the function added as MATCH to `eshell-interpreter-alist'.
4162 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4163 (eshell-visual-options): New defcustom.
4164 (eshell-escape-control-x): Adapt docstring.
4165 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4166 `eshell-visual-options' in addition to `eshell-visual-commands'.
4167 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4169 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4171 * progmodes/python.el (python-indent-block-enders): Add break,
4172 continue and raise keywords.
4174 2013-06-01 Glenn Morris <rgm@gnu.org>
4176 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4178 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4179 * progmodes/cc-cmds.el (delete-forward-p):
4180 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4181 * progmodes/cc-engine.el (buffer-syntactic-context):
4182 * progmodes/cc-fonts.el (face-property-instance):
4183 * progmodes/cc-mode.el (set-keymap-parents):
4184 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4185 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4186 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4187 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4188 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4190 * progmodes/cc-vars.el (other): Emacs has this widget since
4191 at least 21.1, so don't (re)define it.
4193 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4194 Replace the obsolete alias pcomplete-arg-quote-list.
4196 2013-06-01 Leo Liu <sdl.web@gmail.com>
4198 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4200 (inferior-octave-minimal-columns)
4201 (inferior-octave-last-column-width): New variables.
4202 (inferior-octave-track-window-width-change): New function.
4203 (inferior-octave-mode): Adjust column width so that Octave output,
4204 for example from 'ls', can fit into the window nicely.
4206 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4208 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4209 Highlight expansions inside regexp literals.
4211 2013-05-31 Glenn Morris <rgm@gnu.org>
4213 * obsolete/sym-comp.el (symbol-complete):
4214 Replace obsolete completion-annotate-function.
4216 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4218 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4220 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4221 New function, checks if point is inside a literal that allows
4222 expression expansion.
4223 (ruby-syntax-propertize-expansion): Use it.
4224 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4227 2013-05-30 Juri Linkov <juri@jurta.org>
4229 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4231 (isearch-invisible): New variable.
4232 (isearch-forward): Doc fix.
4233 (isearch-mode): Set `isearch-invisible'
4234 to the value of `search-invisible'.
4235 (isearch-toggle-case-fold): Doc fix.
4236 (isearch-toggle-invisible): New command.
4237 (isearch-query-replace): Let-bind `search-invisible'
4238 to the value of `isearch-invisible'.
4239 (isearch-search): Use `isearch-invisible' instead of
4240 `search-invisible'. Let-bind `search-invisible'
4241 to the value of `isearch-invisible'. (Bug#11378)
4243 2013-05-30 Juri Linkov <juri@jurta.org>
4245 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4246 call when `query-flag' is nil and `search-invisible' is non-nil.
4249 2013-05-30 Glenn Morris <rgm@gnu.org>
4251 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4253 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4254 (cc-require): Suppress spurious "noruntime" warnings.
4255 (cc-require-when-compile): Use fboundp, for sake of compiler.
4257 * progmodes/cc-mode.el: Move load of cc-vars before that of
4258 cc-langs (which in turn loads cc-vars), to quieten compiler.
4260 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4262 * paren.el: Simplify the code.
4263 (show-paren-mode): Always start the timer.
4264 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4265 (show-paren--overlay, show-paren--overlay-1): Rename from
4266 show-paren-overlay and show-paren-overlay-1, and initialize to an
4267 overlay rather than to nil.
4268 (show-paren-function): Misc cleanup and simplifications.
4270 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4272 * paren.el (show-paren-data-function): New hook.
4273 (show-paren--default): New function, extracted from show-paren-function.
4274 (show-paren-function): Use show-paren-data-function.
4276 2013-05-30 Glenn Morris <rgm@gnu.org>
4278 * ielm.el (ielm-map, ielm-complete-symbol):
4279 Use completion-at-point rather than obsolete functions.
4280 (inferior-emacs-lisp-mode): Doc fix.
4281 Set completion-at-point-functions, rather than
4282 comint-dynamic-complete-functions.
4284 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4285 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4286 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4288 * image.el (image-animated-p): Tweak definition.
4290 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4291 (rlogin-process-connection-type): Tweak default. Add set-after.
4292 (rlogin-host): Doc fix.
4293 (rlogin): Tweak prompt.
4294 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4296 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4297 * progmodes/tcl.el (inferior-tcl-mode-map):
4298 Use completion-at-point rather than obsolete alias.
4300 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4302 * minibuffer.el (read-file-name-completion-ignore-case):
4303 Move before completion--in-region, for eager macro expansion.
4305 2013-05-29 Juri Linkov <juri@jurta.org>
4307 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4308 for total count of matching lines. Add `global-matches' for total
4309 count of matches. Rename `matches' to `lines' for count of
4310 matching lines. Add `matches' for count of matches.
4311 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4312 to `prev-line' for line number of prev match endpt.
4313 Increment `matches' for every match. Print the number of
4314 matching lines in the header.
4315 (occur-context-lines): Rename `lines' to `curr-line'.
4316 Rename `prev-lines' to `prev-line'. (Bug#14017)
4318 2013-05-29 Juri Linkov <juri@jurta.org>
4320 * replace.el (perform-replace): Add `skip-read-only-count',
4321 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4322 Increment them for corresponding conditions and report the number
4323 of skipped occurrences in the final message. (Bug#11746)
4324 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4325 (replace-string, replace-regexp): Doc fix.
4327 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4329 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4331 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
4332 prog-mode-map (bug#14504).
4334 2013-05-29 Leo Liu <sdl.web@gmail.com>
4336 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4337 (octave-help): Small simplification.
4339 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4340 off the highlight first.
4342 2013-05-29 Glenn Morris <rgm@gnu.org>
4344 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4345 Handle idlwave-last-system-routine-info-cons-cell being nil.
4347 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4348 (idlwave-write-paths): Simplify via with-temp-buffer.
4350 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4351 * emulation/cua-rect.el: Also load cua-base at run time.
4353 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4354 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4355 (cperl-imenu-on-info): Require imenu.
4357 2013-05-28 Alan Mackenzie <acm@muc.de>
4359 Handle "capitalised keywords" correctly.
4360 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
4362 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
4364 * eshell/em-unix.el: Add -r option to cp.
4366 2013-05-28 Glenn Morris <rgm@gnu.org>
4368 * vc/vc-arch.el (vc-exec-after): Declare.
4369 (vc-switches): Autoload.
4370 * vc/vc-bzr.el: No need to require vc when compiling.
4371 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4372 (vc-resynch-buffer, vc-dir-refresh): Declare.
4373 (vc-setup-buffer, vc-switches): Autoload.
4374 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4375 (vc-resynch-buffer): Declare.
4376 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
4377 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
4378 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4379 (grep-read-regexp, grep-read-files, grep-expand-template)
4380 (vc-dir-refresh): Declare.
4381 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4382 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4383 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
4384 * vc/vc-mtn.el (vc-exec-after): Declare.
4385 (vc-switches): Autoload.
4386 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4387 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4388 (vc-file-tree-walk): Declare.
4389 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4390 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4391 (vc-tag-precondition, vc-rename-master): Autoload.
4392 * vc/vc-svn.el (vc-exec-after): Declare.
4393 (vc-switches, vc-setup-buffer): Autoload.
4394 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4396 (vc-resynch-buffer): Declare.
4398 * obsolete/fast-lock.el (byte-compile-warnings):
4399 Don't warn about obsolete features in this obsolete file.
4401 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4402 Move definition before use.
4404 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4405 (dun-unix-verbs): Remove dun-zippy.
4406 (dun-zippy): Remove function.
4408 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4410 2013-05-27 Juri Linkov <juri@jurta.org>
4412 * replace.el (replace-search): New function with code moved out
4413 from `perform-replace'.
4414 (replace-highlight, replace-dehighlight): Move function definitions
4415 up closer to `replace-search'. (Bug#11746)
4417 2013-05-27 Juri Linkov <juri@jurta.org>
4419 * replace.el (perform-replace): Ignore invisible matches.
4420 In addition to checking `query-replace-skip-read-only', also
4421 filter out matches by calling `run-hook-with-args-until-failure'
4422 on `isearch-filter-predicates', and also check `search-invisible'
4423 for t or call `isearch-range-invisible'.
4424 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4426 2013-05-27 Juri Linkov <juri@jurta.org>
4428 * isearch.el (isearch-filter-predicates): Rename from
4429 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4430 (isearch-message-prefix): Display text from the property
4431 `isearch-message-prefix' of the currently active filters.
4432 (isearch-search): Don't compare `isearch-filter-predicate' with
4433 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4434 on `isearch-filter-predicates'. Also check `search-invisible' for t
4435 or call `isearch-range-invisible'.
4436 (isearch-filter-visible): Make obsolete.
4437 (isearch-lazy-highlight-search):
4438 Call `run-hook-with-args-until-failure' on
4439 `isearch-filter-predicates' and use `isearch-range-invisible'.
4441 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4442 `isearch-filter-predicates' instead of `funcall'ing
4443 `isearch-filter-predicate'.
4444 (Info-mode): Set `Info-isearch-filter' to
4445 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4447 * dired-aux.el (dired-isearch-filter-predicate-orig):
4449 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4450 (dired-isearch-filenames-end): Add and remove
4451 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4452 instead of changing the value of `isearch-filter-predicate'.
4453 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4454 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4455 Put property `isearch-message-prefix' to "filename " on
4456 `dired-isearch-filter-filenames'.
4458 * wdired.el (wdired-change-to-wdired-mode):
4459 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4460 locally instead of changing `isearch-filter-predicate'.
4461 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4463 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4465 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4466 return the commit hash (Bug#14459). Also set the
4467 `vc-git-detached' property.
4468 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4469 (vc-git-mode-line-string): Use the same help-echo format whether
4470 in detached mode or not, because we know the actual revision now.
4471 When in detached mode, shorten the revision to 7 chars.
4473 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * emacs-lisp/easy-mmode.el (define-minor-mode):
4476 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4477 mode hook and provide a docstring.
4479 2013-05-27 Alan Mackenzie <acm@muc.de>
4481 Remove spurious syntax-table text properties inserted by C-y.
4482 * progmodes/cc-mode.el (c-after-change): Also clear hard
4483 syntax-table property with value nil.
4485 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
4487 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4488 when reading the events; the buffer layout shall not be changed.
4490 2013-05-27 Leo Liu <sdl.web@gmail.com>
4492 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4494 (inferior-octave-directory-tracker): Automatically re-sync
4496 (octave-help): Improve handling of 'See also'.
4498 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4500 * doc-view.el: Minor naming convention tweaks.
4501 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4503 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4504 even if there's no `display' property yet (bug#14435).
4506 2013-05-25 Eli Zaretskii <eliz@gnu.org>
4508 * subr.el (unmsys--file-name): Rename from reveal-filename.
4510 * Makefile.in (custom-deps, finder-data, autoloads)
4511 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4512 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4513 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4515 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4517 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4518 error-completion on the first 2 args of condition-case (bug#14446).
4521 2013-05-25 Leo Liu <sdl.web@gmail.com>
4523 * comint.el (comint-previous-matching-input): Do not flood the
4524 *Messages* buffer with trivial messages.
4526 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4528 * progmodes/flymake.el (flymake-nop): Don't return a string.
4529 (flymake-set-at): Fix typo.
4531 * simple.el (read--expression): New function, extracted from
4532 eval-expression. Set completion-at-point-functions (bug#14465).
4533 (eval-expression, eval-minibuffer): Use it.
4535 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4537 * progmodes/flymake.el (flymake-save-buffer-in-file)
4538 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4539 (flymake-selected-frame, flymake-log, flymake-ins-after)
4540 (flymake-set-at, flymake-get-buildfile-from-cache)
4541 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4542 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4543 Refine the doc string.
4544 (flymake-get-file-name-mode-and-masks): Reformat.
4545 (flymake-get-real-file-name-function): Fix a minor bug.
4547 2013-05-24 Juri Linkov <juri@jurta.org>
4549 * progmodes/grep.el (grep-mode-font-lock-keywords):
4550 Support =linenumber= format used by git-grep for lines with
4551 function names. (Bug#13549)
4553 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4556 0 after a semi-colon; it works better for smie-auto-fill.
4557 (octave--indent-new-comment-line): New function.
4558 (octave-indent-new-comment-line): Use it (indirectly).
4559 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4560 modify comment-line-break-function.
4562 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4563 (smie-setup): Use add-function to set it.
4565 2013-05-24 Sam Steingold <sds@gnu.org>
4567 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4568 argument (before the `interactive' argument).
4570 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * image-mode.el (image-mode-winprops): Add winprops to
4573 image-mode-winprops-alist before running
4574 image-mode-new-window-functions.
4575 * doc-view.el (doc-view-new-window-function): Don't delay
4576 doc-view-goto-page via timers (bug#14435).
4578 2013-05-24 Tassilo Horn <tsdh@gnu.org>
4580 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4581 (doc-view-desktop-save-buffer): New function.
4582 (doc-view-restore-desktop-buffer): New function.
4583 (desktop-buffer-mode-handlers):
4584 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
4586 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4587 `desktop-save-buffer' function.
4589 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
4591 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4592 (tramp-gvfs-file-name-handler): Raise a user error when
4593 `tramp-gvfs-enabled' is nil.
4594 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4595 Do not raise a user error when loading package. (Bug#14447)
4597 * net/xesam.el: Move to obsolete/.
4599 2013-05-24 Glenn Morris <rgm@gnu.org>
4601 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4603 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4605 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4606 (Info-find-node, Man-getpage-in-background): Declare.
4608 * mail/unrmail.el (unrmail):
4609 Replace obsolete detect-coding-with-priority.
4611 * net/socks.el (socks-split-string): Use this rather than split-string.
4612 (socks-nslookup-host): Update for above change.
4613 (dynamic-choice, s5-dynamic-choice-match)
4614 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4615 Comment out unused code.
4617 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4618 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4619 (gud-tooltip-echo-area): Make obsolete.
4620 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4622 * progmodes/js.el (js--optimize-arglist): Declare.
4624 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4626 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4627 (ediff-window-C): Declare.
4629 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4630 Tweak requires to silence compiler.
4632 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4633 (he-search-string, he-tried-table, he-expand-list)
4634 (he-init-string, he-string-member, he-substitute-string)
4635 (he-reset-string): Declare.
4637 * obsolete/options.el (list-options): Use custom-variable-p,
4638 rather than obsolete alias.
4640 2013-05-23 Sam Steingold <sds@gnu.org>
4642 * simple.el (shell-command-on-region): Pass the `replace' argument
4643 down to `call-process-region' to comply with the doc as reported on
4644 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4646 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * emacs-lisp/smie.el (smie-indent-forward-token)
4649 (smie-indent-backward-token): Handle string tokens (bug#14381).
4651 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4653 * ielm.el (ielm-menu): New menu.
4654 (inferior-emacs-lisp-mode): Set comment-start.
4656 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4658 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4659 Fix deactivate action.
4661 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4662 Add cleveref macros.
4664 * lisp/textmodes/reftex-parse.el
4665 (reftex-locate-bibliography-files): Accept options for
4666 bibliography commands.
4667 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4668 Add addbibresource. Basic Biblatex support.
4670 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4672 * net/tramp-gvfs.el (top):
4673 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4674 when loading package. (Bug#14447)
4676 2013-05-23 Glenn Morris <rgm@gnu.org>
4678 * progmodes/js.el: No need to load comint when compiling.
4679 (ring-insert, comint-send-string, comint-send-input)
4680 (comint-last-input-end, ido-chop): Declare.
4682 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4683 * vc/ediff-mult.el: Adjust requires.
4684 (ediff-directories-internal, ediff-directory-revisions-internal)
4685 (ediff-patch-file-internal): Declare.
4686 * vc/ediff-ptch.el: Adjust requires.
4687 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4688 (ediff-find-file): Autoload.
4689 * vc/ediff-util.el: No need to load ediff when compiling.
4690 (ediff-regions-internal): Declare.
4691 * vc/ediff-wind.el: Adjust requires.
4692 (ediff-compute-toolbar-width): Define when compiling.
4693 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4694 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4695 (dired-get-filename, dired-get-marked-files)
4696 (ediff-last-dir-patch, ediff-patch-default-directory)
4697 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4698 (ediff-patch-buffer-internal): Declare.
4700 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4701 (ispell-process, ispell-buffer-local-words, lm-summary)
4702 (lm-section-start, lm-section-end): Declare.
4703 (checkdoc-ispell-init): Simplify.
4705 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4706 (he-string-member, he-reset-string, he-substitute-string): Declare.
4708 * eshell/em-ls.el: Adjust requires.
4709 (eshell-glob-regexp): Declare.
4710 * eshell/em-tramp.el: Adjust requires.
4711 (eshell-parse-command): Autoload.
4712 * eshell/em-xtra.el: Adjust requires.
4713 (eshell-parse-command): Autoload.
4714 * eshell/esh-ext.el: Adjust requires.
4715 (eshell-parse-command, eshell-close-handles): Autoload.
4716 * eshell/esh-io.el: Adjust requires.
4717 (eshell-output-filter): Autoload.
4718 * eshell/esh-util.el: No need to load tramp when compiling.
4719 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4721 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4722 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4723 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4724 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4725 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4726 * eshell/esh-opt.el, eshell/esh-proc.el:
4727 * eshell/esh-var.el: Adjust requires.
4728 * eshell/eshell.el: Do not require esh-util twice.
4729 (eshell-add-input-to-history): Declare.
4730 (eshell-command): Check history module is active before using it.
4732 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4734 2013-05-22 Leo Liu <sdl.web@gmail.com>
4736 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4738 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4740 * autorevert.el (auto-revert-notify-add-watch)
4741 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4742 it indicates changes in file modification time.
4744 2013-05-22 Glenn Morris <rgm@gnu.org>
4746 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4747 Always delete the autoloaded function from the noruntime and
4748 unresolved functions lists.
4750 * allout.el: No need to load epa, epg, overlay when compiling.
4751 (epg-context-set-passphrase-callback, epg-list-keys)
4752 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4753 (epg-key-user-id-list): Declare.
4755 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4756 (viper-set-parsing-style-toggling-macro)
4757 (viper-set-emacs-state-searchstyle-macros):
4758 Use called-interactively-p on Emacs.
4759 (viper-looking-back): Make it an obsolete alias. Update callers.
4760 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4761 Use looking-back rather than viper-looking-back.
4762 (viper-tmp-insert-at-eob, viper-enlarge-region)
4763 (viper-read-string-with-history, viper-register-to-point)
4764 (viper-append-to-register, viper-change-state-to-vi)
4765 (viper-backward-char-carefully, viper-forward-char-carefully)
4766 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4767 (viper-change-state-to-emacs): Declare.
4768 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4769 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4770 * emulation/viper-mous.el: Do not load viper-cmd.
4771 (viper-backward-char-carefully, viper-forward-char-carefully)
4772 (viper-forward-word, viper-adjust-window): Declare.
4774 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4776 * progmodes/idlw-help.el (idlwave-help-fontify):
4777 Use called-interactively-p.
4779 * term/w32console.el (w32-get-console-codepage)
4780 (w32-get-console-output-codepage): Declare.
4782 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4783 Remove unnecessary declarations.
4784 (dframe-message): Doc fix.
4786 * info.el (dframe-select-attached-frame, dframe-current-frame):
4789 * speedbar.el (speedbar-message): Make it an obsolete alias.
4791 (speedbar-with-attached-buffer)
4792 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4793 (speedbar-with-writable): Use backquote.
4794 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4795 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4796 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4797 rather than speedbar- aliases.
4798 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4799 (speedbar-make-specialized-keymap, speedbar-insert-button)
4800 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4801 (speedbar-do-function-pointer): Declare.
4802 (rmail-speedbar-button, rmail-speedbar-find-file)
4803 (rmail-speedbar-move-message):
4804 Use dframe-with-attached-buffer rather than speedbar- alias.
4805 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4806 (dframe-message, speedbar-make-specialized-keymap)
4807 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4808 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4809 (speedbar-insert-button, dframe-select-attached-frame)
4810 (dframe-maybee-jump-to-attached-frame)
4811 (speedbar-change-initial-expansion-list)
4812 (speedbar-previously-used-expansion-list-name): Declare.
4813 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4814 Use dframe-message, dframe-with-attached-buffer rather than
4816 (gud-sentinel): Silence compiler.
4817 * progmodes/vhdl-mode.el (speedbar-refresh)
4818 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4819 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4820 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4821 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4822 (speedbar-file-lists, speedbar-make-tag-line)
4823 (speedbar-line-directory, speedbar-goto-this-file)
4824 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4825 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4826 (speedbar-make-button, speedbar-reset-scanners)
4827 (speedbar-files-item-info, speedbar-line-text)
4828 (speedbar-find-file-in-frame, speedbar-set-timer)
4829 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4830 (speedbar-with-writable): Do not (re)define it.
4831 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4832 rather than speedbar- alias.
4834 2013-05-21 Leo Liu <sdl.web@gmail.com>
4836 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4838 (octave-mode): Tweak fill-nobreak-predicate.
4839 (inferior-octave-startup): Check process to avoid infinite loop.
4840 (inferior-octave): Pop to buffer first to show abornmal process
4843 2013-05-21 Glenn Morris <rgm@gnu.org>
4845 * printing.el (pr-menu-bar): Define when compiling.
4847 2013-05-21 Leo Liu <sdl.web@gmail.com>
4849 * progmodes/octave.el (octave-auto-fill): Remove.
4850 (octave-indent-new-comment-line): Improve.
4851 (octave-mode): Use auto fill mode through
4852 comment-line-break-function and fill-nobreak-predicate.
4853 (octave-goto-function-definition): Support DEFUN_DLD.
4854 (octave-beginning-of-defun): Small tweak.
4855 (octave-help): Show parent directory.
4857 2013-05-21 Glenn Morris <rgm@gnu.org>
4859 * files.el (dired-unmark):
4860 * progmodes/gud.el (gdb-input): Update declarations.
4862 * calculator.el (electric, ehelp): No need to load when compiling.
4863 (Electric-command-loop, electric-describe-mode): Declare.
4865 * doc-view.el (doc-view-current-converter-processes): Move before use.
4867 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4868 Move MODE-set-explicitly definition before use.
4870 * international/mule-diag.el (mule-diag):
4871 Don't use obsolete window-system-version.
4873 * mail/feedmail.el (smtpmail): No need to load when compiling.
4874 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4876 * mail/mail-utils.el (rfc822): No need to load when compiling.
4877 (rfc822-addresses): Autoload it.
4878 (mail-strip-quoted-names): Trivial simplification.
4880 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4881 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4883 * net/snmp-mode.el (tempo): Don't duplicate requires.
4885 * progmodes/prolog.el (info): No need to load when compiling.
4886 (comint): Require before shell requires it.
4887 (Info-goto-node): Autoload it.
4888 (Info-follow-nearest-node): Declare.
4889 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4891 * textmodes/artist.el (picture-mode-exit): Declare.
4893 * textmodes/reftex-parse.el (reftex-parse-from-file):
4894 Trivial rewrite so the compiler can parse it better.
4896 2013-05-20 Leo Liu <sdl.web@gmail.com>
4898 * progmodes/octave.el (octave-help-mode-map)
4899 (octave-help-mode-finish-hook): New variables.
4900 (octave-help-mode, octave-help-mode-finish): New functions.
4901 (octave-help): Use octave-help-mode.
4903 2013-05-20 Glenn Morris <rgm@gnu.org>
4905 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4907 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4909 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4910 start at point, so that expansion starting right after opening
4911 slash in a regexp is recognized.
4912 (ruby-syntax-before-regexp-re): New defvar, extracted from
4913 ruby-syntax-propertize-function. Since the value of this regexp
4914 is looked up at runtime now, we should be able to turn
4915 `ruby-syntax-methods-before-regexp' into a defcustom later.
4916 (ruby-syntax-propertize-function): Split regexp matching into two
4917 parts, for opening and closing slashes. That allows us to skip
4918 over string interpolations and support multiline regexps.
4919 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4920 for them, which calls `ruby-syntax-propertize-expansion'.
4921 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4922 call to `ruby-syntax-propertize-function'.
4923 (ruby-syntax-propertize-expansion): Extracted from
4924 `ruby-syntax-propertize-expansions'. Handles one expansion.
4925 (ruby-syntax-propertize-percent-literal): Leave point right after
4926 the percent symbol, so that the expression expansion rule can
4927 propertize the contents.
4928 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4930 (ruby-syntax-propertize-expansions): Remove.
4932 2013-05-18 Juri Linkov <juri@jurta.org>
4934 * man.el (Man-default-man-entry): Remove `-' from the end
4935 of the default value. (Bug#14400)
4937 2013-05-18 Glenn Morris <rgm@gnu.org>
4939 * comint.el (comint-password-prompt-regexp):
4940 Allow "password for XXX" where XXX contains colons (eg https://...).
4942 2013-05-18 Leo Liu <sdl.web@gmail.com>
4944 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4945 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4946 (octave-source-directories): Don't check process.
4947 (octave-source-directories, octave-find-definition): Doc fix.
4949 2013-05-18 Glenn Morris <rgm@gnu.org>
4951 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4952 Remove backspace/delete bindings. (Bug#14392)
4954 * cus-dep.el (custom-make-dependencies): Sort the output.
4955 (custom-versions-load-alist): Convert comment to doc.
4957 2013-05-17 Leo Liu <sdl.web@gmail.com>
4959 * newcomment.el (comment-search-backward): Stricter in finding
4960 comment start. (Bug#14303)
4962 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4963 (octave-comment-start-skip): Properly anchored.
4965 2013-05-17 Leo Liu <sdl.web@gmail.com>
4967 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4968 Clean up when turned off. (Bug#14395)
4969 (smie--highlight-matching-block-overlay): No longer buffer-local.
4970 (smie-highlight-matching-block): Adjust.
4972 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4974 Doc string fix for "nanoseconds" (Bug#14406).
4975 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4976 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4978 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4980 * calc/calc-units.el (math-extract-units): Preserve powers
4983 2013-05-17 Leo Liu <sdl.web@gmail.com>
4985 * subr.el (delete-consecutive-dups): New function.
4986 * ido.el (ido-set-matches-1): Use it.
4987 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4988 * ido.el (ido-remove-consecutive-dups): Remove.
4990 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4993 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4994 regexp-opt's `words'.
4996 2013-05-16 Leo Liu <sdl.web@gmail.com>
4998 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4999 (smie--highlight-matching-block-overlay)
5000 (smie--highlight-matching-block-lastpos)
5001 (smie--highlight-matching-block-timer): New variables.
5002 (smie-highlight-matching-block): New function.
5003 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5004 (smie-setup): Conditionally enable smie-blink-matching-open.
5006 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5008 Sync with upstream verilog-mode r840.
5009 * progmodes/verilog-mode.el (verilog-mode-version)
5010 (verilog-mode-release-date): Update.
5011 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5012 (verilog-sig-tieoff): Fix string error on
5013 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5014 (verilog-read-decls): Fix parameters confusing
5015 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5017 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5019 * subr.el (reveal-filename): New function.
5021 * loadup.el: Compute Emacs executable versions on MS-Windows,
5022 where executables have the .exe extension. Add a hard link
5023 emacs-XX.YY.ZZ.exe on MS-Windows.
5025 * Makefile.in (XARGS_LIMIT): New variable.
5026 (custom-deps, finder-data, autoloads)
5027 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5028 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5029 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5030 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5032 2013-05-16 Leo Liu <sdl.web@gmail.com>
5034 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5035 (octave-mode-menu, octave-mode-map): Remove its uses.
5037 2013-05-16 Reto Zimmermann <reto@gnu.org>
5039 Sync with upstream vhdl mode v3.34.2.
5040 * progmodes/vhdl-mode.el: Use `push' throughout.
5041 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5042 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5043 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5044 (vhdl-actual-generic-name): New option to derive actual generic name.
5045 (vhdl-port-paste-signals): Replace formal by actual generics.
5046 (vhdl-beautify): New name for old group vhdl-align. Update users.
5047 (vhdl-beautify-options): New option.
5048 (vhdl-last-input-event): New compat alias. Use throughout.
5049 (vhdl-goto-line): Replace user level function `goto-line'.
5050 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5051 vhdl-fix-statement-buffer.
5052 (vhdl-create-mode-menu): Add some entries.
5053 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5054 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5055 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5056 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5057 to force statements on one line.
5058 (vhdl-remove-trailing-spaces-region):
5059 New, split from vhdl-remove-trailing-spaces.
5060 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5061 Respect vhdl-beautify-options.
5062 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5063 (vhdl-update-sensitivity-list): Not add with index if exists without.
5064 Not include array index with signal. Ignore keywords in comments.
5065 (vhdl-get-visible-signals): Regexp tweaks.
5066 (vhdl-template-component-inst): Handle empty library.
5067 (vhdl-template-type): Add template for 'enum' type.
5068 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5069 Use vhdl-replace-string.
5070 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5071 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5072 (vhdl-speedbar-initialize): Update for above name change.
5073 (vhdl-compose-wire-components): Fix in handling of constants.
5074 (vhdl-error-regexp-emacs-alist): New variable.
5075 (vhdl-error-regexp-add-emacs): New function;
5076 adds support for new compile.el (Emacs 22+)
5077 (vhdl-generate-makefile-1): Change target order for single lib. units.
5078 Allow use of absolute file names.
5080 2013-05-16 Leo Liu <sdl.web@gmail.com>
5082 * simple.el (prog-indent-sexp): Indent enclosing defun.
5084 2013-05-15 Glenn Morris <rgm@gnu.org>
5086 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5087 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5088 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5089 (whitespace-highlight): Move to whitespace group.
5091 * comint.el (comint-source):
5092 * pcmpl-linux.el (pcmpl-linux):
5093 * shell.el (shell-faces):
5094 * eshell/esh-opt.el (eshell-opt):
5095 * international/ccl.el (ccl): Remove empty custom groups.
5097 * completion.el (dynamic-completion-mode):
5098 * jit-lock.el (jit-lock-debug-mode):
5099 * minibuffer.el (completion-in-region-mode):
5100 * type-break.el (type-break-mode-line-message-mode)
5101 (type-break-query-mode):
5102 * emulation/tpu-edt.el (tpu-edt-mode):
5103 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5104 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5105 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5107 * term/xterm.el (xterm): Change parent group to terminals.
5109 * master.el (master): Remove empty custom group.
5110 (master-mode): Remove unused :group argument.
5111 * textmodes/refill.el (refill): Remove empty custom group.
5112 (refill-mode): Remove unused :group argument.
5114 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5116 * cus-dep.el: Provide a feature.
5117 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5118 Don't mistakenly ignore files whose basenames match a basename
5119 from preloaded-file-list (eg cedet/ede/simple.el).
5120 Add a fallback method for getting :group.
5122 2013-05-15 Juri Linkov <juri@jurta.org>
5124 * isearch.el (isearch-char-by-name): Rename from
5125 `isearch-insert-char-by-name'. Doc fix.
5126 (isearch-forward): Mention `isearch-char-by-name' in
5127 the docstring. (Bug#13348)
5129 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5130 `exit-minibuffer' instead of
5131 `isearch-nonincremental-exit-minibuffer'.
5132 (isearch-edit-string): Remove mention of
5133 `isearch-nonincremental-exit-minibuffer' from docstring.
5134 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5135 (isearch-forward-exit-minibuffer)
5136 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5138 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * loadup.el: Just use unversioned DOC.
5142 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5143 literals as extending to EOB.
5144 (nxml-last-fontify-end): Remove unused variable.
5145 (nxml-after-change1): Use with-silent-modifications.
5146 (nxml-extend-after-change-region): Simplify.
5147 (nxml-extend-after-change-region1): Remove function.
5148 (nxml-after-change1): Don't adjust for dependent regions.
5149 (nxml-fontify-matcher): Simplify.
5150 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5151 (xmltok-add-dependent): Remove function.
5152 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5153 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5154 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5155 unclosed <[[, <?, comment, and other literals as extending to EOB.
5156 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5157 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5159 (rng-do-some-validation-1): Don't mark dependent regions.
5160 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5161 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5162 (nxml-clear-dependent-regions): Remove functions.
5163 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5164 (nxml-ensure-scan-up-to-date):
5165 Don't clear&mark dependent regions.
5167 2013-05-15 Leo Liu <sdl.web@gmail.com>
5169 * progmodes/octave.el (octave-goto-function-definition):
5170 Improve and fix callers.
5172 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5174 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5175 the setter (bug#14387).
5177 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5178 surrounding group (bug#14402).
5180 2013-05-14 Juri Linkov <juri@jurta.org>
5182 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5185 2013-05-14 Glenn Morris <rgm@gnu.org>
5187 * progmodes/f90.el (f90-imenu-generic-expression):
5188 Fix typo in 2013-05-08 change. (Bug#14402)
5190 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5192 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5193 Remove signals for which replies are never received.
5195 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5197 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5198 (gdb-handler-alist, gdb-handler-number): Remove variables.
5199 (gdb-handler-list): New variable.
5200 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5201 (gdb-pending-handler-p, gdb-handle-reply)
5202 (gdb-remove-all-pending-triggers): New functions.
5203 (gdb-discard-unordered-replies): New defcustom.
5204 (gdb-handler): New defstruct.
5205 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5206 instead of gdb-pending-triggers. Update docstring.
5207 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5208 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5209 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5210 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5211 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5212 (gdb-frame-handler): Pending triggers are now automatically managed.
5213 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5215 (gdb-input): Automatically handles pending triggers. Update docstring.
5216 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5217 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5219 (gdb-done-or-error): Now use gdb-handle-reply.
5221 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5223 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5226 2013-05-14 Glenn Morris <rgm@gnu.org>
5228 * subr.el (user-emacs-directory-warning): New option.
5229 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5231 2013-05-14 Leo Liu <sdl.web@gmail.com>
5233 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5235 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5236 (octave-font-lock-texinfo-comment): Fix invalid search bound
5237 error: wrong side of point.
5239 2013-05-14 Glenn Morris <rgm@gnu.org>
5241 * progmodes/flymake.el (flymake-xml-program): New option.
5242 (flymake-xml-init): Use it.
5244 * term/xterm.el: Provide a feature.
5246 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5248 2013-05-13 Glenn Morris <rgm@gnu.org>
5250 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5251 Add compat aliases as a hack workaround. (Bug#14384)
5253 2013-05-13 Leo Liu <sdl.web@gmail.com>
5255 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5257 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5259 (octave-comment-start-skip): Include %!.
5260 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5262 2013-05-12 Leo Liu <sdl.web@gmail.com>
5264 * progmodes/octave.el (inferior-octave-startup): Store the value
5265 of __octave_srcdir__ for octave-source-directories.
5266 (inferior-octave-check-process): New function refactored out of
5267 inferior-octave-send-list-and-digest.
5268 (octave-source-directories)
5269 (octave-find-definition-filename-function): New variables.
5270 (octave-source-directories)
5271 (octave-find-definition-default-filename): New functions.
5272 (octave-find-definition): Improve to find functions implemented in C++.
5274 2013-05-12 Glenn Morris <rgm@gnu.org>
5276 * calendar/diary-lib.el (diary-outlook-format-1):
5277 Don't include dayname in the output. (Bug#14349)
5279 2013-05-11 Glenn Morris <rgm@gnu.org>
5281 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5283 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5284 Treat cc-provide like provide.
5286 2013-05-11 Kevin Ryde <user42@zip.com.au>
5288 * cus-dep.el (custom-make-dependencies):
5289 Use generated-autoload-load-name for the sake of files such
5290 such cedet/semantic/bovine/c.el, where the base file name
5291 is not in load-path. (Bug#5277)
5293 2013-05-11 Glenn Morris <rgm@gnu.org>
5295 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5298 2013-05-11 Leo Liu <sdl.web@gmail.com>
5300 * progmodes/octave.el (octave-indent-comment): Improve.
5301 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5302 (octave-eldoc-function-signatures, octave-eldoc-function):
5304 (octave-mode, inferior-octave-mode): Add eldoc support.
5306 2013-05-11 Richard Stallman <rms@gnu.org>
5308 * epa.el (epa-decrypt-file): Take output file name as argument
5309 and read it using `interactive'.
5311 2013-05-11 Leo Liu <sdl.web@gmail.com>
5313 * progmodes/octave.el (octave-beginning-of-line)
5314 (octave-end-of-line): Check before using up-list because it jumps
5315 out of more syntactic contructs since moving to smie.
5316 (octave-indent-comment): New function.
5317 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
5318 (octave-begin-keywords, octave-end-keywords)
5319 (octave-reserved-words, octave-smie-bnf-table)
5320 (octave-smie-rules): Add new keywords from Octave 3.6.4.
5322 2013-05-11 Glenn Morris <rgm@gnu.org>
5324 * faces.el (internal-face-x-get-resource):
5325 * frame.el (ns-display-monitor-attributes-list):
5326 * calc/calc-aent.el (math-to-radians-2):
5327 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
5330 * calc/calc-menu.el: Make it loadable in isolation.
5332 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5333 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5334 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5335 (eudc-bbdb-query-internal): Require 'bbdb.
5337 * lpr.el (lpr-headers-switches):
5338 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5340 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5342 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5344 * term.el (term-set-escape-char): Make it idempotent.
5346 2013-05-10 Leo Liu <sdl.web@gmail.com>
5348 * progmodes/octave.el (inferior-octave-completion-table):
5349 No longer a function and all uses changed. Use cache to speed up
5350 completion due to bug#11906.
5351 (octave-beginning-of-defun): Re-write to be more general.
5353 2013-05-10 Glenn Morris <rgm@gnu.org>
5355 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5357 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * comint.el (comint-redirect-send-command-to-process): Use :around
5360 rather than :override for comint-redirect-filter.
5361 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5362 Call it instead of comint-redirect-original-filter-function (which
5363 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5365 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5367 * frame.el (display-monitor-attributes-list): Add NS case.
5368 (ns-display-monitor-attributes-list): Declare.
5370 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
5372 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5374 2013-05-09 Glenn Morris <rgm@gnu.org>
5376 * international/fontset.el (vertical-centering-font-regexp):
5379 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5381 * bookmark.el (bookmark-search-delay):
5382 * cus-start.el (vertical-centering-font-regexp):
5383 * ps-mule.el (ps-mule-font-info-database-default):
5384 * ps-print.el (ps-default-fg, ps-default-bg):
5385 * type-break.el (type-break-good-break-interval):
5386 * whitespace.el (whitespace-indentation-regexp)
5387 (whitespace-space-after-tab-regexp):
5388 * emacs-lisp/testcover.el (testcover-1value-functions)
5389 (testcover-noreturn-functions, testcover-progn-functions)
5390 (testcover-prog1-functions):
5391 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5392 * eshell/em-glob.el (eshell-glob-translate-alist):
5393 * play/tetris.el (tetris-tty-colors):
5394 * progmodes/cpp.el (cpp-face-default-list):
5395 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5396 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5397 (idlwave-help-browser-generic-args):
5398 * progmodes/make-mode.el (makefile-special-targets-list):
5399 * progmodes/python.el (python-shell-virtualenv-path):
5400 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5401 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5402 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5403 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5404 * textmodes/reftex-vars.el (reftex-format-label-function):
5405 * textmodes/remember.el (remember-diary-file): Fix custom types.
5407 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5410 2013-05-09 Leo Liu <sdl.web@gmail.com>
5412 * progmodes/octave.el (inferior-octave-completion-at-point):
5413 Restore file completion. (Bug#14300)
5414 (inferior-octave-startup): Fix incorrect highlighting for the
5417 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5419 * progmodes/ruby-mode.el: First cut at SMIE support.
5420 (ruby-use-smie): New var.
5421 (ruby-smie-grammar): New constant.
5422 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5423 (ruby-smie--forward-token, ruby-smie--backward-token)
5424 (ruby-smie-rules): New functions.
5425 (ruby-mode-variables): Setup SMIE if applicable.
5427 2013-05-08 Eli Zaretskii <eliz@gnu.org>
5429 * simple.el (line-move-visual): Signal beginning/end of buffer
5430 only if vertical-motion moved less than it was requested. Avoids
5431 silly incorrect error messages when there are display strings with
5432 multiple newlines at EOL.
5434 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5437 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5438 (prolog-char-quote-workaround):
5439 * progmodes/cperl-mode.el (cperl-under-as-char):
5440 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
5442 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
5444 (vhdl-mode-syntax-table-init): Remove.
5446 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5449 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5451 (ld-script-font-lock-keywords):
5452 Change regexps to use things like \_< and \_>.
5454 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5455 Change all regexps to use things like \_< and \_>.
5457 * progmodes/autoconf.el (autoconf-definition-regexp)
5458 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5459 Handle a _ with symbol syntax.
5460 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5462 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5463 Consolidate declaration.
5464 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5466 (ada-create-syntax-table): Remove.
5467 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5468 already has the right syntax nowadays.
5469 (ada-goto-next-word): Don't change the syntax of "_".
5471 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5474 2013-05-08 Sam Steingold <sds@gnu.org>
5476 * thingatpt.el (thing-at-point): Accept optional second argument
5477 NO-PROPERTIES to strip the text properties from the return value.
5478 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5479 to `thing-at-point' instead of stripping the properties ourselves.
5480 Also, when `thing-at-point' fails to find a url, prepend "http://"
5481 to the filename at point on the assumption that the user is
5482 pointing at something like gnu.org/gnu.
5484 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
5486 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5487 * faces.el (crm-separator):
5488 Silence byte-compiler.
5490 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5491 (tool-bar-map): Remove unneeded defvars.
5493 2013-05-08 Leo Liu <sdl.web@gmail.com>
5495 Re-work a fix for bug#10994 based on Le Wang's patch.
5496 * ido.el (ido-remove-consecutive-dups): New helper.
5497 (ido-completing-read): Use it.
5498 (ido-chop): Revert fix for bug#10994.
5500 2013-05-08 Adam Spiers <emacs@adamspiers.org>
5502 * cus-edit.el (custom-save-variables):
5503 Pretty-print long values. (Bug#14187)
5505 2013-05-08 Glenn Morris <rgm@gnu.org>
5507 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5508 (m4-mode-syntax-table): Init in the defvar.
5509 (m4-mode-abbrev-table): Let define-derived-mode define it.
5511 2013-05-08 Tom Tromey <tromey@redhat.com>
5513 * progmodes/m4-mode.el (m4-mode-syntax-table):
5514 Do not treat "_" as word constituent. (Bug#14167)
5516 2013-05-07 Glenn Morris <rgm@gnu.org>
5518 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5519 Remove explicit eshell-isearch-cancel-map.
5521 * progmodes/f90.el (f90-smart-end-names): New option.
5522 (f90-smart-end): Doc fix.
5523 (f90-end-block-optional-name): New constant.
5524 (f90-block-match): Respect f90-smart-end-names.
5526 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5529 about implicit semi-colons (bug#14218).
5531 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5533 * frame.el (display-monitor-attributes-list)
5534 (frame-monitor-attributes): New functions.
5536 2013-05-06 Leo Liu <sdl.web@gmail.com>
5538 * progmodes/octave.el (octave-syntax-propertize-function): Change
5539 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5540 (octave-font-lock-keywords): Use octave-operator-regexp.
5541 (octave-completion-at-point): Rename from
5542 octave-completion-at-point-function.
5543 (inferior-octave-directory-tracker): Robustify.
5544 (octave-text-functions): Remove and fix its uses. No such things
5547 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * emacs-lisp/trace.el (trace--display-buffer): New function.
5550 (trace-make-advice): Use it.
5552 2013-05-06 Juri Linkov <juri@jurta.org>
5554 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5555 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5557 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5558 in the help string. (Bug#12985)
5560 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5562 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5564 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5566 * progmodes/perl-mode.el: Add support for here documents.
5567 (perl-syntax-propertize-function): Match here-doc markers.
5568 (perl-syntax-propertize-special-constructs): Find their end.
5569 (perl-imenu-generic-expression): Use [:alnum:].
5571 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5572 (advice--add-function): Refresh the advice if already present
5575 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
5577 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5579 2013-05-06 Glenn Morris <rgm@gnu.org>
5581 * w32-fns.el (w32-charset-info-alist): Declare.
5583 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5584 of its defcustom properties.
5585 (eshell-cmpl-initialize): No need to load pcomplete.
5587 * generic-x.el: No need to require comint when compiling.
5589 * net/eudc-export.el: Make it loadable without bbdb.
5590 (top-level): Use require rather than load-library.
5591 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5592 (eudc-batch-export-records-to-bbdb)
5593 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5596 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5598 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5599 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5600 some tweaks, instead.
5602 2013-05-05 Leo Liu <sdl.web@gmail.com>
5604 * progmodes/octave.el (octave-font-lock-keywords)
5605 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5606 (inferior-octave-send-list-and-digest): Improve error message.
5607 (octave-mode, inferior-octave-mode): Use setq-local.
5608 (octave-help): Set info-lookup-mode.
5610 2013-05-05 Richard Stallman <rms@gnu.org>
5612 * vc/compare-w.el (compare-windows-whitespace):
5613 Treat no-break space as whitespace.
5615 * mail/rmailsum.el (rmail-summary-rmail-update):
5616 Detect empty summary and don't change selected message.
5617 (rmail-summary-goto-msg): Likewise.
5619 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5620 Doc fixes, rename args.
5622 2013-05-05 Alan Mackenzie <acm@muc.de>
5624 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5626 2013-05-05 Juri Linkov <juri@jurta.org>
5628 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5629 to not add the length of the summary segment to the return value.
5632 2013-05-05 Leo Liu <sdl.web@gmail.com>
5634 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5635 (inferior-octave-output-filter): Remove.
5636 (octave-send-region, inferior-octave-startup): Fix callers.
5637 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5638 (octave-binary-file-extensions): New user variable.
5639 (octave-find-definition): Confirm if opening binary files.
5640 (octave-help-file): Use octave-find-definition to get the binary
5642 (octave-help): Adjust for octave-help-file change.
5644 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5646 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5647 Merge the two entries that handle function definitions.
5648 (pascal--syntax-propertize): New const.
5649 (pascal-mode): Use it. Use setq-local.
5651 2013-05-04 Glenn Morris <rgm@gnu.org>
5653 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5654 (diary-from-outlook): Respect diary-from-outlook-function.
5656 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5658 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5659 Move the declaration from C.
5660 (read-minibuffer, eval-minibuffer): Move from C.
5661 (completion-setup-function): Avoid minibuffer-completion-contents.
5663 2013-05-03 Leo Liu <sdl.web@gmail.com>
5665 * progmodes/octave.el (octave-font-lock-keywords): Do not
5666 dehighlight 'end' in comments or strings.
5667 (octave-completing-read, octave-goto-function-definition):
5669 (octave-help-buffer): New user variable.
5670 (octave-help-file, octave-help-function): New button types.
5671 (octave-help): New command and bind it to C-h ;.
5672 (octave-find-definition): New command and bind it to M-.
5673 (user-error): Alias to error if not defined.
5675 2013-05-02 Leo Liu <sdl.web@gmail.com>
5677 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5679 (octave-font-lock-keywords): Include [ and {.
5681 2013-05-02 Leo Liu <sdl.web@gmail.com>
5683 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5684 (inferior-octave): Remove calling comint-mode and return the buffer.
5685 (inferior-octave-startup): Cosmetic changes.
5687 2013-05-02 Leo Liu <sdl.web@gmail.com>
5689 * progmodes/octave.el (octave-syntax-propertize-function):
5690 Include the case when ' is at line beginning. (Bug#14336)
5692 2013-05-02 Glenn Morris <rgm@gnu.org>
5694 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5695 * desktop.el (vc-dir-mode): Just autoload it here.
5697 2013-05-02 Alan Mackenzie <acm@muc.de>
5699 Eliminate variable c-standard-font-lock-fontify-region-function.
5700 * progmodes/cc-mode.el
5701 (c-standard-font-lock-fontify-region-function): Remove.
5702 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5704 2013-05-01 Leo Liu <sdl.web@gmail.com>
5706 * progmodes/octave.el: Compatible with older emacs-24 releases.
5707 (inferior-octave-has-built-in-variables): Remove. Built-in
5708 variables were removed from Octave in 2007.
5709 (inferior-octave-startup): Fix uses.
5710 (comint-line-beginning-position): Remove compatibility code for
5713 2013-05-01 Juri Linkov <juri@jurta.org>
5715 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5717 2013-05-01 Juri Linkov <juri@jurta.org>
5719 * comint.el (comint-previous-matching-input): Don't print message
5720 "History item: %d" when `isearch-mode' is active.
5721 (comint-history-isearch-message): Print message "History item: %d"
5722 when `comint-input-ring-index' is not empty and this function is
5723 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5725 2013-05-01 Leo Liu <sdl.web@gmail.com>
5727 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5728 definitions. Use completion-at-point to insert keywords.
5729 (octave-abbrev-start): Remove.
5730 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5732 2013-04-30 Leo Liu <sdl.web@gmail.com>
5734 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5737 2013-04-30 Alan Mackenzie <acm@muc.de>
5739 Handle arbitrarily long C++ member initialisation lists.
5740 * progmodes/cc-engine.el (c-back-over-member-initializers):
5742 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5743 (most) member init lists.
5745 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5747 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5750 2013-04-30 Leo Liu <sdl.web@gmail.com>
5752 * progmodes/octave.el (octave-variables): Remove. No builtin
5753 variables any more. All converted to functions.
5754 (octave-font-lock-keywords, octave-completion-at-point-function):
5756 (octave-font-lock-texinfo-comment): New user variable.
5757 (octave-texinfo-font-lock-keywords): New variable for texinfo
5759 (octave-function-comment-block): New face.
5760 (octave-font-lock-texinfo-comment): New function.
5761 (octave-mode): Font lock texinfo comment block.
5763 2013-04-29 Leo Liu <sdl.web@gmail.com>
5765 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5766 indexing expression.
5767 (octave-continuation-string): Do not use \.
5768 (inferior-octave-complete-impossible): Remove.
5769 (inferior-octave-completion-table)
5770 (inferior-octave-completion-at-point): Remove its uses.
5771 (inferior-octave-startup): completion_matches was introduced to
5772 Octave in 1996 so safe to assume it.
5773 (octave-function-file-comment): Improve to follow how Octave does it.
5774 (octave-update-function-file-comment): Tweak.
5776 2013-04-29 Leo Liu <sdl.web@gmail.com>
5778 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5779 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5780 (octave-function-file-comment): Fix typo.
5781 (octave-sync-function-file-names): Use read-char-choice.
5783 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5785 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5786 to t for the less important warnings.
5788 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5790 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5792 2013-04-27 Glenn Morris <rgm@gnu.org>
5794 * vc/log-view.el (log-view-current-entry):
5795 Treat "---" separator lines as part of the following rev. (Bug#14169)
5797 2013-04-27 Juri Linkov <juri@jurta.org>
5799 * subr.el (read-number): Doc fix about using it by interactive
5800 code letter `n'. (Bug#14254)
5802 2013-04-27 Juri Linkov <juri@jurta.org>
5804 * desktop.el (desktop-auto-save-timeout): New option.
5805 (desktop-file-checksum): New variable.
5806 (desktop-save): Add optional arg `auto-save' and don't auto-save
5808 (desktop-auto-save-timer): New variable.
5809 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5810 (after-init-hook): Call `desktop-auto-save-set-timer'.
5811 Suggested by Reuben Thomas <rrt@sc3d.org> in
5812 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5814 2013-04-27 Leo Liu <sdl.web@gmail.com>
5816 * progmodes/octave.el (octave-function-file-p)
5817 (octave-skip-comment-forward, octave-function-file-comment)
5818 (octave-update-function-file-comment): New functions.
5819 (octave-mode-map): Bind C-c ; to
5820 octave-update-function-file-comment.
5821 (octave-mode-menu): Add octave-update-function-file-comment.
5822 (octave-mode, inferior-octave-mode): Fix doc-string.
5823 (octave-insert-defun): Conform to Octave's coding convention.
5826 * files.el (basic-save-buffer): Don't let errors in
5827 before-save-hook prevent saving buffer.
5829 2013-04-20 Roland Winkler <winkler@gnu.org>
5831 * faces.el (read-face-name): Use completing-read if arg multiple
5834 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5836 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5837 displayed, move point to after the totals line.
5838 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5841 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5844 Add current dir to the load-path.
5845 (package-generate-autoloads): Don't rely on
5846 autoload-ensure-default-file.
5848 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5850 * textmodes/remember.el (remember-store-in-files): Document that
5851 the file name format is passed to `format-time-string'.
5853 2013-04-26 Leo Liu <sdl.web@gmail.com>
5855 * progmodes/octave.el (octave-sync-function-file-names): New function.
5856 (octave-mode): Use it in before-save-hook.
5858 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5863 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5864 \n and comment, even if it's not an implicit ; (bug#14218).
5866 2013-04-26 Glenn Morris <rgm@gnu.org>
5868 * subr.el (read-number): Once more use `read' rather than
5869 `string-to-number', to trap non-numeric input. (Bug#14254)
5871 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5873 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5874 Use `syntax-multiline' text property consistently instead of
5875 `font-lock-multiline'. (Bug#14237)
5877 2013-04-26 Glenn Morris <rgm@gnu.org>
5879 * emacs-lisp/shadow.el (list-load-path-shadows):
5880 No longer necessary to check for duplicate simple.el, since
5881 2012-07-07 change to init_lread to not include installation lisp
5882 directories in load-path when running uninstalled. (Bug#14270)
5884 2013-04-26 Leo Liu <sdl.web@gmail.com>
5886 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5887 (octave-mode, inferior-octave-mode): Use setq-local.
5888 (octave-not-in-string-or-comment-p): Rename to
5889 octave-in-string-or-comment-p.
5890 (octave-in-comment-p, octave-in-string-p)
5891 (octave-in-string-or-comment-p): Replace defsubst with defun.
5893 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5895 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5897 2013-04-25 Bastien Guerry <bzg@gnu.org>
5899 * textmodes/remember.el (remember-data-directory)
5900 (remember-directory-file-name-format): Fix custom types.
5902 2013-04-25 Leo Liu <sdl.web@gmail.com>
5904 * progmodes/octave.el (octave-completion-at-point-function):
5905 Make use of inferior octave process.
5906 (octave-initialize-completions): Remove.
5907 (inferior-octave-completion-table): New function.
5908 (inferior-octave-completion-at-point): Use it.
5909 (octave-completion-alist): Remove.
5911 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5914 (opascal-mode-syntax-table): New var.
5915 (opascal-literal-kind, opascal-is-literal-end)
5916 (opascal-literal-token-at): Rewrite.
5917 (opascal--literal-start-re, opascal-font-lock-keywords)
5918 (opascal--syntax-propertize): New constants.
5919 (opascal-font-lock-defaults): Adjust.
5920 (opascal-mode): Use them. Set comment-<foo> variables as well.
5921 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5922 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5923 (delphi-other-face, opascal-other-face): Remove face variables.
5924 (opascal-save-state): Remove macro.
5925 (opascal-fontifying-progress-step): Remove constant.
5926 (opascal--ignore-changes): Remove var.
5927 (opascal-set-token-property, opascal-parse-next-literal)
5928 (opascal-is-stable-literal, opascal-complete-literal)
5929 (opascal-is-literal-start, opascal-face-of)
5930 (opascal-parse-region, opascal-parse-region-until-stable)
5931 (opascal-fontify-region, opascal-after-change)
5932 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5933 (opascal-debug-parse-region, opascal-debug-parse-window)
5934 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5935 (opascal-debug-fontify-buffer): Remove.
5936 (opascal-debug-mode-map): Adjust accordingly.
5938 2013-04-25 Leo Liu <sdl.web@gmail.com>
5940 Merge octave-mod.el and octave-inf.el into octave.el with some
5942 * progmodes/octave.el: New file renamed from octave-mod.el.
5943 * progmodes/octave-inf.el: Merged into octave.el.
5944 * progmodes/octave-mod.el: Renamed to octave.el.
5946 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5948 * textmodes/reftex-vars.el
5949 (reftex-label-ignored-macros-and-environments): New defcustom.
5951 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5953 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5955 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5956 (smie-indent-keyword): Improve the check to ensure that the next
5957 comment is really on the same line.
5958 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5960 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5961 semi-colons if the line is not otherwise empty (bug#14218).
5963 2013-04-25 Glenn Morris <rgm@gnu.org>
5965 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5967 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5969 * progmodes/opascal.el (opascal-set-token-property): Rename from
5970 opascal-set-text-properties and only set `token' (bug#14134).
5971 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5972 (opascal-literal-text-properties): Remove.
5973 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5976 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5978 * textmodes/remember.el (remember-handler-functions): Add an
5979 option for a new handler `remember-store-in-files'.
5980 (remember-data-directory, remember-directory-file-name-format):
5982 (remember-store-in-files): New function to store remember notes
5983 as separate files within a directory.
5985 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5987 * progmodes/compile.el (compilation-next-error-function):
5988 Pass "formats" to compilation-find-file (bug#11777).
5990 2013-04-24 Glenn Morris <rgm@gnu.org>
5992 * vc/vc-bzr.el (vc-bzr-print-log):
5993 * vc/vc-hg.el (vc-hg-print-log):
5994 * vc/vc-svn.el (vc-svn-print-log):
5995 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5997 * vc/vc-bzr.el (vc-bzr-print-log):
5998 * vc/vc-cvs.el (vc-cvs-print-log):
5999 * vc/vc-git.el (vc-git-print-log):
6000 * vc/vc-hg.el (vc-hg-print-log):
6001 * vc/vc-mtn.el (vc-mtn-print-log):
6002 * vc/vc-rcs.el (vc-rcs-print-log):
6003 * vc/vc-sccs.el (vc-sccs-print-log):
6004 * vc/vc-svn.el (vc-svn-print-log):
6005 * vc/vc.el (vc-print-log-internal): Doc fixes.
6007 2013-04-23 Glenn Morris <rgm@gnu.org>
6009 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6010 Remove venerable code attempting to avoid substitute-command-keys.
6012 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6014 * textmodes/reftex-vars.el (reftex-label-regexps):
6015 Call `reftex-compile-variables' after changes to this variable.
6017 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6020 Use lexical-binding.
6021 (jit-lock-force-redisplay): Use markers, check buffer's continued
6022 existence and beware narrowed buffers.
6023 (jit-lock-fontify-now): Adjust call accordingly.
6025 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6028 to avoid misleading the user.
6030 2013-04-22 Leo Liu <sdl.web@gmail.com>
6032 * info-look.el: Prefer latex2e.info. (Bug#14240)
6034 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6036 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6038 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6039 * net/tramp.el (tramp-call-process): ... here.
6040 (tramp-set-completion-function, tramp-parse-putty):
6041 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6042 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6043 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6044 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6045 (tramp-call-local-coding-command): Use `tramp-call-process'
6046 instead of `tramp-compat-call-process'.
6048 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6049 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6050 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6051 (tramp-find-inline-compress): Improve traces.
6052 (tramp-maybe-send-script): Check for Perl binary.
6053 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6055 2013-04-22 Daiki Ueno <ueno@gnu.org>
6057 * epg.el (epg-context-pinentry-mode): New function.
6058 (epg-context-set-pinentry-mode): New function.
6059 (epg--start): Pass --pinentry-mode option to gpg command.
6061 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6063 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6064 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6065 `completion-at-point'. (Bug#13774)
6067 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6068 default key binding for `describe-distribution' has been moved to
6069 `C-h C-o'. (Bug#13970)
6071 2013-04-21 Glenn Morris <rgm@gnu.org>
6073 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6075 (vc-print-log): Clarify interactive prompt.
6077 2013-04-20 Glenn Morris <rgm@gnu.org>
6079 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6080 No longer include timestamp etc information.
6082 2013-04-20 Roland Winkler <winkler@gnu.org>
6084 * faces.el (read-face-name): Bug fix, return just one face if arg
6085 multiple is nil. (Bug#14209)
6087 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6089 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6090 (remove-function): Autoload.
6092 * comint.el (comint-redirect-original-filter-function): Remove.
6093 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6094 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6095 (vc-cvs-annotate-command):
6096 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6097 * progmodes/prolog.el (prolog-consult-compile):
6098 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6099 Use add/remove-function instead.
6100 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6101 (gud-tooltip-process-output, gud-tooltip-tips):
6102 Use add/remove-function instead.
6103 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6104 (scheme-interaction-mode, exit-scheme-interaction-mode):
6105 Use add/remove-function instead.
6107 * vc/vc-dispatcher.el: Use lexical-binding.
6108 (vc--process-sentinel): Rename from vc-process-sentinel.
6109 Change last arg to be the code to run. Don't use vc-previous-sentinel
6110 and vc-sentinel-commands any more.
6111 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6112 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6114 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6116 * progmodes/sh-script.el (sh-imenu-generic-expression):
6117 Handle function names with a single character. (Bug#14111)
6119 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6121 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6122 for subroutines defined in an eval (bug#14182).
6124 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6126 * bookmark.el (bookmark-completing-read): Improve handling of empty
6129 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6131 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6133 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6135 New faster Imenu implementation (bug#14058).
6136 * progmodes/python.el:
6137 (python-imenu-prev-index-position):
6138 (python-imenu-format-item-label-function)
6139 (python-imenu-format-parent-item-label-function)
6140 (python-imenu-format-parent-item-jump-label-function):
6142 (python-imenu-format-item-label)
6143 (python-imenu-format-parent-item-label)
6144 (python-imenu-format-parent-item-jump-label)
6145 (python-imenu--put-parent, python-imenu--build-tree)
6146 (python-imenu-create-index, python-imenu-create-flat-index)
6147 (python-util-popn): New functions.
6148 (python-mode): Set imenu-create-index-function to
6149 python-imenu-create-index.
6151 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * winner.el (winner-active-region): Use region-active-p, activate-mark
6154 and deactivate-mark (bug#14225).
6156 * simple.el (deactivate-mark): Don't inline it.
6158 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6160 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6162 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6164 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6165 file extensions from the archive-mode entry in order to prefer
6166 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6168 2013-04-18 Leo Liu <sdl.web@gmail.com>
6170 * bindings.el (help-event-list): Add ?\?.
6172 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6174 * subr.el (with-wrapper-hook): Declare obsolete.
6175 * simple.el (filter-buffer-substring-function): New hook.
6176 (filter-buffer-substring): Use it.
6177 (filter-buffer-substring-functions): Mark obsolete.
6178 * minibuffer.el (completion-in-region-function): New hook.
6179 (completion-in-region): Use it.
6180 (completion-in-region-functions): Mark obsolete.
6181 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6182 * abbrev.el (abbrev-expand-function): New hook.
6183 (expand-abbrev): Use it.
6184 (abbrev-expand-functions): Mark obsolete.
6185 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6188 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6190 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6191 and do not care about match data.
6193 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6195 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6196 completion tables when completing error conditions and
6197 `declare' arguments.
6198 (lisp-complete-symbol, field-complete): Mark as obsolete.
6199 (check-parens): Unmatched parens are user errors.
6200 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6202 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6204 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6205 command changed buffer (ie. `flyspell-pre-buffer' is not current
6206 buffer), which prevents making decisions based on invalid value of
6207 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6208 cause an error when `flyspell-pre-point' was nil after switching
6210 (flyspell-post-command-hook): No longer needs to change buffers when
6211 checking pre-word. While at it remove unnecessary progn.
6213 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6215 * textmodes/ispell.el (ispell-add-per-file-word-list):
6216 Fix `flyspell-correct-word-before-point' error when accepting
6217 words and `coment-padding' is an integer by using
6218 `comment-normalize-vars' (Bug #14214).
6220 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6222 New defun movement commands.
6223 * progmodes/python.el (python-nav--syntactically)
6224 (python-nav--forward-defun, python-nav-backward-defun)
6225 (python-nav-forward-defun): New functions.
6227 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6229 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6230 (python-syntax-context): Use named compiler-macro for backwards
6231 compatibility with Emacs 24.x.
6233 2013-04-17 Leo Liu <sdl.web@gmail.com>
6235 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6236 octave-hide-process-buffer.
6238 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6240 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6243 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6245 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6246 Fix adjustment of offset when receiving incomplete responses from GDB
6249 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6252 python-mode-abbrev-table.
6253 (python-skeleton-define): Adjust accordingly.
6254 (python-mode-abbrev-table): New table that inherits from it so that
6255 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6257 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6258 (abbrev-symbol): Use it.
6259 (abbrev--before-point): Use it since we already handle inheritance.
6261 2013-04-16 Leo Liu <sdl.web@gmail.com>
6263 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6264 binding to info-lookup-symbol.
6266 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6268 * minibuffer.el (completion--twq-all):
6269 * term/ns-win.el (ns-initialize-window-system):
6270 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6272 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6277 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6279 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6281 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6282 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6284 (ruby-end-of-defun): Remove the unused arg, change the docstring
6285 to reflect that this function is only used as the value of
6286 `end-of-defun-function'.
6287 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6288 to reflect an earlier change that beginning/end-of-defun functions
6289 jump between methods in a class definition, as well as top-level
6292 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6294 * minibuffer.el (minibuffer-complete): Don't just scroll
6295 a *Completions* that's been iconified.
6296 (minibuffer-force-complete): Make sure repetitions do cycle when going
6297 through completion-in-region -> minibuffer-complete.
6299 2013-04-15 Alan Mackenzie <acm@muc.de>
6301 Correct the placement of c-cpp-delimiters when there're #s not at
6304 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6305 place a submatch around the #.
6306 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6307 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
6310 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6312 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6313 (advice--member-p): New arg `name'.
6314 (advice--add-function, advice-member-p): Use it (bug#14202).
6316 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6318 Reformulate java imenu-generic-expression.
6319 The old expression contained ill formed regexps.
6321 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6322 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6323 (cc-imenu-java-method-arg-regexp): New defconsts.
6324 (cc-imenu-java-build-type-args-regex): New defun.
6325 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
6326 handling of spaces in the regexp.
6328 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6330 * textmodes/ispell.el (ispell-command-loop): Remove
6331 flyspell highlight of a word when ispell accepts it (bug #14178).
6333 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
6335 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6336 uses code from the previous `ange-ftp-run-real-handler'.
6337 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6338 only in case that function exist. This is needed for proper
6341 2013-04-15 Tassilo Horn <tsdh@gnu.org>
6343 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6345 * textmodes/reftex.el (reftex-compile-variables): Use it.
6347 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * files.el (normal-mode): Only use default major-mode if no other mode
6352 * emacs-lisp/trace.el (trace-values): New function.
6354 * files.el: Allow : in local variables (bug#14089).
6355 (hack-local-variable-regexp): New var.
6356 (hack-local-variables-prop-line, hack-local-variables): Use it.
6358 2013-04-13 Roland Winkler <winkler@gnu.org>
6360 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6361 data before it gets modified by bibtex-beginning-of-entry.
6363 2013-04-13 Roland Winkler <winkler@gnu.org>
6365 * textmodes/bibtex.el (bibtex-url): Doc fix.
6367 2013-04-13 Roland Winkler <winkler@gnu.org>
6369 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6370 does not visit a BibTeX file, exclude it from the list of buffers
6371 returned by bibtex-initialize.
6373 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
6375 * window.el (split-window): Remove interactive form, since as a
6376 command this function is a special case of split-window-below.
6379 2013-04-12 Roland Winkler <winkler@gnu.org>
6381 * faces.el (read-face-name): Do not override value of arg default.
6382 Allow single faces and strings as default values. Remove those
6383 elements from return value that are not faces.
6384 (describe-face): Simplify.
6385 (face-at-point): New optional args thing and multiple so that this
6386 function can provide the same functionality previously provided by
6388 (make-face-bold, make-face-unbold, make-face-italic)
6389 (make-face-unitalic, make-face-bold-italic, invert-face)
6390 (modify-face, read-face-and-attribute): Use face-at-point.
6392 * cus-edit.el (customize-face, customize-face-other-window)
6393 * cus-theme.el (custom-theme-add-face)
6394 * face-remap.el (buffer-face-set)
6395 * facemenu.el (facemenu-set-face): Use face-at-point.
6397 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
6399 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6401 2013-04-10 Tassilo Horn <tsdh@gnu.org>
6403 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6404 off leading { and trailing } from field values.
6406 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6408 * emacs-lisp/timer.el (timer--check): New function.
6409 (timer--time, timer-set-function, timer-event-handler): Use it.
6410 (timer-set-idle-time): Simplify.
6411 (timer--activate): CSE.
6412 (timer-event-handler): Give more info in error message.
6413 (internal-timer-start-idle): New function, moved from C.
6415 * mpc.el (mpc-proc): Add `restart' argument.
6416 (mpc-proc-cmd): Use it.
6417 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6418 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6421 2013-04-10 Masatake YAMATO <yamato@redhat.com>
6423 * progmodes/sh-script.el: Implement `sh-mode' own
6424 `add-log-current-defun-function' (bug#14112).
6425 (sh-current-defun-name): New function.
6426 (sh-mode): Use the function.
6428 2013-04-09 Bastien Guerry <bzg@gnu.org>
6430 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6432 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6436 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6439 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6441 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6444 2013-04-07 Leo Liu <sdl.web@gmail.com>
6446 * pcmpl-x.el: New file.
6448 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6450 Do not set x-display-name until X connection is established.
6451 This is needed to prevent from weird situation described at
6452 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6453 * frame.el (make-frame): Set x-display-name after call to
6454 window system initialization function, not before.
6455 * term/x-win.el (x-initialize-window-system): Add optional
6456 display argument and use it.
6457 * term/w32-win.el (w32-initialize-window-system):
6458 * term/ns-win.el (ns-initialize-window-system):
6459 * term/pc-win.el (msdos-initialize-window-system):
6460 Add compatible optional display argument.
6462 2013-04-06 Eli Zaretskii <eliz@gnu.org>
6464 * files.el (normal-backup-enable-predicate): On MS-Windows and
6465 MS-DOS compare truenames of temporary-file-directory and of the
6466 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6467 don't fail comparison by compare-strings. Also, compare file
6468 names case-insensitively on MS-Windows and MS-DOS.
6470 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6473 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6475 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6477 * whitespace.el (whitespace-color-on, whitespace-color-off):
6478 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
6480 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
6482 * ispell.el (ispell-set-spellchecker-params):
6483 Really set `ispell-args' for all equivs.
6485 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * ido.el (ido-completions): Use extra elements of ido-decorations
6489 (ido-decorations): Update docstring.
6491 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
6493 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6494 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6495 nil during initialization, in order not to miss changes since the
6496 file was opened. (Bug#14140)
6498 2013-04-05 Leo Liu <sdl.web@gmail.com>
6500 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6502 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6504 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6506 2013-04-04 Glenn Morris <rgm@gnu.org>
6508 * electric.el (electric-pair-inhibit-predicate): Add :version.
6510 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6512 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6513 when a package is required several times (bug#14082).
6515 2013-04-04 Roland Winkler <winkler@gnu.org>
6517 * faces.el (read-face-name): Behave as promised by the docstring.
6518 Assume that arg default is a list of faces.
6519 (describe-face): Call read-face-name with list of default faces.
6521 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6523 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6524 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6525 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6527 (bookmark-exit-hook-internal): Save even if list is empty.
6529 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6531 * emacs-lisp/package.el (package-pinned-packages): New var.
6532 (package--add-to-archive-contents): Obey it (bug#14118).
6534 2013-04-03 Alan Mackenzie <acm@muc.de>
6536 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6537 Also adapt to the new values of element 7 of a parse state.
6539 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6540 parameter `not-in-delimiter'. Handle being inside comment opener.
6541 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6542 character in case we're typing a '*' after a '/'.
6543 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6544 instead by passing the parameter to c-state-pp-to-literal.
6546 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6547 for elt. 7 of a parse state.
6549 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6551 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6552 * international/latin1-disp.el, international/mule-util.el:
6553 * language/cyril-util.el, language/european.el, language/ind-util.el:
6554 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6555 * language/tibetan.el, language/viet-util.el:
6556 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6558 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6560 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6561 (electric-pair-post-self-insert-function): Use it.
6562 (electric-pair-default-inhibit): New function, extracted from
6563 electric-pair-post-self-insert-function.
6565 2013-03-31 Roland Winkler <winkler@gnu.org>
6567 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6569 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6573 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
6575 Un-indent after "pass" and "return" statements (Bug#13888)
6576 * progmodes/python.el (python-indent-block-enders): New var.
6577 (python-indent-calculate-indentation): Use it.
6579 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
6581 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6582 defun. Defining it as defalias could introduce too eager
6583 byte-compiler optimization. (Bug#14030)
6585 2013-03-30 Chong Yidong <cyd@gnu.org>
6587 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6589 2013-03-30 Leo Liu <sdl.web@gmail.com>
6591 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6592 (kmacro-execute-from-register): Pass the keyboard macro to
6593 kmacro-call-macro or repeating won't work correctly.
6595 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6597 * progmodes/subword.el: Back to using `forward-symbol'.
6599 * subr.el (forward-whitespace, forward-symbol)
6600 (forward-same-syntax): Move from thingatpt.el.
6602 2013-03-29 Leo Liu <sdl.web@gmail.com>
6604 * kmacro.el (kmacro-to-register): New command.
6605 (kmacro-execute-from-register): New function.
6606 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6608 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6610 * mpc.el: Use defvar-local and setq-local.
6611 (mpc--proc-connect): Connection failures are not bugs.
6612 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6613 (mpc-volume-map): Bind to the up-events.
6615 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6617 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6618 instead of `forward-symbol'.
6620 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6622 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6623 (edebug--recursive-edit): Use it.
6624 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6625 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6627 2013-03-28 Leo Liu <sdl.web@gmail.com>
6629 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6631 2013-03-27 Eli Zaretskii <eliz@gnu.org>
6633 * facemenu.el (list-colors-callback): New defvar.
6634 (list-colors-redisplay): New function.
6635 (list-colors-display): Install list-colors-redisplay as the
6636 revert-buffer-function. (Bug#14063)
6638 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6640 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6641 and suffixes don't overlap (bug#14061).
6643 * case-table.el: Use lexical-binding.
6644 (case-table-get-table): New function.
6645 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6647 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6649 * progmodes/subword.el: Add `superword-mode' to do word motion
6650 over symbol_words (parallels and leverages `subword-mode' which
6651 does word motion inside MixedCaseWords).
6653 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6655 * eshell/em-unix.el: Move su and sudo to...
6656 * eshell/em-tramp.el: ...Eshell tramp module.
6658 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6661 Change return value to be a sexp. Delay `get-buffer' to after
6662 restoring the desktop (bug#13951).
6664 2013-03-26 Leo Liu <sdl.web@gmail.com>
6666 * register.el: Move semantic tag handling back to
6667 cedet/semantic/senator.el. (Bug#14052)
6669 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6671 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6672 into the prompt either (bug#13963).
6674 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6676 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6677 part of "(error-foo)".
6679 2013-03-24 Juri Linkov <juri@jurta.org>
6681 * replace.el (list-matching-lines-prefix-face): New defcustom.
6682 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6683 `occur-engine' if `face-differs-from-default-p' returns t.
6684 (occur-engine): Add `,' inside backquote construct to evaluate
6685 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6686 Pass `prefix-face' to the functions `occur-context-lines' and
6687 `occur-engine-add-prefix'.
6688 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6689 `prefix-face' and propertize the prefix with `prefix-face'.
6692 2013-03-24 Leo Liu <sdl.web@gmail.com>
6694 * nxml/rng-valid.el (rng-validate-while-idle)
6695 (rng-validate-quick-while-idle): Guard against deleted buffer.
6698 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6699 is the last entry in kill-buffer-hook.
6701 * files.el (kill-buffer-hook): Doc fix.
6703 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6705 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6708 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6710 2013-03-23 Leo Liu <sdl.web@gmail.com>
6712 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6715 * nxml/rng-valid.el (rng-validate-mode)
6716 (rng-after-change-function, rng-do-some-validation):
6717 * nxml/rng-maint.el (rng-validate-buffer):
6718 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6719 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6720 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6721 (nxml-extend-after-change-region): Use with-silent-modifications.
6723 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6726 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6727 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6728 timer-idle-list. (Bug#13999)
6730 2013-03-23 Juri Linkov <juri@jurta.org>
6732 * info.el (info-index-match): New face.
6733 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6734 main pattern and add text properties with the new face to matches
6735 in index entries relative to the beginning of the index entry.
6738 2013-03-21 Eric Ludlam <zappo@gnu.org>
6740 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6741 Inhibit read only while inserting objects.
6743 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6745 * progmodes/cfengine.el: Update docs to mention
6746 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6747 symbol motion. Remove "_" from the word syntax.
6749 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6751 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6752 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6754 2013-03-20 Juri Linkov <juri@jurta.org>
6756 * info.el (Info-next-reference-or-link)
6757 (Info-prev-reference-or-link): New functions.
6758 (Info-next-reference, Info-prev-reference): Use them.
6759 (Info-try-follow-nearest-node): Handle footnote navigation.
6760 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6762 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6765 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6767 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6769 Suppress unnecessary non-ASCII chatter during build process.
6770 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6771 (batch-skkdic-convert): Suppress most of the chatter.
6772 It's not needed so much now that machines are faster,
6773 and its non-ASCII component was confusing; see Dmitry Gutov in
6774 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6776 2013-03-20 Leo Liu <sdl.web@gmail.com>
6778 * ido.el (ido-chop): Fix bug#10994.
6780 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6782 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6784 (whitespace-color-on, whitespace-color-off):
6785 Use `font-lock-fontify-buffer' (Bug#13817).
6787 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6790 remapping in mode-line.
6791 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6793 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6795 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6796 value for `whitespace-line' face (Bug#13875).
6797 (whitespace-font-lock-keywords): Change description.
6798 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6799 the constructed keywords instead.
6800 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6802 2013-03-19 Leo Liu <sdl.web@gmail.com>
6804 * progmodes/compile.el (compilation-display-error): New command.
6805 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6808 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6810 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6812 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6814 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6816 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6818 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6820 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6821 * net/tramp-gvfs.el (top):
6822 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6823 (tramp-handle-shell-command): Use it.
6824 (tramp-dissect-file-name): Raise an error when hostname is a
6825 method name, and neither method nor user is specified.
6827 * net/trampver.el: Update release number.
6829 2013-03-18 Leo Liu <sdl.web@gmail.com>
6831 Make sure eldoc can be turned off properly.
6832 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6834 (eldoc-display-message-p): Revert last change.
6835 (eldoc-display-message-no-interference-p)
6836 (eldoc-print-current-symbol-info): Tweak.
6838 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6840 * doc-view.el (doc-view-new-window-function): Check the new window
6841 overlay's display property instead the char property of the
6842 buffer's first char. Use `with-selected-window' instead of
6843 `save-window-excursion' with `select-window'.
6844 (doc-view-document->bitmap): Check the current doc-view overlay's
6845 display property instead the char property of the buffer's first char.
6847 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6849 Automate the build of ja-dic.el (Bug#13984).
6850 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6851 from the input, rather than assume that it's been done for us by the
6852 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6853 the current date into a ja-dic.el comment, as that complicates
6856 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6858 * whitespace.el: Fix double evaluation.
6859 (whitespace-space, whitespace-hspace, whitespace-tab)
6860 (whitespace-newline, whitespace-trailing, whitespace-line)
6861 (whitespace-space-before-tab, whitespace-indentation)
6862 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6864 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6865 (whitespace-color-on): Use a single font-lock-add-keywords call.
6866 Fix double-evaluation of face variables.
6868 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6870 * net/tramp-adb.el (tramp-adb-parse-device-names):
6871 Use `start-process' instead of `call-process'. Otherwise, the
6872 function might be blocked under MS Windows. (Bug#13299)
6874 2013-03-17 Leo Liu <sdl.web@gmail.com>
6876 Extend eldoc to display info in the mode-line. (Bug#13978)
6877 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6878 (eldoc-mode-line-string): New variable.
6879 (eldoc-minibuffer-message): New function.
6880 (eldoc-message-function): New variable.
6881 (eldoc-message): Use it.
6882 (eldoc-display-message-p)
6883 (eldoc-display-message-no-interference-p):
6884 Support eldoc-post-insert-mode.
6886 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6887 (eval-expression): Run it.
6889 2013-03-17 Roland Winkler <winkler@gnu.org>
6891 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6892 strings in the list of return values.
6894 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6896 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6897 radix before checking for HMS forms.
6899 2013-03-16 Leo Liu <sdl.web@gmail.com>
6901 * progmodes/scheme.el: Add indentation and font-locking for λ.
6904 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6906 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6907 token before point (bug#13942).
6909 2013-03-16 Leo Liu <sdl.web@gmail.com>
6911 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6913 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6915 * startup.el (command-line-normalize-file-name): Fix handling of
6916 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6917 <xfq.free@gmail.com> in
6918 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6920 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6922 Sync with Tramp 2.2.7.
6924 * net/trampver.el: Update release number.
6926 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6928 * doc-view.el Fix bug#13887.
6929 (doc-view-insert-image): Don't modify overlay associated to
6930 non-live windows, and implement horizontal centering of image in
6931 case it's smaller than the window.
6932 (doc-view-new-window-function): Force redisplay of new windows on
6935 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6937 * saveplace.el (save-place-alist-to-file): Don't sort
6938 `save-place-alist', just pretty-print it (bug#13882).
6940 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6942 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6943 Check whether `default-file-name-coding-system' is bound.
6946 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6949 backquotes for `obsolete' (bug#13929).
6951 * international/mule.el (find-auto-coding): Include file name in
6952 obsolescence warning (bug#13922).
6954 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6956 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6957 for CFEngine 3-specific indentation.
6958 (cfengine3-indent-line): Use it. Fix up category regex.
6959 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6961 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * type-break.el (type-break-file-name):
6964 * textmodes/remember.el (remember-data-file):
6965 * strokes.el (strokes-file):
6966 * shadowfile.el (shadow-initialize):
6967 * saveplace.el (save-place-file):
6968 * ps-bdf.el (bdf-cache-file):
6969 * progmodes/idlwave.el (idlwave-config-directory):
6970 * net/quickurl.el (quickurl-url-file):
6971 * international/kkc.el (kkc-init-file-name):
6972 * ido.el (ido-save-directory-list-file):
6973 * emulation/viper.el (viper-custom-file-name):
6974 * emulation/vip.el (vip-startup-file):
6975 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6976 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6978 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6980 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6981 * language/thai-word.el: Switch to UTF-8.
6983 See ChangeLog.16 for earlier changes.
6989 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6991 This file is part of GNU Emacs.
6993 GNU Emacs is free software: you can redistribute it and/or modify
6994 it under the terms of the GNU General Public License as published by
6995 the Free Software Foundation, either version 3 of the License, or
6996 (at your option) any later version.
6998 GNU Emacs is distributed in the hope that it will be useful,
6999 but WITHOUT ANY WARRANTY; without even the implied warranty of
7000 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7001 GNU General Public License for more details.
7003 You should have received a copy of the GNU General Public License
7004 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.