1 2014-06-02 Glenn Morris <rgm@gnu.org>
3 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
4 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5 * emulation/ws-mode.el: Move to obsolete/.
7 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9 * simple.el (keyboard-quit): Force update of mode lines, to remove
10 the "Def" indicator, if we were defining a macro. (Bug#17615)
12 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14 * minibuffer.el (minibuffer-force-complete-and-exit):
15 Obey minibuffer-default (bug#17545).
17 * progmodes/js.el (js-indent-line): Don't mix columns and chars
20 * subr.el (set-transient-map): Don't wait for some "nested"
21 transient-map to finish if we're only supposed to be active for
22 the next command (bug#17642).
24 2014-06-02 Leo Liu <sdl.web@gmail.com>
26 * emacs-lisp/gv.el (window-buffer, window-display-table)
27 (window-dedicated-p, window-hscroll, window-point, window-start):
28 Fix gv-expander. (Bug#17630)
30 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
32 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
35 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
36 for the single comma, since ", " is *very* common in normal French text
39 2014-06-02 Glenn Morris <rgm@gnu.org>
41 * emacs-lisp/package.el (package-check-signature)
42 (package-unsigned-archives): Fix :version.
44 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
46 * subr.el (sit-for): Don't run input-methods (bug#15614).
48 2014-06-02 Glenn Morris <rgm@gnu.org>
50 * cus-start.el: Fix some :version numbers.
52 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
54 * simple.el (deactivate-mark): Set mark-active to nil even if
55 deactivation is done via setting transient-mark-mode to nil,
56 since one is buffer-local and the other is global.
58 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
59 there can't be more than 2 arguments (bug#17584).
61 2014-06-02 Glenn Morris <rgm@gnu.org>
63 * simple.el (filter-buffer-substring-functions)
64 (filter-buffer-substring-function, buffer-substring-filters)
65 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
67 * minibuffer.el (completion-in-region-functions, completion-in-region)
68 (completion--in-region): Doc fixes.
70 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
71 (expand-abbrev, abbrev--default-expand): Doc fixes.
73 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
75 Include sources used to create macuvs.h.
76 * international/README: Refer to the Unicode Terms of Use rather
77 than copying it bodily here, as that simplifies maintenance.
79 2014-06-01 Glenn Morris <rgm@gnu.org>
81 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
83 2014-05-31 Glenn Morris <rgm@gnu.org>
85 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
87 2014-05-30 Glenn Morris <rgm@gnu.org>
89 * loadup.el: Treat `command-line-args' more flexibly.
91 2014-05-30 Alan Mackenzie <acm@muc.de>
93 Guard (looking-at "\\s!") from XEmacs.
94 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
96 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
98 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
99 argument COUNT is now optional, to be more backward-compatible.
102 2014-05-29 Reuben Thomas <rrt@sc3d.org>
104 * whitespace.el (whitespace-report-region): Simplify
106 (whitespace-report-region): Allow report-if-bogus to take the
107 value `never', for non-interactive use.
108 (whitespace-report): Refer to whitespace-report-region's
111 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
113 * whitespace.el: Use font-lock-flush. Minimize refontifications.
114 Side benefit: it works without jit-lock.
115 (whitespace-point--used): New buffer-local var.
116 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
117 (whitespace-color-off): Use font-lock-flush.
118 (whitespace-point--used, whitespace-point--flush-used): New functions.
119 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
120 (whitespace-empty-at-eob-regexp): Use them.
121 (whitespace-post-command-hook): Rewrite.
123 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
124 (font-lock-fontify-buffer): Mark interactive-only.
125 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
127 (font-lock-specified-p): Remove redundant boundp check.
128 (font-lock-flush-function, font-lock-ensure-function): New vars.
129 (font-lock-turn-on-thing-lock): Set them.
130 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
131 (font-lock-after-change-function): Make `old-len' optional.
132 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
133 Call font-lock-flush, just in case.
134 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
136 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
137 (vera-mode-map, vera-mode-menu): Remove bindings to it.
138 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
139 and with-syntax-table.
140 * textmodes/conf-mode.el (conf-quote-normal):
141 * progmodes/sh-script.el (sh-set-shell):
142 * progmodes/prog-mode.el (prettify-symbols-mode):
143 * progmodes/f90.el (f90-font-lock-n):
144 * progmodes/cwarn.el (cwarn-mode):
145 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
146 * progmodes/compile.el (compilation-setup, compilation--unsetup):
147 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
148 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
149 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
150 font-lock-fontify-buffer-function and
151 font-lock-unfontify-buffer-function.
152 (rmail-unfontify-buffer-function, rmail-fontify-message):
153 Use with-silent-modifications.
154 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
155 and font-lock-ensure.
156 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
158 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
160 * emacs-lisp/package.el (package-generate-autoloads):
161 Inhibit backup files.
163 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
165 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
168 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
170 * textmodes/tildify.el (tildify-buffer, tildify-region):
173 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
175 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
176 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
178 * subr.el (internal--funcall-interactively): New.
179 (internal--call-interactively): Remove.
180 (called-interactively-p): Detect funcall-interactively instead of
182 * simple.el (repeat-complex-command): Use funcall-interactively.
183 (repeat-complex-command--called-interactively-skip): Remove.
185 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
187 * register.el (register-read-with-preview): Don't burp on
188 frame switches (e.g. due to the frame we just popped).
190 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
191 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
193 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
195 * cus-face.el (custom-face-attributes): Add :distant-foreground.
197 2014-05-26 Martin Rudalics <rudalics@gmx.at>
199 * window.el (window--dump-frame): Remove interactive specification.
201 2014-05-26 Glenn Morris <rgm@gnu.org>
203 * hippie-exp.el (he-line-search-regexp):
204 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
206 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
208 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
209 to avoid errors when trying to create or visit a file foo.todo
210 located outside to todo-directory, and to allow having such files
211 without them being tied to Todo mode (bug#17482).
212 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
213 (todo-archive-done-item, todo-find-filtered-items-file)
214 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
215 (todo-category-completions, todo-read-category): When visiting a
216 Todo file, make sure we're in the right mode and the buffer local
218 (todo-make-categories-list, todo-reset-nondiary-marker)
219 (todo-reset-done-string, todo-reset-comment-string):
220 After processing all Todo files, kill the buffers of those files that
221 weren't being visited before the processing.
222 (todo-display-as-todo-file, todo-add-to-buffer-list)
223 (todo-visit-files-commands): Comment out.
224 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
225 (auto-mode-alist): Remove add-to-list calls making Todo file
226 extensions unrestrictedly tied to Todo modes.
228 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
230 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
231 (advice-function-member-p): Tell it to check both names and functions
233 (advice--add-function): Adjust call accordingly.
235 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
237 * calendar/todo-mode.el: Miscellaneous bug fixes.
238 (todo-delete-file): When deleting an archive but not its todo
239 file, make sure to update the todo file's category sexp.
240 (todo-move-category): Keep the moved category's name unless the
241 file moved to already has a category with that name. If the
242 numerically last category of the source file was moved, make the
243 first category current to avoid selecting a nonexisting category.
244 (todo-merge-category): Fix implementation to make merging to a
245 category in another file work as documented. Eliminate now
246 insufficient and unnecessary renaming of archive category, correct
247 document string accordingly, and clarify it. If the numerically
248 last category of the source file was merged, make the first
249 category current to avoid selecting a nonexisting category.
250 (todo-archive-done-item): When there are marked items and point
251 happens to be on an unmarked item, ignore the latter. Don't leave
252 point below last item after archiving marked items.
253 (todo-unarchive-items): Fix logic to ensure unarchiving an item
254 from an archive with only one category deletes the archive only
255 when the category is empty after unarchiving. Make sure the todo
256 file's category sexp is updated.
257 (todo-read-file-name): Allow an existing file name even when it is
258 not required (todo-move-category needs this to work as documented).
259 (todo-add-file): Call todo-validate-name to reject the name of an
260 existing todo file (needed due to fix in todo-read-file-name).
261 (todo-reset-nondiary-marker): Also reset in filtered items files.
262 (todo-reset-done-string, todo-reset-comment-string): Also reset in
263 regexp filtered items files.
264 (todo-reset-highlight-item): Also reset in filtered items files.
265 Fix incorrect variable reference in document string.
267 2014-05-26 Glenn Morris <rgm@gnu.org>
269 * window.el (window--dump-frame): Avoid error in --without-x builds.
271 2014-05-26 Glenn Morris <rgm@gnu.org>
273 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
275 2014-05-26 Eli Zaretskii <eliz@gnu.org>
277 * frame.el (set-frame-font): Doc fix.
279 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
281 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
283 * emacs-lisp/package.el (package--download-one-archive):
284 Use `write-region' instead of `save-buffer' to avoid running various
286 (describe-package-1): Same. Insert newline at the end of the
287 buffer if appropriate.
289 2014-05-26 Juri Linkov <juri@jurta.org>
291 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
292 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
293 Add more modifiers: meta, control, shift, hyper, super, alt.
296 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
297 to allow changing its value with `set-variable'.
299 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
301 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
303 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
305 (scheme-mode-variables): Set syntax-propertize-function instead of
306 font-lock-syntactic-face-function.
307 (scheme-font-lock-syntactic-face-function): Delete.
309 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
311 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
314 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
316 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
317 for a temporary file name.
319 2014-05-26 Eli Zaretskii <eliz@gnu.org>
321 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
323 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
325 * net/dbus.el (dbus-init-bus, dbus-call-method)
326 (dbus-call-method-asynchronously, dbus-send-signal)
327 (dbus-method-return-internal, dbus-method-error-internal):
328 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
330 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
332 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
333 methods which do not have a doc string. (Bug#17490)
335 2014-05-25 Tassilo Horn <tsdh@gnu.org>
337 * textmodes/reftex-ref.el (reftex-format-special): Make it work
338 also for AMS Math's \eqref macro.
340 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
342 Arrange to never byte-compile the generated -pkg.el file.
344 * emacs-lisp/package.el (package-generate-description-file):
345 Output first-line comment to set buffer-local var `no-byte-compile'.
346 Suggested by Dmitry Gutov:
347 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
349 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
351 Fix bug: Properly quote args to generated -pkg.el `define-package'.
353 * emacs-lisp/package.el (package-generate-description-file):
354 Inline `package--alist-to-plist'; rewrite to selectively
355 quote alist values that are not self-quoting.
356 (package--alist-to-plist): Delete func.
358 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
360 * term/xterm.el (xterm-function-map): Add mapping for shifted
363 2014-05-24 Daniel Colascione <dancol@dancol.org>
365 * progmodes/subword.el (subword-find-word-boundary): Move point to
366 correct spot before search. (Bug#17580)
368 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
371 2014-05-24 Leo Liu <sdl.web@gmail.com>
373 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
375 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
377 * minibuffer.el (completion--sreverse): Remove.
378 (completion--common-suffix): Use `reverse' instead.
379 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
381 2014-05-22 Glenn Morris <rgm@gnu.org>
383 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
385 2014-05-21 Daniel Colascione <dancol@dancol.org>
387 * files.el (interpreter-mode-alist): Add mksh.
389 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
391 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
392 mksh. Improve custom spec; allow regular expressions.
393 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
394 (sh-after-hack-local-variables): New function.
395 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
396 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
398 (sh-canonicalize-shell): Rewrite to support regexes.
400 2014-05-21 Leo Liu <sdl.web@gmail.com>
402 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
404 2014-05-19 Leo Liu <sdl.web@gmail.com>
406 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
408 2014-05-18 Glenn Morris <rgm@gnu.org>
411 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
413 2014-05-14 Sam Steingold <sds@gnu.org>
415 * progmodes/python.el (python-shell-get-or-create-process):
416 Do not bind `current-prefix-arg' so that C-c C-z does not talk
417 back unless requested.
419 2014-05-14 Glenn Morris <rgm@gnu.org>
421 * subr.el (with-file-modes): New macro.
422 * printing.el (pr-save-file-modes): Make obsolete.
423 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
424 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
426 * doc-view.el (doc-view-make-safe-dir):
427 * epg.el (epg--start):
428 * files.el (locate-user-emacs-file, make-temp-file)
429 (backup-buffer-copy, move-file-to-trash):
430 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
431 * eshell/esh-util.el (eshell-with-private-file-modes)
432 (eshell-make-private-directory):
433 * net/browse-url.el (browse-url-mosaic):
434 * obsolete/mailpost.el (post-mail-send-it):
435 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
436 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
439 * vc/emerge.el (emerge-make-temp-file): Simplify.
441 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
442 Stefan Monnier <monnier@iro.umontreal.ca>
444 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
447 2014-05-14 Glenn Morris <rgm@gnu.org>
449 * vc/emerge.el (emerge-temp-file-prefix):
450 Make pointless option obsolete.
451 (emerge-temp-file-mode): Make non-functional option obsolete.
453 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
455 * net/browse-url.el (browse-url):
456 Use `unhandled-file-name-directory' when setting `default-directory',
457 in order to circumvent stalled remote connections. (Bug#17425)
459 2014-05-14 Glenn Morris <rgm@gnu.org>
461 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
462 Optimize on Emacs, which has the relevant functions for ages.
464 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
466 * simple.el (undo-make-selective-list): Obey undo-no-redo.
468 2014-05-12 Sam Steingold <sds@gnu.org>
470 * calendar/time-date.el (seconds-to-string): New function to
471 pretty print time delay in seconds.
473 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
475 * mpc.el (mpc-format): Trim Date to the year.
476 (mpc-songs-hashcons): Shorten the Date field.
478 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
479 into autoloading just because of a silly indirection.
481 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
483 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
485 2014-05-12 Glenn Morris <rgm@gnu.org>
487 * emacs-lisp/find-gc.el: Move to ../admin.
489 * printing.el (pr-version):
490 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
492 * net/browse-url.el (browse-url-mosaic):
493 Create /tmp/Mosaic.PID as a private file.
495 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
497 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
498 (advice--member-p): If name is given, only compare the name.
499 (advice--remove-function): Don't stop at the first match.
500 (advice--normalize-place): New function.
501 (add-function, remove-function): Use it.
502 (advice--add-function): Pass the name, if any, to
503 advice--remove-function.
505 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
507 * electric.el (electric-indent-post-self-insert-function): Don't use
508 `pos' after modifying the buffer (bug#17449).
510 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
512 * calendar/todo-mode.el (todo-insert-item-from-calendar):
513 Correct argument list to conform to todo-insert-item--basic.
515 2014-05-12 Glenn Morris <rgm@gnu.org>
517 * files.el (cd-absolute): Test if directory is accessible
518 rather than executable. (Bug#17330)
520 * progmodes/compile.el (recompile):
521 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
523 * net/browse-url.el (browse-url-mosaic):
524 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
525 This is CVE-2014-3423.
527 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
529 * mouse.el: Use the normal toplevel loop while dragging.
530 (mouse-set-point): Handle multi-clicks.
531 (mouse-set-region): Handle multi-clicks for drags.
532 (mouse-drag-region): Update call accordingly.
533 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
534 Use the normal event loop instead of a local while/read-event loop.
535 (global-map): Remove redundant bindings for double/triple-mouse-1.
536 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
537 Generate synthetic down events when the protocol only sends up events.
538 (xterm-mouse-last): Remove.
539 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
540 terminal parameter instead.
541 (xterm-mouse--set-click-count): New function.
542 (xterm-mouse-event): Detect/generate double/triple clicks.
543 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
545 * info.el (Info-quoted): New face.
546 (Info-mode-font-lock-keywords): New var.
549 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
550 are a hindrance for C-x C-e.
552 2014-05-11 Leo Liu <sdl.web@gmail.com>
554 * net/rcirc.el (rcirc-sentinel): Fix last change.
556 2014-05-08 Sam Steingold <sds@gnu.org>
558 * net/rcirc.el (rcirc-reconnect-delay): New user option.
559 (rcirc-sentinel): Auto-reconnect to the server if
560 `rcirc-reconnect-delay' is non-0 (but not more often than its
561 value in case the host is off-line).
563 2014-05-09 Eli Zaretskii <eliz@gnu.org>
565 * progmodes/grep.el (lgrep): Fix a typo in last commit.
567 2014-05-09 Glenn Morris <rgm@gnu.org>
569 * files.el (file-expand-wildcards):
570 * man.el (Man-support-local-filenames):
571 * printing.el (pr-i-directory, pr-interface-directory):
572 * progmodes/grep.el (lgrep, rgrep):
573 * textmodes/ispell.el (ispell-call-process)
574 (ispell-call-process-region, ispell-start-process)
575 (ispell-init-process): Use file-accessible-directory-p.
577 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
579 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
580 (xterm-mouse--read-event-sequence-1000): Return nil if something
582 (xterm-mouse-event): Propagate it.
583 (xterm-mouse-translate-1): Handle it.
585 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
587 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
588 four slots of the parameter list are filled, make sure to pass it
589 to the argument list of todo-insert-item--basic.
591 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
593 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
594 Add optional `seen' argument to detect and break infinite loops.
596 2014-05-08 Eli Zaretskii <eliz@gnu.org>
598 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
599 (trace-unsafe, trace-use-tree): Make parentheses style be
600 according to Emacs style.
602 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
604 * net/tramp-sh.el (tramp-remote-process-environment):
605 Remove HISTFILE and HISTSIZE; it's too late to set them here.
607 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
608 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
609 extra "PSx=..." commands.
610 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
613 (tramp-uudecode): Replace the hard-coded temporary file name by a
615 (tramp-remote-coding-commands): Enhance docstring.
616 (tramp-find-inline-encoding): Replace "%t" by a temporary file
618 This is CVE-2014-3424.
620 2014-05-08 Glenn Morris <rgm@gnu.org>
622 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
623 (find-gc-source-files): Update some names.
624 (trace-call-tree): Simplify and update.
625 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
626 This is CVE-2014-3422.
628 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
630 * minibuffer.el (completion--try-word-completion): Revert fix for
631 Bug#15980 (bug#17375).
633 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
634 Always store button numbers in the same way in xterm-mouse-last;
635 Don't burp is xterm-mouse-last is not set as expected.
636 Never return negative indices.
638 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
640 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
641 Backtrack one char if the global/char-literal var matcher hits
642 inside a string. The next char could be the beginning of an
643 expression expansion.
645 2014-05-08 Glenn Morris <rgm@gnu.org>
647 * help-fns.el (describe-function-1): Test for an autoload before a
648 macro, since `macrop' works on autoloads. (Bug#17410)
650 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
652 * electric.el (electric-indent-functions-without-reindent): Add yaml.
654 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
655 Make sure the new point we return is within the new string (bug#17239).
657 2014-05-05 Daniel Colascione <dancol@dancol.org>
659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
660 Port `gnu' pattern to rx.
662 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
664 Remove unneeded prompt when closing a buffer with active
665 emacsclient ("Buffer ... still has clients"), #16548.
666 * server.el (server-start): Remove the only call to:
667 (server-kill-buffer-query-function): Remove.
669 2014-05-04 Leo Liu <sdl.web@gmail.com>
671 * calendar/diary-lib.el (calendar-chinese-month-name-array):
672 Defvar to pacify compiler.
674 2014-05-04 Eli Zaretskii <eliz@gnu.org>
676 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
678 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
680 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
681 Use nil rather than `default' for the "default" appearance (bug#17388).
682 * vc/ediff-util.el (ediff-inferior-compare-regions)
683 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
684 a misleading `default' value when it's really a boolean.
685 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
686 overlay is not visible.
688 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
690 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
691 (todo-menu): Uncomment and update.
693 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
695 * calendar/todo-mode.el: Reimplement item editing to have the same
696 basic user interface as item insertion, and make small UI and
697 larger internal improvements to the latter.
698 (todo-insert-item): Add reference to the Todo mode user manual to
699 the documentation string.
700 (todo-insert-item--basic): Rename from todo-basic-insert-item and
701 adjust all callers. Change signature to combine diary and
702 nonmarking arguments. Incorporate functionality of deleted item
703 copying command and add error checking. Remove detailed
704 descriptions of the arguments from the documentation string, since
705 this is treated in the Todo mode user manual.
706 (todo-copy-item, todo-edit-multiline-item)
707 (todo-edit-done-item-comment, todo-edit-item-header)
708 (todo-edit-item-time, todo-edit-item-date-from-calendar)
709 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
710 (todo-edit-item-date-year, todo-edit-item-date-month)
711 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
713 (todo-edit-item): Reimplement as wrapper command for
714 todo-edit-item--next-key and make it distinguish done and not done
716 (todo-edit-item--text): New function, replacing old command
717 todo-edit-item and incorporating deleted commands
718 todo-edit-multiline-item and todo-edit-done-item-comment.
719 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
720 Use only numeric value of prefix argument. Remove detailed
721 descriptions of the arguments from the documentation string, since
722 this is treated in the Todo mode user manual.
723 (todo-edit-item--diary-inclusion): New function, replacing old
724 command todo-edit-item-diary-inclusion and incorporating and fixing
725 functionality of deleted command todo-edit-item-diary-nonmarking,
726 making sure to remove todo-nondiary-marker when adding
727 diary-nonmarking-symbol.
728 (todo-edit-category-diary-inclusion): Make sure to delete
729 diary-nonmarking-symbol when adding todo-nondiary-marker.
730 (todo-edit-category-diary-nonmarking): Fix indentation.
731 (todo-insert-item--parameters): Group diary and nonmarking
733 (todo-insert-item--apply-args): Adjust to signature of
734 todo-insert-item--basic and incorporate copy parameter.
735 Make small code improvements.
736 (todo-insert-item--next-param): Improve prompt and adjust it to
737 new parameter grouping. Remove obsolete code.
738 (todo-edit-item--param-key-alist)
739 (todo-edit-item--date-param-key-alist)
740 (todo-edit-done-item--param-key-alist): New defconsts.
741 (todo-edit-item--prompt): New variable.
742 (todo-edit-item--next-key): New function.
743 (todo-key-bindings-t): Bind "e" to todo-edit-item.
744 Remove bindings of deleted commands.
746 2014-05-04 Leo Liu <sdl.web@gmail.com>
748 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
750 2014-05-04 Glenn Morris <rgm@gnu.org>
752 * allout-widgets.el (allout-widgets-tally)
753 (allout-decorate-item-guides):
754 * menu-bar.el (menu-bar-positive-p):
755 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
756 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
757 * progmodes/js.el (js--inside-param-list-p)
758 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
759 * progmodes/prolog.el (region-exists-p):
760 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
761 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
762 Doc fixes (replace `iff').
764 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
766 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
768 2014-05-04 Leo Liu <sdl.web@gmail.com>
770 Support Chinese diary entries in calendar and diary. (Bug#17393)
771 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
772 (calendar-chinese-from-absolute-for-diary)
773 (calendar-chinese-to-absolute-for-diary)
774 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
775 (diary-chinese-list-entries): New functions to list and mark
776 Chinese diary entries in the calendar window.
777 (diary-chinese-anniversary)
778 (diary-chinese-insert-anniversary-entry)
779 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
780 (diary-chinese-insert-yearly-entry): New commands to insert
781 Chinese diary entries.
783 * calendar/diary-lib.el (diary-font-lock-keywords):
784 Support font-locking Chinese dates.
786 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
787 inserting Chinese diary entries.
789 * calendar/calendar.el (diary-chinese-entry-symbol):
790 New customizable variable.
791 (calendar-mode-map): Add bindings for inserting Chinese diary
794 2014-05-03 Juri Linkov <juri@jurta.org>
796 * dired.el (dired-check-switches, dired-switches-recursive-p):
797 New functions. (Bug#17218)
798 (dired-switches-escape-p, dired-move-to-end-of-filename):
799 Use `dired-check-switches'.
800 (dired-insert-old-subdirs, dired-build-subdir-alist)
801 (dired-sort-R-check): Use `dired-switches-recursive-p'.
803 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
805 * simple.el (undo-make-selective-list): New algorithm fixes
806 incorrectness of position adjustments when undoing in region.
808 (undo-elt-crosses-region): Make obsolete.
809 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
810 New functions to adjust positions using undo-deltas.
812 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
815 the last consecutive closing paren (bug#17345).
817 2014-04-30 Reuben Thomas <rrt@sc3d.org>
819 * dired.el (dired-mode): make terminology for eXpunge command
820 consistent. (Bug#17276)
822 2014-04-30 Eli Zaretskii <eliz@gnu.org>
824 * dired.el (dired-initial-position-hook, dired-initial-position):
827 2014-04-30 Glenn Morris <rgm@gnu.org>
829 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
831 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
833 * faces.el (face-spec-recalc): Apply X resources only after the
834 defface spec has been applied. Thus, X resources are no longer
835 overriden by the defface spec which also fixes issues on win32 where
836 the toolbar coloring was wrong because it is set through X resources
837 and was (wrongfully) overriden. (Bug#16694)
839 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
841 * textmodes/rst.el (electric-pair-pairs): Declare.
842 (rst-mode): Set it (bug#17131).
844 2014-04-30 Juri Linkov <juri@jurta.org>
846 * desktop.el (desktop-value-to-string): Let-bind `print-length'
847 and `print-level' to nil. (Bug#17351)
849 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
851 * battery.el (battery-update): Handle the case where battery
852 status is "N/A" (bug#17319).
854 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
856 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
857 to syntax-propertize.
858 (ps-mode-auto-indent): Mark as obsolete.
859 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
860 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
861 word regexp operators.
862 (ps-mode-map): Move initialization into declaration. Remove binding
863 for TAB, RET, >, ], and }.
864 (ps-mode-syntax-table): Move initialization into declaration.
865 Don't give word syntax to non-word chars.
866 (ps-run-mode-map): Move initialization into declaration.
867 (ps-mode-menu-main): Remove auto-indent entry.
868 (ps-mode-smie-rules): New function.
869 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
870 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
871 (ps-mode--string-syntax-table): New const.
872 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
874 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
875 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
877 2014-04-27 Daniel Colascione <dancol@dancol.org>
879 * term/xterm.el (xterm-paste): Use large finite timeout when
880 reading event to avoid putting keys in this-command-keys.
882 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
884 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
885 (perl-syntax-propertize-function): Use it. Extend handling of
886 here-docs to the unquoted case.
888 2014-04-25 Eli Zaretskii <eliz@gnu.org>
890 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
891 Use equal-including-properties to compare help-echo strings (bug#17331).
893 2014-04-25 Leo Liu <sdl.web@gmail.com>
895 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
896 Fix syntax for @. (Bug#17325)
898 2014-04-25 Daniel Colascione <dancol@dancol.org>
900 * emacs-lisp/cl.el (gv): Require gv early to break eager
901 macro-expansion cycles.
903 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
905 * simple.el (region-active-p): Check there's a mark (bug#17324).
907 * simple.el (completion-list-mode-map): Use choose-completion for the
908 mouse binding as well (bug#17302).
909 (completion-list-mode, completion-setup-function): Adjust docstring and
910 echo area message accordingly.
911 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
912 calling convention of choose-completion.
913 * comint.el (comint-dynamic-list-completions):
914 * term.el (term-dynamic-list-completions): Accept choose-completion.
916 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
917 &, |, +, - and * can't be a division (bug#17317).
919 * term/xterm.el (xterm--version-handler): Don't use modern xterm
920 features on gnome-terminal (bug#16988).
922 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
924 Improve Scheme font-locking for (define ((foo ...) ...) ...).
926 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
927 the declared object, ignore zero or more parens, not zero or one.
929 2014-04-24 Leo Liu <sdl.web@gmail.com>
931 * progmodes/xscheme.el (xscheme-expressions-ring)
932 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
933 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
934 (xscheme-allow-output-p, xscheme-prompt)
935 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
937 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
938 Comment out unused functions.
940 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
942 * info.el: Use lexical-binding and cl-lib.
943 Use defvar-local and setq-local instead of make-local-variable.
944 (Info-apropos-matches): Avoid add-to-list.
945 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
947 2014-04-24 Daniel Colascione <dancol@dancol.org>
949 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
951 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
953 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
955 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
957 * dired.el (dired-insert-set-properties): Do not consider
958 subdirectory headings and empty lines to be information that
959 `dired-hide-details-mode' should hide. (Bug#17228)
961 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
963 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
964 Remove test messages.
965 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
968 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
970 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
971 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
973 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
975 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
977 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
978 Set "IFS=" when using read builtin, in order to preserve spaces in
979 the file name. Add test messages for hunting a bug on hydra.
980 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
982 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
984 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
985 Don't prettify a word within a symbol.
987 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
989 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
992 2014-04-22 Daniel Colascione <dancol@dancol.org>
994 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
995 use defun to define `function-put'.
997 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
999 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1000 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1001 (lisp-mode-variables): Set font-lock-extra-managed-props.
1003 * emacs-lisp/byte-run.el (function-put): New function.
1004 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1005 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1006 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1009 2014-04-22 Daniel Colascione <dancol@dancol.org>
1011 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1012 Add `full-p' parameter; when nil, call `macroexpand' instead of
1015 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1018 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1019 Use lambda function values, not quoted lambdas.
1020 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1022 * emacs-lisp/cl-macs.el
1023 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1024 (cl-struct-slot-value): Conditionally use aref or nth so that the
1025 compiler produces optimal code.
1027 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1030 (inline): Don't inline cl--set-elt.
1031 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1032 Define as inlinable instead.
1033 (cl-struct-set-slot-value): Remove.
1035 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1036 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1039 2014-04-21 Daniel Colascione <dancol@dancol.org>
1041 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1042 last two parameters after all.
1043 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1044 (cl--compiler-macro-assoc,cl-struct-slot-value)
1045 (cl-struct-set-slot-value): Stop using them.
1047 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1050 entry in image-mode-winprops-alist.
1052 2014-04-21 Daniel Colascione <dancol@dancol.org>
1054 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1055 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1056 (byte-compile-toplevel-file-form): Use it.
1058 * emacs-lisp/cl-macs.el:
1059 (cl--loop-let): Properly destructure `while' clauses.
1061 2014-04-20 Daniel Colascione <dancol@dancol.org>
1063 * vc/vc.el (vc-root-dir): New public autoloaded function for
1064 generically finding the current VC root.
1065 * vc/vc-hooks.el (vc-not-supported): New error.
1066 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1068 2014-04-20 Daniel Colascione <dancol@dancol.org>
1070 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1072 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1073 argument in case we're inside a symbol-macrolet.
1074 (cl--do-arglist, cl--compiler-macro-typep)
1075 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1076 environment to `cl--const-expr-val'.
1077 (cl-struct-sequence-type,cl-struct-slot-info)
1078 (cl-struct-slot-offset, cl-struct-slot-value)
1079 (cl-struct-set-slot-value): New functions.
1081 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1084 assignments such as "case=hello" (bug#17297).
1086 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1088 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1090 (tramp-file-name-handler, tramp-completion-file-name-handler):
1091 Revert patch from 2014-04-10, it isn't necessary anymore.
1092 (tramp-autoload-file-name-handler)
1093 (tramp-register-autoload-file-name-handlers): New defuns.
1094 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1095 (tramp-register-file-name-handlers): Remove also
1096 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1097 Do not autoload its invocation, but eval it after loading of 'tramp.
1099 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1101 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1103 2014-04-17 Daniel Colascione <dancol@dancol.org>
1105 Add support for bracketed paste mode; add infrastructure for
1106 managing terminal mode enabling and disabling automatically.
1109 (xterm-mouse-mode): Simplify.
1110 (xterm-mouse-tracking-enable-sequence)
1111 (xterm-mouse-tracking-disable-sequence): New constants.
1112 (turn-on-xterm-mouse-tracking-on-terminal)
1113 (turn-off-xterm-mouse-tracking-on-terminal):
1114 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1115 parameters instead of random hooks.
1116 (turn-on-xterm-mouse-tracking)
1117 (turn-off-xterm-mouse-tracking): Delete.
1119 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1120 (xterm-paste-ending-sequence): New constant.
1121 (xterm-paste): New command used for bracketed paste support.
1123 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1124 (terminal-init-xterm-bracketed-paste-mode): New function.
1125 (terminal-init-xterm): Call it.
1126 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1127 and tty-mode-reset-strings instead of random hooks.
1128 (xterm-turn-on-modify-other-keys)
1129 (xterm-turn-off-modify-other-keys)
1130 (xterm-remove-modify-other-keys): Delete obsolete functions.
1132 * term/screen.el: Rewrite to just use the xterm code.
1133 Add copyright notice. Mention tmux.
1135 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1137 * image-mode.el (image-mode-window-put): Also update the property of
1138 the "default window".
1139 * doc-view.el (doc-view-new-window-function): If no window
1140 exists, move to the last known page.
1142 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1145 here-documents (bug#17262).
1147 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1149 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1150 Provide doc strings, as required by snarf-documentation.
1152 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1155 arg of overlays-at. Use `invisible-p'.
1157 * obsolete/lucid.el (extent-at):
1158 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1160 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1162 2014-04-16 João Távora <joaotavora@gmail.com>
1164 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1167 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1169 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1170 Use mapc to loop over a vector. (Bug#17257).
1172 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1174 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1175 patch, there are new problems with file names containing spaces.
1176 Get rid of backticks. (Bug#17238)
1178 2014-04-16 João Távora <joaotavora@gmail.com>
1180 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1183 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1185 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1186 (blink-cursor-mode): Mention customization variables and the
1187 effect of 'blink-cursor-blinks'.
1189 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1191 * simple.el (undo): Prevent insertion of identity mapping into
1192 undo-equiv-table so as undo-only does not inf loop in the presence
1193 of consecutive nils in undo list.
1195 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1197 * faces.el (make-face): Deprecate optional argument as it is no
1198 longer needed/used since the conditional X resources handling
1199 has been pushed down to make-face-x-resource-internal itself.
1200 (make-empty-face): Don't pass optional argument to make-face.
1202 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1204 * savehist.el (savehist-save): Remove workaround for a read-passwd
1205 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1206 noticing that the shim was still present.
1208 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1210 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1212 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1214 * faces.el (face-set-after-frame-default): Remove unused local variable.
1216 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * progmodes/grep.el: Use lexical-binding.
1219 (grep-expand-template): Pass explicit lexical env to `eval'.
1220 (zrgrep): Let-bind grep-find-template explicitly.
1222 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1223 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1225 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1227 * international/characters.el <standard-case-table>: Add entries
1228 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1229 Set category of Coptic characters be 'g' (Greek).
1231 2014-04-12 Leo Liu <sdl.web@gmail.com>
1233 * progmodes/octave.el (completion-table-with-cache):
1234 Define if not available.
1235 (octave-goto-function-definition, octave-sync-function-file-names)
1236 (octave-find-definition-default-filename):
1237 Backquote upattern for compatibility.
1239 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1241 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1242 name twice due to backticks. (Bug#17238)
1244 2014-04-12 Glenn Morris <rgm@gnu.org>
1246 * term/w32-win.el (x-win-suspend-error):
1247 * term/x-win.el (x-win-suspend-error): Sync docs.
1249 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1251 * faces.el (make-face): Remove deprecated optional argument.
1252 The conditional application of X resources is handled directly by
1253 make-face-x-resource-internal since Emacs 24.4.
1254 (make-empty-face): Don't pass optional argument to make-face.
1256 2014-04-11 Glenn Morris <rgm@gnu.org>
1258 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1260 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1262 Ediff's overlay priorities cause more trouble than they solve.
1263 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1264 (ediff-highest-priority): Remove function (bug#17234).
1265 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1266 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1267 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1270 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1272 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1273 entry; use symbol boundaries to avoid mis-matches.
1275 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1277 * net/tramp.el (tramp-file-name-handler)
1278 (tramp-completion-file-name-handler): Avoid recursive loading.
1280 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1281 Quote result also locally.
1283 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1286 Remove left-over code.
1288 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1289 Reuse the previous comment's indentation unconditionally if it's on its
1292 2014-04-09 Daniel Colascione <dancol@dancol.org>
1294 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1295 `no-syntax-crossing' arguments. Forward to `up-list'.
1296 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1297 Implement logic for escaping from strings. Use narrowing to deal
1300 2014-04-09 Leo Liu <sdl.web@gmail.com>
1302 * net/rcirc.el (rcirc-connection-info): New variable.
1303 (rcirc-connect): Use it to store connection info.
1304 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1306 (rcirc-cmd-reconnect): New command. (Bug#17045)
1307 (rcirc-mode, set-rcirc-encode-coding-system)
1308 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1310 2014-04-09 Daniel Colascione <dancol@dancol.org>
1312 * emacs-lisp/cl-indent.el: Add comment claiming
1313 facility is also good for elisp.
1314 (lisp-indent-find-method): New function.
1315 (common-lisp-indent-function): Recognize cl-loop.
1316 (common-lisp-indent-function-1): Recognize cl constructs; use
1317 `lisp-indent-find-method' instead of `get' directly.
1318 (if): Use else-body style for elisp.
1320 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1322 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1323 Module methods. (Bug#17216)
1325 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1328 (describe-bindings-internal): Mark obsolete.
1330 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1333 buffer-file-name, and buffer-file-truename any more.
1335 2014-04-08 Leo Liu <sdl.web@gmail.com>
1337 Use lexical-binding and require cl-lib.
1338 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1339 (rcirc-handler-generic, rcirc-fill-paragraph)
1340 (rcirc-format-response-string, rcirc-target-buffer)
1341 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1342 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1343 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1344 (rcirc-markup-timestamp, rcirc-markup-attributes)
1345 (rcirc-markup-my-nick, rcirc-markup-urls)
1346 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1347 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1348 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1349 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1350 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1351 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1352 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1353 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1354 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1355 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1356 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1359 2014-04-07 João Távora <joaotavora@gmail.com>
1361 * elec-pair.el (electric-pair--syntax-ppss):
1362 When inside comments parse from comment beginning.
1363 (electric-pair--balance-info): Fix typo in comment.
1364 (electric-pair--in-unterminated-string-p): Delete.
1365 (electric-pair--unbalanced-strings-p): New function.
1366 (electric-pair-string-bound-function): New var.
1367 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1368 according to `electric-pair--in-unterminated-string-p'
1370 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1371 Inhibit quote pairing if point-max is inside an unterminated string.
1372 (electric-pair--looking-at-unterminated-string-p): Delete.
1373 (electric-pair--in-unterminated-string-p): New function.
1375 2014-04-07 Glenn Morris <rgm@gnu.org>
1377 * shell.el (shell-directory-tracker):
1378 Go back to just ignoring failures. (Bug#17159)
1380 2014-04-07 João Távora <joaotavora@gmail.com>
1382 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1383 backspace. (bug#16981)
1384 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1385 (electric-pair-backward-delete-char-untabify): Delete.
1386 (electric-pair-mode-map): Bind backspace to a menu item filtering
1387 a new `electric-pair-delete-pair' command.
1388 (electric-pair-delete-pair): New command.
1390 * progmodes/python.el (python-electric-pair-string-delimiter):
1391 Fix triple-quoting electricity. (Bug#17192)
1393 * elec-pair.el (electric-pair-post-self-insert-function):
1394 Don't skip whitespace when `electric-pair-text-pairs' and
1395 `electric-pair-pairs' were used. syntax to
1396 electric-pair--skip-whitespace. (Bug#17183)
1398 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1400 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1403 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1406 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1408 2014-04-07 Glenn Morris <rgm@gnu.org>
1410 * help.el (view-lossage): Doc tweak.
1412 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1414 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1415 only when inhibit-x-resources is nil, and do that earlier in the
1416 function. Doc fix. (Bug#16694)
1417 (face-spec-choose): Accept additional optional argument, whose
1418 value is returned if no matching attributes are found.
1419 (face-spec-recalc): Use the new optional argument when calling
1420 face-spec-choose. (Bug#16378)
1421 (make-face-x-resource-internal): Do nothing when
1422 inhibit-x-resources is non-nil. Don't touch the default face if
1423 reversed video is given--as was done in previous versions of Emacs.
1424 (face-set-after-frame-default): Don't call
1425 make-face-x-resource-internal here. (Bug#16434)
1427 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1429 * doc-view.el (doc-view-bookmark-jump):
1430 Use `bookmark-after-jump-hook' to jump to the right page after the
1431 buffer is shown in a window. (bug#16090)
1433 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1435 * international/characters.el (mirroring): Fix last change:
1436 instead of loading uni-mirrored.el explicitly, do that implicitly
1437 by creating the 'mirroring' uniprop table. This avoids announcing
1438 the loading of uni-mirrored.el.
1440 2014-04-07 Glenn Morris <rgm@gnu.org>
1442 * files.el (buffer-stale--default-function)
1443 (buffer-stale-function, revert-buffer--default):
1444 * autorevert.el (auto-revert-buffers): Doc tweaks.
1446 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1448 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1450 2014-04-07 Glenn Morris <rgm@gnu.org>
1452 * files.el (make-backup-file-name-function)
1453 (make-backup-file-name, make-backup-file-name--default-function)
1454 (make-backup-file-name-1, find-backup-file-name)
1455 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1456 (buffer-stale--default-function, buffer-stale-function)
1457 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1458 (revert-buffer, revert-buffer--default)
1459 (revert-buffer-insert-file-contents--default-function):
1460 Doc fixes related to defaults no longer being nil.
1461 (make-backup-file-name-function): Bump :version.
1462 Restore nil as a valid but deprecated custom type.
1464 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1466 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1467 Handle $' used as a variable (bug#17174).
1469 * progmodes/perl-mode.el (perl-indent-new-calculate):
1470 Handle forward-sexp failure (bug#16985).
1471 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1472 modifiers introducing expressions (bug#17116).
1474 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1478 2014-04-05 Leo Liu <sdl.web@gmail.com>
1480 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1481 Add define-compilation-mode.
1483 2014-04-04 João Távora <joaotavora@gmail.com>
1485 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1486 parse from comment beginning.
1487 (electric-pair--balance-info): Fix typo in comment.
1488 (electric-pair--in-unterminated-string-p): Delete.
1489 (electric-pair--unbalanced-strings-p): New function.
1490 (electric-pair-string-bound-function): New var.
1491 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1492 according to `electric-pair--in-unterminated-string-p'.
1494 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1496 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1497 Move declaration before first use.
1498 (reftex-move-to-next-arg): Silence compiler warning.
1500 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1502 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1503 Use `window-total-width' instead of `window-width'.
1505 2014-04-03 Daniel Colascione <dancol@dancol.org>
1507 * subr.el (set-transient-map): Remove rms's workaround entirely;
1508 use new `suspicious-object' subr to mark our lambda for closer
1511 2014-04-02 Richard Stallman <rms@gnu.org>
1513 * subr.el (set-transient-map): Comment out previous change.
1515 2014-04-02 Glenn Morris <rgm@gnu.org>
1517 * menu-bar.el (menu-bar-file-menu):
1518 * vc/ediff.el (ediff-current-file):
1519 Update for revert-buffer-function no longer being nil by default.
1521 * simple.el (command-execute): Respect nil disabled-command-function.
1523 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1525 * simple.el (command-execute): Do not execute the command when it
1526 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1528 2014-04-02 Juri Linkov <juri@jurta.org>
1530 * dired-aux.el (dired-compress-file): Don't use string-match-p
1531 because its match data is used afterwards.
1533 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1538 2014-04-02 João Távora <joaotavora@gmail.com>
1540 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1541 Inhibit quote pairing if point-max is inside an unterminated string.
1542 (electric-pair--looking-at-unterminated-string-p):
1544 (electric-pair--in-unterminated-string-p): New function.
1546 2014-04-01 Daniel Colascione <dancol@dancol.org>
1548 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1549 when trying to complete the prompt.
1551 2014-03-31 Leo Liu <sdl.web@gmail.com>
1553 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1554 Refactor out eldoc-documentation-function-default.
1555 (eldoc-documentation-function-default): New function.
1556 (eldoc-documentation-function): Change value.
1558 2014-03-31 Glenn Morris <rgm@gnu.org>
1560 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1562 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1563 (vhdl-compose-components-package, vhdl-compose-configuration):
1564 Abbreviate default-directory (missing from some previous upstream sync).
1566 2014-03-31 Reto Zimmermann <reto@gnu.org>
1568 Sync with upstream vhdl mode v3.35.2.
1569 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1570 (top-level): No longer require assoc.
1571 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1572 New functions. Use throughout to replace aget etc.
1573 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1574 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1575 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1576 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1577 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1578 except `vhdl-compiler'.
1579 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1582 2014-03-31 Glenn Morris <rgm@gnu.org>
1584 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1585 Revert 2014-03-26 merge goof; go back to using defalias.
1587 2014-03-30 Daniel Colascione <dancol@dancol.org>
1589 * comint.el (comint-send-input):
1590 Deactivate completion-in-region-mode before we send comint input.
1593 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1596 2014-03-29 Glenn Morris <rgm@gnu.org>
1598 * textmodes/reftex.el: Manage most autoloads automatically.
1599 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1600 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1601 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1602 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1603 * textmodes/reftex-toc.el: Set generated-autoload-file,
1604 and add autoload cookies for reftex.el.
1605 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1607 2014-03-28 Glenn Morris <rgm@gnu.org>
1609 * cus-start.el (report-emacs-bug-address): Set custom properties.
1610 * mail/emacsbug.el (report-emacs-bug-address):
1611 Variable is now defined in emacs.c.
1613 * mail/emacsbug.el (report-emacs-bug):
1614 Include system-configuration-features.
1616 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1618 * simple.el (cycle-spacing): Never delete spaces on first run by
1619 default, but do so in a new 'fast mode and if there are already
1620 N spaces (the previous behavior).
1621 Compare N with its value in previous invocation so that changing
1622 prefix argument restarts `cycle-spacing' sequence.
1623 The idea is that with this change, binding M-SPC to
1624 `cycle-spacing' should not introduce any changes in behavior of
1625 the binding so long as users do not type M-SPC twice in a raw with
1626 the same prefix argument or lack thereof.
1628 2014-03-28 Glenn Morris <rgm@gnu.org>
1630 * faces.el (term-file-aliases): New variable.
1631 (tty-run-terminal-initialization): Respect term-file-aliases.
1632 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1633 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1634 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1636 2014-03-27 Glenn Morris <rgm@gnu.org>
1638 * startup.el (inhibit-startup-hooks): Doc tweak.
1639 (normal-top-level): Simplify running of hooks.
1640 For window-setup-hook, respect inhibit-startup-hooks.
1641 (command-line-1): Don't set window-setup-hook to nil.
1643 Allow selective autoloading from obsolete/ directory.
1644 * Makefile.in (obsolete-autoloads): New rule.
1645 (autoloads): Run obsolete-autoloads.
1646 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1647 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1649 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1651 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1652 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1654 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1655 Don't propertize `?' or `!' as symbol constituent when after
1658 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1660 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1661 which is no longer needed and causes trouble in GTK builds (bug#17046).
1663 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1664 Use url-insert-file-contents; package-handle-response no longer exists.
1666 2014-03-26 Daniel Colascione <dancol@dancol.org>
1668 * simple.el (process-menu-mode-map): New variable.
1669 (process-menu-delete-process): New command.
1671 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1673 * emacs-lisp/package.el: Fix bug#16733 (again).
1674 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1675 (url-http-target-url): Remove unused declarations.
1676 (package-handle-response): Remove.
1677 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1678 (package--download-one-archive): Use current-buffer instead of
1679 dynamic binding of `buffer'.
1680 (describe-package-1): Do not decode readme-string.
1682 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1684 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1686 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1687 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1688 `remote-file-name-inhibit-cache' to nil in the second pass.
1689 (tramp-find-executable): Do not call "which" on SunOS.
1690 (tramp-send-command-and-check): Fix docstring.
1691 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1692 check whether source directory has set the sticky bit.
1694 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1696 * simple.el (primitive-undo): Only process marker adjustments
1697 validated against their corresponding (TEXT . POS). Issue warning
1698 for lone marker adjustments in undo history. (Bug#16818)
1699 (undo-make-selective-list): Add marker adjustments to selective
1700 undo list based on whether their corresponding (TEXT . POS) is in
1701 the region. Remove variable adjusted-markers, which was unused
1702 and only non nil during undo-make-selective-list.
1703 (undo-elt-in-region): Return nil when passed a marker adjustment
1704 and explain in function doc.
1706 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1708 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1710 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1712 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1713 Match special global variables without curlies, too.
1714 (ruby-font-lock-keywords): Simplify the matcher for special global
1715 variables. Don't require a non-word character after the variable.
1718 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * simple.el (redisplay-highlight-region-function): Increase priority of
1721 overlay to make sure boundaries are visible (bug#15899).
1723 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1725 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1726 (frameset-restore): Compare display strings with equal.
1728 * frame.el (make-frame): Don't quote display name in error message,
1729 it is already a string.
1731 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1733 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1736 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1738 * emacs-lisp/package.el (package--add-to-archive-contents):
1739 Include already installed and built-in packages in
1740 `package-archive-contents'.
1741 (package-install): Don't include already installed packages in the
1742 options during interactive invocation. (Bug#16762)
1743 (package-show-package-list): If the buffer is already displayed in
1744 another window, switch to that window.
1746 2014-03-26 Reto Zimmermann <reto@gnu.org>
1748 Sync with upstream vhdl mode v3.35.1.
1749 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1750 (vhdl-compiler-alist): Doc fix.
1751 (vhdl-goto-line): Remove.
1752 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1753 (vhdl-mode) <paragraph-start>: Fix value.
1754 (vhdl-fix-statement-region): Not `for' in wait-statement.
1755 (vhdl-beautify-region): Also (un)tabify.
1756 (vhdl-get-visible-signals):
1757 Scan declarative part of generate statements.
1758 (vhdl-template-record): Fix indentation for record type declaration.
1759 (vhdl-expand-abbrev, vhdl-expand-paren):
1760 Revert to using fset again rather than defalias.
1761 (vhdl-scan-directory-contents): Tweak.
1762 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1763 (vhdl-compose-components-package):
1764 Replace vhdl-goto-line with forward-line.
1765 (top-level): Tweak speedbar frame selection.
1766 (vhdl-generate-makefile-1): Support for compilers with no
1767 unit-to-file name mapping (create directory with dummy files).
1769 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1771 Sync with upstream verilog-mode revision 702457d.
1772 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1773 (create-lockfiles): Declare.
1774 (verilog-read-decls): Fix module header imports, bug709.
1775 Reported by Victor Lau.
1776 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1777 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1778 interface-only modules, bug721. Reported by Dean Hoyt.
1780 2014-03-26 Glenn Morris <rgm@gnu.org>
1782 * obsolete/gulp.el: Move here from emacs-lisp/.
1784 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1785 Remove fallback aliases, since they are always defined now.
1787 2014-03-24 Daniel Colascione <dancol@dancol.org>
1789 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1790 instead of cl-loop search function.
1792 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1794 * calendar/parse-time.el (parse-time-iso8601-regexp)
1795 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1798 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1800 * net/dns.el (network-interface-list): Define for XEmacs.
1802 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1804 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1805 the network interfaces changed.
1806 (dns-query): Use it to flush the data.
1808 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1810 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1812 2014-03-23 Daniel Colascione <dancol@dancol.org>
1814 Change subword-mode to use `find-word-boundary-function-table' and
1815 replace `capitalized-words-mode'. Also, convert to lexical
1818 * progmodes/cap-words.el: Delete now-obsolete file.
1819 * progmodes/subword.el: Reimplement using
1820 `find-word-boundary-function-table'.
1821 (subword-mode-map): Hollow out.
1822 (capitalized-words-mode): Define as obsolete alias for
1824 (subword-mode, superword-mode): Tweak documentation to reflect new
1825 implementation; call `subword-setup-buffer'.
1826 (subword-forward, subword-capitalize): Add underscore to indicate
1828 (subword-find-word-boundary-function-table): New constant.
1829 (subword-empty-char-table): New constant.
1830 (subword-setup-buffer): New function.
1831 (subword-find-word-boundary): New function.
1833 2014-03-23 Daniel Colascione <dancol@dancol.org>
1835 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1836 list to look for keyword arguments instead of `memq', fixing
1837 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1838 Please make bootstrap.
1840 2014-03-22 Glenn Morris <rgm@gnu.org>
1842 * dired.el (dired-read-regexp): Make obsolete.
1843 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1844 (dired-flag-files-regexp):
1845 * dired-aux.el (dired-mark-read-regexp):
1846 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1848 * startup.el (fancy-startup-text):
1849 * help.el (describe-gnu-project): Visit online info about GNU project.
1851 * help-fns.el (help-fns--interactive-only): New function.
1852 (help-fns-describe-function-functions): Add the above function.
1853 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1854 (next-line, previous-line): Remove hand-written interactive-only
1855 information from doc strings, it is auto-generated now.
1856 * bookmark.el (bookmark-write):
1857 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1858 (epa-mail-import-keys): Mark interactive-only,
1859 and remove hand-written interactive-only information from doc strings.
1860 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1861 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1862 * files.el (not-modified):
1863 * simple.el (mark-whole-buffer): Mark interactive-only.
1865 * emacs-lisp/byte-run.el (defun-declarations-alist):
1866 Add interactive-only. Doc tweak.
1867 (macro-declarations-alist): Doc tweak.
1868 * subr.el (declare): Doc tweak (add xref to manual).
1869 * comint.el (comint-run):
1870 * files.el (insert-file-literally, insert-file):
1871 * replace.el (replace-string, replace-regexp):
1872 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1873 (delete-forward-char, goto-line, insert-buffer, next-line)
1874 (previous-line): Set interactive-only via declare.
1876 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1878 * emacs-lisp/package.el (package-desc): Use the contents of the
1879 quoted form, not its cdr. (Bug#16873)
1881 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1883 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1884 benefit of doc.c; change parameter profile to match the X function.
1886 2014-03-22 Leo Liu <sdl.web@gmail.com>
1888 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1889 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1891 2014-03-21 Richard Stallman <rms@gnu.org>
1893 * battery.el (battery-linux-sysfs): Search for each field
1894 from the beginning of the buffer.
1896 * subr.el (set-transient-map): Clear out function and value
1897 of the temporary symbol when we're done with it.
1899 * mail/rmailsum.el (rmail-summary-delete-forward):
1900 Optimize case of reaching end and handling count.
1901 (rmail-summary-mark-deleted): Optimize when N is current msg.
1902 Don't create new summary line.
1903 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1904 (rmail-summary-undelete-many): Rewrite for speed.
1905 (rmail-summary-msg-number): New function.
1907 * mail/rmail.el (rmail-delete-message): Update summary.
1908 (rmail-undelete-previous-message): Handle repeat count arg.
1909 (rmail-delete-backward, rmail-delete-forward): Likewise.
1911 2014-03-21 Daniel Colascione <dancol@dancol.org>
1913 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1914 information in bug reports.
1916 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1918 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1919 and `tramp-copy-env'.
1921 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1922 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1924 2014-03-21 Glenn Morris <rgm@gnu.org>
1926 * electric.el (electric-indent-post-self-insert-function): Add doc.
1928 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1930 * emacs-lisp/package.el (package-compute-transaction):
1931 Use `version-list-<=' to compare the requirement version against
1932 the version of package already to be installed. Update the error
1933 message. (Bug#16826)
1935 * progmodes/ruby-mode.el (ruby-smie-rules):
1936 Add indentation rule for ` @ '. (Bug#17050)
1938 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1940 * align.el (align-regexp): Remove superfluous backslash.
1942 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1943 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1944 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1945 Fix docstring typos.
1946 (ffap-next): Use C-u in docstring.
1947 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1948 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1949 Remove superfluous backslashes.
1950 (ffap-string-at-point): Reflow docstring.
1952 * server.el (server-host): Reflow docstring.
1953 (server-unload-function): Fix docstring typo.
1954 (server-eval-at): Remove superfluous backslash.
1956 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1957 (skeleton-insert): Doc fix.
1958 (skeleton-insert): Reflow docstring.
1960 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1961 (tty-color-approximate, tty-color-by-index, tty-color-values)
1962 (tty-color-desc): Remove superfluous backslashes.
1964 2014-03-21 Glenn Morris <rgm@gnu.org>
1966 * cus-start.el (history-length): Bump :version.
1968 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1969 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1970 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1971 Don't set `make-backup-files'.
1973 * info.el (info--prettify-description): New function,
1974 to give info-finder descriptions consistent case, punctuation.
1975 (Info-finder-find-node): Use it. Sort packages.
1976 Refer to "description" rather than "commentary".
1978 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1980 * frameset.el (frameset--print-register): New function.
1981 (frameset-to-register): Use it.
1983 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1985 * progmodes/hideif.el (hif-string-to-number): New function.
1986 (hif-tokenize): Use it to understand non-decimal floats.
1988 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1990 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1992 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * electric.el (electric-newline-and-maybe-indent): New command.
1995 Bind it globally to C-j.
1996 (electric-indent-mode): Don't mess with the global map any more.
1997 Don't drop the post-self-insert-hook is some buffer is still using it
2000 * bindings.el (global-map): Remove C-j binding.
2002 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2003 the docstring of functions advised before dumping (bug#16993).
2005 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2007 * ps-print.el (ps-generate-postscript-with-faces):
2008 Explicitly deactivate the mark (bug#16866).
2009 * simple.el (deactivate-mark): Update region highlight.
2011 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2013 * emacs-lisp/package.el (describe-package-1):
2014 Decode commentary (bug#16733).
2016 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2018 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2019 modification of the value argument of :set (bug#16755).
2021 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2023 * simple.el (newline-and-indent): Do autofill (bug#17031).
2025 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2027 * newcomment.el (comment-normalize-vars): Only add escaping check
2028 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2029 (comment-beginning): Use `narrow-to-region' instead of moving back
2031 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2032 (comment-start-skip): Update the docstring.
2034 2014-03-18 Richard Stallman <rms@gnu.org>
2036 * dired.el (dired-display-file): Force use of other window.
2038 2014-03-18 Daniel Colascione <dancol@dancol.org>
2040 * startup.el (tty-handle-args): Remove debug message from 2007.
2042 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2044 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2045 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2046 (advice--make-1, advice-add, advice-remove):
2047 Remove braindead :advice-pending hack.
2049 2014-03-17 Glenn Morris <rgm@gnu.org>
2051 * calendar/calendar.el (calendar-generate-month): Apply weekend
2052 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2054 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2056 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2057 (tramp-call-process): Trace also DESTINATION.
2059 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2060 Quote file names when they are local. Remove superfluous trace.
2062 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2064 * newcomment.el (comment-beginning): If `comment-start-skip'
2065 doesn't match, move back one char and try again. (Bug#16971)
2067 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2068 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2069 Set `comment-start-skip' to a simpler value that doesn't try to
2070 check if the semicolon is escaped (this is handled by
2071 `syntax-ppss' now). (Bug#16971)
2073 * progmodes/scheme.el (scheme-mode-variables): Same.
2075 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2077 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2078 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2079 current (Bug#16816, Bug#17007).
2080 (with-current-buffer-window): New macro doing the same as
2081 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2082 * help.el (help-print-return-message): Warn in doc-string to not
2083 use this in `with-help-window'.
2084 (describe-bindings-internal): Call `describe-buffer-bindings'
2085 from within help buffer. See Juanma's scenario in (Bug#16816).
2086 (with-help-window): Update doc-string.
2087 * dired.el (dired-mark-pop-up):
2088 * files.el (save-buffers-kill-emacs):
2089 * register.el (register-preview): Use `with-current-buffer-window'
2090 instead of `with-temp-buffer-window'.
2092 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2094 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2095 Implement inserting into current buffer, documented in their docstrings.
2096 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2097 (rst-section-tree-point, rst-forward-section, rst-indent)
2098 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2099 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2100 (rst-font-lock-handle-adornment-pre-match-form)
2101 (rst-repeat-last-character): Reflow docstrings.
2102 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2103 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2104 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2105 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2106 Fix docstring typos.
2107 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2108 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2109 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2111 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2113 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2114 for compatibility with other ports.
2115 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2116 from the -xrm command line argument, but in the Nextstep port its value
2117 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2119 * progmodes/python.el (defconst, python-syntax-count-quotes)
2120 (python-indent-region, python-indent-shift-right)
2121 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2122 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2123 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2124 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2125 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2126 (python-shell-buffer-substring, python-shell-send-buffer)
2127 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2128 (python-completion-complete-at-point, python-fill-docstring-style)
2129 (python-eldoc-function, python-imenu-format-item-label)
2130 (python-imenu-format-parent-item-label)
2131 (python-imenu-format-parent-item-jump-label)
2132 (python-imenu--build-tree, python-imenu-create-index)
2133 (python-imenu-create-flat-index): Fix docstring typos.
2134 (python-indent-context, python-shell-prompt-regexp, run-python):
2135 Remove superfluous backslashes.
2136 (python-indent-line, python-nav-beginning-of-defun)
2137 (python-shell-get-buffer, python-shell-get-process)
2138 (python-info-current-defun, python-info-current-line-comment-p)
2139 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2140 (python-indent-post-self-insert-function, python-shell-send-file)
2141 (python-shell-completion-get-completions)
2142 (python-shell-completion-complete-or-indent)
2143 (python-eldoc--get-doc-at-point): Reflow docstrings.
2145 2014-03-14 Glenn Morris <rgm@gnu.org>
2147 * emacs-lisp/package.el (package-menu-mode-map):
2148 Replace use of obsolete function alias. Tweak menu item text.
2150 * info.el (Info-finder-find-node):
2151 Ignore the `emacs' metapackage. (Bug#10813)
2153 * finder.el (finder-list-matches): Include unversioned packages
2154 in the result of a keyword search.
2156 * finder.el (finder--builtins-descriptions): New constant.
2157 (finder-compile-keywords): Use finder--builtins-descriptions.
2159 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2161 * simple.el (blink-matching-paren): Describe the new value,
2162 `jump', enabling the old behavior.
2163 (blink-matching-open): Use that value. (Bug#17008)
2165 2014-03-14 Glenn Morris <rgm@gnu.org>
2167 * finder.el (finder-no-scan-regexp): Add leim-list.
2168 (finder-compile-keywords):
2169 Don't skip files with same basename. (Bug#14010)
2170 * Makefile.in (setwins_finder): New, excluding leim.
2171 (finder-data): Use setwins_finder.
2173 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2174 (help-function-arglist, help-make-usage): Move from here...
2175 * help.el (help-split-fundoc, help-add-fundoc-usage)
2176 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2177 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2179 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2181 * net/socks.el (socks, socks-override-functions)
2182 (socks-find-services-entry):
2183 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2184 (hif-find-ifdef-block):
2185 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2187 * net/tls.el (tls-program): Reflow docstring.
2189 * progmodes/pascal.el (pascal-mode-abbrev-table)
2190 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2191 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2192 (pascal-outline-mode): Fix docstring typos.
2193 (pascal-mode): Let define-derived-mode document mode hook.
2194 (pascal-uncomment-area): Reflow.
2195 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2197 * progmodes/opascal.el (opascal-compound-block-indent)
2198 (opascal-case-label-indent): Fix docstring typos.
2199 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2201 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2203 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2204 Fontify multiple adjacent negation chars. (Bug#17004)
2206 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2208 * emacs-lisp/package.el (package--prepare-dependencies):
2209 Accept requirements without explicit version (bug#14941).
2211 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2213 * register.el (register-separator, copy-to-register): Doc fixes.
2214 (register-preview-default): Remove unnecessary call to concat.
2216 * frameset.el (frameset-restore): When checking for a visible frame,
2217 use the action map instead of calling visible-frame-list.
2219 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2221 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2223 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2225 * window.el (fit-frame-to-buffer): Get maximum width from
2226 display's width instead of height.
2228 2014-03-12 Glenn Morris <rgm@gnu.org>
2230 * desktop.el (desktop-restore-frames)
2231 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2232 (desktop-restore-reuses-frames): Doc tweaks.
2234 * electric.el (electric-indent-mode): Doc fix.
2236 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2238 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2239 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2240 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2241 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2242 (cvs-dired-use-hook): Fix docstring typos.
2243 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2246 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2247 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2248 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2249 (cvs-execute-single-dir): Fix docstring typos.
2251 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2252 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2254 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2256 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2257 Fix docstring typos.
2259 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2261 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2262 called from jump-to-register after unloading the frameset package.
2264 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2267 (bug#16975). Deactivate the mark before setting it to nil.
2268 (activate-mark): Do nothing if region is already active.
2270 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2272 * frameset.el (frameset--target-display): Remove definition; declare.
2273 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2275 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2277 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2278 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2279 when the advice is pending.
2280 (advice-remove): Remove this marker when not needed any more.
2282 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2284 * frameset.el: Separate options for reusing frames and cleaning up.
2285 (frameset--reuse-list): Remove definition; declare.
2286 (frameset--action-map): Declare.
2287 (frameset--find-frame-if): Doc fix.
2288 (frameset--restore-frame): Cache frame action.
2289 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2290 how to clean up the frame list after restoring. Remove cleaning
2291 options from REUSE-FRAMES. Change all keyword values to symbols.
2292 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2294 * desktop.el (desktop-restore-forces-onscreen)
2295 (desktop-restore-reuses-frames): Use non-keyword values.
2296 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2298 2014-03-10 Glenn Morris <rgm@gnu.org>
2300 * files.el (find-file): Doc fix: update info node name.
2302 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2303 Doc fix: remove references to deleted info nodes.
2305 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2307 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2308 Do not add `nil' to the environment, when there's no remote `locale'.
2309 (tramp-find-inline-encoding): Check, that the remote host has
2310 installed perl, before sending scripts.
2312 2014-03-10 Leo Liu <sdl.web@gmail.com>
2314 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2315 Clear eldoc-last-message. (Bug#16920)
2317 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2322 2014-03-09 Juri Linkov <juri@jurta.org>
2324 * ansi-color.el (ansi-color-names-vector): Copy default colors
2325 from `xterm-standard-colors' that look well on the default white
2326 background (and also on the black background) to avoid illegible
2327 color combinations like yellow-on-white and white-on-white.
2328 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2330 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2332 * frameset.el (frameset-restore): When no frame is visible, do not
2333 generate a list of frames, just make visible the selected one.
2335 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2337 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2338 it only contains the repository root. (Bug#16897)
2340 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2342 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2343 only when `remote-file-name-inhibit-cache' is nil.
2344 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2346 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2348 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2350 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2351 fit-frame-to-buffer variable. Fix doc-string.
2352 (fit-window-to-buffer): Set ONLY argument in call of
2353 fit-frame-to-buffer. Fix doc-string.
2355 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2357 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2358 (tramp-action-password): Clear password cache if needed.
2359 (tramp-read-passwd): Do not clear password cache.
2361 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2362 cache unless it is the first password request.
2364 2014-03-06 Glenn Morris <rgm@gnu.org>
2366 * simple.el (newline): Doc tweak.
2368 * emacs-lisp/shadow.el (load-path-shadows-find):
2369 Ignore dir-locals. (Bug#12357)
2371 2014-03-05 Glenn Morris <rgm@gnu.org>
2373 * files.el (interpreter-mode-alist):
2374 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2376 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2378 * frameset.el (frameset--initial-params): Filter out null entries.
2380 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2382 * window.el (window-min-height, window-min-width):
2383 Rewrite doc-strings.
2384 (window-body-size): Add PIXELWISE argument to make it consistent
2387 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2389 * finder.el (finder-mode-map, finder-mode-syntax-table):
2390 Revert part of 2014-02-28 change.
2392 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2394 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2395 (eww-setup-buffer): Clear next/prev/etc more reliably.
2396 (eww-textarea-map): [tab] doesn't work on tty.
2397 Reported by Mario Lang.
2399 * net/shr.el (shr-map): Ditto.
2401 2014-03-04 Glenn Morris <rgm@gnu.org>
2403 * minibuffer.el (completion-hilit-commonality):
2404 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2406 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2408 * hilit-chg.el (hilit-chg-unload-function): New function.
2409 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2410 (hilit-chg-map-changes): Prefer cardinal number to digit.
2411 (hilit-chg-display-changes): Reflow docstring.
2412 (highlight-changes-rotate-faces): Remove superfluous backslash.
2414 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2416 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2417 `tramp-send-command-and-check'.
2419 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2421 * hexl.el (hexl-address-region, hexl-ascii-region)
2422 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2423 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2424 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2425 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2426 (hexl-mode): Doc fix.
2427 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2428 (hexl-mode-ruler): Fix typos in docstrings.
2430 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2431 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2432 Remove superfluous backslashes.
2433 (strokes-last-stroke, strokes-global-map, strokes-mode):
2435 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2436 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2437 (strokes-distance-squared, strokes-global-set-stroke)
2438 (strokes-global-set-stroke-string): Doc fixes.
2439 (strokes-help): Fix typos; reflow docstring.
2441 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2443 * window.el (window-in-direction): Fix doc-string.
2445 2014-03-04 Glenn Morris <rgm@gnu.org>
2447 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2448 Explicit error if no grammar.
2449 (smie-config-save): Doc fix. Fix quote typo.
2451 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2453 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2454 electric-indent-mode-hook if we obey electric-indent-mode.
2455 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2456 decide whether we obey electric-indent-mode.
2457 (c-change-set-fl-decl-start, c-extend-after-change-region):
2459 (c-electric-indent-mode-hook): Assume we do want to obey
2460 electric-indent-mode.
2462 * electric.el (electric-indent-mode-has-been-called): Remove.
2463 (electric-indent-mode): Fix accordingly.
2465 * files.el (hack-local-variables): Mention file name in warning.
2467 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2469 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2471 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2472 * simple.el (delete-forward-char): Mark as interactive-only.
2474 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2476 * icomplete.el (icomplete-completions):
2477 Follow-up to 2014-03-01 change.
2479 * icomplete.el: Miscellaneous doc fixes.
2480 Use Icomplete everywhere instead of icomplete for consistency.
2481 (icomplete-max-delay-chars): Fix typo.
2482 (icomplete-mode): Use \[].
2483 (icomplete-tidy, icomplete-exhibit): Reflow.
2484 (icomplete-minibuffer-setup-hook, icomplete-completions):
2485 Remove superfluous backlashes.
2487 * ido.el: Miscellaneous doc fixes.
2488 Use Ido everywhere instead of ido or `ido' for consistency.
2489 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2490 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2491 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2492 (ido-separator): Extract obsolescence info from docstring and declare
2493 with make-obsolete-variable.
2494 (ido-minibuffer-setup-hook): Simplify example.
2495 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2496 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2497 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2498 (ido-everywhere): Reflow docstring.
2499 (ido-toggle-vc): Doc fix.
2500 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2501 of long list of keybindings.
2503 2014-03-03 Glenn Morris <rgm@gnu.org>
2505 * frame.el (display-pixel-height, display-pixel-width)
2506 (display-mm-dimensions-alist, display-mm-height)
2507 (display-mm-width): Doc tweaks.
2509 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2511 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2512 case of undo in region.
2514 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2516 * window.el (fit-window-to-buffer): Fix argument in window-size
2517 call when window is horizontally combined.
2519 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2521 * icomplete.el (icomplete-completions): Use string-width.
2522 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2524 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2526 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2527 Highlight regexp options. (Bug#16914)
2529 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2531 * window.el (window--max-delta-1): Round down when calculating
2532 how many lines/columns we can get from a window.
2534 2014-03-01 Glenn Morris <rgm@gnu.org>
2536 * isearch.el (search-invisible): Doc fix.
2538 * minibuffer.el (completion-hilit-commonality):
2539 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2540 * comint.el (comint-dynamic-list-completions): Doc fix.
2541 * comint.el (comint-dynamic-list-completions):
2542 * filecache.el (file-cache-minibuffer-complete):
2543 * tempo.el (tempo-display-completions):
2544 * eshell/em-hist.el (eshell-list-history):
2545 Replace use of obsolete argument of display-completion-list.
2547 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2549 * icomplete.el (icomplete-completions):
2550 Revert back to using "..." when ?… cannot be displayed.
2552 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2554 * finder.el (finder-unload-function): New function.
2556 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2558 * dframe.el (dframe-detach):
2559 * find-dired.el (find-dired, find-name-dired):
2560 * finder.el (finder-mode-map, finder-mode-syntax-table)
2561 (finder-headmark, finder-select, finder-mouse-select):
2562 Fix docstring typos.
2564 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2566 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2567 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2568 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2569 Fix doc-string based on a suggestion by Nicolas Richard
2570 <theonewiththeevillook@yahoo.fr>.
2571 * help.el (with-help-window): Fix doc-string.
2573 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2575 * net/shr.el (shr-image-animate): New option.
2576 (shr-put-image): Respect shr-image-animate.
2578 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2580 * net/tramp-adb.el (tramp-adb-parse-device-names):
2581 Use `accept-process-output'.
2582 (tramp-adb-handle-file-truename): Cache the localname only.
2583 (tramp-adb-handle-make-directory)
2584 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2585 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2586 modes cannot be changed.
2588 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2589 file properties of symlinks.
2591 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2593 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2594 required/optional fields to match development biblatex. (Bug#16781)
2596 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2598 * saveplace.el (toggle-save-place):
2599 Fix argument handling. (Bug#16673)
2601 2014-02-28 Glenn Morris <rgm@gnu.org>
2603 * minibuffer.el (completions-first-difference)
2604 (completions-common-part, completion-hilit-commonality): Doc fixes.
2606 2014-02-28 Karl Berry <karl@gnu.org>
2608 * info.el (Info-mode-map): Add H for describe-mode,
2609 to synchronize with standalone Info.
2611 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2613 * progmodes/sql.el (sql-interactive-mode):
2614 Avoid setting global comint-input-ring-separator. (Bug#16814)
2616 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2618 * net/dbus.el (dbus--init-bus): Declare function.
2619 (dbus-path-local, dbus-interface-local): New defconst.
2620 (dbus-init-bus): Use them.
2621 (dbus-return-values-table): Extend doc.
2622 (dbus-handle-bus-disconnect): Extend error message.
2624 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2626 * subr.el (y-or-n-p): Fix double space issue in message.
2628 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2630 * net/tramp.el (tramp-call-process): Improve trace message.
2631 (tramp-handle-insert-file-contents): Trace error case.
2633 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2634 <insert-directory>: Use `tramp-handle-insert-directory'.
2635 (tramp-adb-handle-insert-directory): Remove function.
2636 (tramp-adb-send-command-and-check): New defun, replacing
2637 `tramp-adb-command-exit-status'. Change all callees.
2638 (tramp-adb-handle-file-attributes)
2639 (tramp-adb-handle-directory-files-and-attributes): Use it.
2640 (tramp-adb-ls-output-name-less-p):
2641 Use `directory-listing-before-filename-regexp'.
2642 (tramp-adb-handle-delete-directory): Flush also file properties of
2643 the truename of directory.
2644 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2645 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2646 (tramp-adb-handle-write-region): Implement APPEND.
2647 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2648 properties correctly.
2649 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2650 variables. Check for connected devices only when needed.
2652 2014-02-27 Glenn Morris <rgm@gnu.org>
2654 * minibuffer.el (completion-table-dynamic)
2655 (completion-table-with-cache): Doc fixes.
2657 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2658 (completing-read-multiple): Doc fixes.
2660 2014-02-27 Daniel Colascione <dancol@dancol.org>
2662 * minibuffer.el (completion--nth-completion): Fix indentation.
2664 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2665 explicit tramp path is empty.
2667 2014-02-27 Glenn Morris <rgm@gnu.org>
2669 * emacs-lisp/crm.el (completing-read-multiple):
2670 Empower help-enable-auto-load.
2672 2014-02-26 Glenn Morris <rgm@gnu.org>
2674 * startup.el (command-line): Don't init the tty in daemon mode.
2676 Avoid calling tty-setup-hook twice, eg if a term file
2677 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2678 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2679 (tty-create-frame-with-faces): Use it.
2680 * startup.el (command-line): Pass run-hook argument
2681 to tty-run-terminal-initialization.
2683 * dired.el (dired-restore-desktop-buffer): Demote errors;
2684 eg in case a glob match fails. (Bug#16884)
2686 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2688 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2689 error from `read-from-string'. (Bug#16850)
2691 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2692 result of `completing-read' in the interactive form. (Bug#16854)
2694 2014-02-25 Glenn Morris <rgm@gnu.org>
2696 * image.el (image-animate, image-animate-timeout):
2697 Stop animating images in dead buffers. (Bug#16878)
2699 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2701 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2703 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2704 * term/sun.el (sun-raw-prefix-hooks):
2705 Use tty-setup-hook instead of term-setup-hook.
2706 (terminal-init-sun): Construct message from bytecomp plist.
2707 * term/wyse50.el (enable-arrow-keys): Doc fix.
2709 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2711 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2712 Fix docstring typos.
2714 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2716 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2718 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2720 * minibuffer.el (completion--try-word-completion):
2721 Fix error when completing M-x commands (bug#16808).
2723 2014-02-24 Leo Liu <sdl.web@gmail.com>
2725 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2727 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2729 * apropos.el (apropos-print): Avoid formatting error when
2730 apropos-do-all and apropos-compact-layout are both t.
2732 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2734 * apropos.el (apropos-property, apropos-all-words-regexp)
2735 (apropos-true-hit, apropos-variable, apropos-print):
2736 Fix docstring typos, and remove obsolete comment.
2738 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2740 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2741 Preserve trailing "/". (Bug#16851)
2743 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2745 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2746 after `=>' (bug#16811).
2747 (ruby-smie-rules): Handle the inconsistent second element of the
2748 list returned by `smie-indent--parent'.
2749 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2752 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2754 * elec-pair.el (electric-pair-text-syntax-table)
2755 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2756 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2757 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2758 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2760 2014-02-22 Glenn Morris <rgm@gnu.org>
2762 * imenu.el (imenu--generic-function): Doc fix.
2764 * register.el (frame-configuration-to-register): Make obsolete.
2766 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2768 * desktop.el (desktop-save-buffer-p): Do not fail when
2769 desktop-files-not-to-save is nil. Return t for true result
2772 2014-02-22 Daniel Colascione <dancol@dancol.org>
2774 * net/secrets.el (secrets-create-item, secrets-search-items):
2775 Check that attribute values are strings, avoiding the construction
2776 of invalid dbus messages.
2778 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2780 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2781 defun-declarations-alist.
2783 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2785 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2788 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2790 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2791 (whitespace-newline, whitespace-trailing, whitespace-line)
2792 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2793 (whitespace-space-after-tab): Fix typo in docstrings.
2795 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2797 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2799 * electric.el (electric-indent-functions-without-reindent):
2800 Add `yaml-indent-line'.
2802 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2804 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2805 It has done nothing for years; should be removed after the release.
2807 * simple.el (choose-completion): Fix docstring typo.
2808 (read-quoted-char-radix): Remove unneeded * in docstring.
2809 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2810 Don't escape parentheses unnecessarily in docstrings.
2812 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2814 Fix handling of window-min-height/-width (Bug#16738).
2815 * window.el (window--dump-window, window--dump-frame):
2817 (window--min-size-1): Account for window dividers.
2818 When window-resize-pixelwise is nil, delay rounding till after the
2819 sum of the window components has been calculated.
2820 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2821 nil make sure at least one text line and two text columns remain
2823 (window-resize): Signal an error when window-resize-apply fails.
2824 (window--resize-child-windows): Fix calculation of by how many
2825 pixels a window can still be shrunk via window-new-normal.
2826 (adjust-window-trailing-edge): Call window--resizable with
2827 correct TRAIL argument.
2829 (with-temp-buffer-window): Don't evaluate BODY within
2830 with-current-buffer (Bug#16816).
2832 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2834 * net/tramp.el (tramp-check-cached-permissions):
2835 Call `file-attributes' with `suffix' being a symbol but a string.
2837 2014-02-21 Daniel Colascione <dancol@dancol.org>
2839 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2840 (dbus-init-bus): New function: call into dbus-init-bus-1
2841 and installs a handler for the disconnect signal.
2842 (dbus-call-method): Rewrite to look for result in cons.
2843 (dbus-call-method-handler): Store result in cons.
2844 (dbus-check-event): Recognize events with nil sender as valid.
2845 (dbus-handle-bus-disconnect): New function. React to bus
2846 disconnection signal by synthesizing dbus error for each
2847 pending synchronous or asynchronous call.
2848 (dbus-notice-synchronous-call-errors): New function.
2849 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2850 is true, not all the time.
2852 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2854 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2855 Remove obsolescence declarations, these variables do not exist anymore.
2857 * savehist.el (savehist-save-minibuffer-history)
2858 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2859 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2860 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2861 mostly, refer to "Savehist mode" when talking about the mode,
2862 and not the function.
2864 * saveplace.el (save-place): Remove redundant info in docstring.
2865 (save-place-forget-unreadable-files, toggle-save-place)
2866 (save-place-forget-unreadable-files, save-place-dired-hook):
2867 Fix typos and remove unneeded backslashes.
2869 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2871 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2872 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2875 <insert-directory>: Use `tramp-handle-insert-directory'.
2876 (tramp-gvfs-handle-insert-directory): Remove function.
2878 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2879 Call `tramp-handle-insert-directory'.
2881 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2883 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2884 before the start of buffer/region (bug#16799).
2886 2014-02-20 Glenn Morris <rgm@gnu.org>
2888 * isearch.el (search-invisible): Doc fix.
2890 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2892 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2895 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2897 * frameset.el (frameset-restore): Delay removing an old frame's
2898 duplicate id until the new frame has been correctly created.
2900 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2902 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2903 (tramp-check-cached-permissions): Call `file-attributes' if the
2906 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2907 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2909 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2910 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2911 (tramp-gvfs-maybe-open-connection): Set always connection
2912 properties, even if target is mounted already.
2914 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2915 Set tramp-autoload cookie.
2916 (tramp-get-remote-touch): New defun.
2917 (tramp-sh-handle-set-file-times): Use it.
2918 (tramp-sh-handle-directory-files-and-attributes):
2919 Use `tramp-handle-directory-files-and-attributes' if neither stat
2920 nor perl are available on the remote host.
2922 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2923 "/". Write long listing only when "l" belongs to the switches.
2925 * net/trampver.el: Update release number.
2927 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2929 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2931 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2933 * window.el (window-state-put): Allow WINDOW to refer to an
2934 internal window (Bug#16793).
2936 2014-02-19 Glenn Morris <rgm@gnu.org>
2938 * textmodes/remember.el: Move provide statement to end.
2939 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2940 (remember-notes): Doc fixes.
2942 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * delsel.el (delete-char): Restore incorrectly erased property
2947 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2949 * frameset.el (frameset--restore-frame): When a frame is being reused
2950 and its root window is not alive, delete all the frame's windows before
2951 restoring the window state. This works around the issue in bug#16793.
2953 2014-02-18 Glenn Morris <rgm@gnu.org>
2955 * textmodes/remember.el (remember-data-directory)
2956 (remember-directory-file-name-format, remember-store-in-files)
2957 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2958 (remember-notes-save-and-bury-buffer)
2959 (remember-notes--kill-buffer-query): Doc fixes.
2961 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2963 2014-02-17 Alan Mackenzie <acm@muc.de>
2965 Connect electric-indent-mode up with CC Mode. Bug #15478.
2966 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2967 to electric-indent-{,local-}-mode.
2968 (c-basic-common-init): Set electric-indent-inhibit.
2969 Initialise c-electric-flag from electric-indent-mode.
2970 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2971 New hook functions which propagate electric-indent-mode to CC mode.
2973 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2974 hit, toggle electric-indent-local-mode.
2976 * electric.el (electric-indent-mode-has-been-called):
2979 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2981 * frameset.el (frameset-cfg-id): New function.
2982 (frameset--reuse-frame, frameset-restore): Use it.
2983 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2985 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * ido.el (ido-file-internal): Remove unused var `d'.
2988 Use \` for to match BoS. Fit within 80n columns.
2990 2014-02-17 Daniel Colascione <dancol@dancol.org>
2992 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2993 dbus-call-method check for completion using a busy-wait loop with
2996 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2998 Sync with Tramp 2.2.9.
3000 * net/trampver.el: Update release number.
3002 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3004 * ido.el (ido-file-internal): Don't add the name of an existing
3005 directory twice. (Bug#16747)
3007 2014-02-16 Glenn Morris <rgm@gnu.org>
3009 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3010 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3012 2014-02-15 Michael R. Mauger <michael@mauger.com>
3014 * progmodes/sql.el: Version 3.4
3015 (sql-oracle-options): New default value ("-L").
3016 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3017 (sql-placeholders-filter): Correct placeholder pattern.
3018 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3019 (sql-login-delay): New variable.
3020 (sql-product-interactive): Use it.
3022 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3024 * frameset.el (frameset--jump-to-register): Check that buffer is live
3027 2014-02-15 Glenn Morris <rgm@gnu.org>
3029 * info.el (info-initialize): Revert 2014-01-10 change.
3031 2014-02-14 Glenn Morris <rgm@gnu.org>
3033 * replace.el (map-query-replace-regexp)
3034 (read-regexp-defaults-function, read-regexp): Doc fixes.
3036 * dired.el (dired-read-regexp):
3037 * faces.el (list-faces-display):
3038 * misearch.el (multi-isearch-read-matching-buffers)
3039 (multi-isearch-read-matching-files):
3040 * play/cookie1.el (cookie-apropos):
3041 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3043 * textmodes/remember.el (remember): Use frameset-to-register
3044 rather than frame-configuration-to-register.
3046 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3048 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3049 incorrect keybinding.
3051 2014-02-13 Daniel Colascione <dancol@dancol.org>
3053 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3054 when adding overlays so that line numbers from compiler match line
3057 2014-02-13 Glenn Morris <rgm@gnu.org>
3059 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3061 * jit-lock.el (jit-lock-mode): Doc fix.
3063 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3065 * apropos.el (apropos-read-pattern): When the user passes an empty
3066 string, give a more helpful error message than "Wrong type
3067 argument: stringp, nil".
3069 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3071 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3073 2014-02-13 Glenn Morris <rgm@gnu.org>
3075 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3077 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3080 shift-select commands.
3082 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3084 * progmodes/js.el (js-indent-line): Don't widen.
3085 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3087 2014-02-12 Glenn Morris <rgm@gnu.org>
3089 * icomplete.el (icomplete): Add info-link to defgroup.
3090 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3091 (icomplete-minibuffer-map, icomplete-mode)
3092 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3094 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3095 (package-menu-filter): Rename from package-menu-filter-interactive.
3098 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3100 * frameset.el (frameset--jump-to-register): Select the required
3101 window and buffer before restoring position (bug#16696).
3103 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3105 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3107 2014-02-10 Glenn Morris <rgm@gnu.org>
3109 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3111 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3113 * w32-common-fns.el (x-get-selection): Doc fix.
3114 * select.el (x-get-selection): Doc fix. (Bug#15109)
3116 * face-remap.el (face-remap-add-relative)
3117 (face-remap-remove-relative, face-remap-reset-base)
3118 (face-remap-set-base): Call force-mode-line-update to redisplay
3119 the current buffer due to potential change in faces. (Bug#16709)
3121 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3123 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3124 script more robustly.
3126 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3128 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3130 * simple.el (choose-completion): Doc fix (bug#14160).
3132 * subr.el (event-start): Say what a nil EVENT value means.
3134 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3137 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3139 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3141 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3143 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3144 predicate function (bug#15455).
3146 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3148 * ielm.el (inferior-emacs-lisp-mode): Instead of
3149 `comment-use-global-state', set `comment-use-syntax'.
3151 2014-02-10 Glenn Morris <rgm@gnu.org>
3153 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3155 2014-02-09 Alan Mackenzie <acm@muc.de>
3157 Fix c-invalidate-state-cache on narrowed buffers.
3158 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3159 Widen when setting and clearing the CPP delimiter properties.
3161 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3163 * help.el (describe-bindings): Doc fix (bug#9888).
3165 * files.el (save-buffer): Use ARG as the parameter name for
3166 consistency (bug#10346).
3167 (save-buffer): Clarify the 0 argument (bug#10346).
3169 * cus-edit.el (customize-apropos): Fix error string.
3170 (custom-buffer-create): Doc fix (bug#11122).
3171 (custom-sort-items): Doc fix (bug#11121).
3173 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3175 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3176 (icomplete-simple-completing-p): Mention the previous variable.
3178 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3179 meaning of the parameter (bug#12282).
3181 * files.el (find-file-noselect): Clarify prompt when changing
3182 readedness (bug#13261).
3183 (locate-file): Suffixes aren't returned, so don't say that they
3185 (backup-inhibited): Doc clarification (bug#12525).
3187 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3188 before we actually start to delete things (bug#16331).
3190 * subr.el (event-start): Doc fix (bug#14228).
3193 2014-02-09 Glenn Morris <rgm@gnu.org>
3195 * emacs-lisp/warnings.el (lwarn):
3196 Empower help-enable-auto-load. (Bug#15940)
3198 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3200 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3203 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3205 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3206 Insert output at end of buffer. (Bug#16120)
3208 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3210 * simple.el (choose-completion-string-functions): Document new
3211 calling convention (bug#14153).
3212 (execute-extended-command): Clarify doc string (bug#13373).
3214 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3216 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3217 (find-grep-dired): Doc fix (bug#14288).
3219 2014-02-08 Juri Linkov <juri@jurta.org>
3221 * isearch.el (isearch-quote-char): Check character validity
3222 like in `quoted-insert' (bug#16677).
3224 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3226 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3228 * isearch.el (isearch-hide-immediately): Doc clarification
3231 * simple.el (line-move): Document utility function used many
3232 places in the Emacs sources (bug#14843).
3234 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3235 (dired-prev-marked-file): Doc fix (bug#14855).
3236 (dired-up-directory): Doc fix (bug#14848).
3238 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3240 * files.el (file-relative-name): Doc fix (bug#15159).
3242 * fringe.el (fringe-styles): Doc fix (bug#15239).
3244 * isearch.el (isearch-filter-predicate): Documentation typo fix
3247 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3249 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3251 * replace.el (replace-match-maybe-edit): Doc clarification
3254 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3256 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3258 2014-02-08 Glenn Morris <rgm@gnu.org>
3260 * help-fns.el (describe-variable):
3261 Check {file,dir}-local-variables-alist, and buffer-file-name,
3262 in the correct buffer.
3264 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3266 * help-fns.el (describe-variable): Fix the case where
3267 a value is directory-local with no dir-locals file. (Bug#16635)
3269 2014-02-08 Glenn Morris <rgm@gnu.org>
3271 * abbrev.el (edit-abbrevs-mode):
3272 Derive from fundamental-mode. (Bug#16682)
3274 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3276 * simple.el (quoted-insert): Check character validity (bug#16677).
3278 2014-02-07 Juri Linkov <juri@jurta.org>
3280 * desktop.el (desktop-read): Claim the lock when the owner is not
3281 the current process. (Bug#16157)
3283 2014-02-07 Juri Linkov <juri@jurta.org>
3285 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3286 to "\\` ". (Bug#16651)
3288 2014-02-07 Juri Linkov <juri@jurta.org>
3290 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3291 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3292 (desktop-auto-save-cancel-timer): New function with some code from
3293 `desktop-auto-save-set-timer'.
3294 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3295 Instead of setting `desktop-save-mode' to nil, call
3296 `desktop-save-mode' with arg 0. (Bug#16630)
3298 2014-02-07 Glenn Morris <rgm@gnu.org>
3300 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3301 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3302 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3304 * obsolete/iswitchb.el: Move to obsolete/.
3305 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3306 since obsolete/ is not scanned for autoloads.
3307 * emacs-lisp/authors.el (authors-valid-file-names):
3310 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3311 Disable now non-functional find-file-hook.
3313 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3315 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3316 instead of ";" in order to avoid additional prompts. Let heredoc
3317 scripts read from tty. (Bug#16582)
3318 (tramp-send-command): No special handling of heredocs, it isn't
3321 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3323 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3324 with a space (bug#16664). Limit the symbols considered to the ones
3325 that are bound or fbound (bug#16646).
3327 2014-02-06 Glenn Morris <rgm@gnu.org>
3329 * epa.el (epa-mail-aliases): Doc fix.
3331 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3333 * emacs-lisp/lisp.el (lisp-completion-at-point):
3334 Use `completion-table-merge' instead of `completion-table-in-turn'
3337 * minibuffer.el (completion-table-merge): New function.
3339 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3341 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3342 (tramp-sh-handle-set-file-acl)
3343 (tramp-sh-handle-start-file-process)
3344 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3345 (tramp-find-executable, tramp-send-command): Use it.
3347 2014-02-05 Glenn Morris <rgm@gnu.org>
3349 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3351 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3353 * progmodes/python.el (python-shell-send-string)
3354 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3356 2014-02-04 Anders Lindgren <andlind@gmail.com>
3358 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3359 the names (bug#16620).
3361 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3363 * faces.el (window-divider): New default value. Rewrite doc-string.
3364 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3366 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3368 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3369 `protected' and `public' can also be called without arguments.
3371 2014-02-03 Glenn Morris <rgm@gnu.org>
3373 * register.el (window-configuration-to-register)
3374 (frame-configuration-to-register): Unadvertise unused argument.
3375 * frameset.el (frameset-to-register): Remove unused argument.
3377 * frameset.el (frameset-to-register):
3378 * kmacro.el (kmacro-to-register):
3379 * register.el (increment-register):
3380 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3381 (calc-append-to-register, calc-prepend-to-register):
3382 * play/gametree.el (gametree-layout-to-register)
3383 (gametree-apply-register-layout):
3384 * textmodes/picture.el (picture-clear-rectangle-to-register)
3385 (picture-yank-rectangle-from-register):
3386 * vc/emerge.el (emerge-combine-versions-register):
3387 Use register-read-with-preview to read registers.
3389 2014-02-03 João Távora <joaotavora@gmail.com>
3391 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3392 when at beginning of (possibly narrowed) buffer.
3394 2014-02-02 Daniel Colascione <dancol@dancol.org>
3396 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3397 Also try to display local help from just before point.
3399 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3401 c-parse-state. Don't "append-lower-brace-pair" in certain
3402 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3403 recognised as a comment.
3405 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3406 as well as normal comment starter.
3407 (c-parse-state-get-strategy): Extra return possibility
3409 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3410 return value list to indicate replacement of a brace-pair cons
3412 (c-parse-state-1): With 'back-and-forward, only call
3413 c-append-lower-brace-pair-to state-cache when cons-separated.
3415 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3417 * term/ns-win.el (ns-suspend-error): New function.
3418 (ns-initialize-window-system): Add ns-suspend-error to
3419 suspend-hook (Bug#16612).
3421 2014-02-02 Daniel Colascione <dancol@dancol.org>
3423 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3424 Make loading cc-mode silent.
3426 2014-02-02 Daniel Colascione <dancol@dancol.org>
3428 * comint.el (comint-prompt-read-only): Change doc to suggest
3431 2014-02-02 Glenn Morris <rgm@gnu.org>
3433 * register.el (register-read-with-preview, point-to-register)
3434 (window-configuration-to-register, frame-configuration-to-register)
3435 (jump-to-register, number-to-register, view-register, insert-register)
3436 (copy-to-register, append-to-register, prepend-to-register)
3437 (copy-rectangle-to-register): Doc fixes.
3439 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3442 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3443 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3444 * help-fns.el (describe-function-1): Use it.
3446 2014-02-02 Glenn Morris <rgm@gnu.org>
3448 * register.el (register-preview-default): New function,
3449 split from register-preview.
3450 (register-preview-function): Rename from register-preview-functions,
3452 (register-preview): Use register-preview-function.
3453 (register-read-with-preview): Error on non-character event. (Bug#16595)
3455 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3457 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3458 `:' before binary operators (bug#16609). Don't check for `:'
3459 before `[' and `(', or their syntax status. A percent literal
3460 can't end with either.
3461 (ruby-font-lock-keywords): For built-ins that require arguments,
3462 check that they're followed by something that looks like argument
3465 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3467 * subr.el (butlast): Document what an omitted N means (bug#13437).
3470 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3472 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3473 depth shallower (bug#16587).
3474 (shr-tag-svg): Respect `shr-inhibit-images'.
3475 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3477 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3479 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3480 (ruby-smie-grammar): Make "." right-associative. Make its priority
3481 lower than the ternary and all binary operators.
3482 (ruby-smie-rules): Indent "(" relative to the first non-"."
3483 parent, or the first "." parent at indentation.
3484 Use `ruby-align-chained-calls' for indentation of "." tokens.
3487 2014-01-31 Juri Linkov <juri@jurta.org>
3489 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3490 from `make-hash-table'.
3492 * textmodes/ispell.el (ispell-init-process): Change message format
3493 to be consistent with other messages.
3495 2014-01-31 Glenn Morris <rgm@gnu.org>
3497 * delsel.el (delete-selection-mode): Doc fix.
3499 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3500 (trace-function-background): Doc fixes.
3502 * ido.el (ido-use-virtual-buffers): Doc fix.
3503 Reset :version, since the default value has not changed.
3505 * register.el (register-preview-delay, register-read-with-preview):
3508 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3509 do not mess with mail-buffer position (fixes 2009-11-03 change).
3510 * progmodes/cc-mode.el (c-submit-bug-report):
3511 Check auto-fill-mode is bound. (Bug#16592)
3513 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3515 * startup.el (fancy-splash-image-file): New function,
3516 split from fancy-splash-head.
3517 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3518 so that we are both using the same image. (Bug#16574)
3520 2014-01-30 Glenn Morris <rgm@gnu.org>
3522 * simple.el (eval-expression): Doc fix.
3524 * hexl.el (hexl-mode-hook):
3525 * ielm.el (ielm-mode-hook):
3526 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3527 (lisp-interaction-mode-hook):
3528 * progmodes/cfengine.el (cfengine3-documentation-function):
3529 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3531 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3533 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3534 is a symbol (bug#16584).
3536 2014-01-30 Glenn Morris <rgm@gnu.org>
3538 * help.el (help-for-help-internal): Add "P" to text.
3540 2014-01-29 Glenn Morris <rgm@gnu.org>
3542 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3544 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3546 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3549 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3551 * progmodes/hideif.el: Extend to full CPP expression syntax.
3552 (hif-token-alist): Add missing tokens.
3553 (hif-token-regexp): Add support for float/octal/hex immediates.
3554 (hif-string-literal-regexp): New const.
3555 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3556 (hif-exprlist): New function.
3557 (hif-parse-if-exp): Use it.
3558 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3559 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3560 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3561 (hif-logxor, hif-comma): New functions.
3563 2014-01-28 Glenn Morris <rgm@gnu.org>
3565 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3567 * indent.el (tab-stop-list): Doc fix. Add :version.
3569 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3570 (cvs-append-to-ignore): Add compatibility alias.
3572 2014-01-27 Glenn Morris <rgm@gnu.org>
3574 * dired.el (dired-hide-details-mode): Don't autoload it,
3575 since it cannot be used outside Dired buffers anyway.
3577 * emulation/cua-base.el (cua-mode): Doc fix.
3579 * dired.el (dired-hide-details-hide-symlink-targets)
3580 (dired-hide-details-hide-information-lines)
3581 (dired-hide-details-mode): Doc fixes.
3583 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3584 * strokes.el (strokes-file): Doc fix. Bump :version.
3585 (strokes-help): Doc fix.
3586 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3587 * emulation/viper.el (viper): Doc fix for custom group.
3588 (top-level): Remove oh-so-no-longer-relevant text about vip.
3589 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3591 * ido.el (ido-save-directory-list-file):
3592 * saveplace.el (save-place-file):
3593 * calendar/timeclock.el (timeclock-file):
3594 * net/quickurl.el (quickurl-url-file):
3595 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3596 * progmodes/idlwave.el (idlwave-config-directory):
3597 * textmodes/remember.el (remember-data-file):
3600 2014-01-26 Glenn Morris <rgm@gnu.org>
3602 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3603 Doc fix. Make obsolete.
3604 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3606 * sort.el (delete-duplicate-lines): Doc fix.
3608 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3610 * progmodes/ada-mode.el (ada):
3611 * woman.el (woman): Link to info manual and Commentary section.
3613 * progmodes/flymake.el (flymake):
3614 * nxml/nxml-mode.el (nxml):
3616 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3617 * htmlfontify.el (htmlfontify):
3620 * ido.el (ido): Link to info manual.
3622 2014-01-25 Leo Liu <sdl.web@gmail.com>
3624 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3626 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3628 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3631 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3633 * net/eww.el (eww-download-callback):
3634 Fix reference to eww-download-directory.
3636 * emacs-lisp/bytecomp.el (byte-compile-file):
3637 Remove unused local variable `file-name'.
3639 2014-01-24 Glenn Morris <rgm@gnu.org>
3641 * woman.el (woman-default-faces, woman-monochrome-faces):
3642 Fix obsolescence specification.
3644 * subr.el (with-demoted-errors): Doc fix.
3646 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3648 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3649 (cl--macroexp-fboundp): New function.
3650 (cl--make-type-test): Use it.
3652 2014-01-23 Glenn Morris <rgm@gnu.org>
3654 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3655 * simple.el (eval-expression): Doc fixes.
3657 2014-01-22 Glenn Morris <rgm@gnu.org>
3659 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3661 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * emacs-lisp/package.el: Write files silently.
3664 (package-autoload-ensure-default-file, package--write-file-no-coding)
3665 (package-generate-description-file, package--download-one-archive)
3666 (package-install-from-archive): Tell `write-region' to stay quiet.
3667 (package-menu-mode, package-menu--print-info): Omit the Archive column
3668 if there's only one archive.
3669 (package-all-keywords, package--has-keyword-p): Remove dead code.
3671 2014-01-22 Glenn Morris <rgm@gnu.org>
3673 * version.el (emacs-bzr-version-bzr): Fix typo.
3675 * version.el (emacs-repository-get-version):
3676 Check either .bzr or .git, but not both.
3677 Make the git case actually use the DIR argument, and return nil
3678 rather than the empty string.
3679 Avoid error if .git exists but the git executable is not found.
3681 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3683 Fixes in window size functions around Bug#16430 and Bug#16470.
3684 * window.el (window-total-size, window-size): New argument ROUND.
3685 (window--min-delta-1, window-min-delta, window--max-delta-1):
3686 Be more conservative when calculating the numbers of lines or
3687 columns a window can shrink (Bug#16430).
3688 (fit-window-to-buffer): Simplify code.
3689 * term.el (term-window-width): Call window-body-width again.
3691 2014-01-22 Glenn Morris <rgm@gnu.org>
3693 * image.el (image-format-suffixes): Doc fix.
3695 * international/quail.el (quail-define-package): Doc fix.
3697 * emacs-lisp/authors.el (authors-valid-file-names)
3698 (authors-renamed-files-alist): Additions.
3700 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3701 reverts 2014-01-09 change. (Bug#16422)
3703 * calc/calc-embed.el (thing-at-point-looking-at):
3704 * emacs-lisp/map-ynp.el (x-popup-dialog):
3705 * obsolete/lmenu.el (x-popup-dialog):
3706 * emacs-lisp/package.el (url-recreate-url):
3707 * mail/mailclient.el (clipboard-kill-ring-save):
3708 * subr.el (x-popup-dialog): Update declaration.
3709 * mail/rmail.el (rmail-mime-message-p):
3710 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3712 2014-01-21 Daniel Colascione <dancol@dancol.org>
3714 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3715 Correctly detect when we're inside an arithmetic expansion form
3716 containing nested parenthesis.
3717 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3718 to detect cases where we shouldn't expand "<<" to a heredoc
3721 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3724 (eldoc--message-command-p): New function.
3725 (eldoc-display-message-p): Use it.
3726 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3727 message is not automatically erased for us.
3728 (eldoc-print-current-symbol-info): Erase previous message, if any.
3730 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3732 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3733 specify it's an interactive function.
3735 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3736 Fix regex used for scanning for citation keys which failed for
3737 citations with optional arguments.
3739 2014-01-21 Leo Liu <sdl.web@gmail.com>
3741 * simple.el (read--expression): Don't enable eldoc-mode.
3743 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3745 * simple.el (move-beginning-of-line): Make sure we don't move forward
3748 2014-01-20 Juri Linkov <juri@jurta.org>
3750 * saveplace.el (toggle-save-place, save-place-to-alist)
3751 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3752 'dired-mode) before checking for dired-directory. (Bug#16477)
3754 2014-01-20 Juri Linkov <juri@jurta.org>
3756 * indent.el (indent-line-to): Use backward-to-indentation
3757 instead of back-to-indentation. (Bug#16461)
3759 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3761 Revert some of the CANNOT_DUMP fix (Bug#16494).
3762 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3763 but fixing this can wait until after the next release.
3764 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3766 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3768 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3769 Use `password-word-equivalents'.
3770 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3771 to t. (Bug#5664, Bug#13124)
3773 2014-01-19 Alan Mackenzie <acm@muc.de>
3775 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3777 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3778 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3779 * progmodes/cc-mode.el (c-before-change, c-after-change)
3780 (c-font-lock-fontify-region): Bind it here.
3782 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3784 * term.el (term-window-width): Call window-text-width instead of
3785 window-width (Bug#16470).
3787 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3789 * simple.el (password-word-equivalents): Remove duplicates.
3790 Sort, to make this easier next time.
3791 Downcase. Omit ": " after "jelszó".
3793 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3795 * term/common-win.el (saved-region-selection): Defvar it.
3796 (x-select-text): Set saved-region-selection (Bug#16382).
3798 2014-01-18 Glenn Morris <rgm@gnu.org>
3800 * emacs-lisp/authors.el (authors-aliases)
3801 (authors-renamed-files-alist): Add some entries.
3803 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3805 * net/tramp.el (tramp-password-prompt-regexp):
3806 Use `password-word-equivalents' if available.
3807 (tramp-action-password, tramp-process-one-action)
3808 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3810 2014-01-17 Chong Yidong <cyd@gnu.org>
3812 * simple.el (password-word-equivalents): New defcustom.
3813 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3815 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3818 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3820 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3821 (ruby-align-to-stmt-keywords): Change the default value.
3822 Use `ruby-alignable-keywords' to generate the possible customization
3824 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3825 keywords, check against the value of `ruby-alignable-keywords'
3826 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3828 2014-01-17 Glenn Morris <rgm@gnu.org>
3830 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3832 Make M-x authors return zero *Authors Errors* from current logs.
3833 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3834 (authors-ignored-files): Add some entries, remove others.
3835 (authors-ambiguous-files, authors-valid-file-names):
3837 (authors-renamed-files-alist): Add, remove, and adjust entries.
3838 (authors-renamed-files-regexps): Add some entries.
3839 Remove some very broad ones. Make some entries `lax'.
3840 (authors-lax-changelogs): New constant.
3841 (authors-disambiguate-file-name): Treat top-level specially.
3842 (authors-lax-changelog-p): New function.
3843 (authors-canonical-file-name): Check file as written against
3844 authors-valid-file-names. Do not special-case etc/.
3845 Handle `lax' logs and authors-renamed-files-regexps elements.
3847 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3849 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3850 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3853 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3856 Assume we're already in the proper buffer.
3857 Inspired by Anders Lindgren <andlind@gmail.com>.
3858 (follow-post-command-hook): Call it from the right buffer.
3859 (follow-comint-scroll-to-bottom): Adjust call.
3860 (follow-all-followers): Use get-buffer-window-list.
3862 2014-01-15 Daniel Colascione <dancol@dancol.org>
3864 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3865 `buffer-file-name' in interactive-form so that we don't leave
3866 pathless file names in `file-name-history'.
3868 2014-01-15 Juri Linkov <juri@jurta.org>
3870 * indent.el (indent-rigidly): Set deactivate-mark to nil
3871 in transient indentation mode. (Bug#16438)
3873 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3875 * emacs-lisp/package.el (package-desc-keywords): New function
3877 (describe-package-1, package-all-keywords)
3878 (package--has-keyword-p): Use it.
3880 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3882 * simple.el (define-alternatives): When creating the
3883 COMMAND-alternatives variable, assign COMMAND as its definition
3884 name so that `describe-variable' can relocate it.
3886 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3888 * font-lock.el (font-lock-keywords): Fix typo in docstring
3891 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3893 * ispell.el (ispell-region): Reset `in-comment' for new line
3894 instead of wrongly reset `add-coment' (bug#13577).
3896 2014-01-14 Daiki Ueno <ueno@gnu.org>
3898 * epa-file.el (epa-file-write-region): Encode the region according
3899 to `buffer-file-format'. Problem reported at:
3900 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3902 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3904 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3905 so it applies in the right buffer (bug#16410).
3907 2014-01-13 Daniel Colascione <dancol@dancol.org>
3909 * textmodes/rst.el (rst-define-key): Provide deprecated
3910 keybindings through named functions instead of anonymous ones so
3911 that "??" doesn't appear in describe-mode output.
3913 2014-01-13 Bastien Guerry <bzg@gnu.org>
3915 * simple.el (define-alternatives): Call the selected command
3916 interactively. When setting `COMMAND--implementation' for the
3917 first time, tell the user how to chose another implementation.
3918 Enhance the docstring.
3920 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3923 (log-edit--match-first-line): New function.
3924 (log-edit-font-lock-keywords): Use it.
3925 (log-edit-mode): Make jit-lock-defer-multiline work.
3927 2014-01-13 Bastien Guerry <bzg@gnu.org>
3929 * rect.el (rectangle-mark-mode): When the region is not active,
3930 display a message saying that the mark as been set and that
3931 rectangle mode is in use.
3932 (rectangle--highlight-for-redisplay): Only put an overlay with a
3933 visible vertical bar when (display-graphic-p) is non-nil.
3934 This partially fixes Bug#16403.
3936 2014-01-13 Juri Linkov <juri@jurta.org>
3938 * info.el (Info-find-file): Go to DIR before displaying the error
3939 about a nonexistent file if no previous Info file is visited.
3940 Use `user-error' instead of `error' for "Info file %s does not exist".
3941 (Info-find-node-2): In case of a nonexistent node in unwind forms
3942 go to the Top node if there is no previous node to revert to.
3945 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3947 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3948 * window.el (fit-frame-to-buffer): Fix doc-string.
3949 Respect window-min-height/-width. Fit pixelwise when
3950 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3951 when avoiding that frame goes partially off-screen.
3952 (fit-window-to-buffer): Respect window-min-height/-width
3955 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3958 after an empty line.
3960 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3962 * net/shr.el (shr-render-region): Autoload.
3964 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3966 * net/eww.el (eww-download-directory): Rename from
3967 `eww-download-path' (Bug#16419).
3969 2014-01-12 Leo Liu <sdl.web@gmail.com>
3971 * dired-x.el (dired-mode-map): Fix last change.
3973 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3975 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3978 * emacs-lisp/generic.el (generic--normalize-comments):
3979 Rename from generic--normalise-comments. All uses changed.
3980 * play/bubbles.el (bubbles--neighborhood-score)
3981 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3982 (bubbles--neighborhood-available)
3983 (bubbles--update-neighborhood-score):
3984 Rename from names with 'neighbourhood'. All uses changed.
3986 2014-01-12 Leo Liu <sdl.web@gmail.com>
3988 Re-implement the feature of showing eldoc info after editing.
3989 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3990 (eldoc-edit-message-commands): New function.
3991 (eldoc-print-after-edit): New variable.
3992 (eldoc-pre-command-refresh-echo-area): Emit message only by
3993 eldoc-message-commands.
3994 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3995 if eldoc-print-after-edit is set. (Bug#16346)
3996 * simple.el (read--expression): Enable eldoc-mode.
3997 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3999 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4000 Eric S. Raymond <esr@thyrsus.com>
4002 * version.el (emacs-repository-get-version): Enhance so the
4003 function works correctly in either a Bazaar or Git repo.
4005 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4007 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4008 Goes with removal of the joke manpages from /etc.
4010 2014-01-10 Kenichi Handa <handa@gnu.org>
4012 * mail/rmail.el (rmail-get-coding-system):
4013 Check rmail-get-coding-function before "funcall"ing it.
4015 2014-01-10 Glenn Morris <rgm@gnu.org>
4017 * emacs-lisp/authors.el (authors-fixed-entries):
4018 Update for files that no longer exist.
4020 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4022 * version.el (emacs-bzr-get-version): Restore compatibilty with
4025 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4027 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4030 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4032 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4034 2014-01-10 Chong Yidong <cyd@gnu.org>
4036 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4038 2014-01-10 Anders Lindgren <andlind@gmail.com>
4040 * follow.el (follow-cache-command-list): Include right-char and
4043 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4046 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4047 * woman.el (woman-mark-horizontal-position):
4048 Rename from woman-mark-horizonal-position. Use changed.
4050 2014-01-10 Glenn Morris <rgm@gnu.org>
4052 * info.el (info-initialize): If running uninstalled, ensure our
4053 own info files are always found first, even if INFOPATH is set.
4055 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4057 2014-01-09 David Engster <deng@randomsample.de>
4059 * emacs-lisp/eieio-custom.el:
4060 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4061 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4062 * emacs-lisp/eieio.el: Regenerate autoloads.
4064 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4066 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4067 following renames. (Bug#8756)
4069 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4071 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4073 (activate-mark): Add `no-tmm' argument.
4074 (set-mark, push-mark-command): Use it instead of running
4075 activate-mark-hook by hand.
4077 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4079 In preparation for the move to git, sanitize out some
4080 Bazaar-specific names.
4082 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4084 * version.el (emacs-bzr-version): Name changed to
4085 emacs-repository-version. Obsolete-variable alias made.
4086 * loadup.el: Follow through on this name change.
4087 * mail/emacsbug.el (report-emacs-bug): Factor out any
4088 assumption about the version control system in use.
4090 2014-01-08 David Engster <deng@randomsample.de>
4092 * help-fns.el (help-fns-describe-function-functions):
4093 New variable to call functions for augmenting help buffers.
4094 (describe-function-1): Remove explicit calls to
4095 `help-fns--compiler-macro', `help-fns--parent-mode' and
4096 `help-fns--obsolete'. Put them in above new variable instead, and
4097 call them through `run-hook-with-args'.
4098 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4099 `eieio-describe-class'. Not meant for interactive use anymore,
4100 but to augment existing help buffers. Remove optional second
4101 argument. Create proper button for file location.
4102 Rewrite function to use `insert' instead of `princ' and `prin1' where
4104 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4105 (eieio-method-def, eieio-class-def): Move further up.
4106 (describe-method, describe-generic, eieio-describe-method):
4108 (eieio-help-constructor, eieio-help-generic): Rename from
4109 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4110 Rewrite to use `insert' in the current buffer and use proper help
4112 (eieio-help-find-method-definition)
4113 (eieio-help-find-class-definition): Also accept symbols as
4115 (eieio-help-mode-augmentation-maybee): Remove.
4116 (eieio-describe-class-sb): Use `describe-function'.
4117 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4118 Add `eieio-help-generic' and `eieio-help-constructor'.
4120 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4123 * language/china-util.el (hz-ascii-designation):
4124 Rename from hz-ascii-designnation.
4125 (hz-ascii-designation): Rename from hz-ascii-designnation.
4128 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4133 2014-01-08 Bastien Guerry <bzg@gnu.org>
4135 * emacs-lisp/package.el (package-delete):
4136 Correctly delete the package from package-alist.
4138 2014-01-08 Daiki Ueno <ueno@gnu.org>
4140 * emacs-lisp/package.el (url-recreate-url): Declare.
4141 (url-http-target-url): Declare.
4142 (package-handle-response): Include requested URL in the error message.
4143 (package--check-signature): Don't re-signal errors from
4144 package--with-work-buffer. Suggested by Stefan Monnier.
4146 2014-01-07 Bastien Guerry <bzg@gnu.org>
4148 * minibuffer.el (completion--try-word-completion): When both a
4149 hyphen and a space are possible candidates for the character
4150 following a word, display both candidates. (Bug#15980)
4152 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4154 * window.el (balance-windows-2): While rounding don't give a
4155 window more than the remainder. Bug#16351, bug#16383.
4157 2014-01-07 Glenn Morris <rgm@gnu.org>
4159 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4160 (menu-bar-help-menu): Use view-external-packages instead.
4162 2014-01-07 Bastien Guerry <bzg@gnu.org>
4164 * emacs-lisp/package.el (package-delete): Also delete the package
4165 name from `package-alist', not its description only.
4167 2014-01-07 Glenn Morris <rgm@gnu.org>
4169 * help.el (view-external-packages):
4170 * menu-bar.el (menu-bar-help-extra-packages):
4171 Visit efaq.info rather than etc/MORE.STUFF.
4173 2014-01-07 Juri Linkov <juri@jurta.org>
4175 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4176 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4178 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4179 that shadows RET. (Bug#16342)
4181 2014-01-07 Chong Yidong <cyd@gnu.org>
4183 * isearch.el (isearch-yank-char, isearch-yank-word)
4184 (isearch-yank-line): Doc fix.
4186 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4189 * emacs-lisp/elint.el (elint-find-builtins):
4190 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4191 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4192 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4194 * apropos.el (apropos-safe-documentation):
4195 * subr.el (symbol-file): Remove redundant fboundp.
4196 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4198 2014-01-06 Bastien Guerry <bzg@gnu.org>
4200 * hl-line.el (global-hl-line-overlay): Make a local variable.
4201 (global-hl-line-overlays): New variable to store all overlays.
4202 (global-hl-line-mode): Don't delete overlays from the current
4203 buffer when `global-hl-line-sticky-flag' is non-nil.
4204 (global-hl-line-highlight): Add new overlays to
4205 `global-hl-line-overlays'.
4206 (global-hl-line-unhighlight-all): New function to delete all
4207 overlays when turning off `global-hl-line-mode'.
4208 This fixes Bug#16183.
4210 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * subr.el (set-transient-map): Fix nested case and docstring.
4214 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4216 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4219 2014-01-06 Daniel Colascione <dancol@dancol.org>
4221 Fix defun navigation in vc log view.
4223 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4224 like `beginning-of-defun'.
4225 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4226 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4227 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4228 (log-view-extract-comment): Call `log-view-current-entry' directly
4229 instead of relying on broken `log-view-beginning-of-defun' behavior.
4231 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4234 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4235 * emacs-lisp/debug.el (cancel-debug-on-entry):
4236 * epg.el (epg-error-to-string):
4237 * files.el (recover-file):
4238 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4239 * mail/emacsbug.el (report-emacs-bug-hook):
4240 * mail/sendmail.el (mail-recover):
4241 * ses.el (ses-yank-resize):
4242 * term/ns-win.el (ns-print-buffer):
4243 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4244 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4246 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4248 2014-01-06 Leo Liu <sdl.web@gmail.com>
4250 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4251 to avoid shadowing global key. (Bug#16354)
4253 2014-01-06 Daniel Colascione <dancol@dancol.org>
4255 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4258 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4260 * window.el (balance-windows): Add mising t to fix Bug#16351.
4262 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4264 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4266 (shr-insert): If we have a word that's longer than `shr-width',
4267 break after it anyway. Otherwise we'll do no breaking once we get
4270 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4272 * net/eww.el (eww): Support single/double quote for search.
4273 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4274 (eww-history-quit): Delete and use quit-window.
4275 (eww-history-kill): Delete, because it doesn't work well and
4277 (eww-history-mode-map): Delete some keys and add easy-menu.
4279 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4281 Fix misspelling of 'chinese' in rx (Bug#16237).
4282 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4285 Change subword regexps back to vars (Bug#16296).
4286 * progmodes/subword.el (subword-forward-regexp)
4287 (subword-backward-regexp): Change these back to variables.
4289 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4292 syntax-begin-function (bug#16247).
4294 2014-01-03 Chong Yidong <cyd@gnu.org>
4296 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4297 (advice--docstring): Delete variable.
4298 (advice--make-1): Leave the docstring empty.
4299 (advice-add): Use function-documentation for advised docstring.
4301 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4302 Ignore function-documentation property when getting documentation.
4303 (ad-activate-advised-definition): Use function-documentation
4304 generate the docstring.
4305 (ad-make-advised-definition): Don't call
4306 ad-make-advised-definition-docstring.
4307 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4310 * progmodes/sql.el (sql-help): Use function-documentation instead
4311 of dynamic-docstring-function property. No need to autoload now.
4312 (sql--help-docstring): New variable.
4313 (sql--make-help-docstring): Use it.
4315 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * ielm.el (ielm-tab): Retarget.
4318 (ielm-map): Use ielm-tab for tab.
4319 (ielm-complete-filename): Use comint-filename-completion.
4320 (ielm-complete-symbol): Remove.
4321 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4322 remove ielm-tab from completion-at-point-functions (bug#16224).
4324 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4325 Beware signals raised by predicates (bug#16201).
4327 2014-01-02 Richard Stallman <rms@gnu.org>
4329 * dired-aux.el (dired-do-print): Handle printer-name.
4331 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4332 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4333 (rmail-epa-decrypt): Turn off mime processing.
4335 * mail/rmail.el (rmail-make-in-reply-to-field):
4336 Add parens in message-id.
4338 * mail/rmail.el (rmail-get-coding-function): Variable.
4339 (rmail-get-coding-system): Use it.
4341 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4343 * international/mule-conf.el: Unify the charset indian-is13194.
4344 (indian-is13194): Specify unify-map.
4346 2013-12-31 Leo Liu <sdl.web@gmail.com>
4348 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4350 2013-12-30 Daniel Colascione <dancol@dancol.org>
4352 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4353 of printing a useless when we resume from sleep.
4355 * progmodes/sh-script.el
4356 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4357 in indentation code. (Bug#16233)
4359 2013-12-28 João Távora <joaotavora@gmail.com>
4361 * elec-pair.el (electric-pair-post-self-insert-function):
4362 Don't open extra newlines at beginning of buffer. (Bug#16272)
4364 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4366 * frame.el (window-system-for-display): Don't allow to create a
4367 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4369 2013-12-28 Glenn Morris <rgm@gnu.org>
4371 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4374 * apropos.el (apropos-match-face):
4375 * calculator.el (calculator-displayer):
4376 * dabbrev.el (dabbrev-search-these-buffers-only):
4377 * face-remap.el (buffer-face-mode-face):
4378 * simple.el (yank-handled-properties):
4379 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4380 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4381 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4382 (hashcash-double-spend-database):
4383 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4384 (ruby-deep-indent-paren-style):
4385 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4386 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4387 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4388 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4389 Specify custom types.
4391 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4392 * bookmark.el (bookmark-bmenu-use-header-line):
4393 * doc-view.el (doc-view-scale-internally):
4394 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4395 * register.el (register-preview-delay):
4396 * net/shr.el (shr-bullet):
4397 * progmodes/cfengine.el (cfengine-cf-promises)
4398 (cfengine-parameters-indent):
4399 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4400 * textmodes/reftex-vars.el (reftex-label-regexps):
4401 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4403 * net/tls.el (tls-certtool-program): Fix default value.
4405 * desktop.el (desktop-restore-in-current-display):
4406 * newcomment.el (comment-empty-lines):
4407 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4408 (idlwave-pad-keyword):
4409 * progmodes/tcl.el (tcl-tab-always-indent):
4410 * textmodes/reftex-vars.el (reftex-index-default-tag):
4411 * elec-pair.el (electric-pair-skip-whitespace):
4412 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4414 * emacs-lisp/authors.el (authors-ignored-files)
4415 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4417 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4419 * shell.el (shell-dynamic-complete-command): Doc fix.
4420 (shell--command-completion-data): Shell completion now matches
4421 executable filenames from the current buffer's directory, on
4422 systems in which this behavior is the default (windows-nt, ms-dos).
4424 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4426 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4428 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4433 * electric.el: Move all electric-pair-* to elec-pair.el.
4434 * elec-pair.el: New file, split from electric.el.
4436 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4438 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4439 indentation level is larger than the width, because that will
4441 (shr-insert): Fill repeatedly long texts, so that Japanese is
4442 formatted correctly (bug#16263).
4443 (shr-find-fill-point): Off by one error in comparison with the
4446 2013-12-26 João Távora <joaotavora@gmail.com>
4448 * electric.el (electric-pair-mode): More flexible engine for skip-
4449 and inhibit predicates, new options for pairing-related functionality.
4450 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4451 if that keeps or improves their balance in buffers.
4452 (electric-pair-delete-adjacent-pairs): Delete the pair when
4453 backspacing over adjacent matched delimiters.
4454 (electric-pair-open-extra-newline): Open extra newline when
4455 inserting newlines between adjacent matched delimiters.
4456 (electric--sort-post-self-insertion-hook):
4457 Sort post-self-insert-hook according to priority values when
4458 minor-modes are activated.
4459 * simple.el (newline-and-indent): Call newline with interactive
4461 (blink-paren-post-self-insert-function): Set priority to 100.
4462 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4463 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4464 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4465 electric-pair-open-newline-between-pairs to nil.
4467 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4469 * progmodes/python.el: Use lexical-binding.
4470 (python-nav-beginning-of-defun): Stop searching ASAP.
4472 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4474 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4475 Fix interactive spec. Doc fix. (Bug#15754)
4477 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4479 * emacs-lisp/byte-run.el (eval-when-compile):
4480 * progmodes/cc-defs.el (cc-eval-when-compile):
4481 Fix edebug spec (bug#16184).
4483 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4485 * net/shr.el (shr-visit-file): Remove debugging function.
4486 (shr-insert): Don't infloop if we can't find a good place to break
4487 the line (bug#16256).
4489 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4491 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4492 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4493 python-nav-lisp-forward-sexp-safe.
4494 (python-nav--forward-sexp): New argument SAFE allows switching
4495 forward sexp movement behavior for parens.
4496 (python-nav-forward-sexp): Throw errors on unterminated parens
4498 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4499 (python-nav-backward-sexp-safe): New functions.
4500 (python-shell-buffer-substring):
4501 Use `python-nav-forward-sexp-safe'.
4503 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4505 * net/shr.el (shr-find-fill-point): Don't break lines before a
4507 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4508 (shr-find-fill-point): Remove the special checks for the quotation
4509 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4511 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4513 * net/eww.el (eww-form-textarea): Use a different face for
4514 textareas than text input since they have different keymaps
4517 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4519 * progmodes/python.el (python-nav-beginning-of-statement):
4520 Speed up (Bug#15295).
4522 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4524 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4525 the window configuration.
4527 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4529 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4530 we run on MS-Windows or MS-DOS.
4532 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4534 * window.el (balance-windows-area): Call window-size instead of
4535 window-height and window-width. Bug#16241.
4537 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4539 * net/eww.el (eww-bookmark-quit): Remove.
4540 (eww-bookmark-browse): Restore the window configuration when you
4541 choose a bookmark (bug#16144).
4543 2013-12-24 Daniel Colascione <dancol@dancol.org>
4545 * icomplete.el: Remove redundant :group arguments to `defcustom'
4547 (icomplete-show-matches-on-no-input): New customizable variable.
4548 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4549 we have something to show.
4550 (icomplete-exhibit): Compute completions even if we have no user input.
4552 2013-12-23 Daniel Colascione <dancol@dancol.org>
4554 * icomplete.el: Move `provide' to end of file.
4556 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4558 * net/gnutls.el (gnutls-verify-error): Add version tag.
4560 2013-12-23 Chong Yidong <cyd@gnu.org>
4562 * subr.el (set-transient-map): Rename from
4563 set-temporary-overlay-map. Doc fix.
4565 * face-remap.el (text-scale-adjust):
4566 * indent.el (indent-rigidly):
4567 * kmacro.el (kmacro-call-macro):
4568 * minibuffer.el (minibuffer-force-complete):
4569 * repeat.el (repeat):
4570 * simple.el (universal-argument--mode):
4571 * calendar/todo-mode.el (todo-insert-item--next-param):
4572 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4574 * indent.el (indent-rigidly): Use substitute-command-keys.
4576 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4578 * net/eww.el (eww-tag-select): Add text-property to jump to next
4580 (eww): Add non-supported ftp error.
4582 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4584 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4585 comments. Handle electric indent after typing `?' and `!'.
4587 2013-12-22 Chong Yidong <cyd@gnu.org>
4589 * faces.el (face-spec-recalc): If the theme specs are not
4590 applicable to a frame, fall back on the defface spec.
4591 This prevents themes from obliterating faces on low-color terminals.
4593 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4596 after `{'. We need it after block openers, and it doesn't seem
4597 to hurt after hash openers.
4599 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4601 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4602 extracted from `ruby-smie-rules'.
4603 (ruby--electric-indent-chars): New variable.
4604 (ruby--electric-indent-p): New function.
4605 (ruby-mode): Use `electric-indent-functions' instead of
4606 `electric-indent-chars'.
4608 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4610 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4612 (ruby-smie-rules): Indent plus one level after `=>'.
4614 2013-12-21 Richard Stallman <rms@gnu.org>
4616 * simple.el (newline): Doc fix.
4618 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4620 * net/eww.el (eww-list-histories, eww-list-histories)
4621 (eww-history-browse, eww-history-quit, eww-history-kill)
4622 (eww-history-mode-map, eww-history-mode): New command and
4623 functions to list browser histories.
4624 (eww-form-text): Support text form with disabled
4625 and readonly attributes.
4626 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4628 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4630 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4631 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4632 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4633 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4635 (eww-bookmark-mode-map): Add menu.
4636 (eww-render, eww-mode): Use `setq-local'.
4637 (eww-tool-bar-map): New variable.
4638 (eww-mode): Set `tool-bar-map'.
4639 (eww-view-source): Check for `html-mode' with `fboundp'.
4641 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4644 elements with text inside. Also remove debugging.
4646 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4648 * cus-start.el (all): Add ns-use-srgb-colorspace.
4650 2013-12-21 Chong Yidong <cyd@gnu.org>
4652 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4653 undefined. Thus, theme settings for undefined faces do not take
4654 effect until the faces are defined with defface, the same as with
4657 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4658 (face-spec-reset-face): Don't assign extra properties in temacs.
4659 (face-spec-recalc): Apply X resources too.
4661 2013-12-21 Chong Yidong <cyd@gnu.org>
4663 * faces.el (face-spec-set):
4664 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4665 * custom.el (defface): Doc fixes (Bug#16203).
4667 * indent.el (indent-rigidly-map): Add docstring, and move commands
4668 into named functions.
4669 (indent-rigidly-left, indent-rigidly-right)
4670 (indent-rigidly-left-to-tab-stop)
4671 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4672 indentation direction based on bidi direction, and accumulate
4673 sequential commands in a single undo boundary.
4674 (indent-rigidly--pop-undo): New utility function.
4676 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4678 * faces.el (read-face-name): Require crm.el when using crm-separator.
4680 2013-12-20 Daniel Colascione <dancol@dancol.org>
4682 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4683 so that we don't reflow comments into the shebang line.
4685 2013-12-20 Juri Linkov <juri@jurta.org>
4687 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4688 a position when `dired-directory' is non-nil. Check integer
4689 positions with `integerp'.
4690 (toggle-save-place, save-places-to-alist): Add check for
4692 (save-place-find-file-hook): Check integer positions with
4694 (save-place-dired-hook): Use `dired-goto-file' when
4695 `dired-filename' is found in the assoc list. Check integer
4696 positions with `integerp'.
4697 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4699 * dired.el (dired-initial-position-hook): Rename back from
4700 `dired-initial-point-hook'.
4701 (dired-initial-position): Rename `dired-initial-point-hook' to
4702 `dired-initial-position-hook'.
4703 (dired-file-name-at-point): Doc fix. (Bug#15329)
4705 2013-12-20 Juri Linkov <juri@jurta.org>
4707 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4708 (read-regexp-suggestions): New function.
4709 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4710 Use `read-regexp-suggestions'. Add non-empty default to history
4712 (occur-read-regexp-defaults-function): Remove function.
4713 (occur-read-primary-args): Use `regexp-history-last' instead of
4714 `occur-read-regexp-defaults-function'.
4716 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4717 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4718 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4719 `hi-lock-read-regexp-defaults-function'. Doc fix.
4720 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4721 with `find-tag-default-as-symbol-regexp'. Doc fix.
4722 (hi-lock-read-regexp-defaults): Remove function.
4723 (hi-lock-regexp-okay): Add check for null.
4725 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4726 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4728 * subr.el (find-tag-default-as-symbol-regexp): New function.
4729 (find-tag-default-as-regexp): Move symbol regexp formatting to
4730 `find-tag-default-as-symbol-regexp'.
4732 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4734 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4737 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4739 * calendar/todo-mode.el: New implementation of item insertion
4740 commands and key bindings.
4741 (todo-key-prompt): New face.
4742 (todo-insert-item): New command.
4743 (todo-insert-item--parameters): New defconst, replacing defvar
4744 todo-insertion-commands-args-genlist.
4745 (todo-insert-item--param-key-alist): New defconst, replacing
4746 defvar todo-insertion-commands-arg-key-list.
4747 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4748 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4749 (todo-insert-item--next-param): New functions.
4750 (todo-insert-item--args, todo-insert-item--argleft)
4751 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4753 (todo-key-bindings-t): Change binding of "i" from
4754 todo-insertion-map to todo-insert-item.
4755 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4756 (todo-insertion-command-name, todo-insertion-commands-names)
4757 (todo-define-insertion-command, todo-insertion-commands)
4758 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4760 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4762 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4763 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4765 (todo-move-category): Allow choosing a non-existing todo file to
4766 move the category to, and create that file.
4767 (todo-default-priority): New user option.
4768 (todo-set-item-priority): Use it.
4769 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4770 (desktop-restore-file-buffer): Declare.
4771 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4772 (todo-modes-set-2): Locally set desktop-save-buffer to
4773 todo-desktop-save-buffer.
4774 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4775 (auto-mode-alist): Add autoload cookie.
4777 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4779 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4780 helpers.el was a poor choice of name.
4781 (string-remove-prefix): New function.
4782 (string-remove-suffix): New function.
4784 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4786 Fix assignment for new window total sizes.
4787 * window.el (window--pixel-to-size): Remove function.
4788 (window--pixel-to-total-1, window--pixel-to-total):
4789 Fix calculation of new total sizes.
4791 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4793 * comint.el (comint-output-filter): Fix rear-nonsticky property
4794 placement (Bug#16010).
4796 2013-12-20 Chong Yidong <cyd@gnu.org>
4798 * faces.el (read-color): Minor fix for completion function.
4800 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4802 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4803 New option. (Bug#16182)
4804 (ruby-smie--indent-to-stmt-p): Use it.
4805 (ruby-smie-rules): Revert the logic in the handling of `when'.
4806 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4807 (ruby-deep-arglist, ruby-deep-indent-paren)
4808 (ruby-deep-indent-paren-style): Update docstrings to note that the
4809 vars don't have any effect with SMIE.
4811 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4813 * calc/calc.el (calc-enter, calc-pop): Use the variable
4814 `calc-context-sensitive-enter'.
4816 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818 * net/shr.el (shr-insert): Protect against infloops in degenerate
4821 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4823 * progmodes/octave.el (octave): Add link to manual and octave
4825 (octave-mode-menu): Link to octave-mode manual.
4827 2013-12-20 Leo Liu <sdl.web@gmail.com>
4829 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4830 insertion using skeleton-end-newline. (Bug#16138)
4832 2013-12-20 Juri Linkov <juri@jurta.org>
4834 * replace.el (occur-engine): Use `add-face-text-property'
4835 to add the face property to matches and titles. (Bug#14645)
4837 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4838 the palette of other hi-lock colors.
4839 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4841 2013-12-19 Juri Linkov <juri@jurta.org>
4843 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4844 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4845 (minibuffer-history-symbol): Move variable declaration closer to
4848 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4851 2013-12-19 Juri Linkov <juri@jurta.org>
4853 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4855 (log-edit-hook): Add it to :options. (Bug#16170)
4857 2013-12-19 Juri Linkov <juri@jurta.org>
4859 * simple.el (eval-expression-print-format): Don't check for
4860 command names and the last command. Always display additional
4861 formats of the integer result in the echo area, and insert them
4862 to the current buffer only with a zero prefix arg.
4863 Display character when char-displayable-p is non-nil.
4864 (eval-expression): With a zero prefix arg, set `print-length' and
4865 `print-level' to nil, and insert the integer values from
4866 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4868 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4869 `eval-last-sexp-arg-internal'. Doc fix.
4870 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4871 `eval-last-sexp-print-value'. Doc fix.
4872 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4873 Set `print-length' and `print-level' to nil when arg is zero.
4874 (eval-last-sexp): Doc fix.
4875 (eval-defun-2): Print the integer values from
4876 `eval-expression-print-format' at the end.
4878 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4879 values from `eval-expression-print-format' at the end.
4881 * ielm.el (ielm-eval-input): Print the integer
4882 values from `eval-expression-print-format' at the end.
4884 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4886 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4887 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4889 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4891 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4892 (hl-line-highlight, global-hl-line-highlight): Use it.
4893 (hl-line-overlay): Use defvar-local.
4895 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4897 * term/ns-win.el: Require dnd.
4898 (global-map): Remove drag items.
4899 (ns-insert-text, ns-set-foreground-at-mouse)
4900 (ns-set-background-at-mouse):
4901 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4902 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4905 2013-12-19 Glenn Morris <rgm@gnu.org>
4907 * emacs-lisp/ert.el (ert-select-tests):
4908 Fix string/symbol mixup. (Bug#16121)
4910 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4912 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4913 keywords to their parent.
4915 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4917 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4918 first arg to be a string (fixed dead code), or an operator symbol.
4919 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4921 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4922 did nothing. Don't respond to `(:after ".")', it will be called
4923 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4924 change anything. Only return indentation for binary operators
4925 when they are hanging. De-dent opening paren when its parent is
4926 `.', otherwise it looks bad when the dot is not at bol or eol
4929 2013-12-19 Juri Linkov <juri@jurta.org>
4931 * replace.el (query-replace-read-args): Split a non-negative arg
4932 and a negative arg into separate elements.
4933 (query-replace, query-replace-regexp, replace-string)
4934 (replace-regexp): Add arg `backward'. Doc fix.
4935 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4936 move point to the beginning of the match.
4937 (replace-search, replace-highlight): Use new arg `backward'
4938 to set the value of `isearch-forward'.
4939 (perform-replace): Add arg `backward' and use it to perform
4940 replacement backward. (Bug#14979)
4942 * isearch.el (isearch-query-replace): Use a negative prefix arg
4943 to call `perform-replace' with a non-nil arg `backward'.
4945 2013-12-18 Juri Linkov <juri@jurta.org>
4947 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4948 to the default list. Move `log-edit-show-files' to the end.
4949 Add more available functions to options.
4950 (log-edit): Move default specific settings to
4951 `log-edit-insert-message-template'. Don't move point.
4952 (log-edit-insert-message-template): New function.
4953 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4956 2013-12-18 Juri Linkov <juri@jurta.org>
4958 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4959 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4961 2013-12-18 Leo Liu <sdl.web@gmail.com>
4963 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4966 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4968 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4969 formats for displaying file sizes when the -s switch is given.
4970 Instead, compute a separate format for displaying the size in
4971 blocks, which is displayed in addition to the "regular" size.
4972 When -h is given in addition to -s, produce size in blocks in
4973 human-readable form as well. (Bug#16179)
4975 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4977 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4978 Reference tables with ~\ref{...} instead of only \ref{...}.
4980 2013-12-18 Chong Yidong <cyd@gnu.org>
4982 * cus-edit.el (custom-magic-alist): Fix "themed" description
4985 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4986 is non-nil, do not create a new entry in the symbol's theme-value
4987 or theme-face property; update theme-settings only (Bug#14664).
4988 (custom-available-themes): Doc fix.
4990 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4993 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4995 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4997 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5000 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5002 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5004 2013-12-18 Glenn Morris <rgm@gnu.org>
5006 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5007 * cus-start.el (load-prefer-newer): New option.
5009 2013-12-18 Le Wang <l26wang@gmail.com>
5011 * comint.el (comint-previous-matching-input-from-input):
5012 Retain point (Bug#13404).
5014 2013-12-18 Chong Yidong <cyd@gnu.org>
5016 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5018 2013-12-18 Glenn Morris <rgm@gnu.org>
5020 * mail/emacsbug.el (report-emacs-bug):
5021 Only mention enable-multibyte-characters if non-standard.
5023 2013-12-17 Juri Linkov <juri@jurta.org>
5025 * arc-mode.el (archive-extract-by-file): Check if directory exists
5026 before deletion to not show irrelevant errors if it doesn't exist.
5028 2013-12-17 Juri Linkov <juri@jurta.org>
5030 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5033 * net/eww.el (browse-web): Add alias to `eww'.
5034 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5035 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5037 * net/browse-url.el (browse-url-browser-function): Move `eww'
5038 closer to similar functions.
5040 * startup.el (fancy-startup-screen, fancy-about-screen):
5041 Set browse-url-browser-function to eww-browse-url locally.
5044 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * window.el (window--pixel-to-total): Remove unused `mini' var.
5047 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5048 (split-window): Remove unused `new' var.
5049 (window--display-buffer): Remove unused `frame' and `delta' vars.
5050 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5053 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5055 * dired.el (dired-mark-pop-up):
5056 * register.el (register-preview): Don't bind
5057 split-height-threshold here since it's now done in
5058 display-buffer-below-selected.
5060 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5062 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5063 xterm-rgb-convert-to-16bit.
5064 (rxvt-register-default-colors): Standardize with
5065 xterm-register-default-colors (Bug#14078).
5067 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5069 * simple.el (kill-region): Pass mark first, then point, so that
5070 kill-append works right (Bug#12819).
5071 (copy-region-as-kill, kill-ring-save): Likewise.
5073 2013-12-17 Leo Liu <sdl.web@gmail.com>
5075 * net/rcirc.el (rcirc-add-face):
5076 * eshell/em-prompt.el (eshell-emit-prompt):
5077 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5080 2013-12-17 Chong Yidong <cyd@gnu.org>
5082 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5083 Suggested by Xue Fuqiao.
5085 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5087 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5089 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * net/shr.el (shr-insert-document): Remove unused var
5092 `shr-preliminary-table-render'.
5093 (shr-rescale-image): Remove unused arg `force'.
5094 (shr-put-image): Update calls accordingly.
5095 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5097 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5099 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5100 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5101 :close-all, to see which indentation method to use (Bug#16116).
5102 (smie-rules-function): Document the method :close-all.
5104 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5106 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5108 * net/eww.el (eww-display-html): If we can't find the anchor we're
5109 looking for, then go to point-min.
5111 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5113 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5114 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5115 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5116 Expand dir too, in case it's relative.
5118 2013-12-16 Juri Linkov <juri@jurta.org>
5120 * desktop.el (desktop-auto-save-timeout): Change default to
5121 `auto-save-timeout'. Doc fix.
5122 (desktop-save): Skip the timestamp in desktop-saved-frameset
5123 when checking for auto-save changes.
5124 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5125 `desktop-auto-save' is called repeatedly by the idle timer.
5126 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5127 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5130 2013-12-16 Juri Linkov <juri@jurta.org>
5132 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5134 (isearch-pre-command-hook): Check `this-command' for symbolp.
5136 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5140 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5142 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5143 (cfengine3--current-function): Bring in the current-function
5144 functionality from `cfengine3--current-word'.
5145 (cfengine3-completion-function): Bring in the
5146 bounds-of-current-word functionality from
5147 `cfengine3--current-word'.
5149 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5151 * window.el (display-buffer-below-selected):
5152 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5154 2013-12-16 Leo Liu <sdl.web@gmail.com>
5156 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5157 Remove NOMSG arg and all uses changed.
5159 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5161 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5162 (cua--deactivate-rectangle): Don't deactivate the mark.
5163 (cua-set-rectangle-mark): Don't set mark-active since
5164 cua--activate-rectangle already does it for us.
5165 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5166 non-rectangular region.
5168 * emulation/cua-base.el (cua-repeat-replace-region):
5169 Use with-current-buffer.
5171 * net/gnutls.el: Use cl-lib.
5172 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5174 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5176 * emacs-lisp/package.el (package-built-in-p): Support both
5177 built-in and the package.el converted package descriptions.
5178 (package-show-package-list): Allow keywords.
5179 (package-keyword-button-action): Use it instead of
5180 `finder-list-matches'.
5181 (package-menu-filter-interactive): Interactive filtering (by
5183 (package-menu--generate): Support keywords and change keymappings
5184 and headers when they are given.
5185 (package--has-keyword-p): Helper function.
5186 (package-menu--refresh): Use it.
5187 (package--mapc): Helper function.
5188 (package-all-keywords): Use it.
5189 (package-menu-mode-map): Set up menu items and keybindings to
5190 provide a filtering UI.
5192 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5194 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5195 the behavior when a certificate fails validation. Defaults to
5196 old behavior: never abort, just warn.
5197 (gnutls-negotiate): Use it.
5199 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5201 * window.el (display-buffer-below-selected): Never split window
5202 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5204 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5206 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5207 (package-buffer-info): Use it (bug#15108).
5209 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5211 * icomplete.el (icomplete-completions): Make sure the prefix is already
5212 displayed elsewhere before hiding it (bug#16219).
5214 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5216 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5217 open-paren tokens when preceded by a open-paren, too.
5218 (ruby-smie-rules): Handle virtual indentation after open-paren
5219 tokens specially. If there is code between it and eol, return the
5220 column where is starts (Bug#16118).
5222 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5224 * progmodes/cfengine.el: Fix `add-hook' doc.
5225 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5226 (cfengine3--current-word): Fix parameters.
5227 (cfengine3-make-syntax-cache): Simplify further.
5228 (cfengine3-completion-function, cfengine3--current-function):
5229 Use `assq' for symbols.
5230 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5232 2013-12-13 Glenn Morris <rgm@gnu.org>
5234 * loadup.el (load-path): Warn if site-load or site-init changes it.
5235 No more need to reset it when bootstrapping.
5237 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5239 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5240 locations for cf-promises.
5241 (cfengine-mode-syntax-functions-regex): New caching variable.
5242 (cfengine3-fallback-syntax): Fallback syntax for cases where
5243 cf-promises doesn't run.
5244 (cfengine3--current-word): Reimplement using
5245 `cfengine-mode-syntax-functions-regex'.
5246 (cfengine3-completion-function, cfengine3--current-function):
5247 Use `cfengine3-make-syntax-cache' directly.
5248 (cfengine3-clear-syntax-cache): New function.
5249 (cfengine3-make-syntax-cache): Simplify and create
5250 `cfengine-mode-syntax-functions-regex' on demand.
5251 (cfengine3-format-function-docstring): Don't call
5252 `cfengine3-make-syntax-cache' explicitly.
5254 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5256 Fix windmove-find-other-window broken after pixelwise resizing
5258 * windmove.el (windmove-other-window-loc): Revert change from
5260 (windmove-find-other-window): Call window-in-direction.
5261 * window.el (window-in-direction): New arguments SIGN, WRAP and
5262 MINI to emulate original windmove-find-other-window behavior.
5264 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5266 * simple.el (blink-matching--overlay): New variable.
5267 (blink-matching-open): Instead of moving point, highlight the
5268 matching paren with an overlay
5269 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5271 * faces.el (paren-showing-faces, show-paren-match)
5272 (show-paren-mismatch): Move from paren.el.
5274 2013-12-13 Leo Liu <sdl.web@gmail.com>
5276 * indent.el (indent-region): Disable progress reporter in
5277 minibuffer. (Bug#16108)
5279 * bindings.el (visual-order-cursor-movement): Fix version.
5281 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5283 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5284 Also match after beginning of line.
5285 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5286 files. Thanks to Russell Sim. (Bug#15378)
5288 2013-12-13 Juri Linkov <juri@jurta.org>
5290 * simple.el <Keypad support>: Remove key bindings duplicated
5291 with bindings.el. (Bug#14397)
5293 2013-12-13 Juri Linkov <juri@jurta.org>
5295 * comint.el (comint-mode-map): Replace `delete-char' with
5296 `delete-forward-char'. (Bug#16109)
5298 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5300 * progmodes/python.el (python-indent-calculate-indentation):
5301 Fix de-denters cornercase. (Bug#15731)
5303 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5305 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5306 (advice--make): Pay attention to `depth'.
5307 (advice--make-1): Don't autoload commands eagerly.
5308 * emacs-lisp/elp.el (elp-instrument-function):
5309 * emacs-lisp/trace.el (trace-function-internal):
5310 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5312 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5314 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5316 * term/w32-win.el (w32-handle-dropped-file):
5317 * startup.el (normal-top-level):
5318 * net/browse-url.el (browse-url-file-url):
5319 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5320 decode file names using 'utf-8' rather than
5321 file-name-coding-system.
5323 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5325 * progmodes/python.el (python-indent-context)
5326 (python-indent-calculate-indentation): Fix auto-identation
5327 behavior for comment blocks. (Bug#15916)
5329 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5331 * progmodes/python.el (python-indent-calculate-indentation):
5332 When determining indentation, don't treat "return", "pass", etc., as
5333 operators when they are just string constituents. (Bug#15812)
5335 2013-12-12 Juri Linkov <juri@jurta.org>
5337 * uniquify.el (uniquify-buffer-name-style): Change default to
5338 `post-forward-angle-brackets'.
5340 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5341 `uniquify'. Change default to `post-forward-angle-brackets'.
5343 2013-12-11 Glenn Morris <rgm@gnu.org>
5345 * emacs-lisp/package.el (finder-list-matches):
5346 Autoload rather than falsely declaring.
5348 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5350 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5351 (eww-mode-map): Use them.
5353 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5355 * window.el (display-buffer-in-side-window): Fix doc-string
5358 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5360 * vc/vc-git.el: Silence byte-compiler warnings.
5361 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5362 (log-edit-set-header): Declare.
5364 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5366 * Makefile.in (custom-deps, finder-data): Run output file names
5367 through unmsys--file-name. (Bug#16099)
5369 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5372 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5374 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5375 instead of deleting the selection "by hand" (bug#16098).
5376 Rely on insert-for-yank to yank rectangles.
5377 (cua-highlight-region-shift-only): Mark obsolete.
5378 (cua-mode): Don't enable/disable transient-mark-mode,
5379 shift-select-mode (cua-mode works both with and without them), and
5380 pc-selection-mode (obsolete).
5381 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5382 (cua--deactivate-rectangle): Deactivate it.
5384 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5385 (delete-selection-helper): Make sure yank starts at the top of the
5387 (minibuffer-keyboard-quit): Use region-active-p.
5389 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5391 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5392 to `delete' (bug#16109).
5394 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5396 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5397 info manual and show keybindings and set `:group' keyword.
5399 2013-12-11 Juri Linkov <juri@jurta.org>
5401 * delsel.el (delete-active-region): Let-bind `this-command'
5402 to prevent `kill-region' from changing its original value.
5403 (delete-selection-helper): Handle `overwrite-mode' for the type
5404 `kill' exactly the same way as for the type `t'.
5405 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5406 Support more commands. (Bug#13312)
5408 2013-12-11 Juri Linkov <juri@jurta.org>
5410 * bindings.el: Map kp keys to non-kp keys systematically
5411 with basic modifiers control, meta and shift. (Bug#14397)
5413 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5415 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5416 "Close browser" menu items. Fix wrong function of "List
5419 2013-12-11 Juri Linkov <juri@jurta.org>
5421 * misearch.el (multi-isearch-buffers): Set the value of
5422 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5423 arg of isearch-forward to t.
5424 (multi-isearch-buffers-regexp): Set the value of
5425 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5426 arg of isearch-forward-regexp to t.
5427 (multi-isearch-files): Set the value of
5428 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5429 arg of isearch-forward to t.
5430 (multi-isearch-files-regexp): Set the value of
5431 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5432 arg of isearch-forward-regexp to t. (Bug#16035)
5434 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5435 arg of isearch-forward to t.
5436 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5437 arg of isearch-forward-regexp to t.
5438 (dired-isearch-filter-filenames): Remove unnecessary check for
5439 `dired-isearch-filenames'.
5441 * comint.el (comint-history-isearch-backward):
5442 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5443 (comint-history-isearch-backward-regexp):
5444 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5446 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5448 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5449 unmsys--file-name. (Bug#16099)
5451 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5453 * emacs-lisp/package.el (package-keyword-button-action):
5454 Remove finder.el require dependency.
5456 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5458 * emacs-lisp/package.el: Require finder.el.
5459 (describe-package-1): Add keyword buttons.
5460 (package-make-button): New convenience function.
5461 (package-keyword-button-action): Keyword button action using
5462 `finder-list-matches'.
5464 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5466 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5469 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5471 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5474 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5476 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5477 after the end of a percent literal.
5479 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5481 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5482 Handle caret-delimited strings (Bug#16079).
5484 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5486 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5487 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5488 `ruby-parse-partial' (Bug#16078).
5490 2013-12-09 Leo Liu <sdl.web@gmail.com>
5492 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5494 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5496 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5497 (js-switch-indent-offset): New option.
5498 (js--proper-indentation): Use it. And handle the case when
5499 "default" is actually a key in an object literal.
5500 (js--same-line): New function.
5501 (js--multi-line-declaration-indentation): Use it.
5502 (js--indent-in-array-comp, js--array-comp-indentation):
5504 (js--proper-indentation): Use them, to handle array comprehension
5507 2013-12-08 Leo Liu <sdl.web@gmail.com>
5509 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5510 (flymake-make-overlay): Remove arg MOUSE-FACE.
5511 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5513 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5517 (redisplay-highlight-region-function): Use it.
5519 * emulation/cua-base.el (cua--explicit-region-start)
5520 (cua--last-region-shifted): Remove.
5521 (cua--deactivate): Use deactivate-mark.
5522 (cua--pre-command-handler-1): Don't handle shift-selection.
5523 (cua--post-command-handler-1): Don't change transient-mark-mode.
5524 (cua--select-keymaps): Use region-active-p rather than
5525 cua--explicit-region-start or cua--last-region-shifted.
5526 (cua-mode): Enable shift-select-mode.
5528 2013-12-08 Leo Liu <sdl.web@gmail.com>
5530 * progmodes/flymake.el (flymake-popup-current-error-menu):
5531 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5532 (flymake-posn-at-point-as-event, flymake-popup-menu)
5533 (flymake-make-emacs-menu): Remove. (Bug#16077)
5535 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * rect.el (rectangle-mark-mode): Activate mark even if
5538 transient-mark-mode is off (bug#16066).
5539 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5540 is > mark and at bolp.
5542 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5543 (region-extract-function): Use it.
5544 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5545 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5547 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5548 kill-ring-save, kill-region, delete-char, delete-forward-char.
5549 Ignore self-insert-iso.
5551 * emulation/cua-gmrk.el (cua--init-global-mark):
5552 Ignore `self-insert-iso'.
5554 * emulation/cua-base.el (cua--prefix-copy-handler)
5555 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5556 checking cua--rectangle.
5557 (cua-delete-region): Use region-extract-function.
5558 (cua-replace-region): Delete function.
5559 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5560 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5561 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5562 (cua--init-keymaps): Don't remap delete-selection commands.
5563 (cua-mode): Use delete-selection-mode instead of rolling our own
5566 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5567 Obey region-extract-function.
5569 Make registers and delete-selection-mode work on rectangles.
5570 * register.el (describe-register-1): Don't modify the register's value.
5571 (copy-to-register): Obey region-extract-function.
5572 * delsel.el (delete-active-region): Obey region-extract-function.
5574 2013-12-08 Leo Liu <sdl.web@gmail.com>
5576 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5577 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5578 (flymake-compilation-prevents-syntax-check)
5579 (flymake-start-syntax-check-on-newline)
5580 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5581 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5582 (flymake-xml-program, flymake-master-file-dirs)
5583 (flymake-master-file-count-limit)
5584 (flymake-allowed-file-name-masks): Relocate.
5585 (flymake-makehash, flymake-float-time)
5586 (flymake-replace-regexp-in-string, flymake-split-string)
5587 (flymake-get-temp-dir): Remove.
5588 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5589 (flymake-current-row, flymake-selected-frame)
5590 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5591 related functions. (Bug#16077)
5593 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5595 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5597 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5599 * help-fns.el (describe-function-1): Use new advice-* functions
5600 rather than old ad-* functions. Fix function type description and
5601 source links for advised functions and subrs.
5603 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5605 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5607 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5609 * progmodes/compile.el (compilation-start):
5610 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5612 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5613 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5615 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5617 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5618 Touch up the last change.
5620 2013-12-06 Leo Liu <sdl.web@gmail.com>
5622 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5623 (inferior-octave-startup): Always use "octave> " for prompt.
5624 (octave-goto-function-definition)
5625 (octave-sync-function-file-names)
5626 (octave-find-definition-default-filename): Remove redundant backquotes.
5628 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5630 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5632 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5633 where appropriate already.
5634 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5635 end of method names (Bug#15874).
5637 2013-12-06 Juri Linkov <juri@jurta.org>
5639 * isearch.el (isearch--saved-overriding-local-map):
5640 New internal variable.
5641 (isearch-mode): Set it to the initial value of
5642 `overriding-terminal-local-map'.
5643 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5644 with `isearch--saved-overriding-local-map'. (Bug#16035)
5646 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5648 * progmodes/octave.el (inferior-octave-completion-table):
5649 Turn back into function, use `completion-table-with-cache'
5650 (Bug#11906). Update all references.
5652 * minibuffer.el (completion-table-with-cache): New function.
5654 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5656 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5658 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5660 * net/eww.el (eww-current-source): New variable to store page
5662 (eww-display-html, eww-mode, eww-save-history)
5663 (eww-restore-history): Use it.
5664 (eww-view-source): New command to view page source.
5665 Opportunistically uses `html-mode' to highlight the buffer.
5666 (eww-mode-map): Install it.
5668 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5670 * net/dbus.el (dbus-unregister-service)
5671 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5673 (dbus-unregister-service): Skip :serial entries in
5674 `dbus-registered-objects-table'.
5675 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5677 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5679 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5680 around keywords with extra `split-string' argument.
5682 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5684 * windmove.el (windmove-other-window-loc): Handle navigation
5685 between windows (excluding the minibuffer window - Bug#16017).
5687 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5689 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5690 in D-Bus type syntax.
5691 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5692 preserve unibyte strings. (Bug#16048)
5694 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5696 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5697 Call force-mode-line-update is the proper buffer (bug#16042).
5699 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5701 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5702 `log-edit-remember-comment', make argument optional. Adjust all
5704 (log-edit-mode): Add `log-edit-remember-comment' to
5705 `kill-buffer-hook' locally.
5706 (log-edit-kill-buffer): Don't remember comment explicitly since
5707 the buffer is killed anyway.
5709 2013-12-04 Juri Linkov <juri@jurta.org>
5711 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5712 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5714 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5716 * notifications.el (notifications-close-notification): Call the
5717 D-Bus method with ID being a `:uint32'. (Bug#16030)
5719 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5721 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5723 2013-12-03 Juri Linkov <juri@jurta.org>
5725 * progmodes/compile.el (compilation-start): Rename window alist
5726 entry `no-display-ok' to `allow-no-window'.
5728 * simple.el (shell-command): Add window alist entry
5729 `allow-no-window' to `display-buffer'.
5730 (async-shell-command): Doc fix.
5732 * window.el (display-buffer-no-window): New action function.
5733 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5735 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5737 * vc/log-edit.el (log-edit-set-header): Extract from
5738 `log-edit-toggle-header'.
5739 (log-edit-extract-headers): Separate the summary, when extracted
5740 from header, from the rest of the message with an empty line.
5742 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5743 line, if present, to the Summary header.
5745 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5747 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5748 in current-buffer (bug#16029).
5750 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5752 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5753 (debugger-mode-map): Bind it.
5754 (debugger--backtrace-base): New function.
5755 (debugger-eval-expression): Use it.
5756 (debugger-frame-number): Skip local vars when present.
5757 (debugger--locals-visible-p, debugger--insert-locals)
5758 (debugger--show-locals, debugger--hide-locals): New functions.
5760 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5762 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5764 (tramp-get-remote-locale): New defun.
5765 (tramp-open-connection-setup-interactive-shell): Use it.
5767 2013-12-02 Leo Liu <sdl.web@gmail.com>
5769 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5771 * progmodes/sh-script.el (sh-shell-process):
5772 * progmodes/octave.el (inferior-octave-process-live-p):
5773 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5774 (gdb-inferior-io-sentinel):
5775 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5777 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5779 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5780 `save-selected-window' to `log-edit-hide-buf'. This makes
5781 `log-edit-show-files' idempotent.
5782 (log-edit-show-files): Mark the new window as dedicated.
5784 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5786 * vc/log-edit.el (log-edit-mode-map): Add binding for
5787 `log-edit-kill-biffer'.
5788 (log-edit-hide-buf): Add a FIXME comment.
5789 (log-edit-add-new-comment): New function, extracted from
5791 (log-edit-done, log-edit-add-to-changelog): Use it.
5792 (log-edit-kill-buffer): New command.
5794 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5797 instead of killing the buffer.
5799 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5801 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5803 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5805 * net/eww.el (eww-form-checkbox-selected-symbol)
5806 (eww-form-checkbox-symbol): New customizable variable.
5807 (eww-form-checkbox, eww-toggle-checkbox):
5808 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5810 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5811 (shr--get-media-pref, shr--extract-best-source): New function.
5812 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5813 no :src tag was specified.
5815 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5816 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5817 Use \\` to match beginning of string instead of ^.
5818 (eww-browse-with-external-browser): Provide optional URL parameter.
5819 (eww-render): Set `eww-current-title' back to "".
5821 * net/shr.el (shr-tag-video): Display content for video if no
5822 poster is available.
5823 (shr-tag-audio): Add support for <audio> tag.
5825 * net/eww.el (eww-text-input-types): New const.
5826 (eww-process-text-input): Treat input types in
5827 `eww-text-input-types' as text.
5829 * net/shr.el (shr-tag-table): Fix comment typo.
5831 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5833 * net/eww.el (eww-follow-link): New command to avoid reloading
5834 pages when we follow #target links (bug#15243).
5835 (eww-quit): Special mode buffers shouldn't query before exiting.
5837 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5839 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5842 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5844 * net/eww.el (eww-restore-history): Update the window title after
5845 moving in the history.
5846 (eww-current-dom): New variable used to save the current DOM.
5848 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5850 * vc/log-edit.el (log-edit-mode-map): Add binding for
5851 `log-edit-beginning-of-line'.
5852 (log-edit-setup-add-author): New user option.
5853 (log-edit-beginning-of-line): New command.
5854 (log-edit): Move major mode call above the contents setup so that
5855 the local variable values are already applied.
5856 (log-edit): Only insert "Author: " when
5857 `log-edit-setup-add-author' is non-nil.
5858 (log-edit): When SETUP is non-nil, position point after ": "
5859 instead of point-min.
5861 2013-12-01 Glenn Morris <rgm@gnu.org>
5863 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5865 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5867 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5868 redisplay to make sure the initial frame gets a chance to become
5869 visible. (Bug#16014)
5871 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5873 Support resizing frames and windows pixelwise.
5874 * cus-start.el (frame-resize-pixelwise)
5875 (window-resize-pixelwise): New entries.
5876 * emacs-lisp/debug.el (debug): Use window-total-height instead
5877 of window-total-size.
5878 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5879 * help.el (describe-bindings-internal): Use help-buffer as
5880 argument for with-help-window.
5881 (temp-buffer-max-width): New option.
5882 (resize-temp-buffer-window, help-window-setup)
5883 (with-help-window): Rewrite.
5884 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5886 * window.el (frame-char-size, window-min-pixel-height)
5887 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5888 (window-min-pixel-width, window-safe-min-pixel-size)
5889 (window-combination-p, window-safe-min-size)
5890 (window-resizable-p, window--size-to-pixel)
5891 (window--pixel-to-size, window--resize-apply-p): New functions.
5892 (window-safe-min-height): Fix doc-string.
5893 (window-size, window-min-size, window--min-size-1)
5894 (window-sizable, window-sizable-p, window--min-delta-1)
5895 (window-min-delta, window--max-delta-1, window-max-delta)
5896 (window--resizable, window--resizable-p, window-resizable)
5897 (window-full-height-p, window-full-width-p, window-at-side-p)
5898 (window--in-direction-2, window-in-direction)
5899 (window--resize-reset-1, window--resize-mini-window)
5900 (window-resize, window-resize-no-error)
5901 (window--resize-child-windows-normal)
5902 (window--resize-child-windows, window--resize-siblings)
5903 (window--resize-this-window, window--resize-root-window)
5904 (window--resize-root-window-vertically)
5905 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5906 (maximize-window, minimize-window, delete-window)
5907 (quit-restore-window, window-split-min-size, split-window)
5908 (balance-windows-2, balance-windows)
5909 (balance-windows-area-adjust, balance-windows-area)
5910 (window--state-get-1, window-state-get, window--state-put-1)
5911 (window--state-put-2, window-state-put)
5912 (display-buffer-record-window, window--display-buffer):
5913 Make functions handle pixelwise sizing of windows.
5914 (display-buffer--action-function-custom-type)
5915 (display-buffer-fallback-action):
5916 Add display-buffer-in-previous-window.
5917 (display-buffer-use-some-window): Resize window to height it had
5919 (fit-window-to-buffer-horizontally): New option.
5920 (fit-frame-to-buffer): Describe new values.
5921 (fit-frame-to-buffer-bottom-margin): Replace with
5922 fit-frame-to-buffer-margins.
5923 (window--sanitize-margin): New function.
5924 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5925 using window-text-pixel-size.
5927 2013-11-30 Glenn Morris <rgm@gnu.org>
5929 * emacs-lisp/bytecomp.el (byte-compile-form):
5930 Make the `interactive-only' warning like the `obsolete' one.
5931 * comint.el (comint-run):
5932 * files.el (insert-file-literally, insert-file):
5933 * replace.el (replace-string, replace-regexp):
5934 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5935 (goto-line, insert-buffer, next-line, previous-line):
5936 Tweak `interactive-only' spec.
5938 Stop keeping (most) generated cedet grammar files in the repository.
5939 * Makefile.in (semantic): New.
5940 (compile-main): Depend on semantic.
5942 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5944 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5945 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5947 * uniquify.el (uniquify-buffer-name-style): Change default.
5949 * loadup.el: Preload "uniquify".
5951 * time.el (display-time-update): Update all mode lines (bug#15999).
5953 * electric.el (electric-indent-mode): Enable by default.
5954 * loadup.el: Preload "electric".
5956 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5958 * emacs-lisp/helpers.el (string-empty-p): New function.
5959 (string-blank-p): New function.
5961 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5963 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5966 2013-11-29 Andreas Politz <politza@fh-trier.de>
5967 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5968 allow non-lambda lists as functions.
5969 (imenu--in-alist): Don't recurse into non-subalists.
5970 (imenu): Don't pass function itself as an argument (Bug#14029).
5972 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * progmodes/python.el (python-mode-map): Remove binding for ":".
5975 (python-indent-electric-colon): Remove command.
5976 (python-indent-post-self-insert-function): Integrate the previous code
5977 of python-indent-electric-colon. Make it conditional on
5978 electric-indent-mode.
5979 (python-mode): Add ?: to electric-indent-chars.
5980 Move python-indent-post-self-insert-function to the end of
5981 post-self-insert-hook.
5983 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * doc-view.el (doc-view-goto-page): Update mode-line.
5987 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5989 2013-11-27 Glenn Morris <rgm@gnu.org>
5991 * international/charprop.el, international/uni-bidi.el:
5992 * international/uni-category.el, international/uni-combining.el:
5993 * international/uni-comment.el, international/uni-decimal.el:
5994 * international/uni-decomposition.el, international/uni-digit.el:
5995 * international/uni-lowercase.el, international/uni-mirrored.el:
5996 * international/uni-name.el, international/uni-numeric.el:
5997 * international/uni-old-name.el, international/uni-titlecase.el:
5998 * international/uni-uppercase.el:
5999 Remove generated files from VCS repository.
6001 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6003 * filenotify.el (file-notify-add-watch): Don't special-case
6004 w32notify when computing the directory to watch.
6006 2013-11-27 Glenn Morris <rgm@gnu.org>
6008 Make bootstrap without generated uni-*.el files possible again.
6009 * loadup.el: Update command-line-args checking for unidata-gen.
6010 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6011 * composite.el, international/characters.el:
6012 Handle unicode tables being undefined.
6014 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6015 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6016 (compile-main): Depend on leim rule.
6018 * loadup.el: Move leim-list.el to leim/ subdirectory.
6019 * startup.el (normal-top-level): No more leim directory.
6020 * international/ja-dic-cnv.el (skkdic-convert):
6021 Disable version-control and autoloads in output files.
6022 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6023 Disable version-control and autoloads in output files.
6024 * leim/quail: Move here from ../leim.
6025 * leim/quail/hangul.el (hangul-input-method-activate):
6026 Add autoload cookie.
6027 (generated-autoload-load-name): Set file-local value.
6028 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6029 (generated-autoload-load-name): Set file-local value.
6031 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6033 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6034 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6035 (eww-quit): Ask confirmation before quitting eww.
6037 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6039 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6040 reading output from Diff on MS-Windows and MS-DOS.
6042 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6044 * emacs-lisp/helpers.el (string-reverse): New function.
6046 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6048 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6049 names on MS Windows, like "/[::1]:".
6051 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6054 2013-11-26 Glenn Morris <rgm@gnu.org>
6056 * progmodes/python.el (python-indent-guess-indent-offset):
6057 Avoid corner-case error. (Bug#15975)
6059 Preload leim-list.el. (Bug#4789)
6060 * loadup.el: Load leim-list.el when found.
6061 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6063 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6065 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6067 * emacs-lisp/helpers.el (string-join): New function.
6069 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6071 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6072 Mark as obsolete and replace it with a symbol property.
6073 (byte-compile-form): Use new 'interactive-only property.
6074 * comint.el, files.el, replace.el, simple.el:
6075 Apply new 'interactive-only properly.
6077 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6079 * window.el (display-buffer-at-bottom): Make sure that
6080 split-window-sensibly creates the new window on bottom
6083 2013-11-23 David Kastrup <dak@gnu.org>
6085 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6086 on the conflict markers when available.
6087 (smerge--get-marker): New function.
6088 (smerge-end-re, smerge-base-re): Add subgroup.
6090 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * frame.el (handle-focus-in, handle-focus-out): Add missing
6095 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6097 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6098 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6100 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6103 (gomoku--last-pos): New var.
6104 (gomoku--intangible-chars): New const.
6105 (gomoku--intangible): New function.
6106 (gomoku-mode): Use it. Derive from special-mode.
6107 (gomoku-move-up): Adjust line count.
6108 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6109 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6110 Simplify accordingly.
6112 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6113 Remove blink-cursor code.
6114 (blink-cursor-timer-function, blink-cursor-suspend):
6115 Don't special-case GUIs.
6116 (blink-cursor-mode): Use focus-in/out-hook.
6118 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6120 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6121 work when annotation is invisible (Bug#13886).
6123 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6125 * json.el (json-alist-p): Only return non-nil if the alist has
6126 simple keys (Bug#13518).
6128 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6130 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6131 when control-statement is the first statement in a buffer (Bug#15956).
6133 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6135 * imenu.el (imenu-generic-skip-comments-and-strings):
6136 New option (Bug#15560).
6137 (imenu--generic-function): Use it.
6139 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6141 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6144 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6146 * emacs-lisp/helpers.el: Add some string helpers.
6147 (string-trim-left): Removes leading whitespace.
6148 (string-trim-right): Removes trailing whitespace.
6149 (string-trim): Removes leading and trailing whitespace.
6151 * subr.el (string-suffix-p): New function.
6153 2013-11-23 Glenn Morris <rgm@gnu.org>
6155 * progmodes/python.el (python-shell-send-file):
6156 Add option to delete file when done. (Bug#15647)
6157 (python-shell-send-string, python-shell-send-region): Use it.
6159 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6161 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6162 to set buffer-read-only to t, never to nil. (Bug#15938)
6164 * textmodes/tex-mode.el (latex-noindent-environments):
6165 Add safe-local-variable property. (Bug#15936)
6167 2013-11-23 Glenn Morris <rgm@gnu.org>
6169 * textmodes/enriched.el (enriched-mode): Doc fix.
6170 * emacs-lisp/authors.el (authors-renamed-files-alist):
6171 Add enriched.doc -> enriched.txt.
6173 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6175 2013-11-22 Leo Liu <sdl.web@gmail.com>
6177 * progmodes/octave.el (inferior-octave-startup): Spit out error
6180 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6182 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6185 (ruby-encoding-magic-comment-style): Add :version.
6187 2013-11-22 Leo Liu <sdl.web@gmail.com>
6189 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6191 (octave-help-mode): Adapt to change to help-mode-finish to use
6192 derived-mode-p on 2013-09-17.
6193 (inferior-octave-prompt): Also match octave-gui.
6194 (octave-kill-process): Don't ask twice. (Bug#10564)
6196 2013-11-22 Leo Liu <sdl.web@gmail.com>
6198 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6199 (inferior-octave-startup, inferior-octave-check-process)
6200 (inferior-octave-track-window-width-change)
6201 (octave-completion-at-point, octave-eldoc-function): Use it.
6202 (octave-kill-process): Provide confirmation. (Bug#10564)
6204 2013-11-21 Leo Liu <sdl.web@gmail.com>
6206 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6207 Fix obsolete variable comment-use-global-state.
6209 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6211 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6212 Add `octave-source-file'.
6213 (octave-source-file): New function. (Bug#15935)
6215 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6217 * net/eww.el (eww-local-regex): New variable.
6218 (eww): Use it to detect localhost and similar.
6220 2013-11-21 Leo Liu <sdl.web@gmail.com>
6222 Add completion for command `ag'.
6223 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6224 (pcomplete/ag): New function.
6225 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6227 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6229 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6231 (make-obsolete): Remove interactive spec.
6233 2013-11-21 Glenn Morris <rgm@gnu.org>
6235 * startup.el (command-line-1): Use path-separator with -L.
6237 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6239 * emacs-lisp/package.el (describe-package-1): Add package archive
6242 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6244 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6245 Change default to "# encoding: %s" to differentiate it from the
6246 default Ruby encoding comment template.
6248 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6250 * ses.el (ses-mode): Doc fix. (Bug#14748)
6252 2013-11-20 Leo Liu <sdl.web@gmail.com>
6254 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6256 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6258 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6259 when rebase or bisect are in progress.
6261 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6263 * filenotify.el (file-notify-add-watch): Doc fix.
6265 2013-11-19 Leo Liu <sdl.web@gmail.com>
6267 * obsolete/rcompile.el: Mark obsolete.
6269 * progmodes/compile.el (compilation-start)
6270 (compilation-goto-locus, compilation-find-file):
6271 Pass no-display-ok and handle nil value from display-buffer.
6274 * window.el (display-buffer-alist, display-buffer): Document the
6275 new parameter no-display-ok. Return either a window or nil
6276 but never a non-window value.
6278 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * electric.el (electric-indent-mode-map): Remove.
6281 (electric-indent-mode): Change the global-map instead (bug#15915).
6283 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6286 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6288 * emacs-lisp/nadvice.el (remove-function): Align with
6289 add-function's behavior.
6291 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6292 (gdb--string-regexp): New constant.
6293 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6294 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6295 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6297 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6298 Adjust use accordingly.
6299 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6301 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6303 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6304 interpolation curlies (Bug#15914).
6306 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6308 * calc/calc.el (calc-context-sensitive-enter): New variable.
6309 (calc-enter): Use `calc-context-sensitive-enter'.
6311 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6313 * progmodes/cfengine.el: Version bump.
6314 (cfengine-cf-promises): New defcustom to locate cf-promises.
6315 (cfengine3-vartypes): Add new "data" type.
6316 (cfengine3--current-word): New function to get current name-like
6318 (cfengine3--current-function): New function to look up a CFEngine
6319 function's definition.
6320 (cfengine3-format-function-docstring): New function.
6321 (cfengine3-make-syntax-cache): New function.
6322 (cfengine3-documentation-function): New function: ElDoc glue.
6323 (cfengine3-completion-function): New function: completion glue.
6324 (cfengine3-mode): Set `compile-command',
6325 `eldoc-documentation-function', and add to
6326 `completion-at-point-functions'.
6328 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6330 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6331 `tramp-current-connection'.
6333 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6335 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6336 nil/self/true/false with "end of symbol".
6338 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6340 * subr.el (version-regexp-alist): Fix a typo.
6342 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6344 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6345 "en_US.utf8" and "LC_CTYPE" to "".
6346 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6347 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6349 2013-11-15 Leo Liu <sdl.web@gmail.com>
6351 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6353 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6355 * progmodes/gud.el (ctl-x-map):
6356 Remove C-x SPC binding. (Bug#12342)
6357 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6359 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6361 * subr.el (version-regexp-alist):
6362 Recognize hg, svn and darcs versions as snapshot versions.
6364 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6365 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6366 (ruby--encoding-comment-required-p): Extract from
6367 `ruby-mode-set-encoding'.
6368 (ruby-mode-set-encoding): Add the ability to always insert an
6369 utf-8 encoding comment. Fix and simplify coding comment update
6372 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6374 * net/tramp-gvfs.el (top): Run init code only when
6375 `tramp-gvfs-enabled' is not nil.
6376 (tramp-gvfs-enabled): Check also :system bus.
6378 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6380 Sync with upstream verilog-mode revision 78e66ba.
6381 * progmodes/verilog-mode.el (verilog-end-of-defun)
6382 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6383 (verilog-get-end-of-defun): Remove unused argument.
6384 (verilog-comment-depth): Remove unused local `e'.
6385 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6386 Don't pass arg to verilog-get-end-of-defun.
6388 2013-11-14 Glenn Morris <rgm@gnu.org>
6390 * obsolete/assoc.el (aget): Prefix dynamic variable.
6392 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6394 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6396 * widget.el, hfy-cmap.el: Remove bogus package version number.
6398 2013-11-13 Glenn Morris <rgm@gnu.org>
6400 * replace.el (replace-eval-replacement):
6401 Try to give more helpful error message. (Bug#15836)
6403 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6404 (archive-7z-update): Avoid custom type mismatches.
6406 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6408 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6410 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6411 address can be empty.
6413 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6414 Accept nil SWITCHES.
6415 (tramp-gvfs-handle-write-region): Implement APPEND.
6417 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6419 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6420 binary "|" operator and closing block args delimiter.
6421 Remove FIXME comment referring to Ruby 1.8-only syntax.
6422 (ruby-smie--implicit-semi-p): Not after "|" operator.
6423 (ruby-smie--closing-pipe-p): New function.
6424 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6425 (ruby-smie-rules): Indent after "|".
6427 2013-11-12 Glenn Morris <rgm@gnu.org>
6429 * ps-print.el (ps-face-attribute-list):
6430 Handle anonymous faces. (Bug#15827)
6432 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6434 * window.el (display-buffer-other-frame): Fix doc-string.
6437 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6441 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6443 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6444 (tramp-sh-handle-file-local-copy): Don't write a message when
6445 saving temporary files.
6447 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6448 both directories are remote.
6449 (tramp-smb-handle-directory-files): Do not return double entries.
6450 Do not expand full file names.
6451 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6452 (tramp-smb-handle-write-region): Implement APPEND.
6453 (tramp-smb-get-stat-capability): Fix a stupid bug.
6455 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6459 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6461 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6462 throwing error over malformed let/let* (bug#15814).
6464 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6466 * iswitchb.el (iswitchb-mode): Mark obsolete.
6468 2013-11-11 Glenn Morris <rgm@gnu.org>
6470 * international/uni-bidi.el, international/uni-category.el:
6471 * international/uni-name.el, international/uni-numeric.el:
6472 Regenerate for Unicode 6.3.0.
6474 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6476 * net/tramp.el (tramp-methods):
6477 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6478 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6480 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6482 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6483 Force highlighting text after Summary keyword in doc face for rpm.
6485 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6487 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6488 available and the word has no wildcards, append one to the grep pattern.
6489 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6490 (ispell-complete-word): Call `ispell-lookup-words' with the value
6491 independent of `ispell-look-p'.
6493 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6495 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6497 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6500 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6502 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6503 (ruby-font-lock-keywords): Use backquote.
6505 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6507 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6508 (ruby-smie--backward-token): Only consider full-string matches.
6510 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6512 * faces.el (describe-face): Add distant-foreground.
6514 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6516 * progmodes/ruby-mode.el: Improve encoding comment handling.
6517 (ruby-encoding-magic-comment-style): New option.
6518 (ruby-custom-encoding-magic-comment-template): New option.
6519 (ruby--insert-coding-comment, ruby--detect-encoding):
6520 New functions extracted from `ruby-mode-set-encoding'.
6521 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6522 to control the style of the auto-inserted encoding comment.
6524 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6526 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6527 Use `smie-backward-sexp' with token argument.
6529 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6531 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6532 Remove instrumentation code.
6534 2013-11-08 Glenn Morris <rgm@gnu.org>
6536 * progmodes/autoconf.el (autoconf-mode):
6537 Tweak comment-start-skip. (Bug#15822)
6539 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6541 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6542 at bobp (bug#15826).
6543 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6545 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6547 * man.el (Man-start-calling): New macro, extracted from
6548 Man-getpage-in-background.
6549 (Man-getpage-in-background): Use it.
6550 (Man-update-manpage): New command.
6551 (Man-mode-map): Bind it.
6553 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6555 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6556 of "and", "or", "&&" and "||".
6557 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6558 argument. Prohibit opening curly brace because it could only be a
6559 block opener in that position.
6560 (ruby-smie--forward-token, ruby-smie--backward-token):
6561 Separate "|" from "&" or "*" going after it. That can happen in block
6563 (ruby-smie--indent-to-stmt): New function, seeks the end of
6564 previous statement or beginning of buffer.
6565 (ruby-smie-rules): Use it.
6566 (ruby-smie-rules): Check if there's a ":" before a curly block
6567 opener candidate; if there is, it's a hash.
6569 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6572 (cl--block-wrapper): Fix last accidental change.
6574 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6576 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6577 Instrument, in order to hunt failure on hydra.
6579 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6581 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6582 malformed bindings form (bug#15814).
6584 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6586 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6587 "." compared to " @ ". This incidentally fixes some indentation
6589 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6590 (ruby-smie-grammar): New tokens: "and" and "or".
6591 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6592 Exclude "and" and "or". Remove "do" in order to work around token
6594 (ruby-smie-rules): Add all infix tokens. Handle the case of
6595 beginning-of-buffer.
6597 2013-11-06 Glenn Morris <rgm@gnu.org>
6599 * Makefile.in (setwins_almost, setwins_for_subdirs):
6600 Avoid accidental matches.
6602 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6604 * menu-bar.el (popup-menu): Use key-binding.
6606 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6608 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6609 menus, support also the menus produced by minor modes.
6612 2013-11-06 Leo Liu <sdl.web@gmail.com>
6614 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6615 DISTANCE to bound the search. All uses changed. (Bug#15808)
6617 2013-11-06 Glenn Morris <rgm@gnu.org>
6619 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6620 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6621 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6623 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6625 * electric.el (electric-indent-just-newline): New command.
6626 (electric-indent-mode-map): New keymap.
6627 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6628 Re-add :group which weren't redundant.
6630 * electric.el (electric-indent-local-mode): New minor mode.
6631 (electric-indent-functions-without-reindent): New var.
6632 (electric-indent-post-self-insert-function): Use it.
6633 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6635 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6637 * international/quail.el (quail-help): Be more explicit about the
6638 meaning of the labels shown on the keys. (Bug#15800)
6640 * startup.el (normal-top-level): Load the subdirs.el files before
6641 setting the locale environment. (Bug#15805)
6643 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6645 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6646 via arguments so as to get the right ones (bug#15418).
6648 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6650 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6652 Fix problems found while writing a test suite.
6654 * net/tramp-compat.el (tramp-compat-load): New defun.
6655 * net/tramp.el (tramp-handle-load): Use it.
6657 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6658 "(numberp ok-if-already-exists)" correctly.
6660 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6662 * international/characters.el (glyphless-char-display-control):
6665 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6667 * progmodes/python.el (python-mode):
6668 * progmodes/scheme.el (scheme-mode):
6669 * progmodes/prolog.el (prolog-mode):
6670 * progmodes/ruby-mode.el (ruby-mode):
6671 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6672 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6674 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6676 * rect.el (rectangle--highlight-for-redisplay):
6677 * emacs-lisp/smie.el (smie--next-indent-change):
6678 Use buffer-chars-modified-tick.
6680 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6682 * electric.el (electric-indent-post-self-insert-function):
6683 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6685 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6687 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6689 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6691 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6694 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6698 * progmodes/python.el: Fix up last change.
6699 (python-shell--save-temp-file): New function.
6700 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6701 `string' comes from the current buffer.
6702 (python-shell-send-string-no-output): Remove `msg' arg.
6703 (python--use-fake-loc): New var.
6704 (python-shell-buffer-substring): Obey it. Try to compensate for the
6705 extra coding line added by python-shell--save-temp-file.
6706 (python-shell-send-region): Use python-shell--save-temp-file and
6707 python-shell-send-file directly. Add `nomain' argument.
6708 (python-shell-send-buffer): Use python-shell-send-region.
6709 (python-electric-pair-string-delimiter): New function.
6710 (python-mode): Use it.
6712 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6714 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6715 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6716 environment and decoding all of the default-directory's to here
6718 (command-line): Decode also argv[0].
6720 * loadup.el: Error out if default-directory is a multibyte string
6721 when we are dumping.
6723 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6725 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6727 * emacs-lisp/package.el (package-menu-mode)
6728 (package-menu--print-info, package-menu--archive-predicate):
6729 Add Archive column to package list.
6731 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6733 Fix problems found while writing a test suite.
6735 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6736 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6737 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6738 to nil when running original file name handler. Otherwise,
6739 there are problems with constructs like "$$FOO".
6741 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6744 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6746 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6748 * subr.el (version<, version<=, version=):
6749 Update docstrings with information for snapshot versions.
6751 * helpers.el: New library for misc helper functions.
6752 (hash-table-keys): New function returning a list of hash keys.
6753 (hash-table-values): New function returning a list of hash values.
6755 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6757 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6758 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6760 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6762 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6763 checking whether point is after a 1-letter word.
6765 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6767 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6768 Don't infloop when expanding region over `multiline' syntax-type that
6769 begins a line (bug#15778).
6771 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6773 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6774 Make it into a proper minor mode.
6775 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6776 (rectangle-mark-mode-map): New keymap.
6777 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6779 2013-11-04 Glenn Morris <rgm@gnu.org>
6781 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6783 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6786 (ruby-smie-rules): Use smie-rule-parent instead.
6788 * emacs-lisp/smie.el (smie-rule-parent): Always call
6789 smie-indent-virtual rather than only for hanging tokens.
6790 (smie--next-indent-change): New helper command.
6792 2013-11-03 Glenn Morris <rgm@gnu.org>
6794 * Makefile.in (abs_srcdir): Remove.
6795 (emacs): Unset EMACSLOADPATH.
6797 2013-11-02 Glenn Morris <rgm@gnu.org>
6799 * Makefile.in (EMACS): Use a relative filename.
6800 (abs_top_builddir): Remove.
6801 (custom-deps, finder-data, autoloads): Use --chdir.
6803 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6805 Use relative filenames in TAGS files.
6806 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6807 (lisptagsfiles4, TAGS): Use relative file names.
6808 (TAGS-LISP): Remove.
6809 (maintainer-clean): No more TAGS-LISP file.
6811 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6812 (lisptagsfiles4): Use absolute filenames again.
6813 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6814 Remove all *loaddefs files, not just the first. Remove esh-groups.
6815 (maintainer-clean): Delete TAGS, TAGS-LISP.
6817 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6819 * emacs-lisp/package.el (package-version-join):
6820 Recognize snapshot versions.
6822 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6824 * subr.el (version-regexp-alist): Add support for snapshot versions.
6826 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6828 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6829 New function, replacement for `smie-rule-parent' for when we want to
6830 skip over our direct parent if it's an assignment token..
6831 (ruby-smie-rules): Use it.
6833 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6835 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6836 unconditionally. Remove now unnecessary forward declarations.
6837 Remove XEmacs-specific setup.
6838 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6839 (ruby-font-lock-syntactic-keywords)
6840 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6841 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6842 (ruby-here-doc-end-syntax): Remove.
6843 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6844 defined as function.
6846 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6848 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6850 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6852 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6853 table and abbrev table, `define-derived-mode' does that for us
6856 2013-11-01 Glenn Morris <rgm@gnu.org>
6858 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6859 files is atomic for some time, so no parallel compilation issues).
6861 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6863 * faces.el (face-x-resources): Add :distant-foreground.
6864 (region): Use :distant-foreground for gtk and ns.
6866 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6868 Allow multiple bibliographies when BibLaTeX is used rather than
6870 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6871 (reftex-locate-bibliography-files): Us it.
6873 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6875 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6876 allow comments in pbm files.
6878 * term/w32-win.el (dynamic-library-alist): Support newer versions
6879 of libjpeg starting with v7: look only for the DLL from the
6880 version against which Emacs was built.
6881 Support versions of libpng beyond 1.4.x.
6882 Support libtiff v4.x.
6884 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6886 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6887 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6889 (ruby-deep-arglist): Add property :type.
6891 2013-10-31 Glenn Morris <rgm@gnu.org>
6893 * Makefile.in (custom-deps, finder-data): No need to setq the target
6894 variables, we are in the right directory and the defaults work fine.
6896 2013-10-30 Glenn Morris <rgm@gnu.org>
6898 * Makefile.in (autoloads): Do not use abs_lisp.
6900 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6901 `newline' does not respect `standard-output', so use `princ'.
6903 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6905 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6906 * buff-menu.el (Buffer-menu--unmark): New function.
6907 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6909 2013-10-30 Glenn Morris <rgm@gnu.org>
6911 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6913 * emacs-lisp/package.el (lm-homepage): Declare.
6915 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6918 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6920 * Makefile.in (finder-data, autoloads, update-subdirs)
6921 (compile-main, compile-clean, compile-always, bootstrap-clean):
6922 Check return value of cd.
6923 (compile-calc): Remove.
6925 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6927 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6929 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6930 (byte-compile-and-folded): New function.
6931 (=, <, >, <=, >=): Use it.
6933 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6934 (path-separator, null-device, buffer-file-coding-system)
6935 (lpr-headers-switches): Check system-type before modifying them.
6936 (find-buffer-file-type-coding-system): Mark obsolete.
6937 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6938 find-file-not-found-set-buffer-file-coding-system.
6939 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6940 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6941 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6942 (w32-direct-print-region-helper, w32-direct-print-region-function)
6943 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6944 * startup.el (normal-top-level-add-subdirs-to-load-path):
6945 * ps-print.el (ps-print-region-function):
6946 * lpr.el (print-region-function): Use new name.
6948 * subr.el (custom-declare-variable-early): Remove function.
6949 (custom-declare-variable-list): Remove var.
6950 (error, user-error): Remove `while' loop.
6951 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6952 (user-emacs-directory-warning, locate-user-emacs-file):
6954 * simple.el (read-quoted-char-radix, read-quoted-char):
6955 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6957 * custom.el (custom-declare-variable-list): Don't process
6958 custom-declare-variable-list.
6960 * progmodes/python.el (python-shell-get-buffer): New function.
6961 (python-shell-get-process): Use it.
6962 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6963 Python which encoding was used. Don't split-string since we only care
6964 about the first line. Return the temp-file, if applicable.
6965 (python-shell-send-region): Tell compile.el how to turn locations in
6966 the temp-file into locations in the source buffer.
6968 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * subr.el (undefined): Add missing behavior from the C code for
6973 * rect.el: Use lexical-binding. Add new rectangular region support.
6974 (rectangle-mark): New command.
6975 (rectangle--region): New var.
6976 (deactivate-mark-hook): Reset rectangle--region.
6977 (rectangle--extract-region, rectangle--insert-for-yank)
6978 (rectangle--highlight-for-redisplay)
6979 (rectangle--unhighlight-for-redisplay): New functions.
6980 (region-extract-function, redisplay-unhighlight-region-function)
6981 (redisplay-highlight-region-function): Use them to handle
6983 * simple.el (region-extract-function): New var.
6984 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6985 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6986 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6987 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6988 (redisplay-unhighlight-region-function)
6989 (redisplay-highlight-region-function): New vars.
6990 (redisplay--update-region-highlight): New function.
6991 (pre-redisplay-function): Use it.
6992 (exchange-point-and-mark): Don't deactivate the mark before
6993 reactivate-it anyway.
6994 * comint.el (comint-kill-region): Remove yank-handler argument.
6995 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6996 (delete-char): Remove property, since it's now part of their
6998 (self-insert-iso): Remove property since this command doesn't exist.
7000 * emacs-lisp/package.el (package--download-one-archive)
7001 (describe-package-1): Don't query the user about final newline.
7003 2013-10-29 Daniel Colascione <dancol@dancol.org>
7005 * net/tramp.el (tramp-methods): Document new functionality.
7006 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7007 tramp-hostname-checker if method provides one instead of scanning
7008 argument list for "%h" to decide hostname acceptability.
7010 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7012 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7013 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7014 Handle COPY-CONTENTS. (Bug#15737)
7016 2013-10-28 Daiki Ueno <ueno@gnu.org>
7018 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7019 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7021 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7023 * image.el (defimage, image-load-path): Doc fixes.
7025 2013-10-27 Alan Mackenzie <acm@muc.de>
7027 Indent statements in macros following "##" correctly.
7028 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7029 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7031 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7033 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7035 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7037 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7038 after `=' is probably a new expression.
7040 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7042 * man.el (man-imenu-title): New option.
7043 (Man-mode-map): Add menu. (Bug#15722)
7044 (Man-mode): Add imenu to menu.
7046 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7048 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7049 specific in what the first arg can be: a non-keyword word,
7050 string/regexp/percent literal opener, opening paren, or unary
7051 operator followed directly by word.
7053 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7056 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7057 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7058 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7059 Remove vars, they do not apply any more.
7060 (prolog-mode-abbrev-table): Remove redundant declaration.
7061 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7062 (prolog-use-smie): Remove.
7063 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7064 supported by prolog-electric-if-then-else-flag.
7065 (prolog-mode-variables, prolog-menu): Use setq-local.
7066 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7067 Remove binding to `Backspace' since this key doesn't exist anyway.
7068 Remove bindings for electric self-inserting keys.
7069 (prog-mode): Assume it's defined.
7070 (prolog-post-self-insert): New function.
7071 (prolog-mode): Use it.
7072 (prolog-indent-line, prolog-indent-level)
7073 (prolog-find-indent-of-matching-paren)
7074 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7075 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7076 (prolog-goto-next-paren, prolog-in-string-or-comment)
7077 (prolog-tokenize, prolog-inside-mline-comment)
7078 (prolog-find-start-of-mline-comment): Remove functions.
7079 (prolog-find-unmatched-paren, prolog-clause-end)
7080 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7081 (prolog-electric--if-then-else): Rename from
7082 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7083 (prolog-tokenize-searchkey): Remove const.
7084 (prolog-clause-info): Use forward-sexp.
7085 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7086 (prolog-electric-if-then-else): Remove commands.
7087 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7088 for use in post-self-insert-hook.
7089 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7090 for use in post-self-insert-hook.
7091 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7092 for use in post-self-insert-hook.
7093 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7094 adapt it for use in post-self-insert-hook.
7096 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7098 * emacs-lisp/ert.el (ert-run-tests-interactively):
7099 Use `completing-read'. (Bug#9756)
7101 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7103 * simple.el (line-move): Call line-move-1 instead of
7104 line-move-visual when the current window hscroll is zero, but
7105 temporary-goal-column indicates we will need to hscroll as result
7106 of the movement. (Bug#15712)
7108 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7110 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7111 capitalization. Use :visible instead of :active.
7112 Fix `ruby-indent-exp' reference. Add menu items for the generic
7113 commands that are used with SMIE.
7114 (ruby-do-end-to-brace): Insert space after `{'.
7116 2013-10-25 John Anthony <john@jo.hnanthony.com>
7118 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7120 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7122 2013-10-25 Glenn Morris <rgm@gnu.org>
7124 * vc/vc.el (vc-print-log): Don't use a working revision unless
7125 one was explicitly specified. (Bug#15322)
7127 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7129 * subr.el (add-to-list): Preserve return value in compiler-macro
7132 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7134 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7135 result. Ask user to retry using '-all' flag. (Bug#15701)
7137 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7139 * emacs-lisp/smie.el: New smie-config system.
7140 (smie-config): New defcustom.
7141 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7142 (smie-config-guess, smie-config-save): New commands.
7143 (smie-config--mode-local, smie-config--buffer-local)
7144 (smie-config--trace, smie-config--modefuns): New vars.
7145 (smie-config--advice, smie-config--mode-hook)
7146 (smie-config--setter, smie-config-local, smie-config--get-trace)
7147 (smie-config--guess-value, smie-config--guess): New functions.
7148 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7149 text properties. Treat "string fence" syntax like string syntax.
7151 * progmodes/sh-script.el (sh-use-smie): Change default.
7152 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7153 (sh-var-value): Simplify by CSE.
7154 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7155 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7157 (sh-guess-basic-offset): Use cl-incf.
7158 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7160 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7162 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7165 2013-10-24 Glenn Morris <rgm@gnu.org>
7167 * Makefile.in (abs_top_srcdir): Remove.
7168 (update-subdirs): Use relative path to update-subdirs.
7170 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7172 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7173 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7174 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7175 Call unmsys--file-name before expand-file-name, not after it.
7177 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7179 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7180 (ert-test-skipped): New error.
7181 (ert-skip, ert-stats-skipped): New defuns.
7182 (ert--skip-unless): New macro.
7183 (ert-test-skipped): New struct.
7184 (ert--run-test-debugger, ert-test-result-type-p)
7185 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7186 (ert--stats-set-test-and-result, ert-char-for-test-result)
7187 (ert-string-for-test-result, ert-run-tests-batch)
7188 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7189 Handle skipped tests. (Bug#9803)
7191 2013-10-24 Glenn Morris <rgm@gnu.org>
7193 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7195 * Makefile.in (abs_top_srcdir): New, set by configure.
7196 (update-subdirs): Correct build-aux location.
7198 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7200 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7201 value, whether we could auto-deduce `backend', or not.
7203 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7204 with parameters" example. Simplify the "is it block or is it
7205 hash" check, but also make it more thorough.
7207 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7209 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7211 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7213 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7216 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7219 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7221 * progmodes/compile.el (compilation-directory-matcher)
7222 (compilation-page-delimiter):
7223 Support GNU Make-4.0 directory quoting. (Bug#15678)
7225 2013-10-23 Leo Liu <sdl.web@gmail.com>
7227 * ido.el (ido-tidy): Handle read-only text.
7229 2013-10-23 Glenn Morris <rgm@gnu.org>
7231 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7232 (emacs, compile, compile-always):
7233 Quote entities that might contain whitespace.
7234 (custom-deps, finder-data, autoloads): Use abs_lisp.
7235 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7236 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7237 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7239 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7241 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7242 Use `following-char'.
7244 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7246 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7247 * progmodes/ruby-mode.el (ruby-smie-rules):
7248 Remove corresponding workaround. Fix indentation rule of ";" so it
7249 also applies when ";" is the parent.
7251 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7253 * frame.el (display-screens, display-pixel-height)
7254 (display-pixel-width, display-mm-width, display-backing-store)
7255 (display-save-under, display-planes, display-color-cells)
7256 (display-visual-class, display-monitor-attributes-list):
7257 Mention the optional ‘display’ argument in doc strings.
7259 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7261 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7262 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7264 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7266 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7267 TODO. Add "." after " @ ".
7268 (ruby-smie--at-dot-call): New function. Checks if point at method
7269 call with explicit target.
7270 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7271 to the method name tokens when it precedes them.
7272 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7273 (ruby-smie-rules): Add rule for indentation before and after "."
7276 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7278 * textmodes/remember.el (remember-diary-extract-entries):
7281 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7284 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7286 * progmodes/ruby-mode.el (ruby-smie-grammar):
7287 Add (almost) all infix operators.
7288 (ruby-smie--implicit-semi-p): Add new operator chars.
7290 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7292 (ruby-smie--args-separator-p): Check that there's no newline
7293 between method call and its arguments.
7295 2013-10-20 Alan Mackenzie <acm@muc.de>
7297 Allow comma separated lists after Java "implements".
7299 * progmodes/cc-engine.el (c-backward-over-enum-header):
7301 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7302 from a "disallowed" list in enum fontification.
7304 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7306 * startup.el (default-frame-background-mode): Remove unused defvar.
7308 * progmodes/verilog-mode.el (verilog-mode): Don't set
7309 comment-indent-function globally.
7311 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7313 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7314 Move Info menu item creation to ns-win.el.
7316 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7319 * menu-bar.el: Move GNUstep specific menus...
7321 * term/ns-win.el (ns-initialize-window-system): ... to here.
7323 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7325 * simple.el (newline): Only run post-self-insert-hook when
7326 called interactively.
7328 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7330 * icomplete.el (icomplete-with-completion-tables): Add :version.
7332 2013-10-19 Alan Mackenzie <acm@muc.de>
7334 Fix fontification bugs with constructors and const.
7336 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7337 CASE 2) Remove the check for the absence of a suffix construct
7338 after a function declaration with only types (no identifiers) in
7339 the parentheses. Also, accept a function declaration with just a
7340 type inside the parentheses, if this type can be positively
7341 recognised as such, or if a prefix keyword like "explicit" nails
7342 down the construct as a declaration.
7344 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7346 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7347 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7348 the problem whereby selecting a menu item that leads to a
7349 minibuffer prompt moves the cursor out of the minibuffer window,
7350 making it hard to type at the prompt. Suggested by Stefan Monnier
7351 <monnier@iro.umontreal.ca>.
7353 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7355 * menu-bar.el: Don't make Services menu.
7357 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7359 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7360 (ffap-alist): Use ffap-c++-mode for c++-mode.
7361 (ffap-c++-path): New variable.
7362 (ffap-c++-mode): New function.
7364 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7366 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7368 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7370 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7371 introduced on 2013-09-08, which results in an infinite loop
7372 requesting a password.
7374 2013-10-18 Glenn Morris <rgm@gnu.org>
7376 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7378 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7380 Sync with upstream verilog-mode revision 1a6ecec7.
7381 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7382 (verilog-mode-release-date): Remove.
7383 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7384 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7385 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7386 (verilog-auto-tieoff-ignore-regexp)
7387 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7388 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7389 (verilog-signals-with, verilog-dir-cache-preserving)
7390 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7392 (verilog-case-fold): New option, to control case folding in
7393 regexp searches, bug597.
7394 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7395 (verilog-string-match-fold, verilog-in-paren-count)
7396 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7397 (verilog-at-close-struct-p): New functions.
7398 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7399 (verilog-forward-sexp, verilog-set-auto-endcomments)
7400 (verilog-leap-to-case-head): Handle "unique0" case.
7401 (verilog-in-constraint-re): New constant.
7402 (verilog-keywords, verilog-type-font-keywords):
7403 Add some SystemVerilog 1800-2012 keywords.
7404 (verilog-label-be): Remove unimplemented argument, bug669.
7405 (verilog-batch-execute-func): When batch expanding clear
7406 create-lockfiles to prevent spurious user locks when a file ends
7408 (verilog-calculate-indent, verilog-calc-1)
7409 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7410 (verilog-do-indent): Fix indentation of nested constraints
7412 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7413 (verilog-auto-inst-param): Use verilog-string-match-fold.
7414 (verilog-read-inst-module-matcher):
7415 Fix AUTOINST on gate primitives with #1.
7416 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7417 Reads all user-defined typed variables.
7418 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7419 (verilog-signals-matching-regexp)
7420 (verilog-signals-not-matching-regexp, verilog-auto):
7421 Respect verilog-case-fold.
7422 (verilog-diff-report): Fix line count.
7423 (verilog-auto-assign-modport): Remove unused local `modi'.
7424 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7425 better handle multidimensional arrays.
7426 Fix packed array ports misadding bit index in AUTOINST, bug637.
7427 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7428 to not double-declare existing outputs and inputs, respectively.
7429 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7430 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7431 (verilog-sk-uvm-component): New skeleton.
7432 (verilog-submit-bug-report): Add verilog-case-fold,
7433 remove verilog-mode-release-date.
7435 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7437 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7440 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7442 * textmodes/remember.el (remember): Set buffer-offer-save in
7443 remember buffers (bug#13566).
7445 2013-10-18 Daniel Colascione <dancol@dancol.org>
7447 When evaluating forms in ielm, direct standard output to ielm
7448 buffer. Add new ielm-return-for-effect command. Remove trailing
7449 whitespace throughout.
7451 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7452 (ielm-return-for-effect): New command.
7453 (ielm-send-input): Accept optional `for-effect' parameter.
7454 (ielm-eval-input): Accept optional `for-effect' parameter.
7455 Bind `standard-output' to stream we create using
7456 `ielm-standard-output-impl'. Suppress printing result when
7458 (ielm-standard-output-impl): New function.
7459 (inferior-emacs-lisp-mode): Explain new features in documentation.
7461 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7465 * net/tramp.el (tramp-debug-message): Do not check for connection
7467 (tramp-message): Use "vector" connection property.
7469 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7470 (tramp-equal-remote, tramp-eshell-directory-change)
7471 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7472 (tramp-adb-handle-rename-file)
7473 * net/tramp-cmds.el (tramp-list-remote-buffers)
7474 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7475 * net/tramp-compat.el (tramp-compat-process-running-p)
7476 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7477 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7478 (tramp-gvfs-handle-rename-file)
7479 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7480 (tramp-set-file-uid-gid)
7481 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7482 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7485 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7486 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7487 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7488 (tramp-gw-open-network-stream): Suppress unrelated traces.
7490 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7491 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7492 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7493 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7494 connection property.
7496 * net/tramp-cache.el (top): Suppress traces when reading
7499 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7500 Refactor common code. Improve debug message.
7501 (tramp-maybe-open-connection)
7502 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7503 connection buffer too early.
7505 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7506 from `tramp-smb-actions-with-acl'.
7507 (tramp-smb-actions-set-acl): New defconst.
7508 (tramp-smb-handle-copy-directory)
7509 (tramp-smb-action-get-acl): New defun, renamed from
7510 `tramp-smb-action-with-acl'.
7511 (tramp-smb-action-set-acl): New defun.
7512 (tramp-smb-handle-set-file-acl): Rewrite.
7514 2013-10-17 Glenn Morris <rgm@gnu.org>
7516 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7518 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * skeleton.el (skeleton-newline): Remove.
7521 (skeleton-internal-1): Use (insert "\n") instead.
7523 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7526 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7527 forward-sexp-function while we redo its job (bug#15613).
7529 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7531 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7532 represented by lists.
7534 2013-10-16 Glenn Morris <rgm@gnu.org>
7536 * tmm.el (tmm--history): New dynamic variable.
7537 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7539 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7541 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7542 (tramp-smb-errors): Add error messages.
7543 (tramp-smb-actions-with-acl): New defconst.
7544 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7545 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7546 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7547 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7548 (tramp-smb-get-stat-capability): Fix tests.
7550 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7552 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7555 2013-10-16 Glenn Morris <rgm@gnu.org>
7557 * ansi-color.el (ansi-color-drop-regexp):
7558 Add 1J, 1K, 2K. (Bug#15617)
7560 * files.el (hack-local-variables--warned-lexical): New.
7561 (hack-local-variables):
7562 Warn about misplaced lexical-binding. (Bug#15616)
7564 * net/eww.el (eww-render): Always set eww-current-url,
7565 and update header line. (Bug#15622)
7566 (eww-display-html): ... Rather than just doing it here.
7568 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7570 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7571 menu navigations commands.
7573 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7575 * progmodes/subword.el (subword-capitalize): Be careful when
7576 the search for [[:alpha:]] fails (bug#15580).
7578 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7580 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7581 to commands that scroll the menu.
7583 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7585 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7586 Handle methods ending with `?' and `!'.
7588 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7590 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7591 `japanese-cp932' to `cp932' to fix the problem where saving a
7592 source file written in Shift_JIS twice would end up having
7593 `coding: japanese-cp932' which Ruby could not recognize.
7594 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7595 in `ruby-encoding-map'.
7596 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7597 doesn't need to be explicitly declared in magic comment.
7598 (ruby-encoding-map): Add type declaration for better customize UI.
7600 2013-10-13 Glenn Morris <rgm@gnu.org>
7602 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7603 Occur buffers are read-only. http://bugs.debian.org/720775
7605 * emacs-lisp/authors.el (authors-fixed-entries):
7606 Comment out old alpha stuff.
7608 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7610 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7611 to `after-save-hook' instead of `before-save-hook'.
7612 (ruby-mode-set-encoding): Use the value of coding system used to
7613 write the file. Call `basic-save-buffer-1' after modifying the
7616 2013-10-13 Alan Mackenzie <acm@muc.de>
7618 Fix indentation/fontification of Java enum with
7619 "implements"/generic.
7621 * progmodes/cc-engine.el (c-backward-over-enum-header):
7622 Extracted from the three other places and enhanced to handle generics.
7623 (c-inside-bracelist-p): Uses new function above.
7624 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7626 (c-font-lock-enum-tail): Uses new function above.
7628 2013-10-13 Kenichi Handa <handa@gnu.org>
7630 * international/mule-cmds.el (select-safe-coding-system): Remove a
7631 superfluous condition in chekcing whether a coding system is safe
7634 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7636 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7638 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7640 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7642 2013-10-13 Glenn Morris <rgm@gnu.org>
7644 * menu-bar.el (menu-bar-update-buffers):
7645 Unify Buffers menu prompt string. (Bug#15576)
7647 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7649 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7651 (authors-fixed-entries): Use accented form of name.
7653 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7655 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7656 method calls (bug#15594).
7657 (ruby-smie--args-separator-p): New function.
7658 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7659 recognize paren-free method calls.
7661 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7662 internals of universal-argument.
7664 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7666 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7667 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7668 dropped menu on second mouse click on the menu bar.
7670 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7673 (explicit-shell-file-name): Declare.
7674 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7675 (sh-completion-at-point-function): New function.
7677 (sh-smie--keyword-p): Remove unused argument.
7678 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7680 (sh-set-shell): Always setup SMIE, even if we use the
7681 old indentation code.
7683 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7685 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7687 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7688 predicate would return nil are almost non-existent.
7689 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7691 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7692 cache also after commands that modify the buffer but don't move
7695 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * env.el (substitute-env-in-file-name): New function.
7698 (substitute-env-vars): Extend the meaning of the optional arg.
7700 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7702 * term/w32-win.el (dynamic-library-alist): Define separate lists
7703 of GIF DLLs for versions before and after 5.0.0 of giflib.
7706 2013-10-10 João Távora <joaotavora@gmail.com>
7708 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7709 not locked, use last revision and current source as
7710 defaults. (Bug#15569)
7712 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7714 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7717 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7719 * window.el (pop-to-buffer-same-window): Fix doc-string.
7722 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7724 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7726 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7728 * calendar/icalendar.el (icalendar-import-file):
7729 Fix interactive spec. (Bug#15482)
7731 2013-10-10 Glenn Morris <rgm@gnu.org>
7733 * desktop.el (desktop-save): Default to saving in .emacs.d,
7734 since PWD is no longer in desktop-path by default. (Bug#15319)
7736 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7737 now that text mode has a menu with the same entry.
7738 (menu-bar-text-mode-auto-fill): Remove now unused func.
7739 * textmodes/text-mode.el (text-mode-map):
7740 Use auto-fill help text from menu-bar.el.
7742 2013-10-10 John Anthony <john@jo.hnanthony.com>
7744 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7746 2013-10-09 Juri Linkov <juri@jurta.org>
7748 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7749 instead of this-command-keys. Add universal-argument-more and
7750 universal-argument-minus to the list of prefix commands. (Bug#15568)
7752 2013-10-09 Glenn Morris <rgm@gnu.org>
7754 * vc/vc-svn.el (vc-svn-create-repo):
7755 Expand paths in file://... url. (Bug#15446)
7757 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7759 (authors): Remove unused local variables.
7761 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7763 * profiler.el: Create a more coherent calltree from partial backtraces.
7764 (profiler-format): Hide the tail with `invisible' so that C-s can still
7765 find the hidden elements.
7766 (profiler-calltree-depth): Don't recurse so enthusiastically.
7767 (profiler-function-equal): New hash-table-test.
7768 (profiler-calltree-build-unified): New function.
7769 (profiler-calltree-build): Use it.
7770 (profiler-report-make-name-part): Indent the calltree less.
7771 (profiler-report-mode): Add visibility specs for profiler-format.
7772 (profiler-report-expand-entry, profiler-report-toggle-entry):
7773 Expand the whole subtree when provided with a prefix arg.
7775 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7777 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7779 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7780 hanging iuwu-mod token.
7781 (ruby-smie--forward-token): Do not include a dot after a token in
7783 (ruby-smie--backward-token): Likewise.
7785 2013-10-08 Juri Linkov <juri@jurta.org>
7787 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7788 to isearch-other-control-char.
7789 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7790 and isearch-post-command-hook to post-command-hook.
7791 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7792 and isearch-post-command-hook from post-command-hook.
7793 (isearch-unread-key-sequence)
7794 (isearch-reread-key-sequence-naturally)
7795 (isearch-lookup-scroll-key, isearch-other-control-char)
7796 (isearch-other-meta-char): Remove functions.
7797 (isearch-pre-command-hook, isearch-post-command-hook):
7798 New functions based on isearch-other-meta-char rewritten
7799 relying on the new behavior of overriding-terminal-local-map
7800 that does not replace the local keymaps any more. (Bug#15200)
7802 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7804 Support menus on text-mode terminals.
7805 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7808 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7810 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7811 Move here from mouse.el.
7812 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7814 (tty-menu-navigation-map): New map for TTY menu navigation.
7816 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7818 * frame.el (display-mouse-p): Report text-mode mouse as available
7820 (display-popup-menus-p): Report availability if mouse is
7821 available; don't condition on window-system.
7823 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7824 (tty-menu-selected-face): New faces.
7826 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7828 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7829 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7830 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7831 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7833 (lisp-mode-variables): New `elisp' argument.
7834 (emacs-lisp-mode): Use it.
7835 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7836 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7838 * indent.el: Use lexical-binding.
7839 (indent-region): Add progress reporter.
7840 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7842 (indent--next-tab-stop): New function to implement this behavior.
7843 (tab-to-tab-stop, move-to-tab-stop): Use it.
7845 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7847 * indent.el (indent-rigidly--current-indentation): New function.
7848 (indent-rigidly-map): New var.
7849 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7851 2013-10-08 Bastien Guerry <bzg@gnu.org>
7853 * register.el (insert-register): Fix 2013-10-07 change.
7855 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * progmodes/perl-mode.el: Use lexical-binding.
7858 Remove redundant :group args.
7859 (perl-nochange): Change default to be closer to other major modes's
7861 (perl-indent-line): Don't consider text on current line as a
7862 valid beginning of function from which to indent.
7864 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7865 with more than one argument (bug#15538).
7867 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7869 * vc/pcvs.el: Use lexical-binding.
7870 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7871 environment of `eval'.
7872 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7873 than a list of expressions. Adjust callers.
7874 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7876 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7878 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7879 case of the dot in a chained method call being on the following line.
7881 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7883 * electric.el (electric-indent-inhibit): New var.
7884 (electric-indent-post-self-insert-function): Use it.
7885 * progmodes/python.el (python-mode): Set it.
7887 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7890 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7892 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7893 (css-mode): Use electric-indent-chars.
7895 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7896 (font-lock-beg, font-lock-end): Move before first use.
7897 (nxml-mode): Use syntax-propertize-function.
7898 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7899 (nxml-extend-after-change-region): Remove.
7900 * nxml/xmltok.el: Use lexical-binding.
7901 (xmltok-save): Use `declare'.
7902 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7903 * nxml/nxml-util.el: Use lexical-binding.
7904 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7906 * nxml/nxml-ns.el: Use lexical-binding.
7907 (nxml-ns-save): Use `declare'.
7908 (nxml-ns-prefixes-for): Avoid add-to-list.
7909 * nxml/rng-match.el: Use lexical-binding.
7910 (rng--ipattern): Use cl-defstruct.
7911 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7912 (rng-cons-group-after, rng-subst-group-after)
7913 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7914 Use closures instead of `(lambda...).
7916 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7918 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7922 Use `tramp-handle-insert-file-contents'.
7923 (tramp-gvfs-handle-insert-file-contents): Remove function.
7925 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7926 Use `save-restriction' in order to keep markers.
7928 * net/trampver.el: Update release number.
7930 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7932 * progmodes/compile.el (compilation-parse-errors):
7933 Use compilation--put-prop.
7934 (compilation--ensure-parse): Check compilation-multiline.
7936 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7938 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7941 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7943 * progmodes/ruby-mode.el: Fix recently added tests.
7944 (ruby-smie-grammar): Add - and +.
7945 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7946 (ruby-smie--backward-id): New functions.
7947 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7948 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7951 2013-10-07 Leo Liu <sdl.web@gmail.com>
7953 * register.el (register-preview-delay)
7954 (register-preview-functions): New variables.
7955 (register-read-with-preview, register-preview)
7956 (register-describe-oneline): New functions.
7957 (point-to-register, window-configuration-to-register)
7958 (frame-configuration-to-register, jump-to-register)
7959 (number-to-register, view-register, insert-register)
7960 (copy-to-register, append-to-register, prepend-to-register)
7961 (copy-rectangle-to-register): Use register-read-with-preview to
7962 read register. (Bug#15525)
7964 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7966 * net/network-stream.el (network-stream-open-starttls): Don't add
7967 --insecure if it's already present, because that gnutls-cli
7968 rejects getting that parameter twice.
7970 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7972 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7975 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7977 * newcomment.el (comment-use-global-state): Change default value
7978 to t, mark obsolete (Bug#15251).
7979 (comment-beginning): In addition to `comment-to-syntax', check the
7980 value of `comment-use-global-state'.
7982 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7985 (ruby-comment-column): Follow the global default, by default.
7986 (ruby-smie-grammar): Add assignment syntax.
7987 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7988 open-paren, a comma, or a \.
7989 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7990 and line continuations.
7991 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7992 followed by implicit semi-colons. Add rule for string concatenation
7993 and for indentation at BOB.
7994 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7996 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7997 calling next-sexp, since next-token may have skipped chars which
7998 next-sexp doesn't know should be skipped!
8000 2013-10-05 Leo Liu <sdl.web@gmail.com>
8002 * progmodes/octave.el (octave-send-region):
8003 Call compilation-forget-errors.
8005 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8007 * vc/vc-svn.el (vc-svn-find-admin-dir):
8008 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8009 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8010 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8011 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8013 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8017 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * subr.el (read-passwd): Hide chars even when called within a context
8020 where after-change-functions is disabled (bug#15501).
8021 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8022 until we removed ourself from overriding-terminal-local-map.
8024 2013-10-04 Leo Liu <sdl.web@gmail.com>
8026 * progmodes/octave.el (inferior-octave-mode):
8027 Call compilation-forget-errors.
8029 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8031 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8033 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8035 * net/secrets.el (secrets-create-collection): Add optional
8036 argument ALIAS. Use proper Label keyword. Append ALIAS as
8037 dbus-call-method argument. (Bug#15516)
8039 2013-10-04 Leo Liu <sdl.web@gmail.com>
8041 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8042 (inferior-octave-compilation-font-lock-keywords): New variables.
8043 (compilation-error-regexp-alist)
8044 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8045 (inferior-octave-mode): Use compilation-shell-minor-mode.
8047 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8049 * minibuffer.el (completion--replace): Be careful that `end' might be
8052 2013-10-03 Daiki Ueno <ueno@gnu.org>
8054 Add support for package signature checking.
8055 * emacs-lisp/package.el (url-http-file-exists-p)
8056 (epg-make-context, epg-context-set-home-directory)
8057 (epg-verify-string, epg-context-result-for)
8058 (epg-signature-status, epg-signature-to-string)
8059 (epg-check-configuration, epg-configuration)
8060 (epg-import-keys-from-file): Declare.
8061 (package-check-signature): New user option.
8062 (package-unsigned-archives): New user option.
8063 (package-desc): Add `signed' field.
8064 (package-load-descriptor): Set `signed' field if .signed file exists.
8065 (package--archive-file-exists-p): New function.
8066 (package--check-signature): New function.
8067 (package-install-from-archive): Check package signature.
8068 (package--download-one-archive): Check archive signature.
8069 (package-delete): Remove .signed file.
8070 (package-import-keyring): New command.
8071 (package-refresh-contents): Import default keyring.
8072 (package-desc-status): Add "unsigned" status.
8073 (describe-package-1, package-menu--print-info)
8074 (package-menu-mark-delete, package-menu--find-upgrades)
8075 (package-menu--status-predicate): Support "unsigned" status.
8077 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8079 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8080 the new compilation scheme using the new byte-codes.
8082 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8083 (byte-pophandler): New byte codes.
8084 (byte-goto-ops): Adjust accordingly.
8085 (byte-compile--use-old-handlers): New var.
8086 (byte-compile-catch): Use new byte codes depending on
8087 byte-compile--use-old-handlers.
8088 (byte-compile-condition-case--old): Rename from
8089 byte-compile-condition-case.
8090 (byte-compile-condition-case--new): New function.
8091 (byte-compile-condition-case): New function that dispatches depending
8092 on byte-compile--use-old-handlers.
8093 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8096 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8097 Optimize under `condition-case' and `catch' if
8098 byte-compile--use-old-handlers is nil.
8099 (disassemble-offset): Handle new bytecodes.
8101 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8103 * subr.el (error): Use `declare'.
8104 (decode-char, encode-char): Use advertised-calling-convention instead
8105 of the docstring to discourage use of the `restriction' arg.
8107 2013-10-03 Daiki Ueno <ueno@gnu.org>
8109 * epg.el (epg-verify-file): Add a comment saying that it does not
8110 notify verification error as a return value nor a signal.
8111 (epg-verify-string): Ditto.
8113 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8115 * progmodes/compile.el (compilation-start): Try globbing the arg to
8118 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8120 Sync with Tramp 2.2.8.
8122 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8123 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8124 * net/trampver.el: Update release number.
8126 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8128 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8129 and default-process-coding-system for darwin only.
8131 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8135 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8137 * vc/vc-git.el (vc-git-grep): Disable pager.
8139 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8141 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8142 Use :url instead of :homepage, as per
8143 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8145 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8146 non-nil, use `syntax-ppss' (Bug#15251).
8148 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8150 * progmodes/octave.el (inferior-octave-startup-file):
8151 Prefer ~/.emacs.d/init_octave.m.
8153 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8155 * emacs-lisp/package.el (package-desc-from-define):
8156 Accept additional arguments as plist, convert them to an alist and store
8157 them in the `extras' slot.
8158 (package-generate-description-file): Convert extras alist back to
8159 plist and append to the `define-package' form arguments.
8160 (package--alist-to-plist): New function.
8161 (package--ac-desc): Add `extras' slot.
8162 (package--add-to-archive-contents): Check if the archive-contents
8163 vector is long enough, and if it is, pass its `extras' slot value
8164 to `package-desc-create'.
8165 (package-buffer-info): Call `lm-homepage', pass the returned value
8166 to `package-desc-from-define'.
8167 (describe-package-1): Render the homepage button (Bug#13291).
8169 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8170 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8172 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8174 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8175 and default-process-coding-system to utf-8-unix (Bug#15402).
8177 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8179 * subr.el (looking-back): Do not recommend using looking-back.
8181 2013-09-28 Alan Mackenzie <acm@muc.de>
8183 Fix indentation/fontification of Java enum with "implements".
8185 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8186 regexp which matches "implements", etc., in Java.
8187 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8188 specifier clauses coming after "enum".
8189 * progmodes/cc-fonts.el (c-font-lock-declarations)
8190 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8193 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8195 * faces.el (region): Change ns_selection_color to
8196 ns_selection_fg_color, add ns_selection_bg_color.
8198 2013-09-28 Leo Liu <sdl.web@gmail.com>
8200 * progmodes/octave.el (inferior-octave-completion-table)
8201 (inferior-octave-completion-at-point): Minor tweaks.
8203 * textmodes/ispell.el (ispell-lookup-words): Rename from
8204 lookup-words. (Bug#15460)
8205 (lookup-words): Obsolete.
8206 (ispell-complete-word, ispell-command-loop): All uses changed.
8208 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8210 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8211 (octave-mode-menu): Add octave-send-buffer.
8212 (octave-send-buffer): New function.
8214 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8216 * progmodes/octave.el (octave-mode-map): Add key binding for
8218 (octave-mode-menu): Add octave-lookfor.
8219 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8221 (octave-lookfor): New function.
8223 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8225 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8226 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8228 (cl--loop-set-iterator-function): New function.
8229 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8230 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8231 Bind `it' with `let' instead of substituting it with `cl-subst'.
8232 (cl--unused-var-p): New function.
8233 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8234 Eliminate some unused variable warnings (bug#15326).
8236 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8238 * doc-view.el (doc-view-scale-reset): Rename from
8239 `doc-view-reset-zoom-level'.
8240 (doc-view-scale-adjust): New command.
8241 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8242 `doc-view-scale-adjust'.
8244 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8246 * doc-view.el (doc-view-reset-zoom-level): New command.
8247 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8248 zoom commands (bug#15466).
8250 2013-09-26 Kenichi Handa <handa@gnu.org>
8252 * international/quail.el (quail-help): Make it not a command.
8254 2013-09-26 Leo Liu <sdl.web@gmail.com>
8256 * minibuffer.el (completion-all-sorted-completions): Make args
8257 optional as they are.
8259 2013-09-25 Daniel Colascione <dancol@dancol.org>
8261 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8262 specs are and that they're not evaluated.
8264 2013-09-24 Sam Steingold <sds@gnu.org>
8266 * midnight.el (clean-buffer-list-kill-regexps)
8267 (clean-buffer-list-kill-buffer-names): Update for the new Man
8268 buffer naming which includes the object name.
8270 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8272 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8273 (eshell-parse-command, eshell-parse-pipeline): Use it since
8274 eshell-separate-commands requires a dynamic scoped var.
8275 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8277 2013-09-23 Leo Liu <sdl.web@gmail.com>
8279 * autoinsert.el (auto-insert-alist): Make the value of
8280 lexical-binding match its file setting.
8282 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8284 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8286 * autoarg.el (autoarg-kp-digit-argument):
8287 * electric.el (Electric-command-loop):
8288 * kmacro.el (kmacro-step-edit-insert):
8289 Do not set universal-argument-num-events.
8291 2013-09-22 Leo Liu <sdl.web@gmail.com>
8293 * files.el (interpreter-mode-alist): Add octave.
8295 2013-09-21 Alan Mackenzie <acm@muc.de>
8297 C++: fontify identifier in declaration following "public:" correctly.
8298 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8299 to match "public", etc.
8300 (c-decl-prefix-re): Add ":" into the C++ value.
8301 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8302 bit. Add a check for a ":" preceded by "public", etc.
8304 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8306 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8307 recognized by GDB 7.5 and later.
8309 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8311 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8313 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8315 * subr.el (internal--call-interactively): New const.
8316 (called-interactively-p): Use it (bug#3984).
8318 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8320 * vc/pcvs.el (cvs-mode-ignore):
8321 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8322 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8324 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8327 (eshell-ls-orig-insert-directory): Remove.
8328 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8329 (eshell-ls-use-in-dired): Use advice-add/remove.
8330 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8331 Add `orig-fun' arg for use in :around advice.
8332 Make it check (redundantly) eshell-ls-use-in-dired.
8334 2013-09-19 Glenn Morris <rgm@gnu.org>
8336 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8338 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8340 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8342 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8344 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8345 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8346 (tramp-get-remote-python): New defuns.
8347 (tramp-get-remote-uid-with-perl)
8348 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8349 contributed by yary <not.com@gmail.com> (tiny change).
8350 (tramp-get-remote-uid-with-python)
8351 (tramp-get-remote-gid-with-python): New defuns. Python code
8352 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8353 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8355 2013-09-19 Glenn Morris <rgm@gnu.org>
8357 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8359 * eshell/em-unix.el (eshell-remove-entries):
8360 Rename argument to avoid name-clash with global `top-level'.
8362 * eshell/esh-proc.el (eshell-kill-process-function):
8363 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8364 (eshell-reset-after-proc): Remove unused arg `proc'.
8366 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8367 (directory-files-and-attributes): Mark unused arg.
8369 * eshell/em-unix.el (eshell-remove-entries):
8370 Remove unused arg `path'. Update callers.
8372 * eshell/em-hist.el (eshell-hist-parse-arguments):
8373 Remove unused arg `silent'. Update callers.
8375 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8376 Fix (f)boundp mix-up.
8378 * eshell/em-smart.el (eshell-smart-scroll-window)
8379 (eshell-disable-after-change):
8380 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8382 2013-09-18 Alan Mackenzie <acm@muc.de>
8384 Fix fontification of type when followed by "const".
8385 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8386 "known" types from fontification.
8388 2013-09-18 Glenn Morris <rgm@gnu.org>
8390 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8391 (chart-face-list): Drop Emacsen without display-color-p.
8393 * net/eww.el (libxml-parse-html-region): Declare.
8394 (eww-display-html): Explicit error if no libxml2 support.
8396 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8398 * image.el (image-type-from-buffer, image-multi-frame-p):
8399 Remove --without-x warning/error.
8401 * mouse.el (mouse-yank-primary):
8402 * term.el (term-mouse-paste):
8403 Reorder to silence --without-x compilation.
8405 * mpc.el (doc-view-mode): Silence --without-x compilation.
8407 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8408 Silence --without-x compilation.
8410 * progmodes/gud.el (gud-find-file, gud-mode):
8411 Silence --without-x compilation.
8412 (tooltip-mode): Declare.
8414 * wdired.el (dired-backup-overwrite): Remove declaration.
8415 (wdired-mode-map): Add doc string.
8417 * custom.el (x-get-resource): Declare.
8419 * eshell/em-glob.el (ange-cache):
8420 * eshell/em-unix.el (ange-cache): Declare.
8422 * faces.el (x-display-list, x-open-connection, x-get-resource):
8425 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8426 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8429 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8431 * net/gnutls.el (gnutls-log-level): Declare.
8433 * net/shr.el (image-size, image-animate): Declare.
8435 * simple.el (font-info): Declare.
8437 * subr.el (x-popup-dialog): Declare.
8439 * term/common-win.el (x-select-enable-primary)
8440 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8443 * term/ns-win.el (x-handle-args): Declare.
8445 * term/x-win.el (x-select-enable-clipboard): Declare.
8447 * term/w32-win.el (create-default-fontset): Declare.
8449 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8452 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8453 (fit-frame-to-buffer): Explicit error if --without-x.
8454 (mouse-autoselect-window-select): Silence compiler.
8456 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8458 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8459 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8460 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8461 * eshell/esh-util.el (eshell-sublist):
8462 Remove unused local variables.
8464 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8466 * textmodes/two-column.el: Make 2C-split work for --without-x.
8467 (scroll-bar-columns): Autoload.
8468 (top-level): Require fringe when compiling.
8470 2013-09-18 Leo Liu <sdl.web@gmail.com>
8472 * subr.el (add-hook): Robustify to handle closure as well.
8474 2013-09-17 Glenn Morris <rgm@gnu.org>
8476 * simple.el (messages-buffer-mode-map): Unbind "g".
8478 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * help-mode.el (help-mode-finish): Use derived-mode-p.
8481 Remove obsolete highlighting.
8483 * play/life.el (life-mode): Use define-derived-mode. Derive from
8485 (life): Let-bind inhibit-read-only.
8486 (life-setup): Avoid `setq'. Use `life-mode'.
8488 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8489 which should not be needed any more.
8490 (package-menu-refresh, package-menu-describe-package): Use user-error.
8492 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8493 (eshell-post-rewrite-command-hook): Make obsolete.
8494 (eshell-parse-command): Simplify.
8495 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8496 (eshell--cmd): Declare.
8497 (eshell-parse-pipeline): Remove unused var `final-p'.
8498 Pass a dynvar to eshell-post-rewrite-command-hook.
8499 Implement the new eshell-post-rewrite-command-function.
8500 (eshell-invoke-directly): Remove unused arg `input'.
8501 * eshell/esh-io.el (eshell-io-initialize):
8502 Use eshell-post-rewrite-command-function (bug#15399).
8503 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8504 adjust to new calling convention.
8505 (eshell-create-handles): Rename args to avoid clashing with dynvar
8508 2013-09-17 Glenn Morris <rgm@gnu.org>
8510 * simple.el (messages-buffer-mode): New major mode.
8511 (messages-buffer): New function.
8512 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8513 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8514 (ert-run-test): Use `messages-buffer' function.
8515 (ert--force-message-log-buffer-truncation): Ignore read-only.
8516 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8517 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8519 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8521 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8523 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8525 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * icomplete.el (icomplete-in-buffer): New var.
8528 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8529 vars and replace them with functions.
8530 (icomplete-minibuffer-setup): Adjust accordingly.
8531 (icomplete--completion-table, icomplete--completion-predicate)
8532 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8534 (icomplete-forward-completions, icomplete-backward-completions)
8535 (icomplete-simple-completing-p, icomplete-exhibit)
8536 (icomplete-completions): Use them.
8537 (icomplete--in-region-buffer): New var.
8538 (icomplete--in-region-setup): New function.
8539 (icomplete-mode): Use it.
8541 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8543 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8544 return args and options.
8545 (eshell-eval-using-options): Use the new return value of
8546 eshell--do-opts to set the options's vars in their scope.
8547 (eshell--set-option): Rename from eshell-set-option.
8549 (eshell--process-option): Rename from eshell-process-option.
8551 (eshell--process-args): Use an `opt-vals' alist to store the options's
8552 values during their processing and return them additionally to the
8555 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8557 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8558 continuation character an operator, as far as indentation is
8559 concerned (Bug#15369).
8561 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8563 * window.el (window--state-put-2): Don't process buffer state
8564 when buffer doesn't exist any more (Bug#15382).
8566 2013-09-15 Glenn Morris <rgm@gnu.org>
8568 * eshell/em-unix.el (eshell/rm):
8569 Make -f ignore missing files. (Bug#15373)
8571 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8572 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8573 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8575 2013-09-14 Glenn Morris <rgm@gnu.org>
8577 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8579 2013-09-13 Glenn Morris <rgm@gnu.org>
8581 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8582 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8584 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8586 * frame.el (x-focus-frame): Mark as declared in frame.c.
8588 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8590 * ls-lisp.el: Use advice-add.
8591 (original-insert-directory): Remove.
8592 (ls-lisp--insert-directory): Rename from insert-directory; add
8593 `orig-fun' argument.
8594 (insert-directory): Advise.
8596 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8598 * term.el (term-emulate-terminal): Decode the command string
8599 before passing it to term-command-hook. (Bug#15337)
8601 2013-09-13 Glenn Morris <rgm@gnu.org>
8603 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8605 * eshell/esh-ext.el (eshell-search-path): Declare.
8607 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8608 Otherwise an error occurs if eshell-dirs module not loaded.
8610 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8612 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8614 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8615 `tramp-check-proper-host'. Check for a valid method name.
8617 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8618 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8619 * net/tramp-sh.el (tramp-maybe-open-connection):
8620 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8622 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8623 also for hash values.
8625 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * term/ns-win.el (parameters): Don't declare as dynamic.
8628 (before-make-frame-hook): Don't add ineffective function.
8630 * eshell/*.el: Use lexical-binding (bug#15231).
8632 2013-09-12 Kenichi Handa <handa@gnu.org>
8634 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8636 2013-09-12 Glenn Morris <rgm@gnu.org>
8638 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8639 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8641 * subr.el (do-after-load-evaluation): Also give compiler warnings
8642 when obsolete files are used (except by obsolete files).
8644 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8645 in the status output, assume `filename' is the first. (Bug#15322)
8647 * vc/vc.el (vc-deduce-fileset): Doc fix.
8649 * calc/calc-help.el (Info-goto-node):
8650 * progmodes/cperl-mode.el (Info-find-node):
8651 * vc/ediff.el (Info-goto-node): Update declarations.
8653 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8655 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8656 (vc-bzr-pull): Require vc-dispatcher.
8657 * vc/vc-git.el (vc-compilation-mode): Declare.
8658 (vc-git-pull): Require vc-dispatcher.
8660 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8662 * progmodes/octave.el (help-button-action): Declare.
8664 * shell.el (shell-directory-tracker): Output error as a message
8665 rather than just returning it as a string.
8666 (shell-process-pushd): Remove useless use of message.
8668 * dframe.el (dframe-timer-fn):
8669 * files.el (dir-locals-read-from-file):
8670 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8672 * reveal.el (reveal-post-command):
8673 * saveplace.el (load-save-place-alist-from-file):
8674 * shell.el (shell-resync-dirs):
8675 * w32-common-fns.el (x-get-selection-value):
8676 * emacs-lisp/copyright.el (copyright-find-copyright):
8677 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8678 * emulation/tpu-edt.el (tpu-copy-keyfile):
8679 * play/bubbles.el (bubbles--mark-neighbourhood):
8680 * progmodes/executable.el
8681 (executable-make-buffer-file-executable-if-script-p):
8682 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8684 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8686 Cleanup Eshell to rely less on dynamic scoping.
8687 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8688 last-value, and ext-command here. Bind `args' closer to `body'.
8689 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8690 (eshell--args): Declare new dynamic var.
8691 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8692 last-value, and ext-command. Pass `args' to `body'.
8693 (eshell-process-args): Bind eshell--args.
8694 (eshell-set-option): Use eshell--args.
8695 * eshell/eshell.el (eshell): Use derived-mode-p.
8696 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8697 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8698 (eshell-glob-function): Declare.
8699 * eshell/esh-util.el: Require cl-lib.
8700 (eshell-read-hosts-file): Avoid add-to-list.
8701 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8703 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8705 (eshell/diff): Remove unused var `err'.
8706 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8708 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8709 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8711 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8712 Move declaration before first use.
8713 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8714 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8717 2013-09-12 Glenn Morris <rgm@gnu.org>
8719 * term/ns-win.el (global-map): Remove binding for ispell-next,
8720 deleted 1999-05-29. (Bug#15357)
8722 2013-09-11 Glenn Morris <rgm@gnu.org>
8724 * echistory.el (electric-command-history): Remove call to deleted func.
8726 * play/landmark.el (landmark-mode): Fix typos.
8728 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8729 Check cvs-sort-ignore-file is bound.
8731 * savehist.el: No need for cl when compiling on Emacs.
8733 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8735 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8737 (eshell-self-insert-command, eshell-send-invisible):
8738 Remove unused argument.
8739 (eshell-handle-control-codes): Remove unused var `orig'.
8740 Avoid delete-backward-char.
8742 * files.el (set-auto-mode): Simplify a bit further.
8744 2013-09-11 Glenn Morris <rgm@gnu.org>
8746 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8747 (set-auto-mode): Don't regexp-quote elements.
8748 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8749 * progmodes/cc-mode.el (interpreter-mode-alist):
8750 * progmodes/ruby-mode.el (interpreter-mode-alist):
8751 Revert previous change.
8753 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8755 * play/snake.el (snake-mode):
8756 * play/mpuz.el (mpuz-mode):
8757 * play/landmark.el (lm-mode):
8758 * play/blackbox.el (blackbox-mode):
8759 * play/5x5.el (5x5-mode):
8760 * obsolete/options.el (Edit-options-mode):
8761 * net/quickurl.el (quickurl-list-mode):
8762 * net/newst-treeview.el (newsticker-treeview-mode):
8763 * mail/rmailsum.el (rmail-summary-mode):
8764 * mail/mspools.el (mspools-mode):
8765 * locate.el (locate-mode):
8766 * ibuffer.el (ibuffer-mode):
8767 * emulation/ws-mode.el (wordstar-mode):
8768 * emacs-lisp/debug.el (debugger-mode):
8769 * array.el (array-mode):
8770 * net/eudc.el (eudc-mode): Use define-derived-mode.
8771 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8772 Move initialization into declaration.
8773 (mairix-searches-mode): Use define-derived-mode.
8774 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8775 (eudc-edit-hotlist): Use dolist.
8776 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8777 (Man-mode): Use define-derived-mode.
8778 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8779 (Info-edit-mode): Use define-derived-mode.
8780 (Info-cease-edit): Use Info-mode.
8781 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8783 (eshell-mode): Use define-derived-mode.
8784 * chistory.el (command-history-mode-map): Rename from
8785 command-history-map.
8786 (command-history-mode): Use define-derived-mode.
8787 (Command-history-setup): Remove function.
8788 * calc/calc.el (calc-trail-mode-map): New var.
8789 (calc-trail-mode): Use define-derived-mode.
8790 (calc-trail-buffer): Set calc-main-buffer manually.
8791 * bookmark.el (bookmark-insert-annotation): New function.
8792 (bookmark-edit-annotation): Use it.
8793 (bookmark-edit-annotation-mode): Make it a proper major mode.
8794 (bookmark-send-edited-annotation): Use derived-mode-p.
8795 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8796 closer to its ideal place. Use \' to match EOS.
8798 * profiler.el (profiler-calltree-find): Use function-equal.
8800 2013-09-10 Glenn Morris <rgm@gnu.org>
8802 * files.el (interpreter-mode-alist): Convert to regexps.
8803 (set-auto-mode): Adapt for this. (Bug#15306)
8804 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8805 Comment out unused variable.
8806 * progmodes/cc-mode.el (interpreter-mode-alist):
8807 * progmodes/python.el (interpreter-mode-alist):
8808 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8809 * progmodes/sh-script.el (sh-set-shell):
8810 No longer use interpreter-mode-alist to get list of shells.
8812 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8814 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8816 * simple.el: Use set-temporary-overlay-map for universal-argument.
8817 (universal-argument-map): Don't use default-bindings (bug#15317).
8818 Bind switch-frame explicitly. Replace universal-argument-minus with
8819 a conditional binding.
8820 (universal-argument-num-events, saved-overriding-map): Remove.
8821 (restore-overriding-map): Remove.
8822 (universal-argument--mode): Rename from save&set-overriding-map,
8824 (universal-argument, universal-argument-more, negative-argument)
8825 (digit-argument): Adjust accordingly.
8826 (universal-argument-minus): Remove.
8827 (universal-argument-other-key): Remove.
8829 * subr.el (with-demoted-errors): Add `format' argument.
8831 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8833 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8834 `tramp-cleanup-connection'.
8836 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8837 parameters KEEP-DEBUG and KEEP-PASSWORD.
8839 * net/tramp.el (tramp-file-name-handler):
8840 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8841 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8842 (tramp-maybe-open-connection):
8843 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8844 Use `tramp-cleanup-connection'.
8846 * net/tramp-sh.el (tramp-maybe-open-connection):
8847 Catch 'uname-changed inside the progress reporter.
8849 2013-09-10 Glenn Morris <rgm@gnu.org>
8851 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8853 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8854 returns "alternate access method" in mode (eg "-rw-r--r--.").
8856 2013-09-08 Glenn Morris <rgm@gnu.org>
8858 * saveplace.el (load-save-place-alist-from-file):
8859 Demote errors. (Bug#15305)
8861 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8863 Improve compatibility with older Emacsen, and XEmacs.
8865 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8866 only if it is bound. It isn't for XEmacs.
8867 (with-tramp-progress-reporter): Do not let-bind `result'.
8868 This yields to scoping errors in XEmacs.
8869 (tramp-handle-make-auto-save-file-name): New function, moved from
8872 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8873 for `make-auto-save-file-name'.
8874 (tramp-adb--gnu-switches-to-ash):
8875 Use `tramp-compat-replace-regexp-in-string'.
8877 * net/tramp-cache.el (tramp-cache-print): Call
8878 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8880 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8881 bound. It isn't for XEmacs.
8883 * net/tramp-compat.el (tramp-compat-copy-file):
8884 Catch `wrong-number-of-arguments' error.
8885 (tramp-compat-replace-regexp-in-string): New defun.
8887 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8888 for `make-auto-save-file-name'.
8889 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8891 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8892 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8893 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8895 * net/tramp-gw.el (tramp-gw-open-network-stream):
8896 Use `tramp-compat-replace-regexp-in-string'.
8898 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8899 Call `tramp-handle-make-auto-save-file-name'.
8900 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8901 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8902 (tramp-sh-file-inotifywait-process-filter):
8903 Use `tramp-compat-replace-regexp-in-string'.
8904 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8907 for `make-auto-save-file-name'.
8908 (tramp-smb-handle-copy-directory):
8909 Call `tramp-compat-replace-regexp-in-string'.
8910 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8911 (tramp-smb-handle-copy-file): Improve error message.
8912 (tramp-smb-handle-rename-file): Rename directly only in case
8913 `newname' does not exist yet. This is a restriction of smbclient.
8914 (tramp-smb-maybe-open-connection): Rerun the function only when
8915 `auth-sources' is non-nil.
8917 2013-09-08 Kenichi Handa <handa@gnu.org>
8919 * international/characters.el: Set category "^" (Combining) for
8922 2013-09-07 Alan Mackenzie <acm@muc.de>
8924 Correctly fontify Java class constructors.
8925 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8927 (c-recognize-typeless-decls): Set the Java value to t.
8928 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8929 While handling a "(", add a check for, effectively, Java, and handle a
8930 "typeless" declaration there.
8932 2013-09-07 Roland Winkler <winkler@gnu.org>
8934 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8935 field subtitle for entry type book.
8937 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8939 * minibuffer.el: Make minibuffer-complete call completion-in-region
8940 rather than other way around.
8941 (completion--some, completion-pcm--find-all-completions):
8942 Don't delay signals when debugging.
8943 (minibuffer-completion-contents): Beware fields within the
8944 minibuffer contents.
8945 (completion-all-sorted-completions): Use defvar-local.
8946 (completion--do-completion, completion--cache-all-sorted-completions)
8947 (completion-all-sorted-completions, minibuffer-force-complete):
8948 Add args `beg' and `end'.
8949 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8950 (minibuffer-complete): Use completion-in-region.
8951 (completion-complete-and-exit): New fun, extracted from
8952 minibuffer-complete-and-exit.
8953 (minibuffer-complete-and-exit): Use it.
8954 (completion--complete-and-exit): Rename from
8955 minibuffer--complete-and-exit.
8956 (completion-in-region--single-word): New function, extracted from
8957 minibuffer-complete-word.
8958 (minibuffer-complete-word): Use it.
8959 (display-completion-list): Make `common-substring' argument obsolete.
8960 (completion--in-region): Call completion--in-region-1 instead of
8961 minibuffer-complete.
8962 (completion-help-at-point): Pass boundaries to
8963 minibuffer-completion-help as args rather than via an overlay.
8964 (completion-pcm--string->pattern): Use `any-delim'.
8965 (completion-pcm--optimize-pattern): New function.
8966 (completion-pcm--pattern->regex): Handle `any-delim'.
8967 * icomplete.el (icomplete-forward-completions)
8968 (icomplete-backward-completions, icomplete-completions):
8969 Adjust calls to completion-all-sorted-completions and
8970 completion--cache-all-sorted-completions.
8971 (icomplete-with-completion-tables): Default to t.
8972 * emacs-lisp/crm.el (crm--current-element): Rename from
8973 crm--select-current-element. Don't put an overlay but return the
8975 (crm--completion-command): Take two new args to bind to the boundaries.
8976 (crm-completion-help): Adjust accordingly.
8977 (crm-complete): Use completion-in-region.
8978 (crm-complete-word): Use completion-in-region--single-word.
8979 (crm-complete-and-exit): Use completion-complete-and-exit.
8981 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8983 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8986 2013-09-06 Juri Linkov <juri@jurta.org>
8988 * info.el (Info-display-images-node): When image file doesn't exist
8989 display text version of the image if it's provided in the Info file.
8990 Otherwise, display the location of missing image from SRC attribute.
8991 Add help-echo text property from ALT attribute. (Bug#15279)
8993 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8996 (edit-abbrevs-mode): Use define-derived-mode.
8998 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8999 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9001 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9002 Use define-derived-mode.
9004 * epg.el (epg-start-encrypt): Minor CSE simplification.
9006 2013-09-06 William Xu <william.xwl@gmail.com>
9008 * arc-mode.el: Add support for 7za (bug#15264).
9009 (archive-7z-program): New var.
9010 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9011 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9012 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9014 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9018 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9019 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9020 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9021 (tramp-postfix-host-format, tramp-file-name-regexp)
9022 (tramp-completion-file-name-regexp)
9023 (tramp-completion-dissect-file-name)
9024 (tramp-handle-substitute-in-file-name): Remove 'url case.
9025 (tramp-file-name-regexp-url)
9026 (tramp-completion-file-name-regexp-url): Remove constants.
9028 2013-09-06 Glenn Morris <rgm@gnu.org>
9030 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9032 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9034 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9035 keywords" below "here-doc beginnings" (Bug#15270).
9037 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9039 * subr.el (pop): Use `car-safe'.
9040 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9041 to detect unused `pop' return value.
9043 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9045 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9046 (python-fill-string): Remove unused var `marker'.
9047 (python-skeleton-add-menu-items): Remove unused var `items'.
9049 * international/mule-cmds.el: Require CL.
9050 (find-coding-systems-for-charsets): Avoid add-to-list.
9051 (sanitize-coding-system-list): New function, extracted from
9052 select-safe-coding-system-interactively.
9053 (select-safe-coding-system-interactively): Use it.
9054 (read-input-method-name): Accept symbols for `default'.
9056 * emacs-lisp/advice.el (defadvice): Add indent rule.
9058 2013-09-05 Daniel Hackney <dan@haxney.org>
9062 * net/browse-url.el:
9065 * net/eudcb-ldap.el:
9078 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9079 byte compiler. Remove some unused let-bound variables.
9081 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9084 a "ref-cell", since it gets better optimized (bug#14883).
9086 2013-09-05 Glenn Morris <rgm@gnu.org>
9088 * progmodes/cc-awk.el (c-forward-sws): Declare.
9090 2013-09-04 Glenn Morris <rgm@gnu.org>
9092 * generic-x.el [rul-generic-mode]: Require cc-mode.
9093 (c++-mode-syntax-table): Declare.
9094 (rul-generic-mode-syntax-table): Init in the defvar.
9096 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9099 (vc-do-command, vc-set-async-update):
9100 * vc/vc-mtn.el (vc-mtn-dir-status):
9101 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9102 (vc-hg-pull, vc-hg-merge-branch):
9103 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9104 (vc-git-merge-branch):
9105 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9106 (vc-cvs-dir-status-files):
9107 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9108 (vc-bzr-dir-status-files):
9109 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9110 * vc/vc-annotate.el: Use lexical-binding.
9111 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9112 (vc-sentinel-movepoint): Declare.
9113 (vc-annotate): Don't use `goto-line'.
9114 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9115 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9116 (vc-sentinel-movepoint): Declare.
9117 * vc/vc-svn.el: Use lexical-binding.
9118 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9120 * vc/vc-rcs.el: Use lexical-binding.
9122 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9123 `deleted'. Don't drop errors silently.
9125 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9127 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9129 * vc/vc.el (vc-ignore): Rewrite.
9130 (vc-default-ignore): New function.
9131 (vc-default-ignore-completion-table): Use find-ignore-file.
9133 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9134 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9135 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9136 Remove. Most code moved to vc.el.
9138 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9140 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9141 * net/tramp-smb.el (tramp-smb-get-file-entries):
9142 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9143 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9145 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9147 (eww-change-select): Remove unused var `properties'.
9148 (eww-make-unique-file-name): Remove unused var `base'.
9150 * finder.el (finder-compile-keywords): Don't mess with windows.
9152 * calculator.el (calculator-funcall): Fix typo in last change.
9154 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9156 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9157 <pkg>-autoloads.el file stop us.
9159 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9160 warnings, and factor out common code.
9162 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9164 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9165 two-character operators and whether the character preceding them
9166 changes their meaning (Bug#15208).
9168 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9170 Format code sent to Python shell for robustness.
9171 * progmodes/python.el (python-shell-buffer-substring):
9173 (python-shell-send-region, python-shell-send-buffer): Use it.
9175 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9177 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9178 * net/tramp.el (tramp-user-error): ... here.
9179 (tramp-find-method, tramp-check-proper-host)
9180 (tramp-dissect-file-name, tramp-debug-message)
9181 (tramp-handle-shell-command):
9182 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9185 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9187 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9189 * avoid.el (mouse-avoidance-point-position)
9190 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9193 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9195 * progmodes/python.el (python-shell-completion-get-completions):
9196 Drop use of deleted `comint-last-prompt-overlay'.
9197 (python-nav-if-name-main): New command.
9199 2013-09-01 Glenn Morris <rgm@gnu.org>
9201 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9202 Avoid leading space in $wins. Otherwise the sed command used by
9203 eg compile-main ends up containing "/*.el". (Bug#15170)
9205 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9207 2013-08-30 Glenn Morris <rgm@gnu.org>
9209 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9210 Fix is-this-a-directory logic. (Bug#15220)
9212 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9214 * textmodes/css-mode.el: Use SMIE.
9215 (css-smie-grammar): New var.
9216 (css-smie--forward-token, css-smie--backward-token)
9217 (css-smie-rules): New functions.
9218 (css-mode): Use them.
9219 (css-navigation-syntax-table): Remove var.
9220 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9221 (css-indent-calculate, css-indent-line): Remove functions.
9223 Misc changes to reduce use of `(lambda...); and other cleanups.
9224 * cus-edit.el: Use lexical-binding.
9225 (customize-push-and-save, customize-apropos)
9226 (custom-buffer-create-internal): Use closures.
9227 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9228 * progmodes/ada-xref.el: Use setq.
9229 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9230 * dframe.el: Use lexical-binding.
9231 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9232 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9233 * descr-text.el: Use lexical-binding.
9234 (describe-text-widget, describe-text-sexp, describe-property-list):
9236 * comint.el (comint-history-isearch-push-state): Use a closure.
9237 * calculator.el: Use lexical-binding.
9238 (calculator-number-to-string): Make it work with lexical-binding.
9239 (calculator-funcall): Same and use cl-letf.
9241 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9242 (lisp--company-doc-string, lisp--company-location): New functions.
9243 (lisp-completion-at-point): Use them to improve Company support.
9245 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9246 params of lambda expressions.
9247 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9248 (ruby-smie--opening-pipe-p): New function.
9249 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9250 symbols and matched |...| for formal params.
9251 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9252 from being treated as hanging. Handle "rescue".
9254 2013-08-29 Glenn Morris <rgm@gnu.org>
9256 * progmodes/cc-engine.el (c-pull-open-brace):
9257 Move definition before use.
9259 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9261 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9262 are immutable. Don't use `unsafe' any more.
9263 (cl--defsubst-expand): Don't substitute at the same time as keeping
9264 a residual unused let-binding. Don't use `unsafe' any more.
9266 2013-08-29 Glenn Morris <rgm@gnu.org>
9268 * calendar/cal-china.el (calendar-chinese-year-cache):
9271 * nxml/nxml-util.el (nxml-debug-clear-inside):
9272 Use cl-loop rather than loop.
9274 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9276 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9278 2013-08-28 Glenn Morris <rgm@gnu.org>
9280 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9282 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9284 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9286 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * simple.el (repeat-complex-command--called-interactively-skip):
9290 (repeat-complex-command): Use it (bug#14136).
9292 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9293 (c-define-abbrev-table): Add `doc' argument.
9294 (c-mode-abbrev-table, c++-mode-abbrev-table)
9295 (objc-mode-abbrev-table, java-mode-abbrev-table)
9296 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9297 (awk-mode-abbrev-table): Use it.
9298 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9299 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9300 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9301 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9302 Move initialization into the declaration; and remove any
9305 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9306 and dynamic let binding.
9308 * vc/smerge-mode.el: Remove redundant :group args.
9310 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9313 2013-08-28 Juri Linkov <juri@jurta.org>
9315 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9316 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9317 (isearch-other-meta-char): Handle an undefined shifted printing
9318 character by downshifting it. (Bug#15200)
9320 2013-08-28 Juri Linkov <juri@jurta.org>
9322 * isearch.el (isearch-search): Change regexp error message for
9323 non-regexp searches. (Bug#15166)
9325 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9327 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9328 for portability to hosts where /bin/sh has problems.
9330 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9332 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9334 2013-08-27 Juri Linkov <juri@jurta.org>
9336 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9337 in the keyboard macro. (Bug#15126)
9339 2013-08-27 Juri Linkov <juri@jurta.org>
9341 * isearch.el (isearch-quote-char): Comment out converting unibyte
9342 to multibyte, thus syncing with its `quoted-insert' counterpart.
9345 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9347 * window.el (display-buffer-use-some-window): Add missing
9348 argument in call of get-largest-window (Bug#15185).
9349 Reported by Stephen Leake.
9351 2013-08-27 Glenn Morris <rgm@gnu.org>
9353 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9355 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9358 from a matcher-function unless there's no more matches (bug#15161).
9360 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9362 * minibuffer.el: Revert change from 2013-08-20.
9364 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9365 with text property `tramp-default', if appropriate.
9366 (tramp-check-proper-host): New defun.
9367 (tramp-dissect-file-name): Do not check hostname. Revert change
9369 (tramp-backtrace): Make VEC-OR-PROC optional.
9371 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9372 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9373 * net/tramp-sh.el (tramp-maybe-open-connection):
9374 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9375 Apply `tramp-check-proper-host'.
9377 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9379 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9380 lambda expression in order to have `describe-variable' display it.
9382 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9384 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9385 BUF can be optional. (Bug#15186)
9387 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9389 * progmodes/flymake.el (flymake-get-real-file-name-function):
9390 Fix broken customization. (Bug#15184)
9392 2013-08-25 Alan Mackenzie <acm@muc.de>
9394 Improve indentation of bracelists defined by macros (without "=").
9396 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9397 expansion begins with "{", regard it as bracelist when it doesn't
9400 Parse C++ inher-intro when there's a template split over 2 lines.
9402 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9403 rigorously the search for "class" etc. followed by ":".
9405 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9406 random languages a regexp which never matches rather than nil.
9408 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9410 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9411 (c-awk-regexp-one-line-possibly-open-char-list-re)
9412 (c-awk-one-line-possibly-open-regexp-re)
9413 (c-awk-one-line-non-syn-ws*-re): Remove.
9414 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9415 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9416 (c-awk-space*-unclosed-regexp-/-re): New constants.
9417 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9418 aren't regexp delimiters.
9420 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9421 handling for a rare situation in AWK Mode involving unterminated
9424 2013-08-23 Glenn Morris <rgm@gnu.org>
9426 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9428 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9430 * files.el (create-file-buffer): If the result would begin with
9431 spaces, prepend a "|" instead of removing them. (Bug#15162)
9433 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9435 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9436 text-properties (bug#15155).
9438 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9440 (calc-keypad-redraw): Remove unused var `pad'.
9441 (calc-keypad-press): Remove unused var `menu'.
9443 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9445 * window.el (display-buffer-pop-up-frame):
9446 Call pop-up-frame-function with BUFFER current so `make-frame' will
9447 use it as the new frame's buffer (Bug#15133).
9449 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9451 * calendar/timeclock.el: Minor cleanups.
9452 (timeclock-ask-before-exiting, timeclock-use-display-time):
9454 (timeclock-modeline-display): Define as alias before the
9456 (timeclock-mode-line-display): Use define-minor-mode.
9457 (timeclock-day-list-template): Make it a function, add an argument.
9458 (timeclock-day-list-required, timeclock-day-list-length)
9459 (timeclock-day-list-debt, timeclock-day-list-span)
9460 (timeclock-day-list-break): Adjust calls accordingly.
9462 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9464 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9465 Use read--expression so that completion works again.
9467 2013-08-21 Sam Steingold <sds@gnu.org>
9469 Add rudimentary inferior shell interaction
9470 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9471 (sh-set-shell): Reset it.
9472 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9473 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9475 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9477 * align.el: Use lexical-binding.
9478 (align-region): Simplify accordingly.
9480 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9482 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9484 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9487 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9491 * net/tramp-cmds.el:
9493 * net/tramp-gvfs.el:
9495 * net/tramp-sh.el: Don't wrap external variable declarations by
9496 `eval-when-compile'.
9498 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9501 now that Emacs supports ImageMagick animations.
9503 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9505 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9506 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9508 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9510 * window.el (mouse-autoselect-window-select): Do autoselect when
9511 mouse pointer is on margin.
9513 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9515 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9517 2013-08-16 Glenn Morris <rgm@gnu.org>
9519 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9520 Handle "Remote Directory" response of some clients. (Bug#15058)
9522 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9523 Tweak warning. (Bug#14926)
9525 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9526 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9528 * image-mode.el (image-mode-map): Add menu items to reverse,
9529 increase, decrease, reset animation speed.
9530 (image--set-speed, image-increase-speed, image-decrease-speed)
9531 (image-reverse-speed, image-reset-speed): New functions.
9532 (image-mode-map): Add bindings for speed commands.
9534 * image.el (image-animate-get-speed, image-animate-set-speed):
9536 (image-animate-timeout): Respect image :speed property.
9538 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9540 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9541 previous line (bug#15101).
9542 (debugger-eval-expression, debugger-record-expression):
9543 Use read--expression (bug#15102).
9545 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9547 Remove byte compiler warnings, visible when compiling with
9548 `byte-compile-force-lexical-warnings' set to t.
9550 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9551 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9552 (tramp-handle-unhandled-file-name-directory)
9553 (tramp-handle-file-notify-add-watch, tramp-action-login)
9554 (tramp-action-succeed, tramp-action-permission-denied)
9555 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9558 * net/tramp-adb.el (tramp-adb-parse-device-names)
9559 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9560 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9561 (tramp-adb-handle-file-truename): Remove unused arguments.
9563 * net/tramp-cache.el (tramp-flush-directory-property)
9564 (tramp-flush-connection-property, tramp-list-connections)
9565 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9567 * net/tramp-compat.el (tramp-compat-make-temp-file):
9568 Rename FILENAME to F.
9570 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9571 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9572 (tramp-zeroconf-parse-workstation-device-names)
9573 (tramp-zeroconf-parse-webdav-device-names)
9574 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9576 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9577 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9579 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9581 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9582 (tramp-sh-handle-insert-file-contents-literally)
9583 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9585 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9586 Remove unused variables.
9588 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9589 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9590 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9592 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9593 Make them a defconst.
9594 (tramp-uuencode-region): Remove unused variable.
9596 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9598 * frameset.el (frameset--prop-setter): New function.
9599 (frameset-prop): Add gv-setter declaration.
9600 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9601 parameter was already set in FILTERED. Doc fix.
9602 (frameset--record-minibuffer-relationships): Allow saving a
9603 minibufferless frame without its corresponding minibuffer frame.
9604 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9605 frame, if the frame id matches.
9606 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9607 frames before orphaned ones.
9608 (frameset-restore): Warn about orphaned windows, instead of error out.
9610 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9612 * window.el (window-make-atom): Don't overwrite parameter
9614 (display-buffer-in-atom-window): Handle special case where we
9615 split an already atomic window.
9616 (window--major-non-side-window, display-buffer-in-side-window)
9617 (window--side-check): Ignore minibuffer window when walking
9619 (window-deletable-p): Return 'frame only if no other frame uses
9620 our minibuffer window.
9621 (record-window-buffer): Run buffer-list-update-hook.
9622 (split-window): Make sure window--check-frame won't destroy an
9623 existing atomic window in case the new window gets nested
9625 (display-buffer-at-bottom): Ignore minibuffer window when
9626 walking window tree. Don't split a side window.
9627 (pop-to-buffer): Don't set-buffer here, the select-window call
9629 (mouse-autoselect-window-select): Autoselect only if we are in the
9630 text portion of the window.
9632 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9634 * net/shr.el (shr-parse-image-data): New function to grab both the
9635 data itself and the Content-Type.
9636 (shr-put-image): Use it.
9638 * net/eww.el (eww-display-image): Ditto.
9640 * image.el (image-content-type-suffixes): New variable.
9642 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9644 * progmodes/python.el (python-imenu--build-tree)
9645 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9647 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9649 * simple.el (backward-word): Mention the optional argument.
9651 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9653 * frameset.el (frameset--make): Rename constructor from make-frameset.
9654 (frameset-p, frameset-valid-p): Don't autoload.
9655 (frameset-valid-p): Use normal accessors.
9657 2013-08-13 Glenn Morris <rgm@gnu.org>
9659 * progmodes/compile.el (compile-command): Tweak example in doc.
9660 * obsolete/scribe.el (scribe-mode):
9661 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9663 * mail/feedmail.el (feedmail-confirm-outgoing)
9664 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9666 * cus-start.el (truncate-partial-width-windows): Fix type.
9668 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9670 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9672 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * emacs-lisp/timer.el (timer--time-setter): New function.
9675 (timer--time): Use it as gv-setter.
9677 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9678 setter is not a symbol.
9680 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9682 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9683 if sending fails. This makes debugging easier.
9685 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9687 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9688 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9689 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9691 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9693 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9695 2013-08-12 Glenn Morris <rgm@gnu.org>
9697 * format.el (format-annotate-function):
9698 Handle read-only text properties in the source. (Bug#14887)
9700 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9702 * net/eww.el (eww-display-html): Ignore coding system errors.
9703 One web site uses "utf-8lias" as the coding system.
9705 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9707 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9709 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9711 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9712 (tutorial--detailed-help): Remove unused local variables.
9713 (tutorial--save-tutorial-to): Use ignore-errors.
9714 (help-with-tutorial): Use looking-at-p.
9716 * view.el (view-buffer-other-window, view-buffer-other-frame):
9717 Mark unused arguments.
9719 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9720 (woman-select-symbol-fonts, woman, woman-find-file)
9721 (woman-insert-file-contents, woman-non-underline-faces):
9723 (woman1-unquote): Move declaration.
9725 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9726 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9727 argument. Remove unused local variable.
9728 (xml-parse-elem-type): Use string-match-p.
9729 (xml-substitute-numeric-entities): Use ignore-errors.
9731 * calculator.el (calculator): Mark unused argument.
9732 (calculator-paste, calculator-quit, calculator-integer-p):
9734 (calculator-string-to-number, calculator-decimal, calculator-exp)
9735 (calculator-op-or-exp): Use string-match-p.
9737 * dired.el (dired-buffer-more-recently-used-p): Declare.
9738 (dired-insert-set-properties, dired-insert-old-subdirs):
9741 * dired-aux.el (dired-compress): Use ignore-errors.
9742 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9743 (dired-do-async-shell-command, dired-do-shell-command)
9744 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9745 (dired-insert-subdir-validate): Use string-match-p.
9746 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9747 (dired-add-entry): Use string-match-p, looking-at-p.
9748 (dired-insert-subdir-newpos): Remove unused local variable.
9750 * filenotify.el (file-notify-callback): Remove unused local variable.
9752 * filesets.el (filesets-error): Mark unused argument.
9753 (filesets-which-command-p, filesets-filter-dir-names)
9754 (filesets-directory-files, filesets-get-external-viewer)
9755 (filesets-ingroup-get-data): Use string-match-p.
9757 * find-file.el (ff-other-file-name, ff-other-file-name)
9758 (ff-find-the-other-file, ff-cc-hh-converter):
9759 Remove unused local variables.
9760 (ff-get-file-name): Use string-match-p.
9761 (ff-all-dirs-under): Use ignore-errors.
9763 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9764 (follow-select-if-visible): Remove unused local variable.
9766 * forms.el (read-file-filter): Move declaration.
9767 (forms--make-format, forms--make-parser, forms-insert-record):
9768 Quote function with #'.
9769 (forms--update): Use string-match-p. Quote function with #'.
9771 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9772 (help-make-xrefs): Use looking-at-p.
9773 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9775 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9776 (ibuffer-confirm-operation-on): Use string-match-p.
9778 * msb.el (msb-item-handler, msb-dired-item-handler):
9779 Mark unused arguments.
9781 * ses.el (ses-decode-cell-symbol)
9782 (ses-kill-override): Remove unused local variable.
9783 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9784 (ses-load): Use ignore-errors, looking-at-p.
9785 (ses-jump-safe): Use ignore-errors.
9786 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9788 * tabify.el (untabify, tabify): Mark unused arguments.
9790 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9791 Mark unused argument.
9792 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9793 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9795 * emacs-lisp/timer.el (timer--time): Define setter with
9796 gv-define-setter to avoid deprecation warning.
9798 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9799 (*record-cmpl-statistics-p*): Remove (was commented out).
9800 (cmpl-statistics-block): Remove (body was commented out).
9801 All callers changed.
9802 (add-completions-from-buffer, load-completions-from-file):
9803 Remove unused variables.
9805 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9807 * filecache.el (file-cache-delete-file-list):
9808 Print message only when told so.
9809 (file-cache-files-matching): Use #' in mapconcat argument.
9811 * ffap.el (ffap-url-at-point): Fix reference to variable
9812 thing-at-point-default-mail-uri-scheme.
9814 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9816 * subr.el (define-error): New function.
9817 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9818 error-file-not-found and define with define-error.
9819 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9820 and define with define-error.
9821 * userlock.el (file-locked, file-supersession):
9822 * simple.el (mark-inactive):
9823 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9824 * progmodes/ada-mode.el (ada-mode-errors):
9825 * play/life.el (life-extinct):
9826 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9827 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9828 * nxml/rng-util.el (rng-error):
9829 * nxml/rng-uri.el (rng-uri-error):
9830 * nxml/rng-match.el (rng-compile-error):
9831 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9832 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9833 * nxml/nxml-rap.el (nxml-scan-error):
9834 * nxml/nxml-outln.el (nxml-outline-error):
9835 * net/soap-client.el (soap-error):
9836 * net/gnutls.el (gnutls-error):
9837 * net/ange-ftp.el (ftp-error):
9838 * mpc.el (mpc-proc-error):
9839 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9840 (json-number-format, json-string-escape, json-string-format)
9841 (json-key-format, json-object-format):
9842 * jka-compr.el (compression-error):
9843 * international/quail.el (quail-error):
9844 * international/kkc.el (kkc-error):
9845 * emacs-lisp/ert.el (ert-test-failed):
9846 * calc/calc.el (calc-error, inexact-result, math-overflow)
9848 * bookmark.el (bookmark-error-no-filename):
9849 * epg.el (epg-error): Define with define-error.
9851 * time.el (display-time-event-handler)
9852 (display-time-next-load-average): Don't call sit-for since it seems
9853 unnecessary (bug#15045).
9855 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9856 Use #' instead of ' to quote functions.
9857 (checkdoc-output-mode): Use setq-local.
9858 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9859 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9860 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9861 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9862 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9863 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9864 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9865 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9867 * ido.el (ido-completion-help): Fix up compiler warning.
9869 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9871 * frameset.el (frameset-p): Add autoload cookie.
9872 (frameset--jump-to-register): New function, based on code moved from
9874 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9876 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9877 (frameset-restore, frameset-save, frameset-session-filter-alist):
9878 Remove declarations.
9879 (register-alist): Doc fix.
9880 (frameset-to-register): Move to frameset.el.
9881 (jump-to-register, describe-register-1): Remove frameset-specific code.
9883 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9885 * allout-widgets.el (allout-widgets-pre-command-business)
9886 (allout-widgets-post-command-business)
9887 (allout-widgets-after-change-handler)
9888 (allout-decorate-item-and-context, allout-set-boundary-marker)
9889 (allout-body-modification-handler)
9890 (allout-graphics-modification-handler): Mark ignored arguments.
9891 (allout-widgets-post-command-business)
9892 (allout-widgets-exposure-change-processor)
9893 (allout-widgets-exposure-undo-processor)
9894 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9895 (allout-parse-item-at-point, allout-decorate-item-guides)
9896 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9897 * allout.el (epa-passphrase-callback-function): Declare.
9898 (allout-overlay-insert-in-front-handler)
9899 (allout-overlay-interior-modification-handler)
9900 (allout-isearch-end-handler, allout-chart-siblings)
9901 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9902 (allout-yank-processing, allout-process-exposed)
9903 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9904 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9905 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9906 (lisp-indent-defform): Mark ignored arguments.
9907 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9908 (calculate-lisp-indent): Remove unused variables.
9909 * international/characters.el (indian-2-column, arabic-2-column)
9910 (tibetan): Mark ignored arguments.
9911 (use-cjk-char-width-table): Mark ignored arguments.
9912 Remove unused variables.
9913 * international/fontset.el (build-default-fontset-data)
9914 (x-compose-font-name, create-fontset-from-fontset-spec):
9915 Mark ignored arguments.
9916 (fontset-plain-name): Remove unused variables.
9917 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9918 (keyboard-coding-system): Mark ignored arguments.
9919 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9920 * help.el (resize-temp-buffer-window):
9921 * window.el (display-buffer-in-major-side-window)
9922 (display-buffer-in-side-window, display-buffer-in-previous-window):
9923 Remove unused variables.
9924 * isearch.el (isearch-forward-symbol):
9925 * version.el (emacs-bzr-version-bzr):
9926 * international/mule-cmds.el (current-language-environment):
9927 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9929 * term/pc-win.el (x-list-fonts, x-display-planes)
9930 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9931 (x-server-version, x-display-screens, x-display-mm-height)
9932 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9933 (x-selection-owner-p, x-own-selection-internal)
9934 (x-disown-selection-internal, x-get-selection-internal)
9935 (msdos-initialize-window-system):
9936 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9937 * term/x-win.el (x-handle-no-bitmap-icon):
9938 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9939 (vc-default-find-file-hook, vc-default-extra-menu):
9940 Mark ignored arguments.
9942 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9944 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9945 break-condition in the context of the debugged code (bug#12685).
9947 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9950 Do not use an overlay to highlight the last prompt. (Bug#14744)
9951 (comint-mode): Make comint-last-prompt buffer local.
9952 (comint-last-prompt): New variable.
9953 (comint-last-prompt-overlay): Remove. Superseded by
9955 (comint-snapshot-last-prompt, comint-output-filter):
9956 Use comint-last-prompt.
9958 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9960 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9961 (frameset-save): Check validity of the resulting frameset.
9963 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9965 * ido.el (ido-record-command): Add doc string.
9967 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9969 * frameset.el (frameset): Do not disable creation of the default
9970 frameset-p predicate. Doc fix.
9971 (frameset-valid-p): New function, copied from the old predicate-p.
9972 Add additional checks.
9973 (frameset-restore): Check with frameset-valid-p.
9974 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9975 (frameset-name, frameset-description, frameset-properties)
9976 (frameset-states): Add docstring.
9977 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9978 (frameset-filter-alist): Doc fixes.
9980 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9982 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9984 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9987 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9988 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9989 (byte-compile-normal-call): Remove obsolescence check.
9991 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9993 * frameset.el (frameset-restore): Doc fix.
9995 * register.el (frameset-frame-id, frameset-frame-with-id)
9996 (frameset-p, frameset-restore, frameset-save): Declare.
9997 (register-alist): Document framesets.
9998 (frameset-session-filter-alist): Declare.
9999 (frameset-to-register): New function.
10000 (jump-to-register): Implement jumping to framesets. Doc fix.
10001 (describe-register-1): Describe framesets.
10003 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10005 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10007 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10008 Use lexical-binding.
10010 * frameset.el (frameset): Use type vector, not list (incompatible
10011 change). Do not declare a new constructor, use the default one.
10012 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10013 `name' and `description', respectively, and add read-only slot
10014 `timestamp'. Doc fixes.
10015 (frameset-copy, frameset-persistent-filter-alist)
10016 (frameset-filter-alist, frameset-switch-to-gui-p)
10017 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10018 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10019 (frameset-filter-iconified, frameset-keep-original-display-p):
10021 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10022 Rename from frameset-filter-(save|restore)-param. All callers changed.
10024 (frameset-p): Adapt to change to vector and be more thorough.
10025 Change arg name to OBJECT. Doc fix.
10026 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10027 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10028 All callers changed.
10029 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10030 All callers changed.
10031 (frameset--record-minibuffer-relationships): Rename from
10032 frameset--process-minibuffer-frames. All callers changed.
10033 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10034 Use new default constructor (again). Doc fix.
10035 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10036 All callers changed.
10037 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10038 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10040 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10041 PARAMETERS and WINDOW-STATE, respectively.
10042 (frameset-restore): Add new keyword argument PREDICATE.
10043 Reset frameset--target-display to nil. Doc fix.
10045 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10047 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10048 (bat-mode): Use it.
10049 (bat-mode-syntax-table): Mark \n as end-of-comment.
10050 (bat-font-lock-keywords): Remove comment rule.
10052 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10053 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10055 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10056 (byte-compile-callargs-warn): Use `push'.
10057 (byte-compile-arglist-warn): Ignore higher-order "calls".
10058 (byte-compile-file-form-autoload): Use `pcase'.
10059 (byte-compile-function-form): If quoting a symbol, check that it exists.
10061 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10063 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10064 and add a few popular commands found in batch files.
10065 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10066 (dos-mode): Doc fixes.
10068 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10071 (dos-mode): Use setq-local. Add space after "rem".
10072 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10073 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10075 2013-08-07 Arni Magnusson <arnima@hafro.is>
10077 * progmodes/dos.el: New file.
10078 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10081 2013-08-06 Glenn Morris <rgm@gnu.org>
10083 * calendar/calendar.el: Add new faces, and day-header-array.
10084 (calendar-weekday-header, calendar-weekend-header)
10085 (calendar-month-header): New faces.
10086 (calendar-day-header-construct): New function.
10087 (calendar-day-header-width): Also :set calendar-day-header-array.
10088 (calendar-american-month-header, calendar-european-month-header)
10089 (calendar-iso-month-header): Use calendar- faces.
10090 (calendar-generate-month):
10091 Use calendar-day-header-array for day headers; apply faces to them.
10092 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10093 (calendar-abbrev-construct): Add optional maxlen argument.
10094 (calendar-day-name-array): Doc fix.
10095 (calendar-day-name-array, calendar-abbrev-length)
10096 (calendar-day-abbrev-array):
10097 Also :set calendar-day-header-array, and maybe redraw.
10098 (calendar-day-header-array): New option. (Bug#15007)
10099 (calendar-font-lock-keywords): Set to nil and make obsolete.
10100 (calendar-day-name): Add option to use header array.
10102 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104 * net/shr.el (shr-render-td): Remove debugging.
10105 (shr-render-td): Make width computation consistent by defaulting
10106 all zero-width columns to 10 characters. This may not be optimal,
10107 but it's at least consistent.
10108 (shr-make-table-1): Redo last change to fix the real problem in
10111 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10113 * files.el (cache-long-line-scans):
10114 Make obsolete alias to `cache-long-scans'.
10116 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10118 * frameset.el (frameset, frameset-filter-alist)
10119 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10120 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10121 (frameset-compute-pos): Rename from frameset--compute-pos,
10123 (frameset-move-onscreen): Use frameset-compute-pos.
10124 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10126 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10127 Fix typos in docstrings.
10129 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10131 * frame.el (get-other-frame): Tiny cleanup.
10133 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10135 * vc/vc.el (vc-default-ignore-completion-table):
10136 Silence byte-compiler warning.
10138 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10139 slot, which can indeed be nil.
10140 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10141 Move entry for `left' from persistent to live filter alist.
10142 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10144 (frameset-filter-params): When restoring a frame, copy items added to
10145 `filtered', to avoid unwittingly modifying the original parameters.
10146 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10147 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10149 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10150 to use looking-at-p instead of looking-at. (Bug#15028)
10152 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10154 Revert introduction of isearch-filter-predicates (bug#14714).
10155 Rely on add-function instead.
10156 * isearch.el (isearch-filter-predicates): Rename it back to
10157 isearch-filter-predicate.
10158 (isearch-message-prefix): Use advice-function-mapc and advice
10159 properties to get the isearch-message-prefix.
10160 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10161 instead of run-hook-with-args-until-failure.
10162 (isearch-filter-visible): Not obsolete any more.
10163 * loadup.el: Preload nadvice.
10164 * replace.el (perform-replace): Revert to funcall
10165 instead of run-hook-with-args-until-failure.
10166 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10167 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10168 dired-isearch-filenames-toggle; make it into a proper minor mode.
10169 Use add/remove-function.
10170 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10171 Call the minor-mode rather than add/remove-hook.
10172 (dired-isearch-filter-filenames):
10173 Remove isearch-message-prefix property.
10174 * info.el (Info--search-loop): New function, extracted from Info-search.
10175 Funcall isearch-filter-predicate instead of
10176 run-hook-with-args-until-failure isearch-filter-predicates.
10177 (Info-search): Use it.
10178 (Info-mode): Use isearch-filter-predicate instead of
10179 isearch-filter-predicates.
10181 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10183 Do not call to `selected-window' where it is assumed by default.
10184 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10185 `window-hscroll', `window-width', `window-height', `window-buffer',
10186 `window-frame', `window-start', `window-point', `next-window'
10187 and `window-display-table'.
10188 * abbrev.el (abbrev--default-expand):
10189 * bs.el (bs--show-with-configuration):
10190 * buff-menu.el (Buffer-menu-mouse-select):
10191 * calc/calc.el (calc):
10192 * calendar/calendar.el (calendar-generate-window):
10193 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10194 (diary-make-entry):
10195 * comint.el (send-invisible, comint-dynamic-complete-filename)
10196 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10197 * completion.el (complete):
10198 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10199 * disp-table.el (describe-current-display-table):
10200 * doc-view.el (doc-view-insert-image):
10201 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10202 * ehelp.el (with-electric-help):
10203 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10204 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10205 * emacs-lisp/helper.el (Helper-help-scroller):
10206 * emulation/cua-base.el (cua--post-command-handler-1):
10207 * eshell/esh-mode.el (eshell-output-filter):
10208 * ffap.el (ffap-gnus-wrapper):
10209 * help-macro.el (make-help-screen):
10210 * hilit-chg.el (highlight-compare-buffers):
10211 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10212 * hl-line.el (global-hl-line-highlight):
10213 * icomplete.el (icomplete-simple-completing-p):
10214 * isearch.el (isearch-done):
10215 * jit-lock.el (jit-lock-stealth-fontify):
10216 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10217 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10218 * mpc.el (mpc-tagbrowser, mpc):
10219 * net/rcirc.el (rcirc-any-buffer):
10220 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10221 * play/landmark.el (landmark-max-width, landmark-max-height):
10222 * play/zone.el (zone):
10223 * progmodes/compile.el (compilation-goto-locus):
10224 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10225 * progmodes/etags.el (find-tag-other-window):
10226 * progmodes/fortran.el (fortran-column-ruler):
10227 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10228 * progmodes/verilog-mode.el (verilog-point-text):
10229 * reposition.el (reposition-window):
10230 * rot13.el (toggle-rot13-mode):
10231 * server.el (server-switch-buffer):
10232 * shell.el (shell-dynamic-complete-command)
10233 (shell-dynamic-complete-environment-variable):
10234 * simple.el (insert-buffer, set-selective-display)
10235 (delete-completion-window):
10236 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10237 (speedbar-recenter):
10238 * startup.el (fancy-splash-head):
10239 * textmodes/ispell.el (ispell-command-loop):
10240 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10241 * tutorial.el (help-with-tutorial):
10242 * vc/add-log.el (add-change-log-entry):
10243 * vc/compare-w.el (compare-windows):
10244 * vc/ediff-help.el (ediff-indent-help-message):
10245 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10246 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10247 (ediff-setup-control-frame):
10248 * vc/emerge.el (emerge-position-region):
10249 * vc/pcvs-util.el (cvs-bury-buffer):
10250 * window.el (walk-windows, mouse-autoselect-window-select):
10251 * winner.el (winner-set-conf, winner-undo): Related users changed.
10253 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10255 * frameset.el (frameset--set-id): Doc fix.
10256 (frameset-frame-id, frameset-frame-id-equal-p)
10257 (frameset-locate-frame-id): New functions.
10258 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10259 (frameset-restore): Use them.
10261 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10263 Do not call to `selected-frame' where it is assumed by default.
10264 Affected functions are `raise-frame', `redraw-frame',
10265 `frame-first-window', `frame-terminal' and `delete-frame'.
10266 * calendar/appt.el (appt-disp-window):
10267 * epg.el (epg-wait-for-completion):
10268 * follow.el (follow-delete-other-windows-and-split)
10269 (follow-avoid-tail-recenter):
10270 * international/mule.el (set-terminal-coding-system):
10271 * mail/rmail.el (rmail-mail-return):
10272 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10273 * progmodes/f90.el (f90-add-imenu-menu):
10274 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10275 * server.el (server-switch-buffer):
10276 * simple.el (delete-completion-window):
10278 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10279 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10280 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10281 * vc/ediff.el (ediff-documentation): Related users changed.
10282 * frame.el (selected-terminal): Remove the leftover.
10284 2013-08-05 Glenn Morris <rgm@gnu.org>
10286 * calendar/calendar.el (calendar-generate-month):
10287 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10288 (calendar-generate-month, calendar-font-lock-keywords):
10289 Fix for calendar-day-header-width > length of any day name.
10291 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10293 * desktop.el (desktop-clear): Use new name of sort predicate.
10295 * frameset.el (frameset): Add docstring. Move :version property to its
10296 own `version' slot.
10297 (frameset-copy): Rename from copy-frameset.
10298 (frameset-p): Check more thoroughly.
10299 (frameset-prop): Do not check for :version, which is no longer a prop.
10300 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10301 Use new :never value instead of t.
10302 (frameset-filter-alist): Expand and clarify docstring.
10303 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10304 (frameset-filter-minibuffer, frameset-filter-save-param)
10305 (frameset-filter-restore-param, frameset-filter-iconified):
10306 Add pointer to docstring of frameset-filter-alist.
10307 (frameset-filter-params): Rename filter values to be more meaningful:
10308 :never instead of t, and reverse the meanings of :save and :restore.
10309 (frameset--process-minibuffer-frames): Clarify error message.
10310 (frameset-save): Avoid unnecessary and confusing call to framep.
10311 Use new BOA constructor for framesets.
10312 (frameset--reuse-list): Doc fix.
10313 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10314 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10315 (frameset-minibufferless-first-p): Doc fix.
10316 Rename from frameset-sort-frames-for-deletion.
10317 (frameset-restore): Doc fixes. Use new function names.
10318 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10320 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10322 * desktop.el (desktop-restore-forces-onscreen)
10323 (desktop-restore-reuses-frames): Document :keyword constant values.
10324 (desktop-filter-parameters-alist): Remove, now identical to
10325 frameset-filter-alist.
10326 (desktop--filter-tty*): Remove, moved to frameset.el.
10327 (desktop-save-frameset, desktop-restore-frameset):
10328 Do not pass :filters argument.
10330 * frameset.el (frameset-live-filter-alist)
10331 (frameset-persistent-filter-alist): New variables.
10332 (frameset-filter-alist): Use them. Add autoload cookie.
10333 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10334 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10335 `frameset--id' (it's supposed to be internal to frameset.el).
10336 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10337 (frameset--initial-params): New function.
10338 (frameset--get-frame): Use it. Doc fix.
10339 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10340 Accept :all, not 'all.
10341 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10342 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10343 with fbound symbols. Fix frame id matching, and remove matching ids if
10344 the frame being restored is deleted. Obey :delete.
10346 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * subr.el (macrop): New function.
10349 (text-clone--maintaining): New var.
10350 (text-clone--maintain): Rename from text-clone-maintain. Use it
10351 instead of inhibit-modification-hooks.
10353 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10354 a proxy, so as handle autoloads and redefinitions of the target.
10355 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10357 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10358 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10359 (pcase--mutually-exclusive-p): New function.
10360 (pcase--split-consp): Use it.
10361 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10362 mutually exclusive with the current predicate.
10364 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10365 (edebug-macrop): Remove. Use `macrop' instead.
10366 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10368 * eshell/esh-cmd.el (eshell-macrop):
10369 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10371 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10373 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10374 (advice-mapc): New function, using it.
10375 (advice-function-member-p): New function.
10376 (advice--normalize): Store the cdr in advice--saved-rewrite since
10377 that's the part that will be changed.
10378 (advice--symbol-function): New function.
10379 (advice-remove): Handle removal before the function is defined.
10380 Adjust to new advice--saved-rewrite.
10381 (advice-member-p): Use advice-function-member-p and
10382 advice--symbol-function.
10384 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10386 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10387 (frameset-filter-minibuffer): Doc fix.
10388 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10389 (frameset--set-id, frameset--process-minibuffer-frames)
10390 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10391 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10393 * desktop.el (desktop-clear): Only delete frames when called
10394 interactively and desktop-restore-frames is non-nil. Doc fix.
10395 (desktop-read): Set desktop-saved-frameset to nil.
10397 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10399 * vc/vc.el (vc-ignore): Rewrite.
10400 (vc-default-ignore-completion-table, vc--read-lines)
10401 (vc--add-line, vc--remove-regexp): New functions.
10403 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10404 (vc-svn-ignore-completion-table): New function.
10406 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10407 (vc-hg-ignore-completion-table)
10408 (vc-hg-find-ignore-file): New functions.
10410 * vc/vc-git.el (vc-git-ignore): Rewrite.
10411 (vc-git-ignore-completion-table)
10412 (vc-git-find-ignore-file): New functions.
10414 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10416 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10417 (vc-bzr-ignore-completion-table)
10418 (vc-bzr-find-ignore-file): New functions.
10420 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10422 * frameset.el (frameset-prop): New function and setter.
10423 (frameset-save): Do not modify frame list passed by the caller.
10425 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10427 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10429 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10431 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10432 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10434 * custom.el (custom-initialize-default, custom-initialize-set)
10435 (custom-initialize-reset, custom-initialize-changed): Affect the
10436 toplevel-default-value (bug#6275, bug#14586).
10437 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10440 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10442 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10443 Add cl-def* expressions.
10445 * frameset.el (frameset-filter-params): Fix order of arguments.
10447 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10449 Move code related to saving frames to frameset.el.
10450 * desktop.el: Require frameset.
10451 (desktop-restore-frames): Doc fix.
10452 (desktop-restore-reuses-frames): Rename from
10453 desktop-restoring-reuses-frames.
10454 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10455 (desktop-clear): Clear frames too.
10456 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10457 (desktop--filter-tty*, desktop-save, desktop-read):
10458 Use frameset functions.
10459 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10460 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10461 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10462 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10463 (desktop--process-minibuffer-frames, desktop-save-frames)
10464 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10465 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10466 (desktop--sort-states, desktop-restoring-frames-p)
10467 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10468 (desktop-restoring-frameset-p, desktop-restore-frameset)
10469 (desktop--check-dont-save, desktop-save-frameset): New functions.
10470 (desktop--app-id): New constant.
10471 (desktop-first-buffer, desktop-buffer-ok-count)
10472 (desktop-buffer-fail-count): Move before first use.
10473 * frameset.el: New file.
10475 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10477 * files.el: Use lexical-binding.
10478 (dir-locals-read-from-file): Remove unused `err' variable.
10479 (hack-dir-local-variables--warned-coding): New var.
10480 (hack-dir-local-variables): Use it to avoid repeated warnings.
10481 (make-backup-file-name--default-function): New function.
10482 (make-backup-file-name-function): Use it as default.
10483 (buffer-stale--default-function): New function.
10484 (buffer-stale-function): Use it as default.
10485 (revert-buffer-insert-file-contents--default-function): New function.
10486 (revert-buffer-insert-file-contents-function): Use it as default.
10487 (insert-directory): Avoid add-to-list.
10489 * autorevert.el (auto-revert-handler): Simplify.
10490 Use buffer-stale--default-function.
10492 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10494 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10496 * whitespace.el (whitespace-ensure-local-variables): New function.
10497 (whitespace-cleanup-region): Call it.
10498 (whitespace-turn-on): Call it.
10500 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10502 Complete file name handlers.
10504 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10505 (tramp-handle-verify-visited-file-modtime)
10506 (tramp-handle-file-notify-rm-watch): New functions.
10507 (tramp-call-process): Do not bind `default-directory'.
10509 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10510 Order alphabetically.
10511 <access-file, add-name-to-file, dired-call-process>:
10512 <dired-compress-file, file-acl, file-notify-rm-watch>:
10513 <file-ownership-preserved-p, file-selinux-context>:
10514 <make-directory-internal, make-symbolic-link, set-file-acl>:
10515 <set-file-selinux-context, set-visited-file-modtime>:
10516 <verify-visited-file-modtime>: Add handler.
10517 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10519 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10520 <file-notify-add-watch, file-notify-rm-watch>:
10521 <set-file-times, set-visited-file-modtime>:
10522 <verify-visited-file-modtime>: Add handler.
10523 (with-tramp-gvfs-error-message)
10524 (tramp-gvfs-handle-set-visited-file-modtime)
10525 (tramp-gvfs-fuse-file-name): Remove.
10526 (tramp-gvfs-handle-file-notify-add-watch)
10527 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10528 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10530 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10531 Order alphabetically.
10532 <file-notify-rm-watch>: Use default Tramp handler.
10533 <executable-find>: Remove private handler.
10534 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10535 `default-directory'.
10536 (tramp-sh-handle-executable-find)
10537 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10538 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10539 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10540 Do not use `format' in `tramp-message'.
10542 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10543 <file-notify-rm-watch, set-visited-file-modtime>:
10544 <verify-visited-file-modtime>: Add handler.
10545 (tramp-smb-call-winexe): Do not bind `default-directory'.
10547 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10549 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10551 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10553 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10555 (log-view-diff-changeset): Same.
10556 (log-view-diff-common): Call backend command `previous-revision'
10557 to find out the previous revision, in both cases. Swap the
10558 variables `to' and `fr', so that `fr' usually refers to the
10559 earlier revision (Bug#14989).
10561 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10563 * ibuf-ext.el (ibuffer-filter-by-filename):
10564 Make it work with dired buffers too.
10566 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10568 * emacs-lisp/re-builder.el (reb-color-display-p):
10569 * files.el (save-buffers-kill-terminal):
10570 * net/browse-url.el (browse-url):
10571 * server.el (server-save-buffers-kill-terminal):
10572 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10573 Prefer nil to selected-frame for the first arg of frame-parameter.
10575 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10577 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10579 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10581 * minibuffer.el (completion--twq-all): Try and preserve each
10582 completion's case choice (bug#14907).
10584 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10586 * net/network-stream.el (open-network-stream): Mention the new
10587 :nogreeting parameter.
10588 (network-stream-open-starttls): Use the :nogreeting parameter
10591 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10593 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10594 more natural than popping.
10596 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10597 (shr-urlify): Highlight under mouse.
10599 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10601 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10603 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10605 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10608 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10609 point-min==1. Fix search string. Fix parentheses missing.
10611 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10612 assume point-min==1. Fix search string. Fix parentheses missing.
10614 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10616 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10619 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10621 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10622 initial frame is minibuffer-less. (Bug#14841)
10624 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10626 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10630 (tramp-maybe-open-connection): Use it.
10632 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10634 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10635 minimal set of parameters passed when creating a frame, because
10636 the minibuffer status of a frame cannot be changed later.
10638 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10640 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10641 replace-regexp-in-string and inadvertent omissions in previous change.
10642 (todo-filter-items): Ensure only file names are comma-separated in
10643 name of filtered items buffer.
10645 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10647 * desktop.el: Optionally force offscreen frames back onscreen.
10648 (desktop-restoring-reuses-frames): New option.
10649 (desktop--compute-pos, desktop--move-onscreen): New functions.
10650 (desktop--make-frame): Use desktop--move-onscreen.
10652 2013-07-27 Alan Mackenzie <acm@muc.de>
10654 Fontify a Java generic method as a function.
10655 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10658 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10660 * calendar/todo-mode.el: Add command to rename todo files.
10661 (todo-rename-file): New command.
10662 (todo-key-bindings-t): Add key binding for it. Change the
10663 bindings of todo-filter-regexp-items(-multifile) to use `x'
10664 instead of `r', since the latter is better suited to the new
10667 2013-07-27 Alan Mackenzie <acm@muc.de>
10669 Make Java try-with-resources statement parse properly.
10670 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10671 (c-block-stmt-1-2-key): New language constants/variables.
10672 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10673 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10674 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10675 with c-block-stmt-1-2-key.
10677 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10679 * desktop.el (desktop--make-frame): Apply most frame parameters after
10680 creating the frame to force (partially or totally) offscreen frames to
10681 be restored as such.
10683 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10685 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10688 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10691 `base' arg of backtrace-frame.
10693 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10695 * simple.el (list-processes): Doc fix.
10697 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10699 * desktop.el (desktop--select-frame):
10700 Try harder to reuse existing frames.
10702 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10705 (edebug-eval): Use backtrace-eval.
10706 (edebug--display, edebug--recursive-edit): Don't let-bind the
10707 edebug-outer-* vars that keep track of variables we locally let-bind.
10708 (edebug-outside-excursion): Don't restore outside values of locally
10710 (edebug--display): Use user-error.
10711 (cl-lexical-debug, cl-debug-env): Remove.
10713 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10715 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10716 are restored to be sure that they are visible before deleting any
10719 2013-07-26 Matthias Meulien <orontee@gmail.com>
10721 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10722 vc-print-root-log. (Bug#14948)
10724 2013-07-26 Richard Stallman <rms@gnu.org>
10726 Add aliases for encrypting mail.
10727 * epa.el (epa-mail-aliases): New option.
10728 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10729 Bind inhibit-read-only so read-only text doesn't ruin everything.
10730 (epa-mail-default-recipients): New subroutine broken out.
10731 Handle epa-mail-aliases.
10733 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10735 Add support for lexical variables to the debugger's `e' command.
10736 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10737 vars, except for debugger-outer-match-data.
10738 (debugger-frame-number): Move check for "on a function call" from
10739 callers into it. Add `skip-base' argument.
10740 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10741 (debugger-env-macro): Only reset the state stored in non-variables,
10742 i.e. current-buffer and match-data.
10743 (debugger-eval-expression): Rewrite using backtrace-eval.
10744 * subr.el (internal--called-interactively-p--get-frame): Remove.
10745 (called-interactively-p):
10746 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10747 `base' arg of backtrace-frame instead.
10749 2013-07-26 Glenn Morris <rgm@gnu.org>
10751 * align.el (align-regexp): Doc fix. (Bug#14857)
10752 (align-region): Explicit error if subexpression missing/does not match.
10754 * simple.el (global-visual-line-mode):
10755 Do not duplicate the mode lighter. (Bug#14858)
10757 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10759 * window.el (display-buffer): In display-buffer bind
10760 split-window-keep-point to t, bug#14829.
10762 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10764 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10765 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10766 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10767 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10768 Change accordingly.
10769 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10770 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10772 2013-07-25 Glenn Morris <rgm@gnu.org>
10774 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10776 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10778 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10779 parameter to modify-frame-parameters if the value has not changed;
10780 this is a workaround for bug#14949.
10781 (desktop--make-frame): On cl-delete-if call, check parameter name,
10782 not full parameter.
10784 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10786 * vc/vc.el (vc-ignore): New function.
10788 * vc/vc-svn.el (vc-svn-ignore): New function.
10790 * vc/vc-hg.el (vc-hg-ignore): New function.
10792 * vc/vc-git.el (vc-git-ignore): New function.
10794 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10795 (vc-dir-ignore): New function.
10797 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10798 (cvs-append-to-ignore): Move here from pcvs.el.
10800 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10802 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10804 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10806 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10807 (desktop-restore-frames): Warn when deleting an existing frame failed.
10809 2013-07-24 Glenn Morris <rgm@gnu.org>
10811 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10813 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10815 * filenotify.el (file-notify-supported-p):
10816 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10819 * autorevert.el (auto-revert-use-notify)
10820 (auto-revert-notify-add-watch):
10821 * net/tramp.el (tramp-file-name-for-operation):
10822 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10823 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10825 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10826 Remove `file-notify-supported-p' entry.
10828 2013-07-24 Glenn Morris <rgm@gnu.org>
10830 * printing.el: Replace all uses of deleted ps-windows-system,
10831 ps-lp-system, ps-flatten-list with lpr- versions.
10833 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10836 checked with memq (bug#14935).
10838 * files.el (revert-buffer-function): Use a non-nil default.
10839 (revert-buffer-preserve-modes): Declare var to
10840 provide access to the `preserve-modes' argument.
10841 (revert-buffer): Let-bind it.
10842 (revert-buffer--default): New function, extracted from revert-buffer.
10844 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10846 * lpr.el: Signal print errors more prominently.
10847 (print-region-function): Don't default to nil.
10848 (lpr-print-region): New function, extracted from print-region-1.
10849 Check lpr's return value and signal an error in case of problem.
10850 (print-region-1): Use it.
10851 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10853 (ps-printer-name): Default to nil.
10854 (ps-printer-name-option): Default to lpr-printer-switch.
10855 (ps-print-region-function): Don't default to nil.
10856 (ps-postscript-code-directory): Simplify default.
10857 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10858 (ps-string-list, ps-eval-switch, ps-flatten-list)
10859 (ps-flatten-list-1): Remove.
10860 (ps-multibyte-buffer): Avoid setq.
10861 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10862 (print-region-function, ps-print-region-function): Don't set them here.
10864 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10866 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10867 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10868 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10869 (ido-decorations): Doc fix.
10871 * ansi-color.el: Fix old URL.
10873 2013-07-23 Michael R. Mauger <michael@mauger.com>
10875 * progmodes/sql.el: Version 3.3
10876 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10877 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10878 (sql-interactive-remove-continuation-prompt): Rewrite, use
10879 functions above. Fix continuation prompt and complete output line
10881 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10882 redirected output buffer.
10883 (sql-mode): Restore deleted code (Bug#13591).
10885 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10887 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10889 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10891 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10893 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10894 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10895 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10897 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10899 * desktop.el (desktop-clear): Simplify; remove useless checks
10900 against invalid buffer names.
10901 (desktop-list*): Use cl-list*.
10902 (desktop-buffer-info, desktop-create-buffer): Simplify.
10904 2013-07-23 Leo Liu <sdl.web@gmail.com>
10906 * bookmark.el (bookmark-make-record): Restore NAME as a default
10909 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10912 extracted from autoload--insert-text.
10913 (autoload--insert-text): Remove.
10914 (autoload--print-cookie-text): New function, extracted from
10915 autoload--insert-cookie-text.
10916 (autoload--insert-cookie-text): Remove.
10917 (autoload-generate-file-autoloads): Adjust calls accordingly.
10919 * winner.el (winner-hook-installed-p): Remove.
10920 (winner-mode): Simplify accordingly.
10922 * subr.el (add-to-list): Fix compiler-macro when `append' is
10923 not constant. Don't use `cl-member' for the base case.
10925 * progmodes/subword.el: Fix boundary case (bug#13758).
10926 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10928 (subword-backward-regexp): Make it a constant.
10929 (subword-forward-internal): Don't treat a trailing capital as the
10930 beginning of a word.
10932 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10934 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10935 global value of tabulated-list-revert-hook (bug#14930).
10937 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10939 * desktop.el: Require 'cl-lib.
10940 (desktop-before-saving-frames-functions): New hook.
10941 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10942 for frames being saved. Rename from desktop--save-minibuffer-frames.
10943 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10944 Do not save frames with non-nil `desktop-dont-save' parameter.
10945 Filter out deleted frames.
10946 (desktop--find-frame): Use cl-find-if.
10947 (desktop--select-frame): Use cl-(first|second|third) to access values
10949 (desktop--make-frame): Use cl-delete-if.
10950 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10951 (desktop-restore-frames): Use cl-(first|second|third) to access values
10952 of desktop-mini. Look for visible frame at the end, not while
10955 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10956 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10957 Use string-match-p, looking-at-p (bug#14927).
10959 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10961 * desktop.el (desktop-saved-frame-states):
10962 Rename from desktop--saved-states; all users changed.
10963 (desktop-save-frames): Rename from desktop--save-frames.
10964 Do not save state to desktop file.
10965 (desktop-save): Save desktop-saved-frame-states to desktop file
10967 (desktop-restoring-frames-p): New function.
10968 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10969 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10970 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10972 * desktop.el: Correctly restore iconified frames.
10973 (desktop--filter-iconified-position): New function.
10974 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10976 2013-07-20 Glenn Morris <rgm@gnu.org>
10978 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10979 Let `message' do the formatting.
10980 (def-gdb-preempt-display-buffer): Add explicit format.
10982 * image-dired.el (image-dired-track-original-file):
10983 Use with-current-buffer.
10984 (image-dired-track-thumbnail): Use with-current-buffer.
10985 Avoid changing point of wrong window.
10987 * image-dired.el (image-dired-track-original-file):
10988 Avoid changing point of wrong window. (Bug#14909)
10990 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10992 * progmodes/gdb-mi.el (gdb-done-or-error):
10993 Guard against "%" in gdb output. (Bug#14127)
10995 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10997 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11000 * international/mule.el (coding-system-iso-2022-flags): Fix last
11003 2013-07-20 Kenichi Handa <handa@gnu.org>
11005 * international/mule.el (coding-system-iso-2022-flags):
11006 Add `8-bit-level-4'. (Bug#8522)
11008 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11010 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11013 * net/eww.el (eww-process-text-input): Allow inputting when the
11014 point is at the start of the line, as the properties aren't
11017 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11020 2013-07-19 Richard Stallman <rms@gnu.org>
11022 * epa.el (epa-popup-info-window): Doc fix.
11024 * subr.el (split-string): New arg TRIM.
11026 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11028 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11029 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11031 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11033 * filenotify.el (file-notify--library): Rename from
11034 `file-notify-support'. Do not autoload. Adapt all uses.
11035 (file-notify-supported-p): New defun.
11037 * autorevert.el (auto-revert-use-notify):
11038 Use `file-notify-supported-p' instead of `file-notify-support'.
11040 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11042 * net/tramp.el (tramp-file-name-for-operation):
11043 Add `file-notify-supported-p'.
11045 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11047 (tramp-sh-file-name-handler-alist): Add it as handler for
11048 `file-notify-supported-p '.
11050 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11051 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11052 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11053 Add `ignore' as handler for `file-notify-*' functions.
11055 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11057 * simple.el (line-move-partial, line-move): Don't start vscroll or
11058 scroll-up if the current line is not taller than the window.
11061 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11063 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11064 highlight question marks in the method names as strings.
11065 (ruby-block-beg-keywords): Inline.
11066 (ruby-font-lock-keyword-beg-re): Extract from
11067 `ruby-font-lock-keywords'.
11069 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11071 * frame.el (blink-cursor-blinks): New defcustom.
11072 (blink-cursor-blinks-done): New defvar.
11073 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11074 (blink-cursor-timer-function): Check if number of blinks has been
11076 (blink-cursor-suspend, blink-cursor-check): New defuns.
11078 2013-07-15 Glenn Morris <rgm@gnu.org>
11080 * edmacro.el (edmacro-format-keys): Fix previous change.
11082 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11084 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11085 The hack didn't work outside English locales anyway.
11087 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11089 * simple.el (define-alternatives): Rename from alternatives-define,
11090 per RMS' suggestion.
11092 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11094 * desktop.el (desktop-restore-frames): Change default to t.
11095 (desktop-restore-in-current-display): Now offer more options.
11096 (desktop-restoring-reuses-frames): New customization option.
11097 (desktop--saved-states): Doc fix.
11098 (desktop-filter-parameters-alist): New variable, renamed and expanded
11099 from desktop--excluded-frame-parameters.
11100 (desktop--target-display): New variable.
11101 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11102 (desktop--filter-tty*, desktop--filter-*-color)
11103 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11104 (desktop--filter-save-desktop-parm)
11105 (desktop-restore-in-original-display-p): New functions.
11106 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11107 (desktop--save-minibuffer-frames): New function, inspired by a similar
11108 function from Martin Rudalics.
11109 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11110 (desktop--restore-in-this-display-p): Remove.
11111 (desktop--find-frame): Rename from desktop--find-frame-in-display
11112 and add predicate argument.
11113 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11114 (desktop--reuse-list): New variable.
11115 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11117 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11119 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11121 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11123 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11125 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11126 Highlight conversion methods on Kernel.
11128 2013-07-13 Alan Mackenzie <acm@muc.de>
11130 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11131 and comment it out. This out-commenting enables certain C++
11132 declarations to be parsed correctly.
11134 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11136 * international/mule.el (define-coding-system): Doc fix.
11138 * simple.el (default-font-height): Don't call font-info if the
11139 frame's default font didn't change since the frame was created.
11142 2013-07-13 Leo Liu <sdl.web@gmail.com>
11144 * ido.el (ido-read-file-name): Guard against non-symbol value.
11146 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11148 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11151 2013-07-13 Leo Liu <sdl.web@gmail.com>
11153 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11154 ido-set-matches call. (Bug#6852)
11156 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11158 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11159 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11161 (ruby-font-lock-keywords): Distinguish calls to functions with
11162 module-like names from module references. Highlight character
11165 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11167 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11168 (gdb-send): Handle continued commands. (Bug#14847)
11170 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11172 * desktop.el (desktop--v2s): Remove unused local variable.
11173 (desktop-save-buffer): Make defvar-local; adjust docstring.
11174 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11175 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11177 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11179 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11181 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11183 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11186 2013-07-12 Glenn Morris <rgm@gnu.org>
11188 * doc-view.el: Require cl-lib at runtime too.
11189 (doc-view-remove-if): Remove.
11190 (doc-view-search-next-match, doc-view-search-previous-match):
11193 * edmacro.el: Require cl-lib at runtime too.
11194 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11195 (edmacro-mismatch, edmacro-subseq): Remove.
11197 * shadowfile.el: Require cl-lib.
11198 (shadow-remove-if): Remove.
11199 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11202 * wid-edit.el: Require cl-lib.
11203 (widget-choose): Use cl-remove-if.
11204 (widget-remove-if): Remove.
11206 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11207 (ebrowse-delete-if-not): Remove.
11208 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11209 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11210 Use cl-delete-if-not.
11212 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11214 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11215 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11217 2013-07-12 Leo Liu <sdl.web@gmail.com>
11219 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11221 2013-07-11 Glenn Morris <rgm@gnu.org>
11223 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11224 (edebug-gensym-index, edebug-gensym):
11225 Remove reimplementation of cl-gensym.
11226 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11228 * thumbs.el: Require cl-lib at run-time too.
11229 (thumbs-gensym-counter, thumbs-gensym):
11230 Remove reimplementation of cl-gensym.
11231 (thumbs-temp-file): Use cl-gensym.
11233 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11234 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11235 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11236 (ert--union, ert--gensym-counter, ert--gensym-counter)
11237 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11238 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11239 (ert-make-test-unbound, ert--expand-should-1)
11240 (ert--expand-should, ert--should-error-handle-error)
11241 (should-error, ert--explain-equal-rec)
11242 (ert--plist-difference-explanation, ert-select-tests)
11243 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11244 Use cl-lib functions rather than reimplementations.
11246 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11248 * net/tramp.el (tramp-methods): Extend docstring.
11249 (tramp-connection-timeout): New defcustom.
11250 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11251 (with-tramp-progress-reporter): Simplify.
11252 (tramp-process-actions): Improve messages.
11254 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11255 * net/tramp-sh.el (tramp-maybe-open-connection):
11256 Use `tramp-connection-timeout'.
11257 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11260 2013-07-11 Leo Liu <sdl.web@gmail.com>
11262 * ido.el (ido-read-file-name): Conform to the requirements of
11263 read-file-name. (Bug#11861)
11264 (ido-read-directory-name): Conform to the requirements of
11265 read-directory-name.
11267 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11269 * subr.el (delay-warning): New function.
11271 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11273 * simple.el (default-line-height): New function.
11274 (line-move-partial, line-move): Use it instead of computing the
11275 line height inline.
11276 (line-move-partial): Always compute ROWH. If the last line is
11277 partially-visible, but its text is completely visible, allow
11278 cursor to enter such a partially-visible line.
11280 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11282 Improve error messages. (Bug#14808)
11284 * net/tramp.el (tramp-current-connection): New defvar, moved from
11286 (tramp-message-show-progress-reporter-message): Remove, not
11288 (tramp-error-with-buffer): Show message in minibuffer.
11289 Discard input before waiting. Reset connection timestamp.
11290 (with-tramp-progress-reporter): Improve messages.
11291 (tramp-process-actions): Use progress reporter. Delete process in
11292 case of error. Improve messages.
11294 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11295 Call `tramp-error-with-buffer' with vector and buffer.
11296 (tramp-current-connection): Remove.
11297 (tramp-maybe-open-connection): The car of
11298 `tramp-current-connection' are the first 3 slots of the vector.
11300 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11302 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11303 inside continued strings.
11305 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11307 Timestamp fixes for undo (Bug#14824).
11308 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11310 2013-07-10 Leo Liu <sdl.web@gmail.com>
11312 * files.el (require-final-newline): Allow safe local value.
11315 2013-07-09 Leo Liu <sdl.web@gmail.com>
11317 * ido.el (ido-read-directory-name): Handle fallback.
11318 (ido-read-file-name): Update DIR to ido-current-directory.
11320 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11322 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11324 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11325 "autoload". Remove "warn lower camel case" section, previously
11326 commented out. Highlight negation char. Do not highlight the
11327 target in singleton method definitions.
11329 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11331 * faces.el (tty-setup-hook): Declare the hook.
11333 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11334 and detect when a guard/pred depends on local vars (bug#14773).
11335 (pcase--u1): Adjust caller.
11337 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11339 * simple.el (line-move-partial, line-move): Account for
11341 (line-move-partial): Avoid setting vscroll when the last
11342 partially-visible line in window is of default height.
11344 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11346 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11349 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11351 * subr.el (read-quoted-char): Remove unused local variable `char'.
11353 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11355 * ediff.el (ediff-version): Version update.
11356 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11357 (ediff-merge-with-ancestor-command, ediff-directories-command)
11358 (ediff-directories3-command, ediff-merge-directories-command)
11359 (ediff-merge-directories-with-ancestor-command): New functions.
11360 All are command-line interfaces to ediff: to facilitate calling
11361 Emacs with the appropriate ediff functions invoked.
11363 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11364 (viper-save-kill-buffer): Check if buffer is modified.
11366 * viper.el (viper-version): Version update.
11367 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11369 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11371 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11372 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11373 (viper-intercept-ESC-key): Simplify.
11374 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11375 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11376 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11377 (viper-setup-ESC-to-escape): New functions.
11378 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11379 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11381 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11383 * simple.el (default-font-height, window-screen-lines):
11385 (line-move, line-move-partial): Use them instead of
11386 frame-char-height and window-text-height. This makes scrolling
11387 text smoother when the buffer's default face uses a font that is
11388 different from the frame's default font.
11390 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11392 * files.el (write-file): Do not display confirm dialog for NS,
11393 it does its own dialog, which can't be canceled (Bug#14578).
11395 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11397 * simple.el (line-move-partial): Adjust the row returned by
11398 posn-at-point for the current window-vscroll. (Bug#14567)
11400 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11402 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11403 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11406 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11408 * window.el (window-state-put-stale-windows): New variable.
11409 (window--state-put-2): Save list of windows without matching buffer.
11410 (window-state-put): Remove "bufferless" windows if possible.
11412 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11414 * simple.el (alternatives-define): Remove leftover :group keyword.
11417 2013-07-06 Leo Liu <sdl.web@gmail.com>
11419 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11420 (ido-enable-virtual-buffers): New variable.
11421 (ido-buffer-internal, ido-toggle-virtual-buffers)
11422 (ido-make-buffer-list): Use it.
11423 (ido-exhibit): Support turning on and off virtual buffers
11426 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11428 * simple.el (alternatives-define): New macro.
11430 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11432 * subr.el (read-quoted-char): Use read-key.
11433 (sit-for): Let read-event decode tty input (bug#14782).
11435 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11437 * calendar/todo-mode.el: Add handling of file deletion, both by
11438 mode command and externally. Fix various related bugs.
11439 Clarify Commentary and improve some documentation strings and code.
11440 (todo-delete-file): New command.
11441 (todo-check-file): New function.
11442 (todo-show): Handle external deletion of the file we're trying to
11443 show (bug#14688). Replace called-interactively-p by an optional
11444 prefix argument to avoid problematic interaction with catch form
11445 when byte compiled (bug#14702).
11446 (todo-quit): Handle external deletion of the archive's todo file.
11447 Make sure the buffer that was visiting the archive file is still
11448 live before trying to bury it.
11449 (todo-category-completions): Handle external deletion of any
11450 category completion files.
11451 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11452 of todo files, in case of external deletion.
11453 (todo-add-file): Replace unnecessary setq by let-binding.
11454 (todo-find-archive): Check whether there are any archives.
11455 Replace unnecessary setq by let-binding.
11456 (todo-archive-done-item): Use find-file-noselect to get the
11457 archive buffer whether or not the archive already exists.
11458 Remove superfluous code. Use file size instead of buffer-file-name to
11459 check if the archive is new; if it is, update list of archives.
11460 (todo-default-todo-file): Allow nil to be a valid value for when
11461 there are no todo files.
11462 (todo-reevaluate-default-file-defcustom): Use corrected definition
11463 of todo-default-todo-file.
11464 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11465 (todo-delete-category, todo-show-categories-table)
11466 (todo-category-number): Clarify comment.
11467 (todo-filter-items): Clarify documentation string.
11468 (todo-show-current-file, todo-display-as-todo-file)
11469 (todo-reset-and-enable-done-separator): Tweak documentation string.
11470 (todo-done-separator): Make separator length window-width, since
11471 bug#2749 is now fixed.
11473 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11475 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11476 Support both "gvfs-monitor-dir" and "inotifywait".
11477 (tramp-sh-file-inotifywait-process-filter): Rename from
11478 `tramp-sh-file-notify-process-filter'.
11479 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11480 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11482 2013-07-05 Leo Liu <sdl.web@gmail.com>
11484 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11486 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11488 * frame.el (display-pixel-height, display-pixel-width)
11489 (display-mm-height, display-mm-width): Mention behavior on
11490 multi-monitor setups in docstrings.
11491 (w32-display-monitor-attributes-list): Declare function.
11492 (display-monitor-attributes-list): Use it.
11494 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11496 * filenotify.el: New package.
11498 * autorevert.el (top): Require filenotify.el.
11499 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11501 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11502 (auto-revert-notify-handler): Use `file-notify-*' functions.
11504 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11506 * net/tramp.el (tramp-file-name-for-operation):
11507 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11509 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11510 for `file-notify-add-watch' and `file-notify-rm-watch'.
11511 (tramp-process-sentinel): Improve trace.
11512 (tramp-sh-handle-file-notify-add-watch)
11513 (tramp-sh-file-notify-process-filter)
11514 (tramp-sh-handle-file-notify-rm-watch)
11515 (tramp-get-remote-inotifywait): New defuns.
11517 2013-07-03 Juri Linkov <juri@jurta.org>
11519 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11520 call of `occur-read-primary-args' to interactive spec.
11522 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11523 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11525 2013-07-03 Matthias Meulien <orontee@gmail.com>
11527 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11528 `Buffer-menu-multi-occur'. Add it to the menu.
11529 (Buffer-menu-mode): Document it in docstring.
11530 (Buffer-menu-multi-occur): New command. (Bug#14673)
11532 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11534 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11535 keywords and built-ins.
11537 2013-07-03 Glenn Morris <rgm@gnu.org>
11539 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11541 Make info-xref checks case-sensitive by default
11542 * info.el (Info-find-node, Info-find-in-tag-table)
11543 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11544 Add option for exact case matching of nodes.
11545 * info-xref.el (info-xref): New custom group.
11546 (info-xref-case-fold): New option.
11547 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11549 2013-07-03 Leo Liu <sdl.web@gmail.com>
11551 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11553 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11555 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11556 middle of block statement initially, lower the depth. Remove
11557 FIXME comment, not longer valid. Remove middle of block statement
11558 detection, no need to do that anymore since we've been using
11559 `ruby-parse-region' here.
11561 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11563 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11565 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11567 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11569 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11571 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11572 (desktop-restore-in-current-display): New customization option.
11573 (desktop--excluded-frame-parameters): Add `font'.
11574 (desktop--save-frames): Rename from desktop--save-windows.
11575 (desktop--restore-in-this-display-p): New function.
11576 (desktop--make-full-frame): Remove unwanted width/height from
11577 full(width|height) frames.
11578 (desktop--restore-frames): Rename from desktop--restore-windows.
11579 Obey desktop-restore-current-display. Do not delete old frames or
11580 select a new frame unless we were able to restore at least one frame.
11582 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11584 * files.el (find-file-noselect): Simplify conditional expression.
11586 * textmodes/remember.el (remember-append-to-file):
11587 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11589 Add `remember-notes' function to store random notes across Emacs
11591 * textmodes/remember.el (remember-data-file): Add :set callback to
11592 affect notes buffer (if any).
11593 (remember-notes): New command.
11594 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11595 New defcustoms for the `remember-notes' function.
11596 (remember-notes-save-and-bury-buffer): New command.
11597 (remember-notes-mode-map): New variable.
11598 (remember-mode): New minor mode.
11599 (remember-notes--kill-buffer-query): New function.
11600 * startup.el (initial-buffer-choice): Add notes to custom type.
11602 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11604 * bindings.el (right-char, left-char): Don't call sit-for, this is
11605 no longer needed. Use arithmetic comparison only for numerical
11608 * international/mule-cmds.el (select-safe-coding-system):
11609 Handle the case of FROM being a string correctly. (Bug#14755)
11611 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11613 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11614 progression on degenerate tables.
11615 (shr-rescale-image): ImageMagick animated images currently don't work.
11617 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11619 Some fixes and improvements for desktop frame restoration.
11620 It is still experimental and disabled by default.
11621 * desktop.el (desktop--save-windows): Put the selected frame at
11622 the head of the list.
11623 (desktop--make-full-frame): New function.
11624 (desktop--restore-windows): Try to re-select the frame that was
11625 selected upon saving. Do not abort if some frames fail to restore,
11626 just show an error message and continue. Set up maximized frames
11627 so they have default non-maximized dimensions.
11629 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11631 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11632 Don't start heredoc inside a string or comment.
11634 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11636 * bindings.el (visual-order-cursor-movement): New defcustom.
11637 (right-char, left-char): Provide visual-order cursor motion by
11638 calling move-point-visually. Update the doc strings.
11640 2013-06-28 Kenichi Handa <handa@gnu.org>
11642 * international/mule.el (define-coding-system): New coding system
11643 properties :inhibit-null-byte-detection,
11644 :inhibit-iso-escape-detection, and :prefer-utf-8.
11645 (set-buffer-file-coding-system): If :charset-list property of
11646 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11647 appropriate for setting.
11649 * international/mule-cmds.el (select-safe-coding-system):
11650 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11651 multibyte characters, return utf-8 (or one of its siblings).
11653 * international/mule-conf.el (prefer-utf-8): New coding system.
11654 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11657 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11659 * net/shr.el (shr-render-region): New function.
11661 * net/eww.el: Autoload `eww-browse-url'.
11663 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11665 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11666 Adapt to `package-desc-version' being a list.
11667 Use `package--ac-desc-version' to retrieve version from a package
11670 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11672 New experimental feature to save&restore window and frame setup.
11673 * desktop.el (desktop-save-windows): New defcustom.
11674 (desktop--saved-states): New var.
11675 (desktop--excluded-frame-parameters): New defconst.
11676 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11677 (desktop--restore-windows, desktop--save-windows): New functions.
11678 (desktop-save): Call `desktop--save-windows'.
11679 (desktop-read): Call `desktop--restore-windows'.
11681 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683 * net/shr.el (add-face-text-property): Remove compat definition.
11685 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11687 * info.el (Info-try-follow-nearest-node): Move search for footnote
11688 above search for node name to prevent missing a footnote (bug#14717).
11690 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11692 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11694 2013-06-27 Leo Liu <sdl.web@gmail.com>
11696 * net/eww.el (eww-read-bookmarks): Check file size.
11698 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11700 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11701 advice--pending if newdef is nil or an autoload (bug#13820).
11702 (advice-mapc): New function.
11704 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11706 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11708 (eww-mode-map): Add a menu bar.
11709 (eww-add-bookmark): New command.
11710 (eww-bookmark-mode): New mode and commands.
11711 (eww-add-bookmark): Remove newlines from the title.
11712 (eww-bookmark-browse): Don't bug out if it's the only window.
11714 2013-06-26 Glenn Morris <rgm@gnu.org>
11716 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11717 (hfy-size): Handle ttys. (Bug#14668)
11719 * info-xref.el: Update for Texinfo 5 change in *note format.
11720 (info-xref-node-re, info-xref-note-re): New constants.
11721 (info-xref-check-buffer): Use info-xref-note-re.
11723 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11725 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11727 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11728 nil terminate the loop (bug#14718).
11730 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732 * net/eww.el: Rework history traversal. When going forward/back,
11733 put these actions into the history, too, so that they can be
11735 (eww-render): Move the history reset to the correct buffer.
11737 2013-06-25 Juri Linkov <juri@jurta.org>
11739 * files-x.el (modify-dir-local-variable): Change the header comment
11740 in the file with directory local variables. (Bug#14692)
11742 * files-x.el (read-file-local-variable-value): Add `default'.
11745 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11747 * net/eww.el (eww-make-unique-file-name): Create a unique file
11748 name before saving to entering `y' accidentally asynchronously.
11750 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11752 * net/eww.el (eww-download): New command and keystroke.
11754 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11756 * net/eww.el (eww-copy-page-url): Change name of command.
11758 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11759 be more consistent with Info and dired.
11761 * net/eww.el (eww-mode-map): Ditto.
11763 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11765 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11766 packages from archives.
11767 (package-archive-contents): Change format; include obsolete packages.
11768 (package-desc): Use `dir' to mark builtin packages.
11769 (package--from-builtin): Set the `dir' field to `builtin'.
11770 (generated-autoload-file, version-control): Declare.
11771 (package-compute-transaction): Change first arg and return value to be
11772 lists of package-descs. Adjust to new package-archive-contents format.
11773 (package--add-to-archive-contents): Adjust to new
11774 package-archive-contents format.
11775 (package-download-transaction): Arg is now a list of package-descs.
11776 (package-install): If `pkg' is a package name, pass it as
11777 a requirement, so it is subject to the usual (e.g. disabled) checks.
11778 (describe-package): Accept package-desc as well.
11779 (describe-package-1): Describe a specific package-desc. Add links to
11780 other package-descs for the same package name.
11781 (package-menu-describe-package): Pass the actual package-desc.
11782 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11784 (package-desc-status): New function.
11785 (package-menu--refresh): New function, extracted
11786 from package-menu--generate.
11787 (package-menu--generate): Use it.
11788 (package-delete): Update package-alist.
11789 (package-menu-execute): Don't call package-initialize.
11791 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11792 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11793 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11794 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11795 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11796 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11798 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11800 * window.el (window--state-get-1): Workaround for bug#14527.
11801 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11803 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805 * net/eww.el (eww-back-url): Implement the history by stashing all
11806 the data into a list.
11807 (eww-forward-url): Allow going forward in the history, too.
11809 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11812 for values and use read--expression for expressions (bug#14710).
11813 (read-file-local-variable): Avoid setq.
11814 (read-file-local-variable-mode): Use minor-mode-list.
11816 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11818 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11821 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11823 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11824 Update imenu-support when dialect changes.
11826 2013-06-25 Leo Liu <sdl.web@gmail.com>
11828 * ido.el (ido-read-internal): Allow forward slash on windows.
11830 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11832 * net/eww.el (eww): Start of strings is \\`, not ^.
11834 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11836 * net/shr.el (shr-browse-url): Fix interactive spec.
11838 * net/eww.el (eww): Add a trailing slash to domain names.
11840 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11842 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11844 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846 * net/shr.el (shr-browse-url): Use an external browser if given a
11849 * net/eww.el (eww-external-browser): Move to shr.
11851 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11853 * net/eww.el (eww): Work more correctly for file: URLs.
11854 (eww-detect-charset): Allow quoted charsets.
11855 (eww-yank-page-url): New command and keystroke.
11857 2013-06-24 Daiki Ueno <ueno@gnu.org>
11859 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11860 file name of gpg executable.
11861 (epg-context-program): New function.
11862 (epg-context-home-directory): New function.
11863 (epg-context-set-program): New function.
11864 (epg-context-set-home-directory): New function.
11865 (epg--start): Use `epg-context-program' instead of
11867 (epg--list-keys-1): Likewise.
11869 2013-06-24 Leo Liu <sdl.web@gmail.com>
11871 * ido.el (ido-read-internal): Fix bug#14620.
11873 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11875 * faces.el (face-documentation): Simplify.
11876 (read-face-attribute, tty-find-type, x-resolve-font-name):
11877 Use `string-match-p'.
11878 (list-faces-display): Use `string-match-p'. Simplify.
11879 (face-spec-recalc): Check face to avoid face alias loops.
11880 (read-color): Use `string-match-p' and non-capturing parenthesis.
11882 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11884 * net/shr.el (shr-rescale-image): Use the new
11885 :max-width/:max-height functionality.
11887 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11889 * net/eww.el (eww-search-prefix): New variable.
11891 (eww-external-browser): New variable.
11892 (eww-mode-map): New keystroke.
11893 (eww-browse-with-external-browser): New command.
11895 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11897 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11899 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11900 Don't skip aligning the next header field when padding is 0;
11901 otherwise, field width is not respected unless the title is as
11904 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11906 * emacs-lisp/package.el (package-el-version): Remove.
11907 (package-process-define-package): Fix inf-loop.
11908 (package-install): Allow symbols as arguments again.
11910 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11912 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11913 add some more keyword-like methods.
11914 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11916 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11918 * bs.el (bs-buffer-show-mark): Make defvar-local.
11919 (bs-mode): Use setq-local.
11921 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11922 (emacs-lock--try-unlocking): Make defvar-local.
11924 2013-06-22 Glenn Morris <rgm@gnu.org>
11926 * play/cookie1.el (cookie-apropos): Minor simplification.
11928 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11930 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11932 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11933 `regexp-opt', it breaks the build during dumping.
11935 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11937 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11938 Highlight keyword-like methods on Kernel and Module with
11939 font-lock-builtin-face.
11940 (auto-mode-alist): Consolidate different entries into one regexp
11941 and add more *file-s.
11943 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11945 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11947 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11948 (diary-entry): Use it in the action of this button type instead of
11951 * calendar/todo-mode.el: New version.
11952 (todo-add-category): Append new category to end of file and give
11953 it the highest number, instead of putting it at the beginning and
11954 giving it 0. Incorporate noninteractive functionality.
11955 (todo-forward-category): Adapt to 1-based category numbering.
11956 Allow skipping over archived categories.
11957 (todo-backward-category): Derive from todo-forward-category.
11958 (todo-backward-item, todo-forward-item): Make noninteractive and
11959 delegate interactive part to new commands. Make sensitive to done items.
11960 (todo-categories): Make value an alist of category names and
11961 vectors of item counts.
11962 (todo-category-beg): Make a defconst.
11963 (todo-category-number): Use 1 instead of 0 as initial value.
11964 (todo-category-select): Make sensitive to overlays, optional item
11965 highlighting and done items.
11966 (todo-delete-item): Make sensitive to overlays and marked and done items.
11967 (todo-edit-item): Make sensitive to overlays and editing of
11968 date/time header optional. Add format checks.
11969 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11970 no-op if point is not on an item. Advertise using todo-edit-quit.
11971 (todo-edit-mode): Make sensitive to new format, font-locking, and
11972 multiple todo files.
11973 (todo-insert-item, todo-insert-item-here): Derive from
11974 todo-basic-insert-item and extend functionality.
11975 (todo-item-end, todo-item-start): Make sensitive to done items.
11976 (todo-item-string): Don't return text properties. Restore point.
11977 (todo-jump-to-category): Make sensitive to multiple todo files and
11978 todo archives. Use extended category completion.
11979 (todo-lower-item, todo-raise-item): Rename to *-priority and
11980 derive from todo-set-item-priority.
11981 (todo-mode): Derive from special-mode. Make sensitive to new
11982 format, font-locking and multiple todo files. Make read-only.
11983 (todo-mode-map): Don't suppress digit keys, so they can supply
11984 prefix arguments. Add many new key bindings.
11985 (todo-prefix): Insert as an overlay instead of file text.
11986 Change semantics from diary date expression to purely visual mark.
11987 (todo-print): Rename to todo-print-buffer. Make buffer display
11988 features printable. Remove option to restrict number of items
11989 printed. Add option to print to file.
11990 (todo-print-function): Rename to todo-print-buffer-function.
11991 (todo-quit): Extend to handle exiting new todo modes.
11992 (todo-remove-item): Make sensitive to overlays.
11993 (todo-save): Extend to buffers of filtered items.
11994 (todo-show): Make sensitive to done items, multiple todo files and
11995 new todo modes. Offer to convert legacy todo file before creating
11996 first new todo file.
11997 (todo-show-priorities): Rename to todo-top-priorities.
11998 Change semantics of value 0.
11999 (todo-top-priorities): Rename to todo-filter-top-priorities,
12000 derive from todo-filter-items and extend functionality.
12001 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12002 and extend functionality to other types of filtered items.
12003 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12004 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12005 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12006 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12007 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12008 (todo-edit-mode-hook, todo-entry-prefix-function)
12009 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12010 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12011 (todo-initials, todo-insert-threshold, todo-item-string-start)
12012 (todo-line-string, todo-menu, todo-mode-hook)
12013 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12014 (todo-print-priorities, todo-remove-separator)
12015 (todo-save-top-priorities-too, todo-string-count-lines)
12016 (todo-string-multiline-p, todo-time-string-format)
12017 (todo-tmp-buffer-name): Remove.
12018 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12019 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12020 (todo-edit-category-diary-inclusion)
12021 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12022 (todo-edit-file, todo-edit-item-date-day)
12023 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12024 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12025 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12026 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12027 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12028 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12029 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12030 (todo-filter-top-priorities-multifile, todo-find-archive)
12031 (todo-find-filtered-items-file, todo-go-to-source-item)
12032 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12033 (todo-jump-to-archive-category, todo-lower-category)
12034 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12035 (todo-move-category, todo-move-item, todo-next-button)
12036 (todo-next-item, todo-padded-string, todo-powerset)
12037 (todo-previous-button, todo-previous-item)
12038 (todo-print-buffer-to-file, todo-raise-category)
12039 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12040 (todo-set-category-number, todo-set-item-priority)
12041 (todo-set-top-priorities-in-category)
12042 (todo-set-top-priorities-in-file, todo-show-categories-table)
12043 (todo-sort-categories-alphabetically-or-numerically)
12044 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12045 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12046 (todo-toggle-item-header, todo-toggle-item-highlighting)
12047 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12048 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12049 (todo-unarchive-items, todo-unmark-category): New commands.
12050 (todo-absolute-file-name, todo-add-to-buffer-list)
12051 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12052 (todo-basic-insert-item, todo-category-completions)
12053 (todo-category-number, todo-category-string-matcher-1)
12054 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12055 (todo-check-format, todo-clear-matches)
12056 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12057 (todo-current-category, todo-date-string-matcher)
12058 (todo-define-insertion-command, todo-diary-expired-matcher)
12059 (todo-diary-goto-entry, todo-diary-item-p)
12060 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12061 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12062 (todo-done-item-section-p, todo-done-separator)
12063 (todo-done-string-matcher, todo-files, todo-filter-items)
12064 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12065 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12066 (todo-insert-category-line, todo-insert-item-from-calendar)
12067 (todo-insert-sort-button, todo-insert-with-overlays)
12068 (todo-insertion-command-name, todo-insertion-key-bindings)
12069 (todo-label-to-key, todo-longest-category-name-length)
12070 (todo-make-categories-list, todo-mode-external-set)
12071 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12072 (todo-modes-set-3, todo-multiple-filter-files)
12073 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12074 (todo-read-category, todo-read-date, todo-read-dayname)
12075 (todo-read-file-name, todo-read-time)
12076 (todo-reevaluate-category-completions-files-defcustom)
12077 (todo-reevaluate-default-file-defcustom)
12078 (todo-reevaluate-filelist-defcustoms)
12079 (todo-reevaluate-filter-files-defcustom)
12080 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12081 (todo-reset-done-separator, todo-reset-done-separator-string)
12082 (todo-reset-done-string, todo-reset-global-current-todo-file)
12083 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12084 (todo-reset-prefix, todo-set-categories)
12085 (todo-set-date-from-calendar, todo-set-show-current-file)
12086 (todo-set-top-priorities, todo-short-file-name)
12087 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12088 (todo-total-item-counts, todo-update-buffer-list)
12089 (todo-update-categories-display, todo-update-categories-sexp)
12090 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12092 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12094 (todo-categories, todo-display, todo-edit, todo-faces)
12095 (todo-filtered): New defgroups.
12096 (todo-archived-only, todo-button, todo-category-string, todo-date)
12097 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12098 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12099 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12100 (todo-add-item-if-new-category, todo-always-add-time-string)
12101 (todo-categories-align, todo-categories-archived-label)
12102 (todo-categories-category-label, todo-categories-diary-label)
12103 (todo-categories-done-label, todo-categories-number-separator)
12104 (todo-categories-todo-label, todo-categories-totals-label)
12105 (todo-category-completions-files, todo-completion-ignore-case)
12106 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12107 (todo-done-separator-string, todo-done-string)
12108 (todo-files-function, todo-filter-done-items, todo-filter-files)
12109 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12110 (todo-initial-category, todo-initial-file, todo-item-mark)
12111 (todo-legacy-date-time-regexp, todo-mode-line-function)
12112 (todo-nondiary-marker, todo-number-prefix)
12113 (todo-print-buffer-function, todo-show-current-file)
12114 (todo-show-done-only, todo-show-first, todo-show-with-done)
12115 (todo-skip-archived-categories, todo-top-priorities-overrides)
12116 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12117 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12119 (todo-category-done, todo-date-pattern, todo-date-string-start)
12120 (todo-diary-items-buffer, todo-done-string-start)
12121 (todo-filtered-items-buffer, todo-item-start)
12122 (todo-month-abbrev-array, todo-month-name-array)
12123 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12124 (todo-top-priorities-buffer): New defconsts.
12125 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12126 (todo-categories-with-marks, todo-category-string-face)
12127 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12128 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12129 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12130 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12131 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12132 (todo-font-lock-keywords, todo-global-current-todo-file)
12133 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12134 (todo-insertion-commands-args)
12135 (todo-insertion-commands-args-genlist)
12136 (todo-insertion-commands-names, todo-insertion-map)
12137 (todo-key-bindings-t, todo-key-bindings-t+a)
12138 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12139 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12140 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12141 (todo-visited): New variables.
12143 2013-06-21 Glenn Morris <rgm@gnu.org>
12145 * play/cookie1.el (cookie-apropos): Add optional display argument.
12146 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12147 (psychoanalyze-pinhead): Use cookie-doctor.
12149 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12151 * emacs-lisp/package.el (tar-get-file-descriptor)
12152 (tar--extract): Declare.
12154 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12156 Extend flymake's warning predicate to be a function (bug#14217).
12157 * progmodes/flymake.el (flymake-warning-predicate): New.
12158 (flymake-parse-line): Use it.
12159 (flymake-warning-re): Make obsolete alias to
12160 `flymake-warning-predicate'.
12162 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12164 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12165 (package-obsolete-list): Remove.
12166 (package-activate): Remove min-version argument. Add `force' argument.
12167 Adjust to new package-alist format.
12168 (package-mark-obsolete): Remove.
12169 (package-unpack): Force reload of the package's autoloads.
12170 (package-installed-p): Check builtins if the installed package is not
12172 (package-initialize): Don't reset package-obsolete-list.
12173 Don't specify which package version to activate.
12174 (package-process-define-package, describe-package-1)
12175 (package-menu--generate): Adjust to new package-alist format.
12177 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12179 * allout-widgets.el (allout-widgets-mode-off)
12180 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12181 (allout-widgets-post-command-business)
12182 (allout-widgets-after-copy-or-kill-function)
12183 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12184 (allout-decorate-item-and-context)
12185 (allout-graphics-modification-handler): Fix typos in docstrings.
12186 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12188 * cmuscheme.el (scheme-start-file): Doc fix.
12189 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12190 (scheme-input-filter): Use `string-match-p'.
12192 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12194 * dired-x.el: Use Dired consistently in docstrings.
12196 * dired.el: Use Dired consistently in docstrings.
12197 (dired-readin, dired-mode): Use `setq-local'.
12198 (dired-switches-alist): Make defvar-local.
12199 (dired-buffers-for-dir): Use `zerop'.
12200 (dired-safe-switches-p, dired-switches-escape-p)
12201 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12202 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12203 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12204 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12205 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12206 (dired-toggle-marks, dired-mark-files-containing-regexp)
12207 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12208 (dired-flag-auto-save-files, dired-flag-backup-files):
12209 Use `looking-at-p'.
12210 (dired-mark-files-regexp, dired-build-subdir-alist):
12211 Use `string-match-p', `looking-at-p'.
12213 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12214 (direct-print-region-helper): Use `string-match-p'.
12216 2013-06-21 Leo Liu <sdl.web@gmail.com>
12218 * comint.el (comint-redirect-results-list-from-process):
12221 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12223 * net/eww.el (eww-update-header-line-format): Quote % characters.
12225 2013-06-21 Glenn Morris <rgm@gnu.org>
12227 * play/cookie1.el (cookie): New custom group.
12228 (cookie-file): New option.
12229 (cookie-check-file): New function.
12230 (cookie): Make it interactive. Make start and end messages optional.
12231 Interactively, display the result. Default to cookie-file.
12232 (cookie-insert): Default to cookie-file.
12233 (cookie-snarf): Make start and end messages optional.
12234 Default to cookie-file. Use with-temp-buffer.
12235 (cookie-read): Rename from read-cookie.
12236 Make start and end messages optional. Default to cookie-file.
12237 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12238 Do not autoload it.
12239 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12240 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12242 2013-06-21 Leo Liu <sdl.web@gmail.com>
12244 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12246 2013-06-21 Glenn Morris <rgm@gnu.org>
12248 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12250 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12251 Daniel Hackney <dan@haxney.org>
12253 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12254 Consolidate the single-file vs tarball code.
12255 (package-desc-suffix): New function.
12256 (package-desc-full-name): Don't bother inlining it.
12257 (package-load-descriptor): Return the new package-desc.
12258 (package-mark-obsolete): Remove unused arg `package'.
12259 (package-unpack): Make it work for single files as well.
12260 Make it update package-alist.
12261 (package--make-autoloads-and-stuff): Rename from
12262 package--make-autoloads-and-compile. Don't compile any more.
12263 (package--compile): New function.
12264 (package-generate-description-file): New function, extracted from
12265 package-unpack-single.
12266 (package-unpack-single): Remove.
12267 (package--with-work-buffer): Add indentation and debugging info.
12268 (package-download-single): Remove.
12269 (package-install-from-archive): Rename from package-download-tar, make
12270 it take a pkg-desc, and make it work for single files as well.
12271 (package-download-transaction): Simplify.
12272 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12273 external tar program.
12274 (package-install-from-buffer): Remove `pkg-desc' argument.
12275 Use package-tar-file-info for tar-mode buffers.
12276 (package-install-file): Simplify accordingly.
12277 (package-archive-base): Change to take a pkg-desc.
12278 * tar-mode.el (tar--check-descriptor): New function, extracted from
12279 tar-get-descriptor.
12280 (tar-get-descriptor): Use it.
12281 (tar-get-file-descriptor): New function.
12282 (tar--extract): New function, extracted from tar-extract.
12283 (tar--extract): Use it.
12284 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12285 case the summary uses non-ascii. Adjust to new calling convention of
12286 package-tar-file-info.
12288 2013-06-21 Leo Liu <sdl.web@gmail.com>
12290 * comint.el (comint-redirect-results-list-from-process):
12291 Fix random delay. (Bug#14681)
12293 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12295 * profiler.el (profiler-format-number): Use log, not log10.
12297 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12299 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12301 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12303 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12304 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12306 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12307 (AUTOGENEL): ... here.
12308 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12309 (cl--defsubst-expand): Use it.
12311 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12313 * subr.el (log10): Move here from C code, and declare as obsolete.
12314 All uses of (log10 X) replaced with (log X 10).
12316 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12318 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12319 Declare with `defvar-local'.
12320 (tabulated-list-use-header-line, tabulated-list-entries)
12321 (tabulated-list-padding, tabulated-list-printer)
12322 (tabulated-list-sort-key): Declare with `defvar-local'.
12323 (tabulated-list-init-header, tabulated-list-print-fake-header):
12326 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12328 * arc-mode.el (archive-mode): Add `archive-write-file' to
12329 `write-contents-functions' also for remote files. (Bug#14652)
12331 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12333 * cus-edit.el (custom-commands): Fix typos.
12334 (custom-display): Fix tooltip text.
12335 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12336 Fix typos in docstrings.
12337 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12338 (custom-unlispify-menu-entry, custom-magic-value-create)
12339 (custom-add-see-also, custom-group-value-create): Use ?\s.
12340 (custom-guess-type, customize-apropos, editable-field)
12341 (custom-face-value-create): Use `string-match-p'.
12342 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12344 * custom.el (custom-load-symbol): Use `string-match-p'.
12346 * ansi-color.el: Convert to lexical binding.
12347 (ansi-colors): Fix URL.
12348 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12349 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12350 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12352 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12356 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12358 2013-06-19 Tom Tromey <tromey@redhat.com>
12360 * net/eww.el (eww-top-url): Remove.
12361 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12362 (eww-render): Set new variables. Don't set eww-top-url.
12363 (eww-handle-link): Handle "prev", "home", and "contents".
12364 Downcase the rel text.
12365 (eww-top-url): Choose best top URL.
12367 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12369 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12370 relying in widget.el. Using widget.el leads to too many
12371 user interface inconsistencies.
12372 (eww-self-insert): Implement entering commands in text fields.
12373 (eww-process-text-input): New function to make text input field editing
12375 (eww-submit): Rewrite to use the new-style form methods.
12376 (eww-select-display): Display the correct selected item.
12377 (eww-change-select): Implement changing the select value.
12378 (eww-toggle-checkbox): Implement radio/checkboxes.
12379 (eww-update-field): Fix compilation error.
12380 (eww-tag-textarea): Implement <textarea>.
12382 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12383 we don't shadow mode-specific bindings.
12385 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12388 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12390 2013-06-19 Glenn Morris <rgm@gnu.org>
12392 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12394 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12396 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12399 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12401 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403 * net/browse-url.el (browse-url-browser-function):
12404 `eww-browse-url' has the right calling signature, `eww' does not.
12406 2013-06-19 Glenn Morris <rgm@gnu.org>
12408 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12409 Only eval autoloaded macros.
12410 (byte-compile-autoload): Only give the macro warning for macros.
12412 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12413 (ps-underlined-faces): Declare.
12415 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12416 (speedbar-add-supported-extension): Declare.
12418 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12419 Don't include a date stamp in the header of the generated file;
12420 it leads to needless differences between output files.
12422 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12424 * net/secrets.el (secrets-struct-secret-content-type):
12425 Replace check of introspection data by a test call of "CreateItem".
12426 Some servers do not offer introspection.
12428 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12430 * electric.el (electric-pair-mode): Improve interaction with
12431 electric-layout-mode.
12432 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12433 (electric-pair-syntax): Use text-mode-syntax-table in comments
12435 (electric-pair--insert): New function.
12436 (electric-pair-post-self-insert-function): Use it and
12437 electric--after-char-pos.
12439 2013-06-19 Leo Liu <sdl.web@gmail.com>
12441 * progmodes/octave.el (octave-help): Fix regexp.
12443 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12445 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12446 (shr-table-horizontal-line): Allow nil as a value, and change the
12448 (shr-insert-table-ruler): Respect the nil value.
12450 2013-06-18 Tom Tromey <tromey@barimba>
12452 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12454 (eww-open-file): New defun.
12455 (eww-render): Initialize new variables.
12456 (eww-display-html): Handle "link" and "a".
12457 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12458 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12459 (eww-back-url): Rename from eww-previous-url.
12460 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12463 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12465 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12466 Distinguish ternary operator tokens from slash symbol and slash
12469 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12471 Convert symbol prettification into minor mode and global minor mode.
12473 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12474 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12475 (prettify-symbols--keywords): Rename from
12476 `prog-prettify-symbols-alist' and make a local defvar.
12477 (prettify-symbols--compose-symbol): Rename from
12478 `prog--prettify-font-lock-compose-symbol'.
12479 (prettify-symbols--make-keywords): Rename from
12480 `prog-prettify-font-lock-symbols-keywords' and simplify.
12481 (prog-prettify-install): Remove.
12482 (prettify-symbols-mode): New minor mode, based on
12483 `prog-prettify-install'.
12484 (turn-on-prettify-symbols-mode): New function.
12485 (global-prettify-symbols-mode): New globalized minor mode.
12487 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12488 * progmodes/cfengine.el (cfengine3-mode):
12489 * progmodes/perl-mode.el (perl-mode): Don't call
12490 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12492 2013-06-18 Juri Linkov <juri@jurta.org>
12494 * files-x.el (modify-file-local-variable-message): New function.
12495 (modify-file-local-variable)
12496 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12497 and call `modify-file-local-variable-message' when it's non-nil.
12498 (add-file-local-variable, delete-file-local-variable)
12499 (add-file-local-variable-prop-line)
12500 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12501 and use it. (Bug#9820)
12503 2013-06-18 Juri Linkov <juri@jurta.org>
12505 * emulation/vi.el (vi-shell-op):
12506 * emulation/vip.el (vip-execute-com, ex-command):
12507 * emulation/viper-cmd.el (viper-exec-bang):
12508 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12509 the call of `shell-command-on-region'. (Bug#14637)
12511 * simple.el (shell-command-on-region): Doc fix.
12513 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12515 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12518 2013-06-18 Glenn Morris <rgm@gnu.org>
12520 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12522 * newcomment.el (comment-search-forward, comment-search-backward):
12523 Doc fix. (Bug#14376)
12525 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12527 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12528 (buffer-face-mode-invoke): Doc fix.
12530 2013-06-18 Matthias Meulien <orontee@gmail.com>
12532 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12533 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12535 2013-06-18 Glenn Morris <rgm@gnu.org>
12537 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12538 Replace obsolete function generic-make-keywords with its expansion.
12540 * progmodes/python.el (ffap-alist): Declare.
12542 * textmodes/reftex.el (bibtex-mode-map): Declare.
12544 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12546 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12547 (package-unpack, package-unpack-single): Return the pkg-dir.
12548 (package-download-transaction): Use it to update package-alist.
12550 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12555 2013-06-17 Juri Linkov <juri@jurta.org>
12557 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12559 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12561 * emacs-lisp/package.el (package-load-descriptor):
12562 Remove `with-syntax-table' call, `read' doesn't need it.
12563 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12565 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12567 * startup.el (command-line): Expand package name returned by
12568 `package--description-file' (bug#14639).
12570 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12572 * emacs-lisp/package.el (package-load-descriptor): Do not call
12573 `emacs-lisp-mode', just use its syntax table.
12575 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12577 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12578 `font-lock-extra-managed-props' if any prettifying keyword is added.
12579 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12580 (prog-mode): Use `setq-local'.
12582 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12584 * international/characters.el (standard-case-table): Set syntax of ?»
12585 and ?« to punctuation.
12587 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12589 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12590 Save relevant match data before calling `syntax-ppss' (bug#14595).
12592 2013-06-15 Juri Linkov <juri@jurta.org>
12594 * files-x.el (modify-file-local-variable-prop-line): Add local
12595 variables to the end of the existing comment on the first line.
12596 Use `file-auto-mode-skip' to skip interpreter magic line,
12597 and also skip XML declaration.
12599 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12601 * startup.el (package--builtin-versions): New var.
12602 (package-subdirectory-regexp): Remove.
12603 (package--description-file): Hard code its value instead.
12605 * emacs-lisp/package.el: Don't activate packages older than builtin.
12606 (package-obsolete-list): Rename from package-obsolete-alist, and make
12607 it into a simple list of package-desc.
12608 (package-strip-version): Remove.
12609 (package-built-in-p): Use package--builtin-versions.
12610 (package-mark-obsolete): Simplify.
12611 (package-process-define-package): Mark it obsolete if older than the
12613 (package-handle-response): Use line-end-position.
12614 (package-read-archive-contents, package--download-one-archive):
12616 (package--add-to-archive-contents): Skip if older than the builtin or
12618 (package-menu-describe-package): Fix last change.
12619 (package-list-unversioned): New var.
12620 (package-menu--generate): Use it.
12622 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12623 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12624 (autoload-builtin-package-versions): New variable.
12625 (autoload-generate-file-autoloads): Use them.
12626 Remove the list of autoloaded functions/macros from the
12627 (autoload...) comments.
12629 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12631 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12633 * simple.el (line-move-partial): Don't jump to the next screen
12634 line as soon as it becomes visible. Instead, continue enlarging
12635 the vscroll until the portion of a tall screen line that's left on
12636 display is about the height of the frame's default font.
12639 2013-06-15 Glenn Morris <rgm@gnu.org>
12641 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12642 compilation-error-regexp-alist void, or local while let-bound.
12644 * progmodes/make-mode.el (makefile-mode-syntax-table):
12645 Treat "=" as punctuation. (Bug#14614)
12647 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12649 * help-fns.el (describe-variable):
12650 Add extra line for permanent-local variables.
12652 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12654 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12655 Add export, import, library. (Bug#9164)
12656 (library): Set indent function.
12658 2013-06-14 Glenn Morris <rgm@gnu.org>
12660 * term/xterm.el (xterm--query):
12661 Stop after first matching handler. (Bug#14615)
12663 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12665 Add support for dired in saveplace.
12666 * dired.el (dired-initial-position-hook): New variable.
12667 (dired-initial-position): Call hook to place cursor position.
12668 * saveplace.el (save-place-to-alist): Add dired position.
12669 (save-place-dired-hook): New function.
12671 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12673 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12674 through a symbol rather than letrec.
12676 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12677 (package-desc): Add `dir' field.
12678 (package-desc-full-name): New function.
12679 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12680 (package-maybe-load-descriptor): Remove.
12681 (package-load-all-descriptors): Just call package-load-descriptor.
12682 (package--disabled-p): New function.
12683 (package-desc-vers, package-desc-doc): Remove aliases.
12684 (package--dir): Remove function.
12685 (package-activate): Check if a package is disabled.
12686 (package-process-define-package): New function, extracted from
12688 (define-package): Turn into a place holder.
12689 (package-unpack-single, package-tar-file-info):
12690 Use package--description-file.
12691 (package-compute-transaction): Use package--disabled-p.
12692 (package-download-transaction): Don't call
12693 package-maybe-load-descriptor since they're all loaded anyway.
12694 (package-install): Change argument to be a pkg-desc.
12695 (package-delete): Use a single pkg-desc argument.
12696 (describe-package-1): Use package-desc-dir instead of package--dir.
12697 Use package-desc property instead of package-symbol.
12698 (package-install-button-action): Adjust accordingly.
12699 (package--push): Rewrite.
12700 (package-menu--print-info): Adjust accordingly. Change the ID format
12702 (package-menu-describe-package, package-menu-get-status)
12703 (package-menu--find-upgrades, package-menu-mark-upgrades)
12704 (package-menu-execute, package-menu--name-predicate):
12705 Adjust accordingly.
12706 * startup.el (package--description-file): New function.
12707 (command-line): Use it.
12708 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12709 Use package-desc-version.
12711 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12712 (byte-compile-preprocess): Use it.
12713 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12714 can't quite recognize.
12715 (byte-compile-add-to-list): Remove.
12716 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12717 (cconv-closure-convert): Add assertion.
12719 * emacs-lisp/map-ynp.el: Use lexical-binding.
12720 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12721 Factor out some repeated code.
12723 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12725 * subr.el (with-eval-after-load): New macro.
12726 (eval-after-load): Allow form to be a function.
12727 take advantage of lexical-binding.
12728 (do-after-load-evaluation): Use dolist and adjust to new format.
12729 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12731 2013-06-13 Juri Linkov <juri@jurta.org>
12733 * replace.el (perform-replace): Display "symbol " and other search
12734 modes from `isearch-message-prefix' in the *Help* buffer.
12736 * isearch.el (isearch-query-replace): Add " symbol" and other
12737 possible search modes from `isearch-message-prefix' to the prompt.
12738 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12739 when reading a regexp to collect.
12741 2013-06-13 Juri Linkov <juri@jurta.org>
12743 * isearch.el (word-search-regexp): Match whitespace if the search
12744 string begins or ends in whitespace. The LAX arg is applied to
12745 both ends of the search string. Use `regexp-quote' and explicit
12746 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12747 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12748 boundaries are replaced with symbol boundaries, and characters
12749 between symbols match non-word non-symbol syntax. (Bug#14602)
12751 2013-06-13 Juri Linkov <juri@jurta.org>
12753 * isearch.el (isearch-del-char): Don't exceed the length of
12754 `isearch-string' by the prefix arg. (Bug#14563)
12756 2013-06-13 Juri Linkov <juri@jurta.org>
12758 * isearch.el (isearch-yank-word, isearch-yank-line)
12759 (isearch-char-by-name, isearch-quote-char)
12760 (isearch-printing-char, isearch-process-search-char):
12761 Add optional count prefix arg. (Bug#14563)
12763 * international/isearch-x.el
12764 (isearch-process-search-multibyte-characters):
12765 Add optional count prefix arg.
12767 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12769 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12770 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12773 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12775 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12777 2013-06-13 Glenn Morris <rgm@gnu.org>
12779 * startup.el (tty-handle-args):
12780 Don't just discard "--" and anything after. (Bug#14608)
12782 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12784 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12786 Implement changes in Secret Service API. Make it backward compatible.
12787 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12788 (secrets-create-item): Use it. Prefix properties with interface.
12790 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12792 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12793 (term-emulate-terminal): Respect term-suppress-hard-newline.
12795 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12797 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12798 Only remove a `thumb-file' overlay. (Bug#14548)
12800 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12802 * mail/reporter.el (reporter-submit-bug-report):
12803 Handle missing package-name. (Bug#14600)
12805 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12807 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12808 (reftex-citation-prompt, reftex-default-bibliography)
12809 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12810 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12811 (reftex-bib-sort-author, reftex-bib-sort-year)
12812 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12813 (reftex-extract-bib-entries-from-thebibliography)
12814 (reftex-get-bibkey-default, reftex-get-bib-names)
12815 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12816 (reftex-format-bib-entry, reftex-parse-bibitem)
12817 (reftex-format-bibitem, reftex-do-citation)
12818 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12819 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12820 (reftex-insert-bib-matches, reftex-format-citation)
12821 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12822 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12823 existing comments into docstrings.
12825 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12827 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12829 2013-06-12 Andreas Schwab <schwab@suse.de>
12831 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12832 for auto-save files.
12834 2013-06-12 Glenn Morris <rgm@gnu.org>
12836 * ido.el (ido-delete-ignored-files): Remove.
12837 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12838 Go back to calling ido-ignore-item-p directly.
12840 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12842 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12844 * ido.el (ido-delete-ignored-files): New function,
12845 split from ido-make-file-list-1.
12846 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12847 (ido-make-file-list-1): Use ido-delete-ignored-files.
12849 2013-06-12 Leo Liu <sdl.web@gmail.com>
12851 * progmodes/octave.el (inferior-octave-startup)
12852 (inferior-octave-completion-table)
12853 (inferior-octave-track-window-width-change)
12854 (octave-eldoc-function-signatures, octave-help)
12855 (octave-find-definition): Use single quoted strings.
12856 (inferior-octave-startup-args): Change default value.
12857 (inferior-octave-startup): Do not hard code "-i" and
12858 "--no-line-editing".
12859 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12860 (inferior-octave-directory-tracker): Use it.
12861 (octave-goto-function-definition): Robustify.
12862 (octave-help): Support highlighting operators in 'See also'.
12863 (octave-find-definition): Find subfunctions only in Octave mode.
12865 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12867 * help-fns.el (help-fns--compiler-macro): If the handler function is
12868 named, then put a link to it.
12869 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12870 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12871 (cl-typep): Use it.
12872 (cl-eval-when): Simplify debug spec.
12873 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12874 compiler-macro function instead of setting `compiler-macro-file'.
12876 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12878 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12879 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12881 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12882 Daniel Hackney <dan@haxney.org>
12884 First part of Daniel Hackney's patch to package.el.
12885 * emacs-lisp/package.el: Use defstruct.
12886 (package-desc): New, main struct.
12887 (package--bi-desc, package--ac-desc): New structs, used to describe the
12888 format in external files.
12889 (package-desc-vers): Replace with package-desc-version accessor.
12890 (package-desc-doc): Replace with package-desc-summary accessor.
12891 (package-activate-1): Remove `package' arg since the pkg-vec now
12893 (define-package): Use package-desc-from-define.
12894 (package-unpack-single): Change file-name arg to be a symbol.
12895 (package--add-to-archive-contents): Use package-desc-create and new
12896 accessor functions to package--ac-desc.
12897 (package-buffer-info, package-tar-file-info): Return a package-desc.
12898 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12899 arg to be a package-desc.
12900 (package-install-file): Adjust accordingly. Use \' to match EOS.
12901 (package--from-builtin): New function.
12902 (describe-package-1, package-menu--generate): Use it.
12903 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12904 (package-generate-autoloads): Idem and return the name of the file.
12905 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12906 Change pkg-info arg to be a package-desc.
12907 Use package-make-ac-desc.
12908 (package-upload-file): Use \' to match EOS.
12909 * finder.el (finder-compile-keywords): Use package-make-builtin.
12911 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12913 * vc/vc.el (vc-deduce-fileset): Change error message.
12914 (vc-read-backend): New function.
12915 (vc-next-action): Use it.
12917 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12919 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12920 (prolog-font-lock-keywords): Use regexp-opt instead.
12921 Don't manually highlight strings.
12922 (prolog-mode-variables): Simplify comment-start-skip.
12923 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12925 * emacs-lisp/generic.el (generic--normalise-comments)
12926 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12927 (generic-mode-set-comments): Use them.
12928 (generic-bracket-support): Use setq-local.
12929 (generic-make-keywords-list): Declare obsolete.
12931 2013-06-11 Glenn Morris <rgm@gnu.org>
12933 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12934 Prettify after setting font-lock-defaults. (Bug#14574)
12936 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12938 * replace.el (query-replace, occur-read-regexp-defaults-function)
12940 * subr.el (declare-function, number-sequence, local-set-key)
12941 (substitute-key-definition, locate-user-emacs-file)
12942 (with-silent-modifications, split-string, eval-after-load):
12943 Fix typos, remove unneeded backslashes and reflow some docstrings.
12945 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12947 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12948 default for Elisp files.
12950 2013-06-11 Glenn Morris <rgm@gnu.org>
12952 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12953 although define-derived-mode was doing this anyway. (Bug#14583)
12955 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12957 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12958 Fix make-variable-buffer-local call to refer to the correct variable.
12960 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12962 * eshell/em-term.el (eshell-visual-commands)
12963 (eshell-visual-subcommands, eshell-visual-options):
12964 Add summary line to docstrings. Add cross-references.
12966 2013-06-10 Glenn Morris <rgm@gnu.org>
12968 * epa.el (epa-read-file-name): New function. (Bug#14510)
12969 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12971 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12973 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12974 output redirection to be ignored with visual commands.
12976 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12978 * eshell/em-term.el (eshell-visual-command-p): New function.
12979 (eshell-term-initialize): Move long lambda to separate function
12980 eshell-visual-command-p.
12981 * eshell/em-dirs.el (eshell-dirs-initialize):
12982 * eshell/em-script.el (eshell-script-initialize):
12983 Add missing #' to lambda.
12985 2013-06-08 Leo Liu <sdl.web@gmail.com>
12987 * progmodes/octave.el (octave-add-log-current-defun): New function.
12988 (octave-mode): Set add-log-current-defun-function.
12989 (octave-goto-function-definition): Do not move point if not found.
12990 (octave-find-definition): Enhance to try subfunctions first.
12992 2013-06-08 Glenn Morris <rgm@gnu.org>
12994 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12995 (byte-compile-backward-char, byte-compile-backward-word):
12996 Improve previous change, to handle non-explicit nil.
12998 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13000 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13001 (smie--opener/closer-at-point): New function.
13002 (smie--matching-block-data): Use it. Don't match from right after an
13003 opener or right before a closer. Obey smie-blink-matching-inners.
13004 Don't signal a mismatch for repeated inners like "switch..case..case".
13006 2013-06-07 Leo Liu <sdl.web@gmail.com>
13008 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13010 (octave-function-header-regexp): Fix. (Bug#14570)
13011 (octave-help-mode-finish-hook, octave-help-mode-finish):
13012 Remove. Just use temp-buffer-show-hook.
13014 * newcomment.el (comment-search-backward): Revert last change.
13017 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13019 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13021 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13022 through xargs, to avoid failure due to MS-Windows limitations on
13023 command-line length.
13025 2013-06-06 Glenn Morris <rgm@gnu.org>
13027 * font-lock.el (lisp-font-lock-keywords-2):
13028 Treat user-error like error.
13030 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13031 (byte-compile-backward-char, byte-compile-backward-word):
13032 Handle explicit nil arguments. (Bug#14565)
13034 2013-06-05 Alan Mackenzie <acm@muc.de>
13036 * isearch.el (isearch-allow-prefix): New user option.
13037 (isearch-other-meta-char): Don't exit isearch when a prefix
13038 argument is typed whilst `isearch-allow-prefix' is non-nil.
13041 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13043 * autorevert.el (auto-revert-notify-handler): Use memq.
13044 Hide assertion failure.
13046 * skeleton.el: Use cl-lib.
13047 (skeleton-further-elements): Use defvar-local.
13048 (skeleton-insert): Use cl-progv.
13050 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13052 * progmodes/prog-mode.el (prog-prettify-symbols)
13053 (prog-prettify-install): Update docstrings.
13055 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13057 * simple.el: Move all the prog-mode code to prog-mode.el.
13058 * progmodes/prog-mode.el: New file.
13059 * loadup.el: Add prog-mode.el.
13061 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13063 * simple.el (prog-prettify-symbols): Add version.
13064 (prog-prettify-install): Add convenience function to prettify symbols.
13066 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13067 (perl--augmented-font-lock-keywords-1)
13068 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13069 variables and use it.
13071 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13072 (cfengine3-mode): Remove unneeded variable and use it.
13074 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13075 (lisp--augmented-font-lock-keywords-1)
13076 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13077 Remove unneeded variables and use it.
13079 2013-06-05 João Távora <joaotavora@gmail.com>
13081 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13082 to point when opening the connection. (Bug#14380)
13084 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13086 * subr.el (load-history-regexp, load-history-filename-element)
13087 (eval-after-load, after-load-functions, do-after-load-evaluation)
13088 (eval-next-after-load, display-delayed-warnings)
13089 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13090 definition of save-match-data.
13091 (overriding-local-map): Remove accidental obsolescence declaration.
13093 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13095 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13097 Generalize symbol prettify support to prog-mode and implement it
13098 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13099 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13100 (prog--prettify-font-lock-compose-symbol)
13101 (prog-prettify-font-lock-symbols-keywords): New variables and
13102 functions to support symbol prettification.
13103 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13104 (lisp--augmented-font-lock-keywords-1)
13105 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13106 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13107 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13108 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13109 Implement prettify of -> => :: strings.
13110 * progmodes/perl-mode.el (perl-prettify-symbols)
13111 (perl--font-lock-compose-symbol)
13112 (perl--font-lock-symbols-keywords): Move to prog-mode.
13113 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13114 (perl-font-lock-keywords-1)
13115 (perl-font-lock-keywords-2): Remove explicit prettify support.
13116 (perl--augmented-font-lock-keywords)
13117 (perl--augmented-font-lock-keywords-1)
13118 (perl--augmented-font-lock-keywords-2, perl-mode):
13119 Implement prettify support.
13121 2013-06-05 Leo Liu <sdl.web@gmail.com>
13123 Re-implement SMIE matching block highlight using
13124 show-paren-data-function. (Bug#14395)
13125 * emacs-lisp/smie.el (smie-matching-block-highlight)
13126 (smie--highlight-matching-block-overlay)
13127 (smie--highlight-matching-block-lastpos)
13128 (smie-highlight-matching-block)
13129 (smie-highlight-matching-block-mode): Remove.
13130 (smie--matching-block-data-cache): New variable.
13131 (smie--matching-block-data): New function.
13132 (smie-setup): Use smie--matching-block-data for
13133 show-paren-data-function.
13135 * progmodes/octave.el (octave-mode-menu): Fix.
13136 (octave-find-definition): Skip garbage lines.
13138 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13140 Fix compilation error with simultaneous dynamic+lexical scoping.
13141 Add warning when a defvar appears after the first let-binding.
13142 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13143 (byte-compile-close-variables): Initialize it.
13144 (byte-compile--declare-var): New function.
13145 (byte-compile-file-form-defvar)
13146 (byte-compile-file-form-define-abbrev-table)
13147 (byte-compile-file-form-custom-declare-variable): Use it.
13148 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13149 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13150 (byte-compile-bind): Handle dynamic bindings that shadow
13152 (byte-compile-unbind): Make arg non-optional.
13153 (byte-compile-let): Simplify.
13154 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13155 (cconv--analyse-function, cconv-analyse-form): Populate it.
13156 Protect byte-compile-bound-variables to limit the scope of defvars.
13157 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13158 Remove unneeded rule for `declare'.
13160 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13161 so as to avoid depending on cl-adjoin at run-time.
13162 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13164 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13165 (macroexp--warn-and-return): Use it.
13167 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * subr.el: Convert to lexical binding.
13170 (overriding-local-map): Make obsolete.
13171 (add-to-list): Doc fix. Add compiler macro.
13172 (read-key): Swap values of local maps.
13174 2013-06-05 Leo Liu <sdl.web@gmail.com>
13176 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13178 2013-06-04 Leo Liu <sdl.web@gmail.com>
13180 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13181 (compilation-auto-jump): Suppress the "Mark set" message to give
13182 way to exit message.
13184 2013-06-04 Alan Mackenzie <acm@muc.de>
13186 Remove faulty optimisation from indentation calculation.
13187 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13188 search limit based on 2000 characters back from indent-point.
13190 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13192 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13194 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * emacs-lisp/lisp.el: Use lexical-binding.
13197 (lisp--local-variables-1, lisp--local-variables): New functions.
13198 (lisp--local-variables-completion-table): New var.
13199 (lisp-completion-at-point): Use it complete let-bound vars.
13201 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13202 eagerly (bug#14422).
13204 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13206 * autorevert.el (auto-revert-notify-enabled)
13207 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13208 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13209 (auto-revert-notify-handler): Handle also gfilenotify.
13211 * subr.el (file-notify-handle-event): New defun. Replacing ...
13212 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13215 2013-06-03 Juri Linkov <juri@jurta.org>
13217 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13218 `M-s h .'. (Bug#14427)
13220 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13221 command `hi-lock-face-symbol-at-point'.
13222 (hi-lock-face-symbol-at-point): New command.
13223 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13224 (hi-lock-menu): Add `highlight-symbol-at-point'.
13225 (hi-lock-mode): Doc fix.
13227 * isearch.el (isearch-forward-symbol-at-point): New command.
13228 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13229 (isearch-highlight-regexp): Add a regexp which matches
13230 words/symbols for word/symbol mode.
13232 * subr.el (find-tag-default-bounds): New function with the body
13233 mostly moved from `find-tag-default'.
13234 (find-tag-default): Move most code to `find-tag-default-bounds',
13235 call it and apply `buffer-substring-no-properties' afterwards.
13237 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13239 * eshell/em-term.el (eshell-term-initialize):
13240 Use `cl-intersection' rather than `intersection'.
13242 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13244 * vc/log-view.el: Doc fix.
13245 (log-view-mode-map): Copy keymap from `special-mode-map'.
13247 2013-06-02 Eric Ludlam <zappo@gnu.org>
13249 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13250 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13251 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13252 (eieio-unbound, eieio-default-superclass)
13253 (eieio--define-field-accessors, method-static, method-before)
13254 (method-primary, method-after, method-num-lists)
13255 (method-generic-before, method-generic-primary)
13256 (method-generic-after, method-num-slots)
13257 (eieio-specialized-key-to-generic-key)
13258 (eieio--check-type, class-v, class-p)
13259 (eieio-class-name, define-obsolete-function-alias)
13260 (eieio-class-parents-fast, eieio-class-children-fast)
13261 (same-class-fast-p, class-constructor, generic-p)
13262 (generic-primary-only-p, generic-primary-only-one-p)
13263 (class-option-assoc, class-option, eieio-object-p)
13264 (class-abstract-p, class-method-invocation-order)
13265 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13266 (eieio-class-un-autoload, eieio-defclass)
13267 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13268 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13269 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13270 (eieio-defgeneric-reset-generic-form)
13271 (eieio-defgeneric-form-primary-only)
13272 (eieio-defgeneric-reset-generic-form-primary-only)
13273 (eieio-defgeneric-form-primary-only-one)
13274 (eieio-defgeneric-reset-generic-form-primary-only-one)
13275 (eieio-unbind-method-implementations)
13276 (eieio--defmethod, eieio--typep)
13277 (eieio-perform-slot-validation, eieio-validate-slot-value)
13278 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13279 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13280 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13281 (eieio-slot-name-index, eieio-class-slot-name-index)
13282 (eieio-set-defaults, eieio-initarg-to-attribute)
13283 (eieio-attribute-to-initarg, eieio-c3-candidate)
13284 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13285 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13286 (eieio-class-precedence-list, eieio-generic-call-methodname)
13287 (eieio-generic-call-arglst, eieio-generic-call-key)
13288 (eieio-generic-call-next-method-list)
13289 (eieio-pre-method-execution-functions, eieio-generic-call)
13290 (eieio-generic-call-primary-only, eieiomt-method-list)
13291 (eieiomt-optimizing-obarray, eieiomt-install)
13292 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13293 (eieio-generic-form, eieio-defmethod, make-obsolete)
13294 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13295 (defclass): Remove `eval-and-compile' from macro.
13296 (call-next-method, shared-initialize): Instead of using
13297 `scoped-class' variable, use new eieio--scoped-class, and
13298 eieio--with-scoped-class.
13299 (initialize-instance): Rename local variable 'scoped-class' to
13300 'this-class' to remove ambiguitity from old global.
13302 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13304 (eieio--scoped-class-stack): New variable.
13305 (eieio--scoped-class): New fcn.
13306 (eieio--with-scoped-class): New scoping macro.
13307 (eieio-defclass): Use pushnew instead of add-to-list.
13308 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13309 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13310 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13311 `scoped-class' variable, use new eieio--scoped-class, and
13312 eieio--with-scoped-class.
13314 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13316 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13318 * eshell/esh-ext.el (eshell-external-command): Pass args to
13319 `eshell-find-interpreter'.
13320 (eshell-find-interpreter): Add new second parameter ARGS.
13322 * eshell/em-script.el (eshell-script-initialize): Add second arg
13323 to the function added as MATCH to `eshell-interpreter-alist'.
13325 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13326 the function added as MATCH to `eshell-interpreter-alist'.
13328 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13329 (eshell-visual-options): New defcustom.
13330 (eshell-escape-control-x): Adapt docstring.
13331 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13332 `eshell-visual-options' in addition to `eshell-visual-commands'.
13333 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13335 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13337 * progmodes/python.el (python-indent-block-enders): Add break,
13338 continue and raise keywords.
13340 2013-06-01 Glenn Morris <rgm@gnu.org>
13342 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13344 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13345 * progmodes/cc-cmds.el (delete-forward-p):
13346 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13347 * progmodes/cc-engine.el (buffer-syntactic-context):
13348 * progmodes/cc-fonts.el (face-property-instance):
13349 * progmodes/cc-mode.el (set-keymap-parents):
13350 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13351 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13352 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13353 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13354 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13356 * progmodes/cc-vars.el (other): Emacs has this widget since
13357 at least 21.1, so don't (re)define it.
13359 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13360 Replace the obsolete alias pcomplete-arg-quote-list.
13362 2013-06-01 Leo Liu <sdl.web@gmail.com>
13364 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13365 punctuation syntax.
13366 (inferior-octave-minimal-columns)
13367 (inferior-octave-last-column-width): New variables.
13368 (inferior-octave-track-window-width-change): New function.
13369 (inferior-octave-mode): Adjust column width so that Octave output,
13370 for example from 'ls', can fit into the window nicely.
13372 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13374 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13375 Highlight expansions inside regexp literals.
13377 2013-05-31 Glenn Morris <rgm@gnu.org>
13379 * obsolete/sym-comp.el (symbol-complete):
13380 Replace obsolete completion-annotate-function.
13382 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13384 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13386 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13387 New function, checks if point is inside a literal that allows
13388 expression expansion.
13389 (ruby-syntax-propertize-expansion): Use it.
13390 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13393 2013-05-30 Juri Linkov <juri@jurta.org>
13395 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13397 (isearch-invisible): New variable.
13398 (isearch-forward): Doc fix.
13399 (isearch-mode): Set `isearch-invisible'
13400 to the value of `search-invisible'.
13401 (isearch-toggle-case-fold): Doc fix.
13402 (isearch-toggle-invisible): New command.
13403 (isearch-query-replace): Let-bind `search-invisible'
13404 to the value of `isearch-invisible'.
13405 (isearch-search): Use `isearch-invisible' instead of
13406 `search-invisible'. Let-bind `search-invisible'
13407 to the value of `isearch-invisible'. (Bug#11378)
13409 2013-05-30 Juri Linkov <juri@jurta.org>
13411 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13412 call when `query-flag' is nil and `search-invisible' is non-nil.
13415 2013-05-30 Glenn Morris <rgm@gnu.org>
13417 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13419 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13420 (cc-require): Suppress spurious "noruntime" warnings.
13421 (cc-require-when-compile): Use fboundp, for sake of compiler.
13423 * progmodes/cc-mode.el: Move load of cc-vars before that of
13424 cc-langs (which in turn loads cc-vars), to quieten compiler.
13426 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13428 * paren.el: Simplify the code.
13429 (show-paren-mode): Always start the timer.
13430 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13431 (show-paren--overlay, show-paren--overlay-1): Rename from
13432 show-paren-overlay and show-paren-overlay-1, and initialize to an
13433 overlay rather than to nil.
13434 (show-paren-function): Misc cleanup and simplifications.
13436 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13438 * paren.el (show-paren-data-function): New hook.
13439 (show-paren--default): New function, extracted from show-paren-function.
13440 (show-paren-function): Use show-paren-data-function.
13442 2013-05-30 Glenn Morris <rgm@gnu.org>
13444 * ielm.el (ielm-map, ielm-complete-symbol):
13445 Use completion-at-point rather than obsolete functions.
13446 (inferior-emacs-lisp-mode): Doc fix.
13447 Set completion-at-point-functions, rather than
13448 comint-dynamic-complete-functions.
13450 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13451 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13452 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13454 * image.el (image-animated-p): Tweak definition.
13456 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13457 (rlogin-process-connection-type): Tweak default. Add set-after.
13458 (rlogin-host): Doc fix.
13459 (rlogin): Tweak prompt.
13460 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13462 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13463 * progmodes/tcl.el (inferior-tcl-mode-map):
13464 Use completion-at-point rather than obsolete alias.
13466 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13468 * minibuffer.el (read-file-name-completion-ignore-case):
13469 Move before completion--in-region, for eager macro expansion.
13471 2013-05-29 Juri Linkov <juri@jurta.org>
13473 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13474 for total count of matching lines. Add `global-matches' for total
13475 count of matches. Rename `matches' to `lines' for count of
13476 matching lines. Add `matches' for count of matches.
13477 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13478 to `prev-line' for line number of prev match endpt.
13479 Increment `matches' for every match. Print the number of
13480 matching lines in the header.
13481 (occur-context-lines): Rename `lines' to `curr-line'.
13482 Rename `prev-lines' to `prev-line'. (Bug#14017)
13484 2013-05-29 Juri Linkov <juri@jurta.org>
13486 * replace.el (perform-replace): Add `skip-read-only-count',
13487 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13488 Increment them for corresponding conditions and report the number
13489 of skipped occurrences in the final message. (Bug#11746)
13490 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13491 (replace-string, replace-regexp): Doc fix.
13493 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13495 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13497 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13498 prog-mode-map (bug#14504).
13500 2013-05-29 Leo Liu <sdl.web@gmail.com>
13502 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13503 (octave-help): Small simplification.
13505 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13506 off the highlight first.
13508 2013-05-29 Glenn Morris <rgm@gnu.org>
13510 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13511 Handle idlwave-last-system-routine-info-cons-cell being nil.
13513 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13514 (idlwave-write-paths): Simplify via with-temp-buffer.
13516 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13517 * emulation/cua-rect.el: Also load cua-base at run time.
13519 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13520 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13521 (cperl-imenu-on-info): Require imenu.
13523 2013-05-28 Alan Mackenzie <acm@muc.de>
13525 Handle "capitalised keywords" correctly.
13526 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13528 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13530 * eshell/em-unix.el: Add -r option to cp.
13532 2013-05-28 Glenn Morris <rgm@gnu.org>
13534 * vc/vc-arch.el (vc-exec-after): Declare.
13535 (vc-switches): Autoload.
13536 * vc/vc-bzr.el: No need to require vc when compiling.
13537 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13538 (vc-resynch-buffer, vc-dir-refresh): Declare.
13539 (vc-setup-buffer, vc-switches): Autoload.
13540 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13541 (vc-resynch-buffer): Declare.
13542 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13543 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13544 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13545 (grep-read-regexp, grep-read-files, grep-expand-template)
13546 (vc-dir-refresh): Declare.
13547 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13548 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13549 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13550 * vc/vc-mtn.el (vc-exec-after): Declare.
13551 (vc-switches): Autoload.
13552 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13553 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13554 (vc-file-tree-walk): Declare.
13555 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13556 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13557 (vc-tag-precondition, vc-rename-master): Autoload.
13558 * vc/vc-svn.el (vc-exec-after): Declare.
13559 (vc-switches, vc-setup-buffer): Autoload.
13560 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13562 (vc-resynch-buffer): Declare.
13564 * obsolete/fast-lock.el (byte-compile-warnings):
13565 Don't warn about obsolete features in this obsolete file.
13567 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13568 Move definition before use.
13570 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13571 (dun-unix-verbs): Remove dun-zippy.
13572 (dun-zippy): Remove function.
13574 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13576 2013-05-27 Juri Linkov <juri@jurta.org>
13578 * replace.el (replace-search): New function with code moved out
13579 from `perform-replace'.
13580 (replace-highlight, replace-dehighlight): Move function definitions
13581 up closer to `replace-search'. (Bug#11746)
13583 2013-05-27 Juri Linkov <juri@jurta.org>
13585 * replace.el (perform-replace): Ignore invisible matches.
13586 In addition to checking `query-replace-skip-read-only', also
13587 filter out matches by calling `run-hook-with-args-until-failure'
13588 on `isearch-filter-predicates', and also check `search-invisible'
13589 for t or call `isearch-range-invisible'.
13590 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13592 2013-05-27 Juri Linkov <juri@jurta.org>
13594 * isearch.el (isearch-filter-predicates): Rename from
13595 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13596 (isearch-message-prefix): Display text from the property
13597 `isearch-message-prefix' of the currently active filters.
13598 (isearch-search): Don't compare `isearch-filter-predicate' with
13599 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13600 on `isearch-filter-predicates'. Also check `search-invisible' for t
13601 or call `isearch-range-invisible'.
13602 (isearch-filter-visible): Make obsolete.
13603 (isearch-lazy-highlight-search):
13604 Call `run-hook-with-args-until-failure' on
13605 `isearch-filter-predicates' and use `isearch-range-invisible'.
13607 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13608 `isearch-filter-predicates' instead of `funcall'ing
13609 `isearch-filter-predicate'.
13610 (Info-mode): Set `Info-isearch-filter' to
13611 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13613 * dired-aux.el (dired-isearch-filter-predicate-orig):
13615 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13616 (dired-isearch-filenames-end): Add and remove
13617 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13618 instead of changing the value of `isearch-filter-predicate'.
13619 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13620 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13621 Put property `isearch-message-prefix' to "filename " on
13622 `dired-isearch-filter-filenames'.
13624 * wdired.el (wdired-change-to-wdired-mode):
13625 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13626 locally instead of changing `isearch-filter-predicate'.
13627 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13629 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13631 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13632 return the commit hash (Bug#14459). Also set the
13633 `vc-git-detached' property.
13634 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13635 (vc-git-mode-line-string): Use the same help-echo format whether
13636 in detached mode or not, because we know the actual revision now.
13637 When in detached mode, shorten the revision to 7 chars.
13639 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13641 * emacs-lisp/easy-mmode.el (define-minor-mode):
13642 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13643 mode hook and provide a docstring.
13645 2013-05-27 Alan Mackenzie <acm@muc.de>
13647 Remove spurious syntax-table text properties inserted by C-y.
13648 * progmodes/cc-mode.el (c-after-change): Also clear hard
13649 syntax-table property with value nil.
13651 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13653 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13654 when reading the events; the buffer layout shall not be changed.
13656 2013-05-27 Leo Liu <sdl.web@gmail.com>
13658 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13660 (inferior-octave-directory-tracker): Automatically re-sync
13662 (octave-help): Improve handling of 'See also'.
13664 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * doc-view.el: Minor naming convention tweaks.
13667 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13669 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13670 even if there's no `display' property yet (bug#14435).
13672 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13674 * subr.el (unmsys--file-name): Rename from reveal-filename.
13676 * Makefile.in (custom-deps, finder-data, autoloads)
13677 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13678 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13679 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13681 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13683 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13684 error-completion on the first 2 args of condition-case (bug#14446).
13687 2013-05-25 Leo Liu <sdl.web@gmail.com>
13689 * comint.el (comint-previous-matching-input): Do not flood the
13690 *Messages* buffer with trivial messages.
13692 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13694 * progmodes/flymake.el (flymake-nop): Don't return a string.
13695 (flymake-set-at): Fix typo.
13697 * simple.el (read--expression): New function, extracted from
13698 eval-expression. Set completion-at-point-functions (bug#14465).
13699 (eval-expression, eval-minibuffer): Use it.
13701 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13703 * progmodes/flymake.el (flymake-save-buffer-in-file)
13704 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13705 (flymake-selected-frame, flymake-log, flymake-ins-after)
13706 (flymake-set-at, flymake-get-buildfile-from-cache)
13707 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13708 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13709 Refine the doc string.
13710 (flymake-get-file-name-mode-and-masks): Reformat.
13711 (flymake-get-real-file-name-function): Fix a minor bug.
13713 2013-05-24 Juri Linkov <juri@jurta.org>
13715 * progmodes/grep.el (grep-mode-font-lock-keywords):
13716 Support =linenumber= format used by git-grep for lines with
13717 function names. (Bug#13549)
13719 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13721 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13722 0 after a semi-colon; it works better for smie-auto-fill.
13723 (octave--indent-new-comment-line): New function.
13724 (octave-indent-new-comment-line): Use it (indirectly).
13725 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13726 modify comment-line-break-function.
13728 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13729 (smie-setup): Use add-function to set it.
13731 2013-05-24 Sam Steingold <sds@gnu.org>
13733 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13734 argument (before the `interactive' argument).
13736 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13738 * image-mode.el (image-mode-winprops): Add winprops to
13739 image-mode-winprops-alist before running
13740 image-mode-new-window-functions.
13741 * doc-view.el (doc-view-new-window-function): Don't delay
13742 doc-view-goto-page via timers (bug#14435).
13744 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13746 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13747 (doc-view-desktop-save-buffer): New function.
13748 (doc-view-restore-desktop-buffer): New function.
13749 (desktop-buffer-mode-handlers):
13750 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13752 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13753 `desktop-save-buffer' function.
13755 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13757 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13758 (tramp-gvfs-file-name-handler): Raise a user error when
13759 `tramp-gvfs-enabled' is nil.
13760 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13761 Do not raise a user error when loading package. (Bug#14447)
13763 * net/xesam.el: Move to obsolete/.
13765 2013-05-24 Glenn Morris <rgm@gnu.org>
13767 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13769 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13771 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13772 (Info-find-node, Man-getpage-in-background): Declare.
13774 * mail/unrmail.el (unrmail):
13775 Replace obsolete detect-coding-with-priority.
13777 * net/socks.el (socks-split-string): Use this rather than split-string.
13778 (socks-nslookup-host): Update for above change.
13779 (dynamic-choice, s5-dynamic-choice-match)
13780 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13781 Comment out unused code.
13783 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13784 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13785 (gud-tooltip-echo-area): Make obsolete.
13786 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13788 * progmodes/js.el (js--optimize-arglist): Declare.
13790 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13792 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13793 (ediff-window-C): Declare.
13795 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13796 Tweak requires to silence compiler.
13798 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13799 (he-search-string, he-tried-table, he-expand-list)
13800 (he-init-string, he-string-member, he-substitute-string)
13801 (he-reset-string): Declare.
13803 * obsolete/options.el (list-options): Use custom-variable-p,
13804 rather than obsolete alias.
13806 2013-05-23 Sam Steingold <sds@gnu.org>
13808 * simple.el (shell-command-on-region): Pass the `replace' argument
13809 down to `call-process-region' to comply with the doc as reported on
13810 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13812 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13814 * emacs-lisp/smie.el (smie-indent-forward-token)
13815 (smie-indent-backward-token): Handle string tokens (bug#14381).
13817 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13819 * ielm.el (ielm-menu): New menu.
13820 (inferior-emacs-lisp-mode): Set comment-start.
13822 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13824 * textmodes/reftex.el (reftex-ref-style-toggle):
13825 Fix deactivate action.
13827 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13828 Add cleveref macros.
13830 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13831 Accept options for bibliography commands.
13832 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13833 Add addbibresource. Basic Biblatex support.
13835 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13837 * net/tramp-gvfs.el (top):
13838 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13839 when loading package. (Bug#14447)
13841 2013-05-23 Glenn Morris <rgm@gnu.org>
13843 * progmodes/js.el: No need to load comint when compiling.
13844 (ring-insert, comint-send-string, comint-send-input)
13845 (comint-last-input-end, ido-chop): Declare.
13847 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13848 * vc/ediff-mult.el: Adjust requires.
13849 (ediff-directories-internal, ediff-directory-revisions-internal)
13850 (ediff-patch-file-internal): Declare.
13851 * vc/ediff-ptch.el: Adjust requires.
13852 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13853 (ediff-find-file): Autoload.
13854 * vc/ediff-util.el: No need to load ediff when compiling.
13855 (ediff-regions-internal): Declare.
13856 * vc/ediff-wind.el: Adjust requires.
13857 (ediff-compute-toolbar-width): Define when compiling.
13858 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13859 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13860 (dired-get-filename, dired-get-marked-files)
13861 (ediff-last-dir-patch, ediff-patch-default-directory)
13862 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13863 (ediff-patch-buffer-internal): Declare.
13865 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13866 (ispell-process, ispell-buffer-local-words, lm-summary)
13867 (lm-section-start, lm-section-end): Declare.
13868 (checkdoc-ispell-init): Simplify.
13870 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13871 (he-string-member, he-reset-string, he-substitute-string): Declare.
13873 * eshell/em-ls.el: Adjust requires.
13874 (eshell-glob-regexp): Declare.
13875 * eshell/em-tramp.el: Adjust requires.
13876 (eshell-parse-command): Autoload.
13877 * eshell/em-xtra.el: Adjust requires.
13878 (eshell-parse-command): Autoload.
13879 * eshell/esh-ext.el: Adjust requires.
13880 (eshell-parse-command, eshell-close-handles): Autoload.
13881 * eshell/esh-io.el: Adjust requires.
13882 (eshell-output-filter): Autoload.
13883 * eshell/esh-util.el: No need to load tramp when compiling.
13884 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13886 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13887 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13888 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13889 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13890 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13891 * eshell/esh-opt.el, eshell/esh-proc.el:
13892 * eshell/esh-var.el: Adjust requires.
13893 * eshell/eshell.el: Do not require esh-util twice.
13894 (eshell-add-input-to-history): Declare.
13895 (eshell-command): Check history module is active before using it.
13897 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13899 2013-05-22 Leo Liu <sdl.web@gmail.com>
13901 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13903 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13905 * autorevert.el (auto-revert-notify-add-watch)
13906 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13907 it indicates changes in file modification time.
13909 2013-05-22 Glenn Morris <rgm@gnu.org>
13911 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13912 Always delete the autoloaded function from the noruntime and
13913 unresolved functions lists.
13915 * allout.el: No need to load epa, epg, overlay when compiling.
13916 (epg-context-set-passphrase-callback, epg-list-keys)
13917 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13918 (epg-key-user-id-list): Declare.
13920 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13921 (viper-set-parsing-style-toggling-macro)
13922 (viper-set-emacs-state-searchstyle-macros):
13923 Use called-interactively-p on Emacs.
13924 (viper-looking-back): Make it an obsolete alias. Update callers.
13925 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13926 Use looking-back rather than viper-looking-back.
13927 (viper-tmp-insert-at-eob, viper-enlarge-region)
13928 (viper-read-string-with-history, viper-register-to-point)
13929 (viper-append-to-register, viper-change-state-to-vi)
13930 (viper-backward-char-carefully, viper-forward-char-carefully)
13931 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13932 (viper-change-state-to-emacs): Declare.
13933 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13934 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13935 * emulation/viper-mous.el: Do not load viper-cmd.
13936 (viper-backward-char-carefully, viper-forward-char-carefully)
13937 (viper-forward-word, viper-adjust-window): Declare.
13939 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13941 * progmodes/idlw-help.el (idlwave-help-fontify):
13942 Use called-interactively-p.
13944 * term/w32console.el (w32-get-console-codepage)
13945 (w32-get-console-output-codepage): Declare.
13947 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13948 Remove unnecessary declarations.
13949 (dframe-message): Doc fix.
13951 * info.el (dframe-select-attached-frame, dframe-current-frame):
13954 * speedbar.el (speedbar-message): Make it an obsolete alias.
13955 Update all callers.
13956 (speedbar-with-attached-buffer)
13957 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13958 (speedbar-with-writable): Use backquote.
13959 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13960 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13961 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13962 rather than speedbar- aliases.
13963 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13964 (speedbar-make-specialized-keymap, speedbar-insert-button)
13965 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13966 (speedbar-do-function-pointer): Declare.
13967 (rmail-speedbar-button, rmail-speedbar-find-file)
13968 (rmail-speedbar-move-message):
13969 Use dframe-with-attached-buffer rather than speedbar- alias.
13970 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13971 (dframe-message, speedbar-make-specialized-keymap)
13972 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13973 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13974 (speedbar-insert-button, dframe-select-attached-frame)
13975 (dframe-maybee-jump-to-attached-frame)
13976 (speedbar-change-initial-expansion-list)
13977 (speedbar-previously-used-expansion-list-name): Declare.
13978 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13979 Use dframe-message, dframe-with-attached-buffer rather than
13981 (gud-sentinel): Silence compiler.
13982 * progmodes/vhdl-mode.el (speedbar-refresh)
13983 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13984 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13985 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13986 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13987 (speedbar-file-lists, speedbar-make-tag-line)
13988 (speedbar-line-directory, speedbar-goto-this-file)
13989 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13990 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13991 (speedbar-make-button, speedbar-reset-scanners)
13992 (speedbar-files-item-info, speedbar-line-text)
13993 (speedbar-find-file-in-frame, speedbar-set-timer)
13994 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13995 (speedbar-with-writable): Do not (re)define it.
13996 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13997 rather than speedbar- alias.
13999 2013-05-21 Leo Liu <sdl.web@gmail.com>
14001 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14003 (octave-mode): Tweak fill-nobreak-predicate.
14004 (inferior-octave-startup): Check process to avoid infinite loop.
14005 (inferior-octave): Pop to buffer first to show abornmal process
14008 2013-05-21 Glenn Morris <rgm@gnu.org>
14010 * printing.el (pr-menu-bar): Define when compiling.
14012 2013-05-21 Leo Liu <sdl.web@gmail.com>
14014 * progmodes/octave.el (octave-auto-fill): Remove.
14015 (octave-indent-new-comment-line): Improve.
14016 (octave-mode): Use auto fill mode through
14017 comment-line-break-function and fill-nobreak-predicate.
14018 (octave-goto-function-definition): Support DEFUN_DLD.
14019 (octave-beginning-of-defun): Small tweak.
14020 (octave-help): Show parent directory.
14022 2013-05-21 Glenn Morris <rgm@gnu.org>
14024 * files.el (dired-unmark):
14025 * progmodes/gud.el (gdb-input): Update declarations.
14027 * calculator.el (electric, ehelp): No need to load when compiling.
14028 (Electric-command-loop, electric-describe-mode): Declare.
14030 * doc-view.el (doc-view-current-converter-processes): Move before use.
14032 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14033 Move MODE-set-explicitly definition before use.
14035 * international/mule-diag.el (mule-diag):
14036 Don't use obsolete window-system-version.
14038 * mail/feedmail.el (smtpmail): No need to load when compiling.
14039 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14041 * mail/mail-utils.el (rfc822): No need to load when compiling.
14042 (rfc822-addresses): Autoload it.
14043 (mail-strip-quoted-names): Trivial simplification.
14045 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14046 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14048 * net/snmp-mode.el (tempo): Don't duplicate requires.
14050 * progmodes/prolog.el (info): No need to load when compiling.
14051 (comint): Require before shell requires it.
14052 (Info-goto-node): Autoload it.
14053 (Info-follow-nearest-node): Declare.
14054 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14056 * textmodes/artist.el (picture-mode-exit): Declare.
14058 * textmodes/reftex-parse.el (reftex-parse-from-file):
14059 Trivial rewrite so the compiler can parse it better.
14061 2013-05-20 Leo Liu <sdl.web@gmail.com>
14063 * progmodes/octave.el (octave-help-mode-map)
14064 (octave-help-mode-finish-hook): New variables.
14065 (octave-help-mode, octave-help-mode-finish): New functions.
14066 (octave-help): Use octave-help-mode.
14068 2013-05-20 Glenn Morris <rgm@gnu.org>
14070 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14072 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14074 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14075 start at point, so that expansion starting right after opening
14076 slash in a regexp is recognized.
14077 (ruby-syntax-before-regexp-re): New defvar, extracted from
14078 ruby-syntax-propertize-function. Since the value of this regexp
14079 is looked up at runtime now, we should be able to turn
14080 `ruby-syntax-methods-before-regexp' into a defcustom later.
14081 (ruby-syntax-propertize-function): Split regexp matching into two
14082 parts, for opening and closing slashes. That allows us to skip
14083 over string interpolations and support multiline regexps.
14084 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14085 for them, which calls `ruby-syntax-propertize-expansion'.
14086 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14087 call to `ruby-syntax-propertize-function'.
14088 (ruby-syntax-propertize-expansion): Extracted from
14089 `ruby-syntax-propertize-expansions'. Handles one expansion.
14090 (ruby-syntax-propertize-percent-literal): Leave point right after
14091 the percent symbol, so that the expression expansion rule can
14092 propertize the contents.
14093 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14095 (ruby-syntax-propertize-expansions): Remove.
14097 2013-05-18 Juri Linkov <juri@jurta.org>
14099 * man.el (Man-default-man-entry): Remove `-' from the end
14100 of the default value. (Bug#14400)
14102 2013-05-18 Glenn Morris <rgm@gnu.org>
14104 * comint.el (comint-password-prompt-regexp):
14105 Allow "password for XXX" where XXX contains colons (eg https://...).
14107 2013-05-18 Leo Liu <sdl.web@gmail.com>
14109 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14110 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14111 (octave-source-directories): Don't check process.
14112 (octave-source-directories, octave-find-definition): Doc fix.
14114 2013-05-18 Glenn Morris <rgm@gnu.org>
14116 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14117 Remove backspace/delete bindings. (Bug#14392)
14119 * cus-dep.el (custom-make-dependencies): Sort the output.
14120 (custom-versions-load-alist): Convert comment to doc.
14122 2013-05-17 Leo Liu <sdl.web@gmail.com>
14124 * newcomment.el (comment-search-backward): Stricter in finding
14125 comment start. (Bug#14303)
14127 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14128 (octave-comment-start-skip): Properly anchored.
14130 2013-05-17 Leo Liu <sdl.web@gmail.com>
14132 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14133 Clean up when turned off. (Bug#14395)
14134 (smie--highlight-matching-block-overlay): No longer buffer-local.
14135 (smie-highlight-matching-block): Adjust.
14137 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14139 Doc string fix for "nanoseconds" (Bug#14406).
14140 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14141 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14143 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14145 * calc/calc-units.el (math-extract-units): Preserve powers
14148 2013-05-17 Leo Liu <sdl.web@gmail.com>
14150 * subr.el (delete-consecutive-dups): New function.
14151 * ido.el (ido-set-matches-1): Use it.
14152 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14153 * ido.el (ido-remove-consecutive-dups): Remove.
14155 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14158 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14159 regexp-opt's `words'.
14161 2013-05-16 Leo Liu <sdl.web@gmail.com>
14163 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14164 (smie--highlight-matching-block-overlay)
14165 (smie--highlight-matching-block-lastpos)
14166 (smie--highlight-matching-block-timer): New variables.
14167 (smie-highlight-matching-block): New function.
14168 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14169 (smie-setup): Conditionally enable smie-blink-matching-open.
14171 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14173 Sync with upstream verilog-mode r840.
14174 * progmodes/verilog-mode.el (verilog-mode-version)
14175 (verilog-mode-release-date): Update.
14176 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14177 (verilog-sig-tieoff): Fix string error on
14178 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14179 (verilog-read-decls): Fix parameters confusing
14180 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14182 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14184 * subr.el (reveal-filename): New function.
14186 * loadup.el: Compute Emacs executable versions on MS-Windows,
14187 where executables have the .exe extension. Add a hard link
14188 emacs-XX.YY.ZZ.exe on MS-Windows.
14190 * Makefile.in (XARGS_LIMIT): New variable.
14191 (custom-deps, finder-data, autoloads)
14192 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14193 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14194 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14195 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14197 2013-05-16 Leo Liu <sdl.web@gmail.com>
14199 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14200 (octave-mode-menu, octave-mode-map): Remove its uses.
14202 2013-05-16 Reto Zimmermann <reto@gnu.org>
14204 Sync with upstream vhdl mode v3.34.2.
14205 * progmodes/vhdl-mode.el: Use `push' throughout.
14206 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14207 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14208 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14209 (vhdl-actual-generic-name): New option to derive actual generic name.
14210 (vhdl-port-paste-signals): Replace formal by actual generics.
14211 (vhdl-beautify): New name for old group vhdl-align. Update users.
14212 (vhdl-beautify-options): New option.
14213 (vhdl-last-input-event): New compat alias. Use throughout.
14214 (vhdl-goto-line): Replace user level function `goto-line'.
14215 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14216 vhdl-fix-statement-buffer.
14217 (vhdl-create-mode-menu): Add some entries.
14218 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14219 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14220 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14221 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14222 to force statements on one line.
14223 (vhdl-remove-trailing-spaces-region):
14224 New, split from vhdl-remove-trailing-spaces.
14225 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14226 Respect vhdl-beautify-options.
14227 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14228 (vhdl-update-sensitivity-list): Not add with index if exists without.
14229 Not include array index with signal. Ignore keywords in comments.
14230 (vhdl-get-visible-signals): Regexp tweaks.
14231 (vhdl-template-component-inst): Handle empty library.
14232 (vhdl-template-type): Add template for 'enum' type.
14233 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14234 Use vhdl-replace-string.
14235 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14236 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14237 (vhdl-speedbar-initialize): Update for above name change.
14238 (vhdl-compose-wire-components): Fix in handling of constants.
14239 (vhdl-error-regexp-emacs-alist): New variable.
14240 (vhdl-error-regexp-add-emacs): New function;
14241 adds support for new compile.el (Emacs 22+)
14242 (vhdl-generate-makefile-1): Change target order for single lib. units.
14243 Allow use of absolute file names.
14245 2013-05-16 Leo Liu <sdl.web@gmail.com>
14247 * simple.el (prog-indent-sexp): Indent enclosing defun.
14249 2013-05-15 Glenn Morris <rgm@gnu.org>
14251 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14252 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14253 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14254 (whitespace-highlight): Move to whitespace group.
14256 * comint.el (comint-source):
14257 * pcmpl-linux.el (pcmpl-linux):
14258 * shell.el (shell-faces):
14259 * eshell/esh-opt.el (eshell-opt):
14260 * international/ccl.el (ccl): Remove empty custom groups.
14262 * completion.el (dynamic-completion-mode):
14263 * jit-lock.el (jit-lock-debug-mode):
14264 * minibuffer.el (completion-in-region-mode):
14265 * type-break.el (type-break-mode-line-message-mode)
14266 (type-break-query-mode):
14267 * emulation/tpu-edt.el (tpu-edt-mode):
14268 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14269 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14270 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14272 * term/xterm.el (xterm): Change parent group to terminals.
14274 * master.el (master): Remove empty custom group.
14275 (master-mode): Remove unused :group argument.
14276 * textmodes/refill.el (refill): Remove empty custom group.
14277 (refill-mode): Remove unused :group argument.
14279 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14281 * cus-dep.el: Provide a feature.
14282 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14283 Don't mistakenly ignore files whose basenames match a basename
14284 from preloaded-file-list (eg cedet/ede/simple.el).
14285 Add a fallback method for getting :group.
14287 2013-05-15 Juri Linkov <juri@jurta.org>
14289 * isearch.el (isearch-char-by-name): Rename from
14290 `isearch-insert-char-by-name'. Doc fix.
14291 (isearch-forward): Mention `isearch-char-by-name' in
14292 the docstring. (Bug#13348)
14294 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14295 `exit-minibuffer' instead of
14296 `isearch-nonincremental-exit-minibuffer'.
14297 (isearch-edit-string): Remove mention of
14298 `isearch-nonincremental-exit-minibuffer' from docstring.
14299 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14300 (isearch-forward-exit-minibuffer)
14301 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14303 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14305 * loadup.el: Just use unversioned DOC.
14307 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14308 literals as extending to EOB.
14309 (nxml-last-fontify-end): Remove unused variable.
14310 (nxml-after-change1): Use with-silent-modifications.
14311 (nxml-extend-after-change-region): Simplify.
14312 (nxml-extend-after-change-region1): Remove function.
14313 (nxml-after-change1): Don't adjust for dependent regions.
14314 (nxml-fontify-matcher): Simplify.
14315 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14316 (xmltok-add-dependent): Remove function.
14317 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14318 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14319 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14320 unclosed <[[, <?, comment, and other literals as extending to EOB.
14321 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14322 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14324 (rng-do-some-validation-1): Don't mark dependent regions.
14325 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14326 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14327 (nxml-clear-dependent-regions): Remove functions.
14328 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14329 (nxml-ensure-scan-up-to-date):
14330 Don't clear&mark dependent regions.
14332 2013-05-15 Leo Liu <sdl.web@gmail.com>
14334 * progmodes/octave.el (octave-goto-function-definition):
14335 Improve and fix callers.
14337 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14339 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14340 the setter (bug#14387).
14342 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14343 surrounding group (bug#14402).
14345 2013-05-14 Juri Linkov <juri@jurta.org>
14347 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14350 2013-05-14 Glenn Morris <rgm@gnu.org>
14352 * progmodes/f90.el (f90-imenu-generic-expression):
14353 Fix typo in 2013-05-08 change. (Bug#14402)
14355 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14357 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14358 Remove signals for which replies are never received.
14360 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14362 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14363 (gdb-handler-alist, gdb-handler-number): Remove variables.
14364 (gdb-handler-list): New variable.
14365 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14366 (gdb-pending-handler-p, gdb-handle-reply)
14367 (gdb-remove-all-pending-triggers): New functions.
14368 (gdb-discard-unordered-replies): New defcustom.
14369 (gdb-handler): New defstruct.
14370 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14371 instead of gdb-pending-triggers. Update docstring.
14372 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14373 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14374 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14375 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14376 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14377 (gdb-frame-handler): Pending triggers are now automatically managed.
14378 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14380 (gdb-input): Automatically handles pending triggers. Update docstring.
14381 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14382 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14384 (gdb-done-or-error): Now use gdb-handle-reply.
14386 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14388 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14391 2013-05-14 Glenn Morris <rgm@gnu.org>
14393 * subr.el (user-emacs-directory-warning): New option.
14394 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14396 2013-05-14 Leo Liu <sdl.web@gmail.com>
14398 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14400 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14401 (octave-font-lock-texinfo-comment): Fix invalid search bound
14402 error: wrong side of point.
14404 2013-05-14 Glenn Morris <rgm@gnu.org>
14406 * progmodes/flymake.el (flymake-xml-program): New option.
14407 (flymake-xml-init): Use it.
14409 * term/xterm.el: Provide a feature.
14411 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14413 2013-05-13 Glenn Morris <rgm@gnu.org>
14415 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14416 Add compat aliases as a hack workaround. (Bug#14384)
14418 2013-05-13 Leo Liu <sdl.web@gmail.com>
14420 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14422 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14424 (octave-comment-start-skip): Include %!.
14425 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14427 2013-05-12 Leo Liu <sdl.web@gmail.com>
14429 * progmodes/octave.el (inferior-octave-startup): Store the value
14430 of __octave_srcdir__ for octave-source-directories.
14431 (inferior-octave-check-process): New function refactored out of
14432 inferior-octave-send-list-and-digest.
14433 (octave-source-directories)
14434 (octave-find-definition-filename-function): New variables.
14435 (octave-source-directories)
14436 (octave-find-definition-default-filename): New functions.
14437 (octave-find-definition): Improve to find functions implemented in C++.
14439 2013-05-12 Glenn Morris <rgm@gnu.org>
14441 * calendar/diary-lib.el (diary-outlook-format-1):
14442 Don't include dayname in the output. (Bug#14349)
14444 2013-05-11 Glenn Morris <rgm@gnu.org>
14446 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14448 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14449 Treat cc-provide like provide.
14451 2013-05-11 Kevin Ryde <user42@zip.com.au>
14453 * cus-dep.el (custom-make-dependencies):
14454 Use generated-autoload-load-name for the sake of files such
14455 such cedet/semantic/bovine/c.el, where the base file name
14456 is not in load-path. (Bug#5277)
14458 2013-05-11 Glenn Morris <rgm@gnu.org>
14460 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14463 2013-05-11 Leo Liu <sdl.web@gmail.com>
14465 * progmodes/octave.el (octave-indent-comment): Improve.
14466 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14467 (octave-eldoc-function-signatures, octave-eldoc-function):
14469 (octave-mode, inferior-octave-mode): Add eldoc support.
14471 2013-05-11 Richard Stallman <rms@gnu.org>
14473 * epa.el (epa-decrypt-file): Take output file name as argument
14474 and read it using `interactive'.
14476 2013-05-11 Leo Liu <sdl.web@gmail.com>
14478 * progmodes/octave.el (octave-beginning-of-line)
14479 (octave-end-of-line): Check before using up-list because it jumps
14480 out of more syntactic contructs since moving to smie.
14481 (octave-indent-comment): New function.
14482 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14483 (octave-begin-keywords, octave-end-keywords)
14484 (octave-reserved-words, octave-smie-bnf-table)
14485 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14487 2013-05-11 Glenn Morris <rgm@gnu.org>
14489 * faces.el (internal-face-x-get-resource):
14490 * frame.el (ns-display-monitor-attributes-list):
14491 * calc/calc-aent.el (math-to-radians-2):
14492 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14495 * calc/calc-menu.el: Make it loadable in isolation.
14497 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14498 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14499 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14500 (eudc-bbdb-query-internal): Require 'bbdb.
14502 * lpr.el (lpr-headers-switches):
14503 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14505 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14507 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14509 * term.el (term-set-escape-char): Make it idempotent.
14511 2013-05-10 Leo Liu <sdl.web@gmail.com>
14513 * progmodes/octave.el (inferior-octave-completion-table):
14514 No longer a function and all uses changed. Use cache to speed up
14515 completion due to bug#11906.
14516 (octave-beginning-of-defun): Re-write to be more general.
14518 2013-05-10 Glenn Morris <rgm@gnu.org>
14520 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14522 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14524 * comint.el (comint-redirect-send-command-to-process): Use :around
14525 rather than :override for comint-redirect-filter.
14526 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14527 Call it instead of comint-redirect-original-filter-function (which
14528 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14530 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14532 * frame.el (display-monitor-attributes-list): Add NS case.
14533 (ns-display-monitor-attributes-list): Declare.
14535 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14537 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14539 2013-05-09 Glenn Morris <rgm@gnu.org>
14541 * international/fontset.el (vertical-centering-font-regexp):
14542 Set standard-value.
14544 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14546 * bookmark.el (bookmark-search-delay):
14547 * cus-start.el (vertical-centering-font-regexp):
14548 * ps-mule.el (ps-mule-font-info-database-default):
14549 * ps-print.el (ps-default-fg, ps-default-bg):
14550 * type-break.el (type-break-good-break-interval):
14551 * whitespace.el (whitespace-indentation-regexp)
14552 (whitespace-space-after-tab-regexp):
14553 * emacs-lisp/testcover.el (testcover-1value-functions)
14554 (testcover-noreturn-functions, testcover-progn-functions)
14555 (testcover-prog1-functions):
14556 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14557 * eshell/em-glob.el (eshell-glob-translate-alist):
14558 * play/tetris.el (tetris-tty-colors):
14559 * progmodes/cpp.el (cpp-face-default-list):
14560 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14561 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14562 (idlwave-help-browser-generic-args):
14563 * progmodes/make-mode.el (makefile-special-targets-list):
14564 * progmodes/python.el (python-shell-virtualenv-path):
14565 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14566 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14567 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14568 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14569 * textmodes/reftex-vars.el (reftex-format-label-function):
14570 * textmodes/remember.el (remember-diary-file): Fix custom types.
14572 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14575 2013-05-09 Leo Liu <sdl.web@gmail.com>
14577 * progmodes/octave.el (inferior-octave-completion-at-point):
14578 Restore file completion. (Bug#14300)
14579 (inferior-octave-startup): Fix incorrect highlighting for the
14582 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14584 * progmodes/ruby-mode.el: First cut at SMIE support.
14585 (ruby-use-smie): New var.
14586 (ruby-smie-grammar): New constant.
14587 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14588 (ruby-smie--forward-token, ruby-smie--backward-token)
14589 (ruby-smie-rules): New functions.
14590 (ruby-mode-variables): Setup SMIE if applicable.
14592 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14594 * simple.el (line-move-visual): Signal beginning/end of buffer
14595 only if vertical-motion moved less than it was requested. Avoids
14596 silly incorrect error messages when there are display strings with
14597 multiple newlines at EOL.
14599 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14601 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14602 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14603 (prolog-char-quote-workaround):
14604 * progmodes/cperl-mode.el (cperl-under-as-char):
14605 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14607 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14609 (vhdl-mode-syntax-table-init): Remove.
14611 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14614 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14616 (ld-script-font-lock-keywords):
14617 Change regexps to use things like \_< and \_>.
14619 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14620 Change all regexps to use things like \_< and \_>.
14622 * progmodes/autoconf.el (autoconf-definition-regexp)
14623 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14624 Handle a _ with symbol syntax.
14625 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14627 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14628 Consolidate declaration.
14629 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14631 (ada-create-syntax-table): Remove.
14632 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14633 already has the right syntax nowadays.
14634 (ada-goto-next-word): Don't change the syntax of "_".
14636 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14639 2013-05-08 Sam Steingold <sds@gnu.org>
14641 * thingatpt.el (thing-at-point): Accept optional second argument
14642 NO-PROPERTIES to strip the text properties from the return value.
14643 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14644 to `thing-at-point' instead of stripping the properties ourselves.
14645 Also, when `thing-at-point' fails to find a url, prepend "http://"
14646 to the filename at point on the assumption that the user is
14647 pointing at something like gnu.org/gnu.
14649 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14651 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14652 * faces.el (crm-separator):
14653 Silence byte-compiler.
14655 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14656 (tool-bar-map): Remove unneeded defvars.
14658 2013-05-08 Leo Liu <sdl.web@gmail.com>
14660 Re-work a fix for bug#10994 based on Le Wang's patch.
14661 * ido.el (ido-remove-consecutive-dups): New helper.
14662 (ido-completing-read): Use it.
14663 (ido-chop): Revert fix for bug#10994.
14665 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14667 * cus-edit.el (custom-save-variables):
14668 Pretty-print long values. (Bug#14187)
14670 2013-05-08 Glenn Morris <rgm@gnu.org>
14672 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14673 (m4-mode-syntax-table): Init in the defvar.
14674 (m4-mode-abbrev-table): Let define-derived-mode define it.
14676 2013-05-08 Tom Tromey <tromey@redhat.com>
14678 * progmodes/m4-mode.el (m4-mode-syntax-table):
14679 Do not treat "_" as word constituent. (Bug#14167)
14681 2013-05-07 Glenn Morris <rgm@gnu.org>
14683 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14684 Remove explicit eshell-isearch-cancel-map.
14686 * progmodes/f90.el (f90-smart-end-names): New option.
14687 (f90-smart-end): Doc fix.
14688 (f90-end-block-optional-name): New constant.
14689 (f90-block-match): Respect f90-smart-end-names.
14691 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14693 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14694 about implicit semi-colons (bug#14218).
14696 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14698 * frame.el (display-monitor-attributes-list)
14699 (frame-monitor-attributes): New functions.
14701 2013-05-06 Leo Liu <sdl.web@gmail.com>
14703 * progmodes/octave.el (octave-syntax-propertize-function): Change
14704 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14705 (octave-font-lock-keywords): Use octave-operator-regexp.
14706 (octave-completion-at-point): Rename from
14707 octave-completion-at-point-function.
14708 (inferior-octave-directory-tracker): Robustify.
14709 (octave-text-functions): Remove and fix its uses. No such things
14712 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14714 * emacs-lisp/trace.el (trace--display-buffer): New function.
14715 (trace-make-advice): Use it.
14717 2013-05-06 Juri Linkov <juri@jurta.org>
14719 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14720 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14722 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14723 in the help string. (Bug#12985)
14725 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14727 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14729 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14731 * progmodes/perl-mode.el: Add support for here documents.
14732 (perl-syntax-propertize-function): Match here-doc markers.
14733 (perl-syntax-propertize-special-constructs): Find their end.
14734 (perl-imenu-generic-expression): Use [:alnum:].
14736 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14737 (advice--add-function): Refresh the advice if already present
14740 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14742 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14744 2013-05-06 Glenn Morris <rgm@gnu.org>
14746 * w32-fns.el (w32-charset-info-alist): Declare.
14748 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14749 of its defcustom properties.
14750 (eshell-cmpl-initialize): No need to load pcomplete.
14752 * generic-x.el: No need to require comint when compiling.
14754 * net/eudc-export.el: Make it loadable without bbdb.
14755 (top-level): Use require rather than load-library.
14756 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14757 (eudc-batch-export-records-to-bbdb)
14758 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14761 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14763 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14764 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14765 some tweaks, instead.
14767 2013-05-05 Leo Liu <sdl.web@gmail.com>
14769 * progmodes/octave.el (octave-font-lock-keywords)
14770 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14771 (inferior-octave-send-list-and-digest): Improve error message.
14772 (octave-mode, inferior-octave-mode): Use setq-local.
14773 (octave-help): Set info-lookup-mode.
14775 2013-05-05 Richard Stallman <rms@gnu.org>
14777 * vc/compare-w.el (compare-windows-whitespace):
14778 Treat no-break space as whitespace.
14780 * mail/rmailsum.el (rmail-summary-rmail-update):
14781 Detect empty summary and don't change selected message.
14782 (rmail-summary-goto-msg): Likewise.
14784 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14785 Doc fixes, rename args.
14787 2013-05-05 Alan Mackenzie <acm@muc.de>
14789 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14791 2013-05-05 Juri Linkov <juri@jurta.org>
14793 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14794 to not add the length of the summary segment to the return value.
14797 2013-05-05 Leo Liu <sdl.web@gmail.com>
14799 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14800 (inferior-octave-output-filter): Remove.
14801 (octave-send-region, inferior-octave-startup): Fix callers.
14802 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14803 (octave-binary-file-extensions): New user variable.
14804 (octave-find-definition): Confirm if opening binary files.
14805 (octave-help-file): Use octave-find-definition to get the binary
14807 (octave-help): Adjust for octave-help-file change.
14809 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14811 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14812 Merge the two entries that handle function definitions.
14813 (pascal--syntax-propertize): New const.
14814 (pascal-mode): Use it. Use setq-local.
14816 2013-05-04 Glenn Morris <rgm@gnu.org>
14818 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14819 (diary-from-outlook): Respect diary-from-outlook-function.
14821 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14823 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14824 Move the declaration from C.
14825 (read-minibuffer, eval-minibuffer): Move from C.
14826 (completion-setup-function): Avoid minibuffer-completion-contents.
14828 2013-05-03 Leo Liu <sdl.web@gmail.com>
14830 * progmodes/octave.el (octave-font-lock-keywords): Do not
14831 dehighlight 'end' in comments or strings.
14832 (octave-completing-read, octave-goto-function-definition):
14834 (octave-help-buffer): New user variable.
14835 (octave-help-file, octave-help-function): New button types.
14836 (octave-help): New command and bind it to C-h ;.
14837 (octave-find-definition): New command and bind it to M-.
14838 (user-error): Alias to error if not defined.
14840 2013-05-02 Leo Liu <sdl.web@gmail.com>
14842 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14844 (octave-font-lock-keywords): Include [ and {.
14846 2013-05-02 Leo Liu <sdl.web@gmail.com>
14848 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14849 (inferior-octave): Remove calling comint-mode and return the buffer.
14850 (inferior-octave-startup): Cosmetic changes.
14852 2013-05-02 Leo Liu <sdl.web@gmail.com>
14854 * progmodes/octave.el (octave-syntax-propertize-function):
14855 Include the case when ' is at line beginning. (Bug#14336)
14857 2013-05-02 Glenn Morris <rgm@gnu.org>
14859 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14860 * desktop.el (vc-dir-mode): Just autoload it here.
14862 2013-05-02 Alan Mackenzie <acm@muc.de>
14864 Eliminate variable c-standard-font-lock-fontify-region-function.
14865 * progmodes/cc-mode.el
14866 (c-standard-font-lock-fontify-region-function): Remove.
14867 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14869 2013-05-01 Leo Liu <sdl.web@gmail.com>
14871 * progmodes/octave.el: Compatible with older emacs-24 releases.
14872 (inferior-octave-has-built-in-variables): Remove. Built-in
14873 variables were removed from Octave in 2007.
14874 (inferior-octave-startup): Fix uses.
14875 (comint-line-beginning-position): Remove compatibility code for
14878 2013-05-01 Juri Linkov <juri@jurta.org>
14880 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14882 2013-05-01 Juri Linkov <juri@jurta.org>
14884 * comint.el (comint-previous-matching-input): Don't print message
14885 "History item: %d" when `isearch-mode' is active.
14886 (comint-history-isearch-message): Print message "History item: %d"
14887 when `comint-input-ring-index' is not empty and this function is
14888 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14890 2013-05-01 Leo Liu <sdl.web@gmail.com>
14892 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14893 definitions. Use completion-at-point to insert keywords.
14894 (octave-abbrev-start): Remove.
14895 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14897 2013-04-30 Leo Liu <sdl.web@gmail.com>
14899 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14902 2013-04-30 Alan Mackenzie <acm@muc.de>
14904 Handle arbitrarily long C++ member initialisation lists.
14905 * progmodes/cc-engine.el (c-back-over-member-initializers):
14907 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14908 (most) member init lists.
14910 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14912 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14915 2013-04-30 Leo Liu <sdl.web@gmail.com>
14917 * progmodes/octave.el (octave-variables): Remove. No builtin
14918 variables any more. All converted to functions.
14919 (octave-font-lock-keywords, octave-completion-at-point-function):
14921 (octave-font-lock-texinfo-comment): New user variable.
14922 (octave-texinfo-font-lock-keywords): New variable for texinfo
14924 (octave-function-comment-block): New face.
14925 (octave-font-lock-texinfo-comment): New function.
14926 (octave-mode): Font lock texinfo comment block.
14928 2013-04-29 Leo Liu <sdl.web@gmail.com>
14930 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14931 indexing expression.
14932 (octave-continuation-string): Do not use \.
14933 (inferior-octave-complete-impossible): Remove.
14934 (inferior-octave-completion-table)
14935 (inferior-octave-completion-at-point): Remove its uses.
14936 (inferior-octave-startup): completion_matches was introduced to
14937 Octave in 1996 so safe to assume it.
14938 (octave-function-file-comment): Improve to follow how Octave does it.
14939 (octave-update-function-file-comment): Tweak.
14941 2013-04-29 Leo Liu <sdl.web@gmail.com>
14943 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14944 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14945 (octave-function-file-comment): Fix typo.
14946 (octave-sync-function-file-names): Use read-char-choice.
14948 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14950 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14951 to t for the less important warnings.
14953 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14955 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14957 2013-04-27 Glenn Morris <rgm@gnu.org>
14959 * vc/log-view.el (log-view-current-entry):
14960 Treat "---" separator lines as part of the following rev. (Bug#14169)
14962 2013-04-27 Juri Linkov <juri@jurta.org>
14964 * subr.el (read-number): Doc fix about using it by interactive
14965 code letter `n'. (Bug#14254)
14967 2013-04-27 Juri Linkov <juri@jurta.org>
14969 * desktop.el (desktop-auto-save-timeout): New option.
14970 (desktop-file-checksum): New variable.
14971 (desktop-save): Add optional arg `auto-save' and don't auto-save
14972 if nothing changed.
14973 (desktop-auto-save-timer): New variable.
14974 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14975 (after-init-hook): Call `desktop-auto-save-set-timer'.
14976 Suggested by Reuben Thomas <rrt@sc3d.org> in
14977 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14979 2013-04-27 Leo Liu <sdl.web@gmail.com>
14981 * progmodes/octave.el (octave-function-file-p)
14982 (octave-skip-comment-forward, octave-function-file-comment)
14983 (octave-update-function-file-comment): New functions.
14984 (octave-mode-map): Bind C-c ; to
14985 octave-update-function-file-comment.
14986 (octave-mode-menu): Add octave-update-function-file-comment.
14987 (octave-mode, inferior-octave-mode): Fix doc-string.
14988 (octave-insert-defun): Conform to Octave's coding convention.
14991 * files.el (basic-save-buffer): Don't let errors in
14992 before-save-hook prevent saving buffer.
14994 2013-04-20 Roland Winkler <winkler@gnu.org>
14996 * faces.el (read-face-name): Use completing-read if arg multiple
14999 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15001 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15002 displayed, move point to after the totals line.
15003 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15006 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15008 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15009 Add current dir to the load-path.
15010 (package-generate-autoloads): Don't rely on
15011 autoload-ensure-default-file.
15013 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15015 * textmodes/remember.el (remember-store-in-files): Document that
15016 the file name format is passed to `format-time-string'.
15018 2013-04-26 Leo Liu <sdl.web@gmail.com>
15020 * progmodes/octave.el (octave-sync-function-file-names): New function.
15021 (octave-mode): Use it in before-save-hook.
15023 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15025 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15028 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15029 \n and comment, even if it's not an implicit ; (bug#14218).
15031 2013-04-26 Glenn Morris <rgm@gnu.org>
15033 * subr.el (read-number): Once more use `read' rather than
15034 `string-to-number', to trap non-numeric input. (Bug#14254)
15036 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15038 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15039 Use `syntax-multiline' text property consistently instead of
15040 `font-lock-multiline'. (Bug#14237)
15042 2013-04-26 Glenn Morris <rgm@gnu.org>
15044 * emacs-lisp/shadow.el (list-load-path-shadows):
15045 No longer necessary to check for duplicate simple.el, since
15046 2012-07-07 change to init_lread to not include installation lisp
15047 directories in load-path when running uninstalled. (Bug#14270)
15049 2013-04-26 Leo Liu <sdl.web@gmail.com>
15051 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15052 (octave-mode, inferior-octave-mode): Use setq-local.
15053 (octave-not-in-string-or-comment-p): Rename to
15054 octave-in-string-or-comment-p.
15055 (octave-in-comment-p, octave-in-string-p)
15056 (octave-in-string-or-comment-p): Replace defsubst with defun.
15058 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15060 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15062 2013-04-25 Bastien Guerry <bzg@gnu.org>
15064 * textmodes/remember.el (remember-data-directory)
15065 (remember-directory-file-name-format): Fix custom types.
15067 2013-04-25 Leo Liu <sdl.web@gmail.com>
15069 * progmodes/octave.el (octave-completion-at-point-function):
15070 Make use of inferior octave process.
15071 (octave-initialize-completions): Remove.
15072 (inferior-octave-completion-table): New function.
15073 (inferior-octave-completion-at-point): Use it.
15074 (octave-completion-alist): Remove.
15076 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15078 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15079 (opascal-mode-syntax-table): New var.
15080 (opascal-literal-kind, opascal-is-literal-end)
15081 (opascal-literal-token-at): Rewrite.
15082 (opascal--literal-start-re, opascal-font-lock-keywords)
15083 (opascal--syntax-propertize): New constants.
15084 (opascal-font-lock-defaults): Adjust.
15085 (opascal-mode): Use them. Set comment-<foo> variables as well.
15086 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15087 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15088 (delphi-other-face, opascal-other-face): Remove face variables.
15089 (opascal-save-state): Remove macro.
15090 (opascal-fontifying-progress-step): Remove constant.
15091 (opascal--ignore-changes): Remove var.
15092 (opascal-set-token-property, opascal-parse-next-literal)
15093 (opascal-is-stable-literal, opascal-complete-literal)
15094 (opascal-is-literal-start, opascal-face-of)
15095 (opascal-parse-region, opascal-parse-region-until-stable)
15096 (opascal-fontify-region, opascal-after-change)
15097 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15098 (opascal-debug-parse-region, opascal-debug-parse-window)
15099 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15100 (opascal-debug-fontify-buffer): Remove.
15101 (opascal-debug-mode-map): Adjust accordingly.
15103 2013-04-25 Leo Liu <sdl.web@gmail.com>
15105 Merge octave-mod.el and octave-inf.el into octave.el with some
15107 * progmodes/octave.el: New file renamed from octave-mod.el.
15108 * progmodes/octave-inf.el: Merged into octave.el.
15109 * progmodes/octave-mod.el: Renamed to octave.el.
15111 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15113 * textmodes/reftex-vars.el
15114 (reftex-label-ignored-macros-and-environments): New defcustom.
15116 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15118 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15120 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15121 (smie-indent-keyword): Improve the check to ensure that the next
15122 comment is really on the same line.
15123 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15125 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15126 semi-colons if the line is not otherwise empty (bug#14218).
15128 2013-04-25 Glenn Morris <rgm@gnu.org>
15130 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15132 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15134 * progmodes/opascal.el (opascal-set-token-property): Rename from
15135 opascal-set-text-properties and only set `token' (bug#14134).
15136 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15137 (opascal-literal-text-properties): Remove.
15138 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15141 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15143 * textmodes/remember.el (remember-handler-functions): Add an
15144 option for a new handler `remember-store-in-files'.
15145 (remember-data-directory, remember-directory-file-name-format):
15147 (remember-store-in-files): New function to store remember notes
15148 as separate files within a directory.
15150 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15152 * progmodes/compile.el (compilation-next-error-function):
15153 Pass "formats" to compilation-find-file (bug#11777).
15155 2013-04-24 Glenn Morris <rgm@gnu.org>
15157 * vc/vc-bzr.el (vc-bzr-print-log):
15158 * vc/vc-hg.el (vc-hg-print-log):
15159 * vc/vc-svn.el (vc-svn-print-log):
15160 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15162 * vc/vc-bzr.el (vc-bzr-print-log):
15163 * vc/vc-cvs.el (vc-cvs-print-log):
15164 * vc/vc-git.el (vc-git-print-log):
15165 * vc/vc-hg.el (vc-hg-print-log):
15166 * vc/vc-mtn.el (vc-mtn-print-log):
15167 * vc/vc-rcs.el (vc-rcs-print-log):
15168 * vc/vc-sccs.el (vc-sccs-print-log):
15169 * vc/vc-svn.el (vc-svn-print-log):
15170 * vc/vc.el (vc-print-log-internal): Doc fixes.
15172 2013-04-23 Glenn Morris <rgm@gnu.org>
15174 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15175 Remove venerable code attempting to avoid substitute-command-keys.
15177 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15179 * textmodes/reftex-vars.el (reftex-label-regexps):
15180 Call `reftex-compile-variables' after changes to this variable.
15182 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15184 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15185 Use lexical-binding.
15186 (jit-lock-force-redisplay): Use markers, check buffer's continued
15187 existence and beware narrowed buffers.
15188 (jit-lock-fontify-now): Adjust call accordingly.
15190 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15192 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15193 to avoid misleading the user.
15195 2013-04-22 Leo Liu <sdl.web@gmail.com>
15197 * info-look.el: Prefer latex2e.info. (Bug#14240)
15199 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15201 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15203 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15204 * net/tramp.el (tramp-call-process): ... here.
15205 (tramp-set-completion-function, tramp-parse-putty):
15206 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15207 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15208 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15209 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15210 (tramp-call-local-coding-command): Use `tramp-call-process'
15211 instead of `tramp-compat-call-process'.
15213 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15214 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15215 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15216 (tramp-find-inline-compress): Improve traces.
15217 (tramp-maybe-send-script): Check for Perl binary.
15218 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15220 2013-04-22 Daiki Ueno <ueno@gnu.org>
15222 * epg.el (epg-context-pinentry-mode): New function.
15223 (epg-context-set-pinentry-mode): New function.
15224 (epg--start): Pass --pinentry-mode option to gpg command.
15226 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15228 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15229 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15230 `completion-at-point'. (Bug#13774)
15232 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15233 default key binding for `describe-distribution' has been moved to
15234 `C-h C-o'. (Bug#13970)
15236 2013-04-21 Glenn Morris <rgm@gnu.org>
15238 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15240 (vc-print-log): Clarify interactive prompt.
15242 2013-04-20 Glenn Morris <rgm@gnu.org>
15244 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15245 No longer include timestamp etc information.
15247 2013-04-20 Roland Winkler <winkler@gnu.org>
15249 * faces.el (read-face-name): Bug fix, return just one face if arg
15250 multiple is nil. (Bug#14209)
15252 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15254 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15255 (remove-function): Autoload.
15257 * comint.el (comint-redirect-original-filter-function): Remove.
15258 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15259 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15260 (vc-cvs-annotate-command):
15261 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15262 * progmodes/prolog.el (prolog-consult-compile):
15263 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15264 Use add/remove-function instead.
15265 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15266 (gud-tooltip-process-output, gud-tooltip-tips):
15267 Use add/remove-function instead.
15268 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15269 (scheme-interaction-mode, exit-scheme-interaction-mode):
15270 Use add/remove-function instead.
15272 * vc/vc-dispatcher.el: Use lexical-binding.
15273 (vc--process-sentinel): Rename from vc-process-sentinel.
15274 Change last arg to be the code to run. Don't use vc-previous-sentinel
15275 and vc-sentinel-commands any more.
15276 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15277 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15279 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15281 * progmodes/sh-script.el (sh-imenu-generic-expression):
15282 Handle function names with a single character. (Bug#14111)
15284 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15286 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15287 for subroutines defined in an eval (bug#14182).
15289 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15291 * bookmark.el (bookmark-completing-read): Improve handling of empty
15292 string (bug#14176).
15294 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15296 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15298 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15300 New faster Imenu implementation (bug#14058).
15301 * progmodes/python.el (python-imenu-prev-index-position)
15302 (python-imenu-format-item-label-function)
15303 (python-imenu-format-parent-item-label-function)
15304 (python-imenu-format-parent-item-jump-label-function):
15306 (python-imenu-format-item-label)
15307 (python-imenu-format-parent-item-label)
15308 (python-imenu-format-parent-item-jump-label)
15309 (python-imenu--put-parent, python-imenu--build-tree)
15310 (python-imenu-create-index, python-imenu-create-flat-index)
15311 (python-util-popn): New functions.
15312 (python-mode): Set imenu-create-index-function to
15313 python-imenu-create-index.
15315 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * winner.el (winner-active-region): Use region-active-p, activate-mark
15318 and deactivate-mark (bug#14225).
15320 * simple.el (deactivate-mark): Don't inline it.
15322 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15324 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15326 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15328 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15329 file extensions from the archive-mode entry in order to prefer
15330 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15332 2013-04-18 Leo Liu <sdl.web@gmail.com>
15334 * bindings.el (help-event-list): Add ?\?.
15336 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15338 * subr.el (with-wrapper-hook): Declare obsolete.
15339 * simple.el (filter-buffer-substring-function): New hook.
15340 (filter-buffer-substring): Use it.
15341 (filter-buffer-substring-functions): Mark obsolete.
15342 * minibuffer.el (completion-in-region-function): New hook.
15343 (completion-in-region): Use it.
15344 (completion-in-region-functions): Mark obsolete.
15345 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15346 * abbrev.el (abbrev-expand-function): New hook.
15347 (expand-abbrev): Use it.
15348 (abbrev-expand-functions): Mark obsolete.
15349 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15350 and :filter-return.
15352 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15354 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15355 and do not care about match data.
15357 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15359 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15360 completion tables when completing error conditions and
15361 `declare' arguments.
15362 (lisp-complete-symbol, field-complete): Mark as obsolete.
15363 (check-parens): Unmatched parens are user errors.
15364 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15366 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15368 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15369 command changed buffer (ie. `flyspell-pre-buffer' is not current
15370 buffer), which prevents making decisions based on invalid value of
15371 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15372 cause an error when `flyspell-pre-point' was nil after switching
15374 (flyspell-post-command-hook): No longer needs to change buffers when
15375 checking pre-word. While at it remove unnecessary progn.
15377 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15379 * textmodes/ispell.el (ispell-add-per-file-word-list):
15380 Fix `flyspell-correct-word-before-point' error when accepting
15381 words and `coment-padding' is an integer by using
15382 `comment-normalize-vars' (Bug #14214).
15384 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15386 New defun movement commands.
15387 * progmodes/python.el (python-nav--syntactically)
15388 (python-nav--forward-defun, python-nav-backward-defun)
15389 (python-nav-forward-defun): New functions.
15391 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15393 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15394 (python-syntax-context): Use named compiler-macro for backwards
15395 compatibility with Emacs 24.x.
15397 2013-04-17 Leo Liu <sdl.web@gmail.com>
15399 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15400 octave-hide-process-buffer.
15402 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15404 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15407 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15409 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15410 Fix adjustment of offset when receiving incomplete responses from GDB
15413 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15415 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15416 python-mode-abbrev-table.
15417 (python-skeleton-define): Adjust accordingly.
15418 (python-mode-abbrev-table): New table that inherits from it so that
15419 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15421 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15422 (abbrev-symbol): Use it.
15423 (abbrev--before-point): Use it since we already handle inheritance.
15425 2013-04-16 Leo Liu <sdl.web@gmail.com>
15427 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15428 binding to info-lookup-symbol.
15430 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15432 * minibuffer.el (completion--twq-all):
15433 * term/ns-win.el (ns-initialize-window-system):
15434 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15436 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15438 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15441 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15443 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15445 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15446 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15448 (ruby-end-of-defun): Remove the unused arg, change the docstring
15449 to reflect that this function is only used as the value of
15450 `end-of-defun-function'.
15451 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15452 to reflect an earlier change that beginning/end-of-defun functions
15453 jump between methods in a class definition, as well as top-level
15456 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15458 * minibuffer.el (minibuffer-complete): Don't just scroll
15459 a *Completions* that's been iconified.
15460 (minibuffer-force-complete): Make sure repetitions do cycle when going
15461 through completion-in-region -> minibuffer-complete.
15463 2013-04-15 Alan Mackenzie <acm@muc.de>
15465 Correct the placement of c-cpp-delimiters when there're #s not at
15468 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15469 place a submatch around the #.
15470 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15471 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15474 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15476 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15477 (advice--member-p): New arg `name'.
15478 (advice--add-function, advice-member-p): Use it (bug#14202).
15480 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15482 Reformulate java imenu-generic-expression.
15483 The old expression contained ill formed regexps.
15485 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15486 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15487 (cc-imenu-java-method-arg-regexp): New defconsts.
15488 (cc-imenu-java-build-type-args-regex): New defun.
15489 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15490 handling of spaces in the regexp.
15492 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15494 * textmodes/ispell.el (ispell-command-loop): Remove
15495 flyspell highlight of a word when ispell accepts it (bug #14178).
15497 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15499 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15500 uses code from the previous `ange-ftp-run-real-handler'.
15501 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15502 only in case that function exist. This is needed for proper
15503 unloading of Tramp.
15505 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15507 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15509 * textmodes/reftex.el (reftex-compile-variables): Use it.
15511 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15513 * files.el (normal-mode): Only use default major-mode if no other mode
15516 * emacs-lisp/trace.el (trace-values): New function.
15518 * files.el: Allow : in local variables (bug#14089).
15519 (hack-local-variable-regexp): New var.
15520 (hack-local-variables-prop-line, hack-local-variables): Use it.
15522 2013-04-13 Roland Winkler <winkler@gnu.org>
15524 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15525 data before it gets modified by bibtex-beginning-of-entry.
15527 2013-04-13 Roland Winkler <winkler@gnu.org>
15529 * textmodes/bibtex.el (bibtex-url): Doc fix.
15531 2013-04-13 Roland Winkler <winkler@gnu.org>
15533 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15534 does not visit a BibTeX file, exclude it from the list of buffers
15535 returned by bibtex-initialize.
15537 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15539 * window.el (split-window): Remove interactive form, since as a
15540 command this function is a special case of split-window-below.
15541 Correct doc string.
15543 2013-04-12 Roland Winkler <winkler@gnu.org>
15545 * faces.el (read-face-name): Do not override value of arg default.
15546 Allow single faces and strings as default values. Remove those
15547 elements from return value that are not faces.
15548 (describe-face): Simplify.
15549 (face-at-point): New optional args thing and multiple so that this
15550 function can provide the same functionality previously provided by
15552 (make-face-bold, make-face-unbold, make-face-italic)
15553 (make-face-unitalic, make-face-bold-italic, invert-face)
15554 (modify-face, read-face-and-attribute): Use face-at-point.
15556 * cus-edit.el (customize-face, customize-face-other-window)
15557 * cus-theme.el (custom-theme-add-face)
15558 * face-remap.el (buffer-face-set)
15559 * facemenu.el (facemenu-set-face): Use face-at-point.
15561 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15563 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15565 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15567 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15568 off leading { and trailing } from field values.
15570 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15572 * emacs-lisp/timer.el (timer--check): New function.
15573 (timer--time, timer-set-function, timer-event-handler): Use it.
15574 (timer-set-idle-time): Simplify.
15575 (timer--activate): CSE.
15576 (timer-event-handler): Give more info in error message.
15577 (internal-timer-start-idle): New function, moved from C.
15579 * mpc.el (mpc-proc): Add `restart' argument.
15580 (mpc-proc-cmd): Use it.
15581 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15582 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15585 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15587 * progmodes/sh-script.el: Implement `sh-mode' own
15588 `add-log-current-defun-function' (bug#14112).
15589 (sh-current-defun-name): New function.
15590 (sh-mode): Use the function.
15592 2013-04-09 Bastien Guerry <bzg@gnu.org>
15594 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15596 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15600 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15603 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15605 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15608 2013-04-07 Leo Liu <sdl.web@gmail.com>
15610 * pcmpl-x.el: New file.
15612 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15614 Do not set x-display-name until X connection is established.
15615 This is needed to prevent from weird situation described at
15616 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15617 * frame.el (make-frame): Set x-display-name after call to
15618 window system initialization function, not before.
15619 * term/x-win.el (x-initialize-window-system): Add optional
15620 display argument and use it.
15621 * term/w32-win.el (w32-initialize-window-system):
15622 * term/ns-win.el (ns-initialize-window-system):
15623 * term/pc-win.el (msdos-initialize-window-system):
15624 Add compatible optional display argument.
15626 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15628 * files.el (normal-backup-enable-predicate): On MS-Windows and
15629 MS-DOS compare truenames of temporary-file-directory and of the
15630 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15631 don't fail comparison by compare-strings. Also, compare file
15632 names case-insensitively on MS-Windows and MS-DOS.
15634 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15636 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15637 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15639 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15641 * whitespace.el (whitespace-color-on, whitespace-color-off):
15642 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15644 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15646 * ispell.el (ispell-set-spellchecker-params):
15647 Really set `ispell-args' for all equivs.
15649 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15651 * ido.el (ido-completions): Use extra elements of ido-decorations
15653 (ido-decorations): Update docstring.
15655 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15657 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15658 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15659 nil during initialization, in order not to miss changes since the
15660 file was opened. (Bug#14140)
15662 2013-04-05 Leo Liu <sdl.web@gmail.com>
15664 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15666 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15668 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15670 2013-04-04 Glenn Morris <rgm@gnu.org>
15672 * electric.el (electric-pair-inhibit-predicate): Add :version.
15674 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15676 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15677 when a package is required several times (bug#14082).
15679 2013-04-04 Roland Winkler <winkler@gnu.org>
15681 * faces.el (read-face-name): Behave as promised by the docstring.
15682 Assume that arg default is a list of faces.
15683 (describe-face): Call read-face-name with list of default faces.
15685 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15687 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15688 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15689 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15691 (bookmark-exit-hook-internal): Save even if list is empty.
15693 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15695 * emacs-lisp/package.el (package-pinned-packages): New var.
15696 (package--add-to-archive-contents): Obey it (bug#14118).
15698 2013-04-03 Alan Mackenzie <acm@muc.de>
15700 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15701 Also adapt to the new values of element 7 of a parse state.
15703 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15704 parameter `not-in-delimiter'. Handle being inside comment opener.
15705 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15706 character in case we're typing a '*' after a '/'.
15707 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15708 instead by passing the parameter to c-state-pp-to-literal.
15710 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15711 for elt. 7 of a parse state.
15713 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15715 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15716 * international/latin1-disp.el, international/mule-util.el:
15717 * language/cyril-util.el, language/european.el, language/ind-util.el:
15718 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15719 * language/tibetan.el, language/viet-util.el:
15720 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15722 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15724 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15725 (electric-pair-post-self-insert-function): Use it.
15726 (electric-pair-default-inhibit): New function, extracted from
15727 electric-pair-post-self-insert-function.
15729 2013-03-31 Roland Winkler <winkler@gnu.org>
15731 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15733 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15735 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15737 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15739 Un-indent after "pass" and "return" statements (Bug#13888)
15740 * progmodes/python.el (python-indent-block-enders): New var.
15741 (python-indent-calculate-indentation): Use it.
15743 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15745 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15746 defun. Defining it as defalias could introduce too eager
15747 byte-compiler optimization. (Bug#14030)
15749 2013-03-30 Chong Yidong <cyd@gnu.org>
15751 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15753 2013-03-30 Leo Liu <sdl.web@gmail.com>
15755 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15756 (kmacro-execute-from-register): Pass the keyboard macro to
15757 kmacro-call-macro or repeating won't work correctly.
15759 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15761 * progmodes/subword.el: Back to using `forward-symbol'.
15763 * subr.el (forward-whitespace, forward-symbol)
15764 (forward-same-syntax): Move from thingatpt.el.
15766 2013-03-29 Leo Liu <sdl.web@gmail.com>
15768 * kmacro.el (kmacro-to-register): New command.
15769 (kmacro-execute-from-register): New function.
15770 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15772 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15774 * mpc.el: Use defvar-local and setq-local.
15775 (mpc--proc-connect): Connection failures are not bugs.
15776 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15777 (mpc-volume-map): Bind to the up-events.
15779 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15781 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15782 instead of `forward-symbol'.
15784 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15786 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15787 (edebug--recursive-edit): Use it.
15788 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15789 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15791 2013-03-28 Leo Liu <sdl.web@gmail.com>
15793 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15795 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15797 * facemenu.el (list-colors-callback): New defvar.
15798 (list-colors-redisplay): New function.
15799 (list-colors-display): Install list-colors-redisplay as the
15800 revert-buffer-function. (Bug#14063)
15802 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15804 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15805 and suffixes don't overlap (bug#14061).
15807 * case-table.el: Use lexical-binding.
15808 (case-table-get-table): New function.
15809 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15811 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15813 * progmodes/subword.el: Add `superword-mode' to do word motion
15814 over symbol_words (parallels and leverages `subword-mode' which
15815 does word motion inside MixedCaseWords).
15817 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15819 * eshell/em-unix.el: Move su and sudo to...
15820 * eshell/em-tramp.el: ...Eshell tramp module.
15822 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15824 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15825 Change return value to be a sexp. Delay `get-buffer' to after
15826 restoring the desktop (bug#13951).
15828 2013-03-26 Leo Liu <sdl.web@gmail.com>
15830 * register.el: Move semantic tag handling back to
15831 cedet/semantic/senator.el. (Bug#14052)
15833 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15835 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15836 into the prompt either (bug#13963).
15838 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15840 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15841 part of "(error-foo)".
15843 2013-03-24 Juri Linkov <juri@jurta.org>
15845 * replace.el (list-matching-lines-prefix-face): New defcustom.
15846 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15847 `occur-engine' if `face-differs-from-default-p' returns t.
15848 (occur-engine): Add `,' inside backquote construct to evaluate
15849 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15850 Pass `prefix-face' to the functions `occur-context-lines' and
15851 `occur-engine-add-prefix'.
15852 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15853 `prefix-face' and propertize the prefix with `prefix-face'.
15856 2013-03-24 Leo Liu <sdl.web@gmail.com>
15858 * nxml/rng-valid.el (rng-validate-while-idle)
15859 (rng-validate-quick-while-idle): Guard against deleted buffer.
15862 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15863 is the last entry in kill-buffer-hook.
15865 * files.el (kill-buffer-hook): Doc fix.
15867 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15869 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15870 Make it safe-local.
15872 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15874 2013-03-23 Leo Liu <sdl.web@gmail.com>
15876 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15879 * nxml/rng-valid.el (rng-validate-mode)
15880 (rng-after-change-function, rng-do-some-validation):
15881 * nxml/rng-maint.el (rng-validate-buffer):
15882 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15883 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15884 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15885 (nxml-extend-after-change-region): Use with-silent-modifications.
15887 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15890 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15891 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15892 timer-idle-list. (Bug#13999)
15894 2013-03-23 Juri Linkov <juri@jurta.org>
15896 * info.el (info-index-match): New face.
15897 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15898 main pattern and add text properties with the new face to matches
15899 in index entries relative to the beginning of the index entry.
15902 2013-03-21 Eric Ludlam <zappo@gnu.org>
15904 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15905 Inhibit read only while inserting objects.
15907 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15909 * progmodes/cfengine.el: Update docs to mention
15910 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15911 symbol motion. Remove "_" from the word syntax.
15913 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15915 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15916 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15918 2013-03-20 Juri Linkov <juri@jurta.org>
15920 * info.el (Info-next-reference-or-link)
15921 (Info-prev-reference-or-link): New functions.
15922 (Info-next-reference, Info-prev-reference): Use them.
15923 (Info-try-follow-nearest-node): Handle footnote navigation.
15924 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15926 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15928 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15929 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15931 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15933 Suppress unnecessary non-ASCII chatter during build process.
15934 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15935 (batch-skkdic-convert): Suppress most of the chatter.
15936 It's not needed so much now that machines are faster,
15937 and its non-ASCII component was confusing; see Dmitry Gutov in
15938 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15940 2013-03-20 Leo Liu <sdl.web@gmail.com>
15942 * ido.el (ido-chop): Fix bug#10994.
15944 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15946 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15948 (whitespace-color-on, whitespace-color-off):
15949 Use `font-lock-fontify-buffer' (Bug#13817).
15951 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15954 remapping in mode-line.
15955 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15957 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15959 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15960 value for `whitespace-line' face (Bug#13875).
15961 (whitespace-font-lock-keywords): Change description.
15962 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15963 the constructed keywords instead.
15964 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15966 2013-03-19 Leo Liu <sdl.web@gmail.com>
15968 * progmodes/compile.el (compilation-display-error): New command.
15969 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15972 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15974 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15976 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15978 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15980 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15982 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15984 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15985 * net/tramp-gvfs.el (top):
15986 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15987 (tramp-handle-shell-command): Use it.
15988 (tramp-dissect-file-name): Raise an error when hostname is a
15989 method name, and neither method nor user is specified.
15991 * net/trampver.el: Update release number.
15993 2013-03-18 Leo Liu <sdl.web@gmail.com>
15995 Make sure eldoc can be turned off properly.
15996 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15998 (eldoc-display-message-p): Revert last change.
15999 (eldoc-display-message-no-interference-p)
16000 (eldoc-print-current-symbol-info): Tweak.
16002 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16004 * doc-view.el (doc-view-new-window-function): Check the new window
16005 overlay's display property instead the char property of the
16006 buffer's first char. Use `with-selected-window' instead of
16007 `save-window-excursion' with `select-window'.
16008 (doc-view-document->bitmap): Check the current doc-view overlay's
16009 display property instead the char property of the buffer's first char.
16011 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16013 Automate the build of ja-dic.el (Bug#13984).
16014 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16015 from the input, rather than assume that it's been done for us by the
16016 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16017 the current date into a ja-dic.el comment, as that complicates
16018 regression testing.
16020 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16022 * whitespace.el: Fix double evaluation.
16023 (whitespace-space, whitespace-hspace, whitespace-tab)
16024 (whitespace-newline, whitespace-trailing, whitespace-line)
16025 (whitespace-space-before-tab, whitespace-indentation)
16026 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16028 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16029 (whitespace-color-on): Use a single font-lock-add-keywords call.
16030 Fix double-evaluation of face variables.
16032 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16034 * net/tramp-adb.el (tramp-adb-parse-device-names):
16035 Use `start-process' instead of `call-process'. Otherwise, the
16036 function might be blocked under MS Windows. (Bug#13299)
16038 2013-03-17 Leo Liu <sdl.web@gmail.com>
16040 Extend eldoc to display info in the mode-line. (Bug#13978)
16041 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16042 (eldoc-mode-line-string): New variable.
16043 (eldoc-minibuffer-message): New function.
16044 (eldoc-message-function): New variable.
16045 (eldoc-message): Use it.
16046 (eldoc-display-message-p)
16047 (eldoc-display-message-no-interference-p):
16048 Support eldoc-post-insert-mode.
16050 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16051 (eval-expression): Run it.
16053 2013-03-17 Roland Winkler <winkler@gnu.org>
16055 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16056 strings in the list of return values.
16058 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16060 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16061 radix before checking for HMS forms.
16063 2013-03-16 Leo Liu <sdl.web@gmail.com>
16065 * progmodes/scheme.el: Add indentation and font-locking for λ.
16068 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16070 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16071 token before point (bug#13942).
16073 2013-03-16 Leo Liu <sdl.web@gmail.com>
16075 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16077 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16079 * startup.el (command-line-normalize-file-name): Fix handling of
16080 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16081 <xfq.free@gmail.com> in
16082 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16084 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16086 Sync with Tramp 2.2.7.
16088 * net/trampver.el: Update release number.
16090 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16092 * doc-view.el: Fix bug#13887.
16093 (doc-view-insert-image): Don't modify overlay associated to
16094 non-live windows, and implement horizontal centering of image in
16095 case it's smaller than the window.
16096 (doc-view-new-window-function): Force redisplay of new windows on
16099 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16101 * saveplace.el (save-place-alist-to-file): Don't sort
16102 `save-place-alist', just pretty-print it (bug#13882).
16104 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16106 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16107 Check whether `default-file-name-coding-system' is bound.
16108 It isn't in XEmacs.
16110 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16112 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16113 backquotes for `obsolete' (bug#13929).
16115 * international/mule.el (find-auto-coding): Include file name in
16116 obsolescence warning (bug#13922).
16118 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16120 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16121 for CFEngine 3-specific indentation.
16122 (cfengine3-indent-line): Use it. Fix up category regex.
16123 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16125 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16127 * type-break.el (type-break-file-name):
16128 * textmodes/remember.el (remember-data-file):
16129 * strokes.el (strokes-file):
16130 * shadowfile.el (shadow-initialize):
16131 * saveplace.el (save-place-file):
16132 * ps-bdf.el (bdf-cache-file):
16133 * progmodes/idlwave.el (idlwave-config-directory):
16134 * net/quickurl.el (quickurl-url-file):
16135 * international/kkc.el (kkc-init-file-name):
16136 * ido.el (ido-save-directory-list-file):
16137 * emulation/viper.el (viper-custom-file-name):
16138 * emulation/vip.el (vip-startup-file):
16139 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16140 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16142 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16144 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16145 * language/thai-word.el: Switch to UTF-8.
16147 See ChangeLog.16 for earlier changes.
16149 ;; Local Variables:
16153 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16155 This file is part of GNU Emacs.
16157 GNU Emacs is free software: you can redistribute it and/or modify
16158 it under the terms of the GNU General Public License as published by
16159 the Free Software Foundation, either version 3 of the License, or
16160 (at your option) any later version.
16162 GNU Emacs is distributed in the hope that it will be useful,
16163 but WITHOUT ANY WARRANTY; without even the implied warranty of
16164 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16165 GNU General Public License for more details.
16167 You should have received a copy of the GNU General Public License
16168 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.