1 2014-05-18 Glenn Morris <rgm@gnu.org>
4 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
6 2014-05-14 Sam Steingold <sds@gnu.org>
8 * progmodes/python.el (python-shell-get-or-create-process):
9 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10 back unless requested.
12 2014-05-14 Glenn Morris <rgm@gnu.org>
14 * subr.el (with-file-modes): New macro.
15 * printing.el (pr-save-file-modes): Make obsolete.
16 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
17 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
19 * doc-view.el (doc-view-make-safe-dir):
20 * epg.el (epg--start):
21 * files.el (locate-user-emacs-file, make-temp-file)
22 (backup-buffer-copy, move-file-to-trash):
23 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
24 * eshell/esh-util.el (eshell-with-private-file-modes)
25 (eshell-make-private-directory):
26 * net/browse-url.el (browse-url-mosaic):
27 * obsolete/mailpost.el (post-mail-send-it):
28 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
29 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
32 * vc/emerge.el (emerge-make-temp-file): Simplify.
34 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
35 Stefan Monnier <monnier@iro.umontreal.ca>
37 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
40 2014-05-14 Glenn Morris <rgm@gnu.org>
42 * vc/emerge.el (emerge-temp-file-prefix):
43 Make pointless option obsolete.
44 (emerge-temp-file-mode): Make non-functional option obsolete.
46 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
48 * net/browse-url.el (browse-url):
49 Use `unhandled-file-name-directory' when setting `default-directory',
50 in order to circumvent stalled remote connections. (Bug#17425)
52 2014-05-14 Glenn Morris <rgm@gnu.org>
54 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
55 Optimize on Emacs, which has the relevant functions for ages.
57 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
59 * simple.el (undo-make-selective-list): Obey undo-no-redo.
61 2014-05-12 Sam Steingold <sds@gnu.org>
63 * calendar/time-date.el (seconds-to-string): New function to
64 pretty print time delay in seconds.
66 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
68 * mpc.el (mpc-format): Trim Date to the year.
69 (mpc-songs-hashcons): Shorten the Date field.
71 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
72 into autoloading just because of a silly indirection.
74 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
76 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
78 2014-05-12 Glenn Morris <rgm@gnu.org>
80 * emacs-lisp/find-gc.el: Move to ../admin.
82 * printing.el (pr-version):
83 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
85 * net/browse-url.el (browse-url-mosaic):
86 Create /tmp/Mosaic.PID as a private file.
88 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
90 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
91 (advice--member-p): If name is given, only compare the name.
92 (advice--remove-function): Don't stop at the first match.
93 (advice--normalize-place): New function.
94 (add-function, remove-function): Use it.
95 (advice--add-function): Pass the name, if any, to
96 advice--remove-function.
98 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
100 * electric.el (electric-indent-post-self-insert-function): Don't use
101 `pos' after modifying the buffer (bug#17449).
103 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
105 * calendar/todo-mode.el (todo-insert-item-from-calendar):
106 Correct argument list to conform to todo-insert-item--basic.
108 2014-05-12 Glenn Morris <rgm@gnu.org>
110 * files.el (cd-absolute): Test if directory is accessible
111 rather than executable. (Bug#17330)
113 * progmodes/compile.el (recompile):
114 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
116 * net/browse-url.el (browse-url-mosaic):
117 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
118 This is CVE-2014-3423.
120 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
122 * mouse.el: Use the normal toplevel loop while dragging.
123 (mouse-set-point): Handle multi-clicks.
124 (mouse-set-region): Handle multi-clicks for drags.
125 (mouse-drag-region): Update call accordingly.
126 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
127 Use the normal event loop instead of a local while/read-event loop.
128 (global-map): Remove redundant bindings for double/triple-mouse-1.
129 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
130 Generate synthetic down events when the protocol only sends up events.
131 (xterm-mouse-last): Remove.
132 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
133 terminal parameter instead.
134 (xterm-mouse--set-click-count): New function.
135 (xterm-mouse-event): Detect/generate double/triple clicks.
136 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
138 * info.el (Info-quoted): New face.
139 (Info-mode-font-lock-keywords): New var.
142 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
143 are a hindrance for C-x C-e.
145 2014-05-11 Leo Liu <sdl.web@gmail.com>
147 * net/rcirc.el (rcirc-sentinel): Fix last change.
149 2014-05-08 Sam Steingold <sds@gnu.org>
151 * net/rcirc.el (rcirc-reconnect-delay): New user option.
152 (rcirc-sentinel): Auto-reconnect to the server if
153 `rcirc-reconnect-delay' is non-0 (but not more often than its
154 value in case the host is off-line).
156 2014-05-09 Eli Zaretskii <eliz@gnu.org>
158 * progmodes/grep.el (lgrep): Fix a typo in last commit.
160 2014-05-09 Glenn Morris <rgm@gnu.org>
162 * files.el (file-expand-wildcards):
163 * man.el (Man-support-local-filenames):
164 * printing.el (pr-i-directory, pr-interface-directory):
165 * progmodes/grep.el (lgrep, rgrep):
166 * textmodes/ispell.el (ispell-call-process)
167 (ispell-call-process-region, ispell-start-process)
168 (ispell-init-process): Use file-accessible-directory-p.
170 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
172 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
173 (xterm-mouse--read-event-sequence-1000): Return nil if something
175 (xterm-mouse-event): Propagate it.
176 (xterm-mouse-translate-1): Handle it.
178 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
180 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
181 four slots of the parameter list are filled, make sure to pass it
182 to the argument list of todo-insert-item--basic.
184 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
186 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
187 Add optional `seen' argument to detect and break infinite loops.
189 2014-05-08 Eli Zaretskii <eliz@gnu.org>
191 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
192 (trace-unsafe, trace-use-tree): Make parentheses style be
193 according to Emacs style.
195 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
197 * net/tramp-sh.el (tramp-remote-process-environment):
198 Remove HISTFILE and HISTSIZE; it's too late to set them here.
200 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
201 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
202 extra "PSx=..." commands.
203 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
206 (tramp-uudecode): Replace the hard-coded temporary file name by a
208 (tramp-remote-coding-commands): Enhance docstring.
209 (tramp-find-inline-encoding): Replace "%t" by a temporary file
211 This is CVE-2014-3424.
213 2014-05-08 Glenn Morris <rgm@gnu.org>
215 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
216 (find-gc-source-files): Update some names.
217 (trace-call-tree): Simplify and update.
218 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
219 This is CVE-2014-3422.
221 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
223 * minibuffer.el (completion--try-word-completion): Revert fix for
224 Bug#15980 (bug#17375).
226 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
227 Always store button numbers in the same way in xterm-mouse-last;
228 Don't burp is xterm-mouse-last is not set as expected.
229 Never return negative indices.
231 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
233 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
234 Backtrack one char if the global/char-literal var matcher hits
235 inside a string. The next char could be the beginning of an
236 expression expansion.
238 2014-05-08 Glenn Morris <rgm@gnu.org>
240 * help-fns.el (describe-function-1): Test for an autoload before a
241 macro, since `macrop' works on autoloads. (Bug#17410)
243 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
245 * electric.el (electric-indent-functions-without-reindent): Add yaml.
247 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
248 Make sure the new point we return is within the new string (bug#17239).
250 2014-05-05 Daniel Colascione <dancol@dancol.org>
252 * progmodes/compile.el (compilation-error-regexp-alist-alist):
253 Port `gnu' pattern to rx.
255 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
257 Remove unneeded prompt when closing a buffer with active
258 emacsclient ("Buffer ... still has clients"), #16548.
259 * server.el (server-start): Remove the only call to:
260 (server-kill-buffer-query-function): Remove.
262 2014-05-04 Leo Liu <sdl.web@gmail.com>
264 * calendar/diary-lib.el (calendar-chinese-month-name-array):
265 Defvar to pacify compiler.
267 2014-05-04 Eli Zaretskii <eliz@gnu.org>
269 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
271 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
273 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
274 Use nil rather than `default' for the "default" appearance (bug#17388).
275 * vc/ediff-util.el (ediff-inferior-compare-regions)
276 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
277 a misleading `default' value when it's really a boolean.
278 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
279 overlay is not visible.
281 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
283 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
284 (todo-menu): Uncomment and update.
286 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
288 * calendar/todo-mode.el: Reimplement item editing to have the same
289 basic user interface as item insertion, and make small UI and
290 larger internal improvements to the latter.
291 (todo-insert-item): Add reference to the Todo mode user manual to
292 the documentation string.
293 (todo-insert-item--basic): Rename from todo-basic-insert-item and
294 adjust all callers. Change signature to combine diary and
295 nonmarking arguments. Incorporate functionality of deleted item
296 copying command and add error checking. Remove detailed
297 descriptions of the arguments from the documentation string, since
298 this is treated in the Todo mode user manual.
299 (todo-copy-item, todo-edit-multiline-item)
300 (todo-edit-done-item-comment, todo-edit-item-header)
301 (todo-edit-item-time, todo-edit-item-date-from-calendar)
302 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
303 (todo-edit-item-date-year, todo-edit-item-date-month)
304 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
306 (todo-edit-item): Reimplement as wrapper command for
307 todo-edit-item--next-key and make it distinguish done and not done
309 (todo-edit-item--text): New function, replacing old command
310 todo-edit-item and incorporating deleted commands
311 todo-edit-multiline-item and todo-edit-done-item-comment.
312 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
313 Use only numeric value of prefix argument. Remove detailed
314 descriptions of the arguments from the documentation string, since
315 this is treated in the Todo mode user manual.
316 (todo-edit-item--diary-inclusion): New function, replacing old
317 command todo-edit-item-diary-inclusion and incorporating and fixing
318 functionality of deleted command todo-edit-item-diary-nonmarking,
319 making sure to remove todo-nondiary-marker when adding
320 diary-nonmarking-symbol.
321 (todo-edit-category-diary-inclusion): Make sure to delete
322 diary-nonmarking-symbol when adding todo-nondiary-marker.
323 (todo-edit-category-diary-nonmarking): Fix indentation.
324 (todo-insert-item--parameters): Group diary and nonmarking
326 (todo-insert-item--apply-args): Adjust to signature of
327 todo-insert-item--basic and incorporate copy parameter.
328 Make small code improvements.
329 (todo-insert-item--next-param): Improve prompt and adjust it to
330 new parameter grouping. Remove obsolete code.
331 (todo-edit-item--param-key-alist)
332 (todo-edit-item--date-param-key-alist)
333 (todo-edit-done-item--param-key-alist): New defconsts.
334 (todo-edit-item--prompt): New variable.
335 (todo-edit-item--next-key): New function.
336 (todo-key-bindings-t): Bind "e" to todo-edit-item.
337 Remove bindings of deleted commands.
339 2014-05-04 Leo Liu <sdl.web@gmail.com>
341 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
343 2014-05-04 Glenn Morris <rgm@gnu.org>
345 * allout-widgets.el (allout-widgets-tally)
346 (allout-decorate-item-guides):
347 * menu-bar.el (menu-bar-positive-p):
348 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
349 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
350 * progmodes/js.el (js--inside-param-list-p)
351 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
352 * progmodes/prolog.el (region-exists-p):
353 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
354 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
355 Doc fixes (replace `iff').
357 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
359 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
361 2014-05-04 Leo Liu <sdl.web@gmail.com>
363 Support Chinese diary entries in calendar and diary. (Bug#17393)
364 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
365 (calendar-chinese-from-absolute-for-diary)
366 (calendar-chinese-to-absolute-for-diary)
367 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
368 (diary-chinese-list-entries): New functions to list and mark
369 Chinese diary entries in the calendar window.
370 (diary-chinese-anniversary)
371 (diary-chinese-insert-anniversary-entry)
372 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
373 (diary-chinese-insert-yearly-entry): New commands to insert
374 Chinese diary entries.
376 * calendar/diary-lib.el (diary-font-lock-keywords):
377 Support font-locking Chinese dates.
379 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
380 inserting Chinese diary entries.
382 * calendar/calendar.el (diary-chinese-entry-symbol):
383 New customizable variable.
384 (calendar-mode-map): Add bindings for inserting Chinese diary
387 2014-05-03 Juri Linkov <juri@jurta.org>
389 * dired.el (dired-check-switches, dired-switches-recursive-p):
390 New functions. (Bug#17218)
391 (dired-switches-escape-p, dired-move-to-end-of-filename):
392 Use `dired-check-switches'.
393 (dired-insert-old-subdirs, dired-build-subdir-alist)
394 (dired-sort-R-check): Use `dired-switches-recursive-p'.
396 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
398 * simple.el (undo-make-selective-list): New algorithm fixes
399 incorrectness of position adjustments when undoing in region.
401 (undo-elt-crosses-region): Make obsolete.
402 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
403 New functions to adjust positions using undo-deltas.
405 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
407 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
408 the last consecutive closing paren (bug#17345).
410 2014-04-30 Reuben Thomas <rrt@sc3d.org>
412 * dired.el (dired-mode): make terminology for eXpunge command
413 consistent. (Bug#17276)
415 2014-04-30 Eli Zaretskii <eliz@gnu.org>
417 * dired.el (dired-initial-position-hook, dired-initial-position):
420 2014-04-30 Glenn Morris <rgm@gnu.org>
422 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
424 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
426 * faces.el (face-spec-recalc): Apply X resources only after the
427 defface spec has been applied. Thus, X resources are no longer
428 overriden by the defface spec which also fixes issues on win32 where
429 the toolbar coloring was wrong because it is set through X resources
430 and was (wrongfully) overriden. (Bug#16694)
432 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
434 * textmodes/rst.el (electric-pair-pairs): Declare.
435 (rst-mode): Set it (bug#17131).
437 2014-04-30 Juri Linkov <juri@jurta.org>
439 * desktop.el (desktop-value-to-string): Let-bind `print-length'
440 and `print-level' to nil. (Bug#17351)
442 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
444 * battery.el (battery-update): Handle the case where battery
445 status is "N/A" (bug#17319).
447 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
449 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
450 to syntax-propertize.
451 (ps-mode-auto-indent): Mark as obsolete.
452 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
453 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
454 word regexp operators.
455 (ps-mode-map): Move initialization into declaration. Remove binding
456 for TAB, RET, >, ], and }.
457 (ps-mode-syntax-table): Move initialization into declaration.
458 Don't give word syntax to non-word chars.
459 (ps-run-mode-map): Move initialization into declaration.
460 (ps-mode-menu-main): Remove auto-indent entry.
461 (ps-mode-smie-rules): New function.
462 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
463 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
464 (ps-mode--string-syntax-table): New const.
465 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
467 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
468 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
470 2014-04-27 Daniel Colascione <dancol@dancol.org>
472 * term/xterm.el (xterm-paste): Use large finite timeout when
473 reading event to avoid putting keys in this-command-keys.
475 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
477 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
478 (perl-syntax-propertize-function): Use it. Extend handling of
479 here-docs to the unquoted case.
481 2014-04-25 Eli Zaretskii <eliz@gnu.org>
483 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
484 Use equal-including-properties to compare help-echo strings (bug#17331).
486 2014-04-25 Leo Liu <sdl.web@gmail.com>
488 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
489 Fix syntax for @. (Bug#17325)
491 2014-04-25 Daniel Colascione <dancol@dancol.org>
493 * emacs-lisp/cl.el (gv): Require gv early to break eager
494 macro-expansion cycles.
496 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
498 * simple.el (region-active-p): Check there's a mark (bug#17324).
500 * simple.el (completion-list-mode-map): Use choose-completion for the
501 mouse binding as well (bug#17302).
502 (completion-list-mode, completion-setup-function): Adjust docstring and
503 echo area message accordingly.
504 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
505 calling convention of choose-completion.
506 * comint.el (comint-dynamic-list-completions):
507 * term.el (term-dynamic-list-completions): Accept choose-completion.
509 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
510 &, |, +, - and * can't be a division (bug#17317).
512 * term/xterm.el (xterm--version-handler): Don't use modern xterm
513 features on gnome-terminal (bug#16988).
515 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
517 Improve Scheme font-locking for (define ((foo ...) ...) ...).
519 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
520 the declared object, ignore zero or more parens, not zero or one.
522 2014-04-24 Leo Liu <sdl.web@gmail.com>
524 * progmodes/xscheme.el (xscheme-expressions-ring)
525 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
526 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
527 (xscheme-allow-output-p, xscheme-prompt)
528 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
530 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
531 Comment out unused functions.
533 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
535 * info.el: Use lexical-binding and cl-lib.
536 Use defvar-local and setq-local instead of make-local-variable.
537 (Info-apropos-matches): Avoid add-to-list.
538 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
540 2014-04-24 Daniel Colascione <dancol@dancol.org>
542 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
544 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
546 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
548 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
550 * dired.el (dired-insert-set-properties): Do not consider
551 subdirectory headings and empty lines to be information that
552 `dired-hide-details-mode' should hide. (Bug#17228)
554 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
556 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
557 Remove test messages.
558 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
561 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
563 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
564 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
566 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
568 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
570 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
571 Set "IFS=" when using read builtin, in order to preserve spaces in
572 the file name. Add test messages for hunting a bug on hydra.
573 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
575 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
577 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
578 Don't prettify a word within a symbol.
580 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
582 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
585 2014-04-22 Daniel Colascione <dancol@dancol.org>
587 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
588 use defun to define `function-put'.
590 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
592 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
593 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
594 (lisp-mode-variables): Set font-lock-extra-managed-props.
596 * emacs-lisp/byte-run.el (function-put): New function.
597 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
598 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
599 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
602 2014-04-22 Daniel Colascione <dancol@dancol.org>
604 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
605 Add `full-p' parameter; when nil, call `macroexpand' instead of
608 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
611 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
612 Use lambda function values, not quoted lambdas.
613 (byte-compile-recurse-toplevel): Remove extraneous &optional.
615 * emacs-lisp/cl-macs.el
616 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
617 (cl-struct-slot-value): Conditionally use aref or nth so that the
618 compiler produces optimal code.
620 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
623 (inline): Don't inline cl--set-elt.
624 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
625 Define as inlinable instead.
626 (cl-struct-set-slot-value): Remove.
628 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
629 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
632 2014-04-21 Daniel Colascione <dancol@dancol.org>
634 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
635 last two parameters after all.
636 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
637 (cl--compiler-macro-assoc,cl-struct-slot-value)
638 (cl-struct-set-slot-value): Stop using them.
640 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
642 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
643 entry in image-mode-winprops-alist.
645 2014-04-21 Daniel Colascione <dancol@dancol.org>
647 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
648 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
649 (byte-compile-toplevel-file-form): Use it.
651 * emacs-lisp/cl-macs.el:
652 (cl--loop-let): Properly destructure `while' clauses.
654 2014-04-20 Daniel Colascione <dancol@dancol.org>
656 * vc/vc.el (vc-root-dir): New public autoloaded function for
657 generically finding the current VC root.
658 * vc/vc-hooks.el (vc-not-supported): New error.
659 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
661 2014-04-20 Daniel Colascione <dancol@dancol.org>
663 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
665 (cl--const-expr-val): cl--const-expr-val should macroexpand its
666 argument in case we're inside a symbol-macrolet.
667 (cl--do-arglist, cl--compiler-macro-typep)
668 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
669 environment to `cl--const-expr-val'.
670 (cl-struct-sequence-type,cl-struct-slot-info)
671 (cl-struct-slot-offset, cl-struct-slot-value)
672 (cl-struct-set-slot-value): New functions.
674 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
676 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
677 assignments such as "case=hello" (bug#17297).
679 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
681 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
683 (tramp-file-name-handler, tramp-completion-file-name-handler):
684 Revert patch from 2014-04-10, it isn't necessary anymore.
685 (tramp-autoload-file-name-handler)
686 (tramp-register-autoload-file-name-handlers): New defuns.
687 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
688 (tramp-register-file-name-handlers): Remove also
689 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
690 Do not autoload its invocation, but eval it after loading of 'tramp.
692 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
694 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
696 2014-04-17 Daniel Colascione <dancol@dancol.org>
698 Add support for bracketed paste mode; add infrastructure for
699 managing terminal mode enabling and disabling automatically.
702 (xterm-mouse-mode): Simplify.
703 (xterm-mouse-tracking-enable-sequence)
704 (xterm-mouse-tracking-disable-sequence): New constants.
705 (turn-on-xterm-mouse-tracking-on-terminal)
706 (turn-off-xterm-mouse-tracking-on-terminal):
707 Use tty-mode-set-strings and tty-mode-reset-strings terminal
708 parameters instead of random hooks.
709 (turn-on-xterm-mouse-tracking)
710 (turn-off-xterm-mouse-tracking): Delete.
712 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
713 (xterm-paste-ending-sequence): New constant.
714 (xterm-paste): New command used for bracketed paste support.
716 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
717 (terminal-init-xterm-bracketed-paste-mode): New function.
718 (terminal-init-xterm): Call it.
719 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
720 and tty-mode-reset-strings instead of random hooks.
721 (xterm-turn-on-modify-other-keys)
722 (xterm-turn-off-modify-other-keys)
723 (xterm-remove-modify-other-keys): Delete obsolete functions.
725 * term/screen.el: Rewrite to just use the xterm code.
726 Add copyright notice. Mention tmux.
728 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
730 * image-mode.el (image-mode-window-put): Also update the property of
731 the "default window".
732 * doc-view.el (doc-view-new-window-function): If no window
733 exists, move to the last known page.
735 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
737 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
738 here-documents (bug#17262).
740 2014-04-16 Eli Zaretskii <eliz@gnu.org>
742 * term/pc-win.el (x-list-fonts, x-get-selection-value):
743 Provide doc strings, as required by snarf-documentation.
745 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
747 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
748 arg of overlays-at. Use `invisible-p'.
750 * obsolete/lucid.el (extent-at):
751 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
753 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
755 2014-04-16 João Távora <joaotavora@gmail.com>
757 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
760 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
762 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
763 Use mapc to loop over a vector. (Bug#17257).
765 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
767 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
768 patch, there are new problems with file names containing spaces.
769 Get rid of backticks. (Bug#17238)
771 2014-04-16 João Távora <joaotavora@gmail.com>
773 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
776 2014-04-16 Eli Zaretskii <eliz@gnu.org>
778 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
779 (blink-cursor-mode): Mention customization variables and the
780 effect of 'blink-cursor-blinks'.
782 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
784 * simple.el (undo): Prevent insertion of identity mapping into
785 undo-equiv-table so as undo-only does not inf loop in the presence
786 of consecutive nils in undo list.
788 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
790 * faces.el (make-face): Deprecate optional argument as it is no
791 longer needed/used since the conditional X resources handling
792 has been pushed down to make-face-x-resource-internal itself.
793 (make-empty-face): Don't pass optional argument to make-face.
795 2014-04-16 Karl Fogel <kfogel@red-bean.com>
797 * savehist.el (savehist-save): Remove workaround for a read-passwd
798 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
799 noticing that the shim was still present.
801 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
803 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
805 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
807 * faces.el (face-set-after-frame-default): Remove unused local variable.
809 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
811 * progmodes/grep.el: Use lexical-binding.
812 (grep-expand-template): Pass explicit lexical env to `eval'.
813 (zrgrep): Let-bind grep-find-template explicitly.
815 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
816 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
818 2014-04-12 Eli Zaretskii <eliz@gnu.org>
820 * international/characters.el <standard-case-table>: Add entries
821 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
822 Set category of Coptic characters be 'g' (Greek).
824 2014-04-12 Leo Liu <sdl.web@gmail.com>
826 * progmodes/octave.el (completion-table-with-cache):
827 Define if not available.
828 (octave-goto-function-definition, octave-sync-function-file-names)
829 (octave-find-definition-default-filename):
830 Backquote upattern for compatibility.
832 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
834 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
835 name twice due to backticks. (Bug#17238)
837 2014-04-12 Glenn Morris <rgm@gnu.org>
839 * term/w32-win.el (x-win-suspend-error):
840 * term/x-win.el (x-win-suspend-error): Sync docs.
842 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
844 * faces.el (make-face): Remove deprecated optional argument.
845 The conditional application of X resources is handled directly by
846 make-face-x-resource-internal since Emacs 24.4.
847 (make-empty-face): Don't pass optional argument to make-face.
849 2014-04-11 Glenn Morris <rgm@gnu.org>
851 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
853 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
855 Ediff's overlay priorities cause more trouble than they solve.
856 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
857 (ediff-highest-priority): Remove function (bug#17234).
858 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
859 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
860 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
863 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
865 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
866 entry; use symbol boundaries to avoid mis-matches.
868 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
870 * net/tramp.el (tramp-file-name-handler)
871 (tramp-completion-file-name-handler): Avoid recursive loading.
873 * net/tramp-sh.el (tramp-make-copy-program-file-name):
874 Quote result also locally.
876 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
878 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
879 Remove left-over code.
881 * newcomment.el (comment-indent-new-line): Sink code where it's used.
882 Reuse the previous comment's indentation unconditionally if it's on its
885 2014-04-09 Daniel Colascione <dancol@dancol.org>
887 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
888 `no-syntax-crossing' arguments. Forward to `up-list'.
889 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
890 Implement logic for escaping from strings. Use narrowing to deal
893 2014-04-09 Leo Liu <sdl.web@gmail.com>
895 * net/rcirc.el (rcirc-connection-info): New variable.
896 (rcirc-connect): Use it to store connection info.
897 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
899 (rcirc-cmd-reconnect): New command. (Bug#17045)
900 (rcirc-mode, set-rcirc-encode-coding-system)
901 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
903 2014-04-09 Daniel Colascione <dancol@dancol.org>
905 * emacs-lisp/cl-indent.el: Add comment claiming
906 facility is also good for elisp.
907 (lisp-indent-find-method): New function.
908 (common-lisp-indent-function): Recognize cl-loop.
909 (common-lisp-indent-function-1): Recognize cl constructs; use
910 `lisp-indent-find-method' instead of `get' directly.
911 (if): Use else-body style for elisp.
913 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
915 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
916 Module methods. (Bug#17216)
918 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
920 * help.el (describe-bindings): Fix buffer handling (bug#17210).
921 (describe-bindings-internal): Mark obsolete.
923 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
925 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
926 buffer-file-name, and buffer-file-truename any more.
928 2014-04-08 Leo Liu <sdl.web@gmail.com>
930 Use lexical-binding and require cl-lib.
931 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
932 (rcirc-handler-generic, rcirc-fill-paragraph)
933 (rcirc-format-response-string, rcirc-target-buffer)
934 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
935 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
936 (rcirc-ctcp-sender-PING, rcirc-browse-url)
937 (rcirc-markup-timestamp, rcirc-markup-attributes)
938 (rcirc-markup-my-nick, rcirc-markup-urls)
939 (rcirc-markup-bright-nicks, rcirc-markup-fill)
940 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
941 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
942 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
943 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
944 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
945 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
946 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
947 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
948 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
949 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
952 2014-04-07 João Távora <joaotavora@gmail.com>
954 * elec-pair.el (electric-pair--syntax-ppss):
955 When inside comments parse from comment beginning.
956 (electric-pair--balance-info): Fix typo in comment.
957 (electric-pair--in-unterminated-string-p): Delete.
958 (electric-pair--unbalanced-strings-p): New function.
959 (electric-pair-string-bound-function): New var.
960 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
961 according to `electric-pair--in-unterminated-string-p'
963 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
964 Inhibit quote pairing if point-max is inside an unterminated string.
965 (electric-pair--looking-at-unterminated-string-p): Delete.
966 (electric-pair--in-unterminated-string-p): New function.
968 2014-04-07 Glenn Morris <rgm@gnu.org>
970 * shell.el (shell-directory-tracker):
971 Go back to just ignoring failures. (Bug#17159)
973 2014-04-07 João Távora <joaotavora@gmail.com>
975 Fix `electric-pair-delete-adjacent-pairs' in modes binding
976 backspace. (bug#16981)
977 * elec-pair.el (electric-pair-backward-delete-char): Delete.
978 (electric-pair-backward-delete-char-untabify): Delete.
979 (electric-pair-mode-map): Bind backspace to a menu item filtering
980 a new `electric-pair-delete-pair' command.
981 (electric-pair-delete-pair): New command.
983 * progmodes/python.el (python-electric-pair-string-delimiter):
984 Fix triple-quoting electricity. (Bug#17192)
986 * elec-pair.el (electric-pair-post-self-insert-function):
987 Don't skip whitespace when `electric-pair-text-pairs' and
988 `electric-pair-pairs' were used. syntax to
989 electric-pair--skip-whitespace. (Bug#17183)
991 2014-04-07 Eli Zaretskii <eliz@gnu.org>
993 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
996 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
998 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
999 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1001 2014-04-07 Glenn Morris <rgm@gnu.org>
1003 * help.el (view-lossage): Doc tweak.
1005 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1007 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1008 only when inhibit-x-resources is nil, and do that earlier in the
1009 function. Doc fix. (Bug#16694)
1010 (face-spec-choose): Accept additional optional argument, whose
1011 value is returned if no matching attributes are found.
1012 (face-spec-recalc): Use the new optional argument when calling
1013 face-spec-choose. (Bug#16378)
1014 (make-face-x-resource-internal): Do nothing when
1015 inhibit-x-resources is non-nil. Don't touch the default face if
1016 reversed video is given--as was done in previous versions of Emacs.
1017 (face-set-after-frame-default): Don't call
1018 make-face-x-resource-internal here. (Bug#16434)
1020 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1022 * doc-view.el (doc-view-bookmark-jump):
1023 Use `bookmark-after-jump-hook' to jump to the right page after the
1024 buffer is shown in a window. (bug#16090)
1026 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1028 * international/characters.el (mirroring): Fix last change:
1029 instead of loading uni-mirrored.el explicitly, do that implicitly
1030 by creating the 'mirroring' uniprop table. This avoids announcing
1031 the loading of uni-mirrored.el.
1033 2014-04-07 Glenn Morris <rgm@gnu.org>
1035 * files.el (buffer-stale--default-function)
1036 (buffer-stale-function, revert-buffer--default):
1037 * autorevert.el (auto-revert-buffers): Doc tweaks.
1039 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1041 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1043 2014-04-07 Glenn Morris <rgm@gnu.org>
1045 * files.el (make-backup-file-name-function)
1046 (make-backup-file-name, make-backup-file-name--default-function)
1047 (make-backup-file-name-1, find-backup-file-name)
1048 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1049 (buffer-stale--default-function, buffer-stale-function)
1050 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1051 (revert-buffer, revert-buffer--default)
1052 (revert-buffer-insert-file-contents--default-function):
1053 Doc fixes related to defaults no longer being nil.
1054 (make-backup-file-name-function): Bump :version.
1055 Restore nil as a valid but deprecated custom type.
1057 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1059 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1060 Handle $' used as a variable (bug#17174).
1062 * progmodes/perl-mode.el (perl-indent-new-calculate):
1063 Handle forward-sexp failure (bug#16985).
1064 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1065 modifiers introducing expressions (bug#17116).
1067 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1069 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1071 2014-04-05 Leo Liu <sdl.web@gmail.com>
1073 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1074 Add define-compilation-mode.
1076 2014-04-04 João Távora <joaotavora@gmail.com>
1078 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1079 parse from comment beginning.
1080 (electric-pair--balance-info): Fix typo in comment.
1081 (electric-pair--in-unterminated-string-p): Delete.
1082 (electric-pair--unbalanced-strings-p): New function.
1083 (electric-pair-string-bound-function): New var.
1084 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1085 according to `electric-pair--in-unterminated-string-p'.
1087 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1089 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1090 Move declaration before first use.
1091 (reftex-move-to-next-arg): Silence compiler warning.
1093 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1095 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1096 Use `window-total-width' instead of `window-width'.
1098 2014-04-03 Daniel Colascione <dancol@dancol.org>
1100 * subr.el (set-transient-map): Remove rms's workaround entirely;
1101 use new `suspicious-object' subr to mark our lambda for closer
1104 2014-04-02 Richard Stallman <rms@gnu.org>
1106 * subr.el (set-transient-map): Comment out previous change.
1108 2014-04-02 Glenn Morris <rgm@gnu.org>
1110 * menu-bar.el (menu-bar-file-menu):
1111 * vc/ediff.el (ediff-current-file):
1112 Update for revert-buffer-function no longer being nil by default.
1114 * simple.el (command-execute): Respect nil disabled-command-function.
1116 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1118 * simple.el (command-execute): Do not execute the command when it
1119 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1121 2014-04-02 Juri Linkov <juri@jurta.org>
1123 * dired-aux.el (dired-compress-file): Don't use string-match-p
1124 because its match data is used afterwards.
1126 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1128 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1131 2014-04-02 João Távora <joaotavora@gmail.com>
1133 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1134 Inhibit quote pairing if point-max is inside an unterminated string.
1135 (electric-pair--looking-at-unterminated-string-p):
1137 (electric-pair--in-unterminated-string-p): New function.
1139 2014-04-01 Daniel Colascione <dancol@dancol.org>
1141 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1142 when trying to complete the prompt.
1144 2014-03-31 Leo Liu <sdl.web@gmail.com>
1146 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1147 Refactor out eldoc-documentation-function-default.
1148 (eldoc-documentation-function-default): New function.
1149 (eldoc-documentation-function): Change value.
1151 2014-03-31 Glenn Morris <rgm@gnu.org>
1153 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1155 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1156 (vhdl-compose-components-package, vhdl-compose-configuration):
1157 Abbreviate default-directory (missing from some previous upstream sync).
1159 2014-03-31 Reto Zimmermann <reto@gnu.org>
1161 Sync with upstream vhdl mode v3.35.2.
1162 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1163 (top-level): No longer require assoc.
1164 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1165 New functions. Use throughout to replace aget etc.
1166 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1167 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1168 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1169 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1170 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1171 except `vhdl-compiler'.
1172 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1175 2014-03-31 Glenn Morris <rgm@gnu.org>
1177 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1178 Revert 2014-03-26 merge goof; go back to using defalias.
1180 2014-03-30 Daniel Colascione <dancol@dancol.org>
1182 * comint.el (comint-send-input):
1183 Deactivate completion-in-region-mode before we send comint input.
1186 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1189 2014-03-29 Glenn Morris <rgm@gnu.org>
1191 * textmodes/reftex.el: Manage most autoloads automatically.
1192 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1193 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1194 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1195 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1196 * textmodes/reftex-toc.el: Set generated-autoload-file,
1197 and add autoload cookies for reftex.el.
1198 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1200 2014-03-28 Glenn Morris <rgm@gnu.org>
1202 * cus-start.el (report-emacs-bug-address): Set custom properties.
1203 * mail/emacsbug.el (report-emacs-bug-address):
1204 Variable is now defined in emacs.c.
1206 * mail/emacsbug.el (report-emacs-bug):
1207 Include system-configuration-features.
1209 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1211 * simple.el (cycle-spacing): Never delete spaces on first run by
1212 default, but do so in a new 'fast mode and if there are already
1213 N spaces (the previous behavior).
1214 Compare N with its value in previous invocation so that changing
1215 prefix argument restarts `cycle-spacing' sequence.
1216 The idea is that with this change, binding M-SPC to
1217 `cycle-spacing' should not introduce any changes in behavior of
1218 the binding so long as users do not type M-SPC twice in a raw with
1219 the same prefix argument or lack thereof.
1221 2014-03-28 Glenn Morris <rgm@gnu.org>
1223 * faces.el (term-file-aliases): New variable.
1224 (tty-run-terminal-initialization): Respect term-file-aliases.
1225 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1226 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1227 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1229 2014-03-27 Glenn Morris <rgm@gnu.org>
1231 * startup.el (inhibit-startup-hooks): Doc tweak.
1232 (normal-top-level): Simplify running of hooks.
1233 For window-setup-hook, respect inhibit-startup-hooks.
1234 (command-line-1): Don't set window-setup-hook to nil.
1236 Allow selective autoloading from obsolete/ directory.
1237 * Makefile.in (obsolete-autoloads): New rule.
1238 (autoloads): Run obsolete-autoloads.
1239 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1240 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1242 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1244 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1245 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1247 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1248 Don't propertize `?' or `!' as symbol constituent when after
1251 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1253 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1254 which is no longer needed and causes trouble in GTK builds (bug#17046).
1256 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1257 Use url-insert-file-contents; package-handle-response no longer exists.
1259 2014-03-26 Daniel Colascione <dancol@dancol.org>
1261 * simple.el (process-menu-mode-map): New variable.
1262 (process-menu-delete-process): New command.
1264 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1266 * emacs-lisp/package.el: Fix bug#16733 (again).
1267 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1268 (url-http-target-url): Remove unused declarations.
1269 (package-handle-response): Remove.
1270 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1271 (package--download-one-archive): Use current-buffer instead of
1272 dynamic binding of `buffer'.
1273 (describe-package-1): Do not decode readme-string.
1275 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1277 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1279 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1280 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1281 `remote-file-name-inhibit-cache' to nil in the second pass.
1282 (tramp-find-executable): Do not call "which" on SunOS.
1283 (tramp-send-command-and-check): Fix docstring.
1284 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1285 check whether source directory has set the sticky bit.
1287 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1289 * simple.el (primitive-undo): Only process marker adjustments
1290 validated against their corresponding (TEXT . POS). Issue warning
1291 for lone marker adjustments in undo history. (Bug#16818)
1292 (undo-make-selective-list): Add marker adjustments to selective
1293 undo list based on whether their corresponding (TEXT . POS) is in
1294 the region. Remove variable adjusted-markers, which was unused
1295 and only non nil during undo-make-selective-list.
1296 (undo-elt-in-region): Return nil when passed a marker adjustment
1297 and explain in function doc.
1299 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1301 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1303 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1305 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1306 Match special global variables without curlies, too.
1307 (ruby-font-lock-keywords): Simplify the matcher for special global
1308 variables. Don't require a non-word character after the variable.
1311 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * simple.el (redisplay-highlight-region-function): Increase priority of
1314 overlay to make sure boundaries are visible (bug#15899).
1316 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1318 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1319 (frameset-restore): Compare display strings with equal.
1321 * frame.el (make-frame): Don't quote display name in error message,
1322 it is already a string.
1324 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1326 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1329 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1331 * emacs-lisp/package.el (package--add-to-archive-contents):
1332 Include already installed and built-in packages in
1333 `package-archive-contents'.
1334 (package-install): Don't include already installed packages in the
1335 options during interactive invocation. (Bug#16762)
1336 (package-show-package-list): If the buffer is already displayed in
1337 another window, switch to that window.
1339 2014-03-26 Reto Zimmermann <reto@gnu.org>
1341 Sync with upstream vhdl mode v3.35.1.
1342 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1343 (vhdl-compiler-alist): Doc fix.
1344 (vhdl-goto-line): Remove.
1345 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1346 (vhdl-mode) <paragraph-start>: Fix value.
1347 (vhdl-fix-statement-region): Not `for' in wait-statement.
1348 (vhdl-beautify-region): Also (un)tabify.
1349 (vhdl-get-visible-signals):
1350 Scan declarative part of generate statements.
1351 (vhdl-template-record): Fix indentation for record type declaration.
1352 (vhdl-expand-abbrev, vhdl-expand-paren):
1353 Revert to using fset again rather than defalias.
1354 (vhdl-scan-directory-contents): Tweak.
1355 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1356 (vhdl-compose-components-package):
1357 Replace vhdl-goto-line with forward-line.
1358 (top-level): Tweak speedbar frame selection.
1359 (vhdl-generate-makefile-1): Support for compilers with no
1360 unit-to-file name mapping (create directory with dummy files).
1362 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1364 Sync with upstream verilog-mode revision 702457d.
1365 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1366 (create-lockfiles): Declare.
1367 (verilog-read-decls): Fix module header imports, bug709.
1368 Reported by Victor Lau.
1369 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1370 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1371 interface-only modules, bug721. Reported by Dean Hoyt.
1373 2014-03-26 Glenn Morris <rgm@gnu.org>
1375 * obsolete/gulp.el: Move here from emacs-lisp/.
1377 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1378 Remove fallback aliases, since they are always defined now.
1380 2014-03-24 Daniel Colascione <dancol@dancol.org>
1382 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1383 instead of cl-loop search function.
1385 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1387 * calendar/parse-time.el (parse-time-iso8601-regexp)
1388 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1391 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1393 * net/dns.el (network-interface-list): Define for XEmacs.
1395 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1397 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1398 the network interfaces changed.
1399 (dns-query): Use it to flush the data.
1401 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1403 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1405 2014-03-23 Daniel Colascione <dancol@dancol.org>
1407 Change subword-mode to use `find-word-boundary-function-table' and
1408 replace `capitalized-words-mode'. Also, convert to lexical
1411 * progmodes/cap-words.el: Delete now-obsolete file.
1412 * progmodes/subword.el: Reimplement using
1413 `find-word-boundary-function-table'.
1414 (subword-mode-map): Hollow out.
1415 (capitalized-words-mode): Define as obsolete alias for
1417 (subword-mode, superword-mode): Tweak documentation to reflect new
1418 implementation; call `subword-setup-buffer'.
1419 (subword-forward, subword-capitalize): Add underscore to indicate
1421 (subword-find-word-boundary-function-table): New constant.
1422 (subword-empty-char-table): New constant.
1423 (subword-setup-buffer): New function.
1424 (subword-find-word-boundary): New function.
1426 2014-03-23 Daniel Colascione <dancol@dancol.org>
1428 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1429 list to look for keyword arguments instead of `memq', fixing
1430 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1431 Please make bootstrap.
1433 2014-03-22 Glenn Morris <rgm@gnu.org>
1435 * dired.el (dired-read-regexp): Make obsolete.
1436 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1437 (dired-flag-files-regexp):
1438 * dired-aux.el (dired-mark-read-regexp):
1439 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1441 * startup.el (fancy-startup-text):
1442 * help.el (describe-gnu-project): Visit online info about GNU project.
1444 * help-fns.el (help-fns--interactive-only): New function.
1445 (help-fns-describe-function-functions): Add the above function.
1446 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1447 (next-line, previous-line): Remove hand-written interactive-only
1448 information from doc strings, it is auto-generated now.
1449 * bookmark.el (bookmark-write):
1450 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1451 (epa-mail-import-keys): Mark interactive-only,
1452 and remove hand-written interactive-only information from doc strings.
1453 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1454 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1455 * files.el (not-modified):
1456 * simple.el (mark-whole-buffer): Mark interactive-only.
1458 * emacs-lisp/byte-run.el (defun-declarations-alist):
1459 Add interactive-only. Doc tweak.
1460 (macro-declarations-alist): Doc tweak.
1461 * subr.el (declare): Doc tweak (add xref to manual).
1462 * comint.el (comint-run):
1463 * files.el (insert-file-literally, insert-file):
1464 * replace.el (replace-string, replace-regexp):
1465 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1466 (delete-forward-char, goto-line, insert-buffer, next-line)
1467 (previous-line): Set interactive-only via declare.
1469 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1471 * emacs-lisp/package.el (package-desc): Use the contents of the
1472 quoted form, not its cdr. (Bug#16873)
1474 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1476 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1477 benefit of doc.c; change parameter profile to match the X function.
1479 2014-03-22 Leo Liu <sdl.web@gmail.com>
1481 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1482 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1484 2014-03-21 Richard Stallman <rms@gnu.org>
1486 * battery.el (battery-linux-sysfs): Search for each field
1487 from the beginning of the buffer.
1489 * subr.el (set-transient-map): Clear out function and value
1490 of the temporary symbol when we're done with it.
1492 * mail/rmailsum.el (rmail-summary-delete-forward):
1493 Optimize case of reaching end and handling count.
1494 (rmail-summary-mark-deleted): Optimize when N is current msg.
1495 Don't create new summary line.
1496 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1497 (rmail-summary-undelete-many): Rewrite for speed.
1498 (rmail-summary-msg-number): New function.
1500 * mail/rmail.el (rmail-delete-message): Update summary.
1501 (rmail-undelete-previous-message): Handle repeat count arg.
1502 (rmail-delete-backward, rmail-delete-forward): Likewise.
1504 2014-03-21 Daniel Colascione <dancol@dancol.org>
1506 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1507 information in bug reports.
1509 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1511 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1512 and `tramp-copy-env'.
1514 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1515 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1517 2014-03-21 Glenn Morris <rgm@gnu.org>
1519 * electric.el (electric-indent-post-self-insert-function): Add doc.
1521 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1523 * emacs-lisp/package.el (package-compute-transaction):
1524 Use `version-list-<=' to compare the requirement version against
1525 the version of package already to be installed. Update the error
1526 message. (Bug#16826)
1528 * progmodes/ruby-mode.el (ruby-smie-rules):
1529 Add indentation rule for ` @ '. (Bug#17050)
1531 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1533 * align.el (align-regexp): Remove superfluous backslash.
1535 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1536 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1537 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1538 Fix docstring typos.
1539 (ffap-next): Use C-u in docstring.
1540 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1541 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1542 Remove superfluous backslashes.
1543 (ffap-string-at-point): Reflow docstring.
1545 * server.el (server-host): Reflow docstring.
1546 (server-unload-function): Fix docstring typo.
1547 (server-eval-at): Remove superfluous backslash.
1549 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1550 (skeleton-insert): Doc fix.
1551 (skeleton-insert): Reflow docstring.
1553 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1554 (tty-color-approximate, tty-color-by-index, tty-color-values)
1555 (tty-color-desc): Remove superfluous backslashes.
1557 2014-03-21 Glenn Morris <rgm@gnu.org>
1559 * cus-start.el (history-length): Bump :version.
1561 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1562 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1563 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1564 Don't set `make-backup-files'.
1566 * info.el (info--prettify-description): New function,
1567 to give info-finder descriptions consistent case, punctuation.
1568 (Info-finder-find-node): Use it. Sort packages.
1569 Refer to "description" rather than "commentary".
1571 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1573 * frameset.el (frameset--print-register): New function.
1574 (frameset-to-register): Use it.
1576 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1578 * progmodes/hideif.el (hif-string-to-number): New function.
1579 (hif-tokenize): Use it to understand non-decimal floats.
1581 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1583 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1585 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * electric.el (electric-newline-and-maybe-indent): New command.
1588 Bind it globally to C-j.
1589 (electric-indent-mode): Don't mess with the global map any more.
1590 Don't drop the post-self-insert-hook is some buffer is still using it
1593 * bindings.el (global-map): Remove C-j binding.
1595 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1596 the docstring of functions advised before dumping (bug#16993).
1598 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1600 * ps-print.el (ps-generate-postscript-with-faces):
1601 Explicitly deactivate the mark (bug#16866).
1602 * simple.el (deactivate-mark): Update region highlight.
1604 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1606 * emacs-lisp/package.el (describe-package-1):
1607 Decode commentary (bug#16733).
1609 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1611 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1612 modification of the value argument of :set (bug#16755).
1614 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * simple.el (newline-and-indent): Do autofill (bug#17031).
1618 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1620 * newcomment.el (comment-normalize-vars): Only add escaping check
1621 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1622 (comment-beginning): Use `narrow-to-region' instead of moving back
1624 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1625 (comment-start-skip): Update the docstring.
1627 2014-03-18 Richard Stallman <rms@gnu.org>
1629 * dired.el (dired-display-file): Force use of other window.
1631 2014-03-18 Daniel Colascione <dancol@dancol.org>
1633 * startup.el (tty-handle-args): Remove debug message from 2007.
1635 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1637 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1638 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1639 (advice--make-1, advice-add, advice-remove):
1640 Remove braindead :advice-pending hack.
1642 2014-03-17 Glenn Morris <rgm@gnu.org>
1644 * calendar/calendar.el (calendar-generate-month): Apply weekend
1645 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1647 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1649 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1650 (tramp-call-process): Trace also DESTINATION.
1652 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1653 Quote file names when they are local. Remove superfluous trace.
1655 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1657 * newcomment.el (comment-beginning): If `comment-start-skip'
1658 doesn't match, move back one char and try again. (Bug#16971)
1660 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1661 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1662 Set `comment-start-skip' to a simpler value that doesn't try to
1663 check if the semicolon is escaped (this is handled by
1664 `syntax-ppss' now). (Bug#16971)
1666 * progmodes/scheme.el (scheme-mode-variables): Same.
1668 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1670 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1671 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1672 current (Bug#16816, Bug#17007).
1673 (with-current-buffer-window): New macro doing the same as
1674 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1675 * help.el (help-print-return-message): Warn in doc-string to not
1676 use this in `with-help-window'.
1677 (describe-bindings-internal): Call `describe-buffer-bindings'
1678 from within help buffer. See Juanma's scenario in (Bug#16816).
1679 (with-help-window): Update doc-string.
1680 * dired.el (dired-mark-pop-up):
1681 * files.el (save-buffers-kill-emacs):
1682 * register.el (register-preview): Use `with-current-buffer-window'
1683 instead of `with-temp-buffer-window'.
1685 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1687 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1688 Implement inserting into current buffer, documented in their docstrings.
1689 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1690 (rst-section-tree-point, rst-forward-section, rst-indent)
1691 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1692 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1693 (rst-font-lock-handle-adornment-pre-match-form)
1694 (rst-repeat-last-character): Reflow docstrings.
1695 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1696 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1697 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1698 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1699 Fix docstring typos.
1700 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1701 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1702 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1704 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1706 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1707 for compatibility with other ports.
1708 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1709 from the -xrm command line argument, but in the Nextstep port its value
1710 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1712 * progmodes/python.el (defconst, python-syntax-count-quotes)
1713 (python-indent-region, python-indent-shift-right)
1714 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1715 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1716 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1717 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1718 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1719 (python-shell-buffer-substring, python-shell-send-buffer)
1720 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1721 (python-completion-complete-at-point, python-fill-docstring-style)
1722 (python-eldoc-function, python-imenu-format-item-label)
1723 (python-imenu-format-parent-item-label)
1724 (python-imenu-format-parent-item-jump-label)
1725 (python-imenu--build-tree, python-imenu-create-index)
1726 (python-imenu-create-flat-index): Fix docstring typos.
1727 (python-indent-context, python-shell-prompt-regexp, run-python):
1728 Remove superfluous backslashes.
1729 (python-indent-line, python-nav-beginning-of-defun)
1730 (python-shell-get-buffer, python-shell-get-process)
1731 (python-info-current-defun, python-info-current-line-comment-p)
1732 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1733 (python-indent-post-self-insert-function, python-shell-send-file)
1734 (python-shell-completion-get-completions)
1735 (python-shell-completion-complete-or-indent)
1736 (python-eldoc--get-doc-at-point): Reflow docstrings.
1738 2014-03-14 Glenn Morris <rgm@gnu.org>
1740 * emacs-lisp/package.el (package-menu-mode-map):
1741 Replace use of obsolete function alias. Tweak menu item text.
1743 * info.el (Info-finder-find-node):
1744 Ignore the `emacs' metapackage. (Bug#10813)
1746 * finder.el (finder-list-matches): Include unversioned packages
1747 in the result of a keyword search.
1749 * finder.el (finder--builtins-descriptions): New constant.
1750 (finder-compile-keywords): Use finder--builtins-descriptions.
1752 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1754 * simple.el (blink-matching-paren): Describe the new value,
1755 `jump', enabling the old behavior.
1756 (blink-matching-open): Use that value. (Bug#17008)
1758 2014-03-14 Glenn Morris <rgm@gnu.org>
1760 * finder.el (finder-no-scan-regexp): Add leim-list.
1761 (finder-compile-keywords):
1762 Don't skip files with same basename. (Bug#14010)
1763 * Makefile.in (setwins_finder): New, excluding leim.
1764 (finder-data): Use setwins_finder.
1766 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1767 (help-function-arglist, help-make-usage): Move from here...
1768 * help.el (help-split-fundoc, help-add-fundoc-usage)
1769 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1770 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1772 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1774 * net/socks.el (socks, socks-override-functions)
1775 (socks-find-services-entry):
1776 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1777 (hif-find-ifdef-block):
1778 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1780 * net/tls.el (tls-program): Reflow docstring.
1782 * progmodes/pascal.el (pascal-mode-abbrev-table)
1783 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1784 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1785 (pascal-outline-mode): Fix docstring typos.
1786 (pascal-mode): Let define-derived-mode document mode hook.
1787 (pascal-uncomment-area): Reflow.
1788 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1790 * progmodes/opascal.el (opascal-compound-block-indent)
1791 (opascal-case-label-indent): Fix docstring typos.
1792 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1794 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1796 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1797 Fontify multiple adjacent negation chars. (Bug#17004)
1799 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1801 * emacs-lisp/package.el (package--prepare-dependencies):
1802 Accept requirements without explicit version (bug#14941).
1804 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1806 * register.el (register-separator, copy-to-register): Doc fixes.
1807 (register-preview-default): Remove unnecessary call to concat.
1809 * frameset.el (frameset-restore): When checking for a visible frame,
1810 use the action map instead of calling visible-frame-list.
1812 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1814 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1816 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1818 * window.el (fit-frame-to-buffer): Get maximum width from
1819 display's width instead of height.
1821 2014-03-12 Glenn Morris <rgm@gnu.org>
1823 * desktop.el (desktop-restore-frames)
1824 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1825 (desktop-restore-reuses-frames): Doc tweaks.
1827 * electric.el (electric-indent-mode): Doc fix.
1829 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1831 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1832 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1833 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1834 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1835 (cvs-dired-use-hook): Fix docstring typos.
1836 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1839 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1840 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1841 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1842 (cvs-execute-single-dir): Fix docstring typos.
1844 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1845 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1847 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1849 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1850 Fix docstring typos.
1852 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1854 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1855 called from jump-to-register after unloading the frameset package.
1857 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1860 (bug#16975). Deactivate the mark before setting it to nil.
1861 (activate-mark): Do nothing if region is already active.
1863 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1865 * frameset.el (frameset--target-display): Remove definition; declare.
1866 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1868 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1870 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1871 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1872 when the advice is pending.
1873 (advice-remove): Remove this marker when not needed any more.
1875 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1877 * frameset.el: Separate options for reusing frames and cleaning up.
1878 (frameset--reuse-list): Remove definition; declare.
1879 (frameset--action-map): Declare.
1880 (frameset--find-frame-if): Doc fix.
1881 (frameset--restore-frame): Cache frame action.
1882 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1883 how to clean up the frame list after restoring. Remove cleaning
1884 options from REUSE-FRAMES. Change all keyword values to symbols.
1885 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1887 * desktop.el (desktop-restore-forces-onscreen)
1888 (desktop-restore-reuses-frames): Use non-keyword values.
1889 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1891 2014-03-10 Glenn Morris <rgm@gnu.org>
1893 * files.el (find-file): Doc fix: update info node name.
1895 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1896 Doc fix: remove references to deleted info nodes.
1898 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1900 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1901 Do not add `nil' to the environment, when there's no remote `locale'.
1902 (tramp-find-inline-encoding): Check, that the remote host has
1903 installed perl, before sending scripts.
1905 2014-03-10 Leo Liu <sdl.web@gmail.com>
1907 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1908 Clear eldoc-last-message. (Bug#16920)
1910 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1915 2014-03-09 Juri Linkov <juri@jurta.org>
1917 * ansi-color.el (ansi-color-names-vector): Copy default colors
1918 from `xterm-standard-colors' that look well on the default white
1919 background (and also on the black background) to avoid illegible
1920 color combinations like yellow-on-white and white-on-white.
1921 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1923 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1925 * frameset.el (frameset-restore): When no frame is visible, do not
1926 generate a list of frames, just make visible the selected one.
1928 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1930 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1931 it only contains the repository root. (Bug#16897)
1933 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1935 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1936 only when `remote-file-name-inhibit-cache' is nil.
1937 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1939 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1941 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1943 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1944 fit-frame-to-buffer variable. Fix doc-string.
1945 (fit-window-to-buffer): Set ONLY argument in call of
1946 fit-frame-to-buffer. Fix doc-string.
1948 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1950 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1951 (tramp-action-password): Clear password cache if needed.
1952 (tramp-read-passwd): Do not clear password cache.
1954 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1955 cache unless it is the first password request.
1957 2014-03-06 Glenn Morris <rgm@gnu.org>
1959 * simple.el (newline): Doc tweak.
1961 * emacs-lisp/shadow.el (load-path-shadows-find):
1962 Ignore dir-locals. (Bug#12357)
1964 2014-03-05 Glenn Morris <rgm@gnu.org>
1966 * files.el (interpreter-mode-alist):
1967 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1969 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1971 * frameset.el (frameset--initial-params): Filter out null entries.
1973 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1975 * window.el (window-min-height, window-min-width):
1976 Rewrite doc-strings.
1977 (window-body-size): Add PIXELWISE argument to make it consistent
1980 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1982 * finder.el (finder-mode-map, finder-mode-syntax-table):
1983 Revert part of 2014-02-28 change.
1985 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1987 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1988 (eww-setup-buffer): Clear next/prev/etc more reliably.
1989 (eww-textarea-map): [tab] doesn't work on tty.
1990 Reported by Mario Lang.
1992 * net/shr.el (shr-map): Ditto.
1994 2014-03-04 Glenn Morris <rgm@gnu.org>
1996 * minibuffer.el (completion-hilit-commonality):
1997 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1999 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2001 * hilit-chg.el (hilit-chg-unload-function): New function.
2002 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2003 (hilit-chg-map-changes): Prefer cardinal number to digit.
2004 (hilit-chg-display-changes): Reflow docstring.
2005 (highlight-changes-rotate-faces): Remove superfluous backslash.
2007 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2009 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2010 `tramp-send-command-and-check'.
2012 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2014 * hexl.el (hexl-address-region, hexl-ascii-region)
2015 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2016 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2017 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2018 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2019 (hexl-mode): Doc fix.
2020 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2021 (hexl-mode-ruler): Fix typos in docstrings.
2023 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2024 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2025 Remove superfluous backslashes.
2026 (strokes-last-stroke, strokes-global-map, strokes-mode):
2028 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2029 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2030 (strokes-distance-squared, strokes-global-set-stroke)
2031 (strokes-global-set-stroke-string): Doc fixes.
2032 (strokes-help): Fix typos; reflow docstring.
2034 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2036 * window.el (window-in-direction): Fix doc-string.
2038 2014-03-04 Glenn Morris <rgm@gnu.org>
2040 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2041 Explicit error if no grammar.
2042 (smie-config-save): Doc fix. Fix quote typo.
2044 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2047 electric-indent-mode-hook if we obey electric-indent-mode.
2048 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2049 decide whether we obey electric-indent-mode.
2050 (c-change-set-fl-decl-start, c-extend-after-change-region):
2052 (c-electric-indent-mode-hook): Assume we do want to obey
2053 electric-indent-mode.
2055 * electric.el (electric-indent-mode-has-been-called): Remove.
2056 (electric-indent-mode): Fix accordingly.
2058 * files.el (hack-local-variables): Mention file name in warning.
2060 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2062 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2064 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2065 * simple.el (delete-forward-char): Mark as interactive-only.
2067 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2069 * icomplete.el (icomplete-completions):
2070 Follow-up to 2014-03-01 change.
2072 * icomplete.el: Miscellaneous doc fixes.
2073 Use Icomplete everywhere instead of icomplete for consistency.
2074 (icomplete-max-delay-chars): Fix typo.
2075 (icomplete-mode): Use \[].
2076 (icomplete-tidy, icomplete-exhibit): Reflow.
2077 (icomplete-minibuffer-setup-hook, icomplete-completions):
2078 Remove superfluous backlashes.
2080 * ido.el: Miscellaneous doc fixes.
2081 Use Ido everywhere instead of ido or `ido' for consistency.
2082 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2083 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2084 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2085 (ido-separator): Extract obsolescence info from docstring and declare
2086 with make-obsolete-variable.
2087 (ido-minibuffer-setup-hook): Simplify example.
2088 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2089 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2090 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2091 (ido-everywhere): Reflow docstring.
2092 (ido-toggle-vc): Doc fix.
2093 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2094 of long list of keybindings.
2096 2014-03-03 Glenn Morris <rgm@gnu.org>
2098 * frame.el (display-pixel-height, display-pixel-width)
2099 (display-mm-dimensions-alist, display-mm-height)
2100 (display-mm-width): Doc tweaks.
2102 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2104 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2105 case of undo in region.
2107 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2109 * window.el (fit-window-to-buffer): Fix argument in window-size
2110 call when window is horizontally combined.
2112 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2114 * icomplete.el (icomplete-completions): Use string-width.
2115 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2117 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2119 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2120 Highlight regexp options. (Bug#16914)
2122 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2124 * window.el (window--max-delta-1): Round down when calculating
2125 how many lines/columns we can get from a window.
2127 2014-03-01 Glenn Morris <rgm@gnu.org>
2129 * isearch.el (search-invisible): Doc fix.
2131 * minibuffer.el (completion-hilit-commonality):
2132 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2133 * comint.el (comint-dynamic-list-completions): Doc fix.
2134 * comint.el (comint-dynamic-list-completions):
2135 * filecache.el (file-cache-minibuffer-complete):
2136 * tempo.el (tempo-display-completions):
2137 * eshell/em-hist.el (eshell-list-history):
2138 Replace use of obsolete argument of display-completion-list.
2140 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2142 * icomplete.el (icomplete-completions):
2143 Revert back to using "..." when ?… cannot be displayed.
2145 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2147 * finder.el (finder-unload-function): New function.
2149 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2151 * dframe.el (dframe-detach):
2152 * find-dired.el (find-dired, find-name-dired):
2153 * finder.el (finder-mode-map, finder-mode-syntax-table)
2154 (finder-headmark, finder-select, finder-mouse-select):
2155 Fix docstring typos.
2157 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2159 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2160 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2161 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2162 Fix doc-string based on a suggestion by Nicolas Richard
2163 <theonewiththeevillook@yahoo.fr>.
2164 * help.el (with-help-window): Fix doc-string.
2166 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2168 * net/shr.el (shr-image-animate): New option.
2169 (shr-put-image): Respect shr-image-animate.
2171 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2173 * net/tramp-adb.el (tramp-adb-parse-device-names):
2174 Use `accept-process-output'.
2175 (tramp-adb-handle-file-truename): Cache the localname only.
2176 (tramp-adb-handle-make-directory)
2177 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2178 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2179 modes cannot be changed.
2181 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2182 file properties of symlinks.
2184 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2186 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2187 required/optional fields to match development biblatex. (Bug#16781)
2189 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2191 * saveplace.el (toggle-save-place):
2192 Fix argument handling. (Bug#16673)
2194 2014-02-28 Glenn Morris <rgm@gnu.org>
2196 * minibuffer.el (completions-first-difference)
2197 (completions-common-part, completion-hilit-commonality): Doc fixes.
2199 2014-02-28 Karl Berry <karl@gnu.org>
2201 * info.el (Info-mode-map): Add H for describe-mode,
2202 to synchronize with standalone Info.
2204 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2206 * progmodes/sql.el (sql-interactive-mode):
2207 Avoid setting global comint-input-ring-separator. (Bug#16814)
2209 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2211 * net/dbus.el (dbus--init-bus): Declare function.
2212 (dbus-path-local, dbus-interface-local): New defconst.
2213 (dbus-init-bus): Use them.
2214 (dbus-return-values-table): Extend doc.
2215 (dbus-handle-bus-disconnect): Extend error message.
2217 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2219 * subr.el (y-or-n-p): Fix double space issue in message.
2221 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp.el (tramp-call-process): Improve trace message.
2224 (tramp-handle-insert-file-contents): Trace error case.
2226 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2227 <insert-directory>: Use `tramp-handle-insert-directory'.
2228 (tramp-adb-handle-insert-directory): Remove function.
2229 (tramp-adb-send-command-and-check): New defun, replacing
2230 `tramp-adb-command-exit-status'. Change all callees.
2231 (tramp-adb-handle-file-attributes)
2232 (tramp-adb-handle-directory-files-and-attributes): Use it.
2233 (tramp-adb-ls-output-name-less-p):
2234 Use `directory-listing-before-filename-regexp'.
2235 (tramp-adb-handle-delete-directory): Flush also file properties of
2236 the truename of directory.
2237 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2238 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2239 (tramp-adb-handle-write-region): Implement APPEND.
2240 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2241 properties correctly.
2242 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2243 variables. Check for connected devices only when needed.
2245 2014-02-27 Glenn Morris <rgm@gnu.org>
2247 * minibuffer.el (completion-table-dynamic)
2248 (completion-table-with-cache): Doc fixes.
2250 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2251 (completing-read-multiple): Doc fixes.
2253 2014-02-27 Daniel Colascione <dancol@dancol.org>
2255 * minibuffer.el (completion--nth-completion): Fix indentation.
2257 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2258 explicit tramp path is empty.
2260 2014-02-27 Glenn Morris <rgm@gnu.org>
2262 * emacs-lisp/crm.el (completing-read-multiple):
2263 Empower help-enable-auto-load.
2265 2014-02-26 Glenn Morris <rgm@gnu.org>
2267 * startup.el (command-line): Don't init the tty in daemon mode.
2269 Avoid calling tty-setup-hook twice, eg if a term file
2270 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2271 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2272 (tty-create-frame-with-faces): Use it.
2273 * startup.el (command-line): Pass run-hook argument
2274 to tty-run-terminal-initialization.
2276 * dired.el (dired-restore-desktop-buffer): Demote errors;
2277 eg in case a glob match fails. (Bug#16884)
2279 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2281 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2282 error from `read-from-string'. (Bug#16850)
2284 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2285 result of `completing-read' in the interactive form. (Bug#16854)
2287 2014-02-25 Glenn Morris <rgm@gnu.org>
2289 * image.el (image-animate, image-animate-timeout):
2290 Stop animating images in dead buffers. (Bug#16878)
2292 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2294 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2296 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2297 * term/sun.el (sun-raw-prefix-hooks):
2298 Use tty-setup-hook instead of term-setup-hook.
2299 (terminal-init-sun): Construct message from bytecomp plist.
2300 * term/wyse50.el (enable-arrow-keys): Doc fix.
2302 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2304 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2305 Fix docstring typos.
2307 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2309 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2311 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2313 * minibuffer.el (completion--try-word-completion):
2314 Fix error when completing M-x commands (bug#16808).
2316 2014-02-24 Leo Liu <sdl.web@gmail.com>
2318 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2320 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2322 * apropos.el (apropos-print): Avoid formatting error when
2323 apropos-do-all and apropos-compact-layout are both t.
2325 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2327 * apropos.el (apropos-property, apropos-all-words-regexp)
2328 (apropos-true-hit, apropos-variable, apropos-print):
2329 Fix docstring typos, and remove obsolete comment.
2331 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2333 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2334 Preserve trailing "/". (Bug#16851)
2336 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2338 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2339 after `=>' (bug#16811).
2340 (ruby-smie-rules): Handle the inconsistent second element of the
2341 list returned by `smie-indent--parent'.
2342 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2345 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2347 * elec-pair.el (electric-pair-text-syntax-table)
2348 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2349 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2350 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2351 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2353 2014-02-22 Glenn Morris <rgm@gnu.org>
2355 * imenu.el (imenu--generic-function): Doc fix.
2357 * register.el (frame-configuration-to-register): Make obsolete.
2359 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2361 * desktop.el (desktop-save-buffer-p): Do not fail when
2362 desktop-files-not-to-save is nil. Return t for true result
2365 2014-02-22 Daniel Colascione <dancol@dancol.org>
2367 * net/secrets.el (secrets-create-item, secrets-search-items):
2368 Check that attribute values are strings, avoiding the construction
2369 of invalid dbus messages.
2371 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2373 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2374 defun-declarations-alist.
2376 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2378 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2381 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2383 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2384 (whitespace-newline, whitespace-trailing, whitespace-line)
2385 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2386 (whitespace-space-after-tab): Fix typo in docstrings.
2388 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2390 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2392 * electric.el (electric-indent-functions-without-reindent):
2393 Add `yaml-indent-line'.
2395 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2397 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2398 It has done nothing for years; should be removed after the release.
2400 * simple.el (choose-completion): Fix docstring typo.
2401 (read-quoted-char-radix): Remove unneeded * in docstring.
2402 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2403 Don't escape parentheses unnecessarily in docstrings.
2405 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2407 Fix handling of window-min-height/-width (Bug#16738).
2408 * window.el (window--dump-window, window--dump-frame):
2410 (window--min-size-1): Account for window dividers.
2411 When window-resize-pixelwise is nil, delay rounding till after the
2412 sum of the window components has been calculated.
2413 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2414 nil make sure at least one text line and two text columns remain
2416 (window-resize): Signal an error when window-resize-apply fails.
2417 (window--resize-child-windows): Fix calculation of by how many
2418 pixels a window can still be shrunk via window-new-normal.
2419 (adjust-window-trailing-edge): Call window--resizable with
2420 correct TRAIL argument.
2422 (with-temp-buffer-window): Don't evaluate BODY within
2423 with-current-buffer (Bug#16816).
2425 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2427 * net/tramp.el (tramp-check-cached-permissions):
2428 Call `file-attributes' with `suffix' being a symbol but a string.
2430 2014-02-21 Daniel Colascione <dancol@dancol.org>
2432 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2433 (dbus-init-bus): New function: call into dbus-init-bus-1
2434 and installs a handler for the disconnect signal.
2435 (dbus-call-method): Rewrite to look for result in cons.
2436 (dbus-call-method-handler): Store result in cons.
2437 (dbus-check-event): Recognize events with nil sender as valid.
2438 (dbus-handle-bus-disconnect): New function. React to bus
2439 disconnection signal by synthesizing dbus error for each
2440 pending synchronous or asynchronous call.
2441 (dbus-notice-synchronous-call-errors): New function.
2442 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2443 is true, not all the time.
2445 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2447 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2448 Remove obsolescence declarations, these variables do not exist anymore.
2450 * savehist.el (savehist-save-minibuffer-history)
2451 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2452 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2453 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2454 mostly, refer to "Savehist mode" when talking about the mode,
2455 and not the function.
2457 * saveplace.el (save-place): Remove redundant info in docstring.
2458 (save-place-forget-unreadable-files, toggle-save-place)
2459 (save-place-forget-unreadable-files, save-place-dired-hook):
2460 Fix typos and remove unneeded backslashes.
2462 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2464 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2465 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2467 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2468 <insert-directory>: Use `tramp-handle-insert-directory'.
2469 (tramp-gvfs-handle-insert-directory): Remove function.
2471 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2472 Call `tramp-handle-insert-directory'.
2474 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2476 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2477 before the start of buffer/region (bug#16799).
2479 2014-02-20 Glenn Morris <rgm@gnu.org>
2481 * isearch.el (search-invisible): Doc fix.
2483 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2485 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2488 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2490 * frameset.el (frameset-restore): Delay removing an old frame's
2491 duplicate id until the new frame has been correctly created.
2493 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2495 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2496 (tramp-check-cached-permissions): Call `file-attributes' if the
2499 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2500 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2502 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2503 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2504 (tramp-gvfs-maybe-open-connection): Set always connection
2505 properties, even if target is mounted already.
2507 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2508 Set tramp-autoload cookie.
2509 (tramp-get-remote-touch): New defun.
2510 (tramp-sh-handle-set-file-times): Use it.
2511 (tramp-sh-handle-directory-files-and-attributes):
2512 Use `tramp-handle-directory-files-and-attributes' if neither stat
2513 nor perl are available on the remote host.
2515 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2516 "/". Write long listing only when "l" belongs to the switches.
2518 * net/trampver.el: Update release number.
2520 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2522 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2524 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2526 * window.el (window-state-put): Allow WINDOW to refer to an
2527 internal window (Bug#16793).
2529 2014-02-19 Glenn Morris <rgm@gnu.org>
2531 * textmodes/remember.el: Move provide statement to end.
2532 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2533 (remember-notes): Doc fixes.
2535 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * delsel.el (delete-char): Restore incorrectly erased property
2540 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2542 * frameset.el (frameset--restore-frame): When a frame is being reused
2543 and its root window is not alive, delete all the frame's windows before
2544 restoring the window state. This works around the issue in bug#16793.
2546 2014-02-18 Glenn Morris <rgm@gnu.org>
2548 * textmodes/remember.el (remember-data-directory)
2549 (remember-directory-file-name-format, remember-store-in-files)
2550 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2551 (remember-notes-save-and-bury-buffer)
2552 (remember-notes--kill-buffer-query): Doc fixes.
2554 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2556 2014-02-17 Alan Mackenzie <acm@muc.de>
2558 Connect electric-indent-mode up with CC Mode. Bug #15478.
2559 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2560 to electric-indent-{,local-}-mode.
2561 (c-basic-common-init): Set electric-indent-inhibit.
2562 Initialise c-electric-flag from electric-indent-mode.
2563 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2564 New hook functions which propagate electric-indent-mode to CC mode.
2566 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2567 hit, toggle electric-indent-local-mode.
2569 * electric.el (electric-indent-mode-has-been-called):
2572 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2574 * frameset.el (frameset-cfg-id): New function.
2575 (frameset--reuse-frame, frameset-restore): Use it.
2576 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2578 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2580 * ido.el (ido-file-internal): Remove unused var `d'.
2581 Use \` for to match BoS. Fit within 80n columns.
2583 2014-02-17 Daniel Colascione <dancol@dancol.org>
2585 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2586 dbus-call-method check for completion using a busy-wait loop with
2589 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2591 Sync with Tramp 2.2.9.
2593 * net/trampver.el: Update release number.
2595 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2597 * ido.el (ido-file-internal): Don't add the name of an existing
2598 directory twice. (Bug#16747)
2600 2014-02-16 Glenn Morris <rgm@gnu.org>
2602 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2603 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2605 2014-02-15 Michael R. Mauger <michael@mauger.com>
2607 * progmodes/sql.el: Version 3.4
2608 (sql-oracle-options): New default value ("-L").
2609 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2610 (sql-placeholders-filter): Correct placeholder pattern.
2611 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2612 (sql-login-delay): New variable.
2613 (sql-product-interactive): Use it.
2615 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2617 * frameset.el (frameset--jump-to-register): Check that buffer is live
2620 2014-02-15 Glenn Morris <rgm@gnu.org>
2622 * info.el (info-initialize): Revert 2014-01-10 change.
2624 2014-02-14 Glenn Morris <rgm@gnu.org>
2626 * replace.el (map-query-replace-regexp)
2627 (read-regexp-defaults-function, read-regexp): Doc fixes.
2629 * dired.el (dired-read-regexp):
2630 * faces.el (list-faces-display):
2631 * misearch.el (multi-isearch-read-matching-buffers)
2632 (multi-isearch-read-matching-files):
2633 * play/cookie1.el (cookie-apropos):
2634 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2636 * textmodes/remember.el (remember): Use frameset-to-register
2637 rather than frame-configuration-to-register.
2639 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2641 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2642 incorrect keybinding.
2644 2014-02-13 Daniel Colascione <dancol@dancol.org>
2646 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2647 when adding overlays so that line numbers from compiler match line
2650 2014-02-13 Glenn Morris <rgm@gnu.org>
2652 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2654 * jit-lock.el (jit-lock-mode): Doc fix.
2656 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2658 * apropos.el (apropos-read-pattern): When the user passes an empty
2659 string, give a more helpful error message than "Wrong type
2660 argument: stringp, nil".
2662 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2666 2014-02-13 Glenn Morris <rgm@gnu.org>
2668 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2670 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2672 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2673 shift-select commands.
2675 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2677 * progmodes/js.el (js-indent-line): Don't widen.
2678 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2680 2014-02-12 Glenn Morris <rgm@gnu.org>
2682 * icomplete.el (icomplete): Add info-link to defgroup.
2683 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2684 (icomplete-minibuffer-map, icomplete-mode)
2685 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2687 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2688 (package-menu-filter): Rename from package-menu-filter-interactive.
2691 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2693 * frameset.el (frameset--jump-to-register): Select the required
2694 window and buffer before restoring position (bug#16696).
2696 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2698 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2700 2014-02-10 Glenn Morris <rgm@gnu.org>
2702 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2704 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2706 * w32-common-fns.el (x-get-selection): Doc fix.
2707 * select.el (x-get-selection): Doc fix. (Bug#15109)
2709 * face-remap.el (face-remap-add-relative)
2710 (face-remap-remove-relative, face-remap-reset-base)
2711 (face-remap-set-base): Call force-mode-line-update to redisplay
2712 the current buffer due to potential change in faces. (Bug#16709)
2714 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2716 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2717 script more robustly.
2719 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2721 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2723 * simple.el (choose-completion): Doc fix (bug#14160).
2725 * subr.el (event-start): Say what a nil EVENT value means.
2727 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2730 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2732 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2734 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2736 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2737 predicate function (bug#15455).
2739 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2741 * ielm.el (inferior-emacs-lisp-mode): Instead of
2742 `comment-use-global-state', set `comment-use-syntax'.
2744 2014-02-10 Glenn Morris <rgm@gnu.org>
2746 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2748 2014-02-09 Alan Mackenzie <acm@muc.de>
2750 Fix c-invalidate-state-cache on narrowed buffers.
2751 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2752 Widen when setting and clearing the CPP delimiter properties.
2754 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2756 * help.el (describe-bindings): Doc fix (bug#9888).
2758 * files.el (save-buffer): Use ARG as the parameter name for
2759 consistency (bug#10346).
2760 (save-buffer): Clarify the 0 argument (bug#10346).
2762 * cus-edit.el (customize-apropos): Fix error string.
2763 (custom-buffer-create): Doc fix (bug#11122).
2764 (custom-sort-items): Doc fix (bug#11121).
2766 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2768 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2769 (icomplete-simple-completing-p): Mention the previous variable.
2771 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2772 meaning of the parameter (bug#12282).
2774 * files.el (find-file-noselect): Clarify prompt when changing
2775 readedness (bug#13261).
2776 (locate-file): Suffixes aren't returned, so don't say that they
2778 (backup-inhibited): Doc clarification (bug#12525).
2780 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2781 before we actually start to delete things (bug#16331).
2783 * subr.el (event-start): Doc fix (bug#14228).
2786 2014-02-09 Glenn Morris <rgm@gnu.org>
2788 * emacs-lisp/warnings.el (lwarn):
2789 Empower help-enable-auto-load. (Bug#15940)
2791 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2793 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2796 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2798 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2799 Insert output at end of buffer. (Bug#16120)
2801 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2803 * simple.el (choose-completion-string-functions): Document new
2804 calling convention (bug#14153).
2805 (execute-extended-command): Clarify doc string (bug#13373).
2807 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2809 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2810 (find-grep-dired): Doc fix (bug#14288).
2812 2014-02-08 Juri Linkov <juri@jurta.org>
2814 * isearch.el (isearch-quote-char): Check character validity
2815 like in `quoted-insert' (bug#16677).
2817 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2819 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2821 * isearch.el (isearch-hide-immediately): Doc clarification
2824 * simple.el (line-move): Document utility function used many
2825 places in the Emacs sources (bug#14843).
2827 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2828 (dired-prev-marked-file): Doc fix (bug#14855).
2829 (dired-up-directory): Doc fix (bug#14848).
2831 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2833 * files.el (file-relative-name): Doc fix (bug#15159).
2835 * fringe.el (fringe-styles): Doc fix (bug#15239).
2837 * isearch.el (isearch-filter-predicate): Documentation typo fix
2840 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2842 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2844 * replace.el (replace-match-maybe-edit): Doc clarification
2847 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2849 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2851 2014-02-08 Glenn Morris <rgm@gnu.org>
2853 * help-fns.el (describe-variable):
2854 Check {file,dir}-local-variables-alist, and buffer-file-name,
2855 in the correct buffer.
2857 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2859 * help-fns.el (describe-variable): Fix the case where
2860 a value is directory-local with no dir-locals file. (Bug#16635)
2862 2014-02-08 Glenn Morris <rgm@gnu.org>
2864 * abbrev.el (edit-abbrevs-mode):
2865 Derive from fundamental-mode. (Bug#16682)
2867 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2869 * simple.el (quoted-insert): Check character validity (bug#16677).
2871 2014-02-07 Juri Linkov <juri@jurta.org>
2873 * desktop.el (desktop-read): Claim the lock when the owner is not
2874 the current process. (Bug#16157)
2876 2014-02-07 Juri Linkov <juri@jurta.org>
2878 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2879 to "\\` ". (Bug#16651)
2881 2014-02-07 Juri Linkov <juri@jurta.org>
2883 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2884 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2885 (desktop-auto-save-cancel-timer): New function with some code from
2886 `desktop-auto-save-set-timer'.
2887 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2888 Instead of setting `desktop-save-mode' to nil, call
2889 `desktop-save-mode' with arg 0. (Bug#16630)
2891 2014-02-07 Glenn Morris <rgm@gnu.org>
2893 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2894 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2895 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2897 * obsolete/iswitchb.el: Move to obsolete/.
2898 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2899 since obsolete/ is not scanned for autoloads.
2900 * emacs-lisp/authors.el (authors-valid-file-names):
2903 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2904 Disable now non-functional find-file-hook.
2906 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2908 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2909 instead of ";" in order to avoid additional prompts. Let heredoc
2910 scripts read from tty. (Bug#16582)
2911 (tramp-send-command): No special handling of heredocs, it isn't
2914 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2916 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2917 with a space (bug#16664). Limit the symbols considered to the ones
2918 that are bound or fbound (bug#16646).
2920 2014-02-06 Glenn Morris <rgm@gnu.org>
2922 * epa.el (epa-mail-aliases): Doc fix.
2924 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2926 * emacs-lisp/lisp.el (lisp-completion-at-point):
2927 Use `completion-table-merge' instead of `completion-table-in-turn'
2930 * minibuffer.el (completion-table-merge): New function.
2932 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2934 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2935 (tramp-sh-handle-set-file-acl)
2936 (tramp-sh-handle-start-file-process)
2937 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2938 (tramp-find-executable, tramp-send-command): Use it.
2940 2014-02-05 Glenn Morris <rgm@gnu.org>
2942 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2944 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2946 * progmodes/python.el (python-shell-send-string)
2947 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2949 2014-02-04 Anders Lindgren <andlind@gmail.com>
2951 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2952 the names (bug#16620).
2954 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2956 * faces.el (window-divider): New default value. Rewrite doc-string.
2957 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2959 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2961 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2962 `protected' and `public' can also be called without arguments.
2964 2014-02-03 Glenn Morris <rgm@gnu.org>
2966 * register.el (window-configuration-to-register)
2967 (frame-configuration-to-register): Unadvertise unused argument.
2968 * frameset.el (frameset-to-register): Remove unused argument.
2970 * frameset.el (frameset-to-register):
2971 * kmacro.el (kmacro-to-register):
2972 * register.el (increment-register):
2973 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2974 (calc-append-to-register, calc-prepend-to-register):
2975 * play/gametree.el (gametree-layout-to-register)
2976 (gametree-apply-register-layout):
2977 * textmodes/picture.el (picture-clear-rectangle-to-register)
2978 (picture-yank-rectangle-from-register):
2979 * vc/emerge.el (emerge-combine-versions-register):
2980 Use register-read-with-preview to read registers.
2982 2014-02-03 João Távora <joaotavora@gmail.com>
2984 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2985 when at beginning of (possibly narrowed) buffer.
2987 2014-02-02 Daniel Colascione <dancol@dancol.org>
2989 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2990 Also try to display local help from just before point.
2992 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2994 c-parse-state. Don't "append-lower-brace-pair" in certain
2995 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2996 recognised as a comment.
2998 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2999 as well as normal comment starter.
3000 (c-parse-state-get-strategy): Extra return possibility
3002 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3003 return value list to indicate replacement of a brace-pair cons
3005 (c-parse-state-1): With 'back-and-forward, only call
3006 c-append-lower-brace-pair-to state-cache when cons-separated.
3008 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3010 * term/ns-win.el (ns-suspend-error): New function.
3011 (ns-initialize-window-system): Add ns-suspend-error to
3012 suspend-hook (Bug#16612).
3014 2014-02-02 Daniel Colascione <dancol@dancol.org>
3016 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3017 Make loading cc-mode silent.
3019 2014-02-02 Daniel Colascione <dancol@dancol.org>
3021 * comint.el (comint-prompt-read-only): Change doc to suggest
3024 2014-02-02 Glenn Morris <rgm@gnu.org>
3026 * register.el (register-read-with-preview, point-to-register)
3027 (window-configuration-to-register, frame-configuration-to-register)
3028 (jump-to-register, number-to-register, view-register, insert-register)
3029 (copy-to-register, append-to-register, prepend-to-register)
3030 (copy-rectangle-to-register): Doc fixes.
3032 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3035 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3036 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3037 * help-fns.el (describe-function-1): Use it.
3039 2014-02-02 Glenn Morris <rgm@gnu.org>
3041 * register.el (register-preview-default): New function,
3042 split from register-preview.
3043 (register-preview-function): Rename from register-preview-functions,
3045 (register-preview): Use register-preview-function.
3046 (register-read-with-preview): Error on non-character event. (Bug#16595)
3048 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3050 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3051 `:' before binary operators (bug#16609). Don't check for `:'
3052 before `[' and `(', or their syntax status. A percent literal
3053 can't end with either.
3054 (ruby-font-lock-keywords): For built-ins that require arguments,
3055 check that they're followed by something that looks like argument
3058 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3060 * subr.el (butlast): Document what an omitted N means (bug#13437).
3063 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3065 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3066 depth shallower (bug#16587).
3067 (shr-tag-svg): Respect `shr-inhibit-images'.
3068 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3070 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3072 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3073 (ruby-smie-grammar): Make "." right-associative. Make its priority
3074 lower than the ternary and all binary operators.
3075 (ruby-smie-rules): Indent "(" relative to the first non-"."
3076 parent, or the first "." parent at indentation.
3077 Use `ruby-align-chained-calls' for indentation of "." tokens.
3080 2014-01-31 Juri Linkov <juri@jurta.org>
3082 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3083 from `make-hash-table'.
3085 * textmodes/ispell.el (ispell-init-process): Change message format
3086 to be consistent with other messages.
3088 2014-01-31 Glenn Morris <rgm@gnu.org>
3090 * delsel.el (delete-selection-mode): Doc fix.
3092 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3093 (trace-function-background): Doc fixes.
3095 * ido.el (ido-use-virtual-buffers): Doc fix.
3096 Reset :version, since the default value has not changed.
3098 * register.el (register-preview-delay, register-read-with-preview):
3101 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3102 do not mess with mail-buffer position (fixes 2009-11-03 change).
3103 * progmodes/cc-mode.el (c-submit-bug-report):
3104 Check auto-fill-mode is bound. (Bug#16592)
3106 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3108 * startup.el (fancy-splash-image-file): New function,
3109 split from fancy-splash-head.
3110 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3111 so that we are both using the same image. (Bug#16574)
3113 2014-01-30 Glenn Morris <rgm@gnu.org>
3115 * simple.el (eval-expression): Doc fix.
3117 * hexl.el (hexl-mode-hook):
3118 * ielm.el (ielm-mode-hook):
3119 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3120 (lisp-interaction-mode-hook):
3121 * progmodes/cfengine.el (cfengine3-documentation-function):
3122 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3124 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3127 is a symbol (bug#16584).
3129 2014-01-30 Glenn Morris <rgm@gnu.org>
3131 * help.el (help-for-help-internal): Add "P" to text.
3133 2014-01-29 Glenn Morris <rgm@gnu.org>
3135 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3137 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3139 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3142 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3144 * progmodes/hideif.el: Extend to full CPP expression syntax.
3145 (hif-token-alist): Add missing tokens.
3146 (hif-token-regexp): Add support for float/octal/hex immediates.
3147 (hif-string-literal-regexp): New const.
3148 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3149 (hif-exprlist): New function.
3150 (hif-parse-if-exp): Use it.
3151 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3152 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3153 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3154 (hif-logxor, hif-comma): New functions.
3156 2014-01-28 Glenn Morris <rgm@gnu.org>
3158 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3160 * indent.el (tab-stop-list): Doc fix. Add :version.
3162 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3163 (cvs-append-to-ignore): Add compatibility alias.
3165 2014-01-27 Glenn Morris <rgm@gnu.org>
3167 * dired.el (dired-hide-details-mode): Don't autoload it,
3168 since it cannot be used outside Dired buffers anyway.
3170 * emulation/cua-base.el (cua-mode): Doc fix.
3172 * dired.el (dired-hide-details-hide-symlink-targets)
3173 (dired-hide-details-hide-information-lines)
3174 (dired-hide-details-mode): Doc fixes.
3176 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3177 * strokes.el (strokes-file): Doc fix. Bump :version.
3178 (strokes-help): Doc fix.
3179 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3180 * emulation/viper.el (viper): Doc fix for custom group.
3181 (top-level): Remove oh-so-no-longer-relevant text about vip.
3182 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3184 * ido.el (ido-save-directory-list-file):
3185 * saveplace.el (save-place-file):
3186 * calendar/timeclock.el (timeclock-file):
3187 * net/quickurl.el (quickurl-url-file):
3188 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3189 * progmodes/idlwave.el (idlwave-config-directory):
3190 * textmodes/remember.el (remember-data-file):
3193 2014-01-26 Glenn Morris <rgm@gnu.org>
3195 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3196 Doc fix. Make obsolete.
3197 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3199 * sort.el (delete-duplicate-lines): Doc fix.
3201 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3203 * progmodes/ada-mode.el (ada):
3204 * woman.el (woman): Link to info manual and Commentary section.
3206 * progmodes/flymake.el (flymake):
3207 * nxml/nxml-mode.el (nxml):
3209 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3210 * htmlfontify.el (htmlfontify):
3213 * ido.el (ido): Link to info manual.
3215 2014-01-25 Leo Liu <sdl.web@gmail.com>
3217 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3219 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3221 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3224 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3226 * net/eww.el (eww-download-callback):
3227 Fix reference to eww-download-directory.
3229 * emacs-lisp/bytecomp.el (byte-compile-file):
3230 Remove unused local variable `file-name'.
3232 2014-01-24 Glenn Morris <rgm@gnu.org>
3234 * woman.el (woman-default-faces, woman-monochrome-faces):
3235 Fix obsolescence specification.
3237 * subr.el (with-demoted-errors): Doc fix.
3239 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3241 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3242 (cl--macroexp-fboundp): New function.
3243 (cl--make-type-test): Use it.
3245 2014-01-23 Glenn Morris <rgm@gnu.org>
3247 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3248 * simple.el (eval-expression): Doc fixes.
3250 2014-01-22 Glenn Morris <rgm@gnu.org>
3252 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3254 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * emacs-lisp/package.el: Write files silently.
3257 (package-autoload-ensure-default-file, package--write-file-no-coding)
3258 (package-generate-description-file, package--download-one-archive)
3259 (package-install-from-archive): Tell `write-region' to stay quiet.
3260 (package-menu-mode, package-menu--print-info): Omit the Archive column
3261 if there's only one archive.
3262 (package-all-keywords, package--has-keyword-p): Remove dead code.
3264 2014-01-22 Glenn Morris <rgm@gnu.org>
3266 * version.el (emacs-bzr-version-bzr): Fix typo.
3268 * version.el (emacs-repository-get-version):
3269 Check either .bzr or .git, but not both.
3270 Make the git case actually use the DIR argument, and return nil
3271 rather than the empty string.
3272 Avoid error if .git exists but the git executable is not found.
3274 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3276 Fixes in window size functions around Bug#16430 and Bug#16470.
3277 * window.el (window-total-size, window-size): New argument ROUND.
3278 (window--min-delta-1, window-min-delta, window--max-delta-1):
3279 Be more conservative when calculating the numbers of lines or
3280 columns a window can shrink (Bug#16430).
3281 (fit-window-to-buffer): Simplify code.
3282 * term.el (term-window-width): Call window-body-width again.
3284 2014-01-22 Glenn Morris <rgm@gnu.org>
3286 * image.el (image-format-suffixes): Doc fix.
3288 * international/quail.el (quail-define-package): Doc fix.
3290 * emacs-lisp/authors.el (authors-valid-file-names)
3291 (authors-renamed-files-alist): Additions.
3293 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3294 reverts 2014-01-09 change. (Bug#16422)
3296 * calc/calc-embed.el (thing-at-point-looking-at):
3297 * emacs-lisp/map-ynp.el (x-popup-dialog):
3298 * obsolete/lmenu.el (x-popup-dialog):
3299 * emacs-lisp/package.el (url-recreate-url):
3300 * mail/mailclient.el (clipboard-kill-ring-save):
3301 * subr.el (x-popup-dialog): Update declaration.
3302 * mail/rmail.el (rmail-mime-message-p):
3303 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3305 2014-01-21 Daniel Colascione <dancol@dancol.org>
3307 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3308 Correctly detect when we're inside an arithmetic expansion form
3309 containing nested parenthesis.
3310 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3311 to detect cases where we shouldn't expand "<<" to a heredoc
3314 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3316 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3317 (eldoc--message-command-p): New function.
3318 (eldoc-display-message-p): Use it.
3319 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3320 message is not automatically erased for us.
3321 (eldoc-print-current-symbol-info): Erase previous message, if any.
3323 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3325 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3326 specify it's an interactive function.
3328 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3329 Fix regex used for scanning for citation keys which failed for
3330 citations with optional arguments.
3332 2014-01-21 Leo Liu <sdl.web@gmail.com>
3334 * simple.el (read--expression): Don't enable eldoc-mode.
3336 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * simple.el (move-beginning-of-line): Make sure we don't move forward
3341 2014-01-20 Juri Linkov <juri@jurta.org>
3343 * saveplace.el (toggle-save-place, save-place-to-alist)
3344 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3345 'dired-mode) before checking for dired-directory. (Bug#16477)
3347 2014-01-20 Juri Linkov <juri@jurta.org>
3349 * indent.el (indent-line-to): Use backward-to-indentation
3350 instead of back-to-indentation. (Bug#16461)
3352 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3354 Revert some of the CANNOT_DUMP fix (Bug#16494).
3355 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3356 but fixing this can wait until after the next release.
3357 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3359 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3361 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3362 Use `password-word-equivalents'.
3363 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3364 to t. (Bug#5664, Bug#13124)
3366 2014-01-19 Alan Mackenzie <acm@muc.de>
3368 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3370 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3371 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3372 * progmodes/cc-mode.el (c-before-change, c-after-change)
3373 (c-font-lock-fontify-region): Bind it here.
3375 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3377 * term.el (term-window-width): Call window-text-width instead of
3378 window-width (Bug#16470).
3380 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3382 * simple.el (password-word-equivalents): Remove duplicates.
3383 Sort, to make this easier next time.
3384 Downcase. Omit ": " after "jelszó".
3386 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3388 * term/common-win.el (saved-region-selection): Defvar it.
3389 (x-select-text): Set saved-region-selection (Bug#16382).
3391 2014-01-18 Glenn Morris <rgm@gnu.org>
3393 * emacs-lisp/authors.el (authors-aliases)
3394 (authors-renamed-files-alist): Add some entries.
3396 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3398 * net/tramp.el (tramp-password-prompt-regexp):
3399 Use `password-word-equivalents' if available.
3400 (tramp-action-password, tramp-process-one-action)
3401 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3403 2014-01-17 Chong Yidong <cyd@gnu.org>
3405 * simple.el (password-word-equivalents): New defcustom.
3406 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3408 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3411 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3413 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3414 (ruby-align-to-stmt-keywords): Change the default value.
3415 Use `ruby-alignable-keywords' to generate the possible customization
3417 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3418 keywords, check against the value of `ruby-alignable-keywords'
3419 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3421 2014-01-17 Glenn Morris <rgm@gnu.org>
3423 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3425 Make M-x authors return zero *Authors Errors* from current logs.
3426 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3427 (authors-ignored-files): Add some entries, remove others.
3428 (authors-ambiguous-files, authors-valid-file-names):
3430 (authors-renamed-files-alist): Add, remove, and adjust entries.
3431 (authors-renamed-files-regexps): Add some entries.
3432 Remove some very broad ones. Make some entries `lax'.
3433 (authors-lax-changelogs): New constant.
3434 (authors-disambiguate-file-name): Treat top-level specially.
3435 (authors-lax-changelog-p): New function.
3436 (authors-canonical-file-name): Check file as written against
3437 authors-valid-file-names. Do not special-case etc/.
3438 Handle `lax' logs and authors-renamed-files-regexps elements.
3440 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3442 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3443 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3446 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3449 Assume we're already in the proper buffer.
3450 Inspired by Anders Lindgren <andlind@gmail.com>.
3451 (follow-post-command-hook): Call it from the right buffer.
3452 (follow-comint-scroll-to-bottom): Adjust call.
3453 (follow-all-followers): Use get-buffer-window-list.
3455 2014-01-15 Daniel Colascione <dancol@dancol.org>
3457 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3458 `buffer-file-name' in interactive-form so that we don't leave
3459 pathless file names in `file-name-history'.
3461 2014-01-15 Juri Linkov <juri@jurta.org>
3463 * indent.el (indent-rigidly): Set deactivate-mark to nil
3464 in transient indentation mode. (Bug#16438)
3466 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3468 * emacs-lisp/package.el (package-desc-keywords): New function
3470 (describe-package-1, package-all-keywords)
3471 (package--has-keyword-p): Use it.
3473 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3475 * simple.el (define-alternatives): When creating the
3476 COMMAND-alternatives variable, assign COMMAND as its definition
3477 name so that `describe-variable' can relocate it.
3479 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3481 * font-lock.el (font-lock-keywords): Fix typo in docstring
3484 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3486 * ispell.el (ispell-region): Reset `in-comment' for new line
3487 instead of wrongly reset `add-coment' (bug#13577).
3489 2014-01-14 Daiki Ueno <ueno@gnu.org>
3491 * epa-file.el (epa-file-write-region): Encode the region according
3492 to `buffer-file-format'. Problem reported at:
3493 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3495 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3498 so it applies in the right buffer (bug#16410).
3500 2014-01-13 Daniel Colascione <dancol@dancol.org>
3502 * textmodes/rst.el (rst-define-key): Provide deprecated
3503 keybindings through named functions instead of anonymous ones so
3504 that "??" doesn't appear in describe-mode output.
3506 2014-01-13 Bastien Guerry <bzg@gnu.org>
3508 * simple.el (define-alternatives): Call the selected command
3509 interactively. When setting `COMMAND--implementation' for the
3510 first time, tell the user how to chose another implementation.
3511 Enhance the docstring.
3513 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3515 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3516 (log-edit--match-first-line): New function.
3517 (log-edit-font-lock-keywords): Use it.
3518 (log-edit-mode): Make jit-lock-defer-multiline work.
3520 2014-01-13 Bastien Guerry <bzg@gnu.org>
3522 * rect.el (rectangle-mark-mode): When the region is not active,
3523 display a message saying that the mark as been set and that
3524 rectangle mode is in use.
3525 (rectangle--highlight-for-redisplay): Only put an overlay with a
3526 visible vertical bar when (display-graphic-p) is non-nil.
3527 This partially fixes Bug#16403.
3529 2014-01-13 Juri Linkov <juri@jurta.org>
3531 * info.el (Info-find-file): Go to DIR before displaying the error
3532 about a nonexistent file if no previous Info file is visited.
3533 Use `user-error' instead of `error' for "Info file %s does not exist".
3534 (Info-find-node-2): In case of a nonexistent node in unwind forms
3535 go to the Top node if there is no previous node to revert to.
3538 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3540 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3541 * window.el (fit-frame-to-buffer): Fix doc-string.
3542 Respect window-min-height/-width. Fit pixelwise when
3543 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3544 when avoiding that frame goes partially off-screen.
3545 (fit-window-to-buffer): Respect window-min-height/-width
3548 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3551 after an empty line.
3553 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3555 * net/shr.el (shr-render-region): Autoload.
3557 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3559 * net/eww.el (eww-download-directory): Rename from
3560 `eww-download-path' (Bug#16419).
3562 2014-01-12 Leo Liu <sdl.web@gmail.com>
3564 * dired-x.el (dired-mode-map): Fix last change.
3566 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3568 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3571 * emacs-lisp/generic.el (generic--normalize-comments):
3572 Rename from generic--normalise-comments. All uses changed.
3573 * play/bubbles.el (bubbles--neighborhood-score)
3574 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3575 (bubbles--neighborhood-available)
3576 (bubbles--update-neighborhood-score):
3577 Rename from names with 'neighbourhood'. All uses changed.
3579 2014-01-12 Leo Liu <sdl.web@gmail.com>
3581 Re-implement the feature of showing eldoc info after editing.
3582 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3583 (eldoc-edit-message-commands): New function.
3584 (eldoc-print-after-edit): New variable.
3585 (eldoc-pre-command-refresh-echo-area): Emit message only by
3586 eldoc-message-commands.
3587 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3588 if eldoc-print-after-edit is set. (Bug#16346)
3589 * simple.el (read--expression): Enable eldoc-mode.
3590 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3592 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3593 Eric S. Raymond <esr@thyrsus.com>
3595 * version.el (emacs-repository-get-version): Enhance so the
3596 function works correctly in either a Bazaar or Git repo.
3598 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3600 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3601 Goes with removal of the joke manpages from /etc.
3603 2014-01-10 Kenichi Handa <handa@gnu.org>
3605 * mail/rmail.el (rmail-get-coding-system):
3606 Check rmail-get-coding-function before "funcall"ing it.
3608 2014-01-10 Glenn Morris <rgm@gnu.org>
3610 * emacs-lisp/authors.el (authors-fixed-entries):
3611 Update for files that no longer exist.
3613 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3615 * version.el (emacs-bzr-get-version): Restore compatibilty with
3618 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3620 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3623 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3625 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3627 2014-01-10 Chong Yidong <cyd@gnu.org>
3629 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3631 2014-01-10 Anders Lindgren <andlind@gmail.com>
3633 * follow.el (follow-cache-command-list): Include right-char and
3636 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3639 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3640 * woman.el (woman-mark-horizontal-position):
3641 Rename from woman-mark-horizonal-position. Use changed.
3643 2014-01-10 Glenn Morris <rgm@gnu.org>
3645 * info.el (info-initialize): If running uninstalled, ensure our
3646 own info files are always found first, even if INFOPATH is set.
3648 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3650 2014-01-09 David Engster <deng@randomsample.de>
3652 * emacs-lisp/eieio-custom.el:
3653 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3654 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3655 * emacs-lisp/eieio.el: Regenerate autoloads.
3657 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3659 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3660 following renames. (Bug#8756)
3662 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3664 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3666 (activate-mark): Add `no-tmm' argument.
3667 (set-mark, push-mark-command): Use it instead of running
3668 activate-mark-hook by hand.
3670 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3672 In preparation for the move to git, sanitize out some
3673 Bazaar-specific names.
3675 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3677 * version.el (emacs-bzr-version): Name changed to
3678 emacs-repository-version. Obsolete-variable alias made.
3679 * loadup.el: Follow through on this name change.
3680 * mail/emacsbug.el (report-emacs-bug): Factor out any
3681 assumption about the version control system in use.
3683 2014-01-08 David Engster <deng@randomsample.de>
3685 * help-fns.el (help-fns-describe-function-functions):
3686 New variable to call functions for augmenting help buffers.
3687 (describe-function-1): Remove explicit calls to
3688 `help-fns--compiler-macro', `help-fns--parent-mode' and
3689 `help-fns--obsolete'. Put them in above new variable instead, and
3690 call them through `run-hook-with-args'.
3691 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3692 `eieio-describe-class'. Not meant for interactive use anymore,
3693 but to augment existing help buffers. Remove optional second
3694 argument. Create proper button for file location.
3695 Rewrite function to use `insert' instead of `princ' and `prin1' where
3697 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3698 (eieio-method-def, eieio-class-def): Move further up.
3699 (describe-method, describe-generic, eieio-describe-method):
3701 (eieio-help-constructor, eieio-help-generic): Rename from
3702 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3703 Rewrite to use `insert' in the current buffer and use proper help
3705 (eieio-help-find-method-definition)
3706 (eieio-help-find-class-definition): Also accept symbols as
3708 (eieio-help-mode-augmentation-maybee): Remove.
3709 (eieio-describe-class-sb): Use `describe-function'.
3710 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3711 Add `eieio-help-generic' and `eieio-help-constructor'.
3713 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3716 * language/china-util.el (hz-ascii-designation):
3717 Rename from hz-ascii-designnation.
3718 (hz-ascii-designation): Rename from hz-ascii-designnation.
3721 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3726 2014-01-08 Bastien Guerry <bzg@gnu.org>
3728 * emacs-lisp/package.el (package-delete):
3729 Correctly delete the package from package-alist.
3731 2014-01-08 Daiki Ueno <ueno@gnu.org>
3733 * emacs-lisp/package.el (url-recreate-url): Declare.
3734 (url-http-target-url): Declare.
3735 (package-handle-response): Include requested URL in the error message.
3736 (package--check-signature): Don't re-signal errors from
3737 package--with-work-buffer. Suggested by Stefan Monnier.
3739 2014-01-07 Bastien Guerry <bzg@gnu.org>
3741 * minibuffer.el (completion--try-word-completion): When both a
3742 hyphen and a space are possible candidates for the character
3743 following a word, display both candidates. (Bug#15980)
3745 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3747 * window.el (balance-windows-2): While rounding don't give a
3748 window more than the remainder. Bug#16351, bug#16383.
3750 2014-01-07 Glenn Morris <rgm@gnu.org>
3752 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3753 (menu-bar-help-menu): Use view-external-packages instead.
3755 2014-01-07 Bastien Guerry <bzg@gnu.org>
3757 * emacs-lisp/package.el (package-delete): Also delete the package
3758 name from `package-alist', not its description only.
3760 2014-01-07 Glenn Morris <rgm@gnu.org>
3762 * help.el (view-external-packages):
3763 * menu-bar.el (menu-bar-help-extra-packages):
3764 Visit efaq.info rather than etc/MORE.STUFF.
3766 2014-01-07 Juri Linkov <juri@jurta.org>
3768 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3769 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3771 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3772 that shadows RET. (Bug#16342)
3774 2014-01-07 Chong Yidong <cyd@gnu.org>
3776 * isearch.el (isearch-yank-char, isearch-yank-word)
3777 (isearch-yank-line): Doc fix.
3779 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3782 * emacs-lisp/elint.el (elint-find-builtins):
3783 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3784 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3785 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3786 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3787 * apropos.el (apropos-safe-documentation):
3788 * subr.el (symbol-file): Remove redundant fboundp.
3789 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3791 2014-01-06 Bastien Guerry <bzg@gnu.org>
3793 * hl-line.el (global-hl-line-overlay): Make a local variable.
3794 (global-hl-line-overlays): New variable to store all overlays.
3795 (global-hl-line-mode): Don't delete overlays from the current
3796 buffer when `global-hl-line-sticky-flag' is non-nil.
3797 (global-hl-line-highlight): Add new overlays to
3798 `global-hl-line-overlays'.
3799 (global-hl-line-unhighlight-all): New function to delete all
3800 overlays when turning off `global-hl-line-mode'.
3801 This fixes Bug#16183.
3803 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * subr.el (set-transient-map): Fix nested case and docstring.
3807 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3809 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3812 2014-01-06 Daniel Colascione <dancol@dancol.org>
3814 Fix defun navigation in vc log view.
3816 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3817 like `beginning-of-defun'.
3818 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3819 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3820 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3821 (log-view-extract-comment): Call `log-view-current-entry' directly
3822 instead of relying on broken `log-view-beginning-of-defun' behavior.
3824 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3827 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3828 * emacs-lisp/debug.el (cancel-debug-on-entry):
3829 * epg.el (epg-error-to-string):
3830 * files.el (recover-file):
3831 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3832 * mail/emacsbug.el (report-emacs-bug-hook):
3833 * mail/sendmail.el (mail-recover):
3834 * ses.el (ses-yank-resize):
3835 * term/ns-win.el (ns-print-buffer):
3836 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3837 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3839 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3841 2014-01-06 Leo Liu <sdl.web@gmail.com>
3843 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3844 to avoid shadowing global key. (Bug#16354)
3846 2014-01-06 Daniel Colascione <dancol@dancol.org>
3848 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3851 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3853 * window.el (balance-windows): Add mising t to fix Bug#16351.
3855 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3857 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3859 (shr-insert): If we have a word that's longer than `shr-width',
3860 break after it anyway. Otherwise we'll do no breaking once we get
3863 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3865 * net/eww.el (eww): Support single/double quote for search.
3866 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3867 (eww-history-quit): Delete and use quit-window.
3868 (eww-history-kill): Delete, because it doesn't work well and
3870 (eww-history-mode-map): Delete some keys and add easy-menu.
3872 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3874 Fix misspelling of 'chinese' in rx (Bug#16237).
3875 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3878 Change subword regexps back to vars (Bug#16296).
3879 * progmodes/subword.el (subword-forward-regexp)
3880 (subword-backward-regexp): Change these back to variables.
3882 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3885 syntax-begin-function (bug#16247).
3887 2014-01-03 Chong Yidong <cyd@gnu.org>
3889 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3890 (advice--docstring): Delete variable.
3891 (advice--make-1): Leave the docstring empty.
3892 (advice-add): Use function-documentation for advised docstring.
3894 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3895 Ignore function-documentation property when getting documentation.
3896 (ad-activate-advised-definition): Use function-documentation
3897 generate the docstring.
3898 (ad-make-advised-definition): Don't call
3899 ad-make-advised-definition-docstring.
3900 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3903 * progmodes/sql.el (sql-help): Use function-documentation instead
3904 of dynamic-docstring-function property. No need to autoload now.
3905 (sql--help-docstring): New variable.
3906 (sql--make-help-docstring): Use it.
3908 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * ielm.el (ielm-tab): Retarget.
3911 (ielm-map): Use ielm-tab for tab.
3912 (ielm-complete-filename): Use comint-filename-completion.
3913 (ielm-complete-symbol): Remove.
3914 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3915 remove ielm-tab from completion-at-point-functions (bug#16224).
3917 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3918 Beware signals raised by predicates (bug#16201).
3920 2014-01-02 Richard Stallman <rms@gnu.org>
3922 * dired-aux.el (dired-do-print): Handle printer-name.
3924 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3925 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3926 (rmail-epa-decrypt): Turn off mime processing.
3928 * mail/rmail.el (rmail-make-in-reply-to-field):
3929 Add parens in message-id.
3931 * mail/rmail.el (rmail-get-coding-function): Variable.
3932 (rmail-get-coding-system): Use it.
3934 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3936 * international/mule-conf.el: Unify the charset indian-is13194.
3937 (indian-is13194): Specify unify-map.
3939 2013-12-31 Leo Liu <sdl.web@gmail.com>
3941 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3943 2013-12-30 Daniel Colascione <dancol@dancol.org>
3945 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3946 of printing a useless when we resume from sleep.
3948 * progmodes/sh-script.el
3949 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3950 in indentation code. (Bug#16233)
3952 2013-12-28 João Távora <joaotavora@gmail.com>
3954 * elec-pair.el (electric-pair-post-self-insert-function):
3955 Don't open extra newlines at beginning of buffer. (Bug#16272)
3957 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3959 * frame.el (window-system-for-display): Don't allow to create a
3960 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3962 2013-12-28 Glenn Morris <rgm@gnu.org>
3964 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3967 * apropos.el (apropos-match-face):
3968 * calculator.el (calculator-displayer):
3969 * dabbrev.el (dabbrev-search-these-buffers-only):
3970 * face-remap.el (buffer-face-mode-face):
3971 * simple.el (yank-handled-properties):
3972 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3973 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3974 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3975 (hashcash-double-spend-database):
3976 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3977 (ruby-deep-indent-paren-style):
3978 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3979 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3980 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3981 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3982 Specify custom types.
3984 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3985 * bookmark.el (bookmark-bmenu-use-header-line):
3986 * doc-view.el (doc-view-scale-internally):
3987 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3988 * register.el (register-preview-delay):
3989 * net/shr.el (shr-bullet):
3990 * progmodes/cfengine.el (cfengine-cf-promises)
3991 (cfengine-parameters-indent):
3992 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3993 * textmodes/reftex-vars.el (reftex-label-regexps):
3994 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3996 * net/tls.el (tls-certtool-program): Fix default value.
3998 * desktop.el (desktop-restore-in-current-display):
3999 * newcomment.el (comment-empty-lines):
4000 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4001 (idlwave-pad-keyword):
4002 * progmodes/tcl.el (tcl-tab-always-indent):
4003 * textmodes/reftex-vars.el (reftex-index-default-tag):
4004 * elec-pair.el (electric-pair-skip-whitespace):
4005 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4007 * emacs-lisp/authors.el (authors-ignored-files)
4008 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4010 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4012 * shell.el (shell-dynamic-complete-command): Doc fix.
4013 (shell--command-completion-data): Shell completion now matches
4014 executable filenames from the current buffer's directory, on
4015 systems in which this behavior is the default (windows-nt, ms-dos).
4017 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4019 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4021 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4026 * electric.el: Move all electric-pair-* to elec-pair.el.
4027 * elec-pair.el: New file, split from electric.el.
4029 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4031 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4032 indentation level is larger than the width, because that will
4034 (shr-insert): Fill repeatedly long texts, so that Japanese is
4035 formatted correctly (bug#16263).
4036 (shr-find-fill-point): Off by one error in comparison with the
4039 2013-12-26 João Távora <joaotavora@gmail.com>
4041 * electric.el (electric-pair-mode): More flexible engine for skip-
4042 and inhibit predicates, new options for pairing-related functionality.
4043 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4044 if that keeps or improves their balance in buffers.
4045 (electric-pair-delete-adjacent-pairs): Delete the pair when
4046 backspacing over adjacent matched delimiters.
4047 (electric-pair-open-extra-newline): Open extra newline when
4048 inserting newlines between adjacent matched delimiters.
4049 (electric--sort-post-self-insertion-hook):
4050 Sort post-self-insert-hook according to priority values when
4051 minor-modes are activated.
4052 * simple.el (newline-and-indent): Call newline with interactive
4054 (blink-paren-post-self-insert-function): Set priority to 100.
4055 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4056 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4057 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4058 electric-pair-open-newline-between-pairs to nil.
4060 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4062 * progmodes/python.el: Use lexical-binding.
4063 (python-nav-beginning-of-defun): Stop searching ASAP.
4065 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4067 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4068 Fix interactive spec. Doc fix. (Bug#15754)
4070 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4072 * emacs-lisp/byte-run.el (eval-when-compile):
4073 * progmodes/cc-defs.el (cc-eval-when-compile):
4074 Fix edebug spec (bug#16184).
4076 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4078 * net/shr.el (shr-visit-file): Remove debugging function.
4079 (shr-insert): Don't infloop if we can't find a good place to break
4080 the line (bug#16256).
4082 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4084 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4085 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4086 python-nav-lisp-forward-sexp-safe.
4087 (python-nav--forward-sexp): New argument SAFE allows switching
4088 forward sexp movement behavior for parens.
4089 (python-nav-forward-sexp): Throw errors on unterminated parens
4091 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4092 (python-nav-backward-sexp-safe): New functions.
4093 (python-shell-buffer-substring):
4094 Use `python-nav-forward-sexp-safe'.
4096 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4098 * net/shr.el (shr-find-fill-point): Don't break lines before a
4100 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4101 (shr-find-fill-point): Remove the special checks for the quotation
4102 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4104 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4106 * net/eww.el (eww-form-textarea): Use a different face for
4107 textareas than text input since they have different keymaps
4110 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4112 * progmodes/python.el (python-nav-beginning-of-statement):
4113 Speed up (Bug#15295).
4115 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4117 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4118 the window configuration.
4120 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4122 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4123 we run on MS-Windows or MS-DOS.
4125 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4127 * window.el (balance-windows-area): Call window-size instead of
4128 window-height and window-width. Bug#16241.
4130 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4132 * net/eww.el (eww-bookmark-quit): Remove.
4133 (eww-bookmark-browse): Restore the window configuration when you
4134 choose a bookmark (bug#16144).
4136 2013-12-24 Daniel Colascione <dancol@dancol.org>
4138 * icomplete.el: Remove redundant :group arguments to `defcustom'
4140 (icomplete-show-matches-on-no-input): New customizable variable.
4141 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4142 we have something to show.
4143 (icomplete-exhibit): Compute completions even if we have no user input.
4145 2013-12-23 Daniel Colascione <dancol@dancol.org>
4147 * icomplete.el: Move `provide' to end of file.
4149 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4151 * net/gnutls.el (gnutls-verify-error): Add version tag.
4153 2013-12-23 Chong Yidong <cyd@gnu.org>
4155 * subr.el (set-transient-map): Rename from
4156 set-temporary-overlay-map. Doc fix.
4158 * face-remap.el (text-scale-adjust):
4159 * indent.el (indent-rigidly):
4160 * kmacro.el (kmacro-call-macro):
4161 * minibuffer.el (minibuffer-force-complete):
4162 * repeat.el (repeat):
4163 * simple.el (universal-argument--mode):
4164 * calendar/todo-mode.el (todo-insert-item--next-param):
4165 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4167 * indent.el (indent-rigidly): Use substitute-command-keys.
4169 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4171 * net/eww.el (eww-tag-select): Add text-property to jump to next
4173 (eww): Add non-supported ftp error.
4175 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4177 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4178 comments. Handle electric indent after typing `?' and `!'.
4180 2013-12-22 Chong Yidong <cyd@gnu.org>
4182 * faces.el (face-spec-recalc): If the theme specs are not
4183 applicable to a frame, fall back on the defface spec.
4184 This prevents themes from obliterating faces on low-color terminals.
4186 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4188 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4189 after `{'. We need it after block openers, and it doesn't seem
4190 to hurt after hash openers.
4192 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4194 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4195 extracted from `ruby-smie-rules'.
4196 (ruby--electric-indent-chars): New variable.
4197 (ruby--electric-indent-p): New function.
4198 (ruby-mode): Use `electric-indent-functions' instead of
4199 `electric-indent-chars'.
4201 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4203 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4205 (ruby-smie-rules): Indent plus one level after `=>'.
4207 2013-12-21 Richard Stallman <rms@gnu.org>
4209 * simple.el (newline): Doc fix.
4211 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4213 * net/eww.el (eww-list-histories, eww-list-histories)
4214 (eww-history-browse, eww-history-quit, eww-history-kill)
4215 (eww-history-mode-map, eww-history-mode): New command and
4216 functions to list browser histories.
4217 (eww-form-text): Support text form with disabled
4218 and readonly attributes.
4219 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4221 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4223 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4224 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4225 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4226 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4228 (eww-bookmark-mode-map): Add menu.
4229 (eww-render, eww-mode): Use `setq-local'.
4230 (eww-tool-bar-map): New variable.
4231 (eww-mode): Set `tool-bar-map'.
4232 (eww-view-source): Check for `html-mode' with `fboundp'.
4234 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4236 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4237 elements with text inside. Also remove debugging.
4239 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4241 * cus-start.el (all): Add ns-use-srgb-colorspace.
4243 2013-12-21 Chong Yidong <cyd@gnu.org>
4245 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4246 undefined. Thus, theme settings for undefined faces do not take
4247 effect until the faces are defined with defface, the same as with
4250 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4251 (face-spec-reset-face): Don't assign extra properties in temacs.
4252 (face-spec-recalc): Apply X resources too.
4254 2013-12-21 Chong Yidong <cyd@gnu.org>
4256 * faces.el (face-spec-set):
4257 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4258 * custom.el (defface): Doc fixes (Bug#16203).
4260 * indent.el (indent-rigidly-map): Add docstring, and move commands
4261 into named functions.
4262 (indent-rigidly-left, indent-rigidly-right)
4263 (indent-rigidly-left-to-tab-stop)
4264 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4265 indentation direction based on bidi direction, and accumulate
4266 sequential commands in a single undo boundary.
4267 (indent-rigidly--pop-undo): New utility function.
4269 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4271 * faces.el (read-face-name): Require crm.el when using crm-separator.
4273 2013-12-20 Daniel Colascione <dancol@dancol.org>
4275 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4276 so that we don't reflow comments into the shebang line.
4278 2013-12-20 Juri Linkov <juri@jurta.org>
4280 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4281 a position when `dired-directory' is non-nil. Check integer
4282 positions with `integerp'.
4283 (toggle-save-place, save-places-to-alist): Add check for
4285 (save-place-find-file-hook): Check integer positions with
4287 (save-place-dired-hook): Use `dired-goto-file' when
4288 `dired-filename' is found in the assoc list. Check integer
4289 positions with `integerp'.
4290 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4292 * dired.el (dired-initial-position-hook): Rename back from
4293 `dired-initial-point-hook'.
4294 (dired-initial-position): Rename `dired-initial-point-hook' to
4295 `dired-initial-position-hook'.
4296 (dired-file-name-at-point): Doc fix. (Bug#15329)
4298 2013-12-20 Juri Linkov <juri@jurta.org>
4300 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4301 (read-regexp-suggestions): New function.
4302 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4303 Use `read-regexp-suggestions'. Add non-empty default to history
4305 (occur-read-regexp-defaults-function): Remove function.
4306 (occur-read-primary-args): Use `regexp-history-last' instead of
4307 `occur-read-regexp-defaults-function'.
4309 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4310 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4311 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4312 `hi-lock-read-regexp-defaults-function'. Doc fix.
4313 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4314 with `find-tag-default-as-symbol-regexp'. Doc fix.
4315 (hi-lock-read-regexp-defaults): Remove function.
4316 (hi-lock-regexp-okay): Add check for null.
4318 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4319 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4321 * subr.el (find-tag-default-as-symbol-regexp): New function.
4322 (find-tag-default-as-regexp): Move symbol regexp formatting to
4323 `find-tag-default-as-symbol-regexp'.
4325 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4327 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4330 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4332 * calendar/todo-mode.el: New implementation of item insertion
4333 commands and key bindings.
4334 (todo-key-prompt): New face.
4335 (todo-insert-item): New command.
4336 (todo-insert-item--parameters): New defconst, replacing defvar
4337 todo-insertion-commands-args-genlist.
4338 (todo-insert-item--param-key-alist): New defconst, replacing
4339 defvar todo-insertion-commands-arg-key-list.
4340 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4341 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4342 (todo-insert-item--next-param): New functions.
4343 (todo-insert-item--args, todo-insert-item--argleft)
4344 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4346 (todo-key-bindings-t): Change binding of "i" from
4347 todo-insertion-map to todo-insert-item.
4348 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4349 (todo-insertion-command-name, todo-insertion-commands-names)
4350 (todo-define-insertion-command, todo-insertion-commands)
4351 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4353 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4355 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4356 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4358 (todo-move-category): Allow choosing a non-existing todo file to
4359 move the category to, and create that file.
4360 (todo-default-priority): New user option.
4361 (todo-set-item-priority): Use it.
4362 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4363 (desktop-restore-file-buffer): Declare.
4364 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4365 (todo-modes-set-2): Locally set desktop-save-buffer to
4366 todo-desktop-save-buffer.
4367 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4368 (auto-mode-alist): Add autoload cookie.
4370 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4372 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4373 helpers.el was a poor choice of name.
4374 (string-remove-prefix): New function.
4375 (string-remove-suffix): New function.
4377 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4379 Fix assignment for new window total sizes.
4380 * window.el (window--pixel-to-size): Remove function.
4381 (window--pixel-to-total-1, window--pixel-to-total):
4382 Fix calculation of new total sizes.
4384 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4386 * comint.el (comint-output-filter): Fix rear-nonsticky property
4387 placement (Bug#16010).
4389 2013-12-20 Chong Yidong <cyd@gnu.org>
4391 * faces.el (read-color): Minor fix for completion function.
4393 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4395 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4396 New option. (Bug#16182)
4397 (ruby-smie--indent-to-stmt-p): Use it.
4398 (ruby-smie-rules): Revert the logic in the handling of `when'.
4399 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4400 (ruby-deep-arglist, ruby-deep-indent-paren)
4401 (ruby-deep-indent-paren-style): Update docstrings to note that the
4402 vars don't have any effect with SMIE.
4404 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4406 * calc/calc.el (calc-enter, calc-pop): Use the variable
4407 `calc-context-sensitive-enter'.
4409 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411 * net/shr.el (shr-insert): Protect against infloops in degenerate
4414 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4416 * progmodes/octave.el (octave): Add link to manual and octave
4418 (octave-mode-menu): Link to octave-mode manual.
4420 2013-12-20 Leo Liu <sdl.web@gmail.com>
4422 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4423 insertion using skeleton-end-newline. (Bug#16138)
4425 2013-12-20 Juri Linkov <juri@jurta.org>
4427 * replace.el (occur-engine): Use `add-face-text-property'
4428 to add the face property to matches and titles. (Bug#14645)
4430 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4431 the palette of other hi-lock colors.
4432 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4434 2013-12-19 Juri Linkov <juri@jurta.org>
4436 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4437 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4438 (minibuffer-history-symbol): Move variable declaration closer to
4441 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4444 2013-12-19 Juri Linkov <juri@jurta.org>
4446 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4448 (log-edit-hook): Add it to :options. (Bug#16170)
4450 2013-12-19 Juri Linkov <juri@jurta.org>
4452 * simple.el (eval-expression-print-format): Don't check for
4453 command names and the last command. Always display additional
4454 formats of the integer result in the echo area, and insert them
4455 to the current buffer only with a zero prefix arg.
4456 Display character when char-displayable-p is non-nil.
4457 (eval-expression): With a zero prefix arg, set `print-length' and
4458 `print-level' to nil, and insert the integer values from
4459 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4461 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4462 `eval-last-sexp-arg-internal'. Doc fix.
4463 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4464 `eval-last-sexp-print-value'. Doc fix.
4465 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4466 Set `print-length' and `print-level' to nil when arg is zero.
4467 (eval-last-sexp): Doc fix.
4468 (eval-defun-2): Print the integer values from
4469 `eval-expression-print-format' at the end.
4471 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4472 values from `eval-expression-print-format' at the end.
4474 * ielm.el (ielm-eval-input): Print the integer
4475 values from `eval-expression-print-format' at the end.
4477 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4479 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4480 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4482 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4484 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4485 (hl-line-highlight, global-hl-line-highlight): Use it.
4486 (hl-line-overlay): Use defvar-local.
4488 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4490 * term/ns-win.el: Require dnd.
4491 (global-map): Remove drag items.
4492 (ns-insert-text, ns-set-foreground-at-mouse)
4493 (ns-set-background-at-mouse):
4494 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4495 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4498 2013-12-19 Glenn Morris <rgm@gnu.org>
4500 * emacs-lisp/ert.el (ert-select-tests):
4501 Fix string/symbol mixup. (Bug#16121)
4503 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4505 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4506 keywords to their parent.
4508 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4510 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4511 first arg to be a string (fixed dead code), or an operator symbol.
4512 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4514 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4515 did nothing. Don't respond to `(:after ".")', it will be called
4516 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4517 change anything. Only return indentation for binary operators
4518 when they are hanging. De-dent opening paren when its parent is
4519 `.', otherwise it looks bad when the dot is not at bol or eol
4522 2013-12-19 Juri Linkov <juri@jurta.org>
4524 * replace.el (query-replace-read-args): Split a non-negative arg
4525 and a negative arg into separate elements.
4526 (query-replace, query-replace-regexp, replace-string)
4527 (replace-regexp): Add arg `backward'. Doc fix.
4528 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4529 move point to the beginning of the match.
4530 (replace-search, replace-highlight): Use new arg `backward'
4531 to set the value of `isearch-forward'.
4532 (perform-replace): Add arg `backward' and use it to perform
4533 replacement backward. (Bug#14979)
4535 * isearch.el (isearch-query-replace): Use a negative prefix arg
4536 to call `perform-replace' with a non-nil arg `backward'.
4538 2013-12-18 Juri Linkov <juri@jurta.org>
4540 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4541 to the default list. Move `log-edit-show-files' to the end.
4542 Add more available functions to options.
4543 (log-edit): Move default specific settings to
4544 `log-edit-insert-message-template'. Don't move point.
4545 (log-edit-insert-message-template): New function.
4546 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4549 2013-12-18 Juri Linkov <juri@jurta.org>
4551 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4552 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4554 2013-12-18 Leo Liu <sdl.web@gmail.com>
4556 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4559 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4561 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4562 formats for displaying file sizes when the -s switch is given.
4563 Instead, compute a separate format for displaying the size in
4564 blocks, which is displayed in addition to the "regular" size.
4565 When -h is given in addition to -s, produce size in blocks in
4566 human-readable form as well. (Bug#16179)
4568 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4570 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4571 Reference tables with ~\ref{...} instead of only \ref{...}.
4573 2013-12-18 Chong Yidong <cyd@gnu.org>
4575 * cus-edit.el (custom-magic-alist): Fix "themed" description
4578 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4579 is non-nil, do not create a new entry in the symbol's theme-value
4580 or theme-face property; update theme-settings only (Bug#14664).
4581 (custom-available-themes): Doc fix.
4583 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4586 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4588 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4590 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4593 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4595 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4597 2013-12-18 Glenn Morris <rgm@gnu.org>
4599 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4600 * cus-start.el (load-prefer-newer): New option.
4602 2013-12-18 Le Wang <l26wang@gmail.com>
4604 * comint.el (comint-previous-matching-input-from-input):
4605 Retain point (Bug#13404).
4607 2013-12-18 Chong Yidong <cyd@gnu.org>
4609 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4611 2013-12-18 Glenn Morris <rgm@gnu.org>
4613 * mail/emacsbug.el (report-emacs-bug):
4614 Only mention enable-multibyte-characters if non-standard.
4616 2013-12-17 Juri Linkov <juri@jurta.org>
4618 * arc-mode.el (archive-extract-by-file): Check if directory exists
4619 before deletion to not show irrelevant errors if it doesn't exist.
4621 2013-12-17 Juri Linkov <juri@jurta.org>
4623 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4626 * net/eww.el (browse-web): Add alias to `eww'.
4627 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4628 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4630 * net/browse-url.el (browse-url-browser-function): Move `eww'
4631 closer to similar functions.
4633 * startup.el (fancy-startup-screen, fancy-about-screen):
4634 Set browse-url-browser-function to eww-browse-url locally.
4637 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4639 * window.el (window--pixel-to-total): Remove unused `mini' var.
4640 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4641 (split-window): Remove unused `new' var.
4642 (window--display-buffer): Remove unused `frame' and `delta' vars.
4643 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4646 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4648 * dired.el (dired-mark-pop-up):
4649 * register.el (register-preview): Don't bind
4650 split-height-threshold here since it's now done in
4651 display-buffer-below-selected.
4653 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4655 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4656 xterm-rgb-convert-to-16bit.
4657 (rxvt-register-default-colors): Standardize with
4658 xterm-register-default-colors (Bug#14078).
4660 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4662 * simple.el (kill-region): Pass mark first, then point, so that
4663 kill-append works right (Bug#12819).
4664 (copy-region-as-kill, kill-ring-save): Likewise.
4666 2013-12-17 Leo Liu <sdl.web@gmail.com>
4668 * net/rcirc.el (rcirc-add-face):
4669 * eshell/em-prompt.el (eshell-emit-prompt):
4670 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4673 2013-12-17 Chong Yidong <cyd@gnu.org>
4675 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4676 Suggested by Xue Fuqiao.
4678 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4680 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4682 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * net/shr.el (shr-insert-document): Remove unused var
4685 `shr-preliminary-table-render'.
4686 (shr-rescale-image): Remove unused arg `force'.
4687 (shr-put-image): Update calls accordingly.
4688 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4690 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4692 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4693 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4694 :close-all, to see which indentation method to use (Bug#16116).
4695 (smie-rules-function): Document the method :close-all.
4697 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4699 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4701 * net/eww.el (eww-display-html): If we can't find the anchor we're
4702 looking for, then go to point-min.
4704 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4706 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4707 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4708 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4709 Expand dir too, in case it's relative.
4711 2013-12-16 Juri Linkov <juri@jurta.org>
4713 * desktop.el (desktop-auto-save-timeout): Change default to
4714 `auto-save-timeout'. Doc fix.
4715 (desktop-save): Skip the timestamp in desktop-saved-frameset
4716 when checking for auto-save changes.
4717 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4718 `desktop-auto-save' is called repeatedly by the idle timer.
4719 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4720 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4723 2013-12-16 Juri Linkov <juri@jurta.org>
4725 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4727 (isearch-pre-command-hook): Check `this-command' for symbolp.
4729 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4731 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4733 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4735 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4736 (cfengine3--current-function): Bring in the current-function
4737 functionality from `cfengine3--current-word'.
4738 (cfengine3-completion-function): Bring in the
4739 bounds-of-current-word functionality from
4740 `cfengine3--current-word'.
4742 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4744 * window.el (display-buffer-below-selected):
4745 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4747 2013-12-16 Leo Liu <sdl.web@gmail.com>
4749 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4750 Remove NOMSG arg and all uses changed.
4752 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4755 (cua--deactivate-rectangle): Don't deactivate the mark.
4756 (cua-set-rectangle-mark): Don't set mark-active since
4757 cua--activate-rectangle already does it for us.
4758 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4759 non-rectangular region.
4761 * emulation/cua-base.el (cua-repeat-replace-region):
4762 Use with-current-buffer.
4764 * net/gnutls.el: Use cl-lib.
4765 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4767 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4769 * emacs-lisp/package.el (package-built-in-p): Support both
4770 built-in and the package.el converted package descriptions.
4771 (package-show-package-list): Allow keywords.
4772 (package-keyword-button-action): Use it instead of
4773 `finder-list-matches'.
4774 (package-menu-filter-interactive): Interactive filtering (by
4776 (package-menu--generate): Support keywords and change keymappings
4777 and headers when they are given.
4778 (package--has-keyword-p): Helper function.
4779 (package-menu--refresh): Use it.
4780 (package--mapc): Helper function.
4781 (package-all-keywords): Use it.
4782 (package-menu-mode-map): Set up menu items and keybindings to
4783 provide a filtering UI.
4785 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4787 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4788 the behavior when a certificate fails validation. Defaults to
4789 old behavior: never abort, just warn.
4790 (gnutls-negotiate): Use it.
4792 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4794 * window.el (display-buffer-below-selected): Never split window
4795 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4797 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4799 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4800 (package-buffer-info): Use it (bug#15108).
4802 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4804 * icomplete.el (icomplete-completions): Make sure the prefix is already
4805 displayed elsewhere before hiding it (bug#16219).
4807 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4809 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4810 open-paren tokens when preceded by a open-paren, too.
4811 (ruby-smie-rules): Handle virtual indentation after open-paren
4812 tokens specially. If there is code between it and eol, return the
4813 column where is starts (Bug#16118).
4815 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4817 * progmodes/cfengine.el: Fix `add-hook' doc.
4818 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4819 (cfengine3--current-word): Fix parameters.
4820 (cfengine3-make-syntax-cache): Simplify further.
4821 (cfengine3-completion-function, cfengine3--current-function):
4822 Use `assq' for symbols.
4823 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4825 2013-12-13 Glenn Morris <rgm@gnu.org>
4827 * loadup.el (load-path): Warn if site-load or site-init changes it.
4828 No more need to reset it when bootstrapping.
4830 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4832 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4833 locations for cf-promises.
4834 (cfengine-mode-syntax-functions-regex): New caching variable.
4835 (cfengine3-fallback-syntax): Fallback syntax for cases where
4836 cf-promises doesn't run.
4837 (cfengine3--current-word): Reimplement using
4838 `cfengine-mode-syntax-functions-regex'.
4839 (cfengine3-completion-function, cfengine3--current-function):
4840 Use `cfengine3-make-syntax-cache' directly.
4841 (cfengine3-clear-syntax-cache): New function.
4842 (cfengine3-make-syntax-cache): Simplify and create
4843 `cfengine-mode-syntax-functions-regex' on demand.
4844 (cfengine3-format-function-docstring): Don't call
4845 `cfengine3-make-syntax-cache' explicitly.
4847 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4849 Fix windmove-find-other-window broken after pixelwise resizing
4851 * windmove.el (windmove-other-window-loc): Revert change from
4853 (windmove-find-other-window): Call window-in-direction.
4854 * window.el (window-in-direction): New arguments SIGN, WRAP and
4855 MINI to emulate original windmove-find-other-window behavior.
4857 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4859 * simple.el (blink-matching--overlay): New variable.
4860 (blink-matching-open): Instead of moving point, highlight the
4861 matching paren with an overlay
4862 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4864 * faces.el (paren-showing-faces, show-paren-match)
4865 (show-paren-mismatch): Move from paren.el.
4867 2013-12-13 Leo Liu <sdl.web@gmail.com>
4869 * indent.el (indent-region): Disable progress reporter in
4870 minibuffer. (Bug#16108)
4872 * bindings.el (visual-order-cursor-movement): Fix version.
4874 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4876 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4877 Also match after beginning of line.
4878 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4879 files. Thanks to Russell Sim. (Bug#15378)
4881 2013-12-13 Juri Linkov <juri@jurta.org>
4883 * simple.el <Keypad support>: Remove key bindings duplicated
4884 with bindings.el. (Bug#14397)
4886 2013-12-13 Juri Linkov <juri@jurta.org>
4888 * comint.el (comint-mode-map): Replace `delete-char' with
4889 `delete-forward-char'. (Bug#16109)
4891 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4893 * progmodes/python.el (python-indent-calculate-indentation):
4894 Fix de-denters cornercase. (Bug#15731)
4896 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4899 (advice--make): Pay attention to `depth'.
4900 (advice--make-1): Don't autoload commands eagerly.
4901 * emacs-lisp/elp.el (elp-instrument-function):
4902 * emacs-lisp/trace.el (trace-function-internal):
4903 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4905 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4907 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4909 * term/w32-win.el (w32-handle-dropped-file):
4910 * startup.el (normal-top-level):
4911 * net/browse-url.el (browse-url-file-url):
4912 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4913 decode file names using 'utf-8' rather than
4914 file-name-coding-system.
4916 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4918 * progmodes/python.el (python-indent-context)
4919 (python-indent-calculate-indentation): Fix auto-identation
4920 behavior for comment blocks. (Bug#15916)
4922 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4924 * progmodes/python.el (python-indent-calculate-indentation):
4925 When determining indentation, don't treat "return", "pass", etc., as
4926 operators when they are just string constituents. (Bug#15812)
4928 2013-12-12 Juri Linkov <juri@jurta.org>
4930 * uniquify.el (uniquify-buffer-name-style): Change default to
4931 `post-forward-angle-brackets'.
4933 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4934 `uniquify'. Change default to `post-forward-angle-brackets'.
4936 2013-12-11 Glenn Morris <rgm@gnu.org>
4938 * emacs-lisp/package.el (finder-list-matches):
4939 Autoload rather than falsely declaring.
4941 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4943 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4944 (eww-mode-map): Use them.
4946 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4948 * window.el (display-buffer-in-side-window): Fix doc-string
4951 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4953 * vc/vc-git.el: Silence byte-compiler warnings.
4954 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4955 (log-edit-set-header): Declare.
4957 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4959 * Makefile.in (custom-deps, finder-data): Run output file names
4960 through unmsys--file-name. (Bug#16099)
4962 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4964 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4965 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4967 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4968 instead of deleting the selection "by hand" (bug#16098).
4969 Rely on insert-for-yank to yank rectangles.
4970 (cua-highlight-region-shift-only): Mark obsolete.
4971 (cua-mode): Don't enable/disable transient-mark-mode,
4972 shift-select-mode (cua-mode works both with and without them), and
4973 pc-selection-mode (obsolete).
4974 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4975 (cua--deactivate-rectangle): Deactivate it.
4977 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4978 (delete-selection-helper): Make sure yank starts at the top of the
4980 (minibuffer-keyboard-quit): Use region-active-p.
4982 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4984 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4985 to `delete' (bug#16109).
4987 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4989 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4990 info manual and show keybindings and set `:group' keyword.
4992 2013-12-11 Juri Linkov <juri@jurta.org>
4994 * delsel.el (delete-active-region): Let-bind `this-command'
4995 to prevent `kill-region' from changing its original value.
4996 (delete-selection-helper): Handle `overwrite-mode' for the type
4997 `kill' exactly the same way as for the type `t'.
4998 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4999 Support more commands. (Bug#13312)
5001 2013-12-11 Juri Linkov <juri@jurta.org>
5003 * bindings.el: Map kp keys to non-kp keys systematically
5004 with basic modifiers control, meta and shift. (Bug#14397)
5006 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5008 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5009 "Close browser" menu items. Fix wrong function of "List
5012 2013-12-11 Juri Linkov <juri@jurta.org>
5014 * misearch.el (multi-isearch-buffers): Set the value of
5015 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5016 arg of isearch-forward to t.
5017 (multi-isearch-buffers-regexp): Set the value of
5018 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5019 arg of isearch-forward-regexp to t.
5020 (multi-isearch-files): Set the value of
5021 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5022 arg of isearch-forward to t.
5023 (multi-isearch-files-regexp): Set the value of
5024 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5025 arg of isearch-forward-regexp to t. (Bug#16035)
5027 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5028 arg of isearch-forward to t.
5029 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5030 arg of isearch-forward-regexp to t.
5031 (dired-isearch-filter-filenames): Remove unnecessary check for
5032 `dired-isearch-filenames'.
5034 * comint.el (comint-history-isearch-backward):
5035 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5036 (comint-history-isearch-backward-regexp):
5037 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5039 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5041 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5042 unmsys--file-name. (Bug#16099)
5044 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5046 * emacs-lisp/package.el (package-keyword-button-action):
5047 Remove finder.el require dependency.
5049 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5051 * emacs-lisp/package.el: Require finder.el.
5052 (describe-package-1): Add keyword buttons.
5053 (package-make-button): New convenience function.
5054 (package-keyword-button-action): Keyword button action using
5055 `finder-list-matches'.
5057 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5059 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5062 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5064 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5067 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5069 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5070 after the end of a percent literal.
5072 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5074 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5075 Handle caret-delimited strings (Bug#16079).
5077 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5079 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5080 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5081 `ruby-parse-partial' (Bug#16078).
5083 2013-12-09 Leo Liu <sdl.web@gmail.com>
5085 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5087 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5089 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5090 (js-switch-indent-offset): New option.
5091 (js--proper-indentation): Use it. And handle the case when
5092 "default" is actually a key in an object literal.
5093 (js--same-line): New function.
5094 (js--multi-line-declaration-indentation): Use it.
5095 (js--indent-in-array-comp, js--array-comp-indentation):
5097 (js--proper-indentation): Use them, to handle array comprehension
5100 2013-12-08 Leo Liu <sdl.web@gmail.com>
5102 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5103 (flymake-make-overlay): Remove arg MOUSE-FACE.
5104 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5106 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5108 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5110 (redisplay-highlight-region-function): Use it.
5112 * emulation/cua-base.el (cua--explicit-region-start)
5113 (cua--last-region-shifted): Remove.
5114 (cua--deactivate): Use deactivate-mark.
5115 (cua--pre-command-handler-1): Don't handle shift-selection.
5116 (cua--post-command-handler-1): Don't change transient-mark-mode.
5117 (cua--select-keymaps): Use region-active-p rather than
5118 cua--explicit-region-start or cua--last-region-shifted.
5119 (cua-mode): Enable shift-select-mode.
5121 2013-12-08 Leo Liu <sdl.web@gmail.com>
5123 * progmodes/flymake.el (flymake-popup-current-error-menu):
5124 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5125 (flymake-posn-at-point-as-event, flymake-popup-menu)
5126 (flymake-make-emacs-menu): Remove. (Bug#16077)
5128 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * rect.el (rectangle-mark-mode): Activate mark even if
5131 transient-mark-mode is off (bug#16066).
5132 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5133 is > mark and at bolp.
5135 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5136 (region-extract-function): Use it.
5137 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5138 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5140 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5141 kill-ring-save, kill-region, delete-char, delete-forward-char.
5142 Ignore self-insert-iso.
5144 * emulation/cua-gmrk.el (cua--init-global-mark):
5145 Ignore `self-insert-iso'.
5147 * emulation/cua-base.el (cua--prefix-copy-handler)
5148 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5149 checking cua--rectangle.
5150 (cua-delete-region): Use region-extract-function.
5151 (cua-replace-region): Delete function.
5152 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5153 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5154 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5155 (cua--init-keymaps): Don't remap delete-selection commands.
5156 (cua-mode): Use delete-selection-mode instead of rolling our own
5159 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5160 Obey region-extract-function.
5162 Make registers and delete-selection-mode work on rectangles.
5163 * register.el (describe-register-1): Don't modify the register's value.
5164 (copy-to-register): Obey region-extract-function.
5165 * delsel.el (delete-active-region): Obey region-extract-function.
5167 2013-12-08 Leo Liu <sdl.web@gmail.com>
5169 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5170 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5171 (flymake-compilation-prevents-syntax-check)
5172 (flymake-start-syntax-check-on-newline)
5173 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5174 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5175 (flymake-xml-program, flymake-master-file-dirs)
5176 (flymake-master-file-count-limit)
5177 (flymake-allowed-file-name-masks): Relocate.
5178 (flymake-makehash, flymake-float-time)
5179 (flymake-replace-regexp-in-string, flymake-split-string)
5180 (flymake-get-temp-dir): Remove.
5181 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5182 (flymake-current-row, flymake-selected-frame)
5183 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5184 related functions. (Bug#16077)
5186 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5188 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5190 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5192 * help-fns.el (describe-function-1): Use new advice-* functions
5193 rather than old ad-* functions. Fix function type description and
5194 source links for advised functions and subrs.
5196 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5198 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5200 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5202 * progmodes/compile.el (compilation-start):
5203 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5205 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5206 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5208 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5210 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5211 Touch up the last change.
5213 2013-12-06 Leo Liu <sdl.web@gmail.com>
5215 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5216 (inferior-octave-startup): Always use "octave> " for prompt.
5217 (octave-goto-function-definition)
5218 (octave-sync-function-file-names)
5219 (octave-find-definition-default-filename): Remove redundant backquotes.
5221 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5223 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5225 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5226 where appropriate already.
5227 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5228 end of method names (Bug#15874).
5230 2013-12-06 Juri Linkov <juri@jurta.org>
5232 * isearch.el (isearch--saved-overriding-local-map):
5233 New internal variable.
5234 (isearch-mode): Set it to the initial value of
5235 `overriding-terminal-local-map'.
5236 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5237 with `isearch--saved-overriding-local-map'. (Bug#16035)
5239 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5241 * progmodes/octave.el (inferior-octave-completion-table):
5242 Turn back into function, use `completion-table-with-cache'
5243 (Bug#11906). Update all references.
5245 * minibuffer.el (completion-table-with-cache): New function.
5247 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5249 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5251 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5253 * net/eww.el (eww-current-source): New variable to store page
5255 (eww-display-html, eww-mode, eww-save-history)
5256 (eww-restore-history): Use it.
5257 (eww-view-source): New command to view page source.
5258 Opportunistically uses `html-mode' to highlight the buffer.
5259 (eww-mode-map): Install it.
5261 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5263 * net/dbus.el (dbus-unregister-service)
5264 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5266 (dbus-unregister-service): Skip :serial entries in
5267 `dbus-registered-objects-table'.
5268 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5270 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5272 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5273 around keywords with extra `split-string' argument.
5275 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5277 * windmove.el (windmove-other-window-loc): Handle navigation
5278 between windows (excluding the minibuffer window - Bug#16017).
5280 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5282 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5283 in D-Bus type syntax.
5284 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5285 preserve unibyte strings. (Bug#16048)
5287 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5289 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5290 Call force-mode-line-update is the proper buffer (bug#16042).
5292 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5294 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5295 `log-edit-remember-comment', make argument optional. Adjust all
5297 (log-edit-mode): Add `log-edit-remember-comment' to
5298 `kill-buffer-hook' locally.
5299 (log-edit-kill-buffer): Don't remember comment explicitly since
5300 the buffer is killed anyway.
5302 2013-12-04 Juri Linkov <juri@jurta.org>
5304 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5305 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5307 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5309 * notifications.el (notifications-close-notification): Call the
5310 D-Bus method with ID being a `:uint32'. (Bug#16030)
5312 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5314 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5316 2013-12-03 Juri Linkov <juri@jurta.org>
5318 * progmodes/compile.el (compilation-start): Rename window alist
5319 entry `no-display-ok' to `allow-no-window'.
5321 * simple.el (shell-command): Add window alist entry
5322 `allow-no-window' to `display-buffer'.
5323 (async-shell-command): Doc fix.
5325 * window.el (display-buffer-no-window): New action function.
5326 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5328 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5330 * vc/log-edit.el (log-edit-set-header): Extract from
5331 `log-edit-toggle-header'.
5332 (log-edit-extract-headers): Separate the summary, when extracted
5333 from header, from the rest of the message with an empty line.
5335 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5336 line, if present, to the Summary header.
5338 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5341 in current-buffer (bug#16029).
5343 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5345 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5346 (debugger-mode-map): Bind it.
5347 (debugger--backtrace-base): New function.
5348 (debugger-eval-expression): Use it.
5349 (debugger-frame-number): Skip local vars when present.
5350 (debugger--locals-visible-p, debugger--insert-locals)
5351 (debugger--show-locals, debugger--hide-locals): New functions.
5353 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5355 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5357 (tramp-get-remote-locale): New defun.
5358 (tramp-open-connection-setup-interactive-shell): Use it.
5360 2013-12-02 Leo Liu <sdl.web@gmail.com>
5362 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5364 * progmodes/sh-script.el (sh-shell-process):
5365 * progmodes/octave.el (inferior-octave-process-live-p):
5366 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5367 (gdb-inferior-io-sentinel):
5368 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5370 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5372 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5373 `save-selected-window' to `log-edit-hide-buf'. This makes
5374 `log-edit-show-files' idempotent.
5375 (log-edit-show-files): Mark the new window as dedicated.
5377 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5379 * vc/log-edit.el (log-edit-mode-map): Add binding for
5380 `log-edit-kill-biffer'.
5381 (log-edit-hide-buf): Add a FIXME comment.
5382 (log-edit-add-new-comment): New function, extracted from
5384 (log-edit-done, log-edit-add-to-changelog): Use it.
5385 (log-edit-kill-buffer): New command.
5387 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5389 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5390 instead of killing the buffer.
5392 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5396 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5398 * net/eww.el (eww-form-checkbox-selected-symbol)
5399 (eww-form-checkbox-symbol): New customizable variable.
5400 (eww-form-checkbox, eww-toggle-checkbox):
5401 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5403 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5404 (shr--get-media-pref, shr--extract-best-source): New function.
5405 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5406 no :src tag was specified.
5408 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5409 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5410 Use \\` to match beginning of string instead of ^.
5411 (eww-browse-with-external-browser): Provide optional URL parameter.
5412 (eww-render): Set `eww-current-title' back to "".
5414 * net/shr.el (shr-tag-video): Display content for video if no
5415 poster is available.
5416 (shr-tag-audio): Add support for <audio> tag.
5418 * net/eww.el (eww-text-input-types): New const.
5419 (eww-process-text-input): Treat input types in
5420 `eww-text-input-types' as text.
5422 * net/shr.el (shr-tag-table): Fix comment typo.
5424 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426 * net/eww.el (eww-follow-link): New command to avoid reloading
5427 pages when we follow #target links (bug#15243).
5428 (eww-quit): Special mode buffers shouldn't query before exiting.
5430 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5432 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5435 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437 * net/eww.el (eww-restore-history): Update the window title after
5438 moving in the history.
5439 (eww-current-dom): New variable used to save the current DOM.
5441 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5443 * vc/log-edit.el (log-edit-mode-map): Add binding for
5444 `log-edit-beginning-of-line'.
5445 (log-edit-setup-add-author): New user option.
5446 (log-edit-beginning-of-line): New command.
5447 (log-edit): Move major mode call above the contents setup so that
5448 the local variable values are already applied.
5449 (log-edit): Only insert "Author: " when
5450 `log-edit-setup-add-author' is non-nil.
5451 (log-edit): When SETUP is non-nil, position point after ": "
5452 instead of point-min.
5454 2013-12-01 Glenn Morris <rgm@gnu.org>
5456 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5458 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5460 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5461 redisplay to make sure the initial frame gets a chance to become
5462 visible. (Bug#16014)
5464 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5466 Support resizing frames and windows pixelwise.
5467 * cus-start.el (frame-resize-pixelwise)
5468 (window-resize-pixelwise): New entries.
5469 * emacs-lisp/debug.el (debug): Use window-total-height instead
5470 of window-total-size.
5471 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5472 * help.el (describe-bindings-internal): Use help-buffer as
5473 argument for with-help-window.
5474 (temp-buffer-max-width): New option.
5475 (resize-temp-buffer-window, help-window-setup)
5476 (with-help-window): Rewrite.
5477 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5479 * window.el (frame-char-size, window-min-pixel-height)
5480 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5481 (window-min-pixel-width, window-safe-min-pixel-size)
5482 (window-combination-p, window-safe-min-size)
5483 (window-resizable-p, window--size-to-pixel)
5484 (window--pixel-to-size, window--resize-apply-p): New functions.
5485 (window-safe-min-height): Fix doc-string.
5486 (window-size, window-min-size, window--min-size-1)
5487 (window-sizable, window-sizable-p, window--min-delta-1)
5488 (window-min-delta, window--max-delta-1, window-max-delta)
5489 (window--resizable, window--resizable-p, window-resizable)
5490 (window-full-height-p, window-full-width-p, window-at-side-p)
5491 (window--in-direction-2, window-in-direction)
5492 (window--resize-reset-1, window--resize-mini-window)
5493 (window-resize, window-resize-no-error)
5494 (window--resize-child-windows-normal)
5495 (window--resize-child-windows, window--resize-siblings)
5496 (window--resize-this-window, window--resize-root-window)
5497 (window--resize-root-window-vertically)
5498 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5499 (maximize-window, minimize-window, delete-window)
5500 (quit-restore-window, window-split-min-size, split-window)
5501 (balance-windows-2, balance-windows)
5502 (balance-windows-area-adjust, balance-windows-area)
5503 (window--state-get-1, window-state-get, window--state-put-1)
5504 (window--state-put-2, window-state-put)
5505 (display-buffer-record-window, window--display-buffer):
5506 Make functions handle pixelwise sizing of windows.
5507 (display-buffer--action-function-custom-type)
5508 (display-buffer-fallback-action):
5509 Add display-buffer-in-previous-window.
5510 (display-buffer-use-some-window): Resize window to height it had
5512 (fit-window-to-buffer-horizontally): New option.
5513 (fit-frame-to-buffer): Describe new values.
5514 (fit-frame-to-buffer-bottom-margin): Replace with
5515 fit-frame-to-buffer-margins.
5516 (window--sanitize-margin): New function.
5517 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5518 using window-text-pixel-size.
5520 2013-11-30 Glenn Morris <rgm@gnu.org>
5522 * emacs-lisp/bytecomp.el (byte-compile-form):
5523 Make the `interactive-only' warning like the `obsolete' one.
5524 * comint.el (comint-run):
5525 * files.el (insert-file-literally, insert-file):
5526 * replace.el (replace-string, replace-regexp):
5527 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5528 (goto-line, insert-buffer, next-line, previous-line):
5529 Tweak `interactive-only' spec.
5531 Stop keeping (most) generated cedet grammar files in the repository.
5532 * Makefile.in (semantic): New.
5533 (compile-main): Depend on semantic.
5535 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5538 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5540 * uniquify.el (uniquify-buffer-name-style): Change default.
5542 * loadup.el: Preload "uniquify".
5544 * time.el (display-time-update): Update all mode lines (bug#15999).
5546 * electric.el (electric-indent-mode): Enable by default.
5547 * loadup.el: Preload "electric".
5549 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5551 * emacs-lisp/helpers.el (string-empty-p): New function.
5552 (string-blank-p): New function.
5554 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5556 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5559 2013-11-29 Andreas Politz <politza@fh-trier.de>
5560 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5561 allow non-lambda lists as functions.
5562 (imenu--in-alist): Don't recurse into non-subalists.
5563 (imenu): Don't pass function itself as an argument (Bug#14029).
5565 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5567 * progmodes/python.el (python-mode-map): Remove binding for ":".
5568 (python-indent-electric-colon): Remove command.
5569 (python-indent-post-self-insert-function): Integrate the previous code
5570 of python-indent-electric-colon. Make it conditional on
5571 electric-indent-mode.
5572 (python-mode): Add ?: to electric-indent-chars.
5573 Move python-indent-post-self-insert-function to the end of
5574 post-self-insert-hook.
5576 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5578 * doc-view.el (doc-view-goto-page): Update mode-line.
5580 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5582 2013-11-27 Glenn Morris <rgm@gnu.org>
5584 * international/charprop.el, international/uni-bidi.el:
5585 * international/uni-category.el, international/uni-combining.el:
5586 * international/uni-comment.el, international/uni-decimal.el:
5587 * international/uni-decomposition.el, international/uni-digit.el:
5588 * international/uni-lowercase.el, international/uni-mirrored.el:
5589 * international/uni-name.el, international/uni-numeric.el:
5590 * international/uni-old-name.el, international/uni-titlecase.el:
5591 * international/uni-uppercase.el:
5592 Remove generated files from VCS repository.
5594 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5596 * filenotify.el (file-notify-add-watch): Don't special-case
5597 w32notify when computing the directory to watch.
5599 2013-11-27 Glenn Morris <rgm@gnu.org>
5601 Make bootstrap without generated uni-*.el files possible again.
5602 * loadup.el: Update command-line-args checking for unidata-gen.
5603 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5604 * composite.el, international/characters.el:
5605 Handle unicode tables being undefined.
5607 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5608 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5609 (compile-main): Depend on leim rule.
5611 * loadup.el: Move leim-list.el to leim/ subdirectory.
5612 * startup.el (normal-top-level): No more leim directory.
5613 * international/ja-dic-cnv.el (skkdic-convert):
5614 Disable version-control and autoloads in output files.
5615 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5616 Disable version-control and autoloads in output files.
5617 * leim/quail: Move here from ../leim.
5618 * leim/quail/hangul.el (hangul-input-method-activate):
5619 Add autoload cookie.
5620 (generated-autoload-load-name): Set file-local value.
5621 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5622 (generated-autoload-load-name): Set file-local value.
5624 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5626 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5627 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5628 (eww-quit): Ask confirmation before quitting eww.
5630 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5632 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5633 reading output from Diff on MS-Windows and MS-DOS.
5635 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5637 * emacs-lisp/helpers.el (string-reverse): New function.
5639 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5641 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5642 names on MS Windows, like "/[::1]:".
5644 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5647 2013-11-26 Glenn Morris <rgm@gnu.org>
5649 * progmodes/python.el (python-indent-guess-indent-offset):
5650 Avoid corner-case error. (Bug#15975)
5652 Preload leim-list.el. (Bug#4789)
5653 * loadup.el: Load leim-list.el when found.
5654 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5656 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5658 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5660 * emacs-lisp/helpers.el (string-join): New function.
5662 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5664 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5665 Mark as obsolete and replace it with a symbol property.
5666 (byte-compile-form): Use new 'interactive-only property.
5667 * comint.el, files.el, replace.el, simple.el:
5668 Apply new 'interactive-only properly.
5670 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5672 * window.el (display-buffer-at-bottom): Make sure that
5673 split-window-sensibly creates the new window on bottom
5676 2013-11-23 David Kastrup <dak@gnu.org>
5678 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5679 on the conflict markers when available.
5680 (smerge--get-marker): New function.
5681 (smerge-end-re, smerge-base-re): Add subgroup.
5683 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5685 * frame.el (handle-focus-in, handle-focus-out): Add missing
5688 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5690 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5691 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5693 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5695 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5696 (gomoku--last-pos): New var.
5697 (gomoku--intangible-chars): New const.
5698 (gomoku--intangible): New function.
5699 (gomoku-mode): Use it. Derive from special-mode.
5700 (gomoku-move-up): Adjust line count.
5701 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5702 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5703 Simplify accordingly.
5705 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5706 Remove blink-cursor code.
5707 (blink-cursor-timer-function, blink-cursor-suspend):
5708 Don't special-case GUIs.
5709 (blink-cursor-mode): Use focus-in/out-hook.
5711 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5713 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5714 work when annotation is invisible (Bug#13886).
5716 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5718 * json.el (json-alist-p): Only return non-nil if the alist has
5719 simple keys (Bug#13518).
5721 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5723 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5724 when control-statement is the first statement in a buffer (Bug#15956).
5726 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5728 * imenu.el (imenu-generic-skip-comments-and-strings):
5729 New option (Bug#15560).
5730 (imenu--generic-function): Use it.
5732 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5734 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5737 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5739 * emacs-lisp/helpers.el: Add some string helpers.
5740 (string-trim-left): Removes leading whitespace.
5741 (string-trim-right): Removes trailing whitespace.
5742 (string-trim): Removes leading and trailing whitespace.
5744 * subr.el (string-suffix-p): New function.
5746 2013-11-23 Glenn Morris <rgm@gnu.org>
5748 * progmodes/python.el (python-shell-send-file):
5749 Add option to delete file when done. (Bug#15647)
5750 (python-shell-send-string, python-shell-send-region): Use it.
5752 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5754 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5755 to set buffer-read-only to t, never to nil. (Bug#15938)
5757 * textmodes/tex-mode.el (latex-noindent-environments):
5758 Add safe-local-variable property. (Bug#15936)
5760 2013-11-23 Glenn Morris <rgm@gnu.org>
5762 * textmodes/enriched.el (enriched-mode): Doc fix.
5763 * emacs-lisp/authors.el (authors-renamed-files-alist):
5764 Add enriched.doc -> enriched.txt.
5766 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5768 2013-11-22 Leo Liu <sdl.web@gmail.com>
5770 * progmodes/octave.el (inferior-octave-startup): Spit out error
5773 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5775 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5778 (ruby-encoding-magic-comment-style): Add :version.
5780 2013-11-22 Leo Liu <sdl.web@gmail.com>
5782 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5784 (octave-help-mode): Adapt to change to help-mode-finish to use
5785 derived-mode-p on 2013-09-17.
5786 (inferior-octave-prompt): Also match octave-gui.
5787 (octave-kill-process): Don't ask twice. (Bug#10564)
5789 2013-11-22 Leo Liu <sdl.web@gmail.com>
5791 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5792 (inferior-octave-startup, inferior-octave-check-process)
5793 (inferior-octave-track-window-width-change)
5794 (octave-completion-at-point, octave-eldoc-function): Use it.
5795 (octave-kill-process): Provide confirmation. (Bug#10564)
5797 2013-11-21 Leo Liu <sdl.web@gmail.com>
5799 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5800 Fix obsolete variable comment-use-global-state.
5802 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5804 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5805 Add `octave-source-file'.
5806 (octave-source-file): New function. (Bug#15935)
5808 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5810 * net/eww.el (eww-local-regex): New variable.
5811 (eww): Use it to detect localhost and similar.
5813 2013-11-21 Leo Liu <sdl.web@gmail.com>
5815 Add completion for command `ag'.
5816 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5817 (pcomplete/ag): New function.
5818 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5820 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5824 (make-obsolete): Remove interactive spec.
5826 2013-11-21 Glenn Morris <rgm@gnu.org>
5828 * startup.el (command-line-1): Use path-separator with -L.
5830 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5832 * emacs-lisp/package.el (describe-package-1): Add package archive
5835 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5837 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5838 Change default to "# encoding: %s" to differentiate it from the
5839 default Ruby encoding comment template.
5841 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5843 * ses.el (ses-mode): Doc fix. (Bug#14748)
5845 2013-11-20 Leo Liu <sdl.web@gmail.com>
5847 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5849 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5851 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5852 when rebase or bisect are in progress.
5854 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5856 * filenotify.el (file-notify-add-watch): Doc fix.
5858 2013-11-19 Leo Liu <sdl.web@gmail.com>
5860 * obsolete/rcompile.el: Mark obsolete.
5862 * progmodes/compile.el (compilation-start)
5863 (compilation-goto-locus, compilation-find-file):
5864 Pass no-display-ok and handle nil value from display-buffer.
5867 * window.el (display-buffer-alist, display-buffer): Document the
5868 new parameter no-display-ok. Return either a window or nil
5869 but never a non-window value.
5871 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5873 * electric.el (electric-indent-mode-map): Remove.
5874 (electric-indent-mode): Change the global-map instead (bug#15915).
5876 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5879 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * emacs-lisp/nadvice.el (remove-function): Align with
5882 add-function's behavior.
5884 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5885 (gdb--string-regexp): New constant.
5886 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5887 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5888 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5890 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5891 Adjust use accordingly.
5892 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5894 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5896 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5897 interpolation curlies (Bug#15914).
5899 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5901 * calc/calc.el (calc-context-sensitive-enter): New variable.
5902 (calc-enter): Use `calc-context-sensitive-enter'.
5904 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5906 * progmodes/cfengine.el: Version bump.
5907 (cfengine-cf-promises): New defcustom to locate cf-promises.
5908 (cfengine3-vartypes): Add new "data" type.
5909 (cfengine3--current-word): New function to get current name-like
5911 (cfengine3--current-function): New function to look up a CFEngine
5912 function's definition.
5913 (cfengine3-format-function-docstring): New function.
5914 (cfengine3-make-syntax-cache): New function.
5915 (cfengine3-documentation-function): New function: ElDoc glue.
5916 (cfengine3-completion-function): New function: completion glue.
5917 (cfengine3-mode): Set `compile-command',
5918 `eldoc-documentation-function', and add to
5919 `completion-at-point-functions'.
5921 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5923 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5924 `tramp-current-connection'.
5926 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5928 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5929 nil/self/true/false with "end of symbol".
5931 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5933 * subr.el (version-regexp-alist): Fix a typo.
5935 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5937 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5938 "en_US.utf8" and "LC_CTYPE" to "".
5939 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5940 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5942 2013-11-15 Leo Liu <sdl.web@gmail.com>
5944 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5946 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5948 * progmodes/gud.el (ctl-x-map):
5949 Remove C-x SPC binding. (Bug#12342)
5950 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5952 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5954 * subr.el (version-regexp-alist):
5955 Recognize hg, svn and darcs versions as snapshot versions.
5957 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5958 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5959 (ruby--encoding-comment-required-p): Extract from
5960 `ruby-mode-set-encoding'.
5961 (ruby-mode-set-encoding): Add the ability to always insert an
5962 utf-8 encoding comment. Fix and simplify coding comment update
5965 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5967 * net/tramp-gvfs.el (top): Run init code only when
5968 `tramp-gvfs-enabled' is not nil.
5969 (tramp-gvfs-enabled): Check also :system bus.
5971 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5973 Sync with upstream verilog-mode revision 78e66ba.
5974 * progmodes/verilog-mode.el (verilog-end-of-defun)
5975 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5976 (verilog-get-end-of-defun): Remove unused argument.
5977 (verilog-comment-depth): Remove unused local `e'.
5978 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5979 Don't pass arg to verilog-get-end-of-defun.
5981 2013-11-14 Glenn Morris <rgm@gnu.org>
5983 * obsolete/assoc.el (aget): Prefix dynamic variable.
5985 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5987 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * widget.el, hfy-cmap.el: Remove bogus package version number.
5991 2013-11-13 Glenn Morris <rgm@gnu.org>
5993 * replace.el (replace-eval-replacement):
5994 Try to give more helpful error message. (Bug#15836)
5996 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5997 (archive-7z-update): Avoid custom type mismatches.
5999 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6001 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6003 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6004 address can be empty.
6006 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6007 Accept nil SWITCHES.
6008 (tramp-gvfs-handle-write-region): Implement APPEND.
6010 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6012 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6013 binary "|" operator and closing block args delimiter.
6014 Remove FIXME comment referring to Ruby 1.8-only syntax.
6015 (ruby-smie--implicit-semi-p): Not after "|" operator.
6016 (ruby-smie--closing-pipe-p): New function.
6017 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6018 (ruby-smie-rules): Indent after "|".
6020 2013-11-12 Glenn Morris <rgm@gnu.org>
6022 * ps-print.el (ps-face-attribute-list):
6023 Handle anonymous faces. (Bug#15827)
6025 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6027 * window.el (display-buffer-other-frame): Fix doc-string.
6030 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6032 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6034 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6037 (tramp-sh-handle-file-local-copy): Don't write a message when
6038 saving temporary files.
6040 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6041 both directories are remote.
6042 (tramp-smb-handle-directory-files): Do not return double entries.
6043 Do not expand full file names.
6044 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6045 (tramp-smb-handle-write-region): Implement APPEND.
6046 (tramp-smb-get-stat-capability): Fix a stupid bug.
6048 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6050 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6052 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6054 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6055 throwing error over malformed let/let* (bug#15814).
6057 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6059 * iswitchb.el (iswitchb-mode): Mark obsolete.
6061 2013-11-11 Glenn Morris <rgm@gnu.org>
6063 * international/uni-bidi.el, international/uni-category.el:
6064 * international/uni-name.el, international/uni-numeric.el:
6065 Regenerate for Unicode 6.3.0.
6067 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6069 * net/tramp.el (tramp-methods):
6070 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6071 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6073 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6075 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6076 Force highlighting text after Summary keyword in doc face for rpm.
6078 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6080 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6081 available and the word has no wildcards, append one to the grep pattern.
6082 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6083 (ispell-complete-word): Call `ispell-lookup-words' with the value
6084 independent of `ispell-look-p'.
6086 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6090 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6093 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6096 (ruby-font-lock-keywords): Use backquote.
6098 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6100 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6101 (ruby-smie--backward-token): Only consider full-string matches.
6103 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6105 * faces.el (describe-face): Add distant-foreground.
6107 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6109 * progmodes/ruby-mode.el: Improve encoding comment handling.
6110 (ruby-encoding-magic-comment-style): New option.
6111 (ruby-custom-encoding-magic-comment-template): New option.
6112 (ruby--insert-coding-comment, ruby--detect-encoding):
6113 New functions extracted from `ruby-mode-set-encoding'.
6114 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6115 to control the style of the auto-inserted encoding comment.
6117 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6119 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6120 Use `smie-backward-sexp' with token argument.
6122 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6124 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6125 Remove instrumentation code.
6127 2013-11-08 Glenn Morris <rgm@gnu.org>
6129 * progmodes/autoconf.el (autoconf-mode):
6130 Tweak comment-start-skip. (Bug#15822)
6132 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6134 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6135 at bobp (bug#15826).
6136 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6138 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6140 * man.el (Man-start-calling): New macro, extracted from
6141 Man-getpage-in-background.
6142 (Man-getpage-in-background): Use it.
6143 (Man-update-manpage): New command.
6144 (Man-mode-map): Bind it.
6146 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6148 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6149 of "and", "or", "&&" and "||".
6150 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6151 argument. Prohibit opening curly brace because it could only be a
6152 block opener in that position.
6153 (ruby-smie--forward-token, ruby-smie--backward-token):
6154 Separate "|" from "&" or "*" going after it. That can happen in block
6156 (ruby-smie--indent-to-stmt): New function, seeks the end of
6157 previous statement or beginning of buffer.
6158 (ruby-smie-rules): Use it.
6159 (ruby-smie-rules): Check if there's a ":" before a curly block
6160 opener candidate; if there is, it's a hash.
6162 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6165 (cl--block-wrapper): Fix last accidental change.
6167 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6169 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6170 Instrument, in order to hunt failure on hydra.
6172 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6174 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6175 malformed bindings form (bug#15814).
6177 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6179 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6180 "." compared to " @ ". This incidentally fixes some indentation
6182 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6183 (ruby-smie-grammar): New tokens: "and" and "or".
6184 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6185 Exclude "and" and "or". Remove "do" in order to work around token
6187 (ruby-smie-rules): Add all infix tokens. Handle the case of
6188 beginning-of-buffer.
6190 2013-11-06 Glenn Morris <rgm@gnu.org>
6192 * Makefile.in (setwins_almost, setwins_for_subdirs):
6193 Avoid accidental matches.
6195 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6197 * menu-bar.el (popup-menu): Use key-binding.
6199 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6201 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6202 menus, support also the menus produced by minor modes.
6205 2013-11-06 Leo Liu <sdl.web@gmail.com>
6207 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6208 DISTANCE to bound the search. All uses changed. (Bug#15808)
6210 2013-11-06 Glenn Morris <rgm@gnu.org>
6212 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6213 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6214 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6216 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * electric.el (electric-indent-just-newline): New command.
6219 (electric-indent-mode-map): New keymap.
6220 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6221 Re-add :group which weren't redundant.
6223 * electric.el (electric-indent-local-mode): New minor mode.
6224 (electric-indent-functions-without-reindent): New var.
6225 (electric-indent-post-self-insert-function): Use it.
6226 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6228 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6230 * international/quail.el (quail-help): Be more explicit about the
6231 meaning of the labels shown on the keys. (Bug#15800)
6233 * startup.el (normal-top-level): Load the subdirs.el files before
6234 setting the locale environment. (Bug#15805)
6236 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6238 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6239 via arguments so as to get the right ones (bug#15418).
6241 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6243 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6245 Fix problems found while writing a test suite.
6247 * net/tramp-compat.el (tramp-compat-load): New defun.
6248 * net/tramp.el (tramp-handle-load): Use it.
6250 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6251 "(numberp ok-if-already-exists)" correctly.
6253 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6255 * international/characters.el (glyphless-char-display-control):
6258 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6260 * progmodes/python.el (python-mode):
6261 * progmodes/scheme.el (scheme-mode):
6262 * progmodes/prolog.el (prolog-mode):
6263 * progmodes/ruby-mode.el (ruby-mode):
6264 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6265 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6267 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6269 * rect.el (rectangle--highlight-for-redisplay):
6270 * emacs-lisp/smie.el (smie--next-indent-change):
6271 Use buffer-chars-modified-tick.
6273 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6275 * electric.el (electric-indent-post-self-insert-function):
6276 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6278 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6280 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6282 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6284 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6287 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6289 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6291 * progmodes/python.el: Fix up last change.
6292 (python-shell--save-temp-file): New function.
6293 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6294 `string' comes from the current buffer.
6295 (python-shell-send-string-no-output): Remove `msg' arg.
6296 (python--use-fake-loc): New var.
6297 (python-shell-buffer-substring): Obey it. Try to compensate for the
6298 extra coding line added by python-shell--save-temp-file.
6299 (python-shell-send-region): Use python-shell--save-temp-file and
6300 python-shell-send-file directly. Add `nomain' argument.
6301 (python-shell-send-buffer): Use python-shell-send-region.
6302 (python-electric-pair-string-delimiter): New function.
6303 (python-mode): Use it.
6305 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6307 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6308 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6309 environment and decoding all of the default-directory's to here
6311 (command-line): Decode also argv[0].
6313 * loadup.el: Error out if default-directory is a multibyte string
6314 when we are dumping.
6316 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6318 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6320 * emacs-lisp/package.el (package-menu-mode)
6321 (package-menu--print-info, package-menu--archive-predicate):
6322 Add Archive column to package list.
6324 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6326 Fix problems found while writing a test suite.
6328 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6329 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6330 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6331 to nil when running original file name handler. Otherwise,
6332 there are problems with constructs like "$$FOO".
6334 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6337 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6339 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6341 * subr.el (version<, version<=, version=):
6342 Update docstrings with information for snapshot versions.
6344 * helpers.el: New library for misc helper functions.
6345 (hash-table-keys): New function returning a list of hash keys.
6346 (hash-table-values): New function returning a list of hash values.
6348 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6350 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6351 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6353 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6355 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6356 checking whether point is after a 1-letter word.
6358 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6360 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6361 Don't infloop when expanding region over `multiline' syntax-type that
6362 begins a line (bug#15778).
6364 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6366 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6367 Make it into a proper minor mode.
6368 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6369 (rectangle-mark-mode-map): New keymap.
6370 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6372 2013-11-04 Glenn Morris <rgm@gnu.org>
6374 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6376 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6379 (ruby-smie-rules): Use smie-rule-parent instead.
6381 * emacs-lisp/smie.el (smie-rule-parent): Always call
6382 smie-indent-virtual rather than only for hanging tokens.
6383 (smie--next-indent-change): New helper command.
6385 2013-11-03 Glenn Morris <rgm@gnu.org>
6387 * Makefile.in (abs_srcdir): Remove.
6388 (emacs): Unset EMACSLOADPATH.
6390 2013-11-02 Glenn Morris <rgm@gnu.org>
6392 * Makefile.in (EMACS): Use a relative filename.
6393 (abs_top_builddir): Remove.
6394 (custom-deps, finder-data, autoloads): Use --chdir.
6396 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6398 Use relative filenames in TAGS files.
6399 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6400 (lisptagsfiles4, TAGS): Use relative file names.
6401 (TAGS-LISP): Remove.
6402 (maintainer-clean): No more TAGS-LISP file.
6404 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6405 (lisptagsfiles4): Use absolute filenames again.
6406 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6407 Remove all *loaddefs files, not just the first. Remove esh-groups.
6408 (maintainer-clean): Delete TAGS, TAGS-LISP.
6410 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6412 * emacs-lisp/package.el (package-version-join):
6413 Recognize snapshot versions.
6415 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6417 * subr.el (version-regexp-alist): Add support for snapshot versions.
6419 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6421 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6422 New function, replacement for `smie-rule-parent' for when we want to
6423 skip over our direct parent if it's an assignment token..
6424 (ruby-smie-rules): Use it.
6426 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6428 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6429 unconditionally. Remove now unnecessary forward declarations.
6430 Remove XEmacs-specific setup.
6431 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6432 (ruby-font-lock-syntactic-keywords)
6433 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6434 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6435 (ruby-here-doc-end-syntax): Remove.
6436 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6437 defined as function.
6439 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6441 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6443 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6445 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6446 table and abbrev table, `define-derived-mode' does that for us
6449 2013-11-01 Glenn Morris <rgm@gnu.org>
6451 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6452 files is atomic for some time, so no parallel compilation issues).
6454 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6456 * faces.el (face-x-resources): Add :distant-foreground.
6457 (region): Use :distant-foreground for gtk and ns.
6459 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6461 Allow multiple bibliographies when BibLaTeX is used rather than
6463 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6464 (reftex-locate-bibliography-files): Us it.
6466 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6468 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6469 allow comments in pbm files.
6471 * term/w32-win.el (dynamic-library-alist): Support newer versions
6472 of libjpeg starting with v7: look only for the DLL from the
6473 version against which Emacs was built.
6474 Support versions of libpng beyond 1.4.x.
6475 Support libtiff v4.x.
6477 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6479 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6480 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6482 (ruby-deep-arglist): Add property :type.
6484 2013-10-31 Glenn Morris <rgm@gnu.org>
6486 * Makefile.in (custom-deps, finder-data): No need to setq the target
6487 variables, we are in the right directory and the defaults work fine.
6489 2013-10-30 Glenn Morris <rgm@gnu.org>
6491 * Makefile.in (autoloads): Do not use abs_lisp.
6493 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6494 `newline' does not respect `standard-output', so use `princ'.
6496 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6498 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6499 * buff-menu.el (Buffer-menu--unmark): New function.
6500 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6502 2013-10-30 Glenn Morris <rgm@gnu.org>
6504 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6506 * emacs-lisp/package.el (lm-homepage): Declare.
6508 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6511 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6513 * Makefile.in (finder-data, autoloads, update-subdirs)
6514 (compile-main, compile-clean, compile-always, bootstrap-clean):
6515 Check return value of cd.
6516 (compile-calc): Remove.
6518 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6520 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6522 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6523 (byte-compile-and-folded): New function.
6524 (=, <, >, <=, >=): Use it.
6526 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6527 (path-separator, null-device, buffer-file-coding-system)
6528 (lpr-headers-switches): Check system-type before modifying them.
6529 (find-buffer-file-type-coding-system): Mark obsolete.
6530 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6531 find-file-not-found-set-buffer-file-coding-system.
6532 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6533 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6534 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6535 (w32-direct-print-region-helper, w32-direct-print-region-function)
6536 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6537 * startup.el (normal-top-level-add-subdirs-to-load-path):
6538 * ps-print.el (ps-print-region-function):
6539 * lpr.el (print-region-function): Use new name.
6541 * subr.el (custom-declare-variable-early): Remove function.
6542 (custom-declare-variable-list): Remove var.
6543 (error, user-error): Remove `while' loop.
6544 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6545 (user-emacs-directory-warning, locate-user-emacs-file):
6547 * simple.el (read-quoted-char-radix, read-quoted-char):
6548 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6550 * custom.el (custom-declare-variable-list): Don't process
6551 custom-declare-variable-list.
6553 * progmodes/python.el (python-shell-get-buffer): New function.
6554 (python-shell-get-process): Use it.
6555 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6556 Python which encoding was used. Don't split-string since we only care
6557 about the first line. Return the temp-file, if applicable.
6558 (python-shell-send-region): Tell compile.el how to turn locations in
6559 the temp-file into locations in the source buffer.
6561 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * subr.el (undefined): Add missing behavior from the C code for
6566 * rect.el: Use lexical-binding. Add new rectangular region support.
6567 (rectangle-mark): New command.
6568 (rectangle--region): New var.
6569 (deactivate-mark-hook): Reset rectangle--region.
6570 (rectangle--extract-region, rectangle--insert-for-yank)
6571 (rectangle--highlight-for-redisplay)
6572 (rectangle--unhighlight-for-redisplay): New functions.
6573 (region-extract-function, redisplay-unhighlight-region-function)
6574 (redisplay-highlight-region-function): Use them to handle
6576 * simple.el (region-extract-function): New var.
6577 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6578 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6579 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6580 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6581 (redisplay-unhighlight-region-function)
6582 (redisplay-highlight-region-function): New vars.
6583 (redisplay--update-region-highlight): New function.
6584 (pre-redisplay-function): Use it.
6585 (exchange-point-and-mark): Don't deactivate the mark before
6586 reactivate-it anyway.
6587 * comint.el (comint-kill-region): Remove yank-handler argument.
6588 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6589 (delete-char): Remove property, since it's now part of their
6591 (self-insert-iso): Remove property since this command doesn't exist.
6593 * emacs-lisp/package.el (package--download-one-archive)
6594 (describe-package-1): Don't query the user about final newline.
6596 2013-10-29 Daniel Colascione <dancol@dancol.org>
6598 * net/tramp.el (tramp-methods): Document new functionality.
6599 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6600 tramp-hostname-checker if method provides one instead of scanning
6601 argument list for "%h" to decide hostname acceptability.
6603 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6605 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6606 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6607 Handle COPY-CONTENTS. (Bug#15737)
6609 2013-10-28 Daiki Ueno <ueno@gnu.org>
6611 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6612 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6614 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6616 * image.el (defimage, image-load-path): Doc fixes.
6618 2013-10-27 Alan Mackenzie <acm@muc.de>
6620 Indent statements in macros following "##" correctly.
6621 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6622 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6624 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6626 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6628 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6630 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6631 after `=' is probably a new expression.
6633 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6635 * man.el (man-imenu-title): New option.
6636 (Man-mode-map): Add menu. (Bug#15722)
6637 (Man-mode): Add imenu to menu.
6639 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6641 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6642 specific in what the first arg can be: a non-keyword word,
6643 string/regexp/percent literal opener, opening paren, or unary
6644 operator followed directly by word.
6646 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6649 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6650 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6651 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6652 Remove vars, they do not apply any more.
6653 (prolog-mode-abbrev-table): Remove redundant declaration.
6654 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6655 (prolog-use-smie): Remove.
6656 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6657 supported by prolog-electric-if-then-else-flag.
6658 (prolog-mode-variables, prolog-menu): Use setq-local.
6659 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6660 Remove binding to `Backspace' since this key doesn't exist anyway.
6661 Remove bindings for electric self-inserting keys.
6662 (prog-mode): Assume it's defined.
6663 (prolog-post-self-insert): New function.
6664 (prolog-mode): Use it.
6665 (prolog-indent-line, prolog-indent-level)
6666 (prolog-find-indent-of-matching-paren)
6667 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6668 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6669 (prolog-goto-next-paren, prolog-in-string-or-comment)
6670 (prolog-tokenize, prolog-inside-mline-comment)
6671 (prolog-find-start-of-mline-comment): Remove functions.
6672 (prolog-find-unmatched-paren, prolog-clause-end)
6673 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6674 (prolog-electric--if-then-else): Rename from
6675 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6676 (prolog-tokenize-searchkey): Remove const.
6677 (prolog-clause-info): Use forward-sexp.
6678 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6679 (prolog-electric-if-then-else): Remove commands.
6680 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6681 for use in post-self-insert-hook.
6682 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6683 for use in post-self-insert-hook.
6684 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6685 for use in post-self-insert-hook.
6686 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6687 adapt it for use in post-self-insert-hook.
6689 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6691 * emacs-lisp/ert.el (ert-run-tests-interactively):
6692 Use `completing-read'. (Bug#9756)
6694 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6696 * simple.el (line-move): Call line-move-1 instead of
6697 line-move-visual when the current window hscroll is zero, but
6698 temporary-goal-column indicates we will need to hscroll as result
6699 of the movement. (Bug#15712)
6701 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6703 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6704 capitalization. Use :visible instead of :active.
6705 Fix `ruby-indent-exp' reference. Add menu items for the generic
6706 commands that are used with SMIE.
6707 (ruby-do-end-to-brace): Insert space after `{'.
6709 2013-10-25 John Anthony <john@jo.hnanthony.com>
6711 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6713 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6715 2013-10-25 Glenn Morris <rgm@gnu.org>
6717 * vc/vc.el (vc-print-log): Don't use a working revision unless
6718 one was explicitly specified. (Bug#15322)
6720 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6722 * subr.el (add-to-list): Preserve return value in compiler-macro
6725 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6727 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6728 result. Ask user to retry using '-all' flag. (Bug#15701)
6730 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6732 * emacs-lisp/smie.el: New smie-config system.
6733 (smie-config): New defcustom.
6734 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6735 (smie-config-guess, smie-config-save): New commands.
6736 (smie-config--mode-local, smie-config--buffer-local)
6737 (smie-config--trace, smie-config--modefuns): New vars.
6738 (smie-config--advice, smie-config--mode-hook)
6739 (smie-config--setter, smie-config-local, smie-config--get-trace)
6740 (smie-config--guess-value, smie-config--guess): New functions.
6741 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6742 text properties. Treat "string fence" syntax like string syntax.
6744 * progmodes/sh-script.el (sh-use-smie): Change default.
6745 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6746 (sh-var-value): Simplify by CSE.
6747 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6748 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6750 (sh-guess-basic-offset): Use cl-incf.
6751 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6753 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6755 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6758 2013-10-24 Glenn Morris <rgm@gnu.org>
6760 * Makefile.in (abs_top_srcdir): Remove.
6761 (update-subdirs): Use relative path to update-subdirs.
6763 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6765 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6766 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6767 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6768 Call unmsys--file-name before expand-file-name, not after it.
6770 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6772 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6773 (ert-test-skipped): New error.
6774 (ert-skip, ert-stats-skipped): New defuns.
6775 (ert--skip-unless): New macro.
6776 (ert-test-skipped): New struct.
6777 (ert--run-test-debugger, ert-test-result-type-p)
6778 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6779 (ert--stats-set-test-and-result, ert-char-for-test-result)
6780 (ert-string-for-test-result, ert-run-tests-batch)
6781 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6782 Handle skipped tests. (Bug#9803)
6784 2013-10-24 Glenn Morris <rgm@gnu.org>
6786 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6788 * Makefile.in (abs_top_srcdir): New, set by configure.
6789 (update-subdirs): Correct build-aux location.
6791 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6793 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6794 value, whether we could auto-deduce `backend', or not.
6796 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6797 with parameters" example. Simplify the "is it block or is it
6798 hash" check, but also make it more thorough.
6800 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6802 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6804 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6809 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6812 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6814 * progmodes/compile.el (compilation-directory-matcher)
6815 (compilation-page-delimiter):
6816 Support GNU Make-4.0 directory quoting. (Bug#15678)
6818 2013-10-23 Leo Liu <sdl.web@gmail.com>
6820 * ido.el (ido-tidy): Handle read-only text.
6822 2013-10-23 Glenn Morris <rgm@gnu.org>
6824 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6825 (emacs, compile, compile-always):
6826 Quote entities that might contain whitespace.
6827 (custom-deps, finder-data, autoloads): Use abs_lisp.
6828 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6829 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6830 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6832 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6834 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6835 Use `following-char'.
6837 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6839 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6840 * progmodes/ruby-mode.el (ruby-smie-rules):
6841 Remove corresponding workaround. Fix indentation rule of ";" so it
6842 also applies when ";" is the parent.
6844 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6846 * frame.el (display-screens, display-pixel-height)
6847 (display-pixel-width, display-mm-width, display-backing-store)
6848 (display-save-under, display-planes, display-color-cells)
6849 (display-visual-class, display-monitor-attributes-list):
6850 Mention the optional ‘display’ argument in doc strings.
6852 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6854 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6855 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6857 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6859 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6860 TODO. Add "." after " @ ".
6861 (ruby-smie--at-dot-call): New function. Checks if point at method
6862 call with explicit target.
6863 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6864 to the method name tokens when it precedes them.
6865 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6866 (ruby-smie-rules): Add rule for indentation before and after "."
6869 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * textmodes/remember.el (remember-diary-extract-entries):
6874 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6877 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6879 * progmodes/ruby-mode.el (ruby-smie-grammar):
6880 Add (almost) all infix operators.
6881 (ruby-smie--implicit-semi-p): Add new operator chars.
6883 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6885 (ruby-smie--args-separator-p): Check that there's no newline
6886 between method call and its arguments.
6888 2013-10-20 Alan Mackenzie <acm@muc.de>
6890 Allow comma separated lists after Java "implements".
6892 * progmodes/cc-engine.el (c-backward-over-enum-header):
6894 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6895 from a "disallowed" list in enum fontification.
6897 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6899 * startup.el (default-frame-background-mode): Remove unused defvar.
6901 * progmodes/verilog-mode.el (verilog-mode): Don't set
6902 comment-indent-function globally.
6904 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6906 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6907 Move Info menu item creation to ns-win.el.
6909 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6912 * menu-bar.el: Move GNUstep specific menus...
6914 * term/ns-win.el (ns-initialize-window-system): ... to here.
6916 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6918 * simple.el (newline): Only run post-self-insert-hook when
6919 called interactively.
6921 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6923 * icomplete.el (icomplete-with-completion-tables): Add :version.
6925 2013-10-19 Alan Mackenzie <acm@muc.de>
6927 Fix fontification bugs with constructors and const.
6929 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6930 CASE 2) Remove the check for the absence of a suffix construct
6931 after a function declaration with only types (no identifiers) in
6932 the parentheses. Also, accept a function declaration with just a
6933 type inside the parentheses, if this type can be positively
6934 recognised as such, or if a prefix keyword like "explicit" nails
6935 down the construct as a declaration.
6937 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6939 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6940 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6941 the problem whereby selecting a menu item that leads to a
6942 minibuffer prompt moves the cursor out of the minibuffer window,
6943 making it hard to type at the prompt. Suggested by Stefan Monnier
6944 <monnier@iro.umontreal.ca>.
6946 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6948 * menu-bar.el: Don't make Services menu.
6950 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6952 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6953 (ffap-alist): Use ffap-c++-mode for c++-mode.
6954 (ffap-c++-path): New variable.
6955 (ffap-c++-mode): New function.
6957 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6959 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6961 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6963 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6964 introduced on 2013-09-08, which results in an infinite loop
6965 requesting a password.
6967 2013-10-18 Glenn Morris <rgm@gnu.org>
6969 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6971 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6973 Sync with upstream verilog-mode revision 1a6ecec7.
6974 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6975 (verilog-mode-release-date): Remove.
6976 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6977 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6978 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6979 (verilog-auto-tieoff-ignore-regexp)
6980 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6981 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6982 (verilog-signals-with, verilog-dir-cache-preserving)
6983 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6985 (verilog-case-fold): New option, to control case folding in
6986 regexp searches, bug597.
6987 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6988 (verilog-string-match-fold, verilog-in-paren-count)
6989 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6990 (verilog-at-close-struct-p): New functions.
6991 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6992 (verilog-forward-sexp, verilog-set-auto-endcomments)
6993 (verilog-leap-to-case-head): Handle "unique0" case.
6994 (verilog-in-constraint-re): New constant.
6995 (verilog-keywords, verilog-type-font-keywords):
6996 Add some SystemVerilog 1800-2012 keywords.
6997 (verilog-label-be): Remove unimplemented argument, bug669.
6998 (verilog-batch-execute-func): When batch expanding clear
6999 create-lockfiles to prevent spurious user locks when a file ends
7001 (verilog-calculate-indent, verilog-calc-1)
7002 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7003 (verilog-do-indent): Fix indentation of nested constraints
7005 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7006 (verilog-auto-inst-param): Use verilog-string-match-fold.
7007 (verilog-read-inst-module-matcher):
7008 Fix AUTOINST on gate primitives with #1.
7009 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7010 Reads all user-defined typed variables.
7011 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7012 (verilog-signals-matching-regexp)
7013 (verilog-signals-not-matching-regexp, verilog-auto):
7014 Respect verilog-case-fold.
7015 (verilog-diff-report): Fix line count.
7016 (verilog-auto-assign-modport): Remove unused local `modi'.
7017 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7018 better handle multidimensional arrays.
7019 Fix packed array ports misadding bit index in AUTOINST, bug637.
7020 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7021 to not double-declare existing outputs and inputs, respectively.
7022 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7023 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7024 (verilog-sk-uvm-component): New skeleton.
7025 (verilog-submit-bug-report): Add verilog-case-fold,
7026 remove verilog-mode-release-date.
7028 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7030 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7033 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7035 * textmodes/remember.el (remember): Set buffer-offer-save in
7036 remember buffers (bug#13566).
7038 2013-10-18 Daniel Colascione <dancol@dancol.org>
7040 When evaluating forms in ielm, direct standard output to ielm
7041 buffer. Add new ielm-return-for-effect command. Remove trailing
7042 whitespace throughout.
7044 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7045 (ielm-return-for-effect): New command.
7046 (ielm-send-input): Accept optional `for-effect' parameter.
7047 (ielm-eval-input): Accept optional `for-effect' parameter.
7048 Bind `standard-output' to stream we create using
7049 `ielm-standard-output-impl'. Suppress printing result when
7051 (ielm-standard-output-impl): New function.
7052 (inferior-emacs-lisp-mode): Explain new features in documentation.
7054 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7058 * net/tramp.el (tramp-debug-message): Do not check for connection
7060 (tramp-message): Use "vector" connection property.
7062 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7063 (tramp-equal-remote, tramp-eshell-directory-change)
7064 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7065 (tramp-adb-handle-rename-file)
7066 * net/tramp-cmds.el (tramp-list-remote-buffers)
7067 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7068 * net/tramp-compat.el (tramp-compat-process-running-p)
7069 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7070 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7071 (tramp-gvfs-handle-rename-file)
7072 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7073 (tramp-set-file-uid-gid)
7074 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7075 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7078 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7079 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7080 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7081 (tramp-gw-open-network-stream): Suppress unrelated traces.
7083 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7084 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7085 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7086 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7087 connection property.
7089 * net/tramp-cache.el (top): Suppress traces when reading
7092 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7093 Refactor common code. Improve debug message.
7094 (tramp-maybe-open-connection)
7095 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7096 connection buffer too early.
7098 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7099 from `tramp-smb-actions-with-acl'.
7100 (tramp-smb-actions-set-acl): New defconst.
7101 (tramp-smb-handle-copy-directory)
7102 (tramp-smb-action-get-acl): New defun, renamed from
7103 `tramp-smb-action-with-acl'.
7104 (tramp-smb-action-set-acl): New defun.
7105 (tramp-smb-handle-set-file-acl): Rewrite.
7107 2013-10-17 Glenn Morris <rgm@gnu.org>
7109 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7111 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7113 * skeleton.el (skeleton-newline): Remove.
7114 (skeleton-internal-1): Use (insert "\n") instead.
7116 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7119 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7120 forward-sexp-function while we redo its job (bug#15613).
7122 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7124 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7125 represented by lists.
7127 2013-10-16 Glenn Morris <rgm@gnu.org>
7129 * tmm.el (tmm--history): New dynamic variable.
7130 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7132 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7134 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7135 (tramp-smb-errors): Add error messages.
7136 (tramp-smb-actions-with-acl): New defconst.
7137 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7138 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7139 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7140 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7141 (tramp-smb-get-stat-capability): Fix tests.
7143 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7145 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7148 2013-10-16 Glenn Morris <rgm@gnu.org>
7150 * ansi-color.el (ansi-color-drop-regexp):
7151 Add 1J, 1K, 2K. (Bug#15617)
7153 * files.el (hack-local-variables--warned-lexical): New.
7154 (hack-local-variables):
7155 Warn about misplaced lexical-binding. (Bug#15616)
7157 * net/eww.el (eww-render): Always set eww-current-url,
7158 and update header line. (Bug#15622)
7159 (eww-display-html): ... Rather than just doing it here.
7161 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7163 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7164 menu navigations commands.
7166 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7168 * progmodes/subword.el (subword-capitalize): Be careful when
7169 the search for [[:alpha:]] fails (bug#15580).
7171 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7173 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7174 to commands that scroll the menu.
7176 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7178 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7179 Handle methods ending with `?' and `!'.
7181 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7183 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7184 `japanese-cp932' to `cp932' to fix the problem where saving a
7185 source file written in Shift_JIS twice would end up having
7186 `coding: japanese-cp932' which Ruby could not recognize.
7187 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7188 in `ruby-encoding-map'.
7189 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7190 doesn't need to be explicitly declared in magic comment.
7191 (ruby-encoding-map): Add type declaration for better customize UI.
7193 2013-10-13 Glenn Morris <rgm@gnu.org>
7195 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7196 Occur buffers are read-only. http://bugs.debian.org/720775
7198 * emacs-lisp/authors.el (authors-fixed-entries):
7199 Comment out old alpha stuff.
7201 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7203 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7204 to `after-save-hook' instead of `before-save-hook'.
7205 (ruby-mode-set-encoding): Use the value of coding system used to
7206 write the file. Call `basic-save-buffer-1' after modifying the
7209 2013-10-13 Alan Mackenzie <acm@muc.de>
7211 Fix indentation/fontification of Java enum with
7212 "implements"/generic.
7214 * progmodes/cc-engine.el (c-backward-over-enum-header):
7215 Extracted from the three other places and enhanced to handle generics.
7216 (c-inside-bracelist-p): Uses new function above.
7217 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7219 (c-font-lock-enum-tail): Uses new function above.
7221 2013-10-13 Kenichi Handa <handa@gnu.org>
7223 * international/mule-cmds.el (select-safe-coding-system): Remove a
7224 superfluous condition in chekcing whether a coding system is safe
7227 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7229 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7231 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7233 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7235 2013-10-13 Glenn Morris <rgm@gnu.org>
7237 * menu-bar.el (menu-bar-update-buffers):
7238 Unify Buffers menu prompt string. (Bug#15576)
7240 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7242 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7244 (authors-fixed-entries): Use accented form of name.
7246 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7248 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7249 method calls (bug#15594).
7250 (ruby-smie--args-separator-p): New function.
7251 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7252 recognize paren-free method calls.
7254 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7255 internals of universal-argument.
7257 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7259 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7260 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7261 dropped menu on second mouse click on the menu bar.
7263 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7266 (explicit-shell-file-name): Declare.
7267 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7268 (sh-completion-at-point-function): New function.
7270 (sh-smie--keyword-p): Remove unused argument.
7271 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7273 (sh-set-shell): Always setup SMIE, even if we use the
7274 old indentation code.
7276 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7278 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7280 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7281 predicate would return nil are almost non-existent.
7282 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7284 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7285 cache also after commands that modify the buffer but don't move
7288 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7290 * env.el (substitute-env-in-file-name): New function.
7291 (substitute-env-vars): Extend the meaning of the optional arg.
7293 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7295 * term/w32-win.el (dynamic-library-alist): Define separate lists
7296 of GIF DLLs for versions before and after 5.0.0 of giflib.
7299 2013-10-10 João Távora <joaotavora@gmail.com>
7301 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7302 not locked, use last revision and current source as
7303 defaults. (Bug#15569)
7305 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7307 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7310 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7312 * window.el (pop-to-buffer-same-window): Fix doc-string.
7315 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7319 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7321 * calendar/icalendar.el (icalendar-import-file):
7322 Fix interactive spec. (Bug#15482)
7324 2013-10-10 Glenn Morris <rgm@gnu.org>
7326 * desktop.el (desktop-save): Default to saving in .emacs.d,
7327 since PWD is no longer in desktop-path by default. (Bug#15319)
7329 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7330 now that text mode has a menu with the same entry.
7331 (menu-bar-text-mode-auto-fill): Remove now unused func.
7332 * textmodes/text-mode.el (text-mode-map):
7333 Use auto-fill help text from menu-bar.el.
7335 2013-10-10 John Anthony <john@jo.hnanthony.com>
7337 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7339 2013-10-09 Juri Linkov <juri@jurta.org>
7341 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7342 instead of this-command-keys. Add universal-argument-more and
7343 universal-argument-minus to the list of prefix commands. (Bug#15568)
7345 2013-10-09 Glenn Morris <rgm@gnu.org>
7347 * vc/vc-svn.el (vc-svn-create-repo):
7348 Expand paths in file://... url. (Bug#15446)
7350 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7352 (authors): Remove unused local variables.
7354 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7356 * profiler.el: Create a more coherent calltree from partial backtraces.
7357 (profiler-format): Hide the tail with `invisible' so that C-s can still
7358 find the hidden elements.
7359 (profiler-calltree-depth): Don't recurse so enthusiastically.
7360 (profiler-function-equal): New hash-table-test.
7361 (profiler-calltree-build-unified): New function.
7362 (profiler-calltree-build): Use it.
7363 (profiler-report-make-name-part): Indent the calltree less.
7364 (profiler-report-mode): Add visibility specs for profiler-format.
7365 (profiler-report-expand-entry, profiler-report-toggle-entry):
7366 Expand the whole subtree when provided with a prefix arg.
7368 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7370 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7372 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7373 hanging iuwu-mod token.
7374 (ruby-smie--forward-token): Do not include a dot after a token in
7376 (ruby-smie--backward-token): Likewise.
7378 2013-10-08 Juri Linkov <juri@jurta.org>
7380 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7381 to isearch-other-control-char.
7382 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7383 and isearch-post-command-hook to post-command-hook.
7384 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7385 and isearch-post-command-hook from post-command-hook.
7386 (isearch-unread-key-sequence)
7387 (isearch-reread-key-sequence-naturally)
7388 (isearch-lookup-scroll-key, isearch-other-control-char)
7389 (isearch-other-meta-char): Remove functions.
7390 (isearch-pre-command-hook, isearch-post-command-hook):
7391 New functions based on isearch-other-meta-char rewritten
7392 relying on the new behavior of overriding-terminal-local-map
7393 that does not replace the local keymaps any more. (Bug#15200)
7395 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7397 Support menus on text-mode terminals.
7398 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7401 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7403 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7404 Move here from mouse.el.
7405 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7407 (tty-menu-navigation-map): New map for TTY menu navigation.
7409 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7411 * frame.el (display-mouse-p): Report text-mode mouse as available
7413 (display-popup-menus-p): Report availability if mouse is
7414 available; don't condition on window-system.
7416 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7417 (tty-menu-selected-face): New faces.
7419 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7421 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7422 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7423 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7424 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7426 (lisp-mode-variables): New `elisp' argument.
7427 (emacs-lisp-mode): Use it.
7428 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7429 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7431 * indent.el: Use lexical-binding.
7432 (indent-region): Add progress reporter.
7433 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7435 (indent--next-tab-stop): New function to implement this behavior.
7436 (tab-to-tab-stop, move-to-tab-stop): Use it.
7438 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7440 * indent.el (indent-rigidly--current-indentation): New function.
7441 (indent-rigidly-map): New var.
7442 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7444 2013-10-08 Bastien Guerry <bzg@gnu.org>
7446 * register.el (insert-register): Fix 2013-10-07 change.
7448 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7450 * progmodes/perl-mode.el: Use lexical-binding.
7451 Remove redundant :group args.
7452 (perl-nochange): Change default to be closer to other major modes's
7454 (perl-indent-line): Don't consider text on current line as a
7455 valid beginning of function from which to indent.
7457 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7458 with more than one argument (bug#15538).
7460 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7462 * vc/pcvs.el: Use lexical-binding.
7463 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7464 environment of `eval'.
7465 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7466 than a list of expressions. Adjust callers.
7467 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7469 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7471 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7472 case of the dot in a chained method call being on the following line.
7474 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * electric.el (electric-indent-inhibit): New var.
7477 (electric-indent-post-self-insert-function): Use it.
7478 * progmodes/python.el (python-mode): Set it.
7480 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7483 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7485 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7486 (css-mode): Use electric-indent-chars.
7488 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7489 (font-lock-beg, font-lock-end): Move before first use.
7490 (nxml-mode): Use syntax-propertize-function.
7491 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7492 (nxml-extend-after-change-region): Remove.
7493 * nxml/xmltok.el: Use lexical-binding.
7494 (xmltok-save): Use `declare'.
7495 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7496 * nxml/nxml-util.el: Use lexical-binding.
7497 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7499 * nxml/nxml-ns.el: Use lexical-binding.
7500 (nxml-ns-save): Use `declare'.
7501 (nxml-ns-prefixes-for): Avoid add-to-list.
7502 * nxml/rng-match.el: Use lexical-binding.
7503 (rng--ipattern): Use cl-defstruct.
7504 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7505 (rng-cons-group-after, rng-subst-group-after)
7506 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7507 Use closures instead of `(lambda...).
7509 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7511 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7514 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7515 Use `tramp-handle-insert-file-contents'.
7516 (tramp-gvfs-handle-insert-file-contents): Remove function.
7518 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7519 Use `save-restriction' in order to keep markers.
7521 * net/trampver.el: Update release number.
7523 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * progmodes/compile.el (compilation-parse-errors):
7526 Use compilation--put-prop.
7527 (compilation--ensure-parse): Check compilation-multiline.
7529 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7531 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7534 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7536 * progmodes/ruby-mode.el: Fix recently added tests.
7537 (ruby-smie-grammar): Add - and +.
7538 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7539 (ruby-smie--backward-id): New functions.
7540 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7541 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7544 2013-10-07 Leo Liu <sdl.web@gmail.com>
7546 * register.el (register-preview-delay)
7547 (register-preview-functions): New variables.
7548 (register-read-with-preview, register-preview)
7549 (register-describe-oneline): New functions.
7550 (point-to-register, window-configuration-to-register)
7551 (frame-configuration-to-register, jump-to-register)
7552 (number-to-register, view-register, insert-register)
7553 (copy-to-register, append-to-register, prepend-to-register)
7554 (copy-rectangle-to-register): Use register-read-with-preview to
7555 read register. (Bug#15525)
7557 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7559 * net/network-stream.el (network-stream-open-starttls): Don't add
7560 --insecure if it's already present, because that gnutls-cli
7561 rejects getting that parameter twice.
7563 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7565 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7568 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7570 * newcomment.el (comment-use-global-state): Change default value
7571 to t, mark obsolete (Bug#15251).
7572 (comment-beginning): In addition to `comment-to-syntax', check the
7573 value of `comment-use-global-state'.
7575 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7577 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7578 (ruby-comment-column): Follow the global default, by default.
7579 (ruby-smie-grammar): Add assignment syntax.
7580 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7581 open-paren, a comma, or a \.
7582 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7583 and line continuations.
7584 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7585 followed by implicit semi-colons. Add rule for string concatenation
7586 and for indentation at BOB.
7587 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7589 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7590 calling next-sexp, since next-token may have skipped chars which
7591 next-sexp doesn't know should be skipped!
7593 2013-10-05 Leo Liu <sdl.web@gmail.com>
7595 * progmodes/octave.el (octave-send-region):
7596 Call compilation-forget-errors.
7598 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7600 * vc/vc-svn.el (vc-svn-find-admin-dir):
7601 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7602 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7603 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7604 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7606 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7610 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * subr.el (read-passwd): Hide chars even when called within a context
7613 where after-change-functions is disabled (bug#15501).
7614 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7615 until we removed ourself from overriding-terminal-local-map.
7617 2013-10-04 Leo Liu <sdl.web@gmail.com>
7619 * progmodes/octave.el (inferior-octave-mode):
7620 Call compilation-forget-errors.
7622 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7624 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7626 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7628 * net/secrets.el (secrets-create-collection): Add optional
7629 argument ALIAS. Use proper Label keyword. Append ALIAS as
7630 dbus-call-method argument. (Bug#15516)
7632 2013-10-04 Leo Liu <sdl.web@gmail.com>
7634 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7635 (inferior-octave-compilation-font-lock-keywords): New variables.
7636 (compilation-error-regexp-alist)
7637 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7638 (inferior-octave-mode): Use compilation-shell-minor-mode.
7640 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7642 * minibuffer.el (completion--replace): Be careful that `end' might be
7645 2013-10-03 Daiki Ueno <ueno@gnu.org>
7647 Add support for package signature checking.
7648 * emacs-lisp/package.el (url-http-file-exists-p)
7649 (epg-make-context, epg-context-set-home-directory)
7650 (epg-verify-string, epg-context-result-for)
7651 (epg-signature-status, epg-signature-to-string)
7652 (epg-check-configuration, epg-configuration)
7653 (epg-import-keys-from-file): Declare.
7654 (package-check-signature): New user option.
7655 (package-unsigned-archives): New user option.
7656 (package-desc): Add `signed' field.
7657 (package-load-descriptor): Set `signed' field if .signed file exists.
7658 (package--archive-file-exists-p): New function.
7659 (package--check-signature): New function.
7660 (package-install-from-archive): Check package signature.
7661 (package--download-one-archive): Check archive signature.
7662 (package-delete): Remove .signed file.
7663 (package-import-keyring): New command.
7664 (package-refresh-contents): Import default keyring.
7665 (package-desc-status): Add "unsigned" status.
7666 (describe-package-1, package-menu--print-info)
7667 (package-menu-mark-delete, package-menu--find-upgrades)
7668 (package-menu--status-predicate): Support "unsigned" status.
7670 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7673 the new compilation scheme using the new byte-codes.
7675 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7676 (byte-pophandler): New byte codes.
7677 (byte-goto-ops): Adjust accordingly.
7678 (byte-compile--use-old-handlers): New var.
7679 (byte-compile-catch): Use new byte codes depending on
7680 byte-compile--use-old-handlers.
7681 (byte-compile-condition-case--old): Rename from
7682 byte-compile-condition-case.
7683 (byte-compile-condition-case--new): New function.
7684 (byte-compile-condition-case): New function that dispatches depending
7685 on byte-compile--use-old-handlers.
7686 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7689 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7690 Optimize under `condition-case' and `catch' if
7691 byte-compile--use-old-handlers is nil.
7692 (disassemble-offset): Handle new bytecodes.
7694 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7696 * subr.el (error): Use `declare'.
7697 (decode-char, encode-char): Use advertised-calling-convention instead
7698 of the docstring to discourage use of the `restriction' arg.
7700 2013-10-03 Daiki Ueno <ueno@gnu.org>
7702 * epg.el (epg-verify-file): Add a comment saying that it does not
7703 notify verification error as a return value nor a signal.
7704 (epg-verify-string): Ditto.
7706 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7708 * progmodes/compile.el (compilation-start): Try globbing the arg to
7711 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7713 Sync with Tramp 2.2.8.
7715 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7716 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7717 * net/trampver.el: Update release number.
7719 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7721 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7722 and default-process-coding-system for darwin only.
7724 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7726 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7728 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7730 * vc/vc-git.el (vc-git-grep): Disable pager.
7732 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7734 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7735 Use :url instead of :homepage, as per
7736 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7738 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7739 non-nil, use `syntax-ppss' (Bug#15251).
7741 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7743 * progmodes/octave.el (inferior-octave-startup-file):
7744 Prefer ~/.emacs.d/init_octave.m.
7746 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7748 * emacs-lisp/package.el (package-desc-from-define):
7749 Accept additional arguments as plist, convert them to an alist and store
7750 them in the `extras' slot.
7751 (package-generate-description-file): Convert extras alist back to
7752 plist and append to the `define-package' form arguments.
7753 (package--alist-to-plist): New function.
7754 (package--ac-desc): Add `extras' slot.
7755 (package--add-to-archive-contents): Check if the archive-contents
7756 vector is long enough, and if it is, pass its `extras' slot value
7757 to `package-desc-create'.
7758 (package-buffer-info): Call `lm-homepage', pass the returned value
7759 to `package-desc-from-define'.
7760 (describe-package-1): Render the homepage button (Bug#13291).
7762 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7763 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7765 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7767 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7768 and default-process-coding-system to utf-8-unix (Bug#15402).
7770 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7772 * subr.el (looking-back): Do not recommend using looking-back.
7774 2013-09-28 Alan Mackenzie <acm@muc.de>
7776 Fix indentation/fontification of Java enum with "implements".
7778 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7779 regexp which matches "implements", etc., in Java.
7780 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7781 specifier clauses coming after "enum".
7782 * progmodes/cc-fonts.el (c-font-lock-declarations)
7783 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7786 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7788 * faces.el (region): Change ns_selection_color to
7789 ns_selection_fg_color, add ns_selection_bg_color.
7791 2013-09-28 Leo Liu <sdl.web@gmail.com>
7793 * progmodes/octave.el (inferior-octave-completion-table)
7794 (inferior-octave-completion-at-point): Minor tweaks.
7796 * textmodes/ispell.el (ispell-lookup-words): Rename from
7797 lookup-words. (Bug#15460)
7798 (lookup-words): Obsolete.
7799 (ispell-complete-word, ispell-command-loop): All uses changed.
7801 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7803 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7804 (octave-mode-menu): Add octave-send-buffer.
7805 (octave-send-buffer): New function.
7807 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7809 * progmodes/octave.el (octave-mode-map): Add key binding for
7811 (octave-mode-menu): Add octave-lookfor.
7812 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7814 (octave-lookfor): New function.
7816 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7818 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7819 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7821 (cl--loop-set-iterator-function): New function.
7822 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7823 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7824 Bind `it' with `let' instead of substituting it with `cl-subst'.
7825 (cl--unused-var-p): New function.
7826 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7827 Eliminate some unused variable warnings (bug#15326).
7829 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7831 * doc-view.el (doc-view-scale-reset): Rename from
7832 `doc-view-reset-zoom-level'.
7833 (doc-view-scale-adjust): New command.
7834 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7835 `doc-view-scale-adjust'.
7837 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7839 * doc-view.el (doc-view-reset-zoom-level): New command.
7840 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7841 zoom commands (bug#15466).
7843 2013-09-26 Kenichi Handa <handa@gnu.org>
7845 * international/quail.el (quail-help): Make it not a command.
7847 2013-09-26 Leo Liu <sdl.web@gmail.com>
7849 * minibuffer.el (completion-all-sorted-completions): Make args
7850 optional as they are.
7852 2013-09-25 Daniel Colascione <dancol@dancol.org>
7854 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7855 specs are and that they're not evaluated.
7857 2013-09-24 Sam Steingold <sds@gnu.org>
7859 * midnight.el (clean-buffer-list-kill-regexps)
7860 (clean-buffer-list-kill-buffer-names): Update for the new Man
7861 buffer naming which includes the object name.
7863 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7866 (eshell-parse-command, eshell-parse-pipeline): Use it since
7867 eshell-separate-commands requires a dynamic scoped var.
7868 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7870 2013-09-23 Leo Liu <sdl.web@gmail.com>
7872 * autoinsert.el (auto-insert-alist): Make the value of
7873 lexical-binding match its file setting.
7875 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7877 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7879 * autoarg.el (autoarg-kp-digit-argument):
7880 * electric.el (Electric-command-loop):
7881 * kmacro.el (kmacro-step-edit-insert):
7882 Do not set universal-argument-num-events.
7884 2013-09-22 Leo Liu <sdl.web@gmail.com>
7886 * files.el (interpreter-mode-alist): Add octave.
7888 2013-09-21 Alan Mackenzie <acm@muc.de>
7890 C++: fontify identifier in declaration following "public:" correctly.
7891 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7892 to match "public", etc.
7893 (c-decl-prefix-re): Add ":" into the C++ value.
7894 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7895 bit. Add a check for a ":" preceded by "public", etc.
7897 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7899 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7900 recognized by GDB 7.5 and later.
7902 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7904 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7906 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7908 * subr.el (internal--call-interactively): New const.
7909 (called-interactively-p): Use it (bug#3984).
7911 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7913 * vc/pcvs.el (cvs-mode-ignore):
7914 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7915 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7917 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7920 (eshell-ls-orig-insert-directory): Remove.
7921 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7922 (eshell-ls-use-in-dired): Use advice-add/remove.
7923 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7924 Add `orig-fun' arg for use in :around advice.
7925 Make it check (redundantly) eshell-ls-use-in-dired.
7927 2013-09-19 Glenn Morris <rgm@gnu.org>
7929 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7931 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7933 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7935 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7937 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7938 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7939 (tramp-get-remote-python): New defuns.
7940 (tramp-get-remote-uid-with-perl)
7941 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7942 contributed by yary <not.com@gmail.com> (tiny change).
7943 (tramp-get-remote-uid-with-python)
7944 (tramp-get-remote-gid-with-python): New defuns. Python code
7945 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7946 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7948 2013-09-19 Glenn Morris <rgm@gnu.org>
7950 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7952 * eshell/em-unix.el (eshell-remove-entries):
7953 Rename argument to avoid name-clash with global `top-level'.
7955 * eshell/esh-proc.el (eshell-kill-process-function):
7956 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7957 (eshell-reset-after-proc): Remove unused arg `proc'.
7959 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7960 (directory-files-and-attributes): Mark unused arg.
7962 * eshell/em-unix.el (eshell-remove-entries):
7963 Remove unused arg `path'. Update callers.
7965 * eshell/em-hist.el (eshell-hist-parse-arguments):
7966 Remove unused arg `silent'. Update callers.
7968 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7969 Fix (f)boundp mix-up.
7971 * eshell/em-smart.el (eshell-smart-scroll-window)
7972 (eshell-disable-after-change):
7973 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7975 2013-09-18 Alan Mackenzie <acm@muc.de>
7977 Fix fontification of type when followed by "const".
7978 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7979 "known" types from fontification.
7981 2013-09-18 Glenn Morris <rgm@gnu.org>
7983 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7984 (chart-face-list): Drop Emacsen without display-color-p.
7986 * net/eww.el (libxml-parse-html-region): Declare.
7987 (eww-display-html): Explicit error if no libxml2 support.
7989 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7991 * image.el (image-type-from-buffer, image-multi-frame-p):
7992 Remove --without-x warning/error.
7994 * mouse.el (mouse-yank-primary):
7995 * term.el (term-mouse-paste):
7996 Reorder to silence --without-x compilation.
7998 * mpc.el (doc-view-mode): Silence --without-x compilation.
8000 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8001 Silence --without-x compilation.
8003 * progmodes/gud.el (gud-find-file, gud-mode):
8004 Silence --without-x compilation.
8005 (tooltip-mode): Declare.
8007 * wdired.el (dired-backup-overwrite): Remove declaration.
8008 (wdired-mode-map): Add doc string.
8010 * custom.el (x-get-resource): Declare.
8012 * eshell/em-glob.el (ange-cache):
8013 * eshell/em-unix.el (ange-cache): Declare.
8015 * faces.el (x-display-list, x-open-connection, x-get-resource):
8018 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8019 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8022 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8024 * net/gnutls.el (gnutls-log-level): Declare.
8026 * net/shr.el (image-size, image-animate): Declare.
8028 * simple.el (font-info): Declare.
8030 * subr.el (x-popup-dialog): Declare.
8032 * term/common-win.el (x-select-enable-primary)
8033 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8036 * term/ns-win.el (x-handle-args): Declare.
8038 * term/x-win.el (x-select-enable-clipboard): Declare.
8040 * term/w32-win.el (create-default-fontset): Declare.
8042 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8045 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8046 (fit-frame-to-buffer): Explicit error if --without-x.
8047 (mouse-autoselect-window-select): Silence compiler.
8049 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8051 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8052 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8053 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8054 * eshell/esh-util.el (eshell-sublist):
8055 Remove unused local variables.
8057 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8059 * textmodes/two-column.el: Make 2C-split work for --without-x.
8060 (scroll-bar-columns): Autoload.
8061 (top-level): Require fringe when compiling.
8063 2013-09-18 Leo Liu <sdl.web@gmail.com>
8065 * subr.el (add-hook): Robustify to handle closure as well.
8067 2013-09-17 Glenn Morris <rgm@gnu.org>
8069 * simple.el (messages-buffer-mode-map): Unbind "g".
8071 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8073 * help-mode.el (help-mode-finish): Use derived-mode-p.
8074 Remove obsolete highlighting.
8076 * play/life.el (life-mode): Use define-derived-mode. Derive from
8078 (life): Let-bind inhibit-read-only.
8079 (life-setup): Avoid `setq'. Use `life-mode'.
8081 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8082 which should not be needed any more.
8083 (package-menu-refresh, package-menu-describe-package): Use user-error.
8085 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8086 (eshell-post-rewrite-command-hook): Make obsolete.
8087 (eshell-parse-command): Simplify.
8088 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8089 (eshell--cmd): Declare.
8090 (eshell-parse-pipeline): Remove unused var `final-p'.
8091 Pass a dynvar to eshell-post-rewrite-command-hook.
8092 Implement the new eshell-post-rewrite-command-function.
8093 (eshell-invoke-directly): Remove unused arg `input'.
8094 * eshell/esh-io.el (eshell-io-initialize):
8095 Use eshell-post-rewrite-command-function (bug#15399).
8096 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8097 adjust to new calling convention.
8098 (eshell-create-handles): Rename args to avoid clashing with dynvar
8101 2013-09-17 Glenn Morris <rgm@gnu.org>
8103 * simple.el (messages-buffer-mode): New major mode.
8104 (messages-buffer): New function.
8105 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8106 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8107 (ert-run-test): Use `messages-buffer' function.
8108 (ert--force-message-log-buffer-truncation): Ignore read-only.
8109 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8110 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8112 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8116 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8118 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8120 * icomplete.el (icomplete-in-buffer): New var.
8121 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8122 vars and replace them with functions.
8123 (icomplete-minibuffer-setup): Adjust accordingly.
8124 (icomplete--completion-table, icomplete--completion-predicate)
8125 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8127 (icomplete-forward-completions, icomplete-backward-completions)
8128 (icomplete-simple-completing-p, icomplete-exhibit)
8129 (icomplete-completions): Use them.
8130 (icomplete--in-region-buffer): New var.
8131 (icomplete--in-region-setup): New function.
8132 (icomplete-mode): Use it.
8134 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8136 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8137 return args and options.
8138 (eshell-eval-using-options): Use the new return value of
8139 eshell--do-opts to set the options's vars in their scope.
8140 (eshell--set-option): Rename from eshell-set-option.
8142 (eshell--process-option): Rename from eshell-process-option.
8144 (eshell--process-args): Use an `opt-vals' alist to store the options's
8145 values during their processing and return them additionally to the
8148 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8150 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8151 continuation character an operator, as far as indentation is
8152 concerned (Bug#15369).
8154 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8156 * window.el (window--state-put-2): Don't process buffer state
8157 when buffer doesn't exist any more (Bug#15382).
8159 2013-09-15 Glenn Morris <rgm@gnu.org>
8161 * eshell/em-unix.el (eshell/rm):
8162 Make -f ignore missing files. (Bug#15373)
8164 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8165 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8166 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8168 2013-09-14 Glenn Morris <rgm@gnu.org>
8170 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8172 2013-09-13 Glenn Morris <rgm@gnu.org>
8174 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8175 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8177 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8179 * frame.el (x-focus-frame): Mark as declared in frame.c.
8181 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8183 * ls-lisp.el: Use advice-add.
8184 (original-insert-directory): Remove.
8185 (ls-lisp--insert-directory): Rename from insert-directory; add
8186 `orig-fun' argument.
8187 (insert-directory): Advise.
8189 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8191 * term.el (term-emulate-terminal): Decode the command string
8192 before passing it to term-command-hook. (Bug#15337)
8194 2013-09-13 Glenn Morris <rgm@gnu.org>
8196 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8198 * eshell/esh-ext.el (eshell-search-path): Declare.
8200 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8201 Otherwise an error occurs if eshell-dirs module not loaded.
8203 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8205 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8207 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8208 `tramp-check-proper-host'. Check for a valid method name.
8210 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8211 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8212 * net/tramp-sh.el (tramp-maybe-open-connection):
8213 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8215 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8216 also for hash values.
8218 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * term/ns-win.el (parameters): Don't declare as dynamic.
8221 (before-make-frame-hook): Don't add ineffective function.
8223 * eshell/*.el: Use lexical-binding (bug#15231).
8225 2013-09-12 Kenichi Handa <handa@gnu.org>
8227 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8229 2013-09-12 Glenn Morris <rgm@gnu.org>
8231 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8232 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8234 * subr.el (do-after-load-evaluation): Also give compiler warnings
8235 when obsolete files are used (except by obsolete files).
8237 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8238 in the status output, assume `filename' is the first. (Bug#15322)
8240 * vc/vc.el (vc-deduce-fileset): Doc fix.
8242 * calc/calc-help.el (Info-goto-node):
8243 * progmodes/cperl-mode.el (Info-find-node):
8244 * vc/ediff.el (Info-goto-node): Update declarations.
8246 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8248 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8249 (vc-bzr-pull): Require vc-dispatcher.
8250 * vc/vc-git.el (vc-compilation-mode): Declare.
8251 (vc-git-pull): Require vc-dispatcher.
8253 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8255 * progmodes/octave.el (help-button-action): Declare.
8257 * shell.el (shell-directory-tracker): Output error as a message
8258 rather than just returning it as a string.
8259 (shell-process-pushd): Remove useless use of message.
8261 * dframe.el (dframe-timer-fn):
8262 * files.el (dir-locals-read-from-file):
8263 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8265 * reveal.el (reveal-post-command):
8266 * saveplace.el (load-save-place-alist-from-file):
8267 * shell.el (shell-resync-dirs):
8268 * w32-common-fns.el (x-get-selection-value):
8269 * emacs-lisp/copyright.el (copyright-find-copyright):
8270 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8271 * emulation/tpu-edt.el (tpu-copy-keyfile):
8272 * play/bubbles.el (bubbles--mark-neighbourhood):
8273 * progmodes/executable.el
8274 (executable-make-buffer-file-executable-if-script-p):
8275 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8277 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8279 Cleanup Eshell to rely less on dynamic scoping.
8280 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8281 last-value, and ext-command here. Bind `args' closer to `body'.
8282 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8283 (eshell--args): Declare new dynamic var.
8284 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8285 last-value, and ext-command. Pass `args' to `body'.
8286 (eshell-process-args): Bind eshell--args.
8287 (eshell-set-option): Use eshell--args.
8288 * eshell/eshell.el (eshell): Use derived-mode-p.
8289 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8290 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8291 (eshell-glob-function): Declare.
8292 * eshell/esh-util.el: Require cl-lib.
8293 (eshell-read-hosts-file): Avoid add-to-list.
8294 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8296 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8298 (eshell/diff): Remove unused var `err'.
8299 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8301 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8302 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8304 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8305 Move declaration before first use.
8306 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8307 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8310 2013-09-12 Glenn Morris <rgm@gnu.org>
8312 * term/ns-win.el (global-map): Remove binding for ispell-next,
8313 deleted 1999-05-29. (Bug#15357)
8315 2013-09-11 Glenn Morris <rgm@gnu.org>
8317 * echistory.el (electric-command-history): Remove call to deleted func.
8319 * play/landmark.el (landmark-mode): Fix typos.
8321 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8322 Check cvs-sort-ignore-file is bound.
8324 * savehist.el: No need for cl when compiling on Emacs.
8326 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8328 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8330 (eshell-self-insert-command, eshell-send-invisible):
8331 Remove unused argument.
8332 (eshell-handle-control-codes): Remove unused var `orig'.
8333 Avoid delete-backward-char.
8335 * files.el (set-auto-mode): Simplify a bit further.
8337 2013-09-11 Glenn Morris <rgm@gnu.org>
8339 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8340 (set-auto-mode): Don't regexp-quote elements.
8341 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8342 * progmodes/cc-mode.el (interpreter-mode-alist):
8343 * progmodes/ruby-mode.el (interpreter-mode-alist):
8344 Revert previous change.
8346 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8348 * play/snake.el (snake-mode):
8349 * play/mpuz.el (mpuz-mode):
8350 * play/landmark.el (lm-mode):
8351 * play/blackbox.el (blackbox-mode):
8352 * play/5x5.el (5x5-mode):
8353 * obsolete/options.el (Edit-options-mode):
8354 * net/quickurl.el (quickurl-list-mode):
8355 * net/newst-treeview.el (newsticker-treeview-mode):
8356 * mail/rmailsum.el (rmail-summary-mode):
8357 * mail/mspools.el (mspools-mode):
8358 * locate.el (locate-mode):
8359 * ibuffer.el (ibuffer-mode):
8360 * emulation/ws-mode.el (wordstar-mode):
8361 * emacs-lisp/debug.el (debugger-mode):
8362 * array.el (array-mode):
8363 * net/eudc.el (eudc-mode): Use define-derived-mode.
8364 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8365 Move initialization into declaration.
8366 (mairix-searches-mode): Use define-derived-mode.
8367 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8368 (eudc-edit-hotlist): Use dolist.
8369 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8370 (Man-mode): Use define-derived-mode.
8371 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8372 (Info-edit-mode): Use define-derived-mode.
8373 (Info-cease-edit): Use Info-mode.
8374 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8376 (eshell-mode): Use define-derived-mode.
8377 * chistory.el (command-history-mode-map): Rename from
8378 command-history-map.
8379 (command-history-mode): Use define-derived-mode.
8380 (Command-history-setup): Remove function.
8381 * calc/calc.el (calc-trail-mode-map): New var.
8382 (calc-trail-mode): Use define-derived-mode.
8383 (calc-trail-buffer): Set calc-main-buffer manually.
8384 * bookmark.el (bookmark-insert-annotation): New function.
8385 (bookmark-edit-annotation): Use it.
8386 (bookmark-edit-annotation-mode): Make it a proper major mode.
8387 (bookmark-send-edited-annotation): Use derived-mode-p.
8388 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8389 closer to its ideal place. Use \' to match EOS.
8391 * profiler.el (profiler-calltree-find): Use function-equal.
8393 2013-09-10 Glenn Morris <rgm@gnu.org>
8395 * files.el (interpreter-mode-alist): Convert to regexps.
8396 (set-auto-mode): Adapt for this. (Bug#15306)
8397 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8398 Comment out unused variable.
8399 * progmodes/cc-mode.el (interpreter-mode-alist):
8400 * progmodes/python.el (interpreter-mode-alist):
8401 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8402 * progmodes/sh-script.el (sh-set-shell):
8403 No longer use interpreter-mode-alist to get list of shells.
8405 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8407 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8409 * simple.el: Use set-temporary-overlay-map for universal-argument.
8410 (universal-argument-map): Don't use default-bindings (bug#15317).
8411 Bind switch-frame explicitly. Replace universal-argument-minus with
8412 a conditional binding.
8413 (universal-argument-num-events, saved-overriding-map): Remove.
8414 (restore-overriding-map): Remove.
8415 (universal-argument--mode): Rename from save&set-overriding-map,
8417 (universal-argument, universal-argument-more, negative-argument)
8418 (digit-argument): Adjust accordingly.
8419 (universal-argument-minus): Remove.
8420 (universal-argument-other-key): Remove.
8422 * subr.el (with-demoted-errors): Add `format' argument.
8424 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8426 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8427 `tramp-cleanup-connection'.
8429 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8430 parameters KEEP-DEBUG and KEEP-PASSWORD.
8432 * net/tramp.el (tramp-file-name-handler):
8433 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8434 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8435 (tramp-maybe-open-connection):
8436 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8437 Use `tramp-cleanup-connection'.
8439 * net/tramp-sh.el (tramp-maybe-open-connection):
8440 Catch 'uname-changed inside the progress reporter.
8442 2013-09-10 Glenn Morris <rgm@gnu.org>
8444 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8446 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8447 returns "alternate access method" in mode (eg "-rw-r--r--.").
8449 2013-09-08 Glenn Morris <rgm@gnu.org>
8451 * saveplace.el (load-save-place-alist-from-file):
8452 Demote errors. (Bug#15305)
8454 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8456 Improve compatibility with older Emacsen, and XEmacs.
8458 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8459 only if it is bound. It isn't for XEmacs.
8460 (with-tramp-progress-reporter): Do not let-bind `result'.
8461 This yields to scoping errors in XEmacs.
8462 (tramp-handle-make-auto-save-file-name): New function, moved from
8465 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8466 for `make-auto-save-file-name'.
8467 (tramp-adb--gnu-switches-to-ash):
8468 Use `tramp-compat-replace-regexp-in-string'.
8470 * net/tramp-cache.el (tramp-cache-print): Call
8471 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8473 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8474 bound. It isn't for XEmacs.
8476 * net/tramp-compat.el (tramp-compat-copy-file):
8477 Catch `wrong-number-of-arguments' error.
8478 (tramp-compat-replace-regexp-in-string): New defun.
8480 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8481 for `make-auto-save-file-name'.
8482 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8484 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8485 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8486 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8488 * net/tramp-gw.el (tramp-gw-open-network-stream):
8489 Use `tramp-compat-replace-regexp-in-string'.
8491 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8492 Call `tramp-handle-make-auto-save-file-name'.
8493 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8494 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8495 (tramp-sh-file-inotifywait-process-filter):
8496 Use `tramp-compat-replace-regexp-in-string'.
8497 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8500 for `make-auto-save-file-name'.
8501 (tramp-smb-handle-copy-directory):
8502 Call `tramp-compat-replace-regexp-in-string'.
8503 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8504 (tramp-smb-handle-copy-file): Improve error message.
8505 (tramp-smb-handle-rename-file): Rename directly only in case
8506 `newname' does not exist yet. This is a restriction of smbclient.
8507 (tramp-smb-maybe-open-connection): Rerun the function only when
8508 `auth-sources' is non-nil.
8510 2013-09-08 Kenichi Handa <handa@gnu.org>
8512 * international/characters.el: Set category "^" (Combining) for
8515 2013-09-07 Alan Mackenzie <acm@muc.de>
8517 Correctly fontify Java class constructors.
8518 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8520 (c-recognize-typeless-decls): Set the Java value to t.
8521 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8522 While handling a "(", add a check for, effectively, Java, and handle a
8523 "typeless" declaration there.
8525 2013-09-07 Roland Winkler <winkler@gnu.org>
8527 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8528 field subtitle for entry type book.
8530 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * minibuffer.el: Make minibuffer-complete call completion-in-region
8533 rather than other way around.
8534 (completion--some, completion-pcm--find-all-completions):
8535 Don't delay signals when debugging.
8536 (minibuffer-completion-contents): Beware fields within the
8537 minibuffer contents.
8538 (completion-all-sorted-completions): Use defvar-local.
8539 (completion--do-completion, completion--cache-all-sorted-completions)
8540 (completion-all-sorted-completions, minibuffer-force-complete):
8541 Add args `beg' and `end'.
8542 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8543 (minibuffer-complete): Use completion-in-region.
8544 (completion-complete-and-exit): New fun, extracted from
8545 minibuffer-complete-and-exit.
8546 (minibuffer-complete-and-exit): Use it.
8547 (completion--complete-and-exit): Rename from
8548 minibuffer--complete-and-exit.
8549 (completion-in-region--single-word): New function, extracted from
8550 minibuffer-complete-word.
8551 (minibuffer-complete-word): Use it.
8552 (display-completion-list): Make `common-substring' argument obsolete.
8553 (completion--in-region): Call completion--in-region-1 instead of
8554 minibuffer-complete.
8555 (completion-help-at-point): Pass boundaries to
8556 minibuffer-completion-help as args rather than via an overlay.
8557 (completion-pcm--string->pattern): Use `any-delim'.
8558 (completion-pcm--optimize-pattern): New function.
8559 (completion-pcm--pattern->regex): Handle `any-delim'.
8560 * icomplete.el (icomplete-forward-completions)
8561 (icomplete-backward-completions, icomplete-completions):
8562 Adjust calls to completion-all-sorted-completions and
8563 completion--cache-all-sorted-completions.
8564 (icomplete-with-completion-tables): Default to t.
8565 * emacs-lisp/crm.el (crm--current-element): Rename from
8566 crm--select-current-element. Don't put an overlay but return the
8568 (crm--completion-command): Take two new args to bind to the boundaries.
8569 (crm-completion-help): Adjust accordingly.
8570 (crm-complete): Use completion-in-region.
8571 (crm-complete-word): Use completion-in-region--single-word.
8572 (crm-complete-and-exit): Use completion-complete-and-exit.
8574 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8576 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8579 2013-09-06 Juri Linkov <juri@jurta.org>
8581 * info.el (Info-display-images-node): When image file doesn't exist
8582 display text version of the image if it's provided in the Info file.
8583 Otherwise, display the location of missing image from SRC attribute.
8584 Add help-echo text property from ALT attribute. (Bug#15279)
8586 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8589 (edit-abbrevs-mode): Use define-derived-mode.
8591 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8592 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8594 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8595 Use define-derived-mode.
8597 * epg.el (epg-start-encrypt): Minor CSE simplification.
8599 2013-09-06 William Xu <william.xwl@gmail.com>
8601 * arc-mode.el: Add support for 7za (bug#15264).
8602 (archive-7z-program): New var.
8603 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8604 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8605 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8607 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8611 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8612 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8613 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8614 (tramp-postfix-host-format, tramp-file-name-regexp)
8615 (tramp-completion-file-name-regexp)
8616 (tramp-completion-dissect-file-name)
8617 (tramp-handle-substitute-in-file-name): Remove 'url case.
8618 (tramp-file-name-regexp-url)
8619 (tramp-completion-file-name-regexp-url): Remove constants.
8621 2013-09-06 Glenn Morris <rgm@gnu.org>
8623 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8625 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8627 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8628 keywords" below "here-doc beginnings" (Bug#15270).
8630 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8632 * subr.el (pop): Use `car-safe'.
8633 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8634 to detect unused `pop' return value.
8636 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8638 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8639 (python-fill-string): Remove unused var `marker'.
8640 (python-skeleton-add-menu-items): Remove unused var `items'.
8642 * international/mule-cmds.el: Require CL.
8643 (find-coding-systems-for-charsets): Avoid add-to-list.
8644 (sanitize-coding-system-list): New function, extracted from
8645 select-safe-coding-system-interactively.
8646 (select-safe-coding-system-interactively): Use it.
8647 (read-input-method-name): Accept symbols for `default'.
8649 * emacs-lisp/advice.el (defadvice): Add indent rule.
8651 2013-09-05 Daniel Hackney <dan@haxney.org>
8655 * net/browse-url.el:
8658 * net/eudcb-ldap.el:
8671 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8672 byte compiler. Remove some unused let-bound variables.
8674 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8677 a "ref-cell", since it gets better optimized (bug#14883).
8679 2013-09-05 Glenn Morris <rgm@gnu.org>
8681 * progmodes/cc-awk.el (c-forward-sws): Declare.
8683 2013-09-04 Glenn Morris <rgm@gnu.org>
8685 * generic-x.el [rul-generic-mode]: Require cc-mode.
8686 (c++-mode-syntax-table): Declare.
8687 (rul-generic-mode-syntax-table): Init in the defvar.
8689 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8691 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8692 (vc-do-command, vc-set-async-update):
8693 * vc/vc-mtn.el (vc-mtn-dir-status):
8694 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8695 (vc-hg-pull, vc-hg-merge-branch):
8696 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8697 (vc-git-merge-branch):
8698 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8699 (vc-cvs-dir-status-files):
8700 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8701 (vc-bzr-dir-status-files):
8702 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8703 * vc/vc-annotate.el: Use lexical-binding.
8704 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8705 (vc-sentinel-movepoint): Declare.
8706 (vc-annotate): Don't use `goto-line'.
8707 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8708 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8709 (vc-sentinel-movepoint): Declare.
8710 * vc/vc-svn.el: Use lexical-binding.
8711 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8713 * vc/vc-rcs.el: Use lexical-binding.
8715 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8716 `deleted'. Don't drop errors silently.
8718 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8720 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8722 * vc/vc.el (vc-ignore): Rewrite.
8723 (vc-default-ignore): New function.
8724 (vc-default-ignore-completion-table): Use find-ignore-file.
8726 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8727 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8728 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8729 Remove. Most code moved to vc.el.
8731 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8734 * net/tramp-smb.el (tramp-smb-get-file-entries):
8735 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8736 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8738 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8740 (eww-change-select): Remove unused var `properties'.
8741 (eww-make-unique-file-name): Remove unused var `base'.
8743 * finder.el (finder-compile-keywords): Don't mess with windows.
8745 * calculator.el (calculator-funcall): Fix typo in last change.
8747 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8749 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8750 <pkg>-autoloads.el file stop us.
8752 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8753 warnings, and factor out common code.
8755 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8757 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8758 two-character operators and whether the character preceding them
8759 changes their meaning (Bug#15208).
8761 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8763 Format code sent to Python shell for robustness.
8764 * progmodes/python.el (python-shell-buffer-substring):
8766 (python-shell-send-region, python-shell-send-buffer): Use it.
8768 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8770 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8771 * net/tramp.el (tramp-user-error): ... here.
8772 (tramp-find-method, tramp-check-proper-host)
8773 (tramp-dissect-file-name, tramp-debug-message)
8774 (tramp-handle-shell-command):
8775 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8776 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8778 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8780 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8782 * avoid.el (mouse-avoidance-point-position)
8783 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8786 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8788 * progmodes/python.el (python-shell-completion-get-completions):
8789 Drop use of deleted `comint-last-prompt-overlay'.
8790 (python-nav-if-name-main): New command.
8792 2013-09-01 Glenn Morris <rgm@gnu.org>
8794 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8795 Avoid leading space in $wins. Otherwise the sed command used by
8796 eg compile-main ends up containing "/*.el". (Bug#15170)
8798 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8800 2013-08-30 Glenn Morris <rgm@gnu.org>
8802 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8803 Fix is-this-a-directory logic. (Bug#15220)
8805 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * textmodes/css-mode.el: Use SMIE.
8808 (css-smie-grammar): New var.
8809 (css-smie--forward-token, css-smie--backward-token)
8810 (css-smie-rules): New functions.
8811 (css-mode): Use them.
8812 (css-navigation-syntax-table): Remove var.
8813 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8814 (css-indent-calculate, css-indent-line): Remove functions.
8816 Misc changes to reduce use of `(lambda...); and other cleanups.
8817 * cus-edit.el: Use lexical-binding.
8818 (customize-push-and-save, customize-apropos)
8819 (custom-buffer-create-internal): Use closures.
8820 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8821 * progmodes/ada-xref.el: Use setq.
8822 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8823 * dframe.el: Use lexical-binding.
8824 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8825 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8826 * descr-text.el: Use lexical-binding.
8827 (describe-text-widget, describe-text-sexp, describe-property-list):
8829 * comint.el (comint-history-isearch-push-state): Use a closure.
8830 * calculator.el: Use lexical-binding.
8831 (calculator-number-to-string): Make it work with lexical-binding.
8832 (calculator-funcall): Same and use cl-letf.
8834 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8835 (lisp--company-doc-string, lisp--company-location): New functions.
8836 (lisp-completion-at-point): Use them to improve Company support.
8838 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8839 params of lambda expressions.
8840 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8841 (ruby-smie--opening-pipe-p): New function.
8842 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8843 symbols and matched |...| for formal params.
8844 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8845 from being treated as hanging. Handle "rescue".
8847 2013-08-29 Glenn Morris <rgm@gnu.org>
8849 * progmodes/cc-engine.el (c-pull-open-brace):
8850 Move definition before use.
8852 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8854 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8855 are immutable. Don't use `unsafe' any more.
8856 (cl--defsubst-expand): Don't substitute at the same time as keeping
8857 a residual unused let-binding. Don't use `unsafe' any more.
8859 2013-08-29 Glenn Morris <rgm@gnu.org>
8861 * calendar/cal-china.el (calendar-chinese-year-cache):
8864 * nxml/nxml-util.el (nxml-debug-clear-inside):
8865 Use cl-loop rather than loop.
8867 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8869 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8871 2013-08-28 Glenn Morris <rgm@gnu.org>
8873 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8875 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8877 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8879 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8881 * simple.el (repeat-complex-command--called-interactively-skip):
8883 (repeat-complex-command): Use it (bug#14136).
8885 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8886 (c-define-abbrev-table): Add `doc' argument.
8887 (c-mode-abbrev-table, c++-mode-abbrev-table)
8888 (objc-mode-abbrev-table, java-mode-abbrev-table)
8889 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8890 (awk-mode-abbrev-table): Use it.
8891 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8892 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8893 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8894 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8895 Move initialization into the declaration; and remove any
8898 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8899 and dynamic let binding.
8901 * vc/smerge-mode.el: Remove redundant :group args.
8903 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8906 2013-08-28 Juri Linkov <juri@jurta.org>
8908 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8909 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8910 (isearch-other-meta-char): Handle an undefined shifted printing
8911 character by downshifting it. (Bug#15200)
8913 2013-08-28 Juri Linkov <juri@jurta.org>
8915 * isearch.el (isearch-search): Change regexp error message for
8916 non-regexp searches. (Bug#15166)
8918 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8920 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8921 for portability to hosts where /bin/sh has problems.
8923 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8925 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8927 2013-08-27 Juri Linkov <juri@jurta.org>
8929 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8930 in the keyboard macro. (Bug#15126)
8932 2013-08-27 Juri Linkov <juri@jurta.org>
8934 * isearch.el (isearch-quote-char): Comment out converting unibyte
8935 to multibyte, thus syncing with its `quoted-insert' counterpart.
8938 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8940 * window.el (display-buffer-use-some-window): Add missing
8941 argument in call of get-largest-window (Bug#15185).
8942 Reported by Stephen Leake.
8944 2013-08-27 Glenn Morris <rgm@gnu.org>
8946 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8948 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8950 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8951 from a matcher-function unless there's no more matches (bug#15161).
8953 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8955 * minibuffer.el: Revert change from 2013-08-20.
8957 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8958 with text property `tramp-default', if appropriate.
8959 (tramp-check-proper-host): New defun.
8960 (tramp-dissect-file-name): Do not check hostname. Revert change
8962 (tramp-backtrace): Make VEC-OR-PROC optional.
8964 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8965 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8966 * net/tramp-sh.el (tramp-maybe-open-connection):
8967 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8968 Apply `tramp-check-proper-host'.
8970 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8972 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8973 lambda expression in order to have `describe-variable' display it.
8975 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8977 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8978 BUF can be optional. (Bug#15186)
8980 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8982 * progmodes/flymake.el (flymake-get-real-file-name-function):
8983 Fix broken customization. (Bug#15184)
8985 2013-08-25 Alan Mackenzie <acm@muc.de>
8987 Improve indentation of bracelists defined by macros (without "=").
8989 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8990 expansion begins with "{", regard it as bracelist when it doesn't
8993 Parse C++ inher-intro when there's a template split over 2 lines.
8995 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8996 rigorously the search for "class" etc. followed by ":".
8998 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8999 random languages a regexp which never matches rather than nil.
9001 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9003 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9004 (c-awk-regexp-one-line-possibly-open-char-list-re)
9005 (c-awk-one-line-possibly-open-regexp-re)
9006 (c-awk-one-line-non-syn-ws*-re): Remove.
9007 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9008 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9009 (c-awk-space*-unclosed-regexp-/-re): New constants.
9010 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9011 aren't regexp delimiters.
9013 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9014 handling for a rare situation in AWK Mode involving unterminated
9017 2013-08-23 Glenn Morris <rgm@gnu.org>
9019 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9021 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9023 * files.el (create-file-buffer): If the result would begin with
9024 spaces, prepend a "|" instead of removing them. (Bug#15162)
9026 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9028 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9029 text-properties (bug#15155).
9031 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9033 (calc-keypad-redraw): Remove unused var `pad'.
9034 (calc-keypad-press): Remove unused var `menu'.
9036 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9038 * window.el (display-buffer-pop-up-frame):
9039 Call pop-up-frame-function with BUFFER current so `make-frame' will
9040 use it as the new frame's buffer (Bug#15133).
9042 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9044 * calendar/timeclock.el: Minor cleanups.
9045 (timeclock-ask-before-exiting, timeclock-use-display-time):
9047 (timeclock-modeline-display): Define as alias before the
9049 (timeclock-mode-line-display): Use define-minor-mode.
9050 (timeclock-day-list-template): Make it a function, add an argument.
9051 (timeclock-day-list-required, timeclock-day-list-length)
9052 (timeclock-day-list-debt, timeclock-day-list-span)
9053 (timeclock-day-list-break): Adjust calls accordingly.
9055 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9057 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9058 Use read--expression so that completion works again.
9060 2013-08-21 Sam Steingold <sds@gnu.org>
9062 Add rudimentary inferior shell interaction
9063 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9064 (sh-set-shell): Reset it.
9065 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9066 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9068 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9070 * align.el: Use lexical-binding.
9071 (align-region): Simplify accordingly.
9073 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9075 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9077 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9080 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9084 * net/tramp-cmds.el:
9086 * net/tramp-gvfs.el:
9088 * net/tramp-sh.el: Don't wrap external variable declarations by
9089 `eval-when-compile'.
9091 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9093 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9094 now that Emacs supports ImageMagick animations.
9096 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9098 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9099 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9101 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9103 * window.el (mouse-autoselect-window-select): Do autoselect when
9104 mouse pointer is on margin.
9106 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9108 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9110 2013-08-16 Glenn Morris <rgm@gnu.org>
9112 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9113 Handle "Remote Directory" response of some clients. (Bug#15058)
9115 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9116 Tweak warning. (Bug#14926)
9118 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9119 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9121 * image-mode.el (image-mode-map): Add menu items to reverse,
9122 increase, decrease, reset animation speed.
9123 (image--set-speed, image-increase-speed, image-decrease-speed)
9124 (image-reverse-speed, image-reset-speed): New functions.
9125 (image-mode-map): Add bindings for speed commands.
9127 * image.el (image-animate-get-speed, image-animate-set-speed):
9129 (image-animate-timeout): Respect image :speed property.
9131 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9134 previous line (bug#15101).
9135 (debugger-eval-expression, debugger-record-expression):
9136 Use read--expression (bug#15102).
9138 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9140 Remove byte compiler warnings, visible when compiling with
9141 `byte-compile-force-lexical-warnings' set to t.
9143 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9144 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9145 (tramp-handle-unhandled-file-name-directory)
9146 (tramp-handle-file-notify-add-watch, tramp-action-login)
9147 (tramp-action-succeed, tramp-action-permission-denied)
9148 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9151 * net/tramp-adb.el (tramp-adb-parse-device-names)
9152 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9153 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9154 (tramp-adb-handle-file-truename): Remove unused arguments.
9156 * net/tramp-cache.el (tramp-flush-directory-property)
9157 (tramp-flush-connection-property, tramp-list-connections)
9158 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9160 * net/tramp-compat.el (tramp-compat-make-temp-file):
9161 Rename FILENAME to F.
9163 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9164 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9165 (tramp-zeroconf-parse-workstation-device-names)
9166 (tramp-zeroconf-parse-webdav-device-names)
9167 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9169 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9170 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9172 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9174 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9175 (tramp-sh-handle-insert-file-contents-literally)
9176 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9178 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9179 Remove unused variables.
9181 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9182 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9183 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9185 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9186 Make them a defconst.
9187 (tramp-uuencode-region): Remove unused variable.
9189 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9191 * frameset.el (frameset--prop-setter): New function.
9192 (frameset-prop): Add gv-setter declaration.
9193 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9194 parameter was already set in FILTERED. Doc fix.
9195 (frameset--record-minibuffer-relationships): Allow saving a
9196 minibufferless frame without its corresponding minibuffer frame.
9197 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9198 frame, if the frame id matches.
9199 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9200 frames before orphaned ones.
9201 (frameset-restore): Warn about orphaned windows, instead of error out.
9203 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9205 * window.el (window-make-atom): Don't overwrite parameter
9207 (display-buffer-in-atom-window): Handle special case where we
9208 split an already atomic window.
9209 (window--major-non-side-window, display-buffer-in-side-window)
9210 (window--side-check): Ignore minibuffer window when walking
9212 (window-deletable-p): Return 'frame only if no other frame uses
9213 our minibuffer window.
9214 (record-window-buffer): Run buffer-list-update-hook.
9215 (split-window): Make sure window--check-frame won't destroy an
9216 existing atomic window in case the new window gets nested
9218 (display-buffer-at-bottom): Ignore minibuffer window when
9219 walking window tree. Don't split a side window.
9220 (pop-to-buffer): Don't set-buffer here, the select-window call
9222 (mouse-autoselect-window-select): Autoselect only if we are in the
9223 text portion of the window.
9225 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9227 * net/shr.el (shr-parse-image-data): New function to grab both the
9228 data itself and the Content-Type.
9229 (shr-put-image): Use it.
9231 * net/eww.el (eww-display-image): Ditto.
9233 * image.el (image-content-type-suffixes): New variable.
9235 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9237 * progmodes/python.el (python-imenu--build-tree)
9238 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9240 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9242 * simple.el (backward-word): Mention the optional argument.
9244 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9246 * frameset.el (frameset--make): Rename constructor from make-frameset.
9247 (frameset-p, frameset-valid-p): Don't autoload.
9248 (frameset-valid-p): Use normal accessors.
9250 2013-08-13 Glenn Morris <rgm@gnu.org>
9252 * progmodes/compile.el (compile-command): Tweak example in doc.
9253 * obsolete/scribe.el (scribe-mode):
9254 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9256 * mail/feedmail.el (feedmail-confirm-outgoing)
9257 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9259 * cus-start.el (truncate-partial-width-windows): Fix type.
9261 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9263 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9265 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * emacs-lisp/timer.el (timer--time-setter): New function.
9268 (timer--time): Use it as gv-setter.
9270 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9271 setter is not a symbol.
9273 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9275 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9276 if sending fails. This makes debugging easier.
9278 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9280 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9281 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9282 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9284 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9286 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9288 2013-08-12 Glenn Morris <rgm@gnu.org>
9290 * format.el (format-annotate-function):
9291 Handle read-only text properties in the source. (Bug#14887)
9293 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295 * net/eww.el (eww-display-html): Ignore coding system errors.
9296 One web site uses "utf-8lias" as the coding system.
9298 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9300 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9302 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9304 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9305 (tutorial--detailed-help): Remove unused local variables.
9306 (tutorial--save-tutorial-to): Use ignore-errors.
9307 (help-with-tutorial): Use looking-at-p.
9309 * view.el (view-buffer-other-window, view-buffer-other-frame):
9310 Mark unused arguments.
9312 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9313 (woman-select-symbol-fonts, woman, woman-find-file)
9314 (woman-insert-file-contents, woman-non-underline-faces):
9316 (woman1-unquote): Move declaration.
9318 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9319 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9320 argument. Remove unused local variable.
9321 (xml-parse-elem-type): Use string-match-p.
9322 (xml-substitute-numeric-entities): Use ignore-errors.
9324 * calculator.el (calculator): Mark unused argument.
9325 (calculator-paste, calculator-quit, calculator-integer-p):
9327 (calculator-string-to-number, calculator-decimal, calculator-exp)
9328 (calculator-op-or-exp): Use string-match-p.
9330 * dired.el (dired-buffer-more-recently-used-p): Declare.
9331 (dired-insert-set-properties, dired-insert-old-subdirs):
9334 * dired-aux.el (dired-compress): Use ignore-errors.
9335 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9336 (dired-do-async-shell-command, dired-do-shell-command)
9337 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9338 (dired-insert-subdir-validate): Use string-match-p.
9339 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9340 (dired-add-entry): Use string-match-p, looking-at-p.
9341 (dired-insert-subdir-newpos): Remove unused local variable.
9343 * filenotify.el (file-notify-callback): Remove unused local variable.
9345 * filesets.el (filesets-error): Mark unused argument.
9346 (filesets-which-command-p, filesets-filter-dir-names)
9347 (filesets-directory-files, filesets-get-external-viewer)
9348 (filesets-ingroup-get-data): Use string-match-p.
9350 * find-file.el (ff-other-file-name, ff-other-file-name)
9351 (ff-find-the-other-file, ff-cc-hh-converter):
9352 Remove unused local variables.
9353 (ff-get-file-name): Use string-match-p.
9354 (ff-all-dirs-under): Use ignore-errors.
9356 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9357 (follow-select-if-visible): Remove unused local variable.
9359 * forms.el (read-file-filter): Move declaration.
9360 (forms--make-format, forms--make-parser, forms-insert-record):
9361 Quote function with #'.
9362 (forms--update): Use string-match-p. Quote function with #'.
9364 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9365 (help-make-xrefs): Use looking-at-p.
9366 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9368 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9369 (ibuffer-confirm-operation-on): Use string-match-p.
9371 * msb.el (msb-item-handler, msb-dired-item-handler):
9372 Mark unused arguments.
9374 * ses.el (ses-decode-cell-symbol)
9375 (ses-kill-override): Remove unused local variable.
9376 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9377 (ses-load): Use ignore-errors, looking-at-p.
9378 (ses-jump-safe): Use ignore-errors.
9379 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9381 * tabify.el (untabify, tabify): Mark unused arguments.
9383 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9384 Mark unused argument.
9385 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9386 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9388 * emacs-lisp/timer.el (timer--time): Define setter with
9389 gv-define-setter to avoid deprecation warning.
9391 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9392 (*record-cmpl-statistics-p*): Remove (was commented out).
9393 (cmpl-statistics-block): Remove (body was commented out).
9394 All callers changed.
9395 (add-completions-from-buffer, load-completions-from-file):
9396 Remove unused variables.
9398 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9400 * filecache.el (file-cache-delete-file-list):
9401 Print message only when told so.
9402 (file-cache-files-matching): Use #' in mapconcat argument.
9404 * ffap.el (ffap-url-at-point): Fix reference to variable
9405 thing-at-point-default-mail-uri-scheme.
9407 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * subr.el (define-error): New function.
9410 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9411 error-file-not-found and define with define-error.
9412 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9413 and define with define-error.
9414 * userlock.el (file-locked, file-supersession):
9415 * simple.el (mark-inactive):
9416 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9417 * progmodes/ada-mode.el (ada-mode-errors):
9418 * play/life.el (life-extinct):
9419 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9420 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9421 * nxml/rng-util.el (rng-error):
9422 * nxml/rng-uri.el (rng-uri-error):
9423 * nxml/rng-match.el (rng-compile-error):
9424 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9425 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9426 * nxml/nxml-rap.el (nxml-scan-error):
9427 * nxml/nxml-outln.el (nxml-outline-error):
9428 * net/soap-client.el (soap-error):
9429 * net/gnutls.el (gnutls-error):
9430 * net/ange-ftp.el (ftp-error):
9431 * mpc.el (mpc-proc-error):
9432 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9433 (json-number-format, json-string-escape, json-string-format)
9434 (json-key-format, json-object-format):
9435 * jka-compr.el (compression-error):
9436 * international/quail.el (quail-error):
9437 * international/kkc.el (kkc-error):
9438 * emacs-lisp/ert.el (ert-test-failed):
9439 * calc/calc.el (calc-error, inexact-result, math-overflow)
9441 * bookmark.el (bookmark-error-no-filename):
9442 * epg.el (epg-error): Define with define-error.
9444 * time.el (display-time-event-handler)
9445 (display-time-next-load-average): Don't call sit-for since it seems
9446 unnecessary (bug#15045).
9448 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9449 Use #' instead of ' to quote functions.
9450 (checkdoc-output-mode): Use setq-local.
9451 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9452 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9453 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9454 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9455 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9456 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9457 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9458 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9460 * ido.el (ido-completion-help): Fix up compiler warning.
9462 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9464 * frameset.el (frameset-p): Add autoload cookie.
9465 (frameset--jump-to-register): New function, based on code moved from
9467 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9469 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9470 (frameset-restore, frameset-save, frameset-session-filter-alist):
9471 Remove declarations.
9472 (register-alist): Doc fix.
9473 (frameset-to-register): Move to frameset.el.
9474 (jump-to-register, describe-register-1): Remove frameset-specific code.
9476 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9478 * allout-widgets.el (allout-widgets-pre-command-business)
9479 (allout-widgets-post-command-business)
9480 (allout-widgets-after-change-handler)
9481 (allout-decorate-item-and-context, allout-set-boundary-marker)
9482 (allout-body-modification-handler)
9483 (allout-graphics-modification-handler): Mark ignored arguments.
9484 (allout-widgets-post-command-business)
9485 (allout-widgets-exposure-change-processor)
9486 (allout-widgets-exposure-undo-processor)
9487 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9488 (allout-parse-item-at-point, allout-decorate-item-guides)
9489 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9490 * allout.el (epa-passphrase-callback-function): Declare.
9491 (allout-overlay-insert-in-front-handler)
9492 (allout-overlay-interior-modification-handler)
9493 (allout-isearch-end-handler, allout-chart-siblings)
9494 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9495 (allout-yank-processing, allout-process-exposed)
9496 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9497 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9498 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9499 (lisp-indent-defform): Mark ignored arguments.
9500 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9501 (calculate-lisp-indent): Remove unused variables.
9502 * international/characters.el (indian-2-column, arabic-2-column)
9503 (tibetan): Mark ignored arguments.
9504 (use-cjk-char-width-table): Mark ignored arguments.
9505 Remove unused variables.
9506 * international/fontset.el (build-default-fontset-data)
9507 (x-compose-font-name, create-fontset-from-fontset-spec):
9508 Mark ignored arguments.
9509 (fontset-plain-name): Remove unused variables.
9510 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9511 (keyboard-coding-system): Mark ignored arguments.
9512 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9513 * help.el (resize-temp-buffer-window):
9514 * window.el (display-buffer-in-major-side-window)
9515 (display-buffer-in-side-window, display-buffer-in-previous-window):
9516 Remove unused variables.
9517 * isearch.el (isearch-forward-symbol):
9518 * version.el (emacs-bzr-version-bzr):
9519 * international/mule-cmds.el (current-language-environment):
9520 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9522 * term/pc-win.el (x-list-fonts, x-display-planes)
9523 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9524 (x-server-version, x-display-screens, x-display-mm-height)
9525 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9526 (x-selection-owner-p, x-own-selection-internal)
9527 (x-disown-selection-internal, x-get-selection-internal)
9528 (msdos-initialize-window-system):
9529 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9530 * term/x-win.el (x-handle-no-bitmap-icon):
9531 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9532 (vc-default-find-file-hook, vc-default-extra-menu):
9533 Mark ignored arguments.
9535 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9538 break-condition in the context of the debugged code (bug#12685).
9540 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9543 Do not use an overlay to highlight the last prompt. (Bug#14744)
9544 (comint-mode): Make comint-last-prompt buffer local.
9545 (comint-last-prompt): New variable.
9546 (comint-last-prompt-overlay): Remove. Superseded by
9548 (comint-snapshot-last-prompt, comint-output-filter):
9549 Use comint-last-prompt.
9551 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9553 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9554 (frameset-save): Check validity of the resulting frameset.
9556 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9558 * ido.el (ido-record-command): Add doc string.
9560 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9562 * frameset.el (frameset): Do not disable creation of the default
9563 frameset-p predicate. Doc fix.
9564 (frameset-valid-p): New function, copied from the old predicate-p.
9565 Add additional checks.
9566 (frameset-restore): Check with frameset-valid-p.
9567 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9568 (frameset-name, frameset-description, frameset-properties)
9569 (frameset-states): Add docstring.
9570 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9571 (frameset-filter-alist): Doc fixes.
9573 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9575 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9577 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9579 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9580 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9581 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9582 (byte-compile-normal-call): Remove obsolescence check.
9584 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9586 * frameset.el (frameset-restore): Doc fix.
9588 * register.el (frameset-frame-id, frameset-frame-with-id)
9589 (frameset-p, frameset-restore, frameset-save): Declare.
9590 (register-alist): Document framesets.
9591 (frameset-session-filter-alist): Declare.
9592 (frameset-to-register): New function.
9593 (jump-to-register): Implement jumping to framesets. Doc fix.
9594 (describe-register-1): Describe framesets.
9596 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9598 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9600 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9601 Use lexical-binding.
9603 * frameset.el (frameset): Use type vector, not list (incompatible
9604 change). Do not declare a new constructor, use the default one.
9605 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9606 `name' and `description', respectively, and add read-only slot
9607 `timestamp'. Doc fixes.
9608 (frameset-copy, frameset-persistent-filter-alist)
9609 (frameset-filter-alist, frameset-switch-to-gui-p)
9610 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9611 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9612 (frameset-filter-iconified, frameset-keep-original-display-p):
9614 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9615 Rename from frameset-filter-(save|restore)-param. All callers changed.
9617 (frameset-p): Adapt to change to vector and be more thorough.
9618 Change arg name to OBJECT. Doc fix.
9619 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9620 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9621 All callers changed.
9622 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9623 All callers changed.
9624 (frameset--record-minibuffer-relationships): Rename from
9625 frameset--process-minibuffer-frames. All callers changed.
9626 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9627 Use new default constructor (again). Doc fix.
9628 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9629 All callers changed.
9630 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9631 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9633 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9634 PARAMETERS and WINDOW-STATE, respectively.
9635 (frameset-restore): Add new keyword argument PREDICATE.
9636 Reset frameset--target-display to nil. Doc fix.
9638 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9640 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9642 (bat-mode-syntax-table): Mark \n as end-of-comment.
9643 (bat-font-lock-keywords): Remove comment rule.
9645 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9646 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9648 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9649 (byte-compile-callargs-warn): Use `push'.
9650 (byte-compile-arglist-warn): Ignore higher-order "calls".
9651 (byte-compile-file-form-autoload): Use `pcase'.
9652 (byte-compile-function-form): If quoting a symbol, check that it exists.
9654 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9656 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9657 and add a few popular commands found in batch files.
9658 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9659 (dos-mode): Doc fixes.
9661 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9663 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9664 (dos-mode): Use setq-local. Add space after "rem".
9665 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9666 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9668 2013-08-07 Arni Magnusson <arnima@hafro.is>
9670 * progmodes/dos.el: New file.
9671 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9674 2013-08-06 Glenn Morris <rgm@gnu.org>
9676 * calendar/calendar.el: Add new faces, and day-header-array.
9677 (calendar-weekday-header, calendar-weekend-header)
9678 (calendar-month-header): New faces.
9679 (calendar-day-header-construct): New function.
9680 (calendar-day-header-width): Also :set calendar-day-header-array.
9681 (calendar-american-month-header, calendar-european-month-header)
9682 (calendar-iso-month-header): Use calendar- faces.
9683 (calendar-generate-month):
9684 Use calendar-day-header-array for day headers; apply faces to them.
9685 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9686 (calendar-abbrev-construct): Add optional maxlen argument.
9687 (calendar-day-name-array): Doc fix.
9688 (calendar-day-name-array, calendar-abbrev-length)
9689 (calendar-day-abbrev-array):
9690 Also :set calendar-day-header-array, and maybe redraw.
9691 (calendar-day-header-array): New option. (Bug#15007)
9692 (calendar-font-lock-keywords): Set to nil and make obsolete.
9693 (calendar-day-name): Add option to use header array.
9695 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697 * net/shr.el (shr-render-td): Remove debugging.
9698 (shr-render-td): Make width computation consistent by defaulting
9699 all zero-width columns to 10 characters. This may not be optimal,
9700 but it's at least consistent.
9701 (shr-make-table-1): Redo last change to fix the real problem in
9704 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9706 * files.el (cache-long-line-scans):
9707 Make obsolete alias to `cache-long-scans'.
9709 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9711 * frameset.el (frameset, frameset-filter-alist)
9712 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9713 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9714 (frameset-compute-pos): Rename from frameset--compute-pos,
9716 (frameset-move-onscreen): Use frameset-compute-pos.
9717 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9719 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9720 Fix typos in docstrings.
9722 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9724 * frame.el (get-other-frame): Tiny cleanup.
9726 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9728 * vc/vc.el (vc-default-ignore-completion-table):
9729 Silence byte-compiler warning.
9731 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9732 slot, which can indeed be nil.
9733 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9734 Move entry for `left' from persistent to live filter alist.
9735 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9737 (frameset-filter-params): When restoring a frame, copy items added to
9738 `filtered', to avoid unwittingly modifying the original parameters.
9739 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9740 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9742 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9743 to use looking-at-p instead of looking-at. (Bug#15028)
9745 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9747 Revert introduction of isearch-filter-predicates (bug#14714).
9748 Rely on add-function instead.
9749 * isearch.el (isearch-filter-predicates): Rename it back to
9750 isearch-filter-predicate.
9751 (isearch-message-prefix): Use advice-function-mapc and advice
9752 properties to get the isearch-message-prefix.
9753 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9754 instead of run-hook-with-args-until-failure.
9755 (isearch-filter-visible): Not obsolete any more.
9756 * loadup.el: Preload nadvice.
9757 * replace.el (perform-replace): Revert to funcall
9758 instead of run-hook-with-args-until-failure.
9759 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9760 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9761 dired-isearch-filenames-toggle; make it into a proper minor mode.
9762 Use add/remove-function.
9763 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9764 Call the minor-mode rather than add/remove-hook.
9765 (dired-isearch-filter-filenames):
9766 Remove isearch-message-prefix property.
9767 * info.el (Info--search-loop): New function, extracted from Info-search.
9768 Funcall isearch-filter-predicate instead of
9769 run-hook-with-args-until-failure isearch-filter-predicates.
9770 (Info-search): Use it.
9771 (Info-mode): Use isearch-filter-predicate instead of
9772 isearch-filter-predicates.
9774 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9776 Do not call to `selected-window' where it is assumed by default.
9777 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9778 `window-hscroll', `window-width', `window-height', `window-buffer',
9779 `window-frame', `window-start', `window-point', `next-window'
9780 and `window-display-table'.
9781 * abbrev.el (abbrev--default-expand):
9782 * bs.el (bs--show-with-configuration):
9783 * buff-menu.el (Buffer-menu-mouse-select):
9784 * calc/calc.el (calc):
9785 * calendar/calendar.el (calendar-generate-window):
9786 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9788 * comint.el (send-invisible, comint-dynamic-complete-filename)
9789 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9790 * completion.el (complete):
9791 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9792 * disp-table.el (describe-current-display-table):
9793 * doc-view.el (doc-view-insert-image):
9794 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9795 * ehelp.el (with-electric-help):
9796 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9797 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9798 * emacs-lisp/helper.el (Helper-help-scroller):
9799 * emulation/cua-base.el (cua--post-command-handler-1):
9800 * eshell/esh-mode.el (eshell-output-filter):
9801 * ffap.el (ffap-gnus-wrapper):
9802 * help-macro.el (make-help-screen):
9803 * hilit-chg.el (highlight-compare-buffers):
9804 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9805 * hl-line.el (global-hl-line-highlight):
9806 * icomplete.el (icomplete-simple-completing-p):
9807 * isearch.el (isearch-done):
9808 * jit-lock.el (jit-lock-stealth-fontify):
9809 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9810 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9811 * mpc.el (mpc-tagbrowser, mpc):
9812 * net/rcirc.el (rcirc-any-buffer):
9813 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9814 * play/landmark.el (landmark-max-width, landmark-max-height):
9815 * play/zone.el (zone):
9816 * progmodes/compile.el (compilation-goto-locus):
9817 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9818 * progmodes/etags.el (find-tag-other-window):
9819 * progmodes/fortran.el (fortran-column-ruler):
9820 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9821 * progmodes/verilog-mode.el (verilog-point-text):
9822 * reposition.el (reposition-window):
9823 * rot13.el (toggle-rot13-mode):
9824 * server.el (server-switch-buffer):
9825 * shell.el (shell-dynamic-complete-command)
9826 (shell-dynamic-complete-environment-variable):
9827 * simple.el (insert-buffer, set-selective-display)
9828 (delete-completion-window):
9829 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9830 (speedbar-recenter):
9831 * startup.el (fancy-splash-head):
9832 * textmodes/ispell.el (ispell-command-loop):
9833 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9834 * tutorial.el (help-with-tutorial):
9835 * vc/add-log.el (add-change-log-entry):
9836 * vc/compare-w.el (compare-windows):
9837 * vc/ediff-help.el (ediff-indent-help-message):
9838 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9839 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9840 (ediff-setup-control-frame):
9841 * vc/emerge.el (emerge-position-region):
9842 * vc/pcvs-util.el (cvs-bury-buffer):
9843 * window.el (walk-windows, mouse-autoselect-window-select):
9844 * winner.el (winner-set-conf, winner-undo): Related users changed.
9846 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9848 * frameset.el (frameset--set-id): Doc fix.
9849 (frameset-frame-id, frameset-frame-id-equal-p)
9850 (frameset-locate-frame-id): New functions.
9851 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9852 (frameset-restore): Use them.
9854 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9856 Do not call to `selected-frame' where it is assumed by default.
9857 Affected functions are `raise-frame', `redraw-frame',
9858 `frame-first-window', `frame-terminal' and `delete-frame'.
9859 * calendar/appt.el (appt-disp-window):
9860 * epg.el (epg-wait-for-completion):
9861 * follow.el (follow-delete-other-windows-and-split)
9862 (follow-avoid-tail-recenter):
9863 * international/mule.el (set-terminal-coding-system):
9864 * mail/rmail.el (rmail-mail-return):
9865 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9866 * progmodes/f90.el (f90-add-imenu-menu):
9867 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9868 * server.el (server-switch-buffer):
9869 * simple.el (delete-completion-window):
9871 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9872 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9873 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9874 * vc/ediff.el (ediff-documentation): Related users changed.
9875 * frame.el (selected-terminal): Remove the leftover.
9877 2013-08-05 Glenn Morris <rgm@gnu.org>
9879 * calendar/calendar.el (calendar-generate-month):
9880 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9881 (calendar-generate-month, calendar-font-lock-keywords):
9882 Fix for calendar-day-header-width > length of any day name.
9884 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9886 * desktop.el (desktop-clear): Use new name of sort predicate.
9888 * frameset.el (frameset): Add docstring. Move :version property to its
9890 (frameset-copy): Rename from copy-frameset.
9891 (frameset-p): Check more thoroughly.
9892 (frameset-prop): Do not check for :version, which is no longer a prop.
9893 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9894 Use new :never value instead of t.
9895 (frameset-filter-alist): Expand and clarify docstring.
9896 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9897 (frameset-filter-minibuffer, frameset-filter-save-param)
9898 (frameset-filter-restore-param, frameset-filter-iconified):
9899 Add pointer to docstring of frameset-filter-alist.
9900 (frameset-filter-params): Rename filter values to be more meaningful:
9901 :never instead of t, and reverse the meanings of :save and :restore.
9902 (frameset--process-minibuffer-frames): Clarify error message.
9903 (frameset-save): Avoid unnecessary and confusing call to framep.
9904 Use new BOA constructor for framesets.
9905 (frameset--reuse-list): Doc fix.
9906 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9907 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9908 (frameset-minibufferless-first-p): Doc fix.
9909 Rename from frameset-sort-frames-for-deletion.
9910 (frameset-restore): Doc fixes. Use new function names.
9911 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9913 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9915 * desktop.el (desktop-restore-forces-onscreen)
9916 (desktop-restore-reuses-frames): Document :keyword constant values.
9917 (desktop-filter-parameters-alist): Remove, now identical to
9918 frameset-filter-alist.
9919 (desktop--filter-tty*): Remove, moved to frameset.el.
9920 (desktop-save-frameset, desktop-restore-frameset):
9921 Do not pass :filters argument.
9923 * frameset.el (frameset-live-filter-alist)
9924 (frameset-persistent-filter-alist): New variables.
9925 (frameset-filter-alist): Use them. Add autoload cookie.
9926 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9927 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9928 `frameset--id' (it's supposed to be internal to frameset.el).
9929 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9930 (frameset--initial-params): New function.
9931 (frameset--get-frame): Use it. Doc fix.
9932 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9933 Accept :all, not 'all.
9934 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9935 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9936 with fbound symbols. Fix frame id matching, and remove matching ids if
9937 the frame being restored is deleted. Obey :delete.
9939 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9941 * subr.el (macrop): New function.
9942 (text-clone--maintaining): New var.
9943 (text-clone--maintain): Rename from text-clone-maintain. Use it
9944 instead of inhibit-modification-hooks.
9946 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9947 a proxy, so as handle autoloads and redefinitions of the target.
9948 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9950 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9951 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9952 (pcase--mutually-exclusive-p): New function.
9953 (pcase--split-consp): Use it.
9954 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9955 mutually exclusive with the current predicate.
9957 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9958 (edebug-macrop): Remove. Use `macrop' instead.
9959 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9961 * eshell/esh-cmd.el (eshell-macrop):
9962 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9964 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9966 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9967 (advice-mapc): New function, using it.
9968 (advice-function-member-p): New function.
9969 (advice--normalize): Store the cdr in advice--saved-rewrite since
9970 that's the part that will be changed.
9971 (advice--symbol-function): New function.
9972 (advice-remove): Handle removal before the function is defined.
9973 Adjust to new advice--saved-rewrite.
9974 (advice-member-p): Use advice-function-member-p and
9975 advice--symbol-function.
9977 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9979 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9980 (frameset-filter-minibuffer): Doc fix.
9981 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9982 (frameset--set-id, frameset--process-minibuffer-frames)
9983 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9984 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9986 * desktop.el (desktop-clear): Only delete frames when called
9987 interactively and desktop-restore-frames is non-nil. Doc fix.
9988 (desktop-read): Set desktop-saved-frameset to nil.
9990 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9992 * vc/vc.el (vc-ignore): Rewrite.
9993 (vc-default-ignore-completion-table, vc--read-lines)
9994 (vc--add-line, vc--remove-regexp): New functions.
9996 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9997 (vc-svn-ignore-completion-table): New function.
9999 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10000 (vc-hg-ignore-completion-table)
10001 (vc-hg-find-ignore-file): New functions.
10003 * vc/vc-git.el (vc-git-ignore): Rewrite.
10004 (vc-git-ignore-completion-table)
10005 (vc-git-find-ignore-file): New functions.
10007 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10009 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10010 (vc-bzr-ignore-completion-table)
10011 (vc-bzr-find-ignore-file): New functions.
10013 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10015 * frameset.el (frameset-prop): New function and setter.
10016 (frameset-save): Do not modify frame list passed by the caller.
10018 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10022 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10025 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10027 * custom.el (custom-initialize-default, custom-initialize-set)
10028 (custom-initialize-reset, custom-initialize-changed): Affect the
10029 toplevel-default-value (bug#6275, bug#14586).
10030 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10033 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10035 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10036 Add cl-def* expressions.
10038 * frameset.el (frameset-filter-params): Fix order of arguments.
10040 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10042 Move code related to saving frames to frameset.el.
10043 * desktop.el: Require frameset.
10044 (desktop-restore-frames): Doc fix.
10045 (desktop-restore-reuses-frames): Rename from
10046 desktop-restoring-reuses-frames.
10047 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10048 (desktop-clear): Clear frames too.
10049 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10050 (desktop--filter-tty*, desktop-save, desktop-read):
10051 Use frameset functions.
10052 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10053 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10054 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10055 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10056 (desktop--process-minibuffer-frames, desktop-save-frames)
10057 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10058 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10059 (desktop--sort-states, desktop-restoring-frames-p)
10060 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10061 (desktop-restoring-frameset-p, desktop-restore-frameset)
10062 (desktop--check-dont-save, desktop-save-frameset): New functions.
10063 (desktop--app-id): New constant.
10064 (desktop-first-buffer, desktop-buffer-ok-count)
10065 (desktop-buffer-fail-count): Move before first use.
10066 * frameset.el: New file.
10068 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * files.el: Use lexical-binding.
10071 (dir-locals-read-from-file): Remove unused `err' variable.
10072 (hack-dir-local-variables--warned-coding): New var.
10073 (hack-dir-local-variables): Use it to avoid repeated warnings.
10074 (make-backup-file-name--default-function): New function.
10075 (make-backup-file-name-function): Use it as default.
10076 (buffer-stale--default-function): New function.
10077 (buffer-stale-function): Use it as default.
10078 (revert-buffer-insert-file-contents--default-function): New function.
10079 (revert-buffer-insert-file-contents-function): Use it as default.
10080 (insert-directory): Avoid add-to-list.
10082 * autorevert.el (auto-revert-handler): Simplify.
10083 Use buffer-stale--default-function.
10085 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10087 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10089 * whitespace.el (whitespace-ensure-local-variables): New function.
10090 (whitespace-cleanup-region): Call it.
10091 (whitespace-turn-on): Call it.
10093 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10095 Complete file name handlers.
10097 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10098 (tramp-handle-verify-visited-file-modtime)
10099 (tramp-handle-file-notify-rm-watch): New functions.
10100 (tramp-call-process): Do not bind `default-directory'.
10102 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10103 Order alphabetically.
10104 <access-file, add-name-to-file, dired-call-process>:
10105 <dired-compress-file, file-acl, file-notify-rm-watch>:
10106 <file-ownership-preserved-p, file-selinux-context>:
10107 <make-directory-internal, make-symbolic-link, set-file-acl>:
10108 <set-file-selinux-context, set-visited-file-modtime>:
10109 <verify-visited-file-modtime>: Add handler.
10110 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10112 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10113 <file-notify-add-watch, file-notify-rm-watch>:
10114 <set-file-times, set-visited-file-modtime>:
10115 <verify-visited-file-modtime>: Add handler.
10116 (with-tramp-gvfs-error-message)
10117 (tramp-gvfs-handle-set-visited-file-modtime)
10118 (tramp-gvfs-fuse-file-name): Remove.
10119 (tramp-gvfs-handle-file-notify-add-watch)
10120 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10121 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10123 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10124 Order alphabetically.
10125 <file-notify-rm-watch>: Use default Tramp handler.
10126 <executable-find>: Remove private handler.
10127 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10128 `default-directory'.
10129 (tramp-sh-handle-executable-find)
10130 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10131 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10132 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10133 Do not use `format' in `tramp-message'.
10135 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10136 <file-notify-rm-watch, set-visited-file-modtime>:
10137 <verify-visited-file-modtime>: Add handler.
10138 (tramp-smb-call-winexe): Do not bind `default-directory'.
10140 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10142 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10144 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10146 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10148 (log-view-diff-changeset): Same.
10149 (log-view-diff-common): Call backend command `previous-revision'
10150 to find out the previous revision, in both cases. Swap the
10151 variables `to' and `fr', so that `fr' usually refers to the
10152 earlier revision (Bug#14989).
10154 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10156 * ibuf-ext.el (ibuffer-filter-by-filename):
10157 Make it work with dired buffers too.
10159 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10161 * emacs-lisp/re-builder.el (reb-color-display-p):
10162 * files.el (save-buffers-kill-terminal):
10163 * net/browse-url.el (browse-url):
10164 * server.el (server-save-buffers-kill-terminal):
10165 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10166 Prefer nil to selected-frame for the first arg of frame-parameter.
10168 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10170 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10172 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10174 * minibuffer.el (completion--twq-all): Try and preserve each
10175 completion's case choice (bug#14907).
10177 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10179 * net/network-stream.el (open-network-stream): Mention the new
10180 :nogreeting parameter.
10181 (network-stream-open-starttls): Use the :nogreeting parameter
10184 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10186 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10187 more natural than popping.
10189 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10190 (shr-urlify): Highlight under mouse.
10192 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10194 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10196 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10198 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10201 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10202 point-min==1. Fix search string. Fix parentheses missing.
10204 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10205 assume point-min==1. Fix search string. Fix parentheses missing.
10207 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10209 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10212 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10214 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10215 initial frame is minibuffer-less. (Bug#14841)
10217 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10219 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10222 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10223 (tramp-maybe-open-connection): Use it.
10225 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10227 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10228 minimal set of parameters passed when creating a frame, because
10229 the minibuffer status of a frame cannot be changed later.
10231 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10233 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10234 replace-regexp-in-string and inadvertent omissions in previous change.
10235 (todo-filter-items): Ensure only file names are comma-separated in
10236 name of filtered items buffer.
10238 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10240 * desktop.el: Optionally force offscreen frames back onscreen.
10241 (desktop-restoring-reuses-frames): New option.
10242 (desktop--compute-pos, desktop--move-onscreen): New functions.
10243 (desktop--make-frame): Use desktop--move-onscreen.
10245 2013-07-27 Alan Mackenzie <acm@muc.de>
10247 Fontify a Java generic method as a function.
10248 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10251 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10253 * calendar/todo-mode.el: Add command to rename todo files.
10254 (todo-rename-file): New command.
10255 (todo-key-bindings-t): Add key binding for it. Change the
10256 bindings of todo-filter-regexp-items(-multifile) to use `x'
10257 instead of `r', since the latter is better suited to the new
10260 2013-07-27 Alan Mackenzie <acm@muc.de>
10262 Make Java try-with-resources statement parse properly.
10263 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10264 (c-block-stmt-1-2-key): New language constants/variables.
10265 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10266 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10267 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10268 with c-block-stmt-1-2-key.
10270 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10272 * desktop.el (desktop--make-frame): Apply most frame parameters after
10273 creating the frame to force (partially or totally) offscreen frames to
10274 be restored as such.
10276 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10278 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10281 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10283 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10284 `base' arg of backtrace-frame.
10286 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10288 * simple.el (list-processes): Doc fix.
10290 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10292 * desktop.el (desktop--select-frame):
10293 Try harder to reuse existing frames.
10295 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10297 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10298 (edebug-eval): Use backtrace-eval.
10299 (edebug--display, edebug--recursive-edit): Don't let-bind the
10300 edebug-outer-* vars that keep track of variables we locally let-bind.
10301 (edebug-outside-excursion): Don't restore outside values of locally
10303 (edebug--display): Use user-error.
10304 (cl-lexical-debug, cl-debug-env): Remove.
10306 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10308 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10309 are restored to be sure that they are visible before deleting any
10312 2013-07-26 Matthias Meulien <orontee@gmail.com>
10314 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10315 vc-print-root-log. (Bug#14948)
10317 2013-07-26 Richard Stallman <rms@gnu.org>
10319 Add aliases for encrypting mail.
10320 * epa.el (epa-mail-aliases): New option.
10321 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10322 Bind inhibit-read-only so read-only text doesn't ruin everything.
10323 (epa-mail-default-recipients): New subroutine broken out.
10324 Handle epa-mail-aliases.
10326 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10328 Add support for lexical variables to the debugger's `e' command.
10329 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10330 vars, except for debugger-outer-match-data.
10331 (debugger-frame-number): Move check for "on a function call" from
10332 callers into it. Add `skip-base' argument.
10333 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10334 (debugger-env-macro): Only reset the state stored in non-variables,
10335 i.e. current-buffer and match-data.
10336 (debugger-eval-expression): Rewrite using backtrace-eval.
10337 * subr.el (internal--called-interactively-p--get-frame): Remove.
10338 (called-interactively-p):
10339 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10340 `base' arg of backtrace-frame instead.
10342 2013-07-26 Glenn Morris <rgm@gnu.org>
10344 * align.el (align-regexp): Doc fix. (Bug#14857)
10345 (align-region): Explicit error if subexpression missing/does not match.
10347 * simple.el (global-visual-line-mode):
10348 Do not duplicate the mode lighter. (Bug#14858)
10350 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10352 * window.el (display-buffer): In display-buffer bind
10353 split-window-keep-point to t, bug#14829.
10355 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10357 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10358 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10359 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10360 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10361 Change accordingly.
10362 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10363 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10365 2013-07-25 Glenn Morris <rgm@gnu.org>
10367 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10369 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10371 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10372 parameter to modify-frame-parameters if the value has not changed;
10373 this is a workaround for bug#14949.
10374 (desktop--make-frame): On cl-delete-if call, check parameter name,
10375 not full parameter.
10377 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10379 * vc/vc.el (vc-ignore): New function.
10381 * vc/vc-svn.el (vc-svn-ignore): New function.
10383 * vc/vc-hg.el (vc-hg-ignore): New function.
10385 * vc/vc-git.el (vc-git-ignore): New function.
10387 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10388 (vc-dir-ignore): New function.
10390 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10391 (cvs-append-to-ignore): Move here from pcvs.el.
10393 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10395 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10397 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10399 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10400 (desktop-restore-frames): Warn when deleting an existing frame failed.
10402 2013-07-24 Glenn Morris <rgm@gnu.org>
10404 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10406 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10408 * filenotify.el (file-notify-supported-p):
10409 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10412 * autorevert.el (auto-revert-use-notify)
10413 (auto-revert-notify-add-watch):
10414 * net/tramp.el (tramp-file-name-for-operation):
10415 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10417 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10418 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10419 Remove `file-notify-supported-p' entry.
10421 2013-07-24 Glenn Morris <rgm@gnu.org>
10423 * printing.el: Replace all uses of deleted ps-windows-system,
10424 ps-lp-system, ps-flatten-list with lpr- versions.
10426 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10428 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10429 checked with memq (bug#14935).
10431 * files.el (revert-buffer-function): Use a non-nil default.
10432 (revert-buffer-preserve-modes): Declare var to
10433 provide access to the `preserve-modes' argument.
10434 (revert-buffer): Let-bind it.
10435 (revert-buffer--default): New function, extracted from revert-buffer.
10437 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * lpr.el: Signal print errors more prominently.
10440 (print-region-function): Don't default to nil.
10441 (lpr-print-region): New function, extracted from print-region-1.
10442 Check lpr's return value and signal an error in case of problem.
10443 (print-region-1): Use it.
10444 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10446 (ps-printer-name): Default to nil.
10447 (ps-printer-name-option): Default to lpr-printer-switch.
10448 (ps-print-region-function): Don't default to nil.
10449 (ps-postscript-code-directory): Simplify default.
10450 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10451 (ps-string-list, ps-eval-switch, ps-flatten-list)
10452 (ps-flatten-list-1): Remove.
10453 (ps-multibyte-buffer): Avoid setq.
10454 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10455 (print-region-function, ps-print-region-function): Don't set them here.
10457 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10459 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10460 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10461 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10462 (ido-decorations): Doc fix.
10464 * ansi-color.el: Fix old URL.
10466 2013-07-23 Michael R. Mauger <michael@mauger.com>
10468 * progmodes/sql.el: Version 3.3
10469 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10470 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10471 (sql-interactive-remove-continuation-prompt): Rewrite, use
10472 functions above. Fix continuation prompt and complete output line
10474 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10475 redirected output buffer.
10476 (sql-mode): Restore deleted code (Bug#13591).
10478 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10480 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10482 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10484 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10488 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10490 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10492 * desktop.el (desktop-clear): Simplify; remove useless checks
10493 against invalid buffer names.
10494 (desktop-list*): Use cl-list*.
10495 (desktop-buffer-info, desktop-create-buffer): Simplify.
10497 2013-07-23 Leo Liu <sdl.web@gmail.com>
10499 * bookmark.el (bookmark-make-record): Restore NAME as a default
10502 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10504 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10505 extracted from autoload--insert-text.
10506 (autoload--insert-text): Remove.
10507 (autoload--print-cookie-text): New function, extracted from
10508 autoload--insert-cookie-text.
10509 (autoload--insert-cookie-text): Remove.
10510 (autoload-generate-file-autoloads): Adjust calls accordingly.
10512 * winner.el (winner-hook-installed-p): Remove.
10513 (winner-mode): Simplify accordingly.
10515 * subr.el (add-to-list): Fix compiler-macro when `append' is
10516 not constant. Don't use `cl-member' for the base case.
10518 * progmodes/subword.el: Fix boundary case (bug#13758).
10519 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10521 (subword-backward-regexp): Make it a constant.
10522 (subword-forward-internal): Don't treat a trailing capital as the
10523 beginning of a word.
10525 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10527 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10528 global value of tabulated-list-revert-hook (bug#14930).
10530 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10532 * desktop.el: Require 'cl-lib.
10533 (desktop-before-saving-frames-functions): New hook.
10534 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10535 for frames being saved. Rename from desktop--save-minibuffer-frames.
10536 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10537 Do not save frames with non-nil `desktop-dont-save' parameter.
10538 Filter out deleted frames.
10539 (desktop--find-frame): Use cl-find-if.
10540 (desktop--select-frame): Use cl-(first|second|third) to access values
10542 (desktop--make-frame): Use cl-delete-if.
10543 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10544 (desktop-restore-frames): Use cl-(first|second|third) to access values
10545 of desktop-mini. Look for visible frame at the end, not while
10548 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10549 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10550 Use string-match-p, looking-at-p (bug#14927).
10552 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10554 * desktop.el (desktop-saved-frame-states):
10555 Rename from desktop--saved-states; all users changed.
10556 (desktop-save-frames): Rename from desktop--save-frames.
10557 Do not save state to desktop file.
10558 (desktop-save): Save desktop-saved-frame-states to desktop file
10560 (desktop-restoring-frames-p): New function.
10561 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10562 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10563 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10565 * desktop.el: Correctly restore iconified frames.
10566 (desktop--filter-iconified-position): New function.
10567 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10569 2013-07-20 Glenn Morris <rgm@gnu.org>
10571 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10572 Let `message' do the formatting.
10573 (def-gdb-preempt-display-buffer): Add explicit format.
10575 * image-dired.el (image-dired-track-original-file):
10576 Use with-current-buffer.
10577 (image-dired-track-thumbnail): Use with-current-buffer.
10578 Avoid changing point of wrong window.
10580 * image-dired.el (image-dired-track-original-file):
10581 Avoid changing point of wrong window. (Bug#14909)
10583 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10585 * progmodes/gdb-mi.el (gdb-done-or-error):
10586 Guard against "%" in gdb output. (Bug#14127)
10588 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10590 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10593 * international/mule.el (coding-system-iso-2022-flags): Fix last
10596 2013-07-20 Kenichi Handa <handa@gnu.org>
10598 * international/mule.el (coding-system-iso-2022-flags):
10599 Add `8-bit-level-4'. (Bug#8522)
10601 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10603 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10606 * net/eww.el (eww-process-text-input): Allow inputting when the
10607 point is at the start of the line, as the properties aren't
10610 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10613 2013-07-19 Richard Stallman <rms@gnu.org>
10615 * epa.el (epa-popup-info-window): Doc fix.
10617 * subr.el (split-string): New arg TRIM.
10619 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10621 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10622 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10624 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10626 * filenotify.el (file-notify--library): Rename from
10627 `file-notify-support'. Do not autoload. Adapt all uses.
10628 (file-notify-supported-p): New defun.
10630 * autorevert.el (auto-revert-use-notify):
10631 Use `file-notify-supported-p' instead of `file-notify-support'.
10633 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10635 * net/tramp.el (tramp-file-name-for-operation):
10636 Add `file-notify-supported-p'.
10638 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10640 (tramp-sh-file-name-handler-alist): Add it as handler for
10641 `file-notify-supported-p '.
10643 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10646 Add `ignore' as handler for `file-notify-*' functions.
10648 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10650 * simple.el (line-move-partial, line-move): Don't start vscroll or
10651 scroll-up if the current line is not taller than the window.
10654 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10656 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10657 highlight question marks in the method names as strings.
10658 (ruby-block-beg-keywords): Inline.
10659 (ruby-font-lock-keyword-beg-re): Extract from
10660 `ruby-font-lock-keywords'.
10662 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10664 * frame.el (blink-cursor-blinks): New defcustom.
10665 (blink-cursor-blinks-done): New defvar.
10666 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10667 (blink-cursor-timer-function): Check if number of blinks has been
10669 (blink-cursor-suspend, blink-cursor-check): New defuns.
10671 2013-07-15 Glenn Morris <rgm@gnu.org>
10673 * edmacro.el (edmacro-format-keys): Fix previous change.
10675 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10677 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10678 The hack didn't work outside English locales anyway.
10680 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10682 * simple.el (define-alternatives): Rename from alternatives-define,
10683 per RMS' suggestion.
10685 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10687 * desktop.el (desktop-restore-frames): Change default to t.
10688 (desktop-restore-in-current-display): Now offer more options.
10689 (desktop-restoring-reuses-frames): New customization option.
10690 (desktop--saved-states): Doc fix.
10691 (desktop-filter-parameters-alist): New variable, renamed and expanded
10692 from desktop--excluded-frame-parameters.
10693 (desktop--target-display): New variable.
10694 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10695 (desktop--filter-tty*, desktop--filter-*-color)
10696 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10697 (desktop--filter-save-desktop-parm)
10698 (desktop-restore-in-original-display-p): New functions.
10699 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10700 (desktop--save-minibuffer-frames): New function, inspired by a similar
10701 function from Martin Rudalics.
10702 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10703 (desktop--restore-in-this-display-p): Remove.
10704 (desktop--find-frame): Rename from desktop--find-frame-in-display
10705 and add predicate argument.
10706 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10707 (desktop--reuse-list): New variable.
10708 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10710 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10712 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10714 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10716 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10718 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10719 Highlight conversion methods on Kernel.
10721 2013-07-13 Alan Mackenzie <acm@muc.de>
10723 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10724 and comment it out. This out-commenting enables certain C++
10725 declarations to be parsed correctly.
10727 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10729 * international/mule.el (define-coding-system): Doc fix.
10731 * simple.el (default-font-height): Don't call font-info if the
10732 frame's default font didn't change since the frame was created.
10735 2013-07-13 Leo Liu <sdl.web@gmail.com>
10737 * ido.el (ido-read-file-name): Guard against non-symbol value.
10739 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10741 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10744 2013-07-13 Leo Liu <sdl.web@gmail.com>
10746 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10747 ido-set-matches call. (Bug#6852)
10749 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10751 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10752 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10754 (ruby-font-lock-keywords): Distinguish calls to functions with
10755 module-like names from module references. Highlight character
10758 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10760 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10761 (gdb-send): Handle continued commands. (Bug#14847)
10763 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10765 * desktop.el (desktop--v2s): Remove unused local variable.
10766 (desktop-save-buffer): Make defvar-local; adjust docstring.
10767 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10768 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10770 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10772 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10774 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10776 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10779 2013-07-12 Glenn Morris <rgm@gnu.org>
10781 * doc-view.el: Require cl-lib at runtime too.
10782 (doc-view-remove-if): Remove.
10783 (doc-view-search-next-match, doc-view-search-previous-match):
10786 * edmacro.el: Require cl-lib at runtime too.
10787 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10788 (edmacro-mismatch, edmacro-subseq): Remove.
10790 * shadowfile.el: Require cl-lib.
10791 (shadow-remove-if): Remove.
10792 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10795 * wid-edit.el: Require cl-lib.
10796 (widget-choose): Use cl-remove-if.
10797 (widget-remove-if): Remove.
10799 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10800 (ebrowse-delete-if-not): Remove.
10801 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10802 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10803 Use cl-delete-if-not.
10805 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10807 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10808 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10810 2013-07-12 Leo Liu <sdl.web@gmail.com>
10812 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10814 2013-07-11 Glenn Morris <rgm@gnu.org>
10816 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10817 (edebug-gensym-index, edebug-gensym):
10818 Remove reimplementation of cl-gensym.
10819 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10821 * thumbs.el: Require cl-lib at run-time too.
10822 (thumbs-gensym-counter, thumbs-gensym):
10823 Remove reimplementation of cl-gensym.
10824 (thumbs-temp-file): Use cl-gensym.
10826 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10827 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10828 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10829 (ert--union, ert--gensym-counter, ert--gensym-counter)
10830 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10831 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10832 (ert-make-test-unbound, ert--expand-should-1)
10833 (ert--expand-should, ert--should-error-handle-error)
10834 (should-error, ert--explain-equal-rec)
10835 (ert--plist-difference-explanation, ert-select-tests)
10836 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10837 Use cl-lib functions rather than reimplementations.
10839 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10841 * net/tramp.el (tramp-methods): Extend docstring.
10842 (tramp-connection-timeout): New defcustom.
10843 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10844 (with-tramp-progress-reporter): Simplify.
10845 (tramp-process-actions): Improve messages.
10847 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10848 * net/tramp-sh.el (tramp-maybe-open-connection):
10849 Use `tramp-connection-timeout'.
10850 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10853 2013-07-11 Leo Liu <sdl.web@gmail.com>
10855 * ido.el (ido-read-file-name): Conform to the requirements of
10856 read-file-name. (Bug#11861)
10857 (ido-read-directory-name): Conform to the requirements of
10858 read-directory-name.
10860 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10862 * subr.el (delay-warning): New function.
10864 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10866 * simple.el (default-line-height): New function.
10867 (line-move-partial, line-move): Use it instead of computing the
10868 line height inline.
10869 (line-move-partial): Always compute ROWH. If the last line is
10870 partially-visible, but its text is completely visible, allow
10871 cursor to enter such a partially-visible line.
10873 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10875 Improve error messages. (Bug#14808)
10877 * net/tramp.el (tramp-current-connection): New defvar, moved from
10879 (tramp-message-show-progress-reporter-message): Remove, not
10881 (tramp-error-with-buffer): Show message in minibuffer.
10882 Discard input before waiting. Reset connection timestamp.
10883 (with-tramp-progress-reporter): Improve messages.
10884 (tramp-process-actions): Use progress reporter. Delete process in
10885 case of error. Improve messages.
10887 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10888 Call `tramp-error-with-buffer' with vector and buffer.
10889 (tramp-current-connection): Remove.
10890 (tramp-maybe-open-connection): The car of
10891 `tramp-current-connection' are the first 3 slots of the vector.
10893 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10895 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10896 inside continued strings.
10898 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10900 Timestamp fixes for undo (Bug#14824).
10901 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10903 2013-07-10 Leo Liu <sdl.web@gmail.com>
10905 * files.el (require-final-newline): Allow safe local value.
10908 2013-07-09 Leo Liu <sdl.web@gmail.com>
10910 * ido.el (ido-read-directory-name): Handle fallback.
10911 (ido-read-file-name): Update DIR to ido-current-directory.
10913 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10915 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10917 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10918 "autoload". Remove "warn lower camel case" section, previously
10919 commented out. Highlight negation char. Do not highlight the
10920 target in singleton method definitions.
10922 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10924 * faces.el (tty-setup-hook): Declare the hook.
10926 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10927 and detect when a guard/pred depends on local vars (bug#14773).
10928 (pcase--u1): Adjust caller.
10930 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10932 * simple.el (line-move-partial, line-move): Account for
10934 (line-move-partial): Avoid setting vscroll when the last
10935 partially-visible line in window is of default height.
10937 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10939 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10942 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10944 * subr.el (read-quoted-char): Remove unused local variable `char'.
10946 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10948 * ediff.el (ediff-version): Version update.
10949 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10950 (ediff-merge-with-ancestor-command, ediff-directories-command)
10951 (ediff-directories3-command, ediff-merge-directories-command)
10952 (ediff-merge-directories-with-ancestor-command): New functions.
10953 All are command-line interfaces to ediff: to facilitate calling
10954 Emacs with the appropriate ediff functions invoked.
10956 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10957 (viper-save-kill-buffer): Check if buffer is modified.
10959 * viper.el (viper-version): Version update.
10960 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10962 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10964 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10965 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10966 (viper-intercept-ESC-key): Simplify.
10967 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10968 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10969 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10970 (viper-setup-ESC-to-escape): New functions.
10971 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10972 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10974 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10976 * simple.el (default-font-height, window-screen-lines):
10978 (line-move, line-move-partial): Use them instead of
10979 frame-char-height and window-text-height. This makes scrolling
10980 text smoother when the buffer's default face uses a font that is
10981 different from the frame's default font.
10983 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10985 * files.el (write-file): Do not display confirm dialog for NS,
10986 it does its own dialog, which can't be canceled (Bug#14578).
10988 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10990 * simple.el (line-move-partial): Adjust the row returned by
10991 posn-at-point for the current window-vscroll. (Bug#14567)
10993 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10995 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10996 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10999 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11001 * window.el (window-state-put-stale-windows): New variable.
11002 (window--state-put-2): Save list of windows without matching buffer.
11003 (window-state-put): Remove "bufferless" windows if possible.
11005 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11007 * simple.el (alternatives-define): Remove leftover :group keyword.
11010 2013-07-06 Leo Liu <sdl.web@gmail.com>
11012 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11013 (ido-enable-virtual-buffers): New variable.
11014 (ido-buffer-internal, ido-toggle-virtual-buffers)
11015 (ido-make-buffer-list): Use it.
11016 (ido-exhibit): Support turning on and off virtual buffers
11019 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11021 * simple.el (alternatives-define): New macro.
11023 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * subr.el (read-quoted-char): Use read-key.
11026 (sit-for): Let read-event decode tty input (bug#14782).
11028 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11030 * calendar/todo-mode.el: Add handling of file deletion, both by
11031 mode command and externally. Fix various related bugs.
11032 Clarify Commentary and improve some documentation strings and code.
11033 (todo-delete-file): New command.
11034 (todo-check-file): New function.
11035 (todo-show): Handle external deletion of the file we're trying to
11036 show (bug#14688). Replace called-interactively-p by an optional
11037 prefix argument to avoid problematic interaction with catch form
11038 when byte compiled (bug#14702).
11039 (todo-quit): Handle external deletion of the archive's todo file.
11040 Make sure the buffer that was visiting the archive file is still
11041 live before trying to bury it.
11042 (todo-category-completions): Handle external deletion of any
11043 category completion files.
11044 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11045 of todo files, in case of external deletion.
11046 (todo-add-file): Replace unnecessary setq by let-binding.
11047 (todo-find-archive): Check whether there are any archives.
11048 Replace unnecessary setq by let-binding.
11049 (todo-archive-done-item): Use find-file-noselect to get the
11050 archive buffer whether or not the archive already exists.
11051 Remove superfluous code. Use file size instead of buffer-file-name to
11052 check if the archive is new; if it is, update list of archives.
11053 (todo-default-todo-file): Allow nil to be a valid value for when
11054 there are no todo files.
11055 (todo-reevaluate-default-file-defcustom): Use corrected definition
11056 of todo-default-todo-file.
11057 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11058 (todo-delete-category, todo-show-categories-table)
11059 (todo-category-number): Clarify comment.
11060 (todo-filter-items): Clarify documentation string.
11061 (todo-show-current-file, todo-display-as-todo-file)
11062 (todo-reset-and-enable-done-separator): Tweak documentation string.
11063 (todo-done-separator): Make separator length window-width, since
11064 bug#2749 is now fixed.
11066 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11068 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11069 Support both "gvfs-monitor-dir" and "inotifywait".
11070 (tramp-sh-file-inotifywait-process-filter): Rename from
11071 `tramp-sh-file-notify-process-filter'.
11072 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11073 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11075 2013-07-05 Leo Liu <sdl.web@gmail.com>
11077 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11079 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11081 * frame.el (display-pixel-height, display-pixel-width)
11082 (display-mm-height, display-mm-width): Mention behavior on
11083 multi-monitor setups in docstrings.
11084 (w32-display-monitor-attributes-list): Declare function.
11085 (display-monitor-attributes-list): Use it.
11087 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11089 * filenotify.el: New package.
11091 * autorevert.el (top): Require filenotify.el.
11092 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11094 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11095 (auto-revert-notify-handler): Use `file-notify-*' functions.
11097 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11099 * net/tramp.el (tramp-file-name-for-operation):
11100 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11102 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11103 for `file-notify-add-watch' and `file-notify-rm-watch'.
11104 (tramp-process-sentinel): Improve trace.
11105 (tramp-sh-handle-file-notify-add-watch)
11106 (tramp-sh-file-notify-process-filter)
11107 (tramp-sh-handle-file-notify-rm-watch)
11108 (tramp-get-remote-inotifywait): New defuns.
11110 2013-07-03 Juri Linkov <juri@jurta.org>
11112 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11113 call of `occur-read-primary-args' to interactive spec.
11115 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11116 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11118 2013-07-03 Matthias Meulien <orontee@gmail.com>
11120 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11121 `Buffer-menu-multi-occur'. Add it to the menu.
11122 (Buffer-menu-mode): Document it in docstring.
11123 (Buffer-menu-multi-occur): New command. (Bug#14673)
11125 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11128 keywords and built-ins.
11130 2013-07-03 Glenn Morris <rgm@gnu.org>
11132 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11134 Make info-xref checks case-sensitive by default
11135 * info.el (Info-find-node, Info-find-in-tag-table)
11136 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11137 Add option for exact case matching of nodes.
11138 * info-xref.el (info-xref): New custom group.
11139 (info-xref-case-fold): New option.
11140 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11142 2013-07-03 Leo Liu <sdl.web@gmail.com>
11144 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11146 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11148 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11149 middle of block statement initially, lower the depth. Remove
11150 FIXME comment, not longer valid. Remove middle of block statement
11151 detection, no need to do that anymore since we've been using
11152 `ruby-parse-region' here.
11154 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11156 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11158 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11160 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11162 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11164 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11165 (desktop-restore-in-current-display): New customization option.
11166 (desktop--excluded-frame-parameters): Add `font'.
11167 (desktop--save-frames): Rename from desktop--save-windows.
11168 (desktop--restore-in-this-display-p): New function.
11169 (desktop--make-full-frame): Remove unwanted width/height from
11170 full(width|height) frames.
11171 (desktop--restore-frames): Rename from desktop--restore-windows.
11172 Obey desktop-restore-current-display. Do not delete old frames or
11173 select a new frame unless we were able to restore at least one frame.
11175 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11177 * files.el (find-file-noselect): Simplify conditional expression.
11179 * textmodes/remember.el (remember-append-to-file):
11180 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11182 Add `remember-notes' function to store random notes across Emacs
11184 * textmodes/remember.el (remember-data-file): Add :set callback to
11185 affect notes buffer (if any).
11186 (remember-notes): New command.
11187 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11188 New defcustoms for the `remember-notes' function.
11189 (remember-notes-save-and-bury-buffer): New command.
11190 (remember-notes-mode-map): New variable.
11191 (remember-mode): New minor mode.
11192 (remember-notes--kill-buffer-query): New function.
11193 * startup.el (initial-buffer-choice): Add notes to custom type.
11195 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11197 * bindings.el (right-char, left-char): Don't call sit-for, this is
11198 no longer needed. Use arithmetic comparison only for numerical
11201 * international/mule-cmds.el (select-safe-coding-system):
11202 Handle the case of FROM being a string correctly. (Bug#14755)
11204 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11206 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11207 progression on degenerate tables.
11208 (shr-rescale-image): ImageMagick animated images currently don't work.
11210 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11212 Some fixes and improvements for desktop frame restoration.
11213 It is still experimental and disabled by default.
11214 * desktop.el (desktop--save-windows): Put the selected frame at
11215 the head of the list.
11216 (desktop--make-full-frame): New function.
11217 (desktop--restore-windows): Try to re-select the frame that was
11218 selected upon saving. Do not abort if some frames fail to restore,
11219 just show an error message and continue. Set up maximized frames
11220 so they have default non-maximized dimensions.
11222 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11224 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11225 Don't start heredoc inside a string or comment.
11227 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11229 * bindings.el (visual-order-cursor-movement): New defcustom.
11230 (right-char, left-char): Provide visual-order cursor motion by
11231 calling move-point-visually. Update the doc strings.
11233 2013-06-28 Kenichi Handa <handa@gnu.org>
11235 * international/mule.el (define-coding-system): New coding system
11236 properties :inhibit-null-byte-detection,
11237 :inhibit-iso-escape-detection, and :prefer-utf-8.
11238 (set-buffer-file-coding-system): If :charset-list property of
11239 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11240 appropriate for setting.
11242 * international/mule-cmds.el (select-safe-coding-system):
11243 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11244 multibyte characters, return utf-8 (or one of its siblings).
11246 * international/mule-conf.el (prefer-utf-8): New coding system.
11247 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11250 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11252 * net/shr.el (shr-render-region): New function.
11254 * net/eww.el: Autoload `eww-browse-url'.
11256 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11258 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11259 Adapt to `package-desc-version' being a list.
11260 Use `package--ac-desc-version' to retrieve version from a package
11263 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11265 New experimental feature to save&restore window and frame setup.
11266 * desktop.el (desktop-save-windows): New defcustom.
11267 (desktop--saved-states): New var.
11268 (desktop--excluded-frame-parameters): New defconst.
11269 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11270 (desktop--restore-windows, desktop--save-windows): New functions.
11271 (desktop-save): Call `desktop--save-windows'.
11272 (desktop-read): Call `desktop--restore-windows'.
11274 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276 * net/shr.el (add-face-text-property): Remove compat definition.
11278 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11280 * info.el (Info-try-follow-nearest-node): Move search for footnote
11281 above search for node name to prevent missing a footnote (bug#14717).
11283 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11285 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11287 2013-06-27 Leo Liu <sdl.web@gmail.com>
11289 * net/eww.el (eww-read-bookmarks): Check file size.
11291 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11293 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11294 advice--pending if newdef is nil or an autoload (bug#13820).
11295 (advice-mapc): New function.
11297 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11299 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11301 (eww-mode-map): Add a menu bar.
11302 (eww-add-bookmark): New command.
11303 (eww-bookmark-mode): New mode and commands.
11304 (eww-add-bookmark): Remove newlines from the title.
11305 (eww-bookmark-browse): Don't bug out if it's the only window.
11307 2013-06-26 Glenn Morris <rgm@gnu.org>
11309 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11310 (hfy-size): Handle ttys. (Bug#14668)
11312 * info-xref.el: Update for Texinfo 5 change in *note format.
11313 (info-xref-node-re, info-xref-note-re): New constants.
11314 (info-xref-check-buffer): Use info-xref-note-re.
11316 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11318 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11320 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11321 nil terminate the loop (bug#14718).
11323 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11325 * net/eww.el: Rework history traversal. When going forward/back,
11326 put these actions into the history, too, so that they can be
11328 (eww-render): Move the history reset to the correct buffer.
11330 2013-06-25 Juri Linkov <juri@jurta.org>
11332 * files-x.el (modify-dir-local-variable): Change the header comment
11333 in the file with directory local variables. (Bug#14692)
11335 * files-x.el (read-file-local-variable-value): Add `default'.
11338 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11340 * net/eww.el (eww-make-unique-file-name): Create a unique file
11341 name before saving to entering `y' accidentally asynchronously.
11343 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11345 * net/eww.el (eww-download): New command and keystroke.
11347 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11349 * net/eww.el (eww-copy-page-url): Change name of command.
11351 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11352 be more consistent with Info and dired.
11354 * net/eww.el (eww-mode-map): Ditto.
11356 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11359 packages from archives.
11360 (package-archive-contents): Change format; include obsolete packages.
11361 (package-desc): Use `dir' to mark builtin packages.
11362 (package--from-builtin): Set the `dir' field to `builtin'.
11363 (generated-autoload-file, version-control): Declare.
11364 (package-compute-transaction): Change first arg and return value to be
11365 lists of package-descs. Adjust to new package-archive-contents format.
11366 (package--add-to-archive-contents): Adjust to new
11367 package-archive-contents format.
11368 (package-download-transaction): Arg is now a list of package-descs.
11369 (package-install): If `pkg' is a package name, pass it as
11370 a requirement, so it is subject to the usual (e.g. disabled) checks.
11371 (describe-package): Accept package-desc as well.
11372 (describe-package-1): Describe a specific package-desc. Add links to
11373 other package-descs for the same package name.
11374 (package-menu-describe-package): Pass the actual package-desc.
11375 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11377 (package-desc-status): New function.
11378 (package-menu--refresh): New function, extracted
11379 from package-menu--generate.
11380 (package-menu--generate): Use it.
11381 (package-delete): Update package-alist.
11382 (package-menu-execute): Don't call package-initialize.
11384 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11385 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11386 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11387 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11388 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11389 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11391 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11393 * window.el (window--state-get-1): Workaround for bug#14527.
11394 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11396 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11398 * net/eww.el (eww-back-url): Implement the history by stashing all
11399 the data into a list.
11400 (eww-forward-url): Allow going forward in the history, too.
11402 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11404 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11405 for values and use read--expression for expressions (bug#14710).
11406 (read-file-local-variable): Avoid setq.
11407 (read-file-local-variable-mode): Use minor-mode-list.
11409 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11411 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11414 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11416 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11417 Update imenu-support when dialect changes.
11419 2013-06-25 Leo Liu <sdl.web@gmail.com>
11421 * ido.el (ido-read-internal): Allow forward slash on windows.
11423 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11425 * net/eww.el (eww): Start of strings is \\`, not ^.
11427 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11429 * net/shr.el (shr-browse-url): Fix interactive spec.
11431 * net/eww.el (eww): Add a trailing slash to domain names.
11433 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11435 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11437 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11439 * net/shr.el (shr-browse-url): Use an external browser if given a
11442 * net/eww.el (eww-external-browser): Move to shr.
11444 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11446 * net/eww.el (eww): Work more correctly for file: URLs.
11447 (eww-detect-charset): Allow quoted charsets.
11448 (eww-yank-page-url): New command and keystroke.
11450 2013-06-24 Daiki Ueno <ueno@gnu.org>
11452 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11453 file name of gpg executable.
11454 (epg-context-program): New function.
11455 (epg-context-home-directory): New function.
11456 (epg-context-set-program): New function.
11457 (epg-context-set-home-directory): New function.
11458 (epg--start): Use `epg-context-program' instead of
11460 (epg--list-keys-1): Likewise.
11462 2013-06-24 Leo Liu <sdl.web@gmail.com>
11464 * ido.el (ido-read-internal): Fix bug#14620.
11466 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11468 * faces.el (face-documentation): Simplify.
11469 (read-face-attribute, tty-find-type, x-resolve-font-name):
11470 Use `string-match-p'.
11471 (list-faces-display): Use `string-match-p'. Simplify.
11472 (face-spec-recalc): Check face to avoid face alias loops.
11473 (read-color): Use `string-match-p' and non-capturing parenthesis.
11475 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11477 * net/shr.el (shr-rescale-image): Use the new
11478 :max-width/:max-height functionality.
11480 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11482 * net/eww.el (eww-search-prefix): New variable.
11484 (eww-external-browser): New variable.
11485 (eww-mode-map): New keystroke.
11486 (eww-browse-with-external-browser): New command.
11488 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11490 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11492 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11493 Don't skip aligning the next header field when padding is 0;
11494 otherwise, field width is not respected unless the title is as
11497 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * emacs-lisp/package.el (package-el-version): Remove.
11500 (package-process-define-package): Fix inf-loop.
11501 (package-install): Allow symbols as arguments again.
11503 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11506 add some more keyword-like methods.
11507 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11509 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11511 * bs.el (bs-buffer-show-mark): Make defvar-local.
11512 (bs-mode): Use setq-local.
11514 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11515 (emacs-lock--try-unlocking): Make defvar-local.
11517 2013-06-22 Glenn Morris <rgm@gnu.org>
11519 * play/cookie1.el (cookie-apropos): Minor simplification.
11521 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11523 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11525 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11526 `regexp-opt', it breaks the build during dumping.
11528 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11530 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11531 Highlight keyword-like methods on Kernel and Module with
11532 font-lock-builtin-face.
11533 (auto-mode-alist): Consolidate different entries into one regexp
11534 and add more *file-s.
11536 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11538 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11540 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11541 (diary-entry): Use it in the action of this button type instead of
11544 * calendar/todo-mode.el: New version.
11545 (todo-add-category): Append new category to end of file and give
11546 it the highest number, instead of putting it at the beginning and
11547 giving it 0. Incorporate noninteractive functionality.
11548 (todo-forward-category): Adapt to 1-based category numbering.
11549 Allow skipping over archived categories.
11550 (todo-backward-category): Derive from todo-forward-category.
11551 (todo-backward-item, todo-forward-item): Make noninteractive and
11552 delegate interactive part to new commands. Make sensitive to done items.
11553 (todo-categories): Make value an alist of category names and
11554 vectors of item counts.
11555 (todo-category-beg): Make a defconst.
11556 (todo-category-number): Use 1 instead of 0 as initial value.
11557 (todo-category-select): Make sensitive to overlays, optional item
11558 highlighting and done items.
11559 (todo-delete-item): Make sensitive to overlays and marked and done items.
11560 (todo-edit-item): Make sensitive to overlays and editing of
11561 date/time header optional. Add format checks.
11562 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11563 no-op if point is not on an item. Advertise using todo-edit-quit.
11564 (todo-edit-mode): Make sensitive to new format, font-locking, and
11565 multiple todo files.
11566 (todo-insert-item, todo-insert-item-here): Derive from
11567 todo-basic-insert-item and extend functionality.
11568 (todo-item-end, todo-item-start): Make sensitive to done items.
11569 (todo-item-string): Don't return text properties. Restore point.
11570 (todo-jump-to-category): Make sensitive to multiple todo files and
11571 todo archives. Use extended category completion.
11572 (todo-lower-item, todo-raise-item): Rename to *-priority and
11573 derive from todo-set-item-priority.
11574 (todo-mode): Derive from special-mode. Make sensitive to new
11575 format, font-locking and multiple todo files. Make read-only.
11576 (todo-mode-map): Don't suppress digit keys, so they can supply
11577 prefix arguments. Add many new key bindings.
11578 (todo-prefix): Insert as an overlay instead of file text.
11579 Change semantics from diary date expression to purely visual mark.
11580 (todo-print): Rename to todo-print-buffer. Make buffer display
11581 features printable. Remove option to restrict number of items
11582 printed. Add option to print to file.
11583 (todo-print-function): Rename to todo-print-buffer-function.
11584 (todo-quit): Extend to handle exiting new todo modes.
11585 (todo-remove-item): Make sensitive to overlays.
11586 (todo-save): Extend to buffers of filtered items.
11587 (todo-show): Make sensitive to done items, multiple todo files and
11588 new todo modes. Offer to convert legacy todo file before creating
11589 first new todo file.
11590 (todo-show-priorities): Rename to todo-top-priorities.
11591 Change semantics of value 0.
11592 (todo-top-priorities): Rename to todo-filter-top-priorities,
11593 derive from todo-filter-items and extend functionality.
11594 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11595 and extend functionality to other types of filtered items.
11596 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11597 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11598 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11599 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11600 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11601 (todo-edit-mode-hook, todo-entry-prefix-function)
11602 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11603 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11604 (todo-initials, todo-insert-threshold, todo-item-string-start)
11605 (todo-line-string, todo-menu, todo-mode-hook)
11606 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11607 (todo-print-priorities, todo-remove-separator)
11608 (todo-save-top-priorities-too, todo-string-count-lines)
11609 (todo-string-multiline-p, todo-time-string-format)
11610 (todo-tmp-buffer-name): Remove.
11611 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11612 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11613 (todo-edit-category-diary-inclusion)
11614 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11615 (todo-edit-file, todo-edit-item-date-day)
11616 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11617 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11618 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11619 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11620 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11621 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11622 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11623 (todo-filter-top-priorities-multifile, todo-find-archive)
11624 (todo-find-filtered-items-file, todo-go-to-source-item)
11625 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11626 (todo-jump-to-archive-category, todo-lower-category)
11627 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11628 (todo-move-category, todo-move-item, todo-next-button)
11629 (todo-next-item, todo-padded-string, todo-powerset)
11630 (todo-previous-button, todo-previous-item)
11631 (todo-print-buffer-to-file, todo-raise-category)
11632 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11633 (todo-set-category-number, todo-set-item-priority)
11634 (todo-set-top-priorities-in-category)
11635 (todo-set-top-priorities-in-file, todo-show-categories-table)
11636 (todo-sort-categories-alphabetically-or-numerically)
11637 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11638 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11639 (todo-toggle-item-header, todo-toggle-item-highlighting)
11640 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11641 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11642 (todo-unarchive-items, todo-unmark-category): New commands.
11643 (todo-absolute-file-name, todo-add-to-buffer-list)
11644 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11645 (todo-basic-insert-item, todo-category-completions)
11646 (todo-category-number, todo-category-string-matcher-1)
11647 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11648 (todo-check-format, todo-clear-matches)
11649 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11650 (todo-current-category, todo-date-string-matcher)
11651 (todo-define-insertion-command, todo-diary-expired-matcher)
11652 (todo-diary-goto-entry, todo-diary-item-p)
11653 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11654 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11655 (todo-done-item-section-p, todo-done-separator)
11656 (todo-done-string-matcher, todo-files, todo-filter-items)
11657 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11658 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11659 (todo-insert-category-line, todo-insert-item-from-calendar)
11660 (todo-insert-sort-button, todo-insert-with-overlays)
11661 (todo-insertion-command-name, todo-insertion-key-bindings)
11662 (todo-label-to-key, todo-longest-category-name-length)
11663 (todo-make-categories-list, todo-mode-external-set)
11664 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11665 (todo-modes-set-3, todo-multiple-filter-files)
11666 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11667 (todo-read-category, todo-read-date, todo-read-dayname)
11668 (todo-read-file-name, todo-read-time)
11669 (todo-reevaluate-category-completions-files-defcustom)
11670 (todo-reevaluate-default-file-defcustom)
11671 (todo-reevaluate-filelist-defcustoms)
11672 (todo-reevaluate-filter-files-defcustom)
11673 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11674 (todo-reset-done-separator, todo-reset-done-separator-string)
11675 (todo-reset-done-string, todo-reset-global-current-todo-file)
11676 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11677 (todo-reset-prefix, todo-set-categories)
11678 (todo-set-date-from-calendar, todo-set-show-current-file)
11679 (todo-set-top-priorities, todo-short-file-name)
11680 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11681 (todo-total-item-counts, todo-update-buffer-list)
11682 (todo-update-categories-display, todo-update-categories-sexp)
11683 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11685 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11687 (todo-categories, todo-display, todo-edit, todo-faces)
11688 (todo-filtered): New defgroups.
11689 (todo-archived-only, todo-button, todo-category-string, todo-date)
11690 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11691 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11692 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11693 (todo-add-item-if-new-category, todo-always-add-time-string)
11694 (todo-categories-align, todo-categories-archived-label)
11695 (todo-categories-category-label, todo-categories-diary-label)
11696 (todo-categories-done-label, todo-categories-number-separator)
11697 (todo-categories-todo-label, todo-categories-totals-label)
11698 (todo-category-completions-files, todo-completion-ignore-case)
11699 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11700 (todo-done-separator-string, todo-done-string)
11701 (todo-files-function, todo-filter-done-items, todo-filter-files)
11702 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11703 (todo-initial-category, todo-initial-file, todo-item-mark)
11704 (todo-legacy-date-time-regexp, todo-mode-line-function)
11705 (todo-nondiary-marker, todo-number-prefix)
11706 (todo-print-buffer-function, todo-show-current-file)
11707 (todo-show-done-only, todo-show-first, todo-show-with-done)
11708 (todo-skip-archived-categories, todo-top-priorities-overrides)
11709 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11710 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11712 (todo-category-done, todo-date-pattern, todo-date-string-start)
11713 (todo-diary-items-buffer, todo-done-string-start)
11714 (todo-filtered-items-buffer, todo-item-start)
11715 (todo-month-abbrev-array, todo-month-name-array)
11716 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11717 (todo-top-priorities-buffer): New defconsts.
11718 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11719 (todo-categories-with-marks, todo-category-string-face)
11720 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11721 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11722 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11723 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11724 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11725 (todo-font-lock-keywords, todo-global-current-todo-file)
11726 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11727 (todo-insertion-commands-args)
11728 (todo-insertion-commands-args-genlist)
11729 (todo-insertion-commands-names, todo-insertion-map)
11730 (todo-key-bindings-t, todo-key-bindings-t+a)
11731 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11732 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11733 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11734 (todo-visited): New variables.
11736 2013-06-21 Glenn Morris <rgm@gnu.org>
11738 * play/cookie1.el (cookie-apropos): Add optional display argument.
11739 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11740 (psychoanalyze-pinhead): Use cookie-doctor.
11742 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11744 * emacs-lisp/package.el (tar-get-file-descriptor)
11745 (tar--extract): Declare.
11747 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11749 Extend flymake's warning predicate to be a function (bug#14217).
11750 * progmodes/flymake.el (flymake-warning-predicate): New.
11751 (flymake-parse-line): Use it.
11752 (flymake-warning-re): Make obsolete alias to
11753 `flymake-warning-predicate'.
11755 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11758 (package-obsolete-list): Remove.
11759 (package-activate): Remove min-version argument. Add `force' argument.
11760 Adjust to new package-alist format.
11761 (package-mark-obsolete): Remove.
11762 (package-unpack): Force reload of the package's autoloads.
11763 (package-installed-p): Check builtins if the installed package is not
11765 (package-initialize): Don't reset package-obsolete-list.
11766 Don't specify which package version to activate.
11767 (package-process-define-package, describe-package-1)
11768 (package-menu--generate): Adjust to new package-alist format.
11770 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11772 * allout-widgets.el (allout-widgets-mode-off)
11773 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11774 (allout-widgets-post-command-business)
11775 (allout-widgets-after-copy-or-kill-function)
11776 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11777 (allout-decorate-item-and-context)
11778 (allout-graphics-modification-handler): Fix typos in docstrings.
11779 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11781 * cmuscheme.el (scheme-start-file): Doc fix.
11782 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11783 (scheme-input-filter): Use `string-match-p'.
11785 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11787 * dired-x.el: Use Dired consistently in docstrings.
11789 * dired.el: Use Dired consistently in docstrings.
11790 (dired-readin, dired-mode): Use `setq-local'.
11791 (dired-switches-alist): Make defvar-local.
11792 (dired-buffers-for-dir): Use `zerop'.
11793 (dired-safe-switches-p, dired-switches-escape-p)
11794 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11795 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11796 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11797 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11798 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11799 (dired-toggle-marks, dired-mark-files-containing-regexp)
11800 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11801 (dired-flag-auto-save-files, dired-flag-backup-files):
11802 Use `looking-at-p'.
11803 (dired-mark-files-regexp, dired-build-subdir-alist):
11804 Use `string-match-p', `looking-at-p'.
11806 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11807 (direct-print-region-helper): Use `string-match-p'.
11809 2013-06-21 Leo Liu <sdl.web@gmail.com>
11811 * comint.el (comint-redirect-results-list-from-process):
11814 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11816 * net/eww.el (eww-update-header-line-format): Quote % characters.
11818 2013-06-21 Glenn Morris <rgm@gnu.org>
11820 * play/cookie1.el (cookie): New custom group.
11821 (cookie-file): New option.
11822 (cookie-check-file): New function.
11823 (cookie): Make it interactive. Make start and end messages optional.
11824 Interactively, display the result. Default to cookie-file.
11825 (cookie-insert): Default to cookie-file.
11826 (cookie-snarf): Make start and end messages optional.
11827 Default to cookie-file. Use with-temp-buffer.
11828 (cookie-read): Rename from read-cookie.
11829 Make start and end messages optional. Default to cookie-file.
11830 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11831 Do not autoload it.
11832 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11833 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11835 2013-06-21 Leo Liu <sdl.web@gmail.com>
11837 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11839 2013-06-21 Glenn Morris <rgm@gnu.org>
11841 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11843 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11844 Daniel Hackney <dan@haxney.org>
11846 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11847 Consolidate the single-file vs tarball code.
11848 (package-desc-suffix): New function.
11849 (package-desc-full-name): Don't bother inlining it.
11850 (package-load-descriptor): Return the new package-desc.
11851 (package-mark-obsolete): Remove unused arg `package'.
11852 (package-unpack): Make it work for single files as well.
11853 Make it update package-alist.
11854 (package--make-autoloads-and-stuff): Rename from
11855 package--make-autoloads-and-compile. Don't compile any more.
11856 (package--compile): New function.
11857 (package-generate-description-file): New function, extracted from
11858 package-unpack-single.
11859 (package-unpack-single): Remove.
11860 (package--with-work-buffer): Add indentation and debugging info.
11861 (package-download-single): Remove.
11862 (package-install-from-archive): Rename from package-download-tar, make
11863 it take a pkg-desc, and make it work for single files as well.
11864 (package-download-transaction): Simplify.
11865 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11866 external tar program.
11867 (package-install-from-buffer): Remove `pkg-desc' argument.
11868 Use package-tar-file-info for tar-mode buffers.
11869 (package-install-file): Simplify accordingly.
11870 (package-archive-base): Change to take a pkg-desc.
11871 * tar-mode.el (tar--check-descriptor): New function, extracted from
11872 tar-get-descriptor.
11873 (tar-get-descriptor): Use it.
11874 (tar-get-file-descriptor): New function.
11875 (tar--extract): New function, extracted from tar-extract.
11876 (tar--extract): Use it.
11877 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11878 case the summary uses non-ascii. Adjust to new calling convention of
11879 package-tar-file-info.
11881 2013-06-21 Leo Liu <sdl.web@gmail.com>
11883 * comint.el (comint-redirect-results-list-from-process):
11884 Fix random delay. (Bug#14681)
11886 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11888 * profiler.el (profiler-format-number): Use log, not log10.
11890 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11892 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11894 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11896 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11897 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11899 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11900 (AUTOGENEL): ... here.
11901 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11902 (cl--defsubst-expand): Use it.
11904 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11906 * subr.el (log10): Move here from C code, and declare as obsolete.
11907 All uses of (log10 X) replaced with (log X 10).
11909 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11911 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11912 Declare with `defvar-local'.
11913 (tabulated-list-use-header-line, tabulated-list-entries)
11914 (tabulated-list-padding, tabulated-list-printer)
11915 (tabulated-list-sort-key): Declare with `defvar-local'.
11916 (tabulated-list-init-header, tabulated-list-print-fake-header):
11919 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11921 * arc-mode.el (archive-mode): Add `archive-write-file' to
11922 `write-contents-functions' also for remote files. (Bug#14652)
11924 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11926 * cus-edit.el (custom-commands): Fix typos.
11927 (custom-display): Fix tooltip text.
11928 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11929 Fix typos in docstrings.
11930 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11931 (custom-unlispify-menu-entry, custom-magic-value-create)
11932 (custom-add-see-also, custom-group-value-create): Use ?\s.
11933 (custom-guess-type, customize-apropos, editable-field)
11934 (custom-face-value-create): Use `string-match-p'.
11935 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11937 * custom.el (custom-load-symbol): Use `string-match-p'.
11939 * ansi-color.el: Convert to lexical binding.
11940 (ansi-colors): Fix URL.
11941 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11942 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11943 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11945 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11947 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11949 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11951 2013-06-19 Tom Tromey <tromey@redhat.com>
11953 * net/eww.el (eww-top-url): Remove.
11954 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11955 (eww-render): Set new variables. Don't set eww-top-url.
11956 (eww-handle-link): Handle "prev", "home", and "contents".
11957 Downcase the rel text.
11958 (eww-top-url): Choose best top URL.
11960 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11962 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11963 relying in widget.el. Using widget.el leads to too many
11964 user interface inconsistencies.
11965 (eww-self-insert): Implement entering commands in text fields.
11966 (eww-process-text-input): New function to make text input field editing
11968 (eww-submit): Rewrite to use the new-style form methods.
11969 (eww-select-display): Display the correct selected item.
11970 (eww-change-select): Implement changing the select value.
11971 (eww-toggle-checkbox): Implement radio/checkboxes.
11972 (eww-update-field): Fix compilation error.
11973 (eww-tag-textarea): Implement <textarea>.
11975 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11976 we don't shadow mode-specific bindings.
11978 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11981 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11983 2013-06-19 Glenn Morris <rgm@gnu.org>
11985 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11987 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11989 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11992 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11994 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996 * net/browse-url.el (browse-url-browser-function):
11997 `eww-browse-url' has the right calling signature, `eww' does not.
11999 2013-06-19 Glenn Morris <rgm@gnu.org>
12001 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12002 Only eval autoloaded macros.
12003 (byte-compile-autoload): Only give the macro warning for macros.
12005 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12006 (ps-underlined-faces): Declare.
12008 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12009 (speedbar-add-supported-extension): Declare.
12011 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12012 Don't include a date stamp in the header of the generated file;
12013 it leads to needless differences between output files.
12015 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12017 * net/secrets.el (secrets-struct-secret-content-type):
12018 Replace check of introspection data by a test call of "CreateItem".
12019 Some servers do not offer introspection.
12021 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12023 * electric.el (electric-pair-mode): Improve interaction with
12024 electric-layout-mode.
12025 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12026 (electric-pair-syntax): Use text-mode-syntax-table in comments
12028 (electric-pair--insert): New function.
12029 (electric-pair-post-self-insert-function): Use it and
12030 electric--after-char-pos.
12032 2013-06-19 Leo Liu <sdl.web@gmail.com>
12034 * progmodes/octave.el (octave-help): Fix regexp.
12036 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12038 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12039 (shr-table-horizontal-line): Allow nil as a value, and change the
12041 (shr-insert-table-ruler): Respect the nil value.
12043 2013-06-18 Tom Tromey <tromey@barimba>
12045 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12047 (eww-open-file): New defun.
12048 (eww-render): Initialize new variables.
12049 (eww-display-html): Handle "link" and "a".
12050 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12051 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12052 (eww-back-url): Rename from eww-previous-url.
12053 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12056 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12058 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12059 Distinguish ternary operator tokens from slash symbol and slash
12062 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12064 Convert symbol prettification into minor mode and global minor mode.
12066 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12067 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12068 (prettify-symbols--keywords): Rename from
12069 `prog-prettify-symbols-alist' and make a local defvar.
12070 (prettify-symbols--compose-symbol): Rename from
12071 `prog--prettify-font-lock-compose-symbol'.
12072 (prettify-symbols--make-keywords): Rename from
12073 `prog-prettify-font-lock-symbols-keywords' and simplify.
12074 (prog-prettify-install): Remove.
12075 (prettify-symbols-mode): New minor mode, based on
12076 `prog-prettify-install'.
12077 (turn-on-prettify-symbols-mode): New function.
12078 (global-prettify-symbols-mode): New globalized minor mode.
12080 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12081 * progmodes/cfengine.el (cfengine3-mode):
12082 * progmodes/perl-mode.el (perl-mode): Don't call
12083 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12085 2013-06-18 Juri Linkov <juri@jurta.org>
12087 * files-x.el (modify-file-local-variable-message): New function.
12088 (modify-file-local-variable)
12089 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12090 and call `modify-file-local-variable-message' when it's non-nil.
12091 (add-file-local-variable, delete-file-local-variable)
12092 (add-file-local-variable-prop-line)
12093 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12094 and use it. (Bug#9820)
12096 2013-06-18 Juri Linkov <juri@jurta.org>
12098 * emulation/vi.el (vi-shell-op):
12099 * emulation/vip.el (vip-execute-com, ex-command):
12100 * emulation/viper-cmd.el (viper-exec-bang):
12101 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12102 the call of `shell-command-on-region'. (Bug#14637)
12104 * simple.el (shell-command-on-region): Doc fix.
12106 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12108 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12111 2013-06-18 Glenn Morris <rgm@gnu.org>
12113 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12115 * newcomment.el (comment-search-forward, comment-search-backward):
12116 Doc fix. (Bug#14376)
12118 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12120 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12121 (buffer-face-mode-invoke): Doc fix.
12123 2013-06-18 Matthias Meulien <orontee@gmail.com>
12125 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12126 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12128 2013-06-18 Glenn Morris <rgm@gnu.org>
12130 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12131 Replace obsolete function generic-make-keywords with its expansion.
12133 * progmodes/python.el (ffap-alist): Declare.
12135 * textmodes/reftex.el (bibtex-mode-map): Declare.
12137 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12139 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12140 (package-unpack, package-unpack-single): Return the pkg-dir.
12141 (package-download-transaction): Use it to update package-alist.
12143 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12148 2013-06-17 Juri Linkov <juri@jurta.org>
12150 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12152 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12154 * emacs-lisp/package.el (package-load-descriptor):
12155 Remove `with-syntax-table' call, `read' doesn't need it.
12156 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12158 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12160 * startup.el (command-line): Expand package name returned by
12161 `package--description-file' (bug#14639).
12163 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12165 * emacs-lisp/package.el (package-load-descriptor): Do not call
12166 `emacs-lisp-mode', just use its syntax table.
12168 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12170 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12171 `font-lock-extra-managed-props' if any prettifying keyword is added.
12172 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12173 (prog-mode): Use `setq-local'.
12175 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12177 * international/characters.el (standard-case-table): Set syntax of ?»
12178 and ?« to punctuation.
12180 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12182 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12183 Save relevant match data before calling `syntax-ppss' (bug#14595).
12185 2013-06-15 Juri Linkov <juri@jurta.org>
12187 * files-x.el (modify-file-local-variable-prop-line): Add local
12188 variables to the end of the existing comment on the first line.
12189 Use `file-auto-mode-skip' to skip interpreter magic line,
12190 and also skip XML declaration.
12192 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12194 * startup.el (package--builtin-versions): New var.
12195 (package-subdirectory-regexp): Remove.
12196 (package--description-file): Hard code its value instead.
12198 * emacs-lisp/package.el: Don't activate packages older than builtin.
12199 (package-obsolete-list): Rename from package-obsolete-alist, and make
12200 it into a simple list of package-desc.
12201 (package-strip-version): Remove.
12202 (package-built-in-p): Use package--builtin-versions.
12203 (package-mark-obsolete): Simplify.
12204 (package-process-define-package): Mark it obsolete if older than the
12206 (package-handle-response): Use line-end-position.
12207 (package-read-archive-contents, package--download-one-archive):
12209 (package--add-to-archive-contents): Skip if older than the builtin or
12211 (package-menu-describe-package): Fix last change.
12212 (package-list-unversioned): New var.
12213 (package-menu--generate): Use it.
12215 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12216 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12217 (autoload-builtin-package-versions): New variable.
12218 (autoload-generate-file-autoloads): Use them.
12219 Remove the list of autoloaded functions/macros from the
12220 (autoload...) comments.
12222 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12224 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12226 * simple.el (line-move-partial): Don't jump to the next screen
12227 line as soon as it becomes visible. Instead, continue enlarging
12228 the vscroll until the portion of a tall screen line that's left on
12229 display is about the height of the frame's default font.
12232 2013-06-15 Glenn Morris <rgm@gnu.org>
12234 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12235 compilation-error-regexp-alist void, or local while let-bound.
12237 * progmodes/make-mode.el (makefile-mode-syntax-table):
12238 Treat "=" as punctuation. (Bug#14614)
12240 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12242 * help-fns.el (describe-variable):
12243 Add extra line for permanent-local variables.
12245 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12247 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12248 Add export, import, library. (Bug#9164)
12249 (library): Set indent function.
12251 2013-06-14 Glenn Morris <rgm@gnu.org>
12253 * term/xterm.el (xterm--query):
12254 Stop after first matching handler. (Bug#14615)
12256 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12258 Add support for dired in saveplace.
12259 * dired.el (dired-initial-position-hook): New variable.
12260 (dired-initial-position): Call hook to place cursor position.
12261 * saveplace.el (save-place-to-alist): Add dired position.
12262 (save-place-dired-hook): New function.
12264 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12266 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12267 through a symbol rather than letrec.
12269 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12270 (package-desc): Add `dir' field.
12271 (package-desc-full-name): New function.
12272 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12273 (package-maybe-load-descriptor): Remove.
12274 (package-load-all-descriptors): Just call package-load-descriptor.
12275 (package--disabled-p): New function.
12276 (package-desc-vers, package-desc-doc): Remove aliases.
12277 (package--dir): Remove function.
12278 (package-activate): Check if a package is disabled.
12279 (package-process-define-package): New function, extracted from
12281 (define-package): Turn into a place holder.
12282 (package-unpack-single, package-tar-file-info):
12283 Use package--description-file.
12284 (package-compute-transaction): Use package--disabled-p.
12285 (package-download-transaction): Don't call
12286 package-maybe-load-descriptor since they're all loaded anyway.
12287 (package-install): Change argument to be a pkg-desc.
12288 (package-delete): Use a single pkg-desc argument.
12289 (describe-package-1): Use package-desc-dir instead of package--dir.
12290 Use package-desc property instead of package-symbol.
12291 (package-install-button-action): Adjust accordingly.
12292 (package--push): Rewrite.
12293 (package-menu--print-info): Adjust accordingly. Change the ID format
12295 (package-menu-describe-package, package-menu-get-status)
12296 (package-menu--find-upgrades, package-menu-mark-upgrades)
12297 (package-menu-execute, package-menu--name-predicate):
12298 Adjust accordingly.
12299 * startup.el (package--description-file): New function.
12300 (command-line): Use it.
12301 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12302 Use package-desc-version.
12304 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12305 (byte-compile-preprocess): Use it.
12306 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12307 can't quite recognize.
12308 (byte-compile-add-to-list): Remove.
12309 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12310 (cconv-closure-convert): Add assertion.
12312 * emacs-lisp/map-ynp.el: Use lexical-binding.
12313 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12314 Factor out some repeated code.
12316 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12318 * subr.el (with-eval-after-load): New macro.
12319 (eval-after-load): Allow form to be a function.
12320 take advantage of lexical-binding.
12321 (do-after-load-evaluation): Use dolist and adjust to new format.
12322 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12324 2013-06-13 Juri Linkov <juri@jurta.org>
12326 * replace.el (perform-replace): Display "symbol " and other search
12327 modes from `isearch-message-prefix' in the *Help* buffer.
12329 * isearch.el (isearch-query-replace): Add " symbol" and other
12330 possible search modes from `isearch-message-prefix' to the prompt.
12331 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12332 when reading a regexp to collect.
12334 2013-06-13 Juri Linkov <juri@jurta.org>
12336 * isearch.el (word-search-regexp): Match whitespace if the search
12337 string begins or ends in whitespace. The LAX arg is applied to
12338 both ends of the search string. Use `regexp-quote' and explicit
12339 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12340 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12341 boundaries are replaced with symbol boundaries, and characters
12342 between symbols match non-word non-symbol syntax. (Bug#14602)
12344 2013-06-13 Juri Linkov <juri@jurta.org>
12346 * isearch.el (isearch-del-char): Don't exceed the length of
12347 `isearch-string' by the prefix arg. (Bug#14563)
12349 2013-06-13 Juri Linkov <juri@jurta.org>
12351 * isearch.el (isearch-yank-word, isearch-yank-line)
12352 (isearch-char-by-name, isearch-quote-char)
12353 (isearch-printing-char, isearch-process-search-char):
12354 Add optional count prefix arg. (Bug#14563)
12356 * international/isearch-x.el
12357 (isearch-process-search-multibyte-characters):
12358 Add optional count prefix arg.
12360 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12362 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12363 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12366 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12368 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12370 2013-06-13 Glenn Morris <rgm@gnu.org>
12372 * startup.el (tty-handle-args):
12373 Don't just discard "--" and anything after. (Bug#14608)
12375 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12377 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12379 Implement changes in Secret Service API. Make it backward compatible.
12380 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12381 (secrets-create-item): Use it. Prefix properties with interface.
12383 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12385 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12386 (term-emulate-terminal): Respect term-suppress-hard-newline.
12388 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12390 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12391 Only remove a `thumb-file' overlay. (Bug#14548)
12393 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12395 * mail/reporter.el (reporter-submit-bug-report):
12396 Handle missing package-name. (Bug#14600)
12398 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12400 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12401 (reftex-citation-prompt, reftex-default-bibliography)
12402 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12403 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12404 (reftex-bib-sort-author, reftex-bib-sort-year)
12405 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12406 (reftex-extract-bib-entries-from-thebibliography)
12407 (reftex-get-bibkey-default, reftex-get-bib-names)
12408 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12409 (reftex-format-bib-entry, reftex-parse-bibitem)
12410 (reftex-format-bibitem, reftex-do-citation)
12411 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12412 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12413 (reftex-insert-bib-matches, reftex-format-citation)
12414 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12415 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12416 existing comments into docstrings.
12418 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12420 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12422 2013-06-12 Andreas Schwab <schwab@suse.de>
12424 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12425 for auto-save files.
12427 2013-06-12 Glenn Morris <rgm@gnu.org>
12429 * ido.el (ido-delete-ignored-files): Remove.
12430 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12431 Go back to calling ido-ignore-item-p directly.
12433 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12435 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12437 * ido.el (ido-delete-ignored-files): New function,
12438 split from ido-make-file-list-1.
12439 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12440 (ido-make-file-list-1): Use ido-delete-ignored-files.
12442 2013-06-12 Leo Liu <sdl.web@gmail.com>
12444 * progmodes/octave.el (inferior-octave-startup)
12445 (inferior-octave-completion-table)
12446 (inferior-octave-track-window-width-change)
12447 (octave-eldoc-function-signatures, octave-help)
12448 (octave-find-definition): Use single quoted strings.
12449 (inferior-octave-startup-args): Change default value.
12450 (inferior-octave-startup): Do not hard code "-i" and
12451 "--no-line-editing".
12452 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12453 (inferior-octave-directory-tracker): Use it.
12454 (octave-goto-function-definition): Robustify.
12455 (octave-help): Support highlighting operators in 'See also'.
12456 (octave-find-definition): Find subfunctions only in Octave mode.
12458 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12460 * help-fns.el (help-fns--compiler-macro): If the handler function is
12461 named, then put a link to it.
12462 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12463 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12464 (cl-typep): Use it.
12465 (cl-eval-when): Simplify debug spec.
12466 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12467 compiler-macro function instead of setting `compiler-macro-file'.
12469 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12471 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12472 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12474 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12475 Daniel Hackney <dan@haxney.org>
12477 First part of Daniel Hackney's patch to package.el.
12478 * emacs-lisp/package.el: Use defstruct.
12479 (package-desc): New, main struct.
12480 (package--bi-desc, package--ac-desc): New structs, used to describe the
12481 format in external files.
12482 (package-desc-vers): Replace with package-desc-version accessor.
12483 (package-desc-doc): Replace with package-desc-summary accessor.
12484 (package-activate-1): Remove `package' arg since the pkg-vec now
12486 (define-package): Use package-desc-from-define.
12487 (package-unpack-single): Change file-name arg to be a symbol.
12488 (package--add-to-archive-contents): Use package-desc-create and new
12489 accessor functions to package--ac-desc.
12490 (package-buffer-info, package-tar-file-info): Return a package-desc.
12491 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12492 arg to be a package-desc.
12493 (package-install-file): Adjust accordingly. Use \' to match EOS.
12494 (package--from-builtin): New function.
12495 (describe-package-1, package-menu--generate): Use it.
12496 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12497 (package-generate-autoloads): Idem and return the name of the file.
12498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12499 Change pkg-info arg to be a package-desc.
12500 Use package-make-ac-desc.
12501 (package-upload-file): Use \' to match EOS.
12502 * finder.el (finder-compile-keywords): Use package-make-builtin.
12504 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * vc/vc.el (vc-deduce-fileset): Change error message.
12507 (vc-read-backend): New function.
12508 (vc-next-action): Use it.
12510 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12512 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12513 (prolog-font-lock-keywords): Use regexp-opt instead.
12514 Don't manually highlight strings.
12515 (prolog-mode-variables): Simplify comment-start-skip.
12516 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12518 * emacs-lisp/generic.el (generic--normalise-comments)
12519 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12520 (generic-mode-set-comments): Use them.
12521 (generic-bracket-support): Use setq-local.
12522 (generic-make-keywords-list): Declare obsolete.
12524 2013-06-11 Glenn Morris <rgm@gnu.org>
12526 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12527 Prettify after setting font-lock-defaults. (Bug#14574)
12529 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12531 * replace.el (query-replace, occur-read-regexp-defaults-function)
12533 * subr.el (declare-function, number-sequence, local-set-key)
12534 (substitute-key-definition, locate-user-emacs-file)
12535 (with-silent-modifications, split-string, eval-after-load):
12536 Fix typos, remove unneeded backslashes and reflow some docstrings.
12538 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12540 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12541 default for Elisp files.
12543 2013-06-11 Glenn Morris <rgm@gnu.org>
12545 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12546 although define-derived-mode was doing this anyway. (Bug#14583)
12548 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12550 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12551 Fix make-variable-buffer-local call to refer to the correct variable.
12553 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12555 * eshell/em-term.el (eshell-visual-commands)
12556 (eshell-visual-subcommands, eshell-visual-options):
12557 Add summary line to docstrings. Add cross-references.
12559 2013-06-10 Glenn Morris <rgm@gnu.org>
12561 * epa.el (epa-read-file-name): New function. (Bug#14510)
12562 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12564 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12566 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12567 output redirection to be ignored with visual commands.
12569 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12571 * eshell/em-term.el (eshell-visual-command-p): New function.
12572 (eshell-term-initialize): Move long lambda to separate function
12573 eshell-visual-command-p.
12574 * eshell/em-dirs.el (eshell-dirs-initialize):
12575 * eshell/em-script.el (eshell-script-initialize):
12576 Add missing #' to lambda.
12578 2013-06-08 Leo Liu <sdl.web@gmail.com>
12580 * progmodes/octave.el (octave-add-log-current-defun): New function.
12581 (octave-mode): Set add-log-current-defun-function.
12582 (octave-goto-function-definition): Do not move point if not found.
12583 (octave-find-definition): Enhance to try subfunctions first.
12585 2013-06-08 Glenn Morris <rgm@gnu.org>
12587 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12588 (byte-compile-backward-char, byte-compile-backward-word):
12589 Improve previous change, to handle non-explicit nil.
12591 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12594 (smie--opener/closer-at-point): New function.
12595 (smie--matching-block-data): Use it. Don't match from right after an
12596 opener or right before a closer. Obey smie-blink-matching-inners.
12597 Don't signal a mismatch for repeated inners like "switch..case..case".
12599 2013-06-07 Leo Liu <sdl.web@gmail.com>
12601 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12603 (octave-function-header-regexp): Fix. (Bug#14570)
12604 (octave-help-mode-finish-hook, octave-help-mode-finish):
12605 Remove. Just use temp-buffer-show-hook.
12607 * newcomment.el (comment-search-backward): Revert last change.
12610 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12612 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12614 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12615 through xargs, to avoid failure due to MS-Windows limitations on
12616 command-line length.
12618 2013-06-06 Glenn Morris <rgm@gnu.org>
12620 * font-lock.el (lisp-font-lock-keywords-2):
12621 Treat user-error like error.
12623 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12624 (byte-compile-backward-char, byte-compile-backward-word):
12625 Handle explicit nil arguments. (Bug#14565)
12627 2013-06-05 Alan Mackenzie <acm@muc.de>
12629 * isearch.el (isearch-allow-prefix): New user option.
12630 (isearch-other-meta-char): Don't exit isearch when a prefix
12631 argument is typed whilst `isearch-allow-prefix' is non-nil.
12634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * autorevert.el (auto-revert-notify-handler): Use memq.
12637 Hide assertion failure.
12639 * skeleton.el: Use cl-lib.
12640 (skeleton-further-elements): Use defvar-local.
12641 (skeleton-insert): Use cl-progv.
12643 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12645 * progmodes/prog-mode.el (prog-prettify-symbols)
12646 (prog-prettify-install): Update docstrings.
12648 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * simple.el: Move all the prog-mode code to prog-mode.el.
12651 * progmodes/prog-mode.el: New file.
12652 * loadup.el: Add prog-mode.el.
12654 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12656 * simple.el (prog-prettify-symbols): Add version.
12657 (prog-prettify-install): Add convenience function to prettify symbols.
12659 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12660 (perl--augmented-font-lock-keywords-1)
12661 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12662 variables and use it.
12664 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12665 (cfengine3-mode): Remove unneeded variable and use it.
12667 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12668 (lisp--augmented-font-lock-keywords-1)
12669 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12670 Remove unneeded variables and use it.
12672 2013-06-05 João Távora <joaotavora@gmail.com>
12674 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12675 to point when opening the connection. (Bug#14380)
12677 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12679 * subr.el (load-history-regexp, load-history-filename-element)
12680 (eval-after-load, after-load-functions, do-after-load-evaluation)
12681 (eval-next-after-load, display-delayed-warnings)
12682 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12683 definition of save-match-data.
12684 (overriding-local-map): Remove accidental obsolescence declaration.
12686 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12688 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12690 Generalize symbol prettify support to prog-mode and implement it
12691 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12692 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12693 (prog--prettify-font-lock-compose-symbol)
12694 (prog-prettify-font-lock-symbols-keywords): New variables and
12695 functions to support symbol prettification.
12696 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12697 (lisp--augmented-font-lock-keywords-1)
12698 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12699 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12700 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12701 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12702 Implement prettify of -> => :: strings.
12703 * progmodes/perl-mode.el (perl-prettify-symbols)
12704 (perl--font-lock-compose-symbol)
12705 (perl--font-lock-symbols-keywords): Move to prog-mode.
12706 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12707 (perl-font-lock-keywords-1)
12708 (perl-font-lock-keywords-2): Remove explicit prettify support.
12709 (perl--augmented-font-lock-keywords)
12710 (perl--augmented-font-lock-keywords-1)
12711 (perl--augmented-font-lock-keywords-2, perl-mode):
12712 Implement prettify support.
12714 2013-06-05 Leo Liu <sdl.web@gmail.com>
12716 Re-implement SMIE matching block highlight using
12717 show-paren-data-function. (Bug#14395)
12718 * emacs-lisp/smie.el (smie-matching-block-highlight)
12719 (smie--highlight-matching-block-overlay)
12720 (smie--highlight-matching-block-lastpos)
12721 (smie-highlight-matching-block)
12722 (smie-highlight-matching-block-mode): Remove.
12723 (smie--matching-block-data-cache): New variable.
12724 (smie--matching-block-data): New function.
12725 (smie-setup): Use smie--matching-block-data for
12726 show-paren-data-function.
12728 * progmodes/octave.el (octave-mode-menu): Fix.
12729 (octave-find-definition): Skip garbage lines.
12731 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12733 Fix compilation error with simultaneous dynamic+lexical scoping.
12734 Add warning when a defvar appears after the first let-binding.
12735 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12736 (byte-compile-close-variables): Initialize it.
12737 (byte-compile--declare-var): New function.
12738 (byte-compile-file-form-defvar)
12739 (byte-compile-file-form-define-abbrev-table)
12740 (byte-compile-file-form-custom-declare-variable): Use it.
12741 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12742 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12743 (byte-compile-bind): Handle dynamic bindings that shadow
12745 (byte-compile-unbind): Make arg non-optional.
12746 (byte-compile-let): Simplify.
12747 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12748 (cconv--analyse-function, cconv-analyse-form): Populate it.
12749 Protect byte-compile-bound-variables to limit the scope of defvars.
12750 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12751 Remove unneeded rule for `declare'.
12753 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12754 so as to avoid depending on cl-adjoin at run-time.
12755 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12757 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12758 (macroexp--warn-and-return): Use it.
12760 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12762 * subr.el: Convert to lexical binding.
12763 (overriding-local-map): Make obsolete.
12764 (add-to-list): Doc fix. Add compiler macro.
12765 (read-key): Swap values of local maps.
12767 2013-06-05 Leo Liu <sdl.web@gmail.com>
12769 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12771 2013-06-04 Leo Liu <sdl.web@gmail.com>
12773 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12774 (compilation-auto-jump): Suppress the "Mark set" message to give
12775 way to exit message.
12777 2013-06-04 Alan Mackenzie <acm@muc.de>
12779 Remove faulty optimisation from indentation calculation.
12780 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12781 search limit based on 2000 characters back from indent-point.
12783 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12785 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12787 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12789 * emacs-lisp/lisp.el: Use lexical-binding.
12790 (lisp--local-variables-1, lisp--local-variables): New functions.
12791 (lisp--local-variables-completion-table): New var.
12792 (lisp-completion-at-point): Use it complete let-bound vars.
12794 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12795 eagerly (bug#14422).
12797 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12799 * autorevert.el (auto-revert-notify-enabled)
12800 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12801 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12802 (auto-revert-notify-handler): Handle also gfilenotify.
12804 * subr.el (file-notify-handle-event): New defun. Replacing ...
12805 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12808 2013-06-03 Juri Linkov <juri@jurta.org>
12810 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12811 `M-s h .'. (Bug#14427)
12813 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12814 command `hi-lock-face-symbol-at-point'.
12815 (hi-lock-face-symbol-at-point): New command.
12816 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12817 (hi-lock-menu): Add `highlight-symbol-at-point'.
12818 (hi-lock-mode): Doc fix.
12820 * isearch.el (isearch-forward-symbol-at-point): New command.
12821 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12822 (isearch-highlight-regexp): Add a regexp which matches
12823 words/symbols for word/symbol mode.
12825 * subr.el (find-tag-default-bounds): New function with the body
12826 mostly moved from `find-tag-default'.
12827 (find-tag-default): Move most code to `find-tag-default-bounds',
12828 call it and apply `buffer-substring-no-properties' afterwards.
12830 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12832 * eshell/em-term.el (eshell-term-initialize):
12833 Use `cl-intersection' rather than `intersection'.
12835 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12837 * vc/log-view.el: Doc fix.
12838 (log-view-mode-map): Copy keymap from `special-mode-map'.
12840 2013-06-02 Eric Ludlam <zappo@gnu.org>
12842 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12843 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12844 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12845 (eieio-unbound, eieio-default-superclass)
12846 (eieio--define-field-accessors, method-static, method-before)
12847 (method-primary, method-after, method-num-lists)
12848 (method-generic-before, method-generic-primary)
12849 (method-generic-after, method-num-slots)
12850 (eieio-specialized-key-to-generic-key)
12851 (eieio--check-type, class-v, class-p)
12852 (eieio-class-name, define-obsolete-function-alias)
12853 (eieio-class-parents-fast, eieio-class-children-fast)
12854 (same-class-fast-p, class-constructor, generic-p)
12855 (generic-primary-only-p, generic-primary-only-one-p)
12856 (class-option-assoc, class-option, eieio-object-p)
12857 (class-abstract-p, class-method-invocation-order)
12858 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12859 (eieio-class-un-autoload, eieio-defclass)
12860 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12861 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12862 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12863 (eieio-defgeneric-reset-generic-form)
12864 (eieio-defgeneric-form-primary-only)
12865 (eieio-defgeneric-reset-generic-form-primary-only)
12866 (eieio-defgeneric-form-primary-only-one)
12867 (eieio-defgeneric-reset-generic-form-primary-only-one)
12868 (eieio-unbind-method-implementations)
12869 (eieio--defmethod, eieio--typep)
12870 (eieio-perform-slot-validation, eieio-validate-slot-value)
12871 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12872 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12873 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12874 (eieio-slot-name-index, eieio-class-slot-name-index)
12875 (eieio-set-defaults, eieio-initarg-to-attribute)
12876 (eieio-attribute-to-initarg, eieio-c3-candidate)
12877 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12878 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12879 (eieio-class-precedence-list, eieio-generic-call-methodname)
12880 (eieio-generic-call-arglst, eieio-generic-call-key)
12881 (eieio-generic-call-next-method-list)
12882 (eieio-pre-method-execution-functions, eieio-generic-call)
12883 (eieio-generic-call-primary-only, eieiomt-method-list)
12884 (eieiomt-optimizing-obarray, eieiomt-install)
12885 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12886 (eieio-generic-form, eieio-defmethod, make-obsolete)
12887 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12888 (defclass): Remove `eval-and-compile' from macro.
12889 (call-next-method, shared-initialize): Instead of using
12890 `scoped-class' variable, use new eieio--scoped-class, and
12891 eieio--with-scoped-class.
12892 (initialize-instance): Rename local variable 'scoped-class' to
12893 'this-class' to remove ambiguitity from old global.
12895 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12897 (eieio--scoped-class-stack): New variable.
12898 (eieio--scoped-class): New fcn.
12899 (eieio--with-scoped-class): New scoping macro.
12900 (eieio-defclass): Use pushnew instead of add-to-list.
12901 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12902 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12903 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12904 `scoped-class' variable, use new eieio--scoped-class, and
12905 eieio--with-scoped-class.
12907 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12909 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12911 * eshell/esh-ext.el (eshell-external-command): Pass args to
12912 `eshell-find-interpreter'.
12913 (eshell-find-interpreter): Add new second parameter ARGS.
12915 * eshell/em-script.el (eshell-script-initialize): Add second arg
12916 to the function added as MATCH to `eshell-interpreter-alist'.
12918 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12919 the function added as MATCH to `eshell-interpreter-alist'.
12921 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12922 (eshell-visual-options): New defcustom.
12923 (eshell-escape-control-x): Adapt docstring.
12924 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12925 `eshell-visual-options' in addition to `eshell-visual-commands'.
12926 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12928 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12930 * progmodes/python.el (python-indent-block-enders): Add break,
12931 continue and raise keywords.
12933 2013-06-01 Glenn Morris <rgm@gnu.org>
12935 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12937 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12938 * progmodes/cc-cmds.el (delete-forward-p):
12939 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12940 * progmodes/cc-engine.el (buffer-syntactic-context):
12941 * progmodes/cc-fonts.el (face-property-instance):
12942 * progmodes/cc-mode.el (set-keymap-parents):
12943 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12944 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12945 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12946 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12947 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12949 * progmodes/cc-vars.el (other): Emacs has this widget since
12950 at least 21.1, so don't (re)define it.
12952 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12953 Replace the obsolete alias pcomplete-arg-quote-list.
12955 2013-06-01 Leo Liu <sdl.web@gmail.com>
12957 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12958 punctuation syntax.
12959 (inferior-octave-minimal-columns)
12960 (inferior-octave-last-column-width): New variables.
12961 (inferior-octave-track-window-width-change): New function.
12962 (inferior-octave-mode): Adjust column width so that Octave output,
12963 for example from 'ls', can fit into the window nicely.
12965 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12967 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12968 Highlight expansions inside regexp literals.
12970 2013-05-31 Glenn Morris <rgm@gnu.org>
12972 * obsolete/sym-comp.el (symbol-complete):
12973 Replace obsolete completion-annotate-function.
12975 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12977 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12979 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12980 New function, checks if point is inside a literal that allows
12981 expression expansion.
12982 (ruby-syntax-propertize-expansion): Use it.
12983 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12986 2013-05-30 Juri Linkov <juri@jurta.org>
12988 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12990 (isearch-invisible): New variable.
12991 (isearch-forward): Doc fix.
12992 (isearch-mode): Set `isearch-invisible'
12993 to the value of `search-invisible'.
12994 (isearch-toggle-case-fold): Doc fix.
12995 (isearch-toggle-invisible): New command.
12996 (isearch-query-replace): Let-bind `search-invisible'
12997 to the value of `isearch-invisible'.
12998 (isearch-search): Use `isearch-invisible' instead of
12999 `search-invisible'. Let-bind `search-invisible'
13000 to the value of `isearch-invisible'. (Bug#11378)
13002 2013-05-30 Juri Linkov <juri@jurta.org>
13004 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13005 call when `query-flag' is nil and `search-invisible' is non-nil.
13008 2013-05-30 Glenn Morris <rgm@gnu.org>
13010 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13012 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13013 (cc-require): Suppress spurious "noruntime" warnings.
13014 (cc-require-when-compile): Use fboundp, for sake of compiler.
13016 * progmodes/cc-mode.el: Move load of cc-vars before that of
13017 cc-langs (which in turn loads cc-vars), to quieten compiler.
13019 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13021 * paren.el: Simplify the code.
13022 (show-paren-mode): Always start the timer.
13023 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13024 (show-paren--overlay, show-paren--overlay-1): Rename from
13025 show-paren-overlay and show-paren-overlay-1, and initialize to an
13026 overlay rather than to nil.
13027 (show-paren-function): Misc cleanup and simplifications.
13029 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13031 * paren.el (show-paren-data-function): New hook.
13032 (show-paren--default): New function, extracted from show-paren-function.
13033 (show-paren-function): Use show-paren-data-function.
13035 2013-05-30 Glenn Morris <rgm@gnu.org>
13037 * ielm.el (ielm-map, ielm-complete-symbol):
13038 Use completion-at-point rather than obsolete functions.
13039 (inferior-emacs-lisp-mode): Doc fix.
13040 Set completion-at-point-functions, rather than
13041 comint-dynamic-complete-functions.
13043 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13044 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13045 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13047 * image.el (image-animated-p): Tweak definition.
13049 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13050 (rlogin-process-connection-type): Tweak default. Add set-after.
13051 (rlogin-host): Doc fix.
13052 (rlogin): Tweak prompt.
13053 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13055 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13056 * progmodes/tcl.el (inferior-tcl-mode-map):
13057 Use completion-at-point rather than obsolete alias.
13059 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13061 * minibuffer.el (read-file-name-completion-ignore-case):
13062 Move before completion--in-region, for eager macro expansion.
13064 2013-05-29 Juri Linkov <juri@jurta.org>
13066 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13067 for total count of matching lines. Add `global-matches' for total
13068 count of matches. Rename `matches' to `lines' for count of
13069 matching lines. Add `matches' for count of matches.
13070 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13071 to `prev-line' for line number of prev match endpt.
13072 Increment `matches' for every match. Print the number of
13073 matching lines in the header.
13074 (occur-context-lines): Rename `lines' to `curr-line'.
13075 Rename `prev-lines' to `prev-line'. (Bug#14017)
13077 2013-05-29 Juri Linkov <juri@jurta.org>
13079 * replace.el (perform-replace): Add `skip-read-only-count',
13080 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13081 Increment them for corresponding conditions and report the number
13082 of skipped occurrences in the final message. (Bug#11746)
13083 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13084 (replace-string, replace-regexp): Doc fix.
13086 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13090 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13091 prog-mode-map (bug#14504).
13093 2013-05-29 Leo Liu <sdl.web@gmail.com>
13095 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13096 (octave-help): Small simplification.
13098 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13099 off the highlight first.
13101 2013-05-29 Glenn Morris <rgm@gnu.org>
13103 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13104 Handle idlwave-last-system-routine-info-cons-cell being nil.
13106 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13107 (idlwave-write-paths): Simplify via with-temp-buffer.
13109 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13110 * emulation/cua-rect.el: Also load cua-base at run time.
13112 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13113 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13114 (cperl-imenu-on-info): Require imenu.
13116 2013-05-28 Alan Mackenzie <acm@muc.de>
13118 Handle "capitalised keywords" correctly.
13119 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13121 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13123 * eshell/em-unix.el: Add -r option to cp.
13125 2013-05-28 Glenn Morris <rgm@gnu.org>
13127 * vc/vc-arch.el (vc-exec-after): Declare.
13128 (vc-switches): Autoload.
13129 * vc/vc-bzr.el: No need to require vc when compiling.
13130 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13131 (vc-resynch-buffer, vc-dir-refresh): Declare.
13132 (vc-setup-buffer, vc-switches): Autoload.
13133 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13134 (vc-resynch-buffer): Declare.
13135 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13136 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13137 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13138 (grep-read-regexp, grep-read-files, grep-expand-template)
13139 (vc-dir-refresh): Declare.
13140 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13141 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13142 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13143 * vc/vc-mtn.el (vc-exec-after): Declare.
13144 (vc-switches): Autoload.
13145 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13146 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13147 (vc-file-tree-walk): Declare.
13148 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13149 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13150 (vc-tag-precondition, vc-rename-master): Autoload.
13151 * vc/vc-svn.el (vc-exec-after): Declare.
13152 (vc-switches, vc-setup-buffer): Autoload.
13153 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13155 (vc-resynch-buffer): Declare.
13157 * obsolete/fast-lock.el (byte-compile-warnings):
13158 Don't warn about obsolete features in this obsolete file.
13160 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13161 Move definition before use.
13163 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13164 (dun-unix-verbs): Remove dun-zippy.
13165 (dun-zippy): Remove function.
13167 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13169 2013-05-27 Juri Linkov <juri@jurta.org>
13171 * replace.el (replace-search): New function with code moved out
13172 from `perform-replace'.
13173 (replace-highlight, replace-dehighlight): Move function definitions
13174 up closer to `replace-search'. (Bug#11746)
13176 2013-05-27 Juri Linkov <juri@jurta.org>
13178 * replace.el (perform-replace): Ignore invisible matches.
13179 In addition to checking `query-replace-skip-read-only', also
13180 filter out matches by calling `run-hook-with-args-until-failure'
13181 on `isearch-filter-predicates', and also check `search-invisible'
13182 for t or call `isearch-range-invisible'.
13183 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13185 2013-05-27 Juri Linkov <juri@jurta.org>
13187 * isearch.el (isearch-filter-predicates): Rename from
13188 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13189 (isearch-message-prefix): Display text from the property
13190 `isearch-message-prefix' of the currently active filters.
13191 (isearch-search): Don't compare `isearch-filter-predicate' with
13192 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13193 on `isearch-filter-predicates'. Also check `search-invisible' for t
13194 or call `isearch-range-invisible'.
13195 (isearch-filter-visible): Make obsolete.
13196 (isearch-lazy-highlight-search):
13197 Call `run-hook-with-args-until-failure' on
13198 `isearch-filter-predicates' and use `isearch-range-invisible'.
13200 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13201 `isearch-filter-predicates' instead of `funcall'ing
13202 `isearch-filter-predicate'.
13203 (Info-mode): Set `Info-isearch-filter' to
13204 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13206 * dired-aux.el (dired-isearch-filter-predicate-orig):
13208 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13209 (dired-isearch-filenames-end): Add and remove
13210 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13211 instead of changing the value of `isearch-filter-predicate'.
13212 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13213 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13214 Put property `isearch-message-prefix' to "filename " on
13215 `dired-isearch-filter-filenames'.
13217 * wdired.el (wdired-change-to-wdired-mode):
13218 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13219 locally instead of changing `isearch-filter-predicate'.
13220 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13222 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13224 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13225 return the commit hash (Bug#14459). Also set the
13226 `vc-git-detached' property.
13227 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13228 (vc-git-mode-line-string): Use the same help-echo format whether
13229 in detached mode or not, because we know the actual revision now.
13230 When in detached mode, shorten the revision to 7 chars.
13232 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13234 * emacs-lisp/easy-mmode.el (define-minor-mode):
13235 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13236 mode hook and provide a docstring.
13238 2013-05-27 Alan Mackenzie <acm@muc.de>
13240 Remove spurious syntax-table text properties inserted by C-y.
13241 * progmodes/cc-mode.el (c-after-change): Also clear hard
13242 syntax-table property with value nil.
13244 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13246 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13247 when reading the events; the buffer layout shall not be changed.
13249 2013-05-27 Leo Liu <sdl.web@gmail.com>
13251 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13253 (inferior-octave-directory-tracker): Automatically re-sync
13255 (octave-help): Improve handling of 'See also'.
13257 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13259 * doc-view.el: Minor naming convention tweaks.
13260 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13262 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13263 even if there's no `display' property yet (bug#14435).
13265 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13267 * subr.el (unmsys--file-name): Rename from reveal-filename.
13269 * Makefile.in (custom-deps, finder-data, autoloads)
13270 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13271 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13272 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13274 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13276 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13277 error-completion on the first 2 args of condition-case (bug#14446).
13280 2013-05-25 Leo Liu <sdl.web@gmail.com>
13282 * comint.el (comint-previous-matching-input): Do not flood the
13283 *Messages* buffer with trivial messages.
13285 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13287 * progmodes/flymake.el (flymake-nop): Don't return a string.
13288 (flymake-set-at): Fix typo.
13290 * simple.el (read--expression): New function, extracted from
13291 eval-expression. Set completion-at-point-functions (bug#14465).
13292 (eval-expression, eval-minibuffer): Use it.
13294 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13296 * progmodes/flymake.el (flymake-save-buffer-in-file)
13297 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13298 (flymake-selected-frame, flymake-log, flymake-ins-after)
13299 (flymake-set-at, flymake-get-buildfile-from-cache)
13300 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13301 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13302 Refine the doc string.
13303 (flymake-get-file-name-mode-and-masks): Reformat.
13304 (flymake-get-real-file-name-function): Fix a minor bug.
13306 2013-05-24 Juri Linkov <juri@jurta.org>
13308 * progmodes/grep.el (grep-mode-font-lock-keywords):
13309 Support =linenumber= format used by git-grep for lines with
13310 function names. (Bug#13549)
13312 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13314 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13315 0 after a semi-colon; it works better for smie-auto-fill.
13316 (octave--indent-new-comment-line): New function.
13317 (octave-indent-new-comment-line): Use it (indirectly).
13318 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13319 modify comment-line-break-function.
13321 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13322 (smie-setup): Use add-function to set it.
13324 2013-05-24 Sam Steingold <sds@gnu.org>
13326 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13327 argument (before the `interactive' argument).
13329 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13331 * image-mode.el (image-mode-winprops): Add winprops to
13332 image-mode-winprops-alist before running
13333 image-mode-new-window-functions.
13334 * doc-view.el (doc-view-new-window-function): Don't delay
13335 doc-view-goto-page via timers (bug#14435).
13337 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13339 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13340 (doc-view-desktop-save-buffer): New function.
13341 (doc-view-restore-desktop-buffer): New function.
13342 (desktop-buffer-mode-handlers):
13343 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13345 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13346 `desktop-save-buffer' function.
13348 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13350 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13351 (tramp-gvfs-file-name-handler): Raise a user error when
13352 `tramp-gvfs-enabled' is nil.
13353 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13354 Do not raise a user error when loading package. (Bug#14447)
13356 * net/xesam.el: Move to obsolete/.
13358 2013-05-24 Glenn Morris <rgm@gnu.org>
13360 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13362 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13364 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13365 (Info-find-node, Man-getpage-in-background): Declare.
13367 * mail/unrmail.el (unrmail):
13368 Replace obsolete detect-coding-with-priority.
13370 * net/socks.el (socks-split-string): Use this rather than split-string.
13371 (socks-nslookup-host): Update for above change.
13372 (dynamic-choice, s5-dynamic-choice-match)
13373 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13374 Comment out unused code.
13376 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13377 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13378 (gud-tooltip-echo-area): Make obsolete.
13379 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13381 * progmodes/js.el (js--optimize-arglist): Declare.
13383 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13385 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13386 (ediff-window-C): Declare.
13388 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13389 Tweak requires to silence compiler.
13391 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13392 (he-search-string, he-tried-table, he-expand-list)
13393 (he-init-string, he-string-member, he-substitute-string)
13394 (he-reset-string): Declare.
13396 * obsolete/options.el (list-options): Use custom-variable-p,
13397 rather than obsolete alias.
13399 2013-05-23 Sam Steingold <sds@gnu.org>
13401 * simple.el (shell-command-on-region): Pass the `replace' argument
13402 down to `call-process-region' to comply with the doc as reported on
13403 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13405 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * emacs-lisp/smie.el (smie-indent-forward-token)
13408 (smie-indent-backward-token): Handle string tokens (bug#14381).
13410 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13412 * ielm.el (ielm-menu): New menu.
13413 (inferior-emacs-lisp-mode): Set comment-start.
13415 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13417 * textmodes/reftex.el (reftex-ref-style-toggle):
13418 Fix deactivate action.
13420 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13421 Add cleveref macros.
13423 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13424 Accept options for bibliography commands.
13425 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13426 Add addbibresource. Basic Biblatex support.
13428 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13430 * net/tramp-gvfs.el (top):
13431 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13432 when loading package. (Bug#14447)
13434 2013-05-23 Glenn Morris <rgm@gnu.org>
13436 * progmodes/js.el: No need to load comint when compiling.
13437 (ring-insert, comint-send-string, comint-send-input)
13438 (comint-last-input-end, ido-chop): Declare.
13440 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13441 * vc/ediff-mult.el: Adjust requires.
13442 (ediff-directories-internal, ediff-directory-revisions-internal)
13443 (ediff-patch-file-internal): Declare.
13444 * vc/ediff-ptch.el: Adjust requires.
13445 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13446 (ediff-find-file): Autoload.
13447 * vc/ediff-util.el: No need to load ediff when compiling.
13448 (ediff-regions-internal): Declare.
13449 * vc/ediff-wind.el: Adjust requires.
13450 (ediff-compute-toolbar-width): Define when compiling.
13451 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13452 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13453 (dired-get-filename, dired-get-marked-files)
13454 (ediff-last-dir-patch, ediff-patch-default-directory)
13455 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13456 (ediff-patch-buffer-internal): Declare.
13458 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13459 (ispell-process, ispell-buffer-local-words, lm-summary)
13460 (lm-section-start, lm-section-end): Declare.
13461 (checkdoc-ispell-init): Simplify.
13463 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13464 (he-string-member, he-reset-string, he-substitute-string): Declare.
13466 * eshell/em-ls.el: Adjust requires.
13467 (eshell-glob-regexp): Declare.
13468 * eshell/em-tramp.el: Adjust requires.
13469 (eshell-parse-command): Autoload.
13470 * eshell/em-xtra.el: Adjust requires.
13471 (eshell-parse-command): Autoload.
13472 * eshell/esh-ext.el: Adjust requires.
13473 (eshell-parse-command, eshell-close-handles): Autoload.
13474 * eshell/esh-io.el: Adjust requires.
13475 (eshell-output-filter): Autoload.
13476 * eshell/esh-util.el: No need to load tramp when compiling.
13477 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13479 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13480 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13481 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13482 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13483 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13484 * eshell/esh-opt.el, eshell/esh-proc.el:
13485 * eshell/esh-var.el: Adjust requires.
13486 * eshell/eshell.el: Do not require esh-util twice.
13487 (eshell-add-input-to-history): Declare.
13488 (eshell-command): Check history module is active before using it.
13490 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13492 2013-05-22 Leo Liu <sdl.web@gmail.com>
13494 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13496 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13498 * autorevert.el (auto-revert-notify-add-watch)
13499 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13500 it indicates changes in file modification time.
13502 2013-05-22 Glenn Morris <rgm@gnu.org>
13504 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13505 Always delete the autoloaded function from the noruntime and
13506 unresolved functions lists.
13508 * allout.el: No need to load epa, epg, overlay when compiling.
13509 (epg-context-set-passphrase-callback, epg-list-keys)
13510 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13511 (epg-key-user-id-list): Declare.
13513 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13514 (viper-set-parsing-style-toggling-macro)
13515 (viper-set-emacs-state-searchstyle-macros):
13516 Use called-interactively-p on Emacs.
13517 (viper-looking-back): Make it an obsolete alias. Update callers.
13518 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13519 Use looking-back rather than viper-looking-back.
13520 (viper-tmp-insert-at-eob, viper-enlarge-region)
13521 (viper-read-string-with-history, viper-register-to-point)
13522 (viper-append-to-register, viper-change-state-to-vi)
13523 (viper-backward-char-carefully, viper-forward-char-carefully)
13524 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13525 (viper-change-state-to-emacs): Declare.
13526 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13527 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13528 * emulation/viper-mous.el: Do not load viper-cmd.
13529 (viper-backward-char-carefully, viper-forward-char-carefully)
13530 (viper-forward-word, viper-adjust-window): Declare.
13532 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13534 * progmodes/idlw-help.el (idlwave-help-fontify):
13535 Use called-interactively-p.
13537 * term/w32console.el (w32-get-console-codepage)
13538 (w32-get-console-output-codepage): Declare.
13540 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13541 Remove unnecessary declarations.
13542 (dframe-message): Doc fix.
13544 * info.el (dframe-select-attached-frame, dframe-current-frame):
13547 * speedbar.el (speedbar-message): Make it an obsolete alias.
13548 Update all callers.
13549 (speedbar-with-attached-buffer)
13550 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13551 (speedbar-with-writable): Use backquote.
13552 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13553 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13554 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13555 rather than speedbar- aliases.
13556 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13557 (speedbar-make-specialized-keymap, speedbar-insert-button)
13558 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13559 (speedbar-do-function-pointer): Declare.
13560 (rmail-speedbar-button, rmail-speedbar-find-file)
13561 (rmail-speedbar-move-message):
13562 Use dframe-with-attached-buffer rather than speedbar- alias.
13563 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13564 (dframe-message, speedbar-make-specialized-keymap)
13565 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13566 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13567 (speedbar-insert-button, dframe-select-attached-frame)
13568 (dframe-maybee-jump-to-attached-frame)
13569 (speedbar-change-initial-expansion-list)
13570 (speedbar-previously-used-expansion-list-name): Declare.
13571 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13572 Use dframe-message, dframe-with-attached-buffer rather than
13574 (gud-sentinel): Silence compiler.
13575 * progmodes/vhdl-mode.el (speedbar-refresh)
13576 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13577 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13578 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13579 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13580 (speedbar-file-lists, speedbar-make-tag-line)
13581 (speedbar-line-directory, speedbar-goto-this-file)
13582 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13583 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13584 (speedbar-make-button, speedbar-reset-scanners)
13585 (speedbar-files-item-info, speedbar-line-text)
13586 (speedbar-find-file-in-frame, speedbar-set-timer)
13587 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13588 (speedbar-with-writable): Do not (re)define it.
13589 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13590 rather than speedbar- alias.
13592 2013-05-21 Leo Liu <sdl.web@gmail.com>
13594 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13596 (octave-mode): Tweak fill-nobreak-predicate.
13597 (inferior-octave-startup): Check process to avoid infinite loop.
13598 (inferior-octave): Pop to buffer first to show abornmal process
13601 2013-05-21 Glenn Morris <rgm@gnu.org>
13603 * printing.el (pr-menu-bar): Define when compiling.
13605 2013-05-21 Leo Liu <sdl.web@gmail.com>
13607 * progmodes/octave.el (octave-auto-fill): Remove.
13608 (octave-indent-new-comment-line): Improve.
13609 (octave-mode): Use auto fill mode through
13610 comment-line-break-function and fill-nobreak-predicate.
13611 (octave-goto-function-definition): Support DEFUN_DLD.
13612 (octave-beginning-of-defun): Small tweak.
13613 (octave-help): Show parent directory.
13615 2013-05-21 Glenn Morris <rgm@gnu.org>
13617 * files.el (dired-unmark):
13618 * progmodes/gud.el (gdb-input): Update declarations.
13620 * calculator.el (electric, ehelp): No need to load when compiling.
13621 (Electric-command-loop, electric-describe-mode): Declare.
13623 * doc-view.el (doc-view-current-converter-processes): Move before use.
13625 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13626 Move MODE-set-explicitly definition before use.
13628 * international/mule-diag.el (mule-diag):
13629 Don't use obsolete window-system-version.
13631 * mail/feedmail.el (smtpmail): No need to load when compiling.
13632 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13634 * mail/mail-utils.el (rfc822): No need to load when compiling.
13635 (rfc822-addresses): Autoload it.
13636 (mail-strip-quoted-names): Trivial simplification.
13638 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13639 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13641 * net/snmp-mode.el (tempo): Don't duplicate requires.
13643 * progmodes/prolog.el (info): No need to load when compiling.
13644 (comint): Require before shell requires it.
13645 (Info-goto-node): Autoload it.
13646 (Info-follow-nearest-node): Declare.
13647 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13649 * textmodes/artist.el (picture-mode-exit): Declare.
13651 * textmodes/reftex-parse.el (reftex-parse-from-file):
13652 Trivial rewrite so the compiler can parse it better.
13654 2013-05-20 Leo Liu <sdl.web@gmail.com>
13656 * progmodes/octave.el (octave-help-mode-map)
13657 (octave-help-mode-finish-hook): New variables.
13658 (octave-help-mode, octave-help-mode-finish): New functions.
13659 (octave-help): Use octave-help-mode.
13661 2013-05-20 Glenn Morris <rgm@gnu.org>
13663 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13665 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13667 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13668 start at point, so that expansion starting right after opening
13669 slash in a regexp is recognized.
13670 (ruby-syntax-before-regexp-re): New defvar, extracted from
13671 ruby-syntax-propertize-function. Since the value of this regexp
13672 is looked up at runtime now, we should be able to turn
13673 `ruby-syntax-methods-before-regexp' into a defcustom later.
13674 (ruby-syntax-propertize-function): Split regexp matching into two
13675 parts, for opening and closing slashes. That allows us to skip
13676 over string interpolations and support multiline regexps.
13677 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13678 for them, which calls `ruby-syntax-propertize-expansion'.
13679 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13680 call to `ruby-syntax-propertize-function'.
13681 (ruby-syntax-propertize-expansion): Extracted from
13682 `ruby-syntax-propertize-expansions'. Handles one expansion.
13683 (ruby-syntax-propertize-percent-literal): Leave point right after
13684 the percent symbol, so that the expression expansion rule can
13685 propertize the contents.
13686 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13688 (ruby-syntax-propertize-expansions): Remove.
13690 2013-05-18 Juri Linkov <juri@jurta.org>
13692 * man.el (Man-default-man-entry): Remove `-' from the end
13693 of the default value. (Bug#14400)
13695 2013-05-18 Glenn Morris <rgm@gnu.org>
13697 * comint.el (comint-password-prompt-regexp):
13698 Allow "password for XXX" where XXX contains colons (eg https://...).
13700 2013-05-18 Leo Liu <sdl.web@gmail.com>
13702 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13703 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13704 (octave-source-directories): Don't check process.
13705 (octave-source-directories, octave-find-definition): Doc fix.
13707 2013-05-18 Glenn Morris <rgm@gnu.org>
13709 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13710 Remove backspace/delete bindings. (Bug#14392)
13712 * cus-dep.el (custom-make-dependencies): Sort the output.
13713 (custom-versions-load-alist): Convert comment to doc.
13715 2013-05-17 Leo Liu <sdl.web@gmail.com>
13717 * newcomment.el (comment-search-backward): Stricter in finding
13718 comment start. (Bug#14303)
13720 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13721 (octave-comment-start-skip): Properly anchored.
13723 2013-05-17 Leo Liu <sdl.web@gmail.com>
13725 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13726 Clean up when turned off. (Bug#14395)
13727 (smie--highlight-matching-block-overlay): No longer buffer-local.
13728 (smie-highlight-matching-block): Adjust.
13730 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13732 Doc string fix for "nanoseconds" (Bug#14406).
13733 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13734 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13736 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13738 * calc/calc-units.el (math-extract-units): Preserve powers
13741 2013-05-17 Leo Liu <sdl.web@gmail.com>
13743 * subr.el (delete-consecutive-dups): New function.
13744 * ido.el (ido-set-matches-1): Use it.
13745 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13746 * ido.el (ido-remove-consecutive-dups): Remove.
13748 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13751 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13752 regexp-opt's `words'.
13754 2013-05-16 Leo Liu <sdl.web@gmail.com>
13756 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13757 (smie--highlight-matching-block-overlay)
13758 (smie--highlight-matching-block-lastpos)
13759 (smie--highlight-matching-block-timer): New variables.
13760 (smie-highlight-matching-block): New function.
13761 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13762 (smie-setup): Conditionally enable smie-blink-matching-open.
13764 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13766 Sync with upstream verilog-mode r840.
13767 * progmodes/verilog-mode.el (verilog-mode-version)
13768 (verilog-mode-release-date): Update.
13769 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13770 (verilog-sig-tieoff): Fix string error on
13771 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13772 (verilog-read-decls): Fix parameters confusing
13773 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13775 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13777 * subr.el (reveal-filename): New function.
13779 * loadup.el: Compute Emacs executable versions on MS-Windows,
13780 where executables have the .exe extension. Add a hard link
13781 emacs-XX.YY.ZZ.exe on MS-Windows.
13783 * Makefile.in (XARGS_LIMIT): New variable.
13784 (custom-deps, finder-data, autoloads)
13785 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13786 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13787 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13788 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13790 2013-05-16 Leo Liu <sdl.web@gmail.com>
13792 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13793 (octave-mode-menu, octave-mode-map): Remove its uses.
13795 2013-05-16 Reto Zimmermann <reto@gnu.org>
13797 Sync with upstream vhdl mode v3.34.2.
13798 * progmodes/vhdl-mode.el: Use `push' throughout.
13799 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13800 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13801 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13802 (vhdl-actual-generic-name): New option to derive actual generic name.
13803 (vhdl-port-paste-signals): Replace formal by actual generics.
13804 (vhdl-beautify): New name for old group vhdl-align. Update users.
13805 (vhdl-beautify-options): New option.
13806 (vhdl-last-input-event): New compat alias. Use throughout.
13807 (vhdl-goto-line): Replace user level function `goto-line'.
13808 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13809 vhdl-fix-statement-buffer.
13810 (vhdl-create-mode-menu): Add some entries.
13811 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13812 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13813 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13814 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13815 to force statements on one line.
13816 (vhdl-remove-trailing-spaces-region):
13817 New, split from vhdl-remove-trailing-spaces.
13818 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13819 Respect vhdl-beautify-options.
13820 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13821 (vhdl-update-sensitivity-list): Not add with index if exists without.
13822 Not include array index with signal. Ignore keywords in comments.
13823 (vhdl-get-visible-signals): Regexp tweaks.
13824 (vhdl-template-component-inst): Handle empty library.
13825 (vhdl-template-type): Add template for 'enum' type.
13826 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13827 Use vhdl-replace-string.
13828 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13829 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13830 (vhdl-speedbar-initialize): Update for above name change.
13831 (vhdl-compose-wire-components): Fix in handling of constants.
13832 (vhdl-error-regexp-emacs-alist): New variable.
13833 (vhdl-error-regexp-add-emacs): New function;
13834 adds support for new compile.el (Emacs 22+)
13835 (vhdl-generate-makefile-1): Change target order for single lib. units.
13836 Allow use of absolute file names.
13838 2013-05-16 Leo Liu <sdl.web@gmail.com>
13840 * simple.el (prog-indent-sexp): Indent enclosing defun.
13842 2013-05-15 Glenn Morris <rgm@gnu.org>
13844 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13845 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13846 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13847 (whitespace-highlight): Move to whitespace group.
13849 * comint.el (comint-source):
13850 * pcmpl-linux.el (pcmpl-linux):
13851 * shell.el (shell-faces):
13852 * eshell/esh-opt.el (eshell-opt):
13853 * international/ccl.el (ccl): Remove empty custom groups.
13855 * completion.el (dynamic-completion-mode):
13856 * jit-lock.el (jit-lock-debug-mode):
13857 * minibuffer.el (completion-in-region-mode):
13858 * type-break.el (type-break-mode-line-message-mode)
13859 (type-break-query-mode):
13860 * emulation/tpu-edt.el (tpu-edt-mode):
13861 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13862 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13863 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13865 * term/xterm.el (xterm): Change parent group to terminals.
13867 * master.el (master): Remove empty custom group.
13868 (master-mode): Remove unused :group argument.
13869 * textmodes/refill.el (refill): Remove empty custom group.
13870 (refill-mode): Remove unused :group argument.
13872 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13874 * cus-dep.el: Provide a feature.
13875 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13876 Don't mistakenly ignore files whose basenames match a basename
13877 from preloaded-file-list (eg cedet/ede/simple.el).
13878 Add a fallback method for getting :group.
13880 2013-05-15 Juri Linkov <juri@jurta.org>
13882 * isearch.el (isearch-char-by-name): Rename from
13883 `isearch-insert-char-by-name'. Doc fix.
13884 (isearch-forward): Mention `isearch-char-by-name' in
13885 the docstring. (Bug#13348)
13887 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13888 `exit-minibuffer' instead of
13889 `isearch-nonincremental-exit-minibuffer'.
13890 (isearch-edit-string): Remove mention of
13891 `isearch-nonincremental-exit-minibuffer' from docstring.
13892 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13893 (isearch-forward-exit-minibuffer)
13894 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13896 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13898 * loadup.el: Just use unversioned DOC.
13900 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13901 literals as extending to EOB.
13902 (nxml-last-fontify-end): Remove unused variable.
13903 (nxml-after-change1): Use with-silent-modifications.
13904 (nxml-extend-after-change-region): Simplify.
13905 (nxml-extend-after-change-region1): Remove function.
13906 (nxml-after-change1): Don't adjust for dependent regions.
13907 (nxml-fontify-matcher): Simplify.
13908 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13909 (xmltok-add-dependent): Remove function.
13910 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13911 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13912 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13913 unclosed <[[, <?, comment, and other literals as extending to EOB.
13914 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13915 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13917 (rng-do-some-validation-1): Don't mark dependent regions.
13918 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13919 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13920 (nxml-clear-dependent-regions): Remove functions.
13921 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13922 (nxml-ensure-scan-up-to-date):
13923 Don't clear&mark dependent regions.
13925 2013-05-15 Leo Liu <sdl.web@gmail.com>
13927 * progmodes/octave.el (octave-goto-function-definition):
13928 Improve and fix callers.
13930 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13932 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13933 the setter (bug#14387).
13935 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13936 surrounding group (bug#14402).
13938 2013-05-14 Juri Linkov <juri@jurta.org>
13940 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13943 2013-05-14 Glenn Morris <rgm@gnu.org>
13945 * progmodes/f90.el (f90-imenu-generic-expression):
13946 Fix typo in 2013-05-08 change. (Bug#14402)
13948 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13950 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13951 Remove signals for which replies are never received.
13953 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13955 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13956 (gdb-handler-alist, gdb-handler-number): Remove variables.
13957 (gdb-handler-list): New variable.
13958 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13959 (gdb-pending-handler-p, gdb-handle-reply)
13960 (gdb-remove-all-pending-triggers): New functions.
13961 (gdb-discard-unordered-replies): New defcustom.
13962 (gdb-handler): New defstruct.
13963 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13964 instead of gdb-pending-triggers. Update docstring.
13965 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13966 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13967 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13968 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13969 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13970 (gdb-frame-handler): Pending triggers are now automatically managed.
13971 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13973 (gdb-input): Automatically handles pending triggers. Update docstring.
13974 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13975 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13977 (gdb-done-or-error): Now use gdb-handle-reply.
13979 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13981 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13984 2013-05-14 Glenn Morris <rgm@gnu.org>
13986 * subr.el (user-emacs-directory-warning): New option.
13987 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13989 2013-05-14 Leo Liu <sdl.web@gmail.com>
13991 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13993 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13994 (octave-font-lock-texinfo-comment): Fix invalid search bound
13995 error: wrong side of point.
13997 2013-05-14 Glenn Morris <rgm@gnu.org>
13999 * progmodes/flymake.el (flymake-xml-program): New option.
14000 (flymake-xml-init): Use it.
14002 * term/xterm.el: Provide a feature.
14004 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14006 2013-05-13 Glenn Morris <rgm@gnu.org>
14008 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14009 Add compat aliases as a hack workaround. (Bug#14384)
14011 2013-05-13 Leo Liu <sdl.web@gmail.com>
14013 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14015 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14017 (octave-comment-start-skip): Include %!.
14018 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14020 2013-05-12 Leo Liu <sdl.web@gmail.com>
14022 * progmodes/octave.el (inferior-octave-startup): Store the value
14023 of __octave_srcdir__ for octave-source-directories.
14024 (inferior-octave-check-process): New function refactored out of
14025 inferior-octave-send-list-and-digest.
14026 (octave-source-directories)
14027 (octave-find-definition-filename-function): New variables.
14028 (octave-source-directories)
14029 (octave-find-definition-default-filename): New functions.
14030 (octave-find-definition): Improve to find functions implemented in C++.
14032 2013-05-12 Glenn Morris <rgm@gnu.org>
14034 * calendar/diary-lib.el (diary-outlook-format-1):
14035 Don't include dayname in the output. (Bug#14349)
14037 2013-05-11 Glenn Morris <rgm@gnu.org>
14039 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14041 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14042 Treat cc-provide like provide.
14044 2013-05-11 Kevin Ryde <user42@zip.com.au>
14046 * cus-dep.el (custom-make-dependencies):
14047 Use generated-autoload-load-name for the sake of files such
14048 such cedet/semantic/bovine/c.el, where the base file name
14049 is not in load-path. (Bug#5277)
14051 2013-05-11 Glenn Morris <rgm@gnu.org>
14053 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14056 2013-05-11 Leo Liu <sdl.web@gmail.com>
14058 * progmodes/octave.el (octave-indent-comment): Improve.
14059 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14060 (octave-eldoc-function-signatures, octave-eldoc-function):
14062 (octave-mode, inferior-octave-mode): Add eldoc support.
14064 2013-05-11 Richard Stallman <rms@gnu.org>
14066 * epa.el (epa-decrypt-file): Take output file name as argument
14067 and read it using `interactive'.
14069 2013-05-11 Leo Liu <sdl.web@gmail.com>
14071 * progmodes/octave.el (octave-beginning-of-line)
14072 (octave-end-of-line): Check before using up-list because it jumps
14073 out of more syntactic contructs since moving to smie.
14074 (octave-indent-comment): New function.
14075 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14076 (octave-begin-keywords, octave-end-keywords)
14077 (octave-reserved-words, octave-smie-bnf-table)
14078 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14080 2013-05-11 Glenn Morris <rgm@gnu.org>
14082 * faces.el (internal-face-x-get-resource):
14083 * frame.el (ns-display-monitor-attributes-list):
14084 * calc/calc-aent.el (math-to-radians-2):
14085 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14088 * calc/calc-menu.el: Make it loadable in isolation.
14090 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14091 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14092 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14093 (eudc-bbdb-query-internal): Require 'bbdb.
14095 * lpr.el (lpr-headers-switches):
14096 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14098 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14100 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14102 * term.el (term-set-escape-char): Make it idempotent.
14104 2013-05-10 Leo Liu <sdl.web@gmail.com>
14106 * progmodes/octave.el (inferior-octave-completion-table):
14107 No longer a function and all uses changed. Use cache to speed up
14108 completion due to bug#11906.
14109 (octave-beginning-of-defun): Re-write to be more general.
14111 2013-05-10 Glenn Morris <rgm@gnu.org>
14113 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14115 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14117 * comint.el (comint-redirect-send-command-to-process): Use :around
14118 rather than :override for comint-redirect-filter.
14119 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14120 Call it instead of comint-redirect-original-filter-function (which
14121 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14123 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14125 * frame.el (display-monitor-attributes-list): Add NS case.
14126 (ns-display-monitor-attributes-list): Declare.
14128 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14130 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14132 2013-05-09 Glenn Morris <rgm@gnu.org>
14134 * international/fontset.el (vertical-centering-font-regexp):
14135 Set standard-value.
14137 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14139 * bookmark.el (bookmark-search-delay):
14140 * cus-start.el (vertical-centering-font-regexp):
14141 * ps-mule.el (ps-mule-font-info-database-default):
14142 * ps-print.el (ps-default-fg, ps-default-bg):
14143 * type-break.el (type-break-good-break-interval):
14144 * whitespace.el (whitespace-indentation-regexp)
14145 (whitespace-space-after-tab-regexp):
14146 * emacs-lisp/testcover.el (testcover-1value-functions)
14147 (testcover-noreturn-functions, testcover-progn-functions)
14148 (testcover-prog1-functions):
14149 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14150 * eshell/em-glob.el (eshell-glob-translate-alist):
14151 * play/tetris.el (tetris-tty-colors):
14152 * progmodes/cpp.el (cpp-face-default-list):
14153 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14154 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14155 (idlwave-help-browser-generic-args):
14156 * progmodes/make-mode.el (makefile-special-targets-list):
14157 * progmodes/python.el (python-shell-virtualenv-path):
14158 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14159 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14160 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14161 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14162 * textmodes/reftex-vars.el (reftex-format-label-function):
14163 * textmodes/remember.el (remember-diary-file): Fix custom types.
14165 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14168 2013-05-09 Leo Liu <sdl.web@gmail.com>
14170 * progmodes/octave.el (inferior-octave-completion-at-point):
14171 Restore file completion. (Bug#14300)
14172 (inferior-octave-startup): Fix incorrect highlighting for the
14175 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14177 * progmodes/ruby-mode.el: First cut at SMIE support.
14178 (ruby-use-smie): New var.
14179 (ruby-smie-grammar): New constant.
14180 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14181 (ruby-smie--forward-token, ruby-smie--backward-token)
14182 (ruby-smie-rules): New functions.
14183 (ruby-mode-variables): Setup SMIE if applicable.
14185 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14187 * simple.el (line-move-visual): Signal beginning/end of buffer
14188 only if vertical-motion moved less than it was requested. Avoids
14189 silly incorrect error messages when there are display strings with
14190 multiple newlines at EOL.
14192 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14194 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14195 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14196 (prolog-char-quote-workaround):
14197 * progmodes/cperl-mode.el (cperl-under-as-char):
14198 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14200 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14202 (vhdl-mode-syntax-table-init): Remove.
14204 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14207 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14209 (ld-script-font-lock-keywords):
14210 Change regexps to use things like \_< and \_>.
14212 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14213 Change all regexps to use things like \_< and \_>.
14215 * progmodes/autoconf.el (autoconf-definition-regexp)
14216 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14217 Handle a _ with symbol syntax.
14218 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14220 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14221 Consolidate declaration.
14222 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14224 (ada-create-syntax-table): Remove.
14225 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14226 already has the right syntax nowadays.
14227 (ada-goto-next-word): Don't change the syntax of "_".
14229 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14232 2013-05-08 Sam Steingold <sds@gnu.org>
14234 * thingatpt.el (thing-at-point): Accept optional second argument
14235 NO-PROPERTIES to strip the text properties from the return value.
14236 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14237 to `thing-at-point' instead of stripping the properties ourselves.
14238 Also, when `thing-at-point' fails to find a url, prepend "http://"
14239 to the filename at point on the assumption that the user is
14240 pointing at something like gnu.org/gnu.
14242 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14244 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14245 * faces.el (crm-separator):
14246 Silence byte-compiler.
14248 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14249 (tool-bar-map): Remove unneeded defvars.
14251 2013-05-08 Leo Liu <sdl.web@gmail.com>
14253 Re-work a fix for bug#10994 based on Le Wang's patch.
14254 * ido.el (ido-remove-consecutive-dups): New helper.
14255 (ido-completing-read): Use it.
14256 (ido-chop): Revert fix for bug#10994.
14258 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14260 * cus-edit.el (custom-save-variables):
14261 Pretty-print long values. (Bug#14187)
14263 2013-05-08 Glenn Morris <rgm@gnu.org>
14265 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14266 (m4-mode-syntax-table): Init in the defvar.
14267 (m4-mode-abbrev-table): Let define-derived-mode define it.
14269 2013-05-08 Tom Tromey <tromey@redhat.com>
14271 * progmodes/m4-mode.el (m4-mode-syntax-table):
14272 Do not treat "_" as word constituent. (Bug#14167)
14274 2013-05-07 Glenn Morris <rgm@gnu.org>
14276 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14277 Remove explicit eshell-isearch-cancel-map.
14279 * progmodes/f90.el (f90-smart-end-names): New option.
14280 (f90-smart-end): Doc fix.
14281 (f90-end-block-optional-name): New constant.
14282 (f90-block-match): Respect f90-smart-end-names.
14284 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14286 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14287 about implicit semi-colons (bug#14218).
14289 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14291 * frame.el (display-monitor-attributes-list)
14292 (frame-monitor-attributes): New functions.
14294 2013-05-06 Leo Liu <sdl.web@gmail.com>
14296 * progmodes/octave.el (octave-syntax-propertize-function): Change
14297 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14298 (octave-font-lock-keywords): Use octave-operator-regexp.
14299 (octave-completion-at-point): Rename from
14300 octave-completion-at-point-function.
14301 (inferior-octave-directory-tracker): Robustify.
14302 (octave-text-functions): Remove and fix its uses. No such things
14305 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14307 * emacs-lisp/trace.el (trace--display-buffer): New function.
14308 (trace-make-advice): Use it.
14310 2013-05-06 Juri Linkov <juri@jurta.org>
14312 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14313 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14315 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14316 in the help string. (Bug#12985)
14318 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14320 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14322 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14324 * progmodes/perl-mode.el: Add support for here documents.
14325 (perl-syntax-propertize-function): Match here-doc markers.
14326 (perl-syntax-propertize-special-constructs): Find their end.
14327 (perl-imenu-generic-expression): Use [:alnum:].
14329 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14330 (advice--add-function): Refresh the advice if already present
14333 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14335 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14337 2013-05-06 Glenn Morris <rgm@gnu.org>
14339 * w32-fns.el (w32-charset-info-alist): Declare.
14341 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14342 of its defcustom properties.
14343 (eshell-cmpl-initialize): No need to load pcomplete.
14345 * generic-x.el: No need to require comint when compiling.
14347 * net/eudc-export.el: Make it loadable without bbdb.
14348 (top-level): Use require rather than load-library.
14349 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14350 (eudc-batch-export-records-to-bbdb)
14351 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14354 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14356 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14357 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14358 some tweaks, instead.
14360 2013-05-05 Leo Liu <sdl.web@gmail.com>
14362 * progmodes/octave.el (octave-font-lock-keywords)
14363 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14364 (inferior-octave-send-list-and-digest): Improve error message.
14365 (octave-mode, inferior-octave-mode): Use setq-local.
14366 (octave-help): Set info-lookup-mode.
14368 2013-05-05 Richard Stallman <rms@gnu.org>
14370 * vc/compare-w.el (compare-windows-whitespace):
14371 Treat no-break space as whitespace.
14373 * mail/rmailsum.el (rmail-summary-rmail-update):
14374 Detect empty summary and don't change selected message.
14375 (rmail-summary-goto-msg): Likewise.
14377 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14378 Doc fixes, rename args.
14380 2013-05-05 Alan Mackenzie <acm@muc.de>
14382 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14384 2013-05-05 Juri Linkov <juri@jurta.org>
14386 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14387 to not add the length of the summary segment to the return value.
14390 2013-05-05 Leo Liu <sdl.web@gmail.com>
14392 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14393 (inferior-octave-output-filter): Remove.
14394 (octave-send-region, inferior-octave-startup): Fix callers.
14395 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14396 (octave-binary-file-extensions): New user variable.
14397 (octave-find-definition): Confirm if opening binary files.
14398 (octave-help-file): Use octave-find-definition to get the binary
14400 (octave-help): Adjust for octave-help-file change.
14402 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14404 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14405 Merge the two entries that handle function definitions.
14406 (pascal--syntax-propertize): New const.
14407 (pascal-mode): Use it. Use setq-local.
14409 2013-05-04 Glenn Morris <rgm@gnu.org>
14411 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14412 (diary-from-outlook): Respect diary-from-outlook-function.
14414 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14416 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14417 Move the declaration from C.
14418 (read-minibuffer, eval-minibuffer): Move from C.
14419 (completion-setup-function): Avoid minibuffer-completion-contents.
14421 2013-05-03 Leo Liu <sdl.web@gmail.com>
14423 * progmodes/octave.el (octave-font-lock-keywords): Do not
14424 dehighlight 'end' in comments or strings.
14425 (octave-completing-read, octave-goto-function-definition):
14427 (octave-help-buffer): New user variable.
14428 (octave-help-file, octave-help-function): New button types.
14429 (octave-help): New command and bind it to C-h ;.
14430 (octave-find-definition): New command and bind it to M-.
14431 (user-error): Alias to error if not defined.
14433 2013-05-02 Leo Liu <sdl.web@gmail.com>
14435 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14437 (octave-font-lock-keywords): Include [ and {.
14439 2013-05-02 Leo Liu <sdl.web@gmail.com>
14441 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14442 (inferior-octave): Remove calling comint-mode and return the buffer.
14443 (inferior-octave-startup): Cosmetic changes.
14445 2013-05-02 Leo Liu <sdl.web@gmail.com>
14447 * progmodes/octave.el (octave-syntax-propertize-function):
14448 Include the case when ' is at line beginning. (Bug#14336)
14450 2013-05-02 Glenn Morris <rgm@gnu.org>
14452 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14453 * desktop.el (vc-dir-mode): Just autoload it here.
14455 2013-05-02 Alan Mackenzie <acm@muc.de>
14457 Eliminate variable c-standard-font-lock-fontify-region-function.
14458 * progmodes/cc-mode.el
14459 (c-standard-font-lock-fontify-region-function): Remove.
14460 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14462 2013-05-01 Leo Liu <sdl.web@gmail.com>
14464 * progmodes/octave.el: Compatible with older emacs-24 releases.
14465 (inferior-octave-has-built-in-variables): Remove. Built-in
14466 variables were removed from Octave in 2007.
14467 (inferior-octave-startup): Fix uses.
14468 (comint-line-beginning-position): Remove compatibility code for
14471 2013-05-01 Juri Linkov <juri@jurta.org>
14473 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14475 2013-05-01 Juri Linkov <juri@jurta.org>
14477 * comint.el (comint-previous-matching-input): Don't print message
14478 "History item: %d" when `isearch-mode' is active.
14479 (comint-history-isearch-message): Print message "History item: %d"
14480 when `comint-input-ring-index' is not empty and this function is
14481 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14483 2013-05-01 Leo Liu <sdl.web@gmail.com>
14485 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14486 definitions. Use completion-at-point to insert keywords.
14487 (octave-abbrev-start): Remove.
14488 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14490 2013-04-30 Leo Liu <sdl.web@gmail.com>
14492 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14495 2013-04-30 Alan Mackenzie <acm@muc.de>
14497 Handle arbitrarily long C++ member initialisation lists.
14498 * progmodes/cc-engine.el (c-back-over-member-initializers):
14500 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14501 (most) member init lists.
14503 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14505 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14508 2013-04-30 Leo Liu <sdl.web@gmail.com>
14510 * progmodes/octave.el (octave-variables): Remove. No builtin
14511 variables any more. All converted to functions.
14512 (octave-font-lock-keywords, octave-completion-at-point-function):
14514 (octave-font-lock-texinfo-comment): New user variable.
14515 (octave-texinfo-font-lock-keywords): New variable for texinfo
14517 (octave-function-comment-block): New face.
14518 (octave-font-lock-texinfo-comment): New function.
14519 (octave-mode): Font lock texinfo comment block.
14521 2013-04-29 Leo Liu <sdl.web@gmail.com>
14523 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14524 indexing expression.
14525 (octave-continuation-string): Do not use \.
14526 (inferior-octave-complete-impossible): Remove.
14527 (inferior-octave-completion-table)
14528 (inferior-octave-completion-at-point): Remove its uses.
14529 (inferior-octave-startup): completion_matches was introduced to
14530 Octave in 1996 so safe to assume it.
14531 (octave-function-file-comment): Improve to follow how Octave does it.
14532 (octave-update-function-file-comment): Tweak.
14534 2013-04-29 Leo Liu <sdl.web@gmail.com>
14536 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14537 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14538 (octave-function-file-comment): Fix typo.
14539 (octave-sync-function-file-names): Use read-char-choice.
14541 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14543 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14544 to t for the less important warnings.
14546 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14548 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14550 2013-04-27 Glenn Morris <rgm@gnu.org>
14552 * vc/log-view.el (log-view-current-entry):
14553 Treat "---" separator lines as part of the following rev. (Bug#14169)
14555 2013-04-27 Juri Linkov <juri@jurta.org>
14557 * subr.el (read-number): Doc fix about using it by interactive
14558 code letter `n'. (Bug#14254)
14560 2013-04-27 Juri Linkov <juri@jurta.org>
14562 * desktop.el (desktop-auto-save-timeout): New option.
14563 (desktop-file-checksum): New variable.
14564 (desktop-save): Add optional arg `auto-save' and don't auto-save
14565 if nothing changed.
14566 (desktop-auto-save-timer): New variable.
14567 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14568 (after-init-hook): Call `desktop-auto-save-set-timer'.
14569 Suggested by Reuben Thomas <rrt@sc3d.org> in
14570 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14572 2013-04-27 Leo Liu <sdl.web@gmail.com>
14574 * progmodes/octave.el (octave-function-file-p)
14575 (octave-skip-comment-forward, octave-function-file-comment)
14576 (octave-update-function-file-comment): New functions.
14577 (octave-mode-map): Bind C-c ; to
14578 octave-update-function-file-comment.
14579 (octave-mode-menu): Add octave-update-function-file-comment.
14580 (octave-mode, inferior-octave-mode): Fix doc-string.
14581 (octave-insert-defun): Conform to Octave's coding convention.
14584 * files.el (basic-save-buffer): Don't let errors in
14585 before-save-hook prevent saving buffer.
14587 2013-04-20 Roland Winkler <winkler@gnu.org>
14589 * faces.el (read-face-name): Use completing-read if arg multiple
14592 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14594 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14595 displayed, move point to after the totals line.
14596 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14599 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14601 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14602 Add current dir to the load-path.
14603 (package-generate-autoloads): Don't rely on
14604 autoload-ensure-default-file.
14606 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14608 * textmodes/remember.el (remember-store-in-files): Document that
14609 the file name format is passed to `format-time-string'.
14611 2013-04-26 Leo Liu <sdl.web@gmail.com>
14613 * progmodes/octave.el (octave-sync-function-file-names): New function.
14614 (octave-mode): Use it in before-save-hook.
14616 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14618 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14621 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14622 \n and comment, even if it's not an implicit ; (bug#14218).
14624 2013-04-26 Glenn Morris <rgm@gnu.org>
14626 * subr.el (read-number): Once more use `read' rather than
14627 `string-to-number', to trap non-numeric input. (Bug#14254)
14629 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14631 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14632 Use `syntax-multiline' text property consistently instead of
14633 `font-lock-multiline'. (Bug#14237)
14635 2013-04-26 Glenn Morris <rgm@gnu.org>
14637 * emacs-lisp/shadow.el (list-load-path-shadows):
14638 No longer necessary to check for duplicate simple.el, since
14639 2012-07-07 change to init_lread to not include installation lisp
14640 directories in load-path when running uninstalled. (Bug#14270)
14642 2013-04-26 Leo Liu <sdl.web@gmail.com>
14644 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14645 (octave-mode, inferior-octave-mode): Use setq-local.
14646 (octave-not-in-string-or-comment-p): Rename to
14647 octave-in-string-or-comment-p.
14648 (octave-in-comment-p, octave-in-string-p)
14649 (octave-in-string-or-comment-p): Replace defsubst with defun.
14651 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14653 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14655 2013-04-25 Bastien Guerry <bzg@gnu.org>
14657 * textmodes/remember.el (remember-data-directory)
14658 (remember-directory-file-name-format): Fix custom types.
14660 2013-04-25 Leo Liu <sdl.web@gmail.com>
14662 * progmodes/octave.el (octave-completion-at-point-function):
14663 Make use of inferior octave process.
14664 (octave-initialize-completions): Remove.
14665 (inferior-octave-completion-table): New function.
14666 (inferior-octave-completion-at-point): Use it.
14667 (octave-completion-alist): Remove.
14669 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14671 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14672 (opascal-mode-syntax-table): New var.
14673 (opascal-literal-kind, opascal-is-literal-end)
14674 (opascal-literal-token-at): Rewrite.
14675 (opascal--literal-start-re, opascal-font-lock-keywords)
14676 (opascal--syntax-propertize): New constants.
14677 (opascal-font-lock-defaults): Adjust.
14678 (opascal-mode): Use them. Set comment-<foo> variables as well.
14679 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14680 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14681 (delphi-other-face, opascal-other-face): Remove face variables.
14682 (opascal-save-state): Remove macro.
14683 (opascal-fontifying-progress-step): Remove constant.
14684 (opascal--ignore-changes): Remove var.
14685 (opascal-set-token-property, opascal-parse-next-literal)
14686 (opascal-is-stable-literal, opascal-complete-literal)
14687 (opascal-is-literal-start, opascal-face-of)
14688 (opascal-parse-region, opascal-parse-region-until-stable)
14689 (opascal-fontify-region, opascal-after-change)
14690 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14691 (opascal-debug-parse-region, opascal-debug-parse-window)
14692 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14693 (opascal-debug-fontify-buffer): Remove.
14694 (opascal-debug-mode-map): Adjust accordingly.
14696 2013-04-25 Leo Liu <sdl.web@gmail.com>
14698 Merge octave-mod.el and octave-inf.el into octave.el with some
14700 * progmodes/octave.el: New file renamed from octave-mod.el.
14701 * progmodes/octave-inf.el: Merged into octave.el.
14702 * progmodes/octave-mod.el: Renamed to octave.el.
14704 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14706 * textmodes/reftex-vars.el
14707 (reftex-label-ignored-macros-and-environments): New defcustom.
14709 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14711 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14713 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14714 (smie-indent-keyword): Improve the check to ensure that the next
14715 comment is really on the same line.
14716 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14718 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14719 semi-colons if the line is not otherwise empty (bug#14218).
14721 2013-04-25 Glenn Morris <rgm@gnu.org>
14723 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14725 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14727 * progmodes/opascal.el (opascal-set-token-property): Rename from
14728 opascal-set-text-properties and only set `token' (bug#14134).
14729 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14730 (opascal-literal-text-properties): Remove.
14731 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14734 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14736 * textmodes/remember.el (remember-handler-functions): Add an
14737 option for a new handler `remember-store-in-files'.
14738 (remember-data-directory, remember-directory-file-name-format):
14740 (remember-store-in-files): New function to store remember notes
14741 as separate files within a directory.
14743 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14745 * progmodes/compile.el (compilation-next-error-function):
14746 Pass "formats" to compilation-find-file (bug#11777).
14748 2013-04-24 Glenn Morris <rgm@gnu.org>
14750 * vc/vc-bzr.el (vc-bzr-print-log):
14751 * vc/vc-hg.el (vc-hg-print-log):
14752 * vc/vc-svn.el (vc-svn-print-log):
14753 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14755 * vc/vc-bzr.el (vc-bzr-print-log):
14756 * vc/vc-cvs.el (vc-cvs-print-log):
14757 * vc/vc-git.el (vc-git-print-log):
14758 * vc/vc-hg.el (vc-hg-print-log):
14759 * vc/vc-mtn.el (vc-mtn-print-log):
14760 * vc/vc-rcs.el (vc-rcs-print-log):
14761 * vc/vc-sccs.el (vc-sccs-print-log):
14762 * vc/vc-svn.el (vc-svn-print-log):
14763 * vc/vc.el (vc-print-log-internal): Doc fixes.
14765 2013-04-23 Glenn Morris <rgm@gnu.org>
14767 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14768 Remove venerable code attempting to avoid substitute-command-keys.
14770 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14772 * textmodes/reftex-vars.el (reftex-label-regexps):
14773 Call `reftex-compile-variables' after changes to this variable.
14775 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14777 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14778 Use lexical-binding.
14779 (jit-lock-force-redisplay): Use markers, check buffer's continued
14780 existence and beware narrowed buffers.
14781 (jit-lock-fontify-now): Adjust call accordingly.
14783 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14785 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14786 to avoid misleading the user.
14788 2013-04-22 Leo Liu <sdl.web@gmail.com>
14790 * info-look.el: Prefer latex2e.info. (Bug#14240)
14792 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14794 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14796 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14797 * net/tramp.el (tramp-call-process): ... here.
14798 (tramp-set-completion-function, tramp-parse-putty):
14799 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14800 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14801 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14802 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14803 (tramp-call-local-coding-command): Use `tramp-call-process'
14804 instead of `tramp-compat-call-process'.
14806 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14807 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14808 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14809 (tramp-find-inline-compress): Improve traces.
14810 (tramp-maybe-send-script): Check for Perl binary.
14811 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14813 2013-04-22 Daiki Ueno <ueno@gnu.org>
14815 * epg.el (epg-context-pinentry-mode): New function.
14816 (epg-context-set-pinentry-mode): New function.
14817 (epg--start): Pass --pinentry-mode option to gpg command.
14819 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14821 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14822 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14823 `completion-at-point'. (Bug#13774)
14825 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14826 default key binding for `describe-distribution' has been moved to
14827 `C-h C-o'. (Bug#13970)
14829 2013-04-21 Glenn Morris <rgm@gnu.org>
14831 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14833 (vc-print-log): Clarify interactive prompt.
14835 2013-04-20 Glenn Morris <rgm@gnu.org>
14837 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14838 No longer include timestamp etc information.
14840 2013-04-20 Roland Winkler <winkler@gnu.org>
14842 * faces.el (read-face-name): Bug fix, return just one face if arg
14843 multiple is nil. (Bug#14209)
14845 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14847 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14848 (remove-function): Autoload.
14850 * comint.el (comint-redirect-original-filter-function): Remove.
14851 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14852 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14853 (vc-cvs-annotate-command):
14854 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14855 * progmodes/prolog.el (prolog-consult-compile):
14856 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14857 Use add/remove-function instead.
14858 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14859 (gud-tooltip-process-output, gud-tooltip-tips):
14860 Use add/remove-function instead.
14861 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14862 (scheme-interaction-mode, exit-scheme-interaction-mode):
14863 Use add/remove-function instead.
14865 * vc/vc-dispatcher.el: Use lexical-binding.
14866 (vc--process-sentinel): Rename from vc-process-sentinel.
14867 Change last arg to be the code to run. Don't use vc-previous-sentinel
14868 and vc-sentinel-commands any more.
14869 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14870 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14872 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14874 * progmodes/sh-script.el (sh-imenu-generic-expression):
14875 Handle function names with a single character. (Bug#14111)
14877 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14879 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14880 for subroutines defined in an eval (bug#14182).
14882 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14884 * bookmark.el (bookmark-completing-read): Improve handling of empty
14885 string (bug#14176).
14887 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14889 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14891 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14893 New faster Imenu implementation (bug#14058).
14894 * progmodes/python.el (python-imenu-prev-index-position)
14895 (python-imenu-format-item-label-function)
14896 (python-imenu-format-parent-item-label-function)
14897 (python-imenu-format-parent-item-jump-label-function):
14899 (python-imenu-format-item-label)
14900 (python-imenu-format-parent-item-label)
14901 (python-imenu-format-parent-item-jump-label)
14902 (python-imenu--put-parent, python-imenu--build-tree)
14903 (python-imenu-create-index, python-imenu-create-flat-index)
14904 (python-util-popn): New functions.
14905 (python-mode): Set imenu-create-index-function to
14906 python-imenu-create-index.
14908 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14910 * winner.el (winner-active-region): Use region-active-p, activate-mark
14911 and deactivate-mark (bug#14225).
14913 * simple.el (deactivate-mark): Don't inline it.
14915 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14917 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14919 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14921 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14922 file extensions from the archive-mode entry in order to prefer
14923 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14925 2013-04-18 Leo Liu <sdl.web@gmail.com>
14927 * bindings.el (help-event-list): Add ?\?.
14929 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14931 * subr.el (with-wrapper-hook): Declare obsolete.
14932 * simple.el (filter-buffer-substring-function): New hook.
14933 (filter-buffer-substring): Use it.
14934 (filter-buffer-substring-functions): Mark obsolete.
14935 * minibuffer.el (completion-in-region-function): New hook.
14936 (completion-in-region): Use it.
14937 (completion-in-region-functions): Mark obsolete.
14938 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14939 * abbrev.el (abbrev-expand-function): New hook.
14940 (expand-abbrev): Use it.
14941 (abbrev-expand-functions): Mark obsolete.
14942 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14943 and :filter-return.
14945 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14947 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14948 and do not care about match data.
14950 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14952 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14953 completion tables when completing error conditions and
14954 `declare' arguments.
14955 (lisp-complete-symbol, field-complete): Mark as obsolete.
14956 (check-parens): Unmatched parens are user errors.
14957 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14959 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14961 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14962 command changed buffer (ie. `flyspell-pre-buffer' is not current
14963 buffer), which prevents making decisions based on invalid value of
14964 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14965 cause an error when `flyspell-pre-point' was nil after switching
14967 (flyspell-post-command-hook): No longer needs to change buffers when
14968 checking pre-word. While at it remove unnecessary progn.
14970 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14972 * textmodes/ispell.el (ispell-add-per-file-word-list):
14973 Fix `flyspell-correct-word-before-point' error when accepting
14974 words and `coment-padding' is an integer by using
14975 `comment-normalize-vars' (Bug #14214).
14977 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14979 New defun movement commands.
14980 * progmodes/python.el (python-nav--syntactically)
14981 (python-nav--forward-defun, python-nav-backward-defun)
14982 (python-nav-forward-defun): New functions.
14984 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14986 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14987 (python-syntax-context): Use named compiler-macro for backwards
14988 compatibility with Emacs 24.x.
14990 2013-04-17 Leo Liu <sdl.web@gmail.com>
14992 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14993 octave-hide-process-buffer.
14995 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14997 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15000 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15002 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15003 Fix adjustment of offset when receiving incomplete responses from GDB
15006 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15008 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15009 python-mode-abbrev-table.
15010 (python-skeleton-define): Adjust accordingly.
15011 (python-mode-abbrev-table): New table that inherits from it so that
15012 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15014 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15015 (abbrev-symbol): Use it.
15016 (abbrev--before-point): Use it since we already handle inheritance.
15018 2013-04-16 Leo Liu <sdl.web@gmail.com>
15020 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15021 binding to info-lookup-symbol.
15023 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15025 * minibuffer.el (completion--twq-all):
15026 * term/ns-win.el (ns-initialize-window-system):
15027 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15029 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15031 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15034 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15036 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15038 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15039 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15041 (ruby-end-of-defun): Remove the unused arg, change the docstring
15042 to reflect that this function is only used as the value of
15043 `end-of-defun-function'.
15044 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15045 to reflect an earlier change that beginning/end-of-defun functions
15046 jump between methods in a class definition, as well as top-level
15049 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15051 * minibuffer.el (minibuffer-complete): Don't just scroll
15052 a *Completions* that's been iconified.
15053 (minibuffer-force-complete): Make sure repetitions do cycle when going
15054 through completion-in-region -> minibuffer-complete.
15056 2013-04-15 Alan Mackenzie <acm@muc.de>
15058 Correct the placement of c-cpp-delimiters when there're #s not at
15061 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15062 place a submatch around the #.
15063 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15064 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15067 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15069 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15070 (advice--member-p): New arg `name'.
15071 (advice--add-function, advice-member-p): Use it (bug#14202).
15073 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15075 Reformulate java imenu-generic-expression.
15076 The old expression contained ill formed regexps.
15078 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15079 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15080 (cc-imenu-java-method-arg-regexp): New defconsts.
15081 (cc-imenu-java-build-type-args-regex): New defun.
15082 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15083 handling of spaces in the regexp.
15085 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15087 * textmodes/ispell.el (ispell-command-loop): Remove
15088 flyspell highlight of a word when ispell accepts it (bug #14178).
15090 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15092 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15093 uses code from the previous `ange-ftp-run-real-handler'.
15094 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15095 only in case that function exist. This is needed for proper
15096 unloading of Tramp.
15098 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15100 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15102 * textmodes/reftex.el (reftex-compile-variables): Use it.
15104 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15106 * files.el (normal-mode): Only use default major-mode if no other mode
15109 * emacs-lisp/trace.el (trace-values): New function.
15111 * files.el: Allow : in local variables (bug#14089).
15112 (hack-local-variable-regexp): New var.
15113 (hack-local-variables-prop-line, hack-local-variables): Use it.
15115 2013-04-13 Roland Winkler <winkler@gnu.org>
15117 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15118 data before it gets modified by bibtex-beginning-of-entry.
15120 2013-04-13 Roland Winkler <winkler@gnu.org>
15122 * textmodes/bibtex.el (bibtex-url): Doc fix.
15124 2013-04-13 Roland Winkler <winkler@gnu.org>
15126 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15127 does not visit a BibTeX file, exclude it from the list of buffers
15128 returned by bibtex-initialize.
15130 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15132 * window.el (split-window): Remove interactive form, since as a
15133 command this function is a special case of split-window-below.
15134 Correct doc string.
15136 2013-04-12 Roland Winkler <winkler@gnu.org>
15138 * faces.el (read-face-name): Do not override value of arg default.
15139 Allow single faces and strings as default values. Remove those
15140 elements from return value that are not faces.
15141 (describe-face): Simplify.
15142 (face-at-point): New optional args thing and multiple so that this
15143 function can provide the same functionality previously provided by
15145 (make-face-bold, make-face-unbold, make-face-italic)
15146 (make-face-unitalic, make-face-bold-italic, invert-face)
15147 (modify-face, read-face-and-attribute): Use face-at-point.
15149 * cus-edit.el (customize-face, customize-face-other-window)
15150 * cus-theme.el (custom-theme-add-face)
15151 * face-remap.el (buffer-face-set)
15152 * facemenu.el (facemenu-set-face): Use face-at-point.
15154 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15156 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15158 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15160 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15161 off leading { and trailing } from field values.
15163 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * emacs-lisp/timer.el (timer--check): New function.
15166 (timer--time, timer-set-function, timer-event-handler): Use it.
15167 (timer-set-idle-time): Simplify.
15168 (timer--activate): CSE.
15169 (timer-event-handler): Give more info in error message.
15170 (internal-timer-start-idle): New function, moved from C.
15172 * mpc.el (mpc-proc): Add `restart' argument.
15173 (mpc-proc-cmd): Use it.
15174 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15175 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15178 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15180 * progmodes/sh-script.el: Implement `sh-mode' own
15181 `add-log-current-defun-function' (bug#14112).
15182 (sh-current-defun-name): New function.
15183 (sh-mode): Use the function.
15185 2013-04-09 Bastien Guerry <bzg@gnu.org>
15187 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15189 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15191 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15193 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15196 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15198 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15201 2013-04-07 Leo Liu <sdl.web@gmail.com>
15203 * pcmpl-x.el: New file.
15205 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15207 Do not set x-display-name until X connection is established.
15208 This is needed to prevent from weird situation described at
15209 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15210 * frame.el (make-frame): Set x-display-name after call to
15211 window system initialization function, not before.
15212 * term/x-win.el (x-initialize-window-system): Add optional
15213 display argument and use it.
15214 * term/w32-win.el (w32-initialize-window-system):
15215 * term/ns-win.el (ns-initialize-window-system):
15216 * term/pc-win.el (msdos-initialize-window-system):
15217 Add compatible optional display argument.
15219 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15221 * files.el (normal-backup-enable-predicate): On MS-Windows and
15222 MS-DOS compare truenames of temporary-file-directory and of the
15223 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15224 don't fail comparison by compare-strings. Also, compare file
15225 names case-insensitively on MS-Windows and MS-DOS.
15227 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15229 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15230 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15232 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15234 * whitespace.el (whitespace-color-on, whitespace-color-off):
15235 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15237 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15239 * ispell.el (ispell-set-spellchecker-params):
15240 Really set `ispell-args' for all equivs.
15242 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15244 * ido.el (ido-completions): Use extra elements of ido-decorations
15246 (ido-decorations): Update docstring.
15248 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15250 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15251 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15252 nil during initialization, in order not to miss changes since the
15253 file was opened. (Bug#14140)
15255 2013-04-05 Leo Liu <sdl.web@gmail.com>
15257 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15259 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15261 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15263 2013-04-04 Glenn Morris <rgm@gnu.org>
15265 * electric.el (electric-pair-inhibit-predicate): Add :version.
15267 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15269 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15270 when a package is required several times (bug#14082).
15272 2013-04-04 Roland Winkler <winkler@gnu.org>
15274 * faces.el (read-face-name): Behave as promised by the docstring.
15275 Assume that arg default is a list of faces.
15276 (describe-face): Call read-face-name with list of default faces.
15278 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15280 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15281 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15282 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15284 (bookmark-exit-hook-internal): Save even if list is empty.
15286 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15288 * emacs-lisp/package.el (package-pinned-packages): New var.
15289 (package--add-to-archive-contents): Obey it (bug#14118).
15291 2013-04-03 Alan Mackenzie <acm@muc.de>
15293 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15294 Also adapt to the new values of element 7 of a parse state.
15296 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15297 parameter `not-in-delimiter'. Handle being inside comment opener.
15298 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15299 character in case we're typing a '*' after a '/'.
15300 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15301 instead by passing the parameter to c-state-pp-to-literal.
15303 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15304 for elt. 7 of a parse state.
15306 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15308 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15309 * international/latin1-disp.el, international/mule-util.el:
15310 * language/cyril-util.el, language/european.el, language/ind-util.el:
15311 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15312 * language/tibetan.el, language/viet-util.el:
15313 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15315 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15318 (electric-pair-post-self-insert-function): Use it.
15319 (electric-pair-default-inhibit): New function, extracted from
15320 electric-pair-post-self-insert-function.
15322 2013-03-31 Roland Winkler <winkler@gnu.org>
15324 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15326 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15328 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15330 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15332 Un-indent after "pass" and "return" statements (Bug#13888)
15333 * progmodes/python.el (python-indent-block-enders): New var.
15334 (python-indent-calculate-indentation): Use it.
15336 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15338 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15339 defun. Defining it as defalias could introduce too eager
15340 byte-compiler optimization. (Bug#14030)
15342 2013-03-30 Chong Yidong <cyd@gnu.org>
15344 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15346 2013-03-30 Leo Liu <sdl.web@gmail.com>
15348 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15349 (kmacro-execute-from-register): Pass the keyboard macro to
15350 kmacro-call-macro or repeating won't work correctly.
15352 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15354 * progmodes/subword.el: Back to using `forward-symbol'.
15356 * subr.el (forward-whitespace, forward-symbol)
15357 (forward-same-syntax): Move from thingatpt.el.
15359 2013-03-29 Leo Liu <sdl.web@gmail.com>
15361 * kmacro.el (kmacro-to-register): New command.
15362 (kmacro-execute-from-register): New function.
15363 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15365 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15367 * mpc.el: Use defvar-local and setq-local.
15368 (mpc--proc-connect): Connection failures are not bugs.
15369 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15370 (mpc-volume-map): Bind to the up-events.
15372 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15374 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15375 instead of `forward-symbol'.
15377 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15379 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15380 (edebug--recursive-edit): Use it.
15381 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15382 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15384 2013-03-28 Leo Liu <sdl.web@gmail.com>
15386 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15388 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15390 * facemenu.el (list-colors-callback): New defvar.
15391 (list-colors-redisplay): New function.
15392 (list-colors-display): Install list-colors-redisplay as the
15393 revert-buffer-function. (Bug#14063)
15395 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15398 and suffixes don't overlap (bug#14061).
15400 * case-table.el: Use lexical-binding.
15401 (case-table-get-table): New function.
15402 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15404 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15406 * progmodes/subword.el: Add `superword-mode' to do word motion
15407 over symbol_words (parallels and leverages `subword-mode' which
15408 does word motion inside MixedCaseWords).
15410 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15412 * eshell/em-unix.el: Move su and sudo to...
15413 * eshell/em-tramp.el: ...Eshell tramp module.
15415 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15417 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15418 Change return value to be a sexp. Delay `get-buffer' to after
15419 restoring the desktop (bug#13951).
15421 2013-03-26 Leo Liu <sdl.web@gmail.com>
15423 * register.el: Move semantic tag handling back to
15424 cedet/semantic/senator.el. (Bug#14052)
15426 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15428 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15429 into the prompt either (bug#13963).
15431 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15433 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15434 part of "(error-foo)".
15436 2013-03-24 Juri Linkov <juri@jurta.org>
15438 * replace.el (list-matching-lines-prefix-face): New defcustom.
15439 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15440 `occur-engine' if `face-differs-from-default-p' returns t.
15441 (occur-engine): Add `,' inside backquote construct to evaluate
15442 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15443 Pass `prefix-face' to the functions `occur-context-lines' and
15444 `occur-engine-add-prefix'.
15445 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15446 `prefix-face' and propertize the prefix with `prefix-face'.
15449 2013-03-24 Leo Liu <sdl.web@gmail.com>
15451 * nxml/rng-valid.el (rng-validate-while-idle)
15452 (rng-validate-quick-while-idle): Guard against deleted buffer.
15455 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15456 is the last entry in kill-buffer-hook.
15458 * files.el (kill-buffer-hook): Doc fix.
15460 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15462 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15463 Make it safe-local.
15465 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15467 2013-03-23 Leo Liu <sdl.web@gmail.com>
15469 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15472 * nxml/rng-valid.el (rng-validate-mode)
15473 (rng-after-change-function, rng-do-some-validation):
15474 * nxml/rng-maint.el (rng-validate-buffer):
15475 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15476 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15477 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15478 (nxml-extend-after-change-region): Use with-silent-modifications.
15480 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15483 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15484 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15485 timer-idle-list. (Bug#13999)
15487 2013-03-23 Juri Linkov <juri@jurta.org>
15489 * info.el (info-index-match): New face.
15490 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15491 main pattern and add text properties with the new face to matches
15492 in index entries relative to the beginning of the index entry.
15495 2013-03-21 Eric Ludlam <zappo@gnu.org>
15497 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15498 Inhibit read only while inserting objects.
15500 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15502 * progmodes/cfengine.el: Update docs to mention
15503 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15504 symbol motion. Remove "_" from the word syntax.
15506 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15508 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15509 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15511 2013-03-20 Juri Linkov <juri@jurta.org>
15513 * info.el (Info-next-reference-or-link)
15514 (Info-prev-reference-or-link): New functions.
15515 (Info-next-reference, Info-prev-reference): Use them.
15516 (Info-try-follow-nearest-node): Handle footnote navigation.
15517 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15519 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15521 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15522 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15524 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15526 Suppress unnecessary non-ASCII chatter during build process.
15527 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15528 (batch-skkdic-convert): Suppress most of the chatter.
15529 It's not needed so much now that machines are faster,
15530 and its non-ASCII component was confusing; see Dmitry Gutov in
15531 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15533 2013-03-20 Leo Liu <sdl.web@gmail.com>
15535 * ido.el (ido-chop): Fix bug#10994.
15537 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15539 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15541 (whitespace-color-on, whitespace-color-off):
15542 Use `font-lock-fontify-buffer' (Bug#13817).
15544 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15546 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15547 remapping in mode-line.
15548 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15550 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15552 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15553 value for `whitespace-line' face (Bug#13875).
15554 (whitespace-font-lock-keywords): Change description.
15555 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15556 the constructed keywords instead.
15557 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15559 2013-03-19 Leo Liu <sdl.web@gmail.com>
15561 * progmodes/compile.el (compilation-display-error): New command.
15562 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15565 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15567 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15569 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15571 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15573 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15575 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15577 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15578 * net/tramp-gvfs.el (top):
15579 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15580 (tramp-handle-shell-command): Use it.
15581 (tramp-dissect-file-name): Raise an error when hostname is a
15582 method name, and neither method nor user is specified.
15584 * net/trampver.el: Update release number.
15586 2013-03-18 Leo Liu <sdl.web@gmail.com>
15588 Make sure eldoc can be turned off properly.
15589 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15591 (eldoc-display-message-p): Revert last change.
15592 (eldoc-display-message-no-interference-p)
15593 (eldoc-print-current-symbol-info): Tweak.
15595 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15597 * doc-view.el (doc-view-new-window-function): Check the new window
15598 overlay's display property instead the char property of the
15599 buffer's first char. Use `with-selected-window' instead of
15600 `save-window-excursion' with `select-window'.
15601 (doc-view-document->bitmap): Check the current doc-view overlay's
15602 display property instead the char property of the buffer's first char.
15604 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15606 Automate the build of ja-dic.el (Bug#13984).
15607 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15608 from the input, rather than assume that it's been done for us by the
15609 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15610 the current date into a ja-dic.el comment, as that complicates
15611 regression testing.
15613 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15615 * whitespace.el: Fix double evaluation.
15616 (whitespace-space, whitespace-hspace, whitespace-tab)
15617 (whitespace-newline, whitespace-trailing, whitespace-line)
15618 (whitespace-space-before-tab, whitespace-indentation)
15619 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15621 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15622 (whitespace-color-on): Use a single font-lock-add-keywords call.
15623 Fix double-evaluation of face variables.
15625 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15627 * net/tramp-adb.el (tramp-adb-parse-device-names):
15628 Use `start-process' instead of `call-process'. Otherwise, the
15629 function might be blocked under MS Windows. (Bug#13299)
15631 2013-03-17 Leo Liu <sdl.web@gmail.com>
15633 Extend eldoc to display info in the mode-line. (Bug#13978)
15634 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15635 (eldoc-mode-line-string): New variable.
15636 (eldoc-minibuffer-message): New function.
15637 (eldoc-message-function): New variable.
15638 (eldoc-message): Use it.
15639 (eldoc-display-message-p)
15640 (eldoc-display-message-no-interference-p):
15641 Support eldoc-post-insert-mode.
15643 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15644 (eval-expression): Run it.
15646 2013-03-17 Roland Winkler <winkler@gnu.org>
15648 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15649 strings in the list of return values.
15651 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15653 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15654 radix before checking for HMS forms.
15656 2013-03-16 Leo Liu <sdl.web@gmail.com>
15658 * progmodes/scheme.el: Add indentation and font-locking for λ.
15661 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15663 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15664 token before point (bug#13942).
15666 2013-03-16 Leo Liu <sdl.web@gmail.com>
15668 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15670 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15672 * startup.el (command-line-normalize-file-name): Fix handling of
15673 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15674 <xfq.free@gmail.com> in
15675 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15677 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15679 Sync with Tramp 2.2.7.
15681 * net/trampver.el: Update release number.
15683 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15685 * doc-view.el: Fix bug#13887.
15686 (doc-view-insert-image): Don't modify overlay associated to
15687 non-live windows, and implement horizontal centering of image in
15688 case it's smaller than the window.
15689 (doc-view-new-window-function): Force redisplay of new windows on
15692 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15694 * saveplace.el (save-place-alist-to-file): Don't sort
15695 `save-place-alist', just pretty-print it (bug#13882).
15697 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15699 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15700 Check whether `default-file-name-coding-system' is bound.
15701 It isn't in XEmacs.
15703 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15705 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15706 backquotes for `obsolete' (bug#13929).
15708 * international/mule.el (find-auto-coding): Include file name in
15709 obsolescence warning (bug#13922).
15711 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15713 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15714 for CFEngine 3-specific indentation.
15715 (cfengine3-indent-line): Use it. Fix up category regex.
15716 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15718 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15720 * type-break.el (type-break-file-name):
15721 * textmodes/remember.el (remember-data-file):
15722 * strokes.el (strokes-file):
15723 * shadowfile.el (shadow-initialize):
15724 * saveplace.el (save-place-file):
15725 * ps-bdf.el (bdf-cache-file):
15726 * progmodes/idlwave.el (idlwave-config-directory):
15727 * net/quickurl.el (quickurl-url-file):
15728 * international/kkc.el (kkc-init-file-name):
15729 * ido.el (ido-save-directory-list-file):
15730 * emulation/viper.el (viper-custom-file-name):
15731 * emulation/vip.el (vip-startup-file):
15732 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15733 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15735 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15737 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15738 * language/thai-word.el: Switch to UTF-8.
15740 See ChangeLog.16 for earlier changes.
15742 ;; Local Variables:
15746 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15748 This file is part of GNU Emacs.
15750 GNU Emacs is free software: you can redistribute it and/or modify
15751 it under the terms of the GNU General Public License as published by
15752 the Free Software Foundation, either version 3 of the License, or
15753 (at your option) any later version.
15755 GNU Emacs is distributed in the hope that it will be useful,
15756 but WITHOUT ANY WARRANTY; without even the implied warranty of
15757 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15758 GNU General Public License for more details.
15760 You should have received a copy of the GNU General Public License
15761 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.