1 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
3 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
4 argument COUNT is now optional, to be more backward-compatible.
7 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9 * whitespace.el (whitespace-report-region): Simplify
11 (whitespace-report-region): Allow report-if-bogus to take the
12 value `never', for non-interactive use.
13 (whitespace-report): Refer to whitespace-report-region's
16 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
18 * whitespace.el: Use font-lock-flush. Minimize refontifications.
19 Side benefit: it works without jit-lock.
20 (whitespace-point--used): New buffer-local var.
21 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
22 (whitespace-color-off): Use font-lock-flush.
23 (whitespace-point--used, whitespace-point--flush-used): New functions.
24 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
25 (whitespace-empty-at-eob-regexp): Use them.
26 (whitespace-post-command-hook): Rewrite.
28 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
29 (font-lock-fontify-buffer): Mark interactive-only.
30 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
32 (font-lock-specified-p): Remove redundant boundp check.
33 (font-lock-flush-function, font-lock-ensure-function): New vars.
34 (font-lock-turn-on-thing-lock): Set them.
35 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
36 (font-lock-after-change-function): Make `old-len' optional.
37 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
38 Call font-lock-flush, just in case.
39 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
41 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
42 (vera-mode-map, vera-mode-menu): Remove bindings to it.
43 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
44 and with-syntax-table.
45 * textmodes/conf-mode.el (conf-quote-normal):
46 * progmodes/sh-script.el (sh-set-shell):
47 * progmodes/prog-mode.el (prettify-symbols-mode):
48 * progmodes/f90.el (f90-font-lock-n):
49 * progmodes/cwarn.el (cwarn-mode):
50 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
51 * progmodes/compile.el (compilation-setup, compilation--unsetup):
52 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
53 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
54 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
55 font-lock-fontify-buffer-function and
56 font-lock-unfontify-buffer-function.
57 (rmail-unfontify-buffer-function, rmail-fontify-message):
58 Use with-silent-modifications.
59 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
61 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
63 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
65 * emacs-lisp/package.el (package-generate-autoloads):
68 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
70 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
73 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
75 * textmodes/tildify.el (tildify-buffer, tildify-region):
78 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
80 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
81 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
83 * subr.el (internal--funcall-interactively): New.
84 (internal--call-interactively): Remove.
85 (called-interactively-p): Detect funcall-interactively instead of
87 * simple.el (repeat-complex-command): Use funcall-interactively.
88 (repeat-complex-command--called-interactively-skip): Remove.
90 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
92 * register.el (register-read-with-preview): Don't burp on
93 frame switches (e.g. due to the frame we just popped).
95 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
96 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
98 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
100 * cus-face.el (custom-face-attributes): Add :distant-foreground.
102 2014-05-26 Martin Rudalics <rudalics@gmx.at>
104 * window.el (window--dump-frame): Remove interactive specification.
106 2014-05-26 Glenn Morris <rgm@gnu.org>
108 * hippie-exp.el (he-line-search-regexp):
109 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
111 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
113 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
114 to avoid errors when trying to create or visit a file foo.todo
115 located outside to todo-directory, and to allow having such files
116 without them being tied to Todo mode (bug#17482).
117 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
118 (todo-archive-done-item, todo-find-filtered-items-file)
119 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
120 (todo-category-completions, todo-read-category): When visiting a
121 Todo file, make sure we're in the right mode and the buffer local
123 (todo-make-categories-list, todo-reset-nondiary-marker)
124 (todo-reset-done-string, todo-reset-comment-string):
125 After processing all Todo files, kill the buffers of those files that
126 weren't being visited before the processing.
127 (todo-display-as-todo-file, todo-add-to-buffer-list)
128 (todo-visit-files-commands): Comment out.
129 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
130 (auto-mode-alist): Remove add-to-list calls making Todo file
131 extensions unrestrictedly tied to Todo modes.
133 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
135 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
136 (advice-function-member-p): Tell it to check both names and functions
138 (advice--add-function): Adjust call accordingly.
140 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
142 * calendar/todo-mode.el: Miscellaneous bug fixes.
143 (todo-delete-file): When deleting an archive but not its todo
144 file, make sure to update the todo file's category sexp.
145 (todo-move-category): Keep the moved category's name unless the
146 file moved to already has a category with that name. If the
147 numerically last category of the source file was moved, make the
148 first category current to avoid selecting a nonexisting category.
149 (todo-merge-category): Fix implementation to make merging to a
150 category in another file work as documented. Eliminate now
151 insufficient and unnecessary renaming of archive category, correct
152 document string accordingly, and clarify it. If the numerically
153 last category of the source file was merged, make the first
154 category current to avoid selecting a nonexisting category.
155 (todo-archive-done-item): When there are marked items and point
156 happens to be on an unmarked item, ignore the latter. Don't leave
157 point below last item after archiving marked items.
158 (todo-unarchive-items): Fix logic to ensure unarchiving an item
159 from an archive with only one category deletes the archive only
160 when the category is empty after unarchiving. Make sure the todo
161 file's category sexp is updated.
162 (todo-read-file-name): Allow an existing file name even when it is
163 not required (todo-move-category needs this to work as documented).
164 (todo-add-file): Call todo-validate-name to reject the name of an
165 existing todo file (needed due to fix in todo-read-file-name).
166 (todo-reset-nondiary-marker): Also reset in filtered items files.
167 (todo-reset-done-string, todo-reset-comment-string): Also reset in
168 regexp filtered items files.
169 (todo-reset-highlight-item): Also reset in filtered items files.
170 Fix incorrect variable reference in document string.
172 2014-05-26 Glenn Morris <rgm@gnu.org>
174 * window.el (window--dump-frame): Avoid error in --without-x builds.
176 2014-05-26 Glenn Morris <rgm@gnu.org>
178 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
180 2014-05-26 Eli Zaretskii <eliz@gnu.org>
182 * frame.el (set-frame-font): Doc fix.
184 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
186 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
188 * emacs-lisp/package.el (package--download-one-archive):
189 Use `write-region' instead of `save-buffer' to avoid running various
191 (describe-package-1): Same. Insert newline at the end of the
192 buffer if appropriate.
194 2014-05-26 Juri Linkov <juri@jurta.org>
196 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
197 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
198 Add more modifiers: meta, control, shift, hyper, super, alt.
201 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
202 to allow changing its value with `set-variable'.
204 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
206 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
208 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
210 (scheme-mode-variables): Set syntax-propertize-function instead of
211 font-lock-syntactic-face-function.
212 (scheme-font-lock-syntactic-face-function): Delete.
214 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
216 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
219 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
221 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
222 for a temporary file name.
224 2014-05-26 Eli Zaretskii <eliz@gnu.org>
226 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
228 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
230 * net/dbus.el (dbus-init-bus, dbus-call-method)
231 (dbus-call-method-asynchronously, dbus-send-signal)
232 (dbus-method-return-internal, dbus-method-error-internal):
233 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
235 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
237 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
238 methods which do not have a doc string. (Bug#17490)
240 2014-05-25 Tassilo Horn <tsdh@gnu.org>
242 * textmodes/reftex-ref.el (reftex-format-special): Make it work
243 also for AMS Math's \eqref macro.
245 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
247 Arrange to never byte-compile the generated -pkg.el file.
249 * emacs-lisp/package.el (package-generate-description-file):
250 Output first-line comment to set buffer-local var `no-byte-compile'.
251 Suggested by Dmitry Gutov:
252 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
254 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
256 Fix bug: Properly quote args to generated -pkg.el `define-package'.
258 * emacs-lisp/package.el (package-generate-description-file):
259 Inline `package--alist-to-plist'; rewrite to selectively
260 quote alist values that are not self-quoting.
261 (package--alist-to-plist): Delete func.
263 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
265 * term/xterm.el (xterm-function-map): Add mapping for shifted
268 2014-05-24 Daniel Colascione <dancol@dancol.org>
270 * progmodes/subword.el (subword-find-word-boundary): Move point to
271 correct spot before search. (Bug#17580)
273 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
276 2014-05-24 Leo Liu <sdl.web@gmail.com>
278 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
280 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
282 * minibuffer.el (completion--sreverse): Remove.
283 (completion--common-suffix): Use `reverse' instead.
284 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
286 2014-05-22 Glenn Morris <rgm@gnu.org>
288 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
290 2014-05-21 Daniel Colascione <dancol@dancol.org>
292 * files.el (interpreter-mode-alist): Add mksh.
294 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
296 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
297 mksh. Improve custom spec; allow regular expressions.
298 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
299 (sh-after-hack-local-variables): New function.
300 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
301 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
303 (sh-canonicalize-shell): Rewrite to support regexes.
305 2014-05-21 Leo Liu <sdl.web@gmail.com>
307 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
309 2014-05-19 Leo Liu <sdl.web@gmail.com>
311 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
313 2014-05-18 Glenn Morris <rgm@gnu.org>
316 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
318 2014-05-14 Sam Steingold <sds@gnu.org>
320 * progmodes/python.el (python-shell-get-or-create-process):
321 Do not bind `current-prefix-arg' so that C-c C-z does not talk
322 back unless requested.
324 2014-05-14 Glenn Morris <rgm@gnu.org>
326 * subr.el (with-file-modes): New macro.
327 * printing.el (pr-save-file-modes): Make obsolete.
328 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
329 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
331 * doc-view.el (doc-view-make-safe-dir):
332 * epg.el (epg--start):
333 * files.el (locate-user-emacs-file, make-temp-file)
334 (backup-buffer-copy, move-file-to-trash):
335 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
336 * eshell/esh-util.el (eshell-with-private-file-modes)
337 (eshell-make-private-directory):
338 * net/browse-url.el (browse-url-mosaic):
339 * obsolete/mailpost.el (post-mail-send-it):
340 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
341 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
344 * vc/emerge.el (emerge-make-temp-file): Simplify.
346 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
347 Stefan Monnier <monnier@iro.umontreal.ca>
349 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
352 2014-05-14 Glenn Morris <rgm@gnu.org>
354 * vc/emerge.el (emerge-temp-file-prefix):
355 Make pointless option obsolete.
356 (emerge-temp-file-mode): Make non-functional option obsolete.
358 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
360 * net/browse-url.el (browse-url):
361 Use `unhandled-file-name-directory' when setting `default-directory',
362 in order to circumvent stalled remote connections. (Bug#17425)
364 2014-05-14 Glenn Morris <rgm@gnu.org>
366 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
367 Optimize on Emacs, which has the relevant functions for ages.
369 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
371 * simple.el (undo-make-selective-list): Obey undo-no-redo.
373 2014-05-12 Sam Steingold <sds@gnu.org>
375 * calendar/time-date.el (seconds-to-string): New function to
376 pretty print time delay in seconds.
378 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
380 * mpc.el (mpc-format): Trim Date to the year.
381 (mpc-songs-hashcons): Shorten the Date field.
383 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
384 into autoloading just because of a silly indirection.
386 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
388 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
390 2014-05-12 Glenn Morris <rgm@gnu.org>
392 * emacs-lisp/find-gc.el: Move to ../admin.
394 * printing.el (pr-version):
395 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
397 * net/browse-url.el (browse-url-mosaic):
398 Create /tmp/Mosaic.PID as a private file.
400 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
402 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
403 (advice--member-p): If name is given, only compare the name.
404 (advice--remove-function): Don't stop at the first match.
405 (advice--normalize-place): New function.
406 (add-function, remove-function): Use it.
407 (advice--add-function): Pass the name, if any, to
408 advice--remove-function.
410 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
412 * electric.el (electric-indent-post-self-insert-function): Don't use
413 `pos' after modifying the buffer (bug#17449).
415 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
417 * calendar/todo-mode.el (todo-insert-item-from-calendar):
418 Correct argument list to conform to todo-insert-item--basic.
420 2014-05-12 Glenn Morris <rgm@gnu.org>
422 * files.el (cd-absolute): Test if directory is accessible
423 rather than executable. (Bug#17330)
425 * progmodes/compile.el (recompile):
426 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
428 * net/browse-url.el (browse-url-mosaic):
429 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
430 This is CVE-2014-3423.
432 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
434 * mouse.el: Use the normal toplevel loop while dragging.
435 (mouse-set-point): Handle multi-clicks.
436 (mouse-set-region): Handle multi-clicks for drags.
437 (mouse-drag-region): Update call accordingly.
438 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
439 Use the normal event loop instead of a local while/read-event loop.
440 (global-map): Remove redundant bindings for double/triple-mouse-1.
441 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
442 Generate synthetic down events when the protocol only sends up events.
443 (xterm-mouse-last): Remove.
444 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
445 terminal parameter instead.
446 (xterm-mouse--set-click-count): New function.
447 (xterm-mouse-event): Detect/generate double/triple clicks.
448 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
450 * info.el (Info-quoted): New face.
451 (Info-mode-font-lock-keywords): New var.
454 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
455 are a hindrance for C-x C-e.
457 2014-05-11 Leo Liu <sdl.web@gmail.com>
459 * net/rcirc.el (rcirc-sentinel): Fix last change.
461 2014-05-08 Sam Steingold <sds@gnu.org>
463 * net/rcirc.el (rcirc-reconnect-delay): New user option.
464 (rcirc-sentinel): Auto-reconnect to the server if
465 `rcirc-reconnect-delay' is non-0 (but not more often than its
466 value in case the host is off-line).
468 2014-05-09 Eli Zaretskii <eliz@gnu.org>
470 * progmodes/grep.el (lgrep): Fix a typo in last commit.
472 2014-05-09 Glenn Morris <rgm@gnu.org>
474 * files.el (file-expand-wildcards):
475 * man.el (Man-support-local-filenames):
476 * printing.el (pr-i-directory, pr-interface-directory):
477 * progmodes/grep.el (lgrep, rgrep):
478 * textmodes/ispell.el (ispell-call-process)
479 (ispell-call-process-region, ispell-start-process)
480 (ispell-init-process): Use file-accessible-directory-p.
482 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
484 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
485 (xterm-mouse--read-event-sequence-1000): Return nil if something
487 (xterm-mouse-event): Propagate it.
488 (xterm-mouse-translate-1): Handle it.
490 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
492 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
493 four slots of the parameter list are filled, make sure to pass it
494 to the argument list of todo-insert-item--basic.
496 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
498 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
499 Add optional `seen' argument to detect and break infinite loops.
501 2014-05-08 Eli Zaretskii <eliz@gnu.org>
503 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
504 (trace-unsafe, trace-use-tree): Make parentheses style be
505 according to Emacs style.
507 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
509 * net/tramp-sh.el (tramp-remote-process-environment):
510 Remove HISTFILE and HISTSIZE; it's too late to set them here.
512 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
513 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
514 extra "PSx=..." commands.
515 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
518 (tramp-uudecode): Replace the hard-coded temporary file name by a
520 (tramp-remote-coding-commands): Enhance docstring.
521 (tramp-find-inline-encoding): Replace "%t" by a temporary file
523 This is CVE-2014-3424.
525 2014-05-08 Glenn Morris <rgm@gnu.org>
527 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
528 (find-gc-source-files): Update some names.
529 (trace-call-tree): Simplify and update.
530 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
531 This is CVE-2014-3422.
533 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
535 * minibuffer.el (completion--try-word-completion): Revert fix for
536 Bug#15980 (bug#17375).
538 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
539 Always store button numbers in the same way in xterm-mouse-last;
540 Don't burp is xterm-mouse-last is not set as expected.
541 Never return negative indices.
543 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
545 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
546 Backtrack one char if the global/char-literal var matcher hits
547 inside a string. The next char could be the beginning of an
548 expression expansion.
550 2014-05-08 Glenn Morris <rgm@gnu.org>
552 * help-fns.el (describe-function-1): Test for an autoload before a
553 macro, since `macrop' works on autoloads. (Bug#17410)
555 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
557 * electric.el (electric-indent-functions-without-reindent): Add yaml.
559 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
560 Make sure the new point we return is within the new string (bug#17239).
562 2014-05-05 Daniel Colascione <dancol@dancol.org>
564 * progmodes/compile.el (compilation-error-regexp-alist-alist):
565 Port `gnu' pattern to rx.
567 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
569 Remove unneeded prompt when closing a buffer with active
570 emacsclient ("Buffer ... still has clients"), #16548.
571 * server.el (server-start): Remove the only call to:
572 (server-kill-buffer-query-function): Remove.
574 2014-05-04 Leo Liu <sdl.web@gmail.com>
576 * calendar/diary-lib.el (calendar-chinese-month-name-array):
577 Defvar to pacify compiler.
579 2014-05-04 Eli Zaretskii <eliz@gnu.org>
581 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
583 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
585 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
586 Use nil rather than `default' for the "default" appearance (bug#17388).
587 * vc/ediff-util.el (ediff-inferior-compare-regions)
588 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
589 a misleading `default' value when it's really a boolean.
590 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
591 overlay is not visible.
593 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
595 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
596 (todo-menu): Uncomment and update.
598 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
600 * calendar/todo-mode.el: Reimplement item editing to have the same
601 basic user interface as item insertion, and make small UI and
602 larger internal improvements to the latter.
603 (todo-insert-item): Add reference to the Todo mode user manual to
604 the documentation string.
605 (todo-insert-item--basic): Rename from todo-basic-insert-item and
606 adjust all callers. Change signature to combine diary and
607 nonmarking arguments. Incorporate functionality of deleted item
608 copying command and add error checking. Remove detailed
609 descriptions of the arguments from the documentation string, since
610 this is treated in the Todo mode user manual.
611 (todo-copy-item, todo-edit-multiline-item)
612 (todo-edit-done-item-comment, todo-edit-item-header)
613 (todo-edit-item-time, todo-edit-item-date-from-calendar)
614 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
615 (todo-edit-item-date-year, todo-edit-item-date-month)
616 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
618 (todo-edit-item): Reimplement as wrapper command for
619 todo-edit-item--next-key and make it distinguish done and not done
621 (todo-edit-item--text): New function, replacing old command
622 todo-edit-item and incorporating deleted commands
623 todo-edit-multiline-item and todo-edit-done-item-comment.
624 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
625 Use only numeric value of prefix argument. Remove detailed
626 descriptions of the arguments from the documentation string, since
627 this is treated in the Todo mode user manual.
628 (todo-edit-item--diary-inclusion): New function, replacing old
629 command todo-edit-item-diary-inclusion and incorporating and fixing
630 functionality of deleted command todo-edit-item-diary-nonmarking,
631 making sure to remove todo-nondiary-marker when adding
632 diary-nonmarking-symbol.
633 (todo-edit-category-diary-inclusion): Make sure to delete
634 diary-nonmarking-symbol when adding todo-nondiary-marker.
635 (todo-edit-category-diary-nonmarking): Fix indentation.
636 (todo-insert-item--parameters): Group diary and nonmarking
638 (todo-insert-item--apply-args): Adjust to signature of
639 todo-insert-item--basic and incorporate copy parameter.
640 Make small code improvements.
641 (todo-insert-item--next-param): Improve prompt and adjust it to
642 new parameter grouping. Remove obsolete code.
643 (todo-edit-item--param-key-alist)
644 (todo-edit-item--date-param-key-alist)
645 (todo-edit-done-item--param-key-alist): New defconsts.
646 (todo-edit-item--prompt): New variable.
647 (todo-edit-item--next-key): New function.
648 (todo-key-bindings-t): Bind "e" to todo-edit-item.
649 Remove bindings of deleted commands.
651 2014-05-04 Leo Liu <sdl.web@gmail.com>
653 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
655 2014-05-04 Glenn Morris <rgm@gnu.org>
657 * allout-widgets.el (allout-widgets-tally)
658 (allout-decorate-item-guides):
659 * menu-bar.el (menu-bar-positive-p):
660 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
661 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
662 * progmodes/js.el (js--inside-param-list-p)
663 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
664 * progmodes/prolog.el (region-exists-p):
665 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
666 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
667 Doc fixes (replace `iff').
669 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
671 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
673 2014-05-04 Leo Liu <sdl.web@gmail.com>
675 Support Chinese diary entries in calendar and diary. (Bug#17393)
676 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
677 (calendar-chinese-from-absolute-for-diary)
678 (calendar-chinese-to-absolute-for-diary)
679 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
680 (diary-chinese-list-entries): New functions to list and mark
681 Chinese diary entries in the calendar window.
682 (diary-chinese-anniversary)
683 (diary-chinese-insert-anniversary-entry)
684 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
685 (diary-chinese-insert-yearly-entry): New commands to insert
686 Chinese diary entries.
688 * calendar/diary-lib.el (diary-font-lock-keywords):
689 Support font-locking Chinese dates.
691 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
692 inserting Chinese diary entries.
694 * calendar/calendar.el (diary-chinese-entry-symbol):
695 New customizable variable.
696 (calendar-mode-map): Add bindings for inserting Chinese diary
699 2014-05-03 Juri Linkov <juri@jurta.org>
701 * dired.el (dired-check-switches, dired-switches-recursive-p):
702 New functions. (Bug#17218)
703 (dired-switches-escape-p, dired-move-to-end-of-filename):
704 Use `dired-check-switches'.
705 (dired-insert-old-subdirs, dired-build-subdir-alist)
706 (dired-sort-R-check): Use `dired-switches-recursive-p'.
708 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
710 * simple.el (undo-make-selective-list): New algorithm fixes
711 incorrectness of position adjustments when undoing in region.
713 (undo-elt-crosses-region): Make obsolete.
714 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
715 New functions to adjust positions using undo-deltas.
717 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
719 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
720 the last consecutive closing paren (bug#17345).
722 2014-04-30 Reuben Thomas <rrt@sc3d.org>
724 * dired.el (dired-mode): make terminology for eXpunge command
725 consistent. (Bug#17276)
727 2014-04-30 Eli Zaretskii <eliz@gnu.org>
729 * dired.el (dired-initial-position-hook, dired-initial-position):
732 2014-04-30 Glenn Morris <rgm@gnu.org>
734 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
736 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
738 * faces.el (face-spec-recalc): Apply X resources only after the
739 defface spec has been applied. Thus, X resources are no longer
740 overriden by the defface spec which also fixes issues on win32 where
741 the toolbar coloring was wrong because it is set through X resources
742 and was (wrongfully) overriden. (Bug#16694)
744 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
746 * textmodes/rst.el (electric-pair-pairs): Declare.
747 (rst-mode): Set it (bug#17131).
749 2014-04-30 Juri Linkov <juri@jurta.org>
751 * desktop.el (desktop-value-to-string): Let-bind `print-length'
752 and `print-level' to nil. (Bug#17351)
754 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
756 * battery.el (battery-update): Handle the case where battery
757 status is "N/A" (bug#17319).
759 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
761 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
762 to syntax-propertize.
763 (ps-mode-auto-indent): Mark as obsolete.
764 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
765 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
766 word regexp operators.
767 (ps-mode-map): Move initialization into declaration. Remove binding
768 for TAB, RET, >, ], and }.
769 (ps-mode-syntax-table): Move initialization into declaration.
770 Don't give word syntax to non-word chars.
771 (ps-run-mode-map): Move initialization into declaration.
772 (ps-mode-menu-main): Remove auto-indent entry.
773 (ps-mode-smie-rules): New function.
774 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
775 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
776 (ps-mode--string-syntax-table): New const.
777 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
779 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
780 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
782 2014-04-27 Daniel Colascione <dancol@dancol.org>
784 * term/xterm.el (xterm-paste): Use large finite timeout when
785 reading event to avoid putting keys in this-command-keys.
787 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
789 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
790 (perl-syntax-propertize-function): Use it. Extend handling of
791 here-docs to the unquoted case.
793 2014-04-25 Eli Zaretskii <eliz@gnu.org>
795 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
796 Use equal-including-properties to compare help-echo strings (bug#17331).
798 2014-04-25 Leo Liu <sdl.web@gmail.com>
800 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
801 Fix syntax for @. (Bug#17325)
803 2014-04-25 Daniel Colascione <dancol@dancol.org>
805 * emacs-lisp/cl.el (gv): Require gv early to break eager
806 macro-expansion cycles.
808 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
810 * simple.el (region-active-p): Check there's a mark (bug#17324).
812 * simple.el (completion-list-mode-map): Use choose-completion for the
813 mouse binding as well (bug#17302).
814 (completion-list-mode, completion-setup-function): Adjust docstring and
815 echo area message accordingly.
816 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
817 calling convention of choose-completion.
818 * comint.el (comint-dynamic-list-completions):
819 * term.el (term-dynamic-list-completions): Accept choose-completion.
821 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
822 &, |, +, - and * can't be a division (bug#17317).
824 * term/xterm.el (xterm--version-handler): Don't use modern xterm
825 features on gnome-terminal (bug#16988).
827 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
829 Improve Scheme font-locking for (define ((foo ...) ...) ...).
831 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
832 the declared object, ignore zero or more parens, not zero or one.
834 2014-04-24 Leo Liu <sdl.web@gmail.com>
836 * progmodes/xscheme.el (xscheme-expressions-ring)
837 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
838 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
839 (xscheme-allow-output-p, xscheme-prompt)
840 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
842 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
843 Comment out unused functions.
845 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
847 * info.el: Use lexical-binding and cl-lib.
848 Use defvar-local and setq-local instead of make-local-variable.
849 (Info-apropos-matches): Avoid add-to-list.
850 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
852 2014-04-24 Daniel Colascione <dancol@dancol.org>
854 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
856 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
858 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
860 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
862 * dired.el (dired-insert-set-properties): Do not consider
863 subdirectory headings and empty lines to be information that
864 `dired-hide-details-mode' should hide. (Bug#17228)
866 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
868 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
869 Remove test messages.
870 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
873 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
875 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
876 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
878 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
880 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
882 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
883 Set "IFS=" when using read builtin, in order to preserve spaces in
884 the file name. Add test messages for hunting a bug on hydra.
885 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
887 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
889 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
890 Don't prettify a word within a symbol.
892 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
894 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
897 2014-04-22 Daniel Colascione <dancol@dancol.org>
899 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
900 use defun to define `function-put'.
902 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
904 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
905 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
906 (lisp-mode-variables): Set font-lock-extra-managed-props.
908 * emacs-lisp/byte-run.el (function-put): New function.
909 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
910 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
911 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
914 2014-04-22 Daniel Colascione <dancol@dancol.org>
916 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
917 Add `full-p' parameter; when nil, call `macroexpand' instead of
920 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
923 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
924 Use lambda function values, not quoted lambdas.
925 (byte-compile-recurse-toplevel): Remove extraneous &optional.
927 * emacs-lisp/cl-macs.el
928 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
929 (cl-struct-slot-value): Conditionally use aref or nth so that the
930 compiler produces optimal code.
932 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
934 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
935 (inline): Don't inline cl--set-elt.
936 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
937 Define as inlinable instead.
938 (cl-struct-set-slot-value): Remove.
940 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
941 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
944 2014-04-21 Daniel Colascione <dancol@dancol.org>
946 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
947 last two parameters after all.
948 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
949 (cl--compiler-macro-assoc,cl-struct-slot-value)
950 (cl-struct-set-slot-value): Stop using them.
952 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
954 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
955 entry in image-mode-winprops-alist.
957 2014-04-21 Daniel Colascione <dancol@dancol.org>
959 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
960 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
961 (byte-compile-toplevel-file-form): Use it.
963 * emacs-lisp/cl-macs.el:
964 (cl--loop-let): Properly destructure `while' clauses.
966 2014-04-20 Daniel Colascione <dancol@dancol.org>
968 * vc/vc.el (vc-root-dir): New public autoloaded function for
969 generically finding the current VC root.
970 * vc/vc-hooks.el (vc-not-supported): New error.
971 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
973 2014-04-20 Daniel Colascione <dancol@dancol.org>
975 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
977 (cl--const-expr-val): cl--const-expr-val should macroexpand its
978 argument in case we're inside a symbol-macrolet.
979 (cl--do-arglist, cl--compiler-macro-typep)
980 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
981 environment to `cl--const-expr-val'.
982 (cl-struct-sequence-type,cl-struct-slot-info)
983 (cl-struct-slot-offset, cl-struct-slot-value)
984 (cl-struct-set-slot-value): New functions.
986 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
988 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
989 assignments such as "case=hello" (bug#17297).
991 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
993 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
995 (tramp-file-name-handler, tramp-completion-file-name-handler):
996 Revert patch from 2014-04-10, it isn't necessary anymore.
997 (tramp-autoload-file-name-handler)
998 (tramp-register-autoload-file-name-handlers): New defuns.
999 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1000 (tramp-register-file-name-handlers): Remove also
1001 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1002 Do not autoload its invocation, but eval it after loading of 'tramp.
1004 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1006 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1008 2014-04-17 Daniel Colascione <dancol@dancol.org>
1010 Add support for bracketed paste mode; add infrastructure for
1011 managing terminal mode enabling and disabling automatically.
1014 (xterm-mouse-mode): Simplify.
1015 (xterm-mouse-tracking-enable-sequence)
1016 (xterm-mouse-tracking-disable-sequence): New constants.
1017 (turn-on-xterm-mouse-tracking-on-terminal)
1018 (turn-off-xterm-mouse-tracking-on-terminal):
1019 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1020 parameters instead of random hooks.
1021 (turn-on-xterm-mouse-tracking)
1022 (turn-off-xterm-mouse-tracking): Delete.
1024 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1025 (xterm-paste-ending-sequence): New constant.
1026 (xterm-paste): New command used for bracketed paste support.
1028 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1029 (terminal-init-xterm-bracketed-paste-mode): New function.
1030 (terminal-init-xterm): Call it.
1031 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1032 and tty-mode-reset-strings instead of random hooks.
1033 (xterm-turn-on-modify-other-keys)
1034 (xterm-turn-off-modify-other-keys)
1035 (xterm-remove-modify-other-keys): Delete obsolete functions.
1037 * term/screen.el: Rewrite to just use the xterm code.
1038 Add copyright notice. Mention tmux.
1040 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1042 * image-mode.el (image-mode-window-put): Also update the property of
1043 the "default window".
1044 * doc-view.el (doc-view-new-window-function): If no window
1045 exists, move to the last known page.
1047 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1050 here-documents (bug#17262).
1052 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1054 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1055 Provide doc strings, as required by snarf-documentation.
1057 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1059 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1060 arg of overlays-at. Use `invisible-p'.
1062 * obsolete/lucid.el (extent-at):
1063 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1065 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1067 2014-04-16 João Távora <joaotavora@gmail.com>
1069 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1072 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1074 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1075 Use mapc to loop over a vector. (Bug#17257).
1077 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1079 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1080 patch, there are new problems with file names containing spaces.
1081 Get rid of backticks. (Bug#17238)
1083 2014-04-16 João Távora <joaotavora@gmail.com>
1085 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1088 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1090 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1091 (blink-cursor-mode): Mention customization variables and the
1092 effect of 'blink-cursor-blinks'.
1094 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1096 * simple.el (undo): Prevent insertion of identity mapping into
1097 undo-equiv-table so as undo-only does not inf loop in the presence
1098 of consecutive nils in undo list.
1100 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1102 * faces.el (make-face): Deprecate optional argument as it is no
1103 longer needed/used since the conditional X resources handling
1104 has been pushed down to make-face-x-resource-internal itself.
1105 (make-empty-face): Don't pass optional argument to make-face.
1107 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1109 * savehist.el (savehist-save): Remove workaround for a read-passwd
1110 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1111 noticing that the shim was still present.
1113 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1117 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1119 * faces.el (face-set-after-frame-default): Remove unused local variable.
1121 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * progmodes/grep.el: Use lexical-binding.
1124 (grep-expand-template): Pass explicit lexical env to `eval'.
1125 (zrgrep): Let-bind grep-find-template explicitly.
1127 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1128 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1130 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1132 * international/characters.el <standard-case-table>: Add entries
1133 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1134 Set category of Coptic characters be 'g' (Greek).
1136 2014-04-12 Leo Liu <sdl.web@gmail.com>
1138 * progmodes/octave.el (completion-table-with-cache):
1139 Define if not available.
1140 (octave-goto-function-definition, octave-sync-function-file-names)
1141 (octave-find-definition-default-filename):
1142 Backquote upattern for compatibility.
1144 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1146 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1147 name twice due to backticks. (Bug#17238)
1149 2014-04-12 Glenn Morris <rgm@gnu.org>
1151 * term/w32-win.el (x-win-suspend-error):
1152 * term/x-win.el (x-win-suspend-error): Sync docs.
1154 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1156 * faces.el (make-face): Remove deprecated optional argument.
1157 The conditional application of X resources is handled directly by
1158 make-face-x-resource-internal since Emacs 24.4.
1159 (make-empty-face): Don't pass optional argument to make-face.
1161 2014-04-11 Glenn Morris <rgm@gnu.org>
1163 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1165 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1167 Ediff's overlay priorities cause more trouble than they solve.
1168 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1169 (ediff-highest-priority): Remove function (bug#17234).
1170 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1171 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1172 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1175 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1177 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1178 entry; use symbol boundaries to avoid mis-matches.
1180 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1182 * net/tramp.el (tramp-file-name-handler)
1183 (tramp-completion-file-name-handler): Avoid recursive loading.
1185 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1186 Quote result also locally.
1188 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1191 Remove left-over code.
1193 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1194 Reuse the previous comment's indentation unconditionally if it's on its
1197 2014-04-09 Daniel Colascione <dancol@dancol.org>
1199 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1200 `no-syntax-crossing' arguments. Forward to `up-list'.
1201 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1202 Implement logic for escaping from strings. Use narrowing to deal
1205 2014-04-09 Leo Liu <sdl.web@gmail.com>
1207 * net/rcirc.el (rcirc-connection-info): New variable.
1208 (rcirc-connect): Use it to store connection info.
1209 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1211 (rcirc-cmd-reconnect): New command. (Bug#17045)
1212 (rcirc-mode, set-rcirc-encode-coding-system)
1213 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1215 2014-04-09 Daniel Colascione <dancol@dancol.org>
1217 * emacs-lisp/cl-indent.el: Add comment claiming
1218 facility is also good for elisp.
1219 (lisp-indent-find-method): New function.
1220 (common-lisp-indent-function): Recognize cl-loop.
1221 (common-lisp-indent-function-1): Recognize cl constructs; use
1222 `lisp-indent-find-method' instead of `get' directly.
1223 (if): Use else-body style for elisp.
1225 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1227 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1228 Module methods. (Bug#17216)
1230 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1232 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1233 (describe-bindings-internal): Mark obsolete.
1235 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1237 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1238 buffer-file-name, and buffer-file-truename any more.
1240 2014-04-08 Leo Liu <sdl.web@gmail.com>
1242 Use lexical-binding and require cl-lib.
1243 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1244 (rcirc-handler-generic, rcirc-fill-paragraph)
1245 (rcirc-format-response-string, rcirc-target-buffer)
1246 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1247 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1248 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1249 (rcirc-markup-timestamp, rcirc-markup-attributes)
1250 (rcirc-markup-my-nick, rcirc-markup-urls)
1251 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1252 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1253 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1254 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1255 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1256 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1257 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1258 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1259 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1260 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1261 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1264 2014-04-07 João Távora <joaotavora@gmail.com>
1266 * elec-pair.el (electric-pair--syntax-ppss):
1267 When inside comments parse from comment beginning.
1268 (electric-pair--balance-info): Fix typo in comment.
1269 (electric-pair--in-unterminated-string-p): Delete.
1270 (electric-pair--unbalanced-strings-p): New function.
1271 (electric-pair-string-bound-function): New var.
1272 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1273 according to `electric-pair--in-unterminated-string-p'
1275 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1276 Inhibit quote pairing if point-max is inside an unterminated string.
1277 (electric-pair--looking-at-unterminated-string-p): Delete.
1278 (electric-pair--in-unterminated-string-p): New function.
1280 2014-04-07 Glenn Morris <rgm@gnu.org>
1282 * shell.el (shell-directory-tracker):
1283 Go back to just ignoring failures. (Bug#17159)
1285 2014-04-07 João Távora <joaotavora@gmail.com>
1287 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1288 backspace. (bug#16981)
1289 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1290 (electric-pair-backward-delete-char-untabify): Delete.
1291 (electric-pair-mode-map): Bind backspace to a menu item filtering
1292 a new `electric-pair-delete-pair' command.
1293 (electric-pair-delete-pair): New command.
1295 * progmodes/python.el (python-electric-pair-string-delimiter):
1296 Fix triple-quoting electricity. (Bug#17192)
1298 * elec-pair.el (electric-pair-post-self-insert-function):
1299 Don't skip whitespace when `electric-pair-text-pairs' and
1300 `electric-pair-pairs' were used. syntax to
1301 electric-pair--skip-whitespace. (Bug#17183)
1303 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1305 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1308 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1310 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1311 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1313 2014-04-07 Glenn Morris <rgm@gnu.org>
1315 * help.el (view-lossage): Doc tweak.
1317 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1319 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1320 only when inhibit-x-resources is nil, and do that earlier in the
1321 function. Doc fix. (Bug#16694)
1322 (face-spec-choose): Accept additional optional argument, whose
1323 value is returned if no matching attributes are found.
1324 (face-spec-recalc): Use the new optional argument when calling
1325 face-spec-choose. (Bug#16378)
1326 (make-face-x-resource-internal): Do nothing when
1327 inhibit-x-resources is non-nil. Don't touch the default face if
1328 reversed video is given--as was done in previous versions of Emacs.
1329 (face-set-after-frame-default): Don't call
1330 make-face-x-resource-internal here. (Bug#16434)
1332 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1334 * doc-view.el (doc-view-bookmark-jump):
1335 Use `bookmark-after-jump-hook' to jump to the right page after the
1336 buffer is shown in a window. (bug#16090)
1338 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1340 * international/characters.el (mirroring): Fix last change:
1341 instead of loading uni-mirrored.el explicitly, do that implicitly
1342 by creating the 'mirroring' uniprop table. This avoids announcing
1343 the loading of uni-mirrored.el.
1345 2014-04-07 Glenn Morris <rgm@gnu.org>
1347 * files.el (buffer-stale--default-function)
1348 (buffer-stale-function, revert-buffer--default):
1349 * autorevert.el (auto-revert-buffers): Doc tweaks.
1351 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1353 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1355 2014-04-07 Glenn Morris <rgm@gnu.org>
1357 * files.el (make-backup-file-name-function)
1358 (make-backup-file-name, make-backup-file-name--default-function)
1359 (make-backup-file-name-1, find-backup-file-name)
1360 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1361 (buffer-stale--default-function, buffer-stale-function)
1362 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1363 (revert-buffer, revert-buffer--default)
1364 (revert-buffer-insert-file-contents--default-function):
1365 Doc fixes related to defaults no longer being nil.
1366 (make-backup-file-name-function): Bump :version.
1367 Restore nil as a valid but deprecated custom type.
1369 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1372 Handle $' used as a variable (bug#17174).
1374 * progmodes/perl-mode.el (perl-indent-new-calculate):
1375 Handle forward-sexp failure (bug#16985).
1376 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1377 modifiers introducing expressions (bug#17116).
1379 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1383 2014-04-05 Leo Liu <sdl.web@gmail.com>
1385 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1386 Add define-compilation-mode.
1388 2014-04-04 João Távora <joaotavora@gmail.com>
1390 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1391 parse from comment beginning.
1392 (electric-pair--balance-info): Fix typo in comment.
1393 (electric-pair--in-unterminated-string-p): Delete.
1394 (electric-pair--unbalanced-strings-p): New function.
1395 (electric-pair-string-bound-function): New var.
1396 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1397 according to `electric-pair--in-unterminated-string-p'.
1399 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1401 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1402 Move declaration before first use.
1403 (reftex-move-to-next-arg): Silence compiler warning.
1405 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1407 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1408 Use `window-total-width' instead of `window-width'.
1410 2014-04-03 Daniel Colascione <dancol@dancol.org>
1412 * subr.el (set-transient-map): Remove rms's workaround entirely;
1413 use new `suspicious-object' subr to mark our lambda for closer
1416 2014-04-02 Richard Stallman <rms@gnu.org>
1418 * subr.el (set-transient-map): Comment out previous change.
1420 2014-04-02 Glenn Morris <rgm@gnu.org>
1422 * menu-bar.el (menu-bar-file-menu):
1423 * vc/ediff.el (ediff-current-file):
1424 Update for revert-buffer-function no longer being nil by default.
1426 * simple.el (command-execute): Respect nil disabled-command-function.
1428 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1430 * simple.el (command-execute): Do not execute the command when it
1431 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1433 2014-04-02 Juri Linkov <juri@jurta.org>
1435 * dired-aux.el (dired-compress-file): Don't use string-match-p
1436 because its match data is used afterwards.
1438 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1440 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1443 2014-04-02 João Távora <joaotavora@gmail.com>
1445 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1446 Inhibit quote pairing if point-max is inside an unterminated string.
1447 (electric-pair--looking-at-unterminated-string-p):
1449 (electric-pair--in-unterminated-string-p): New function.
1451 2014-04-01 Daniel Colascione <dancol@dancol.org>
1453 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1454 when trying to complete the prompt.
1456 2014-03-31 Leo Liu <sdl.web@gmail.com>
1458 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1459 Refactor out eldoc-documentation-function-default.
1460 (eldoc-documentation-function-default): New function.
1461 (eldoc-documentation-function): Change value.
1463 2014-03-31 Glenn Morris <rgm@gnu.org>
1465 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1467 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1468 (vhdl-compose-components-package, vhdl-compose-configuration):
1469 Abbreviate default-directory (missing from some previous upstream sync).
1471 2014-03-31 Reto Zimmermann <reto@gnu.org>
1473 Sync with upstream vhdl mode v3.35.2.
1474 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1475 (top-level): No longer require assoc.
1476 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1477 New functions. Use throughout to replace aget etc.
1478 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1479 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1480 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1481 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1482 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1483 except `vhdl-compiler'.
1484 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1487 2014-03-31 Glenn Morris <rgm@gnu.org>
1489 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1490 Revert 2014-03-26 merge goof; go back to using defalias.
1492 2014-03-30 Daniel Colascione <dancol@dancol.org>
1494 * comint.el (comint-send-input):
1495 Deactivate completion-in-region-mode before we send comint input.
1498 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1501 2014-03-29 Glenn Morris <rgm@gnu.org>
1503 * textmodes/reftex.el: Manage most autoloads automatically.
1504 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1505 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1506 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1507 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1508 * textmodes/reftex-toc.el: Set generated-autoload-file,
1509 and add autoload cookies for reftex.el.
1510 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1512 2014-03-28 Glenn Morris <rgm@gnu.org>
1514 * cus-start.el (report-emacs-bug-address): Set custom properties.
1515 * mail/emacsbug.el (report-emacs-bug-address):
1516 Variable is now defined in emacs.c.
1518 * mail/emacsbug.el (report-emacs-bug):
1519 Include system-configuration-features.
1521 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1523 * simple.el (cycle-spacing): Never delete spaces on first run by
1524 default, but do so in a new 'fast mode and if there are already
1525 N spaces (the previous behavior).
1526 Compare N with its value in previous invocation so that changing
1527 prefix argument restarts `cycle-spacing' sequence.
1528 The idea is that with this change, binding M-SPC to
1529 `cycle-spacing' should not introduce any changes in behavior of
1530 the binding so long as users do not type M-SPC twice in a raw with
1531 the same prefix argument or lack thereof.
1533 2014-03-28 Glenn Morris <rgm@gnu.org>
1535 * faces.el (term-file-aliases): New variable.
1536 (tty-run-terminal-initialization): Respect term-file-aliases.
1537 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1538 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1539 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1541 2014-03-27 Glenn Morris <rgm@gnu.org>
1543 * startup.el (inhibit-startup-hooks): Doc tweak.
1544 (normal-top-level): Simplify running of hooks.
1545 For window-setup-hook, respect inhibit-startup-hooks.
1546 (command-line-1): Don't set window-setup-hook to nil.
1548 Allow selective autoloading from obsolete/ directory.
1549 * Makefile.in (obsolete-autoloads): New rule.
1550 (autoloads): Run obsolete-autoloads.
1551 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1552 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1554 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1556 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1557 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1559 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1560 Don't propertize `?' or `!' as symbol constituent when after
1563 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1565 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1566 which is no longer needed and causes trouble in GTK builds (bug#17046).
1568 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1569 Use url-insert-file-contents; package-handle-response no longer exists.
1571 2014-03-26 Daniel Colascione <dancol@dancol.org>
1573 * simple.el (process-menu-mode-map): New variable.
1574 (process-menu-delete-process): New command.
1576 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1578 * emacs-lisp/package.el: Fix bug#16733 (again).
1579 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1580 (url-http-target-url): Remove unused declarations.
1581 (package-handle-response): Remove.
1582 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1583 (package--download-one-archive): Use current-buffer instead of
1584 dynamic binding of `buffer'.
1585 (describe-package-1): Do not decode readme-string.
1587 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1589 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1591 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1592 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1593 `remote-file-name-inhibit-cache' to nil in the second pass.
1594 (tramp-find-executable): Do not call "which" on SunOS.
1595 (tramp-send-command-and-check): Fix docstring.
1596 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1597 check whether source directory has set the sticky bit.
1599 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1601 * simple.el (primitive-undo): Only process marker adjustments
1602 validated against their corresponding (TEXT . POS). Issue warning
1603 for lone marker adjustments in undo history. (Bug#16818)
1604 (undo-make-selective-list): Add marker adjustments to selective
1605 undo list based on whether their corresponding (TEXT . POS) is in
1606 the region. Remove variable adjusted-markers, which was unused
1607 and only non nil during undo-make-selective-list.
1608 (undo-elt-in-region): Return nil when passed a marker adjustment
1609 and explain in function doc.
1611 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1613 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1615 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1617 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1618 Match special global variables without curlies, too.
1619 (ruby-font-lock-keywords): Simplify the matcher for special global
1620 variables. Don't require a non-word character after the variable.
1623 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1625 * simple.el (redisplay-highlight-region-function): Increase priority of
1626 overlay to make sure boundaries are visible (bug#15899).
1628 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1630 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1631 (frameset-restore): Compare display strings with equal.
1633 * frame.el (make-frame): Don't quote display name in error message,
1634 it is already a string.
1636 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1638 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1641 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1643 * emacs-lisp/package.el (package--add-to-archive-contents):
1644 Include already installed and built-in packages in
1645 `package-archive-contents'.
1646 (package-install): Don't include already installed packages in the
1647 options during interactive invocation. (Bug#16762)
1648 (package-show-package-list): If the buffer is already displayed in
1649 another window, switch to that window.
1651 2014-03-26 Reto Zimmermann <reto@gnu.org>
1653 Sync with upstream vhdl mode v3.35.1.
1654 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1655 (vhdl-compiler-alist): Doc fix.
1656 (vhdl-goto-line): Remove.
1657 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1658 (vhdl-mode) <paragraph-start>: Fix value.
1659 (vhdl-fix-statement-region): Not `for' in wait-statement.
1660 (vhdl-beautify-region): Also (un)tabify.
1661 (vhdl-get-visible-signals):
1662 Scan declarative part of generate statements.
1663 (vhdl-template-record): Fix indentation for record type declaration.
1664 (vhdl-expand-abbrev, vhdl-expand-paren):
1665 Revert to using fset again rather than defalias.
1666 (vhdl-scan-directory-contents): Tweak.
1667 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1668 (vhdl-compose-components-package):
1669 Replace vhdl-goto-line with forward-line.
1670 (top-level): Tweak speedbar frame selection.
1671 (vhdl-generate-makefile-1): Support for compilers with no
1672 unit-to-file name mapping (create directory with dummy files).
1674 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1676 Sync with upstream verilog-mode revision 702457d.
1677 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1678 (create-lockfiles): Declare.
1679 (verilog-read-decls): Fix module header imports, bug709.
1680 Reported by Victor Lau.
1681 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1682 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1683 interface-only modules, bug721. Reported by Dean Hoyt.
1685 2014-03-26 Glenn Morris <rgm@gnu.org>
1687 * obsolete/gulp.el: Move here from emacs-lisp/.
1689 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1690 Remove fallback aliases, since they are always defined now.
1692 2014-03-24 Daniel Colascione <dancol@dancol.org>
1694 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1695 instead of cl-loop search function.
1697 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1699 * calendar/parse-time.el (parse-time-iso8601-regexp)
1700 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1703 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1705 * net/dns.el (network-interface-list): Define for XEmacs.
1707 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1709 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1710 the network interfaces changed.
1711 (dns-query): Use it to flush the data.
1713 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1715 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1717 2014-03-23 Daniel Colascione <dancol@dancol.org>
1719 Change subword-mode to use `find-word-boundary-function-table' and
1720 replace `capitalized-words-mode'. Also, convert to lexical
1723 * progmodes/cap-words.el: Delete now-obsolete file.
1724 * progmodes/subword.el: Reimplement using
1725 `find-word-boundary-function-table'.
1726 (subword-mode-map): Hollow out.
1727 (capitalized-words-mode): Define as obsolete alias for
1729 (subword-mode, superword-mode): Tweak documentation to reflect new
1730 implementation; call `subword-setup-buffer'.
1731 (subword-forward, subword-capitalize): Add underscore to indicate
1733 (subword-find-word-boundary-function-table): New constant.
1734 (subword-empty-char-table): New constant.
1735 (subword-setup-buffer): New function.
1736 (subword-find-word-boundary): New function.
1738 2014-03-23 Daniel Colascione <dancol@dancol.org>
1740 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1741 list to look for keyword arguments instead of `memq', fixing
1742 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1743 Please make bootstrap.
1745 2014-03-22 Glenn Morris <rgm@gnu.org>
1747 * dired.el (dired-read-regexp): Make obsolete.
1748 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1749 (dired-flag-files-regexp):
1750 * dired-aux.el (dired-mark-read-regexp):
1751 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1753 * startup.el (fancy-startup-text):
1754 * help.el (describe-gnu-project): Visit online info about GNU project.
1756 * help-fns.el (help-fns--interactive-only): New function.
1757 (help-fns-describe-function-functions): Add the above function.
1758 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1759 (next-line, previous-line): Remove hand-written interactive-only
1760 information from doc strings, it is auto-generated now.
1761 * bookmark.el (bookmark-write):
1762 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1763 (epa-mail-import-keys): Mark interactive-only,
1764 and remove hand-written interactive-only information from doc strings.
1765 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1766 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1767 * files.el (not-modified):
1768 * simple.el (mark-whole-buffer): Mark interactive-only.
1770 * emacs-lisp/byte-run.el (defun-declarations-alist):
1771 Add interactive-only. Doc tweak.
1772 (macro-declarations-alist): Doc tweak.
1773 * subr.el (declare): Doc tweak (add xref to manual).
1774 * comint.el (comint-run):
1775 * files.el (insert-file-literally, insert-file):
1776 * replace.el (replace-string, replace-regexp):
1777 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1778 (delete-forward-char, goto-line, insert-buffer, next-line)
1779 (previous-line): Set interactive-only via declare.
1781 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1783 * emacs-lisp/package.el (package-desc): Use the contents of the
1784 quoted form, not its cdr. (Bug#16873)
1786 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1788 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1789 benefit of doc.c; change parameter profile to match the X function.
1791 2014-03-22 Leo Liu <sdl.web@gmail.com>
1793 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1794 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1796 2014-03-21 Richard Stallman <rms@gnu.org>
1798 * battery.el (battery-linux-sysfs): Search for each field
1799 from the beginning of the buffer.
1801 * subr.el (set-transient-map): Clear out function and value
1802 of the temporary symbol when we're done with it.
1804 * mail/rmailsum.el (rmail-summary-delete-forward):
1805 Optimize case of reaching end and handling count.
1806 (rmail-summary-mark-deleted): Optimize when N is current msg.
1807 Don't create new summary line.
1808 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1809 (rmail-summary-undelete-many): Rewrite for speed.
1810 (rmail-summary-msg-number): New function.
1812 * mail/rmail.el (rmail-delete-message): Update summary.
1813 (rmail-undelete-previous-message): Handle repeat count arg.
1814 (rmail-delete-backward, rmail-delete-forward): Likewise.
1816 2014-03-21 Daniel Colascione <dancol@dancol.org>
1818 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1819 information in bug reports.
1821 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1823 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1824 and `tramp-copy-env'.
1826 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1827 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1829 2014-03-21 Glenn Morris <rgm@gnu.org>
1831 * electric.el (electric-indent-post-self-insert-function): Add doc.
1833 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1835 * emacs-lisp/package.el (package-compute-transaction):
1836 Use `version-list-<=' to compare the requirement version against
1837 the version of package already to be installed. Update the error
1838 message. (Bug#16826)
1840 * progmodes/ruby-mode.el (ruby-smie-rules):
1841 Add indentation rule for ` @ '. (Bug#17050)
1843 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1845 * align.el (align-regexp): Remove superfluous backslash.
1847 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1848 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1849 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1850 Fix docstring typos.
1851 (ffap-next): Use C-u in docstring.
1852 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1853 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1854 Remove superfluous backslashes.
1855 (ffap-string-at-point): Reflow docstring.
1857 * server.el (server-host): Reflow docstring.
1858 (server-unload-function): Fix docstring typo.
1859 (server-eval-at): Remove superfluous backslash.
1861 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1862 (skeleton-insert): Doc fix.
1863 (skeleton-insert): Reflow docstring.
1865 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1866 (tty-color-approximate, tty-color-by-index, tty-color-values)
1867 (tty-color-desc): Remove superfluous backslashes.
1869 2014-03-21 Glenn Morris <rgm@gnu.org>
1871 * cus-start.el (history-length): Bump :version.
1873 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1874 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1875 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1876 Don't set `make-backup-files'.
1878 * info.el (info--prettify-description): New function,
1879 to give info-finder descriptions consistent case, punctuation.
1880 (Info-finder-find-node): Use it. Sort packages.
1881 Refer to "description" rather than "commentary".
1883 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1885 * frameset.el (frameset--print-register): New function.
1886 (frameset-to-register): Use it.
1888 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1890 * progmodes/hideif.el (hif-string-to-number): New function.
1891 (hif-tokenize): Use it to understand non-decimal floats.
1893 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1895 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1897 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * electric.el (electric-newline-and-maybe-indent): New command.
1900 Bind it globally to C-j.
1901 (electric-indent-mode): Don't mess with the global map any more.
1902 Don't drop the post-self-insert-hook is some buffer is still using it
1905 * bindings.el (global-map): Remove C-j binding.
1907 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1908 the docstring of functions advised before dumping (bug#16993).
1910 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1912 * ps-print.el (ps-generate-postscript-with-faces):
1913 Explicitly deactivate the mark (bug#16866).
1914 * simple.el (deactivate-mark): Update region highlight.
1916 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1918 * emacs-lisp/package.el (describe-package-1):
1919 Decode commentary (bug#16733).
1921 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1923 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1924 modification of the value argument of :set (bug#16755).
1926 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1928 * simple.el (newline-and-indent): Do autofill (bug#17031).
1930 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1932 * newcomment.el (comment-normalize-vars): Only add escaping check
1933 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1934 (comment-beginning): Use `narrow-to-region' instead of moving back
1936 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1937 (comment-start-skip): Update the docstring.
1939 2014-03-18 Richard Stallman <rms@gnu.org>
1941 * dired.el (dired-display-file): Force use of other window.
1943 2014-03-18 Daniel Colascione <dancol@dancol.org>
1945 * startup.el (tty-handle-args): Remove debug message from 2007.
1947 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1950 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1951 (advice--make-1, advice-add, advice-remove):
1952 Remove braindead :advice-pending hack.
1954 2014-03-17 Glenn Morris <rgm@gnu.org>
1956 * calendar/calendar.el (calendar-generate-month): Apply weekend
1957 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1959 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1961 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1962 (tramp-call-process): Trace also DESTINATION.
1964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1965 Quote file names when they are local. Remove superfluous trace.
1967 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1969 * newcomment.el (comment-beginning): If `comment-start-skip'
1970 doesn't match, move back one char and try again. (Bug#16971)
1972 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1973 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1974 Set `comment-start-skip' to a simpler value that doesn't try to
1975 check if the semicolon is escaped (this is handled by
1976 `syntax-ppss' now). (Bug#16971)
1978 * progmodes/scheme.el (scheme-mode-variables): Same.
1980 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1982 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1983 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1984 current (Bug#16816, Bug#17007).
1985 (with-current-buffer-window): New macro doing the same as
1986 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1987 * help.el (help-print-return-message): Warn in doc-string to not
1988 use this in `with-help-window'.
1989 (describe-bindings-internal): Call `describe-buffer-bindings'
1990 from within help buffer. See Juanma's scenario in (Bug#16816).
1991 (with-help-window): Update doc-string.
1992 * dired.el (dired-mark-pop-up):
1993 * files.el (save-buffers-kill-emacs):
1994 * register.el (register-preview): Use `with-current-buffer-window'
1995 instead of `with-temp-buffer-window'.
1997 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1999 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2000 Implement inserting into current buffer, documented in their docstrings.
2001 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2002 (rst-section-tree-point, rst-forward-section, rst-indent)
2003 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2004 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2005 (rst-font-lock-handle-adornment-pre-match-form)
2006 (rst-repeat-last-character): Reflow docstrings.
2007 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2008 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2009 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2010 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2011 Fix docstring typos.
2012 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2013 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2014 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2016 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2018 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2019 for compatibility with other ports.
2020 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2021 from the -xrm command line argument, but in the Nextstep port its value
2022 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2024 * progmodes/python.el (defconst, python-syntax-count-quotes)
2025 (python-indent-region, python-indent-shift-right)
2026 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2027 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2028 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2029 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2030 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2031 (python-shell-buffer-substring, python-shell-send-buffer)
2032 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2033 (python-completion-complete-at-point, python-fill-docstring-style)
2034 (python-eldoc-function, python-imenu-format-item-label)
2035 (python-imenu-format-parent-item-label)
2036 (python-imenu-format-parent-item-jump-label)
2037 (python-imenu--build-tree, python-imenu-create-index)
2038 (python-imenu-create-flat-index): Fix docstring typos.
2039 (python-indent-context, python-shell-prompt-regexp, run-python):
2040 Remove superfluous backslashes.
2041 (python-indent-line, python-nav-beginning-of-defun)
2042 (python-shell-get-buffer, python-shell-get-process)
2043 (python-info-current-defun, python-info-current-line-comment-p)
2044 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2045 (python-indent-post-self-insert-function, python-shell-send-file)
2046 (python-shell-completion-get-completions)
2047 (python-shell-completion-complete-or-indent)
2048 (python-eldoc--get-doc-at-point): Reflow docstrings.
2050 2014-03-14 Glenn Morris <rgm@gnu.org>
2052 * emacs-lisp/package.el (package-menu-mode-map):
2053 Replace use of obsolete function alias. Tweak menu item text.
2055 * info.el (Info-finder-find-node):
2056 Ignore the `emacs' metapackage. (Bug#10813)
2058 * finder.el (finder-list-matches): Include unversioned packages
2059 in the result of a keyword search.
2061 * finder.el (finder--builtins-descriptions): New constant.
2062 (finder-compile-keywords): Use finder--builtins-descriptions.
2064 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2066 * simple.el (blink-matching-paren): Describe the new value,
2067 `jump', enabling the old behavior.
2068 (blink-matching-open): Use that value. (Bug#17008)
2070 2014-03-14 Glenn Morris <rgm@gnu.org>
2072 * finder.el (finder-no-scan-regexp): Add leim-list.
2073 (finder-compile-keywords):
2074 Don't skip files with same basename. (Bug#14010)
2075 * Makefile.in (setwins_finder): New, excluding leim.
2076 (finder-data): Use setwins_finder.
2078 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2079 (help-function-arglist, help-make-usage): Move from here...
2080 * help.el (help-split-fundoc, help-add-fundoc-usage)
2081 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2082 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2084 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2086 * net/socks.el (socks, socks-override-functions)
2087 (socks-find-services-entry):
2088 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2089 (hif-find-ifdef-block):
2090 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2092 * net/tls.el (tls-program): Reflow docstring.
2094 * progmodes/pascal.el (pascal-mode-abbrev-table)
2095 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2096 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2097 (pascal-outline-mode): Fix docstring typos.
2098 (pascal-mode): Let define-derived-mode document mode hook.
2099 (pascal-uncomment-area): Reflow.
2100 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2102 * progmodes/opascal.el (opascal-compound-block-indent)
2103 (opascal-case-label-indent): Fix docstring typos.
2104 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2106 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2108 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2109 Fontify multiple adjacent negation chars. (Bug#17004)
2111 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2113 * emacs-lisp/package.el (package--prepare-dependencies):
2114 Accept requirements without explicit version (bug#14941).
2116 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2118 * register.el (register-separator, copy-to-register): Doc fixes.
2119 (register-preview-default): Remove unnecessary call to concat.
2121 * frameset.el (frameset-restore): When checking for a visible frame,
2122 use the action map instead of calling visible-frame-list.
2124 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2126 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2128 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2130 * window.el (fit-frame-to-buffer): Get maximum width from
2131 display's width instead of height.
2133 2014-03-12 Glenn Morris <rgm@gnu.org>
2135 * desktop.el (desktop-restore-frames)
2136 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2137 (desktop-restore-reuses-frames): Doc tweaks.
2139 * electric.el (electric-indent-mode): Doc fix.
2141 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2143 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2144 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2145 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2146 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2147 (cvs-dired-use-hook): Fix docstring typos.
2148 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2151 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2152 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2153 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2154 (cvs-execute-single-dir): Fix docstring typos.
2156 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2157 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2159 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2161 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2162 Fix docstring typos.
2164 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2166 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2167 called from jump-to-register after unloading the frameset package.
2169 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2172 (bug#16975). Deactivate the mark before setting it to nil.
2173 (activate-mark): Do nothing if region is already active.
2175 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2177 * frameset.el (frameset--target-display): Remove definition; declare.
2178 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2180 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2182 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2183 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2184 when the advice is pending.
2185 (advice-remove): Remove this marker when not needed any more.
2187 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2189 * frameset.el: Separate options for reusing frames and cleaning up.
2190 (frameset--reuse-list): Remove definition; declare.
2191 (frameset--action-map): Declare.
2192 (frameset--find-frame-if): Doc fix.
2193 (frameset--restore-frame): Cache frame action.
2194 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2195 how to clean up the frame list after restoring. Remove cleaning
2196 options from REUSE-FRAMES. Change all keyword values to symbols.
2197 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2199 * desktop.el (desktop-restore-forces-onscreen)
2200 (desktop-restore-reuses-frames): Use non-keyword values.
2201 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2203 2014-03-10 Glenn Morris <rgm@gnu.org>
2205 * files.el (find-file): Doc fix: update info node name.
2207 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2208 Doc fix: remove references to deleted info nodes.
2210 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2212 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2213 Do not add `nil' to the environment, when there's no remote `locale'.
2214 (tramp-find-inline-encoding): Check, that the remote host has
2215 installed perl, before sending scripts.
2217 2014-03-10 Leo Liu <sdl.web@gmail.com>
2219 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2220 Clear eldoc-last-message. (Bug#16920)
2222 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2224 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2227 2014-03-09 Juri Linkov <juri@jurta.org>
2229 * ansi-color.el (ansi-color-names-vector): Copy default colors
2230 from `xterm-standard-colors' that look well on the default white
2231 background (and also on the black background) to avoid illegible
2232 color combinations like yellow-on-white and white-on-white.
2233 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2235 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2237 * frameset.el (frameset-restore): When no frame is visible, do not
2238 generate a list of frames, just make visible the selected one.
2240 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2242 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2243 it only contains the repository root. (Bug#16897)
2245 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2247 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2248 only when `remote-file-name-inhibit-cache' is nil.
2249 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2251 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2253 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2255 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2256 fit-frame-to-buffer variable. Fix doc-string.
2257 (fit-window-to-buffer): Set ONLY argument in call of
2258 fit-frame-to-buffer. Fix doc-string.
2260 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2262 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2263 (tramp-action-password): Clear password cache if needed.
2264 (tramp-read-passwd): Do not clear password cache.
2266 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2267 cache unless it is the first password request.
2269 2014-03-06 Glenn Morris <rgm@gnu.org>
2271 * simple.el (newline): Doc tweak.
2273 * emacs-lisp/shadow.el (load-path-shadows-find):
2274 Ignore dir-locals. (Bug#12357)
2276 2014-03-05 Glenn Morris <rgm@gnu.org>
2278 * files.el (interpreter-mode-alist):
2279 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2281 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2283 * frameset.el (frameset--initial-params): Filter out null entries.
2285 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2287 * window.el (window-min-height, window-min-width):
2288 Rewrite doc-strings.
2289 (window-body-size): Add PIXELWISE argument to make it consistent
2292 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2294 * finder.el (finder-mode-map, finder-mode-syntax-table):
2295 Revert part of 2014-02-28 change.
2297 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2299 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2300 (eww-setup-buffer): Clear next/prev/etc more reliably.
2301 (eww-textarea-map): [tab] doesn't work on tty.
2302 Reported by Mario Lang.
2304 * net/shr.el (shr-map): Ditto.
2306 2014-03-04 Glenn Morris <rgm@gnu.org>
2308 * minibuffer.el (completion-hilit-commonality):
2309 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2311 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2313 * hilit-chg.el (hilit-chg-unload-function): New function.
2314 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2315 (hilit-chg-map-changes): Prefer cardinal number to digit.
2316 (hilit-chg-display-changes): Reflow docstring.
2317 (highlight-changes-rotate-faces): Remove superfluous backslash.
2319 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2321 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2322 `tramp-send-command-and-check'.
2324 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2326 * hexl.el (hexl-address-region, hexl-ascii-region)
2327 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2328 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2329 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2330 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2331 (hexl-mode): Doc fix.
2332 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2333 (hexl-mode-ruler): Fix typos in docstrings.
2335 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2336 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2337 Remove superfluous backslashes.
2338 (strokes-last-stroke, strokes-global-map, strokes-mode):
2340 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2341 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2342 (strokes-distance-squared, strokes-global-set-stroke)
2343 (strokes-global-set-stroke-string): Doc fixes.
2344 (strokes-help): Fix typos; reflow docstring.
2346 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2348 * window.el (window-in-direction): Fix doc-string.
2350 2014-03-04 Glenn Morris <rgm@gnu.org>
2352 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2353 Explicit error if no grammar.
2354 (smie-config-save): Doc fix. Fix quote typo.
2356 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2359 electric-indent-mode-hook if we obey electric-indent-mode.
2360 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2361 decide whether we obey electric-indent-mode.
2362 (c-change-set-fl-decl-start, c-extend-after-change-region):
2364 (c-electric-indent-mode-hook): Assume we do want to obey
2365 electric-indent-mode.
2367 * electric.el (electric-indent-mode-has-been-called): Remove.
2368 (electric-indent-mode): Fix accordingly.
2370 * files.el (hack-local-variables): Mention file name in warning.
2372 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2374 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2376 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2377 * simple.el (delete-forward-char): Mark as interactive-only.
2379 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2381 * icomplete.el (icomplete-completions):
2382 Follow-up to 2014-03-01 change.
2384 * icomplete.el: Miscellaneous doc fixes.
2385 Use Icomplete everywhere instead of icomplete for consistency.
2386 (icomplete-max-delay-chars): Fix typo.
2387 (icomplete-mode): Use \[].
2388 (icomplete-tidy, icomplete-exhibit): Reflow.
2389 (icomplete-minibuffer-setup-hook, icomplete-completions):
2390 Remove superfluous backlashes.
2392 * ido.el: Miscellaneous doc fixes.
2393 Use Ido everywhere instead of ido or `ido' for consistency.
2394 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2395 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2396 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2397 (ido-separator): Extract obsolescence info from docstring and declare
2398 with make-obsolete-variable.
2399 (ido-minibuffer-setup-hook): Simplify example.
2400 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2401 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2402 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2403 (ido-everywhere): Reflow docstring.
2404 (ido-toggle-vc): Doc fix.
2405 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2406 of long list of keybindings.
2408 2014-03-03 Glenn Morris <rgm@gnu.org>
2410 * frame.el (display-pixel-height, display-pixel-width)
2411 (display-mm-dimensions-alist, display-mm-height)
2412 (display-mm-width): Doc tweaks.
2414 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2416 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2417 case of undo in region.
2419 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2421 * window.el (fit-window-to-buffer): Fix argument in window-size
2422 call when window is horizontally combined.
2424 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2426 * icomplete.el (icomplete-completions): Use string-width.
2427 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2429 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2431 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2432 Highlight regexp options. (Bug#16914)
2434 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2436 * window.el (window--max-delta-1): Round down when calculating
2437 how many lines/columns we can get from a window.
2439 2014-03-01 Glenn Morris <rgm@gnu.org>
2441 * isearch.el (search-invisible): Doc fix.
2443 * minibuffer.el (completion-hilit-commonality):
2444 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2445 * comint.el (comint-dynamic-list-completions): Doc fix.
2446 * comint.el (comint-dynamic-list-completions):
2447 * filecache.el (file-cache-minibuffer-complete):
2448 * tempo.el (tempo-display-completions):
2449 * eshell/em-hist.el (eshell-list-history):
2450 Replace use of obsolete argument of display-completion-list.
2452 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2454 * icomplete.el (icomplete-completions):
2455 Revert back to using "..." when ?… cannot be displayed.
2457 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2459 * finder.el (finder-unload-function): New function.
2461 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2463 * dframe.el (dframe-detach):
2464 * find-dired.el (find-dired, find-name-dired):
2465 * finder.el (finder-mode-map, finder-mode-syntax-table)
2466 (finder-headmark, finder-select, finder-mouse-select):
2467 Fix docstring typos.
2469 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2471 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2472 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2473 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2474 Fix doc-string based on a suggestion by Nicolas Richard
2475 <theonewiththeevillook@yahoo.fr>.
2476 * help.el (with-help-window): Fix doc-string.
2478 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2480 * net/shr.el (shr-image-animate): New option.
2481 (shr-put-image): Respect shr-image-animate.
2483 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2485 * net/tramp-adb.el (tramp-adb-parse-device-names):
2486 Use `accept-process-output'.
2487 (tramp-adb-handle-file-truename): Cache the localname only.
2488 (tramp-adb-handle-make-directory)
2489 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2490 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2491 modes cannot be changed.
2493 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2494 file properties of symlinks.
2496 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2498 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2499 required/optional fields to match development biblatex. (Bug#16781)
2501 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2503 * saveplace.el (toggle-save-place):
2504 Fix argument handling. (Bug#16673)
2506 2014-02-28 Glenn Morris <rgm@gnu.org>
2508 * minibuffer.el (completions-first-difference)
2509 (completions-common-part, completion-hilit-commonality): Doc fixes.
2511 2014-02-28 Karl Berry <karl@gnu.org>
2513 * info.el (Info-mode-map): Add H for describe-mode,
2514 to synchronize with standalone Info.
2516 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2518 * progmodes/sql.el (sql-interactive-mode):
2519 Avoid setting global comint-input-ring-separator. (Bug#16814)
2521 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2523 * net/dbus.el (dbus--init-bus): Declare function.
2524 (dbus-path-local, dbus-interface-local): New defconst.
2525 (dbus-init-bus): Use them.
2526 (dbus-return-values-table): Extend doc.
2527 (dbus-handle-bus-disconnect): Extend error message.
2529 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2531 * subr.el (y-or-n-p): Fix double space issue in message.
2533 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2535 * net/tramp.el (tramp-call-process): Improve trace message.
2536 (tramp-handle-insert-file-contents): Trace error case.
2538 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2539 <insert-directory>: Use `tramp-handle-insert-directory'.
2540 (tramp-adb-handle-insert-directory): Remove function.
2541 (tramp-adb-send-command-and-check): New defun, replacing
2542 `tramp-adb-command-exit-status'. Change all callees.
2543 (tramp-adb-handle-file-attributes)
2544 (tramp-adb-handle-directory-files-and-attributes): Use it.
2545 (tramp-adb-ls-output-name-less-p):
2546 Use `directory-listing-before-filename-regexp'.
2547 (tramp-adb-handle-delete-directory): Flush also file properties of
2548 the truename of directory.
2549 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2550 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2551 (tramp-adb-handle-write-region): Implement APPEND.
2552 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2553 properties correctly.
2554 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2555 variables. Check for connected devices only when needed.
2557 2014-02-27 Glenn Morris <rgm@gnu.org>
2559 * minibuffer.el (completion-table-dynamic)
2560 (completion-table-with-cache): Doc fixes.
2562 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2563 (completing-read-multiple): Doc fixes.
2565 2014-02-27 Daniel Colascione <dancol@dancol.org>
2567 * minibuffer.el (completion--nth-completion): Fix indentation.
2569 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2570 explicit tramp path is empty.
2572 2014-02-27 Glenn Morris <rgm@gnu.org>
2574 * emacs-lisp/crm.el (completing-read-multiple):
2575 Empower help-enable-auto-load.
2577 2014-02-26 Glenn Morris <rgm@gnu.org>
2579 * startup.el (command-line): Don't init the tty in daemon mode.
2581 Avoid calling tty-setup-hook twice, eg if a term file
2582 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2583 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2584 (tty-create-frame-with-faces): Use it.
2585 * startup.el (command-line): Pass run-hook argument
2586 to tty-run-terminal-initialization.
2588 * dired.el (dired-restore-desktop-buffer): Demote errors;
2589 eg in case a glob match fails. (Bug#16884)
2591 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2593 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2594 error from `read-from-string'. (Bug#16850)
2596 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2597 result of `completing-read' in the interactive form. (Bug#16854)
2599 2014-02-25 Glenn Morris <rgm@gnu.org>
2601 * image.el (image-animate, image-animate-timeout):
2602 Stop animating images in dead buffers. (Bug#16878)
2604 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2606 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2608 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2609 * term/sun.el (sun-raw-prefix-hooks):
2610 Use tty-setup-hook instead of term-setup-hook.
2611 (terminal-init-sun): Construct message from bytecomp plist.
2612 * term/wyse50.el (enable-arrow-keys): Doc fix.
2614 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2616 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2617 Fix docstring typos.
2619 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2623 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2625 * minibuffer.el (completion--try-word-completion):
2626 Fix error when completing M-x commands (bug#16808).
2628 2014-02-24 Leo Liu <sdl.web@gmail.com>
2630 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2632 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2634 * apropos.el (apropos-print): Avoid formatting error when
2635 apropos-do-all and apropos-compact-layout are both t.
2637 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2639 * apropos.el (apropos-property, apropos-all-words-regexp)
2640 (apropos-true-hit, apropos-variable, apropos-print):
2641 Fix docstring typos, and remove obsolete comment.
2643 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2645 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2646 Preserve trailing "/". (Bug#16851)
2648 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2650 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2651 after `=>' (bug#16811).
2652 (ruby-smie-rules): Handle the inconsistent second element of the
2653 list returned by `smie-indent--parent'.
2654 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2657 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2659 * elec-pair.el (electric-pair-text-syntax-table)
2660 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2661 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2662 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2663 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2665 2014-02-22 Glenn Morris <rgm@gnu.org>
2667 * imenu.el (imenu--generic-function): Doc fix.
2669 * register.el (frame-configuration-to-register): Make obsolete.
2671 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2673 * desktop.el (desktop-save-buffer-p): Do not fail when
2674 desktop-files-not-to-save is nil. Return t for true result
2677 2014-02-22 Daniel Colascione <dancol@dancol.org>
2679 * net/secrets.el (secrets-create-item, secrets-search-items):
2680 Check that attribute values are strings, avoiding the construction
2681 of invalid dbus messages.
2683 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2685 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2686 defun-declarations-alist.
2688 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2690 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2693 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2695 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2696 (whitespace-newline, whitespace-trailing, whitespace-line)
2697 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2698 (whitespace-space-after-tab): Fix typo in docstrings.
2700 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2702 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2704 * electric.el (electric-indent-functions-without-reindent):
2705 Add `yaml-indent-line'.
2707 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2709 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2710 It has done nothing for years; should be removed after the release.
2712 * simple.el (choose-completion): Fix docstring typo.
2713 (read-quoted-char-radix): Remove unneeded * in docstring.
2714 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2715 Don't escape parentheses unnecessarily in docstrings.
2717 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2719 Fix handling of window-min-height/-width (Bug#16738).
2720 * window.el (window--dump-window, window--dump-frame):
2722 (window--min-size-1): Account for window dividers.
2723 When window-resize-pixelwise is nil, delay rounding till after the
2724 sum of the window components has been calculated.
2725 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2726 nil make sure at least one text line and two text columns remain
2728 (window-resize): Signal an error when window-resize-apply fails.
2729 (window--resize-child-windows): Fix calculation of by how many
2730 pixels a window can still be shrunk via window-new-normal.
2731 (adjust-window-trailing-edge): Call window--resizable with
2732 correct TRAIL argument.
2734 (with-temp-buffer-window): Don't evaluate BODY within
2735 with-current-buffer (Bug#16816).
2737 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2739 * net/tramp.el (tramp-check-cached-permissions):
2740 Call `file-attributes' with `suffix' being a symbol but a string.
2742 2014-02-21 Daniel Colascione <dancol@dancol.org>
2744 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2745 (dbus-init-bus): New function: call into dbus-init-bus-1
2746 and installs a handler for the disconnect signal.
2747 (dbus-call-method): Rewrite to look for result in cons.
2748 (dbus-call-method-handler): Store result in cons.
2749 (dbus-check-event): Recognize events with nil sender as valid.
2750 (dbus-handle-bus-disconnect): New function. React to bus
2751 disconnection signal by synthesizing dbus error for each
2752 pending synchronous or asynchronous call.
2753 (dbus-notice-synchronous-call-errors): New function.
2754 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2755 is true, not all the time.
2757 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2759 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2760 Remove obsolescence declarations, these variables do not exist anymore.
2762 * savehist.el (savehist-save-minibuffer-history)
2763 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2764 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2765 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2766 mostly, refer to "Savehist mode" when talking about the mode,
2767 and not the function.
2769 * saveplace.el (save-place): Remove redundant info in docstring.
2770 (save-place-forget-unreadable-files, toggle-save-place)
2771 (save-place-forget-unreadable-files, save-place-dired-hook):
2772 Fix typos and remove unneeded backslashes.
2774 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2776 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2777 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2779 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2780 <insert-directory>: Use `tramp-handle-insert-directory'.
2781 (tramp-gvfs-handle-insert-directory): Remove function.
2783 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2784 Call `tramp-handle-insert-directory'.
2786 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2788 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2789 before the start of buffer/region (bug#16799).
2791 2014-02-20 Glenn Morris <rgm@gnu.org>
2793 * isearch.el (search-invisible): Doc fix.
2795 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2797 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2800 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2802 * frameset.el (frameset-restore): Delay removing an old frame's
2803 duplicate id until the new frame has been correctly created.
2805 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2807 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2808 (tramp-check-cached-permissions): Call `file-attributes' if the
2811 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2812 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2815 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2816 (tramp-gvfs-maybe-open-connection): Set always connection
2817 properties, even if target is mounted already.
2819 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2820 Set tramp-autoload cookie.
2821 (tramp-get-remote-touch): New defun.
2822 (tramp-sh-handle-set-file-times): Use it.
2823 (tramp-sh-handle-directory-files-and-attributes):
2824 Use `tramp-handle-directory-files-and-attributes' if neither stat
2825 nor perl are available on the remote host.
2827 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2828 "/". Write long listing only when "l" belongs to the switches.
2830 * net/trampver.el: Update release number.
2832 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2834 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2836 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2838 * window.el (window-state-put): Allow WINDOW to refer to an
2839 internal window (Bug#16793).
2841 2014-02-19 Glenn Morris <rgm@gnu.org>
2843 * textmodes/remember.el: Move provide statement to end.
2844 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2845 (remember-notes): Doc fixes.
2847 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * delsel.el (delete-char): Restore incorrectly erased property
2852 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2854 * frameset.el (frameset--restore-frame): When a frame is being reused
2855 and its root window is not alive, delete all the frame's windows before
2856 restoring the window state. This works around the issue in bug#16793.
2858 2014-02-18 Glenn Morris <rgm@gnu.org>
2860 * textmodes/remember.el (remember-data-directory)
2861 (remember-directory-file-name-format, remember-store-in-files)
2862 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2863 (remember-notes-save-and-bury-buffer)
2864 (remember-notes--kill-buffer-query): Doc fixes.
2866 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2868 2014-02-17 Alan Mackenzie <acm@muc.de>
2870 Connect electric-indent-mode up with CC Mode. Bug #15478.
2871 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2872 to electric-indent-{,local-}-mode.
2873 (c-basic-common-init): Set electric-indent-inhibit.
2874 Initialise c-electric-flag from electric-indent-mode.
2875 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2876 New hook functions which propagate electric-indent-mode to CC mode.
2878 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2879 hit, toggle electric-indent-local-mode.
2881 * electric.el (electric-indent-mode-has-been-called):
2884 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2886 * frameset.el (frameset-cfg-id): New function.
2887 (frameset--reuse-frame, frameset-restore): Use it.
2888 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2890 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * ido.el (ido-file-internal): Remove unused var `d'.
2893 Use \` for to match BoS. Fit within 80n columns.
2895 2014-02-17 Daniel Colascione <dancol@dancol.org>
2897 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2898 dbus-call-method check for completion using a busy-wait loop with
2901 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2903 Sync with Tramp 2.2.9.
2905 * net/trampver.el: Update release number.
2907 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2909 * ido.el (ido-file-internal): Don't add the name of an existing
2910 directory twice. (Bug#16747)
2912 2014-02-16 Glenn Morris <rgm@gnu.org>
2914 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2915 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2917 2014-02-15 Michael R. Mauger <michael@mauger.com>
2919 * progmodes/sql.el: Version 3.4
2920 (sql-oracle-options): New default value ("-L").
2921 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2922 (sql-placeholders-filter): Correct placeholder pattern.
2923 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2924 (sql-login-delay): New variable.
2925 (sql-product-interactive): Use it.
2927 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2929 * frameset.el (frameset--jump-to-register): Check that buffer is live
2932 2014-02-15 Glenn Morris <rgm@gnu.org>
2934 * info.el (info-initialize): Revert 2014-01-10 change.
2936 2014-02-14 Glenn Morris <rgm@gnu.org>
2938 * replace.el (map-query-replace-regexp)
2939 (read-regexp-defaults-function, read-regexp): Doc fixes.
2941 * dired.el (dired-read-regexp):
2942 * faces.el (list-faces-display):
2943 * misearch.el (multi-isearch-read-matching-buffers)
2944 (multi-isearch-read-matching-files):
2945 * play/cookie1.el (cookie-apropos):
2946 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2948 * textmodes/remember.el (remember): Use frameset-to-register
2949 rather than frame-configuration-to-register.
2951 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2953 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2954 incorrect keybinding.
2956 2014-02-13 Daniel Colascione <dancol@dancol.org>
2958 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2959 when adding overlays so that line numbers from compiler match line
2962 2014-02-13 Glenn Morris <rgm@gnu.org>
2964 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2966 * jit-lock.el (jit-lock-mode): Doc fix.
2968 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2970 * apropos.el (apropos-read-pattern): When the user passes an empty
2971 string, give a more helpful error message than "Wrong type
2972 argument: stringp, nil".
2974 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2978 2014-02-13 Glenn Morris <rgm@gnu.org>
2980 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2982 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2984 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2985 shift-select commands.
2987 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2989 * progmodes/js.el (js-indent-line): Don't widen.
2990 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2992 2014-02-12 Glenn Morris <rgm@gnu.org>
2994 * icomplete.el (icomplete): Add info-link to defgroup.
2995 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2996 (icomplete-minibuffer-map, icomplete-mode)
2997 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2999 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3000 (package-menu-filter): Rename from package-menu-filter-interactive.
3003 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3005 * frameset.el (frameset--jump-to-register): Select the required
3006 window and buffer before restoring position (bug#16696).
3008 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3010 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3012 2014-02-10 Glenn Morris <rgm@gnu.org>
3014 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3016 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3018 * w32-common-fns.el (x-get-selection): Doc fix.
3019 * select.el (x-get-selection): Doc fix. (Bug#15109)
3021 * face-remap.el (face-remap-add-relative)
3022 (face-remap-remove-relative, face-remap-reset-base)
3023 (face-remap-set-base): Call force-mode-line-update to redisplay
3024 the current buffer due to potential change in faces. (Bug#16709)
3026 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3028 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3029 script more robustly.
3031 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3033 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3035 * simple.el (choose-completion): Doc fix (bug#14160).
3037 * subr.el (event-start): Say what a nil EVENT value means.
3039 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3042 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3044 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3046 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3048 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3049 predicate function (bug#15455).
3051 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3053 * ielm.el (inferior-emacs-lisp-mode): Instead of
3054 `comment-use-global-state', set `comment-use-syntax'.
3056 2014-02-10 Glenn Morris <rgm@gnu.org>
3058 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3060 2014-02-09 Alan Mackenzie <acm@muc.de>
3062 Fix c-invalidate-state-cache on narrowed buffers.
3063 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3064 Widen when setting and clearing the CPP delimiter properties.
3066 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3068 * help.el (describe-bindings): Doc fix (bug#9888).
3070 * files.el (save-buffer): Use ARG as the parameter name for
3071 consistency (bug#10346).
3072 (save-buffer): Clarify the 0 argument (bug#10346).
3074 * cus-edit.el (customize-apropos): Fix error string.
3075 (custom-buffer-create): Doc fix (bug#11122).
3076 (custom-sort-items): Doc fix (bug#11121).
3078 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3080 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3081 (icomplete-simple-completing-p): Mention the previous variable.
3083 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3084 meaning of the parameter (bug#12282).
3086 * files.el (find-file-noselect): Clarify prompt when changing
3087 readedness (bug#13261).
3088 (locate-file): Suffixes aren't returned, so don't say that they
3090 (backup-inhibited): Doc clarification (bug#12525).
3092 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3093 before we actually start to delete things (bug#16331).
3095 * subr.el (event-start): Doc fix (bug#14228).
3098 2014-02-09 Glenn Morris <rgm@gnu.org>
3100 * emacs-lisp/warnings.el (lwarn):
3101 Empower help-enable-auto-load. (Bug#15940)
3103 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3105 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3108 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3110 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3111 Insert output at end of buffer. (Bug#16120)
3113 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3115 * simple.el (choose-completion-string-functions): Document new
3116 calling convention (bug#14153).
3117 (execute-extended-command): Clarify doc string (bug#13373).
3119 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3121 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3122 (find-grep-dired): Doc fix (bug#14288).
3124 2014-02-08 Juri Linkov <juri@jurta.org>
3126 * isearch.el (isearch-quote-char): Check character validity
3127 like in `quoted-insert' (bug#16677).
3129 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3131 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3133 * isearch.el (isearch-hide-immediately): Doc clarification
3136 * simple.el (line-move): Document utility function used many
3137 places in the Emacs sources (bug#14843).
3139 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3140 (dired-prev-marked-file): Doc fix (bug#14855).
3141 (dired-up-directory): Doc fix (bug#14848).
3143 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3145 * files.el (file-relative-name): Doc fix (bug#15159).
3147 * fringe.el (fringe-styles): Doc fix (bug#15239).
3149 * isearch.el (isearch-filter-predicate): Documentation typo fix
3152 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3154 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3156 * replace.el (replace-match-maybe-edit): Doc clarification
3159 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3161 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3163 2014-02-08 Glenn Morris <rgm@gnu.org>
3165 * help-fns.el (describe-variable):
3166 Check {file,dir}-local-variables-alist, and buffer-file-name,
3167 in the correct buffer.
3169 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3171 * help-fns.el (describe-variable): Fix the case where
3172 a value is directory-local with no dir-locals file. (Bug#16635)
3174 2014-02-08 Glenn Morris <rgm@gnu.org>
3176 * abbrev.el (edit-abbrevs-mode):
3177 Derive from fundamental-mode. (Bug#16682)
3179 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3181 * simple.el (quoted-insert): Check character validity (bug#16677).
3183 2014-02-07 Juri Linkov <juri@jurta.org>
3185 * desktop.el (desktop-read): Claim the lock when the owner is not
3186 the current process. (Bug#16157)
3188 2014-02-07 Juri Linkov <juri@jurta.org>
3190 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3191 to "\\` ". (Bug#16651)
3193 2014-02-07 Juri Linkov <juri@jurta.org>
3195 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3196 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3197 (desktop-auto-save-cancel-timer): New function with some code from
3198 `desktop-auto-save-set-timer'.
3199 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3200 Instead of setting `desktop-save-mode' to nil, call
3201 `desktop-save-mode' with arg 0. (Bug#16630)
3203 2014-02-07 Glenn Morris <rgm@gnu.org>
3205 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3206 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3207 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3209 * obsolete/iswitchb.el: Move to obsolete/.
3210 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3211 since obsolete/ is not scanned for autoloads.
3212 * emacs-lisp/authors.el (authors-valid-file-names):
3215 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3216 Disable now non-functional find-file-hook.
3218 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3220 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3221 instead of ";" in order to avoid additional prompts. Let heredoc
3222 scripts read from tty. (Bug#16582)
3223 (tramp-send-command): No special handling of heredocs, it isn't
3226 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3228 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3229 with a space (bug#16664). Limit the symbols considered to the ones
3230 that are bound or fbound (bug#16646).
3232 2014-02-06 Glenn Morris <rgm@gnu.org>
3234 * epa.el (epa-mail-aliases): Doc fix.
3236 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3238 * emacs-lisp/lisp.el (lisp-completion-at-point):
3239 Use `completion-table-merge' instead of `completion-table-in-turn'
3242 * minibuffer.el (completion-table-merge): New function.
3244 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3246 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3247 (tramp-sh-handle-set-file-acl)
3248 (tramp-sh-handle-start-file-process)
3249 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3250 (tramp-find-executable, tramp-send-command): Use it.
3252 2014-02-05 Glenn Morris <rgm@gnu.org>
3254 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3256 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3258 * progmodes/python.el (python-shell-send-string)
3259 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3261 2014-02-04 Anders Lindgren <andlind@gmail.com>
3263 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3264 the names (bug#16620).
3266 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3268 * faces.el (window-divider): New default value. Rewrite doc-string.
3269 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3271 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3273 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3274 `protected' and `public' can also be called without arguments.
3276 2014-02-03 Glenn Morris <rgm@gnu.org>
3278 * register.el (window-configuration-to-register)
3279 (frame-configuration-to-register): Unadvertise unused argument.
3280 * frameset.el (frameset-to-register): Remove unused argument.
3282 * frameset.el (frameset-to-register):
3283 * kmacro.el (kmacro-to-register):
3284 * register.el (increment-register):
3285 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3286 (calc-append-to-register, calc-prepend-to-register):
3287 * play/gametree.el (gametree-layout-to-register)
3288 (gametree-apply-register-layout):
3289 * textmodes/picture.el (picture-clear-rectangle-to-register)
3290 (picture-yank-rectangle-from-register):
3291 * vc/emerge.el (emerge-combine-versions-register):
3292 Use register-read-with-preview to read registers.
3294 2014-02-03 João Távora <joaotavora@gmail.com>
3296 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3297 when at beginning of (possibly narrowed) buffer.
3299 2014-02-02 Daniel Colascione <dancol@dancol.org>
3301 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3302 Also try to display local help from just before point.
3304 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3306 c-parse-state. Don't "append-lower-brace-pair" in certain
3307 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3308 recognised as a comment.
3310 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3311 as well as normal comment starter.
3312 (c-parse-state-get-strategy): Extra return possibility
3314 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3315 return value list to indicate replacement of a brace-pair cons
3317 (c-parse-state-1): With 'back-and-forward, only call
3318 c-append-lower-brace-pair-to state-cache when cons-separated.
3320 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3322 * term/ns-win.el (ns-suspend-error): New function.
3323 (ns-initialize-window-system): Add ns-suspend-error to
3324 suspend-hook (Bug#16612).
3326 2014-02-02 Daniel Colascione <dancol@dancol.org>
3328 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3329 Make loading cc-mode silent.
3331 2014-02-02 Daniel Colascione <dancol@dancol.org>
3333 * comint.el (comint-prompt-read-only): Change doc to suggest
3336 2014-02-02 Glenn Morris <rgm@gnu.org>
3338 * register.el (register-read-with-preview, point-to-register)
3339 (window-configuration-to-register, frame-configuration-to-register)
3340 (jump-to-register, number-to-register, view-register, insert-register)
3341 (copy-to-register, append-to-register, prepend-to-register)
3342 (copy-rectangle-to-register): Doc fixes.
3344 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3346 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3347 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3348 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3349 * help-fns.el (describe-function-1): Use it.
3351 2014-02-02 Glenn Morris <rgm@gnu.org>
3353 * register.el (register-preview-default): New function,
3354 split from register-preview.
3355 (register-preview-function): Rename from register-preview-functions,
3357 (register-preview): Use register-preview-function.
3358 (register-read-with-preview): Error on non-character event. (Bug#16595)
3360 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3362 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3363 `:' before binary operators (bug#16609). Don't check for `:'
3364 before `[' and `(', or their syntax status. A percent literal
3365 can't end with either.
3366 (ruby-font-lock-keywords): For built-ins that require arguments,
3367 check that they're followed by something that looks like argument
3370 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3372 * subr.el (butlast): Document what an omitted N means (bug#13437).
3375 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3377 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3378 depth shallower (bug#16587).
3379 (shr-tag-svg): Respect `shr-inhibit-images'.
3380 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3382 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3384 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3385 (ruby-smie-grammar): Make "." right-associative. Make its priority
3386 lower than the ternary and all binary operators.
3387 (ruby-smie-rules): Indent "(" relative to the first non-"."
3388 parent, or the first "." parent at indentation.
3389 Use `ruby-align-chained-calls' for indentation of "." tokens.
3392 2014-01-31 Juri Linkov <juri@jurta.org>
3394 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3395 from `make-hash-table'.
3397 * textmodes/ispell.el (ispell-init-process): Change message format
3398 to be consistent with other messages.
3400 2014-01-31 Glenn Morris <rgm@gnu.org>
3402 * delsel.el (delete-selection-mode): Doc fix.
3404 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3405 (trace-function-background): Doc fixes.
3407 * ido.el (ido-use-virtual-buffers): Doc fix.
3408 Reset :version, since the default value has not changed.
3410 * register.el (register-preview-delay, register-read-with-preview):
3413 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3414 do not mess with mail-buffer position (fixes 2009-11-03 change).
3415 * progmodes/cc-mode.el (c-submit-bug-report):
3416 Check auto-fill-mode is bound. (Bug#16592)
3418 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3420 * startup.el (fancy-splash-image-file): New function,
3421 split from fancy-splash-head.
3422 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3423 so that we are both using the same image. (Bug#16574)
3425 2014-01-30 Glenn Morris <rgm@gnu.org>
3427 * simple.el (eval-expression): Doc fix.
3429 * hexl.el (hexl-mode-hook):
3430 * ielm.el (ielm-mode-hook):
3431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3432 (lisp-interaction-mode-hook):
3433 * progmodes/cfengine.el (cfengine3-documentation-function):
3434 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3436 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3439 is a symbol (bug#16584).
3441 2014-01-30 Glenn Morris <rgm@gnu.org>
3443 * help.el (help-for-help-internal): Add "P" to text.
3445 2014-01-29 Glenn Morris <rgm@gnu.org>
3447 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3449 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3451 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3454 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3456 * progmodes/hideif.el: Extend to full CPP expression syntax.
3457 (hif-token-alist): Add missing tokens.
3458 (hif-token-regexp): Add support for float/octal/hex immediates.
3459 (hif-string-literal-regexp): New const.
3460 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3461 (hif-exprlist): New function.
3462 (hif-parse-if-exp): Use it.
3463 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3464 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3465 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3466 (hif-logxor, hif-comma): New functions.
3468 2014-01-28 Glenn Morris <rgm@gnu.org>
3470 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3472 * indent.el (tab-stop-list): Doc fix. Add :version.
3474 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3475 (cvs-append-to-ignore): Add compatibility alias.
3477 2014-01-27 Glenn Morris <rgm@gnu.org>
3479 * dired.el (dired-hide-details-mode): Don't autoload it,
3480 since it cannot be used outside Dired buffers anyway.
3482 * emulation/cua-base.el (cua-mode): Doc fix.
3484 * dired.el (dired-hide-details-hide-symlink-targets)
3485 (dired-hide-details-hide-information-lines)
3486 (dired-hide-details-mode): Doc fixes.
3488 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3489 * strokes.el (strokes-file): Doc fix. Bump :version.
3490 (strokes-help): Doc fix.
3491 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3492 * emulation/viper.el (viper): Doc fix for custom group.
3493 (top-level): Remove oh-so-no-longer-relevant text about vip.
3494 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3496 * ido.el (ido-save-directory-list-file):
3497 * saveplace.el (save-place-file):
3498 * calendar/timeclock.el (timeclock-file):
3499 * net/quickurl.el (quickurl-url-file):
3500 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3501 * progmodes/idlwave.el (idlwave-config-directory):
3502 * textmodes/remember.el (remember-data-file):
3505 2014-01-26 Glenn Morris <rgm@gnu.org>
3507 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3508 Doc fix. Make obsolete.
3509 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3511 * sort.el (delete-duplicate-lines): Doc fix.
3513 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3515 * progmodes/ada-mode.el (ada):
3516 * woman.el (woman): Link to info manual and Commentary section.
3518 * progmodes/flymake.el (flymake):
3519 * nxml/nxml-mode.el (nxml):
3521 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3522 * htmlfontify.el (htmlfontify):
3525 * ido.el (ido): Link to info manual.
3527 2014-01-25 Leo Liu <sdl.web@gmail.com>
3529 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3531 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3533 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3536 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3538 * net/eww.el (eww-download-callback):
3539 Fix reference to eww-download-directory.
3541 * emacs-lisp/bytecomp.el (byte-compile-file):
3542 Remove unused local variable `file-name'.
3544 2014-01-24 Glenn Morris <rgm@gnu.org>
3546 * woman.el (woman-default-faces, woman-monochrome-faces):
3547 Fix obsolescence specification.
3549 * subr.el (with-demoted-errors): Doc fix.
3551 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3554 (cl--macroexp-fboundp): New function.
3555 (cl--make-type-test): Use it.
3557 2014-01-23 Glenn Morris <rgm@gnu.org>
3559 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3560 * simple.el (eval-expression): Doc fixes.
3562 2014-01-22 Glenn Morris <rgm@gnu.org>
3564 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3566 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * emacs-lisp/package.el: Write files silently.
3569 (package-autoload-ensure-default-file, package--write-file-no-coding)
3570 (package-generate-description-file, package--download-one-archive)
3571 (package-install-from-archive): Tell `write-region' to stay quiet.
3572 (package-menu-mode, package-menu--print-info): Omit the Archive column
3573 if there's only one archive.
3574 (package-all-keywords, package--has-keyword-p): Remove dead code.
3576 2014-01-22 Glenn Morris <rgm@gnu.org>
3578 * version.el (emacs-bzr-version-bzr): Fix typo.
3580 * version.el (emacs-repository-get-version):
3581 Check either .bzr or .git, but not both.
3582 Make the git case actually use the DIR argument, and return nil
3583 rather than the empty string.
3584 Avoid error if .git exists but the git executable is not found.
3586 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3588 Fixes in window size functions around Bug#16430 and Bug#16470.
3589 * window.el (window-total-size, window-size): New argument ROUND.
3590 (window--min-delta-1, window-min-delta, window--max-delta-1):
3591 Be more conservative when calculating the numbers of lines or
3592 columns a window can shrink (Bug#16430).
3593 (fit-window-to-buffer): Simplify code.
3594 * term.el (term-window-width): Call window-body-width again.
3596 2014-01-22 Glenn Morris <rgm@gnu.org>
3598 * image.el (image-format-suffixes): Doc fix.
3600 * international/quail.el (quail-define-package): Doc fix.
3602 * emacs-lisp/authors.el (authors-valid-file-names)
3603 (authors-renamed-files-alist): Additions.
3605 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3606 reverts 2014-01-09 change. (Bug#16422)
3608 * calc/calc-embed.el (thing-at-point-looking-at):
3609 * emacs-lisp/map-ynp.el (x-popup-dialog):
3610 * obsolete/lmenu.el (x-popup-dialog):
3611 * emacs-lisp/package.el (url-recreate-url):
3612 * mail/mailclient.el (clipboard-kill-ring-save):
3613 * subr.el (x-popup-dialog): Update declaration.
3614 * mail/rmail.el (rmail-mime-message-p):
3615 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3617 2014-01-21 Daniel Colascione <dancol@dancol.org>
3619 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3620 Correctly detect when we're inside an arithmetic expansion form
3621 containing nested parenthesis.
3622 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3623 to detect cases where we shouldn't expand "<<" to a heredoc
3626 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3629 (eldoc--message-command-p): New function.
3630 (eldoc-display-message-p): Use it.
3631 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3632 message is not automatically erased for us.
3633 (eldoc-print-current-symbol-info): Erase previous message, if any.
3635 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3637 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3638 specify it's an interactive function.
3640 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3641 Fix regex used for scanning for citation keys which failed for
3642 citations with optional arguments.
3644 2014-01-21 Leo Liu <sdl.web@gmail.com>
3646 * simple.el (read--expression): Don't enable eldoc-mode.
3648 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3650 * simple.el (move-beginning-of-line): Make sure we don't move forward
3653 2014-01-20 Juri Linkov <juri@jurta.org>
3655 * saveplace.el (toggle-save-place, save-place-to-alist)
3656 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3657 'dired-mode) before checking for dired-directory. (Bug#16477)
3659 2014-01-20 Juri Linkov <juri@jurta.org>
3661 * indent.el (indent-line-to): Use backward-to-indentation
3662 instead of back-to-indentation. (Bug#16461)
3664 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3666 Revert some of the CANNOT_DUMP fix (Bug#16494).
3667 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3668 but fixing this can wait until after the next release.
3669 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3671 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3673 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3674 Use `password-word-equivalents'.
3675 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3676 to t. (Bug#5664, Bug#13124)
3678 2014-01-19 Alan Mackenzie <acm@muc.de>
3680 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3682 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3683 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3684 * progmodes/cc-mode.el (c-before-change, c-after-change)
3685 (c-font-lock-fontify-region): Bind it here.
3687 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3689 * term.el (term-window-width): Call window-text-width instead of
3690 window-width (Bug#16470).
3692 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3694 * simple.el (password-word-equivalents): Remove duplicates.
3695 Sort, to make this easier next time.
3696 Downcase. Omit ": " after "jelszó".
3698 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3700 * term/common-win.el (saved-region-selection): Defvar it.
3701 (x-select-text): Set saved-region-selection (Bug#16382).
3703 2014-01-18 Glenn Morris <rgm@gnu.org>
3705 * emacs-lisp/authors.el (authors-aliases)
3706 (authors-renamed-files-alist): Add some entries.
3708 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3710 * net/tramp.el (tramp-password-prompt-regexp):
3711 Use `password-word-equivalents' if available.
3712 (tramp-action-password, tramp-process-one-action)
3713 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3715 2014-01-17 Chong Yidong <cyd@gnu.org>
3717 * simple.el (password-word-equivalents): New defcustom.
3718 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3720 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3723 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3725 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3726 (ruby-align-to-stmt-keywords): Change the default value.
3727 Use `ruby-alignable-keywords' to generate the possible customization
3729 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3730 keywords, check against the value of `ruby-alignable-keywords'
3731 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3733 2014-01-17 Glenn Morris <rgm@gnu.org>
3735 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3737 Make M-x authors return zero *Authors Errors* from current logs.
3738 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3739 (authors-ignored-files): Add some entries, remove others.
3740 (authors-ambiguous-files, authors-valid-file-names):
3742 (authors-renamed-files-alist): Add, remove, and adjust entries.
3743 (authors-renamed-files-regexps): Add some entries.
3744 Remove some very broad ones. Make some entries `lax'.
3745 (authors-lax-changelogs): New constant.
3746 (authors-disambiguate-file-name): Treat top-level specially.
3747 (authors-lax-changelog-p): New function.
3748 (authors-canonical-file-name): Check file as written against
3749 authors-valid-file-names. Do not special-case etc/.
3750 Handle `lax' logs and authors-renamed-files-regexps elements.
3752 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3754 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3755 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3758 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3760 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3761 Assume we're already in the proper buffer.
3762 Inspired by Anders Lindgren <andlind@gmail.com>.
3763 (follow-post-command-hook): Call it from the right buffer.
3764 (follow-comint-scroll-to-bottom): Adjust call.
3765 (follow-all-followers): Use get-buffer-window-list.
3767 2014-01-15 Daniel Colascione <dancol@dancol.org>
3769 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3770 `buffer-file-name' in interactive-form so that we don't leave
3771 pathless file names in `file-name-history'.
3773 2014-01-15 Juri Linkov <juri@jurta.org>
3775 * indent.el (indent-rigidly): Set deactivate-mark to nil
3776 in transient indentation mode. (Bug#16438)
3778 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3780 * emacs-lisp/package.el (package-desc-keywords): New function
3782 (describe-package-1, package-all-keywords)
3783 (package--has-keyword-p): Use it.
3785 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3787 * simple.el (define-alternatives): When creating the
3788 COMMAND-alternatives variable, assign COMMAND as its definition
3789 name so that `describe-variable' can relocate it.
3791 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3793 * font-lock.el (font-lock-keywords): Fix typo in docstring
3796 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3798 * ispell.el (ispell-region): Reset `in-comment' for new line
3799 instead of wrongly reset `add-coment' (bug#13577).
3801 2014-01-14 Daiki Ueno <ueno@gnu.org>
3803 * epa-file.el (epa-file-write-region): Encode the region according
3804 to `buffer-file-format'. Problem reported at:
3805 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3807 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3810 so it applies in the right buffer (bug#16410).
3812 2014-01-13 Daniel Colascione <dancol@dancol.org>
3814 * textmodes/rst.el (rst-define-key): Provide deprecated
3815 keybindings through named functions instead of anonymous ones so
3816 that "??" doesn't appear in describe-mode output.
3818 2014-01-13 Bastien Guerry <bzg@gnu.org>
3820 * simple.el (define-alternatives): Call the selected command
3821 interactively. When setting `COMMAND--implementation' for the
3822 first time, tell the user how to chose another implementation.
3823 Enhance the docstring.
3825 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3828 (log-edit--match-first-line): New function.
3829 (log-edit-font-lock-keywords): Use it.
3830 (log-edit-mode): Make jit-lock-defer-multiline work.
3832 2014-01-13 Bastien Guerry <bzg@gnu.org>
3834 * rect.el (rectangle-mark-mode): When the region is not active,
3835 display a message saying that the mark as been set and that
3836 rectangle mode is in use.
3837 (rectangle--highlight-for-redisplay): Only put an overlay with a
3838 visible vertical bar when (display-graphic-p) is non-nil.
3839 This partially fixes Bug#16403.
3841 2014-01-13 Juri Linkov <juri@jurta.org>
3843 * info.el (Info-find-file): Go to DIR before displaying the error
3844 about a nonexistent file if no previous Info file is visited.
3845 Use `user-error' instead of `error' for "Info file %s does not exist".
3846 (Info-find-node-2): In case of a nonexistent node in unwind forms
3847 go to the Top node if there is no previous node to revert to.
3850 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3852 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3853 * window.el (fit-frame-to-buffer): Fix doc-string.
3854 Respect window-min-height/-width. Fit pixelwise when
3855 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3856 when avoiding that frame goes partially off-screen.
3857 (fit-window-to-buffer): Respect window-min-height/-width
3860 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3863 after an empty line.
3865 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3867 * net/shr.el (shr-render-region): Autoload.
3869 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3871 * net/eww.el (eww-download-directory): Rename from
3872 `eww-download-path' (Bug#16419).
3874 2014-01-12 Leo Liu <sdl.web@gmail.com>
3876 * dired-x.el (dired-mode-map): Fix last change.
3878 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3880 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3883 * emacs-lisp/generic.el (generic--normalize-comments):
3884 Rename from generic--normalise-comments. All uses changed.
3885 * play/bubbles.el (bubbles--neighborhood-score)
3886 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3887 (bubbles--neighborhood-available)
3888 (bubbles--update-neighborhood-score):
3889 Rename from names with 'neighbourhood'. All uses changed.
3891 2014-01-12 Leo Liu <sdl.web@gmail.com>
3893 Re-implement the feature of showing eldoc info after editing.
3894 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3895 (eldoc-edit-message-commands): New function.
3896 (eldoc-print-after-edit): New variable.
3897 (eldoc-pre-command-refresh-echo-area): Emit message only by
3898 eldoc-message-commands.
3899 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3900 if eldoc-print-after-edit is set. (Bug#16346)
3901 * simple.el (read--expression): Enable eldoc-mode.
3902 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3904 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3905 Eric S. Raymond <esr@thyrsus.com>
3907 * version.el (emacs-repository-get-version): Enhance so the
3908 function works correctly in either a Bazaar or Git repo.
3910 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3912 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3913 Goes with removal of the joke manpages from /etc.
3915 2014-01-10 Kenichi Handa <handa@gnu.org>
3917 * mail/rmail.el (rmail-get-coding-system):
3918 Check rmail-get-coding-function before "funcall"ing it.
3920 2014-01-10 Glenn Morris <rgm@gnu.org>
3922 * emacs-lisp/authors.el (authors-fixed-entries):
3923 Update for files that no longer exist.
3925 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3927 * version.el (emacs-bzr-get-version): Restore compatibilty with
3930 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3932 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3935 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3937 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3939 2014-01-10 Chong Yidong <cyd@gnu.org>
3941 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3943 2014-01-10 Anders Lindgren <andlind@gmail.com>
3945 * follow.el (follow-cache-command-list): Include right-char and
3948 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3951 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3952 * woman.el (woman-mark-horizontal-position):
3953 Rename from woman-mark-horizonal-position. Use changed.
3955 2014-01-10 Glenn Morris <rgm@gnu.org>
3957 * info.el (info-initialize): If running uninstalled, ensure our
3958 own info files are always found first, even if INFOPATH is set.
3960 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3962 2014-01-09 David Engster <deng@randomsample.de>
3964 * emacs-lisp/eieio-custom.el:
3965 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3966 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3967 * emacs-lisp/eieio.el: Regenerate autoloads.
3969 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3971 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3972 following renames. (Bug#8756)
3974 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3978 (activate-mark): Add `no-tmm' argument.
3979 (set-mark, push-mark-command): Use it instead of running
3980 activate-mark-hook by hand.
3982 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3984 In preparation for the move to git, sanitize out some
3985 Bazaar-specific names.
3987 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3989 * version.el (emacs-bzr-version): Name changed to
3990 emacs-repository-version. Obsolete-variable alias made.
3991 * loadup.el: Follow through on this name change.
3992 * mail/emacsbug.el (report-emacs-bug): Factor out any
3993 assumption about the version control system in use.
3995 2014-01-08 David Engster <deng@randomsample.de>
3997 * help-fns.el (help-fns-describe-function-functions):
3998 New variable to call functions for augmenting help buffers.
3999 (describe-function-1): Remove explicit calls to
4000 `help-fns--compiler-macro', `help-fns--parent-mode' and
4001 `help-fns--obsolete'. Put them in above new variable instead, and
4002 call them through `run-hook-with-args'.
4003 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4004 `eieio-describe-class'. Not meant for interactive use anymore,
4005 but to augment existing help buffers. Remove optional second
4006 argument. Create proper button for file location.
4007 Rewrite function to use `insert' instead of `princ' and `prin1' where
4009 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4010 (eieio-method-def, eieio-class-def): Move further up.
4011 (describe-method, describe-generic, eieio-describe-method):
4013 (eieio-help-constructor, eieio-help-generic): Rename from
4014 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4015 Rewrite to use `insert' in the current buffer and use proper help
4017 (eieio-help-find-method-definition)
4018 (eieio-help-find-class-definition): Also accept symbols as
4020 (eieio-help-mode-augmentation-maybee): Remove.
4021 (eieio-describe-class-sb): Use `describe-function'.
4022 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4023 Add `eieio-help-generic' and `eieio-help-constructor'.
4025 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4028 * language/china-util.el (hz-ascii-designation):
4029 Rename from hz-ascii-designnation.
4030 (hz-ascii-designation): Rename from hz-ascii-designnation.
4033 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4035 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4038 2014-01-08 Bastien Guerry <bzg@gnu.org>
4040 * emacs-lisp/package.el (package-delete):
4041 Correctly delete the package from package-alist.
4043 2014-01-08 Daiki Ueno <ueno@gnu.org>
4045 * emacs-lisp/package.el (url-recreate-url): Declare.
4046 (url-http-target-url): Declare.
4047 (package-handle-response): Include requested URL in the error message.
4048 (package--check-signature): Don't re-signal errors from
4049 package--with-work-buffer. Suggested by Stefan Monnier.
4051 2014-01-07 Bastien Guerry <bzg@gnu.org>
4053 * minibuffer.el (completion--try-word-completion): When both a
4054 hyphen and a space are possible candidates for the character
4055 following a word, display both candidates. (Bug#15980)
4057 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4059 * window.el (balance-windows-2): While rounding don't give a
4060 window more than the remainder. Bug#16351, bug#16383.
4062 2014-01-07 Glenn Morris <rgm@gnu.org>
4064 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4065 (menu-bar-help-menu): Use view-external-packages instead.
4067 2014-01-07 Bastien Guerry <bzg@gnu.org>
4069 * emacs-lisp/package.el (package-delete): Also delete the package
4070 name from `package-alist', not its description only.
4072 2014-01-07 Glenn Morris <rgm@gnu.org>
4074 * help.el (view-external-packages):
4075 * menu-bar.el (menu-bar-help-extra-packages):
4076 Visit efaq.info rather than etc/MORE.STUFF.
4078 2014-01-07 Juri Linkov <juri@jurta.org>
4080 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4081 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4083 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4084 that shadows RET. (Bug#16342)
4086 2014-01-07 Chong Yidong <cyd@gnu.org>
4088 * isearch.el (isearch-yank-char, isearch-yank-word)
4089 (isearch-yank-line): Doc fix.
4091 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4093 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4094 * emacs-lisp/elint.el (elint-find-builtins):
4095 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4096 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4097 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4098 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4099 * apropos.el (apropos-safe-documentation):
4100 * subr.el (symbol-file): Remove redundant fboundp.
4101 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4103 2014-01-06 Bastien Guerry <bzg@gnu.org>
4105 * hl-line.el (global-hl-line-overlay): Make a local variable.
4106 (global-hl-line-overlays): New variable to store all overlays.
4107 (global-hl-line-mode): Don't delete overlays from the current
4108 buffer when `global-hl-line-sticky-flag' is non-nil.
4109 (global-hl-line-highlight): Add new overlays to
4110 `global-hl-line-overlays'.
4111 (global-hl-line-unhighlight-all): New function to delete all
4112 overlays when turning off `global-hl-line-mode'.
4113 This fixes Bug#16183.
4115 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4117 * subr.el (set-transient-map): Fix nested case and docstring.
4119 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4121 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4124 2014-01-06 Daniel Colascione <dancol@dancol.org>
4126 Fix defun navigation in vc log view.
4128 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4129 like `beginning-of-defun'.
4130 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4131 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4132 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4133 (log-view-extract-comment): Call `log-view-current-entry' directly
4134 instead of relying on broken `log-view-beginning-of-defun' behavior.
4136 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4139 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4140 * emacs-lisp/debug.el (cancel-debug-on-entry):
4141 * epg.el (epg-error-to-string):
4142 * files.el (recover-file):
4143 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4144 * mail/emacsbug.el (report-emacs-bug-hook):
4145 * mail/sendmail.el (mail-recover):
4146 * ses.el (ses-yank-resize):
4147 * term/ns-win.el (ns-print-buffer):
4148 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4149 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4151 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4153 2014-01-06 Leo Liu <sdl.web@gmail.com>
4155 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4156 to avoid shadowing global key. (Bug#16354)
4158 2014-01-06 Daniel Colascione <dancol@dancol.org>
4160 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4163 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4165 * window.el (balance-windows): Add mising t to fix Bug#16351.
4167 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4169 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4171 (shr-insert): If we have a word that's longer than `shr-width',
4172 break after it anyway. Otherwise we'll do no breaking once we get
4175 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4177 * net/eww.el (eww): Support single/double quote for search.
4178 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4179 (eww-history-quit): Delete and use quit-window.
4180 (eww-history-kill): Delete, because it doesn't work well and
4182 (eww-history-mode-map): Delete some keys and add easy-menu.
4184 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4186 Fix misspelling of 'chinese' in rx (Bug#16237).
4187 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4190 Change subword regexps back to vars (Bug#16296).
4191 * progmodes/subword.el (subword-forward-regexp)
4192 (subword-backward-regexp): Change these back to variables.
4194 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4196 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4197 syntax-begin-function (bug#16247).
4199 2014-01-03 Chong Yidong <cyd@gnu.org>
4201 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4202 (advice--docstring): Delete variable.
4203 (advice--make-1): Leave the docstring empty.
4204 (advice-add): Use function-documentation for advised docstring.
4206 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4207 Ignore function-documentation property when getting documentation.
4208 (ad-activate-advised-definition): Use function-documentation
4209 generate the docstring.
4210 (ad-make-advised-definition): Don't call
4211 ad-make-advised-definition-docstring.
4212 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4215 * progmodes/sql.el (sql-help): Use function-documentation instead
4216 of dynamic-docstring-function property. No need to autoload now.
4217 (sql--help-docstring): New variable.
4218 (sql--make-help-docstring): Use it.
4220 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * ielm.el (ielm-tab): Retarget.
4223 (ielm-map): Use ielm-tab for tab.
4224 (ielm-complete-filename): Use comint-filename-completion.
4225 (ielm-complete-symbol): Remove.
4226 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4227 remove ielm-tab from completion-at-point-functions (bug#16224).
4229 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4230 Beware signals raised by predicates (bug#16201).
4232 2014-01-02 Richard Stallman <rms@gnu.org>
4234 * dired-aux.el (dired-do-print): Handle printer-name.
4236 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4237 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4238 (rmail-epa-decrypt): Turn off mime processing.
4240 * mail/rmail.el (rmail-make-in-reply-to-field):
4241 Add parens in message-id.
4243 * mail/rmail.el (rmail-get-coding-function): Variable.
4244 (rmail-get-coding-system): Use it.
4246 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4248 * international/mule-conf.el: Unify the charset indian-is13194.
4249 (indian-is13194): Specify unify-map.
4251 2013-12-31 Leo Liu <sdl.web@gmail.com>
4253 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4255 2013-12-30 Daniel Colascione <dancol@dancol.org>
4257 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4258 of printing a useless when we resume from sleep.
4260 * progmodes/sh-script.el
4261 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4262 in indentation code. (Bug#16233)
4264 2013-12-28 João Távora <joaotavora@gmail.com>
4266 * elec-pair.el (electric-pair-post-self-insert-function):
4267 Don't open extra newlines at beginning of buffer. (Bug#16272)
4269 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4271 * frame.el (window-system-for-display): Don't allow to create a
4272 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4274 2013-12-28 Glenn Morris <rgm@gnu.org>
4276 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4279 * apropos.el (apropos-match-face):
4280 * calculator.el (calculator-displayer):
4281 * dabbrev.el (dabbrev-search-these-buffers-only):
4282 * face-remap.el (buffer-face-mode-face):
4283 * simple.el (yank-handled-properties):
4284 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4285 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4286 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4287 (hashcash-double-spend-database):
4288 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4289 (ruby-deep-indent-paren-style):
4290 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4291 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4292 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4293 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4294 Specify custom types.
4296 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4297 * bookmark.el (bookmark-bmenu-use-header-line):
4298 * doc-view.el (doc-view-scale-internally):
4299 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4300 * register.el (register-preview-delay):
4301 * net/shr.el (shr-bullet):
4302 * progmodes/cfengine.el (cfengine-cf-promises)
4303 (cfengine-parameters-indent):
4304 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4305 * textmodes/reftex-vars.el (reftex-label-regexps):
4306 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4308 * net/tls.el (tls-certtool-program): Fix default value.
4310 * desktop.el (desktop-restore-in-current-display):
4311 * newcomment.el (comment-empty-lines):
4312 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4313 (idlwave-pad-keyword):
4314 * progmodes/tcl.el (tcl-tab-always-indent):
4315 * textmodes/reftex-vars.el (reftex-index-default-tag):
4316 * elec-pair.el (electric-pair-skip-whitespace):
4317 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4319 * emacs-lisp/authors.el (authors-ignored-files)
4320 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4322 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4324 * shell.el (shell-dynamic-complete-command): Doc fix.
4325 (shell--command-completion-data): Shell completion now matches
4326 executable filenames from the current buffer's directory, on
4327 systems in which this behavior is the default (windows-nt, ms-dos).
4329 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4331 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4333 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4338 * electric.el: Move all electric-pair-* to elec-pair.el.
4339 * elec-pair.el: New file, split from electric.el.
4341 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4343 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4344 indentation level is larger than the width, because that will
4346 (shr-insert): Fill repeatedly long texts, so that Japanese is
4347 formatted correctly (bug#16263).
4348 (shr-find-fill-point): Off by one error in comparison with the
4351 2013-12-26 João Távora <joaotavora@gmail.com>
4353 * electric.el (electric-pair-mode): More flexible engine for skip-
4354 and inhibit predicates, new options for pairing-related functionality.
4355 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4356 if that keeps or improves their balance in buffers.
4357 (electric-pair-delete-adjacent-pairs): Delete the pair when
4358 backspacing over adjacent matched delimiters.
4359 (electric-pair-open-extra-newline): Open extra newline when
4360 inserting newlines between adjacent matched delimiters.
4361 (electric--sort-post-self-insertion-hook):
4362 Sort post-self-insert-hook according to priority values when
4363 minor-modes are activated.
4364 * simple.el (newline-and-indent): Call newline with interactive
4366 (blink-paren-post-self-insert-function): Set priority to 100.
4367 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4368 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4369 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4370 electric-pair-open-newline-between-pairs to nil.
4372 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4374 * progmodes/python.el: Use lexical-binding.
4375 (python-nav-beginning-of-defun): Stop searching ASAP.
4377 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4379 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4380 Fix interactive spec. Doc fix. (Bug#15754)
4382 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4384 * emacs-lisp/byte-run.el (eval-when-compile):
4385 * progmodes/cc-defs.el (cc-eval-when-compile):
4386 Fix edebug spec (bug#16184).
4388 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4390 * net/shr.el (shr-visit-file): Remove debugging function.
4391 (shr-insert): Don't infloop if we can't find a good place to break
4392 the line (bug#16256).
4394 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4396 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4397 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4398 python-nav-lisp-forward-sexp-safe.
4399 (python-nav--forward-sexp): New argument SAFE allows switching
4400 forward sexp movement behavior for parens.
4401 (python-nav-forward-sexp): Throw errors on unterminated parens
4403 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4404 (python-nav-backward-sexp-safe): New functions.
4405 (python-shell-buffer-substring):
4406 Use `python-nav-forward-sexp-safe'.
4408 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4410 * net/shr.el (shr-find-fill-point): Don't break lines before a
4412 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4413 (shr-find-fill-point): Remove the special checks for the quotation
4414 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4416 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4418 * net/eww.el (eww-form-textarea): Use a different face for
4419 textareas than text input since they have different keymaps
4422 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4424 * progmodes/python.el (python-nav-beginning-of-statement):
4425 Speed up (Bug#15295).
4427 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4429 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4430 the window configuration.
4432 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4434 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4435 we run on MS-Windows or MS-DOS.
4437 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4439 * window.el (balance-windows-area): Call window-size instead of
4440 window-height and window-width. Bug#16241.
4442 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4444 * net/eww.el (eww-bookmark-quit): Remove.
4445 (eww-bookmark-browse): Restore the window configuration when you
4446 choose a bookmark (bug#16144).
4448 2013-12-24 Daniel Colascione <dancol@dancol.org>
4450 * icomplete.el: Remove redundant :group arguments to `defcustom'
4452 (icomplete-show-matches-on-no-input): New customizable variable.
4453 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4454 we have something to show.
4455 (icomplete-exhibit): Compute completions even if we have no user input.
4457 2013-12-23 Daniel Colascione <dancol@dancol.org>
4459 * icomplete.el: Move `provide' to end of file.
4461 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4463 * net/gnutls.el (gnutls-verify-error): Add version tag.
4465 2013-12-23 Chong Yidong <cyd@gnu.org>
4467 * subr.el (set-transient-map): Rename from
4468 set-temporary-overlay-map. Doc fix.
4470 * face-remap.el (text-scale-adjust):
4471 * indent.el (indent-rigidly):
4472 * kmacro.el (kmacro-call-macro):
4473 * minibuffer.el (minibuffer-force-complete):
4474 * repeat.el (repeat):
4475 * simple.el (universal-argument--mode):
4476 * calendar/todo-mode.el (todo-insert-item--next-param):
4477 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4479 * indent.el (indent-rigidly): Use substitute-command-keys.
4481 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4483 * net/eww.el (eww-tag-select): Add text-property to jump to next
4485 (eww): Add non-supported ftp error.
4487 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4489 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4490 comments. Handle electric indent after typing `?' and `!'.
4492 2013-12-22 Chong Yidong <cyd@gnu.org>
4494 * faces.el (face-spec-recalc): If the theme specs are not
4495 applicable to a frame, fall back on the defface spec.
4496 This prevents themes from obliterating faces on low-color terminals.
4498 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4500 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4501 after `{'. We need it after block openers, and it doesn't seem
4502 to hurt after hash openers.
4504 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4506 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4507 extracted from `ruby-smie-rules'.
4508 (ruby--electric-indent-chars): New variable.
4509 (ruby--electric-indent-p): New function.
4510 (ruby-mode): Use `electric-indent-functions' instead of
4511 `electric-indent-chars'.
4513 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4515 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4517 (ruby-smie-rules): Indent plus one level after `=>'.
4519 2013-12-21 Richard Stallman <rms@gnu.org>
4521 * simple.el (newline): Doc fix.
4523 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4525 * net/eww.el (eww-list-histories, eww-list-histories)
4526 (eww-history-browse, eww-history-quit, eww-history-kill)
4527 (eww-history-mode-map, eww-history-mode): New command and
4528 functions to list browser histories.
4529 (eww-form-text): Support text form with disabled
4530 and readonly attributes.
4531 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4533 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4535 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4536 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4537 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4538 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4540 (eww-bookmark-mode-map): Add menu.
4541 (eww-render, eww-mode): Use `setq-local'.
4542 (eww-tool-bar-map): New variable.
4543 (eww-mode): Set `tool-bar-map'.
4544 (eww-view-source): Check for `html-mode' with `fboundp'.
4546 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4548 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4549 elements with text inside. Also remove debugging.
4551 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4553 * cus-start.el (all): Add ns-use-srgb-colorspace.
4555 2013-12-21 Chong Yidong <cyd@gnu.org>
4557 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4558 undefined. Thus, theme settings for undefined faces do not take
4559 effect until the faces are defined with defface, the same as with
4562 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4563 (face-spec-reset-face): Don't assign extra properties in temacs.
4564 (face-spec-recalc): Apply X resources too.
4566 2013-12-21 Chong Yidong <cyd@gnu.org>
4568 * faces.el (face-spec-set):
4569 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4570 * custom.el (defface): Doc fixes (Bug#16203).
4572 * indent.el (indent-rigidly-map): Add docstring, and move commands
4573 into named functions.
4574 (indent-rigidly-left, indent-rigidly-right)
4575 (indent-rigidly-left-to-tab-stop)
4576 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4577 indentation direction based on bidi direction, and accumulate
4578 sequential commands in a single undo boundary.
4579 (indent-rigidly--pop-undo): New utility function.
4581 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4583 * faces.el (read-face-name): Require crm.el when using crm-separator.
4585 2013-12-20 Daniel Colascione <dancol@dancol.org>
4587 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4588 so that we don't reflow comments into the shebang line.
4590 2013-12-20 Juri Linkov <juri@jurta.org>
4592 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4593 a position when `dired-directory' is non-nil. Check integer
4594 positions with `integerp'.
4595 (toggle-save-place, save-places-to-alist): Add check for
4597 (save-place-find-file-hook): Check integer positions with
4599 (save-place-dired-hook): Use `dired-goto-file' when
4600 `dired-filename' is found in the assoc list. Check integer
4601 positions with `integerp'.
4602 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4604 * dired.el (dired-initial-position-hook): Rename back from
4605 `dired-initial-point-hook'.
4606 (dired-initial-position): Rename `dired-initial-point-hook' to
4607 `dired-initial-position-hook'.
4608 (dired-file-name-at-point): Doc fix. (Bug#15329)
4610 2013-12-20 Juri Linkov <juri@jurta.org>
4612 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4613 (read-regexp-suggestions): New function.
4614 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4615 Use `read-regexp-suggestions'. Add non-empty default to history
4617 (occur-read-regexp-defaults-function): Remove function.
4618 (occur-read-primary-args): Use `regexp-history-last' instead of
4619 `occur-read-regexp-defaults-function'.
4621 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4622 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4623 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4624 `hi-lock-read-regexp-defaults-function'. Doc fix.
4625 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4626 with `find-tag-default-as-symbol-regexp'. Doc fix.
4627 (hi-lock-read-regexp-defaults): Remove function.
4628 (hi-lock-regexp-okay): Add check for null.
4630 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4631 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4633 * subr.el (find-tag-default-as-symbol-regexp): New function.
4634 (find-tag-default-as-regexp): Move symbol regexp formatting to
4635 `find-tag-default-as-symbol-regexp'.
4637 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4639 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4642 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4644 * calendar/todo-mode.el: New implementation of item insertion
4645 commands and key bindings.
4646 (todo-key-prompt): New face.
4647 (todo-insert-item): New command.
4648 (todo-insert-item--parameters): New defconst, replacing defvar
4649 todo-insertion-commands-args-genlist.
4650 (todo-insert-item--param-key-alist): New defconst, replacing
4651 defvar todo-insertion-commands-arg-key-list.
4652 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4653 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4654 (todo-insert-item--next-param): New functions.
4655 (todo-insert-item--args, todo-insert-item--argleft)
4656 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4658 (todo-key-bindings-t): Change binding of "i" from
4659 todo-insertion-map to todo-insert-item.
4660 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4661 (todo-insertion-command-name, todo-insertion-commands-names)
4662 (todo-define-insertion-command, todo-insertion-commands)
4663 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4665 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4667 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4668 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4670 (todo-move-category): Allow choosing a non-existing todo file to
4671 move the category to, and create that file.
4672 (todo-default-priority): New user option.
4673 (todo-set-item-priority): Use it.
4674 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4675 (desktop-restore-file-buffer): Declare.
4676 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4677 (todo-modes-set-2): Locally set desktop-save-buffer to
4678 todo-desktop-save-buffer.
4679 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4680 (auto-mode-alist): Add autoload cookie.
4682 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4684 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4685 helpers.el was a poor choice of name.
4686 (string-remove-prefix): New function.
4687 (string-remove-suffix): New function.
4689 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4691 Fix assignment for new window total sizes.
4692 * window.el (window--pixel-to-size): Remove function.
4693 (window--pixel-to-total-1, window--pixel-to-total):
4694 Fix calculation of new total sizes.
4696 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4698 * comint.el (comint-output-filter): Fix rear-nonsticky property
4699 placement (Bug#16010).
4701 2013-12-20 Chong Yidong <cyd@gnu.org>
4703 * faces.el (read-color): Minor fix for completion function.
4705 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4707 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4708 New option. (Bug#16182)
4709 (ruby-smie--indent-to-stmt-p): Use it.
4710 (ruby-smie-rules): Revert the logic in the handling of `when'.
4711 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4712 (ruby-deep-arglist, ruby-deep-indent-paren)
4713 (ruby-deep-indent-paren-style): Update docstrings to note that the
4714 vars don't have any effect with SMIE.
4716 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4718 * calc/calc.el (calc-enter, calc-pop): Use the variable
4719 `calc-context-sensitive-enter'.
4721 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4723 * net/shr.el (shr-insert): Protect against infloops in degenerate
4726 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4728 * progmodes/octave.el (octave): Add link to manual and octave
4730 (octave-mode-menu): Link to octave-mode manual.
4732 2013-12-20 Leo Liu <sdl.web@gmail.com>
4734 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4735 insertion using skeleton-end-newline. (Bug#16138)
4737 2013-12-20 Juri Linkov <juri@jurta.org>
4739 * replace.el (occur-engine): Use `add-face-text-property'
4740 to add the face property to matches and titles. (Bug#14645)
4742 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4743 the palette of other hi-lock colors.
4744 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4746 2013-12-19 Juri Linkov <juri@jurta.org>
4748 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4749 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4750 (minibuffer-history-symbol): Move variable declaration closer to
4753 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4756 2013-12-19 Juri Linkov <juri@jurta.org>
4758 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4760 (log-edit-hook): Add it to :options. (Bug#16170)
4762 2013-12-19 Juri Linkov <juri@jurta.org>
4764 * simple.el (eval-expression-print-format): Don't check for
4765 command names and the last command. Always display additional
4766 formats of the integer result in the echo area, and insert them
4767 to the current buffer only with a zero prefix arg.
4768 Display character when char-displayable-p is non-nil.
4769 (eval-expression): With a zero prefix arg, set `print-length' and
4770 `print-level' to nil, and insert the integer values from
4771 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4773 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4774 `eval-last-sexp-arg-internal'. Doc fix.
4775 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4776 `eval-last-sexp-print-value'. Doc fix.
4777 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4778 Set `print-length' and `print-level' to nil when arg is zero.
4779 (eval-last-sexp): Doc fix.
4780 (eval-defun-2): Print the integer values from
4781 `eval-expression-print-format' at the end.
4783 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4784 values from `eval-expression-print-format' at the end.
4786 * ielm.el (ielm-eval-input): Print the integer
4787 values from `eval-expression-print-format' at the end.
4789 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4791 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4792 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4794 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4796 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4797 (hl-line-highlight, global-hl-line-highlight): Use it.
4798 (hl-line-overlay): Use defvar-local.
4800 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4802 * term/ns-win.el: Require dnd.
4803 (global-map): Remove drag items.
4804 (ns-insert-text, ns-set-foreground-at-mouse)
4805 (ns-set-background-at-mouse):
4806 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4807 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4810 2013-12-19 Glenn Morris <rgm@gnu.org>
4812 * emacs-lisp/ert.el (ert-select-tests):
4813 Fix string/symbol mixup. (Bug#16121)
4815 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4817 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4818 keywords to their parent.
4820 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4822 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4823 first arg to be a string (fixed dead code), or an operator symbol.
4824 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4826 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4827 did nothing. Don't respond to `(:after ".")', it will be called
4828 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4829 change anything. Only return indentation for binary operators
4830 when they are hanging. De-dent opening paren when its parent is
4831 `.', otherwise it looks bad when the dot is not at bol or eol
4834 2013-12-19 Juri Linkov <juri@jurta.org>
4836 * replace.el (query-replace-read-args): Split a non-negative arg
4837 and a negative arg into separate elements.
4838 (query-replace, query-replace-regexp, replace-string)
4839 (replace-regexp): Add arg `backward'. Doc fix.
4840 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4841 move point to the beginning of the match.
4842 (replace-search, replace-highlight): Use new arg `backward'
4843 to set the value of `isearch-forward'.
4844 (perform-replace): Add arg `backward' and use it to perform
4845 replacement backward. (Bug#14979)
4847 * isearch.el (isearch-query-replace): Use a negative prefix arg
4848 to call `perform-replace' with a non-nil arg `backward'.
4850 2013-12-18 Juri Linkov <juri@jurta.org>
4852 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4853 to the default list. Move `log-edit-show-files' to the end.
4854 Add more available functions to options.
4855 (log-edit): Move default specific settings to
4856 `log-edit-insert-message-template'. Don't move point.
4857 (log-edit-insert-message-template): New function.
4858 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4861 2013-12-18 Juri Linkov <juri@jurta.org>
4863 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4864 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4866 2013-12-18 Leo Liu <sdl.web@gmail.com>
4868 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4871 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4873 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4874 formats for displaying file sizes when the -s switch is given.
4875 Instead, compute a separate format for displaying the size in
4876 blocks, which is displayed in addition to the "regular" size.
4877 When -h is given in addition to -s, produce size in blocks in
4878 human-readable form as well. (Bug#16179)
4880 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4882 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4883 Reference tables with ~\ref{...} instead of only \ref{...}.
4885 2013-12-18 Chong Yidong <cyd@gnu.org>
4887 * cus-edit.el (custom-magic-alist): Fix "themed" description
4890 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4891 is non-nil, do not create a new entry in the symbol's theme-value
4892 or theme-face property; update theme-settings only (Bug#14664).
4893 (custom-available-themes): Doc fix.
4895 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4898 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4900 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4902 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4905 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4907 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4909 2013-12-18 Glenn Morris <rgm@gnu.org>
4911 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4912 * cus-start.el (load-prefer-newer): New option.
4914 2013-12-18 Le Wang <l26wang@gmail.com>
4916 * comint.el (comint-previous-matching-input-from-input):
4917 Retain point (Bug#13404).
4919 2013-12-18 Chong Yidong <cyd@gnu.org>
4921 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4923 2013-12-18 Glenn Morris <rgm@gnu.org>
4925 * mail/emacsbug.el (report-emacs-bug):
4926 Only mention enable-multibyte-characters if non-standard.
4928 2013-12-17 Juri Linkov <juri@jurta.org>
4930 * arc-mode.el (archive-extract-by-file): Check if directory exists
4931 before deletion to not show irrelevant errors if it doesn't exist.
4933 2013-12-17 Juri Linkov <juri@jurta.org>
4935 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4938 * net/eww.el (browse-web): Add alias to `eww'.
4939 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4940 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4942 * net/browse-url.el (browse-url-browser-function): Move `eww'
4943 closer to similar functions.
4945 * startup.el (fancy-startup-screen, fancy-about-screen):
4946 Set browse-url-browser-function to eww-browse-url locally.
4949 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * window.el (window--pixel-to-total): Remove unused `mini' var.
4952 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4953 (split-window): Remove unused `new' var.
4954 (window--display-buffer): Remove unused `frame' and `delta' vars.
4955 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4958 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4960 * dired.el (dired-mark-pop-up):
4961 * register.el (register-preview): Don't bind
4962 split-height-threshold here since it's now done in
4963 display-buffer-below-selected.
4965 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4967 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4968 xterm-rgb-convert-to-16bit.
4969 (rxvt-register-default-colors): Standardize with
4970 xterm-register-default-colors (Bug#14078).
4972 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4974 * simple.el (kill-region): Pass mark first, then point, so that
4975 kill-append works right (Bug#12819).
4976 (copy-region-as-kill, kill-ring-save): Likewise.
4978 2013-12-17 Leo Liu <sdl.web@gmail.com>
4980 * net/rcirc.el (rcirc-add-face):
4981 * eshell/em-prompt.el (eshell-emit-prompt):
4982 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4985 2013-12-17 Chong Yidong <cyd@gnu.org>
4987 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4988 Suggested by Xue Fuqiao.
4990 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4992 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4994 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * net/shr.el (shr-insert-document): Remove unused var
4997 `shr-preliminary-table-render'.
4998 (shr-rescale-image): Remove unused arg `force'.
4999 (shr-put-image): Update calls accordingly.
5000 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5002 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5004 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5005 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5006 :close-all, to see which indentation method to use (Bug#16116).
5007 (smie-rules-function): Document the method :close-all.
5009 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5011 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5013 * net/eww.el (eww-display-html): If we can't find the anchor we're
5014 looking for, then go to point-min.
5016 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5018 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5019 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5020 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5021 Expand dir too, in case it's relative.
5023 2013-12-16 Juri Linkov <juri@jurta.org>
5025 * desktop.el (desktop-auto-save-timeout): Change default to
5026 `auto-save-timeout'. Doc fix.
5027 (desktop-save): Skip the timestamp in desktop-saved-frameset
5028 when checking for auto-save changes.
5029 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5030 `desktop-auto-save' is called repeatedly by the idle timer.
5031 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5032 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5035 2013-12-16 Juri Linkov <juri@jurta.org>
5037 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5039 (isearch-pre-command-hook): Check `this-command' for symbolp.
5041 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5043 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5045 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5047 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5048 (cfengine3--current-function): Bring in the current-function
5049 functionality from `cfengine3--current-word'.
5050 (cfengine3-completion-function): Bring in the
5051 bounds-of-current-word functionality from
5052 `cfengine3--current-word'.
5054 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5056 * window.el (display-buffer-below-selected):
5057 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5059 2013-12-16 Leo Liu <sdl.web@gmail.com>
5061 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5062 Remove NOMSG arg and all uses changed.
5064 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5067 (cua--deactivate-rectangle): Don't deactivate the mark.
5068 (cua-set-rectangle-mark): Don't set mark-active since
5069 cua--activate-rectangle already does it for us.
5070 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5071 non-rectangular region.
5073 * emulation/cua-base.el (cua-repeat-replace-region):
5074 Use with-current-buffer.
5076 * net/gnutls.el: Use cl-lib.
5077 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5079 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5081 * emacs-lisp/package.el (package-built-in-p): Support both
5082 built-in and the package.el converted package descriptions.
5083 (package-show-package-list): Allow keywords.
5084 (package-keyword-button-action): Use it instead of
5085 `finder-list-matches'.
5086 (package-menu-filter-interactive): Interactive filtering (by
5088 (package-menu--generate): Support keywords and change keymappings
5089 and headers when they are given.
5090 (package--has-keyword-p): Helper function.
5091 (package-menu--refresh): Use it.
5092 (package--mapc): Helper function.
5093 (package-all-keywords): Use it.
5094 (package-menu-mode-map): Set up menu items and keybindings to
5095 provide a filtering UI.
5097 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5099 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5100 the behavior when a certificate fails validation. Defaults to
5101 old behavior: never abort, just warn.
5102 (gnutls-negotiate): Use it.
5104 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5106 * window.el (display-buffer-below-selected): Never split window
5107 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5109 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5111 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5112 (package-buffer-info): Use it (bug#15108).
5114 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * icomplete.el (icomplete-completions): Make sure the prefix is already
5117 displayed elsewhere before hiding it (bug#16219).
5119 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5121 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5122 open-paren tokens when preceded by a open-paren, too.
5123 (ruby-smie-rules): Handle virtual indentation after open-paren
5124 tokens specially. If there is code between it and eol, return the
5125 column where is starts (Bug#16118).
5127 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5129 * progmodes/cfengine.el: Fix `add-hook' doc.
5130 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5131 (cfengine3--current-word): Fix parameters.
5132 (cfengine3-make-syntax-cache): Simplify further.
5133 (cfengine3-completion-function, cfengine3--current-function):
5134 Use `assq' for symbols.
5135 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5137 2013-12-13 Glenn Morris <rgm@gnu.org>
5139 * loadup.el (load-path): Warn if site-load or site-init changes it.
5140 No more need to reset it when bootstrapping.
5142 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5144 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5145 locations for cf-promises.
5146 (cfengine-mode-syntax-functions-regex): New caching variable.
5147 (cfengine3-fallback-syntax): Fallback syntax for cases where
5148 cf-promises doesn't run.
5149 (cfengine3--current-word): Reimplement using
5150 `cfengine-mode-syntax-functions-regex'.
5151 (cfengine3-completion-function, cfengine3--current-function):
5152 Use `cfengine3-make-syntax-cache' directly.
5153 (cfengine3-clear-syntax-cache): New function.
5154 (cfengine3-make-syntax-cache): Simplify and create
5155 `cfengine-mode-syntax-functions-regex' on demand.
5156 (cfengine3-format-function-docstring): Don't call
5157 `cfengine3-make-syntax-cache' explicitly.
5159 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5161 Fix windmove-find-other-window broken after pixelwise resizing
5163 * windmove.el (windmove-other-window-loc): Revert change from
5165 (windmove-find-other-window): Call window-in-direction.
5166 * window.el (window-in-direction): New arguments SIGN, WRAP and
5167 MINI to emulate original windmove-find-other-window behavior.
5169 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5171 * simple.el (blink-matching--overlay): New variable.
5172 (blink-matching-open): Instead of moving point, highlight the
5173 matching paren with an overlay
5174 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5176 * faces.el (paren-showing-faces, show-paren-match)
5177 (show-paren-mismatch): Move from paren.el.
5179 2013-12-13 Leo Liu <sdl.web@gmail.com>
5181 * indent.el (indent-region): Disable progress reporter in
5182 minibuffer. (Bug#16108)
5184 * bindings.el (visual-order-cursor-movement): Fix version.
5186 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5188 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5189 Also match after beginning of line.
5190 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5191 files. Thanks to Russell Sim. (Bug#15378)
5193 2013-12-13 Juri Linkov <juri@jurta.org>
5195 * simple.el <Keypad support>: Remove key bindings duplicated
5196 with bindings.el. (Bug#14397)
5198 2013-12-13 Juri Linkov <juri@jurta.org>
5200 * comint.el (comint-mode-map): Replace `delete-char' with
5201 `delete-forward-char'. (Bug#16109)
5203 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5205 * progmodes/python.el (python-indent-calculate-indentation):
5206 Fix de-denters cornercase. (Bug#15731)
5208 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5210 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5211 (advice--make): Pay attention to `depth'.
5212 (advice--make-1): Don't autoload commands eagerly.
5213 * emacs-lisp/elp.el (elp-instrument-function):
5214 * emacs-lisp/trace.el (trace-function-internal):
5215 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5217 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5219 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5221 * term/w32-win.el (w32-handle-dropped-file):
5222 * startup.el (normal-top-level):
5223 * net/browse-url.el (browse-url-file-url):
5224 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5225 decode file names using 'utf-8' rather than
5226 file-name-coding-system.
5228 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5230 * progmodes/python.el (python-indent-context)
5231 (python-indent-calculate-indentation): Fix auto-identation
5232 behavior for comment blocks. (Bug#15916)
5234 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5236 * progmodes/python.el (python-indent-calculate-indentation):
5237 When determining indentation, don't treat "return", "pass", etc., as
5238 operators when they are just string constituents. (Bug#15812)
5240 2013-12-12 Juri Linkov <juri@jurta.org>
5242 * uniquify.el (uniquify-buffer-name-style): Change default to
5243 `post-forward-angle-brackets'.
5245 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5246 `uniquify'. Change default to `post-forward-angle-brackets'.
5248 2013-12-11 Glenn Morris <rgm@gnu.org>
5250 * emacs-lisp/package.el (finder-list-matches):
5251 Autoload rather than falsely declaring.
5253 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5255 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5256 (eww-mode-map): Use them.
5258 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5260 * window.el (display-buffer-in-side-window): Fix doc-string
5263 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5265 * vc/vc-git.el: Silence byte-compiler warnings.
5266 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5267 (log-edit-set-header): Declare.
5269 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5271 * Makefile.in (custom-deps, finder-data): Run output file names
5272 through unmsys--file-name. (Bug#16099)
5274 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5277 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5279 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5280 instead of deleting the selection "by hand" (bug#16098).
5281 Rely on insert-for-yank to yank rectangles.
5282 (cua-highlight-region-shift-only): Mark obsolete.
5283 (cua-mode): Don't enable/disable transient-mark-mode,
5284 shift-select-mode (cua-mode works both with and without them), and
5285 pc-selection-mode (obsolete).
5286 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5287 (cua--deactivate-rectangle): Deactivate it.
5289 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5290 (delete-selection-helper): Make sure yank starts at the top of the
5292 (minibuffer-keyboard-quit): Use region-active-p.
5294 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5296 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5297 to `delete' (bug#16109).
5299 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5301 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5302 info manual and show keybindings and set `:group' keyword.
5304 2013-12-11 Juri Linkov <juri@jurta.org>
5306 * delsel.el (delete-active-region): Let-bind `this-command'
5307 to prevent `kill-region' from changing its original value.
5308 (delete-selection-helper): Handle `overwrite-mode' for the type
5309 `kill' exactly the same way as for the type `t'.
5310 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5311 Support more commands. (Bug#13312)
5313 2013-12-11 Juri Linkov <juri@jurta.org>
5315 * bindings.el: Map kp keys to non-kp keys systematically
5316 with basic modifiers control, meta and shift. (Bug#14397)
5318 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5320 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5321 "Close browser" menu items. Fix wrong function of "List
5324 2013-12-11 Juri Linkov <juri@jurta.org>
5326 * misearch.el (multi-isearch-buffers): Set the value of
5327 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5328 arg of isearch-forward to t.
5329 (multi-isearch-buffers-regexp): Set the value of
5330 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5331 arg of isearch-forward-regexp to t.
5332 (multi-isearch-files): Set the value of
5333 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5334 arg of isearch-forward to t.
5335 (multi-isearch-files-regexp): Set the value of
5336 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5337 arg of isearch-forward-regexp to t. (Bug#16035)
5339 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5340 arg of isearch-forward to t.
5341 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5342 arg of isearch-forward-regexp to t.
5343 (dired-isearch-filter-filenames): Remove unnecessary check for
5344 `dired-isearch-filenames'.
5346 * comint.el (comint-history-isearch-backward):
5347 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5348 (comint-history-isearch-backward-regexp):
5349 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5351 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5353 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5354 unmsys--file-name. (Bug#16099)
5356 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5358 * emacs-lisp/package.el (package-keyword-button-action):
5359 Remove finder.el require dependency.
5361 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5363 * emacs-lisp/package.el: Require finder.el.
5364 (describe-package-1): Add keyword buttons.
5365 (package-make-button): New convenience function.
5366 (package-keyword-button-action): Keyword button action using
5367 `finder-list-matches'.
5369 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5371 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5374 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5376 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5379 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5381 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5382 after the end of a percent literal.
5384 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5386 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5387 Handle caret-delimited strings (Bug#16079).
5389 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5391 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5392 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5393 `ruby-parse-partial' (Bug#16078).
5395 2013-12-09 Leo Liu <sdl.web@gmail.com>
5397 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5399 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5401 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5402 (js-switch-indent-offset): New option.
5403 (js--proper-indentation): Use it. And handle the case when
5404 "default" is actually a key in an object literal.
5405 (js--same-line): New function.
5406 (js--multi-line-declaration-indentation): Use it.
5407 (js--indent-in-array-comp, js--array-comp-indentation):
5409 (js--proper-indentation): Use them, to handle array comprehension
5412 2013-12-08 Leo Liu <sdl.web@gmail.com>
5414 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5415 (flymake-make-overlay): Remove arg MOUSE-FACE.
5416 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5418 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5420 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5422 (redisplay-highlight-region-function): Use it.
5424 * emulation/cua-base.el (cua--explicit-region-start)
5425 (cua--last-region-shifted): Remove.
5426 (cua--deactivate): Use deactivate-mark.
5427 (cua--pre-command-handler-1): Don't handle shift-selection.
5428 (cua--post-command-handler-1): Don't change transient-mark-mode.
5429 (cua--select-keymaps): Use region-active-p rather than
5430 cua--explicit-region-start or cua--last-region-shifted.
5431 (cua-mode): Enable shift-select-mode.
5433 2013-12-08 Leo Liu <sdl.web@gmail.com>
5435 * progmodes/flymake.el (flymake-popup-current-error-menu):
5436 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5437 (flymake-posn-at-point-as-event, flymake-popup-menu)
5438 (flymake-make-emacs-menu): Remove. (Bug#16077)
5440 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * rect.el (rectangle-mark-mode): Activate mark even if
5443 transient-mark-mode is off (bug#16066).
5444 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5445 is > mark and at bolp.
5447 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5448 (region-extract-function): Use it.
5449 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5450 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5452 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5453 kill-ring-save, kill-region, delete-char, delete-forward-char.
5454 Ignore self-insert-iso.
5456 * emulation/cua-gmrk.el (cua--init-global-mark):
5457 Ignore `self-insert-iso'.
5459 * emulation/cua-base.el (cua--prefix-copy-handler)
5460 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5461 checking cua--rectangle.
5462 (cua-delete-region): Use region-extract-function.
5463 (cua-replace-region): Delete function.
5464 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5465 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5466 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5467 (cua--init-keymaps): Don't remap delete-selection commands.
5468 (cua-mode): Use delete-selection-mode instead of rolling our own
5471 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5472 Obey region-extract-function.
5474 Make registers and delete-selection-mode work on rectangles.
5475 * register.el (describe-register-1): Don't modify the register's value.
5476 (copy-to-register): Obey region-extract-function.
5477 * delsel.el (delete-active-region): Obey region-extract-function.
5479 2013-12-08 Leo Liu <sdl.web@gmail.com>
5481 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5482 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5483 (flymake-compilation-prevents-syntax-check)
5484 (flymake-start-syntax-check-on-newline)
5485 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5486 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5487 (flymake-xml-program, flymake-master-file-dirs)
5488 (flymake-master-file-count-limit)
5489 (flymake-allowed-file-name-masks): Relocate.
5490 (flymake-makehash, flymake-float-time)
5491 (flymake-replace-regexp-in-string, flymake-split-string)
5492 (flymake-get-temp-dir): Remove.
5493 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5494 (flymake-current-row, flymake-selected-frame)
5495 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5496 related functions. (Bug#16077)
5498 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5500 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5502 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5504 * help-fns.el (describe-function-1): Use new advice-* functions
5505 rather than old ad-* functions. Fix function type description and
5506 source links for advised functions and subrs.
5508 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5510 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5512 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5514 * progmodes/compile.el (compilation-start):
5515 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5517 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5518 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5520 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5522 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5523 Touch up the last change.
5525 2013-12-06 Leo Liu <sdl.web@gmail.com>
5527 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5528 (inferior-octave-startup): Always use "octave> " for prompt.
5529 (octave-goto-function-definition)
5530 (octave-sync-function-file-names)
5531 (octave-find-definition-default-filename): Remove redundant backquotes.
5533 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5535 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5537 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5538 where appropriate already.
5539 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5540 end of method names (Bug#15874).
5542 2013-12-06 Juri Linkov <juri@jurta.org>
5544 * isearch.el (isearch--saved-overriding-local-map):
5545 New internal variable.
5546 (isearch-mode): Set it to the initial value of
5547 `overriding-terminal-local-map'.
5548 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5549 with `isearch--saved-overriding-local-map'. (Bug#16035)
5551 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5553 * progmodes/octave.el (inferior-octave-completion-table):
5554 Turn back into function, use `completion-table-with-cache'
5555 (Bug#11906). Update all references.
5557 * minibuffer.el (completion-table-with-cache): New function.
5559 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5561 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5563 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5565 * net/eww.el (eww-current-source): New variable to store page
5567 (eww-display-html, eww-mode, eww-save-history)
5568 (eww-restore-history): Use it.
5569 (eww-view-source): New command to view page source.
5570 Opportunistically uses `html-mode' to highlight the buffer.
5571 (eww-mode-map): Install it.
5573 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5575 * net/dbus.el (dbus-unregister-service)
5576 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5578 (dbus-unregister-service): Skip :serial entries in
5579 `dbus-registered-objects-table'.
5580 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5582 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5584 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5585 around keywords with extra `split-string' argument.
5587 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5589 * windmove.el (windmove-other-window-loc): Handle navigation
5590 between windows (excluding the minibuffer window - Bug#16017).
5592 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5594 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5595 in D-Bus type syntax.
5596 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5597 preserve unibyte strings. (Bug#16048)
5599 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5602 Call force-mode-line-update is the proper buffer (bug#16042).
5604 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5606 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5607 `log-edit-remember-comment', make argument optional. Adjust all
5609 (log-edit-mode): Add `log-edit-remember-comment' to
5610 `kill-buffer-hook' locally.
5611 (log-edit-kill-buffer): Don't remember comment explicitly since
5612 the buffer is killed anyway.
5614 2013-12-04 Juri Linkov <juri@jurta.org>
5616 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5617 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5619 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5621 * notifications.el (notifications-close-notification): Call the
5622 D-Bus method with ID being a `:uint32'. (Bug#16030)
5624 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5626 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5628 2013-12-03 Juri Linkov <juri@jurta.org>
5630 * progmodes/compile.el (compilation-start): Rename window alist
5631 entry `no-display-ok' to `allow-no-window'.
5633 * simple.el (shell-command): Add window alist entry
5634 `allow-no-window' to `display-buffer'.
5635 (async-shell-command): Doc fix.
5637 * window.el (display-buffer-no-window): New action function.
5638 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5640 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5642 * vc/log-edit.el (log-edit-set-header): Extract from
5643 `log-edit-toggle-header'.
5644 (log-edit-extract-headers): Separate the summary, when extracted
5645 from header, from the rest of the message with an empty line.
5647 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5648 line, if present, to the Summary header.
5650 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5653 in current-buffer (bug#16029).
5655 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5657 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5658 (debugger-mode-map): Bind it.
5659 (debugger--backtrace-base): New function.
5660 (debugger-eval-expression): Use it.
5661 (debugger-frame-number): Skip local vars when present.
5662 (debugger--locals-visible-p, debugger--insert-locals)
5663 (debugger--show-locals, debugger--hide-locals): New functions.
5665 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5667 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5669 (tramp-get-remote-locale): New defun.
5670 (tramp-open-connection-setup-interactive-shell): Use it.
5672 2013-12-02 Leo Liu <sdl.web@gmail.com>
5674 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5676 * progmodes/sh-script.el (sh-shell-process):
5677 * progmodes/octave.el (inferior-octave-process-live-p):
5678 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5679 (gdb-inferior-io-sentinel):
5680 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5682 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5684 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5685 `save-selected-window' to `log-edit-hide-buf'. This makes
5686 `log-edit-show-files' idempotent.
5687 (log-edit-show-files): Mark the new window as dedicated.
5689 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5691 * vc/log-edit.el (log-edit-mode-map): Add binding for
5692 `log-edit-kill-biffer'.
5693 (log-edit-hide-buf): Add a FIXME comment.
5694 (log-edit-add-new-comment): New function, extracted from
5696 (log-edit-done, log-edit-add-to-changelog): Use it.
5697 (log-edit-kill-buffer): New command.
5699 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5701 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5702 instead of killing the buffer.
5704 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5706 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5708 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5710 * net/eww.el (eww-form-checkbox-selected-symbol)
5711 (eww-form-checkbox-symbol): New customizable variable.
5712 (eww-form-checkbox, eww-toggle-checkbox):
5713 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5715 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5716 (shr--get-media-pref, shr--extract-best-source): New function.
5717 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5718 no :src tag was specified.
5720 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5721 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5722 Use \\` to match beginning of string instead of ^.
5723 (eww-browse-with-external-browser): Provide optional URL parameter.
5724 (eww-render): Set `eww-current-title' back to "".
5726 * net/shr.el (shr-tag-video): Display content for video if no
5727 poster is available.
5728 (shr-tag-audio): Add support for <audio> tag.
5730 * net/eww.el (eww-text-input-types): New const.
5731 (eww-process-text-input): Treat input types in
5732 `eww-text-input-types' as text.
5734 * net/shr.el (shr-tag-table): Fix comment typo.
5736 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5738 * net/eww.el (eww-follow-link): New command to avoid reloading
5739 pages when we follow #target links (bug#15243).
5740 (eww-quit): Special mode buffers shouldn't query before exiting.
5742 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5744 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5747 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5749 * net/eww.el (eww-restore-history): Update the window title after
5750 moving in the history.
5751 (eww-current-dom): New variable used to save the current DOM.
5753 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5755 * vc/log-edit.el (log-edit-mode-map): Add binding for
5756 `log-edit-beginning-of-line'.
5757 (log-edit-setup-add-author): New user option.
5758 (log-edit-beginning-of-line): New command.
5759 (log-edit): Move major mode call above the contents setup so that
5760 the local variable values are already applied.
5761 (log-edit): Only insert "Author: " when
5762 `log-edit-setup-add-author' is non-nil.
5763 (log-edit): When SETUP is non-nil, position point after ": "
5764 instead of point-min.
5766 2013-12-01 Glenn Morris <rgm@gnu.org>
5768 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5770 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5772 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5773 redisplay to make sure the initial frame gets a chance to become
5774 visible. (Bug#16014)
5776 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5778 Support resizing frames and windows pixelwise.
5779 * cus-start.el (frame-resize-pixelwise)
5780 (window-resize-pixelwise): New entries.
5781 * emacs-lisp/debug.el (debug): Use window-total-height instead
5782 of window-total-size.
5783 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5784 * help.el (describe-bindings-internal): Use help-buffer as
5785 argument for with-help-window.
5786 (temp-buffer-max-width): New option.
5787 (resize-temp-buffer-window, help-window-setup)
5788 (with-help-window): Rewrite.
5789 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5791 * window.el (frame-char-size, window-min-pixel-height)
5792 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5793 (window-min-pixel-width, window-safe-min-pixel-size)
5794 (window-combination-p, window-safe-min-size)
5795 (window-resizable-p, window--size-to-pixel)
5796 (window--pixel-to-size, window--resize-apply-p): New functions.
5797 (window-safe-min-height): Fix doc-string.
5798 (window-size, window-min-size, window--min-size-1)
5799 (window-sizable, window-sizable-p, window--min-delta-1)
5800 (window-min-delta, window--max-delta-1, window-max-delta)
5801 (window--resizable, window--resizable-p, window-resizable)
5802 (window-full-height-p, window-full-width-p, window-at-side-p)
5803 (window--in-direction-2, window-in-direction)
5804 (window--resize-reset-1, window--resize-mini-window)
5805 (window-resize, window-resize-no-error)
5806 (window--resize-child-windows-normal)
5807 (window--resize-child-windows, window--resize-siblings)
5808 (window--resize-this-window, window--resize-root-window)
5809 (window--resize-root-window-vertically)
5810 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5811 (maximize-window, minimize-window, delete-window)
5812 (quit-restore-window, window-split-min-size, split-window)
5813 (balance-windows-2, balance-windows)
5814 (balance-windows-area-adjust, balance-windows-area)
5815 (window--state-get-1, window-state-get, window--state-put-1)
5816 (window--state-put-2, window-state-put)
5817 (display-buffer-record-window, window--display-buffer):
5818 Make functions handle pixelwise sizing of windows.
5819 (display-buffer--action-function-custom-type)
5820 (display-buffer-fallback-action):
5821 Add display-buffer-in-previous-window.
5822 (display-buffer-use-some-window): Resize window to height it had
5824 (fit-window-to-buffer-horizontally): New option.
5825 (fit-frame-to-buffer): Describe new values.
5826 (fit-frame-to-buffer-bottom-margin): Replace with
5827 fit-frame-to-buffer-margins.
5828 (window--sanitize-margin): New function.
5829 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5830 using window-text-pixel-size.
5832 2013-11-30 Glenn Morris <rgm@gnu.org>
5834 * emacs-lisp/bytecomp.el (byte-compile-form):
5835 Make the `interactive-only' warning like the `obsolete' one.
5836 * comint.el (comint-run):
5837 * files.el (insert-file-literally, insert-file):
5838 * replace.el (replace-string, replace-regexp):
5839 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5840 (goto-line, insert-buffer, next-line, previous-line):
5841 Tweak `interactive-only' spec.
5843 Stop keeping (most) generated cedet grammar files in the repository.
5844 * Makefile.in (semantic): New.
5845 (compile-main): Depend on semantic.
5847 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5849 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5850 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5852 * uniquify.el (uniquify-buffer-name-style): Change default.
5854 * loadup.el: Preload "uniquify".
5856 * time.el (display-time-update): Update all mode lines (bug#15999).
5858 * electric.el (electric-indent-mode): Enable by default.
5859 * loadup.el: Preload "electric".
5861 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5863 * emacs-lisp/helpers.el (string-empty-p): New function.
5864 (string-blank-p): New function.
5866 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5868 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5871 2013-11-29 Andreas Politz <politza@fh-trier.de>
5872 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5873 allow non-lambda lists as functions.
5874 (imenu--in-alist): Don't recurse into non-subalists.
5875 (imenu): Don't pass function itself as an argument (Bug#14029).
5877 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * progmodes/python.el (python-mode-map): Remove binding for ":".
5880 (python-indent-electric-colon): Remove command.
5881 (python-indent-post-self-insert-function): Integrate the previous code
5882 of python-indent-electric-colon. Make it conditional on
5883 electric-indent-mode.
5884 (python-mode): Add ?: to electric-indent-chars.
5885 Move python-indent-post-self-insert-function to the end of
5886 post-self-insert-hook.
5888 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * doc-view.el (doc-view-goto-page): Update mode-line.
5892 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5894 2013-11-27 Glenn Morris <rgm@gnu.org>
5896 * international/charprop.el, international/uni-bidi.el:
5897 * international/uni-category.el, international/uni-combining.el:
5898 * international/uni-comment.el, international/uni-decimal.el:
5899 * international/uni-decomposition.el, international/uni-digit.el:
5900 * international/uni-lowercase.el, international/uni-mirrored.el:
5901 * international/uni-name.el, international/uni-numeric.el:
5902 * international/uni-old-name.el, international/uni-titlecase.el:
5903 * international/uni-uppercase.el:
5904 Remove generated files from VCS repository.
5906 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5908 * filenotify.el (file-notify-add-watch): Don't special-case
5909 w32notify when computing the directory to watch.
5911 2013-11-27 Glenn Morris <rgm@gnu.org>
5913 Make bootstrap without generated uni-*.el files possible again.
5914 * loadup.el: Update command-line-args checking for unidata-gen.
5915 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5916 * composite.el, international/characters.el:
5917 Handle unicode tables being undefined.
5919 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5920 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5921 (compile-main): Depend on leim rule.
5923 * loadup.el: Move leim-list.el to leim/ subdirectory.
5924 * startup.el (normal-top-level): No more leim directory.
5925 * international/ja-dic-cnv.el (skkdic-convert):
5926 Disable version-control and autoloads in output files.
5927 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5928 Disable version-control and autoloads in output files.
5929 * leim/quail: Move here from ../leim.
5930 * leim/quail/hangul.el (hangul-input-method-activate):
5931 Add autoload cookie.
5932 (generated-autoload-load-name): Set file-local value.
5933 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5934 (generated-autoload-load-name): Set file-local value.
5936 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5938 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5939 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5940 (eww-quit): Ask confirmation before quitting eww.
5942 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5944 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5945 reading output from Diff on MS-Windows and MS-DOS.
5947 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5949 * emacs-lisp/helpers.el (string-reverse): New function.
5951 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5953 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5954 names on MS Windows, like "/[::1]:".
5956 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5959 2013-11-26 Glenn Morris <rgm@gnu.org>
5961 * progmodes/python.el (python-indent-guess-indent-offset):
5962 Avoid corner-case error. (Bug#15975)
5964 Preload leim-list.el. (Bug#4789)
5965 * loadup.el: Load leim-list.el when found.
5966 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5968 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5970 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5972 * emacs-lisp/helpers.el (string-join): New function.
5974 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5976 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5977 Mark as obsolete and replace it with a symbol property.
5978 (byte-compile-form): Use new 'interactive-only property.
5979 * comint.el, files.el, replace.el, simple.el:
5980 Apply new 'interactive-only properly.
5982 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5984 * window.el (display-buffer-at-bottom): Make sure that
5985 split-window-sensibly creates the new window on bottom
5988 2013-11-23 David Kastrup <dak@gnu.org>
5990 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5991 on the conflict markers when available.
5992 (smerge--get-marker): New function.
5993 (smerge-end-re, smerge-base-re): Add subgroup.
5995 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5997 * frame.el (handle-focus-in, handle-focus-out): Add missing
6000 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6002 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6003 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6005 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6007 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6008 (gomoku--last-pos): New var.
6009 (gomoku--intangible-chars): New const.
6010 (gomoku--intangible): New function.
6011 (gomoku-mode): Use it. Derive from special-mode.
6012 (gomoku-move-up): Adjust line count.
6013 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6014 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6015 Simplify accordingly.
6017 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6018 Remove blink-cursor code.
6019 (blink-cursor-timer-function, blink-cursor-suspend):
6020 Don't special-case GUIs.
6021 (blink-cursor-mode): Use focus-in/out-hook.
6023 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6025 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6026 work when annotation is invisible (Bug#13886).
6028 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6030 * json.el (json-alist-p): Only return non-nil if the alist has
6031 simple keys (Bug#13518).
6033 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6035 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6036 when control-statement is the first statement in a buffer (Bug#15956).
6038 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6040 * imenu.el (imenu-generic-skip-comments-and-strings):
6041 New option (Bug#15560).
6042 (imenu--generic-function): Use it.
6044 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6046 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6049 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6051 * emacs-lisp/helpers.el: Add some string helpers.
6052 (string-trim-left): Removes leading whitespace.
6053 (string-trim-right): Removes trailing whitespace.
6054 (string-trim): Removes leading and trailing whitespace.
6056 * subr.el (string-suffix-p): New function.
6058 2013-11-23 Glenn Morris <rgm@gnu.org>
6060 * progmodes/python.el (python-shell-send-file):
6061 Add option to delete file when done. (Bug#15647)
6062 (python-shell-send-string, python-shell-send-region): Use it.
6064 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6066 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6067 to set buffer-read-only to t, never to nil. (Bug#15938)
6069 * textmodes/tex-mode.el (latex-noindent-environments):
6070 Add safe-local-variable property. (Bug#15936)
6072 2013-11-23 Glenn Morris <rgm@gnu.org>
6074 * textmodes/enriched.el (enriched-mode): Doc fix.
6075 * emacs-lisp/authors.el (authors-renamed-files-alist):
6076 Add enriched.doc -> enriched.txt.
6078 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6080 2013-11-22 Leo Liu <sdl.web@gmail.com>
6082 * progmodes/octave.el (inferior-octave-startup): Spit out error
6085 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6087 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6090 (ruby-encoding-magic-comment-style): Add :version.
6092 2013-11-22 Leo Liu <sdl.web@gmail.com>
6094 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6096 (octave-help-mode): Adapt to change to help-mode-finish to use
6097 derived-mode-p on 2013-09-17.
6098 (inferior-octave-prompt): Also match octave-gui.
6099 (octave-kill-process): Don't ask twice. (Bug#10564)
6101 2013-11-22 Leo Liu <sdl.web@gmail.com>
6103 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6104 (inferior-octave-startup, inferior-octave-check-process)
6105 (inferior-octave-track-window-width-change)
6106 (octave-completion-at-point, octave-eldoc-function): Use it.
6107 (octave-kill-process): Provide confirmation. (Bug#10564)
6109 2013-11-21 Leo Liu <sdl.web@gmail.com>
6111 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6112 Fix obsolete variable comment-use-global-state.
6114 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6116 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6117 Add `octave-source-file'.
6118 (octave-source-file): New function. (Bug#15935)
6120 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6122 * net/eww.el (eww-local-regex): New variable.
6123 (eww): Use it to detect localhost and similar.
6125 2013-11-21 Leo Liu <sdl.web@gmail.com>
6127 Add completion for command `ag'.
6128 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6129 (pcomplete/ag): New function.
6130 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6132 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6134 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6136 (make-obsolete): Remove interactive spec.
6138 2013-11-21 Glenn Morris <rgm@gnu.org>
6140 * startup.el (command-line-1): Use path-separator with -L.
6142 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6144 * emacs-lisp/package.el (describe-package-1): Add package archive
6147 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6149 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6150 Change default to "# encoding: %s" to differentiate it from the
6151 default Ruby encoding comment template.
6153 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6155 * ses.el (ses-mode): Doc fix. (Bug#14748)
6157 2013-11-20 Leo Liu <sdl.web@gmail.com>
6159 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6161 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6163 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6164 when rebase or bisect are in progress.
6166 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6168 * filenotify.el (file-notify-add-watch): Doc fix.
6170 2013-11-19 Leo Liu <sdl.web@gmail.com>
6172 * obsolete/rcompile.el: Mark obsolete.
6174 * progmodes/compile.el (compilation-start)
6175 (compilation-goto-locus, compilation-find-file):
6176 Pass no-display-ok and handle nil value from display-buffer.
6179 * window.el (display-buffer-alist, display-buffer): Document the
6180 new parameter no-display-ok. Return either a window or nil
6181 but never a non-window value.
6183 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * electric.el (electric-indent-mode-map): Remove.
6186 (electric-indent-mode): Change the global-map instead (bug#15915).
6188 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6191 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6193 * emacs-lisp/nadvice.el (remove-function): Align with
6194 add-function's behavior.
6196 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6197 (gdb--string-regexp): New constant.
6198 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6199 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6200 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6202 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6203 Adjust use accordingly.
6204 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6206 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6208 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6209 interpolation curlies (Bug#15914).
6211 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6213 * calc/calc.el (calc-context-sensitive-enter): New variable.
6214 (calc-enter): Use `calc-context-sensitive-enter'.
6216 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6218 * progmodes/cfengine.el: Version bump.
6219 (cfengine-cf-promises): New defcustom to locate cf-promises.
6220 (cfengine3-vartypes): Add new "data" type.
6221 (cfengine3--current-word): New function to get current name-like
6223 (cfengine3--current-function): New function to look up a CFEngine
6224 function's definition.
6225 (cfengine3-format-function-docstring): New function.
6226 (cfengine3-make-syntax-cache): New function.
6227 (cfengine3-documentation-function): New function: ElDoc glue.
6228 (cfengine3-completion-function): New function: completion glue.
6229 (cfengine3-mode): Set `compile-command',
6230 `eldoc-documentation-function', and add to
6231 `completion-at-point-functions'.
6233 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6235 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6236 `tramp-current-connection'.
6238 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6241 nil/self/true/false with "end of symbol".
6243 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6245 * subr.el (version-regexp-alist): Fix a typo.
6247 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6249 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6250 "en_US.utf8" and "LC_CTYPE" to "".
6251 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6252 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6254 2013-11-15 Leo Liu <sdl.web@gmail.com>
6256 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6258 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * progmodes/gud.el (ctl-x-map):
6261 Remove C-x SPC binding. (Bug#12342)
6262 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6264 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6266 * subr.el (version-regexp-alist):
6267 Recognize hg, svn and darcs versions as snapshot versions.
6269 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6270 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6271 (ruby--encoding-comment-required-p): Extract from
6272 `ruby-mode-set-encoding'.
6273 (ruby-mode-set-encoding): Add the ability to always insert an
6274 utf-8 encoding comment. Fix and simplify coding comment update
6277 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6279 * net/tramp-gvfs.el (top): Run init code only when
6280 `tramp-gvfs-enabled' is not nil.
6281 (tramp-gvfs-enabled): Check also :system bus.
6283 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6285 Sync with upstream verilog-mode revision 78e66ba.
6286 * progmodes/verilog-mode.el (verilog-end-of-defun)
6287 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6288 (verilog-get-end-of-defun): Remove unused argument.
6289 (verilog-comment-depth): Remove unused local `e'.
6290 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6291 Don't pass arg to verilog-get-end-of-defun.
6293 2013-11-14 Glenn Morris <rgm@gnu.org>
6295 * obsolete/assoc.el (aget): Prefix dynamic variable.
6297 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6299 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * widget.el, hfy-cmap.el: Remove bogus package version number.
6303 2013-11-13 Glenn Morris <rgm@gnu.org>
6305 * replace.el (replace-eval-replacement):
6306 Try to give more helpful error message. (Bug#15836)
6308 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6309 (archive-7z-update): Avoid custom type mismatches.
6311 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6313 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6315 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6316 address can be empty.
6318 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6319 Accept nil SWITCHES.
6320 (tramp-gvfs-handle-write-region): Implement APPEND.
6322 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6324 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6325 binary "|" operator and closing block args delimiter.
6326 Remove FIXME comment referring to Ruby 1.8-only syntax.
6327 (ruby-smie--implicit-semi-p): Not after "|" operator.
6328 (ruby-smie--closing-pipe-p): New function.
6329 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6330 (ruby-smie-rules): Indent after "|".
6332 2013-11-12 Glenn Morris <rgm@gnu.org>
6334 * ps-print.el (ps-face-attribute-list):
6335 Handle anonymous faces. (Bug#15827)
6337 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6339 * window.el (display-buffer-other-frame): Fix doc-string.
6342 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6346 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6348 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6349 (tramp-sh-handle-file-local-copy): Don't write a message when
6350 saving temporary files.
6352 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6353 both directories are remote.
6354 (tramp-smb-handle-directory-files): Do not return double entries.
6355 Do not expand full file names.
6356 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6357 (tramp-smb-handle-write-region): Implement APPEND.
6358 (tramp-smb-get-stat-capability): Fix a stupid bug.
6360 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6364 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6366 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6367 throwing error over malformed let/let* (bug#15814).
6369 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * iswitchb.el (iswitchb-mode): Mark obsolete.
6373 2013-11-11 Glenn Morris <rgm@gnu.org>
6375 * international/uni-bidi.el, international/uni-category.el:
6376 * international/uni-name.el, international/uni-numeric.el:
6377 Regenerate for Unicode 6.3.0.
6379 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6381 * net/tramp.el (tramp-methods):
6382 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6383 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6385 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6387 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6388 Force highlighting text after Summary keyword in doc face for rpm.
6390 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6392 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6393 available and the word has no wildcards, append one to the grep pattern.
6394 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6395 (ispell-complete-word): Call `ispell-lookup-words' with the value
6396 independent of `ispell-look-p'.
6398 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6400 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6402 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6405 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6408 (ruby-font-lock-keywords): Use backquote.
6410 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6412 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6413 (ruby-smie--backward-token): Only consider full-string matches.
6415 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6417 * faces.el (describe-face): Add distant-foreground.
6419 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6421 * progmodes/ruby-mode.el: Improve encoding comment handling.
6422 (ruby-encoding-magic-comment-style): New option.
6423 (ruby-custom-encoding-magic-comment-template): New option.
6424 (ruby--insert-coding-comment, ruby--detect-encoding):
6425 New functions extracted from `ruby-mode-set-encoding'.
6426 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6427 to control the style of the auto-inserted encoding comment.
6429 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6431 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6432 Use `smie-backward-sexp' with token argument.
6434 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6436 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6437 Remove instrumentation code.
6439 2013-11-08 Glenn Morris <rgm@gnu.org>
6441 * progmodes/autoconf.el (autoconf-mode):
6442 Tweak comment-start-skip. (Bug#15822)
6444 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6446 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6447 at bobp (bug#15826).
6448 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6450 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6452 * man.el (Man-start-calling): New macro, extracted from
6453 Man-getpage-in-background.
6454 (Man-getpage-in-background): Use it.
6455 (Man-update-manpage): New command.
6456 (Man-mode-map): Bind it.
6458 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6460 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6461 of "and", "or", "&&" and "||".
6462 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6463 argument. Prohibit opening curly brace because it could only be a
6464 block opener in that position.
6465 (ruby-smie--forward-token, ruby-smie--backward-token):
6466 Separate "|" from "&" or "*" going after it. That can happen in block
6468 (ruby-smie--indent-to-stmt): New function, seeks the end of
6469 previous statement or beginning of buffer.
6470 (ruby-smie-rules): Use it.
6471 (ruby-smie-rules): Check if there's a ":" before a curly block
6472 opener candidate; if there is, it's a hash.
6474 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6477 (cl--block-wrapper): Fix last accidental change.
6479 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6481 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6482 Instrument, in order to hunt failure on hydra.
6484 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6486 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6487 malformed bindings form (bug#15814).
6489 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6491 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6492 "." compared to " @ ". This incidentally fixes some indentation
6494 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6495 (ruby-smie-grammar): New tokens: "and" and "or".
6496 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6497 Exclude "and" and "or". Remove "do" in order to work around token
6499 (ruby-smie-rules): Add all infix tokens. Handle the case of
6500 beginning-of-buffer.
6502 2013-11-06 Glenn Morris <rgm@gnu.org>
6504 * Makefile.in (setwins_almost, setwins_for_subdirs):
6505 Avoid accidental matches.
6507 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * menu-bar.el (popup-menu): Use key-binding.
6511 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6513 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6514 menus, support also the menus produced by minor modes.
6517 2013-11-06 Leo Liu <sdl.web@gmail.com>
6519 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6520 DISTANCE to bound the search. All uses changed. (Bug#15808)
6522 2013-11-06 Glenn Morris <rgm@gnu.org>
6524 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6525 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6526 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6528 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6530 * electric.el (electric-indent-just-newline): New command.
6531 (electric-indent-mode-map): New keymap.
6532 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6533 Re-add :group which weren't redundant.
6535 * electric.el (electric-indent-local-mode): New minor mode.
6536 (electric-indent-functions-without-reindent): New var.
6537 (electric-indent-post-self-insert-function): Use it.
6538 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6540 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6542 * international/quail.el (quail-help): Be more explicit about the
6543 meaning of the labels shown on the keys. (Bug#15800)
6545 * startup.el (normal-top-level): Load the subdirs.el files before
6546 setting the locale environment. (Bug#15805)
6548 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6550 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6551 via arguments so as to get the right ones (bug#15418).
6553 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6555 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6557 Fix problems found while writing a test suite.
6559 * net/tramp-compat.el (tramp-compat-load): New defun.
6560 * net/tramp.el (tramp-handle-load): Use it.
6562 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6563 "(numberp ok-if-already-exists)" correctly.
6565 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6567 * international/characters.el (glyphless-char-display-control):
6570 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6572 * progmodes/python.el (python-mode):
6573 * progmodes/scheme.el (scheme-mode):
6574 * progmodes/prolog.el (prolog-mode):
6575 * progmodes/ruby-mode.el (ruby-mode):
6576 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6577 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6579 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6581 * rect.el (rectangle--highlight-for-redisplay):
6582 * emacs-lisp/smie.el (smie--next-indent-change):
6583 Use buffer-chars-modified-tick.
6585 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6587 * electric.el (electric-indent-post-self-insert-function):
6588 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6590 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6592 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6594 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6596 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6599 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6603 * progmodes/python.el: Fix up last change.
6604 (python-shell--save-temp-file): New function.
6605 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6606 `string' comes from the current buffer.
6607 (python-shell-send-string-no-output): Remove `msg' arg.
6608 (python--use-fake-loc): New var.
6609 (python-shell-buffer-substring): Obey it. Try to compensate for the
6610 extra coding line added by python-shell--save-temp-file.
6611 (python-shell-send-region): Use python-shell--save-temp-file and
6612 python-shell-send-file directly. Add `nomain' argument.
6613 (python-shell-send-buffer): Use python-shell-send-region.
6614 (python-electric-pair-string-delimiter): New function.
6615 (python-mode): Use it.
6617 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6619 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6620 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6621 environment and decoding all of the default-directory's to here
6623 (command-line): Decode also argv[0].
6625 * loadup.el: Error out if default-directory is a multibyte string
6626 when we are dumping.
6628 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6630 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6632 * emacs-lisp/package.el (package-menu-mode)
6633 (package-menu--print-info, package-menu--archive-predicate):
6634 Add Archive column to package list.
6636 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6638 Fix problems found while writing a test suite.
6640 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6641 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6642 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6643 to nil when running original file name handler. Otherwise,
6644 there are problems with constructs like "$$FOO".
6646 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6649 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6651 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6653 * subr.el (version<, version<=, version=):
6654 Update docstrings with information for snapshot versions.
6656 * helpers.el: New library for misc helper functions.
6657 (hash-table-keys): New function returning a list of hash keys.
6658 (hash-table-values): New function returning a list of hash values.
6660 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6662 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6663 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6665 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6667 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6668 checking whether point is after a 1-letter word.
6670 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6672 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6673 Don't infloop when expanding region over `multiline' syntax-type that
6674 begins a line (bug#15778).
6676 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6678 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6679 Make it into a proper minor mode.
6680 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6681 (rectangle-mark-mode-map): New keymap.
6682 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6684 2013-11-04 Glenn Morris <rgm@gnu.org>
6686 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6688 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6691 (ruby-smie-rules): Use smie-rule-parent instead.
6693 * emacs-lisp/smie.el (smie-rule-parent): Always call
6694 smie-indent-virtual rather than only for hanging tokens.
6695 (smie--next-indent-change): New helper command.
6697 2013-11-03 Glenn Morris <rgm@gnu.org>
6699 * Makefile.in (abs_srcdir): Remove.
6700 (emacs): Unset EMACSLOADPATH.
6702 2013-11-02 Glenn Morris <rgm@gnu.org>
6704 * Makefile.in (EMACS): Use a relative filename.
6705 (abs_top_builddir): Remove.
6706 (custom-deps, finder-data, autoloads): Use --chdir.
6708 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6710 Use relative filenames in TAGS files.
6711 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6712 (lisptagsfiles4, TAGS): Use relative file names.
6713 (TAGS-LISP): Remove.
6714 (maintainer-clean): No more TAGS-LISP file.
6716 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6717 (lisptagsfiles4): Use absolute filenames again.
6718 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6719 Remove all *loaddefs files, not just the first. Remove esh-groups.
6720 (maintainer-clean): Delete TAGS, TAGS-LISP.
6722 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6724 * emacs-lisp/package.el (package-version-join):
6725 Recognize snapshot versions.
6727 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6729 * subr.el (version-regexp-alist): Add support for snapshot versions.
6731 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6733 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6734 New function, replacement for `smie-rule-parent' for when we want to
6735 skip over our direct parent if it's an assignment token..
6736 (ruby-smie-rules): Use it.
6738 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6740 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6741 unconditionally. Remove now unnecessary forward declarations.
6742 Remove XEmacs-specific setup.
6743 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6744 (ruby-font-lock-syntactic-keywords)
6745 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6746 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6747 (ruby-here-doc-end-syntax): Remove.
6748 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6749 defined as function.
6751 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6753 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6755 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6757 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6758 table and abbrev table, `define-derived-mode' does that for us
6761 2013-11-01 Glenn Morris <rgm@gnu.org>
6763 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6764 files is atomic for some time, so no parallel compilation issues).
6766 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6768 * faces.el (face-x-resources): Add :distant-foreground.
6769 (region): Use :distant-foreground for gtk and ns.
6771 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6773 Allow multiple bibliographies when BibLaTeX is used rather than
6775 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6776 (reftex-locate-bibliography-files): Us it.
6778 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6780 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6781 allow comments in pbm files.
6783 * term/w32-win.el (dynamic-library-alist): Support newer versions
6784 of libjpeg starting with v7: look only for the DLL from the
6785 version against which Emacs was built.
6786 Support versions of libpng beyond 1.4.x.
6787 Support libtiff v4.x.
6789 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6791 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6792 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6794 (ruby-deep-arglist): Add property :type.
6796 2013-10-31 Glenn Morris <rgm@gnu.org>
6798 * Makefile.in (custom-deps, finder-data): No need to setq the target
6799 variables, we are in the right directory and the defaults work fine.
6801 2013-10-30 Glenn Morris <rgm@gnu.org>
6803 * Makefile.in (autoloads): Do not use abs_lisp.
6805 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6806 `newline' does not respect `standard-output', so use `princ'.
6808 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6810 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6811 * buff-menu.el (Buffer-menu--unmark): New function.
6812 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6814 2013-10-30 Glenn Morris <rgm@gnu.org>
6816 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6818 * emacs-lisp/package.el (lm-homepage): Declare.
6820 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6823 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6825 * Makefile.in (finder-data, autoloads, update-subdirs)
6826 (compile-main, compile-clean, compile-always, bootstrap-clean):
6827 Check return value of cd.
6828 (compile-calc): Remove.
6830 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6832 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6834 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6835 (byte-compile-and-folded): New function.
6836 (=, <, >, <=, >=): Use it.
6838 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6839 (path-separator, null-device, buffer-file-coding-system)
6840 (lpr-headers-switches): Check system-type before modifying them.
6841 (find-buffer-file-type-coding-system): Mark obsolete.
6842 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6843 find-file-not-found-set-buffer-file-coding-system.
6844 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6845 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6846 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6847 (w32-direct-print-region-helper, w32-direct-print-region-function)
6848 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6849 * startup.el (normal-top-level-add-subdirs-to-load-path):
6850 * ps-print.el (ps-print-region-function):
6851 * lpr.el (print-region-function): Use new name.
6853 * subr.el (custom-declare-variable-early): Remove function.
6854 (custom-declare-variable-list): Remove var.
6855 (error, user-error): Remove `while' loop.
6856 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6857 (user-emacs-directory-warning, locate-user-emacs-file):
6859 * simple.el (read-quoted-char-radix, read-quoted-char):
6860 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6862 * custom.el (custom-declare-variable-list): Don't process
6863 custom-declare-variable-list.
6865 * progmodes/python.el (python-shell-get-buffer): New function.
6866 (python-shell-get-process): Use it.
6867 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6868 Python which encoding was used. Don't split-string since we only care
6869 about the first line. Return the temp-file, if applicable.
6870 (python-shell-send-region): Tell compile.el how to turn locations in
6871 the temp-file into locations in the source buffer.
6873 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * subr.el (undefined): Add missing behavior from the C code for
6878 * rect.el: Use lexical-binding. Add new rectangular region support.
6879 (rectangle-mark): New command.
6880 (rectangle--region): New var.
6881 (deactivate-mark-hook): Reset rectangle--region.
6882 (rectangle--extract-region, rectangle--insert-for-yank)
6883 (rectangle--highlight-for-redisplay)
6884 (rectangle--unhighlight-for-redisplay): New functions.
6885 (region-extract-function, redisplay-unhighlight-region-function)
6886 (redisplay-highlight-region-function): Use them to handle
6888 * simple.el (region-extract-function): New var.
6889 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6890 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6891 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6892 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6893 (redisplay-unhighlight-region-function)
6894 (redisplay-highlight-region-function): New vars.
6895 (redisplay--update-region-highlight): New function.
6896 (pre-redisplay-function): Use it.
6897 (exchange-point-and-mark): Don't deactivate the mark before
6898 reactivate-it anyway.
6899 * comint.el (comint-kill-region): Remove yank-handler argument.
6900 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6901 (delete-char): Remove property, since it's now part of their
6903 (self-insert-iso): Remove property since this command doesn't exist.
6905 * emacs-lisp/package.el (package--download-one-archive)
6906 (describe-package-1): Don't query the user about final newline.
6908 2013-10-29 Daniel Colascione <dancol@dancol.org>
6910 * net/tramp.el (tramp-methods): Document new functionality.
6911 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6912 tramp-hostname-checker if method provides one instead of scanning
6913 argument list for "%h" to decide hostname acceptability.
6915 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6917 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6918 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6919 Handle COPY-CONTENTS. (Bug#15737)
6921 2013-10-28 Daiki Ueno <ueno@gnu.org>
6923 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6924 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6926 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6928 * image.el (defimage, image-load-path): Doc fixes.
6930 2013-10-27 Alan Mackenzie <acm@muc.de>
6932 Indent statements in macros following "##" correctly.
6933 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6934 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6936 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6938 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6940 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6942 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6943 after `=' is probably a new expression.
6945 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6947 * man.el (man-imenu-title): New option.
6948 (Man-mode-map): Add menu. (Bug#15722)
6949 (Man-mode): Add imenu to menu.
6951 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6953 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6954 specific in what the first arg can be: a non-keyword word,
6955 string/regexp/percent literal opener, opening paren, or unary
6956 operator followed directly by word.
6958 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6960 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6961 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6962 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6963 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6964 Remove vars, they do not apply any more.
6965 (prolog-mode-abbrev-table): Remove redundant declaration.
6966 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6967 (prolog-use-smie): Remove.
6968 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6969 supported by prolog-electric-if-then-else-flag.
6970 (prolog-mode-variables, prolog-menu): Use setq-local.
6971 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6972 Remove binding to `Backspace' since this key doesn't exist anyway.
6973 Remove bindings for electric self-inserting keys.
6974 (prog-mode): Assume it's defined.
6975 (prolog-post-self-insert): New function.
6976 (prolog-mode): Use it.
6977 (prolog-indent-line, prolog-indent-level)
6978 (prolog-find-indent-of-matching-paren)
6979 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6980 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6981 (prolog-goto-next-paren, prolog-in-string-or-comment)
6982 (prolog-tokenize, prolog-inside-mline-comment)
6983 (prolog-find-start-of-mline-comment): Remove functions.
6984 (prolog-find-unmatched-paren, prolog-clause-end)
6985 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6986 (prolog-electric--if-then-else): Rename from
6987 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6988 (prolog-tokenize-searchkey): Remove const.
6989 (prolog-clause-info): Use forward-sexp.
6990 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6991 (prolog-electric-if-then-else): Remove commands.
6992 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6993 for use in post-self-insert-hook.
6994 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6995 for use in post-self-insert-hook.
6996 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6997 for use in post-self-insert-hook.
6998 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6999 adapt it for use in post-self-insert-hook.
7001 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7003 * emacs-lisp/ert.el (ert-run-tests-interactively):
7004 Use `completing-read'. (Bug#9756)
7006 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7008 * simple.el (line-move): Call line-move-1 instead of
7009 line-move-visual when the current window hscroll is zero, but
7010 temporary-goal-column indicates we will need to hscroll as result
7011 of the movement. (Bug#15712)
7013 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7015 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7016 capitalization. Use :visible instead of :active.
7017 Fix `ruby-indent-exp' reference. Add menu items for the generic
7018 commands that are used with SMIE.
7019 (ruby-do-end-to-brace): Insert space after `{'.
7021 2013-10-25 John Anthony <john@jo.hnanthony.com>
7023 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7025 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7027 2013-10-25 Glenn Morris <rgm@gnu.org>
7029 * vc/vc.el (vc-print-log): Don't use a working revision unless
7030 one was explicitly specified. (Bug#15322)
7032 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7034 * subr.el (add-to-list): Preserve return value in compiler-macro
7037 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7039 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7040 result. Ask user to retry using '-all' flag. (Bug#15701)
7042 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7044 * emacs-lisp/smie.el: New smie-config system.
7045 (smie-config): New defcustom.
7046 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7047 (smie-config-guess, smie-config-save): New commands.
7048 (smie-config--mode-local, smie-config--buffer-local)
7049 (smie-config--trace, smie-config--modefuns): New vars.
7050 (smie-config--advice, smie-config--mode-hook)
7051 (smie-config--setter, smie-config-local, smie-config--get-trace)
7052 (smie-config--guess-value, smie-config--guess): New functions.
7053 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7054 text properties. Treat "string fence" syntax like string syntax.
7056 * progmodes/sh-script.el (sh-use-smie): Change default.
7057 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7058 (sh-var-value): Simplify by CSE.
7059 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7060 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7062 (sh-guess-basic-offset): Use cl-incf.
7063 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7065 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7067 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7070 2013-10-24 Glenn Morris <rgm@gnu.org>
7072 * Makefile.in (abs_top_srcdir): Remove.
7073 (update-subdirs): Use relative path to update-subdirs.
7075 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7077 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7078 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7079 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7080 Call unmsys--file-name before expand-file-name, not after it.
7082 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7084 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7085 (ert-test-skipped): New error.
7086 (ert-skip, ert-stats-skipped): New defuns.
7087 (ert--skip-unless): New macro.
7088 (ert-test-skipped): New struct.
7089 (ert--run-test-debugger, ert-test-result-type-p)
7090 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7091 (ert--stats-set-test-and-result, ert-char-for-test-result)
7092 (ert-string-for-test-result, ert-run-tests-batch)
7093 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7094 Handle skipped tests. (Bug#9803)
7096 2013-10-24 Glenn Morris <rgm@gnu.org>
7098 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7100 * Makefile.in (abs_top_srcdir): New, set by configure.
7101 (update-subdirs): Correct build-aux location.
7103 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7105 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7106 value, whether we could auto-deduce `backend', or not.
7108 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7109 with parameters" example. Simplify the "is it block or is it
7110 hash" check, but also make it more thorough.
7112 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7114 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7116 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7121 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7124 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7126 * progmodes/compile.el (compilation-directory-matcher)
7127 (compilation-page-delimiter):
7128 Support GNU Make-4.0 directory quoting. (Bug#15678)
7130 2013-10-23 Leo Liu <sdl.web@gmail.com>
7132 * ido.el (ido-tidy): Handle read-only text.
7134 2013-10-23 Glenn Morris <rgm@gnu.org>
7136 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7137 (emacs, compile, compile-always):
7138 Quote entities that might contain whitespace.
7139 (custom-deps, finder-data, autoloads): Use abs_lisp.
7140 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7141 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7142 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7144 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7146 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7147 Use `following-char'.
7149 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7151 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7152 * progmodes/ruby-mode.el (ruby-smie-rules):
7153 Remove corresponding workaround. Fix indentation rule of ";" so it
7154 also applies when ";" is the parent.
7156 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7158 * frame.el (display-screens, display-pixel-height)
7159 (display-pixel-width, display-mm-width, display-backing-store)
7160 (display-save-under, display-planes, display-color-cells)
7161 (display-visual-class, display-monitor-attributes-list):
7162 Mention the optional ‘display’ argument in doc strings.
7164 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7166 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7167 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7169 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7171 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7172 TODO. Add "." after " @ ".
7173 (ruby-smie--at-dot-call): New function. Checks if point at method
7174 call with explicit target.
7175 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7176 to the method name tokens when it precedes them.
7177 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7178 (ruby-smie-rules): Add rule for indentation before and after "."
7181 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * textmodes/remember.el (remember-diary-extract-entries):
7186 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7189 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7191 * progmodes/ruby-mode.el (ruby-smie-grammar):
7192 Add (almost) all infix operators.
7193 (ruby-smie--implicit-semi-p): Add new operator chars.
7195 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7197 (ruby-smie--args-separator-p): Check that there's no newline
7198 between method call and its arguments.
7200 2013-10-20 Alan Mackenzie <acm@muc.de>
7202 Allow comma separated lists after Java "implements".
7204 * progmodes/cc-engine.el (c-backward-over-enum-header):
7206 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7207 from a "disallowed" list in enum fontification.
7209 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7211 * startup.el (default-frame-background-mode): Remove unused defvar.
7213 * progmodes/verilog-mode.el (verilog-mode): Don't set
7214 comment-indent-function globally.
7216 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7218 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7219 Move Info menu item creation to ns-win.el.
7221 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7224 * menu-bar.el: Move GNUstep specific menus...
7226 * term/ns-win.el (ns-initialize-window-system): ... to here.
7228 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * simple.el (newline): Only run post-self-insert-hook when
7231 called interactively.
7233 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7235 * icomplete.el (icomplete-with-completion-tables): Add :version.
7237 2013-10-19 Alan Mackenzie <acm@muc.de>
7239 Fix fontification bugs with constructors and const.
7241 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7242 CASE 2) Remove the check for the absence of a suffix construct
7243 after a function declaration with only types (no identifiers) in
7244 the parentheses. Also, accept a function declaration with just a
7245 type inside the parentheses, if this type can be positively
7246 recognised as such, or if a prefix keyword like "explicit" nails
7247 down the construct as a declaration.
7249 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7251 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7252 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7253 the problem whereby selecting a menu item that leads to a
7254 minibuffer prompt moves the cursor out of the minibuffer window,
7255 making it hard to type at the prompt. Suggested by Stefan Monnier
7256 <monnier@iro.umontreal.ca>.
7258 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7260 * menu-bar.el: Don't make Services menu.
7262 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7264 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7265 (ffap-alist): Use ffap-c++-mode for c++-mode.
7266 (ffap-c++-path): New variable.
7267 (ffap-c++-mode): New function.
7269 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7271 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7273 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7275 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7276 introduced on 2013-09-08, which results in an infinite loop
7277 requesting a password.
7279 2013-10-18 Glenn Morris <rgm@gnu.org>
7281 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7283 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7285 Sync with upstream verilog-mode revision 1a6ecec7.
7286 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7287 (verilog-mode-release-date): Remove.
7288 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7289 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7290 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7291 (verilog-auto-tieoff-ignore-regexp)
7292 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7293 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7294 (verilog-signals-with, verilog-dir-cache-preserving)
7295 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7297 (verilog-case-fold): New option, to control case folding in
7298 regexp searches, bug597.
7299 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7300 (verilog-string-match-fold, verilog-in-paren-count)
7301 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7302 (verilog-at-close-struct-p): New functions.
7303 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7304 (verilog-forward-sexp, verilog-set-auto-endcomments)
7305 (verilog-leap-to-case-head): Handle "unique0" case.
7306 (verilog-in-constraint-re): New constant.
7307 (verilog-keywords, verilog-type-font-keywords):
7308 Add some SystemVerilog 1800-2012 keywords.
7309 (verilog-label-be): Remove unimplemented argument, bug669.
7310 (verilog-batch-execute-func): When batch expanding clear
7311 create-lockfiles to prevent spurious user locks when a file ends
7313 (verilog-calculate-indent, verilog-calc-1)
7314 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7315 (verilog-do-indent): Fix indentation of nested constraints
7317 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7318 (verilog-auto-inst-param): Use verilog-string-match-fold.
7319 (verilog-read-inst-module-matcher):
7320 Fix AUTOINST on gate primitives with #1.
7321 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7322 Reads all user-defined typed variables.
7323 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7324 (verilog-signals-matching-regexp)
7325 (verilog-signals-not-matching-regexp, verilog-auto):
7326 Respect verilog-case-fold.
7327 (verilog-diff-report): Fix line count.
7328 (verilog-auto-assign-modport): Remove unused local `modi'.
7329 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7330 better handle multidimensional arrays.
7331 Fix packed array ports misadding bit index in AUTOINST, bug637.
7332 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7333 to not double-declare existing outputs and inputs, respectively.
7334 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7335 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7336 (verilog-sk-uvm-component): New skeleton.
7337 (verilog-submit-bug-report): Add verilog-case-fold,
7338 remove verilog-mode-release-date.
7340 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7342 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7345 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7347 * textmodes/remember.el (remember): Set buffer-offer-save in
7348 remember buffers (bug#13566).
7350 2013-10-18 Daniel Colascione <dancol@dancol.org>
7352 When evaluating forms in ielm, direct standard output to ielm
7353 buffer. Add new ielm-return-for-effect command. Remove trailing
7354 whitespace throughout.
7356 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7357 (ielm-return-for-effect): New command.
7358 (ielm-send-input): Accept optional `for-effect' parameter.
7359 (ielm-eval-input): Accept optional `for-effect' parameter.
7360 Bind `standard-output' to stream we create using
7361 `ielm-standard-output-impl'. Suppress printing result when
7363 (ielm-standard-output-impl): New function.
7364 (inferior-emacs-lisp-mode): Explain new features in documentation.
7366 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7370 * net/tramp.el (tramp-debug-message): Do not check for connection
7372 (tramp-message): Use "vector" connection property.
7374 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7375 (tramp-equal-remote, tramp-eshell-directory-change)
7376 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7377 (tramp-adb-handle-rename-file)
7378 * net/tramp-cmds.el (tramp-list-remote-buffers)
7379 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7380 * net/tramp-compat.el (tramp-compat-process-running-p)
7381 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7382 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7383 (tramp-gvfs-handle-rename-file)
7384 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7385 (tramp-set-file-uid-gid)
7386 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7387 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7390 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7391 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7392 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7393 (tramp-gw-open-network-stream): Suppress unrelated traces.
7395 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7396 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7398 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7399 connection property.
7401 * net/tramp-cache.el (top): Suppress traces when reading
7404 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7405 Refactor common code. Improve debug message.
7406 (tramp-maybe-open-connection)
7407 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7408 connection buffer too early.
7410 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7411 from `tramp-smb-actions-with-acl'.
7412 (tramp-smb-actions-set-acl): New defconst.
7413 (tramp-smb-handle-copy-directory)
7414 (tramp-smb-action-get-acl): New defun, renamed from
7415 `tramp-smb-action-with-acl'.
7416 (tramp-smb-action-set-acl): New defun.
7417 (tramp-smb-handle-set-file-acl): Rewrite.
7419 2013-10-17 Glenn Morris <rgm@gnu.org>
7421 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7423 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7425 * skeleton.el (skeleton-newline): Remove.
7426 (skeleton-internal-1): Use (insert "\n") instead.
7428 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7431 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7432 forward-sexp-function while we redo its job (bug#15613).
7434 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7436 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7437 represented by lists.
7439 2013-10-16 Glenn Morris <rgm@gnu.org>
7441 * tmm.el (tmm--history): New dynamic variable.
7442 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7444 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7446 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7447 (tramp-smb-errors): Add error messages.
7448 (tramp-smb-actions-with-acl): New defconst.
7449 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7450 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7451 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7452 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7453 (tramp-smb-get-stat-capability): Fix tests.
7455 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7457 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7460 2013-10-16 Glenn Morris <rgm@gnu.org>
7462 * ansi-color.el (ansi-color-drop-regexp):
7463 Add 1J, 1K, 2K. (Bug#15617)
7465 * files.el (hack-local-variables--warned-lexical): New.
7466 (hack-local-variables):
7467 Warn about misplaced lexical-binding. (Bug#15616)
7469 * net/eww.el (eww-render): Always set eww-current-url,
7470 and update header line. (Bug#15622)
7471 (eww-display-html): ... Rather than just doing it here.
7473 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7475 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7476 menu navigations commands.
7478 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7480 * progmodes/subword.el (subword-capitalize): Be careful when
7481 the search for [[:alpha:]] fails (bug#15580).
7483 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7485 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7486 to commands that scroll the menu.
7488 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7490 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7491 Handle methods ending with `?' and `!'.
7493 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7495 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7496 `japanese-cp932' to `cp932' to fix the problem where saving a
7497 source file written in Shift_JIS twice would end up having
7498 `coding: japanese-cp932' which Ruby could not recognize.
7499 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7500 in `ruby-encoding-map'.
7501 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7502 doesn't need to be explicitly declared in magic comment.
7503 (ruby-encoding-map): Add type declaration for better customize UI.
7505 2013-10-13 Glenn Morris <rgm@gnu.org>
7507 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7508 Occur buffers are read-only. http://bugs.debian.org/720775
7510 * emacs-lisp/authors.el (authors-fixed-entries):
7511 Comment out old alpha stuff.
7513 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7515 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7516 to `after-save-hook' instead of `before-save-hook'.
7517 (ruby-mode-set-encoding): Use the value of coding system used to
7518 write the file. Call `basic-save-buffer-1' after modifying the
7521 2013-10-13 Alan Mackenzie <acm@muc.de>
7523 Fix indentation/fontification of Java enum with
7524 "implements"/generic.
7526 * progmodes/cc-engine.el (c-backward-over-enum-header):
7527 Extracted from the three other places and enhanced to handle generics.
7528 (c-inside-bracelist-p): Uses new function above.
7529 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7531 (c-font-lock-enum-tail): Uses new function above.
7533 2013-10-13 Kenichi Handa <handa@gnu.org>
7535 * international/mule-cmds.el (select-safe-coding-system): Remove a
7536 superfluous condition in chekcing whether a coding system is safe
7539 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7541 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7543 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7545 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7547 2013-10-13 Glenn Morris <rgm@gnu.org>
7549 * menu-bar.el (menu-bar-update-buffers):
7550 Unify Buffers menu prompt string. (Bug#15576)
7552 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7554 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7556 (authors-fixed-entries): Use accented form of name.
7558 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7561 method calls (bug#15594).
7562 (ruby-smie--args-separator-p): New function.
7563 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7564 recognize paren-free method calls.
7566 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7567 internals of universal-argument.
7569 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7571 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7572 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7573 dropped menu on second mouse click on the menu bar.
7575 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7577 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7578 (explicit-shell-file-name): Declare.
7579 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7580 (sh-completion-at-point-function): New function.
7582 (sh-smie--keyword-p): Remove unused argument.
7583 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7585 (sh-set-shell): Always setup SMIE, even if we use the
7586 old indentation code.
7588 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7590 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7592 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7593 predicate would return nil are almost non-existent.
7594 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7596 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7597 cache also after commands that modify the buffer but don't move
7600 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * env.el (substitute-env-in-file-name): New function.
7603 (substitute-env-vars): Extend the meaning of the optional arg.
7605 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7607 * term/w32-win.el (dynamic-library-alist): Define separate lists
7608 of GIF DLLs for versions before and after 5.0.0 of giflib.
7611 2013-10-10 João Távora <joaotavora@gmail.com>
7613 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7614 not locked, use last revision and current source as
7615 defaults. (Bug#15569)
7617 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7619 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7622 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7624 * window.el (pop-to-buffer-same-window): Fix doc-string.
7627 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7629 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7631 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7633 * calendar/icalendar.el (icalendar-import-file):
7634 Fix interactive spec. (Bug#15482)
7636 2013-10-10 Glenn Morris <rgm@gnu.org>
7638 * desktop.el (desktop-save): Default to saving in .emacs.d,
7639 since PWD is no longer in desktop-path by default. (Bug#15319)
7641 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7642 now that text mode has a menu with the same entry.
7643 (menu-bar-text-mode-auto-fill): Remove now unused func.
7644 * textmodes/text-mode.el (text-mode-map):
7645 Use auto-fill help text from menu-bar.el.
7647 2013-10-10 John Anthony <john@jo.hnanthony.com>
7649 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7651 2013-10-09 Juri Linkov <juri@jurta.org>
7653 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7654 instead of this-command-keys. Add universal-argument-more and
7655 universal-argument-minus to the list of prefix commands. (Bug#15568)
7657 2013-10-09 Glenn Morris <rgm@gnu.org>
7659 * vc/vc-svn.el (vc-svn-create-repo):
7660 Expand paths in file://... url. (Bug#15446)
7662 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7664 (authors): Remove unused local variables.
7666 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * profiler.el: Create a more coherent calltree from partial backtraces.
7669 (profiler-format): Hide the tail with `invisible' so that C-s can still
7670 find the hidden elements.
7671 (profiler-calltree-depth): Don't recurse so enthusiastically.
7672 (profiler-function-equal): New hash-table-test.
7673 (profiler-calltree-build-unified): New function.
7674 (profiler-calltree-build): Use it.
7675 (profiler-report-make-name-part): Indent the calltree less.
7676 (profiler-report-mode): Add visibility specs for profiler-format.
7677 (profiler-report-expand-entry, profiler-report-toggle-entry):
7678 Expand the whole subtree when provided with a prefix arg.
7680 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7682 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7684 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7685 hanging iuwu-mod token.
7686 (ruby-smie--forward-token): Do not include a dot after a token in
7688 (ruby-smie--backward-token): Likewise.
7690 2013-10-08 Juri Linkov <juri@jurta.org>
7692 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7693 to isearch-other-control-char.
7694 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7695 and isearch-post-command-hook to post-command-hook.
7696 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7697 and isearch-post-command-hook from post-command-hook.
7698 (isearch-unread-key-sequence)
7699 (isearch-reread-key-sequence-naturally)
7700 (isearch-lookup-scroll-key, isearch-other-control-char)
7701 (isearch-other-meta-char): Remove functions.
7702 (isearch-pre-command-hook, isearch-post-command-hook):
7703 New functions based on isearch-other-meta-char rewritten
7704 relying on the new behavior of overriding-terminal-local-map
7705 that does not replace the local keymaps any more. (Bug#15200)
7707 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7709 Support menus on text-mode terminals.
7710 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7713 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7715 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7716 Move here from mouse.el.
7717 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7719 (tty-menu-navigation-map): New map for TTY menu navigation.
7721 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7723 * frame.el (display-mouse-p): Report text-mode mouse as available
7725 (display-popup-menus-p): Report availability if mouse is
7726 available; don't condition on window-system.
7728 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7729 (tty-menu-selected-face): New faces.
7731 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7734 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7735 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7736 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7738 (lisp-mode-variables): New `elisp' argument.
7739 (emacs-lisp-mode): Use it.
7740 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7741 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7743 * indent.el: Use lexical-binding.
7744 (indent-region): Add progress reporter.
7745 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7747 (indent--next-tab-stop): New function to implement this behavior.
7748 (tab-to-tab-stop, move-to-tab-stop): Use it.
7750 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7752 * indent.el (indent-rigidly--current-indentation): New function.
7753 (indent-rigidly-map): New var.
7754 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7756 2013-10-08 Bastien Guerry <bzg@gnu.org>
7758 * register.el (insert-register): Fix 2013-10-07 change.
7760 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * progmodes/perl-mode.el: Use lexical-binding.
7763 Remove redundant :group args.
7764 (perl-nochange): Change default to be closer to other major modes's
7766 (perl-indent-line): Don't consider text on current line as a
7767 valid beginning of function from which to indent.
7769 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7770 with more than one argument (bug#15538).
7772 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7774 * vc/pcvs.el: Use lexical-binding.
7775 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7776 environment of `eval'.
7777 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7778 than a list of expressions. Adjust callers.
7779 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7781 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7783 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7784 case of the dot in a chained method call being on the following line.
7786 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * electric.el (electric-indent-inhibit): New var.
7789 (electric-indent-post-self-insert-function): Use it.
7790 * progmodes/python.el (python-mode): Set it.
7792 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7795 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7797 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7798 (css-mode): Use electric-indent-chars.
7800 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7801 (font-lock-beg, font-lock-end): Move before first use.
7802 (nxml-mode): Use syntax-propertize-function.
7803 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7804 (nxml-extend-after-change-region): Remove.
7805 * nxml/xmltok.el: Use lexical-binding.
7806 (xmltok-save): Use `declare'.
7807 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7808 * nxml/nxml-util.el: Use lexical-binding.
7809 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7811 * nxml/nxml-ns.el: Use lexical-binding.
7812 (nxml-ns-save): Use `declare'.
7813 (nxml-ns-prefixes-for): Avoid add-to-list.
7814 * nxml/rng-match.el: Use lexical-binding.
7815 (rng--ipattern): Use cl-defstruct.
7816 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7817 (rng-cons-group-after, rng-subst-group-after)
7818 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7819 Use closures instead of `(lambda...).
7821 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7823 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7826 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7827 Use `tramp-handle-insert-file-contents'.
7828 (tramp-gvfs-handle-insert-file-contents): Remove function.
7830 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7831 Use `save-restriction' in order to keep markers.
7833 * net/trampver.el: Update release number.
7835 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * progmodes/compile.el (compilation-parse-errors):
7838 Use compilation--put-prop.
7839 (compilation--ensure-parse): Check compilation-multiline.
7841 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7843 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7846 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7848 * progmodes/ruby-mode.el: Fix recently added tests.
7849 (ruby-smie-grammar): Add - and +.
7850 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7851 (ruby-smie--backward-id): New functions.
7852 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7853 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7856 2013-10-07 Leo Liu <sdl.web@gmail.com>
7858 * register.el (register-preview-delay)
7859 (register-preview-functions): New variables.
7860 (register-read-with-preview, register-preview)
7861 (register-describe-oneline): New functions.
7862 (point-to-register, window-configuration-to-register)
7863 (frame-configuration-to-register, jump-to-register)
7864 (number-to-register, view-register, insert-register)
7865 (copy-to-register, append-to-register, prepend-to-register)
7866 (copy-rectangle-to-register): Use register-read-with-preview to
7867 read register. (Bug#15525)
7869 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7871 * net/network-stream.el (network-stream-open-starttls): Don't add
7872 --insecure if it's already present, because that gnutls-cli
7873 rejects getting that parameter twice.
7875 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7877 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7880 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7882 * newcomment.el (comment-use-global-state): Change default value
7883 to t, mark obsolete (Bug#15251).
7884 (comment-beginning): In addition to `comment-to-syntax', check the
7885 value of `comment-use-global-state'.
7887 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7889 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7890 (ruby-comment-column): Follow the global default, by default.
7891 (ruby-smie-grammar): Add assignment syntax.
7892 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7893 open-paren, a comma, or a \.
7894 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7895 and line continuations.
7896 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7897 followed by implicit semi-colons. Add rule for string concatenation
7898 and for indentation at BOB.
7899 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7901 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7902 calling next-sexp, since next-token may have skipped chars which
7903 next-sexp doesn't know should be skipped!
7905 2013-10-05 Leo Liu <sdl.web@gmail.com>
7907 * progmodes/octave.el (octave-send-region):
7908 Call compilation-forget-errors.
7910 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7912 * vc/vc-svn.el (vc-svn-find-admin-dir):
7913 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7914 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7915 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7916 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7918 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7920 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7922 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * subr.el (read-passwd): Hide chars even when called within a context
7925 where after-change-functions is disabled (bug#15501).
7926 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7927 until we removed ourself from overriding-terminal-local-map.
7929 2013-10-04 Leo Liu <sdl.web@gmail.com>
7931 * progmodes/octave.el (inferior-octave-mode):
7932 Call compilation-forget-errors.
7934 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7936 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7938 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7940 * net/secrets.el (secrets-create-collection): Add optional
7941 argument ALIAS. Use proper Label keyword. Append ALIAS as
7942 dbus-call-method argument. (Bug#15516)
7944 2013-10-04 Leo Liu <sdl.web@gmail.com>
7946 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7947 (inferior-octave-compilation-font-lock-keywords): New variables.
7948 (compilation-error-regexp-alist)
7949 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7950 (inferior-octave-mode): Use compilation-shell-minor-mode.
7952 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7954 * minibuffer.el (completion--replace): Be careful that `end' might be
7957 2013-10-03 Daiki Ueno <ueno@gnu.org>
7959 Add support for package signature checking.
7960 * emacs-lisp/package.el (url-http-file-exists-p)
7961 (epg-make-context, epg-context-set-home-directory)
7962 (epg-verify-string, epg-context-result-for)
7963 (epg-signature-status, epg-signature-to-string)
7964 (epg-check-configuration, epg-configuration)
7965 (epg-import-keys-from-file): Declare.
7966 (package-check-signature): New user option.
7967 (package-unsigned-archives): New user option.
7968 (package-desc): Add `signed' field.
7969 (package-load-descriptor): Set `signed' field if .signed file exists.
7970 (package--archive-file-exists-p): New function.
7971 (package--check-signature): New function.
7972 (package-install-from-archive): Check package signature.
7973 (package--download-one-archive): Check archive signature.
7974 (package-delete): Remove .signed file.
7975 (package-import-keyring): New command.
7976 (package-refresh-contents): Import default keyring.
7977 (package-desc-status): Add "unsigned" status.
7978 (describe-package-1, package-menu--print-info)
7979 (package-menu-mark-delete, package-menu--find-upgrades)
7980 (package-menu--status-predicate): Support "unsigned" status.
7982 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7985 the new compilation scheme using the new byte-codes.
7987 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7988 (byte-pophandler): New byte codes.
7989 (byte-goto-ops): Adjust accordingly.
7990 (byte-compile--use-old-handlers): New var.
7991 (byte-compile-catch): Use new byte codes depending on
7992 byte-compile--use-old-handlers.
7993 (byte-compile-condition-case--old): Rename from
7994 byte-compile-condition-case.
7995 (byte-compile-condition-case--new): New function.
7996 (byte-compile-condition-case): New function that dispatches depending
7997 on byte-compile--use-old-handlers.
7998 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8001 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8002 Optimize under `condition-case' and `catch' if
8003 byte-compile--use-old-handlers is nil.
8004 (disassemble-offset): Handle new bytecodes.
8006 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8008 * subr.el (error): Use `declare'.
8009 (decode-char, encode-char): Use advertised-calling-convention instead
8010 of the docstring to discourage use of the `restriction' arg.
8012 2013-10-03 Daiki Ueno <ueno@gnu.org>
8014 * epg.el (epg-verify-file): Add a comment saying that it does not
8015 notify verification error as a return value nor a signal.
8016 (epg-verify-string): Ditto.
8018 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8020 * progmodes/compile.el (compilation-start): Try globbing the arg to
8023 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8025 Sync with Tramp 2.2.8.
8027 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8028 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8029 * net/trampver.el: Update release number.
8031 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8033 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8034 and default-process-coding-system for darwin only.
8036 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8038 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8040 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8042 * vc/vc-git.el (vc-git-grep): Disable pager.
8044 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8046 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8047 Use :url instead of :homepage, as per
8048 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8050 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8051 non-nil, use `syntax-ppss' (Bug#15251).
8053 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8055 * progmodes/octave.el (inferior-octave-startup-file):
8056 Prefer ~/.emacs.d/init_octave.m.
8058 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8060 * emacs-lisp/package.el (package-desc-from-define):
8061 Accept additional arguments as plist, convert them to an alist and store
8062 them in the `extras' slot.
8063 (package-generate-description-file): Convert extras alist back to
8064 plist and append to the `define-package' form arguments.
8065 (package--alist-to-plist): New function.
8066 (package--ac-desc): Add `extras' slot.
8067 (package--add-to-archive-contents): Check if the archive-contents
8068 vector is long enough, and if it is, pass its `extras' slot value
8069 to `package-desc-create'.
8070 (package-buffer-info): Call `lm-homepage', pass the returned value
8071 to `package-desc-from-define'.
8072 (describe-package-1): Render the homepage button (Bug#13291).
8074 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8075 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8077 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8079 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8080 and default-process-coding-system to utf-8-unix (Bug#15402).
8082 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8084 * subr.el (looking-back): Do not recommend using looking-back.
8086 2013-09-28 Alan Mackenzie <acm@muc.de>
8088 Fix indentation/fontification of Java enum with "implements".
8090 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8091 regexp which matches "implements", etc., in Java.
8092 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8093 specifier clauses coming after "enum".
8094 * progmodes/cc-fonts.el (c-font-lock-declarations)
8095 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8098 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8100 * faces.el (region): Change ns_selection_color to
8101 ns_selection_fg_color, add ns_selection_bg_color.
8103 2013-09-28 Leo Liu <sdl.web@gmail.com>
8105 * progmodes/octave.el (inferior-octave-completion-table)
8106 (inferior-octave-completion-at-point): Minor tweaks.
8108 * textmodes/ispell.el (ispell-lookup-words): Rename from
8109 lookup-words. (Bug#15460)
8110 (lookup-words): Obsolete.
8111 (ispell-complete-word, ispell-command-loop): All uses changed.
8113 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8115 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8116 (octave-mode-menu): Add octave-send-buffer.
8117 (octave-send-buffer): New function.
8119 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8121 * progmodes/octave.el (octave-mode-map): Add key binding for
8123 (octave-mode-menu): Add octave-lookfor.
8124 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8126 (octave-lookfor): New function.
8128 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8130 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8131 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8133 (cl--loop-set-iterator-function): New function.
8134 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8135 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8136 Bind `it' with `let' instead of substituting it with `cl-subst'.
8137 (cl--unused-var-p): New function.
8138 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8139 Eliminate some unused variable warnings (bug#15326).
8141 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8143 * doc-view.el (doc-view-scale-reset): Rename from
8144 `doc-view-reset-zoom-level'.
8145 (doc-view-scale-adjust): New command.
8146 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8147 `doc-view-scale-adjust'.
8149 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8151 * doc-view.el (doc-view-reset-zoom-level): New command.
8152 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8153 zoom commands (bug#15466).
8155 2013-09-26 Kenichi Handa <handa@gnu.org>
8157 * international/quail.el (quail-help): Make it not a command.
8159 2013-09-26 Leo Liu <sdl.web@gmail.com>
8161 * minibuffer.el (completion-all-sorted-completions): Make args
8162 optional as they are.
8164 2013-09-25 Daniel Colascione <dancol@dancol.org>
8166 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8167 specs are and that they're not evaluated.
8169 2013-09-24 Sam Steingold <sds@gnu.org>
8171 * midnight.el (clean-buffer-list-kill-regexps)
8172 (clean-buffer-list-kill-buffer-names): Update for the new Man
8173 buffer naming which includes the object name.
8175 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8177 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8178 (eshell-parse-command, eshell-parse-pipeline): Use it since
8179 eshell-separate-commands requires a dynamic scoped var.
8180 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8182 2013-09-23 Leo Liu <sdl.web@gmail.com>
8184 * autoinsert.el (auto-insert-alist): Make the value of
8185 lexical-binding match its file setting.
8187 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8189 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8191 * autoarg.el (autoarg-kp-digit-argument):
8192 * electric.el (Electric-command-loop):
8193 * kmacro.el (kmacro-step-edit-insert):
8194 Do not set universal-argument-num-events.
8196 2013-09-22 Leo Liu <sdl.web@gmail.com>
8198 * files.el (interpreter-mode-alist): Add octave.
8200 2013-09-21 Alan Mackenzie <acm@muc.de>
8202 C++: fontify identifier in declaration following "public:" correctly.
8203 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8204 to match "public", etc.
8205 (c-decl-prefix-re): Add ":" into the C++ value.
8206 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8207 bit. Add a check for a ":" preceded by "public", etc.
8209 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8211 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8212 recognized by GDB 7.5 and later.
8214 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8216 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8218 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * subr.el (internal--call-interactively): New const.
8221 (called-interactively-p): Use it (bug#3984).
8223 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8225 * vc/pcvs.el (cvs-mode-ignore):
8226 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8227 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8229 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8232 (eshell-ls-orig-insert-directory): Remove.
8233 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8234 (eshell-ls-use-in-dired): Use advice-add/remove.
8235 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8236 Add `orig-fun' arg for use in :around advice.
8237 Make it check (redundantly) eshell-ls-use-in-dired.
8239 2013-09-19 Glenn Morris <rgm@gnu.org>
8241 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8243 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8245 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8247 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8249 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8250 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8251 (tramp-get-remote-python): New defuns.
8252 (tramp-get-remote-uid-with-perl)
8253 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8254 contributed by yary <not.com@gmail.com> (tiny change).
8255 (tramp-get-remote-uid-with-python)
8256 (tramp-get-remote-gid-with-python): New defuns. Python code
8257 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8258 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8260 2013-09-19 Glenn Morris <rgm@gnu.org>
8262 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8264 * eshell/em-unix.el (eshell-remove-entries):
8265 Rename argument to avoid name-clash with global `top-level'.
8267 * eshell/esh-proc.el (eshell-kill-process-function):
8268 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8269 (eshell-reset-after-proc): Remove unused arg `proc'.
8271 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8272 (directory-files-and-attributes): Mark unused arg.
8274 * eshell/em-unix.el (eshell-remove-entries):
8275 Remove unused arg `path'. Update callers.
8277 * eshell/em-hist.el (eshell-hist-parse-arguments):
8278 Remove unused arg `silent'. Update callers.
8280 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8281 Fix (f)boundp mix-up.
8283 * eshell/em-smart.el (eshell-smart-scroll-window)
8284 (eshell-disable-after-change):
8285 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8287 2013-09-18 Alan Mackenzie <acm@muc.de>
8289 Fix fontification of type when followed by "const".
8290 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8291 "known" types from fontification.
8293 2013-09-18 Glenn Morris <rgm@gnu.org>
8295 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8296 (chart-face-list): Drop Emacsen without display-color-p.
8298 * net/eww.el (libxml-parse-html-region): Declare.
8299 (eww-display-html): Explicit error if no libxml2 support.
8301 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8303 * image.el (image-type-from-buffer, image-multi-frame-p):
8304 Remove --without-x warning/error.
8306 * mouse.el (mouse-yank-primary):
8307 * term.el (term-mouse-paste):
8308 Reorder to silence --without-x compilation.
8310 * mpc.el (doc-view-mode): Silence --without-x compilation.
8312 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8313 Silence --without-x compilation.
8315 * progmodes/gud.el (gud-find-file, gud-mode):
8316 Silence --without-x compilation.
8317 (tooltip-mode): Declare.
8319 * wdired.el (dired-backup-overwrite): Remove declaration.
8320 (wdired-mode-map): Add doc string.
8322 * custom.el (x-get-resource): Declare.
8324 * eshell/em-glob.el (ange-cache):
8325 * eshell/em-unix.el (ange-cache): Declare.
8327 * faces.el (x-display-list, x-open-connection, x-get-resource):
8330 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8331 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8334 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8336 * net/gnutls.el (gnutls-log-level): Declare.
8338 * net/shr.el (image-size, image-animate): Declare.
8340 * simple.el (font-info): Declare.
8342 * subr.el (x-popup-dialog): Declare.
8344 * term/common-win.el (x-select-enable-primary)
8345 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8348 * term/ns-win.el (x-handle-args): Declare.
8350 * term/x-win.el (x-select-enable-clipboard): Declare.
8352 * term/w32-win.el (create-default-fontset): Declare.
8354 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8357 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8358 (fit-frame-to-buffer): Explicit error if --without-x.
8359 (mouse-autoselect-window-select): Silence compiler.
8361 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8363 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8364 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8365 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8366 * eshell/esh-util.el (eshell-sublist):
8367 Remove unused local variables.
8369 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8371 * textmodes/two-column.el: Make 2C-split work for --without-x.
8372 (scroll-bar-columns): Autoload.
8373 (top-level): Require fringe when compiling.
8375 2013-09-18 Leo Liu <sdl.web@gmail.com>
8377 * subr.el (add-hook): Robustify to handle closure as well.
8379 2013-09-17 Glenn Morris <rgm@gnu.org>
8381 * simple.el (messages-buffer-mode-map): Unbind "g".
8383 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8385 * help-mode.el (help-mode-finish): Use derived-mode-p.
8386 Remove obsolete highlighting.
8388 * play/life.el (life-mode): Use define-derived-mode. Derive from
8390 (life): Let-bind inhibit-read-only.
8391 (life-setup): Avoid `setq'. Use `life-mode'.
8393 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8394 which should not be needed any more.
8395 (package-menu-refresh, package-menu-describe-package): Use user-error.
8397 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8398 (eshell-post-rewrite-command-hook): Make obsolete.
8399 (eshell-parse-command): Simplify.
8400 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8401 (eshell--cmd): Declare.
8402 (eshell-parse-pipeline): Remove unused var `final-p'.
8403 Pass a dynvar to eshell-post-rewrite-command-hook.
8404 Implement the new eshell-post-rewrite-command-function.
8405 (eshell-invoke-directly): Remove unused arg `input'.
8406 * eshell/esh-io.el (eshell-io-initialize):
8407 Use eshell-post-rewrite-command-function (bug#15399).
8408 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8409 adjust to new calling convention.
8410 (eshell-create-handles): Rename args to avoid clashing with dynvar
8413 2013-09-17 Glenn Morris <rgm@gnu.org>
8415 * simple.el (messages-buffer-mode): New major mode.
8416 (messages-buffer): New function.
8417 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8418 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8419 (ert-run-test): Use `messages-buffer' function.
8420 (ert--force-message-log-buffer-truncation): Ignore read-only.
8421 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8422 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8424 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8428 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8430 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8432 * icomplete.el (icomplete-in-buffer): New var.
8433 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8434 vars and replace them with functions.
8435 (icomplete-minibuffer-setup): Adjust accordingly.
8436 (icomplete--completion-table, icomplete--completion-predicate)
8437 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8439 (icomplete-forward-completions, icomplete-backward-completions)
8440 (icomplete-simple-completing-p, icomplete-exhibit)
8441 (icomplete-completions): Use them.
8442 (icomplete--in-region-buffer): New var.
8443 (icomplete--in-region-setup): New function.
8444 (icomplete-mode): Use it.
8446 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8448 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8449 return args and options.
8450 (eshell-eval-using-options): Use the new return value of
8451 eshell--do-opts to set the options's vars in their scope.
8452 (eshell--set-option): Rename from eshell-set-option.
8454 (eshell--process-option): Rename from eshell-process-option.
8456 (eshell--process-args): Use an `opt-vals' alist to store the options's
8457 values during their processing and return them additionally to the
8460 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8462 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8463 continuation character an operator, as far as indentation is
8464 concerned (Bug#15369).
8466 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8468 * window.el (window--state-put-2): Don't process buffer state
8469 when buffer doesn't exist any more (Bug#15382).
8471 2013-09-15 Glenn Morris <rgm@gnu.org>
8473 * eshell/em-unix.el (eshell/rm):
8474 Make -f ignore missing files. (Bug#15373)
8476 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8477 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8478 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8480 2013-09-14 Glenn Morris <rgm@gnu.org>
8482 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8484 2013-09-13 Glenn Morris <rgm@gnu.org>
8486 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8487 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8489 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8491 * frame.el (x-focus-frame): Mark as declared in frame.c.
8493 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8495 * ls-lisp.el: Use advice-add.
8496 (original-insert-directory): Remove.
8497 (ls-lisp--insert-directory): Rename from insert-directory; add
8498 `orig-fun' argument.
8499 (insert-directory): Advise.
8501 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8503 * term.el (term-emulate-terminal): Decode the command string
8504 before passing it to term-command-hook. (Bug#15337)
8506 2013-09-13 Glenn Morris <rgm@gnu.org>
8508 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8510 * eshell/esh-ext.el (eshell-search-path): Declare.
8512 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8513 Otherwise an error occurs if eshell-dirs module not loaded.
8515 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8517 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8519 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8520 `tramp-check-proper-host'. Check for a valid method name.
8522 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8523 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8524 * net/tramp-sh.el (tramp-maybe-open-connection):
8525 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8527 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8528 also for hash values.
8530 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * term/ns-win.el (parameters): Don't declare as dynamic.
8533 (before-make-frame-hook): Don't add ineffective function.
8535 * eshell/*.el: Use lexical-binding (bug#15231).
8537 2013-09-12 Kenichi Handa <handa@gnu.org>
8539 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8541 2013-09-12 Glenn Morris <rgm@gnu.org>
8543 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8544 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8546 * subr.el (do-after-load-evaluation): Also give compiler warnings
8547 when obsolete files are used (except by obsolete files).
8549 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8550 in the status output, assume `filename' is the first. (Bug#15322)
8552 * vc/vc.el (vc-deduce-fileset): Doc fix.
8554 * calc/calc-help.el (Info-goto-node):
8555 * progmodes/cperl-mode.el (Info-find-node):
8556 * vc/ediff.el (Info-goto-node): Update declarations.
8558 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8560 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8561 (vc-bzr-pull): Require vc-dispatcher.
8562 * vc/vc-git.el (vc-compilation-mode): Declare.
8563 (vc-git-pull): Require vc-dispatcher.
8565 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8567 * progmodes/octave.el (help-button-action): Declare.
8569 * shell.el (shell-directory-tracker): Output error as a message
8570 rather than just returning it as a string.
8571 (shell-process-pushd): Remove useless use of message.
8573 * dframe.el (dframe-timer-fn):
8574 * files.el (dir-locals-read-from-file):
8575 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8577 * reveal.el (reveal-post-command):
8578 * saveplace.el (load-save-place-alist-from-file):
8579 * shell.el (shell-resync-dirs):
8580 * w32-common-fns.el (x-get-selection-value):
8581 * emacs-lisp/copyright.el (copyright-find-copyright):
8582 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8583 * emulation/tpu-edt.el (tpu-copy-keyfile):
8584 * play/bubbles.el (bubbles--mark-neighbourhood):
8585 * progmodes/executable.el
8586 (executable-make-buffer-file-executable-if-script-p):
8587 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8589 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8591 Cleanup Eshell to rely less on dynamic scoping.
8592 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8593 last-value, and ext-command here. Bind `args' closer to `body'.
8594 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8595 (eshell--args): Declare new dynamic var.
8596 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8597 last-value, and ext-command. Pass `args' to `body'.
8598 (eshell-process-args): Bind eshell--args.
8599 (eshell-set-option): Use eshell--args.
8600 * eshell/eshell.el (eshell): Use derived-mode-p.
8601 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8602 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8603 (eshell-glob-function): Declare.
8604 * eshell/esh-util.el: Require cl-lib.
8605 (eshell-read-hosts-file): Avoid add-to-list.
8606 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8608 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8610 (eshell/diff): Remove unused var `err'.
8611 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8613 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8614 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8616 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8617 Move declaration before first use.
8618 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8619 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8622 2013-09-12 Glenn Morris <rgm@gnu.org>
8624 * term/ns-win.el (global-map): Remove binding for ispell-next,
8625 deleted 1999-05-29. (Bug#15357)
8627 2013-09-11 Glenn Morris <rgm@gnu.org>
8629 * echistory.el (electric-command-history): Remove call to deleted func.
8631 * play/landmark.el (landmark-mode): Fix typos.
8633 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8634 Check cvs-sort-ignore-file is bound.
8636 * savehist.el: No need for cl when compiling on Emacs.
8638 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8642 (eshell-self-insert-command, eshell-send-invisible):
8643 Remove unused argument.
8644 (eshell-handle-control-codes): Remove unused var `orig'.
8645 Avoid delete-backward-char.
8647 * files.el (set-auto-mode): Simplify a bit further.
8649 2013-09-11 Glenn Morris <rgm@gnu.org>
8651 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8652 (set-auto-mode): Don't regexp-quote elements.
8653 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8654 * progmodes/cc-mode.el (interpreter-mode-alist):
8655 * progmodes/ruby-mode.el (interpreter-mode-alist):
8656 Revert previous change.
8658 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * play/snake.el (snake-mode):
8661 * play/mpuz.el (mpuz-mode):
8662 * play/landmark.el (lm-mode):
8663 * play/blackbox.el (blackbox-mode):
8664 * play/5x5.el (5x5-mode):
8665 * obsolete/options.el (Edit-options-mode):
8666 * net/quickurl.el (quickurl-list-mode):
8667 * net/newst-treeview.el (newsticker-treeview-mode):
8668 * mail/rmailsum.el (rmail-summary-mode):
8669 * mail/mspools.el (mspools-mode):
8670 * locate.el (locate-mode):
8671 * ibuffer.el (ibuffer-mode):
8672 * emulation/ws-mode.el (wordstar-mode):
8673 * emacs-lisp/debug.el (debugger-mode):
8674 * array.el (array-mode):
8675 * net/eudc.el (eudc-mode): Use define-derived-mode.
8676 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8677 Move initialization into declaration.
8678 (mairix-searches-mode): Use define-derived-mode.
8679 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8680 (eudc-edit-hotlist): Use dolist.
8681 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8682 (Man-mode): Use define-derived-mode.
8683 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8684 (Info-edit-mode): Use define-derived-mode.
8685 (Info-cease-edit): Use Info-mode.
8686 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8688 (eshell-mode): Use define-derived-mode.
8689 * chistory.el (command-history-mode-map): Rename from
8690 command-history-map.
8691 (command-history-mode): Use define-derived-mode.
8692 (Command-history-setup): Remove function.
8693 * calc/calc.el (calc-trail-mode-map): New var.
8694 (calc-trail-mode): Use define-derived-mode.
8695 (calc-trail-buffer): Set calc-main-buffer manually.
8696 * bookmark.el (bookmark-insert-annotation): New function.
8697 (bookmark-edit-annotation): Use it.
8698 (bookmark-edit-annotation-mode): Make it a proper major mode.
8699 (bookmark-send-edited-annotation): Use derived-mode-p.
8700 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8701 closer to its ideal place. Use \' to match EOS.
8703 * profiler.el (profiler-calltree-find): Use function-equal.
8705 2013-09-10 Glenn Morris <rgm@gnu.org>
8707 * files.el (interpreter-mode-alist): Convert to regexps.
8708 (set-auto-mode): Adapt for this. (Bug#15306)
8709 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8710 Comment out unused variable.
8711 * progmodes/cc-mode.el (interpreter-mode-alist):
8712 * progmodes/python.el (interpreter-mode-alist):
8713 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8714 * progmodes/sh-script.el (sh-set-shell):
8715 No longer use interpreter-mode-alist to get list of shells.
8717 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8719 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8721 * simple.el: Use set-temporary-overlay-map for universal-argument.
8722 (universal-argument-map): Don't use default-bindings (bug#15317).
8723 Bind switch-frame explicitly. Replace universal-argument-minus with
8724 a conditional binding.
8725 (universal-argument-num-events, saved-overriding-map): Remove.
8726 (restore-overriding-map): Remove.
8727 (universal-argument--mode): Rename from save&set-overriding-map,
8729 (universal-argument, universal-argument-more, negative-argument)
8730 (digit-argument): Adjust accordingly.
8731 (universal-argument-minus): Remove.
8732 (universal-argument-other-key): Remove.
8734 * subr.el (with-demoted-errors): Add `format' argument.
8736 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8738 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8739 `tramp-cleanup-connection'.
8741 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8742 parameters KEEP-DEBUG and KEEP-PASSWORD.
8744 * net/tramp.el (tramp-file-name-handler):
8745 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8746 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8747 (tramp-maybe-open-connection):
8748 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8749 Use `tramp-cleanup-connection'.
8751 * net/tramp-sh.el (tramp-maybe-open-connection):
8752 Catch 'uname-changed inside the progress reporter.
8754 2013-09-10 Glenn Morris <rgm@gnu.org>
8756 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8758 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8759 returns "alternate access method" in mode (eg "-rw-r--r--.").
8761 2013-09-08 Glenn Morris <rgm@gnu.org>
8763 * saveplace.el (load-save-place-alist-from-file):
8764 Demote errors. (Bug#15305)
8766 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8768 Improve compatibility with older Emacsen, and XEmacs.
8770 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8771 only if it is bound. It isn't for XEmacs.
8772 (with-tramp-progress-reporter): Do not let-bind `result'.
8773 This yields to scoping errors in XEmacs.
8774 (tramp-handle-make-auto-save-file-name): New function, moved from
8777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8778 for `make-auto-save-file-name'.
8779 (tramp-adb--gnu-switches-to-ash):
8780 Use `tramp-compat-replace-regexp-in-string'.
8782 * net/tramp-cache.el (tramp-cache-print): Call
8783 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8785 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8786 bound. It isn't for XEmacs.
8788 * net/tramp-compat.el (tramp-compat-copy-file):
8789 Catch `wrong-number-of-arguments' error.
8790 (tramp-compat-replace-regexp-in-string): New defun.
8792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8793 for `make-auto-save-file-name'.
8794 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8796 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8797 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8798 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8800 * net/tramp-gw.el (tramp-gw-open-network-stream):
8801 Use `tramp-compat-replace-regexp-in-string'.
8803 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8804 Call `tramp-handle-make-auto-save-file-name'.
8805 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8806 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8807 (tramp-sh-file-inotifywait-process-filter):
8808 Use `tramp-compat-replace-regexp-in-string'.
8809 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8812 for `make-auto-save-file-name'.
8813 (tramp-smb-handle-copy-directory):
8814 Call `tramp-compat-replace-regexp-in-string'.
8815 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8816 (tramp-smb-handle-copy-file): Improve error message.
8817 (tramp-smb-handle-rename-file): Rename directly only in case
8818 `newname' does not exist yet. This is a restriction of smbclient.
8819 (tramp-smb-maybe-open-connection): Rerun the function only when
8820 `auth-sources' is non-nil.
8822 2013-09-08 Kenichi Handa <handa@gnu.org>
8824 * international/characters.el: Set category "^" (Combining) for
8827 2013-09-07 Alan Mackenzie <acm@muc.de>
8829 Correctly fontify Java class constructors.
8830 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8832 (c-recognize-typeless-decls): Set the Java value to t.
8833 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8834 While handling a "(", add a check for, effectively, Java, and handle a
8835 "typeless" declaration there.
8837 2013-09-07 Roland Winkler <winkler@gnu.org>
8839 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8840 field subtitle for entry type book.
8842 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * minibuffer.el: Make minibuffer-complete call completion-in-region
8845 rather than other way around.
8846 (completion--some, completion-pcm--find-all-completions):
8847 Don't delay signals when debugging.
8848 (minibuffer-completion-contents): Beware fields within the
8849 minibuffer contents.
8850 (completion-all-sorted-completions): Use defvar-local.
8851 (completion--do-completion, completion--cache-all-sorted-completions)
8852 (completion-all-sorted-completions, minibuffer-force-complete):
8853 Add args `beg' and `end'.
8854 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8855 (minibuffer-complete): Use completion-in-region.
8856 (completion-complete-and-exit): New fun, extracted from
8857 minibuffer-complete-and-exit.
8858 (minibuffer-complete-and-exit): Use it.
8859 (completion--complete-and-exit): Rename from
8860 minibuffer--complete-and-exit.
8861 (completion-in-region--single-word): New function, extracted from
8862 minibuffer-complete-word.
8863 (minibuffer-complete-word): Use it.
8864 (display-completion-list): Make `common-substring' argument obsolete.
8865 (completion--in-region): Call completion--in-region-1 instead of
8866 minibuffer-complete.
8867 (completion-help-at-point): Pass boundaries to
8868 minibuffer-completion-help as args rather than via an overlay.
8869 (completion-pcm--string->pattern): Use `any-delim'.
8870 (completion-pcm--optimize-pattern): New function.
8871 (completion-pcm--pattern->regex): Handle `any-delim'.
8872 * icomplete.el (icomplete-forward-completions)
8873 (icomplete-backward-completions, icomplete-completions):
8874 Adjust calls to completion-all-sorted-completions and
8875 completion--cache-all-sorted-completions.
8876 (icomplete-with-completion-tables): Default to t.
8877 * emacs-lisp/crm.el (crm--current-element): Rename from
8878 crm--select-current-element. Don't put an overlay but return the
8880 (crm--completion-command): Take two new args to bind to the boundaries.
8881 (crm-completion-help): Adjust accordingly.
8882 (crm-complete): Use completion-in-region.
8883 (crm-complete-word): Use completion-in-region--single-word.
8884 (crm-complete-and-exit): Use completion-complete-and-exit.
8886 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8891 2013-09-06 Juri Linkov <juri@jurta.org>
8893 * info.el (Info-display-images-node): When image file doesn't exist
8894 display text version of the image if it's provided in the Info file.
8895 Otherwise, display the location of missing image from SRC attribute.
8896 Add help-echo text property from ALT attribute. (Bug#15279)
8898 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8900 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8901 (edit-abbrevs-mode): Use define-derived-mode.
8903 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8904 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8906 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8907 Use define-derived-mode.
8909 * epg.el (epg-start-encrypt): Minor CSE simplification.
8911 2013-09-06 William Xu <william.xwl@gmail.com>
8913 * arc-mode.el: Add support for 7za (bug#15264).
8914 (archive-7z-program): New var.
8915 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8916 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8917 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8919 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8923 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8924 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8925 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8926 (tramp-postfix-host-format, tramp-file-name-regexp)
8927 (tramp-completion-file-name-regexp)
8928 (tramp-completion-dissect-file-name)
8929 (tramp-handle-substitute-in-file-name): Remove 'url case.
8930 (tramp-file-name-regexp-url)
8931 (tramp-completion-file-name-regexp-url): Remove constants.
8933 2013-09-06 Glenn Morris <rgm@gnu.org>
8935 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8937 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8939 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8940 keywords" below "here-doc beginnings" (Bug#15270).
8942 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * subr.el (pop): Use `car-safe'.
8945 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8946 to detect unused `pop' return value.
8948 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8950 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8951 (python-fill-string): Remove unused var `marker'.
8952 (python-skeleton-add-menu-items): Remove unused var `items'.
8954 * international/mule-cmds.el: Require CL.
8955 (find-coding-systems-for-charsets): Avoid add-to-list.
8956 (sanitize-coding-system-list): New function, extracted from
8957 select-safe-coding-system-interactively.
8958 (select-safe-coding-system-interactively): Use it.
8959 (read-input-method-name): Accept symbols for `default'.
8961 * emacs-lisp/advice.el (defadvice): Add indent rule.
8963 2013-09-05 Daniel Hackney <dan@haxney.org>
8967 * net/browse-url.el:
8970 * net/eudcb-ldap.el:
8983 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8984 byte compiler. Remove some unused let-bound variables.
8986 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8989 a "ref-cell", since it gets better optimized (bug#14883).
8991 2013-09-05 Glenn Morris <rgm@gnu.org>
8993 * progmodes/cc-awk.el (c-forward-sws): Declare.
8995 2013-09-04 Glenn Morris <rgm@gnu.org>
8997 * generic-x.el [rul-generic-mode]: Require cc-mode.
8998 (c++-mode-syntax-table): Declare.
8999 (rul-generic-mode-syntax-table): Init in the defvar.
9001 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9003 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9004 (vc-do-command, vc-set-async-update):
9005 * vc/vc-mtn.el (vc-mtn-dir-status):
9006 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9007 (vc-hg-pull, vc-hg-merge-branch):
9008 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9009 (vc-git-merge-branch):
9010 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9011 (vc-cvs-dir-status-files):
9012 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9013 (vc-bzr-dir-status-files):
9014 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9015 * vc/vc-annotate.el: Use lexical-binding.
9016 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9017 (vc-sentinel-movepoint): Declare.
9018 (vc-annotate): Don't use `goto-line'.
9019 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9020 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9021 (vc-sentinel-movepoint): Declare.
9022 * vc/vc-svn.el: Use lexical-binding.
9023 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9025 * vc/vc-rcs.el: Use lexical-binding.
9027 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9028 `deleted'. Don't drop errors silently.
9030 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9032 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9034 * vc/vc.el (vc-ignore): Rewrite.
9035 (vc-default-ignore): New function.
9036 (vc-default-ignore-completion-table): Use find-ignore-file.
9038 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9039 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9040 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9041 Remove. Most code moved to vc.el.
9043 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9045 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9046 * net/tramp-smb.el (tramp-smb-get-file-entries):
9047 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9048 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9050 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9052 (eww-change-select): Remove unused var `properties'.
9053 (eww-make-unique-file-name): Remove unused var `base'.
9055 * finder.el (finder-compile-keywords): Don't mess with windows.
9057 * calculator.el (calculator-funcall): Fix typo in last change.
9059 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9061 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9062 <pkg>-autoloads.el file stop us.
9064 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9065 warnings, and factor out common code.
9067 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9069 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9070 two-character operators and whether the character preceding them
9071 changes their meaning (Bug#15208).
9073 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9075 Format code sent to Python shell for robustness.
9076 * progmodes/python.el (python-shell-buffer-substring):
9078 (python-shell-send-region, python-shell-send-buffer): Use it.
9080 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9082 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9083 * net/tramp.el (tramp-user-error): ... here.
9084 (tramp-find-method, tramp-check-proper-host)
9085 (tramp-dissect-file-name, tramp-debug-message)
9086 (tramp-handle-shell-command):
9087 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9088 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9090 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9092 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9094 * avoid.el (mouse-avoidance-point-position)
9095 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9098 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9100 * progmodes/python.el (python-shell-completion-get-completions):
9101 Drop use of deleted `comint-last-prompt-overlay'.
9102 (python-nav-if-name-main): New command.
9104 2013-09-01 Glenn Morris <rgm@gnu.org>
9106 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9107 Avoid leading space in $wins. Otherwise the sed command used by
9108 eg compile-main ends up containing "/*.el". (Bug#15170)
9110 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9112 2013-08-30 Glenn Morris <rgm@gnu.org>
9114 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9115 Fix is-this-a-directory logic. (Bug#15220)
9117 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9119 * textmodes/css-mode.el: Use SMIE.
9120 (css-smie-grammar): New var.
9121 (css-smie--forward-token, css-smie--backward-token)
9122 (css-smie-rules): New functions.
9123 (css-mode): Use them.
9124 (css-navigation-syntax-table): Remove var.
9125 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9126 (css-indent-calculate, css-indent-line): Remove functions.
9128 Misc changes to reduce use of `(lambda...); and other cleanups.
9129 * cus-edit.el: Use lexical-binding.
9130 (customize-push-and-save, customize-apropos)
9131 (custom-buffer-create-internal): Use closures.
9132 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9133 * progmodes/ada-xref.el: Use setq.
9134 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9135 * dframe.el: Use lexical-binding.
9136 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9137 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9138 * descr-text.el: Use lexical-binding.
9139 (describe-text-widget, describe-text-sexp, describe-property-list):
9141 * comint.el (comint-history-isearch-push-state): Use a closure.
9142 * calculator.el: Use lexical-binding.
9143 (calculator-number-to-string): Make it work with lexical-binding.
9144 (calculator-funcall): Same and use cl-letf.
9146 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9147 (lisp--company-doc-string, lisp--company-location): New functions.
9148 (lisp-completion-at-point): Use them to improve Company support.
9150 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9151 params of lambda expressions.
9152 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9153 (ruby-smie--opening-pipe-p): New function.
9154 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9155 symbols and matched |...| for formal params.
9156 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9157 from being treated as hanging. Handle "rescue".
9159 2013-08-29 Glenn Morris <rgm@gnu.org>
9161 * progmodes/cc-engine.el (c-pull-open-brace):
9162 Move definition before use.
9164 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9166 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9167 are immutable. Don't use `unsafe' any more.
9168 (cl--defsubst-expand): Don't substitute at the same time as keeping
9169 a residual unused let-binding. Don't use `unsafe' any more.
9171 2013-08-29 Glenn Morris <rgm@gnu.org>
9173 * calendar/cal-china.el (calendar-chinese-year-cache):
9176 * nxml/nxml-util.el (nxml-debug-clear-inside):
9177 Use cl-loop rather than loop.
9179 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9181 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9183 2013-08-28 Glenn Morris <rgm@gnu.org>
9185 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9187 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9189 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9191 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9193 * simple.el (repeat-complex-command--called-interactively-skip):
9195 (repeat-complex-command): Use it (bug#14136).
9197 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9198 (c-define-abbrev-table): Add `doc' argument.
9199 (c-mode-abbrev-table, c++-mode-abbrev-table)
9200 (objc-mode-abbrev-table, java-mode-abbrev-table)
9201 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9202 (awk-mode-abbrev-table): Use it.
9203 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9204 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9205 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9206 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9207 Move initialization into the declaration; and remove any
9210 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9211 and dynamic let binding.
9213 * vc/smerge-mode.el: Remove redundant :group args.
9215 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9218 2013-08-28 Juri Linkov <juri@jurta.org>
9220 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9221 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9222 (isearch-other-meta-char): Handle an undefined shifted printing
9223 character by downshifting it. (Bug#15200)
9225 2013-08-28 Juri Linkov <juri@jurta.org>
9227 * isearch.el (isearch-search): Change regexp error message for
9228 non-regexp searches. (Bug#15166)
9230 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9232 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9233 for portability to hosts where /bin/sh has problems.
9235 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9237 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9239 2013-08-27 Juri Linkov <juri@jurta.org>
9241 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9242 in the keyboard macro. (Bug#15126)
9244 2013-08-27 Juri Linkov <juri@jurta.org>
9246 * isearch.el (isearch-quote-char): Comment out converting unibyte
9247 to multibyte, thus syncing with its `quoted-insert' counterpart.
9250 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9252 * window.el (display-buffer-use-some-window): Add missing
9253 argument in call of get-largest-window (Bug#15185).
9254 Reported by Stephen Leake.
9256 2013-08-27 Glenn Morris <rgm@gnu.org>
9258 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9260 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9263 from a matcher-function unless there's no more matches (bug#15161).
9265 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9267 * minibuffer.el: Revert change from 2013-08-20.
9269 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9270 with text property `tramp-default', if appropriate.
9271 (tramp-check-proper-host): New defun.
9272 (tramp-dissect-file-name): Do not check hostname. Revert change
9274 (tramp-backtrace): Make VEC-OR-PROC optional.
9276 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9277 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9278 * net/tramp-sh.el (tramp-maybe-open-connection):
9279 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9280 Apply `tramp-check-proper-host'.
9282 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9284 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9285 lambda expression in order to have `describe-variable' display it.
9287 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9289 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9290 BUF can be optional. (Bug#15186)
9292 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9294 * progmodes/flymake.el (flymake-get-real-file-name-function):
9295 Fix broken customization. (Bug#15184)
9297 2013-08-25 Alan Mackenzie <acm@muc.de>
9299 Improve indentation of bracelists defined by macros (without "=").
9301 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9302 expansion begins with "{", regard it as bracelist when it doesn't
9305 Parse C++ inher-intro when there's a template split over 2 lines.
9307 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9308 rigorously the search for "class" etc. followed by ":".
9310 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9311 random languages a regexp which never matches rather than nil.
9313 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9315 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9316 (c-awk-regexp-one-line-possibly-open-char-list-re)
9317 (c-awk-one-line-possibly-open-regexp-re)
9318 (c-awk-one-line-non-syn-ws*-re): Remove.
9319 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9320 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9321 (c-awk-space*-unclosed-regexp-/-re): New constants.
9322 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9323 aren't regexp delimiters.
9325 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9326 handling for a rare situation in AWK Mode involving unterminated
9329 2013-08-23 Glenn Morris <rgm@gnu.org>
9331 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9333 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9335 * files.el (create-file-buffer): If the result would begin with
9336 spaces, prepend a "|" instead of removing them. (Bug#15162)
9338 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9340 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9341 text-properties (bug#15155).
9343 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9345 (calc-keypad-redraw): Remove unused var `pad'.
9346 (calc-keypad-press): Remove unused var `menu'.
9348 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9350 * window.el (display-buffer-pop-up-frame):
9351 Call pop-up-frame-function with BUFFER current so `make-frame' will
9352 use it as the new frame's buffer (Bug#15133).
9354 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * calendar/timeclock.el: Minor cleanups.
9357 (timeclock-ask-before-exiting, timeclock-use-display-time):
9359 (timeclock-modeline-display): Define as alias before the
9361 (timeclock-mode-line-display): Use define-minor-mode.
9362 (timeclock-day-list-template): Make it a function, add an argument.
9363 (timeclock-day-list-required, timeclock-day-list-length)
9364 (timeclock-day-list-debt, timeclock-day-list-span)
9365 (timeclock-day-list-break): Adjust calls accordingly.
9367 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9370 Use read--expression so that completion works again.
9372 2013-08-21 Sam Steingold <sds@gnu.org>
9374 Add rudimentary inferior shell interaction
9375 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9376 (sh-set-shell): Reset it.
9377 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9378 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9380 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9382 * align.el: Use lexical-binding.
9383 (align-region): Simplify accordingly.
9385 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9387 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9389 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9392 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9396 * net/tramp-cmds.el:
9398 * net/tramp-gvfs.el:
9400 * net/tramp-sh.el: Don't wrap external variable declarations by
9401 `eval-when-compile'.
9403 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9405 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9406 now that Emacs supports ImageMagick animations.
9408 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9410 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9411 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9413 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9415 * window.el (mouse-autoselect-window-select): Do autoselect when
9416 mouse pointer is on margin.
9418 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9420 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9422 2013-08-16 Glenn Morris <rgm@gnu.org>
9424 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9425 Handle "Remote Directory" response of some clients. (Bug#15058)
9427 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9428 Tweak warning. (Bug#14926)
9430 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9431 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9433 * image-mode.el (image-mode-map): Add menu items to reverse,
9434 increase, decrease, reset animation speed.
9435 (image--set-speed, image-increase-speed, image-decrease-speed)
9436 (image-reverse-speed, image-reset-speed): New functions.
9437 (image-mode-map): Add bindings for speed commands.
9439 * image.el (image-animate-get-speed, image-animate-set-speed):
9441 (image-animate-timeout): Respect image :speed property.
9443 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9446 previous line (bug#15101).
9447 (debugger-eval-expression, debugger-record-expression):
9448 Use read--expression (bug#15102).
9450 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9452 Remove byte compiler warnings, visible when compiling with
9453 `byte-compile-force-lexical-warnings' set to t.
9455 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9456 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9457 (tramp-handle-unhandled-file-name-directory)
9458 (tramp-handle-file-notify-add-watch, tramp-action-login)
9459 (tramp-action-succeed, tramp-action-permission-denied)
9460 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9463 * net/tramp-adb.el (tramp-adb-parse-device-names)
9464 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9465 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9466 (tramp-adb-handle-file-truename): Remove unused arguments.
9468 * net/tramp-cache.el (tramp-flush-directory-property)
9469 (tramp-flush-connection-property, tramp-list-connections)
9470 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9472 * net/tramp-compat.el (tramp-compat-make-temp-file):
9473 Rename FILENAME to F.
9475 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9476 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9477 (tramp-zeroconf-parse-workstation-device-names)
9478 (tramp-zeroconf-parse-webdav-device-names)
9479 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9481 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9482 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9484 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9486 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9487 (tramp-sh-handle-insert-file-contents-literally)
9488 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9490 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9491 Remove unused variables.
9493 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9494 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9495 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9497 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9498 Make them a defconst.
9499 (tramp-uuencode-region): Remove unused variable.
9501 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9503 * frameset.el (frameset--prop-setter): New function.
9504 (frameset-prop): Add gv-setter declaration.
9505 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9506 parameter was already set in FILTERED. Doc fix.
9507 (frameset--record-minibuffer-relationships): Allow saving a
9508 minibufferless frame without its corresponding minibuffer frame.
9509 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9510 frame, if the frame id matches.
9511 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9512 frames before orphaned ones.
9513 (frameset-restore): Warn about orphaned windows, instead of error out.
9515 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9517 * window.el (window-make-atom): Don't overwrite parameter
9519 (display-buffer-in-atom-window): Handle special case where we
9520 split an already atomic window.
9521 (window--major-non-side-window, display-buffer-in-side-window)
9522 (window--side-check): Ignore minibuffer window when walking
9524 (window-deletable-p): Return 'frame only if no other frame uses
9525 our minibuffer window.
9526 (record-window-buffer): Run buffer-list-update-hook.
9527 (split-window): Make sure window--check-frame won't destroy an
9528 existing atomic window in case the new window gets nested
9530 (display-buffer-at-bottom): Ignore minibuffer window when
9531 walking window tree. Don't split a side window.
9532 (pop-to-buffer): Don't set-buffer here, the select-window call
9534 (mouse-autoselect-window-select): Autoselect only if we are in the
9535 text portion of the window.
9537 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539 * net/shr.el (shr-parse-image-data): New function to grab both the
9540 data itself and the Content-Type.
9541 (shr-put-image): Use it.
9543 * net/eww.el (eww-display-image): Ditto.
9545 * image.el (image-content-type-suffixes): New variable.
9547 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9549 * progmodes/python.el (python-imenu--build-tree)
9550 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9552 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9554 * simple.el (backward-word): Mention the optional argument.
9556 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * frameset.el (frameset--make): Rename constructor from make-frameset.
9559 (frameset-p, frameset-valid-p): Don't autoload.
9560 (frameset-valid-p): Use normal accessors.
9562 2013-08-13 Glenn Morris <rgm@gnu.org>
9564 * progmodes/compile.el (compile-command): Tweak example in doc.
9565 * obsolete/scribe.el (scribe-mode):
9566 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9568 * mail/feedmail.el (feedmail-confirm-outgoing)
9569 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9571 * cus-start.el (truncate-partial-width-windows): Fix type.
9573 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9575 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9577 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9579 * emacs-lisp/timer.el (timer--time-setter): New function.
9580 (timer--time): Use it as gv-setter.
9582 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9583 setter is not a symbol.
9585 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9587 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9588 if sending fails. This makes debugging easier.
9590 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9592 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9593 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9594 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9596 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9598 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9600 2013-08-12 Glenn Morris <rgm@gnu.org>
9602 * format.el (format-annotate-function):
9603 Handle read-only text properties in the source. (Bug#14887)
9605 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607 * net/eww.el (eww-display-html): Ignore coding system errors.
9608 One web site uses "utf-8lias" as the coding system.
9610 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9612 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9614 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9616 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9617 (tutorial--detailed-help): Remove unused local variables.
9618 (tutorial--save-tutorial-to): Use ignore-errors.
9619 (help-with-tutorial): Use looking-at-p.
9621 * view.el (view-buffer-other-window, view-buffer-other-frame):
9622 Mark unused arguments.
9624 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9625 (woman-select-symbol-fonts, woman, woman-find-file)
9626 (woman-insert-file-contents, woman-non-underline-faces):
9628 (woman1-unquote): Move declaration.
9630 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9631 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9632 argument. Remove unused local variable.
9633 (xml-parse-elem-type): Use string-match-p.
9634 (xml-substitute-numeric-entities): Use ignore-errors.
9636 * calculator.el (calculator): Mark unused argument.
9637 (calculator-paste, calculator-quit, calculator-integer-p):
9639 (calculator-string-to-number, calculator-decimal, calculator-exp)
9640 (calculator-op-or-exp): Use string-match-p.
9642 * dired.el (dired-buffer-more-recently-used-p): Declare.
9643 (dired-insert-set-properties, dired-insert-old-subdirs):
9646 * dired-aux.el (dired-compress): Use ignore-errors.
9647 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9648 (dired-do-async-shell-command, dired-do-shell-command)
9649 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9650 (dired-insert-subdir-validate): Use string-match-p.
9651 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9652 (dired-add-entry): Use string-match-p, looking-at-p.
9653 (dired-insert-subdir-newpos): Remove unused local variable.
9655 * filenotify.el (file-notify-callback): Remove unused local variable.
9657 * filesets.el (filesets-error): Mark unused argument.
9658 (filesets-which-command-p, filesets-filter-dir-names)
9659 (filesets-directory-files, filesets-get-external-viewer)
9660 (filesets-ingroup-get-data): Use string-match-p.
9662 * find-file.el (ff-other-file-name, ff-other-file-name)
9663 (ff-find-the-other-file, ff-cc-hh-converter):
9664 Remove unused local variables.
9665 (ff-get-file-name): Use string-match-p.
9666 (ff-all-dirs-under): Use ignore-errors.
9668 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9669 (follow-select-if-visible): Remove unused local variable.
9671 * forms.el (read-file-filter): Move declaration.
9672 (forms--make-format, forms--make-parser, forms-insert-record):
9673 Quote function with #'.
9674 (forms--update): Use string-match-p. Quote function with #'.
9676 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9677 (help-make-xrefs): Use looking-at-p.
9678 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9680 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9681 (ibuffer-confirm-operation-on): Use string-match-p.
9683 * msb.el (msb-item-handler, msb-dired-item-handler):
9684 Mark unused arguments.
9686 * ses.el (ses-decode-cell-symbol)
9687 (ses-kill-override): Remove unused local variable.
9688 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9689 (ses-load): Use ignore-errors, looking-at-p.
9690 (ses-jump-safe): Use ignore-errors.
9691 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9693 * tabify.el (untabify, tabify): Mark unused arguments.
9695 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9696 Mark unused argument.
9697 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9698 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9700 * emacs-lisp/timer.el (timer--time): Define setter with
9701 gv-define-setter to avoid deprecation warning.
9703 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9704 (*record-cmpl-statistics-p*): Remove (was commented out).
9705 (cmpl-statistics-block): Remove (body was commented out).
9706 All callers changed.
9707 (add-completions-from-buffer, load-completions-from-file):
9708 Remove unused variables.
9710 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9712 * filecache.el (file-cache-delete-file-list):
9713 Print message only when told so.
9714 (file-cache-files-matching): Use #' in mapconcat argument.
9716 * ffap.el (ffap-url-at-point): Fix reference to variable
9717 thing-at-point-default-mail-uri-scheme.
9719 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9721 * subr.el (define-error): New function.
9722 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9723 error-file-not-found and define with define-error.
9724 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9725 and define with define-error.
9726 * userlock.el (file-locked, file-supersession):
9727 * simple.el (mark-inactive):
9728 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9729 * progmodes/ada-mode.el (ada-mode-errors):
9730 * play/life.el (life-extinct):
9731 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9732 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9733 * nxml/rng-util.el (rng-error):
9734 * nxml/rng-uri.el (rng-uri-error):
9735 * nxml/rng-match.el (rng-compile-error):
9736 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9737 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9738 * nxml/nxml-rap.el (nxml-scan-error):
9739 * nxml/nxml-outln.el (nxml-outline-error):
9740 * net/soap-client.el (soap-error):
9741 * net/gnutls.el (gnutls-error):
9742 * net/ange-ftp.el (ftp-error):
9743 * mpc.el (mpc-proc-error):
9744 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9745 (json-number-format, json-string-escape, json-string-format)
9746 (json-key-format, json-object-format):
9747 * jka-compr.el (compression-error):
9748 * international/quail.el (quail-error):
9749 * international/kkc.el (kkc-error):
9750 * emacs-lisp/ert.el (ert-test-failed):
9751 * calc/calc.el (calc-error, inexact-result, math-overflow)
9753 * bookmark.el (bookmark-error-no-filename):
9754 * epg.el (epg-error): Define with define-error.
9756 * time.el (display-time-event-handler)
9757 (display-time-next-load-average): Don't call sit-for since it seems
9758 unnecessary (bug#15045).
9760 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9761 Use #' instead of ' to quote functions.
9762 (checkdoc-output-mode): Use setq-local.
9763 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9764 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9765 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9766 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9767 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9768 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9769 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9770 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9772 * ido.el (ido-completion-help): Fix up compiler warning.
9774 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9776 * frameset.el (frameset-p): Add autoload cookie.
9777 (frameset--jump-to-register): New function, based on code moved from
9779 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9781 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9782 (frameset-restore, frameset-save, frameset-session-filter-alist):
9783 Remove declarations.
9784 (register-alist): Doc fix.
9785 (frameset-to-register): Move to frameset.el.
9786 (jump-to-register, describe-register-1): Remove frameset-specific code.
9788 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9790 * allout-widgets.el (allout-widgets-pre-command-business)
9791 (allout-widgets-post-command-business)
9792 (allout-widgets-after-change-handler)
9793 (allout-decorate-item-and-context, allout-set-boundary-marker)
9794 (allout-body-modification-handler)
9795 (allout-graphics-modification-handler): Mark ignored arguments.
9796 (allout-widgets-post-command-business)
9797 (allout-widgets-exposure-change-processor)
9798 (allout-widgets-exposure-undo-processor)
9799 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9800 (allout-parse-item-at-point, allout-decorate-item-guides)
9801 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9802 * allout.el (epa-passphrase-callback-function): Declare.
9803 (allout-overlay-insert-in-front-handler)
9804 (allout-overlay-interior-modification-handler)
9805 (allout-isearch-end-handler, allout-chart-siblings)
9806 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9807 (allout-yank-processing, allout-process-exposed)
9808 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9809 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9810 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9811 (lisp-indent-defform): Mark ignored arguments.
9812 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9813 (calculate-lisp-indent): Remove unused variables.
9814 * international/characters.el (indian-2-column, arabic-2-column)
9815 (tibetan): Mark ignored arguments.
9816 (use-cjk-char-width-table): Mark ignored arguments.
9817 Remove unused variables.
9818 * international/fontset.el (build-default-fontset-data)
9819 (x-compose-font-name, create-fontset-from-fontset-spec):
9820 Mark ignored arguments.
9821 (fontset-plain-name): Remove unused variables.
9822 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9823 (keyboard-coding-system): Mark ignored arguments.
9824 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9825 * help.el (resize-temp-buffer-window):
9826 * window.el (display-buffer-in-major-side-window)
9827 (display-buffer-in-side-window, display-buffer-in-previous-window):
9828 Remove unused variables.
9829 * isearch.el (isearch-forward-symbol):
9830 * version.el (emacs-bzr-version-bzr):
9831 * international/mule-cmds.el (current-language-environment):
9832 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9834 * term/pc-win.el (x-list-fonts, x-display-planes)
9835 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9836 (x-server-version, x-display-screens, x-display-mm-height)
9837 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9838 (x-selection-owner-p, x-own-selection-internal)
9839 (x-disown-selection-internal, x-get-selection-internal)
9840 (msdos-initialize-window-system):
9841 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9842 * term/x-win.el (x-handle-no-bitmap-icon):
9843 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9844 (vc-default-find-file-hook, vc-default-extra-menu):
9845 Mark ignored arguments.
9847 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9850 break-condition in the context of the debugged code (bug#12685).
9852 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9855 Do not use an overlay to highlight the last prompt. (Bug#14744)
9856 (comint-mode): Make comint-last-prompt buffer local.
9857 (comint-last-prompt): New variable.
9858 (comint-last-prompt-overlay): Remove. Superseded by
9860 (comint-snapshot-last-prompt, comint-output-filter):
9861 Use comint-last-prompt.
9863 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9865 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9866 (frameset-save): Check validity of the resulting frameset.
9868 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9870 * ido.el (ido-record-command): Add doc string.
9872 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9874 * frameset.el (frameset): Do not disable creation of the default
9875 frameset-p predicate. Doc fix.
9876 (frameset-valid-p): New function, copied from the old predicate-p.
9877 Add additional checks.
9878 (frameset-restore): Check with frameset-valid-p.
9879 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9880 (frameset-name, frameset-description, frameset-properties)
9881 (frameset-states): Add docstring.
9882 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9883 (frameset-filter-alist): Doc fixes.
9885 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9887 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9889 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9891 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9892 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9893 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9894 (byte-compile-normal-call): Remove obsolescence check.
9896 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9898 * frameset.el (frameset-restore): Doc fix.
9900 * register.el (frameset-frame-id, frameset-frame-with-id)
9901 (frameset-p, frameset-restore, frameset-save): Declare.
9902 (register-alist): Document framesets.
9903 (frameset-session-filter-alist): Declare.
9904 (frameset-to-register): New function.
9905 (jump-to-register): Implement jumping to framesets. Doc fix.
9906 (describe-register-1): Describe framesets.
9908 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9910 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9912 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9913 Use lexical-binding.
9915 * frameset.el (frameset): Use type vector, not list (incompatible
9916 change). Do not declare a new constructor, use the default one.
9917 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9918 `name' and `description', respectively, and add read-only slot
9919 `timestamp'. Doc fixes.
9920 (frameset-copy, frameset-persistent-filter-alist)
9921 (frameset-filter-alist, frameset-switch-to-gui-p)
9922 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9923 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9924 (frameset-filter-iconified, frameset-keep-original-display-p):
9926 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9927 Rename from frameset-filter-(save|restore)-param. All callers changed.
9929 (frameset-p): Adapt to change to vector and be more thorough.
9930 Change arg name to OBJECT. Doc fix.
9931 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9932 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9933 All callers changed.
9934 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9935 All callers changed.
9936 (frameset--record-minibuffer-relationships): Rename from
9937 frameset--process-minibuffer-frames. All callers changed.
9938 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9939 Use new default constructor (again). Doc fix.
9940 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9941 All callers changed.
9942 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9943 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9945 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9946 PARAMETERS and WINDOW-STATE, respectively.
9947 (frameset-restore): Add new keyword argument PREDICATE.
9948 Reset frameset--target-display to nil. Doc fix.
9950 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9954 (bat-mode-syntax-table): Mark \n as end-of-comment.
9955 (bat-font-lock-keywords): Remove comment rule.
9957 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9958 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9960 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9961 (byte-compile-callargs-warn): Use `push'.
9962 (byte-compile-arglist-warn): Ignore higher-order "calls".
9963 (byte-compile-file-form-autoload): Use `pcase'.
9964 (byte-compile-function-form): If quoting a symbol, check that it exists.
9966 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9968 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9969 and add a few popular commands found in batch files.
9970 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9971 (dos-mode): Doc fixes.
9973 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9975 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9976 (dos-mode): Use setq-local. Add space after "rem".
9977 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9978 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9980 2013-08-07 Arni Magnusson <arnima@hafro.is>
9982 * progmodes/dos.el: New file.
9983 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9986 2013-08-06 Glenn Morris <rgm@gnu.org>
9988 * calendar/calendar.el: Add new faces, and day-header-array.
9989 (calendar-weekday-header, calendar-weekend-header)
9990 (calendar-month-header): New faces.
9991 (calendar-day-header-construct): New function.
9992 (calendar-day-header-width): Also :set calendar-day-header-array.
9993 (calendar-american-month-header, calendar-european-month-header)
9994 (calendar-iso-month-header): Use calendar- faces.
9995 (calendar-generate-month):
9996 Use calendar-day-header-array for day headers; apply faces to them.
9997 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9998 (calendar-abbrev-construct): Add optional maxlen argument.
9999 (calendar-day-name-array): Doc fix.
10000 (calendar-day-name-array, calendar-abbrev-length)
10001 (calendar-day-abbrev-array):
10002 Also :set calendar-day-header-array, and maybe redraw.
10003 (calendar-day-header-array): New option. (Bug#15007)
10004 (calendar-font-lock-keywords): Set to nil and make obsolete.
10005 (calendar-day-name): Add option to use header array.
10007 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10009 * net/shr.el (shr-render-td): Remove debugging.
10010 (shr-render-td): Make width computation consistent by defaulting
10011 all zero-width columns to 10 characters. This may not be optimal,
10012 but it's at least consistent.
10013 (shr-make-table-1): Redo last change to fix the real problem in
10016 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10018 * files.el (cache-long-line-scans):
10019 Make obsolete alias to `cache-long-scans'.
10021 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10023 * frameset.el (frameset, frameset-filter-alist)
10024 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10025 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10026 (frameset-compute-pos): Rename from frameset--compute-pos,
10028 (frameset-move-onscreen): Use frameset-compute-pos.
10029 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10031 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10032 Fix typos in docstrings.
10034 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10036 * frame.el (get-other-frame): Tiny cleanup.
10038 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10040 * vc/vc.el (vc-default-ignore-completion-table):
10041 Silence byte-compiler warning.
10043 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10044 slot, which can indeed be nil.
10045 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10046 Move entry for `left' from persistent to live filter alist.
10047 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10049 (frameset-filter-params): When restoring a frame, copy items added to
10050 `filtered', to avoid unwittingly modifying the original parameters.
10051 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10052 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10054 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10055 to use looking-at-p instead of looking-at. (Bug#15028)
10057 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10059 Revert introduction of isearch-filter-predicates (bug#14714).
10060 Rely on add-function instead.
10061 * isearch.el (isearch-filter-predicates): Rename it back to
10062 isearch-filter-predicate.
10063 (isearch-message-prefix): Use advice-function-mapc and advice
10064 properties to get the isearch-message-prefix.
10065 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10066 instead of run-hook-with-args-until-failure.
10067 (isearch-filter-visible): Not obsolete any more.
10068 * loadup.el: Preload nadvice.
10069 * replace.el (perform-replace): Revert to funcall
10070 instead of run-hook-with-args-until-failure.
10071 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10072 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10073 dired-isearch-filenames-toggle; make it into a proper minor mode.
10074 Use add/remove-function.
10075 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10076 Call the minor-mode rather than add/remove-hook.
10077 (dired-isearch-filter-filenames):
10078 Remove isearch-message-prefix property.
10079 * info.el (Info--search-loop): New function, extracted from Info-search.
10080 Funcall isearch-filter-predicate instead of
10081 run-hook-with-args-until-failure isearch-filter-predicates.
10082 (Info-search): Use it.
10083 (Info-mode): Use isearch-filter-predicate instead of
10084 isearch-filter-predicates.
10086 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10088 Do not call to `selected-window' where it is assumed by default.
10089 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10090 `window-hscroll', `window-width', `window-height', `window-buffer',
10091 `window-frame', `window-start', `window-point', `next-window'
10092 and `window-display-table'.
10093 * abbrev.el (abbrev--default-expand):
10094 * bs.el (bs--show-with-configuration):
10095 * buff-menu.el (Buffer-menu-mouse-select):
10096 * calc/calc.el (calc):
10097 * calendar/calendar.el (calendar-generate-window):
10098 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10099 (diary-make-entry):
10100 * comint.el (send-invisible, comint-dynamic-complete-filename)
10101 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10102 * completion.el (complete):
10103 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10104 * disp-table.el (describe-current-display-table):
10105 * doc-view.el (doc-view-insert-image):
10106 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10107 * ehelp.el (with-electric-help):
10108 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10109 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10110 * emacs-lisp/helper.el (Helper-help-scroller):
10111 * emulation/cua-base.el (cua--post-command-handler-1):
10112 * eshell/esh-mode.el (eshell-output-filter):
10113 * ffap.el (ffap-gnus-wrapper):
10114 * help-macro.el (make-help-screen):
10115 * hilit-chg.el (highlight-compare-buffers):
10116 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10117 * hl-line.el (global-hl-line-highlight):
10118 * icomplete.el (icomplete-simple-completing-p):
10119 * isearch.el (isearch-done):
10120 * jit-lock.el (jit-lock-stealth-fontify):
10121 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10122 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10123 * mpc.el (mpc-tagbrowser, mpc):
10124 * net/rcirc.el (rcirc-any-buffer):
10125 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10126 * play/landmark.el (landmark-max-width, landmark-max-height):
10127 * play/zone.el (zone):
10128 * progmodes/compile.el (compilation-goto-locus):
10129 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10130 * progmodes/etags.el (find-tag-other-window):
10131 * progmodes/fortran.el (fortran-column-ruler):
10132 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10133 * progmodes/verilog-mode.el (verilog-point-text):
10134 * reposition.el (reposition-window):
10135 * rot13.el (toggle-rot13-mode):
10136 * server.el (server-switch-buffer):
10137 * shell.el (shell-dynamic-complete-command)
10138 (shell-dynamic-complete-environment-variable):
10139 * simple.el (insert-buffer, set-selective-display)
10140 (delete-completion-window):
10141 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10142 (speedbar-recenter):
10143 * startup.el (fancy-splash-head):
10144 * textmodes/ispell.el (ispell-command-loop):
10145 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10146 * tutorial.el (help-with-tutorial):
10147 * vc/add-log.el (add-change-log-entry):
10148 * vc/compare-w.el (compare-windows):
10149 * vc/ediff-help.el (ediff-indent-help-message):
10150 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10151 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10152 (ediff-setup-control-frame):
10153 * vc/emerge.el (emerge-position-region):
10154 * vc/pcvs-util.el (cvs-bury-buffer):
10155 * window.el (walk-windows, mouse-autoselect-window-select):
10156 * winner.el (winner-set-conf, winner-undo): Related users changed.
10158 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10160 * frameset.el (frameset--set-id): Doc fix.
10161 (frameset-frame-id, frameset-frame-id-equal-p)
10162 (frameset-locate-frame-id): New functions.
10163 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10164 (frameset-restore): Use them.
10166 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10168 Do not call to `selected-frame' where it is assumed by default.
10169 Affected functions are `raise-frame', `redraw-frame',
10170 `frame-first-window', `frame-terminal' and `delete-frame'.
10171 * calendar/appt.el (appt-disp-window):
10172 * epg.el (epg-wait-for-completion):
10173 * follow.el (follow-delete-other-windows-and-split)
10174 (follow-avoid-tail-recenter):
10175 * international/mule.el (set-terminal-coding-system):
10176 * mail/rmail.el (rmail-mail-return):
10177 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10178 * progmodes/f90.el (f90-add-imenu-menu):
10179 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10180 * server.el (server-switch-buffer):
10181 * simple.el (delete-completion-window):
10183 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10184 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10185 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10186 * vc/ediff.el (ediff-documentation): Related users changed.
10187 * frame.el (selected-terminal): Remove the leftover.
10189 2013-08-05 Glenn Morris <rgm@gnu.org>
10191 * calendar/calendar.el (calendar-generate-month):
10192 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10193 (calendar-generate-month, calendar-font-lock-keywords):
10194 Fix for calendar-day-header-width > length of any day name.
10196 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10198 * desktop.el (desktop-clear): Use new name of sort predicate.
10200 * frameset.el (frameset): Add docstring. Move :version property to its
10201 own `version' slot.
10202 (frameset-copy): Rename from copy-frameset.
10203 (frameset-p): Check more thoroughly.
10204 (frameset-prop): Do not check for :version, which is no longer a prop.
10205 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10206 Use new :never value instead of t.
10207 (frameset-filter-alist): Expand and clarify docstring.
10208 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10209 (frameset-filter-minibuffer, frameset-filter-save-param)
10210 (frameset-filter-restore-param, frameset-filter-iconified):
10211 Add pointer to docstring of frameset-filter-alist.
10212 (frameset-filter-params): Rename filter values to be more meaningful:
10213 :never instead of t, and reverse the meanings of :save and :restore.
10214 (frameset--process-minibuffer-frames): Clarify error message.
10215 (frameset-save): Avoid unnecessary and confusing call to framep.
10216 Use new BOA constructor for framesets.
10217 (frameset--reuse-list): Doc fix.
10218 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10219 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10220 (frameset-minibufferless-first-p): Doc fix.
10221 Rename from frameset-sort-frames-for-deletion.
10222 (frameset-restore): Doc fixes. Use new function names.
10223 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10225 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10227 * desktop.el (desktop-restore-forces-onscreen)
10228 (desktop-restore-reuses-frames): Document :keyword constant values.
10229 (desktop-filter-parameters-alist): Remove, now identical to
10230 frameset-filter-alist.
10231 (desktop--filter-tty*): Remove, moved to frameset.el.
10232 (desktop-save-frameset, desktop-restore-frameset):
10233 Do not pass :filters argument.
10235 * frameset.el (frameset-live-filter-alist)
10236 (frameset-persistent-filter-alist): New variables.
10237 (frameset-filter-alist): Use them. Add autoload cookie.
10238 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10239 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10240 `frameset--id' (it's supposed to be internal to frameset.el).
10241 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10242 (frameset--initial-params): New function.
10243 (frameset--get-frame): Use it. Doc fix.
10244 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10245 Accept :all, not 'all.
10246 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10247 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10248 with fbound symbols. Fix frame id matching, and remove matching ids if
10249 the frame being restored is deleted. Obey :delete.
10251 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10253 * subr.el (macrop): New function.
10254 (text-clone--maintaining): New var.
10255 (text-clone--maintain): Rename from text-clone-maintain. Use it
10256 instead of inhibit-modification-hooks.
10258 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10259 a proxy, so as handle autoloads and redefinitions of the target.
10260 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10262 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10263 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10264 (pcase--mutually-exclusive-p): New function.
10265 (pcase--split-consp): Use it.
10266 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10267 mutually exclusive with the current predicate.
10269 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10270 (edebug-macrop): Remove. Use `macrop' instead.
10271 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10273 * eshell/esh-cmd.el (eshell-macrop):
10274 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10276 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10278 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10279 (advice-mapc): New function, using it.
10280 (advice-function-member-p): New function.
10281 (advice--normalize): Store the cdr in advice--saved-rewrite since
10282 that's the part that will be changed.
10283 (advice--symbol-function): New function.
10284 (advice-remove): Handle removal before the function is defined.
10285 Adjust to new advice--saved-rewrite.
10286 (advice-member-p): Use advice-function-member-p and
10287 advice--symbol-function.
10289 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10291 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10292 (frameset-filter-minibuffer): Doc fix.
10293 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10294 (frameset--set-id, frameset--process-minibuffer-frames)
10295 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10296 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10298 * desktop.el (desktop-clear): Only delete frames when called
10299 interactively and desktop-restore-frames is non-nil. Doc fix.
10300 (desktop-read): Set desktop-saved-frameset to nil.
10302 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10304 * vc/vc.el (vc-ignore): Rewrite.
10305 (vc-default-ignore-completion-table, vc--read-lines)
10306 (vc--add-line, vc--remove-regexp): New functions.
10308 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10309 (vc-svn-ignore-completion-table): New function.
10311 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10312 (vc-hg-ignore-completion-table)
10313 (vc-hg-find-ignore-file): New functions.
10315 * vc/vc-git.el (vc-git-ignore): Rewrite.
10316 (vc-git-ignore-completion-table)
10317 (vc-git-find-ignore-file): New functions.
10319 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10321 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10322 (vc-bzr-ignore-completion-table)
10323 (vc-bzr-find-ignore-file): New functions.
10325 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10327 * frameset.el (frameset-prop): New function and setter.
10328 (frameset-save): Do not modify frame list passed by the caller.
10330 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10332 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10334 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10336 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10337 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10339 * custom.el (custom-initialize-default, custom-initialize-set)
10340 (custom-initialize-reset, custom-initialize-changed): Affect the
10341 toplevel-default-value (bug#6275, bug#14586).
10342 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10345 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10347 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10348 Add cl-def* expressions.
10350 * frameset.el (frameset-filter-params): Fix order of arguments.
10352 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10354 Move code related to saving frames to frameset.el.
10355 * desktop.el: Require frameset.
10356 (desktop-restore-frames): Doc fix.
10357 (desktop-restore-reuses-frames): Rename from
10358 desktop-restoring-reuses-frames.
10359 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10360 (desktop-clear): Clear frames too.
10361 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10362 (desktop--filter-tty*, desktop-save, desktop-read):
10363 Use frameset functions.
10364 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10365 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10366 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10367 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10368 (desktop--process-minibuffer-frames, desktop-save-frames)
10369 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10370 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10371 (desktop--sort-states, desktop-restoring-frames-p)
10372 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10373 (desktop-restoring-frameset-p, desktop-restore-frameset)
10374 (desktop--check-dont-save, desktop-save-frameset): New functions.
10375 (desktop--app-id): New constant.
10376 (desktop-first-buffer, desktop-buffer-ok-count)
10377 (desktop-buffer-fail-count): Move before first use.
10378 * frameset.el: New file.
10380 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10382 * files.el: Use lexical-binding.
10383 (dir-locals-read-from-file): Remove unused `err' variable.
10384 (hack-dir-local-variables--warned-coding): New var.
10385 (hack-dir-local-variables): Use it to avoid repeated warnings.
10386 (make-backup-file-name--default-function): New function.
10387 (make-backup-file-name-function): Use it as default.
10388 (buffer-stale--default-function): New function.
10389 (buffer-stale-function): Use it as default.
10390 (revert-buffer-insert-file-contents--default-function): New function.
10391 (revert-buffer-insert-file-contents-function): Use it as default.
10392 (insert-directory): Avoid add-to-list.
10394 * autorevert.el (auto-revert-handler): Simplify.
10395 Use buffer-stale--default-function.
10397 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10399 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10401 * whitespace.el (whitespace-ensure-local-variables): New function.
10402 (whitespace-cleanup-region): Call it.
10403 (whitespace-turn-on): Call it.
10405 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10407 Complete file name handlers.
10409 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10410 (tramp-handle-verify-visited-file-modtime)
10411 (tramp-handle-file-notify-rm-watch): New functions.
10412 (tramp-call-process): Do not bind `default-directory'.
10414 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10415 Order alphabetically.
10416 <access-file, add-name-to-file, dired-call-process>:
10417 <dired-compress-file, file-acl, file-notify-rm-watch>:
10418 <file-ownership-preserved-p, file-selinux-context>:
10419 <make-directory-internal, make-symbolic-link, set-file-acl>:
10420 <set-file-selinux-context, set-visited-file-modtime>:
10421 <verify-visited-file-modtime>: Add handler.
10422 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10425 <file-notify-add-watch, file-notify-rm-watch>:
10426 <set-file-times, set-visited-file-modtime>:
10427 <verify-visited-file-modtime>: Add handler.
10428 (with-tramp-gvfs-error-message)
10429 (tramp-gvfs-handle-set-visited-file-modtime)
10430 (tramp-gvfs-fuse-file-name): Remove.
10431 (tramp-gvfs-handle-file-notify-add-watch)
10432 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10433 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10435 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10436 Order alphabetically.
10437 <file-notify-rm-watch>: Use default Tramp handler.
10438 <executable-find>: Remove private handler.
10439 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10440 `default-directory'.
10441 (tramp-sh-handle-executable-find)
10442 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10443 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10444 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10445 Do not use `format' in `tramp-message'.
10447 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10448 <file-notify-rm-watch, set-visited-file-modtime>:
10449 <verify-visited-file-modtime>: Add handler.
10450 (tramp-smb-call-winexe): Do not bind `default-directory'.
10452 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10454 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10456 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10458 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10460 (log-view-diff-changeset): Same.
10461 (log-view-diff-common): Call backend command `previous-revision'
10462 to find out the previous revision, in both cases. Swap the
10463 variables `to' and `fr', so that `fr' usually refers to the
10464 earlier revision (Bug#14989).
10466 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10468 * ibuf-ext.el (ibuffer-filter-by-filename):
10469 Make it work with dired buffers too.
10471 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10473 * emacs-lisp/re-builder.el (reb-color-display-p):
10474 * files.el (save-buffers-kill-terminal):
10475 * net/browse-url.el (browse-url):
10476 * server.el (server-save-buffers-kill-terminal):
10477 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10478 Prefer nil to selected-frame for the first arg of frame-parameter.
10480 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10482 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10484 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10486 * minibuffer.el (completion--twq-all): Try and preserve each
10487 completion's case choice (bug#14907).
10489 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10491 * net/network-stream.el (open-network-stream): Mention the new
10492 :nogreeting parameter.
10493 (network-stream-open-starttls): Use the :nogreeting parameter
10496 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10498 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10499 more natural than popping.
10501 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10502 (shr-urlify): Highlight under mouse.
10504 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10506 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10508 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10510 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10513 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10514 point-min==1. Fix search string. Fix parentheses missing.
10516 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10517 assume point-min==1. Fix search string. Fix parentheses missing.
10519 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10521 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10524 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10526 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10527 initial frame is minibuffer-less. (Bug#14841)
10529 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10531 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10535 (tramp-maybe-open-connection): Use it.
10537 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10539 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10540 minimal set of parameters passed when creating a frame, because
10541 the minibuffer status of a frame cannot be changed later.
10543 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10545 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10546 replace-regexp-in-string and inadvertent omissions in previous change.
10547 (todo-filter-items): Ensure only file names are comma-separated in
10548 name of filtered items buffer.
10550 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10552 * desktop.el: Optionally force offscreen frames back onscreen.
10553 (desktop-restoring-reuses-frames): New option.
10554 (desktop--compute-pos, desktop--move-onscreen): New functions.
10555 (desktop--make-frame): Use desktop--move-onscreen.
10557 2013-07-27 Alan Mackenzie <acm@muc.de>
10559 Fontify a Java generic method as a function.
10560 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10563 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10565 * calendar/todo-mode.el: Add command to rename todo files.
10566 (todo-rename-file): New command.
10567 (todo-key-bindings-t): Add key binding for it. Change the
10568 bindings of todo-filter-regexp-items(-multifile) to use `x'
10569 instead of `r', since the latter is better suited to the new
10572 2013-07-27 Alan Mackenzie <acm@muc.de>
10574 Make Java try-with-resources statement parse properly.
10575 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10576 (c-block-stmt-1-2-key): New language constants/variables.
10577 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10578 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10579 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10580 with c-block-stmt-1-2-key.
10582 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10584 * desktop.el (desktop--make-frame): Apply most frame parameters after
10585 creating the frame to force (partially or totally) offscreen frames to
10586 be restored as such.
10588 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10590 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10593 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10596 `base' arg of backtrace-frame.
10598 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10600 * simple.el (list-processes): Doc fix.
10602 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10604 * desktop.el (desktop--select-frame):
10605 Try harder to reuse existing frames.
10607 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10610 (edebug-eval): Use backtrace-eval.
10611 (edebug--display, edebug--recursive-edit): Don't let-bind the
10612 edebug-outer-* vars that keep track of variables we locally let-bind.
10613 (edebug-outside-excursion): Don't restore outside values of locally
10615 (edebug--display): Use user-error.
10616 (cl-lexical-debug, cl-debug-env): Remove.
10618 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10620 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10621 are restored to be sure that they are visible before deleting any
10624 2013-07-26 Matthias Meulien <orontee@gmail.com>
10626 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10627 vc-print-root-log. (Bug#14948)
10629 2013-07-26 Richard Stallman <rms@gnu.org>
10631 Add aliases for encrypting mail.
10632 * epa.el (epa-mail-aliases): New option.
10633 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10634 Bind inhibit-read-only so read-only text doesn't ruin everything.
10635 (epa-mail-default-recipients): New subroutine broken out.
10636 Handle epa-mail-aliases.
10638 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10640 Add support for lexical variables to the debugger's `e' command.
10641 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10642 vars, except for debugger-outer-match-data.
10643 (debugger-frame-number): Move check for "on a function call" from
10644 callers into it. Add `skip-base' argument.
10645 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10646 (debugger-env-macro): Only reset the state stored in non-variables,
10647 i.e. current-buffer and match-data.
10648 (debugger-eval-expression): Rewrite using backtrace-eval.
10649 * subr.el (internal--called-interactively-p--get-frame): Remove.
10650 (called-interactively-p):
10651 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10652 `base' arg of backtrace-frame instead.
10654 2013-07-26 Glenn Morris <rgm@gnu.org>
10656 * align.el (align-regexp): Doc fix. (Bug#14857)
10657 (align-region): Explicit error if subexpression missing/does not match.
10659 * simple.el (global-visual-line-mode):
10660 Do not duplicate the mode lighter. (Bug#14858)
10662 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10664 * window.el (display-buffer): In display-buffer bind
10665 split-window-keep-point to t, bug#14829.
10667 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10669 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10670 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10671 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10672 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10673 Change accordingly.
10674 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10675 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10677 2013-07-25 Glenn Morris <rgm@gnu.org>
10679 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10681 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10683 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10684 parameter to modify-frame-parameters if the value has not changed;
10685 this is a workaround for bug#14949.
10686 (desktop--make-frame): On cl-delete-if call, check parameter name,
10687 not full parameter.
10689 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10691 * vc/vc.el (vc-ignore): New function.
10693 * vc/vc-svn.el (vc-svn-ignore): New function.
10695 * vc/vc-hg.el (vc-hg-ignore): New function.
10697 * vc/vc-git.el (vc-git-ignore): New function.
10699 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10700 (vc-dir-ignore): New function.
10702 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10703 (cvs-append-to-ignore): Move here from pcvs.el.
10705 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10707 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10709 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10711 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10712 (desktop-restore-frames): Warn when deleting an existing frame failed.
10714 2013-07-24 Glenn Morris <rgm@gnu.org>
10716 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10718 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10720 * filenotify.el (file-notify-supported-p):
10721 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10724 * autorevert.el (auto-revert-use-notify)
10725 (auto-revert-notify-add-watch):
10726 * net/tramp.el (tramp-file-name-for-operation):
10727 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10729 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10730 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10731 Remove `file-notify-supported-p' entry.
10733 2013-07-24 Glenn Morris <rgm@gnu.org>
10735 * printing.el: Replace all uses of deleted ps-windows-system,
10736 ps-lp-system, ps-flatten-list with lpr- versions.
10738 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10741 checked with memq (bug#14935).
10743 * files.el (revert-buffer-function): Use a non-nil default.
10744 (revert-buffer-preserve-modes): Declare var to
10745 provide access to the `preserve-modes' argument.
10746 (revert-buffer): Let-bind it.
10747 (revert-buffer--default): New function, extracted from revert-buffer.
10749 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10751 * lpr.el: Signal print errors more prominently.
10752 (print-region-function): Don't default to nil.
10753 (lpr-print-region): New function, extracted from print-region-1.
10754 Check lpr's return value and signal an error in case of problem.
10755 (print-region-1): Use it.
10756 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10758 (ps-printer-name): Default to nil.
10759 (ps-printer-name-option): Default to lpr-printer-switch.
10760 (ps-print-region-function): Don't default to nil.
10761 (ps-postscript-code-directory): Simplify default.
10762 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10763 (ps-string-list, ps-eval-switch, ps-flatten-list)
10764 (ps-flatten-list-1): Remove.
10765 (ps-multibyte-buffer): Avoid setq.
10766 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10767 (print-region-function, ps-print-region-function): Don't set them here.
10769 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10771 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10772 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10773 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10774 (ido-decorations): Doc fix.
10776 * ansi-color.el: Fix old URL.
10778 2013-07-23 Michael R. Mauger <michael@mauger.com>
10780 * progmodes/sql.el: Version 3.3
10781 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10782 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10783 (sql-interactive-remove-continuation-prompt): Rewrite, use
10784 functions above. Fix continuation prompt and complete output line
10786 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10787 redirected output buffer.
10788 (sql-mode): Restore deleted code (Bug#13591).
10790 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10792 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10794 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10796 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10798 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10799 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10802 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10804 * desktop.el (desktop-clear): Simplify; remove useless checks
10805 against invalid buffer names.
10806 (desktop-list*): Use cl-list*.
10807 (desktop-buffer-info, desktop-create-buffer): Simplify.
10809 2013-07-23 Leo Liu <sdl.web@gmail.com>
10811 * bookmark.el (bookmark-make-record): Restore NAME as a default
10814 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10817 extracted from autoload--insert-text.
10818 (autoload--insert-text): Remove.
10819 (autoload--print-cookie-text): New function, extracted from
10820 autoload--insert-cookie-text.
10821 (autoload--insert-cookie-text): Remove.
10822 (autoload-generate-file-autoloads): Adjust calls accordingly.
10824 * winner.el (winner-hook-installed-p): Remove.
10825 (winner-mode): Simplify accordingly.
10827 * subr.el (add-to-list): Fix compiler-macro when `append' is
10828 not constant. Don't use `cl-member' for the base case.
10830 * progmodes/subword.el: Fix boundary case (bug#13758).
10831 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10833 (subword-backward-regexp): Make it a constant.
10834 (subword-forward-internal): Don't treat a trailing capital as the
10835 beginning of a word.
10837 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10839 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10840 global value of tabulated-list-revert-hook (bug#14930).
10842 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10844 * desktop.el: Require 'cl-lib.
10845 (desktop-before-saving-frames-functions): New hook.
10846 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10847 for frames being saved. Rename from desktop--save-minibuffer-frames.
10848 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10849 Do not save frames with non-nil `desktop-dont-save' parameter.
10850 Filter out deleted frames.
10851 (desktop--find-frame): Use cl-find-if.
10852 (desktop--select-frame): Use cl-(first|second|third) to access values
10854 (desktop--make-frame): Use cl-delete-if.
10855 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10856 (desktop-restore-frames): Use cl-(first|second|third) to access values
10857 of desktop-mini. Look for visible frame at the end, not while
10860 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10861 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10862 Use string-match-p, looking-at-p (bug#14927).
10864 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10866 * desktop.el (desktop-saved-frame-states):
10867 Rename from desktop--saved-states; all users changed.
10868 (desktop-save-frames): Rename from desktop--save-frames.
10869 Do not save state to desktop file.
10870 (desktop-save): Save desktop-saved-frame-states to desktop file
10872 (desktop-restoring-frames-p): New function.
10873 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10874 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10875 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10877 * desktop.el: Correctly restore iconified frames.
10878 (desktop--filter-iconified-position): New function.
10879 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10881 2013-07-20 Glenn Morris <rgm@gnu.org>
10883 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10884 Let `message' do the formatting.
10885 (def-gdb-preempt-display-buffer): Add explicit format.
10887 * image-dired.el (image-dired-track-original-file):
10888 Use with-current-buffer.
10889 (image-dired-track-thumbnail): Use with-current-buffer.
10890 Avoid changing point of wrong window.
10892 * image-dired.el (image-dired-track-original-file):
10893 Avoid changing point of wrong window. (Bug#14909)
10895 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10897 * progmodes/gdb-mi.el (gdb-done-or-error):
10898 Guard against "%" in gdb output. (Bug#14127)
10900 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10902 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10905 * international/mule.el (coding-system-iso-2022-flags): Fix last
10908 2013-07-20 Kenichi Handa <handa@gnu.org>
10910 * international/mule.el (coding-system-iso-2022-flags):
10911 Add `8-bit-level-4'. (Bug#8522)
10913 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10915 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10918 * net/eww.el (eww-process-text-input): Allow inputting when the
10919 point is at the start of the line, as the properties aren't
10922 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10925 2013-07-19 Richard Stallman <rms@gnu.org>
10927 * epa.el (epa-popup-info-window): Doc fix.
10929 * subr.el (split-string): New arg TRIM.
10931 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10933 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10934 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10936 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10938 * filenotify.el (file-notify--library): Rename from
10939 `file-notify-support'. Do not autoload. Adapt all uses.
10940 (file-notify-supported-p): New defun.
10942 * autorevert.el (auto-revert-use-notify):
10943 Use `file-notify-supported-p' instead of `file-notify-support'.
10945 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10947 * net/tramp.el (tramp-file-name-for-operation):
10948 Add `file-notify-supported-p'.
10950 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10952 (tramp-sh-file-name-handler-alist): Add it as handler for
10953 `file-notify-supported-p '.
10955 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10956 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10958 Add `ignore' as handler for `file-notify-*' functions.
10960 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10962 * simple.el (line-move-partial, line-move): Don't start vscroll or
10963 scroll-up if the current line is not taller than the window.
10966 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10969 highlight question marks in the method names as strings.
10970 (ruby-block-beg-keywords): Inline.
10971 (ruby-font-lock-keyword-beg-re): Extract from
10972 `ruby-font-lock-keywords'.
10974 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10976 * frame.el (blink-cursor-blinks): New defcustom.
10977 (blink-cursor-blinks-done): New defvar.
10978 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10979 (blink-cursor-timer-function): Check if number of blinks has been
10981 (blink-cursor-suspend, blink-cursor-check): New defuns.
10983 2013-07-15 Glenn Morris <rgm@gnu.org>
10985 * edmacro.el (edmacro-format-keys): Fix previous change.
10987 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10989 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10990 The hack didn't work outside English locales anyway.
10992 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10994 * simple.el (define-alternatives): Rename from alternatives-define,
10995 per RMS' suggestion.
10997 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10999 * desktop.el (desktop-restore-frames): Change default to t.
11000 (desktop-restore-in-current-display): Now offer more options.
11001 (desktop-restoring-reuses-frames): New customization option.
11002 (desktop--saved-states): Doc fix.
11003 (desktop-filter-parameters-alist): New variable, renamed and expanded
11004 from desktop--excluded-frame-parameters.
11005 (desktop--target-display): New variable.
11006 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11007 (desktop--filter-tty*, desktop--filter-*-color)
11008 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11009 (desktop--filter-save-desktop-parm)
11010 (desktop-restore-in-original-display-p): New functions.
11011 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11012 (desktop--save-minibuffer-frames): New function, inspired by a similar
11013 function from Martin Rudalics.
11014 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11015 (desktop--restore-in-this-display-p): Remove.
11016 (desktop--find-frame): Rename from desktop--find-frame-in-display
11017 and add predicate argument.
11018 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11019 (desktop--reuse-list): New variable.
11020 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11022 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11024 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11026 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11028 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11030 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11031 Highlight conversion methods on Kernel.
11033 2013-07-13 Alan Mackenzie <acm@muc.de>
11035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11036 and comment it out. This out-commenting enables certain C++
11037 declarations to be parsed correctly.
11039 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11041 * international/mule.el (define-coding-system): Doc fix.
11043 * simple.el (default-font-height): Don't call font-info if the
11044 frame's default font didn't change since the frame was created.
11047 2013-07-13 Leo Liu <sdl.web@gmail.com>
11049 * ido.el (ido-read-file-name): Guard against non-symbol value.
11051 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11053 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11056 2013-07-13 Leo Liu <sdl.web@gmail.com>
11058 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11059 ido-set-matches call. (Bug#6852)
11061 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11063 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11064 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11066 (ruby-font-lock-keywords): Distinguish calls to functions with
11067 module-like names from module references. Highlight character
11070 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11072 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11073 (gdb-send): Handle continued commands. (Bug#14847)
11075 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11077 * desktop.el (desktop--v2s): Remove unused local variable.
11078 (desktop-save-buffer): Make defvar-local; adjust docstring.
11079 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11080 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11082 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11084 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11086 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11088 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11091 2013-07-12 Glenn Morris <rgm@gnu.org>
11093 * doc-view.el: Require cl-lib at runtime too.
11094 (doc-view-remove-if): Remove.
11095 (doc-view-search-next-match, doc-view-search-previous-match):
11098 * edmacro.el: Require cl-lib at runtime too.
11099 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11100 (edmacro-mismatch, edmacro-subseq): Remove.
11102 * shadowfile.el: Require cl-lib.
11103 (shadow-remove-if): Remove.
11104 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11107 * wid-edit.el: Require cl-lib.
11108 (widget-choose): Use cl-remove-if.
11109 (widget-remove-if): Remove.
11111 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11112 (ebrowse-delete-if-not): Remove.
11113 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11114 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11115 Use cl-delete-if-not.
11117 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11119 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11120 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11122 2013-07-12 Leo Liu <sdl.web@gmail.com>
11124 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11126 2013-07-11 Glenn Morris <rgm@gnu.org>
11128 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11129 (edebug-gensym-index, edebug-gensym):
11130 Remove reimplementation of cl-gensym.
11131 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11133 * thumbs.el: Require cl-lib at run-time too.
11134 (thumbs-gensym-counter, thumbs-gensym):
11135 Remove reimplementation of cl-gensym.
11136 (thumbs-temp-file): Use cl-gensym.
11138 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11139 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11140 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11141 (ert--union, ert--gensym-counter, ert--gensym-counter)
11142 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11143 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11144 (ert-make-test-unbound, ert--expand-should-1)
11145 (ert--expand-should, ert--should-error-handle-error)
11146 (should-error, ert--explain-equal-rec)
11147 (ert--plist-difference-explanation, ert-select-tests)
11148 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11149 Use cl-lib functions rather than reimplementations.
11151 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11153 * net/tramp.el (tramp-methods): Extend docstring.
11154 (tramp-connection-timeout): New defcustom.
11155 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11156 (with-tramp-progress-reporter): Simplify.
11157 (tramp-process-actions): Improve messages.
11159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11160 * net/tramp-sh.el (tramp-maybe-open-connection):
11161 Use `tramp-connection-timeout'.
11162 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11165 2013-07-11 Leo Liu <sdl.web@gmail.com>
11167 * ido.el (ido-read-file-name): Conform to the requirements of
11168 read-file-name. (Bug#11861)
11169 (ido-read-directory-name): Conform to the requirements of
11170 read-directory-name.
11172 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11174 * subr.el (delay-warning): New function.
11176 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11178 * simple.el (default-line-height): New function.
11179 (line-move-partial, line-move): Use it instead of computing the
11180 line height inline.
11181 (line-move-partial): Always compute ROWH. If the last line is
11182 partially-visible, but its text is completely visible, allow
11183 cursor to enter such a partially-visible line.
11185 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11187 Improve error messages. (Bug#14808)
11189 * net/tramp.el (tramp-current-connection): New defvar, moved from
11191 (tramp-message-show-progress-reporter-message): Remove, not
11193 (tramp-error-with-buffer): Show message in minibuffer.
11194 Discard input before waiting. Reset connection timestamp.
11195 (with-tramp-progress-reporter): Improve messages.
11196 (tramp-process-actions): Use progress reporter. Delete process in
11197 case of error. Improve messages.
11199 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11200 Call `tramp-error-with-buffer' with vector and buffer.
11201 (tramp-current-connection): Remove.
11202 (tramp-maybe-open-connection): The car of
11203 `tramp-current-connection' are the first 3 slots of the vector.
11205 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11207 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11208 inside continued strings.
11210 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11212 Timestamp fixes for undo (Bug#14824).
11213 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11215 2013-07-10 Leo Liu <sdl.web@gmail.com>
11217 * files.el (require-final-newline): Allow safe local value.
11220 2013-07-09 Leo Liu <sdl.web@gmail.com>
11222 * ido.el (ido-read-directory-name): Handle fallback.
11223 (ido-read-file-name): Update DIR to ido-current-directory.
11225 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11227 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11229 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11230 "autoload". Remove "warn lower camel case" section, previously
11231 commented out. Highlight negation char. Do not highlight the
11232 target in singleton method definitions.
11234 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11236 * faces.el (tty-setup-hook): Declare the hook.
11238 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11239 and detect when a guard/pred depends on local vars (bug#14773).
11240 (pcase--u1): Adjust caller.
11242 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11244 * simple.el (line-move-partial, line-move): Account for
11246 (line-move-partial): Avoid setting vscroll when the last
11247 partially-visible line in window is of default height.
11249 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11251 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11254 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11256 * subr.el (read-quoted-char): Remove unused local variable `char'.
11258 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11260 * ediff.el (ediff-version): Version update.
11261 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11262 (ediff-merge-with-ancestor-command, ediff-directories-command)
11263 (ediff-directories3-command, ediff-merge-directories-command)
11264 (ediff-merge-directories-with-ancestor-command): New functions.
11265 All are command-line interfaces to ediff: to facilitate calling
11266 Emacs with the appropriate ediff functions invoked.
11268 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11269 (viper-save-kill-buffer): Check if buffer is modified.
11271 * viper.el (viper-version): Version update.
11272 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11274 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11276 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11277 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11278 (viper-intercept-ESC-key): Simplify.
11279 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11280 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11281 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11282 (viper-setup-ESC-to-escape): New functions.
11283 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11284 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11286 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11288 * simple.el (default-font-height, window-screen-lines):
11290 (line-move, line-move-partial): Use them instead of
11291 frame-char-height and window-text-height. This makes scrolling
11292 text smoother when the buffer's default face uses a font that is
11293 different from the frame's default font.
11295 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11297 * files.el (write-file): Do not display confirm dialog for NS,
11298 it does its own dialog, which can't be canceled (Bug#14578).
11300 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11302 * simple.el (line-move-partial): Adjust the row returned by
11303 posn-at-point for the current window-vscroll. (Bug#14567)
11305 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11307 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11308 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11311 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11313 * window.el (window-state-put-stale-windows): New variable.
11314 (window--state-put-2): Save list of windows without matching buffer.
11315 (window-state-put): Remove "bufferless" windows if possible.
11317 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11319 * simple.el (alternatives-define): Remove leftover :group keyword.
11322 2013-07-06 Leo Liu <sdl.web@gmail.com>
11324 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11325 (ido-enable-virtual-buffers): New variable.
11326 (ido-buffer-internal, ido-toggle-virtual-buffers)
11327 (ido-make-buffer-list): Use it.
11328 (ido-exhibit): Support turning on and off virtual buffers
11331 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11333 * simple.el (alternatives-define): New macro.
11335 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11337 * subr.el (read-quoted-char): Use read-key.
11338 (sit-for): Let read-event decode tty input (bug#14782).
11340 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11342 * calendar/todo-mode.el: Add handling of file deletion, both by
11343 mode command and externally. Fix various related bugs.
11344 Clarify Commentary and improve some documentation strings and code.
11345 (todo-delete-file): New command.
11346 (todo-check-file): New function.
11347 (todo-show): Handle external deletion of the file we're trying to
11348 show (bug#14688). Replace called-interactively-p by an optional
11349 prefix argument to avoid problematic interaction with catch form
11350 when byte compiled (bug#14702).
11351 (todo-quit): Handle external deletion of the archive's todo file.
11352 Make sure the buffer that was visiting the archive file is still
11353 live before trying to bury it.
11354 (todo-category-completions): Handle external deletion of any
11355 category completion files.
11356 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11357 of todo files, in case of external deletion.
11358 (todo-add-file): Replace unnecessary setq by let-binding.
11359 (todo-find-archive): Check whether there are any archives.
11360 Replace unnecessary setq by let-binding.
11361 (todo-archive-done-item): Use find-file-noselect to get the
11362 archive buffer whether or not the archive already exists.
11363 Remove superfluous code. Use file size instead of buffer-file-name to
11364 check if the archive is new; if it is, update list of archives.
11365 (todo-default-todo-file): Allow nil to be a valid value for when
11366 there are no todo files.
11367 (todo-reevaluate-default-file-defcustom): Use corrected definition
11368 of todo-default-todo-file.
11369 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11370 (todo-delete-category, todo-show-categories-table)
11371 (todo-category-number): Clarify comment.
11372 (todo-filter-items): Clarify documentation string.
11373 (todo-show-current-file, todo-display-as-todo-file)
11374 (todo-reset-and-enable-done-separator): Tweak documentation string.
11375 (todo-done-separator): Make separator length window-width, since
11376 bug#2749 is now fixed.
11378 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11380 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11381 Support both "gvfs-monitor-dir" and "inotifywait".
11382 (tramp-sh-file-inotifywait-process-filter): Rename from
11383 `tramp-sh-file-notify-process-filter'.
11384 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11385 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11387 2013-07-05 Leo Liu <sdl.web@gmail.com>
11389 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11391 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11393 * frame.el (display-pixel-height, display-pixel-width)
11394 (display-mm-height, display-mm-width): Mention behavior on
11395 multi-monitor setups in docstrings.
11396 (w32-display-monitor-attributes-list): Declare function.
11397 (display-monitor-attributes-list): Use it.
11399 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11401 * filenotify.el: New package.
11403 * autorevert.el (top): Require filenotify.el.
11404 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11406 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11407 (auto-revert-notify-handler): Use `file-notify-*' functions.
11409 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11411 * net/tramp.el (tramp-file-name-for-operation):
11412 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11414 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11415 for `file-notify-add-watch' and `file-notify-rm-watch'.
11416 (tramp-process-sentinel): Improve trace.
11417 (tramp-sh-handle-file-notify-add-watch)
11418 (tramp-sh-file-notify-process-filter)
11419 (tramp-sh-handle-file-notify-rm-watch)
11420 (tramp-get-remote-inotifywait): New defuns.
11422 2013-07-03 Juri Linkov <juri@jurta.org>
11424 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11425 call of `occur-read-primary-args' to interactive spec.
11427 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11428 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11430 2013-07-03 Matthias Meulien <orontee@gmail.com>
11432 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11433 `Buffer-menu-multi-occur'. Add it to the menu.
11434 (Buffer-menu-mode): Document it in docstring.
11435 (Buffer-menu-multi-occur): New command. (Bug#14673)
11437 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11439 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11440 keywords and built-ins.
11442 2013-07-03 Glenn Morris <rgm@gnu.org>
11444 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11446 Make info-xref checks case-sensitive by default
11447 * info.el (Info-find-node, Info-find-in-tag-table)
11448 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11449 Add option for exact case matching of nodes.
11450 * info-xref.el (info-xref): New custom group.
11451 (info-xref-case-fold): New option.
11452 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11454 2013-07-03 Leo Liu <sdl.web@gmail.com>
11456 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11458 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11460 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11461 middle of block statement initially, lower the depth. Remove
11462 FIXME comment, not longer valid. Remove middle of block statement
11463 detection, no need to do that anymore since we've been using
11464 `ruby-parse-region' here.
11466 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11468 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11470 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11472 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11474 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11476 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11477 (desktop-restore-in-current-display): New customization option.
11478 (desktop--excluded-frame-parameters): Add `font'.
11479 (desktop--save-frames): Rename from desktop--save-windows.
11480 (desktop--restore-in-this-display-p): New function.
11481 (desktop--make-full-frame): Remove unwanted width/height from
11482 full(width|height) frames.
11483 (desktop--restore-frames): Rename from desktop--restore-windows.
11484 Obey desktop-restore-current-display. Do not delete old frames or
11485 select a new frame unless we were able to restore at least one frame.
11487 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11489 * files.el (find-file-noselect): Simplify conditional expression.
11491 * textmodes/remember.el (remember-append-to-file):
11492 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11494 Add `remember-notes' function to store random notes across Emacs
11496 * textmodes/remember.el (remember-data-file): Add :set callback to
11497 affect notes buffer (if any).
11498 (remember-notes): New command.
11499 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11500 New defcustoms for the `remember-notes' function.
11501 (remember-notes-save-and-bury-buffer): New command.
11502 (remember-notes-mode-map): New variable.
11503 (remember-mode): New minor mode.
11504 (remember-notes--kill-buffer-query): New function.
11505 * startup.el (initial-buffer-choice): Add notes to custom type.
11507 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11509 * bindings.el (right-char, left-char): Don't call sit-for, this is
11510 no longer needed. Use arithmetic comparison only for numerical
11513 * international/mule-cmds.el (select-safe-coding-system):
11514 Handle the case of FROM being a string correctly. (Bug#14755)
11516 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11518 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11519 progression on degenerate tables.
11520 (shr-rescale-image): ImageMagick animated images currently don't work.
11522 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11524 Some fixes and improvements for desktop frame restoration.
11525 It is still experimental and disabled by default.
11526 * desktop.el (desktop--save-windows): Put the selected frame at
11527 the head of the list.
11528 (desktop--make-full-frame): New function.
11529 (desktop--restore-windows): Try to re-select the frame that was
11530 selected upon saving. Do not abort if some frames fail to restore,
11531 just show an error message and continue. Set up maximized frames
11532 so they have default non-maximized dimensions.
11534 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11536 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11537 Don't start heredoc inside a string or comment.
11539 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11541 * bindings.el (visual-order-cursor-movement): New defcustom.
11542 (right-char, left-char): Provide visual-order cursor motion by
11543 calling move-point-visually. Update the doc strings.
11545 2013-06-28 Kenichi Handa <handa@gnu.org>
11547 * international/mule.el (define-coding-system): New coding system
11548 properties :inhibit-null-byte-detection,
11549 :inhibit-iso-escape-detection, and :prefer-utf-8.
11550 (set-buffer-file-coding-system): If :charset-list property of
11551 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11552 appropriate for setting.
11554 * international/mule-cmds.el (select-safe-coding-system):
11555 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11556 multibyte characters, return utf-8 (or one of its siblings).
11558 * international/mule-conf.el (prefer-utf-8): New coding system.
11559 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11562 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11564 * net/shr.el (shr-render-region): New function.
11566 * net/eww.el: Autoload `eww-browse-url'.
11568 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11571 Adapt to `package-desc-version' being a list.
11572 Use `package--ac-desc-version' to retrieve version from a package
11575 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11577 New experimental feature to save&restore window and frame setup.
11578 * desktop.el (desktop-save-windows): New defcustom.
11579 (desktop--saved-states): New var.
11580 (desktop--excluded-frame-parameters): New defconst.
11581 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11582 (desktop--restore-windows, desktop--save-windows): New functions.
11583 (desktop-save): Call `desktop--save-windows'.
11584 (desktop-read): Call `desktop--restore-windows'.
11586 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11588 * net/shr.el (add-face-text-property): Remove compat definition.
11590 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11592 * info.el (Info-try-follow-nearest-node): Move search for footnote
11593 above search for node name to prevent missing a footnote (bug#14717).
11595 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11597 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11599 2013-06-27 Leo Liu <sdl.web@gmail.com>
11601 * net/eww.el (eww-read-bookmarks): Check file size.
11603 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11606 advice--pending if newdef is nil or an autoload (bug#13820).
11607 (advice-mapc): New function.
11609 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11611 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11613 (eww-mode-map): Add a menu bar.
11614 (eww-add-bookmark): New command.
11615 (eww-bookmark-mode): New mode and commands.
11616 (eww-add-bookmark): Remove newlines from the title.
11617 (eww-bookmark-browse): Don't bug out if it's the only window.
11619 2013-06-26 Glenn Morris <rgm@gnu.org>
11621 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11622 (hfy-size): Handle ttys. (Bug#14668)
11624 * info-xref.el: Update for Texinfo 5 change in *note format.
11625 (info-xref-node-re, info-xref-note-re): New constants.
11626 (info-xref-check-buffer): Use info-xref-note-re.
11628 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11630 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11632 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11633 nil terminate the loop (bug#14718).
11635 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11637 * net/eww.el: Rework history traversal. When going forward/back,
11638 put these actions into the history, too, so that they can be
11640 (eww-render): Move the history reset to the correct buffer.
11642 2013-06-25 Juri Linkov <juri@jurta.org>
11644 * files-x.el (modify-dir-local-variable): Change the header comment
11645 in the file with directory local variables. (Bug#14692)
11647 * files-x.el (read-file-local-variable-value): Add `default'.
11650 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11652 * net/eww.el (eww-make-unique-file-name): Create a unique file
11653 name before saving to entering `y' accidentally asynchronously.
11655 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11657 * net/eww.el (eww-download): New command and keystroke.
11659 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11661 * net/eww.el (eww-copy-page-url): Change name of command.
11663 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11664 be more consistent with Info and dired.
11666 * net/eww.el (eww-mode-map): Ditto.
11668 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11670 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11671 packages from archives.
11672 (package-archive-contents): Change format; include obsolete packages.
11673 (package-desc): Use `dir' to mark builtin packages.
11674 (package--from-builtin): Set the `dir' field to `builtin'.
11675 (generated-autoload-file, version-control): Declare.
11676 (package-compute-transaction): Change first arg and return value to be
11677 lists of package-descs. Adjust to new package-archive-contents format.
11678 (package--add-to-archive-contents): Adjust to new
11679 package-archive-contents format.
11680 (package-download-transaction): Arg is now a list of package-descs.
11681 (package-install): If `pkg' is a package name, pass it as
11682 a requirement, so it is subject to the usual (e.g. disabled) checks.
11683 (describe-package): Accept package-desc as well.
11684 (describe-package-1): Describe a specific package-desc. Add links to
11685 other package-descs for the same package name.
11686 (package-menu-describe-package): Pass the actual package-desc.
11687 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11689 (package-desc-status): New function.
11690 (package-menu--refresh): New function, extracted
11691 from package-menu--generate.
11692 (package-menu--generate): Use it.
11693 (package-delete): Update package-alist.
11694 (package-menu-execute): Don't call package-initialize.
11696 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11697 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11698 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11699 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11700 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11701 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11703 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11705 * window.el (window--state-get-1): Workaround for bug#14527.
11706 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11708 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11710 * net/eww.el (eww-back-url): Implement the history by stashing all
11711 the data into a list.
11712 (eww-forward-url): Allow going forward in the history, too.
11714 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11716 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11717 for values and use read--expression for expressions (bug#14710).
11718 (read-file-local-variable): Avoid setq.
11719 (read-file-local-variable-mode): Use minor-mode-list.
11721 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11723 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11726 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11728 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11729 Update imenu-support when dialect changes.
11731 2013-06-25 Leo Liu <sdl.web@gmail.com>
11733 * ido.el (ido-read-internal): Allow forward slash on windows.
11735 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11737 * net/eww.el (eww): Start of strings is \\`, not ^.
11739 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11741 * net/shr.el (shr-browse-url): Fix interactive spec.
11743 * net/eww.el (eww): Add a trailing slash to domain names.
11745 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11747 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11749 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751 * net/shr.el (shr-browse-url): Use an external browser if given a
11754 * net/eww.el (eww-external-browser): Move to shr.
11756 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11758 * net/eww.el (eww): Work more correctly for file: URLs.
11759 (eww-detect-charset): Allow quoted charsets.
11760 (eww-yank-page-url): New command and keystroke.
11762 2013-06-24 Daiki Ueno <ueno@gnu.org>
11764 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11765 file name of gpg executable.
11766 (epg-context-program): New function.
11767 (epg-context-home-directory): New function.
11768 (epg-context-set-program): New function.
11769 (epg-context-set-home-directory): New function.
11770 (epg--start): Use `epg-context-program' instead of
11772 (epg--list-keys-1): Likewise.
11774 2013-06-24 Leo Liu <sdl.web@gmail.com>
11776 * ido.el (ido-read-internal): Fix bug#14620.
11778 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11780 * faces.el (face-documentation): Simplify.
11781 (read-face-attribute, tty-find-type, x-resolve-font-name):
11782 Use `string-match-p'.
11783 (list-faces-display): Use `string-match-p'. Simplify.
11784 (face-spec-recalc): Check face to avoid face alias loops.
11785 (read-color): Use `string-match-p' and non-capturing parenthesis.
11787 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11789 * net/shr.el (shr-rescale-image): Use the new
11790 :max-width/:max-height functionality.
11792 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11794 * net/eww.el (eww-search-prefix): New variable.
11796 (eww-external-browser): New variable.
11797 (eww-mode-map): New keystroke.
11798 (eww-browse-with-external-browser): New command.
11800 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11802 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11804 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11805 Don't skip aligning the next header field when padding is 0;
11806 otherwise, field width is not respected unless the title is as
11809 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * emacs-lisp/package.el (package-el-version): Remove.
11812 (package-process-define-package): Fix inf-loop.
11813 (package-install): Allow symbols as arguments again.
11815 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11818 add some more keyword-like methods.
11819 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11821 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11823 * bs.el (bs-buffer-show-mark): Make defvar-local.
11824 (bs-mode): Use setq-local.
11826 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11827 (emacs-lock--try-unlocking): Make defvar-local.
11829 2013-06-22 Glenn Morris <rgm@gnu.org>
11831 * play/cookie1.el (cookie-apropos): Minor simplification.
11833 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11835 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11837 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11838 `regexp-opt', it breaks the build during dumping.
11840 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11842 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11843 Highlight keyword-like methods on Kernel and Module with
11844 font-lock-builtin-face.
11845 (auto-mode-alist): Consolidate different entries into one regexp
11846 and add more *file-s.
11848 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11850 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11852 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11853 (diary-entry): Use it in the action of this button type instead of
11856 * calendar/todo-mode.el: New version.
11857 (todo-add-category): Append new category to end of file and give
11858 it the highest number, instead of putting it at the beginning and
11859 giving it 0. Incorporate noninteractive functionality.
11860 (todo-forward-category): Adapt to 1-based category numbering.
11861 Allow skipping over archived categories.
11862 (todo-backward-category): Derive from todo-forward-category.
11863 (todo-backward-item, todo-forward-item): Make noninteractive and
11864 delegate interactive part to new commands. Make sensitive to done items.
11865 (todo-categories): Make value an alist of category names and
11866 vectors of item counts.
11867 (todo-category-beg): Make a defconst.
11868 (todo-category-number): Use 1 instead of 0 as initial value.
11869 (todo-category-select): Make sensitive to overlays, optional item
11870 highlighting and done items.
11871 (todo-delete-item): Make sensitive to overlays and marked and done items.
11872 (todo-edit-item): Make sensitive to overlays and editing of
11873 date/time header optional. Add format checks.
11874 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11875 no-op if point is not on an item. Advertise using todo-edit-quit.
11876 (todo-edit-mode): Make sensitive to new format, font-locking, and
11877 multiple todo files.
11878 (todo-insert-item, todo-insert-item-here): Derive from
11879 todo-basic-insert-item and extend functionality.
11880 (todo-item-end, todo-item-start): Make sensitive to done items.
11881 (todo-item-string): Don't return text properties. Restore point.
11882 (todo-jump-to-category): Make sensitive to multiple todo files and
11883 todo archives. Use extended category completion.
11884 (todo-lower-item, todo-raise-item): Rename to *-priority and
11885 derive from todo-set-item-priority.
11886 (todo-mode): Derive from special-mode. Make sensitive to new
11887 format, font-locking and multiple todo files. Make read-only.
11888 (todo-mode-map): Don't suppress digit keys, so they can supply
11889 prefix arguments. Add many new key bindings.
11890 (todo-prefix): Insert as an overlay instead of file text.
11891 Change semantics from diary date expression to purely visual mark.
11892 (todo-print): Rename to todo-print-buffer. Make buffer display
11893 features printable. Remove option to restrict number of items
11894 printed. Add option to print to file.
11895 (todo-print-function): Rename to todo-print-buffer-function.
11896 (todo-quit): Extend to handle exiting new todo modes.
11897 (todo-remove-item): Make sensitive to overlays.
11898 (todo-save): Extend to buffers of filtered items.
11899 (todo-show): Make sensitive to done items, multiple todo files and
11900 new todo modes. Offer to convert legacy todo file before creating
11901 first new todo file.
11902 (todo-show-priorities): Rename to todo-top-priorities.
11903 Change semantics of value 0.
11904 (todo-top-priorities): Rename to todo-filter-top-priorities,
11905 derive from todo-filter-items and extend functionality.
11906 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11907 and extend functionality to other types of filtered items.
11908 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11909 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11910 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11911 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11912 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11913 (todo-edit-mode-hook, todo-entry-prefix-function)
11914 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11915 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11916 (todo-initials, todo-insert-threshold, todo-item-string-start)
11917 (todo-line-string, todo-menu, todo-mode-hook)
11918 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11919 (todo-print-priorities, todo-remove-separator)
11920 (todo-save-top-priorities-too, todo-string-count-lines)
11921 (todo-string-multiline-p, todo-time-string-format)
11922 (todo-tmp-buffer-name): Remove.
11923 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11924 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11925 (todo-edit-category-diary-inclusion)
11926 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11927 (todo-edit-file, todo-edit-item-date-day)
11928 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11929 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11930 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11931 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11932 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11933 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11934 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11935 (todo-filter-top-priorities-multifile, todo-find-archive)
11936 (todo-find-filtered-items-file, todo-go-to-source-item)
11937 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11938 (todo-jump-to-archive-category, todo-lower-category)
11939 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11940 (todo-move-category, todo-move-item, todo-next-button)
11941 (todo-next-item, todo-padded-string, todo-powerset)
11942 (todo-previous-button, todo-previous-item)
11943 (todo-print-buffer-to-file, todo-raise-category)
11944 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11945 (todo-set-category-number, todo-set-item-priority)
11946 (todo-set-top-priorities-in-category)
11947 (todo-set-top-priorities-in-file, todo-show-categories-table)
11948 (todo-sort-categories-alphabetically-or-numerically)
11949 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11950 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11951 (todo-toggle-item-header, todo-toggle-item-highlighting)
11952 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11953 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11954 (todo-unarchive-items, todo-unmark-category): New commands.
11955 (todo-absolute-file-name, todo-add-to-buffer-list)
11956 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11957 (todo-basic-insert-item, todo-category-completions)
11958 (todo-category-number, todo-category-string-matcher-1)
11959 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11960 (todo-check-format, todo-clear-matches)
11961 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11962 (todo-current-category, todo-date-string-matcher)
11963 (todo-define-insertion-command, todo-diary-expired-matcher)
11964 (todo-diary-goto-entry, todo-diary-item-p)
11965 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11966 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11967 (todo-done-item-section-p, todo-done-separator)
11968 (todo-done-string-matcher, todo-files, todo-filter-items)
11969 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11970 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11971 (todo-insert-category-line, todo-insert-item-from-calendar)
11972 (todo-insert-sort-button, todo-insert-with-overlays)
11973 (todo-insertion-command-name, todo-insertion-key-bindings)
11974 (todo-label-to-key, todo-longest-category-name-length)
11975 (todo-make-categories-list, todo-mode-external-set)
11976 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11977 (todo-modes-set-3, todo-multiple-filter-files)
11978 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11979 (todo-read-category, todo-read-date, todo-read-dayname)
11980 (todo-read-file-name, todo-read-time)
11981 (todo-reevaluate-category-completions-files-defcustom)
11982 (todo-reevaluate-default-file-defcustom)
11983 (todo-reevaluate-filelist-defcustoms)
11984 (todo-reevaluate-filter-files-defcustom)
11985 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11986 (todo-reset-done-separator, todo-reset-done-separator-string)
11987 (todo-reset-done-string, todo-reset-global-current-todo-file)
11988 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11989 (todo-reset-prefix, todo-set-categories)
11990 (todo-set-date-from-calendar, todo-set-show-current-file)
11991 (todo-set-top-priorities, todo-short-file-name)
11992 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11993 (todo-total-item-counts, todo-update-buffer-list)
11994 (todo-update-categories-display, todo-update-categories-sexp)
11995 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11997 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11999 (todo-categories, todo-display, todo-edit, todo-faces)
12000 (todo-filtered): New defgroups.
12001 (todo-archived-only, todo-button, todo-category-string, todo-date)
12002 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12003 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12004 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12005 (todo-add-item-if-new-category, todo-always-add-time-string)
12006 (todo-categories-align, todo-categories-archived-label)
12007 (todo-categories-category-label, todo-categories-diary-label)
12008 (todo-categories-done-label, todo-categories-number-separator)
12009 (todo-categories-todo-label, todo-categories-totals-label)
12010 (todo-category-completions-files, todo-completion-ignore-case)
12011 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12012 (todo-done-separator-string, todo-done-string)
12013 (todo-files-function, todo-filter-done-items, todo-filter-files)
12014 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12015 (todo-initial-category, todo-initial-file, todo-item-mark)
12016 (todo-legacy-date-time-regexp, todo-mode-line-function)
12017 (todo-nondiary-marker, todo-number-prefix)
12018 (todo-print-buffer-function, todo-show-current-file)
12019 (todo-show-done-only, todo-show-first, todo-show-with-done)
12020 (todo-skip-archived-categories, todo-top-priorities-overrides)
12021 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12022 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12024 (todo-category-done, todo-date-pattern, todo-date-string-start)
12025 (todo-diary-items-buffer, todo-done-string-start)
12026 (todo-filtered-items-buffer, todo-item-start)
12027 (todo-month-abbrev-array, todo-month-name-array)
12028 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12029 (todo-top-priorities-buffer): New defconsts.
12030 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12031 (todo-categories-with-marks, todo-category-string-face)
12032 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12033 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12034 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12035 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12036 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12037 (todo-font-lock-keywords, todo-global-current-todo-file)
12038 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12039 (todo-insertion-commands-args)
12040 (todo-insertion-commands-args-genlist)
12041 (todo-insertion-commands-names, todo-insertion-map)
12042 (todo-key-bindings-t, todo-key-bindings-t+a)
12043 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12044 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12045 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12046 (todo-visited): New variables.
12048 2013-06-21 Glenn Morris <rgm@gnu.org>
12050 * play/cookie1.el (cookie-apropos): Add optional display argument.
12051 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12052 (psychoanalyze-pinhead): Use cookie-doctor.
12054 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12056 * emacs-lisp/package.el (tar-get-file-descriptor)
12057 (tar--extract): Declare.
12059 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12061 Extend flymake's warning predicate to be a function (bug#14217).
12062 * progmodes/flymake.el (flymake-warning-predicate): New.
12063 (flymake-parse-line): Use it.
12064 (flymake-warning-re): Make obsolete alias to
12065 `flymake-warning-predicate'.
12067 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12069 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12070 (package-obsolete-list): Remove.
12071 (package-activate): Remove min-version argument. Add `force' argument.
12072 Adjust to new package-alist format.
12073 (package-mark-obsolete): Remove.
12074 (package-unpack): Force reload of the package's autoloads.
12075 (package-installed-p): Check builtins if the installed package is not
12077 (package-initialize): Don't reset package-obsolete-list.
12078 Don't specify which package version to activate.
12079 (package-process-define-package, describe-package-1)
12080 (package-menu--generate): Adjust to new package-alist format.
12082 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12084 * allout-widgets.el (allout-widgets-mode-off)
12085 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12086 (allout-widgets-post-command-business)
12087 (allout-widgets-after-copy-or-kill-function)
12088 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12089 (allout-decorate-item-and-context)
12090 (allout-graphics-modification-handler): Fix typos in docstrings.
12091 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12093 * cmuscheme.el (scheme-start-file): Doc fix.
12094 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12095 (scheme-input-filter): Use `string-match-p'.
12097 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12099 * dired-x.el: Use Dired consistently in docstrings.
12101 * dired.el: Use Dired consistently in docstrings.
12102 (dired-readin, dired-mode): Use `setq-local'.
12103 (dired-switches-alist): Make defvar-local.
12104 (dired-buffers-for-dir): Use `zerop'.
12105 (dired-safe-switches-p, dired-switches-escape-p)
12106 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12107 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12108 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12109 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12110 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12111 (dired-toggle-marks, dired-mark-files-containing-regexp)
12112 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12113 (dired-flag-auto-save-files, dired-flag-backup-files):
12114 Use `looking-at-p'.
12115 (dired-mark-files-regexp, dired-build-subdir-alist):
12116 Use `string-match-p', `looking-at-p'.
12118 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12119 (direct-print-region-helper): Use `string-match-p'.
12121 2013-06-21 Leo Liu <sdl.web@gmail.com>
12123 * comint.el (comint-redirect-results-list-from-process):
12126 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12128 * net/eww.el (eww-update-header-line-format): Quote % characters.
12130 2013-06-21 Glenn Morris <rgm@gnu.org>
12132 * play/cookie1.el (cookie): New custom group.
12133 (cookie-file): New option.
12134 (cookie-check-file): New function.
12135 (cookie): Make it interactive. Make start and end messages optional.
12136 Interactively, display the result. Default to cookie-file.
12137 (cookie-insert): Default to cookie-file.
12138 (cookie-snarf): Make start and end messages optional.
12139 Default to cookie-file. Use with-temp-buffer.
12140 (cookie-read): Rename from read-cookie.
12141 Make start and end messages optional. Default to cookie-file.
12142 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12143 Do not autoload it.
12144 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12145 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12147 2013-06-21 Leo Liu <sdl.web@gmail.com>
12149 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12151 2013-06-21 Glenn Morris <rgm@gnu.org>
12153 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12155 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12156 Daniel Hackney <dan@haxney.org>
12158 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12159 Consolidate the single-file vs tarball code.
12160 (package-desc-suffix): New function.
12161 (package-desc-full-name): Don't bother inlining it.
12162 (package-load-descriptor): Return the new package-desc.
12163 (package-mark-obsolete): Remove unused arg `package'.
12164 (package-unpack): Make it work for single files as well.
12165 Make it update package-alist.
12166 (package--make-autoloads-and-stuff): Rename from
12167 package--make-autoloads-and-compile. Don't compile any more.
12168 (package--compile): New function.
12169 (package-generate-description-file): New function, extracted from
12170 package-unpack-single.
12171 (package-unpack-single): Remove.
12172 (package--with-work-buffer): Add indentation and debugging info.
12173 (package-download-single): Remove.
12174 (package-install-from-archive): Rename from package-download-tar, make
12175 it take a pkg-desc, and make it work for single files as well.
12176 (package-download-transaction): Simplify.
12177 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12178 external tar program.
12179 (package-install-from-buffer): Remove `pkg-desc' argument.
12180 Use package-tar-file-info for tar-mode buffers.
12181 (package-install-file): Simplify accordingly.
12182 (package-archive-base): Change to take a pkg-desc.
12183 * tar-mode.el (tar--check-descriptor): New function, extracted from
12184 tar-get-descriptor.
12185 (tar-get-descriptor): Use it.
12186 (tar-get-file-descriptor): New function.
12187 (tar--extract): New function, extracted from tar-extract.
12188 (tar--extract): Use it.
12189 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12190 case the summary uses non-ascii. Adjust to new calling convention of
12191 package-tar-file-info.
12193 2013-06-21 Leo Liu <sdl.web@gmail.com>
12195 * comint.el (comint-redirect-results-list-from-process):
12196 Fix random delay. (Bug#14681)
12198 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12200 * profiler.el (profiler-format-number): Use log, not log10.
12202 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12204 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12206 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12208 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12209 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12211 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12212 (AUTOGENEL): ... here.
12213 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12214 (cl--defsubst-expand): Use it.
12216 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12218 * subr.el (log10): Move here from C code, and declare as obsolete.
12219 All uses of (log10 X) replaced with (log X 10).
12221 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12223 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12224 Declare with `defvar-local'.
12225 (tabulated-list-use-header-line, tabulated-list-entries)
12226 (tabulated-list-padding, tabulated-list-printer)
12227 (tabulated-list-sort-key): Declare with `defvar-local'.
12228 (tabulated-list-init-header, tabulated-list-print-fake-header):
12231 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12233 * arc-mode.el (archive-mode): Add `archive-write-file' to
12234 `write-contents-functions' also for remote files. (Bug#14652)
12236 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12238 * cus-edit.el (custom-commands): Fix typos.
12239 (custom-display): Fix tooltip text.
12240 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12241 Fix typos in docstrings.
12242 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12243 (custom-unlispify-menu-entry, custom-magic-value-create)
12244 (custom-add-see-also, custom-group-value-create): Use ?\s.
12245 (custom-guess-type, customize-apropos, editable-field)
12246 (custom-face-value-create): Use `string-match-p'.
12247 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12249 * custom.el (custom-load-symbol): Use `string-match-p'.
12251 * ansi-color.el: Convert to lexical binding.
12252 (ansi-colors): Fix URL.
12253 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12254 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12255 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12257 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12259 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12261 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12263 2013-06-19 Tom Tromey <tromey@redhat.com>
12265 * net/eww.el (eww-top-url): Remove.
12266 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12267 (eww-render): Set new variables. Don't set eww-top-url.
12268 (eww-handle-link): Handle "prev", "home", and "contents".
12269 Downcase the rel text.
12270 (eww-top-url): Choose best top URL.
12272 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12274 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12275 relying in widget.el. Using widget.el leads to too many
12276 user interface inconsistencies.
12277 (eww-self-insert): Implement entering commands in text fields.
12278 (eww-process-text-input): New function to make text input field editing
12280 (eww-submit): Rewrite to use the new-style form methods.
12281 (eww-select-display): Display the correct selected item.
12282 (eww-change-select): Implement changing the select value.
12283 (eww-toggle-checkbox): Implement radio/checkboxes.
12284 (eww-update-field): Fix compilation error.
12285 (eww-tag-textarea): Implement <textarea>.
12287 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12288 we don't shadow mode-specific bindings.
12290 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12293 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12295 2013-06-19 Glenn Morris <rgm@gnu.org>
12297 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12299 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12301 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12304 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12306 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12308 * net/browse-url.el (browse-url-browser-function):
12309 `eww-browse-url' has the right calling signature, `eww' does not.
12311 2013-06-19 Glenn Morris <rgm@gnu.org>
12313 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12314 Only eval autoloaded macros.
12315 (byte-compile-autoload): Only give the macro warning for macros.
12317 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12318 (ps-underlined-faces): Declare.
12320 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12321 (speedbar-add-supported-extension): Declare.
12323 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12324 Don't include a date stamp in the header of the generated file;
12325 it leads to needless differences between output files.
12327 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12329 * net/secrets.el (secrets-struct-secret-content-type):
12330 Replace check of introspection data by a test call of "CreateItem".
12331 Some servers do not offer introspection.
12333 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12335 * electric.el (electric-pair-mode): Improve interaction with
12336 electric-layout-mode.
12337 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12338 (electric-pair-syntax): Use text-mode-syntax-table in comments
12340 (electric-pair--insert): New function.
12341 (electric-pair-post-self-insert-function): Use it and
12342 electric--after-char-pos.
12344 2013-06-19 Leo Liu <sdl.web@gmail.com>
12346 * progmodes/octave.el (octave-help): Fix regexp.
12348 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12350 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12351 (shr-table-horizontal-line): Allow nil as a value, and change the
12353 (shr-insert-table-ruler): Respect the nil value.
12355 2013-06-18 Tom Tromey <tromey@barimba>
12357 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12359 (eww-open-file): New defun.
12360 (eww-render): Initialize new variables.
12361 (eww-display-html): Handle "link" and "a".
12362 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12363 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12364 (eww-back-url): Rename from eww-previous-url.
12365 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12368 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12370 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12371 Distinguish ternary operator tokens from slash symbol and slash
12374 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12376 Convert symbol prettification into minor mode and global minor mode.
12378 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12379 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12380 (prettify-symbols--keywords): Rename from
12381 `prog-prettify-symbols-alist' and make a local defvar.
12382 (prettify-symbols--compose-symbol): Rename from
12383 `prog--prettify-font-lock-compose-symbol'.
12384 (prettify-symbols--make-keywords): Rename from
12385 `prog-prettify-font-lock-symbols-keywords' and simplify.
12386 (prog-prettify-install): Remove.
12387 (prettify-symbols-mode): New minor mode, based on
12388 `prog-prettify-install'.
12389 (turn-on-prettify-symbols-mode): New function.
12390 (global-prettify-symbols-mode): New globalized minor mode.
12392 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12393 * progmodes/cfengine.el (cfengine3-mode):
12394 * progmodes/perl-mode.el (perl-mode): Don't call
12395 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12397 2013-06-18 Juri Linkov <juri@jurta.org>
12399 * files-x.el (modify-file-local-variable-message): New function.
12400 (modify-file-local-variable)
12401 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12402 and call `modify-file-local-variable-message' when it's non-nil.
12403 (add-file-local-variable, delete-file-local-variable)
12404 (add-file-local-variable-prop-line)
12405 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12406 and use it. (Bug#9820)
12408 2013-06-18 Juri Linkov <juri@jurta.org>
12410 * emulation/vi.el (vi-shell-op):
12411 * emulation/vip.el (vip-execute-com, ex-command):
12412 * emulation/viper-cmd.el (viper-exec-bang):
12413 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12414 the call of `shell-command-on-region'. (Bug#14637)
12416 * simple.el (shell-command-on-region): Doc fix.
12418 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12423 2013-06-18 Glenn Morris <rgm@gnu.org>
12425 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12427 * newcomment.el (comment-search-forward, comment-search-backward):
12428 Doc fix. (Bug#14376)
12430 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12432 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12433 (buffer-face-mode-invoke): Doc fix.
12435 2013-06-18 Matthias Meulien <orontee@gmail.com>
12437 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12438 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12440 2013-06-18 Glenn Morris <rgm@gnu.org>
12442 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12443 Replace obsolete function generic-make-keywords with its expansion.
12445 * progmodes/python.el (ffap-alist): Declare.
12447 * textmodes/reftex.el (bibtex-mode-map): Declare.
12449 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12451 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12452 (package-unpack, package-unpack-single): Return the pkg-dir.
12453 (package-download-transaction): Use it to update package-alist.
12455 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12457 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12460 2013-06-17 Juri Linkov <juri@jurta.org>
12462 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12464 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12466 * emacs-lisp/package.el (package-load-descriptor):
12467 Remove `with-syntax-table' call, `read' doesn't need it.
12468 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12470 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12472 * startup.el (command-line): Expand package name returned by
12473 `package--description-file' (bug#14639).
12475 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12477 * emacs-lisp/package.el (package-load-descriptor): Do not call
12478 `emacs-lisp-mode', just use its syntax table.
12480 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12482 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12483 `font-lock-extra-managed-props' if any prettifying keyword is added.
12484 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12485 (prog-mode): Use `setq-local'.
12487 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * international/characters.el (standard-case-table): Set syntax of ?»
12490 and ?« to punctuation.
12492 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12494 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12495 Save relevant match data before calling `syntax-ppss' (bug#14595).
12497 2013-06-15 Juri Linkov <juri@jurta.org>
12499 * files-x.el (modify-file-local-variable-prop-line): Add local
12500 variables to the end of the existing comment on the first line.
12501 Use `file-auto-mode-skip' to skip interpreter magic line,
12502 and also skip XML declaration.
12504 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * startup.el (package--builtin-versions): New var.
12507 (package-subdirectory-regexp): Remove.
12508 (package--description-file): Hard code its value instead.
12510 * emacs-lisp/package.el: Don't activate packages older than builtin.
12511 (package-obsolete-list): Rename from package-obsolete-alist, and make
12512 it into a simple list of package-desc.
12513 (package-strip-version): Remove.
12514 (package-built-in-p): Use package--builtin-versions.
12515 (package-mark-obsolete): Simplify.
12516 (package-process-define-package): Mark it obsolete if older than the
12518 (package-handle-response): Use line-end-position.
12519 (package-read-archive-contents, package--download-one-archive):
12521 (package--add-to-archive-contents): Skip if older than the builtin or
12523 (package-menu-describe-package): Fix last change.
12524 (package-list-unversioned): New var.
12525 (package-menu--generate): Use it.
12527 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12528 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12529 (autoload-builtin-package-versions): New variable.
12530 (autoload-generate-file-autoloads): Use them.
12531 Remove the list of autoloaded functions/macros from the
12532 (autoload...) comments.
12534 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12536 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12538 * simple.el (line-move-partial): Don't jump to the next screen
12539 line as soon as it becomes visible. Instead, continue enlarging
12540 the vscroll until the portion of a tall screen line that's left on
12541 display is about the height of the frame's default font.
12544 2013-06-15 Glenn Morris <rgm@gnu.org>
12546 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12547 compilation-error-regexp-alist void, or local while let-bound.
12549 * progmodes/make-mode.el (makefile-mode-syntax-table):
12550 Treat "=" as punctuation. (Bug#14614)
12552 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12554 * help-fns.el (describe-variable):
12555 Add extra line for permanent-local variables.
12557 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12559 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12560 Add export, import, library. (Bug#9164)
12561 (library): Set indent function.
12563 2013-06-14 Glenn Morris <rgm@gnu.org>
12565 * term/xterm.el (xterm--query):
12566 Stop after first matching handler. (Bug#14615)
12568 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12570 Add support for dired in saveplace.
12571 * dired.el (dired-initial-position-hook): New variable.
12572 (dired-initial-position): Call hook to place cursor position.
12573 * saveplace.el (save-place-to-alist): Add dired position.
12574 (save-place-dired-hook): New function.
12576 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12579 through a symbol rather than letrec.
12581 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12582 (package-desc): Add `dir' field.
12583 (package-desc-full-name): New function.
12584 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12585 (package-maybe-load-descriptor): Remove.
12586 (package-load-all-descriptors): Just call package-load-descriptor.
12587 (package--disabled-p): New function.
12588 (package-desc-vers, package-desc-doc): Remove aliases.
12589 (package--dir): Remove function.
12590 (package-activate): Check if a package is disabled.
12591 (package-process-define-package): New function, extracted from
12593 (define-package): Turn into a place holder.
12594 (package-unpack-single, package-tar-file-info):
12595 Use package--description-file.
12596 (package-compute-transaction): Use package--disabled-p.
12597 (package-download-transaction): Don't call
12598 package-maybe-load-descriptor since they're all loaded anyway.
12599 (package-install): Change argument to be a pkg-desc.
12600 (package-delete): Use a single pkg-desc argument.
12601 (describe-package-1): Use package-desc-dir instead of package--dir.
12602 Use package-desc property instead of package-symbol.
12603 (package-install-button-action): Adjust accordingly.
12604 (package--push): Rewrite.
12605 (package-menu--print-info): Adjust accordingly. Change the ID format
12607 (package-menu-describe-package, package-menu-get-status)
12608 (package-menu--find-upgrades, package-menu-mark-upgrades)
12609 (package-menu-execute, package-menu--name-predicate):
12610 Adjust accordingly.
12611 * startup.el (package--description-file): New function.
12612 (command-line): Use it.
12613 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12614 Use package-desc-version.
12616 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12617 (byte-compile-preprocess): Use it.
12618 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12619 can't quite recognize.
12620 (byte-compile-add-to-list): Remove.
12621 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12622 (cconv-closure-convert): Add assertion.
12624 * emacs-lisp/map-ynp.el: Use lexical-binding.
12625 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12626 Factor out some repeated code.
12628 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12630 * subr.el (with-eval-after-load): New macro.
12631 (eval-after-load): Allow form to be a function.
12632 take advantage of lexical-binding.
12633 (do-after-load-evaluation): Use dolist and adjust to new format.
12634 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12636 2013-06-13 Juri Linkov <juri@jurta.org>
12638 * replace.el (perform-replace): Display "symbol " and other search
12639 modes from `isearch-message-prefix' in the *Help* buffer.
12641 * isearch.el (isearch-query-replace): Add " symbol" and other
12642 possible search modes from `isearch-message-prefix' to the prompt.
12643 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12644 when reading a regexp to collect.
12646 2013-06-13 Juri Linkov <juri@jurta.org>
12648 * isearch.el (word-search-regexp): Match whitespace if the search
12649 string begins or ends in whitespace. The LAX arg is applied to
12650 both ends of the search string. Use `regexp-quote' and explicit
12651 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12652 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12653 boundaries are replaced with symbol boundaries, and characters
12654 between symbols match non-word non-symbol syntax. (Bug#14602)
12656 2013-06-13 Juri Linkov <juri@jurta.org>
12658 * isearch.el (isearch-del-char): Don't exceed the length of
12659 `isearch-string' by the prefix arg. (Bug#14563)
12661 2013-06-13 Juri Linkov <juri@jurta.org>
12663 * isearch.el (isearch-yank-word, isearch-yank-line)
12664 (isearch-char-by-name, isearch-quote-char)
12665 (isearch-printing-char, isearch-process-search-char):
12666 Add optional count prefix arg. (Bug#14563)
12668 * international/isearch-x.el
12669 (isearch-process-search-multibyte-characters):
12670 Add optional count prefix arg.
12672 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12674 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12675 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12678 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12680 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12682 2013-06-13 Glenn Morris <rgm@gnu.org>
12684 * startup.el (tty-handle-args):
12685 Don't just discard "--" and anything after. (Bug#14608)
12687 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12689 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12691 Implement changes in Secret Service API. Make it backward compatible.
12692 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12693 (secrets-create-item): Use it. Prefix properties with interface.
12695 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12697 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12698 (term-emulate-terminal): Respect term-suppress-hard-newline.
12700 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12702 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12703 Only remove a `thumb-file' overlay. (Bug#14548)
12705 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12707 * mail/reporter.el (reporter-submit-bug-report):
12708 Handle missing package-name. (Bug#14600)
12710 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12712 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12713 (reftex-citation-prompt, reftex-default-bibliography)
12714 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12715 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12716 (reftex-bib-sort-author, reftex-bib-sort-year)
12717 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12718 (reftex-extract-bib-entries-from-thebibliography)
12719 (reftex-get-bibkey-default, reftex-get-bib-names)
12720 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12721 (reftex-format-bib-entry, reftex-parse-bibitem)
12722 (reftex-format-bibitem, reftex-do-citation)
12723 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12724 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12725 (reftex-insert-bib-matches, reftex-format-citation)
12726 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12727 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12728 existing comments into docstrings.
12730 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12732 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12734 2013-06-12 Andreas Schwab <schwab@suse.de>
12736 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12737 for auto-save files.
12739 2013-06-12 Glenn Morris <rgm@gnu.org>
12741 * ido.el (ido-delete-ignored-files): Remove.
12742 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12743 Go back to calling ido-ignore-item-p directly.
12745 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12747 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12749 * ido.el (ido-delete-ignored-files): New function,
12750 split from ido-make-file-list-1.
12751 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12752 (ido-make-file-list-1): Use ido-delete-ignored-files.
12754 2013-06-12 Leo Liu <sdl.web@gmail.com>
12756 * progmodes/octave.el (inferior-octave-startup)
12757 (inferior-octave-completion-table)
12758 (inferior-octave-track-window-width-change)
12759 (octave-eldoc-function-signatures, octave-help)
12760 (octave-find-definition): Use single quoted strings.
12761 (inferior-octave-startup-args): Change default value.
12762 (inferior-octave-startup): Do not hard code "-i" and
12763 "--no-line-editing".
12764 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12765 (inferior-octave-directory-tracker): Use it.
12766 (octave-goto-function-definition): Robustify.
12767 (octave-help): Support highlighting operators in 'See also'.
12768 (octave-find-definition): Find subfunctions only in Octave mode.
12770 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * help-fns.el (help-fns--compiler-macro): If the handler function is
12773 named, then put a link to it.
12774 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12775 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12776 (cl-typep): Use it.
12777 (cl-eval-when): Simplify debug spec.
12778 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12779 compiler-macro function instead of setting `compiler-macro-file'.
12781 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12783 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12784 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12786 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12787 Daniel Hackney <dan@haxney.org>
12789 First part of Daniel Hackney's patch to package.el.
12790 * emacs-lisp/package.el: Use defstruct.
12791 (package-desc): New, main struct.
12792 (package--bi-desc, package--ac-desc): New structs, used to describe the
12793 format in external files.
12794 (package-desc-vers): Replace with package-desc-version accessor.
12795 (package-desc-doc): Replace with package-desc-summary accessor.
12796 (package-activate-1): Remove `package' arg since the pkg-vec now
12798 (define-package): Use package-desc-from-define.
12799 (package-unpack-single): Change file-name arg to be a symbol.
12800 (package--add-to-archive-contents): Use package-desc-create and new
12801 accessor functions to package--ac-desc.
12802 (package-buffer-info, package-tar-file-info): Return a package-desc.
12803 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12804 arg to be a package-desc.
12805 (package-install-file): Adjust accordingly. Use \' to match EOS.
12806 (package--from-builtin): New function.
12807 (describe-package-1, package-menu--generate): Use it.
12808 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12809 (package-generate-autoloads): Idem and return the name of the file.
12810 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12811 Change pkg-info arg to be a package-desc.
12812 Use package-make-ac-desc.
12813 (package-upload-file): Use \' to match EOS.
12814 * finder.el (finder-compile-keywords): Use package-make-builtin.
12816 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12818 * vc/vc.el (vc-deduce-fileset): Change error message.
12819 (vc-read-backend): New function.
12820 (vc-next-action): Use it.
12822 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12824 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12825 (prolog-font-lock-keywords): Use regexp-opt instead.
12826 Don't manually highlight strings.
12827 (prolog-mode-variables): Simplify comment-start-skip.
12828 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12830 * emacs-lisp/generic.el (generic--normalise-comments)
12831 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12832 (generic-mode-set-comments): Use them.
12833 (generic-bracket-support): Use setq-local.
12834 (generic-make-keywords-list): Declare obsolete.
12836 2013-06-11 Glenn Morris <rgm@gnu.org>
12838 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12839 Prettify after setting font-lock-defaults. (Bug#14574)
12841 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12843 * replace.el (query-replace, occur-read-regexp-defaults-function)
12845 * subr.el (declare-function, number-sequence, local-set-key)
12846 (substitute-key-definition, locate-user-emacs-file)
12847 (with-silent-modifications, split-string, eval-after-load):
12848 Fix typos, remove unneeded backslashes and reflow some docstrings.
12850 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12853 default for Elisp files.
12855 2013-06-11 Glenn Morris <rgm@gnu.org>
12857 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12858 although define-derived-mode was doing this anyway. (Bug#14583)
12860 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12862 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12863 Fix make-variable-buffer-local call to refer to the correct variable.
12865 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12867 * eshell/em-term.el (eshell-visual-commands)
12868 (eshell-visual-subcommands, eshell-visual-options):
12869 Add summary line to docstrings. Add cross-references.
12871 2013-06-10 Glenn Morris <rgm@gnu.org>
12873 * epa.el (epa-read-file-name): New function. (Bug#14510)
12874 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12876 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12878 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12879 output redirection to be ignored with visual commands.
12881 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12883 * eshell/em-term.el (eshell-visual-command-p): New function.
12884 (eshell-term-initialize): Move long lambda to separate function
12885 eshell-visual-command-p.
12886 * eshell/em-dirs.el (eshell-dirs-initialize):
12887 * eshell/em-script.el (eshell-script-initialize):
12888 Add missing #' to lambda.
12890 2013-06-08 Leo Liu <sdl.web@gmail.com>
12892 * progmodes/octave.el (octave-add-log-current-defun): New function.
12893 (octave-mode): Set add-log-current-defun-function.
12894 (octave-goto-function-definition): Do not move point if not found.
12895 (octave-find-definition): Enhance to try subfunctions first.
12897 2013-06-08 Glenn Morris <rgm@gnu.org>
12899 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12900 (byte-compile-backward-char, byte-compile-backward-word):
12901 Improve previous change, to handle non-explicit nil.
12903 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12905 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12906 (smie--opener/closer-at-point): New function.
12907 (smie--matching-block-data): Use it. Don't match from right after an
12908 opener or right before a closer. Obey smie-blink-matching-inners.
12909 Don't signal a mismatch for repeated inners like "switch..case..case".
12911 2013-06-07 Leo Liu <sdl.web@gmail.com>
12913 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12915 (octave-function-header-regexp): Fix. (Bug#14570)
12916 (octave-help-mode-finish-hook, octave-help-mode-finish):
12917 Remove. Just use temp-buffer-show-hook.
12919 * newcomment.el (comment-search-backward): Revert last change.
12922 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12924 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12926 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12927 through xargs, to avoid failure due to MS-Windows limitations on
12928 command-line length.
12930 2013-06-06 Glenn Morris <rgm@gnu.org>
12932 * font-lock.el (lisp-font-lock-keywords-2):
12933 Treat user-error like error.
12935 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12936 (byte-compile-backward-char, byte-compile-backward-word):
12937 Handle explicit nil arguments. (Bug#14565)
12939 2013-06-05 Alan Mackenzie <acm@muc.de>
12941 * isearch.el (isearch-allow-prefix): New user option.
12942 (isearch-other-meta-char): Don't exit isearch when a prefix
12943 argument is typed whilst `isearch-allow-prefix' is non-nil.
12946 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12948 * autorevert.el (auto-revert-notify-handler): Use memq.
12949 Hide assertion failure.
12951 * skeleton.el: Use cl-lib.
12952 (skeleton-further-elements): Use defvar-local.
12953 (skeleton-insert): Use cl-progv.
12955 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12957 * progmodes/prog-mode.el (prog-prettify-symbols)
12958 (prog-prettify-install): Update docstrings.
12960 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12962 * simple.el: Move all the prog-mode code to prog-mode.el.
12963 * progmodes/prog-mode.el: New file.
12964 * loadup.el: Add prog-mode.el.
12966 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12968 * simple.el (prog-prettify-symbols): Add version.
12969 (prog-prettify-install): Add convenience function to prettify symbols.
12971 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12972 (perl--augmented-font-lock-keywords-1)
12973 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12974 variables and use it.
12976 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12977 (cfengine3-mode): Remove unneeded variable and use it.
12979 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12980 (lisp--augmented-font-lock-keywords-1)
12981 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12982 Remove unneeded variables and use it.
12984 2013-06-05 João Távora <joaotavora@gmail.com>
12986 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12987 to point when opening the connection. (Bug#14380)
12989 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12991 * subr.el (load-history-regexp, load-history-filename-element)
12992 (eval-after-load, after-load-functions, do-after-load-evaluation)
12993 (eval-next-after-load, display-delayed-warnings)
12994 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12995 definition of save-match-data.
12996 (overriding-local-map): Remove accidental obsolescence declaration.
12998 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13000 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13002 Generalize symbol prettify support to prog-mode and implement it
13003 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13004 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13005 (prog--prettify-font-lock-compose-symbol)
13006 (prog-prettify-font-lock-symbols-keywords): New variables and
13007 functions to support symbol prettification.
13008 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13009 (lisp--augmented-font-lock-keywords-1)
13010 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13011 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13012 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13013 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13014 Implement prettify of -> => :: strings.
13015 * progmodes/perl-mode.el (perl-prettify-symbols)
13016 (perl--font-lock-compose-symbol)
13017 (perl--font-lock-symbols-keywords): Move to prog-mode.
13018 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13019 (perl-font-lock-keywords-1)
13020 (perl-font-lock-keywords-2): Remove explicit prettify support.
13021 (perl--augmented-font-lock-keywords)
13022 (perl--augmented-font-lock-keywords-1)
13023 (perl--augmented-font-lock-keywords-2, perl-mode):
13024 Implement prettify support.
13026 2013-06-05 Leo Liu <sdl.web@gmail.com>
13028 Re-implement SMIE matching block highlight using
13029 show-paren-data-function. (Bug#14395)
13030 * emacs-lisp/smie.el (smie-matching-block-highlight)
13031 (smie--highlight-matching-block-overlay)
13032 (smie--highlight-matching-block-lastpos)
13033 (smie-highlight-matching-block)
13034 (smie-highlight-matching-block-mode): Remove.
13035 (smie--matching-block-data-cache): New variable.
13036 (smie--matching-block-data): New function.
13037 (smie-setup): Use smie--matching-block-data for
13038 show-paren-data-function.
13040 * progmodes/octave.el (octave-mode-menu): Fix.
13041 (octave-find-definition): Skip garbage lines.
13043 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13045 Fix compilation error with simultaneous dynamic+lexical scoping.
13046 Add warning when a defvar appears after the first let-binding.
13047 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13048 (byte-compile-close-variables): Initialize it.
13049 (byte-compile--declare-var): New function.
13050 (byte-compile-file-form-defvar)
13051 (byte-compile-file-form-define-abbrev-table)
13052 (byte-compile-file-form-custom-declare-variable): Use it.
13053 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13054 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13055 (byte-compile-bind): Handle dynamic bindings that shadow
13057 (byte-compile-unbind): Make arg non-optional.
13058 (byte-compile-let): Simplify.
13059 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13060 (cconv--analyse-function, cconv-analyse-form): Populate it.
13061 Protect byte-compile-bound-variables to limit the scope of defvars.
13062 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13063 Remove unneeded rule for `declare'.
13065 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13066 so as to avoid depending on cl-adjoin at run-time.
13067 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13069 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13070 (macroexp--warn-and-return): Use it.
13072 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13074 * subr.el: Convert to lexical binding.
13075 (overriding-local-map): Make obsolete.
13076 (add-to-list): Doc fix. Add compiler macro.
13077 (read-key): Swap values of local maps.
13079 2013-06-05 Leo Liu <sdl.web@gmail.com>
13081 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13083 2013-06-04 Leo Liu <sdl.web@gmail.com>
13085 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13086 (compilation-auto-jump): Suppress the "Mark set" message to give
13087 way to exit message.
13089 2013-06-04 Alan Mackenzie <acm@muc.de>
13091 Remove faulty optimisation from indentation calculation.
13092 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13093 search limit based on 2000 characters back from indent-point.
13095 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13097 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13099 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13101 * emacs-lisp/lisp.el: Use lexical-binding.
13102 (lisp--local-variables-1, lisp--local-variables): New functions.
13103 (lisp--local-variables-completion-table): New var.
13104 (lisp-completion-at-point): Use it complete let-bound vars.
13106 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13107 eagerly (bug#14422).
13109 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13111 * autorevert.el (auto-revert-notify-enabled)
13112 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13113 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13114 (auto-revert-notify-handler): Handle also gfilenotify.
13116 * subr.el (file-notify-handle-event): New defun. Replacing ...
13117 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13120 2013-06-03 Juri Linkov <juri@jurta.org>
13122 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13123 `M-s h .'. (Bug#14427)
13125 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13126 command `hi-lock-face-symbol-at-point'.
13127 (hi-lock-face-symbol-at-point): New command.
13128 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13129 (hi-lock-menu): Add `highlight-symbol-at-point'.
13130 (hi-lock-mode): Doc fix.
13132 * isearch.el (isearch-forward-symbol-at-point): New command.
13133 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13134 (isearch-highlight-regexp): Add a regexp which matches
13135 words/symbols for word/symbol mode.
13137 * subr.el (find-tag-default-bounds): New function with the body
13138 mostly moved from `find-tag-default'.
13139 (find-tag-default): Move most code to `find-tag-default-bounds',
13140 call it and apply `buffer-substring-no-properties' afterwards.
13142 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13144 * eshell/em-term.el (eshell-term-initialize):
13145 Use `cl-intersection' rather than `intersection'.
13147 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13149 * vc/log-view.el: Doc fix.
13150 (log-view-mode-map): Copy keymap from `special-mode-map'.
13152 2013-06-02 Eric Ludlam <zappo@gnu.org>
13154 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13155 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13156 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13157 (eieio-unbound, eieio-default-superclass)
13158 (eieio--define-field-accessors, method-static, method-before)
13159 (method-primary, method-after, method-num-lists)
13160 (method-generic-before, method-generic-primary)
13161 (method-generic-after, method-num-slots)
13162 (eieio-specialized-key-to-generic-key)
13163 (eieio--check-type, class-v, class-p)
13164 (eieio-class-name, define-obsolete-function-alias)
13165 (eieio-class-parents-fast, eieio-class-children-fast)
13166 (same-class-fast-p, class-constructor, generic-p)
13167 (generic-primary-only-p, generic-primary-only-one-p)
13168 (class-option-assoc, class-option, eieio-object-p)
13169 (class-abstract-p, class-method-invocation-order)
13170 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13171 (eieio-class-un-autoload, eieio-defclass)
13172 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13173 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13174 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13175 (eieio-defgeneric-reset-generic-form)
13176 (eieio-defgeneric-form-primary-only)
13177 (eieio-defgeneric-reset-generic-form-primary-only)
13178 (eieio-defgeneric-form-primary-only-one)
13179 (eieio-defgeneric-reset-generic-form-primary-only-one)
13180 (eieio-unbind-method-implementations)
13181 (eieio--defmethod, eieio--typep)
13182 (eieio-perform-slot-validation, eieio-validate-slot-value)
13183 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13184 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13185 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13186 (eieio-slot-name-index, eieio-class-slot-name-index)
13187 (eieio-set-defaults, eieio-initarg-to-attribute)
13188 (eieio-attribute-to-initarg, eieio-c3-candidate)
13189 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13190 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13191 (eieio-class-precedence-list, eieio-generic-call-methodname)
13192 (eieio-generic-call-arglst, eieio-generic-call-key)
13193 (eieio-generic-call-next-method-list)
13194 (eieio-pre-method-execution-functions, eieio-generic-call)
13195 (eieio-generic-call-primary-only, eieiomt-method-list)
13196 (eieiomt-optimizing-obarray, eieiomt-install)
13197 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13198 (eieio-generic-form, eieio-defmethod, make-obsolete)
13199 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13200 (defclass): Remove `eval-and-compile' from macro.
13201 (call-next-method, shared-initialize): Instead of using
13202 `scoped-class' variable, use new eieio--scoped-class, and
13203 eieio--with-scoped-class.
13204 (initialize-instance): Rename local variable 'scoped-class' to
13205 'this-class' to remove ambiguitity from old global.
13207 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13209 (eieio--scoped-class-stack): New variable.
13210 (eieio--scoped-class): New fcn.
13211 (eieio--with-scoped-class): New scoping macro.
13212 (eieio-defclass): Use pushnew instead of add-to-list.
13213 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13214 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13215 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13216 `scoped-class' variable, use new eieio--scoped-class, and
13217 eieio--with-scoped-class.
13219 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13221 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13223 * eshell/esh-ext.el (eshell-external-command): Pass args to
13224 `eshell-find-interpreter'.
13225 (eshell-find-interpreter): Add new second parameter ARGS.
13227 * eshell/em-script.el (eshell-script-initialize): Add second arg
13228 to the function added as MATCH to `eshell-interpreter-alist'.
13230 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13231 the function added as MATCH to `eshell-interpreter-alist'.
13233 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13234 (eshell-visual-options): New defcustom.
13235 (eshell-escape-control-x): Adapt docstring.
13236 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13237 `eshell-visual-options' in addition to `eshell-visual-commands'.
13238 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13240 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13242 * progmodes/python.el (python-indent-block-enders): Add break,
13243 continue and raise keywords.
13245 2013-06-01 Glenn Morris <rgm@gnu.org>
13247 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13249 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13250 * progmodes/cc-cmds.el (delete-forward-p):
13251 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13252 * progmodes/cc-engine.el (buffer-syntactic-context):
13253 * progmodes/cc-fonts.el (face-property-instance):
13254 * progmodes/cc-mode.el (set-keymap-parents):
13255 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13256 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13257 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13258 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13259 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13261 * progmodes/cc-vars.el (other): Emacs has this widget since
13262 at least 21.1, so don't (re)define it.
13264 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13265 Replace the obsolete alias pcomplete-arg-quote-list.
13267 2013-06-01 Leo Liu <sdl.web@gmail.com>
13269 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13270 punctuation syntax.
13271 (inferior-octave-minimal-columns)
13272 (inferior-octave-last-column-width): New variables.
13273 (inferior-octave-track-window-width-change): New function.
13274 (inferior-octave-mode): Adjust column width so that Octave output,
13275 for example from 'ls', can fit into the window nicely.
13277 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13279 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13280 Highlight expansions inside regexp literals.
13282 2013-05-31 Glenn Morris <rgm@gnu.org>
13284 * obsolete/sym-comp.el (symbol-complete):
13285 Replace obsolete completion-annotate-function.
13287 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13289 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13291 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13292 New function, checks if point is inside a literal that allows
13293 expression expansion.
13294 (ruby-syntax-propertize-expansion): Use it.
13295 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13298 2013-05-30 Juri Linkov <juri@jurta.org>
13300 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13302 (isearch-invisible): New variable.
13303 (isearch-forward): Doc fix.
13304 (isearch-mode): Set `isearch-invisible'
13305 to the value of `search-invisible'.
13306 (isearch-toggle-case-fold): Doc fix.
13307 (isearch-toggle-invisible): New command.
13308 (isearch-query-replace): Let-bind `search-invisible'
13309 to the value of `isearch-invisible'.
13310 (isearch-search): Use `isearch-invisible' instead of
13311 `search-invisible'. Let-bind `search-invisible'
13312 to the value of `isearch-invisible'. (Bug#11378)
13314 2013-05-30 Juri Linkov <juri@jurta.org>
13316 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13317 call when `query-flag' is nil and `search-invisible' is non-nil.
13320 2013-05-30 Glenn Morris <rgm@gnu.org>
13322 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13324 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13325 (cc-require): Suppress spurious "noruntime" warnings.
13326 (cc-require-when-compile): Use fboundp, for sake of compiler.
13328 * progmodes/cc-mode.el: Move load of cc-vars before that of
13329 cc-langs (which in turn loads cc-vars), to quieten compiler.
13331 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13333 * paren.el: Simplify the code.
13334 (show-paren-mode): Always start the timer.
13335 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13336 (show-paren--overlay, show-paren--overlay-1): Rename from
13337 show-paren-overlay and show-paren-overlay-1, and initialize to an
13338 overlay rather than to nil.
13339 (show-paren-function): Misc cleanup and simplifications.
13341 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13343 * paren.el (show-paren-data-function): New hook.
13344 (show-paren--default): New function, extracted from show-paren-function.
13345 (show-paren-function): Use show-paren-data-function.
13347 2013-05-30 Glenn Morris <rgm@gnu.org>
13349 * ielm.el (ielm-map, ielm-complete-symbol):
13350 Use completion-at-point rather than obsolete functions.
13351 (inferior-emacs-lisp-mode): Doc fix.
13352 Set completion-at-point-functions, rather than
13353 comint-dynamic-complete-functions.
13355 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13356 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13357 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13359 * image.el (image-animated-p): Tweak definition.
13361 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13362 (rlogin-process-connection-type): Tweak default. Add set-after.
13363 (rlogin-host): Doc fix.
13364 (rlogin): Tweak prompt.
13365 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13367 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13368 * progmodes/tcl.el (inferior-tcl-mode-map):
13369 Use completion-at-point rather than obsolete alias.
13371 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13373 * minibuffer.el (read-file-name-completion-ignore-case):
13374 Move before completion--in-region, for eager macro expansion.
13376 2013-05-29 Juri Linkov <juri@jurta.org>
13378 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13379 for total count of matching lines. Add `global-matches' for total
13380 count of matches. Rename `matches' to `lines' for count of
13381 matching lines. Add `matches' for count of matches.
13382 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13383 to `prev-line' for line number of prev match endpt.
13384 Increment `matches' for every match. Print the number of
13385 matching lines in the header.
13386 (occur-context-lines): Rename `lines' to `curr-line'.
13387 Rename `prev-lines' to `prev-line'. (Bug#14017)
13389 2013-05-29 Juri Linkov <juri@jurta.org>
13391 * replace.el (perform-replace): Add `skip-read-only-count',
13392 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13393 Increment them for corresponding conditions and report the number
13394 of skipped occurrences in the final message. (Bug#11746)
13395 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13396 (replace-string, replace-regexp): Doc fix.
13398 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13400 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13402 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13403 prog-mode-map (bug#14504).
13405 2013-05-29 Leo Liu <sdl.web@gmail.com>
13407 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13408 (octave-help): Small simplification.
13410 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13411 off the highlight first.
13413 2013-05-29 Glenn Morris <rgm@gnu.org>
13415 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13416 Handle idlwave-last-system-routine-info-cons-cell being nil.
13418 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13419 (idlwave-write-paths): Simplify via with-temp-buffer.
13421 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13422 * emulation/cua-rect.el: Also load cua-base at run time.
13424 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13425 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13426 (cperl-imenu-on-info): Require imenu.
13428 2013-05-28 Alan Mackenzie <acm@muc.de>
13430 Handle "capitalised keywords" correctly.
13431 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13433 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13435 * eshell/em-unix.el: Add -r option to cp.
13437 2013-05-28 Glenn Morris <rgm@gnu.org>
13439 * vc/vc-arch.el (vc-exec-after): Declare.
13440 (vc-switches): Autoload.
13441 * vc/vc-bzr.el: No need to require vc when compiling.
13442 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13443 (vc-resynch-buffer, vc-dir-refresh): Declare.
13444 (vc-setup-buffer, vc-switches): Autoload.
13445 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13446 (vc-resynch-buffer): Declare.
13447 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13448 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13449 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13450 (grep-read-regexp, grep-read-files, grep-expand-template)
13451 (vc-dir-refresh): Declare.
13452 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13453 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13454 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13455 * vc/vc-mtn.el (vc-exec-after): Declare.
13456 (vc-switches): Autoload.
13457 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13458 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13459 (vc-file-tree-walk): Declare.
13460 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13461 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13462 (vc-tag-precondition, vc-rename-master): Autoload.
13463 * vc/vc-svn.el (vc-exec-after): Declare.
13464 (vc-switches, vc-setup-buffer): Autoload.
13465 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13467 (vc-resynch-buffer): Declare.
13469 * obsolete/fast-lock.el (byte-compile-warnings):
13470 Don't warn about obsolete features in this obsolete file.
13472 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13473 Move definition before use.
13475 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13476 (dun-unix-verbs): Remove dun-zippy.
13477 (dun-zippy): Remove function.
13479 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13481 2013-05-27 Juri Linkov <juri@jurta.org>
13483 * replace.el (replace-search): New function with code moved out
13484 from `perform-replace'.
13485 (replace-highlight, replace-dehighlight): Move function definitions
13486 up closer to `replace-search'. (Bug#11746)
13488 2013-05-27 Juri Linkov <juri@jurta.org>
13490 * replace.el (perform-replace): Ignore invisible matches.
13491 In addition to checking `query-replace-skip-read-only', also
13492 filter out matches by calling `run-hook-with-args-until-failure'
13493 on `isearch-filter-predicates', and also check `search-invisible'
13494 for t or call `isearch-range-invisible'.
13495 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13497 2013-05-27 Juri Linkov <juri@jurta.org>
13499 * isearch.el (isearch-filter-predicates): Rename from
13500 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13501 (isearch-message-prefix): Display text from the property
13502 `isearch-message-prefix' of the currently active filters.
13503 (isearch-search): Don't compare `isearch-filter-predicate' with
13504 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13505 on `isearch-filter-predicates'. Also check `search-invisible' for t
13506 or call `isearch-range-invisible'.
13507 (isearch-filter-visible): Make obsolete.
13508 (isearch-lazy-highlight-search):
13509 Call `run-hook-with-args-until-failure' on
13510 `isearch-filter-predicates' and use `isearch-range-invisible'.
13512 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13513 `isearch-filter-predicates' instead of `funcall'ing
13514 `isearch-filter-predicate'.
13515 (Info-mode): Set `Info-isearch-filter' to
13516 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13518 * dired-aux.el (dired-isearch-filter-predicate-orig):
13520 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13521 (dired-isearch-filenames-end): Add and remove
13522 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13523 instead of changing the value of `isearch-filter-predicate'.
13524 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13525 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13526 Put property `isearch-message-prefix' to "filename " on
13527 `dired-isearch-filter-filenames'.
13529 * wdired.el (wdired-change-to-wdired-mode):
13530 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13531 locally instead of changing `isearch-filter-predicate'.
13532 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13534 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13536 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13537 return the commit hash (Bug#14459). Also set the
13538 `vc-git-detached' property.
13539 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13540 (vc-git-mode-line-string): Use the same help-echo format whether
13541 in detached mode or not, because we know the actual revision now.
13542 When in detached mode, shorten the revision to 7 chars.
13544 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13546 * emacs-lisp/easy-mmode.el (define-minor-mode):
13547 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13548 mode hook and provide a docstring.
13550 2013-05-27 Alan Mackenzie <acm@muc.de>
13552 Remove spurious syntax-table text properties inserted by C-y.
13553 * progmodes/cc-mode.el (c-after-change): Also clear hard
13554 syntax-table property with value nil.
13556 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13558 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13559 when reading the events; the buffer layout shall not be changed.
13561 2013-05-27 Leo Liu <sdl.web@gmail.com>
13563 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13565 (inferior-octave-directory-tracker): Automatically re-sync
13567 (octave-help): Improve handling of 'See also'.
13569 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13571 * doc-view.el: Minor naming convention tweaks.
13572 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13574 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13575 even if there's no `display' property yet (bug#14435).
13577 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13579 * subr.el (unmsys--file-name): Rename from reveal-filename.
13581 * Makefile.in (custom-deps, finder-data, autoloads)
13582 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13583 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13584 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13586 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13589 error-completion on the first 2 args of condition-case (bug#14446).
13592 2013-05-25 Leo Liu <sdl.web@gmail.com>
13594 * comint.el (comint-previous-matching-input): Do not flood the
13595 *Messages* buffer with trivial messages.
13597 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13599 * progmodes/flymake.el (flymake-nop): Don't return a string.
13600 (flymake-set-at): Fix typo.
13602 * simple.el (read--expression): New function, extracted from
13603 eval-expression. Set completion-at-point-functions (bug#14465).
13604 (eval-expression, eval-minibuffer): Use it.
13606 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13608 * progmodes/flymake.el (flymake-save-buffer-in-file)
13609 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13610 (flymake-selected-frame, flymake-log, flymake-ins-after)
13611 (flymake-set-at, flymake-get-buildfile-from-cache)
13612 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13613 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13614 Refine the doc string.
13615 (flymake-get-file-name-mode-and-masks): Reformat.
13616 (flymake-get-real-file-name-function): Fix a minor bug.
13618 2013-05-24 Juri Linkov <juri@jurta.org>
13620 * progmodes/grep.el (grep-mode-font-lock-keywords):
13621 Support =linenumber= format used by git-grep for lines with
13622 function names. (Bug#13549)
13624 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13626 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13627 0 after a semi-colon; it works better for smie-auto-fill.
13628 (octave--indent-new-comment-line): New function.
13629 (octave-indent-new-comment-line): Use it (indirectly).
13630 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13631 modify comment-line-break-function.
13633 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13634 (smie-setup): Use add-function to set it.
13636 2013-05-24 Sam Steingold <sds@gnu.org>
13638 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13639 argument (before the `interactive' argument).
13641 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13643 * image-mode.el (image-mode-winprops): Add winprops to
13644 image-mode-winprops-alist before running
13645 image-mode-new-window-functions.
13646 * doc-view.el (doc-view-new-window-function): Don't delay
13647 doc-view-goto-page via timers (bug#14435).
13649 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13651 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13652 (doc-view-desktop-save-buffer): New function.
13653 (doc-view-restore-desktop-buffer): New function.
13654 (desktop-buffer-mode-handlers):
13655 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13657 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13658 `desktop-save-buffer' function.
13660 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13662 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13663 (tramp-gvfs-file-name-handler): Raise a user error when
13664 `tramp-gvfs-enabled' is nil.
13665 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13666 Do not raise a user error when loading package. (Bug#14447)
13668 * net/xesam.el: Move to obsolete/.
13670 2013-05-24 Glenn Morris <rgm@gnu.org>
13672 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13674 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13676 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13677 (Info-find-node, Man-getpage-in-background): Declare.
13679 * mail/unrmail.el (unrmail):
13680 Replace obsolete detect-coding-with-priority.
13682 * net/socks.el (socks-split-string): Use this rather than split-string.
13683 (socks-nslookup-host): Update for above change.
13684 (dynamic-choice, s5-dynamic-choice-match)
13685 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13686 Comment out unused code.
13688 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13689 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13690 (gud-tooltip-echo-area): Make obsolete.
13691 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13693 * progmodes/js.el (js--optimize-arglist): Declare.
13695 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13697 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13698 (ediff-window-C): Declare.
13700 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13701 Tweak requires to silence compiler.
13703 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13704 (he-search-string, he-tried-table, he-expand-list)
13705 (he-init-string, he-string-member, he-substitute-string)
13706 (he-reset-string): Declare.
13708 * obsolete/options.el (list-options): Use custom-variable-p,
13709 rather than obsolete alias.
13711 2013-05-23 Sam Steingold <sds@gnu.org>
13713 * simple.el (shell-command-on-region): Pass the `replace' argument
13714 down to `call-process-region' to comply with the doc as reported on
13715 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13717 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13719 * emacs-lisp/smie.el (smie-indent-forward-token)
13720 (smie-indent-backward-token): Handle string tokens (bug#14381).
13722 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13724 * ielm.el (ielm-menu): New menu.
13725 (inferior-emacs-lisp-mode): Set comment-start.
13727 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13729 * textmodes/reftex.el (reftex-ref-style-toggle):
13730 Fix deactivate action.
13732 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13733 Add cleveref macros.
13735 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13736 Accept options for bibliography commands.
13737 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13738 Add addbibresource. Basic Biblatex support.
13740 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13742 * net/tramp-gvfs.el (top):
13743 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13744 when loading package. (Bug#14447)
13746 2013-05-23 Glenn Morris <rgm@gnu.org>
13748 * progmodes/js.el: No need to load comint when compiling.
13749 (ring-insert, comint-send-string, comint-send-input)
13750 (comint-last-input-end, ido-chop): Declare.
13752 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13753 * vc/ediff-mult.el: Adjust requires.
13754 (ediff-directories-internal, ediff-directory-revisions-internal)
13755 (ediff-patch-file-internal): Declare.
13756 * vc/ediff-ptch.el: Adjust requires.
13757 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13758 (ediff-find-file): Autoload.
13759 * vc/ediff-util.el: No need to load ediff when compiling.
13760 (ediff-regions-internal): Declare.
13761 * vc/ediff-wind.el: Adjust requires.
13762 (ediff-compute-toolbar-width): Define when compiling.
13763 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13764 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13765 (dired-get-filename, dired-get-marked-files)
13766 (ediff-last-dir-patch, ediff-patch-default-directory)
13767 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13768 (ediff-patch-buffer-internal): Declare.
13770 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13771 (ispell-process, ispell-buffer-local-words, lm-summary)
13772 (lm-section-start, lm-section-end): Declare.
13773 (checkdoc-ispell-init): Simplify.
13775 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13776 (he-string-member, he-reset-string, he-substitute-string): Declare.
13778 * eshell/em-ls.el: Adjust requires.
13779 (eshell-glob-regexp): Declare.
13780 * eshell/em-tramp.el: Adjust requires.
13781 (eshell-parse-command): Autoload.
13782 * eshell/em-xtra.el: Adjust requires.
13783 (eshell-parse-command): Autoload.
13784 * eshell/esh-ext.el: Adjust requires.
13785 (eshell-parse-command, eshell-close-handles): Autoload.
13786 * eshell/esh-io.el: Adjust requires.
13787 (eshell-output-filter): Autoload.
13788 * eshell/esh-util.el: No need to load tramp when compiling.
13789 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13791 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13792 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13793 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13794 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13795 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13796 * eshell/esh-opt.el, eshell/esh-proc.el:
13797 * eshell/esh-var.el: Adjust requires.
13798 * eshell/eshell.el: Do not require esh-util twice.
13799 (eshell-add-input-to-history): Declare.
13800 (eshell-command): Check history module is active before using it.
13802 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13804 2013-05-22 Leo Liu <sdl.web@gmail.com>
13806 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13808 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13810 * autorevert.el (auto-revert-notify-add-watch)
13811 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13812 it indicates changes in file modification time.
13814 2013-05-22 Glenn Morris <rgm@gnu.org>
13816 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13817 Always delete the autoloaded function from the noruntime and
13818 unresolved functions lists.
13820 * allout.el: No need to load epa, epg, overlay when compiling.
13821 (epg-context-set-passphrase-callback, epg-list-keys)
13822 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13823 (epg-key-user-id-list): Declare.
13825 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13826 (viper-set-parsing-style-toggling-macro)
13827 (viper-set-emacs-state-searchstyle-macros):
13828 Use called-interactively-p on Emacs.
13829 (viper-looking-back): Make it an obsolete alias. Update callers.
13830 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13831 Use looking-back rather than viper-looking-back.
13832 (viper-tmp-insert-at-eob, viper-enlarge-region)
13833 (viper-read-string-with-history, viper-register-to-point)
13834 (viper-append-to-register, viper-change-state-to-vi)
13835 (viper-backward-char-carefully, viper-forward-char-carefully)
13836 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13837 (viper-change-state-to-emacs): Declare.
13838 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13839 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13840 * emulation/viper-mous.el: Do not load viper-cmd.
13841 (viper-backward-char-carefully, viper-forward-char-carefully)
13842 (viper-forward-word, viper-adjust-window): Declare.
13844 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13846 * progmodes/idlw-help.el (idlwave-help-fontify):
13847 Use called-interactively-p.
13849 * term/w32console.el (w32-get-console-codepage)
13850 (w32-get-console-output-codepage): Declare.
13852 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13853 Remove unnecessary declarations.
13854 (dframe-message): Doc fix.
13856 * info.el (dframe-select-attached-frame, dframe-current-frame):
13859 * speedbar.el (speedbar-message): Make it an obsolete alias.
13860 Update all callers.
13861 (speedbar-with-attached-buffer)
13862 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13863 (speedbar-with-writable): Use backquote.
13864 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13865 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13866 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13867 rather than speedbar- aliases.
13868 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13869 (speedbar-make-specialized-keymap, speedbar-insert-button)
13870 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13871 (speedbar-do-function-pointer): Declare.
13872 (rmail-speedbar-button, rmail-speedbar-find-file)
13873 (rmail-speedbar-move-message):
13874 Use dframe-with-attached-buffer rather than speedbar- alias.
13875 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13876 (dframe-message, speedbar-make-specialized-keymap)
13877 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13878 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13879 (speedbar-insert-button, dframe-select-attached-frame)
13880 (dframe-maybee-jump-to-attached-frame)
13881 (speedbar-change-initial-expansion-list)
13882 (speedbar-previously-used-expansion-list-name): Declare.
13883 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13884 Use dframe-message, dframe-with-attached-buffer rather than
13886 (gud-sentinel): Silence compiler.
13887 * progmodes/vhdl-mode.el (speedbar-refresh)
13888 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13889 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13890 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13891 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13892 (speedbar-file-lists, speedbar-make-tag-line)
13893 (speedbar-line-directory, speedbar-goto-this-file)
13894 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13895 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13896 (speedbar-make-button, speedbar-reset-scanners)
13897 (speedbar-files-item-info, speedbar-line-text)
13898 (speedbar-find-file-in-frame, speedbar-set-timer)
13899 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13900 (speedbar-with-writable): Do not (re)define it.
13901 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13902 rather than speedbar- alias.
13904 2013-05-21 Leo Liu <sdl.web@gmail.com>
13906 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13908 (octave-mode): Tweak fill-nobreak-predicate.
13909 (inferior-octave-startup): Check process to avoid infinite loop.
13910 (inferior-octave): Pop to buffer first to show abornmal process
13913 2013-05-21 Glenn Morris <rgm@gnu.org>
13915 * printing.el (pr-menu-bar): Define when compiling.
13917 2013-05-21 Leo Liu <sdl.web@gmail.com>
13919 * progmodes/octave.el (octave-auto-fill): Remove.
13920 (octave-indent-new-comment-line): Improve.
13921 (octave-mode): Use auto fill mode through
13922 comment-line-break-function and fill-nobreak-predicate.
13923 (octave-goto-function-definition): Support DEFUN_DLD.
13924 (octave-beginning-of-defun): Small tweak.
13925 (octave-help): Show parent directory.
13927 2013-05-21 Glenn Morris <rgm@gnu.org>
13929 * files.el (dired-unmark):
13930 * progmodes/gud.el (gdb-input): Update declarations.
13932 * calculator.el (electric, ehelp): No need to load when compiling.
13933 (Electric-command-loop, electric-describe-mode): Declare.
13935 * doc-view.el (doc-view-current-converter-processes): Move before use.
13937 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13938 Move MODE-set-explicitly definition before use.
13940 * international/mule-diag.el (mule-diag):
13941 Don't use obsolete window-system-version.
13943 * mail/feedmail.el (smtpmail): No need to load when compiling.
13944 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13946 * mail/mail-utils.el (rfc822): No need to load when compiling.
13947 (rfc822-addresses): Autoload it.
13948 (mail-strip-quoted-names): Trivial simplification.
13950 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13951 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13953 * net/snmp-mode.el (tempo): Don't duplicate requires.
13955 * progmodes/prolog.el (info): No need to load when compiling.
13956 (comint): Require before shell requires it.
13957 (Info-goto-node): Autoload it.
13958 (Info-follow-nearest-node): Declare.
13959 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13961 * textmodes/artist.el (picture-mode-exit): Declare.
13963 * textmodes/reftex-parse.el (reftex-parse-from-file):
13964 Trivial rewrite so the compiler can parse it better.
13966 2013-05-20 Leo Liu <sdl.web@gmail.com>
13968 * progmodes/octave.el (octave-help-mode-map)
13969 (octave-help-mode-finish-hook): New variables.
13970 (octave-help-mode, octave-help-mode-finish): New functions.
13971 (octave-help): Use octave-help-mode.
13973 2013-05-20 Glenn Morris <rgm@gnu.org>
13975 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13977 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13979 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13980 start at point, so that expansion starting right after opening
13981 slash in a regexp is recognized.
13982 (ruby-syntax-before-regexp-re): New defvar, extracted from
13983 ruby-syntax-propertize-function. Since the value of this regexp
13984 is looked up at runtime now, we should be able to turn
13985 `ruby-syntax-methods-before-regexp' into a defcustom later.
13986 (ruby-syntax-propertize-function): Split regexp matching into two
13987 parts, for opening and closing slashes. That allows us to skip
13988 over string interpolations and support multiline regexps.
13989 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13990 for them, which calls `ruby-syntax-propertize-expansion'.
13991 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13992 call to `ruby-syntax-propertize-function'.
13993 (ruby-syntax-propertize-expansion): Extracted from
13994 `ruby-syntax-propertize-expansions'. Handles one expansion.
13995 (ruby-syntax-propertize-percent-literal): Leave point right after
13996 the percent symbol, so that the expression expansion rule can
13997 propertize the contents.
13998 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14000 (ruby-syntax-propertize-expansions): Remove.
14002 2013-05-18 Juri Linkov <juri@jurta.org>
14004 * man.el (Man-default-man-entry): Remove `-' from the end
14005 of the default value. (Bug#14400)
14007 2013-05-18 Glenn Morris <rgm@gnu.org>
14009 * comint.el (comint-password-prompt-regexp):
14010 Allow "password for XXX" where XXX contains colons (eg https://...).
14012 2013-05-18 Leo Liu <sdl.web@gmail.com>
14014 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14015 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14016 (octave-source-directories): Don't check process.
14017 (octave-source-directories, octave-find-definition): Doc fix.
14019 2013-05-18 Glenn Morris <rgm@gnu.org>
14021 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14022 Remove backspace/delete bindings. (Bug#14392)
14024 * cus-dep.el (custom-make-dependencies): Sort the output.
14025 (custom-versions-load-alist): Convert comment to doc.
14027 2013-05-17 Leo Liu <sdl.web@gmail.com>
14029 * newcomment.el (comment-search-backward): Stricter in finding
14030 comment start. (Bug#14303)
14032 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14033 (octave-comment-start-skip): Properly anchored.
14035 2013-05-17 Leo Liu <sdl.web@gmail.com>
14037 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14038 Clean up when turned off. (Bug#14395)
14039 (smie--highlight-matching-block-overlay): No longer buffer-local.
14040 (smie-highlight-matching-block): Adjust.
14042 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14044 Doc string fix for "nanoseconds" (Bug#14406).
14045 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14046 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14048 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14050 * calc/calc-units.el (math-extract-units): Preserve powers
14053 2013-05-17 Leo Liu <sdl.web@gmail.com>
14055 * subr.el (delete-consecutive-dups): New function.
14056 * ido.el (ido-set-matches-1): Use it.
14057 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14058 * ido.el (ido-remove-consecutive-dups): Remove.
14060 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14062 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14063 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14064 regexp-opt's `words'.
14066 2013-05-16 Leo Liu <sdl.web@gmail.com>
14068 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14069 (smie--highlight-matching-block-overlay)
14070 (smie--highlight-matching-block-lastpos)
14071 (smie--highlight-matching-block-timer): New variables.
14072 (smie-highlight-matching-block): New function.
14073 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14074 (smie-setup): Conditionally enable smie-blink-matching-open.
14076 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14078 Sync with upstream verilog-mode r840.
14079 * progmodes/verilog-mode.el (verilog-mode-version)
14080 (verilog-mode-release-date): Update.
14081 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14082 (verilog-sig-tieoff): Fix string error on
14083 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14084 (verilog-read-decls): Fix parameters confusing
14085 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14087 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14089 * subr.el (reveal-filename): New function.
14091 * loadup.el: Compute Emacs executable versions on MS-Windows,
14092 where executables have the .exe extension. Add a hard link
14093 emacs-XX.YY.ZZ.exe on MS-Windows.
14095 * Makefile.in (XARGS_LIMIT): New variable.
14096 (custom-deps, finder-data, autoloads)
14097 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14098 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14099 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14100 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14102 2013-05-16 Leo Liu <sdl.web@gmail.com>
14104 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14105 (octave-mode-menu, octave-mode-map): Remove its uses.
14107 2013-05-16 Reto Zimmermann <reto@gnu.org>
14109 Sync with upstream vhdl mode v3.34.2.
14110 * progmodes/vhdl-mode.el: Use `push' throughout.
14111 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14112 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14113 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14114 (vhdl-actual-generic-name): New option to derive actual generic name.
14115 (vhdl-port-paste-signals): Replace formal by actual generics.
14116 (vhdl-beautify): New name for old group vhdl-align. Update users.
14117 (vhdl-beautify-options): New option.
14118 (vhdl-last-input-event): New compat alias. Use throughout.
14119 (vhdl-goto-line): Replace user level function `goto-line'.
14120 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14121 vhdl-fix-statement-buffer.
14122 (vhdl-create-mode-menu): Add some entries.
14123 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14124 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14125 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14126 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14127 to force statements on one line.
14128 (vhdl-remove-trailing-spaces-region):
14129 New, split from vhdl-remove-trailing-spaces.
14130 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14131 Respect vhdl-beautify-options.
14132 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14133 (vhdl-update-sensitivity-list): Not add with index if exists without.
14134 Not include array index with signal. Ignore keywords in comments.
14135 (vhdl-get-visible-signals): Regexp tweaks.
14136 (vhdl-template-component-inst): Handle empty library.
14137 (vhdl-template-type): Add template for 'enum' type.
14138 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14139 Use vhdl-replace-string.
14140 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14141 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14142 (vhdl-speedbar-initialize): Update for above name change.
14143 (vhdl-compose-wire-components): Fix in handling of constants.
14144 (vhdl-error-regexp-emacs-alist): New variable.
14145 (vhdl-error-regexp-add-emacs): New function;
14146 adds support for new compile.el (Emacs 22+)
14147 (vhdl-generate-makefile-1): Change target order for single lib. units.
14148 Allow use of absolute file names.
14150 2013-05-16 Leo Liu <sdl.web@gmail.com>
14152 * simple.el (prog-indent-sexp): Indent enclosing defun.
14154 2013-05-15 Glenn Morris <rgm@gnu.org>
14156 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14157 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14158 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14159 (whitespace-highlight): Move to whitespace group.
14161 * comint.el (comint-source):
14162 * pcmpl-linux.el (pcmpl-linux):
14163 * shell.el (shell-faces):
14164 * eshell/esh-opt.el (eshell-opt):
14165 * international/ccl.el (ccl): Remove empty custom groups.
14167 * completion.el (dynamic-completion-mode):
14168 * jit-lock.el (jit-lock-debug-mode):
14169 * minibuffer.el (completion-in-region-mode):
14170 * type-break.el (type-break-mode-line-message-mode)
14171 (type-break-query-mode):
14172 * emulation/tpu-edt.el (tpu-edt-mode):
14173 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14174 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14175 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14177 * term/xterm.el (xterm): Change parent group to terminals.
14179 * master.el (master): Remove empty custom group.
14180 (master-mode): Remove unused :group argument.
14181 * textmodes/refill.el (refill): Remove empty custom group.
14182 (refill-mode): Remove unused :group argument.
14184 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14186 * cus-dep.el: Provide a feature.
14187 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14188 Don't mistakenly ignore files whose basenames match a basename
14189 from preloaded-file-list (eg cedet/ede/simple.el).
14190 Add a fallback method for getting :group.
14192 2013-05-15 Juri Linkov <juri@jurta.org>
14194 * isearch.el (isearch-char-by-name): Rename from
14195 `isearch-insert-char-by-name'. Doc fix.
14196 (isearch-forward): Mention `isearch-char-by-name' in
14197 the docstring. (Bug#13348)
14199 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14200 `exit-minibuffer' instead of
14201 `isearch-nonincremental-exit-minibuffer'.
14202 (isearch-edit-string): Remove mention of
14203 `isearch-nonincremental-exit-minibuffer' from docstring.
14204 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14205 (isearch-forward-exit-minibuffer)
14206 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14208 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14210 * loadup.el: Just use unversioned DOC.
14212 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14213 literals as extending to EOB.
14214 (nxml-last-fontify-end): Remove unused variable.
14215 (nxml-after-change1): Use with-silent-modifications.
14216 (nxml-extend-after-change-region): Simplify.
14217 (nxml-extend-after-change-region1): Remove function.
14218 (nxml-after-change1): Don't adjust for dependent regions.
14219 (nxml-fontify-matcher): Simplify.
14220 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14221 (xmltok-add-dependent): Remove function.
14222 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14223 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14224 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14225 unclosed <[[, <?, comment, and other literals as extending to EOB.
14226 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14227 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14229 (rng-do-some-validation-1): Don't mark dependent regions.
14230 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14231 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14232 (nxml-clear-dependent-regions): Remove functions.
14233 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14234 (nxml-ensure-scan-up-to-date):
14235 Don't clear&mark dependent regions.
14237 2013-05-15 Leo Liu <sdl.web@gmail.com>
14239 * progmodes/octave.el (octave-goto-function-definition):
14240 Improve and fix callers.
14242 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14244 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14245 the setter (bug#14387).
14247 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14248 surrounding group (bug#14402).
14250 2013-05-14 Juri Linkov <juri@jurta.org>
14252 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14255 2013-05-14 Glenn Morris <rgm@gnu.org>
14257 * progmodes/f90.el (f90-imenu-generic-expression):
14258 Fix typo in 2013-05-08 change. (Bug#14402)
14260 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14262 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14263 Remove signals for which replies are never received.
14265 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14267 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14268 (gdb-handler-alist, gdb-handler-number): Remove variables.
14269 (gdb-handler-list): New variable.
14270 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14271 (gdb-pending-handler-p, gdb-handle-reply)
14272 (gdb-remove-all-pending-triggers): New functions.
14273 (gdb-discard-unordered-replies): New defcustom.
14274 (gdb-handler): New defstruct.
14275 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14276 instead of gdb-pending-triggers. Update docstring.
14277 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14278 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14279 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14280 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14281 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14282 (gdb-frame-handler): Pending triggers are now automatically managed.
14283 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14285 (gdb-input): Automatically handles pending triggers. Update docstring.
14286 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14287 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14289 (gdb-done-or-error): Now use gdb-handle-reply.
14291 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14293 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14296 2013-05-14 Glenn Morris <rgm@gnu.org>
14298 * subr.el (user-emacs-directory-warning): New option.
14299 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14301 2013-05-14 Leo Liu <sdl.web@gmail.com>
14303 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14305 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14306 (octave-font-lock-texinfo-comment): Fix invalid search bound
14307 error: wrong side of point.
14309 2013-05-14 Glenn Morris <rgm@gnu.org>
14311 * progmodes/flymake.el (flymake-xml-program): New option.
14312 (flymake-xml-init): Use it.
14314 * term/xterm.el: Provide a feature.
14316 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14318 2013-05-13 Glenn Morris <rgm@gnu.org>
14320 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14321 Add compat aliases as a hack workaround. (Bug#14384)
14323 2013-05-13 Leo Liu <sdl.web@gmail.com>
14325 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14327 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14329 (octave-comment-start-skip): Include %!.
14330 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14332 2013-05-12 Leo Liu <sdl.web@gmail.com>
14334 * progmodes/octave.el (inferior-octave-startup): Store the value
14335 of __octave_srcdir__ for octave-source-directories.
14336 (inferior-octave-check-process): New function refactored out of
14337 inferior-octave-send-list-and-digest.
14338 (octave-source-directories)
14339 (octave-find-definition-filename-function): New variables.
14340 (octave-source-directories)
14341 (octave-find-definition-default-filename): New functions.
14342 (octave-find-definition): Improve to find functions implemented in C++.
14344 2013-05-12 Glenn Morris <rgm@gnu.org>
14346 * calendar/diary-lib.el (diary-outlook-format-1):
14347 Don't include dayname in the output. (Bug#14349)
14349 2013-05-11 Glenn Morris <rgm@gnu.org>
14351 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14353 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14354 Treat cc-provide like provide.
14356 2013-05-11 Kevin Ryde <user42@zip.com.au>
14358 * cus-dep.el (custom-make-dependencies):
14359 Use generated-autoload-load-name for the sake of files such
14360 such cedet/semantic/bovine/c.el, where the base file name
14361 is not in load-path. (Bug#5277)
14363 2013-05-11 Glenn Morris <rgm@gnu.org>
14365 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14368 2013-05-11 Leo Liu <sdl.web@gmail.com>
14370 * progmodes/octave.el (octave-indent-comment): Improve.
14371 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14372 (octave-eldoc-function-signatures, octave-eldoc-function):
14374 (octave-mode, inferior-octave-mode): Add eldoc support.
14376 2013-05-11 Richard Stallman <rms@gnu.org>
14378 * epa.el (epa-decrypt-file): Take output file name as argument
14379 and read it using `interactive'.
14381 2013-05-11 Leo Liu <sdl.web@gmail.com>
14383 * progmodes/octave.el (octave-beginning-of-line)
14384 (octave-end-of-line): Check before using up-list because it jumps
14385 out of more syntactic contructs since moving to smie.
14386 (octave-indent-comment): New function.
14387 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14388 (octave-begin-keywords, octave-end-keywords)
14389 (octave-reserved-words, octave-smie-bnf-table)
14390 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14392 2013-05-11 Glenn Morris <rgm@gnu.org>
14394 * faces.el (internal-face-x-get-resource):
14395 * frame.el (ns-display-monitor-attributes-list):
14396 * calc/calc-aent.el (math-to-radians-2):
14397 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14400 * calc/calc-menu.el: Make it loadable in isolation.
14402 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14403 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14404 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14405 (eudc-bbdb-query-internal): Require 'bbdb.
14407 * lpr.el (lpr-headers-switches):
14408 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14410 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14412 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14414 * term.el (term-set-escape-char): Make it idempotent.
14416 2013-05-10 Leo Liu <sdl.web@gmail.com>
14418 * progmodes/octave.el (inferior-octave-completion-table):
14419 No longer a function and all uses changed. Use cache to speed up
14420 completion due to bug#11906.
14421 (octave-beginning-of-defun): Re-write to be more general.
14423 2013-05-10 Glenn Morris <rgm@gnu.org>
14425 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14427 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14429 * comint.el (comint-redirect-send-command-to-process): Use :around
14430 rather than :override for comint-redirect-filter.
14431 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14432 Call it instead of comint-redirect-original-filter-function (which
14433 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14435 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14437 * frame.el (display-monitor-attributes-list): Add NS case.
14438 (ns-display-monitor-attributes-list): Declare.
14440 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14442 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14444 2013-05-09 Glenn Morris <rgm@gnu.org>
14446 * international/fontset.el (vertical-centering-font-regexp):
14447 Set standard-value.
14449 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14451 * bookmark.el (bookmark-search-delay):
14452 * cus-start.el (vertical-centering-font-regexp):
14453 * ps-mule.el (ps-mule-font-info-database-default):
14454 * ps-print.el (ps-default-fg, ps-default-bg):
14455 * type-break.el (type-break-good-break-interval):
14456 * whitespace.el (whitespace-indentation-regexp)
14457 (whitespace-space-after-tab-regexp):
14458 * emacs-lisp/testcover.el (testcover-1value-functions)
14459 (testcover-noreturn-functions, testcover-progn-functions)
14460 (testcover-prog1-functions):
14461 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14462 * eshell/em-glob.el (eshell-glob-translate-alist):
14463 * play/tetris.el (tetris-tty-colors):
14464 * progmodes/cpp.el (cpp-face-default-list):
14465 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14466 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14467 (idlwave-help-browser-generic-args):
14468 * progmodes/make-mode.el (makefile-special-targets-list):
14469 * progmodes/python.el (python-shell-virtualenv-path):
14470 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14471 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14472 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14473 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14474 * textmodes/reftex-vars.el (reftex-format-label-function):
14475 * textmodes/remember.el (remember-diary-file): Fix custom types.
14477 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14480 2013-05-09 Leo Liu <sdl.web@gmail.com>
14482 * progmodes/octave.el (inferior-octave-completion-at-point):
14483 Restore file completion. (Bug#14300)
14484 (inferior-octave-startup): Fix incorrect highlighting for the
14487 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14489 * progmodes/ruby-mode.el: First cut at SMIE support.
14490 (ruby-use-smie): New var.
14491 (ruby-smie-grammar): New constant.
14492 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14493 (ruby-smie--forward-token, ruby-smie--backward-token)
14494 (ruby-smie-rules): New functions.
14495 (ruby-mode-variables): Setup SMIE if applicable.
14497 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14499 * simple.el (line-move-visual): Signal beginning/end of buffer
14500 only if vertical-motion moved less than it was requested. Avoids
14501 silly incorrect error messages when there are display strings with
14502 multiple newlines at EOL.
14504 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14506 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14507 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14508 (prolog-char-quote-workaround):
14509 * progmodes/cperl-mode.el (cperl-under-as-char):
14510 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14512 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14514 (vhdl-mode-syntax-table-init): Remove.
14516 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14519 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14521 (ld-script-font-lock-keywords):
14522 Change regexps to use things like \_< and \_>.
14524 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14525 Change all regexps to use things like \_< and \_>.
14527 * progmodes/autoconf.el (autoconf-definition-regexp)
14528 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14529 Handle a _ with symbol syntax.
14530 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14532 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14533 Consolidate declaration.
14534 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14536 (ada-create-syntax-table): Remove.
14537 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14538 already has the right syntax nowadays.
14539 (ada-goto-next-word): Don't change the syntax of "_".
14541 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14544 2013-05-08 Sam Steingold <sds@gnu.org>
14546 * thingatpt.el (thing-at-point): Accept optional second argument
14547 NO-PROPERTIES to strip the text properties from the return value.
14548 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14549 to `thing-at-point' instead of stripping the properties ourselves.
14550 Also, when `thing-at-point' fails to find a url, prepend "http://"
14551 to the filename at point on the assumption that the user is
14552 pointing at something like gnu.org/gnu.
14554 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14556 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14557 * faces.el (crm-separator):
14558 Silence byte-compiler.
14560 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14561 (tool-bar-map): Remove unneeded defvars.
14563 2013-05-08 Leo Liu <sdl.web@gmail.com>
14565 Re-work a fix for bug#10994 based on Le Wang's patch.
14566 * ido.el (ido-remove-consecutive-dups): New helper.
14567 (ido-completing-read): Use it.
14568 (ido-chop): Revert fix for bug#10994.
14570 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14572 * cus-edit.el (custom-save-variables):
14573 Pretty-print long values. (Bug#14187)
14575 2013-05-08 Glenn Morris <rgm@gnu.org>
14577 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14578 (m4-mode-syntax-table): Init in the defvar.
14579 (m4-mode-abbrev-table): Let define-derived-mode define it.
14581 2013-05-08 Tom Tromey <tromey@redhat.com>
14583 * progmodes/m4-mode.el (m4-mode-syntax-table):
14584 Do not treat "_" as word constituent. (Bug#14167)
14586 2013-05-07 Glenn Morris <rgm@gnu.org>
14588 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14589 Remove explicit eshell-isearch-cancel-map.
14591 * progmodes/f90.el (f90-smart-end-names): New option.
14592 (f90-smart-end): Doc fix.
14593 (f90-end-block-optional-name): New constant.
14594 (f90-block-match): Respect f90-smart-end-names.
14596 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14598 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14599 about implicit semi-colons (bug#14218).
14601 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14603 * frame.el (display-monitor-attributes-list)
14604 (frame-monitor-attributes): New functions.
14606 2013-05-06 Leo Liu <sdl.web@gmail.com>
14608 * progmodes/octave.el (octave-syntax-propertize-function): Change
14609 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14610 (octave-font-lock-keywords): Use octave-operator-regexp.
14611 (octave-completion-at-point): Rename from
14612 octave-completion-at-point-function.
14613 (inferior-octave-directory-tracker): Robustify.
14614 (octave-text-functions): Remove and fix its uses. No such things
14617 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14619 * emacs-lisp/trace.el (trace--display-buffer): New function.
14620 (trace-make-advice): Use it.
14622 2013-05-06 Juri Linkov <juri@jurta.org>
14624 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14625 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14627 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14628 in the help string. (Bug#12985)
14630 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14632 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14634 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14636 * progmodes/perl-mode.el: Add support for here documents.
14637 (perl-syntax-propertize-function): Match here-doc markers.
14638 (perl-syntax-propertize-special-constructs): Find their end.
14639 (perl-imenu-generic-expression): Use [:alnum:].
14641 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14642 (advice--add-function): Refresh the advice if already present
14645 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14647 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14649 2013-05-06 Glenn Morris <rgm@gnu.org>
14651 * w32-fns.el (w32-charset-info-alist): Declare.
14653 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14654 of its defcustom properties.
14655 (eshell-cmpl-initialize): No need to load pcomplete.
14657 * generic-x.el: No need to require comint when compiling.
14659 * net/eudc-export.el: Make it loadable without bbdb.
14660 (top-level): Use require rather than load-library.
14661 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14662 (eudc-batch-export-records-to-bbdb)
14663 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14666 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14668 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14669 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14670 some tweaks, instead.
14672 2013-05-05 Leo Liu <sdl.web@gmail.com>
14674 * progmodes/octave.el (octave-font-lock-keywords)
14675 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14676 (inferior-octave-send-list-and-digest): Improve error message.
14677 (octave-mode, inferior-octave-mode): Use setq-local.
14678 (octave-help): Set info-lookup-mode.
14680 2013-05-05 Richard Stallman <rms@gnu.org>
14682 * vc/compare-w.el (compare-windows-whitespace):
14683 Treat no-break space as whitespace.
14685 * mail/rmailsum.el (rmail-summary-rmail-update):
14686 Detect empty summary and don't change selected message.
14687 (rmail-summary-goto-msg): Likewise.
14689 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14690 Doc fixes, rename args.
14692 2013-05-05 Alan Mackenzie <acm@muc.de>
14694 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14696 2013-05-05 Juri Linkov <juri@jurta.org>
14698 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14699 to not add the length of the summary segment to the return value.
14702 2013-05-05 Leo Liu <sdl.web@gmail.com>
14704 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14705 (inferior-octave-output-filter): Remove.
14706 (octave-send-region, inferior-octave-startup): Fix callers.
14707 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14708 (octave-binary-file-extensions): New user variable.
14709 (octave-find-definition): Confirm if opening binary files.
14710 (octave-help-file): Use octave-find-definition to get the binary
14712 (octave-help): Adjust for octave-help-file change.
14714 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14716 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14717 Merge the two entries that handle function definitions.
14718 (pascal--syntax-propertize): New const.
14719 (pascal-mode): Use it. Use setq-local.
14721 2013-05-04 Glenn Morris <rgm@gnu.org>
14723 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14724 (diary-from-outlook): Respect diary-from-outlook-function.
14726 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14728 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14729 Move the declaration from C.
14730 (read-minibuffer, eval-minibuffer): Move from C.
14731 (completion-setup-function): Avoid minibuffer-completion-contents.
14733 2013-05-03 Leo Liu <sdl.web@gmail.com>
14735 * progmodes/octave.el (octave-font-lock-keywords): Do not
14736 dehighlight 'end' in comments or strings.
14737 (octave-completing-read, octave-goto-function-definition):
14739 (octave-help-buffer): New user variable.
14740 (octave-help-file, octave-help-function): New button types.
14741 (octave-help): New command and bind it to C-h ;.
14742 (octave-find-definition): New command and bind it to M-.
14743 (user-error): Alias to error if not defined.
14745 2013-05-02 Leo Liu <sdl.web@gmail.com>
14747 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14749 (octave-font-lock-keywords): Include [ and {.
14751 2013-05-02 Leo Liu <sdl.web@gmail.com>
14753 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14754 (inferior-octave): Remove calling comint-mode and return the buffer.
14755 (inferior-octave-startup): Cosmetic changes.
14757 2013-05-02 Leo Liu <sdl.web@gmail.com>
14759 * progmodes/octave.el (octave-syntax-propertize-function):
14760 Include the case when ' is at line beginning. (Bug#14336)
14762 2013-05-02 Glenn Morris <rgm@gnu.org>
14764 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14765 * desktop.el (vc-dir-mode): Just autoload it here.
14767 2013-05-02 Alan Mackenzie <acm@muc.de>
14769 Eliminate variable c-standard-font-lock-fontify-region-function.
14770 * progmodes/cc-mode.el
14771 (c-standard-font-lock-fontify-region-function): Remove.
14772 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14774 2013-05-01 Leo Liu <sdl.web@gmail.com>
14776 * progmodes/octave.el: Compatible with older emacs-24 releases.
14777 (inferior-octave-has-built-in-variables): Remove. Built-in
14778 variables were removed from Octave in 2007.
14779 (inferior-octave-startup): Fix uses.
14780 (comint-line-beginning-position): Remove compatibility code for
14783 2013-05-01 Juri Linkov <juri@jurta.org>
14785 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14787 2013-05-01 Juri Linkov <juri@jurta.org>
14789 * comint.el (comint-previous-matching-input): Don't print message
14790 "History item: %d" when `isearch-mode' is active.
14791 (comint-history-isearch-message): Print message "History item: %d"
14792 when `comint-input-ring-index' is not empty and this function is
14793 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14795 2013-05-01 Leo Liu <sdl.web@gmail.com>
14797 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14798 definitions. Use completion-at-point to insert keywords.
14799 (octave-abbrev-start): Remove.
14800 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14802 2013-04-30 Leo Liu <sdl.web@gmail.com>
14804 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14807 2013-04-30 Alan Mackenzie <acm@muc.de>
14809 Handle arbitrarily long C++ member initialisation lists.
14810 * progmodes/cc-engine.el (c-back-over-member-initializers):
14812 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14813 (most) member init lists.
14815 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14817 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14820 2013-04-30 Leo Liu <sdl.web@gmail.com>
14822 * progmodes/octave.el (octave-variables): Remove. No builtin
14823 variables any more. All converted to functions.
14824 (octave-font-lock-keywords, octave-completion-at-point-function):
14826 (octave-font-lock-texinfo-comment): New user variable.
14827 (octave-texinfo-font-lock-keywords): New variable for texinfo
14829 (octave-function-comment-block): New face.
14830 (octave-font-lock-texinfo-comment): New function.
14831 (octave-mode): Font lock texinfo comment block.
14833 2013-04-29 Leo Liu <sdl.web@gmail.com>
14835 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14836 indexing expression.
14837 (octave-continuation-string): Do not use \.
14838 (inferior-octave-complete-impossible): Remove.
14839 (inferior-octave-completion-table)
14840 (inferior-octave-completion-at-point): Remove its uses.
14841 (inferior-octave-startup): completion_matches was introduced to
14842 Octave in 1996 so safe to assume it.
14843 (octave-function-file-comment): Improve to follow how Octave does it.
14844 (octave-update-function-file-comment): Tweak.
14846 2013-04-29 Leo Liu <sdl.web@gmail.com>
14848 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14849 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14850 (octave-function-file-comment): Fix typo.
14851 (octave-sync-function-file-names): Use read-char-choice.
14853 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14855 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14856 to t for the less important warnings.
14858 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14860 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14862 2013-04-27 Glenn Morris <rgm@gnu.org>
14864 * vc/log-view.el (log-view-current-entry):
14865 Treat "---" separator lines as part of the following rev. (Bug#14169)
14867 2013-04-27 Juri Linkov <juri@jurta.org>
14869 * subr.el (read-number): Doc fix about using it by interactive
14870 code letter `n'. (Bug#14254)
14872 2013-04-27 Juri Linkov <juri@jurta.org>
14874 * desktop.el (desktop-auto-save-timeout): New option.
14875 (desktop-file-checksum): New variable.
14876 (desktop-save): Add optional arg `auto-save' and don't auto-save
14877 if nothing changed.
14878 (desktop-auto-save-timer): New variable.
14879 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14880 (after-init-hook): Call `desktop-auto-save-set-timer'.
14881 Suggested by Reuben Thomas <rrt@sc3d.org> in
14882 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14884 2013-04-27 Leo Liu <sdl.web@gmail.com>
14886 * progmodes/octave.el (octave-function-file-p)
14887 (octave-skip-comment-forward, octave-function-file-comment)
14888 (octave-update-function-file-comment): New functions.
14889 (octave-mode-map): Bind C-c ; to
14890 octave-update-function-file-comment.
14891 (octave-mode-menu): Add octave-update-function-file-comment.
14892 (octave-mode, inferior-octave-mode): Fix doc-string.
14893 (octave-insert-defun): Conform to Octave's coding convention.
14896 * files.el (basic-save-buffer): Don't let errors in
14897 before-save-hook prevent saving buffer.
14899 2013-04-20 Roland Winkler <winkler@gnu.org>
14901 * faces.el (read-face-name): Use completing-read if arg multiple
14904 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14906 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14907 displayed, move point to after the totals line.
14908 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14911 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14913 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14914 Add current dir to the load-path.
14915 (package-generate-autoloads): Don't rely on
14916 autoload-ensure-default-file.
14918 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14920 * textmodes/remember.el (remember-store-in-files): Document that
14921 the file name format is passed to `format-time-string'.
14923 2013-04-26 Leo Liu <sdl.web@gmail.com>
14925 * progmodes/octave.el (octave-sync-function-file-names): New function.
14926 (octave-mode): Use it in before-save-hook.
14928 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14930 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14933 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14934 \n and comment, even if it's not an implicit ; (bug#14218).
14936 2013-04-26 Glenn Morris <rgm@gnu.org>
14938 * subr.el (read-number): Once more use `read' rather than
14939 `string-to-number', to trap non-numeric input. (Bug#14254)
14941 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14943 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14944 Use `syntax-multiline' text property consistently instead of
14945 `font-lock-multiline'. (Bug#14237)
14947 2013-04-26 Glenn Morris <rgm@gnu.org>
14949 * emacs-lisp/shadow.el (list-load-path-shadows):
14950 No longer necessary to check for duplicate simple.el, since
14951 2012-07-07 change to init_lread to not include installation lisp
14952 directories in load-path when running uninstalled. (Bug#14270)
14954 2013-04-26 Leo Liu <sdl.web@gmail.com>
14956 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14957 (octave-mode, inferior-octave-mode): Use setq-local.
14958 (octave-not-in-string-or-comment-p): Rename to
14959 octave-in-string-or-comment-p.
14960 (octave-in-comment-p, octave-in-string-p)
14961 (octave-in-string-or-comment-p): Replace defsubst with defun.
14963 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14965 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14967 2013-04-25 Bastien Guerry <bzg@gnu.org>
14969 * textmodes/remember.el (remember-data-directory)
14970 (remember-directory-file-name-format): Fix custom types.
14972 2013-04-25 Leo Liu <sdl.web@gmail.com>
14974 * progmodes/octave.el (octave-completion-at-point-function):
14975 Make use of inferior octave process.
14976 (octave-initialize-completions): Remove.
14977 (inferior-octave-completion-table): New function.
14978 (inferior-octave-completion-at-point): Use it.
14979 (octave-completion-alist): Remove.
14981 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14983 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14984 (opascal-mode-syntax-table): New var.
14985 (opascal-literal-kind, opascal-is-literal-end)
14986 (opascal-literal-token-at): Rewrite.
14987 (opascal--literal-start-re, opascal-font-lock-keywords)
14988 (opascal--syntax-propertize): New constants.
14989 (opascal-font-lock-defaults): Adjust.
14990 (opascal-mode): Use them. Set comment-<foo> variables as well.
14991 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14992 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14993 (delphi-other-face, opascal-other-face): Remove face variables.
14994 (opascal-save-state): Remove macro.
14995 (opascal-fontifying-progress-step): Remove constant.
14996 (opascal--ignore-changes): Remove var.
14997 (opascal-set-token-property, opascal-parse-next-literal)
14998 (opascal-is-stable-literal, opascal-complete-literal)
14999 (opascal-is-literal-start, opascal-face-of)
15000 (opascal-parse-region, opascal-parse-region-until-stable)
15001 (opascal-fontify-region, opascal-after-change)
15002 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15003 (opascal-debug-parse-region, opascal-debug-parse-window)
15004 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15005 (opascal-debug-fontify-buffer): Remove.
15006 (opascal-debug-mode-map): Adjust accordingly.
15008 2013-04-25 Leo Liu <sdl.web@gmail.com>
15010 Merge octave-mod.el and octave-inf.el into octave.el with some
15012 * progmodes/octave.el: New file renamed from octave-mod.el.
15013 * progmodes/octave-inf.el: Merged into octave.el.
15014 * progmodes/octave-mod.el: Renamed to octave.el.
15016 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15018 * textmodes/reftex-vars.el
15019 (reftex-label-ignored-macros-and-environments): New defcustom.
15021 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15023 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15025 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15026 (smie-indent-keyword): Improve the check to ensure that the next
15027 comment is really on the same line.
15028 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15030 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15031 semi-colons if the line is not otherwise empty (bug#14218).
15033 2013-04-25 Glenn Morris <rgm@gnu.org>
15035 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15037 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15039 * progmodes/opascal.el (opascal-set-token-property): Rename from
15040 opascal-set-text-properties and only set `token' (bug#14134).
15041 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15042 (opascal-literal-text-properties): Remove.
15043 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15046 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15048 * textmodes/remember.el (remember-handler-functions): Add an
15049 option for a new handler `remember-store-in-files'.
15050 (remember-data-directory, remember-directory-file-name-format):
15052 (remember-store-in-files): New function to store remember notes
15053 as separate files within a directory.
15055 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15057 * progmodes/compile.el (compilation-next-error-function):
15058 Pass "formats" to compilation-find-file (bug#11777).
15060 2013-04-24 Glenn Morris <rgm@gnu.org>
15062 * vc/vc-bzr.el (vc-bzr-print-log):
15063 * vc/vc-hg.el (vc-hg-print-log):
15064 * vc/vc-svn.el (vc-svn-print-log):
15065 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15067 * vc/vc-bzr.el (vc-bzr-print-log):
15068 * vc/vc-cvs.el (vc-cvs-print-log):
15069 * vc/vc-git.el (vc-git-print-log):
15070 * vc/vc-hg.el (vc-hg-print-log):
15071 * vc/vc-mtn.el (vc-mtn-print-log):
15072 * vc/vc-rcs.el (vc-rcs-print-log):
15073 * vc/vc-sccs.el (vc-sccs-print-log):
15074 * vc/vc-svn.el (vc-svn-print-log):
15075 * vc/vc.el (vc-print-log-internal): Doc fixes.
15077 2013-04-23 Glenn Morris <rgm@gnu.org>
15079 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15080 Remove venerable code attempting to avoid substitute-command-keys.
15082 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15084 * textmodes/reftex-vars.el (reftex-label-regexps):
15085 Call `reftex-compile-variables' after changes to this variable.
15087 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15089 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15090 Use lexical-binding.
15091 (jit-lock-force-redisplay): Use markers, check buffer's continued
15092 existence and beware narrowed buffers.
15093 (jit-lock-fontify-now): Adjust call accordingly.
15095 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15097 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15098 to avoid misleading the user.
15100 2013-04-22 Leo Liu <sdl.web@gmail.com>
15102 * info-look.el: Prefer latex2e.info. (Bug#14240)
15104 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15106 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15108 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15109 * net/tramp.el (tramp-call-process): ... here.
15110 (tramp-set-completion-function, tramp-parse-putty):
15111 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15112 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15113 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15114 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15115 (tramp-call-local-coding-command): Use `tramp-call-process'
15116 instead of `tramp-compat-call-process'.
15118 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15119 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15120 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15121 (tramp-find-inline-compress): Improve traces.
15122 (tramp-maybe-send-script): Check for Perl binary.
15123 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15125 2013-04-22 Daiki Ueno <ueno@gnu.org>
15127 * epg.el (epg-context-pinentry-mode): New function.
15128 (epg-context-set-pinentry-mode): New function.
15129 (epg--start): Pass --pinentry-mode option to gpg command.
15131 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15133 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15134 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15135 `completion-at-point'. (Bug#13774)
15137 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15138 default key binding for `describe-distribution' has been moved to
15139 `C-h C-o'. (Bug#13970)
15141 2013-04-21 Glenn Morris <rgm@gnu.org>
15143 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15145 (vc-print-log): Clarify interactive prompt.
15147 2013-04-20 Glenn Morris <rgm@gnu.org>
15149 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15150 No longer include timestamp etc information.
15152 2013-04-20 Roland Winkler <winkler@gnu.org>
15154 * faces.el (read-face-name): Bug fix, return just one face if arg
15155 multiple is nil. (Bug#14209)
15157 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15159 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15160 (remove-function): Autoload.
15162 * comint.el (comint-redirect-original-filter-function): Remove.
15163 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15164 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15165 (vc-cvs-annotate-command):
15166 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15167 * progmodes/prolog.el (prolog-consult-compile):
15168 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15169 Use add/remove-function instead.
15170 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15171 (gud-tooltip-process-output, gud-tooltip-tips):
15172 Use add/remove-function instead.
15173 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15174 (scheme-interaction-mode, exit-scheme-interaction-mode):
15175 Use add/remove-function instead.
15177 * vc/vc-dispatcher.el: Use lexical-binding.
15178 (vc--process-sentinel): Rename from vc-process-sentinel.
15179 Change last arg to be the code to run. Don't use vc-previous-sentinel
15180 and vc-sentinel-commands any more.
15181 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15182 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15184 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15186 * progmodes/sh-script.el (sh-imenu-generic-expression):
15187 Handle function names with a single character. (Bug#14111)
15189 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15191 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15192 for subroutines defined in an eval (bug#14182).
15194 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15196 * bookmark.el (bookmark-completing-read): Improve handling of empty
15197 string (bug#14176).
15199 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15201 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15203 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15205 New faster Imenu implementation (bug#14058).
15206 * progmodes/python.el (python-imenu-prev-index-position)
15207 (python-imenu-format-item-label-function)
15208 (python-imenu-format-parent-item-label-function)
15209 (python-imenu-format-parent-item-jump-label-function):
15211 (python-imenu-format-item-label)
15212 (python-imenu-format-parent-item-label)
15213 (python-imenu-format-parent-item-jump-label)
15214 (python-imenu--put-parent, python-imenu--build-tree)
15215 (python-imenu-create-index, python-imenu-create-flat-index)
15216 (python-util-popn): New functions.
15217 (python-mode): Set imenu-create-index-function to
15218 python-imenu-create-index.
15220 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15222 * winner.el (winner-active-region): Use region-active-p, activate-mark
15223 and deactivate-mark (bug#14225).
15225 * simple.el (deactivate-mark): Don't inline it.
15227 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15229 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15231 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15233 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15234 file extensions from the archive-mode entry in order to prefer
15235 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15237 2013-04-18 Leo Liu <sdl.web@gmail.com>
15239 * bindings.el (help-event-list): Add ?\?.
15241 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15243 * subr.el (with-wrapper-hook): Declare obsolete.
15244 * simple.el (filter-buffer-substring-function): New hook.
15245 (filter-buffer-substring): Use it.
15246 (filter-buffer-substring-functions): Mark obsolete.
15247 * minibuffer.el (completion-in-region-function): New hook.
15248 (completion-in-region): Use it.
15249 (completion-in-region-functions): Mark obsolete.
15250 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15251 * abbrev.el (abbrev-expand-function): New hook.
15252 (expand-abbrev): Use it.
15253 (abbrev-expand-functions): Mark obsolete.
15254 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15255 and :filter-return.
15257 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15259 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15260 and do not care about match data.
15262 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15264 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15265 completion tables when completing error conditions and
15266 `declare' arguments.
15267 (lisp-complete-symbol, field-complete): Mark as obsolete.
15268 (check-parens): Unmatched parens are user errors.
15269 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15271 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15273 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15274 command changed buffer (ie. `flyspell-pre-buffer' is not current
15275 buffer), which prevents making decisions based on invalid value of
15276 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15277 cause an error when `flyspell-pre-point' was nil after switching
15279 (flyspell-post-command-hook): No longer needs to change buffers when
15280 checking pre-word. While at it remove unnecessary progn.
15282 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15284 * textmodes/ispell.el (ispell-add-per-file-word-list):
15285 Fix `flyspell-correct-word-before-point' error when accepting
15286 words and `coment-padding' is an integer by using
15287 `comment-normalize-vars' (Bug #14214).
15289 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15291 New defun movement commands.
15292 * progmodes/python.el (python-nav--syntactically)
15293 (python-nav--forward-defun, python-nav-backward-defun)
15294 (python-nav-forward-defun): New functions.
15296 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15298 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15299 (python-syntax-context): Use named compiler-macro for backwards
15300 compatibility with Emacs 24.x.
15302 2013-04-17 Leo Liu <sdl.web@gmail.com>
15304 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15305 octave-hide-process-buffer.
15307 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15309 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15312 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15314 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15315 Fix adjustment of offset when receiving incomplete responses from GDB
15318 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15320 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15321 python-mode-abbrev-table.
15322 (python-skeleton-define): Adjust accordingly.
15323 (python-mode-abbrev-table): New table that inherits from it so that
15324 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15326 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15327 (abbrev-symbol): Use it.
15328 (abbrev--before-point): Use it since we already handle inheritance.
15330 2013-04-16 Leo Liu <sdl.web@gmail.com>
15332 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15333 binding to info-lookup-symbol.
15335 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15337 * minibuffer.el (completion--twq-all):
15338 * term/ns-win.el (ns-initialize-window-system):
15339 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15341 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15343 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15346 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15348 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15350 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15351 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15353 (ruby-end-of-defun): Remove the unused arg, change the docstring
15354 to reflect that this function is only used as the value of
15355 `end-of-defun-function'.
15356 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15357 to reflect an earlier change that beginning/end-of-defun functions
15358 jump between methods in a class definition, as well as top-level
15361 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15363 * minibuffer.el (minibuffer-complete): Don't just scroll
15364 a *Completions* that's been iconified.
15365 (minibuffer-force-complete): Make sure repetitions do cycle when going
15366 through completion-in-region -> minibuffer-complete.
15368 2013-04-15 Alan Mackenzie <acm@muc.de>
15370 Correct the placement of c-cpp-delimiters when there're #s not at
15373 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15374 place a submatch around the #.
15375 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15376 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15379 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15381 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15382 (advice--member-p): New arg `name'.
15383 (advice--add-function, advice-member-p): Use it (bug#14202).
15385 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15387 Reformulate java imenu-generic-expression.
15388 The old expression contained ill formed regexps.
15390 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15391 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15392 (cc-imenu-java-method-arg-regexp): New defconsts.
15393 (cc-imenu-java-build-type-args-regex): New defun.
15394 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15395 handling of spaces in the regexp.
15397 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15399 * textmodes/ispell.el (ispell-command-loop): Remove
15400 flyspell highlight of a word when ispell accepts it (bug #14178).
15402 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15404 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15405 uses code from the previous `ange-ftp-run-real-handler'.
15406 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15407 only in case that function exist. This is needed for proper
15408 unloading of Tramp.
15410 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15412 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15414 * textmodes/reftex.el (reftex-compile-variables): Use it.
15416 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15418 * files.el (normal-mode): Only use default major-mode if no other mode
15421 * emacs-lisp/trace.el (trace-values): New function.
15423 * files.el: Allow : in local variables (bug#14089).
15424 (hack-local-variable-regexp): New var.
15425 (hack-local-variables-prop-line, hack-local-variables): Use it.
15427 2013-04-13 Roland Winkler <winkler@gnu.org>
15429 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15430 data before it gets modified by bibtex-beginning-of-entry.
15432 2013-04-13 Roland Winkler <winkler@gnu.org>
15434 * textmodes/bibtex.el (bibtex-url): Doc fix.
15436 2013-04-13 Roland Winkler <winkler@gnu.org>
15438 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15439 does not visit a BibTeX file, exclude it from the list of buffers
15440 returned by bibtex-initialize.
15442 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15444 * window.el (split-window): Remove interactive form, since as a
15445 command this function is a special case of split-window-below.
15446 Correct doc string.
15448 2013-04-12 Roland Winkler <winkler@gnu.org>
15450 * faces.el (read-face-name): Do not override value of arg default.
15451 Allow single faces and strings as default values. Remove those
15452 elements from return value that are not faces.
15453 (describe-face): Simplify.
15454 (face-at-point): New optional args thing and multiple so that this
15455 function can provide the same functionality previously provided by
15457 (make-face-bold, make-face-unbold, make-face-italic)
15458 (make-face-unitalic, make-face-bold-italic, invert-face)
15459 (modify-face, read-face-and-attribute): Use face-at-point.
15461 * cus-edit.el (customize-face, customize-face-other-window)
15462 * cus-theme.el (custom-theme-add-face)
15463 * face-remap.el (buffer-face-set)
15464 * facemenu.el (facemenu-set-face): Use face-at-point.
15466 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15468 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15470 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15472 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15473 off leading { and trailing } from field values.
15475 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15477 * emacs-lisp/timer.el (timer--check): New function.
15478 (timer--time, timer-set-function, timer-event-handler): Use it.
15479 (timer-set-idle-time): Simplify.
15480 (timer--activate): CSE.
15481 (timer-event-handler): Give more info in error message.
15482 (internal-timer-start-idle): New function, moved from C.
15484 * mpc.el (mpc-proc): Add `restart' argument.
15485 (mpc-proc-cmd): Use it.
15486 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15487 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15490 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15492 * progmodes/sh-script.el: Implement `sh-mode' own
15493 `add-log-current-defun-function' (bug#14112).
15494 (sh-current-defun-name): New function.
15495 (sh-mode): Use the function.
15497 2013-04-09 Bastien Guerry <bzg@gnu.org>
15499 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15501 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15503 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15505 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15508 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15510 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15513 2013-04-07 Leo Liu <sdl.web@gmail.com>
15515 * pcmpl-x.el: New file.
15517 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15519 Do not set x-display-name until X connection is established.
15520 This is needed to prevent from weird situation described at
15521 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15522 * frame.el (make-frame): Set x-display-name after call to
15523 window system initialization function, not before.
15524 * term/x-win.el (x-initialize-window-system): Add optional
15525 display argument and use it.
15526 * term/w32-win.el (w32-initialize-window-system):
15527 * term/ns-win.el (ns-initialize-window-system):
15528 * term/pc-win.el (msdos-initialize-window-system):
15529 Add compatible optional display argument.
15531 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15533 * files.el (normal-backup-enable-predicate): On MS-Windows and
15534 MS-DOS compare truenames of temporary-file-directory and of the
15535 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15536 don't fail comparison by compare-strings. Also, compare file
15537 names case-insensitively on MS-Windows and MS-DOS.
15539 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15541 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15542 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15544 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15546 * whitespace.el (whitespace-color-on, whitespace-color-off):
15547 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15549 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15551 * ispell.el (ispell-set-spellchecker-params):
15552 Really set `ispell-args' for all equivs.
15554 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15556 * ido.el (ido-completions): Use extra elements of ido-decorations
15558 (ido-decorations): Update docstring.
15560 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15562 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15563 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15564 nil during initialization, in order not to miss changes since the
15565 file was opened. (Bug#14140)
15567 2013-04-05 Leo Liu <sdl.web@gmail.com>
15569 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15571 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15573 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15575 2013-04-04 Glenn Morris <rgm@gnu.org>
15577 * electric.el (electric-pair-inhibit-predicate): Add :version.
15579 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15581 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15582 when a package is required several times (bug#14082).
15584 2013-04-04 Roland Winkler <winkler@gnu.org>
15586 * faces.el (read-face-name): Behave as promised by the docstring.
15587 Assume that arg default is a list of faces.
15588 (describe-face): Call read-face-name with list of default faces.
15590 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15592 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15593 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15594 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15596 (bookmark-exit-hook-internal): Save even if list is empty.
15598 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15600 * emacs-lisp/package.el (package-pinned-packages): New var.
15601 (package--add-to-archive-contents): Obey it (bug#14118).
15603 2013-04-03 Alan Mackenzie <acm@muc.de>
15605 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15606 Also adapt to the new values of element 7 of a parse state.
15608 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15609 parameter `not-in-delimiter'. Handle being inside comment opener.
15610 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15611 character in case we're typing a '*' after a '/'.
15612 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15613 instead by passing the parameter to c-state-pp-to-literal.
15615 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15616 for elt. 7 of a parse state.
15618 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15620 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15621 * international/latin1-disp.el, international/mule-util.el:
15622 * language/cyril-util.el, language/european.el, language/ind-util.el:
15623 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15624 * language/tibetan.el, language/viet-util.el:
15625 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15627 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15629 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15630 (electric-pair-post-self-insert-function): Use it.
15631 (electric-pair-default-inhibit): New function, extracted from
15632 electric-pair-post-self-insert-function.
15634 2013-03-31 Roland Winkler <winkler@gnu.org>
15636 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15638 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15640 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15642 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15644 Un-indent after "pass" and "return" statements (Bug#13888)
15645 * progmodes/python.el (python-indent-block-enders): New var.
15646 (python-indent-calculate-indentation): Use it.
15648 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15650 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15651 defun. Defining it as defalias could introduce too eager
15652 byte-compiler optimization. (Bug#14030)
15654 2013-03-30 Chong Yidong <cyd@gnu.org>
15656 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15658 2013-03-30 Leo Liu <sdl.web@gmail.com>
15660 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15661 (kmacro-execute-from-register): Pass the keyboard macro to
15662 kmacro-call-macro or repeating won't work correctly.
15664 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15666 * progmodes/subword.el: Back to using `forward-symbol'.
15668 * subr.el (forward-whitespace, forward-symbol)
15669 (forward-same-syntax): Move from thingatpt.el.
15671 2013-03-29 Leo Liu <sdl.web@gmail.com>
15673 * kmacro.el (kmacro-to-register): New command.
15674 (kmacro-execute-from-register): New function.
15675 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15677 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15679 * mpc.el: Use defvar-local and setq-local.
15680 (mpc--proc-connect): Connection failures are not bugs.
15681 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15682 (mpc-volume-map): Bind to the up-events.
15684 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15686 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15687 instead of `forward-symbol'.
15689 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15691 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15692 (edebug--recursive-edit): Use it.
15693 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15694 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15696 2013-03-28 Leo Liu <sdl.web@gmail.com>
15698 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15700 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15702 * facemenu.el (list-colors-callback): New defvar.
15703 (list-colors-redisplay): New function.
15704 (list-colors-display): Install list-colors-redisplay as the
15705 revert-buffer-function. (Bug#14063)
15707 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15709 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15710 and suffixes don't overlap (bug#14061).
15712 * case-table.el: Use lexical-binding.
15713 (case-table-get-table): New function.
15714 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15716 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15718 * progmodes/subword.el: Add `superword-mode' to do word motion
15719 over symbol_words (parallels and leverages `subword-mode' which
15720 does word motion inside MixedCaseWords).
15722 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15724 * eshell/em-unix.el: Move su and sudo to...
15725 * eshell/em-tramp.el: ...Eshell tramp module.
15727 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15729 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15730 Change return value to be a sexp. Delay `get-buffer' to after
15731 restoring the desktop (bug#13951).
15733 2013-03-26 Leo Liu <sdl.web@gmail.com>
15735 * register.el: Move semantic tag handling back to
15736 cedet/semantic/senator.el. (Bug#14052)
15738 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15740 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15741 into the prompt either (bug#13963).
15743 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15746 part of "(error-foo)".
15748 2013-03-24 Juri Linkov <juri@jurta.org>
15750 * replace.el (list-matching-lines-prefix-face): New defcustom.
15751 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15752 `occur-engine' if `face-differs-from-default-p' returns t.
15753 (occur-engine): Add `,' inside backquote construct to evaluate
15754 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15755 Pass `prefix-face' to the functions `occur-context-lines' and
15756 `occur-engine-add-prefix'.
15757 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15758 `prefix-face' and propertize the prefix with `prefix-face'.
15761 2013-03-24 Leo Liu <sdl.web@gmail.com>
15763 * nxml/rng-valid.el (rng-validate-while-idle)
15764 (rng-validate-quick-while-idle): Guard against deleted buffer.
15767 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15768 is the last entry in kill-buffer-hook.
15770 * files.el (kill-buffer-hook): Doc fix.
15772 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15774 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15775 Make it safe-local.
15777 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15779 2013-03-23 Leo Liu <sdl.web@gmail.com>
15781 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15784 * nxml/rng-valid.el (rng-validate-mode)
15785 (rng-after-change-function, rng-do-some-validation):
15786 * nxml/rng-maint.el (rng-validate-buffer):
15787 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15788 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15789 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15790 (nxml-extend-after-change-region): Use with-silent-modifications.
15792 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15795 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15796 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15797 timer-idle-list. (Bug#13999)
15799 2013-03-23 Juri Linkov <juri@jurta.org>
15801 * info.el (info-index-match): New face.
15802 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15803 main pattern and add text properties with the new face to matches
15804 in index entries relative to the beginning of the index entry.
15807 2013-03-21 Eric Ludlam <zappo@gnu.org>
15809 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15810 Inhibit read only while inserting objects.
15812 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15814 * progmodes/cfengine.el: Update docs to mention
15815 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15816 symbol motion. Remove "_" from the word syntax.
15818 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15820 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15821 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15823 2013-03-20 Juri Linkov <juri@jurta.org>
15825 * info.el (Info-next-reference-or-link)
15826 (Info-prev-reference-or-link): New functions.
15827 (Info-next-reference, Info-prev-reference): Use them.
15828 (Info-try-follow-nearest-node): Handle footnote navigation.
15829 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15831 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15833 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15834 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15836 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15838 Suppress unnecessary non-ASCII chatter during build process.
15839 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15840 (batch-skkdic-convert): Suppress most of the chatter.
15841 It's not needed so much now that machines are faster,
15842 and its non-ASCII component was confusing; see Dmitry Gutov in
15843 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15845 2013-03-20 Leo Liu <sdl.web@gmail.com>
15847 * ido.el (ido-chop): Fix bug#10994.
15849 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15851 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15853 (whitespace-color-on, whitespace-color-off):
15854 Use `font-lock-fontify-buffer' (Bug#13817).
15856 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15858 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15859 remapping in mode-line.
15860 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15862 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15864 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15865 value for `whitespace-line' face (Bug#13875).
15866 (whitespace-font-lock-keywords): Change description.
15867 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15868 the constructed keywords instead.
15869 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15871 2013-03-19 Leo Liu <sdl.web@gmail.com>
15873 * progmodes/compile.el (compilation-display-error): New command.
15874 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15877 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15879 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15881 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15883 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15885 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15887 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15889 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15890 * net/tramp-gvfs.el (top):
15891 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15892 (tramp-handle-shell-command): Use it.
15893 (tramp-dissect-file-name): Raise an error when hostname is a
15894 method name, and neither method nor user is specified.
15896 * net/trampver.el: Update release number.
15898 2013-03-18 Leo Liu <sdl.web@gmail.com>
15900 Make sure eldoc can be turned off properly.
15901 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15903 (eldoc-display-message-p): Revert last change.
15904 (eldoc-display-message-no-interference-p)
15905 (eldoc-print-current-symbol-info): Tweak.
15907 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15909 * doc-view.el (doc-view-new-window-function): Check the new window
15910 overlay's display property instead the char property of the
15911 buffer's first char. Use `with-selected-window' instead of
15912 `save-window-excursion' with `select-window'.
15913 (doc-view-document->bitmap): Check the current doc-view overlay's
15914 display property instead the char property of the buffer's first char.
15916 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15918 Automate the build of ja-dic.el (Bug#13984).
15919 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15920 from the input, rather than assume that it's been done for us by the
15921 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15922 the current date into a ja-dic.el comment, as that complicates
15923 regression testing.
15925 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15927 * whitespace.el: Fix double evaluation.
15928 (whitespace-space, whitespace-hspace, whitespace-tab)
15929 (whitespace-newline, whitespace-trailing, whitespace-line)
15930 (whitespace-space-before-tab, whitespace-indentation)
15931 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15933 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15934 (whitespace-color-on): Use a single font-lock-add-keywords call.
15935 Fix double-evaluation of face variables.
15937 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15939 * net/tramp-adb.el (tramp-adb-parse-device-names):
15940 Use `start-process' instead of `call-process'. Otherwise, the
15941 function might be blocked under MS Windows. (Bug#13299)
15943 2013-03-17 Leo Liu <sdl.web@gmail.com>
15945 Extend eldoc to display info in the mode-line. (Bug#13978)
15946 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15947 (eldoc-mode-line-string): New variable.
15948 (eldoc-minibuffer-message): New function.
15949 (eldoc-message-function): New variable.
15950 (eldoc-message): Use it.
15951 (eldoc-display-message-p)
15952 (eldoc-display-message-no-interference-p):
15953 Support eldoc-post-insert-mode.
15955 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15956 (eval-expression): Run it.
15958 2013-03-17 Roland Winkler <winkler@gnu.org>
15960 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15961 strings in the list of return values.
15963 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15965 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15966 radix before checking for HMS forms.
15968 2013-03-16 Leo Liu <sdl.web@gmail.com>
15970 * progmodes/scheme.el: Add indentation and font-locking for λ.
15973 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15975 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15976 token before point (bug#13942).
15978 2013-03-16 Leo Liu <sdl.web@gmail.com>
15980 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15982 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15984 * startup.el (command-line-normalize-file-name): Fix handling of
15985 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15986 <xfq.free@gmail.com> in
15987 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15989 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15991 Sync with Tramp 2.2.7.
15993 * net/trampver.el: Update release number.
15995 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15997 * doc-view.el: Fix bug#13887.
15998 (doc-view-insert-image): Don't modify overlay associated to
15999 non-live windows, and implement horizontal centering of image in
16000 case it's smaller than the window.
16001 (doc-view-new-window-function): Force redisplay of new windows on
16004 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16006 * saveplace.el (save-place-alist-to-file): Don't sort
16007 `save-place-alist', just pretty-print it (bug#13882).
16009 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16011 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16012 Check whether `default-file-name-coding-system' is bound.
16013 It isn't in XEmacs.
16015 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16017 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16018 backquotes for `obsolete' (bug#13929).
16020 * international/mule.el (find-auto-coding): Include file name in
16021 obsolescence warning (bug#13922).
16023 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16025 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16026 for CFEngine 3-specific indentation.
16027 (cfengine3-indent-line): Use it. Fix up category regex.
16028 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16030 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16032 * type-break.el (type-break-file-name):
16033 * textmodes/remember.el (remember-data-file):
16034 * strokes.el (strokes-file):
16035 * shadowfile.el (shadow-initialize):
16036 * saveplace.el (save-place-file):
16037 * ps-bdf.el (bdf-cache-file):
16038 * progmodes/idlwave.el (idlwave-config-directory):
16039 * net/quickurl.el (quickurl-url-file):
16040 * international/kkc.el (kkc-init-file-name):
16041 * ido.el (ido-save-directory-list-file):
16042 * emulation/viper.el (viper-custom-file-name):
16043 * emulation/vip.el (vip-startup-file):
16044 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16045 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16047 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16049 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16050 * language/thai-word.el: Switch to UTF-8.
16052 See ChangeLog.16 for earlier changes.
16054 ;; Local Variables:
16058 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16060 This file is part of GNU Emacs.
16062 GNU Emacs is free software: you can redistribute it and/or modify
16063 it under the terms of the GNU General Public License as published by
16064 the Free Software Foundation, either version 3 of the License, or
16065 (at your option) any later version.
16067 GNU Emacs is distributed in the hope that it will be useful,
16068 but WITHOUT ANY WARRANTY; without even the implied warranty of
16069 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16070 GNU General Public License for more details.
16072 You should have received a copy of the GNU General Public License
16073 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.