1 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3 * mpc.el (mpc-format): Trim Date to the year.
4 (mpc-songs-hashcons): Shorten the Date field.
6 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
7 into autoloading just because of a silly indirection.
9 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
11 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
13 2014-05-12 Glenn Morris <rgm@gnu.org>
15 * emacs-lisp/find-gc.el: Move to ../admin.
17 * printing.el (pr-version):
18 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
20 * net/browse-url.el (browse-url-mosaic):
21 Create /tmp/Mosaic.PID as a private file.
23 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
26 (advice--member-p): If name is given, only compare the name.
27 (advice--remove-function): Don't stop at the first match.
28 (advice--normalize-place): New function.
29 (add-function, remove-function): Use it.
30 (advice--add-function): Pass the name, if any, to
31 advice--remove-function.
33 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
35 * electric.el (electric-indent-post-self-insert-function): Don't use
36 `pos' after modifying the buffer (bug#17449).
38 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
40 * calendar/todo-mode.el (todo-insert-item-from-calendar):
41 Correct argument list to conform to todo-insert-item--basic.
43 2014-05-12 Glenn Morris <rgm@gnu.org>
45 * files.el (cd-absolute): Test if directory is accessible
46 rather than executable. (Bug#17330)
48 * progmodes/compile.el (recompile):
49 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
51 * net/browse-url.el (browse-url-mosaic):
52 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
53 This is CVE-2014-3423.
55 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
57 * mouse.el: Use the normal toplevel loop while dragging.
58 (mouse-set-point): Handle multi-clicks.
59 (mouse-set-region): Handle multi-clicks for drags.
60 (mouse-drag-region): Update call accordingly.
61 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
62 Use the normal event loop instead of a local while/read-event loop.
63 (global-map): Remove redundant bindings for double/triple-mouse-1.
64 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
65 Generate synthetic down events when the protocol only sends up events.
66 (xterm-mouse-last): Remove.
67 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
68 terminal parameter instead.
69 (xterm-mouse--set-click-count): New function.
70 (xterm-mouse-event): Detect/generate double/triple clicks.
71 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
73 * info.el (Info-quoted): New face.
74 (Info-mode-font-lock-keywords): New var.
77 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
78 are a hindrance for C-x C-e.
80 2014-05-11 Leo Liu <sdl.web@gmail.com>
82 * net/rcirc.el (rcirc-sentinel): Fix last change.
84 2014-05-08 Sam Steingold <sds@gnu.org>
86 * net/rcirc.el (rcirc-reconnect-delay): New user option.
87 (rcirc-sentinel): Auto-reconnect to the server if
88 `rcirc-reconnect-delay' is non-0 (but not more often than its
89 value in case the host is off-line).
91 2014-05-09 Eli Zaretskii <eliz@gnu.org>
93 * progmodes/grep.el (lgrep): Fix a typo in last commit.
95 2014-05-09 Glenn Morris <rgm@gnu.org>
97 * files.el (file-expand-wildcards):
98 * man.el (Man-support-local-filenames):
99 * printing.el (pr-i-directory, pr-interface-directory):
100 * progmodes/grep.el (lgrep, rgrep):
101 * textmodes/ispell.el (ispell-call-process)
102 (ispell-call-process-region, ispell-start-process)
103 (ispell-init-process): Use file-accessible-directory-p.
105 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
107 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
108 (xterm-mouse--read-event-sequence-1000): Return nil if something
110 (xterm-mouse-event): Propagate it.
111 (xterm-mouse-translate-1): Handle it.
113 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
115 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
116 four slots of the parameter list are filled, make sure to pass it
117 to the argument list of todo-insert-item--basic.
119 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
121 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
122 Add optional `seen' argument to detect and break infinite loops.
124 2014-05-08 Eli Zaretskii <eliz@gnu.org>
126 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
127 (trace-unsafe, trace-use-tree): Make parentheses style be
128 according to Emacs style.
130 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
132 * net/tramp-sh.el (tramp-remote-process-environment):
133 Remove HISTFILE and HISTSIZE; it's too late to set them here.
135 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
136 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
137 extra "PSx=..." commands.
138 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
141 (tramp-uudecode): Replace the hard-coded temporary file name by a
143 (tramp-remote-coding-commands): Enhance docstring.
144 (tramp-find-inline-encoding): Replace "%t" by a temporary file
146 This is CVE-2014-3424.
148 2014-05-08 Glenn Morris <rgm@gnu.org>
150 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
151 (find-gc-source-files): Update some names.
152 (trace-call-tree): Simplify and update.
153 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
154 This is CVE-2014-3422.
156 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
158 * minibuffer.el (completion--try-word-completion): Revert fix for
159 Bug#15980 (bug#17375).
161 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
162 Always store button numbers in the same way in xterm-mouse-last;
163 Don't burp is xterm-mouse-last is not set as expected.
164 Never return negative indices.
166 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
169 Backtrack one char if the global/char-literal var matcher hits
170 inside a string. The next char could be the beginning of an
171 expression expansion.
173 2014-05-08 Glenn Morris <rgm@gnu.org>
175 * help-fns.el (describe-function-1): Test for an autoload before a
176 macro, since `macrop' works on autoloads. (Bug#17410)
178 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
180 * electric.el (electric-indent-functions-without-reindent): Add yaml.
182 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
183 Make sure the new point we return is within the new string (bug#17239).
185 2014-05-05 Daniel Colascione <dancol@dancol.org>
187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
188 Port `gnu' pattern to rx.
190 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
192 Remove unneeded prompt when closing a buffer with active
193 emacsclient ("Buffer ... still has clients"), #16548.
194 * server.el (server-start): Remove the only call to:
195 (server-kill-buffer-query-function): Remove.
197 2014-05-04 Leo Liu <sdl.web@gmail.com>
199 * calendar/diary-lib.el (calendar-chinese-month-name-array):
200 Defvar to pacify compiler.
202 2014-05-04 Eli Zaretskii <eliz@gnu.org>
204 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
206 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
208 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
209 Use nil rather than `default' for the "default" appearance (bug#17388).
210 * vc/ediff-util.el (ediff-inferior-compare-regions)
211 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
212 a misleading `default' value when it's really a boolean.
213 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
214 overlay is not visible.
216 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
218 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
219 (todo-menu): Uncomment and update.
221 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
223 * calendar/todo-mode.el: Reimplement item editing to have the same
224 basic user interface as item insertion, and make small UI and
225 larger internal improvements to the latter.
226 (todo-insert-item): Add reference to the Todo mode user manual to
227 the documentation string.
228 (todo-insert-item--basic): Rename from todo-basic-insert-item and
229 adjust all callers. Change signature to combine diary and
230 nonmarking arguments. Incorporate functionality of deleted item
231 copying command and add error checking. Remove detailed
232 descriptions of the arguments from the documentation string, since
233 this is treated in the Todo mode user manual.
234 (todo-copy-item, todo-edit-multiline-item)
235 (todo-edit-done-item-comment, todo-edit-item-header)
236 (todo-edit-item-time, todo-edit-item-date-from-calendar)
237 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
238 (todo-edit-item-date-year, todo-edit-item-date-month)
239 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
241 (todo-edit-item): Reimplement as wrapper command for
242 todo-edit-item--next-key and make it distinguish done and not done
244 (todo-edit-item--text): New function, replacing old command
245 todo-edit-item and incorporating deleted commands
246 todo-edit-multiline-item and todo-edit-done-item-comment.
247 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
248 Use only numeric value of prefix argument. Remove detailed
249 descriptions of the arguments from the documentation string, since
250 this is treated in the Todo mode user manual.
251 (todo-edit-item--diary-inclusion): New function, replacing old
252 command todo-edit-item-diary-inclusion and incorporating and fixing
253 functionality of deleted command todo-edit-item-diary-nonmarking,
254 making sure to remove todo-nondiary-marker when adding
255 diary-nonmarking-symbol.
256 (todo-edit-category-diary-inclusion): Make sure to delete
257 diary-nonmarking-symbol when adding todo-nondiary-marker.
258 (todo-edit-category-diary-nonmarking): Fix indentation.
259 (todo-insert-item--parameters): Group diary and nonmarking
261 (todo-insert-item--apply-args): Adjust to signature of
262 todo-insert-item--basic and incorporate copy parameter.
263 Make small code improvements.
264 (todo-insert-item--next-param): Improve prompt and adjust it to
265 new parameter grouping. Remove obsolete code.
266 (todo-edit-item--param-key-alist)
267 (todo-edit-item--date-param-key-alist)
268 (todo-edit-done-item--param-key-alist): New defconsts.
269 (todo-edit-item--prompt): New variable.
270 (todo-edit-item--next-key): New function.
271 (todo-key-bindings-t): Bind "e" to todo-edit-item.
272 Remove bindings of deleted commands.
274 2014-05-04 Leo Liu <sdl.web@gmail.com>
276 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
278 2014-05-04 Glenn Morris <rgm@gnu.org>
280 * allout-widgets.el (allout-widgets-tally)
281 (allout-decorate-item-guides):
282 * menu-bar.el (menu-bar-positive-p):
283 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
284 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
285 * progmodes/js.el (js--inside-param-list-p)
286 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
287 * progmodes/prolog.el (region-exists-p):
288 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
289 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
290 Doc fixes (replace `iff').
292 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
294 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
296 2014-05-04 Leo Liu <sdl.web@gmail.com>
298 Support Chinese diary entries in calendar and diary. (Bug#17393)
299 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
300 (calendar-chinese-from-absolute-for-diary)
301 (calendar-chinese-to-absolute-for-diary)
302 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
303 (diary-chinese-list-entries): New functions to list and mark
304 Chinese diary entries in the calendar window.
305 (diary-chinese-anniversary)
306 (diary-chinese-insert-anniversary-entry)
307 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
308 (diary-chinese-insert-yearly-entry): New commands to insert
309 Chinese diary entries.
311 * calendar/diary-lib.el (diary-font-lock-keywords):
312 Support font-locking Chinese dates.
314 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
315 inserting Chinese diary entries.
317 * calendar/calendar.el (diary-chinese-entry-symbol):
318 New customizable variable.
319 (calendar-mode-map): Add bindings for inserting Chinese diary
322 2014-05-03 Juri Linkov <juri@jurta.org>
324 * dired.el (dired-check-switches, dired-switches-recursive-p):
325 New functions. (Bug#17218)
326 (dired-switches-escape-p, dired-move-to-end-of-filename):
327 Use `dired-check-switches'.
328 (dired-insert-old-subdirs, dired-build-subdir-alist)
329 (dired-sort-R-check): Use `dired-switches-recursive-p'.
331 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
333 * simple.el (undo-make-selective-list): New algorithm fixes
334 incorrectness of position adjustments when undoing in region.
336 (undo-elt-crosses-region): Make obsolete.
337 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
338 New functions to adjust positions using undo-deltas.
340 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
342 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
343 the last consecutive closing paren (bug#17345).
345 2014-04-30 Reuben Thomas <rrt@sc3d.org>
347 * dired.el (dired-mode): make terminology for eXpunge command
348 consistent. (Bug#17276)
350 2014-04-30 Eli Zaretskii <eliz@gnu.org>
352 * dired.el (dired-initial-position-hook, dired-initial-position):
355 2014-04-30 Glenn Morris <rgm@gnu.org>
357 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
359 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
361 * faces.el (face-spec-recalc): Apply X resources only after the
362 defface spec has been applied. Thus, X resources are no longer
363 overriden by the defface spec which also fixes issues on win32 where
364 the toolbar coloring was wrong because it is set through X resources
365 and was (wrongfully) overriden. (Bug#16694)
367 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
369 * textmodes/rst.el (electric-pair-pairs): Declare.
370 (rst-mode): Set it (bug#17131).
372 2014-04-30 Juri Linkov <juri@jurta.org>
374 * desktop.el (desktop-value-to-string): Let-bind `print-length'
375 and `print-level' to nil. (Bug#17351)
377 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
379 * battery.el (battery-update): Handle the case where battery
380 status is "N/A" (bug#17319).
382 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
384 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
385 to syntax-propertize.
386 (ps-mode-auto-indent): Mark as obsolete.
387 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
388 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
389 word regexp operators.
390 (ps-mode-map): Move initialization into declaration. Remove binding
391 for TAB, RET, >, ], and }.
392 (ps-mode-syntax-table): Move initialization into declaration.
393 Don't give word syntax to non-word chars.
394 (ps-run-mode-map): Move initialization into declaration.
395 (ps-mode-menu-main): Remove auto-indent entry.
396 (ps-mode-smie-rules): New function.
397 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
398 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
399 (ps-mode--string-syntax-table): New const.
400 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
402 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
403 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
405 2014-04-27 Daniel Colascione <dancol@dancol.org>
407 * term/xterm.el (xterm-paste): Use large finite timeout when
408 reading event to avoid putting keys in this-command-keys.
410 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
412 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
413 (perl-syntax-propertize-function): Use it. Extend handling of
414 here-docs to the unquoted case.
416 2014-04-25 Eli Zaretskii <eliz@gnu.org>
418 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
419 Use equal-including-properties to compare help-echo strings (bug#17331).
421 2014-04-25 Leo Liu <sdl.web@gmail.com>
423 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
424 Fix syntax for @. (Bug#17325)
426 2014-04-25 Daniel Colascione <dancol@dancol.org>
428 * emacs-lisp/cl.el (gv): Require gv early to break eager
429 macro-expansion cycles.
431 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
433 * simple.el (region-active-p): Check there's a mark (bug#17324).
435 * simple.el (completion-list-mode-map): Use choose-completion for the
436 mouse binding as well (bug#17302).
437 (completion-list-mode, completion-setup-function): Adjust docstring and
438 echo area message accordingly.
439 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
440 calling convention of choose-completion.
441 * comint.el (comint-dynamic-list-completions):
442 * term.el (term-dynamic-list-completions): Accept choose-completion.
444 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
445 &, |, +, - and * can't be a division (bug#17317).
447 * term/xterm.el (xterm--version-handler): Don't use modern xterm
448 features on gnome-terminal (bug#16988).
450 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
452 Improve Scheme font-locking for (define ((foo ...) ...) ...).
454 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
455 the declared object, ignore zero or more parens, not zero or one.
457 2014-04-24 Leo Liu <sdl.web@gmail.com>
459 * progmodes/xscheme.el (xscheme-expressions-ring)
460 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
461 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
462 (xscheme-allow-output-p, xscheme-prompt)
463 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
465 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
466 Comment out unused functions.
468 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
470 * info.el: Use lexical-binding and cl-lib.
471 Use defvar-local and setq-local instead of make-local-variable.
472 (Info-apropos-matches): Avoid add-to-list.
473 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
475 2014-04-24 Daniel Colascione <dancol@dancol.org>
477 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
479 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
481 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
483 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
485 * dired.el (dired-insert-set-properties): Do not consider
486 subdirectory headings and empty lines to be information that
487 `dired-hide-details-mode' should hide. (Bug#17228)
489 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
491 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
492 Remove test messages.
493 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
496 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
498 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
499 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
501 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
503 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
505 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
506 Set "IFS=" when using read builtin, in order to preserve spaces in
507 the file name. Add test messages for hunting a bug on hydra.
508 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
510 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
512 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
513 Don't prettify a word within a symbol.
515 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
517 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
520 2014-04-22 Daniel Colascione <dancol@dancol.org>
522 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
523 use defun to define `function-put'.
525 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
527 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
528 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
529 (lisp-mode-variables): Set font-lock-extra-managed-props.
531 * emacs-lisp/byte-run.el (function-put): New function.
532 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
533 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
534 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
537 2014-04-22 Daniel Colascione <dancol@dancol.org>
539 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
540 Add `full-p' parameter; when nil, call `macroexpand' instead of
543 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
546 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
547 Use lambda function values, not quoted lambdas.
548 (byte-compile-recurse-toplevel): Remove extraneous &optional.
550 * emacs-lisp/cl-macs.el
551 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
552 (cl-struct-slot-value): Conditionally use aref or nth so that the
553 compiler produces optimal code.
555 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
557 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
558 (inline): Don't inline cl--set-elt.
559 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
560 Define as inlinable instead.
561 (cl-struct-set-slot-value): Remove.
563 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
564 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
567 2014-04-21 Daniel Colascione <dancol@dancol.org>
569 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
570 last two parameters after all.
571 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
572 (cl--compiler-macro-assoc,cl-struct-slot-value)
573 (cl-struct-set-slot-value): Stop using them.
575 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
577 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
578 entry in image-mode-winprops-alist.
580 2014-04-21 Daniel Colascione <dancol@dancol.org>
582 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
583 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
584 (byte-compile-toplevel-file-form): Use it.
586 * emacs-lisp/cl-macs.el:
587 (cl--loop-let): Properly destructure `while' clauses.
589 2014-04-20 Daniel Colascione <dancol@dancol.org>
591 * vc/vc.el (vc-root-dir): New public autoloaded function for
592 generically finding the current VC root.
593 * vc/vc-hooks.el (vc-not-supported): New error.
594 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
596 2014-04-20 Daniel Colascione <dancol@dancol.org>
598 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
600 (cl--const-expr-val): cl--const-expr-val should macroexpand its
601 argument in case we're inside a symbol-macrolet.
602 (cl--do-arglist, cl--compiler-macro-typep)
603 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
604 environment to `cl--const-expr-val'.
605 (cl-struct-sequence-type,cl-struct-slot-info)
606 (cl-struct-slot-offset, cl-struct-slot-value)
607 (cl-struct-set-slot-value): New functions.
609 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
611 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
612 assignments such as "case=hello" (bug#17297).
614 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
616 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
618 (tramp-file-name-handler, tramp-completion-file-name-handler):
619 Revert patch from 2014-04-10, it isn't necessary anymore.
620 (tramp-autoload-file-name-handler)
621 (tramp-register-autoload-file-name-handlers): New defuns.
622 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
623 (tramp-register-file-name-handlers): Remove also
624 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
625 Do not autoload its invocation, but eval it after loading of 'tramp.
627 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
629 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
631 2014-04-17 Daniel Colascione <dancol@dancol.org>
633 Add support for bracketed paste mode; add infrastructure for
634 managing terminal mode enabling and disabling automatically.
637 (xterm-mouse-mode): Simplify.
638 (xterm-mouse-tracking-enable-sequence)
639 (xterm-mouse-tracking-disable-sequence): New constants.
640 (turn-on-xterm-mouse-tracking-on-terminal)
641 (turn-off-xterm-mouse-tracking-on-terminal):
642 Use tty-mode-set-strings and tty-mode-reset-strings terminal
643 parameters instead of random hooks.
644 (turn-on-xterm-mouse-tracking)
645 (turn-off-xterm-mouse-tracking): Delete.
647 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
648 (xterm-paste-ending-sequence): New constant.
649 (xterm-paste): New command used for bracketed paste support.
651 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
652 (terminal-init-xterm-bracketed-paste-mode): New function.
653 (terminal-init-xterm): Call it.
654 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
655 and tty-mode-reset-strings instead of random hooks.
656 (xterm-turn-on-modify-other-keys)
657 (xterm-turn-off-modify-other-keys)
658 (xterm-remove-modify-other-keys): Delete obsolete functions.
660 * term/screen.el: Rewrite to just use the xterm code.
661 Add copyright notice. Mention tmux.
663 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
665 * image-mode.el (image-mode-window-put): Also update the property of
666 the "default window".
667 * doc-view.el (doc-view-new-window-function): If no window
668 exists, move to the last known page.
670 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
672 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
673 here-documents (bug#17262).
675 2014-04-16 Eli Zaretskii <eliz@gnu.org>
677 * term/pc-win.el (x-list-fonts, x-get-selection-value):
678 Provide doc strings, as required by snarf-documentation.
680 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
682 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
683 arg of overlays-at. Use `invisible-p'.
685 * obsolete/lucid.el (extent-at):
686 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
688 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
690 2014-04-16 João Távora <joaotavora@gmail.com>
692 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
695 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
697 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
698 Use mapc to loop over a vector. (Bug#17257).
700 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
702 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
703 patch, there are new problems with file names containing spaces.
704 Get rid of backticks. (Bug#17238)
706 2014-04-16 João Távora <joaotavora@gmail.com>
708 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
711 2014-04-16 Eli Zaretskii <eliz@gnu.org>
713 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
714 (blink-cursor-mode): Mention customization variables and the
715 effect of 'blink-cursor-blinks'.
717 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
719 * simple.el (undo): Prevent insertion of identity mapping into
720 undo-equiv-table so as undo-only does not inf loop in the presence
721 of consecutive nils in undo list.
723 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
725 * faces.el (make-face): Deprecate optional argument as it is no
726 longer needed/used since the conditional X resources handling
727 has been pushed down to make-face-x-resource-internal itself.
728 (make-empty-face): Don't pass optional argument to make-face.
730 2014-04-16 Karl Fogel <kfogel@red-bean.com>
732 * savehist.el (savehist-save): Remove workaround for a read-passwd
733 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
734 noticing that the shim was still present.
736 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
738 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
740 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
742 * faces.el (face-set-after-frame-default): Remove unused local variable.
744 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
746 * progmodes/grep.el: Use lexical-binding.
747 (grep-expand-template): Pass explicit lexical env to `eval'.
748 (zrgrep): Let-bind grep-find-template explicitly.
750 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
751 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
753 2014-04-12 Eli Zaretskii <eliz@gnu.org>
755 * international/characters.el <standard-case-table>: Add entries
756 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
757 Set category of Coptic characters be 'g' (Greek).
759 2014-04-12 Leo Liu <sdl.web@gmail.com>
761 * progmodes/octave.el (completion-table-with-cache):
762 Define if not available.
763 (octave-goto-function-definition, octave-sync-function-file-names)
764 (octave-find-definition-default-filename):
765 Backquote upattern for compatibility.
767 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
769 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
770 name twice due to backticks. (Bug#17238)
772 2014-04-12 Glenn Morris <rgm@gnu.org>
774 * term/w32-win.el (x-win-suspend-error):
775 * term/x-win.el (x-win-suspend-error): Sync docs.
777 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
779 * faces.el (make-face): Remove deprecated optional argument.
780 The conditional application of X resources is handled directly by
781 make-face-x-resource-internal since Emacs 24.4.
782 (make-empty-face): Don't pass optional argument to make-face.
784 2014-04-11 Glenn Morris <rgm@gnu.org>
786 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
788 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
790 Ediff's overlay priorities cause more trouble than they solve.
791 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
792 (ediff-highest-priority): Remove function (bug#17234).
793 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
794 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
795 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
798 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
800 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
801 entry; use symbol boundaries to avoid mis-matches.
803 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
805 * net/tramp.el (tramp-file-name-handler)
806 (tramp-completion-file-name-handler): Avoid recursive loading.
808 * net/tramp-sh.el (tramp-make-copy-program-file-name):
809 Quote result also locally.
811 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
813 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
814 Remove left-over code.
816 * newcomment.el (comment-indent-new-line): Sink code where it's used.
817 Reuse the previous comment's indentation unconditionally if it's on its
820 2014-04-09 Daniel Colascione <dancol@dancol.org>
822 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
823 `no-syntax-crossing' arguments. Forward to `up-list'.
824 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
825 Implement logic for escaping from strings. Use narrowing to deal
828 2014-04-09 Leo Liu <sdl.web@gmail.com>
830 * net/rcirc.el (rcirc-connection-info): New variable.
831 (rcirc-connect): Use it to store connection info.
832 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
834 (rcirc-cmd-reconnect): New command. (Bug#17045)
835 (rcirc-mode, set-rcirc-encode-coding-system)
836 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
838 2014-04-09 Daniel Colascione <dancol@dancol.org>
840 * emacs-lisp/cl-indent.el: Add comment claiming
841 facility is also good for elisp.
842 (lisp-indent-find-method): New function.
843 (common-lisp-indent-function): Recognize cl-loop.
844 (common-lisp-indent-function-1): Recognize cl constructs; use
845 `lisp-indent-find-method' instead of `get' directly.
846 (if): Use else-body style for elisp.
848 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
850 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
851 Module methods. (Bug#17216)
853 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
855 * help.el (describe-bindings): Fix buffer handling (bug#17210).
856 (describe-bindings-internal): Mark obsolete.
858 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
860 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
861 buffer-file-name, and buffer-file-truename any more.
863 2014-04-08 Leo Liu <sdl.web@gmail.com>
865 Use lexical-binding and require cl-lib.
866 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
867 (rcirc-handler-generic, rcirc-fill-paragraph)
868 (rcirc-format-response-string, rcirc-target-buffer)
869 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
870 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
871 (rcirc-ctcp-sender-PING, rcirc-browse-url)
872 (rcirc-markup-timestamp, rcirc-markup-attributes)
873 (rcirc-markup-my-nick, rcirc-markup-urls)
874 (rcirc-markup-bright-nicks, rcirc-markup-fill)
875 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
876 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
877 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
878 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
879 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
880 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
881 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
882 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
883 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
884 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
887 2014-04-07 João Távora <joaotavora@gmail.com>
889 * elec-pair.el (electric-pair--syntax-ppss):
890 When inside comments parse from comment beginning.
891 (electric-pair--balance-info): Fix typo in comment.
892 (electric-pair--in-unterminated-string-p): Delete.
893 (electric-pair--unbalanced-strings-p): New function.
894 (electric-pair-string-bound-function): New var.
895 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
896 according to `electric-pair--in-unterminated-string-p'
898 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
899 Inhibit quote pairing if point-max is inside an unterminated string.
900 (electric-pair--looking-at-unterminated-string-p): Delete.
901 (electric-pair--in-unterminated-string-p): New function.
903 2014-04-07 Glenn Morris <rgm@gnu.org>
905 * shell.el (shell-directory-tracker):
906 Go back to just ignoring failures. (Bug#17159)
908 2014-04-07 João Távora <joaotavora@gmail.com>
910 Fix `electric-pair-delete-adjacent-pairs' in modes binding
911 backspace. (bug#16981)
912 * elec-pair.el (electric-pair-backward-delete-char): Delete.
913 (electric-pair-backward-delete-char-untabify): Delete.
914 (electric-pair-mode-map): Bind backspace to a menu item filtering
915 a new `electric-pair-delete-pair' command.
916 (electric-pair-delete-pair): New command.
918 * progmodes/python.el (python-electric-pair-string-delimiter):
919 Fix triple-quoting electricity. (Bug#17192)
921 * elec-pair.el (electric-pair-post-self-insert-function):
922 Don't skip whitespace when `electric-pair-text-pairs' and
923 `electric-pair-pairs' were used. syntax to
924 electric-pair--skip-whitespace. (Bug#17183)
926 2014-04-07 Eli Zaretskii <eliz@gnu.org>
928 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
931 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
933 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
934 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
936 2014-04-07 Glenn Morris <rgm@gnu.org>
938 * help.el (view-lossage): Doc tweak.
940 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
942 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
943 only when inhibit-x-resources is nil, and do that earlier in the
944 function. Doc fix. (Bug#16694)
945 (face-spec-choose): Accept additional optional argument, whose
946 value is returned if no matching attributes are found.
947 (face-spec-recalc): Use the new optional argument when calling
948 face-spec-choose. (Bug#16378)
949 (make-face-x-resource-internal): Do nothing when
950 inhibit-x-resources is non-nil. Don't touch the default face if
951 reversed video is given--as was done in previous versions of Emacs.
952 (face-set-after-frame-default): Don't call
953 make-face-x-resource-internal here. (Bug#16434)
955 2014-04-07 Tassilo Horn <tsdh@gnu.org>
957 * doc-view.el (doc-view-bookmark-jump):
958 Use `bookmark-after-jump-hook' to jump to the right page after the
959 buffer is shown in a window. (bug#16090)
961 2014-04-07 Eli Zaretskii <eliz@gnu.org>
963 * international/characters.el (mirroring): Fix last change:
964 instead of loading uni-mirrored.el explicitly, do that implicitly
965 by creating the 'mirroring' uniprop table. This avoids announcing
966 the loading of uni-mirrored.el.
968 2014-04-07 Glenn Morris <rgm@gnu.org>
970 * files.el (buffer-stale--default-function)
971 (buffer-stale-function, revert-buffer--default):
972 * autorevert.el (auto-revert-buffers): Doc tweaks.
974 2014-04-07 Eli Zaretskii <eliz@gnu.org>
976 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
978 2014-04-07 Glenn Morris <rgm@gnu.org>
980 * files.el (make-backup-file-name-function)
981 (make-backup-file-name, make-backup-file-name--default-function)
982 (make-backup-file-name-1, find-backup-file-name)
983 (revert-buffer-function, revert-buffer-insert-file-contents-function)
984 (buffer-stale--default-function, buffer-stale-function)
985 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
986 (revert-buffer, revert-buffer--default)
987 (revert-buffer-insert-file-contents--default-function):
988 Doc fixes related to defaults no longer being nil.
989 (make-backup-file-name-function): Bump :version.
990 Restore nil as a valid but deprecated custom type.
992 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
994 * progmodes/perl-mode.el (perl-syntax-propertize-function):
995 Handle $' used as a variable (bug#17174).
997 * progmodes/perl-mode.el (perl-indent-new-calculate):
998 Handle forward-sexp failure (bug#16985).
999 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1000 modifiers introducing expressions (bug#17116).
1002 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1006 2014-04-05 Leo Liu <sdl.web@gmail.com>
1008 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1009 Add define-compilation-mode.
1011 2014-04-04 João Távora <joaotavora@gmail.com>
1013 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1014 parse from comment beginning.
1015 (electric-pair--balance-info): Fix typo in comment.
1016 (electric-pair--in-unterminated-string-p): Delete.
1017 (electric-pair--unbalanced-strings-p): New function.
1018 (electric-pair-string-bound-function): New var.
1019 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1020 according to `electric-pair--in-unterminated-string-p'.
1022 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1024 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1025 Move declaration before first use.
1026 (reftex-move-to-next-arg): Silence compiler warning.
1028 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1030 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1031 Use `window-total-width' instead of `window-width'.
1033 2014-04-03 Daniel Colascione <dancol@dancol.org>
1035 * subr.el (set-transient-map): Remove rms's workaround entirely;
1036 use new `suspicious-object' subr to mark our lambda for closer
1039 2014-04-02 Richard Stallman <rms@gnu.org>
1041 * subr.el (set-transient-map): Comment out previous change.
1043 2014-04-02 Glenn Morris <rgm@gnu.org>
1045 * menu-bar.el (menu-bar-file-menu):
1046 * vc/ediff.el (ediff-current-file):
1047 Update for revert-buffer-function no longer being nil by default.
1049 * simple.el (command-execute): Respect nil disabled-command-function.
1051 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1053 * simple.el (command-execute): Do not execute the command when it
1054 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1056 2014-04-02 Juri Linkov <juri@jurta.org>
1058 * dired-aux.el (dired-compress-file): Don't use string-match-p
1059 because its match data is used afterwards.
1061 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1063 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1066 2014-04-02 João Távora <joaotavora@gmail.com>
1068 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1069 Inhibit quote pairing if point-max is inside an unterminated string.
1070 (electric-pair--looking-at-unterminated-string-p):
1072 (electric-pair--in-unterminated-string-p): New function.
1074 2014-04-01 Daniel Colascione <dancol@dancol.org>
1076 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1077 when trying to complete the prompt.
1079 2014-03-31 Leo Liu <sdl.web@gmail.com>
1081 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1082 Refactor out eldoc-documentation-function-default.
1083 (eldoc-documentation-function-default): New function.
1084 (eldoc-documentation-function): Change value.
1086 2014-03-31 Glenn Morris <rgm@gnu.org>
1088 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1090 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1091 (vhdl-compose-components-package, vhdl-compose-configuration):
1092 Abbreviate default-directory (missing from some previous upstream sync).
1094 2014-03-31 Reto Zimmermann <reto@gnu.org>
1096 Sync with upstream vhdl mode v3.35.2.
1097 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1098 (top-level): No longer require assoc.
1099 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1100 New functions. Use throughout to replace aget etc.
1101 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1102 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1103 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1104 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1105 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1106 except `vhdl-compiler'.
1107 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1110 2014-03-31 Glenn Morris <rgm@gnu.org>
1112 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1113 Revert 2014-03-26 merge goof; go back to using defalias.
1115 2014-03-30 Daniel Colascione <dancol@dancol.org>
1117 * comint.el (comint-send-input):
1118 Deactivate completion-in-region-mode before we send comint input.
1121 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1124 2014-03-29 Glenn Morris <rgm@gnu.org>
1126 * textmodes/reftex.el: Manage most autoloads automatically.
1127 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1128 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1129 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1130 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1131 * textmodes/reftex-toc.el: Set generated-autoload-file,
1132 and add autoload cookies for reftex.el.
1133 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1135 2014-03-28 Glenn Morris <rgm@gnu.org>
1137 * cus-start.el (report-emacs-bug-address): Set custom properties.
1138 * mail/emacsbug.el (report-emacs-bug-address):
1139 Variable is now defined in emacs.c.
1141 * mail/emacsbug.el (report-emacs-bug):
1142 Include system-configuration-features.
1144 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1146 * simple.el (cycle-spacing): Never delete spaces on first run by
1147 default, but do so in a new 'fast mode and if there are already
1148 N spaces (the previous behavior).
1149 Compare N with its value in previous invocation so that changing
1150 prefix argument restarts `cycle-spacing' sequence.
1151 The idea is that with this change, binding M-SPC to
1152 `cycle-spacing' should not introduce any changes in behavior of
1153 the binding so long as users do not type M-SPC twice in a raw with
1154 the same prefix argument or lack thereof.
1156 2014-03-28 Glenn Morris <rgm@gnu.org>
1158 * faces.el (term-file-aliases): New variable.
1159 (tty-run-terminal-initialization): Respect term-file-aliases.
1160 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1161 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1162 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1164 2014-03-27 Glenn Morris <rgm@gnu.org>
1166 * startup.el (inhibit-startup-hooks): Doc tweak.
1167 (normal-top-level): Simplify running of hooks.
1168 For window-setup-hook, respect inhibit-startup-hooks.
1169 (command-line-1): Don't set window-setup-hook to nil.
1171 Allow selective autoloading from obsolete/ directory.
1172 * Makefile.in (obsolete-autoloads): New rule.
1173 (autoloads): Run obsolete-autoloads.
1174 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1175 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1177 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1179 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1180 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1182 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1183 Don't propertize `?' or `!' as symbol constituent when after
1186 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1188 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1189 which is no longer needed and causes trouble in GTK builds (bug#17046).
1191 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1192 Use url-insert-file-contents; package-handle-response no longer exists.
1194 2014-03-26 Daniel Colascione <dancol@dancol.org>
1196 * simple.el (process-menu-mode-map): New variable.
1197 (process-menu-delete-process): New command.
1199 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1201 * emacs-lisp/package.el: Fix bug#16733 (again).
1202 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1203 (url-http-target-url): Remove unused declarations.
1204 (package-handle-response): Remove.
1205 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1206 (package--download-one-archive): Use current-buffer instead of
1207 dynamic binding of `buffer'.
1208 (describe-package-1): Do not decode readme-string.
1210 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1212 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1214 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1215 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1216 `remote-file-name-inhibit-cache' to nil in the second pass.
1217 (tramp-find-executable): Do not call "which" on SunOS.
1218 (tramp-send-command-and-check): Fix docstring.
1219 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1220 check whether source directory has set the sticky bit.
1222 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1224 * simple.el (primitive-undo): Only process marker adjustments
1225 validated against their corresponding (TEXT . POS). Issue warning
1226 for lone marker adjustments in undo history. (Bug#16818)
1227 (undo-make-selective-list): Add marker adjustments to selective
1228 undo list based on whether their corresponding (TEXT . POS) is in
1229 the region. Remove variable adjusted-markers, which was unused
1230 and only non nil during undo-make-selective-list.
1231 (undo-elt-in-region): Return nil when passed a marker adjustment
1232 and explain in function doc.
1234 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1236 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1238 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1240 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1241 Match special global variables without curlies, too.
1242 (ruby-font-lock-keywords): Simplify the matcher for special global
1243 variables. Don't require a non-word character after the variable.
1246 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * simple.el (redisplay-highlight-region-function): Increase priority of
1249 overlay to make sure boundaries are visible (bug#15899).
1251 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1253 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1254 (frameset-restore): Compare display strings with equal.
1256 * frame.el (make-frame): Don't quote display name in error message,
1257 it is already a string.
1259 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1261 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1264 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1266 * emacs-lisp/package.el (package--add-to-archive-contents):
1267 Include already installed and built-in packages in
1268 `package-archive-contents'.
1269 (package-install): Don't include already installed packages in the
1270 options during interactive invocation. (Bug#16762)
1271 (package-show-package-list): If the buffer is already displayed in
1272 another window, switch to that window.
1274 2014-03-26 Reto Zimmermann <reto@gnu.org>
1276 Sync with upstream vhdl mode v3.35.1.
1277 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1278 (vhdl-compiler-alist): Doc fix.
1279 (vhdl-goto-line): Remove.
1280 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1281 (vhdl-mode) <paragraph-start>: Fix value.
1282 (vhdl-fix-statement-region): Not `for' in wait-statement.
1283 (vhdl-beautify-region): Also (un)tabify.
1284 (vhdl-get-visible-signals):
1285 Scan declarative part of generate statements.
1286 (vhdl-template-record): Fix indentation for record type declaration.
1287 (vhdl-expand-abbrev, vhdl-expand-paren):
1288 Revert to using fset again rather than defalias.
1289 (vhdl-scan-directory-contents): Tweak.
1290 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1291 (vhdl-compose-components-package):
1292 Replace vhdl-goto-line with forward-line.
1293 (top-level): Tweak speedbar frame selection.
1294 (vhdl-generate-makefile-1): Support for compilers with no
1295 unit-to-file name mapping (create directory with dummy files).
1297 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1299 Sync with upstream verilog-mode revision 702457d.
1300 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1301 (create-lockfiles): Declare.
1302 (verilog-read-decls): Fix module header imports, bug709.
1303 Reported by Victor Lau.
1304 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1305 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1306 interface-only modules, bug721. Reported by Dean Hoyt.
1308 2014-03-26 Glenn Morris <rgm@gnu.org>
1310 * obsolete/gulp.el: Move here from emacs-lisp/.
1312 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1313 Remove fallback aliases, since they are always defined now.
1315 2014-03-24 Daniel Colascione <dancol@dancol.org>
1317 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1318 instead of cl-loop search function.
1320 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1322 * calendar/parse-time.el (parse-time-iso8601-regexp)
1323 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1326 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1328 * net/dns.el (network-interface-list): Define for XEmacs.
1330 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1332 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1333 the network interfaces changed.
1334 (dns-query): Use it to flush the data.
1336 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1338 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1340 2014-03-23 Daniel Colascione <dancol@dancol.org>
1342 Change subword-mode to use `find-word-boundary-function-table' and
1343 replace `capitalized-words-mode'. Also, convert to lexical
1346 * progmodes/cap-words.el: Delete now-obsolete file.
1347 * progmodes/subword.el: Reimplement using
1348 `find-word-boundary-function-table'.
1349 (subword-mode-map): Hollow out.
1350 (capitalized-words-mode): Define as obsolete alias for
1352 (subword-mode, superword-mode): Tweak documentation to reflect new
1353 implementation; call `subword-setup-buffer'.
1354 (subword-forward, subword-capitalize): Add underscore to indicate
1356 (subword-find-word-boundary-function-table): New constant.
1357 (subword-empty-char-table): New constant.
1358 (subword-setup-buffer): New function.
1359 (subword-find-word-boundary): New function.
1361 2014-03-23 Daniel Colascione <dancol@dancol.org>
1363 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1364 list to look for keyword arguments instead of `memq', fixing
1365 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1366 Please make bootstrap.
1368 2014-03-22 Glenn Morris <rgm@gnu.org>
1370 * dired.el (dired-read-regexp): Make obsolete.
1371 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1372 (dired-flag-files-regexp):
1373 * dired-aux.el (dired-mark-read-regexp):
1374 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1376 * startup.el (fancy-startup-text):
1377 * help.el (describe-gnu-project): Visit online info about GNU project.
1379 * help-fns.el (help-fns--interactive-only): New function.
1380 (help-fns-describe-function-functions): Add the above function.
1381 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1382 (next-line, previous-line): Remove hand-written interactive-only
1383 information from doc strings, it is auto-generated now.
1384 * bookmark.el (bookmark-write):
1385 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1386 (epa-mail-import-keys): Mark interactive-only,
1387 and remove hand-written interactive-only information from doc strings.
1388 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1389 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1390 * files.el (not-modified):
1391 * simple.el (mark-whole-buffer): Mark interactive-only.
1393 * emacs-lisp/byte-run.el (defun-declarations-alist):
1394 Add interactive-only. Doc tweak.
1395 (macro-declarations-alist): Doc tweak.
1396 * subr.el (declare): Doc tweak (add xref to manual).
1397 * comint.el (comint-run):
1398 * files.el (insert-file-literally, insert-file):
1399 * replace.el (replace-string, replace-regexp):
1400 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1401 (delete-forward-char, goto-line, insert-buffer, next-line)
1402 (previous-line): Set interactive-only via declare.
1404 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1406 * emacs-lisp/package.el (package-desc): Use the contents of the
1407 quoted form, not its cdr. (Bug#16873)
1409 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1411 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1412 benefit of doc.c; change parameter profile to match the X function.
1414 2014-03-22 Leo Liu <sdl.web@gmail.com>
1416 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1417 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1419 2014-03-21 Richard Stallman <rms@gnu.org>
1421 * battery.el (battery-linux-sysfs): Search for each field
1422 from the beginning of the buffer.
1424 * subr.el (set-transient-map): Clear out function and value
1425 of the temporary symbol when we're done with it.
1427 * mail/rmailsum.el (rmail-summary-delete-forward):
1428 Optimize case of reaching end and handling count.
1429 (rmail-summary-mark-deleted): Optimize when N is current msg.
1430 Don't create new summary line.
1431 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1432 (rmail-summary-undelete-many): Rewrite for speed.
1433 (rmail-summary-msg-number): New function.
1435 * mail/rmail.el (rmail-delete-message): Update summary.
1436 (rmail-undelete-previous-message): Handle repeat count arg.
1437 (rmail-delete-backward, rmail-delete-forward): Likewise.
1439 2014-03-21 Daniel Colascione <dancol@dancol.org>
1441 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1442 information in bug reports.
1444 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1446 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1447 and `tramp-copy-env'.
1449 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1450 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1452 2014-03-21 Glenn Morris <rgm@gnu.org>
1454 * electric.el (electric-indent-post-self-insert-function): Add doc.
1456 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1458 * emacs-lisp/package.el (package-compute-transaction):
1459 Use `version-list-<=' to compare the requirement version against
1460 the version of package already to be installed. Update the error
1461 message. (Bug#16826)
1463 * progmodes/ruby-mode.el (ruby-smie-rules):
1464 Add indentation rule for ` @ '. (Bug#17050)
1466 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1468 * align.el (align-regexp): Remove superfluous backslash.
1470 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1471 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1472 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1473 Fix docstring typos.
1474 (ffap-next): Use C-u in docstring.
1475 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1476 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1477 Remove superfluous backslashes.
1478 (ffap-string-at-point): Reflow docstring.
1480 * server.el (server-host): Reflow docstring.
1481 (server-unload-function): Fix docstring typo.
1482 (server-eval-at): Remove superfluous backslash.
1484 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1485 (skeleton-insert): Doc fix.
1486 (skeleton-insert): Reflow docstring.
1488 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1489 (tty-color-approximate, tty-color-by-index, tty-color-values)
1490 (tty-color-desc): Remove superfluous backslashes.
1492 2014-03-21 Glenn Morris <rgm@gnu.org>
1494 * cus-start.el (history-length): Bump :version.
1496 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1497 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1498 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1499 Don't set `make-backup-files'.
1501 * info.el (info--prettify-description): New function,
1502 to give info-finder descriptions consistent case, punctuation.
1503 (Info-finder-find-node): Use it. Sort packages.
1504 Refer to "description" rather than "commentary".
1506 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1508 * frameset.el (frameset--print-register): New function.
1509 (frameset-to-register): Use it.
1511 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1513 * progmodes/hideif.el (hif-string-to-number): New function.
1514 (hif-tokenize): Use it to understand non-decimal floats.
1516 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1518 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1520 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1522 * electric.el (electric-newline-and-maybe-indent): New command.
1523 Bind it globally to C-j.
1524 (electric-indent-mode): Don't mess with the global map any more.
1525 Don't drop the post-self-insert-hook is some buffer is still using it
1528 * bindings.el (global-map): Remove C-j binding.
1530 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1531 the docstring of functions advised before dumping (bug#16993).
1533 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1535 * ps-print.el (ps-generate-postscript-with-faces):
1536 Explicitly deactivate the mark (bug#16866).
1537 * simple.el (deactivate-mark): Update region highlight.
1539 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1541 * emacs-lisp/package.el (describe-package-1):
1542 Decode commentary (bug#16733).
1544 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1546 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1547 modification of the value argument of :set (bug#16755).
1549 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * simple.el (newline-and-indent): Do autofill (bug#17031).
1553 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1555 * newcomment.el (comment-normalize-vars): Only add escaping check
1556 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1557 (comment-beginning): Use `narrow-to-region' instead of moving back
1559 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1560 (comment-start-skip): Update the docstring.
1562 2014-03-18 Richard Stallman <rms@gnu.org>
1564 * dired.el (dired-display-file): Force use of other window.
1566 2014-03-18 Daniel Colascione <dancol@dancol.org>
1568 * startup.el (tty-handle-args): Remove debug message from 2007.
1570 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1573 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1574 (advice--make-1, advice-add, advice-remove):
1575 Remove braindead :advice-pending hack.
1577 2014-03-17 Glenn Morris <rgm@gnu.org>
1579 * calendar/calendar.el (calendar-generate-month): Apply weekend
1580 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1582 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1584 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1585 (tramp-call-process): Trace also DESTINATION.
1587 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1588 Quote file names when they are local. Remove superfluous trace.
1590 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1592 * newcomment.el (comment-beginning): If `comment-start-skip'
1593 doesn't match, move back one char and try again. (Bug#16971)
1595 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1596 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1597 Set `comment-start-skip' to a simpler value that doesn't try to
1598 check if the semicolon is escaped (this is handled by
1599 `syntax-ppss' now). (Bug#16971)
1601 * progmodes/scheme.el (scheme-mode-variables): Same.
1603 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1605 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1606 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1607 current (Bug#16816, Bug#17007).
1608 (with-current-buffer-window): New macro doing the same as
1609 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1610 * help.el (help-print-return-message): Warn in doc-string to not
1611 use this in `with-help-window'.
1612 (describe-bindings-internal): Call `describe-buffer-bindings'
1613 from within help buffer. See Juanma's scenario in (Bug#16816).
1614 (with-help-window): Update doc-string.
1615 * dired.el (dired-mark-pop-up):
1616 * files.el (save-buffers-kill-emacs):
1617 * register.el (register-preview): Use `with-current-buffer-window'
1618 instead of `with-temp-buffer-window'.
1620 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1622 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1623 Implement inserting into current buffer, documented in their docstrings.
1624 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1625 (rst-section-tree-point, rst-forward-section, rst-indent)
1626 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1627 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1628 (rst-font-lock-handle-adornment-pre-match-form)
1629 (rst-repeat-last-character): Reflow docstrings.
1630 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1631 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1632 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1633 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1634 Fix docstring typos.
1635 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1636 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1637 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1639 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1641 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1642 for compatibility with other ports.
1643 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1644 from the -xrm command line argument, but in the Nextstep port its value
1645 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1647 * progmodes/python.el (defconst, python-syntax-count-quotes)
1648 (python-indent-region, python-indent-shift-right)
1649 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1650 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1651 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1652 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1653 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1654 (python-shell-buffer-substring, python-shell-send-buffer)
1655 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1656 (python-completion-complete-at-point, python-fill-docstring-style)
1657 (python-eldoc-function, python-imenu-format-item-label)
1658 (python-imenu-format-parent-item-label)
1659 (python-imenu-format-parent-item-jump-label)
1660 (python-imenu--build-tree, python-imenu-create-index)
1661 (python-imenu-create-flat-index): Fix docstring typos.
1662 (python-indent-context, python-shell-prompt-regexp, run-python):
1663 Remove superfluous backslashes.
1664 (python-indent-line, python-nav-beginning-of-defun)
1665 (python-shell-get-buffer, python-shell-get-process)
1666 (python-info-current-defun, python-info-current-line-comment-p)
1667 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1668 (python-indent-post-self-insert-function, python-shell-send-file)
1669 (python-shell-completion-get-completions)
1670 (python-shell-completion-complete-or-indent)
1671 (python-eldoc--get-doc-at-point): Reflow docstrings.
1673 2014-03-14 Glenn Morris <rgm@gnu.org>
1675 * emacs-lisp/package.el (package-menu-mode-map):
1676 Replace use of obsolete function alias. Tweak menu item text.
1678 * info.el (Info-finder-find-node):
1679 Ignore the `emacs' metapackage. (Bug#10813)
1681 * finder.el (finder-list-matches): Include unversioned packages
1682 in the result of a keyword search.
1684 * finder.el (finder--builtins-descriptions): New constant.
1685 (finder-compile-keywords): Use finder--builtins-descriptions.
1687 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1689 * simple.el (blink-matching-paren): Describe the new value,
1690 `jump', enabling the old behavior.
1691 (blink-matching-open): Use that value. (Bug#17008)
1693 2014-03-14 Glenn Morris <rgm@gnu.org>
1695 * finder.el (finder-no-scan-regexp): Add leim-list.
1696 (finder-compile-keywords):
1697 Don't skip files with same basename. (Bug#14010)
1698 * Makefile.in (setwins_finder): New, excluding leim.
1699 (finder-data): Use setwins_finder.
1701 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1702 (help-function-arglist, help-make-usage): Move from here...
1703 * help.el (help-split-fundoc, help-add-fundoc-usage)
1704 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1705 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1707 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1709 * net/socks.el (socks, socks-override-functions)
1710 (socks-find-services-entry):
1711 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1712 (hif-find-ifdef-block):
1713 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1715 * net/tls.el (tls-program): Reflow docstring.
1717 * progmodes/pascal.el (pascal-mode-abbrev-table)
1718 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1719 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1720 (pascal-outline-mode): Fix docstring typos.
1721 (pascal-mode): Let define-derived-mode document mode hook.
1722 (pascal-uncomment-area): Reflow.
1723 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1725 * progmodes/opascal.el (opascal-compound-block-indent)
1726 (opascal-case-label-indent): Fix docstring typos.
1727 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1729 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1731 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1732 Fontify multiple adjacent negation chars. (Bug#17004)
1734 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1736 * emacs-lisp/package.el (package--prepare-dependencies):
1737 Accept requirements without explicit version (bug#14941).
1739 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1741 * register.el (register-separator, copy-to-register): Doc fixes.
1742 (register-preview-default): Remove unnecessary call to concat.
1744 * frameset.el (frameset-restore): When checking for a visible frame,
1745 use the action map instead of calling visible-frame-list.
1747 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1749 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1751 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1753 * window.el (fit-frame-to-buffer): Get maximum width from
1754 display's width instead of height.
1756 2014-03-12 Glenn Morris <rgm@gnu.org>
1758 * desktop.el (desktop-restore-frames)
1759 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1760 (desktop-restore-reuses-frames): Doc tweaks.
1762 * electric.el (electric-indent-mode): Doc fix.
1764 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1766 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1767 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1768 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1769 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1770 (cvs-dired-use-hook): Fix docstring typos.
1771 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1774 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1775 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1776 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1777 (cvs-execute-single-dir): Fix docstring typos.
1779 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1780 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1782 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1784 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1785 Fix docstring typos.
1787 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1789 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1790 called from jump-to-register after unloading the frameset package.
1792 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1795 (bug#16975). Deactivate the mark before setting it to nil.
1796 (activate-mark): Do nothing if region is already active.
1798 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1800 * frameset.el (frameset--target-display): Remove definition; declare.
1801 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1803 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1805 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1806 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1807 when the advice is pending.
1808 (advice-remove): Remove this marker when not needed any more.
1810 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1812 * frameset.el: Separate options for reusing frames and cleaning up.
1813 (frameset--reuse-list): Remove definition; declare.
1814 (frameset--action-map): Declare.
1815 (frameset--find-frame-if): Doc fix.
1816 (frameset--restore-frame): Cache frame action.
1817 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1818 how to clean up the frame list after restoring. Remove cleaning
1819 options from REUSE-FRAMES. Change all keyword values to symbols.
1820 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1822 * desktop.el (desktop-restore-forces-onscreen)
1823 (desktop-restore-reuses-frames): Use non-keyword values.
1824 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1826 2014-03-10 Glenn Morris <rgm@gnu.org>
1828 * files.el (find-file): Doc fix: update info node name.
1830 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1831 Doc fix: remove references to deleted info nodes.
1833 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1835 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1836 Do not add `nil' to the environment, when there's no remote `locale'.
1837 (tramp-find-inline-encoding): Check, that the remote host has
1838 installed perl, before sending scripts.
1840 2014-03-10 Leo Liu <sdl.web@gmail.com>
1842 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1843 Clear eldoc-last-message. (Bug#16920)
1845 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1847 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1850 2014-03-09 Juri Linkov <juri@jurta.org>
1852 * ansi-color.el (ansi-color-names-vector): Copy default colors
1853 from `xterm-standard-colors' that look well on the default white
1854 background (and also on the black background) to avoid illegible
1855 color combinations like yellow-on-white and white-on-white.
1856 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1858 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1860 * frameset.el (frameset-restore): When no frame is visible, do not
1861 generate a list of frames, just make visible the selected one.
1863 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1865 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1866 it only contains the repository root. (Bug#16897)
1868 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1870 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1871 only when `remote-file-name-inhibit-cache' is nil.
1872 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1874 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1876 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1878 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1879 fit-frame-to-buffer variable. Fix doc-string.
1880 (fit-window-to-buffer): Set ONLY argument in call of
1881 fit-frame-to-buffer. Fix doc-string.
1883 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1885 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1886 (tramp-action-password): Clear password cache if needed.
1887 (tramp-read-passwd): Do not clear password cache.
1889 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1890 cache unless it is the first password request.
1892 2014-03-06 Glenn Morris <rgm@gnu.org>
1894 * simple.el (newline): Doc tweak.
1896 * emacs-lisp/shadow.el (load-path-shadows-find):
1897 Ignore dir-locals. (Bug#12357)
1899 2014-03-05 Glenn Morris <rgm@gnu.org>
1901 * files.el (interpreter-mode-alist):
1902 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1904 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1906 * frameset.el (frameset--initial-params): Filter out null entries.
1908 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1910 * window.el (window-min-height, window-min-width):
1911 Rewrite doc-strings.
1912 (window-body-size): Add PIXELWISE argument to make it consistent
1915 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1917 * finder.el (finder-mode-map, finder-mode-syntax-table):
1918 Revert part of 2014-02-28 change.
1920 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1922 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1923 (eww-setup-buffer): Clear next/prev/etc more reliably.
1924 (eww-textarea-map): [tab] doesn't work on tty.
1925 Reported by Mario Lang.
1927 * net/shr.el (shr-map): Ditto.
1929 2014-03-04 Glenn Morris <rgm@gnu.org>
1931 * minibuffer.el (completion-hilit-commonality):
1932 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1934 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1936 * hilit-chg.el (hilit-chg-unload-function): New function.
1937 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1938 (hilit-chg-map-changes): Prefer cardinal number to digit.
1939 (hilit-chg-display-changes): Reflow docstring.
1940 (highlight-changes-rotate-faces): Remove superfluous backslash.
1942 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1944 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1945 `tramp-send-command-and-check'.
1947 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1949 * hexl.el (hexl-address-region, hexl-ascii-region)
1950 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1951 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1952 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1953 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1954 (hexl-mode): Doc fix.
1955 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1956 (hexl-mode-ruler): Fix typos in docstrings.
1958 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1959 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1960 Remove superfluous backslashes.
1961 (strokes-last-stroke, strokes-global-map, strokes-mode):
1963 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1964 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1965 (strokes-distance-squared, strokes-global-set-stroke)
1966 (strokes-global-set-stroke-string): Doc fixes.
1967 (strokes-help): Fix typos; reflow docstring.
1969 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1971 * window.el (window-in-direction): Fix doc-string.
1973 2014-03-04 Glenn Morris <rgm@gnu.org>
1975 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1976 Explicit error if no grammar.
1977 (smie-config-save): Doc fix. Fix quote typo.
1979 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1982 electric-indent-mode-hook if we obey electric-indent-mode.
1983 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1984 decide whether we obey electric-indent-mode.
1985 (c-change-set-fl-decl-start, c-extend-after-change-region):
1987 (c-electric-indent-mode-hook): Assume we do want to obey
1988 electric-indent-mode.
1990 * electric.el (electric-indent-mode-has-been-called): Remove.
1991 (electric-indent-mode): Fix accordingly.
1993 * files.el (hack-local-variables): Mention file name in warning.
1995 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1997 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1999 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2000 * simple.el (delete-forward-char): Mark as interactive-only.
2002 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2004 * icomplete.el (icomplete-completions):
2005 Follow-up to 2014-03-01 change.
2007 * icomplete.el: Miscellaneous doc fixes.
2008 Use Icomplete everywhere instead of icomplete for consistency.
2009 (icomplete-max-delay-chars): Fix typo.
2010 (icomplete-mode): Use \[].
2011 (icomplete-tidy, icomplete-exhibit): Reflow.
2012 (icomplete-minibuffer-setup-hook, icomplete-completions):
2013 Remove superfluous backlashes.
2015 * ido.el: Miscellaneous doc fixes.
2016 Use Ido everywhere instead of ido or `ido' for consistency.
2017 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2018 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2019 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2020 (ido-separator): Extract obsolescence info from docstring and declare
2021 with make-obsolete-variable.
2022 (ido-minibuffer-setup-hook): Simplify example.
2023 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2024 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2025 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2026 (ido-everywhere): Reflow docstring.
2027 (ido-toggle-vc): Doc fix.
2028 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2029 of long list of keybindings.
2031 2014-03-03 Glenn Morris <rgm@gnu.org>
2033 * frame.el (display-pixel-height, display-pixel-width)
2034 (display-mm-dimensions-alist, display-mm-height)
2035 (display-mm-width): Doc tweaks.
2037 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2039 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2040 case of undo in region.
2042 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2044 * window.el (fit-window-to-buffer): Fix argument in window-size
2045 call when window is horizontally combined.
2047 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2049 * icomplete.el (icomplete-completions): Use string-width.
2050 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2052 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2054 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2055 Highlight regexp options. (Bug#16914)
2057 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2059 * window.el (window--max-delta-1): Round down when calculating
2060 how many lines/columns we can get from a window.
2062 2014-03-01 Glenn Morris <rgm@gnu.org>
2064 * isearch.el (search-invisible): Doc fix.
2066 * minibuffer.el (completion-hilit-commonality):
2067 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2068 * comint.el (comint-dynamic-list-completions): Doc fix.
2069 * comint.el (comint-dynamic-list-completions):
2070 * filecache.el (file-cache-minibuffer-complete):
2071 * tempo.el (tempo-display-completions):
2072 * eshell/em-hist.el (eshell-list-history):
2073 Replace use of obsolete argument of display-completion-list.
2075 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2077 * icomplete.el (icomplete-completions):
2078 Revert back to using "..." when ?… cannot be displayed.
2080 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2082 * finder.el (finder-unload-function): New function.
2084 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2086 * dframe.el (dframe-detach):
2087 * find-dired.el (find-dired, find-name-dired):
2088 * finder.el (finder-mode-map, finder-mode-syntax-table)
2089 (finder-headmark, finder-select, finder-mouse-select):
2090 Fix docstring typos.
2092 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2094 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2095 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2096 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2097 Fix doc-string based on a suggestion by Nicolas Richard
2098 <theonewiththeevillook@yahoo.fr>.
2099 * help.el (with-help-window): Fix doc-string.
2101 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2103 * net/shr.el (shr-image-animate): New option.
2104 (shr-put-image): Respect shr-image-animate.
2106 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2108 * net/tramp-adb.el (tramp-adb-parse-device-names):
2109 Use `accept-process-output'.
2110 (tramp-adb-handle-file-truename): Cache the localname only.
2111 (tramp-adb-handle-make-directory)
2112 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2113 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2114 modes cannot be changed.
2116 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2117 file properties of symlinks.
2119 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2121 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2122 required/optional fields to match development biblatex. (Bug#16781)
2124 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2126 * saveplace.el (toggle-save-place):
2127 Fix argument handling. (Bug#16673)
2129 2014-02-28 Glenn Morris <rgm@gnu.org>
2131 * minibuffer.el (completions-first-difference)
2132 (completions-common-part, completion-hilit-commonality): Doc fixes.
2134 2014-02-28 Karl Berry <karl@gnu.org>
2136 * info.el (Info-mode-map): Add H for describe-mode,
2137 to synchronize with standalone Info.
2139 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2141 * progmodes/sql.el (sql-interactive-mode):
2142 Avoid setting global comint-input-ring-separator. (Bug#16814)
2144 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2146 * net/dbus.el (dbus--init-bus): Declare function.
2147 (dbus-path-local, dbus-interface-local): New defconst.
2148 (dbus-init-bus): Use them.
2149 (dbus-return-values-table): Extend doc.
2150 (dbus-handle-bus-disconnect): Extend error message.
2152 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2154 * subr.el (y-or-n-p): Fix double space issue in message.
2156 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2158 * net/tramp.el (tramp-call-process): Improve trace message.
2159 (tramp-handle-insert-file-contents): Trace error case.
2161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2162 <insert-directory>: Use `tramp-handle-insert-directory'.
2163 (tramp-adb-handle-insert-directory): Remove function.
2164 (tramp-adb-send-command-and-check): New defun, replacing
2165 `tramp-adb-command-exit-status'. Change all callees.
2166 (tramp-adb-handle-file-attributes)
2167 (tramp-adb-handle-directory-files-and-attributes): Use it.
2168 (tramp-adb-ls-output-name-less-p):
2169 Use `directory-listing-before-filename-regexp'.
2170 (tramp-adb-handle-delete-directory): Flush also file properties of
2171 the truename of directory.
2172 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2173 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2174 (tramp-adb-handle-write-region): Implement APPEND.
2175 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2176 properties correctly.
2177 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2178 variables. Check for connected devices only when needed.
2180 2014-02-27 Glenn Morris <rgm@gnu.org>
2182 * minibuffer.el (completion-table-dynamic)
2183 (completion-table-with-cache): Doc fixes.
2185 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2186 (completing-read-multiple): Doc fixes.
2188 2014-02-27 Daniel Colascione <dancol@dancol.org>
2190 * minibuffer.el (completion--nth-completion): Fix indentation.
2192 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2193 explicit tramp path is empty.
2195 2014-02-27 Glenn Morris <rgm@gnu.org>
2197 * emacs-lisp/crm.el (completing-read-multiple):
2198 Empower help-enable-auto-load.
2200 2014-02-26 Glenn Morris <rgm@gnu.org>
2202 * startup.el (command-line): Don't init the tty in daemon mode.
2204 Avoid calling tty-setup-hook twice, eg if a term file
2205 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2206 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2207 (tty-create-frame-with-faces): Use it.
2208 * startup.el (command-line): Pass run-hook argument
2209 to tty-run-terminal-initialization.
2211 * dired.el (dired-restore-desktop-buffer): Demote errors;
2212 eg in case a glob match fails. (Bug#16884)
2214 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2216 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2217 error from `read-from-string'. (Bug#16850)
2219 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2220 result of `completing-read' in the interactive form. (Bug#16854)
2222 2014-02-25 Glenn Morris <rgm@gnu.org>
2224 * image.el (image-animate, image-animate-timeout):
2225 Stop animating images in dead buffers. (Bug#16878)
2227 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2229 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2231 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2232 * term/sun.el (sun-raw-prefix-hooks):
2233 Use tty-setup-hook instead of term-setup-hook.
2234 (terminal-init-sun): Construct message from bytecomp plist.
2235 * term/wyse50.el (enable-arrow-keys): Doc fix.
2237 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2239 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2240 Fix docstring typos.
2242 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2244 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2246 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2248 * minibuffer.el (completion--try-word-completion):
2249 Fix error when completing M-x commands (bug#16808).
2251 2014-02-24 Leo Liu <sdl.web@gmail.com>
2253 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2255 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2257 * apropos.el (apropos-print): Avoid formatting error when
2258 apropos-do-all and apropos-compact-layout are both t.
2260 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2262 * apropos.el (apropos-property, apropos-all-words-regexp)
2263 (apropos-true-hit, apropos-variable, apropos-print):
2264 Fix docstring typos, and remove obsolete comment.
2266 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2268 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2269 Preserve trailing "/". (Bug#16851)
2271 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2273 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2274 after `=>' (bug#16811).
2275 (ruby-smie-rules): Handle the inconsistent second element of the
2276 list returned by `smie-indent--parent'.
2277 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2280 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2282 * elec-pair.el (electric-pair-text-syntax-table)
2283 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2284 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2285 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2286 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2288 2014-02-22 Glenn Morris <rgm@gnu.org>
2290 * imenu.el (imenu--generic-function): Doc fix.
2292 * register.el (frame-configuration-to-register): Make obsolete.
2294 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2296 * desktop.el (desktop-save-buffer-p): Do not fail when
2297 desktop-files-not-to-save is nil. Return t for true result
2300 2014-02-22 Daniel Colascione <dancol@dancol.org>
2302 * net/secrets.el (secrets-create-item, secrets-search-items):
2303 Check that attribute values are strings, avoiding the construction
2304 of invalid dbus messages.
2306 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2308 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2309 defun-declarations-alist.
2311 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2313 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2316 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2318 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2319 (whitespace-newline, whitespace-trailing, whitespace-line)
2320 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2321 (whitespace-space-after-tab): Fix typo in docstrings.
2323 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2325 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2327 * electric.el (electric-indent-functions-without-reindent):
2328 Add `yaml-indent-line'.
2330 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2332 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2333 It has done nothing for years; should be removed after the release.
2335 * simple.el (choose-completion): Fix docstring typo.
2336 (read-quoted-char-radix): Remove unneeded * in docstring.
2337 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2338 Don't escape parentheses unnecessarily in docstrings.
2340 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2342 Fix handling of window-min-height/-width (Bug#16738).
2343 * window.el (window--dump-window, window--dump-frame):
2345 (window--min-size-1): Account for window dividers.
2346 When window-resize-pixelwise is nil, delay rounding till after the
2347 sum of the window components has been calculated.
2348 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2349 nil make sure at least one text line and two text columns remain
2351 (window-resize): Signal an error when window-resize-apply fails.
2352 (window--resize-child-windows): Fix calculation of by how many
2353 pixels a window can still be shrunk via window-new-normal.
2354 (adjust-window-trailing-edge): Call window--resizable with
2355 correct TRAIL argument.
2357 (with-temp-buffer-window): Don't evaluate BODY within
2358 with-current-buffer (Bug#16816).
2360 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2362 * net/tramp.el (tramp-check-cached-permissions):
2363 Call `file-attributes' with `suffix' being a symbol but a string.
2365 2014-02-21 Daniel Colascione <dancol@dancol.org>
2367 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2368 (dbus-init-bus): New function: call into dbus-init-bus-1
2369 and installs a handler for the disconnect signal.
2370 (dbus-call-method): Rewrite to look for result in cons.
2371 (dbus-call-method-handler): Store result in cons.
2372 (dbus-check-event): Recognize events with nil sender as valid.
2373 (dbus-handle-bus-disconnect): New function. React to bus
2374 disconnection signal by synthesizing dbus error for each
2375 pending synchronous or asynchronous call.
2376 (dbus-notice-synchronous-call-errors): New function.
2377 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2378 is true, not all the time.
2380 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2382 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2383 Remove obsolescence declarations, these variables do not exist anymore.
2385 * savehist.el (savehist-save-minibuffer-history)
2386 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2387 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2388 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2389 mostly, refer to "Savehist mode" when talking about the mode,
2390 and not the function.
2392 * saveplace.el (save-place): Remove redundant info in docstring.
2393 (save-place-forget-unreadable-files, toggle-save-place)
2394 (save-place-forget-unreadable-files, save-place-dired-hook):
2395 Fix typos and remove unneeded backslashes.
2397 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2399 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2400 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2403 <insert-directory>: Use `tramp-handle-insert-directory'.
2404 (tramp-gvfs-handle-insert-directory): Remove function.
2406 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2407 Call `tramp-handle-insert-directory'.
2409 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2411 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2412 before the start of buffer/region (bug#16799).
2414 2014-02-20 Glenn Morris <rgm@gnu.org>
2416 * isearch.el (search-invisible): Doc fix.
2418 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2420 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2423 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2425 * frameset.el (frameset-restore): Delay removing an old frame's
2426 duplicate id until the new frame has been correctly created.
2428 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2430 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2431 (tramp-check-cached-permissions): Call `file-attributes' if the
2434 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2435 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2437 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2438 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2439 (tramp-gvfs-maybe-open-connection): Set always connection
2440 properties, even if target is mounted already.
2442 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2443 Set tramp-autoload cookie.
2444 (tramp-get-remote-touch): New defun.
2445 (tramp-sh-handle-set-file-times): Use it.
2446 (tramp-sh-handle-directory-files-and-attributes):
2447 Use `tramp-handle-directory-files-and-attributes' if neither stat
2448 nor perl are available on the remote host.
2450 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2451 "/". Write long listing only when "l" belongs to the switches.
2453 * net/trampver.el: Update release number.
2455 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2457 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2459 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2461 * window.el (window-state-put): Allow WINDOW to refer to an
2462 internal window (Bug#16793).
2464 2014-02-19 Glenn Morris <rgm@gnu.org>
2466 * textmodes/remember.el: Move provide statement to end.
2467 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2468 (remember-notes): Doc fixes.
2470 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2472 * delsel.el (delete-char): Restore incorrectly erased property
2475 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2477 * frameset.el (frameset--restore-frame): When a frame is being reused
2478 and its root window is not alive, delete all the frame's windows before
2479 restoring the window state. This works around the issue in bug#16793.
2481 2014-02-18 Glenn Morris <rgm@gnu.org>
2483 * textmodes/remember.el (remember-data-directory)
2484 (remember-directory-file-name-format, remember-store-in-files)
2485 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2486 (remember-notes-save-and-bury-buffer)
2487 (remember-notes--kill-buffer-query): Doc fixes.
2489 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2491 2014-02-17 Alan Mackenzie <acm@muc.de>
2493 Connect electric-indent-mode up with CC Mode. Bug #15478.
2494 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2495 to electric-indent-{,local-}-mode.
2496 (c-basic-common-init): Set electric-indent-inhibit.
2497 Initialise c-electric-flag from electric-indent-mode.
2498 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2499 New hook functions which propagate electric-indent-mode to CC mode.
2501 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2502 hit, toggle electric-indent-local-mode.
2504 * electric.el (electric-indent-mode-has-been-called):
2507 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2509 * frameset.el (frameset-cfg-id): New function.
2510 (frameset--reuse-frame, frameset-restore): Use it.
2511 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2513 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * ido.el (ido-file-internal): Remove unused var `d'.
2516 Use \` for to match BoS. Fit within 80n columns.
2518 2014-02-17 Daniel Colascione <dancol@dancol.org>
2520 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2521 dbus-call-method check for completion using a busy-wait loop with
2524 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2526 Sync with Tramp 2.2.9.
2528 * net/trampver.el: Update release number.
2530 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2532 * ido.el (ido-file-internal): Don't add the name of an existing
2533 directory twice. (Bug#16747)
2535 2014-02-16 Glenn Morris <rgm@gnu.org>
2537 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2538 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2540 2014-02-15 Michael R. Mauger <michael@mauger.com>
2542 * progmodes/sql.el: Version 3.4
2543 (sql-oracle-options): New default value ("-L").
2544 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2545 (sql-placeholders-filter): Correct placeholder pattern.
2546 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2547 (sql-login-delay): New variable.
2548 (sql-product-interactive): Use it.
2550 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2552 * frameset.el (frameset--jump-to-register): Check that buffer is live
2555 2014-02-15 Glenn Morris <rgm@gnu.org>
2557 * info.el (info-initialize): Revert 2014-01-10 change.
2559 2014-02-14 Glenn Morris <rgm@gnu.org>
2561 * replace.el (map-query-replace-regexp)
2562 (read-regexp-defaults-function, read-regexp): Doc fixes.
2564 * dired.el (dired-read-regexp):
2565 * faces.el (list-faces-display):
2566 * misearch.el (multi-isearch-read-matching-buffers)
2567 (multi-isearch-read-matching-files):
2568 * play/cookie1.el (cookie-apropos):
2569 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2571 * textmodes/remember.el (remember): Use frameset-to-register
2572 rather than frame-configuration-to-register.
2574 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2576 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2577 incorrect keybinding.
2579 2014-02-13 Daniel Colascione <dancol@dancol.org>
2581 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2582 when adding overlays so that line numbers from compiler match line
2585 2014-02-13 Glenn Morris <rgm@gnu.org>
2587 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2589 * jit-lock.el (jit-lock-mode): Doc fix.
2591 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2593 * apropos.el (apropos-read-pattern): When the user passes an empty
2594 string, give a more helpful error message than "Wrong type
2595 argument: stringp, nil".
2597 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2599 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2601 2014-02-13 Glenn Morris <rgm@gnu.org>
2603 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2605 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2608 shift-select commands.
2610 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2612 * progmodes/js.el (js-indent-line): Don't widen.
2613 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2615 2014-02-12 Glenn Morris <rgm@gnu.org>
2617 * icomplete.el (icomplete): Add info-link to defgroup.
2618 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2619 (icomplete-minibuffer-map, icomplete-mode)
2620 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2622 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2623 (package-menu-filter): Rename from package-menu-filter-interactive.
2626 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2628 * frameset.el (frameset--jump-to-register): Select the required
2629 window and buffer before restoring position (bug#16696).
2631 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2633 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2635 2014-02-10 Glenn Morris <rgm@gnu.org>
2637 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2639 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2641 * w32-common-fns.el (x-get-selection): Doc fix.
2642 * select.el (x-get-selection): Doc fix. (Bug#15109)
2644 * face-remap.el (face-remap-add-relative)
2645 (face-remap-remove-relative, face-remap-reset-base)
2646 (face-remap-set-base): Call force-mode-line-update to redisplay
2647 the current buffer due to potential change in faces. (Bug#16709)
2649 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2651 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2652 script more robustly.
2654 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2656 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2658 * simple.el (choose-completion): Doc fix (bug#14160).
2660 * subr.el (event-start): Say what a nil EVENT value means.
2662 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2665 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2667 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2669 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2671 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2672 predicate function (bug#15455).
2674 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2676 * ielm.el (inferior-emacs-lisp-mode): Instead of
2677 `comment-use-global-state', set `comment-use-syntax'.
2679 2014-02-10 Glenn Morris <rgm@gnu.org>
2681 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2683 2014-02-09 Alan Mackenzie <acm@muc.de>
2685 Fix c-invalidate-state-cache on narrowed buffers.
2686 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2687 Widen when setting and clearing the CPP delimiter properties.
2689 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2691 * help.el (describe-bindings): Doc fix (bug#9888).
2693 * files.el (save-buffer): Use ARG as the parameter name for
2694 consistency (bug#10346).
2695 (save-buffer): Clarify the 0 argument (bug#10346).
2697 * cus-edit.el (customize-apropos): Fix error string.
2698 (custom-buffer-create): Doc fix (bug#11122).
2699 (custom-sort-items): Doc fix (bug#11121).
2701 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2703 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2704 (icomplete-simple-completing-p): Mention the previous variable.
2706 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2707 meaning of the parameter (bug#12282).
2709 * files.el (find-file-noselect): Clarify prompt when changing
2710 readedness (bug#13261).
2711 (locate-file): Suffixes aren't returned, so don't say that they
2713 (backup-inhibited): Doc clarification (bug#12525).
2715 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2716 before we actually start to delete things (bug#16331).
2718 * subr.el (event-start): Doc fix (bug#14228).
2721 2014-02-09 Glenn Morris <rgm@gnu.org>
2723 * emacs-lisp/warnings.el (lwarn):
2724 Empower help-enable-auto-load. (Bug#15940)
2726 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2728 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2731 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2733 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2734 Insert output at end of buffer. (Bug#16120)
2736 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2738 * simple.el (choose-completion-string-functions): Document new
2739 calling convention (bug#14153).
2740 (execute-extended-command): Clarify doc string (bug#13373).
2742 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2744 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2745 (find-grep-dired): Doc fix (bug#14288).
2747 2014-02-08 Juri Linkov <juri@jurta.org>
2749 * isearch.el (isearch-quote-char): Check character validity
2750 like in `quoted-insert' (bug#16677).
2752 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2754 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2756 * isearch.el (isearch-hide-immediately): Doc clarification
2759 * simple.el (line-move): Document utility function used many
2760 places in the Emacs sources (bug#14843).
2762 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2763 (dired-prev-marked-file): Doc fix (bug#14855).
2764 (dired-up-directory): Doc fix (bug#14848).
2766 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2768 * files.el (file-relative-name): Doc fix (bug#15159).
2770 * fringe.el (fringe-styles): Doc fix (bug#15239).
2772 * isearch.el (isearch-filter-predicate): Documentation typo fix
2775 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2777 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2779 * replace.el (replace-match-maybe-edit): Doc clarification
2782 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2784 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2786 2014-02-08 Glenn Morris <rgm@gnu.org>
2788 * help-fns.el (describe-variable):
2789 Check {file,dir}-local-variables-alist, and buffer-file-name,
2790 in the correct buffer.
2792 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2794 * help-fns.el (describe-variable): Fix the case where
2795 a value is directory-local with no dir-locals file. (Bug#16635)
2797 2014-02-08 Glenn Morris <rgm@gnu.org>
2799 * abbrev.el (edit-abbrevs-mode):
2800 Derive from fundamental-mode. (Bug#16682)
2802 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2804 * simple.el (quoted-insert): Check character validity (bug#16677).
2806 2014-02-07 Juri Linkov <juri@jurta.org>
2808 * desktop.el (desktop-read): Claim the lock when the owner is not
2809 the current process. (Bug#16157)
2811 2014-02-07 Juri Linkov <juri@jurta.org>
2813 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2814 to "\\` ". (Bug#16651)
2816 2014-02-07 Juri Linkov <juri@jurta.org>
2818 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2819 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2820 (desktop-auto-save-cancel-timer): New function with some code from
2821 `desktop-auto-save-set-timer'.
2822 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2823 Instead of setting `desktop-save-mode' to nil, call
2824 `desktop-save-mode' with arg 0. (Bug#16630)
2826 2014-02-07 Glenn Morris <rgm@gnu.org>
2828 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2829 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2830 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2832 * obsolete/iswitchb.el: Move to obsolete/.
2833 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2834 since obsolete/ is not scanned for autoloads.
2835 * emacs-lisp/authors.el (authors-valid-file-names):
2838 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2839 Disable now non-functional find-file-hook.
2841 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2843 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2844 instead of ";" in order to avoid additional prompts. Let heredoc
2845 scripts read from tty. (Bug#16582)
2846 (tramp-send-command): No special handling of heredocs, it isn't
2849 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2852 with a space (bug#16664). Limit the symbols considered to the ones
2853 that are bound or fbound (bug#16646).
2855 2014-02-06 Glenn Morris <rgm@gnu.org>
2857 * epa.el (epa-mail-aliases): Doc fix.
2859 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2861 * emacs-lisp/lisp.el (lisp-completion-at-point):
2862 Use `completion-table-merge' instead of `completion-table-in-turn'
2865 * minibuffer.el (completion-table-merge): New function.
2867 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2869 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2870 (tramp-sh-handle-set-file-acl)
2871 (tramp-sh-handle-start-file-process)
2872 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2873 (tramp-find-executable, tramp-send-command): Use it.
2875 2014-02-05 Glenn Morris <rgm@gnu.org>
2877 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2879 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2881 * progmodes/python.el (python-shell-send-string)
2882 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2884 2014-02-04 Anders Lindgren <andlind@gmail.com>
2886 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2887 the names (bug#16620).
2889 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2891 * faces.el (window-divider): New default value. Rewrite doc-string.
2892 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2894 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2897 `protected' and `public' can also be called without arguments.
2899 2014-02-03 Glenn Morris <rgm@gnu.org>
2901 * register.el (window-configuration-to-register)
2902 (frame-configuration-to-register): Unadvertise unused argument.
2903 * frameset.el (frameset-to-register): Remove unused argument.
2905 * frameset.el (frameset-to-register):
2906 * kmacro.el (kmacro-to-register):
2907 * register.el (increment-register):
2908 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2909 (calc-append-to-register, calc-prepend-to-register):
2910 * play/gametree.el (gametree-layout-to-register)
2911 (gametree-apply-register-layout):
2912 * textmodes/picture.el (picture-clear-rectangle-to-register)
2913 (picture-yank-rectangle-from-register):
2914 * vc/emerge.el (emerge-combine-versions-register):
2915 Use register-read-with-preview to read registers.
2917 2014-02-03 João Távora <joaotavora@gmail.com>
2919 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2920 when at beginning of (possibly narrowed) buffer.
2922 2014-02-02 Daniel Colascione <dancol@dancol.org>
2924 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2925 Also try to display local help from just before point.
2927 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2929 c-parse-state. Don't "append-lower-brace-pair" in certain
2930 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2931 recognised as a comment.
2933 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2934 as well as normal comment starter.
2935 (c-parse-state-get-strategy): Extra return possibility
2937 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2938 return value list to indicate replacement of a brace-pair cons
2940 (c-parse-state-1): With 'back-and-forward, only call
2941 c-append-lower-brace-pair-to state-cache when cons-separated.
2943 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2945 * term/ns-win.el (ns-suspend-error): New function.
2946 (ns-initialize-window-system): Add ns-suspend-error to
2947 suspend-hook (Bug#16612).
2949 2014-02-02 Daniel Colascione <dancol@dancol.org>
2951 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2952 Make loading cc-mode silent.
2954 2014-02-02 Daniel Colascione <dancol@dancol.org>
2956 * comint.el (comint-prompt-read-only): Change doc to suggest
2959 2014-02-02 Glenn Morris <rgm@gnu.org>
2961 * register.el (register-read-with-preview, point-to-register)
2962 (window-configuration-to-register, frame-configuration-to-register)
2963 (jump-to-register, number-to-register, view-register, insert-register)
2964 (copy-to-register, append-to-register, prepend-to-register)
2965 (copy-rectangle-to-register): Doc fixes.
2967 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2970 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2971 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2972 * help-fns.el (describe-function-1): Use it.
2974 2014-02-02 Glenn Morris <rgm@gnu.org>
2976 * register.el (register-preview-default): New function,
2977 split from register-preview.
2978 (register-preview-function): Rename from register-preview-functions,
2980 (register-preview): Use register-preview-function.
2981 (register-read-with-preview): Error on non-character event. (Bug#16595)
2983 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2985 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2986 `:' before binary operators (bug#16609). Don't check for `:'
2987 before `[' and `(', or their syntax status. A percent literal
2988 can't end with either.
2989 (ruby-font-lock-keywords): For built-ins that require arguments,
2990 check that they're followed by something that looks like argument
2993 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2995 * subr.el (butlast): Document what an omitted N means (bug#13437).
2998 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3000 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3001 depth shallower (bug#16587).
3002 (shr-tag-svg): Respect `shr-inhibit-images'.
3003 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3005 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3007 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3008 (ruby-smie-grammar): Make "." right-associative. Make its priority
3009 lower than the ternary and all binary operators.
3010 (ruby-smie-rules): Indent "(" relative to the first non-"."
3011 parent, or the first "." parent at indentation.
3012 Use `ruby-align-chained-calls' for indentation of "." tokens.
3015 2014-01-31 Juri Linkov <juri@jurta.org>
3017 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3018 from `make-hash-table'.
3020 * textmodes/ispell.el (ispell-init-process): Change message format
3021 to be consistent with other messages.
3023 2014-01-31 Glenn Morris <rgm@gnu.org>
3025 * delsel.el (delete-selection-mode): Doc fix.
3027 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3028 (trace-function-background): Doc fixes.
3030 * ido.el (ido-use-virtual-buffers): Doc fix.
3031 Reset :version, since the default value has not changed.
3033 * register.el (register-preview-delay, register-read-with-preview):
3036 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3037 do not mess with mail-buffer position (fixes 2009-11-03 change).
3038 * progmodes/cc-mode.el (c-submit-bug-report):
3039 Check auto-fill-mode is bound. (Bug#16592)
3041 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3043 * startup.el (fancy-splash-image-file): New function,
3044 split from fancy-splash-head.
3045 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3046 so that we are both using the same image. (Bug#16574)
3048 2014-01-30 Glenn Morris <rgm@gnu.org>
3050 * simple.el (eval-expression): Doc fix.
3052 * hexl.el (hexl-mode-hook):
3053 * ielm.el (ielm-mode-hook):
3054 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3055 (lisp-interaction-mode-hook):
3056 * progmodes/cfengine.el (cfengine3-documentation-function):
3057 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3059 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3061 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3062 is a symbol (bug#16584).
3064 2014-01-30 Glenn Morris <rgm@gnu.org>
3066 * help.el (help-for-help-internal): Add "P" to text.
3068 2014-01-29 Glenn Morris <rgm@gnu.org>
3070 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3072 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3074 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3077 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3079 * progmodes/hideif.el: Extend to full CPP expression syntax.
3080 (hif-token-alist): Add missing tokens.
3081 (hif-token-regexp): Add support for float/octal/hex immediates.
3082 (hif-string-literal-regexp): New const.
3083 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3084 (hif-exprlist): New function.
3085 (hif-parse-if-exp): Use it.
3086 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3087 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3088 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3089 (hif-logxor, hif-comma): New functions.
3091 2014-01-28 Glenn Morris <rgm@gnu.org>
3093 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3095 * indent.el (tab-stop-list): Doc fix. Add :version.
3097 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3098 (cvs-append-to-ignore): Add compatibility alias.
3100 2014-01-27 Glenn Morris <rgm@gnu.org>
3102 * dired.el (dired-hide-details-mode): Don't autoload it,
3103 since it cannot be used outside Dired buffers anyway.
3105 * emulation/cua-base.el (cua-mode): Doc fix.
3107 * dired.el (dired-hide-details-hide-symlink-targets)
3108 (dired-hide-details-hide-information-lines)
3109 (dired-hide-details-mode): Doc fixes.
3111 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3112 * strokes.el (strokes-file): Doc fix. Bump :version.
3113 (strokes-help): Doc fix.
3114 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3115 * emulation/viper.el (viper): Doc fix for custom group.
3116 (top-level): Remove oh-so-no-longer-relevant text about vip.
3117 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3119 * ido.el (ido-save-directory-list-file):
3120 * saveplace.el (save-place-file):
3121 * calendar/timeclock.el (timeclock-file):
3122 * net/quickurl.el (quickurl-url-file):
3123 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3124 * progmodes/idlwave.el (idlwave-config-directory):
3125 * textmodes/remember.el (remember-data-file):
3128 2014-01-26 Glenn Morris <rgm@gnu.org>
3130 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3131 Doc fix. Make obsolete.
3132 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3134 * sort.el (delete-duplicate-lines): Doc fix.
3136 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3138 * progmodes/ada-mode.el (ada):
3139 * woman.el (woman): Link to info manual and Commentary section.
3141 * progmodes/flymake.el (flymake):
3142 * nxml/nxml-mode.el (nxml):
3144 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3145 * htmlfontify.el (htmlfontify):
3148 * ido.el (ido): Link to info manual.
3150 2014-01-25 Leo Liu <sdl.web@gmail.com>
3152 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3154 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3156 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3159 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3161 * net/eww.el (eww-download-callback):
3162 Fix reference to eww-download-directory.
3164 * emacs-lisp/bytecomp.el (byte-compile-file):
3165 Remove unused local variable `file-name'.
3167 2014-01-24 Glenn Morris <rgm@gnu.org>
3169 * woman.el (woman-default-faces, woman-monochrome-faces):
3170 Fix obsolescence specification.
3172 * subr.el (with-demoted-errors): Doc fix.
3174 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3177 (cl--macroexp-fboundp): New function.
3178 (cl--make-type-test): Use it.
3180 2014-01-23 Glenn Morris <rgm@gnu.org>
3182 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3183 * simple.el (eval-expression): Doc fixes.
3185 2014-01-22 Glenn Morris <rgm@gnu.org>
3187 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3189 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3191 * emacs-lisp/package.el: Write files silently.
3192 (package-autoload-ensure-default-file, package--write-file-no-coding)
3193 (package-generate-description-file, package--download-one-archive)
3194 (package-install-from-archive): Tell `write-region' to stay quiet.
3195 (package-menu-mode, package-menu--print-info): Omit the Archive column
3196 if there's only one archive.
3197 (package-all-keywords, package--has-keyword-p): Remove dead code.
3199 2014-01-22 Glenn Morris <rgm@gnu.org>
3201 * version.el (emacs-bzr-version-bzr): Fix typo.
3203 * version.el (emacs-repository-get-version):
3204 Check either .bzr or .git, but not both.
3205 Make the git case actually use the DIR argument, and return nil
3206 rather than the empty string.
3207 Avoid error if .git exists but the git executable is not found.
3209 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3211 Fixes in window size functions around Bug#16430 and Bug#16470.
3212 * window.el (window-total-size, window-size): New argument ROUND.
3213 (window--min-delta-1, window-min-delta, window--max-delta-1):
3214 Be more conservative when calculating the numbers of lines or
3215 columns a window can shrink (Bug#16430).
3216 (fit-window-to-buffer): Simplify code.
3217 * term.el (term-window-width): Call window-body-width again.
3219 2014-01-22 Glenn Morris <rgm@gnu.org>
3221 * image.el (image-format-suffixes): Doc fix.
3223 * international/quail.el (quail-define-package): Doc fix.
3225 * emacs-lisp/authors.el (authors-valid-file-names)
3226 (authors-renamed-files-alist): Additions.
3228 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3229 reverts 2014-01-09 change. (Bug#16422)
3231 * calc/calc-embed.el (thing-at-point-looking-at):
3232 * emacs-lisp/map-ynp.el (x-popup-dialog):
3233 * obsolete/lmenu.el (x-popup-dialog):
3234 * emacs-lisp/package.el (url-recreate-url):
3235 * mail/mailclient.el (clipboard-kill-ring-save):
3236 * subr.el (x-popup-dialog): Update declaration.
3237 * mail/rmail.el (rmail-mime-message-p):
3238 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3240 2014-01-21 Daniel Colascione <dancol@dancol.org>
3242 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3243 Correctly detect when we're inside an arithmetic expansion form
3244 containing nested parenthesis.
3245 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3246 to detect cases where we shouldn't expand "<<" to a heredoc
3249 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3252 (eldoc--message-command-p): New function.
3253 (eldoc-display-message-p): Use it.
3254 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3255 message is not automatically erased for us.
3256 (eldoc-print-current-symbol-info): Erase previous message, if any.
3258 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3260 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3261 specify it's an interactive function.
3263 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3264 Fix regex used for scanning for citation keys which failed for
3265 citations with optional arguments.
3267 2014-01-21 Leo Liu <sdl.web@gmail.com>
3269 * simple.el (read--expression): Don't enable eldoc-mode.
3271 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * simple.el (move-beginning-of-line): Make sure we don't move forward
3276 2014-01-20 Juri Linkov <juri@jurta.org>
3278 * saveplace.el (toggle-save-place, save-place-to-alist)
3279 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3280 'dired-mode) before checking for dired-directory. (Bug#16477)
3282 2014-01-20 Juri Linkov <juri@jurta.org>
3284 * indent.el (indent-line-to): Use backward-to-indentation
3285 instead of back-to-indentation. (Bug#16461)
3287 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3289 Revert some of the CANNOT_DUMP fix (Bug#16494).
3290 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3291 but fixing this can wait until after the next release.
3292 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3294 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3296 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3297 Use `password-word-equivalents'.
3298 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3299 to t. (Bug#5664, Bug#13124)
3301 2014-01-19 Alan Mackenzie <acm@muc.de>
3303 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3305 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3306 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3307 * progmodes/cc-mode.el (c-before-change, c-after-change)
3308 (c-font-lock-fontify-region): Bind it here.
3310 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3312 * term.el (term-window-width): Call window-text-width instead of
3313 window-width (Bug#16470).
3315 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3317 * simple.el (password-word-equivalents): Remove duplicates.
3318 Sort, to make this easier next time.
3319 Downcase. Omit ": " after "jelszó".
3321 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3323 * term/common-win.el (saved-region-selection): Defvar it.
3324 (x-select-text): Set saved-region-selection (Bug#16382).
3326 2014-01-18 Glenn Morris <rgm@gnu.org>
3328 * emacs-lisp/authors.el (authors-aliases)
3329 (authors-renamed-files-alist): Add some entries.
3331 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3333 * net/tramp.el (tramp-password-prompt-regexp):
3334 Use `password-word-equivalents' if available.
3335 (tramp-action-password, tramp-process-one-action)
3336 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3338 2014-01-17 Chong Yidong <cyd@gnu.org>
3340 * simple.el (password-word-equivalents): New defcustom.
3341 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3343 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3346 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3348 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3349 (ruby-align-to-stmt-keywords): Change the default value.
3350 Use `ruby-alignable-keywords' to generate the possible customization
3352 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3353 keywords, check against the value of `ruby-alignable-keywords'
3354 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3356 2014-01-17 Glenn Morris <rgm@gnu.org>
3358 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3360 Make M-x authors return zero *Authors Errors* from current logs.
3361 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3362 (authors-ignored-files): Add some entries, remove others.
3363 (authors-ambiguous-files, authors-valid-file-names):
3365 (authors-renamed-files-alist): Add, remove, and adjust entries.
3366 (authors-renamed-files-regexps): Add some entries.
3367 Remove some very broad ones. Make some entries `lax'.
3368 (authors-lax-changelogs): New constant.
3369 (authors-disambiguate-file-name): Treat top-level specially.
3370 (authors-lax-changelog-p): New function.
3371 (authors-canonical-file-name): Check file as written against
3372 authors-valid-file-names. Do not special-case etc/.
3373 Handle `lax' logs and authors-renamed-files-regexps elements.
3375 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3377 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3378 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3381 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3383 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3384 Assume we're already in the proper buffer.
3385 Inspired by Anders Lindgren <andlind@gmail.com>.
3386 (follow-post-command-hook): Call it from the right buffer.
3387 (follow-comint-scroll-to-bottom): Adjust call.
3388 (follow-all-followers): Use get-buffer-window-list.
3390 2014-01-15 Daniel Colascione <dancol@dancol.org>
3392 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3393 `buffer-file-name' in interactive-form so that we don't leave
3394 pathless file names in `file-name-history'.
3396 2014-01-15 Juri Linkov <juri@jurta.org>
3398 * indent.el (indent-rigidly): Set deactivate-mark to nil
3399 in transient indentation mode. (Bug#16438)
3401 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3403 * emacs-lisp/package.el (package-desc-keywords): New function
3405 (describe-package-1, package-all-keywords)
3406 (package--has-keyword-p): Use it.
3408 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3410 * simple.el (define-alternatives): When creating the
3411 COMMAND-alternatives variable, assign COMMAND as its definition
3412 name so that `describe-variable' can relocate it.
3414 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3416 * font-lock.el (font-lock-keywords): Fix typo in docstring
3419 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3421 * ispell.el (ispell-region): Reset `in-comment' for new line
3422 instead of wrongly reset `add-coment' (bug#13577).
3424 2014-01-14 Daiki Ueno <ueno@gnu.org>
3426 * epa-file.el (epa-file-write-region): Encode the region according
3427 to `buffer-file-format'. Problem reported at:
3428 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3430 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3433 so it applies in the right buffer (bug#16410).
3435 2014-01-13 Daniel Colascione <dancol@dancol.org>
3437 * textmodes/rst.el (rst-define-key): Provide deprecated
3438 keybindings through named functions instead of anonymous ones so
3439 that "??" doesn't appear in describe-mode output.
3441 2014-01-13 Bastien Guerry <bzg@gnu.org>
3443 * simple.el (define-alternatives): Call the selected command
3444 interactively. When setting `COMMAND--implementation' for the
3445 first time, tell the user how to chose another implementation.
3446 Enhance the docstring.
3448 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3451 (log-edit--match-first-line): New function.
3452 (log-edit-font-lock-keywords): Use it.
3453 (log-edit-mode): Make jit-lock-defer-multiline work.
3455 2014-01-13 Bastien Guerry <bzg@gnu.org>
3457 * rect.el (rectangle-mark-mode): When the region is not active,
3458 display a message saying that the mark as been set and that
3459 rectangle mode is in use.
3460 (rectangle--highlight-for-redisplay): Only put an overlay with a
3461 visible vertical bar when (display-graphic-p) is non-nil.
3462 This partially fixes Bug#16403.
3464 2014-01-13 Juri Linkov <juri@jurta.org>
3466 * info.el (Info-find-file): Go to DIR before displaying the error
3467 about a nonexistent file if no previous Info file is visited.
3468 Use `user-error' instead of `error' for "Info file %s does not exist".
3469 (Info-find-node-2): In case of a nonexistent node in unwind forms
3470 go to the Top node if there is no previous node to revert to.
3473 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3475 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3476 * window.el (fit-frame-to-buffer): Fix doc-string.
3477 Respect window-min-height/-width. Fit pixelwise when
3478 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3479 when avoiding that frame goes partially off-screen.
3480 (fit-window-to-buffer): Respect window-min-height/-width
3483 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3485 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3486 after an empty line.
3488 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * net/shr.el (shr-render-region): Autoload.
3492 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3494 * net/eww.el (eww-download-directory): Rename from
3495 `eww-download-path' (Bug#16419).
3497 2014-01-12 Leo Liu <sdl.web@gmail.com>
3499 * dired-x.el (dired-mode-map): Fix last change.
3501 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3503 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3506 * emacs-lisp/generic.el (generic--normalize-comments):
3507 Rename from generic--normalise-comments. All uses changed.
3508 * play/bubbles.el (bubbles--neighborhood-score)
3509 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3510 (bubbles--neighborhood-available)
3511 (bubbles--update-neighborhood-score):
3512 Rename from names with 'neighbourhood'. All uses changed.
3514 2014-01-12 Leo Liu <sdl.web@gmail.com>
3516 Re-implement the feature of showing eldoc info after editing.
3517 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3518 (eldoc-edit-message-commands): New function.
3519 (eldoc-print-after-edit): New variable.
3520 (eldoc-pre-command-refresh-echo-area): Emit message only by
3521 eldoc-message-commands.
3522 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3523 if eldoc-print-after-edit is set. (Bug#16346)
3524 * simple.el (read--expression): Enable eldoc-mode.
3525 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3527 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3528 Eric S. Raymond <esr@thyrsus.com>
3530 * version.el (emacs-repository-get-version): Enhance so the
3531 function works correctly in either a Bazaar or Git repo.
3533 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3535 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3536 Goes with removal of the joke manpages from /etc.
3538 2014-01-10 Kenichi Handa <handa@gnu.org>
3540 * mail/rmail.el (rmail-get-coding-system):
3541 Check rmail-get-coding-function before "funcall"ing it.
3543 2014-01-10 Glenn Morris <rgm@gnu.org>
3545 * emacs-lisp/authors.el (authors-fixed-entries):
3546 Update for files that no longer exist.
3548 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3550 * version.el (emacs-bzr-get-version): Restore compatibilty with
3553 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3555 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3558 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3560 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3562 2014-01-10 Chong Yidong <cyd@gnu.org>
3564 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3566 2014-01-10 Anders Lindgren <andlind@gmail.com>
3568 * follow.el (follow-cache-command-list): Include right-char and
3571 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3574 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3575 * woman.el (woman-mark-horizontal-position):
3576 Rename from woman-mark-horizonal-position. Use changed.
3578 2014-01-10 Glenn Morris <rgm@gnu.org>
3580 * info.el (info-initialize): If running uninstalled, ensure our
3581 own info files are always found first, even if INFOPATH is set.
3583 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3585 2014-01-09 David Engster <deng@randomsample.de>
3587 * emacs-lisp/eieio-custom.el:
3588 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3589 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3590 * emacs-lisp/eieio.el: Regenerate autoloads.
3592 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3594 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3595 following renames. (Bug#8756)
3597 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3601 (activate-mark): Add `no-tmm' argument.
3602 (set-mark, push-mark-command): Use it instead of running
3603 activate-mark-hook by hand.
3605 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3607 In preparation for the move to git, sanitize out some
3608 Bazaar-specific names.
3610 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3612 * version.el (emacs-bzr-version): Name changed to
3613 emacs-repository-version. Obsolete-variable alias made.
3614 * loadup.el: Follow through on this name change.
3615 * mail/emacsbug.el (report-emacs-bug): Factor out any
3616 assumption about the version control system in use.
3618 2014-01-08 David Engster <deng@randomsample.de>
3620 * help-fns.el (help-fns-describe-function-functions):
3621 New variable to call functions for augmenting help buffers.
3622 (describe-function-1): Remove explicit calls to
3623 `help-fns--compiler-macro', `help-fns--parent-mode' and
3624 `help-fns--obsolete'. Put them in above new variable instead, and
3625 call them through `run-hook-with-args'.
3626 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3627 `eieio-describe-class'. Not meant for interactive use anymore,
3628 but to augment existing help buffers. Remove optional second
3629 argument. Create proper button for file location.
3630 Rewrite function to use `insert' instead of `princ' and `prin1' where
3632 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3633 (eieio-method-def, eieio-class-def): Move further up.
3634 (describe-method, describe-generic, eieio-describe-method):
3636 (eieio-help-constructor, eieio-help-generic): Rename from
3637 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3638 Rewrite to use `insert' in the current buffer and use proper help
3640 (eieio-help-find-method-definition)
3641 (eieio-help-find-class-definition): Also accept symbols as
3643 (eieio-help-mode-augmentation-maybee): Remove.
3644 (eieio-describe-class-sb): Use `describe-function'.
3645 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3646 Add `eieio-help-generic' and `eieio-help-constructor'.
3648 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3651 * language/china-util.el (hz-ascii-designation):
3652 Rename from hz-ascii-designnation.
3653 (hz-ascii-designation): Rename from hz-ascii-designnation.
3656 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3658 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3661 2014-01-08 Bastien Guerry <bzg@gnu.org>
3663 * emacs-lisp/package.el (package-delete):
3664 Correctly delete the package from package-alist.
3666 2014-01-08 Daiki Ueno <ueno@gnu.org>
3668 * emacs-lisp/package.el (url-recreate-url): Declare.
3669 (url-http-target-url): Declare.
3670 (package-handle-response): Include requested URL in the error message.
3671 (package--check-signature): Don't re-signal errors from
3672 package--with-work-buffer. Suggested by Stefan Monnier.
3674 2014-01-07 Bastien Guerry <bzg@gnu.org>
3676 * minibuffer.el (completion--try-word-completion): When both a
3677 hyphen and a space are possible candidates for the character
3678 following a word, display both candidates. (Bug#15980)
3680 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3682 * window.el (balance-windows-2): While rounding don't give a
3683 window more than the remainder. Bug#16351, bug#16383.
3685 2014-01-07 Glenn Morris <rgm@gnu.org>
3687 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3688 (menu-bar-help-menu): Use view-external-packages instead.
3690 2014-01-07 Bastien Guerry <bzg@gnu.org>
3692 * emacs-lisp/package.el (package-delete): Also delete the package
3693 name from `package-alist', not its description only.
3695 2014-01-07 Glenn Morris <rgm@gnu.org>
3697 * help.el (view-external-packages):
3698 * menu-bar.el (menu-bar-help-extra-packages):
3699 Visit efaq.info rather than etc/MORE.STUFF.
3701 2014-01-07 Juri Linkov <juri@jurta.org>
3703 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3704 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3706 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3707 that shadows RET. (Bug#16342)
3709 2014-01-07 Chong Yidong <cyd@gnu.org>
3711 * isearch.el (isearch-yank-char, isearch-yank-word)
3712 (isearch-yank-line): Doc fix.
3714 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3717 * emacs-lisp/elint.el (elint-find-builtins):
3718 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3719 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3720 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3721 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3722 * apropos.el (apropos-safe-documentation):
3723 * subr.el (symbol-file): Remove redundant fboundp.
3724 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3726 2014-01-06 Bastien Guerry <bzg@gnu.org>
3728 * hl-line.el (global-hl-line-overlay): Make a local variable.
3729 (global-hl-line-overlays): New variable to store all overlays.
3730 (global-hl-line-mode): Don't delete overlays from the current
3731 buffer when `global-hl-line-sticky-flag' is non-nil.
3732 (global-hl-line-highlight): Add new overlays to
3733 `global-hl-line-overlays'.
3734 (global-hl-line-unhighlight-all): New function to delete all
3735 overlays when turning off `global-hl-line-mode'.
3736 This fixes Bug#16183.
3738 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * subr.el (set-transient-map): Fix nested case and docstring.
3742 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3744 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3747 2014-01-06 Daniel Colascione <dancol@dancol.org>
3749 Fix defun navigation in vc log view.
3751 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3752 like `beginning-of-defun'.
3753 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3754 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3755 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3756 (log-view-extract-comment): Call `log-view-current-entry' directly
3757 instead of relying on broken `log-view-beginning-of-defun' behavior.
3759 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3762 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3763 * emacs-lisp/debug.el (cancel-debug-on-entry):
3764 * epg.el (epg-error-to-string):
3765 * files.el (recover-file):
3766 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3767 * mail/emacsbug.el (report-emacs-bug-hook):
3768 * mail/sendmail.el (mail-recover):
3769 * ses.el (ses-yank-resize):
3770 * term/ns-win.el (ns-print-buffer):
3771 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3772 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3774 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3776 2014-01-06 Leo Liu <sdl.web@gmail.com>
3778 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3779 to avoid shadowing global key. (Bug#16354)
3781 2014-01-06 Daniel Colascione <dancol@dancol.org>
3783 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3786 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3788 * window.el (balance-windows): Add mising t to fix Bug#16351.
3790 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3794 (shr-insert): If we have a word that's longer than `shr-width',
3795 break after it anyway. Otherwise we'll do no breaking once we get
3798 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3800 * net/eww.el (eww): Support single/double quote for search.
3801 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3802 (eww-history-quit): Delete and use quit-window.
3803 (eww-history-kill): Delete, because it doesn't work well and
3805 (eww-history-mode-map): Delete some keys and add easy-menu.
3807 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3809 Fix misspelling of 'chinese' in rx (Bug#16237).
3810 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3813 Change subword regexps back to vars (Bug#16296).
3814 * progmodes/subword.el (subword-forward-regexp)
3815 (subword-backward-regexp): Change these back to variables.
3817 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3820 syntax-begin-function (bug#16247).
3822 2014-01-03 Chong Yidong <cyd@gnu.org>
3824 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3825 (advice--docstring): Delete variable.
3826 (advice--make-1): Leave the docstring empty.
3827 (advice-add): Use function-documentation for advised docstring.
3829 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3830 Ignore function-documentation property when getting documentation.
3831 (ad-activate-advised-definition): Use function-documentation
3832 generate the docstring.
3833 (ad-make-advised-definition): Don't call
3834 ad-make-advised-definition-docstring.
3835 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3838 * progmodes/sql.el (sql-help): Use function-documentation instead
3839 of dynamic-docstring-function property. No need to autoload now.
3840 (sql--help-docstring): New variable.
3841 (sql--make-help-docstring): Use it.
3843 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * ielm.el (ielm-tab): Retarget.
3846 (ielm-map): Use ielm-tab for tab.
3847 (ielm-complete-filename): Use comint-filename-completion.
3848 (ielm-complete-symbol): Remove.
3849 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3850 remove ielm-tab from completion-at-point-functions (bug#16224).
3852 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3853 Beware signals raised by predicates (bug#16201).
3855 2014-01-02 Richard Stallman <rms@gnu.org>
3857 * dired-aux.el (dired-do-print): Handle printer-name.
3859 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3860 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3861 (rmail-epa-decrypt): Turn off mime processing.
3863 * mail/rmail.el (rmail-make-in-reply-to-field):
3864 Add parens in message-id.
3866 * mail/rmail.el (rmail-get-coding-function): Variable.
3867 (rmail-get-coding-system): Use it.
3869 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3871 * international/mule-conf.el: Unify the charset indian-is13194.
3872 (indian-is13194): Specify unify-map.
3874 2013-12-31 Leo Liu <sdl.web@gmail.com>
3876 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3878 2013-12-30 Daniel Colascione <dancol@dancol.org>
3880 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3881 of printing a useless when we resume from sleep.
3883 * progmodes/sh-script.el
3884 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3885 in indentation code. (Bug#16233)
3887 2013-12-28 João Távora <joaotavora@gmail.com>
3889 * elec-pair.el (electric-pair-post-self-insert-function):
3890 Don't open extra newlines at beginning of buffer. (Bug#16272)
3892 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3894 * frame.el (window-system-for-display): Don't allow to create a
3895 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3897 2013-12-28 Glenn Morris <rgm@gnu.org>
3899 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3902 * apropos.el (apropos-match-face):
3903 * calculator.el (calculator-displayer):
3904 * dabbrev.el (dabbrev-search-these-buffers-only):
3905 * face-remap.el (buffer-face-mode-face):
3906 * simple.el (yank-handled-properties):
3907 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3908 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3909 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3910 (hashcash-double-spend-database):
3911 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3912 (ruby-deep-indent-paren-style):
3913 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3914 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3915 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3916 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3917 Specify custom types.
3919 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3920 * bookmark.el (bookmark-bmenu-use-header-line):
3921 * doc-view.el (doc-view-scale-internally):
3922 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3923 * register.el (register-preview-delay):
3924 * net/shr.el (shr-bullet):
3925 * progmodes/cfengine.el (cfengine-cf-promises)
3926 (cfengine-parameters-indent):
3927 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3928 * textmodes/reftex-vars.el (reftex-label-regexps):
3929 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3931 * net/tls.el (tls-certtool-program): Fix default value.
3933 * desktop.el (desktop-restore-in-current-display):
3934 * newcomment.el (comment-empty-lines):
3935 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3936 (idlwave-pad-keyword):
3937 * progmodes/tcl.el (tcl-tab-always-indent):
3938 * textmodes/reftex-vars.el (reftex-index-default-tag):
3939 * elec-pair.el (electric-pair-skip-whitespace):
3940 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3942 * emacs-lisp/authors.el (authors-ignored-files)
3943 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3945 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3947 * shell.el (shell-dynamic-complete-command): Doc fix.
3948 (shell--command-completion-data): Shell completion now matches
3949 executable filenames from the current buffer's directory, on
3950 systems in which this behavior is the default (windows-nt, ms-dos).
3952 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3954 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3956 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3961 * electric.el: Move all electric-pair-* to elec-pair.el.
3962 * elec-pair.el: New file, split from electric.el.
3964 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3966 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3967 indentation level is larger than the width, because that will
3969 (shr-insert): Fill repeatedly long texts, so that Japanese is
3970 formatted correctly (bug#16263).
3971 (shr-find-fill-point): Off by one error in comparison with the
3974 2013-12-26 João Távora <joaotavora@gmail.com>
3976 * electric.el (electric-pair-mode): More flexible engine for skip-
3977 and inhibit predicates, new options for pairing-related functionality.
3978 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3979 if that keeps or improves their balance in buffers.
3980 (electric-pair-delete-adjacent-pairs): Delete the pair when
3981 backspacing over adjacent matched delimiters.
3982 (electric-pair-open-extra-newline): Open extra newline when
3983 inserting newlines between adjacent matched delimiters.
3984 (electric--sort-post-self-insertion-hook):
3985 Sort post-self-insert-hook according to priority values when
3986 minor-modes are activated.
3987 * simple.el (newline-and-indent): Call newline with interactive
3989 (blink-paren-post-self-insert-function): Set priority to 100.
3990 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3991 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3992 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3993 electric-pair-open-newline-between-pairs to nil.
3995 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3997 * progmodes/python.el: Use lexical-binding.
3998 (python-nav-beginning-of-defun): Stop searching ASAP.
4000 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4002 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4003 Fix interactive spec. Doc fix. (Bug#15754)
4005 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4007 * emacs-lisp/byte-run.el (eval-when-compile):
4008 * progmodes/cc-defs.el (cc-eval-when-compile):
4009 Fix edebug spec (bug#16184).
4011 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4013 * net/shr.el (shr-visit-file): Remove debugging function.
4014 (shr-insert): Don't infloop if we can't find a good place to break
4015 the line (bug#16256).
4017 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4019 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4020 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4021 python-nav-lisp-forward-sexp-safe.
4022 (python-nav--forward-sexp): New argument SAFE allows switching
4023 forward sexp movement behavior for parens.
4024 (python-nav-forward-sexp): Throw errors on unterminated parens
4026 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4027 (python-nav-backward-sexp-safe): New functions.
4028 (python-shell-buffer-substring):
4029 Use `python-nav-forward-sexp-safe'.
4031 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4033 * net/shr.el (shr-find-fill-point): Don't break lines before a
4035 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4036 (shr-find-fill-point): Remove the special checks for the quotation
4037 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4039 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4041 * net/eww.el (eww-form-textarea): Use a different face for
4042 textareas than text input since they have different keymaps
4045 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4047 * progmodes/python.el (python-nav-beginning-of-statement):
4048 Speed up (Bug#15295).
4050 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4052 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4053 the window configuration.
4055 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4057 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4058 we run on MS-Windows or MS-DOS.
4060 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4062 * window.el (balance-windows-area): Call window-size instead of
4063 window-height and window-width. Bug#16241.
4065 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4067 * net/eww.el (eww-bookmark-quit): Remove.
4068 (eww-bookmark-browse): Restore the window configuration when you
4069 choose a bookmark (bug#16144).
4071 2013-12-24 Daniel Colascione <dancol@dancol.org>
4073 * icomplete.el: Remove redundant :group arguments to `defcustom'
4075 (icomplete-show-matches-on-no-input): New customizable variable.
4076 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4077 we have something to show.
4078 (icomplete-exhibit): Compute completions even if we have no user input.
4080 2013-12-23 Daniel Colascione <dancol@dancol.org>
4082 * icomplete.el: Move `provide' to end of file.
4084 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4086 * net/gnutls.el (gnutls-verify-error): Add version tag.
4088 2013-12-23 Chong Yidong <cyd@gnu.org>
4090 * subr.el (set-transient-map): Rename from
4091 set-temporary-overlay-map. Doc fix.
4093 * face-remap.el (text-scale-adjust):
4094 * indent.el (indent-rigidly):
4095 * kmacro.el (kmacro-call-macro):
4096 * minibuffer.el (minibuffer-force-complete):
4097 * repeat.el (repeat):
4098 * simple.el (universal-argument--mode):
4099 * calendar/todo-mode.el (todo-insert-item--next-param):
4100 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4102 * indent.el (indent-rigidly): Use substitute-command-keys.
4104 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4106 * net/eww.el (eww-tag-select): Add text-property to jump to next
4108 (eww): Add non-supported ftp error.
4110 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4112 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4113 comments. Handle electric indent after typing `?' and `!'.
4115 2013-12-22 Chong Yidong <cyd@gnu.org>
4117 * faces.el (face-spec-recalc): If the theme specs are not
4118 applicable to a frame, fall back on the defface spec.
4119 This prevents themes from obliterating faces on low-color terminals.
4121 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4123 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4124 after `{'. We need it after block openers, and it doesn't seem
4125 to hurt after hash openers.
4127 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4129 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4130 extracted from `ruby-smie-rules'.
4131 (ruby--electric-indent-chars): New variable.
4132 (ruby--electric-indent-p): New function.
4133 (ruby-mode): Use `electric-indent-functions' instead of
4134 `electric-indent-chars'.
4136 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4138 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4140 (ruby-smie-rules): Indent plus one level after `=>'.
4142 2013-12-21 Richard Stallman <rms@gnu.org>
4144 * simple.el (newline): Doc fix.
4146 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4148 * net/eww.el (eww-list-histories, eww-list-histories)
4149 (eww-history-browse, eww-history-quit, eww-history-kill)
4150 (eww-history-mode-map, eww-history-mode): New command and
4151 functions to list browser histories.
4152 (eww-form-text): Support text form with disabled
4153 and readonly attributes.
4154 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4156 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4158 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4159 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4160 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4161 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4163 (eww-bookmark-mode-map): Add menu.
4164 (eww-render, eww-mode): Use `setq-local'.
4165 (eww-tool-bar-map): New variable.
4166 (eww-mode): Set `tool-bar-map'.
4167 (eww-view-source): Check for `html-mode' with `fboundp'.
4169 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4171 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4172 elements with text inside. Also remove debugging.
4174 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4176 * cus-start.el (all): Add ns-use-srgb-colorspace.
4178 2013-12-21 Chong Yidong <cyd@gnu.org>
4180 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4181 undefined. Thus, theme settings for undefined faces do not take
4182 effect until the faces are defined with defface, the same as with
4185 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4186 (face-spec-reset-face): Don't assign extra properties in temacs.
4187 (face-spec-recalc): Apply X resources too.
4189 2013-12-21 Chong Yidong <cyd@gnu.org>
4191 * faces.el (face-spec-set):
4192 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4193 * custom.el (defface): Doc fixes (Bug#16203).
4195 * indent.el (indent-rigidly-map): Add docstring, and move commands
4196 into named functions.
4197 (indent-rigidly-left, indent-rigidly-right)
4198 (indent-rigidly-left-to-tab-stop)
4199 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4200 indentation direction based on bidi direction, and accumulate
4201 sequential commands in a single undo boundary.
4202 (indent-rigidly--pop-undo): New utility function.
4204 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4206 * faces.el (read-face-name): Require crm.el when using crm-separator.
4208 2013-12-20 Daniel Colascione <dancol@dancol.org>
4210 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4211 so that we don't reflow comments into the shebang line.
4213 2013-12-20 Juri Linkov <juri@jurta.org>
4215 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4216 a position when `dired-directory' is non-nil. Check integer
4217 positions with `integerp'.
4218 (toggle-save-place, save-places-to-alist): Add check for
4220 (save-place-find-file-hook): Check integer positions with
4222 (save-place-dired-hook): Use `dired-goto-file' when
4223 `dired-filename' is found in the assoc list. Check integer
4224 positions with `integerp'.
4225 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4227 * dired.el (dired-initial-position-hook): Rename back from
4228 `dired-initial-point-hook'.
4229 (dired-initial-position): Rename `dired-initial-point-hook' to
4230 `dired-initial-position-hook'.
4231 (dired-file-name-at-point): Doc fix. (Bug#15329)
4233 2013-12-20 Juri Linkov <juri@jurta.org>
4235 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4236 (read-regexp-suggestions): New function.
4237 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4238 Use `read-regexp-suggestions'. Add non-empty default to history
4240 (occur-read-regexp-defaults-function): Remove function.
4241 (occur-read-primary-args): Use `regexp-history-last' instead of
4242 `occur-read-regexp-defaults-function'.
4244 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4245 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4246 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4247 `hi-lock-read-regexp-defaults-function'. Doc fix.
4248 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4249 with `find-tag-default-as-symbol-regexp'. Doc fix.
4250 (hi-lock-read-regexp-defaults): Remove function.
4251 (hi-lock-regexp-okay): Add check for null.
4253 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4254 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4256 * subr.el (find-tag-default-as-symbol-regexp): New function.
4257 (find-tag-default-as-regexp): Move symbol regexp formatting to
4258 `find-tag-default-as-symbol-regexp'.
4260 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4262 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4265 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4267 * calendar/todo-mode.el: New implementation of item insertion
4268 commands and key bindings.
4269 (todo-key-prompt): New face.
4270 (todo-insert-item): New command.
4271 (todo-insert-item--parameters): New defconst, replacing defvar
4272 todo-insertion-commands-args-genlist.
4273 (todo-insert-item--param-key-alist): New defconst, replacing
4274 defvar todo-insertion-commands-arg-key-list.
4275 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4276 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4277 (todo-insert-item--next-param): New functions.
4278 (todo-insert-item--args, todo-insert-item--argleft)
4279 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4281 (todo-key-bindings-t): Change binding of "i" from
4282 todo-insertion-map to todo-insert-item.
4283 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4284 (todo-insertion-command-name, todo-insertion-commands-names)
4285 (todo-define-insertion-command, todo-insertion-commands)
4286 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4288 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4290 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4291 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4293 (todo-move-category): Allow choosing a non-existing todo file to
4294 move the category to, and create that file.
4295 (todo-default-priority): New user option.
4296 (todo-set-item-priority): Use it.
4297 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4298 (desktop-restore-file-buffer): Declare.
4299 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4300 (todo-modes-set-2): Locally set desktop-save-buffer to
4301 todo-desktop-save-buffer.
4302 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4303 (auto-mode-alist): Add autoload cookie.
4305 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4307 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4308 helpers.el was a poor choice of name.
4309 (string-remove-prefix): New function.
4310 (string-remove-suffix): New function.
4312 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4314 Fix assignment for new window total sizes.
4315 * window.el (window--pixel-to-size): Remove function.
4316 (window--pixel-to-total-1, window--pixel-to-total):
4317 Fix calculation of new total sizes.
4319 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4321 * comint.el (comint-output-filter): Fix rear-nonsticky property
4322 placement (Bug#16010).
4324 2013-12-20 Chong Yidong <cyd@gnu.org>
4326 * faces.el (read-color): Minor fix for completion function.
4328 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4330 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4331 New option. (Bug#16182)
4332 (ruby-smie--indent-to-stmt-p): Use it.
4333 (ruby-smie-rules): Revert the logic in the handling of `when'.
4334 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4335 (ruby-deep-arglist, ruby-deep-indent-paren)
4336 (ruby-deep-indent-paren-style): Update docstrings to note that the
4337 vars don't have any effect with SMIE.
4339 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4341 * calc/calc.el (calc-enter, calc-pop): Use the variable
4342 `calc-context-sensitive-enter'.
4344 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4346 * net/shr.el (shr-insert): Protect against infloops in degenerate
4349 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4351 * progmodes/octave.el (octave): Add link to manual and octave
4353 (octave-mode-menu): Link to octave-mode manual.
4355 2013-12-20 Leo Liu <sdl.web@gmail.com>
4357 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4358 insertion using skeleton-end-newline. (Bug#16138)
4360 2013-12-20 Juri Linkov <juri@jurta.org>
4362 * replace.el (occur-engine): Use `add-face-text-property'
4363 to add the face property to matches and titles. (Bug#14645)
4365 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4366 the palette of other hi-lock colors.
4367 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4369 2013-12-19 Juri Linkov <juri@jurta.org>
4371 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4372 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4373 (minibuffer-history-symbol): Move variable declaration closer to
4376 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4379 2013-12-19 Juri Linkov <juri@jurta.org>
4381 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4383 (log-edit-hook): Add it to :options. (Bug#16170)
4385 2013-12-19 Juri Linkov <juri@jurta.org>
4387 * simple.el (eval-expression-print-format): Don't check for
4388 command names and the last command. Always display additional
4389 formats of the integer result in the echo area, and insert them
4390 to the current buffer only with a zero prefix arg.
4391 Display character when char-displayable-p is non-nil.
4392 (eval-expression): With a zero prefix arg, set `print-length' and
4393 `print-level' to nil, and insert the integer values from
4394 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4396 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4397 `eval-last-sexp-arg-internal'. Doc fix.
4398 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4399 `eval-last-sexp-print-value'. Doc fix.
4400 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4401 Set `print-length' and `print-level' to nil when arg is zero.
4402 (eval-last-sexp): Doc fix.
4403 (eval-defun-2): Print the integer values from
4404 `eval-expression-print-format' at the end.
4406 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4407 values from `eval-expression-print-format' at the end.
4409 * ielm.el (ielm-eval-input): Print the integer
4410 values from `eval-expression-print-format' at the end.
4412 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4414 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4415 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4417 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4419 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4420 (hl-line-highlight, global-hl-line-highlight): Use it.
4421 (hl-line-overlay): Use defvar-local.
4423 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4425 * term/ns-win.el: Require dnd.
4426 (global-map): Remove drag items.
4427 (ns-insert-text, ns-set-foreground-at-mouse)
4428 (ns-set-background-at-mouse):
4429 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4430 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4433 2013-12-19 Glenn Morris <rgm@gnu.org>
4435 * emacs-lisp/ert.el (ert-select-tests):
4436 Fix string/symbol mixup. (Bug#16121)
4438 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4440 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4441 keywords to their parent.
4443 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4445 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4446 first arg to be a string (fixed dead code), or an operator symbol.
4447 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4449 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4450 did nothing. Don't respond to `(:after ".")', it will be called
4451 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4452 change anything. Only return indentation for binary operators
4453 when they are hanging. De-dent opening paren when its parent is
4454 `.', otherwise it looks bad when the dot is not at bol or eol
4457 2013-12-19 Juri Linkov <juri@jurta.org>
4459 * replace.el (query-replace-read-args): Split a non-negative arg
4460 and a negative arg into separate elements.
4461 (query-replace, query-replace-regexp, replace-string)
4462 (replace-regexp): Add arg `backward'. Doc fix.
4463 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4464 move point to the beginning of the match.
4465 (replace-search, replace-highlight): Use new arg `backward'
4466 to set the value of `isearch-forward'.
4467 (perform-replace): Add arg `backward' and use it to perform
4468 replacement backward. (Bug#14979)
4470 * isearch.el (isearch-query-replace): Use a negative prefix arg
4471 to call `perform-replace' with a non-nil arg `backward'.
4473 2013-12-18 Juri Linkov <juri@jurta.org>
4475 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4476 to the default list. Move `log-edit-show-files' to the end.
4477 Add more available functions to options.
4478 (log-edit): Move default specific settings to
4479 `log-edit-insert-message-template'. Don't move point.
4480 (log-edit-insert-message-template): New function.
4481 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4484 2013-12-18 Juri Linkov <juri@jurta.org>
4486 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4487 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4489 2013-12-18 Leo Liu <sdl.web@gmail.com>
4491 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4494 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4496 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4497 formats for displaying file sizes when the -s switch is given.
4498 Instead, compute a separate format for displaying the size in
4499 blocks, which is displayed in addition to the "regular" size.
4500 When -h is given in addition to -s, produce size in blocks in
4501 human-readable form as well. (Bug#16179)
4503 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4505 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4506 Reference tables with ~\ref{...} instead of only \ref{...}.
4508 2013-12-18 Chong Yidong <cyd@gnu.org>
4510 * cus-edit.el (custom-magic-alist): Fix "themed" description
4513 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4514 is non-nil, do not create a new entry in the symbol's theme-value
4515 or theme-face property; update theme-settings only (Bug#14664).
4516 (custom-available-themes): Doc fix.
4518 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4521 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4523 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4525 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4528 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4530 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4532 2013-12-18 Glenn Morris <rgm@gnu.org>
4534 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4535 * cus-start.el (load-prefer-newer): New option.
4537 2013-12-18 Le Wang <l26wang@gmail.com>
4539 * comint.el (comint-previous-matching-input-from-input):
4540 Retain point (Bug#13404).
4542 2013-12-18 Chong Yidong <cyd@gnu.org>
4544 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4546 2013-12-18 Glenn Morris <rgm@gnu.org>
4548 * mail/emacsbug.el (report-emacs-bug):
4549 Only mention enable-multibyte-characters if non-standard.
4551 2013-12-17 Juri Linkov <juri@jurta.org>
4553 * arc-mode.el (archive-extract-by-file): Check if directory exists
4554 before deletion to not show irrelevant errors if it doesn't exist.
4556 2013-12-17 Juri Linkov <juri@jurta.org>
4558 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4561 * net/eww.el (browse-web): Add alias to `eww'.
4562 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4563 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4565 * net/browse-url.el (browse-url-browser-function): Move `eww'
4566 closer to similar functions.
4568 * startup.el (fancy-startup-screen, fancy-about-screen):
4569 Set browse-url-browser-function to eww-browse-url locally.
4572 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * window.el (window--pixel-to-total): Remove unused `mini' var.
4575 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4576 (split-window): Remove unused `new' var.
4577 (window--display-buffer): Remove unused `frame' and `delta' vars.
4578 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4581 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4583 * dired.el (dired-mark-pop-up):
4584 * register.el (register-preview): Don't bind
4585 split-height-threshold here since it's now done in
4586 display-buffer-below-selected.
4588 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4590 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4591 xterm-rgb-convert-to-16bit.
4592 (rxvt-register-default-colors): Standardize with
4593 xterm-register-default-colors (Bug#14078).
4595 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4597 * simple.el (kill-region): Pass mark first, then point, so that
4598 kill-append works right (Bug#12819).
4599 (copy-region-as-kill, kill-ring-save): Likewise.
4601 2013-12-17 Leo Liu <sdl.web@gmail.com>
4603 * net/rcirc.el (rcirc-add-face):
4604 * eshell/em-prompt.el (eshell-emit-prompt):
4605 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4608 2013-12-17 Chong Yidong <cyd@gnu.org>
4610 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4611 Suggested by Xue Fuqiao.
4613 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4615 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4617 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * net/shr.el (shr-insert-document): Remove unused var
4620 `shr-preliminary-table-render'.
4621 (shr-rescale-image): Remove unused arg `force'.
4622 (shr-put-image): Update calls accordingly.
4623 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4625 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4627 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4628 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4629 :close-all, to see which indentation method to use (Bug#16116).
4630 (smie-rules-function): Document the method :close-all.
4632 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4634 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4636 * net/eww.el (eww-display-html): If we can't find the anchor we're
4637 looking for, then go to point-min.
4639 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4641 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4642 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4643 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4644 Expand dir too, in case it's relative.
4646 2013-12-16 Juri Linkov <juri@jurta.org>
4648 * desktop.el (desktop-auto-save-timeout): Change default to
4649 `auto-save-timeout'. Doc fix.
4650 (desktop-save): Skip the timestamp in desktop-saved-frameset
4651 when checking for auto-save changes.
4652 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4653 `desktop-auto-save' is called repeatedly by the idle timer.
4654 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4655 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4658 2013-12-16 Juri Linkov <juri@jurta.org>
4660 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4662 (isearch-pre-command-hook): Check `this-command' for symbolp.
4664 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4666 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4668 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4670 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4671 (cfengine3--current-function): Bring in the current-function
4672 functionality from `cfengine3--current-word'.
4673 (cfengine3-completion-function): Bring in the
4674 bounds-of-current-word functionality from
4675 `cfengine3--current-word'.
4677 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4679 * window.el (display-buffer-below-selected):
4680 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4682 2013-12-16 Leo Liu <sdl.web@gmail.com>
4684 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4685 Remove NOMSG arg and all uses changed.
4687 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4689 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4690 (cua--deactivate-rectangle): Don't deactivate the mark.
4691 (cua-set-rectangle-mark): Don't set mark-active since
4692 cua--activate-rectangle already does it for us.
4693 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4694 non-rectangular region.
4696 * emulation/cua-base.el (cua-repeat-replace-region):
4697 Use with-current-buffer.
4699 * net/gnutls.el: Use cl-lib.
4700 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4702 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4704 * emacs-lisp/package.el (package-built-in-p): Support both
4705 built-in and the package.el converted package descriptions.
4706 (package-show-package-list): Allow keywords.
4707 (package-keyword-button-action): Use it instead of
4708 `finder-list-matches'.
4709 (package-menu-filter-interactive): Interactive filtering (by
4711 (package-menu--generate): Support keywords and change keymappings
4712 and headers when they are given.
4713 (package--has-keyword-p): Helper function.
4714 (package-menu--refresh): Use it.
4715 (package--mapc): Helper function.
4716 (package-all-keywords): Use it.
4717 (package-menu-mode-map): Set up menu items and keybindings to
4718 provide a filtering UI.
4720 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4722 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4723 the behavior when a certificate fails validation. Defaults to
4724 old behavior: never abort, just warn.
4725 (gnutls-negotiate): Use it.
4727 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4729 * window.el (display-buffer-below-selected): Never split window
4730 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4732 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4734 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4735 (package-buffer-info): Use it (bug#15108).
4737 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * icomplete.el (icomplete-completions): Make sure the prefix is already
4740 displayed elsewhere before hiding it (bug#16219).
4742 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4744 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4745 open-paren tokens when preceded by a open-paren, too.
4746 (ruby-smie-rules): Handle virtual indentation after open-paren
4747 tokens specially. If there is code between it and eol, return the
4748 column where is starts (Bug#16118).
4750 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4752 * progmodes/cfengine.el: Fix `add-hook' doc.
4753 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4754 (cfengine3--current-word): Fix parameters.
4755 (cfengine3-make-syntax-cache): Simplify further.
4756 (cfengine3-completion-function, cfengine3--current-function):
4757 Use `assq' for symbols.
4758 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4760 2013-12-13 Glenn Morris <rgm@gnu.org>
4762 * loadup.el (load-path): Warn if site-load or site-init changes it.
4763 No more need to reset it when bootstrapping.
4765 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4767 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4768 locations for cf-promises.
4769 (cfengine-mode-syntax-functions-regex): New caching variable.
4770 (cfengine3-fallback-syntax): Fallback syntax for cases where
4771 cf-promises doesn't run.
4772 (cfengine3--current-word): Reimplement using
4773 `cfengine-mode-syntax-functions-regex'.
4774 (cfengine3-completion-function, cfengine3--current-function):
4775 Use `cfengine3-make-syntax-cache' directly.
4776 (cfengine3-clear-syntax-cache): New function.
4777 (cfengine3-make-syntax-cache): Simplify and create
4778 `cfengine-mode-syntax-functions-regex' on demand.
4779 (cfengine3-format-function-docstring): Don't call
4780 `cfengine3-make-syntax-cache' explicitly.
4782 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4784 Fix windmove-find-other-window broken after pixelwise resizing
4786 * windmove.el (windmove-other-window-loc): Revert change from
4788 (windmove-find-other-window): Call window-in-direction.
4789 * window.el (window-in-direction): New arguments SIGN, WRAP and
4790 MINI to emulate original windmove-find-other-window behavior.
4792 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4794 * simple.el (blink-matching--overlay): New variable.
4795 (blink-matching-open): Instead of moving point, highlight the
4796 matching paren with an overlay
4797 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4799 * faces.el (paren-showing-faces, show-paren-match)
4800 (show-paren-mismatch): Move from paren.el.
4802 2013-12-13 Leo Liu <sdl.web@gmail.com>
4804 * indent.el (indent-region): Disable progress reporter in
4805 minibuffer. (Bug#16108)
4807 * bindings.el (visual-order-cursor-movement): Fix version.
4809 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4811 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4812 Also match after beginning of line.
4813 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4814 files. Thanks to Russell Sim. (Bug#15378)
4816 2013-12-13 Juri Linkov <juri@jurta.org>
4818 * simple.el <Keypad support>: Remove key bindings duplicated
4819 with bindings.el. (Bug#14397)
4821 2013-12-13 Juri Linkov <juri@jurta.org>
4823 * comint.el (comint-mode-map): Replace `delete-char' with
4824 `delete-forward-char'. (Bug#16109)
4826 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4828 * progmodes/python.el (python-indent-calculate-indentation):
4829 Fix de-denters cornercase. (Bug#15731)
4831 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4834 (advice--make): Pay attention to `depth'.
4835 (advice--make-1): Don't autoload commands eagerly.
4836 * emacs-lisp/elp.el (elp-instrument-function):
4837 * emacs-lisp/trace.el (trace-function-internal):
4838 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4840 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4842 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4844 * term/w32-win.el (w32-handle-dropped-file):
4845 * startup.el (normal-top-level):
4846 * net/browse-url.el (browse-url-file-url):
4847 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4848 decode file names using 'utf-8' rather than
4849 file-name-coding-system.
4851 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4853 * progmodes/python.el (python-indent-context)
4854 (python-indent-calculate-indentation): Fix auto-identation
4855 behavior for comment blocks. (Bug#15916)
4857 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4859 * progmodes/python.el (python-indent-calculate-indentation):
4860 When determining indentation, don't treat "return", "pass", etc., as
4861 operators when they are just string constituents. (Bug#15812)
4863 2013-12-12 Juri Linkov <juri@jurta.org>
4865 * uniquify.el (uniquify-buffer-name-style): Change default to
4866 `post-forward-angle-brackets'.
4868 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4869 `uniquify'. Change default to `post-forward-angle-brackets'.
4871 2013-12-11 Glenn Morris <rgm@gnu.org>
4873 * emacs-lisp/package.el (finder-list-matches):
4874 Autoload rather than falsely declaring.
4876 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4878 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4879 (eww-mode-map): Use them.
4881 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4883 * window.el (display-buffer-in-side-window): Fix doc-string
4886 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4888 * vc/vc-git.el: Silence byte-compiler warnings.
4889 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4890 (log-edit-set-header): Declare.
4892 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4894 * Makefile.in (custom-deps, finder-data): Run output file names
4895 through unmsys--file-name. (Bug#16099)
4897 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4900 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4902 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4903 instead of deleting the selection "by hand" (bug#16098).
4904 Rely on insert-for-yank to yank rectangles.
4905 (cua-highlight-region-shift-only): Mark obsolete.
4906 (cua-mode): Don't enable/disable transient-mark-mode,
4907 shift-select-mode (cua-mode works both with and without them), and
4908 pc-selection-mode (obsolete).
4909 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4910 (cua--deactivate-rectangle): Deactivate it.
4912 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4913 (delete-selection-helper): Make sure yank starts at the top of the
4915 (minibuffer-keyboard-quit): Use region-active-p.
4917 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4919 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4920 to `delete' (bug#16109).
4922 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4924 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4925 info manual and show keybindings and set `:group' keyword.
4927 2013-12-11 Juri Linkov <juri@jurta.org>
4929 * delsel.el (delete-active-region): Let-bind `this-command'
4930 to prevent `kill-region' from changing its original value.
4931 (delete-selection-helper): Handle `overwrite-mode' for the type
4932 `kill' exactly the same way as for the type `t'.
4933 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4934 Support more commands. (Bug#13312)
4936 2013-12-11 Juri Linkov <juri@jurta.org>
4938 * bindings.el: Map kp keys to non-kp keys systematically
4939 with basic modifiers control, meta and shift. (Bug#14397)
4941 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4943 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4944 "Close browser" menu items. Fix wrong function of "List
4947 2013-12-11 Juri Linkov <juri@jurta.org>
4949 * misearch.el (multi-isearch-buffers): Set the value of
4950 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4951 arg of isearch-forward to t.
4952 (multi-isearch-buffers-regexp): Set the value of
4953 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4954 arg of isearch-forward-regexp to t.
4955 (multi-isearch-files): Set the value of
4956 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4957 arg of isearch-forward to t.
4958 (multi-isearch-files-regexp): Set the value of
4959 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4960 arg of isearch-forward-regexp to t. (Bug#16035)
4962 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4963 arg of isearch-forward to t.
4964 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4965 arg of isearch-forward-regexp to t.
4966 (dired-isearch-filter-filenames): Remove unnecessary check for
4967 `dired-isearch-filenames'.
4969 * comint.el (comint-history-isearch-backward):
4970 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4971 (comint-history-isearch-backward-regexp):
4972 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4974 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4976 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4977 unmsys--file-name. (Bug#16099)
4979 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4981 * emacs-lisp/package.el (package-keyword-button-action):
4982 Remove finder.el require dependency.
4984 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4986 * emacs-lisp/package.el: Require finder.el.
4987 (describe-package-1): Add keyword buttons.
4988 (package-make-button): New convenience function.
4989 (package-keyword-button-action): Keyword button action using
4990 `finder-list-matches'.
4992 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4994 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4997 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4999 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5002 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5004 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5005 after the end of a percent literal.
5007 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5009 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5010 Handle caret-delimited strings (Bug#16079).
5012 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5014 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5015 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5016 `ruby-parse-partial' (Bug#16078).
5018 2013-12-09 Leo Liu <sdl.web@gmail.com>
5020 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5022 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5024 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5025 (js-switch-indent-offset): New option.
5026 (js--proper-indentation): Use it. And handle the case when
5027 "default" is actually a key in an object literal.
5028 (js--same-line): New function.
5029 (js--multi-line-declaration-indentation): Use it.
5030 (js--indent-in-array-comp, js--array-comp-indentation):
5032 (js--proper-indentation): Use them, to handle array comprehension
5035 2013-12-08 Leo Liu <sdl.web@gmail.com>
5037 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5038 (flymake-make-overlay): Remove arg MOUSE-FACE.
5039 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5041 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5043 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5045 (redisplay-highlight-region-function): Use it.
5047 * emulation/cua-base.el (cua--explicit-region-start)
5048 (cua--last-region-shifted): Remove.
5049 (cua--deactivate): Use deactivate-mark.
5050 (cua--pre-command-handler-1): Don't handle shift-selection.
5051 (cua--post-command-handler-1): Don't change transient-mark-mode.
5052 (cua--select-keymaps): Use region-active-p rather than
5053 cua--explicit-region-start or cua--last-region-shifted.
5054 (cua-mode): Enable shift-select-mode.
5056 2013-12-08 Leo Liu <sdl.web@gmail.com>
5058 * progmodes/flymake.el (flymake-popup-current-error-menu):
5059 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5060 (flymake-posn-at-point-as-event, flymake-popup-menu)
5061 (flymake-make-emacs-menu): Remove. (Bug#16077)
5063 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5065 * rect.el (rectangle-mark-mode): Activate mark even if
5066 transient-mark-mode is off (bug#16066).
5067 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5068 is > mark and at bolp.
5070 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5071 (region-extract-function): Use it.
5072 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5073 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5075 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5076 kill-ring-save, kill-region, delete-char, delete-forward-char.
5077 Ignore self-insert-iso.
5079 * emulation/cua-gmrk.el (cua--init-global-mark):
5080 Ignore `self-insert-iso'.
5082 * emulation/cua-base.el (cua--prefix-copy-handler)
5083 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5084 checking cua--rectangle.
5085 (cua-delete-region): Use region-extract-function.
5086 (cua-replace-region): Delete function.
5087 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5088 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5089 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5090 (cua--init-keymaps): Don't remap delete-selection commands.
5091 (cua-mode): Use delete-selection-mode instead of rolling our own
5094 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5095 Obey region-extract-function.
5097 Make registers and delete-selection-mode work on rectangles.
5098 * register.el (describe-register-1): Don't modify the register's value.
5099 (copy-to-register): Obey region-extract-function.
5100 * delsel.el (delete-active-region): Obey region-extract-function.
5102 2013-12-08 Leo Liu <sdl.web@gmail.com>
5104 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5105 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5106 (flymake-compilation-prevents-syntax-check)
5107 (flymake-start-syntax-check-on-newline)
5108 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5109 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5110 (flymake-xml-program, flymake-master-file-dirs)
5111 (flymake-master-file-count-limit)
5112 (flymake-allowed-file-name-masks): Relocate.
5113 (flymake-makehash, flymake-float-time)
5114 (flymake-replace-regexp-in-string, flymake-split-string)
5115 (flymake-get-temp-dir): Remove.
5116 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5117 (flymake-current-row, flymake-selected-frame)
5118 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5119 related functions. (Bug#16077)
5121 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5123 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5125 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5127 * help-fns.el (describe-function-1): Use new advice-* functions
5128 rather than old ad-* functions. Fix function type description and
5129 source links for advised functions and subrs.
5131 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5133 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5135 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5137 * progmodes/compile.el (compilation-start):
5138 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5140 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5141 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5143 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5145 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5146 Touch up the last change.
5148 2013-12-06 Leo Liu <sdl.web@gmail.com>
5150 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5151 (inferior-octave-startup): Always use "octave> " for prompt.
5152 (octave-goto-function-definition)
5153 (octave-sync-function-file-names)
5154 (octave-find-definition-default-filename): Remove redundant backquotes.
5156 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5158 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5160 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5161 where appropriate already.
5162 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5163 end of method names (Bug#15874).
5165 2013-12-06 Juri Linkov <juri@jurta.org>
5167 * isearch.el (isearch--saved-overriding-local-map):
5168 New internal variable.
5169 (isearch-mode): Set it to the initial value of
5170 `overriding-terminal-local-map'.
5171 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5172 with `isearch--saved-overriding-local-map'. (Bug#16035)
5174 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5176 * progmodes/octave.el (inferior-octave-completion-table):
5177 Turn back into function, use `completion-table-with-cache'
5178 (Bug#11906). Update all references.
5180 * minibuffer.el (completion-table-with-cache): New function.
5182 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5184 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5186 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5188 * net/eww.el (eww-current-source): New variable to store page
5190 (eww-display-html, eww-mode, eww-save-history)
5191 (eww-restore-history): Use it.
5192 (eww-view-source): New command to view page source.
5193 Opportunistically uses `html-mode' to highlight the buffer.
5194 (eww-mode-map): Install it.
5196 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5198 * net/dbus.el (dbus-unregister-service)
5199 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5201 (dbus-unregister-service): Skip :serial entries in
5202 `dbus-registered-objects-table'.
5203 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5205 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5207 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5208 around keywords with extra `split-string' argument.
5210 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5212 * windmove.el (windmove-other-window-loc): Handle navigation
5213 between windows (excluding the minibuffer window - Bug#16017).
5215 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5217 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5218 in D-Bus type syntax.
5219 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5220 preserve unibyte strings. (Bug#16048)
5222 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5225 Call force-mode-line-update is the proper buffer (bug#16042).
5227 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5229 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5230 `log-edit-remember-comment', make argument optional. Adjust all
5232 (log-edit-mode): Add `log-edit-remember-comment' to
5233 `kill-buffer-hook' locally.
5234 (log-edit-kill-buffer): Don't remember comment explicitly since
5235 the buffer is killed anyway.
5237 2013-12-04 Juri Linkov <juri@jurta.org>
5239 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5240 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5242 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5244 * notifications.el (notifications-close-notification): Call the
5245 D-Bus method with ID being a `:uint32'. (Bug#16030)
5247 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5249 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5251 2013-12-03 Juri Linkov <juri@jurta.org>
5253 * progmodes/compile.el (compilation-start): Rename window alist
5254 entry `no-display-ok' to `allow-no-window'.
5256 * simple.el (shell-command): Add window alist entry
5257 `allow-no-window' to `display-buffer'.
5258 (async-shell-command): Doc fix.
5260 * window.el (display-buffer-no-window): New action function.
5261 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5263 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5265 * vc/log-edit.el (log-edit-set-header): Extract from
5266 `log-edit-toggle-header'.
5267 (log-edit-extract-headers): Separate the summary, when extracted
5268 from header, from the rest of the message with an empty line.
5270 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5271 line, if present, to the Summary header.
5273 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5276 in current-buffer (bug#16029).
5278 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5280 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5281 (debugger-mode-map): Bind it.
5282 (debugger--backtrace-base): New function.
5283 (debugger-eval-expression): Use it.
5284 (debugger-frame-number): Skip local vars when present.
5285 (debugger--locals-visible-p, debugger--insert-locals)
5286 (debugger--show-locals, debugger--hide-locals): New functions.
5288 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5290 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5292 (tramp-get-remote-locale): New defun.
5293 (tramp-open-connection-setup-interactive-shell): Use it.
5295 2013-12-02 Leo Liu <sdl.web@gmail.com>
5297 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5299 * progmodes/sh-script.el (sh-shell-process):
5300 * progmodes/octave.el (inferior-octave-process-live-p):
5301 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5302 (gdb-inferior-io-sentinel):
5303 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5305 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5307 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5308 `save-selected-window' to `log-edit-hide-buf'. This makes
5309 `log-edit-show-files' idempotent.
5310 (log-edit-show-files): Mark the new window as dedicated.
5312 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5314 * vc/log-edit.el (log-edit-mode-map): Add binding for
5315 `log-edit-kill-biffer'.
5316 (log-edit-hide-buf): Add a FIXME comment.
5317 (log-edit-add-new-comment): New function, extracted from
5319 (log-edit-done, log-edit-add-to-changelog): Use it.
5320 (log-edit-kill-buffer): New command.
5322 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5324 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5325 instead of killing the buffer.
5327 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5331 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5333 * net/eww.el (eww-form-checkbox-selected-symbol)
5334 (eww-form-checkbox-symbol): New customizable variable.
5335 (eww-form-checkbox, eww-toggle-checkbox):
5336 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5338 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5339 (shr--get-media-pref, shr--extract-best-source): New function.
5340 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5341 no :src tag was specified.
5343 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5344 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5345 Use \\` to match beginning of string instead of ^.
5346 (eww-browse-with-external-browser): Provide optional URL parameter.
5347 (eww-render): Set `eww-current-title' back to "".
5349 * net/shr.el (shr-tag-video): Display content for video if no
5350 poster is available.
5351 (shr-tag-audio): Add support for <audio> tag.
5353 * net/eww.el (eww-text-input-types): New const.
5354 (eww-process-text-input): Treat input types in
5355 `eww-text-input-types' as text.
5357 * net/shr.el (shr-tag-table): Fix comment typo.
5359 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5361 * net/eww.el (eww-follow-link): New command to avoid reloading
5362 pages when we follow #target links (bug#15243).
5363 (eww-quit): Special mode buffers shouldn't query before exiting.
5365 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5367 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5370 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5372 * net/eww.el (eww-restore-history): Update the window title after
5373 moving in the history.
5374 (eww-current-dom): New variable used to save the current DOM.
5376 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5378 * vc/log-edit.el (log-edit-mode-map): Add binding for
5379 `log-edit-beginning-of-line'.
5380 (log-edit-setup-add-author): New user option.
5381 (log-edit-beginning-of-line): New command.
5382 (log-edit): Move major mode call above the contents setup so that
5383 the local variable values are already applied.
5384 (log-edit): Only insert "Author: " when
5385 `log-edit-setup-add-author' is non-nil.
5386 (log-edit): When SETUP is non-nil, position point after ": "
5387 instead of point-min.
5389 2013-12-01 Glenn Morris <rgm@gnu.org>
5391 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5393 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5395 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5396 redisplay to make sure the initial frame gets a chance to become
5397 visible. (Bug#16014)
5399 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5401 Support resizing frames and windows pixelwise.
5402 * cus-start.el (frame-resize-pixelwise)
5403 (window-resize-pixelwise): New entries.
5404 * emacs-lisp/debug.el (debug): Use window-total-height instead
5405 of window-total-size.
5406 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5407 * help.el (describe-bindings-internal): Use help-buffer as
5408 argument for with-help-window.
5409 (temp-buffer-max-width): New option.
5410 (resize-temp-buffer-window, help-window-setup)
5411 (with-help-window): Rewrite.
5412 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5414 * window.el (frame-char-size, window-min-pixel-height)
5415 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5416 (window-min-pixel-width, window-safe-min-pixel-size)
5417 (window-combination-p, window-safe-min-size)
5418 (window-resizable-p, window--size-to-pixel)
5419 (window--pixel-to-size, window--resize-apply-p): New functions.
5420 (window-safe-min-height): Fix doc-string.
5421 (window-size, window-min-size, window--min-size-1)
5422 (window-sizable, window-sizable-p, window--min-delta-1)
5423 (window-min-delta, window--max-delta-1, window-max-delta)
5424 (window--resizable, window--resizable-p, window-resizable)
5425 (window-full-height-p, window-full-width-p, window-at-side-p)
5426 (window--in-direction-2, window-in-direction)
5427 (window--resize-reset-1, window--resize-mini-window)
5428 (window-resize, window-resize-no-error)
5429 (window--resize-child-windows-normal)
5430 (window--resize-child-windows, window--resize-siblings)
5431 (window--resize-this-window, window--resize-root-window)
5432 (window--resize-root-window-vertically)
5433 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5434 (maximize-window, minimize-window, delete-window)
5435 (quit-restore-window, window-split-min-size, split-window)
5436 (balance-windows-2, balance-windows)
5437 (balance-windows-area-adjust, balance-windows-area)
5438 (window--state-get-1, window-state-get, window--state-put-1)
5439 (window--state-put-2, window-state-put)
5440 (display-buffer-record-window, window--display-buffer):
5441 Make functions handle pixelwise sizing of windows.
5442 (display-buffer--action-function-custom-type)
5443 (display-buffer-fallback-action):
5444 Add display-buffer-in-previous-window.
5445 (display-buffer-use-some-window): Resize window to height it had
5447 (fit-window-to-buffer-horizontally): New option.
5448 (fit-frame-to-buffer): Describe new values.
5449 (fit-frame-to-buffer-bottom-margin): Replace with
5450 fit-frame-to-buffer-margins.
5451 (window--sanitize-margin): New function.
5452 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5453 using window-text-pixel-size.
5455 2013-11-30 Glenn Morris <rgm@gnu.org>
5457 * emacs-lisp/bytecomp.el (byte-compile-form):
5458 Make the `interactive-only' warning like the `obsolete' one.
5459 * comint.el (comint-run):
5460 * files.el (insert-file-literally, insert-file):
5461 * replace.el (replace-string, replace-regexp):
5462 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5463 (goto-line, insert-buffer, next-line, previous-line):
5464 Tweak `interactive-only' spec.
5466 Stop keeping (most) generated cedet grammar files in the repository.
5467 * Makefile.in (semantic): New.
5468 (compile-main): Depend on semantic.
5470 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5472 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5473 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5475 * uniquify.el (uniquify-buffer-name-style): Change default.
5477 * loadup.el: Preload "uniquify".
5479 * time.el (display-time-update): Update all mode lines (bug#15999).
5481 * electric.el (electric-indent-mode): Enable by default.
5482 * loadup.el: Preload "electric".
5484 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5486 * emacs-lisp/helpers.el (string-empty-p): New function.
5487 (string-blank-p): New function.
5489 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5491 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5494 2013-11-29 Andreas Politz <politza@fh-trier.de>
5495 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5496 allow non-lambda lists as functions.
5497 (imenu--in-alist): Don't recurse into non-subalists.
5498 (imenu): Don't pass function itself as an argument (Bug#14029).
5500 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5502 * progmodes/python.el (python-mode-map): Remove binding for ":".
5503 (python-indent-electric-colon): Remove command.
5504 (python-indent-post-self-insert-function): Integrate the previous code
5505 of python-indent-electric-colon. Make it conditional on
5506 electric-indent-mode.
5507 (python-mode): Add ?: to electric-indent-chars.
5508 Move python-indent-post-self-insert-function to the end of
5509 post-self-insert-hook.
5511 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5513 * doc-view.el (doc-view-goto-page): Update mode-line.
5515 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5517 2013-11-27 Glenn Morris <rgm@gnu.org>
5519 * international/charprop.el, international/uni-bidi.el:
5520 * international/uni-category.el, international/uni-combining.el:
5521 * international/uni-comment.el, international/uni-decimal.el:
5522 * international/uni-decomposition.el, international/uni-digit.el:
5523 * international/uni-lowercase.el, international/uni-mirrored.el:
5524 * international/uni-name.el, international/uni-numeric.el:
5525 * international/uni-old-name.el, international/uni-titlecase.el:
5526 * international/uni-uppercase.el:
5527 Remove generated files from VCS repository.
5529 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5531 * filenotify.el (file-notify-add-watch): Don't special-case
5532 w32notify when computing the directory to watch.
5534 2013-11-27 Glenn Morris <rgm@gnu.org>
5536 Make bootstrap without generated uni-*.el files possible again.
5537 * loadup.el: Update command-line-args checking for unidata-gen.
5538 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5539 * composite.el, international/characters.el:
5540 Handle unicode tables being undefined.
5542 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5543 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5544 (compile-main): Depend on leim rule.
5546 * loadup.el: Move leim-list.el to leim/ subdirectory.
5547 * startup.el (normal-top-level): No more leim directory.
5548 * international/ja-dic-cnv.el (skkdic-convert):
5549 Disable version-control and autoloads in output files.
5550 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5551 Disable version-control and autoloads in output files.
5552 * leim/quail: Move here from ../leim.
5553 * leim/quail/hangul.el (hangul-input-method-activate):
5554 Add autoload cookie.
5555 (generated-autoload-load-name): Set file-local value.
5556 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5557 (generated-autoload-load-name): Set file-local value.
5559 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5561 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5562 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5563 (eww-quit): Ask confirmation before quitting eww.
5565 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5567 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5568 reading output from Diff on MS-Windows and MS-DOS.
5570 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5572 * emacs-lisp/helpers.el (string-reverse): New function.
5574 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5576 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5577 names on MS Windows, like "/[::1]:".
5579 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5582 2013-11-26 Glenn Morris <rgm@gnu.org>
5584 * progmodes/python.el (python-indent-guess-indent-offset):
5585 Avoid corner-case error. (Bug#15975)
5587 Preload leim-list.el. (Bug#4789)
5588 * loadup.el: Load leim-list.el when found.
5589 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5591 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5593 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5595 * emacs-lisp/helpers.el (string-join): New function.
5597 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5599 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5600 Mark as obsolete and replace it with a symbol property.
5601 (byte-compile-form): Use new 'interactive-only property.
5602 * comint.el, files.el, replace.el, simple.el:
5603 Apply new 'interactive-only properly.
5605 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5607 * window.el (display-buffer-at-bottom): Make sure that
5608 split-window-sensibly creates the new window on bottom
5611 2013-11-23 David Kastrup <dak@gnu.org>
5613 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5614 on the conflict markers when available.
5615 (smerge--get-marker): New function.
5616 (smerge-end-re, smerge-base-re): Add subgroup.
5618 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5620 * frame.el (handle-focus-in, handle-focus-out): Add missing
5623 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5625 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5626 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5628 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5631 (gomoku--last-pos): New var.
5632 (gomoku--intangible-chars): New const.
5633 (gomoku--intangible): New function.
5634 (gomoku-mode): Use it. Derive from special-mode.
5635 (gomoku-move-up): Adjust line count.
5636 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5637 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5638 Simplify accordingly.
5640 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5641 Remove blink-cursor code.
5642 (blink-cursor-timer-function, blink-cursor-suspend):
5643 Don't special-case GUIs.
5644 (blink-cursor-mode): Use focus-in/out-hook.
5646 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5648 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5649 work when annotation is invisible (Bug#13886).
5651 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5653 * json.el (json-alist-p): Only return non-nil if the alist has
5654 simple keys (Bug#13518).
5656 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5658 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5659 when control-statement is the first statement in a buffer (Bug#15956).
5661 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5663 * imenu.el (imenu-generic-skip-comments-and-strings):
5664 New option (Bug#15560).
5665 (imenu--generic-function): Use it.
5667 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5669 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5672 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5674 * emacs-lisp/helpers.el: Add some string helpers.
5675 (string-trim-left): Removes leading whitespace.
5676 (string-trim-right): Removes trailing whitespace.
5677 (string-trim): Removes leading and trailing whitespace.
5679 * subr.el (string-suffix-p): New function.
5681 2013-11-23 Glenn Morris <rgm@gnu.org>
5683 * progmodes/python.el (python-shell-send-file):
5684 Add option to delete file when done. (Bug#15647)
5685 (python-shell-send-string, python-shell-send-region): Use it.
5687 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5689 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5690 to set buffer-read-only to t, never to nil. (Bug#15938)
5692 * textmodes/tex-mode.el (latex-noindent-environments):
5693 Add safe-local-variable property. (Bug#15936)
5695 2013-11-23 Glenn Morris <rgm@gnu.org>
5697 * textmodes/enriched.el (enriched-mode): Doc fix.
5698 * emacs-lisp/authors.el (authors-renamed-files-alist):
5699 Add enriched.doc -> enriched.txt.
5701 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5703 2013-11-22 Leo Liu <sdl.web@gmail.com>
5705 * progmodes/octave.el (inferior-octave-startup): Spit out error
5708 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5710 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5713 (ruby-encoding-magic-comment-style): Add :version.
5715 2013-11-22 Leo Liu <sdl.web@gmail.com>
5717 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5719 (octave-help-mode): Adapt to change to help-mode-finish to use
5720 derived-mode-p on 2013-09-17.
5721 (inferior-octave-prompt): Also match octave-gui.
5722 (octave-kill-process): Don't ask twice. (Bug#10564)
5724 2013-11-22 Leo Liu <sdl.web@gmail.com>
5726 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5727 (inferior-octave-startup, inferior-octave-check-process)
5728 (inferior-octave-track-window-width-change)
5729 (octave-completion-at-point, octave-eldoc-function): Use it.
5730 (octave-kill-process): Provide confirmation. (Bug#10564)
5732 2013-11-21 Leo Liu <sdl.web@gmail.com>
5734 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5735 Fix obsolete variable comment-use-global-state.
5737 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5739 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5740 Add `octave-source-file'.
5741 (octave-source-file): New function. (Bug#15935)
5743 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5745 * net/eww.el (eww-local-regex): New variable.
5746 (eww): Use it to detect localhost and similar.
5748 2013-11-21 Leo Liu <sdl.web@gmail.com>
5750 Add completion for command `ag'.
5751 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5752 (pcomplete/ag): New function.
5753 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5755 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5759 (make-obsolete): Remove interactive spec.
5761 2013-11-21 Glenn Morris <rgm@gnu.org>
5763 * startup.el (command-line-1): Use path-separator with -L.
5765 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5767 * emacs-lisp/package.el (describe-package-1): Add package archive
5770 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5772 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5773 Change default to "# encoding: %s" to differentiate it from the
5774 default Ruby encoding comment template.
5776 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5778 * ses.el (ses-mode): Doc fix. (Bug#14748)
5780 2013-11-20 Leo Liu <sdl.web@gmail.com>
5782 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5784 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5786 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5787 when rebase or bisect are in progress.
5789 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5791 * filenotify.el (file-notify-add-watch): Doc fix.
5793 2013-11-19 Leo Liu <sdl.web@gmail.com>
5795 * obsolete/rcompile.el: Mark obsolete.
5797 * progmodes/compile.el (compilation-start)
5798 (compilation-goto-locus, compilation-find-file):
5799 Pass no-display-ok and handle nil value from display-buffer.
5802 * window.el (display-buffer-alist, display-buffer): Document the
5803 new parameter no-display-ok. Return either a window or nil
5804 but never a non-window value.
5806 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * electric.el (electric-indent-mode-map): Remove.
5809 (electric-indent-mode): Change the global-map instead (bug#15915).
5811 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5814 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5816 * emacs-lisp/nadvice.el (remove-function): Align with
5817 add-function's behavior.
5819 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5820 (gdb--string-regexp): New constant.
5821 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5822 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5823 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5825 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5826 Adjust use accordingly.
5827 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5829 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5831 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5832 interpolation curlies (Bug#15914).
5834 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5836 * calc/calc.el (calc-context-sensitive-enter): New variable.
5837 (calc-enter): Use `calc-context-sensitive-enter'.
5839 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5841 * progmodes/cfengine.el: Version bump.
5842 (cfengine-cf-promises): New defcustom to locate cf-promises.
5843 (cfengine3-vartypes): Add new "data" type.
5844 (cfengine3--current-word): New function to get current name-like
5846 (cfengine3--current-function): New function to look up a CFEngine
5847 function's definition.
5848 (cfengine3-format-function-docstring): New function.
5849 (cfengine3-make-syntax-cache): New function.
5850 (cfengine3-documentation-function): New function: ElDoc glue.
5851 (cfengine3-completion-function): New function: completion glue.
5852 (cfengine3-mode): Set `compile-command',
5853 `eldoc-documentation-function', and add to
5854 `completion-at-point-functions'.
5856 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5858 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5859 `tramp-current-connection'.
5861 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5863 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5864 nil/self/true/false with "end of symbol".
5866 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5868 * subr.el (version-regexp-alist): Fix a typo.
5870 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5872 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5873 "en_US.utf8" and "LC_CTYPE" to "".
5874 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5875 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5877 2013-11-15 Leo Liu <sdl.web@gmail.com>
5879 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5881 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5883 * progmodes/gud.el (ctl-x-map):
5884 Remove C-x SPC binding. (Bug#12342)
5885 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5887 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5889 * subr.el (version-regexp-alist):
5890 Recognize hg, svn and darcs versions as snapshot versions.
5892 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5893 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5894 (ruby--encoding-comment-required-p): Extract from
5895 `ruby-mode-set-encoding'.
5896 (ruby-mode-set-encoding): Add the ability to always insert an
5897 utf-8 encoding comment. Fix and simplify coding comment update
5900 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5902 * net/tramp-gvfs.el (top): Run init code only when
5903 `tramp-gvfs-enabled' is not nil.
5904 (tramp-gvfs-enabled): Check also :system bus.
5906 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5908 Sync with upstream verilog-mode revision 78e66ba.
5909 * progmodes/verilog-mode.el (verilog-end-of-defun)
5910 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5911 (verilog-get-end-of-defun): Remove unused argument.
5912 (verilog-comment-depth): Remove unused local `e'.
5913 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5914 Don't pass arg to verilog-get-end-of-defun.
5916 2013-11-14 Glenn Morris <rgm@gnu.org>
5918 * obsolete/assoc.el (aget): Prefix dynamic variable.
5920 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5922 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5924 * widget.el, hfy-cmap.el: Remove bogus package version number.
5926 2013-11-13 Glenn Morris <rgm@gnu.org>
5928 * replace.el (replace-eval-replacement):
5929 Try to give more helpful error message. (Bug#15836)
5931 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5932 (archive-7z-update): Avoid custom type mismatches.
5934 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5936 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5938 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5939 address can be empty.
5941 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5942 Accept nil SWITCHES.
5943 (tramp-gvfs-handle-write-region): Implement APPEND.
5945 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5947 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5948 binary "|" operator and closing block args delimiter.
5949 Remove FIXME comment referring to Ruby 1.8-only syntax.
5950 (ruby-smie--implicit-semi-p): Not after "|" operator.
5951 (ruby-smie--closing-pipe-p): New function.
5952 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5953 (ruby-smie-rules): Indent after "|".
5955 2013-11-12 Glenn Morris <rgm@gnu.org>
5957 * ps-print.el (ps-face-attribute-list):
5958 Handle anonymous faces. (Bug#15827)
5960 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5962 * window.el (display-buffer-other-frame): Fix doc-string.
5965 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5969 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5972 (tramp-sh-handle-file-local-copy): Don't write a message when
5973 saving temporary files.
5975 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5976 both directories are remote.
5977 (tramp-smb-handle-directory-files): Do not return double entries.
5978 Do not expand full file names.
5979 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5980 (tramp-smb-handle-write-region): Implement APPEND.
5981 (tramp-smb-get-stat-capability): Fix a stupid bug.
5983 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5987 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5989 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5990 throwing error over malformed let/let* (bug#15814).
5992 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * iswitchb.el (iswitchb-mode): Mark obsolete.
5996 2013-11-11 Glenn Morris <rgm@gnu.org>
5998 * international/uni-bidi.el, international/uni-category.el:
5999 * international/uni-name.el, international/uni-numeric.el:
6000 Regenerate for Unicode 6.3.0.
6002 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6004 * net/tramp.el (tramp-methods):
6005 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6006 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6008 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6010 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6011 Force highlighting text after Summary keyword in doc face for rpm.
6013 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6015 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6016 available and the word has no wildcards, append one to the grep pattern.
6017 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6018 (ispell-complete-word): Call `ispell-lookup-words' with the value
6019 independent of `ispell-look-p'.
6021 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6023 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6025 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6028 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6031 (ruby-font-lock-keywords): Use backquote.
6033 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6035 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6036 (ruby-smie--backward-token): Only consider full-string matches.
6038 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6040 * faces.el (describe-face): Add distant-foreground.
6042 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6044 * progmodes/ruby-mode.el: Improve encoding comment handling.
6045 (ruby-encoding-magic-comment-style): New option.
6046 (ruby-custom-encoding-magic-comment-template): New option.
6047 (ruby--insert-coding-comment, ruby--detect-encoding):
6048 New functions extracted from `ruby-mode-set-encoding'.
6049 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6050 to control the style of the auto-inserted encoding comment.
6052 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6054 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6055 Use `smie-backward-sexp' with token argument.
6057 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6059 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6060 Remove instrumentation code.
6062 2013-11-08 Glenn Morris <rgm@gnu.org>
6064 * progmodes/autoconf.el (autoconf-mode):
6065 Tweak comment-start-skip. (Bug#15822)
6067 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6069 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6070 at bobp (bug#15826).
6071 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6073 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6075 * man.el (Man-start-calling): New macro, extracted from
6076 Man-getpage-in-background.
6077 (Man-getpage-in-background): Use it.
6078 (Man-update-manpage): New command.
6079 (Man-mode-map): Bind it.
6081 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6083 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6084 of "and", "or", "&&" and "||".
6085 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6086 argument. Prohibit opening curly brace because it could only be a
6087 block opener in that position.
6088 (ruby-smie--forward-token, ruby-smie--backward-token):
6089 Separate "|" from "&" or "*" going after it. That can happen in block
6091 (ruby-smie--indent-to-stmt): New function, seeks the end of
6092 previous statement or beginning of buffer.
6093 (ruby-smie-rules): Use it.
6094 (ruby-smie-rules): Check if there's a ":" before a curly block
6095 opener candidate; if there is, it's a hash.
6097 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6099 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6100 (cl--block-wrapper): Fix last accidental change.
6102 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6104 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6105 Instrument, in order to hunt failure on hydra.
6107 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6109 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6110 malformed bindings form (bug#15814).
6112 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6114 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6115 "." compared to " @ ". This incidentally fixes some indentation
6117 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6118 (ruby-smie-grammar): New tokens: "and" and "or".
6119 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6120 Exclude "and" and "or". Remove "do" in order to work around token
6122 (ruby-smie-rules): Add all infix tokens. Handle the case of
6123 beginning-of-buffer.
6125 2013-11-06 Glenn Morris <rgm@gnu.org>
6127 * Makefile.in (setwins_almost, setwins_for_subdirs):
6128 Avoid accidental matches.
6130 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * menu-bar.el (popup-menu): Use key-binding.
6134 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6136 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6137 menus, support also the menus produced by minor modes.
6140 2013-11-06 Leo Liu <sdl.web@gmail.com>
6142 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6143 DISTANCE to bound the search. All uses changed. (Bug#15808)
6145 2013-11-06 Glenn Morris <rgm@gnu.org>
6147 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6148 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6149 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6151 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * electric.el (electric-indent-just-newline): New command.
6154 (electric-indent-mode-map): New keymap.
6155 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6156 Re-add :group which weren't redundant.
6158 * electric.el (electric-indent-local-mode): New minor mode.
6159 (electric-indent-functions-without-reindent): New var.
6160 (electric-indent-post-self-insert-function): Use it.
6161 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6163 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6165 * international/quail.el (quail-help): Be more explicit about the
6166 meaning of the labels shown on the keys. (Bug#15800)
6168 * startup.el (normal-top-level): Load the subdirs.el files before
6169 setting the locale environment. (Bug#15805)
6171 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6174 via arguments so as to get the right ones (bug#15418).
6176 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6178 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6180 Fix problems found while writing a test suite.
6182 * net/tramp-compat.el (tramp-compat-load): New defun.
6183 * net/tramp.el (tramp-handle-load): Use it.
6185 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6186 "(numberp ok-if-already-exists)" correctly.
6188 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6190 * international/characters.el (glyphless-char-display-control):
6193 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6195 * progmodes/python.el (python-mode):
6196 * progmodes/scheme.el (scheme-mode):
6197 * progmodes/prolog.el (prolog-mode):
6198 * progmodes/ruby-mode.el (ruby-mode):
6199 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6200 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6202 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * rect.el (rectangle--highlight-for-redisplay):
6205 * emacs-lisp/smie.el (smie--next-indent-change):
6206 Use buffer-chars-modified-tick.
6208 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6210 * electric.el (electric-indent-post-self-insert-function):
6211 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6213 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6215 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6217 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6219 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6222 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6226 * progmodes/python.el: Fix up last change.
6227 (python-shell--save-temp-file): New function.
6228 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6229 `string' comes from the current buffer.
6230 (python-shell-send-string-no-output): Remove `msg' arg.
6231 (python--use-fake-loc): New var.
6232 (python-shell-buffer-substring): Obey it. Try to compensate for the
6233 extra coding line added by python-shell--save-temp-file.
6234 (python-shell-send-region): Use python-shell--save-temp-file and
6235 python-shell-send-file directly. Add `nomain' argument.
6236 (python-shell-send-buffer): Use python-shell-send-region.
6237 (python-electric-pair-string-delimiter): New function.
6238 (python-mode): Use it.
6240 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6242 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6243 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6244 environment and decoding all of the default-directory's to here
6246 (command-line): Decode also argv[0].
6248 * loadup.el: Error out if default-directory is a multibyte string
6249 when we are dumping.
6251 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6253 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6255 * emacs-lisp/package.el (package-menu-mode)
6256 (package-menu--print-info, package-menu--archive-predicate):
6257 Add Archive column to package list.
6259 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6261 Fix problems found while writing a test suite.
6263 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6264 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6265 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6266 to nil when running original file name handler. Otherwise,
6267 there are problems with constructs like "$$FOO".
6269 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6272 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6274 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6276 * subr.el (version<, version<=, version=):
6277 Update docstrings with information for snapshot versions.
6279 * helpers.el: New library for misc helper functions.
6280 (hash-table-keys): New function returning a list of hash keys.
6281 (hash-table-values): New function returning a list of hash values.
6283 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6285 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6286 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6288 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6290 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6291 checking whether point is after a 1-letter word.
6293 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6295 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6296 Don't infloop when expanding region over `multiline' syntax-type that
6297 begins a line (bug#15778).
6299 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6302 Make it into a proper minor mode.
6303 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6304 (rectangle-mark-mode-map): New keymap.
6305 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6307 2013-11-04 Glenn Morris <rgm@gnu.org>
6309 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6311 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6313 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6314 (ruby-smie-rules): Use smie-rule-parent instead.
6316 * emacs-lisp/smie.el (smie-rule-parent): Always call
6317 smie-indent-virtual rather than only for hanging tokens.
6318 (smie--next-indent-change): New helper command.
6320 2013-11-03 Glenn Morris <rgm@gnu.org>
6322 * Makefile.in (abs_srcdir): Remove.
6323 (emacs): Unset EMACSLOADPATH.
6325 2013-11-02 Glenn Morris <rgm@gnu.org>
6327 * Makefile.in (EMACS): Use a relative filename.
6328 (abs_top_builddir): Remove.
6329 (custom-deps, finder-data, autoloads): Use --chdir.
6331 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6333 Use relative filenames in TAGS files.
6334 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6335 (lisptagsfiles4, TAGS): Use relative file names.
6336 (TAGS-LISP): Remove.
6337 (maintainer-clean): No more TAGS-LISP file.
6339 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6340 (lisptagsfiles4): Use absolute filenames again.
6341 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6342 Remove all *loaddefs files, not just the first. Remove esh-groups.
6343 (maintainer-clean): Delete TAGS, TAGS-LISP.
6345 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6347 * emacs-lisp/package.el (package-version-join):
6348 Recognize snapshot versions.
6350 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6352 * subr.el (version-regexp-alist): Add support for snapshot versions.
6354 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6356 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6357 New function, replacement for `smie-rule-parent' for when we want to
6358 skip over our direct parent if it's an assignment token..
6359 (ruby-smie-rules): Use it.
6361 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6363 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6364 unconditionally. Remove now unnecessary forward declarations.
6365 Remove XEmacs-specific setup.
6366 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6367 (ruby-font-lock-syntactic-keywords)
6368 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6369 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6370 (ruby-here-doc-end-syntax): Remove.
6371 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6372 defined as function.
6374 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6376 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6378 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6380 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6381 table and abbrev table, `define-derived-mode' does that for us
6384 2013-11-01 Glenn Morris <rgm@gnu.org>
6386 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6387 files is atomic for some time, so no parallel compilation issues).
6389 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6391 * faces.el (face-x-resources): Add :distant-foreground.
6392 (region): Use :distant-foreground for gtk and ns.
6394 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6396 Allow multiple bibliographies when BibLaTeX is used rather than
6398 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6399 (reftex-locate-bibliography-files): Us it.
6401 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6403 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6404 allow comments in pbm files.
6406 * term/w32-win.el (dynamic-library-alist): Support newer versions
6407 of libjpeg starting with v7: look only for the DLL from the
6408 version against which Emacs was built.
6409 Support versions of libpng beyond 1.4.x.
6410 Support libtiff v4.x.
6412 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6414 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6415 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6417 (ruby-deep-arglist): Add property :type.
6419 2013-10-31 Glenn Morris <rgm@gnu.org>
6421 * Makefile.in (custom-deps, finder-data): No need to setq the target
6422 variables, we are in the right directory and the defaults work fine.
6424 2013-10-30 Glenn Morris <rgm@gnu.org>
6426 * Makefile.in (autoloads): Do not use abs_lisp.
6428 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6429 `newline' does not respect `standard-output', so use `princ'.
6431 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6433 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6434 * buff-menu.el (Buffer-menu--unmark): New function.
6435 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6437 2013-10-30 Glenn Morris <rgm@gnu.org>
6439 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6441 * emacs-lisp/package.el (lm-homepage): Declare.
6443 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6446 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6448 * Makefile.in (finder-data, autoloads, update-subdirs)
6449 (compile-main, compile-clean, compile-always, bootstrap-clean):
6450 Check return value of cd.
6451 (compile-calc): Remove.
6453 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6455 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6457 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6458 (byte-compile-and-folded): New function.
6459 (=, <, >, <=, >=): Use it.
6461 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6462 (path-separator, null-device, buffer-file-coding-system)
6463 (lpr-headers-switches): Check system-type before modifying them.
6464 (find-buffer-file-type-coding-system): Mark obsolete.
6465 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6466 find-file-not-found-set-buffer-file-coding-system.
6467 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6468 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6469 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6470 (w32-direct-print-region-helper, w32-direct-print-region-function)
6471 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6472 * startup.el (normal-top-level-add-subdirs-to-load-path):
6473 * ps-print.el (ps-print-region-function):
6474 * lpr.el (print-region-function): Use new name.
6476 * subr.el (custom-declare-variable-early): Remove function.
6477 (custom-declare-variable-list): Remove var.
6478 (error, user-error): Remove `while' loop.
6479 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6480 (user-emacs-directory-warning, locate-user-emacs-file):
6482 * simple.el (read-quoted-char-radix, read-quoted-char):
6483 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6485 * custom.el (custom-declare-variable-list): Don't process
6486 custom-declare-variable-list.
6488 * progmodes/python.el (python-shell-get-buffer): New function.
6489 (python-shell-get-process): Use it.
6490 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6491 Python which encoding was used. Don't split-string since we only care
6492 about the first line. Return the temp-file, if applicable.
6493 (python-shell-send-region): Tell compile.el how to turn locations in
6494 the temp-file into locations in the source buffer.
6496 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6498 * subr.el (undefined): Add missing behavior from the C code for
6501 * rect.el: Use lexical-binding. Add new rectangular region support.
6502 (rectangle-mark): New command.
6503 (rectangle--region): New var.
6504 (deactivate-mark-hook): Reset rectangle--region.
6505 (rectangle--extract-region, rectangle--insert-for-yank)
6506 (rectangle--highlight-for-redisplay)
6507 (rectangle--unhighlight-for-redisplay): New functions.
6508 (region-extract-function, redisplay-unhighlight-region-function)
6509 (redisplay-highlight-region-function): Use them to handle
6511 * simple.el (region-extract-function): New var.
6512 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6513 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6514 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6515 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6516 (redisplay-unhighlight-region-function)
6517 (redisplay-highlight-region-function): New vars.
6518 (redisplay--update-region-highlight): New function.
6519 (pre-redisplay-function): Use it.
6520 (exchange-point-and-mark): Don't deactivate the mark before
6521 reactivate-it anyway.
6522 * comint.el (comint-kill-region): Remove yank-handler argument.
6523 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6524 (delete-char): Remove property, since it's now part of their
6526 (self-insert-iso): Remove property since this command doesn't exist.
6528 * emacs-lisp/package.el (package--download-one-archive)
6529 (describe-package-1): Don't query the user about final newline.
6531 2013-10-29 Daniel Colascione <dancol@dancol.org>
6533 * net/tramp.el (tramp-methods): Document new functionality.
6534 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6535 tramp-hostname-checker if method provides one instead of scanning
6536 argument list for "%h" to decide hostname acceptability.
6538 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6540 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6541 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6542 Handle COPY-CONTENTS. (Bug#15737)
6544 2013-10-28 Daiki Ueno <ueno@gnu.org>
6546 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6547 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6549 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6551 * image.el (defimage, image-load-path): Doc fixes.
6553 2013-10-27 Alan Mackenzie <acm@muc.de>
6555 Indent statements in macros following "##" correctly.
6556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6557 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6559 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6561 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6563 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6565 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6566 after `=' is probably a new expression.
6568 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6570 * man.el (man-imenu-title): New option.
6571 (Man-mode-map): Add menu. (Bug#15722)
6572 (Man-mode): Add imenu to menu.
6574 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6576 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6577 specific in what the first arg can be: a non-keyword word,
6578 string/regexp/percent literal opener, opening paren, or unary
6579 operator followed directly by word.
6581 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6583 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6584 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6585 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6586 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6587 Remove vars, they do not apply any more.
6588 (prolog-mode-abbrev-table): Remove redundant declaration.
6589 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6590 (prolog-use-smie): Remove.
6591 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6592 supported by prolog-electric-if-then-else-flag.
6593 (prolog-mode-variables, prolog-menu): Use setq-local.
6594 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6595 Remove binding to `Backspace' since this key doesn't exist anyway.
6596 Remove bindings for electric self-inserting keys.
6597 (prog-mode): Assume it's defined.
6598 (prolog-post-self-insert): New function.
6599 (prolog-mode): Use it.
6600 (prolog-indent-line, prolog-indent-level)
6601 (prolog-find-indent-of-matching-paren)
6602 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6603 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6604 (prolog-goto-next-paren, prolog-in-string-or-comment)
6605 (prolog-tokenize, prolog-inside-mline-comment)
6606 (prolog-find-start-of-mline-comment): Remove functions.
6607 (prolog-find-unmatched-paren, prolog-clause-end)
6608 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6609 (prolog-electric--if-then-else): Rename from
6610 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6611 (prolog-tokenize-searchkey): Remove const.
6612 (prolog-clause-info): Use forward-sexp.
6613 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6614 (prolog-electric-if-then-else): Remove commands.
6615 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6616 for use in post-self-insert-hook.
6617 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6618 for use in post-self-insert-hook.
6619 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6620 for use in post-self-insert-hook.
6621 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6622 adapt it for use in post-self-insert-hook.
6624 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6626 * emacs-lisp/ert.el (ert-run-tests-interactively):
6627 Use `completing-read'. (Bug#9756)
6629 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6631 * simple.el (line-move): Call line-move-1 instead of
6632 line-move-visual when the current window hscroll is zero, but
6633 temporary-goal-column indicates we will need to hscroll as result
6634 of the movement. (Bug#15712)
6636 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6638 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6639 capitalization. Use :visible instead of :active.
6640 Fix `ruby-indent-exp' reference. Add menu items for the generic
6641 commands that are used with SMIE.
6642 (ruby-do-end-to-brace): Insert space after `{'.
6644 2013-10-25 John Anthony <john@jo.hnanthony.com>
6646 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6648 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6650 2013-10-25 Glenn Morris <rgm@gnu.org>
6652 * vc/vc.el (vc-print-log): Don't use a working revision unless
6653 one was explicitly specified. (Bug#15322)
6655 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * subr.el (add-to-list): Preserve return value in compiler-macro
6660 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6662 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6663 result. Ask user to retry using '-all' flag. (Bug#15701)
6665 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * emacs-lisp/smie.el: New smie-config system.
6668 (smie-config): New defcustom.
6669 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6670 (smie-config-guess, smie-config-save): New commands.
6671 (smie-config--mode-local, smie-config--buffer-local)
6672 (smie-config--trace, smie-config--modefuns): New vars.
6673 (smie-config--advice, smie-config--mode-hook)
6674 (smie-config--setter, smie-config-local, smie-config--get-trace)
6675 (smie-config--guess-value, smie-config--guess): New functions.
6676 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6677 text properties. Treat "string fence" syntax like string syntax.
6679 * progmodes/sh-script.el (sh-use-smie): Change default.
6680 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6681 (sh-var-value): Simplify by CSE.
6682 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6683 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6685 (sh-guess-basic-offset): Use cl-incf.
6686 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6688 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6690 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6693 2013-10-24 Glenn Morris <rgm@gnu.org>
6695 * Makefile.in (abs_top_srcdir): Remove.
6696 (update-subdirs): Use relative path to update-subdirs.
6698 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6700 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6701 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6702 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6703 Call unmsys--file-name before expand-file-name, not after it.
6705 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6707 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6708 (ert-test-skipped): New error.
6709 (ert-skip, ert-stats-skipped): New defuns.
6710 (ert--skip-unless): New macro.
6711 (ert-test-skipped): New struct.
6712 (ert--run-test-debugger, ert-test-result-type-p)
6713 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6714 (ert--stats-set-test-and-result, ert-char-for-test-result)
6715 (ert-string-for-test-result, ert-run-tests-batch)
6716 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6717 Handle skipped tests. (Bug#9803)
6719 2013-10-24 Glenn Morris <rgm@gnu.org>
6721 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6723 * Makefile.in (abs_top_srcdir): New, set by configure.
6724 (update-subdirs): Correct build-aux location.
6726 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6728 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6729 value, whether we could auto-deduce `backend', or not.
6731 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6732 with parameters" example. Simplify the "is it block or is it
6733 hash" check, but also make it more thorough.
6735 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6737 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6739 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6744 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6747 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6749 * progmodes/compile.el (compilation-directory-matcher)
6750 (compilation-page-delimiter):
6751 Support GNU Make-4.0 directory quoting. (Bug#15678)
6753 2013-10-23 Leo Liu <sdl.web@gmail.com>
6755 * ido.el (ido-tidy): Handle read-only text.
6757 2013-10-23 Glenn Morris <rgm@gnu.org>
6759 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6760 (emacs, compile, compile-always):
6761 Quote entities that might contain whitespace.
6762 (custom-deps, finder-data, autoloads): Use abs_lisp.
6763 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6764 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6765 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6767 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6769 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6770 Use `following-char'.
6772 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6775 * progmodes/ruby-mode.el (ruby-smie-rules):
6776 Remove corresponding workaround. Fix indentation rule of ";" so it
6777 also applies when ";" is the parent.
6779 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6781 * frame.el (display-screens, display-pixel-height)
6782 (display-pixel-width, display-mm-width, display-backing-store)
6783 (display-save-under, display-planes, display-color-cells)
6784 (display-visual-class, display-monitor-attributes-list):
6785 Mention the optional ‘display’ argument in doc strings.
6787 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6789 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6790 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6792 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6794 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6795 TODO. Add "." after " @ ".
6796 (ruby-smie--at-dot-call): New function. Checks if point at method
6797 call with explicit target.
6798 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6799 to the method name tokens when it precedes them.
6800 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6801 (ruby-smie-rules): Add rule for indentation before and after "."
6804 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * textmodes/remember.el (remember-diary-extract-entries):
6809 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6812 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6814 * progmodes/ruby-mode.el (ruby-smie-grammar):
6815 Add (almost) all infix operators.
6816 (ruby-smie--implicit-semi-p): Add new operator chars.
6818 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6820 (ruby-smie--args-separator-p): Check that there's no newline
6821 between method call and its arguments.
6823 2013-10-20 Alan Mackenzie <acm@muc.de>
6825 Allow comma separated lists after Java "implements".
6827 * progmodes/cc-engine.el (c-backward-over-enum-header):
6829 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6830 from a "disallowed" list in enum fontification.
6832 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6834 * startup.el (default-frame-background-mode): Remove unused defvar.
6836 * progmodes/verilog-mode.el (verilog-mode): Don't set
6837 comment-indent-function globally.
6839 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6841 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6842 Move Info menu item creation to ns-win.el.
6844 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6847 * menu-bar.el: Move GNUstep specific menus...
6849 * term/ns-win.el (ns-initialize-window-system): ... to here.
6851 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * simple.el (newline): Only run post-self-insert-hook when
6854 called interactively.
6856 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6858 * icomplete.el (icomplete-with-completion-tables): Add :version.
6860 2013-10-19 Alan Mackenzie <acm@muc.de>
6862 Fix fontification bugs with constructors and const.
6864 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6865 CASE 2) Remove the check for the absence of a suffix construct
6866 after a function declaration with only types (no identifiers) in
6867 the parentheses. Also, accept a function declaration with just a
6868 type inside the parentheses, if this type can be positively
6869 recognised as such, or if a prefix keyword like "explicit" nails
6870 down the construct as a declaration.
6872 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6874 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6875 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6876 the problem whereby selecting a menu item that leads to a
6877 minibuffer prompt moves the cursor out of the minibuffer window,
6878 making it hard to type at the prompt. Suggested by Stefan Monnier
6879 <monnier@iro.umontreal.ca>.
6881 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6883 * menu-bar.el: Don't make Services menu.
6885 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6887 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6888 (ffap-alist): Use ffap-c++-mode for c++-mode.
6889 (ffap-c++-path): New variable.
6890 (ffap-c++-mode): New function.
6892 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6894 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6896 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6898 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6899 introduced on 2013-09-08, which results in an infinite loop
6900 requesting a password.
6902 2013-10-18 Glenn Morris <rgm@gnu.org>
6904 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6906 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6908 Sync with upstream verilog-mode revision 1a6ecec7.
6909 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6910 (verilog-mode-release-date): Remove.
6911 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6912 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6913 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6914 (verilog-auto-tieoff-ignore-regexp)
6915 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6916 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6917 (verilog-signals-with, verilog-dir-cache-preserving)
6918 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6920 (verilog-case-fold): New option, to control case folding in
6921 regexp searches, bug597.
6922 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6923 (verilog-string-match-fold, verilog-in-paren-count)
6924 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6925 (verilog-at-close-struct-p): New functions.
6926 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6927 (verilog-forward-sexp, verilog-set-auto-endcomments)
6928 (verilog-leap-to-case-head): Handle "unique0" case.
6929 (verilog-in-constraint-re): New constant.
6930 (verilog-keywords, verilog-type-font-keywords):
6931 Add some SystemVerilog 1800-2012 keywords.
6932 (verilog-label-be): Remove unimplemented argument, bug669.
6933 (verilog-batch-execute-func): When batch expanding clear
6934 create-lockfiles to prevent spurious user locks when a file ends
6936 (verilog-calculate-indent, verilog-calc-1)
6937 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6938 (verilog-do-indent): Fix indentation of nested constraints
6940 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6941 (verilog-auto-inst-param): Use verilog-string-match-fold.
6942 (verilog-read-inst-module-matcher):
6943 Fix AUTOINST on gate primitives with #1.
6944 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6945 Reads all user-defined typed variables.
6946 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6947 (verilog-signals-matching-regexp)
6948 (verilog-signals-not-matching-regexp, verilog-auto):
6949 Respect verilog-case-fold.
6950 (verilog-diff-report): Fix line count.
6951 (verilog-auto-assign-modport): Remove unused local `modi'.
6952 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6953 better handle multidimensional arrays.
6954 Fix packed array ports misadding bit index in AUTOINST, bug637.
6955 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6956 to not double-declare existing outputs and inputs, respectively.
6957 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6958 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6959 (verilog-sk-uvm-component): New skeleton.
6960 (verilog-submit-bug-report): Add verilog-case-fold,
6961 remove verilog-mode-release-date.
6963 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6965 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6968 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6970 * textmodes/remember.el (remember): Set buffer-offer-save in
6971 remember buffers (bug#13566).
6973 2013-10-18 Daniel Colascione <dancol@dancol.org>
6975 When evaluating forms in ielm, direct standard output to ielm
6976 buffer. Add new ielm-return-for-effect command. Remove trailing
6977 whitespace throughout.
6979 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6980 (ielm-return-for-effect): New command.
6981 (ielm-send-input): Accept optional `for-effect' parameter.
6982 (ielm-eval-input): Accept optional `for-effect' parameter.
6983 Bind `standard-output' to stream we create using
6984 `ielm-standard-output-impl'. Suppress printing result when
6986 (ielm-standard-output-impl): New function.
6987 (inferior-emacs-lisp-mode): Explain new features in documentation.
6989 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6993 * net/tramp.el (tramp-debug-message): Do not check for connection
6995 (tramp-message): Use "vector" connection property.
6997 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6998 (tramp-equal-remote, tramp-eshell-directory-change)
6999 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7000 (tramp-adb-handle-rename-file)
7001 * net/tramp-cmds.el (tramp-list-remote-buffers)
7002 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7003 * net/tramp-compat.el (tramp-compat-process-running-p)
7004 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7005 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7006 (tramp-gvfs-handle-rename-file)
7007 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7008 (tramp-set-file-uid-gid)
7009 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7010 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7013 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7014 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7015 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7016 (tramp-gw-open-network-stream): Suppress unrelated traces.
7018 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7019 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7020 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7021 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7022 connection property.
7024 * net/tramp-cache.el (top): Suppress traces when reading
7027 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7028 Refactor common code. Improve debug message.
7029 (tramp-maybe-open-connection)
7030 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7031 connection buffer too early.
7033 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7034 from `tramp-smb-actions-with-acl'.
7035 (tramp-smb-actions-set-acl): New defconst.
7036 (tramp-smb-handle-copy-directory)
7037 (tramp-smb-action-get-acl): New defun, renamed from
7038 `tramp-smb-action-with-acl'.
7039 (tramp-smb-action-set-acl): New defun.
7040 (tramp-smb-handle-set-file-acl): Rewrite.
7042 2013-10-17 Glenn Morris <rgm@gnu.org>
7044 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7046 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7048 * skeleton.el (skeleton-newline): Remove.
7049 (skeleton-internal-1): Use (insert "\n") instead.
7051 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7054 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7055 forward-sexp-function while we redo its job (bug#15613).
7057 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7059 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7060 represented by lists.
7062 2013-10-16 Glenn Morris <rgm@gnu.org>
7064 * tmm.el (tmm--history): New dynamic variable.
7065 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7067 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7069 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7070 (tramp-smb-errors): Add error messages.
7071 (tramp-smb-actions-with-acl): New defconst.
7072 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7073 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7074 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7075 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7076 (tramp-smb-get-stat-capability): Fix tests.
7078 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7080 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7083 2013-10-16 Glenn Morris <rgm@gnu.org>
7085 * ansi-color.el (ansi-color-drop-regexp):
7086 Add 1J, 1K, 2K. (Bug#15617)
7088 * files.el (hack-local-variables--warned-lexical): New.
7089 (hack-local-variables):
7090 Warn about misplaced lexical-binding. (Bug#15616)
7092 * net/eww.el (eww-render): Always set eww-current-url,
7093 and update header line. (Bug#15622)
7094 (eww-display-html): ... Rather than just doing it here.
7096 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7098 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7099 menu navigations commands.
7101 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7103 * progmodes/subword.el (subword-capitalize): Be careful when
7104 the search for [[:alpha:]] fails (bug#15580).
7106 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7108 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7109 to commands that scroll the menu.
7111 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7113 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7114 Handle methods ending with `?' and `!'.
7116 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7118 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7119 `japanese-cp932' to `cp932' to fix the problem where saving a
7120 source file written in Shift_JIS twice would end up having
7121 `coding: japanese-cp932' which Ruby could not recognize.
7122 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7123 in `ruby-encoding-map'.
7124 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7125 doesn't need to be explicitly declared in magic comment.
7126 (ruby-encoding-map): Add type declaration for better customize UI.
7128 2013-10-13 Glenn Morris <rgm@gnu.org>
7130 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7131 Occur buffers are read-only. http://bugs.debian.org/720775
7133 * emacs-lisp/authors.el (authors-fixed-entries):
7134 Comment out old alpha stuff.
7136 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7138 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7139 to `after-save-hook' instead of `before-save-hook'.
7140 (ruby-mode-set-encoding): Use the value of coding system used to
7141 write the file. Call `basic-save-buffer-1' after modifying the
7144 2013-10-13 Alan Mackenzie <acm@muc.de>
7146 Fix indentation/fontification of Java enum with
7147 "implements"/generic.
7149 * progmodes/cc-engine.el (c-backward-over-enum-header):
7150 Extracted from the three other places and enhanced to handle generics.
7151 (c-inside-bracelist-p): Uses new function above.
7152 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7154 (c-font-lock-enum-tail): Uses new function above.
7156 2013-10-13 Kenichi Handa <handa@gnu.org>
7158 * international/mule-cmds.el (select-safe-coding-system): Remove a
7159 superfluous condition in chekcing whether a coding system is safe
7162 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7164 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7166 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7168 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7170 2013-10-13 Glenn Morris <rgm@gnu.org>
7172 * menu-bar.el (menu-bar-update-buffers):
7173 Unify Buffers menu prompt string. (Bug#15576)
7175 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7177 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7179 (authors-fixed-entries): Use accented form of name.
7181 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7184 method calls (bug#15594).
7185 (ruby-smie--args-separator-p): New function.
7186 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7187 recognize paren-free method calls.
7189 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7190 internals of universal-argument.
7192 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7194 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7195 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7196 dropped menu on second mouse click on the menu bar.
7198 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7201 (explicit-shell-file-name): Declare.
7202 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7203 (sh-completion-at-point-function): New function.
7205 (sh-smie--keyword-p): Remove unused argument.
7206 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7208 (sh-set-shell): Always setup SMIE, even if we use the
7209 old indentation code.
7211 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7213 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7215 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7216 predicate would return nil are almost non-existent.
7217 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7219 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7220 cache also after commands that modify the buffer but don't move
7223 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * env.el (substitute-env-in-file-name): New function.
7226 (substitute-env-vars): Extend the meaning of the optional arg.
7228 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7230 * term/w32-win.el (dynamic-library-alist): Define separate lists
7231 of GIF DLLs for versions before and after 5.0.0 of giflib.
7234 2013-10-10 João Távora <joaotavora@gmail.com>
7236 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7237 not locked, use last revision and current source as
7238 defaults. (Bug#15569)
7240 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7242 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7245 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7247 * window.el (pop-to-buffer-same-window): Fix doc-string.
7250 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7252 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7254 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7256 * calendar/icalendar.el (icalendar-import-file):
7257 Fix interactive spec. (Bug#15482)
7259 2013-10-10 Glenn Morris <rgm@gnu.org>
7261 * desktop.el (desktop-save): Default to saving in .emacs.d,
7262 since PWD is no longer in desktop-path by default. (Bug#15319)
7264 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7265 now that text mode has a menu with the same entry.
7266 (menu-bar-text-mode-auto-fill): Remove now unused func.
7267 * textmodes/text-mode.el (text-mode-map):
7268 Use auto-fill help text from menu-bar.el.
7270 2013-10-10 John Anthony <john@jo.hnanthony.com>
7272 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7274 2013-10-09 Juri Linkov <juri@jurta.org>
7276 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7277 instead of this-command-keys. Add universal-argument-more and
7278 universal-argument-minus to the list of prefix commands. (Bug#15568)
7280 2013-10-09 Glenn Morris <rgm@gnu.org>
7282 * vc/vc-svn.el (vc-svn-create-repo):
7283 Expand paths in file://... url. (Bug#15446)
7285 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7287 (authors): Remove unused local variables.
7289 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * profiler.el: Create a more coherent calltree from partial backtraces.
7292 (profiler-format): Hide the tail with `invisible' so that C-s can still
7293 find the hidden elements.
7294 (profiler-calltree-depth): Don't recurse so enthusiastically.
7295 (profiler-function-equal): New hash-table-test.
7296 (profiler-calltree-build-unified): New function.
7297 (profiler-calltree-build): Use it.
7298 (profiler-report-make-name-part): Indent the calltree less.
7299 (profiler-report-mode): Add visibility specs for profiler-format.
7300 (profiler-report-expand-entry, profiler-report-toggle-entry):
7301 Expand the whole subtree when provided with a prefix arg.
7303 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7305 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7307 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7308 hanging iuwu-mod token.
7309 (ruby-smie--forward-token): Do not include a dot after a token in
7311 (ruby-smie--backward-token): Likewise.
7313 2013-10-08 Juri Linkov <juri@jurta.org>
7315 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7316 to isearch-other-control-char.
7317 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7318 and isearch-post-command-hook to post-command-hook.
7319 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7320 and isearch-post-command-hook from post-command-hook.
7321 (isearch-unread-key-sequence)
7322 (isearch-reread-key-sequence-naturally)
7323 (isearch-lookup-scroll-key, isearch-other-control-char)
7324 (isearch-other-meta-char): Remove functions.
7325 (isearch-pre-command-hook, isearch-post-command-hook):
7326 New functions based on isearch-other-meta-char rewritten
7327 relying on the new behavior of overriding-terminal-local-map
7328 that does not replace the local keymaps any more. (Bug#15200)
7330 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7332 Support menus on text-mode terminals.
7333 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7336 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7338 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7339 Move here from mouse.el.
7340 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7342 (tty-menu-navigation-map): New map for TTY menu navigation.
7344 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7346 * frame.el (display-mouse-p): Report text-mode mouse as available
7348 (display-popup-menus-p): Report availability if mouse is
7349 available; don't condition on window-system.
7351 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7352 (tty-menu-selected-face): New faces.
7354 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7356 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7357 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7358 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7359 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7361 (lisp-mode-variables): New `elisp' argument.
7362 (emacs-lisp-mode): Use it.
7363 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7364 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7366 * indent.el: Use lexical-binding.
7367 (indent-region): Add progress reporter.
7368 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7370 (indent--next-tab-stop): New function to implement this behavior.
7371 (tab-to-tab-stop, move-to-tab-stop): Use it.
7373 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7375 * indent.el (indent-rigidly--current-indentation): New function.
7376 (indent-rigidly-map): New var.
7377 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7379 2013-10-08 Bastien Guerry <bzg@gnu.org>
7381 * register.el (insert-register): Fix 2013-10-07 change.
7383 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7385 * progmodes/perl-mode.el: Use lexical-binding.
7386 Remove redundant :group args.
7387 (perl-nochange): Change default to be closer to other major modes's
7389 (perl-indent-line): Don't consider text on current line as a
7390 valid beginning of function from which to indent.
7392 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7393 with more than one argument (bug#15538).
7395 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7397 * vc/pcvs.el: Use lexical-binding.
7398 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7399 environment of `eval'.
7400 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7401 than a list of expressions. Adjust callers.
7402 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7404 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7406 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7407 case of the dot in a chained method call being on the following line.
7409 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7411 * electric.el (electric-indent-inhibit): New var.
7412 (electric-indent-post-self-insert-function): Use it.
7413 * progmodes/python.el (python-mode): Set it.
7415 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7418 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7420 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7421 (css-mode): Use electric-indent-chars.
7423 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7424 (font-lock-beg, font-lock-end): Move before first use.
7425 (nxml-mode): Use syntax-propertize-function.
7426 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7427 (nxml-extend-after-change-region): Remove.
7428 * nxml/xmltok.el: Use lexical-binding.
7429 (xmltok-save): Use `declare'.
7430 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7431 * nxml/nxml-util.el: Use lexical-binding.
7432 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7434 * nxml/nxml-ns.el: Use lexical-binding.
7435 (nxml-ns-save): Use `declare'.
7436 (nxml-ns-prefixes-for): Avoid add-to-list.
7437 * nxml/rng-match.el: Use lexical-binding.
7438 (rng--ipattern): Use cl-defstruct.
7439 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7440 (rng-cons-group-after, rng-subst-group-after)
7441 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7442 Use closures instead of `(lambda...).
7444 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7446 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7449 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7450 Use `tramp-handle-insert-file-contents'.
7451 (tramp-gvfs-handle-insert-file-contents): Remove function.
7453 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7454 Use `save-restriction' in order to keep markers.
7456 * net/trampver.el: Update release number.
7458 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7460 * progmodes/compile.el (compilation-parse-errors):
7461 Use compilation--put-prop.
7462 (compilation--ensure-parse): Check compilation-multiline.
7464 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7466 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7469 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7471 * progmodes/ruby-mode.el: Fix recently added tests.
7472 (ruby-smie-grammar): Add - and +.
7473 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7474 (ruby-smie--backward-id): New functions.
7475 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7476 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7479 2013-10-07 Leo Liu <sdl.web@gmail.com>
7481 * register.el (register-preview-delay)
7482 (register-preview-functions): New variables.
7483 (register-read-with-preview, register-preview)
7484 (register-describe-oneline): New functions.
7485 (point-to-register, window-configuration-to-register)
7486 (frame-configuration-to-register, jump-to-register)
7487 (number-to-register, view-register, insert-register)
7488 (copy-to-register, append-to-register, prepend-to-register)
7489 (copy-rectangle-to-register): Use register-read-with-preview to
7490 read register. (Bug#15525)
7492 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7494 * net/network-stream.el (network-stream-open-starttls): Don't add
7495 --insecure if it's already present, because that gnutls-cli
7496 rejects getting that parameter twice.
7498 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7500 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7503 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7505 * newcomment.el (comment-use-global-state): Change default value
7506 to t, mark obsolete (Bug#15251).
7507 (comment-beginning): In addition to `comment-to-syntax', check the
7508 value of `comment-use-global-state'.
7510 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7512 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7513 (ruby-comment-column): Follow the global default, by default.
7514 (ruby-smie-grammar): Add assignment syntax.
7515 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7516 open-paren, a comma, or a \.
7517 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7518 and line continuations.
7519 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7520 followed by implicit semi-colons. Add rule for string concatenation
7521 and for indentation at BOB.
7522 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7524 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7525 calling next-sexp, since next-token may have skipped chars which
7526 next-sexp doesn't know should be skipped!
7528 2013-10-05 Leo Liu <sdl.web@gmail.com>
7530 * progmodes/octave.el (octave-send-region):
7531 Call compilation-forget-errors.
7533 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7535 * vc/vc-svn.el (vc-svn-find-admin-dir):
7536 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7537 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7538 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7539 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7541 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7545 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7547 * subr.el (read-passwd): Hide chars even when called within a context
7548 where after-change-functions is disabled (bug#15501).
7549 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7550 until we removed ourself from overriding-terminal-local-map.
7552 2013-10-04 Leo Liu <sdl.web@gmail.com>
7554 * progmodes/octave.el (inferior-octave-mode):
7555 Call compilation-forget-errors.
7557 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7559 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7561 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7563 * net/secrets.el (secrets-create-collection): Add optional
7564 argument ALIAS. Use proper Label keyword. Append ALIAS as
7565 dbus-call-method argument. (Bug#15516)
7567 2013-10-04 Leo Liu <sdl.web@gmail.com>
7569 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7570 (inferior-octave-compilation-font-lock-keywords): New variables.
7571 (compilation-error-regexp-alist)
7572 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7573 (inferior-octave-mode): Use compilation-shell-minor-mode.
7575 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7577 * minibuffer.el (completion--replace): Be careful that `end' might be
7580 2013-10-03 Daiki Ueno <ueno@gnu.org>
7582 Add support for package signature checking.
7583 * emacs-lisp/package.el (url-http-file-exists-p)
7584 (epg-make-context, epg-context-set-home-directory)
7585 (epg-verify-string, epg-context-result-for)
7586 (epg-signature-status, epg-signature-to-string)
7587 (epg-check-configuration, epg-configuration)
7588 (epg-import-keys-from-file): Declare.
7589 (package-check-signature): New user option.
7590 (package-unsigned-archives): New user option.
7591 (package-desc): Add `signed' field.
7592 (package-load-descriptor): Set `signed' field if .signed file exists.
7593 (package--archive-file-exists-p): New function.
7594 (package--check-signature): New function.
7595 (package-install-from-archive): Check package signature.
7596 (package--download-one-archive): Check archive signature.
7597 (package-delete): Remove .signed file.
7598 (package-import-keyring): New command.
7599 (package-refresh-contents): Import default keyring.
7600 (package-desc-status): Add "unsigned" status.
7601 (describe-package-1, package-menu--print-info)
7602 (package-menu-mark-delete, package-menu--find-upgrades)
7603 (package-menu--status-predicate): Support "unsigned" status.
7605 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7607 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7608 the new compilation scheme using the new byte-codes.
7610 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7611 (byte-pophandler): New byte codes.
7612 (byte-goto-ops): Adjust accordingly.
7613 (byte-compile--use-old-handlers): New var.
7614 (byte-compile-catch): Use new byte codes depending on
7615 byte-compile--use-old-handlers.
7616 (byte-compile-condition-case--old): Rename from
7617 byte-compile-condition-case.
7618 (byte-compile-condition-case--new): New function.
7619 (byte-compile-condition-case): New function that dispatches depending
7620 on byte-compile--use-old-handlers.
7621 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7624 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7625 Optimize under `condition-case' and `catch' if
7626 byte-compile--use-old-handlers is nil.
7627 (disassemble-offset): Handle new bytecodes.
7629 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7631 * subr.el (error): Use `declare'.
7632 (decode-char, encode-char): Use advertised-calling-convention instead
7633 of the docstring to discourage use of the `restriction' arg.
7635 2013-10-03 Daiki Ueno <ueno@gnu.org>
7637 * epg.el (epg-verify-file): Add a comment saying that it does not
7638 notify verification error as a return value nor a signal.
7639 (epg-verify-string): Ditto.
7641 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7643 * progmodes/compile.el (compilation-start): Try globbing the arg to
7646 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7648 Sync with Tramp 2.2.8.
7650 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7651 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7652 * net/trampver.el: Update release number.
7654 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7656 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7657 and default-process-coding-system for darwin only.
7659 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7661 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7663 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7665 * vc/vc-git.el (vc-git-grep): Disable pager.
7667 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7669 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7670 Use :url instead of :homepage, as per
7671 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7673 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7674 non-nil, use `syntax-ppss' (Bug#15251).
7676 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7678 * progmodes/octave.el (inferior-octave-startup-file):
7679 Prefer ~/.emacs.d/init_octave.m.
7681 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7683 * emacs-lisp/package.el (package-desc-from-define):
7684 Accept additional arguments as plist, convert them to an alist and store
7685 them in the `extras' slot.
7686 (package-generate-description-file): Convert extras alist back to
7687 plist and append to the `define-package' form arguments.
7688 (package--alist-to-plist): New function.
7689 (package--ac-desc): Add `extras' slot.
7690 (package--add-to-archive-contents): Check if the archive-contents
7691 vector is long enough, and if it is, pass its `extras' slot value
7692 to `package-desc-create'.
7693 (package-buffer-info): Call `lm-homepage', pass the returned value
7694 to `package-desc-from-define'.
7695 (describe-package-1): Render the homepage button (Bug#13291).
7697 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7698 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7700 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7702 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7703 and default-process-coding-system to utf-8-unix (Bug#15402).
7705 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7707 * subr.el (looking-back): Do not recommend using looking-back.
7709 2013-09-28 Alan Mackenzie <acm@muc.de>
7711 Fix indentation/fontification of Java enum with "implements".
7713 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7714 regexp which matches "implements", etc., in Java.
7715 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7716 specifier clauses coming after "enum".
7717 * progmodes/cc-fonts.el (c-font-lock-declarations)
7718 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7721 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7723 * faces.el (region): Change ns_selection_color to
7724 ns_selection_fg_color, add ns_selection_bg_color.
7726 2013-09-28 Leo Liu <sdl.web@gmail.com>
7728 * progmodes/octave.el (inferior-octave-completion-table)
7729 (inferior-octave-completion-at-point): Minor tweaks.
7731 * textmodes/ispell.el (ispell-lookup-words): Rename from
7732 lookup-words. (Bug#15460)
7733 (lookup-words): Obsolete.
7734 (ispell-complete-word, ispell-command-loop): All uses changed.
7736 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7738 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7739 (octave-mode-menu): Add octave-send-buffer.
7740 (octave-send-buffer): New function.
7742 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7744 * progmodes/octave.el (octave-mode-map): Add key binding for
7746 (octave-mode-menu): Add octave-lookfor.
7747 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7749 (octave-lookfor): New function.
7751 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7754 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7756 (cl--loop-set-iterator-function): New function.
7757 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7758 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7759 Bind `it' with `let' instead of substituting it with `cl-subst'.
7760 (cl--unused-var-p): New function.
7761 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7762 Eliminate some unused variable warnings (bug#15326).
7764 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7766 * doc-view.el (doc-view-scale-reset): Rename from
7767 `doc-view-reset-zoom-level'.
7768 (doc-view-scale-adjust): New command.
7769 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7770 `doc-view-scale-adjust'.
7772 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7774 * doc-view.el (doc-view-reset-zoom-level): New command.
7775 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7776 zoom commands (bug#15466).
7778 2013-09-26 Kenichi Handa <handa@gnu.org>
7780 * international/quail.el (quail-help): Make it not a command.
7782 2013-09-26 Leo Liu <sdl.web@gmail.com>
7784 * minibuffer.el (completion-all-sorted-completions): Make args
7785 optional as they are.
7787 2013-09-25 Daniel Colascione <dancol@dancol.org>
7789 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7790 specs are and that they're not evaluated.
7792 2013-09-24 Sam Steingold <sds@gnu.org>
7794 * midnight.el (clean-buffer-list-kill-regexps)
7795 (clean-buffer-list-kill-buffer-names): Update for the new Man
7796 buffer naming which includes the object name.
7798 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7801 (eshell-parse-command, eshell-parse-pipeline): Use it since
7802 eshell-separate-commands requires a dynamic scoped var.
7803 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7805 2013-09-23 Leo Liu <sdl.web@gmail.com>
7807 * autoinsert.el (auto-insert-alist): Make the value of
7808 lexical-binding match its file setting.
7810 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7812 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7814 * autoarg.el (autoarg-kp-digit-argument):
7815 * electric.el (Electric-command-loop):
7816 * kmacro.el (kmacro-step-edit-insert):
7817 Do not set universal-argument-num-events.
7819 2013-09-22 Leo Liu <sdl.web@gmail.com>
7821 * files.el (interpreter-mode-alist): Add octave.
7823 2013-09-21 Alan Mackenzie <acm@muc.de>
7825 C++: fontify identifier in declaration following "public:" correctly.
7826 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7827 to match "public", etc.
7828 (c-decl-prefix-re): Add ":" into the C++ value.
7829 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7830 bit. Add a check for a ":" preceded by "public", etc.
7832 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7834 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7835 recognized by GDB 7.5 and later.
7837 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7839 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7841 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7843 * subr.el (internal--call-interactively): New const.
7844 (called-interactively-p): Use it (bug#3984).
7846 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7848 * vc/pcvs.el (cvs-mode-ignore):
7849 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7850 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7852 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7854 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7855 (eshell-ls-orig-insert-directory): Remove.
7856 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7857 (eshell-ls-use-in-dired): Use advice-add/remove.
7858 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7859 Add `orig-fun' arg for use in :around advice.
7860 Make it check (redundantly) eshell-ls-use-in-dired.
7862 2013-09-19 Glenn Morris <rgm@gnu.org>
7864 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7866 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7868 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7870 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7872 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7873 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7874 (tramp-get-remote-python): New defuns.
7875 (tramp-get-remote-uid-with-perl)
7876 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7877 contributed by yary <not.com@gmail.com> (tiny change).
7878 (tramp-get-remote-uid-with-python)
7879 (tramp-get-remote-gid-with-python): New defuns. Python code
7880 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7881 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7883 2013-09-19 Glenn Morris <rgm@gnu.org>
7885 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7887 * eshell/em-unix.el (eshell-remove-entries):
7888 Rename argument to avoid name-clash with global `top-level'.
7890 * eshell/esh-proc.el (eshell-kill-process-function):
7891 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7892 (eshell-reset-after-proc): Remove unused arg `proc'.
7894 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7895 (directory-files-and-attributes): Mark unused arg.
7897 * eshell/em-unix.el (eshell-remove-entries):
7898 Remove unused arg `path'. Update callers.
7900 * eshell/em-hist.el (eshell-hist-parse-arguments):
7901 Remove unused arg `silent'. Update callers.
7903 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7904 Fix (f)boundp mix-up.
7906 * eshell/em-smart.el (eshell-smart-scroll-window)
7907 (eshell-disable-after-change):
7908 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7910 2013-09-18 Alan Mackenzie <acm@muc.de>
7912 Fix fontification of type when followed by "const".
7913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7914 "known" types from fontification.
7916 2013-09-18 Glenn Morris <rgm@gnu.org>
7918 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7919 (chart-face-list): Drop Emacsen without display-color-p.
7921 * net/eww.el (libxml-parse-html-region): Declare.
7922 (eww-display-html): Explicit error if no libxml2 support.
7924 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7926 * image.el (image-type-from-buffer, image-multi-frame-p):
7927 Remove --without-x warning/error.
7929 * mouse.el (mouse-yank-primary):
7930 * term.el (term-mouse-paste):
7931 Reorder to silence --without-x compilation.
7933 * mpc.el (doc-view-mode): Silence --without-x compilation.
7935 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7936 Silence --without-x compilation.
7938 * progmodes/gud.el (gud-find-file, gud-mode):
7939 Silence --without-x compilation.
7940 (tooltip-mode): Declare.
7942 * wdired.el (dired-backup-overwrite): Remove declaration.
7943 (wdired-mode-map): Add doc string.
7945 * custom.el (x-get-resource): Declare.
7947 * eshell/em-glob.el (ange-cache):
7948 * eshell/em-unix.el (ange-cache): Declare.
7950 * faces.el (x-display-list, x-open-connection, x-get-resource):
7953 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7954 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7957 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7959 * net/gnutls.el (gnutls-log-level): Declare.
7961 * net/shr.el (image-size, image-animate): Declare.
7963 * simple.el (font-info): Declare.
7965 * subr.el (x-popup-dialog): Declare.
7967 * term/common-win.el (x-select-enable-primary)
7968 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7971 * term/ns-win.el (x-handle-args): Declare.
7973 * term/x-win.el (x-select-enable-clipboard): Declare.
7975 * term/w32-win.el (create-default-fontset): Declare.
7977 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7980 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7981 (fit-frame-to-buffer): Explicit error if --without-x.
7982 (mouse-autoselect-window-select): Silence compiler.
7984 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7986 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7987 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7988 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7989 * eshell/esh-util.el (eshell-sublist):
7990 Remove unused local variables.
7992 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7994 * textmodes/two-column.el: Make 2C-split work for --without-x.
7995 (scroll-bar-columns): Autoload.
7996 (top-level): Require fringe when compiling.
7998 2013-09-18 Leo Liu <sdl.web@gmail.com>
8000 * subr.el (add-hook): Robustify to handle closure as well.
8002 2013-09-17 Glenn Morris <rgm@gnu.org>
8004 * simple.el (messages-buffer-mode-map): Unbind "g".
8006 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8008 * help-mode.el (help-mode-finish): Use derived-mode-p.
8009 Remove obsolete highlighting.
8011 * play/life.el (life-mode): Use define-derived-mode. Derive from
8013 (life): Let-bind inhibit-read-only.
8014 (life-setup): Avoid `setq'. Use `life-mode'.
8016 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8017 which should not be needed any more.
8018 (package-menu-refresh, package-menu-describe-package): Use user-error.
8020 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8021 (eshell-post-rewrite-command-hook): Make obsolete.
8022 (eshell-parse-command): Simplify.
8023 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8024 (eshell--cmd): Declare.
8025 (eshell-parse-pipeline): Remove unused var `final-p'.
8026 Pass a dynvar to eshell-post-rewrite-command-hook.
8027 Implement the new eshell-post-rewrite-command-function.
8028 (eshell-invoke-directly): Remove unused arg `input'.
8029 * eshell/esh-io.el (eshell-io-initialize):
8030 Use eshell-post-rewrite-command-function (bug#15399).
8031 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8032 adjust to new calling convention.
8033 (eshell-create-handles): Rename args to avoid clashing with dynvar
8036 2013-09-17 Glenn Morris <rgm@gnu.org>
8038 * simple.el (messages-buffer-mode): New major mode.
8039 (messages-buffer): New function.
8040 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8041 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8042 (ert-run-test): Use `messages-buffer' function.
8043 (ert--force-message-log-buffer-truncation): Ignore read-only.
8044 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8045 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8047 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8049 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8051 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8053 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8055 * icomplete.el (icomplete-in-buffer): New var.
8056 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8057 vars and replace them with functions.
8058 (icomplete-minibuffer-setup): Adjust accordingly.
8059 (icomplete--completion-table, icomplete--completion-predicate)
8060 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8062 (icomplete-forward-completions, icomplete-backward-completions)
8063 (icomplete-simple-completing-p, icomplete-exhibit)
8064 (icomplete-completions): Use them.
8065 (icomplete--in-region-buffer): New var.
8066 (icomplete--in-region-setup): New function.
8067 (icomplete-mode): Use it.
8069 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8071 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8072 return args and options.
8073 (eshell-eval-using-options): Use the new return value of
8074 eshell--do-opts to set the options's vars in their scope.
8075 (eshell--set-option): Rename from eshell-set-option.
8077 (eshell--process-option): Rename from eshell-process-option.
8079 (eshell--process-args): Use an `opt-vals' alist to store the options's
8080 values during their processing and return them additionally to the
8083 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8085 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8086 continuation character an operator, as far as indentation is
8087 concerned (Bug#15369).
8089 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8091 * window.el (window--state-put-2): Don't process buffer state
8092 when buffer doesn't exist any more (Bug#15382).
8094 2013-09-15 Glenn Morris <rgm@gnu.org>
8096 * eshell/em-unix.el (eshell/rm):
8097 Make -f ignore missing files. (Bug#15373)
8099 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8100 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8101 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8103 2013-09-14 Glenn Morris <rgm@gnu.org>
8105 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8107 2013-09-13 Glenn Morris <rgm@gnu.org>
8109 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8110 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8112 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8114 * frame.el (x-focus-frame): Mark as declared in frame.c.
8116 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8118 * ls-lisp.el: Use advice-add.
8119 (original-insert-directory): Remove.
8120 (ls-lisp--insert-directory): Rename from insert-directory; add
8121 `orig-fun' argument.
8122 (insert-directory): Advise.
8124 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8126 * term.el (term-emulate-terminal): Decode the command string
8127 before passing it to term-command-hook. (Bug#15337)
8129 2013-09-13 Glenn Morris <rgm@gnu.org>
8131 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8133 * eshell/esh-ext.el (eshell-search-path): Declare.
8135 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8136 Otherwise an error occurs if eshell-dirs module not loaded.
8138 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8140 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8142 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8143 `tramp-check-proper-host'. Check for a valid method name.
8145 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8146 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8147 * net/tramp-sh.el (tramp-maybe-open-connection):
8148 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8150 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8151 also for hash values.
8153 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8155 * term/ns-win.el (parameters): Don't declare as dynamic.
8156 (before-make-frame-hook): Don't add ineffective function.
8158 * eshell/*.el: Use lexical-binding (bug#15231).
8160 2013-09-12 Kenichi Handa <handa@gnu.org>
8162 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8164 2013-09-12 Glenn Morris <rgm@gnu.org>
8166 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8167 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8169 * subr.el (do-after-load-evaluation): Also give compiler warnings
8170 when obsolete files are used (except by obsolete files).
8172 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8173 in the status output, assume `filename' is the first. (Bug#15322)
8175 * vc/vc.el (vc-deduce-fileset): Doc fix.
8177 * calc/calc-help.el (Info-goto-node):
8178 * progmodes/cperl-mode.el (Info-find-node):
8179 * vc/ediff.el (Info-goto-node): Update declarations.
8181 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8183 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8184 (vc-bzr-pull): Require vc-dispatcher.
8185 * vc/vc-git.el (vc-compilation-mode): Declare.
8186 (vc-git-pull): Require vc-dispatcher.
8188 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8190 * progmodes/octave.el (help-button-action): Declare.
8192 * shell.el (shell-directory-tracker): Output error as a message
8193 rather than just returning it as a string.
8194 (shell-process-pushd): Remove useless use of message.
8196 * dframe.el (dframe-timer-fn):
8197 * files.el (dir-locals-read-from-file):
8198 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8200 * reveal.el (reveal-post-command):
8201 * saveplace.el (load-save-place-alist-from-file):
8202 * shell.el (shell-resync-dirs):
8203 * w32-common-fns.el (x-get-selection-value):
8204 * emacs-lisp/copyright.el (copyright-find-copyright):
8205 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8206 * emulation/tpu-edt.el (tpu-copy-keyfile):
8207 * play/bubbles.el (bubbles--mark-neighbourhood):
8208 * progmodes/executable.el
8209 (executable-make-buffer-file-executable-if-script-p):
8210 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8212 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8214 Cleanup Eshell to rely less on dynamic scoping.
8215 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8216 last-value, and ext-command here. Bind `args' closer to `body'.
8217 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8218 (eshell--args): Declare new dynamic var.
8219 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8220 last-value, and ext-command. Pass `args' to `body'.
8221 (eshell-process-args): Bind eshell--args.
8222 (eshell-set-option): Use eshell--args.
8223 * eshell/eshell.el (eshell): Use derived-mode-p.
8224 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8225 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8226 (eshell-glob-function): Declare.
8227 * eshell/esh-util.el: Require cl-lib.
8228 (eshell-read-hosts-file): Avoid add-to-list.
8229 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8231 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8233 (eshell/diff): Remove unused var `err'.
8234 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8236 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8237 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8239 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8240 Move declaration before first use.
8241 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8242 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8245 2013-09-12 Glenn Morris <rgm@gnu.org>
8247 * term/ns-win.el (global-map): Remove binding for ispell-next,
8248 deleted 1999-05-29. (Bug#15357)
8250 2013-09-11 Glenn Morris <rgm@gnu.org>
8252 * echistory.el (electric-command-history): Remove call to deleted func.
8254 * play/landmark.el (landmark-mode): Fix typos.
8256 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8257 Check cvs-sort-ignore-file is bound.
8259 * savehist.el: No need for cl when compiling on Emacs.
8261 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8263 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8265 (eshell-self-insert-command, eshell-send-invisible):
8266 Remove unused argument.
8267 (eshell-handle-control-codes): Remove unused var `orig'.
8268 Avoid delete-backward-char.
8270 * files.el (set-auto-mode): Simplify a bit further.
8272 2013-09-11 Glenn Morris <rgm@gnu.org>
8274 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8275 (set-auto-mode): Don't regexp-quote elements.
8276 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8277 * progmodes/cc-mode.el (interpreter-mode-alist):
8278 * progmodes/ruby-mode.el (interpreter-mode-alist):
8279 Revert previous change.
8281 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8283 * play/snake.el (snake-mode):
8284 * play/mpuz.el (mpuz-mode):
8285 * play/landmark.el (lm-mode):
8286 * play/blackbox.el (blackbox-mode):
8287 * play/5x5.el (5x5-mode):
8288 * obsolete/options.el (Edit-options-mode):
8289 * net/quickurl.el (quickurl-list-mode):
8290 * net/newst-treeview.el (newsticker-treeview-mode):
8291 * mail/rmailsum.el (rmail-summary-mode):
8292 * mail/mspools.el (mspools-mode):
8293 * locate.el (locate-mode):
8294 * ibuffer.el (ibuffer-mode):
8295 * emulation/ws-mode.el (wordstar-mode):
8296 * emacs-lisp/debug.el (debugger-mode):
8297 * array.el (array-mode):
8298 * net/eudc.el (eudc-mode): Use define-derived-mode.
8299 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8300 Move initialization into declaration.
8301 (mairix-searches-mode): Use define-derived-mode.
8302 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8303 (eudc-edit-hotlist): Use dolist.
8304 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8305 (Man-mode): Use define-derived-mode.
8306 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8307 (Info-edit-mode): Use define-derived-mode.
8308 (Info-cease-edit): Use Info-mode.
8309 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8311 (eshell-mode): Use define-derived-mode.
8312 * chistory.el (command-history-mode-map): Rename from
8313 command-history-map.
8314 (command-history-mode): Use define-derived-mode.
8315 (Command-history-setup): Remove function.
8316 * calc/calc.el (calc-trail-mode-map): New var.
8317 (calc-trail-mode): Use define-derived-mode.
8318 (calc-trail-buffer): Set calc-main-buffer manually.
8319 * bookmark.el (bookmark-insert-annotation): New function.
8320 (bookmark-edit-annotation): Use it.
8321 (bookmark-edit-annotation-mode): Make it a proper major mode.
8322 (bookmark-send-edited-annotation): Use derived-mode-p.
8323 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8324 closer to its ideal place. Use \' to match EOS.
8326 * profiler.el (profiler-calltree-find): Use function-equal.
8328 2013-09-10 Glenn Morris <rgm@gnu.org>
8330 * files.el (interpreter-mode-alist): Convert to regexps.
8331 (set-auto-mode): Adapt for this. (Bug#15306)
8332 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8333 Comment out unused variable.
8334 * progmodes/cc-mode.el (interpreter-mode-alist):
8335 * progmodes/python.el (interpreter-mode-alist):
8336 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8337 * progmodes/sh-script.el (sh-set-shell):
8338 No longer use interpreter-mode-alist to get list of shells.
8340 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8342 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * simple.el: Use set-temporary-overlay-map for universal-argument.
8345 (universal-argument-map): Don't use default-bindings (bug#15317).
8346 Bind switch-frame explicitly. Replace universal-argument-minus with
8347 a conditional binding.
8348 (universal-argument-num-events, saved-overriding-map): Remove.
8349 (restore-overriding-map): Remove.
8350 (universal-argument--mode): Rename from save&set-overriding-map,
8352 (universal-argument, universal-argument-more, negative-argument)
8353 (digit-argument): Adjust accordingly.
8354 (universal-argument-minus): Remove.
8355 (universal-argument-other-key): Remove.
8357 * subr.el (with-demoted-errors): Add `format' argument.
8359 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8361 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8362 `tramp-cleanup-connection'.
8364 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8365 parameters KEEP-DEBUG and KEEP-PASSWORD.
8367 * net/tramp.el (tramp-file-name-handler):
8368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8369 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8370 (tramp-maybe-open-connection):
8371 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8372 Use `tramp-cleanup-connection'.
8374 * net/tramp-sh.el (tramp-maybe-open-connection):
8375 Catch 'uname-changed inside the progress reporter.
8377 2013-09-10 Glenn Morris <rgm@gnu.org>
8379 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8381 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8382 returns "alternate access method" in mode (eg "-rw-r--r--.").
8384 2013-09-08 Glenn Morris <rgm@gnu.org>
8386 * saveplace.el (load-save-place-alist-from-file):
8387 Demote errors. (Bug#15305)
8389 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8391 Improve compatibility with older Emacsen, and XEmacs.
8393 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8394 only if it is bound. It isn't for XEmacs.
8395 (with-tramp-progress-reporter): Do not let-bind `result'.
8396 This yields to scoping errors in XEmacs.
8397 (tramp-handle-make-auto-save-file-name): New function, moved from
8400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8401 for `make-auto-save-file-name'.
8402 (tramp-adb--gnu-switches-to-ash):
8403 Use `tramp-compat-replace-regexp-in-string'.
8405 * net/tramp-cache.el (tramp-cache-print): Call
8406 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8408 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8409 bound. It isn't for XEmacs.
8411 * net/tramp-compat.el (tramp-compat-copy-file):
8412 Catch `wrong-number-of-arguments' error.
8413 (tramp-compat-replace-regexp-in-string): New defun.
8415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8416 for `make-auto-save-file-name'.
8417 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8419 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8420 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8421 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8423 * net/tramp-gw.el (tramp-gw-open-network-stream):
8424 Use `tramp-compat-replace-regexp-in-string'.
8426 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8427 Call `tramp-handle-make-auto-save-file-name'.
8428 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8429 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8430 (tramp-sh-file-inotifywait-process-filter):
8431 Use `tramp-compat-replace-regexp-in-string'.
8432 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8434 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8435 for `make-auto-save-file-name'.
8436 (tramp-smb-handle-copy-directory):
8437 Call `tramp-compat-replace-regexp-in-string'.
8438 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8439 (tramp-smb-handle-copy-file): Improve error message.
8440 (tramp-smb-handle-rename-file): Rename directly only in case
8441 `newname' does not exist yet. This is a restriction of smbclient.
8442 (tramp-smb-maybe-open-connection): Rerun the function only when
8443 `auth-sources' is non-nil.
8445 2013-09-08 Kenichi Handa <handa@gnu.org>
8447 * international/characters.el: Set category "^" (Combining) for
8450 2013-09-07 Alan Mackenzie <acm@muc.de>
8452 Correctly fontify Java class constructors.
8453 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8455 (c-recognize-typeless-decls): Set the Java value to t.
8456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8457 While handling a "(", add a check for, effectively, Java, and handle a
8458 "typeless" declaration there.
8460 2013-09-07 Roland Winkler <winkler@gnu.org>
8462 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8463 field subtitle for entry type book.
8465 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * minibuffer.el: Make minibuffer-complete call completion-in-region
8468 rather than other way around.
8469 (completion--some, completion-pcm--find-all-completions):
8470 Don't delay signals when debugging.
8471 (minibuffer-completion-contents): Beware fields within the
8472 minibuffer contents.
8473 (completion-all-sorted-completions): Use defvar-local.
8474 (completion--do-completion, completion--cache-all-sorted-completions)
8475 (completion-all-sorted-completions, minibuffer-force-complete):
8476 Add args `beg' and `end'.
8477 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8478 (minibuffer-complete): Use completion-in-region.
8479 (completion-complete-and-exit): New fun, extracted from
8480 minibuffer-complete-and-exit.
8481 (minibuffer-complete-and-exit): Use it.
8482 (completion--complete-and-exit): Rename from
8483 minibuffer--complete-and-exit.
8484 (completion-in-region--single-word): New function, extracted from
8485 minibuffer-complete-word.
8486 (minibuffer-complete-word): Use it.
8487 (display-completion-list): Make `common-substring' argument obsolete.
8488 (completion--in-region): Call completion--in-region-1 instead of
8489 minibuffer-complete.
8490 (completion-help-at-point): Pass boundaries to
8491 minibuffer-completion-help as args rather than via an overlay.
8492 (completion-pcm--string->pattern): Use `any-delim'.
8493 (completion-pcm--optimize-pattern): New function.
8494 (completion-pcm--pattern->regex): Handle `any-delim'.
8495 * icomplete.el (icomplete-forward-completions)
8496 (icomplete-backward-completions, icomplete-completions):
8497 Adjust calls to completion-all-sorted-completions and
8498 completion--cache-all-sorted-completions.
8499 (icomplete-with-completion-tables): Default to t.
8500 * emacs-lisp/crm.el (crm--current-element): Rename from
8501 crm--select-current-element. Don't put an overlay but return the
8503 (crm--completion-command): Take two new args to bind to the boundaries.
8504 (crm-completion-help): Adjust accordingly.
8505 (crm-complete): Use completion-in-region.
8506 (crm-complete-word): Use completion-in-region--single-word.
8507 (crm-complete-and-exit): Use completion-complete-and-exit.
8509 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8511 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8514 2013-09-06 Juri Linkov <juri@jurta.org>
8516 * info.el (Info-display-images-node): When image file doesn't exist
8517 display text version of the image if it's provided in the Info file.
8518 Otherwise, display the location of missing image from SRC attribute.
8519 Add help-echo text property from ALT attribute. (Bug#15279)
8521 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8523 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8524 (edit-abbrevs-mode): Use define-derived-mode.
8526 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8527 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8529 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8530 Use define-derived-mode.
8532 * epg.el (epg-start-encrypt): Minor CSE simplification.
8534 2013-09-06 William Xu <william.xwl@gmail.com>
8536 * arc-mode.el: Add support for 7za (bug#15264).
8537 (archive-7z-program): New var.
8538 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8539 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8540 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8542 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8546 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8547 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8548 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8549 (tramp-postfix-host-format, tramp-file-name-regexp)
8550 (tramp-completion-file-name-regexp)
8551 (tramp-completion-dissect-file-name)
8552 (tramp-handle-substitute-in-file-name): Remove 'url case.
8553 (tramp-file-name-regexp-url)
8554 (tramp-completion-file-name-regexp-url): Remove constants.
8556 2013-09-06 Glenn Morris <rgm@gnu.org>
8558 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8560 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8562 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8563 keywords" below "here-doc beginnings" (Bug#15270).
8565 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8567 * subr.el (pop): Use `car-safe'.
8568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8569 to detect unused `pop' return value.
8571 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8573 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8574 (python-fill-string): Remove unused var `marker'.
8575 (python-skeleton-add-menu-items): Remove unused var `items'.
8577 * international/mule-cmds.el: Require CL.
8578 (find-coding-systems-for-charsets): Avoid add-to-list.
8579 (sanitize-coding-system-list): New function, extracted from
8580 select-safe-coding-system-interactively.
8581 (select-safe-coding-system-interactively): Use it.
8582 (read-input-method-name): Accept symbols for `default'.
8584 * emacs-lisp/advice.el (defadvice): Add indent rule.
8586 2013-09-05 Daniel Hackney <dan@haxney.org>
8590 * net/browse-url.el:
8593 * net/eudcb-ldap.el:
8606 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8607 byte compiler. Remove some unused let-bound variables.
8609 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8611 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8612 a "ref-cell", since it gets better optimized (bug#14883).
8614 2013-09-05 Glenn Morris <rgm@gnu.org>
8616 * progmodes/cc-awk.el (c-forward-sws): Declare.
8618 2013-09-04 Glenn Morris <rgm@gnu.org>
8620 * generic-x.el [rul-generic-mode]: Require cc-mode.
8621 (c++-mode-syntax-table): Declare.
8622 (rul-generic-mode-syntax-table): Init in the defvar.
8624 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8626 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8627 (vc-do-command, vc-set-async-update):
8628 * vc/vc-mtn.el (vc-mtn-dir-status):
8629 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8630 (vc-hg-pull, vc-hg-merge-branch):
8631 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8632 (vc-git-merge-branch):
8633 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8634 (vc-cvs-dir-status-files):
8635 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8636 (vc-bzr-dir-status-files):
8637 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8638 * vc/vc-annotate.el: Use lexical-binding.
8639 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8640 (vc-sentinel-movepoint): Declare.
8641 (vc-annotate): Don't use `goto-line'.
8642 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8643 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8644 (vc-sentinel-movepoint): Declare.
8645 * vc/vc-svn.el: Use lexical-binding.
8646 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8648 * vc/vc-rcs.el: Use lexical-binding.
8650 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8651 `deleted'. Don't drop errors silently.
8653 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8655 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8657 * vc/vc.el (vc-ignore): Rewrite.
8658 (vc-default-ignore): New function.
8659 (vc-default-ignore-completion-table): Use find-ignore-file.
8661 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8662 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8663 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8664 Remove. Most code moved to vc.el.
8666 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8669 * net/tramp-smb.el (tramp-smb-get-file-entries):
8670 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8671 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8673 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8675 (eww-change-select): Remove unused var `properties'.
8676 (eww-make-unique-file-name): Remove unused var `base'.
8678 * finder.el (finder-compile-keywords): Don't mess with windows.
8680 * calculator.el (calculator-funcall): Fix typo in last change.
8682 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8684 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8685 <pkg>-autoloads.el file stop us.
8687 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8688 warnings, and factor out common code.
8690 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8692 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8693 two-character operators and whether the character preceding them
8694 changes their meaning (Bug#15208).
8696 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8698 Format code sent to Python shell for robustness.
8699 * progmodes/python.el (python-shell-buffer-substring):
8701 (python-shell-send-region, python-shell-send-buffer): Use it.
8703 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8705 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8706 * net/tramp.el (tramp-user-error): ... here.
8707 (tramp-find-method, tramp-check-proper-host)
8708 (tramp-dissect-file-name, tramp-debug-message)
8709 (tramp-handle-shell-command):
8710 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8711 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8713 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8715 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8717 * avoid.el (mouse-avoidance-point-position)
8718 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8721 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8723 * progmodes/python.el (python-shell-completion-get-completions):
8724 Drop use of deleted `comint-last-prompt-overlay'.
8725 (python-nav-if-name-main): New command.
8727 2013-09-01 Glenn Morris <rgm@gnu.org>
8729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8730 Avoid leading space in $wins. Otherwise the sed command used by
8731 eg compile-main ends up containing "/*.el". (Bug#15170)
8733 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8735 2013-08-30 Glenn Morris <rgm@gnu.org>
8737 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8738 Fix is-this-a-directory logic. (Bug#15220)
8740 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * textmodes/css-mode.el: Use SMIE.
8743 (css-smie-grammar): New var.
8744 (css-smie--forward-token, css-smie--backward-token)
8745 (css-smie-rules): New functions.
8746 (css-mode): Use them.
8747 (css-navigation-syntax-table): Remove var.
8748 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8749 (css-indent-calculate, css-indent-line): Remove functions.
8751 Misc changes to reduce use of `(lambda...); and other cleanups.
8752 * cus-edit.el: Use lexical-binding.
8753 (customize-push-and-save, customize-apropos)
8754 (custom-buffer-create-internal): Use closures.
8755 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8756 * progmodes/ada-xref.el: Use setq.
8757 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8758 * dframe.el: Use lexical-binding.
8759 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8760 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8761 * descr-text.el: Use lexical-binding.
8762 (describe-text-widget, describe-text-sexp, describe-property-list):
8764 * comint.el (comint-history-isearch-push-state): Use a closure.
8765 * calculator.el: Use lexical-binding.
8766 (calculator-number-to-string): Make it work with lexical-binding.
8767 (calculator-funcall): Same and use cl-letf.
8769 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8770 (lisp--company-doc-string, lisp--company-location): New functions.
8771 (lisp-completion-at-point): Use them to improve Company support.
8773 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8774 params of lambda expressions.
8775 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8776 (ruby-smie--opening-pipe-p): New function.
8777 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8778 symbols and matched |...| for formal params.
8779 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8780 from being treated as hanging. Handle "rescue".
8782 2013-08-29 Glenn Morris <rgm@gnu.org>
8784 * progmodes/cc-engine.el (c-pull-open-brace):
8785 Move definition before use.
8787 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8790 are immutable. Don't use `unsafe' any more.
8791 (cl--defsubst-expand): Don't substitute at the same time as keeping
8792 a residual unused let-binding. Don't use `unsafe' any more.
8794 2013-08-29 Glenn Morris <rgm@gnu.org>
8796 * calendar/cal-china.el (calendar-chinese-year-cache):
8799 * nxml/nxml-util.el (nxml-debug-clear-inside):
8800 Use cl-loop rather than loop.
8802 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8804 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8806 2013-08-28 Glenn Morris <rgm@gnu.org>
8808 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8810 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8812 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8814 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8816 * simple.el (repeat-complex-command--called-interactively-skip):
8818 (repeat-complex-command): Use it (bug#14136).
8820 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8821 (c-define-abbrev-table): Add `doc' argument.
8822 (c-mode-abbrev-table, c++-mode-abbrev-table)
8823 (objc-mode-abbrev-table, java-mode-abbrev-table)
8824 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8825 (awk-mode-abbrev-table): Use it.
8826 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8827 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8828 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8829 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8830 Move initialization into the declaration; and remove any
8833 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8834 and dynamic let binding.
8836 * vc/smerge-mode.el: Remove redundant :group args.
8838 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8841 2013-08-28 Juri Linkov <juri@jurta.org>
8843 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8844 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8845 (isearch-other-meta-char): Handle an undefined shifted printing
8846 character by downshifting it. (Bug#15200)
8848 2013-08-28 Juri Linkov <juri@jurta.org>
8850 * isearch.el (isearch-search): Change regexp error message for
8851 non-regexp searches. (Bug#15166)
8853 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8855 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8856 for portability to hosts where /bin/sh has problems.
8858 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8862 2013-08-27 Juri Linkov <juri@jurta.org>
8864 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8865 in the keyboard macro. (Bug#15126)
8867 2013-08-27 Juri Linkov <juri@jurta.org>
8869 * isearch.el (isearch-quote-char): Comment out converting unibyte
8870 to multibyte, thus syncing with its `quoted-insert' counterpart.
8873 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8875 * window.el (display-buffer-use-some-window): Add missing
8876 argument in call of get-largest-window (Bug#15185).
8877 Reported by Stephen Leake.
8879 2013-08-27 Glenn Morris <rgm@gnu.org>
8881 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8883 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8886 from a matcher-function unless there's no more matches (bug#15161).
8888 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8890 * minibuffer.el: Revert change from 2013-08-20.
8892 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8893 with text property `tramp-default', if appropriate.
8894 (tramp-check-proper-host): New defun.
8895 (tramp-dissect-file-name): Do not check hostname. Revert change
8897 (tramp-backtrace): Make VEC-OR-PROC optional.
8899 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8900 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8901 * net/tramp-sh.el (tramp-maybe-open-connection):
8902 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8903 Apply `tramp-check-proper-host'.
8905 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8907 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8908 lambda expression in order to have `describe-variable' display it.
8910 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8912 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8913 BUF can be optional. (Bug#15186)
8915 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8917 * progmodes/flymake.el (flymake-get-real-file-name-function):
8918 Fix broken customization. (Bug#15184)
8920 2013-08-25 Alan Mackenzie <acm@muc.de>
8922 Improve indentation of bracelists defined by macros (without "=").
8924 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8925 expansion begins with "{", regard it as bracelist when it doesn't
8928 Parse C++ inher-intro when there's a template split over 2 lines.
8930 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8931 rigorously the search for "class" etc. followed by ":".
8933 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8934 random languages a regexp which never matches rather than nil.
8936 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8938 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8939 (c-awk-regexp-one-line-possibly-open-char-list-re)
8940 (c-awk-one-line-possibly-open-regexp-re)
8941 (c-awk-one-line-non-syn-ws*-re): Remove.
8942 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8943 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8944 (c-awk-space*-unclosed-regexp-/-re): New constants.
8945 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8946 aren't regexp delimiters.
8948 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8949 handling for a rare situation in AWK Mode involving unterminated
8952 2013-08-23 Glenn Morris <rgm@gnu.org>
8954 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8956 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8958 * files.el (create-file-buffer): If the result would begin with
8959 spaces, prepend a "|" instead of removing them. (Bug#15162)
8961 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8963 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8964 text-properties (bug#15155).
8966 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8968 (calc-keypad-redraw): Remove unused var `pad'.
8969 (calc-keypad-press): Remove unused var `menu'.
8971 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8973 * window.el (display-buffer-pop-up-frame):
8974 Call pop-up-frame-function with BUFFER current so `make-frame' will
8975 use it as the new frame's buffer (Bug#15133).
8977 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * calendar/timeclock.el: Minor cleanups.
8980 (timeclock-ask-before-exiting, timeclock-use-display-time):
8982 (timeclock-modeline-display): Define as alias before the
8984 (timeclock-mode-line-display): Use define-minor-mode.
8985 (timeclock-day-list-template): Make it a function, add an argument.
8986 (timeclock-day-list-required, timeclock-day-list-length)
8987 (timeclock-day-list-debt, timeclock-day-list-span)
8988 (timeclock-day-list-break): Adjust calls accordingly.
8990 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8992 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8993 Use read--expression so that completion works again.
8995 2013-08-21 Sam Steingold <sds@gnu.org>
8997 Add rudimentary inferior shell interaction
8998 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8999 (sh-set-shell): Reset it.
9000 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9001 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9003 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9005 * align.el: Use lexical-binding.
9006 (align-region): Simplify accordingly.
9008 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9010 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9012 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9015 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9019 * net/tramp-cmds.el:
9021 * net/tramp-gvfs.el:
9023 * net/tramp-sh.el: Don't wrap external variable declarations by
9024 `eval-when-compile'.
9026 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9028 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9029 now that Emacs supports ImageMagick animations.
9031 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9033 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9034 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9036 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9038 * window.el (mouse-autoselect-window-select): Do autoselect when
9039 mouse pointer is on margin.
9041 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9043 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9045 2013-08-16 Glenn Morris <rgm@gnu.org>
9047 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9048 Handle "Remote Directory" response of some clients. (Bug#15058)
9050 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9051 Tweak warning. (Bug#14926)
9053 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9054 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9056 * image-mode.el (image-mode-map): Add menu items to reverse,
9057 increase, decrease, reset animation speed.
9058 (image--set-speed, image-increase-speed, image-decrease-speed)
9059 (image-reverse-speed, image-reset-speed): New functions.
9060 (image-mode-map): Add bindings for speed commands.
9062 * image.el (image-animate-get-speed, image-animate-set-speed):
9064 (image-animate-timeout): Respect image :speed property.
9066 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9068 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9069 previous line (bug#15101).
9070 (debugger-eval-expression, debugger-record-expression):
9071 Use read--expression (bug#15102).
9073 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9075 Remove byte compiler warnings, visible when compiling with
9076 `byte-compile-force-lexical-warnings' set to t.
9078 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9079 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9080 (tramp-handle-unhandled-file-name-directory)
9081 (tramp-handle-file-notify-add-watch, tramp-action-login)
9082 (tramp-action-succeed, tramp-action-permission-denied)
9083 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9086 * net/tramp-adb.el (tramp-adb-parse-device-names)
9087 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9088 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9089 (tramp-adb-handle-file-truename): Remove unused arguments.
9091 * net/tramp-cache.el (tramp-flush-directory-property)
9092 (tramp-flush-connection-property, tramp-list-connections)
9093 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9095 * net/tramp-compat.el (tramp-compat-make-temp-file):
9096 Rename FILENAME to F.
9098 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9099 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9100 (tramp-zeroconf-parse-workstation-device-names)
9101 (tramp-zeroconf-parse-webdav-device-names)
9102 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9104 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9105 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9107 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9109 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9110 (tramp-sh-handle-insert-file-contents-literally)
9111 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9113 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9114 Remove unused variables.
9116 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9117 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9118 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9120 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9121 Make them a defconst.
9122 (tramp-uuencode-region): Remove unused variable.
9124 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9126 * frameset.el (frameset--prop-setter): New function.
9127 (frameset-prop): Add gv-setter declaration.
9128 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9129 parameter was already set in FILTERED. Doc fix.
9130 (frameset--record-minibuffer-relationships): Allow saving a
9131 minibufferless frame without its corresponding minibuffer frame.
9132 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9133 frame, if the frame id matches.
9134 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9135 frames before orphaned ones.
9136 (frameset-restore): Warn about orphaned windows, instead of error out.
9138 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9140 * window.el (window-make-atom): Don't overwrite parameter
9142 (display-buffer-in-atom-window): Handle special case where we
9143 split an already atomic window.
9144 (window--major-non-side-window, display-buffer-in-side-window)
9145 (window--side-check): Ignore minibuffer window when walking
9147 (window-deletable-p): Return 'frame only if no other frame uses
9148 our minibuffer window.
9149 (record-window-buffer): Run buffer-list-update-hook.
9150 (split-window): Make sure window--check-frame won't destroy an
9151 existing atomic window in case the new window gets nested
9153 (display-buffer-at-bottom): Ignore minibuffer window when
9154 walking window tree. Don't split a side window.
9155 (pop-to-buffer): Don't set-buffer here, the select-window call
9157 (mouse-autoselect-window-select): Autoselect only if we are in the
9158 text portion of the window.
9160 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9162 * net/shr.el (shr-parse-image-data): New function to grab both the
9163 data itself and the Content-Type.
9164 (shr-put-image): Use it.
9166 * net/eww.el (eww-display-image): Ditto.
9168 * image.el (image-content-type-suffixes): New variable.
9170 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9172 * progmodes/python.el (python-imenu--build-tree)
9173 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9175 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9177 * simple.el (backward-word): Mention the optional argument.
9179 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9181 * frameset.el (frameset--make): Rename constructor from make-frameset.
9182 (frameset-p, frameset-valid-p): Don't autoload.
9183 (frameset-valid-p): Use normal accessors.
9185 2013-08-13 Glenn Morris <rgm@gnu.org>
9187 * progmodes/compile.el (compile-command): Tweak example in doc.
9188 * obsolete/scribe.el (scribe-mode):
9189 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9191 * mail/feedmail.el (feedmail-confirm-outgoing)
9192 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9194 * cus-start.el (truncate-partial-width-windows): Fix type.
9196 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9198 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9200 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9202 * emacs-lisp/timer.el (timer--time-setter): New function.
9203 (timer--time): Use it as gv-setter.
9205 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9206 setter is not a symbol.
9208 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9210 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9211 if sending fails. This makes debugging easier.
9213 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9215 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9216 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9217 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9219 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9221 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9223 2013-08-12 Glenn Morris <rgm@gnu.org>
9225 * format.el (format-annotate-function):
9226 Handle read-only text properties in the source. (Bug#14887)
9228 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230 * net/eww.el (eww-display-html): Ignore coding system errors.
9231 One web site uses "utf-8lias" as the coding system.
9233 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9235 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9237 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9239 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9240 (tutorial--detailed-help): Remove unused local variables.
9241 (tutorial--save-tutorial-to): Use ignore-errors.
9242 (help-with-tutorial): Use looking-at-p.
9244 * view.el (view-buffer-other-window, view-buffer-other-frame):
9245 Mark unused arguments.
9247 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9248 (woman-select-symbol-fonts, woman, woman-find-file)
9249 (woman-insert-file-contents, woman-non-underline-faces):
9251 (woman1-unquote): Move declaration.
9253 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9254 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9255 argument. Remove unused local variable.
9256 (xml-parse-elem-type): Use string-match-p.
9257 (xml-substitute-numeric-entities): Use ignore-errors.
9259 * calculator.el (calculator): Mark unused argument.
9260 (calculator-paste, calculator-quit, calculator-integer-p):
9262 (calculator-string-to-number, calculator-decimal, calculator-exp)
9263 (calculator-op-or-exp): Use string-match-p.
9265 * dired.el (dired-buffer-more-recently-used-p): Declare.
9266 (dired-insert-set-properties, dired-insert-old-subdirs):
9269 * dired-aux.el (dired-compress): Use ignore-errors.
9270 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9271 (dired-do-async-shell-command, dired-do-shell-command)
9272 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9273 (dired-insert-subdir-validate): Use string-match-p.
9274 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9275 (dired-add-entry): Use string-match-p, looking-at-p.
9276 (dired-insert-subdir-newpos): Remove unused local variable.
9278 * filenotify.el (file-notify-callback): Remove unused local variable.
9280 * filesets.el (filesets-error): Mark unused argument.
9281 (filesets-which-command-p, filesets-filter-dir-names)
9282 (filesets-directory-files, filesets-get-external-viewer)
9283 (filesets-ingroup-get-data): Use string-match-p.
9285 * find-file.el (ff-other-file-name, ff-other-file-name)
9286 (ff-find-the-other-file, ff-cc-hh-converter):
9287 Remove unused local variables.
9288 (ff-get-file-name): Use string-match-p.
9289 (ff-all-dirs-under): Use ignore-errors.
9291 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9292 (follow-select-if-visible): Remove unused local variable.
9294 * forms.el (read-file-filter): Move declaration.
9295 (forms--make-format, forms--make-parser, forms-insert-record):
9296 Quote function with #'.
9297 (forms--update): Use string-match-p. Quote function with #'.
9299 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9300 (help-make-xrefs): Use looking-at-p.
9301 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9303 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9304 (ibuffer-confirm-operation-on): Use string-match-p.
9306 * msb.el (msb-item-handler, msb-dired-item-handler):
9307 Mark unused arguments.
9309 * ses.el (ses-decode-cell-symbol)
9310 (ses-kill-override): Remove unused local variable.
9311 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9312 (ses-load): Use ignore-errors, looking-at-p.
9313 (ses-jump-safe): Use ignore-errors.
9314 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9316 * tabify.el (untabify, tabify): Mark unused arguments.
9318 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9319 Mark unused argument.
9320 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9321 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9323 * emacs-lisp/timer.el (timer--time): Define setter with
9324 gv-define-setter to avoid deprecation warning.
9326 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9327 (*record-cmpl-statistics-p*): Remove (was commented out).
9328 (cmpl-statistics-block): Remove (body was commented out).
9329 All callers changed.
9330 (add-completions-from-buffer, load-completions-from-file):
9331 Remove unused variables.
9333 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9335 * filecache.el (file-cache-delete-file-list):
9336 Print message only when told so.
9337 (file-cache-files-matching): Use #' in mapconcat argument.
9339 * ffap.el (ffap-url-at-point): Fix reference to variable
9340 thing-at-point-default-mail-uri-scheme.
9342 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9344 * subr.el (define-error): New function.
9345 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9346 error-file-not-found and define with define-error.
9347 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9348 and define with define-error.
9349 * userlock.el (file-locked, file-supersession):
9350 * simple.el (mark-inactive):
9351 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9352 * progmodes/ada-mode.el (ada-mode-errors):
9353 * play/life.el (life-extinct):
9354 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9355 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9356 * nxml/rng-util.el (rng-error):
9357 * nxml/rng-uri.el (rng-uri-error):
9358 * nxml/rng-match.el (rng-compile-error):
9359 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9360 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9361 * nxml/nxml-rap.el (nxml-scan-error):
9362 * nxml/nxml-outln.el (nxml-outline-error):
9363 * net/soap-client.el (soap-error):
9364 * net/gnutls.el (gnutls-error):
9365 * net/ange-ftp.el (ftp-error):
9366 * mpc.el (mpc-proc-error):
9367 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9368 (json-number-format, json-string-escape, json-string-format)
9369 (json-key-format, json-object-format):
9370 * jka-compr.el (compression-error):
9371 * international/quail.el (quail-error):
9372 * international/kkc.el (kkc-error):
9373 * emacs-lisp/ert.el (ert-test-failed):
9374 * calc/calc.el (calc-error, inexact-result, math-overflow)
9376 * bookmark.el (bookmark-error-no-filename):
9377 * epg.el (epg-error): Define with define-error.
9379 * time.el (display-time-event-handler)
9380 (display-time-next-load-average): Don't call sit-for since it seems
9381 unnecessary (bug#15045).
9383 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9384 Use #' instead of ' to quote functions.
9385 (checkdoc-output-mode): Use setq-local.
9386 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9387 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9388 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9389 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9390 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9391 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9392 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9393 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9395 * ido.el (ido-completion-help): Fix up compiler warning.
9397 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9399 * frameset.el (frameset-p): Add autoload cookie.
9400 (frameset--jump-to-register): New function, based on code moved from
9402 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9404 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9405 (frameset-restore, frameset-save, frameset-session-filter-alist):
9406 Remove declarations.
9407 (register-alist): Doc fix.
9408 (frameset-to-register): Move to frameset.el.
9409 (jump-to-register, describe-register-1): Remove frameset-specific code.
9411 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9413 * allout-widgets.el (allout-widgets-pre-command-business)
9414 (allout-widgets-post-command-business)
9415 (allout-widgets-after-change-handler)
9416 (allout-decorate-item-and-context, allout-set-boundary-marker)
9417 (allout-body-modification-handler)
9418 (allout-graphics-modification-handler): Mark ignored arguments.
9419 (allout-widgets-post-command-business)
9420 (allout-widgets-exposure-change-processor)
9421 (allout-widgets-exposure-undo-processor)
9422 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9423 (allout-parse-item-at-point, allout-decorate-item-guides)
9424 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9425 * allout.el (epa-passphrase-callback-function): Declare.
9426 (allout-overlay-insert-in-front-handler)
9427 (allout-overlay-interior-modification-handler)
9428 (allout-isearch-end-handler, allout-chart-siblings)
9429 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9430 (allout-yank-processing, allout-process-exposed)
9431 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9432 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9433 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9434 (lisp-indent-defform): Mark ignored arguments.
9435 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9436 (calculate-lisp-indent): Remove unused variables.
9437 * international/characters.el (indian-2-column, arabic-2-column)
9438 (tibetan): Mark ignored arguments.
9439 (use-cjk-char-width-table): Mark ignored arguments.
9440 Remove unused variables.
9441 * international/fontset.el (build-default-fontset-data)
9442 (x-compose-font-name, create-fontset-from-fontset-spec):
9443 Mark ignored arguments.
9444 (fontset-plain-name): Remove unused variables.
9445 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9446 (keyboard-coding-system): Mark ignored arguments.
9447 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9448 * help.el (resize-temp-buffer-window):
9449 * window.el (display-buffer-in-major-side-window)
9450 (display-buffer-in-side-window, display-buffer-in-previous-window):
9451 Remove unused variables.
9452 * isearch.el (isearch-forward-symbol):
9453 * version.el (emacs-bzr-version-bzr):
9454 * international/mule-cmds.el (current-language-environment):
9455 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9457 * term/pc-win.el (x-list-fonts, x-display-planes)
9458 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9459 (x-server-version, x-display-screens, x-display-mm-height)
9460 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9461 (x-selection-owner-p, x-own-selection-internal)
9462 (x-disown-selection-internal, x-get-selection-internal)
9463 (msdos-initialize-window-system):
9464 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9465 * term/x-win.el (x-handle-no-bitmap-icon):
9466 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9467 (vc-default-find-file-hook, vc-default-extra-menu):
9468 Mark ignored arguments.
9470 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9472 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9473 break-condition in the context of the debugged code (bug#12685).
9475 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9478 Do not use an overlay to highlight the last prompt. (Bug#14744)
9479 (comint-mode): Make comint-last-prompt buffer local.
9480 (comint-last-prompt): New variable.
9481 (comint-last-prompt-overlay): Remove. Superseded by
9483 (comint-snapshot-last-prompt, comint-output-filter):
9484 Use comint-last-prompt.
9486 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9488 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9489 (frameset-save): Check validity of the resulting frameset.
9491 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9493 * ido.el (ido-record-command): Add doc string.
9495 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9497 * frameset.el (frameset): Do not disable creation of the default
9498 frameset-p predicate. Doc fix.
9499 (frameset-valid-p): New function, copied from the old predicate-p.
9500 Add additional checks.
9501 (frameset-restore): Check with frameset-valid-p.
9502 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9503 (frameset-name, frameset-description, frameset-properties)
9504 (frameset-states): Add docstring.
9505 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9506 (frameset-filter-alist): Doc fixes.
9508 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9510 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9512 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9514 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9515 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9516 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9517 (byte-compile-normal-call): Remove obsolescence check.
9519 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9521 * frameset.el (frameset-restore): Doc fix.
9523 * register.el (frameset-frame-id, frameset-frame-with-id)
9524 (frameset-p, frameset-restore, frameset-save): Declare.
9525 (register-alist): Document framesets.
9526 (frameset-session-filter-alist): Declare.
9527 (frameset-to-register): New function.
9528 (jump-to-register): Implement jumping to framesets. Doc fix.
9529 (describe-register-1): Describe framesets.
9531 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9533 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9535 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9536 Use lexical-binding.
9538 * frameset.el (frameset): Use type vector, not list (incompatible
9539 change). Do not declare a new constructor, use the default one.
9540 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9541 `name' and `description', respectively, and add read-only slot
9542 `timestamp'. Doc fixes.
9543 (frameset-copy, frameset-persistent-filter-alist)
9544 (frameset-filter-alist, frameset-switch-to-gui-p)
9545 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9546 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9547 (frameset-filter-iconified, frameset-keep-original-display-p):
9549 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9550 Rename from frameset-filter-(save|restore)-param. All callers changed.
9552 (frameset-p): Adapt to change to vector and be more thorough.
9553 Change arg name to OBJECT. Doc fix.
9554 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9555 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9556 All callers changed.
9557 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9558 All callers changed.
9559 (frameset--record-minibuffer-relationships): Rename from
9560 frameset--process-minibuffer-frames. All callers changed.
9561 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9562 Use new default constructor (again). Doc fix.
9563 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9564 All callers changed.
9565 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9566 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9568 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9569 PARAMETERS and WINDOW-STATE, respectively.
9570 (frameset-restore): Add new keyword argument PREDICATE.
9571 Reset frameset--target-display to nil. Doc fix.
9573 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9577 (bat-mode-syntax-table): Mark \n as end-of-comment.
9578 (bat-font-lock-keywords): Remove comment rule.
9580 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9581 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9583 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9584 (byte-compile-callargs-warn): Use `push'.
9585 (byte-compile-arglist-warn): Ignore higher-order "calls".
9586 (byte-compile-file-form-autoload): Use `pcase'.
9587 (byte-compile-function-form): If quoting a symbol, check that it exists.
9589 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9591 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9592 and add a few popular commands found in batch files.
9593 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9594 (dos-mode): Doc fixes.
9596 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9598 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9599 (dos-mode): Use setq-local. Add space after "rem".
9600 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9601 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9603 2013-08-07 Arni Magnusson <arnima@hafro.is>
9605 * progmodes/dos.el: New file.
9606 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9609 2013-08-06 Glenn Morris <rgm@gnu.org>
9611 * calendar/calendar.el: Add new faces, and day-header-array.
9612 (calendar-weekday-header, calendar-weekend-header)
9613 (calendar-month-header): New faces.
9614 (calendar-day-header-construct): New function.
9615 (calendar-day-header-width): Also :set calendar-day-header-array.
9616 (calendar-american-month-header, calendar-european-month-header)
9617 (calendar-iso-month-header): Use calendar- faces.
9618 (calendar-generate-month):
9619 Use calendar-day-header-array for day headers; apply faces to them.
9620 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9621 (calendar-abbrev-construct): Add optional maxlen argument.
9622 (calendar-day-name-array): Doc fix.
9623 (calendar-day-name-array, calendar-abbrev-length)
9624 (calendar-day-abbrev-array):
9625 Also :set calendar-day-header-array, and maybe redraw.
9626 (calendar-day-header-array): New option. (Bug#15007)
9627 (calendar-font-lock-keywords): Set to nil and make obsolete.
9628 (calendar-day-name): Add option to use header array.
9630 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9632 * net/shr.el (shr-render-td): Remove debugging.
9633 (shr-render-td): Make width computation consistent by defaulting
9634 all zero-width columns to 10 characters. This may not be optimal,
9635 but it's at least consistent.
9636 (shr-make-table-1): Redo last change to fix the real problem in
9639 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9641 * files.el (cache-long-line-scans):
9642 Make obsolete alias to `cache-long-scans'.
9644 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9646 * frameset.el (frameset, frameset-filter-alist)
9647 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9648 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9649 (frameset-compute-pos): Rename from frameset--compute-pos,
9651 (frameset-move-onscreen): Use frameset-compute-pos.
9652 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9654 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9655 Fix typos in docstrings.
9657 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9659 * frame.el (get-other-frame): Tiny cleanup.
9661 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9663 * vc/vc.el (vc-default-ignore-completion-table):
9664 Silence byte-compiler warning.
9666 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9667 slot, which can indeed be nil.
9668 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9669 Move entry for `left' from persistent to live filter alist.
9670 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9672 (frameset-filter-params): When restoring a frame, copy items added to
9673 `filtered', to avoid unwittingly modifying the original parameters.
9674 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9675 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9677 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9678 to use looking-at-p instead of looking-at. (Bug#15028)
9680 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9682 Revert introduction of isearch-filter-predicates (bug#14714).
9683 Rely on add-function instead.
9684 * isearch.el (isearch-filter-predicates): Rename it back to
9685 isearch-filter-predicate.
9686 (isearch-message-prefix): Use advice-function-mapc and advice
9687 properties to get the isearch-message-prefix.
9688 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9689 instead of run-hook-with-args-until-failure.
9690 (isearch-filter-visible): Not obsolete any more.
9691 * loadup.el: Preload nadvice.
9692 * replace.el (perform-replace): Revert to funcall
9693 instead of run-hook-with-args-until-failure.
9694 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9695 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9696 dired-isearch-filenames-toggle; make it into a proper minor mode.
9697 Use add/remove-function.
9698 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9699 Call the minor-mode rather than add/remove-hook.
9700 (dired-isearch-filter-filenames):
9701 Remove isearch-message-prefix property.
9702 * info.el (Info--search-loop): New function, extracted from Info-search.
9703 Funcall isearch-filter-predicate instead of
9704 run-hook-with-args-until-failure isearch-filter-predicates.
9705 (Info-search): Use it.
9706 (Info-mode): Use isearch-filter-predicate instead of
9707 isearch-filter-predicates.
9709 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9711 Do not call to `selected-window' where it is assumed by default.
9712 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9713 `window-hscroll', `window-width', `window-height', `window-buffer',
9714 `window-frame', `window-start', `window-point', `next-window'
9715 and `window-display-table'.
9716 * abbrev.el (abbrev--default-expand):
9717 * bs.el (bs--show-with-configuration):
9718 * buff-menu.el (Buffer-menu-mouse-select):
9719 * calc/calc.el (calc):
9720 * calendar/calendar.el (calendar-generate-window):
9721 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9723 * comint.el (send-invisible, comint-dynamic-complete-filename)
9724 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9725 * completion.el (complete):
9726 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9727 * disp-table.el (describe-current-display-table):
9728 * doc-view.el (doc-view-insert-image):
9729 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9730 * ehelp.el (with-electric-help):
9731 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9732 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9733 * emacs-lisp/helper.el (Helper-help-scroller):
9734 * emulation/cua-base.el (cua--post-command-handler-1):
9735 * eshell/esh-mode.el (eshell-output-filter):
9736 * ffap.el (ffap-gnus-wrapper):
9737 * help-macro.el (make-help-screen):
9738 * hilit-chg.el (highlight-compare-buffers):
9739 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9740 * hl-line.el (global-hl-line-highlight):
9741 * icomplete.el (icomplete-simple-completing-p):
9742 * isearch.el (isearch-done):
9743 * jit-lock.el (jit-lock-stealth-fontify):
9744 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9745 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9746 * mpc.el (mpc-tagbrowser, mpc):
9747 * net/rcirc.el (rcirc-any-buffer):
9748 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9749 * play/landmark.el (landmark-max-width, landmark-max-height):
9750 * play/zone.el (zone):
9751 * progmodes/compile.el (compilation-goto-locus):
9752 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9753 * progmodes/etags.el (find-tag-other-window):
9754 * progmodes/fortran.el (fortran-column-ruler):
9755 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9756 * progmodes/verilog-mode.el (verilog-point-text):
9757 * reposition.el (reposition-window):
9758 * rot13.el (toggle-rot13-mode):
9759 * server.el (server-switch-buffer):
9760 * shell.el (shell-dynamic-complete-command)
9761 (shell-dynamic-complete-environment-variable):
9762 * simple.el (insert-buffer, set-selective-display)
9763 (delete-completion-window):
9764 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9765 (speedbar-recenter):
9766 * startup.el (fancy-splash-head):
9767 * textmodes/ispell.el (ispell-command-loop):
9768 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9769 * tutorial.el (help-with-tutorial):
9770 * vc/add-log.el (add-change-log-entry):
9771 * vc/compare-w.el (compare-windows):
9772 * vc/ediff-help.el (ediff-indent-help-message):
9773 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9774 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9775 (ediff-setup-control-frame):
9776 * vc/emerge.el (emerge-position-region):
9777 * vc/pcvs-util.el (cvs-bury-buffer):
9778 * window.el (walk-windows, mouse-autoselect-window-select):
9779 * winner.el (winner-set-conf, winner-undo): Related users changed.
9781 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9783 * frameset.el (frameset--set-id): Doc fix.
9784 (frameset-frame-id, frameset-frame-id-equal-p)
9785 (frameset-locate-frame-id): New functions.
9786 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9787 (frameset-restore): Use them.
9789 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9791 Do not call to `selected-frame' where it is assumed by default.
9792 Affected functions are `raise-frame', `redraw-frame',
9793 `frame-first-window', `frame-terminal' and `delete-frame'.
9794 * calendar/appt.el (appt-disp-window):
9795 * epg.el (epg-wait-for-completion):
9796 * follow.el (follow-delete-other-windows-and-split)
9797 (follow-avoid-tail-recenter):
9798 * international/mule.el (set-terminal-coding-system):
9799 * mail/rmail.el (rmail-mail-return):
9800 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9801 * progmodes/f90.el (f90-add-imenu-menu):
9802 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9803 * server.el (server-switch-buffer):
9804 * simple.el (delete-completion-window):
9806 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9807 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9808 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9809 * vc/ediff.el (ediff-documentation): Related users changed.
9810 * frame.el (selected-terminal): Remove the leftover.
9812 2013-08-05 Glenn Morris <rgm@gnu.org>
9814 * calendar/calendar.el (calendar-generate-month):
9815 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9816 (calendar-generate-month, calendar-font-lock-keywords):
9817 Fix for calendar-day-header-width > length of any day name.
9819 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9821 * desktop.el (desktop-clear): Use new name of sort predicate.
9823 * frameset.el (frameset): Add docstring. Move :version property to its
9825 (frameset-copy): Rename from copy-frameset.
9826 (frameset-p): Check more thoroughly.
9827 (frameset-prop): Do not check for :version, which is no longer a prop.
9828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9829 Use new :never value instead of t.
9830 (frameset-filter-alist): Expand and clarify docstring.
9831 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9832 (frameset-filter-minibuffer, frameset-filter-save-param)
9833 (frameset-filter-restore-param, frameset-filter-iconified):
9834 Add pointer to docstring of frameset-filter-alist.
9835 (frameset-filter-params): Rename filter values to be more meaningful:
9836 :never instead of t, and reverse the meanings of :save and :restore.
9837 (frameset--process-minibuffer-frames): Clarify error message.
9838 (frameset-save): Avoid unnecessary and confusing call to framep.
9839 Use new BOA constructor for framesets.
9840 (frameset--reuse-list): Doc fix.
9841 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9842 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9843 (frameset-minibufferless-first-p): Doc fix.
9844 Rename from frameset-sort-frames-for-deletion.
9845 (frameset-restore): Doc fixes. Use new function names.
9846 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9848 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9850 * desktop.el (desktop-restore-forces-onscreen)
9851 (desktop-restore-reuses-frames): Document :keyword constant values.
9852 (desktop-filter-parameters-alist): Remove, now identical to
9853 frameset-filter-alist.
9854 (desktop--filter-tty*): Remove, moved to frameset.el.
9855 (desktop-save-frameset, desktop-restore-frameset):
9856 Do not pass :filters argument.
9858 * frameset.el (frameset-live-filter-alist)
9859 (frameset-persistent-filter-alist): New variables.
9860 (frameset-filter-alist): Use them. Add autoload cookie.
9861 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9862 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9863 `frameset--id' (it's supposed to be internal to frameset.el).
9864 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9865 (frameset--initial-params): New function.
9866 (frameset--get-frame): Use it. Doc fix.
9867 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9868 Accept :all, not 'all.
9869 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9870 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9871 with fbound symbols. Fix frame id matching, and remove matching ids if
9872 the frame being restored is deleted. Obey :delete.
9874 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * subr.el (macrop): New function.
9877 (text-clone--maintaining): New var.
9878 (text-clone--maintain): Rename from text-clone-maintain. Use it
9879 instead of inhibit-modification-hooks.
9881 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9882 a proxy, so as handle autoloads and redefinitions of the target.
9883 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9885 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9886 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9887 (pcase--mutually-exclusive-p): New function.
9888 (pcase--split-consp): Use it.
9889 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9890 mutually exclusive with the current predicate.
9892 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9893 (edebug-macrop): Remove. Use `macrop' instead.
9894 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9896 * eshell/esh-cmd.el (eshell-macrop):
9897 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9899 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9901 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9902 (advice-mapc): New function, using it.
9903 (advice-function-member-p): New function.
9904 (advice--normalize): Store the cdr in advice--saved-rewrite since
9905 that's the part that will be changed.
9906 (advice--symbol-function): New function.
9907 (advice-remove): Handle removal before the function is defined.
9908 Adjust to new advice--saved-rewrite.
9909 (advice-member-p): Use advice-function-member-p and
9910 advice--symbol-function.
9912 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9914 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9915 (frameset-filter-minibuffer): Doc fix.
9916 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9917 (frameset--set-id, frameset--process-minibuffer-frames)
9918 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9919 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9921 * desktop.el (desktop-clear): Only delete frames when called
9922 interactively and desktop-restore-frames is non-nil. Doc fix.
9923 (desktop-read): Set desktop-saved-frameset to nil.
9925 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9927 * vc/vc.el (vc-ignore): Rewrite.
9928 (vc-default-ignore-completion-table, vc--read-lines)
9929 (vc--add-line, vc--remove-regexp): New functions.
9931 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9932 (vc-svn-ignore-completion-table): New function.
9934 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9935 (vc-hg-ignore-completion-table)
9936 (vc-hg-find-ignore-file): New functions.
9938 * vc/vc-git.el (vc-git-ignore): Rewrite.
9939 (vc-git-ignore-completion-table)
9940 (vc-git-find-ignore-file): New functions.
9942 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9944 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9945 (vc-bzr-ignore-completion-table)
9946 (vc-bzr-find-ignore-file): New functions.
9948 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9950 * frameset.el (frameset-prop): New function and setter.
9951 (frameset-save): Do not modify frame list passed by the caller.
9953 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9957 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9959 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9960 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9962 * custom.el (custom-initialize-default, custom-initialize-set)
9963 (custom-initialize-reset, custom-initialize-changed): Affect the
9964 toplevel-default-value (bug#6275, bug#14586).
9965 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9968 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9970 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9971 Add cl-def* expressions.
9973 * frameset.el (frameset-filter-params): Fix order of arguments.
9975 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9977 Move code related to saving frames to frameset.el.
9978 * desktop.el: Require frameset.
9979 (desktop-restore-frames): Doc fix.
9980 (desktop-restore-reuses-frames): Rename from
9981 desktop-restoring-reuses-frames.
9982 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9983 (desktop-clear): Clear frames too.
9984 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9985 (desktop--filter-tty*, desktop-save, desktop-read):
9986 Use frameset functions.
9987 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9988 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9989 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9990 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9991 (desktop--process-minibuffer-frames, desktop-save-frames)
9992 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9993 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9994 (desktop--sort-states, desktop-restoring-frames-p)
9995 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9996 (desktop-restoring-frameset-p, desktop-restore-frameset)
9997 (desktop--check-dont-save, desktop-save-frameset): New functions.
9998 (desktop--app-id): New constant.
9999 (desktop-first-buffer, desktop-buffer-ok-count)
10000 (desktop-buffer-fail-count): Move before first use.
10001 * frameset.el: New file.
10003 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * files.el: Use lexical-binding.
10006 (dir-locals-read-from-file): Remove unused `err' variable.
10007 (hack-dir-local-variables--warned-coding): New var.
10008 (hack-dir-local-variables): Use it to avoid repeated warnings.
10009 (make-backup-file-name--default-function): New function.
10010 (make-backup-file-name-function): Use it as default.
10011 (buffer-stale--default-function): New function.
10012 (buffer-stale-function): Use it as default.
10013 (revert-buffer-insert-file-contents--default-function): New function.
10014 (revert-buffer-insert-file-contents-function): Use it as default.
10015 (insert-directory): Avoid add-to-list.
10017 * autorevert.el (auto-revert-handler): Simplify.
10018 Use buffer-stale--default-function.
10020 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10022 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10024 * whitespace.el (whitespace-ensure-local-variables): New function.
10025 (whitespace-cleanup-region): Call it.
10026 (whitespace-turn-on): Call it.
10028 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10030 Complete file name handlers.
10032 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10033 (tramp-handle-verify-visited-file-modtime)
10034 (tramp-handle-file-notify-rm-watch): New functions.
10035 (tramp-call-process): Do not bind `default-directory'.
10037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10038 Order alphabetically.
10039 <access-file, add-name-to-file, dired-call-process>:
10040 <dired-compress-file, file-acl, file-notify-rm-watch>:
10041 <file-ownership-preserved-p, file-selinux-context>:
10042 <make-directory-internal, make-symbolic-link, set-file-acl>:
10043 <set-file-selinux-context, set-visited-file-modtime>:
10044 <verify-visited-file-modtime>: Add handler.
10045 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10048 <file-notify-add-watch, file-notify-rm-watch>:
10049 <set-file-times, set-visited-file-modtime>:
10050 <verify-visited-file-modtime>: Add handler.
10051 (with-tramp-gvfs-error-message)
10052 (tramp-gvfs-handle-set-visited-file-modtime)
10053 (tramp-gvfs-fuse-file-name): Remove.
10054 (tramp-gvfs-handle-file-notify-add-watch)
10055 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10056 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10058 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10059 Order alphabetically.
10060 <file-notify-rm-watch>: Use default Tramp handler.
10061 <executable-find>: Remove private handler.
10062 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10063 `default-directory'.
10064 (tramp-sh-handle-executable-find)
10065 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10066 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10067 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10068 Do not use `format' in `tramp-message'.
10070 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10071 <file-notify-rm-watch, set-visited-file-modtime>:
10072 <verify-visited-file-modtime>: Add handler.
10073 (tramp-smb-call-winexe): Do not bind `default-directory'.
10075 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10077 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10079 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10081 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10083 (log-view-diff-changeset): Same.
10084 (log-view-diff-common): Call backend command `previous-revision'
10085 to find out the previous revision, in both cases. Swap the
10086 variables `to' and `fr', so that `fr' usually refers to the
10087 earlier revision (Bug#14989).
10089 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10091 * ibuf-ext.el (ibuffer-filter-by-filename):
10092 Make it work with dired buffers too.
10094 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10096 * emacs-lisp/re-builder.el (reb-color-display-p):
10097 * files.el (save-buffers-kill-terminal):
10098 * net/browse-url.el (browse-url):
10099 * server.el (server-save-buffers-kill-terminal):
10100 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10101 Prefer nil to selected-frame for the first arg of frame-parameter.
10103 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10105 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10107 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10109 * minibuffer.el (completion--twq-all): Try and preserve each
10110 completion's case choice (bug#14907).
10112 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10114 * net/network-stream.el (open-network-stream): Mention the new
10115 :nogreeting parameter.
10116 (network-stream-open-starttls): Use the :nogreeting parameter
10119 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10121 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10122 more natural than popping.
10124 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10125 (shr-urlify): Highlight under mouse.
10127 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10129 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10131 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10133 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10136 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10137 point-min==1. Fix search string. Fix parentheses missing.
10139 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10140 assume point-min==1. Fix search string. Fix parentheses missing.
10142 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10144 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10147 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10149 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10150 initial frame is minibuffer-less. (Bug#14841)
10152 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10154 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10157 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10158 (tramp-maybe-open-connection): Use it.
10160 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10162 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10163 minimal set of parameters passed when creating a frame, because
10164 the minibuffer status of a frame cannot be changed later.
10166 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10168 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10169 replace-regexp-in-string and inadvertent omissions in previous change.
10170 (todo-filter-items): Ensure only file names are comma-separated in
10171 name of filtered items buffer.
10173 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10175 * desktop.el: Optionally force offscreen frames back onscreen.
10176 (desktop-restoring-reuses-frames): New option.
10177 (desktop--compute-pos, desktop--move-onscreen): New functions.
10178 (desktop--make-frame): Use desktop--move-onscreen.
10180 2013-07-27 Alan Mackenzie <acm@muc.de>
10182 Fontify a Java generic method as a function.
10183 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10186 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10188 * calendar/todo-mode.el: Add command to rename todo files.
10189 (todo-rename-file): New command.
10190 (todo-key-bindings-t): Add key binding for it. Change the
10191 bindings of todo-filter-regexp-items(-multifile) to use `x'
10192 instead of `r', since the latter is better suited to the new
10195 2013-07-27 Alan Mackenzie <acm@muc.de>
10197 Make Java try-with-resources statement parse properly.
10198 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10199 (c-block-stmt-1-2-key): New language constants/variables.
10200 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10201 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10202 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10203 with c-block-stmt-1-2-key.
10205 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10207 * desktop.el (desktop--make-frame): Apply most frame parameters after
10208 creating the frame to force (partially or totally) offscreen frames to
10209 be restored as such.
10211 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10213 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10216 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10219 `base' arg of backtrace-frame.
10221 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10223 * simple.el (list-processes): Doc fix.
10225 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10227 * desktop.el (desktop--select-frame):
10228 Try harder to reuse existing frames.
10230 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10232 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10233 (edebug-eval): Use backtrace-eval.
10234 (edebug--display, edebug--recursive-edit): Don't let-bind the
10235 edebug-outer-* vars that keep track of variables we locally let-bind.
10236 (edebug-outside-excursion): Don't restore outside values of locally
10238 (edebug--display): Use user-error.
10239 (cl-lexical-debug, cl-debug-env): Remove.
10241 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10243 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10244 are restored to be sure that they are visible before deleting any
10247 2013-07-26 Matthias Meulien <orontee@gmail.com>
10249 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10250 vc-print-root-log. (Bug#14948)
10252 2013-07-26 Richard Stallman <rms@gnu.org>
10254 Add aliases for encrypting mail.
10255 * epa.el (epa-mail-aliases): New option.
10256 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10257 Bind inhibit-read-only so read-only text doesn't ruin everything.
10258 (epa-mail-default-recipients): New subroutine broken out.
10259 Handle epa-mail-aliases.
10261 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10263 Add support for lexical variables to the debugger's `e' command.
10264 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10265 vars, except for debugger-outer-match-data.
10266 (debugger-frame-number): Move check for "on a function call" from
10267 callers into it. Add `skip-base' argument.
10268 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10269 (debugger-env-macro): Only reset the state stored in non-variables,
10270 i.e. current-buffer and match-data.
10271 (debugger-eval-expression): Rewrite using backtrace-eval.
10272 * subr.el (internal--called-interactively-p--get-frame): Remove.
10273 (called-interactively-p):
10274 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10275 `base' arg of backtrace-frame instead.
10277 2013-07-26 Glenn Morris <rgm@gnu.org>
10279 * align.el (align-regexp): Doc fix. (Bug#14857)
10280 (align-region): Explicit error if subexpression missing/does not match.
10282 * simple.el (global-visual-line-mode):
10283 Do not duplicate the mode lighter. (Bug#14858)
10285 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10287 * window.el (display-buffer): In display-buffer bind
10288 split-window-keep-point to t, bug#14829.
10290 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10292 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10293 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10294 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10295 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10296 Change accordingly.
10297 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10298 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10300 2013-07-25 Glenn Morris <rgm@gnu.org>
10302 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10304 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10306 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10307 parameter to modify-frame-parameters if the value has not changed;
10308 this is a workaround for bug#14949.
10309 (desktop--make-frame): On cl-delete-if call, check parameter name,
10310 not full parameter.
10312 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10314 * vc/vc.el (vc-ignore): New function.
10316 * vc/vc-svn.el (vc-svn-ignore): New function.
10318 * vc/vc-hg.el (vc-hg-ignore): New function.
10320 * vc/vc-git.el (vc-git-ignore): New function.
10322 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10323 (vc-dir-ignore): New function.
10325 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10326 (cvs-append-to-ignore): Move here from pcvs.el.
10328 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10330 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10332 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10334 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10335 (desktop-restore-frames): Warn when deleting an existing frame failed.
10337 2013-07-24 Glenn Morris <rgm@gnu.org>
10339 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10341 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10343 * filenotify.el (file-notify-supported-p):
10344 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10347 * autorevert.el (auto-revert-use-notify)
10348 (auto-revert-notify-add-watch):
10349 * net/tramp.el (tramp-file-name-for-operation):
10350 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10351 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10352 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10353 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10354 Remove `file-notify-supported-p' entry.
10356 2013-07-24 Glenn Morris <rgm@gnu.org>
10358 * printing.el: Replace all uses of deleted ps-windows-system,
10359 ps-lp-system, ps-flatten-list with lpr- versions.
10361 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10364 checked with memq (bug#14935).
10366 * files.el (revert-buffer-function): Use a non-nil default.
10367 (revert-buffer-preserve-modes): Declare var to
10368 provide access to the `preserve-modes' argument.
10369 (revert-buffer): Let-bind it.
10370 (revert-buffer--default): New function, extracted from revert-buffer.
10372 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10374 * lpr.el: Signal print errors more prominently.
10375 (print-region-function): Don't default to nil.
10376 (lpr-print-region): New function, extracted from print-region-1.
10377 Check lpr's return value and signal an error in case of problem.
10378 (print-region-1): Use it.
10379 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10381 (ps-printer-name): Default to nil.
10382 (ps-printer-name-option): Default to lpr-printer-switch.
10383 (ps-print-region-function): Don't default to nil.
10384 (ps-postscript-code-directory): Simplify default.
10385 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10386 (ps-string-list, ps-eval-switch, ps-flatten-list)
10387 (ps-flatten-list-1): Remove.
10388 (ps-multibyte-buffer): Avoid setq.
10389 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10390 (print-region-function, ps-print-region-function): Don't set them here.
10392 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10394 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10395 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10396 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10397 (ido-decorations): Doc fix.
10399 * ansi-color.el: Fix old URL.
10401 2013-07-23 Michael R. Mauger <michael@mauger.com>
10403 * progmodes/sql.el: Version 3.3
10404 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10405 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10406 (sql-interactive-remove-continuation-prompt): Rewrite, use
10407 functions above. Fix continuation prompt and complete output line
10409 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10410 redirected output buffer.
10411 (sql-mode): Restore deleted code (Bug#13591).
10413 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10415 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10417 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10419 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10421 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10422 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10423 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10425 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10427 * desktop.el (desktop-clear): Simplify; remove useless checks
10428 against invalid buffer names.
10429 (desktop-list*): Use cl-list*.
10430 (desktop-buffer-info, desktop-create-buffer): Simplify.
10432 2013-07-23 Leo Liu <sdl.web@gmail.com>
10434 * bookmark.el (bookmark-make-record): Restore NAME as a default
10437 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10440 extracted from autoload--insert-text.
10441 (autoload--insert-text): Remove.
10442 (autoload--print-cookie-text): New function, extracted from
10443 autoload--insert-cookie-text.
10444 (autoload--insert-cookie-text): Remove.
10445 (autoload-generate-file-autoloads): Adjust calls accordingly.
10447 * winner.el (winner-hook-installed-p): Remove.
10448 (winner-mode): Simplify accordingly.
10450 * subr.el (add-to-list): Fix compiler-macro when `append' is
10451 not constant. Don't use `cl-member' for the base case.
10453 * progmodes/subword.el: Fix boundary case (bug#13758).
10454 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10456 (subword-backward-regexp): Make it a constant.
10457 (subword-forward-internal): Don't treat a trailing capital as the
10458 beginning of a word.
10460 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10462 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10463 global value of tabulated-list-revert-hook (bug#14930).
10465 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10467 * desktop.el: Require 'cl-lib.
10468 (desktop-before-saving-frames-functions): New hook.
10469 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10470 for frames being saved. Rename from desktop--save-minibuffer-frames.
10471 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10472 Do not save frames with non-nil `desktop-dont-save' parameter.
10473 Filter out deleted frames.
10474 (desktop--find-frame): Use cl-find-if.
10475 (desktop--select-frame): Use cl-(first|second|third) to access values
10477 (desktop--make-frame): Use cl-delete-if.
10478 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10479 (desktop-restore-frames): Use cl-(first|second|third) to access values
10480 of desktop-mini. Look for visible frame at the end, not while
10483 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10484 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10485 Use string-match-p, looking-at-p (bug#14927).
10487 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10489 * desktop.el (desktop-saved-frame-states):
10490 Rename from desktop--saved-states; all users changed.
10491 (desktop-save-frames): Rename from desktop--save-frames.
10492 Do not save state to desktop file.
10493 (desktop-save): Save desktop-saved-frame-states to desktop file
10495 (desktop-restoring-frames-p): New function.
10496 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10497 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10498 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10500 * desktop.el: Correctly restore iconified frames.
10501 (desktop--filter-iconified-position): New function.
10502 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10504 2013-07-20 Glenn Morris <rgm@gnu.org>
10506 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10507 Let `message' do the formatting.
10508 (def-gdb-preempt-display-buffer): Add explicit format.
10510 * image-dired.el (image-dired-track-original-file):
10511 Use with-current-buffer.
10512 (image-dired-track-thumbnail): Use with-current-buffer.
10513 Avoid changing point of wrong window.
10515 * image-dired.el (image-dired-track-original-file):
10516 Avoid changing point of wrong window. (Bug#14909)
10518 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10520 * progmodes/gdb-mi.el (gdb-done-or-error):
10521 Guard against "%" in gdb output. (Bug#14127)
10523 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10525 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10528 * international/mule.el (coding-system-iso-2022-flags): Fix last
10531 2013-07-20 Kenichi Handa <handa@gnu.org>
10533 * international/mule.el (coding-system-iso-2022-flags):
10534 Add `8-bit-level-4'. (Bug#8522)
10536 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10538 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10541 * net/eww.el (eww-process-text-input): Allow inputting when the
10542 point is at the start of the line, as the properties aren't
10545 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10548 2013-07-19 Richard Stallman <rms@gnu.org>
10550 * epa.el (epa-popup-info-window): Doc fix.
10552 * subr.el (split-string): New arg TRIM.
10554 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10556 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10557 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10559 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10561 * filenotify.el (file-notify--library): Rename from
10562 `file-notify-support'. Do not autoload. Adapt all uses.
10563 (file-notify-supported-p): New defun.
10565 * autorevert.el (auto-revert-use-notify):
10566 Use `file-notify-supported-p' instead of `file-notify-support'.
10568 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10570 * net/tramp.el (tramp-file-name-for-operation):
10571 Add `file-notify-supported-p'.
10573 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10575 (tramp-sh-file-name-handler-alist): Add it as handler for
10576 `file-notify-supported-p '.
10578 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10580 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10581 Add `ignore' as handler for `file-notify-*' functions.
10583 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10585 * simple.el (line-move-partial, line-move): Don't start vscroll or
10586 scroll-up if the current line is not taller than the window.
10589 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10591 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10592 highlight question marks in the method names as strings.
10593 (ruby-block-beg-keywords): Inline.
10594 (ruby-font-lock-keyword-beg-re): Extract from
10595 `ruby-font-lock-keywords'.
10597 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10599 * frame.el (blink-cursor-blinks): New defcustom.
10600 (blink-cursor-blinks-done): New defvar.
10601 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10602 (blink-cursor-timer-function): Check if number of blinks has been
10604 (blink-cursor-suspend, blink-cursor-check): New defuns.
10606 2013-07-15 Glenn Morris <rgm@gnu.org>
10608 * edmacro.el (edmacro-format-keys): Fix previous change.
10610 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10612 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10613 The hack didn't work outside English locales anyway.
10615 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10617 * simple.el (define-alternatives): Rename from alternatives-define,
10618 per RMS' suggestion.
10620 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10622 * desktop.el (desktop-restore-frames): Change default to t.
10623 (desktop-restore-in-current-display): Now offer more options.
10624 (desktop-restoring-reuses-frames): New customization option.
10625 (desktop--saved-states): Doc fix.
10626 (desktop-filter-parameters-alist): New variable, renamed and expanded
10627 from desktop--excluded-frame-parameters.
10628 (desktop--target-display): New variable.
10629 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10630 (desktop--filter-tty*, desktop--filter-*-color)
10631 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10632 (desktop--filter-save-desktop-parm)
10633 (desktop-restore-in-original-display-p): New functions.
10634 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10635 (desktop--save-minibuffer-frames): New function, inspired by a similar
10636 function from Martin Rudalics.
10637 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10638 (desktop--restore-in-this-display-p): Remove.
10639 (desktop--find-frame): Rename from desktop--find-frame-in-display
10640 and add predicate argument.
10641 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10642 (desktop--reuse-list): New variable.
10643 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10645 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10647 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10649 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10651 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10653 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10654 Highlight conversion methods on Kernel.
10656 2013-07-13 Alan Mackenzie <acm@muc.de>
10658 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10659 and comment it out. This out-commenting enables certain C++
10660 declarations to be parsed correctly.
10662 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10664 * international/mule.el (define-coding-system): Doc fix.
10666 * simple.el (default-font-height): Don't call font-info if the
10667 frame's default font didn't change since the frame was created.
10670 2013-07-13 Leo Liu <sdl.web@gmail.com>
10672 * ido.el (ido-read-file-name): Guard against non-symbol value.
10674 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10676 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10679 2013-07-13 Leo Liu <sdl.web@gmail.com>
10681 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10682 ido-set-matches call. (Bug#6852)
10684 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10686 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10687 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10689 (ruby-font-lock-keywords): Distinguish calls to functions with
10690 module-like names from module references. Highlight character
10693 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10695 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10696 (gdb-send): Handle continued commands. (Bug#14847)
10698 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10700 * desktop.el (desktop--v2s): Remove unused local variable.
10701 (desktop-save-buffer): Make defvar-local; adjust docstring.
10702 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10703 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10705 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10707 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10709 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10711 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10714 2013-07-12 Glenn Morris <rgm@gnu.org>
10716 * doc-view.el: Require cl-lib at runtime too.
10717 (doc-view-remove-if): Remove.
10718 (doc-view-search-next-match, doc-view-search-previous-match):
10721 * edmacro.el: Require cl-lib at runtime too.
10722 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10723 (edmacro-mismatch, edmacro-subseq): Remove.
10725 * shadowfile.el: Require cl-lib.
10726 (shadow-remove-if): Remove.
10727 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10730 * wid-edit.el: Require cl-lib.
10731 (widget-choose): Use cl-remove-if.
10732 (widget-remove-if): Remove.
10734 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10735 (ebrowse-delete-if-not): Remove.
10736 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10737 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10738 Use cl-delete-if-not.
10740 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10742 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10743 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10745 2013-07-12 Leo Liu <sdl.web@gmail.com>
10747 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10749 2013-07-11 Glenn Morris <rgm@gnu.org>
10751 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10752 (edebug-gensym-index, edebug-gensym):
10753 Remove reimplementation of cl-gensym.
10754 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10756 * thumbs.el: Require cl-lib at run-time too.
10757 (thumbs-gensym-counter, thumbs-gensym):
10758 Remove reimplementation of cl-gensym.
10759 (thumbs-temp-file): Use cl-gensym.
10761 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10762 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10763 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10764 (ert--union, ert--gensym-counter, ert--gensym-counter)
10765 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10766 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10767 (ert-make-test-unbound, ert--expand-should-1)
10768 (ert--expand-should, ert--should-error-handle-error)
10769 (should-error, ert--explain-equal-rec)
10770 (ert--plist-difference-explanation, ert-select-tests)
10771 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10772 Use cl-lib functions rather than reimplementations.
10774 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10776 * net/tramp.el (tramp-methods): Extend docstring.
10777 (tramp-connection-timeout): New defcustom.
10778 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10779 (with-tramp-progress-reporter): Simplify.
10780 (tramp-process-actions): Improve messages.
10782 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10783 * net/tramp-sh.el (tramp-maybe-open-connection):
10784 Use `tramp-connection-timeout'.
10785 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10788 2013-07-11 Leo Liu <sdl.web@gmail.com>
10790 * ido.el (ido-read-file-name): Conform to the requirements of
10791 read-file-name. (Bug#11861)
10792 (ido-read-directory-name): Conform to the requirements of
10793 read-directory-name.
10795 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10797 * subr.el (delay-warning): New function.
10799 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10801 * simple.el (default-line-height): New function.
10802 (line-move-partial, line-move): Use it instead of computing the
10803 line height inline.
10804 (line-move-partial): Always compute ROWH. If the last line is
10805 partially-visible, but its text is completely visible, allow
10806 cursor to enter such a partially-visible line.
10808 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10810 Improve error messages. (Bug#14808)
10812 * net/tramp.el (tramp-current-connection): New defvar, moved from
10814 (tramp-message-show-progress-reporter-message): Remove, not
10816 (tramp-error-with-buffer): Show message in minibuffer.
10817 Discard input before waiting. Reset connection timestamp.
10818 (with-tramp-progress-reporter): Improve messages.
10819 (tramp-process-actions): Use progress reporter. Delete process in
10820 case of error. Improve messages.
10822 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10823 Call `tramp-error-with-buffer' with vector and buffer.
10824 (tramp-current-connection): Remove.
10825 (tramp-maybe-open-connection): The car of
10826 `tramp-current-connection' are the first 3 slots of the vector.
10828 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10830 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10831 inside continued strings.
10833 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10835 Timestamp fixes for undo (Bug#14824).
10836 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10838 2013-07-10 Leo Liu <sdl.web@gmail.com>
10840 * files.el (require-final-newline): Allow safe local value.
10843 2013-07-09 Leo Liu <sdl.web@gmail.com>
10845 * ido.el (ido-read-directory-name): Handle fallback.
10846 (ido-read-file-name): Update DIR to ido-current-directory.
10848 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10850 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10853 "autoload". Remove "warn lower camel case" section, previously
10854 commented out. Highlight negation char. Do not highlight the
10855 target in singleton method definitions.
10857 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * faces.el (tty-setup-hook): Declare the hook.
10861 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10862 and detect when a guard/pred depends on local vars (bug#14773).
10863 (pcase--u1): Adjust caller.
10865 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10867 * simple.el (line-move-partial, line-move): Account for
10869 (line-move-partial): Avoid setting vscroll when the last
10870 partially-visible line in window is of default height.
10872 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10874 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10877 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10879 * subr.el (read-quoted-char): Remove unused local variable `char'.
10881 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10883 * ediff.el (ediff-version): Version update.
10884 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10885 (ediff-merge-with-ancestor-command, ediff-directories-command)
10886 (ediff-directories3-command, ediff-merge-directories-command)
10887 (ediff-merge-directories-with-ancestor-command): New functions.
10888 All are command-line interfaces to ediff: to facilitate calling
10889 Emacs with the appropriate ediff functions invoked.
10891 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10892 (viper-save-kill-buffer): Check if buffer is modified.
10894 * viper.el (viper-version): Version update.
10895 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10897 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10900 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10901 (viper-intercept-ESC-key): Simplify.
10902 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10903 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10904 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10905 (viper-setup-ESC-to-escape): New functions.
10906 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10907 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10909 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10911 * simple.el (default-font-height, window-screen-lines):
10913 (line-move, line-move-partial): Use them instead of
10914 frame-char-height and window-text-height. This makes scrolling
10915 text smoother when the buffer's default face uses a font that is
10916 different from the frame's default font.
10918 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10920 * files.el (write-file): Do not display confirm dialog for NS,
10921 it does its own dialog, which can't be canceled (Bug#14578).
10923 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10925 * simple.el (line-move-partial): Adjust the row returned by
10926 posn-at-point for the current window-vscroll. (Bug#14567)
10928 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10930 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10931 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10934 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10936 * window.el (window-state-put-stale-windows): New variable.
10937 (window--state-put-2): Save list of windows without matching buffer.
10938 (window-state-put): Remove "bufferless" windows if possible.
10940 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10942 * simple.el (alternatives-define): Remove leftover :group keyword.
10945 2013-07-06 Leo Liu <sdl.web@gmail.com>
10947 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10948 (ido-enable-virtual-buffers): New variable.
10949 (ido-buffer-internal, ido-toggle-virtual-buffers)
10950 (ido-make-buffer-list): Use it.
10951 (ido-exhibit): Support turning on and off virtual buffers
10954 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10956 * simple.el (alternatives-define): New macro.
10958 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * subr.el (read-quoted-char): Use read-key.
10961 (sit-for): Let read-event decode tty input (bug#14782).
10963 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10965 * calendar/todo-mode.el: Add handling of file deletion, both by
10966 mode command and externally. Fix various related bugs.
10967 Clarify Commentary and improve some documentation strings and code.
10968 (todo-delete-file): New command.
10969 (todo-check-file): New function.
10970 (todo-show): Handle external deletion of the file we're trying to
10971 show (bug#14688). Replace called-interactively-p by an optional
10972 prefix argument to avoid problematic interaction with catch form
10973 when byte compiled (bug#14702).
10974 (todo-quit): Handle external deletion of the archive's todo file.
10975 Make sure the buffer that was visiting the archive file is still
10976 live before trying to bury it.
10977 (todo-category-completions): Handle external deletion of any
10978 category completion files.
10979 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10980 of todo files, in case of external deletion.
10981 (todo-add-file): Replace unnecessary setq by let-binding.
10982 (todo-find-archive): Check whether there are any archives.
10983 Replace unnecessary setq by let-binding.
10984 (todo-archive-done-item): Use find-file-noselect to get the
10985 archive buffer whether or not the archive already exists.
10986 Remove superfluous code. Use file size instead of buffer-file-name to
10987 check if the archive is new; if it is, update list of archives.
10988 (todo-default-todo-file): Allow nil to be a valid value for when
10989 there are no todo files.
10990 (todo-reevaluate-default-file-defcustom): Use corrected definition
10991 of todo-default-todo-file.
10992 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10993 (todo-delete-category, todo-show-categories-table)
10994 (todo-category-number): Clarify comment.
10995 (todo-filter-items): Clarify documentation string.
10996 (todo-show-current-file, todo-display-as-todo-file)
10997 (todo-reset-and-enable-done-separator): Tweak documentation string.
10998 (todo-done-separator): Make separator length window-width, since
10999 bug#2749 is now fixed.
11001 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11003 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11004 Support both "gvfs-monitor-dir" and "inotifywait".
11005 (tramp-sh-file-inotifywait-process-filter): Rename from
11006 `tramp-sh-file-notify-process-filter'.
11007 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11008 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11010 2013-07-05 Leo Liu <sdl.web@gmail.com>
11012 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11014 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11016 * frame.el (display-pixel-height, display-pixel-width)
11017 (display-mm-height, display-mm-width): Mention behavior on
11018 multi-monitor setups in docstrings.
11019 (w32-display-monitor-attributes-list): Declare function.
11020 (display-monitor-attributes-list): Use it.
11022 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11024 * filenotify.el: New package.
11026 * autorevert.el (top): Require filenotify.el.
11027 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11029 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11030 (auto-revert-notify-handler): Use `file-notify-*' functions.
11032 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11034 * net/tramp.el (tramp-file-name-for-operation):
11035 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11037 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11038 for `file-notify-add-watch' and `file-notify-rm-watch'.
11039 (tramp-process-sentinel): Improve trace.
11040 (tramp-sh-handle-file-notify-add-watch)
11041 (tramp-sh-file-notify-process-filter)
11042 (tramp-sh-handle-file-notify-rm-watch)
11043 (tramp-get-remote-inotifywait): New defuns.
11045 2013-07-03 Juri Linkov <juri@jurta.org>
11047 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11048 call of `occur-read-primary-args' to interactive spec.
11050 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11051 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11053 2013-07-03 Matthias Meulien <orontee@gmail.com>
11055 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11056 `Buffer-menu-multi-occur'. Add it to the menu.
11057 (Buffer-menu-mode): Document it in docstring.
11058 (Buffer-menu-multi-occur): New command. (Bug#14673)
11060 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11062 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11063 keywords and built-ins.
11065 2013-07-03 Glenn Morris <rgm@gnu.org>
11067 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11069 Make info-xref checks case-sensitive by default
11070 * info.el (Info-find-node, Info-find-in-tag-table)
11071 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11072 Add option for exact case matching of nodes.
11073 * info-xref.el (info-xref): New custom group.
11074 (info-xref-case-fold): New option.
11075 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11077 2013-07-03 Leo Liu <sdl.web@gmail.com>
11079 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11081 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11083 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11084 middle of block statement initially, lower the depth. Remove
11085 FIXME comment, not longer valid. Remove middle of block statement
11086 detection, no need to do that anymore since we've been using
11087 `ruby-parse-region' here.
11089 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11091 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11093 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11095 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11097 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11099 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11100 (desktop-restore-in-current-display): New customization option.
11101 (desktop--excluded-frame-parameters): Add `font'.
11102 (desktop--save-frames): Rename from desktop--save-windows.
11103 (desktop--restore-in-this-display-p): New function.
11104 (desktop--make-full-frame): Remove unwanted width/height from
11105 full(width|height) frames.
11106 (desktop--restore-frames): Rename from desktop--restore-windows.
11107 Obey desktop-restore-current-display. Do not delete old frames or
11108 select a new frame unless we were able to restore at least one frame.
11110 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11112 * files.el (find-file-noselect): Simplify conditional expression.
11114 * textmodes/remember.el (remember-append-to-file):
11115 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11117 Add `remember-notes' function to store random notes across Emacs
11119 * textmodes/remember.el (remember-data-file): Add :set callback to
11120 affect notes buffer (if any).
11121 (remember-notes): New command.
11122 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11123 New defcustoms for the `remember-notes' function.
11124 (remember-notes-save-and-bury-buffer): New command.
11125 (remember-notes-mode-map): New variable.
11126 (remember-mode): New minor mode.
11127 (remember-notes--kill-buffer-query): New function.
11128 * startup.el (initial-buffer-choice): Add notes to custom type.
11130 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11132 * bindings.el (right-char, left-char): Don't call sit-for, this is
11133 no longer needed. Use arithmetic comparison only for numerical
11136 * international/mule-cmds.el (select-safe-coding-system):
11137 Handle the case of FROM being a string correctly. (Bug#14755)
11139 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11141 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11142 progression on degenerate tables.
11143 (shr-rescale-image): ImageMagick animated images currently don't work.
11145 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11147 Some fixes and improvements for desktop frame restoration.
11148 It is still experimental and disabled by default.
11149 * desktop.el (desktop--save-windows): Put the selected frame at
11150 the head of the list.
11151 (desktop--make-full-frame): New function.
11152 (desktop--restore-windows): Try to re-select the frame that was
11153 selected upon saving. Do not abort if some frames fail to restore,
11154 just show an error message and continue. Set up maximized frames
11155 so they have default non-maximized dimensions.
11157 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11159 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11160 Don't start heredoc inside a string or comment.
11162 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11164 * bindings.el (visual-order-cursor-movement): New defcustom.
11165 (right-char, left-char): Provide visual-order cursor motion by
11166 calling move-point-visually. Update the doc strings.
11168 2013-06-28 Kenichi Handa <handa@gnu.org>
11170 * international/mule.el (define-coding-system): New coding system
11171 properties :inhibit-null-byte-detection,
11172 :inhibit-iso-escape-detection, and :prefer-utf-8.
11173 (set-buffer-file-coding-system): If :charset-list property of
11174 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11175 appropriate for setting.
11177 * international/mule-cmds.el (select-safe-coding-system):
11178 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11179 multibyte characters, return utf-8 (or one of its siblings).
11181 * international/mule-conf.el (prefer-utf-8): New coding system.
11182 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11185 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11187 * net/shr.el (shr-render-region): New function.
11189 * net/eww.el: Autoload `eww-browse-url'.
11191 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11194 Adapt to `package-desc-version' being a list.
11195 Use `package--ac-desc-version' to retrieve version from a package
11198 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11200 New experimental feature to save&restore window and frame setup.
11201 * desktop.el (desktop-save-windows): New defcustom.
11202 (desktop--saved-states): New var.
11203 (desktop--excluded-frame-parameters): New defconst.
11204 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11205 (desktop--restore-windows, desktop--save-windows): New functions.
11206 (desktop-save): Call `desktop--save-windows'.
11207 (desktop-read): Call `desktop--restore-windows'.
11209 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11211 * net/shr.el (add-face-text-property): Remove compat definition.
11213 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11215 * info.el (Info-try-follow-nearest-node): Move search for footnote
11216 above search for node name to prevent missing a footnote (bug#14717).
11218 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11220 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11222 2013-06-27 Leo Liu <sdl.web@gmail.com>
11224 * net/eww.el (eww-read-bookmarks): Check file size.
11226 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11229 advice--pending if newdef is nil or an autoload (bug#13820).
11230 (advice-mapc): New function.
11232 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11234 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11236 (eww-mode-map): Add a menu bar.
11237 (eww-add-bookmark): New command.
11238 (eww-bookmark-mode): New mode and commands.
11239 (eww-add-bookmark): Remove newlines from the title.
11240 (eww-bookmark-browse): Don't bug out if it's the only window.
11242 2013-06-26 Glenn Morris <rgm@gnu.org>
11244 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11245 (hfy-size): Handle ttys. (Bug#14668)
11247 * info-xref.el: Update for Texinfo 5 change in *note format.
11248 (info-xref-node-re, info-xref-note-re): New constants.
11249 (info-xref-check-buffer): Use info-xref-note-re.
11251 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11253 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11255 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11256 nil terminate the loop (bug#14718).
11258 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260 * net/eww.el: Rework history traversal. When going forward/back,
11261 put these actions into the history, too, so that they can be
11263 (eww-render): Move the history reset to the correct buffer.
11265 2013-06-25 Juri Linkov <juri@jurta.org>
11267 * files-x.el (modify-dir-local-variable): Change the header comment
11268 in the file with directory local variables. (Bug#14692)
11270 * files-x.el (read-file-local-variable-value): Add `default'.
11273 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275 * net/eww.el (eww-make-unique-file-name): Create a unique file
11276 name before saving to entering `y' accidentally asynchronously.
11278 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11280 * net/eww.el (eww-download): New command and keystroke.
11282 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11284 * net/eww.el (eww-copy-page-url): Change name of command.
11286 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11287 be more consistent with Info and dired.
11289 * net/eww.el (eww-mode-map): Ditto.
11291 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11293 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11294 packages from archives.
11295 (package-archive-contents): Change format; include obsolete packages.
11296 (package-desc): Use `dir' to mark builtin packages.
11297 (package--from-builtin): Set the `dir' field to `builtin'.
11298 (generated-autoload-file, version-control): Declare.
11299 (package-compute-transaction): Change first arg and return value to be
11300 lists of package-descs. Adjust to new package-archive-contents format.
11301 (package--add-to-archive-contents): Adjust to new
11302 package-archive-contents format.
11303 (package-download-transaction): Arg is now a list of package-descs.
11304 (package-install): If `pkg' is a package name, pass it as
11305 a requirement, so it is subject to the usual (e.g. disabled) checks.
11306 (describe-package): Accept package-desc as well.
11307 (describe-package-1): Describe a specific package-desc. Add links to
11308 other package-descs for the same package name.
11309 (package-menu-describe-package): Pass the actual package-desc.
11310 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11312 (package-desc-status): New function.
11313 (package-menu--refresh): New function, extracted
11314 from package-menu--generate.
11315 (package-menu--generate): Use it.
11316 (package-delete): Update package-alist.
11317 (package-menu-execute): Don't call package-initialize.
11319 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11320 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11321 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11322 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11323 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11324 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11326 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11328 * window.el (window--state-get-1): Workaround for bug#14527.
11329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11331 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11333 * net/eww.el (eww-back-url): Implement the history by stashing all
11334 the data into a list.
11335 (eww-forward-url): Allow going forward in the history, too.
11337 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11339 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11340 for values and use read--expression for expressions (bug#14710).
11341 (read-file-local-variable): Avoid setq.
11342 (read-file-local-variable-mode): Use minor-mode-list.
11344 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11346 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11349 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11351 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11352 Update imenu-support when dialect changes.
11354 2013-06-25 Leo Liu <sdl.web@gmail.com>
11356 * ido.el (ido-read-internal): Allow forward slash on windows.
11358 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11360 * net/eww.el (eww): Start of strings is \\`, not ^.
11362 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11364 * net/shr.el (shr-browse-url): Fix interactive spec.
11366 * net/eww.el (eww): Add a trailing slash to domain names.
11368 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11370 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11372 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11374 * net/shr.el (shr-browse-url): Use an external browser if given a
11377 * net/eww.el (eww-external-browser): Move to shr.
11379 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11381 * net/eww.el (eww): Work more correctly for file: URLs.
11382 (eww-detect-charset): Allow quoted charsets.
11383 (eww-yank-page-url): New command and keystroke.
11385 2013-06-24 Daiki Ueno <ueno@gnu.org>
11387 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11388 file name of gpg executable.
11389 (epg-context-program): New function.
11390 (epg-context-home-directory): New function.
11391 (epg-context-set-program): New function.
11392 (epg-context-set-home-directory): New function.
11393 (epg--start): Use `epg-context-program' instead of
11395 (epg--list-keys-1): Likewise.
11397 2013-06-24 Leo Liu <sdl.web@gmail.com>
11399 * ido.el (ido-read-internal): Fix bug#14620.
11401 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11403 * faces.el (face-documentation): Simplify.
11404 (read-face-attribute, tty-find-type, x-resolve-font-name):
11405 Use `string-match-p'.
11406 (list-faces-display): Use `string-match-p'. Simplify.
11407 (face-spec-recalc): Check face to avoid face alias loops.
11408 (read-color): Use `string-match-p' and non-capturing parenthesis.
11410 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412 * net/shr.el (shr-rescale-image): Use the new
11413 :max-width/:max-height functionality.
11415 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11417 * net/eww.el (eww-search-prefix): New variable.
11419 (eww-external-browser): New variable.
11420 (eww-mode-map): New keystroke.
11421 (eww-browse-with-external-browser): New command.
11423 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11425 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11427 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11428 Don't skip aligning the next header field when padding is 0;
11429 otherwise, field width is not respected unless the title is as
11432 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * emacs-lisp/package.el (package-el-version): Remove.
11435 (package-process-define-package): Fix inf-loop.
11436 (package-install): Allow symbols as arguments again.
11438 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11440 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11441 add some more keyword-like methods.
11442 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11444 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11446 * bs.el (bs-buffer-show-mark): Make defvar-local.
11447 (bs-mode): Use setq-local.
11449 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11450 (emacs-lock--try-unlocking): Make defvar-local.
11452 2013-06-22 Glenn Morris <rgm@gnu.org>
11454 * play/cookie1.el (cookie-apropos): Minor simplification.
11456 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11458 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11460 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11461 `regexp-opt', it breaks the build during dumping.
11463 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11465 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11466 Highlight keyword-like methods on Kernel and Module with
11467 font-lock-builtin-face.
11468 (auto-mode-alist): Consolidate different entries into one regexp
11469 and add more *file-s.
11471 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11473 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11475 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11476 (diary-entry): Use it in the action of this button type instead of
11479 * calendar/todo-mode.el: New version.
11480 (todo-add-category): Append new category to end of file and give
11481 it the highest number, instead of putting it at the beginning and
11482 giving it 0. Incorporate noninteractive functionality.
11483 (todo-forward-category): Adapt to 1-based category numbering.
11484 Allow skipping over archived categories.
11485 (todo-backward-category): Derive from todo-forward-category.
11486 (todo-backward-item, todo-forward-item): Make noninteractive and
11487 delegate interactive part to new commands. Make sensitive to done items.
11488 (todo-categories): Make value an alist of category names and
11489 vectors of item counts.
11490 (todo-category-beg): Make a defconst.
11491 (todo-category-number): Use 1 instead of 0 as initial value.
11492 (todo-category-select): Make sensitive to overlays, optional item
11493 highlighting and done items.
11494 (todo-delete-item): Make sensitive to overlays and marked and done items.
11495 (todo-edit-item): Make sensitive to overlays and editing of
11496 date/time header optional. Add format checks.
11497 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11498 no-op if point is not on an item. Advertise using todo-edit-quit.
11499 (todo-edit-mode): Make sensitive to new format, font-locking, and
11500 multiple todo files.
11501 (todo-insert-item, todo-insert-item-here): Derive from
11502 todo-basic-insert-item and extend functionality.
11503 (todo-item-end, todo-item-start): Make sensitive to done items.
11504 (todo-item-string): Don't return text properties. Restore point.
11505 (todo-jump-to-category): Make sensitive to multiple todo files and
11506 todo archives. Use extended category completion.
11507 (todo-lower-item, todo-raise-item): Rename to *-priority and
11508 derive from todo-set-item-priority.
11509 (todo-mode): Derive from special-mode. Make sensitive to new
11510 format, font-locking and multiple todo files. Make read-only.
11511 (todo-mode-map): Don't suppress digit keys, so they can supply
11512 prefix arguments. Add many new key bindings.
11513 (todo-prefix): Insert as an overlay instead of file text.
11514 Change semantics from diary date expression to purely visual mark.
11515 (todo-print): Rename to todo-print-buffer. Make buffer display
11516 features printable. Remove option to restrict number of items
11517 printed. Add option to print to file.
11518 (todo-print-function): Rename to todo-print-buffer-function.
11519 (todo-quit): Extend to handle exiting new todo modes.
11520 (todo-remove-item): Make sensitive to overlays.
11521 (todo-save): Extend to buffers of filtered items.
11522 (todo-show): Make sensitive to done items, multiple todo files and
11523 new todo modes. Offer to convert legacy todo file before creating
11524 first new todo file.
11525 (todo-show-priorities): Rename to todo-top-priorities.
11526 Change semantics of value 0.
11527 (todo-top-priorities): Rename to todo-filter-top-priorities,
11528 derive from todo-filter-items and extend functionality.
11529 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11530 and extend functionality to other types of filtered items.
11531 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11532 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11533 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11534 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11535 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11536 (todo-edit-mode-hook, todo-entry-prefix-function)
11537 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11538 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11539 (todo-initials, todo-insert-threshold, todo-item-string-start)
11540 (todo-line-string, todo-menu, todo-mode-hook)
11541 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11542 (todo-print-priorities, todo-remove-separator)
11543 (todo-save-top-priorities-too, todo-string-count-lines)
11544 (todo-string-multiline-p, todo-time-string-format)
11545 (todo-tmp-buffer-name): Remove.
11546 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11547 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11548 (todo-edit-category-diary-inclusion)
11549 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11550 (todo-edit-file, todo-edit-item-date-day)
11551 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11552 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11553 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11554 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11555 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11556 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11557 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11558 (todo-filter-top-priorities-multifile, todo-find-archive)
11559 (todo-find-filtered-items-file, todo-go-to-source-item)
11560 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11561 (todo-jump-to-archive-category, todo-lower-category)
11562 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11563 (todo-move-category, todo-move-item, todo-next-button)
11564 (todo-next-item, todo-padded-string, todo-powerset)
11565 (todo-previous-button, todo-previous-item)
11566 (todo-print-buffer-to-file, todo-raise-category)
11567 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11568 (todo-set-category-number, todo-set-item-priority)
11569 (todo-set-top-priorities-in-category)
11570 (todo-set-top-priorities-in-file, todo-show-categories-table)
11571 (todo-sort-categories-alphabetically-or-numerically)
11572 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11573 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11574 (todo-toggle-item-header, todo-toggle-item-highlighting)
11575 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11576 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11577 (todo-unarchive-items, todo-unmark-category): New commands.
11578 (todo-absolute-file-name, todo-add-to-buffer-list)
11579 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11580 (todo-basic-insert-item, todo-category-completions)
11581 (todo-category-number, todo-category-string-matcher-1)
11582 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11583 (todo-check-format, todo-clear-matches)
11584 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11585 (todo-current-category, todo-date-string-matcher)
11586 (todo-define-insertion-command, todo-diary-expired-matcher)
11587 (todo-diary-goto-entry, todo-diary-item-p)
11588 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11589 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11590 (todo-done-item-section-p, todo-done-separator)
11591 (todo-done-string-matcher, todo-files, todo-filter-items)
11592 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11593 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11594 (todo-insert-category-line, todo-insert-item-from-calendar)
11595 (todo-insert-sort-button, todo-insert-with-overlays)
11596 (todo-insertion-command-name, todo-insertion-key-bindings)
11597 (todo-label-to-key, todo-longest-category-name-length)
11598 (todo-make-categories-list, todo-mode-external-set)
11599 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11600 (todo-modes-set-3, todo-multiple-filter-files)
11601 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11602 (todo-read-category, todo-read-date, todo-read-dayname)
11603 (todo-read-file-name, todo-read-time)
11604 (todo-reevaluate-category-completions-files-defcustom)
11605 (todo-reevaluate-default-file-defcustom)
11606 (todo-reevaluate-filelist-defcustoms)
11607 (todo-reevaluate-filter-files-defcustom)
11608 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11609 (todo-reset-done-separator, todo-reset-done-separator-string)
11610 (todo-reset-done-string, todo-reset-global-current-todo-file)
11611 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11612 (todo-reset-prefix, todo-set-categories)
11613 (todo-set-date-from-calendar, todo-set-show-current-file)
11614 (todo-set-top-priorities, todo-short-file-name)
11615 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11616 (todo-total-item-counts, todo-update-buffer-list)
11617 (todo-update-categories-display, todo-update-categories-sexp)
11618 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11620 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11622 (todo-categories, todo-display, todo-edit, todo-faces)
11623 (todo-filtered): New defgroups.
11624 (todo-archived-only, todo-button, todo-category-string, todo-date)
11625 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11626 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11627 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11628 (todo-add-item-if-new-category, todo-always-add-time-string)
11629 (todo-categories-align, todo-categories-archived-label)
11630 (todo-categories-category-label, todo-categories-diary-label)
11631 (todo-categories-done-label, todo-categories-number-separator)
11632 (todo-categories-todo-label, todo-categories-totals-label)
11633 (todo-category-completions-files, todo-completion-ignore-case)
11634 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11635 (todo-done-separator-string, todo-done-string)
11636 (todo-files-function, todo-filter-done-items, todo-filter-files)
11637 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11638 (todo-initial-category, todo-initial-file, todo-item-mark)
11639 (todo-legacy-date-time-regexp, todo-mode-line-function)
11640 (todo-nondiary-marker, todo-number-prefix)
11641 (todo-print-buffer-function, todo-show-current-file)
11642 (todo-show-done-only, todo-show-first, todo-show-with-done)
11643 (todo-skip-archived-categories, todo-top-priorities-overrides)
11644 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11645 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11647 (todo-category-done, todo-date-pattern, todo-date-string-start)
11648 (todo-diary-items-buffer, todo-done-string-start)
11649 (todo-filtered-items-buffer, todo-item-start)
11650 (todo-month-abbrev-array, todo-month-name-array)
11651 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11652 (todo-top-priorities-buffer): New defconsts.
11653 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11654 (todo-categories-with-marks, todo-category-string-face)
11655 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11656 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11657 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11658 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11659 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11660 (todo-font-lock-keywords, todo-global-current-todo-file)
11661 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11662 (todo-insertion-commands-args)
11663 (todo-insertion-commands-args-genlist)
11664 (todo-insertion-commands-names, todo-insertion-map)
11665 (todo-key-bindings-t, todo-key-bindings-t+a)
11666 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11667 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11668 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11669 (todo-visited): New variables.
11671 2013-06-21 Glenn Morris <rgm@gnu.org>
11673 * play/cookie1.el (cookie-apropos): Add optional display argument.
11674 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11675 (psychoanalyze-pinhead): Use cookie-doctor.
11677 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11679 * emacs-lisp/package.el (tar-get-file-descriptor)
11680 (tar--extract): Declare.
11682 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11684 Extend flymake's warning predicate to be a function (bug#14217).
11685 * progmodes/flymake.el (flymake-warning-predicate): New.
11686 (flymake-parse-line): Use it.
11687 (flymake-warning-re): Make obsolete alias to
11688 `flymake-warning-predicate'.
11690 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11692 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11693 (package-obsolete-list): Remove.
11694 (package-activate): Remove min-version argument. Add `force' argument.
11695 Adjust to new package-alist format.
11696 (package-mark-obsolete): Remove.
11697 (package-unpack): Force reload of the package's autoloads.
11698 (package-installed-p): Check builtins if the installed package is not
11700 (package-initialize): Don't reset package-obsolete-list.
11701 Don't specify which package version to activate.
11702 (package-process-define-package, describe-package-1)
11703 (package-menu--generate): Adjust to new package-alist format.
11705 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11707 * allout-widgets.el (allout-widgets-mode-off)
11708 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11709 (allout-widgets-post-command-business)
11710 (allout-widgets-after-copy-or-kill-function)
11711 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11712 (allout-decorate-item-and-context)
11713 (allout-graphics-modification-handler): Fix typos in docstrings.
11714 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11716 * cmuscheme.el (scheme-start-file): Doc fix.
11717 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11718 (scheme-input-filter): Use `string-match-p'.
11720 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11722 * dired-x.el: Use Dired consistently in docstrings.
11724 * dired.el: Use Dired consistently in docstrings.
11725 (dired-readin, dired-mode): Use `setq-local'.
11726 (dired-switches-alist): Make defvar-local.
11727 (dired-buffers-for-dir): Use `zerop'.
11728 (dired-safe-switches-p, dired-switches-escape-p)
11729 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11730 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11731 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11732 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11733 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11734 (dired-toggle-marks, dired-mark-files-containing-regexp)
11735 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11736 (dired-flag-auto-save-files, dired-flag-backup-files):
11737 Use `looking-at-p'.
11738 (dired-mark-files-regexp, dired-build-subdir-alist):
11739 Use `string-match-p', `looking-at-p'.
11741 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11742 (direct-print-region-helper): Use `string-match-p'.
11744 2013-06-21 Leo Liu <sdl.web@gmail.com>
11746 * comint.el (comint-redirect-results-list-from-process):
11749 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751 * net/eww.el (eww-update-header-line-format): Quote % characters.
11753 2013-06-21 Glenn Morris <rgm@gnu.org>
11755 * play/cookie1.el (cookie): New custom group.
11756 (cookie-file): New option.
11757 (cookie-check-file): New function.
11758 (cookie): Make it interactive. Make start and end messages optional.
11759 Interactively, display the result. Default to cookie-file.
11760 (cookie-insert): Default to cookie-file.
11761 (cookie-snarf): Make start and end messages optional.
11762 Default to cookie-file. Use with-temp-buffer.
11763 (cookie-read): Rename from read-cookie.
11764 Make start and end messages optional. Default to cookie-file.
11765 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11766 Do not autoload it.
11767 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11768 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11770 2013-06-21 Leo Liu <sdl.web@gmail.com>
11772 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11774 2013-06-21 Glenn Morris <rgm@gnu.org>
11776 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11778 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11779 Daniel Hackney <dan@haxney.org>
11781 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11782 Consolidate the single-file vs tarball code.
11783 (package-desc-suffix): New function.
11784 (package-desc-full-name): Don't bother inlining it.
11785 (package-load-descriptor): Return the new package-desc.
11786 (package-mark-obsolete): Remove unused arg `package'.
11787 (package-unpack): Make it work for single files as well.
11788 Make it update package-alist.
11789 (package--make-autoloads-and-stuff): Rename from
11790 package--make-autoloads-and-compile. Don't compile any more.
11791 (package--compile): New function.
11792 (package-generate-description-file): New function, extracted from
11793 package-unpack-single.
11794 (package-unpack-single): Remove.
11795 (package--with-work-buffer): Add indentation and debugging info.
11796 (package-download-single): Remove.
11797 (package-install-from-archive): Rename from package-download-tar, make
11798 it take a pkg-desc, and make it work for single files as well.
11799 (package-download-transaction): Simplify.
11800 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11801 external tar program.
11802 (package-install-from-buffer): Remove `pkg-desc' argument.
11803 Use package-tar-file-info for tar-mode buffers.
11804 (package-install-file): Simplify accordingly.
11805 (package-archive-base): Change to take a pkg-desc.
11806 * tar-mode.el (tar--check-descriptor): New function, extracted from
11807 tar-get-descriptor.
11808 (tar-get-descriptor): Use it.
11809 (tar-get-file-descriptor): New function.
11810 (tar--extract): New function, extracted from tar-extract.
11811 (tar--extract): Use it.
11812 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11813 case the summary uses non-ascii. Adjust to new calling convention of
11814 package-tar-file-info.
11816 2013-06-21 Leo Liu <sdl.web@gmail.com>
11818 * comint.el (comint-redirect-results-list-from-process):
11819 Fix random delay. (Bug#14681)
11821 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11823 * profiler.el (profiler-format-number): Use log, not log10.
11825 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11827 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11829 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11831 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11832 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11834 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11835 (AUTOGENEL): ... here.
11836 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11837 (cl--defsubst-expand): Use it.
11839 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11841 * subr.el (log10): Move here from C code, and declare as obsolete.
11842 All uses of (log10 X) replaced with (log X 10).
11844 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11846 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11847 Declare with `defvar-local'.
11848 (tabulated-list-use-header-line, tabulated-list-entries)
11849 (tabulated-list-padding, tabulated-list-printer)
11850 (tabulated-list-sort-key): Declare with `defvar-local'.
11851 (tabulated-list-init-header, tabulated-list-print-fake-header):
11854 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11856 * arc-mode.el (archive-mode): Add `archive-write-file' to
11857 `write-contents-functions' also for remote files. (Bug#14652)
11859 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11861 * cus-edit.el (custom-commands): Fix typos.
11862 (custom-display): Fix tooltip text.
11863 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11864 Fix typos in docstrings.
11865 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11866 (custom-unlispify-menu-entry, custom-magic-value-create)
11867 (custom-add-see-also, custom-group-value-create): Use ?\s.
11868 (custom-guess-type, customize-apropos, editable-field)
11869 (custom-face-value-create): Use `string-match-p'.
11870 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11872 * custom.el (custom-load-symbol): Use `string-match-p'.
11874 * ansi-color.el: Convert to lexical binding.
11875 (ansi-colors): Fix URL.
11876 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11877 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11878 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11880 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11882 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11884 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11886 2013-06-19 Tom Tromey <tromey@redhat.com>
11888 * net/eww.el (eww-top-url): Remove.
11889 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11890 (eww-render): Set new variables. Don't set eww-top-url.
11891 (eww-handle-link): Handle "prev", "home", and "contents".
11892 Downcase the rel text.
11893 (eww-top-url): Choose best top URL.
11895 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11897 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11898 relying in widget.el. Using widget.el leads to too many
11899 user interface inconsistencies.
11900 (eww-self-insert): Implement entering commands in text fields.
11901 (eww-process-text-input): New function to make text input field editing
11903 (eww-submit): Rewrite to use the new-style form methods.
11904 (eww-select-display): Display the correct selected item.
11905 (eww-change-select): Implement changing the select value.
11906 (eww-toggle-checkbox): Implement radio/checkboxes.
11907 (eww-update-field): Fix compilation error.
11908 (eww-tag-textarea): Implement <textarea>.
11910 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11911 we don't shadow mode-specific bindings.
11913 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11916 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11918 2013-06-19 Glenn Morris <rgm@gnu.org>
11920 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11922 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11924 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11927 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11929 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11931 * net/browse-url.el (browse-url-browser-function):
11932 `eww-browse-url' has the right calling signature, `eww' does not.
11934 2013-06-19 Glenn Morris <rgm@gnu.org>
11936 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11937 Only eval autoloaded macros.
11938 (byte-compile-autoload): Only give the macro warning for macros.
11940 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11941 (ps-underlined-faces): Declare.
11943 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11944 (speedbar-add-supported-extension): Declare.
11946 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11947 Don't include a date stamp in the header of the generated file;
11948 it leads to needless differences between output files.
11950 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11952 * net/secrets.el (secrets-struct-secret-content-type):
11953 Replace check of introspection data by a test call of "CreateItem".
11954 Some servers do not offer introspection.
11956 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * electric.el (electric-pair-mode): Improve interaction with
11959 electric-layout-mode.
11960 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11961 (electric-pair-syntax): Use text-mode-syntax-table in comments
11963 (electric-pair--insert): New function.
11964 (electric-pair-post-self-insert-function): Use it and
11965 electric--after-char-pos.
11967 2013-06-19 Leo Liu <sdl.web@gmail.com>
11969 * progmodes/octave.el (octave-help): Fix regexp.
11971 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11973 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11974 (shr-table-horizontal-line): Allow nil as a value, and change the
11976 (shr-insert-table-ruler): Respect the nil value.
11978 2013-06-18 Tom Tromey <tromey@barimba>
11980 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11982 (eww-open-file): New defun.
11983 (eww-render): Initialize new variables.
11984 (eww-display-html): Handle "link" and "a".
11985 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11986 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11987 (eww-back-url): Rename from eww-previous-url.
11988 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11991 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11993 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11994 Distinguish ternary operator tokens from slash symbol and slash
11997 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11999 Convert symbol prettification into minor mode and global minor mode.
12001 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12002 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12003 (prettify-symbols--keywords): Rename from
12004 `prog-prettify-symbols-alist' and make a local defvar.
12005 (prettify-symbols--compose-symbol): Rename from
12006 `prog--prettify-font-lock-compose-symbol'.
12007 (prettify-symbols--make-keywords): Rename from
12008 `prog-prettify-font-lock-symbols-keywords' and simplify.
12009 (prog-prettify-install): Remove.
12010 (prettify-symbols-mode): New minor mode, based on
12011 `prog-prettify-install'.
12012 (turn-on-prettify-symbols-mode): New function.
12013 (global-prettify-symbols-mode): New globalized minor mode.
12015 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12016 * progmodes/cfengine.el (cfengine3-mode):
12017 * progmodes/perl-mode.el (perl-mode): Don't call
12018 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12020 2013-06-18 Juri Linkov <juri@jurta.org>
12022 * files-x.el (modify-file-local-variable-message): New function.
12023 (modify-file-local-variable)
12024 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12025 and call `modify-file-local-variable-message' when it's non-nil.
12026 (add-file-local-variable, delete-file-local-variable)
12027 (add-file-local-variable-prop-line)
12028 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12029 and use it. (Bug#9820)
12031 2013-06-18 Juri Linkov <juri@jurta.org>
12033 * emulation/vi.el (vi-shell-op):
12034 * emulation/vip.el (vip-execute-com, ex-command):
12035 * emulation/viper-cmd.el (viper-exec-bang):
12036 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12037 the call of `shell-command-on-region'. (Bug#14637)
12039 * simple.el (shell-command-on-region): Doc fix.
12041 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12043 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12046 2013-06-18 Glenn Morris <rgm@gnu.org>
12048 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12050 * newcomment.el (comment-search-forward, comment-search-backward):
12051 Doc fix. (Bug#14376)
12053 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12055 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12056 (buffer-face-mode-invoke): Doc fix.
12058 2013-06-18 Matthias Meulien <orontee@gmail.com>
12060 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12061 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12063 2013-06-18 Glenn Morris <rgm@gnu.org>
12065 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12066 Replace obsolete function generic-make-keywords with its expansion.
12068 * progmodes/python.el (ffap-alist): Declare.
12070 * textmodes/reftex.el (bibtex-mode-map): Declare.
12072 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12074 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12075 (package-unpack, package-unpack-single): Return the pkg-dir.
12076 (package-download-transaction): Use it to update package-alist.
12078 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12080 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12083 2013-06-17 Juri Linkov <juri@jurta.org>
12085 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12087 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12089 * emacs-lisp/package.el (package-load-descriptor):
12090 Remove `with-syntax-table' call, `read' doesn't need it.
12091 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12093 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12095 * startup.el (command-line): Expand package name returned by
12096 `package--description-file' (bug#14639).
12098 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12100 * emacs-lisp/package.el (package-load-descriptor): Do not call
12101 `emacs-lisp-mode', just use its syntax table.
12103 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12105 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12106 `font-lock-extra-managed-props' if any prettifying keyword is added.
12107 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12108 (prog-mode): Use `setq-local'.
12110 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12112 * international/characters.el (standard-case-table): Set syntax of ?»
12113 and ?« to punctuation.
12115 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12117 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12118 Save relevant match data before calling `syntax-ppss' (bug#14595).
12120 2013-06-15 Juri Linkov <juri@jurta.org>
12122 * files-x.el (modify-file-local-variable-prop-line): Add local
12123 variables to the end of the existing comment on the first line.
12124 Use `file-auto-mode-skip' to skip interpreter magic line,
12125 and also skip XML declaration.
12127 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * startup.el (package--builtin-versions): New var.
12130 (package-subdirectory-regexp): Remove.
12131 (package--description-file): Hard code its value instead.
12133 * emacs-lisp/package.el: Don't activate packages older than builtin.
12134 (package-obsolete-list): Rename from package-obsolete-alist, and make
12135 it into a simple list of package-desc.
12136 (package-strip-version): Remove.
12137 (package-built-in-p): Use package--builtin-versions.
12138 (package-mark-obsolete): Simplify.
12139 (package-process-define-package): Mark it obsolete if older than the
12141 (package-handle-response): Use line-end-position.
12142 (package-read-archive-contents, package--download-one-archive):
12144 (package--add-to-archive-contents): Skip if older than the builtin or
12146 (package-menu-describe-package): Fix last change.
12147 (package-list-unversioned): New var.
12148 (package-menu--generate): Use it.
12150 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12151 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12152 (autoload-builtin-package-versions): New variable.
12153 (autoload-generate-file-autoloads): Use them.
12154 Remove the list of autoloaded functions/macros from the
12155 (autoload...) comments.
12157 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12159 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12161 * simple.el (line-move-partial): Don't jump to the next screen
12162 line as soon as it becomes visible. Instead, continue enlarging
12163 the vscroll until the portion of a tall screen line that's left on
12164 display is about the height of the frame's default font.
12167 2013-06-15 Glenn Morris <rgm@gnu.org>
12169 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12170 compilation-error-regexp-alist void, or local while let-bound.
12172 * progmodes/make-mode.el (makefile-mode-syntax-table):
12173 Treat "=" as punctuation. (Bug#14614)
12175 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12177 * help-fns.el (describe-variable):
12178 Add extra line for permanent-local variables.
12180 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12182 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12183 Add export, import, library. (Bug#9164)
12184 (library): Set indent function.
12186 2013-06-14 Glenn Morris <rgm@gnu.org>
12188 * term/xterm.el (xterm--query):
12189 Stop after first matching handler. (Bug#14615)
12191 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12193 Add support for dired in saveplace.
12194 * dired.el (dired-initial-position-hook): New variable.
12195 (dired-initial-position): Call hook to place cursor position.
12196 * saveplace.el (save-place-to-alist): Add dired position.
12197 (save-place-dired-hook): New function.
12199 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12201 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12202 through a symbol rather than letrec.
12204 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12205 (package-desc): Add `dir' field.
12206 (package-desc-full-name): New function.
12207 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12208 (package-maybe-load-descriptor): Remove.
12209 (package-load-all-descriptors): Just call package-load-descriptor.
12210 (package--disabled-p): New function.
12211 (package-desc-vers, package-desc-doc): Remove aliases.
12212 (package--dir): Remove function.
12213 (package-activate): Check if a package is disabled.
12214 (package-process-define-package): New function, extracted from
12216 (define-package): Turn into a place holder.
12217 (package-unpack-single, package-tar-file-info):
12218 Use package--description-file.
12219 (package-compute-transaction): Use package--disabled-p.
12220 (package-download-transaction): Don't call
12221 package-maybe-load-descriptor since they're all loaded anyway.
12222 (package-install): Change argument to be a pkg-desc.
12223 (package-delete): Use a single pkg-desc argument.
12224 (describe-package-1): Use package-desc-dir instead of package--dir.
12225 Use package-desc property instead of package-symbol.
12226 (package-install-button-action): Adjust accordingly.
12227 (package--push): Rewrite.
12228 (package-menu--print-info): Adjust accordingly. Change the ID format
12230 (package-menu-describe-package, package-menu-get-status)
12231 (package-menu--find-upgrades, package-menu-mark-upgrades)
12232 (package-menu-execute, package-menu--name-predicate):
12233 Adjust accordingly.
12234 * startup.el (package--description-file): New function.
12235 (command-line): Use it.
12236 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12237 Use package-desc-version.
12239 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12240 (byte-compile-preprocess): Use it.
12241 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12242 can't quite recognize.
12243 (byte-compile-add-to-list): Remove.
12244 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12245 (cconv-closure-convert): Add assertion.
12247 * emacs-lisp/map-ynp.el: Use lexical-binding.
12248 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12249 Factor out some repeated code.
12251 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12253 * subr.el (with-eval-after-load): New macro.
12254 (eval-after-load): Allow form to be a function.
12255 take advantage of lexical-binding.
12256 (do-after-load-evaluation): Use dolist and adjust to new format.
12257 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12259 2013-06-13 Juri Linkov <juri@jurta.org>
12261 * replace.el (perform-replace): Display "symbol " and other search
12262 modes from `isearch-message-prefix' in the *Help* buffer.
12264 * isearch.el (isearch-query-replace): Add " symbol" and other
12265 possible search modes from `isearch-message-prefix' to the prompt.
12266 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12267 when reading a regexp to collect.
12269 2013-06-13 Juri Linkov <juri@jurta.org>
12271 * isearch.el (word-search-regexp): Match whitespace if the search
12272 string begins or ends in whitespace. The LAX arg is applied to
12273 both ends of the search string. Use `regexp-quote' and explicit
12274 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12275 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12276 boundaries are replaced with symbol boundaries, and characters
12277 between symbols match non-word non-symbol syntax. (Bug#14602)
12279 2013-06-13 Juri Linkov <juri@jurta.org>
12281 * isearch.el (isearch-del-char): Don't exceed the length of
12282 `isearch-string' by the prefix arg. (Bug#14563)
12284 2013-06-13 Juri Linkov <juri@jurta.org>
12286 * isearch.el (isearch-yank-word, isearch-yank-line)
12287 (isearch-char-by-name, isearch-quote-char)
12288 (isearch-printing-char, isearch-process-search-char):
12289 Add optional count prefix arg. (Bug#14563)
12291 * international/isearch-x.el
12292 (isearch-process-search-multibyte-characters):
12293 Add optional count prefix arg.
12295 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12298 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12301 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12303 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12305 2013-06-13 Glenn Morris <rgm@gnu.org>
12307 * startup.el (tty-handle-args):
12308 Don't just discard "--" and anything after. (Bug#14608)
12310 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12312 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12314 Implement changes in Secret Service API. Make it backward compatible.
12315 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12316 (secrets-create-item): Use it. Prefix properties with interface.
12318 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12320 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12321 (term-emulate-terminal): Respect term-suppress-hard-newline.
12323 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12325 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12326 Only remove a `thumb-file' overlay. (Bug#14548)
12328 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12330 * mail/reporter.el (reporter-submit-bug-report):
12331 Handle missing package-name. (Bug#14600)
12333 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12335 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12336 (reftex-citation-prompt, reftex-default-bibliography)
12337 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12338 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12339 (reftex-bib-sort-author, reftex-bib-sort-year)
12340 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12341 (reftex-extract-bib-entries-from-thebibliography)
12342 (reftex-get-bibkey-default, reftex-get-bib-names)
12343 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12344 (reftex-format-bib-entry, reftex-parse-bibitem)
12345 (reftex-format-bibitem, reftex-do-citation)
12346 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12347 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12348 (reftex-insert-bib-matches, reftex-format-citation)
12349 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12350 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12351 existing comments into docstrings.
12353 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12355 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12357 2013-06-12 Andreas Schwab <schwab@suse.de>
12359 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12360 for auto-save files.
12362 2013-06-12 Glenn Morris <rgm@gnu.org>
12364 * ido.el (ido-delete-ignored-files): Remove.
12365 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12366 Go back to calling ido-ignore-item-p directly.
12368 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12370 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12372 * ido.el (ido-delete-ignored-files): New function,
12373 split from ido-make-file-list-1.
12374 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12375 (ido-make-file-list-1): Use ido-delete-ignored-files.
12377 2013-06-12 Leo Liu <sdl.web@gmail.com>
12379 * progmodes/octave.el (inferior-octave-startup)
12380 (inferior-octave-completion-table)
12381 (inferior-octave-track-window-width-change)
12382 (octave-eldoc-function-signatures, octave-help)
12383 (octave-find-definition): Use single quoted strings.
12384 (inferior-octave-startup-args): Change default value.
12385 (inferior-octave-startup): Do not hard code "-i" and
12386 "--no-line-editing".
12387 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12388 (inferior-octave-directory-tracker): Use it.
12389 (octave-goto-function-definition): Robustify.
12390 (octave-help): Support highlighting operators in 'See also'.
12391 (octave-find-definition): Find subfunctions only in Octave mode.
12393 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12395 * help-fns.el (help-fns--compiler-macro): If the handler function is
12396 named, then put a link to it.
12397 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12398 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12399 (cl-typep): Use it.
12400 (cl-eval-when): Simplify debug spec.
12401 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12402 compiler-macro function instead of setting `compiler-macro-file'.
12404 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12406 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12407 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12409 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12410 Daniel Hackney <dan@haxney.org>
12412 First part of Daniel Hackney's patch to package.el.
12413 * emacs-lisp/package.el: Use defstruct.
12414 (package-desc): New, main struct.
12415 (package--bi-desc, package--ac-desc): New structs, used to describe the
12416 format in external files.
12417 (package-desc-vers): Replace with package-desc-version accessor.
12418 (package-desc-doc): Replace with package-desc-summary accessor.
12419 (package-activate-1): Remove `package' arg since the pkg-vec now
12421 (define-package): Use package-desc-from-define.
12422 (package-unpack-single): Change file-name arg to be a symbol.
12423 (package--add-to-archive-contents): Use package-desc-create and new
12424 accessor functions to package--ac-desc.
12425 (package-buffer-info, package-tar-file-info): Return a package-desc.
12426 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12427 arg to be a package-desc.
12428 (package-install-file): Adjust accordingly. Use \' to match EOS.
12429 (package--from-builtin): New function.
12430 (describe-package-1, package-menu--generate): Use it.
12431 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12432 (package-generate-autoloads): Idem and return the name of the file.
12433 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12434 Change pkg-info arg to be a package-desc.
12435 Use package-make-ac-desc.
12436 (package-upload-file): Use \' to match EOS.
12437 * finder.el (finder-compile-keywords): Use package-make-builtin.
12439 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12441 * vc/vc.el (vc-deduce-fileset): Change error message.
12442 (vc-read-backend): New function.
12443 (vc-next-action): Use it.
12445 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12447 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12448 (prolog-font-lock-keywords): Use regexp-opt instead.
12449 Don't manually highlight strings.
12450 (prolog-mode-variables): Simplify comment-start-skip.
12451 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12453 * emacs-lisp/generic.el (generic--normalise-comments)
12454 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12455 (generic-mode-set-comments): Use them.
12456 (generic-bracket-support): Use setq-local.
12457 (generic-make-keywords-list): Declare obsolete.
12459 2013-06-11 Glenn Morris <rgm@gnu.org>
12461 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12462 Prettify after setting font-lock-defaults. (Bug#14574)
12464 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12466 * replace.el (query-replace, occur-read-regexp-defaults-function)
12468 * subr.el (declare-function, number-sequence, local-set-key)
12469 (substitute-key-definition, locate-user-emacs-file)
12470 (with-silent-modifications, split-string, eval-after-load):
12471 Fix typos, remove unneeded backslashes and reflow some docstrings.
12473 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12475 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12476 default for Elisp files.
12478 2013-06-11 Glenn Morris <rgm@gnu.org>
12480 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12481 although define-derived-mode was doing this anyway. (Bug#14583)
12483 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12485 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12486 Fix make-variable-buffer-local call to refer to the correct variable.
12488 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12490 * eshell/em-term.el (eshell-visual-commands)
12491 (eshell-visual-subcommands, eshell-visual-options):
12492 Add summary line to docstrings. Add cross-references.
12494 2013-06-10 Glenn Morris <rgm@gnu.org>
12496 * epa.el (epa-read-file-name): New function. (Bug#14510)
12497 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12499 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12501 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12502 output redirection to be ignored with visual commands.
12504 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12506 * eshell/em-term.el (eshell-visual-command-p): New function.
12507 (eshell-term-initialize): Move long lambda to separate function
12508 eshell-visual-command-p.
12509 * eshell/em-dirs.el (eshell-dirs-initialize):
12510 * eshell/em-script.el (eshell-script-initialize):
12511 Add missing #' to lambda.
12513 2013-06-08 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (octave-add-log-current-defun): New function.
12516 (octave-mode): Set add-log-current-defun-function.
12517 (octave-goto-function-definition): Do not move point if not found.
12518 (octave-find-definition): Enhance to try subfunctions first.
12520 2013-06-08 Glenn Morris <rgm@gnu.org>
12522 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12523 (byte-compile-backward-char, byte-compile-backward-word):
12524 Improve previous change, to handle non-explicit nil.
12526 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12528 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12529 (smie--opener/closer-at-point): New function.
12530 (smie--matching-block-data): Use it. Don't match from right after an
12531 opener or right before a closer. Obey smie-blink-matching-inners.
12532 Don't signal a mismatch for repeated inners like "switch..case..case".
12534 2013-06-07 Leo Liu <sdl.web@gmail.com>
12536 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12538 (octave-function-header-regexp): Fix. (Bug#14570)
12539 (octave-help-mode-finish-hook, octave-help-mode-finish):
12540 Remove. Just use temp-buffer-show-hook.
12542 * newcomment.el (comment-search-backward): Revert last change.
12545 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12547 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12549 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12550 through xargs, to avoid failure due to MS-Windows limitations on
12551 command-line length.
12553 2013-06-06 Glenn Morris <rgm@gnu.org>
12555 * font-lock.el (lisp-font-lock-keywords-2):
12556 Treat user-error like error.
12558 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12559 (byte-compile-backward-char, byte-compile-backward-word):
12560 Handle explicit nil arguments. (Bug#14565)
12562 2013-06-05 Alan Mackenzie <acm@muc.de>
12564 * isearch.el (isearch-allow-prefix): New user option.
12565 (isearch-other-meta-char): Don't exit isearch when a prefix
12566 argument is typed whilst `isearch-allow-prefix' is non-nil.
12569 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12571 * autorevert.el (auto-revert-notify-handler): Use memq.
12572 Hide assertion failure.
12574 * skeleton.el: Use cl-lib.
12575 (skeleton-further-elements): Use defvar-local.
12576 (skeleton-insert): Use cl-progv.
12578 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12580 * progmodes/prog-mode.el (prog-prettify-symbols)
12581 (prog-prettify-install): Update docstrings.
12583 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12585 * simple.el: Move all the prog-mode code to prog-mode.el.
12586 * progmodes/prog-mode.el: New file.
12587 * loadup.el: Add prog-mode.el.
12589 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12591 * simple.el (prog-prettify-symbols): Add version.
12592 (prog-prettify-install): Add convenience function to prettify symbols.
12594 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12595 (perl--augmented-font-lock-keywords-1)
12596 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12597 variables and use it.
12599 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12600 (cfengine3-mode): Remove unneeded variable and use it.
12602 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12603 (lisp--augmented-font-lock-keywords-1)
12604 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12605 Remove unneeded variables and use it.
12607 2013-06-05 João Távora <joaotavora@gmail.com>
12609 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12610 to point when opening the connection. (Bug#14380)
12612 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12614 * subr.el (load-history-regexp, load-history-filename-element)
12615 (eval-after-load, after-load-functions, do-after-load-evaluation)
12616 (eval-next-after-load, display-delayed-warnings)
12617 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12618 definition of save-match-data.
12619 (overriding-local-map): Remove accidental obsolescence declaration.
12621 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12623 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12625 Generalize symbol prettify support to prog-mode and implement it
12626 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12627 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12628 (prog--prettify-font-lock-compose-symbol)
12629 (prog-prettify-font-lock-symbols-keywords): New variables and
12630 functions to support symbol prettification.
12631 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12632 (lisp--augmented-font-lock-keywords-1)
12633 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12634 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12635 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12636 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12637 Implement prettify of -> => :: strings.
12638 * progmodes/perl-mode.el (perl-prettify-symbols)
12639 (perl--font-lock-compose-symbol)
12640 (perl--font-lock-symbols-keywords): Move to prog-mode.
12641 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12642 (perl-font-lock-keywords-1)
12643 (perl-font-lock-keywords-2): Remove explicit prettify support.
12644 (perl--augmented-font-lock-keywords)
12645 (perl--augmented-font-lock-keywords-1)
12646 (perl--augmented-font-lock-keywords-2, perl-mode):
12647 Implement prettify support.
12649 2013-06-05 Leo Liu <sdl.web@gmail.com>
12651 Re-implement SMIE matching block highlight using
12652 show-paren-data-function. (Bug#14395)
12653 * emacs-lisp/smie.el (smie-matching-block-highlight)
12654 (smie--highlight-matching-block-overlay)
12655 (smie--highlight-matching-block-lastpos)
12656 (smie-highlight-matching-block)
12657 (smie-highlight-matching-block-mode): Remove.
12658 (smie--matching-block-data-cache): New variable.
12659 (smie--matching-block-data): New function.
12660 (smie-setup): Use smie--matching-block-data for
12661 show-paren-data-function.
12663 * progmodes/octave.el (octave-mode-menu): Fix.
12664 (octave-find-definition): Skip garbage lines.
12666 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12668 Fix compilation error with simultaneous dynamic+lexical scoping.
12669 Add warning when a defvar appears after the first let-binding.
12670 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12671 (byte-compile-close-variables): Initialize it.
12672 (byte-compile--declare-var): New function.
12673 (byte-compile-file-form-defvar)
12674 (byte-compile-file-form-define-abbrev-table)
12675 (byte-compile-file-form-custom-declare-variable): Use it.
12676 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12677 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12678 (byte-compile-bind): Handle dynamic bindings that shadow
12680 (byte-compile-unbind): Make arg non-optional.
12681 (byte-compile-let): Simplify.
12682 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12683 (cconv--analyse-function, cconv-analyse-form): Populate it.
12684 Protect byte-compile-bound-variables to limit the scope of defvars.
12685 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12686 Remove unneeded rule for `declare'.
12688 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12689 so as to avoid depending on cl-adjoin at run-time.
12690 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12692 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12693 (macroexp--warn-and-return): Use it.
12695 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * subr.el: Convert to lexical binding.
12698 (overriding-local-map): Make obsolete.
12699 (add-to-list): Doc fix. Add compiler macro.
12700 (read-key): Swap values of local maps.
12702 2013-06-05 Leo Liu <sdl.web@gmail.com>
12704 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12706 2013-06-04 Leo Liu <sdl.web@gmail.com>
12708 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12709 (compilation-auto-jump): Suppress the "Mark set" message to give
12710 way to exit message.
12712 2013-06-04 Alan Mackenzie <acm@muc.de>
12714 Remove faulty optimisation from indentation calculation.
12715 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12716 search limit based on 2000 characters back from indent-point.
12718 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12720 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12722 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12724 * emacs-lisp/lisp.el: Use lexical-binding.
12725 (lisp--local-variables-1, lisp--local-variables): New functions.
12726 (lisp--local-variables-completion-table): New var.
12727 (lisp-completion-at-point): Use it complete let-bound vars.
12729 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12730 eagerly (bug#14422).
12732 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12734 * autorevert.el (auto-revert-notify-enabled)
12735 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12736 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12737 (auto-revert-notify-handler): Handle also gfilenotify.
12739 * subr.el (file-notify-handle-event): New defun. Replacing ...
12740 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12743 2013-06-03 Juri Linkov <juri@jurta.org>
12745 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12746 `M-s h .'. (Bug#14427)
12748 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12749 command `hi-lock-face-symbol-at-point'.
12750 (hi-lock-face-symbol-at-point): New command.
12751 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12752 (hi-lock-menu): Add `highlight-symbol-at-point'.
12753 (hi-lock-mode): Doc fix.
12755 * isearch.el (isearch-forward-symbol-at-point): New command.
12756 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12757 (isearch-highlight-regexp): Add a regexp which matches
12758 words/symbols for word/symbol mode.
12760 * subr.el (find-tag-default-bounds): New function with the body
12761 mostly moved from `find-tag-default'.
12762 (find-tag-default): Move most code to `find-tag-default-bounds',
12763 call it and apply `buffer-substring-no-properties' afterwards.
12765 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12767 * eshell/em-term.el (eshell-term-initialize):
12768 Use `cl-intersection' rather than `intersection'.
12770 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12772 * vc/log-view.el: Doc fix.
12773 (log-view-mode-map): Copy keymap from `special-mode-map'.
12775 2013-06-02 Eric Ludlam <zappo@gnu.org>
12777 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12778 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12779 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12780 (eieio-unbound, eieio-default-superclass)
12781 (eieio--define-field-accessors, method-static, method-before)
12782 (method-primary, method-after, method-num-lists)
12783 (method-generic-before, method-generic-primary)
12784 (method-generic-after, method-num-slots)
12785 (eieio-specialized-key-to-generic-key)
12786 (eieio--check-type, class-v, class-p)
12787 (eieio-class-name, define-obsolete-function-alias)
12788 (eieio-class-parents-fast, eieio-class-children-fast)
12789 (same-class-fast-p, class-constructor, generic-p)
12790 (generic-primary-only-p, generic-primary-only-one-p)
12791 (class-option-assoc, class-option, eieio-object-p)
12792 (class-abstract-p, class-method-invocation-order)
12793 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12794 (eieio-class-un-autoload, eieio-defclass)
12795 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12796 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12797 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12798 (eieio-defgeneric-reset-generic-form)
12799 (eieio-defgeneric-form-primary-only)
12800 (eieio-defgeneric-reset-generic-form-primary-only)
12801 (eieio-defgeneric-form-primary-only-one)
12802 (eieio-defgeneric-reset-generic-form-primary-only-one)
12803 (eieio-unbind-method-implementations)
12804 (eieio--defmethod, eieio--typep)
12805 (eieio-perform-slot-validation, eieio-validate-slot-value)
12806 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12807 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12808 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12809 (eieio-slot-name-index, eieio-class-slot-name-index)
12810 (eieio-set-defaults, eieio-initarg-to-attribute)
12811 (eieio-attribute-to-initarg, eieio-c3-candidate)
12812 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12813 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12814 (eieio-class-precedence-list, eieio-generic-call-methodname)
12815 (eieio-generic-call-arglst, eieio-generic-call-key)
12816 (eieio-generic-call-next-method-list)
12817 (eieio-pre-method-execution-functions, eieio-generic-call)
12818 (eieio-generic-call-primary-only, eieiomt-method-list)
12819 (eieiomt-optimizing-obarray, eieiomt-install)
12820 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12821 (eieio-generic-form, eieio-defmethod, make-obsolete)
12822 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12823 (defclass): Remove `eval-and-compile' from macro.
12824 (call-next-method, shared-initialize): Instead of using
12825 `scoped-class' variable, use new eieio--scoped-class, and
12826 eieio--with-scoped-class.
12827 (initialize-instance): Rename local variable 'scoped-class' to
12828 'this-class' to remove ambiguitity from old global.
12830 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12832 (eieio--scoped-class-stack): New variable.
12833 (eieio--scoped-class): New fcn.
12834 (eieio--with-scoped-class): New scoping macro.
12835 (eieio-defclass): Use pushnew instead of add-to-list.
12836 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12837 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12838 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12839 `scoped-class' variable, use new eieio--scoped-class, and
12840 eieio--with-scoped-class.
12842 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12844 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12846 * eshell/esh-ext.el (eshell-external-command): Pass args to
12847 `eshell-find-interpreter'.
12848 (eshell-find-interpreter): Add new second parameter ARGS.
12850 * eshell/em-script.el (eshell-script-initialize): Add second arg
12851 to the function added as MATCH to `eshell-interpreter-alist'.
12853 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12854 the function added as MATCH to `eshell-interpreter-alist'.
12856 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12857 (eshell-visual-options): New defcustom.
12858 (eshell-escape-control-x): Adapt docstring.
12859 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12860 `eshell-visual-options' in addition to `eshell-visual-commands'.
12861 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12863 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12865 * progmodes/python.el (python-indent-block-enders): Add break,
12866 continue and raise keywords.
12868 2013-06-01 Glenn Morris <rgm@gnu.org>
12870 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12872 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12873 * progmodes/cc-cmds.el (delete-forward-p):
12874 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12875 * progmodes/cc-engine.el (buffer-syntactic-context):
12876 * progmodes/cc-fonts.el (face-property-instance):
12877 * progmodes/cc-mode.el (set-keymap-parents):
12878 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12879 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12880 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12881 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12882 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12884 * progmodes/cc-vars.el (other): Emacs has this widget since
12885 at least 21.1, so don't (re)define it.
12887 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12888 Replace the obsolete alias pcomplete-arg-quote-list.
12890 2013-06-01 Leo Liu <sdl.web@gmail.com>
12892 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12893 punctuation syntax.
12894 (inferior-octave-minimal-columns)
12895 (inferior-octave-last-column-width): New variables.
12896 (inferior-octave-track-window-width-change): New function.
12897 (inferior-octave-mode): Adjust column width so that Octave output,
12898 for example from 'ls', can fit into the window nicely.
12900 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12902 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12903 Highlight expansions inside regexp literals.
12905 2013-05-31 Glenn Morris <rgm@gnu.org>
12907 * obsolete/sym-comp.el (symbol-complete):
12908 Replace obsolete completion-annotate-function.
12910 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12912 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12914 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12915 New function, checks if point is inside a literal that allows
12916 expression expansion.
12917 (ruby-syntax-propertize-expansion): Use it.
12918 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12921 2013-05-30 Juri Linkov <juri@jurta.org>
12923 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12925 (isearch-invisible): New variable.
12926 (isearch-forward): Doc fix.
12927 (isearch-mode): Set `isearch-invisible'
12928 to the value of `search-invisible'.
12929 (isearch-toggle-case-fold): Doc fix.
12930 (isearch-toggle-invisible): New command.
12931 (isearch-query-replace): Let-bind `search-invisible'
12932 to the value of `isearch-invisible'.
12933 (isearch-search): Use `isearch-invisible' instead of
12934 `search-invisible'. Let-bind `search-invisible'
12935 to the value of `isearch-invisible'. (Bug#11378)
12937 2013-05-30 Juri Linkov <juri@jurta.org>
12939 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12940 call when `query-flag' is nil and `search-invisible' is non-nil.
12943 2013-05-30 Glenn Morris <rgm@gnu.org>
12945 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12947 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12948 (cc-require): Suppress spurious "noruntime" warnings.
12949 (cc-require-when-compile): Use fboundp, for sake of compiler.
12951 * progmodes/cc-mode.el: Move load of cc-vars before that of
12952 cc-langs (which in turn loads cc-vars), to quieten compiler.
12954 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12956 * paren.el: Simplify the code.
12957 (show-paren-mode): Always start the timer.
12958 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12959 (show-paren--overlay, show-paren--overlay-1): Rename from
12960 show-paren-overlay and show-paren-overlay-1, and initialize to an
12961 overlay rather than to nil.
12962 (show-paren-function): Misc cleanup and simplifications.
12964 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12966 * paren.el (show-paren-data-function): New hook.
12967 (show-paren--default): New function, extracted from show-paren-function.
12968 (show-paren-function): Use show-paren-data-function.
12970 2013-05-30 Glenn Morris <rgm@gnu.org>
12972 * ielm.el (ielm-map, ielm-complete-symbol):
12973 Use completion-at-point rather than obsolete functions.
12974 (inferior-emacs-lisp-mode): Doc fix.
12975 Set completion-at-point-functions, rather than
12976 comint-dynamic-complete-functions.
12978 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12979 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12980 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12982 * image.el (image-animated-p): Tweak definition.
12984 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12985 (rlogin-process-connection-type): Tweak default. Add set-after.
12986 (rlogin-host): Doc fix.
12987 (rlogin): Tweak prompt.
12988 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12990 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12991 * progmodes/tcl.el (inferior-tcl-mode-map):
12992 Use completion-at-point rather than obsolete alias.
12994 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12996 * minibuffer.el (read-file-name-completion-ignore-case):
12997 Move before completion--in-region, for eager macro expansion.
12999 2013-05-29 Juri Linkov <juri@jurta.org>
13001 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13002 for total count of matching lines. Add `global-matches' for total
13003 count of matches. Rename `matches' to `lines' for count of
13004 matching lines. Add `matches' for count of matches.
13005 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13006 to `prev-line' for line number of prev match endpt.
13007 Increment `matches' for every match. Print the number of
13008 matching lines in the header.
13009 (occur-context-lines): Rename `lines' to `curr-line'.
13010 Rename `prev-lines' to `prev-line'. (Bug#14017)
13012 2013-05-29 Juri Linkov <juri@jurta.org>
13014 * replace.el (perform-replace): Add `skip-read-only-count',
13015 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13016 Increment them for corresponding conditions and report the number
13017 of skipped occurrences in the final message. (Bug#11746)
13018 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13019 (replace-string, replace-regexp): Doc fix.
13021 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13023 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13025 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13026 prog-mode-map (bug#14504).
13028 2013-05-29 Leo Liu <sdl.web@gmail.com>
13030 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13031 (octave-help): Small simplification.
13033 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13034 off the highlight first.
13036 2013-05-29 Glenn Morris <rgm@gnu.org>
13038 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13039 Handle idlwave-last-system-routine-info-cons-cell being nil.
13041 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13042 (idlwave-write-paths): Simplify via with-temp-buffer.
13044 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13045 * emulation/cua-rect.el: Also load cua-base at run time.
13047 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13048 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13049 (cperl-imenu-on-info): Require imenu.
13051 2013-05-28 Alan Mackenzie <acm@muc.de>
13053 Handle "capitalised keywords" correctly.
13054 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13056 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13058 * eshell/em-unix.el: Add -r option to cp.
13060 2013-05-28 Glenn Morris <rgm@gnu.org>
13062 * vc/vc-arch.el (vc-exec-after): Declare.
13063 (vc-switches): Autoload.
13064 * vc/vc-bzr.el: No need to require vc when compiling.
13065 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13066 (vc-resynch-buffer, vc-dir-refresh): Declare.
13067 (vc-setup-buffer, vc-switches): Autoload.
13068 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13069 (vc-resynch-buffer): Declare.
13070 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13071 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13072 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13073 (grep-read-regexp, grep-read-files, grep-expand-template)
13074 (vc-dir-refresh): Declare.
13075 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13076 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13077 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13078 * vc/vc-mtn.el (vc-exec-after): Declare.
13079 (vc-switches): Autoload.
13080 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13081 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13082 (vc-file-tree-walk): Declare.
13083 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13084 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13085 (vc-tag-precondition, vc-rename-master): Autoload.
13086 * vc/vc-svn.el (vc-exec-after): Declare.
13087 (vc-switches, vc-setup-buffer): Autoload.
13088 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13090 (vc-resynch-buffer): Declare.
13092 * obsolete/fast-lock.el (byte-compile-warnings):
13093 Don't warn about obsolete features in this obsolete file.
13095 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13096 Move definition before use.
13098 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13099 (dun-unix-verbs): Remove dun-zippy.
13100 (dun-zippy): Remove function.
13102 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13104 2013-05-27 Juri Linkov <juri@jurta.org>
13106 * replace.el (replace-search): New function with code moved out
13107 from `perform-replace'.
13108 (replace-highlight, replace-dehighlight): Move function definitions
13109 up closer to `replace-search'. (Bug#11746)
13111 2013-05-27 Juri Linkov <juri@jurta.org>
13113 * replace.el (perform-replace): Ignore invisible matches.
13114 In addition to checking `query-replace-skip-read-only', also
13115 filter out matches by calling `run-hook-with-args-until-failure'
13116 on `isearch-filter-predicates', and also check `search-invisible'
13117 for t or call `isearch-range-invisible'.
13118 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13120 2013-05-27 Juri Linkov <juri@jurta.org>
13122 * isearch.el (isearch-filter-predicates): Rename from
13123 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13124 (isearch-message-prefix): Display text from the property
13125 `isearch-message-prefix' of the currently active filters.
13126 (isearch-search): Don't compare `isearch-filter-predicate' with
13127 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13128 on `isearch-filter-predicates'. Also check `search-invisible' for t
13129 or call `isearch-range-invisible'.
13130 (isearch-filter-visible): Make obsolete.
13131 (isearch-lazy-highlight-search):
13132 Call `run-hook-with-args-until-failure' on
13133 `isearch-filter-predicates' and use `isearch-range-invisible'.
13135 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13136 `isearch-filter-predicates' instead of `funcall'ing
13137 `isearch-filter-predicate'.
13138 (Info-mode): Set `Info-isearch-filter' to
13139 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13141 * dired-aux.el (dired-isearch-filter-predicate-orig):
13143 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13144 (dired-isearch-filenames-end): Add and remove
13145 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13146 instead of changing the value of `isearch-filter-predicate'.
13147 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13148 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13149 Put property `isearch-message-prefix' to "filename " on
13150 `dired-isearch-filter-filenames'.
13152 * wdired.el (wdired-change-to-wdired-mode):
13153 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13154 locally instead of changing `isearch-filter-predicate'.
13155 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13157 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13159 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13160 return the commit hash (Bug#14459). Also set the
13161 `vc-git-detached' property.
13162 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13163 (vc-git-mode-line-string): Use the same help-echo format whether
13164 in detached mode or not, because we know the actual revision now.
13165 When in detached mode, shorten the revision to 7 chars.
13167 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * emacs-lisp/easy-mmode.el (define-minor-mode):
13170 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13171 mode hook and provide a docstring.
13173 2013-05-27 Alan Mackenzie <acm@muc.de>
13175 Remove spurious syntax-table text properties inserted by C-y.
13176 * progmodes/cc-mode.el (c-after-change): Also clear hard
13177 syntax-table property with value nil.
13179 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13181 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13182 when reading the events; the buffer layout shall not be changed.
13184 2013-05-27 Leo Liu <sdl.web@gmail.com>
13186 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13188 (inferior-octave-directory-tracker): Automatically re-sync
13190 (octave-help): Improve handling of 'See also'.
13192 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13194 * doc-view.el: Minor naming convention tweaks.
13195 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13197 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13198 even if there's no `display' property yet (bug#14435).
13200 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13202 * subr.el (unmsys--file-name): Rename from reveal-filename.
13204 * Makefile.in (custom-deps, finder-data, autoloads)
13205 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13206 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13207 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13209 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13211 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13212 error-completion on the first 2 args of condition-case (bug#14446).
13215 2013-05-25 Leo Liu <sdl.web@gmail.com>
13217 * comint.el (comint-previous-matching-input): Do not flood the
13218 *Messages* buffer with trivial messages.
13220 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13222 * progmodes/flymake.el (flymake-nop): Don't return a string.
13223 (flymake-set-at): Fix typo.
13225 * simple.el (read--expression): New function, extracted from
13226 eval-expression. Set completion-at-point-functions (bug#14465).
13227 (eval-expression, eval-minibuffer): Use it.
13229 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13231 * progmodes/flymake.el (flymake-save-buffer-in-file)
13232 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13233 (flymake-selected-frame, flymake-log, flymake-ins-after)
13234 (flymake-set-at, flymake-get-buildfile-from-cache)
13235 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13236 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13237 Refine the doc string.
13238 (flymake-get-file-name-mode-and-masks): Reformat.
13239 (flymake-get-real-file-name-function): Fix a minor bug.
13241 2013-05-24 Juri Linkov <juri@jurta.org>
13243 * progmodes/grep.el (grep-mode-font-lock-keywords):
13244 Support =linenumber= format used by git-grep for lines with
13245 function names. (Bug#13549)
13247 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13249 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13250 0 after a semi-colon; it works better for smie-auto-fill.
13251 (octave--indent-new-comment-line): New function.
13252 (octave-indent-new-comment-line): Use it (indirectly).
13253 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13254 modify comment-line-break-function.
13256 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13257 (smie-setup): Use add-function to set it.
13259 2013-05-24 Sam Steingold <sds@gnu.org>
13261 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13262 argument (before the `interactive' argument).
13264 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13266 * image-mode.el (image-mode-winprops): Add winprops to
13267 image-mode-winprops-alist before running
13268 image-mode-new-window-functions.
13269 * doc-view.el (doc-view-new-window-function): Don't delay
13270 doc-view-goto-page via timers (bug#14435).
13272 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13274 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13275 (doc-view-desktop-save-buffer): New function.
13276 (doc-view-restore-desktop-buffer): New function.
13277 (desktop-buffer-mode-handlers):
13278 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13280 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13281 `desktop-save-buffer' function.
13283 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13285 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13286 (tramp-gvfs-file-name-handler): Raise a user error when
13287 `tramp-gvfs-enabled' is nil.
13288 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13289 Do not raise a user error when loading package. (Bug#14447)
13291 * net/xesam.el: Move to obsolete/.
13293 2013-05-24 Glenn Morris <rgm@gnu.org>
13295 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13297 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13299 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13300 (Info-find-node, Man-getpage-in-background): Declare.
13302 * mail/unrmail.el (unrmail):
13303 Replace obsolete detect-coding-with-priority.
13305 * net/socks.el (socks-split-string): Use this rather than split-string.
13306 (socks-nslookup-host): Update for above change.
13307 (dynamic-choice, s5-dynamic-choice-match)
13308 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13309 Comment out unused code.
13311 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13312 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13313 (gud-tooltip-echo-area): Make obsolete.
13314 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13316 * progmodes/js.el (js--optimize-arglist): Declare.
13318 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13320 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13321 (ediff-window-C): Declare.
13323 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13324 Tweak requires to silence compiler.
13326 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13327 (he-search-string, he-tried-table, he-expand-list)
13328 (he-init-string, he-string-member, he-substitute-string)
13329 (he-reset-string): Declare.
13331 * obsolete/options.el (list-options): Use custom-variable-p,
13332 rather than obsolete alias.
13334 2013-05-23 Sam Steingold <sds@gnu.org>
13336 * simple.el (shell-command-on-region): Pass the `replace' argument
13337 down to `call-process-region' to comply with the doc as reported on
13338 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13340 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13342 * emacs-lisp/smie.el (smie-indent-forward-token)
13343 (smie-indent-backward-token): Handle string tokens (bug#14381).
13345 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13347 * ielm.el (ielm-menu): New menu.
13348 (inferior-emacs-lisp-mode): Set comment-start.
13350 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13352 * textmodes/reftex.el (reftex-ref-style-toggle):
13353 Fix deactivate action.
13355 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13356 Add cleveref macros.
13358 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13359 Accept options for bibliography commands.
13360 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13361 Add addbibresource. Basic Biblatex support.
13363 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13365 * net/tramp-gvfs.el (top):
13366 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13367 when loading package. (Bug#14447)
13369 2013-05-23 Glenn Morris <rgm@gnu.org>
13371 * progmodes/js.el: No need to load comint when compiling.
13372 (ring-insert, comint-send-string, comint-send-input)
13373 (comint-last-input-end, ido-chop): Declare.
13375 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13376 * vc/ediff-mult.el: Adjust requires.
13377 (ediff-directories-internal, ediff-directory-revisions-internal)
13378 (ediff-patch-file-internal): Declare.
13379 * vc/ediff-ptch.el: Adjust requires.
13380 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13381 (ediff-find-file): Autoload.
13382 * vc/ediff-util.el: No need to load ediff when compiling.
13383 (ediff-regions-internal): Declare.
13384 * vc/ediff-wind.el: Adjust requires.
13385 (ediff-compute-toolbar-width): Define when compiling.
13386 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13387 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13388 (dired-get-filename, dired-get-marked-files)
13389 (ediff-last-dir-patch, ediff-patch-default-directory)
13390 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13391 (ediff-patch-buffer-internal): Declare.
13393 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13394 (ispell-process, ispell-buffer-local-words, lm-summary)
13395 (lm-section-start, lm-section-end): Declare.
13396 (checkdoc-ispell-init): Simplify.
13398 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13399 (he-string-member, he-reset-string, he-substitute-string): Declare.
13401 * eshell/em-ls.el: Adjust requires.
13402 (eshell-glob-regexp): Declare.
13403 * eshell/em-tramp.el: Adjust requires.
13404 (eshell-parse-command): Autoload.
13405 * eshell/em-xtra.el: Adjust requires.
13406 (eshell-parse-command): Autoload.
13407 * eshell/esh-ext.el: Adjust requires.
13408 (eshell-parse-command, eshell-close-handles): Autoload.
13409 * eshell/esh-io.el: Adjust requires.
13410 (eshell-output-filter): Autoload.
13411 * eshell/esh-util.el: No need to load tramp when compiling.
13412 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13414 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13415 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13416 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13417 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13418 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13419 * eshell/esh-opt.el, eshell/esh-proc.el:
13420 * eshell/esh-var.el: Adjust requires.
13421 * eshell/eshell.el: Do not require esh-util twice.
13422 (eshell-add-input-to-history): Declare.
13423 (eshell-command): Check history module is active before using it.
13425 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13427 2013-05-22 Leo Liu <sdl.web@gmail.com>
13429 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13431 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13433 * autorevert.el (auto-revert-notify-add-watch)
13434 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13435 it indicates changes in file modification time.
13437 2013-05-22 Glenn Morris <rgm@gnu.org>
13439 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13440 Always delete the autoloaded function from the noruntime and
13441 unresolved functions lists.
13443 * allout.el: No need to load epa, epg, overlay when compiling.
13444 (epg-context-set-passphrase-callback, epg-list-keys)
13445 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13446 (epg-key-user-id-list): Declare.
13448 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13449 (viper-set-parsing-style-toggling-macro)
13450 (viper-set-emacs-state-searchstyle-macros):
13451 Use called-interactively-p on Emacs.
13452 (viper-looking-back): Make it an obsolete alias. Update callers.
13453 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13454 Use looking-back rather than viper-looking-back.
13455 (viper-tmp-insert-at-eob, viper-enlarge-region)
13456 (viper-read-string-with-history, viper-register-to-point)
13457 (viper-append-to-register, viper-change-state-to-vi)
13458 (viper-backward-char-carefully, viper-forward-char-carefully)
13459 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13460 (viper-change-state-to-emacs): Declare.
13461 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13462 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13463 * emulation/viper-mous.el: Do not load viper-cmd.
13464 (viper-backward-char-carefully, viper-forward-char-carefully)
13465 (viper-forward-word, viper-adjust-window): Declare.
13467 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13469 * progmodes/idlw-help.el (idlwave-help-fontify):
13470 Use called-interactively-p.
13472 * term/w32console.el (w32-get-console-codepage)
13473 (w32-get-console-output-codepage): Declare.
13475 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13476 Remove unnecessary declarations.
13477 (dframe-message): Doc fix.
13479 * info.el (dframe-select-attached-frame, dframe-current-frame):
13482 * speedbar.el (speedbar-message): Make it an obsolete alias.
13483 Update all callers.
13484 (speedbar-with-attached-buffer)
13485 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13486 (speedbar-with-writable): Use backquote.
13487 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13488 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13489 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13490 rather than speedbar- aliases.
13491 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13492 (speedbar-make-specialized-keymap, speedbar-insert-button)
13493 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13494 (speedbar-do-function-pointer): Declare.
13495 (rmail-speedbar-button, rmail-speedbar-find-file)
13496 (rmail-speedbar-move-message):
13497 Use dframe-with-attached-buffer rather than speedbar- alias.
13498 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13499 (dframe-message, speedbar-make-specialized-keymap)
13500 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13501 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13502 (speedbar-insert-button, dframe-select-attached-frame)
13503 (dframe-maybee-jump-to-attached-frame)
13504 (speedbar-change-initial-expansion-list)
13505 (speedbar-previously-used-expansion-list-name): Declare.
13506 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13507 Use dframe-message, dframe-with-attached-buffer rather than
13509 (gud-sentinel): Silence compiler.
13510 * progmodes/vhdl-mode.el (speedbar-refresh)
13511 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13512 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13513 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13514 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13515 (speedbar-file-lists, speedbar-make-tag-line)
13516 (speedbar-line-directory, speedbar-goto-this-file)
13517 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13518 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13519 (speedbar-make-button, speedbar-reset-scanners)
13520 (speedbar-files-item-info, speedbar-line-text)
13521 (speedbar-find-file-in-frame, speedbar-set-timer)
13522 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13523 (speedbar-with-writable): Do not (re)define it.
13524 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13525 rather than speedbar- alias.
13527 2013-05-21 Leo Liu <sdl.web@gmail.com>
13529 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13531 (octave-mode): Tweak fill-nobreak-predicate.
13532 (inferior-octave-startup): Check process to avoid infinite loop.
13533 (inferior-octave): Pop to buffer first to show abornmal process
13536 2013-05-21 Glenn Morris <rgm@gnu.org>
13538 * printing.el (pr-menu-bar): Define when compiling.
13540 2013-05-21 Leo Liu <sdl.web@gmail.com>
13542 * progmodes/octave.el (octave-auto-fill): Remove.
13543 (octave-indent-new-comment-line): Improve.
13544 (octave-mode): Use auto fill mode through
13545 comment-line-break-function and fill-nobreak-predicate.
13546 (octave-goto-function-definition): Support DEFUN_DLD.
13547 (octave-beginning-of-defun): Small tweak.
13548 (octave-help): Show parent directory.
13550 2013-05-21 Glenn Morris <rgm@gnu.org>
13552 * files.el (dired-unmark):
13553 * progmodes/gud.el (gdb-input): Update declarations.
13555 * calculator.el (electric, ehelp): No need to load when compiling.
13556 (Electric-command-loop, electric-describe-mode): Declare.
13558 * doc-view.el (doc-view-current-converter-processes): Move before use.
13560 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13561 Move MODE-set-explicitly definition before use.
13563 * international/mule-diag.el (mule-diag):
13564 Don't use obsolete window-system-version.
13566 * mail/feedmail.el (smtpmail): No need to load when compiling.
13567 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13569 * mail/mail-utils.el (rfc822): No need to load when compiling.
13570 (rfc822-addresses): Autoload it.
13571 (mail-strip-quoted-names): Trivial simplification.
13573 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13574 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13576 * net/snmp-mode.el (tempo): Don't duplicate requires.
13578 * progmodes/prolog.el (info): No need to load when compiling.
13579 (comint): Require before shell requires it.
13580 (Info-goto-node): Autoload it.
13581 (Info-follow-nearest-node): Declare.
13582 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13584 * textmodes/artist.el (picture-mode-exit): Declare.
13586 * textmodes/reftex-parse.el (reftex-parse-from-file):
13587 Trivial rewrite so the compiler can parse it better.
13589 2013-05-20 Leo Liu <sdl.web@gmail.com>
13591 * progmodes/octave.el (octave-help-mode-map)
13592 (octave-help-mode-finish-hook): New variables.
13593 (octave-help-mode, octave-help-mode-finish): New functions.
13594 (octave-help): Use octave-help-mode.
13596 2013-05-20 Glenn Morris <rgm@gnu.org>
13598 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13600 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13602 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13603 start at point, so that expansion starting right after opening
13604 slash in a regexp is recognized.
13605 (ruby-syntax-before-regexp-re): New defvar, extracted from
13606 ruby-syntax-propertize-function. Since the value of this regexp
13607 is looked up at runtime now, we should be able to turn
13608 `ruby-syntax-methods-before-regexp' into a defcustom later.
13609 (ruby-syntax-propertize-function): Split regexp matching into two
13610 parts, for opening and closing slashes. That allows us to skip
13611 over string interpolations and support multiline regexps.
13612 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13613 for them, which calls `ruby-syntax-propertize-expansion'.
13614 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13615 call to `ruby-syntax-propertize-function'.
13616 (ruby-syntax-propertize-expansion): Extracted from
13617 `ruby-syntax-propertize-expansions'. Handles one expansion.
13618 (ruby-syntax-propertize-percent-literal): Leave point right after
13619 the percent symbol, so that the expression expansion rule can
13620 propertize the contents.
13621 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13623 (ruby-syntax-propertize-expansions): Remove.
13625 2013-05-18 Juri Linkov <juri@jurta.org>
13627 * man.el (Man-default-man-entry): Remove `-' from the end
13628 of the default value. (Bug#14400)
13630 2013-05-18 Glenn Morris <rgm@gnu.org>
13632 * comint.el (comint-password-prompt-regexp):
13633 Allow "password for XXX" where XXX contains colons (eg https://...).
13635 2013-05-18 Leo Liu <sdl.web@gmail.com>
13637 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13638 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13639 (octave-source-directories): Don't check process.
13640 (octave-source-directories, octave-find-definition): Doc fix.
13642 2013-05-18 Glenn Morris <rgm@gnu.org>
13644 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13645 Remove backspace/delete bindings. (Bug#14392)
13647 * cus-dep.el (custom-make-dependencies): Sort the output.
13648 (custom-versions-load-alist): Convert comment to doc.
13650 2013-05-17 Leo Liu <sdl.web@gmail.com>
13652 * newcomment.el (comment-search-backward): Stricter in finding
13653 comment start. (Bug#14303)
13655 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13656 (octave-comment-start-skip): Properly anchored.
13658 2013-05-17 Leo Liu <sdl.web@gmail.com>
13660 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13661 Clean up when turned off. (Bug#14395)
13662 (smie--highlight-matching-block-overlay): No longer buffer-local.
13663 (smie-highlight-matching-block): Adjust.
13665 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13667 Doc string fix for "nanoseconds" (Bug#14406).
13668 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13669 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13671 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13673 * calc/calc-units.el (math-extract-units): Preserve powers
13676 2013-05-17 Leo Liu <sdl.web@gmail.com>
13678 * subr.el (delete-consecutive-dups): New function.
13679 * ido.el (ido-set-matches-1): Use it.
13680 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13681 * ido.el (ido-remove-consecutive-dups): Remove.
13683 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13685 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13686 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13687 regexp-opt's `words'.
13689 2013-05-16 Leo Liu <sdl.web@gmail.com>
13691 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13692 (smie--highlight-matching-block-overlay)
13693 (smie--highlight-matching-block-lastpos)
13694 (smie--highlight-matching-block-timer): New variables.
13695 (smie-highlight-matching-block): New function.
13696 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13697 (smie-setup): Conditionally enable smie-blink-matching-open.
13699 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13701 Sync with upstream verilog-mode r840.
13702 * progmodes/verilog-mode.el (verilog-mode-version)
13703 (verilog-mode-release-date): Update.
13704 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13705 (verilog-sig-tieoff): Fix string error on
13706 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13707 (verilog-read-decls): Fix parameters confusing
13708 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13710 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13712 * subr.el (reveal-filename): New function.
13714 * loadup.el: Compute Emacs executable versions on MS-Windows,
13715 where executables have the .exe extension. Add a hard link
13716 emacs-XX.YY.ZZ.exe on MS-Windows.
13718 * Makefile.in (XARGS_LIMIT): New variable.
13719 (custom-deps, finder-data, autoloads)
13720 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13721 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13722 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13723 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13725 2013-05-16 Leo Liu <sdl.web@gmail.com>
13727 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13728 (octave-mode-menu, octave-mode-map): Remove its uses.
13730 2013-05-16 Reto Zimmermann <reto@gnu.org>
13732 Sync with upstream vhdl mode v3.34.2.
13733 * progmodes/vhdl-mode.el: Use `push' throughout.
13734 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13735 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13736 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13737 (vhdl-actual-generic-name): New option to derive actual generic name.
13738 (vhdl-port-paste-signals): Replace formal by actual generics.
13739 (vhdl-beautify): New name for old group vhdl-align. Update users.
13740 (vhdl-beautify-options): New option.
13741 (vhdl-last-input-event): New compat alias. Use throughout.
13742 (vhdl-goto-line): Replace user level function `goto-line'.
13743 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13744 vhdl-fix-statement-buffer.
13745 (vhdl-create-mode-menu): Add some entries.
13746 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13747 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13748 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13749 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13750 to force statements on one line.
13751 (vhdl-remove-trailing-spaces-region):
13752 New, split from vhdl-remove-trailing-spaces.
13753 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13754 Respect vhdl-beautify-options.
13755 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13756 (vhdl-update-sensitivity-list): Not add with index if exists without.
13757 Not include array index with signal. Ignore keywords in comments.
13758 (vhdl-get-visible-signals): Regexp tweaks.
13759 (vhdl-template-component-inst): Handle empty library.
13760 (vhdl-template-type): Add template for 'enum' type.
13761 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13762 Use vhdl-replace-string.
13763 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13764 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13765 (vhdl-speedbar-initialize): Update for above name change.
13766 (vhdl-compose-wire-components): Fix in handling of constants.
13767 (vhdl-error-regexp-emacs-alist): New variable.
13768 (vhdl-error-regexp-add-emacs): New function;
13769 adds support for new compile.el (Emacs 22+)
13770 (vhdl-generate-makefile-1): Change target order for single lib. units.
13771 Allow use of absolute file names.
13773 2013-05-16 Leo Liu <sdl.web@gmail.com>
13775 * simple.el (prog-indent-sexp): Indent enclosing defun.
13777 2013-05-15 Glenn Morris <rgm@gnu.org>
13779 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13780 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13781 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13782 (whitespace-highlight): Move to whitespace group.
13784 * comint.el (comint-source):
13785 * pcmpl-linux.el (pcmpl-linux):
13786 * shell.el (shell-faces):
13787 * eshell/esh-opt.el (eshell-opt):
13788 * international/ccl.el (ccl): Remove empty custom groups.
13790 * completion.el (dynamic-completion-mode):
13791 * jit-lock.el (jit-lock-debug-mode):
13792 * minibuffer.el (completion-in-region-mode):
13793 * type-break.el (type-break-mode-line-message-mode)
13794 (type-break-query-mode):
13795 * emulation/tpu-edt.el (tpu-edt-mode):
13796 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13797 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13798 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13800 * term/xterm.el (xterm): Change parent group to terminals.
13802 * master.el (master): Remove empty custom group.
13803 (master-mode): Remove unused :group argument.
13804 * textmodes/refill.el (refill): Remove empty custom group.
13805 (refill-mode): Remove unused :group argument.
13807 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13809 * cus-dep.el: Provide a feature.
13810 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13811 Don't mistakenly ignore files whose basenames match a basename
13812 from preloaded-file-list (eg cedet/ede/simple.el).
13813 Add a fallback method for getting :group.
13815 2013-05-15 Juri Linkov <juri@jurta.org>
13817 * isearch.el (isearch-char-by-name): Rename from
13818 `isearch-insert-char-by-name'. Doc fix.
13819 (isearch-forward): Mention `isearch-char-by-name' in
13820 the docstring. (Bug#13348)
13822 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13823 `exit-minibuffer' instead of
13824 `isearch-nonincremental-exit-minibuffer'.
13825 (isearch-edit-string): Remove mention of
13826 `isearch-nonincremental-exit-minibuffer' from docstring.
13827 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13828 (isearch-forward-exit-minibuffer)
13829 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13831 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13833 * loadup.el: Just use unversioned DOC.
13835 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13836 literals as extending to EOB.
13837 (nxml-last-fontify-end): Remove unused variable.
13838 (nxml-after-change1): Use with-silent-modifications.
13839 (nxml-extend-after-change-region): Simplify.
13840 (nxml-extend-after-change-region1): Remove function.
13841 (nxml-after-change1): Don't adjust for dependent regions.
13842 (nxml-fontify-matcher): Simplify.
13843 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13844 (xmltok-add-dependent): Remove function.
13845 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13846 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13847 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13848 unclosed <[[, <?, comment, and other literals as extending to EOB.
13849 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13850 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13852 (rng-do-some-validation-1): Don't mark dependent regions.
13853 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13854 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13855 (nxml-clear-dependent-regions): Remove functions.
13856 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13857 (nxml-ensure-scan-up-to-date):
13858 Don't clear&mark dependent regions.
13860 2013-05-15 Leo Liu <sdl.web@gmail.com>
13862 * progmodes/octave.el (octave-goto-function-definition):
13863 Improve and fix callers.
13865 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13868 the setter (bug#14387).
13870 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13871 surrounding group (bug#14402).
13873 2013-05-14 Juri Linkov <juri@jurta.org>
13875 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13878 2013-05-14 Glenn Morris <rgm@gnu.org>
13880 * progmodes/f90.el (f90-imenu-generic-expression):
13881 Fix typo in 2013-05-08 change. (Bug#14402)
13883 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13885 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13886 Remove signals for which replies are never received.
13888 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13890 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13891 (gdb-handler-alist, gdb-handler-number): Remove variables.
13892 (gdb-handler-list): New variable.
13893 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13894 (gdb-pending-handler-p, gdb-handle-reply)
13895 (gdb-remove-all-pending-triggers): New functions.
13896 (gdb-discard-unordered-replies): New defcustom.
13897 (gdb-handler): New defstruct.
13898 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13899 instead of gdb-pending-triggers. Update docstring.
13900 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13901 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13902 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13903 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13904 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13905 (gdb-frame-handler): Pending triggers are now automatically managed.
13906 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13908 (gdb-input): Automatically handles pending triggers. Update docstring.
13909 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13910 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13912 (gdb-done-or-error): Now use gdb-handle-reply.
13914 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13916 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13919 2013-05-14 Glenn Morris <rgm@gnu.org>
13921 * subr.el (user-emacs-directory-warning): New option.
13922 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13924 2013-05-14 Leo Liu <sdl.web@gmail.com>
13926 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13928 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13929 (octave-font-lock-texinfo-comment): Fix invalid search bound
13930 error: wrong side of point.
13932 2013-05-14 Glenn Morris <rgm@gnu.org>
13934 * progmodes/flymake.el (flymake-xml-program): New option.
13935 (flymake-xml-init): Use it.
13937 * term/xterm.el: Provide a feature.
13939 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13941 2013-05-13 Glenn Morris <rgm@gnu.org>
13943 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13944 Add compat aliases as a hack workaround. (Bug#14384)
13946 2013-05-13 Leo Liu <sdl.web@gmail.com>
13948 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13950 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13952 (octave-comment-start-skip): Include %!.
13953 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13955 2013-05-12 Leo Liu <sdl.web@gmail.com>
13957 * progmodes/octave.el (inferior-octave-startup): Store the value
13958 of __octave_srcdir__ for octave-source-directories.
13959 (inferior-octave-check-process): New function refactored out of
13960 inferior-octave-send-list-and-digest.
13961 (octave-source-directories)
13962 (octave-find-definition-filename-function): New variables.
13963 (octave-source-directories)
13964 (octave-find-definition-default-filename): New functions.
13965 (octave-find-definition): Improve to find functions implemented in C++.
13967 2013-05-12 Glenn Morris <rgm@gnu.org>
13969 * calendar/diary-lib.el (diary-outlook-format-1):
13970 Don't include dayname in the output. (Bug#14349)
13972 2013-05-11 Glenn Morris <rgm@gnu.org>
13974 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13976 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13977 Treat cc-provide like provide.
13979 2013-05-11 Kevin Ryde <user42@zip.com.au>
13981 * cus-dep.el (custom-make-dependencies):
13982 Use generated-autoload-load-name for the sake of files such
13983 such cedet/semantic/bovine/c.el, where the base file name
13984 is not in load-path. (Bug#5277)
13986 2013-05-11 Glenn Morris <rgm@gnu.org>
13988 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13991 2013-05-11 Leo Liu <sdl.web@gmail.com>
13993 * progmodes/octave.el (octave-indent-comment): Improve.
13994 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13995 (octave-eldoc-function-signatures, octave-eldoc-function):
13997 (octave-mode, inferior-octave-mode): Add eldoc support.
13999 2013-05-11 Richard Stallman <rms@gnu.org>
14001 * epa.el (epa-decrypt-file): Take output file name as argument
14002 and read it using `interactive'.
14004 2013-05-11 Leo Liu <sdl.web@gmail.com>
14006 * progmodes/octave.el (octave-beginning-of-line)
14007 (octave-end-of-line): Check before using up-list because it jumps
14008 out of more syntactic contructs since moving to smie.
14009 (octave-indent-comment): New function.
14010 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14011 (octave-begin-keywords, octave-end-keywords)
14012 (octave-reserved-words, octave-smie-bnf-table)
14013 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14015 2013-05-11 Glenn Morris <rgm@gnu.org>
14017 * faces.el (internal-face-x-get-resource):
14018 * frame.el (ns-display-monitor-attributes-list):
14019 * calc/calc-aent.el (math-to-radians-2):
14020 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14023 * calc/calc-menu.el: Make it loadable in isolation.
14025 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14026 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14027 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14028 (eudc-bbdb-query-internal): Require 'bbdb.
14030 * lpr.el (lpr-headers-switches):
14031 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14033 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14035 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14037 * term.el (term-set-escape-char): Make it idempotent.
14039 2013-05-10 Leo Liu <sdl.web@gmail.com>
14041 * progmodes/octave.el (inferior-octave-completion-table):
14042 No longer a function and all uses changed. Use cache to speed up
14043 completion due to bug#11906.
14044 (octave-beginning-of-defun): Re-write to be more general.
14046 2013-05-10 Glenn Morris <rgm@gnu.org>
14048 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14050 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14052 * comint.el (comint-redirect-send-command-to-process): Use :around
14053 rather than :override for comint-redirect-filter.
14054 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14055 Call it instead of comint-redirect-original-filter-function (which
14056 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14058 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14060 * frame.el (display-monitor-attributes-list): Add NS case.
14061 (ns-display-monitor-attributes-list): Declare.
14063 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14065 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14067 2013-05-09 Glenn Morris <rgm@gnu.org>
14069 * international/fontset.el (vertical-centering-font-regexp):
14070 Set standard-value.
14072 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14074 * bookmark.el (bookmark-search-delay):
14075 * cus-start.el (vertical-centering-font-regexp):
14076 * ps-mule.el (ps-mule-font-info-database-default):
14077 * ps-print.el (ps-default-fg, ps-default-bg):
14078 * type-break.el (type-break-good-break-interval):
14079 * whitespace.el (whitespace-indentation-regexp)
14080 (whitespace-space-after-tab-regexp):
14081 * emacs-lisp/testcover.el (testcover-1value-functions)
14082 (testcover-noreturn-functions, testcover-progn-functions)
14083 (testcover-prog1-functions):
14084 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14085 * eshell/em-glob.el (eshell-glob-translate-alist):
14086 * play/tetris.el (tetris-tty-colors):
14087 * progmodes/cpp.el (cpp-face-default-list):
14088 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14089 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14090 (idlwave-help-browser-generic-args):
14091 * progmodes/make-mode.el (makefile-special-targets-list):
14092 * progmodes/python.el (python-shell-virtualenv-path):
14093 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14094 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14095 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14096 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14097 * textmodes/reftex-vars.el (reftex-format-label-function):
14098 * textmodes/remember.el (remember-diary-file): Fix custom types.
14100 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14103 2013-05-09 Leo Liu <sdl.web@gmail.com>
14105 * progmodes/octave.el (inferior-octave-completion-at-point):
14106 Restore file completion. (Bug#14300)
14107 (inferior-octave-startup): Fix incorrect highlighting for the
14110 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14112 * progmodes/ruby-mode.el: First cut at SMIE support.
14113 (ruby-use-smie): New var.
14114 (ruby-smie-grammar): New constant.
14115 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14116 (ruby-smie--forward-token, ruby-smie--backward-token)
14117 (ruby-smie-rules): New functions.
14118 (ruby-mode-variables): Setup SMIE if applicable.
14120 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14122 * simple.el (line-move-visual): Signal beginning/end of buffer
14123 only if vertical-motion moved less than it was requested. Avoids
14124 silly incorrect error messages when there are display strings with
14125 multiple newlines at EOL.
14127 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14129 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14130 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14131 (prolog-char-quote-workaround):
14132 * progmodes/cperl-mode.el (cperl-under-as-char):
14133 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14135 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14137 (vhdl-mode-syntax-table-init): Remove.
14139 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14142 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14144 (ld-script-font-lock-keywords):
14145 Change regexps to use things like \_< and \_>.
14147 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14148 Change all regexps to use things like \_< and \_>.
14150 * progmodes/autoconf.el (autoconf-definition-regexp)
14151 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14152 Handle a _ with symbol syntax.
14153 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14155 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14156 Consolidate declaration.
14157 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14159 (ada-create-syntax-table): Remove.
14160 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14161 already has the right syntax nowadays.
14162 (ada-goto-next-word): Don't change the syntax of "_".
14164 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14167 2013-05-08 Sam Steingold <sds@gnu.org>
14169 * thingatpt.el (thing-at-point): Accept optional second argument
14170 NO-PROPERTIES to strip the text properties from the return value.
14171 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14172 to `thing-at-point' instead of stripping the properties ourselves.
14173 Also, when `thing-at-point' fails to find a url, prepend "http://"
14174 to the filename at point on the assumption that the user is
14175 pointing at something like gnu.org/gnu.
14177 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14179 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14180 * faces.el (crm-separator):
14181 Silence byte-compiler.
14183 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14184 (tool-bar-map): Remove unneeded defvars.
14186 2013-05-08 Leo Liu <sdl.web@gmail.com>
14188 Re-work a fix for bug#10994 based on Le Wang's patch.
14189 * ido.el (ido-remove-consecutive-dups): New helper.
14190 (ido-completing-read): Use it.
14191 (ido-chop): Revert fix for bug#10994.
14193 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14195 * cus-edit.el (custom-save-variables):
14196 Pretty-print long values. (Bug#14187)
14198 2013-05-08 Glenn Morris <rgm@gnu.org>
14200 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14201 (m4-mode-syntax-table): Init in the defvar.
14202 (m4-mode-abbrev-table): Let define-derived-mode define it.
14204 2013-05-08 Tom Tromey <tromey@redhat.com>
14206 * progmodes/m4-mode.el (m4-mode-syntax-table):
14207 Do not treat "_" as word constituent. (Bug#14167)
14209 2013-05-07 Glenn Morris <rgm@gnu.org>
14211 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14212 Remove explicit eshell-isearch-cancel-map.
14214 * progmodes/f90.el (f90-smart-end-names): New option.
14215 (f90-smart-end): Doc fix.
14216 (f90-end-block-optional-name): New constant.
14217 (f90-block-match): Respect f90-smart-end-names.
14219 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14221 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14222 about implicit semi-colons (bug#14218).
14224 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14226 * frame.el (display-monitor-attributes-list)
14227 (frame-monitor-attributes): New functions.
14229 2013-05-06 Leo Liu <sdl.web@gmail.com>
14231 * progmodes/octave.el (octave-syntax-propertize-function): Change
14232 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14233 (octave-font-lock-keywords): Use octave-operator-regexp.
14234 (octave-completion-at-point): Rename from
14235 octave-completion-at-point-function.
14236 (inferior-octave-directory-tracker): Robustify.
14237 (octave-text-functions): Remove and fix its uses. No such things
14240 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14242 * emacs-lisp/trace.el (trace--display-buffer): New function.
14243 (trace-make-advice): Use it.
14245 2013-05-06 Juri Linkov <juri@jurta.org>
14247 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14248 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14250 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14251 in the help string. (Bug#12985)
14253 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14255 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14257 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14259 * progmodes/perl-mode.el: Add support for here documents.
14260 (perl-syntax-propertize-function): Match here-doc markers.
14261 (perl-syntax-propertize-special-constructs): Find their end.
14262 (perl-imenu-generic-expression): Use [:alnum:].
14264 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14265 (advice--add-function): Refresh the advice if already present
14268 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14270 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14272 2013-05-06 Glenn Morris <rgm@gnu.org>
14274 * w32-fns.el (w32-charset-info-alist): Declare.
14276 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14277 of its defcustom properties.
14278 (eshell-cmpl-initialize): No need to load pcomplete.
14280 * generic-x.el: No need to require comint when compiling.
14282 * net/eudc-export.el: Make it loadable without bbdb.
14283 (top-level): Use require rather than load-library.
14284 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14285 (eudc-batch-export-records-to-bbdb)
14286 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14289 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14291 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14292 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14293 some tweaks, instead.
14295 2013-05-05 Leo Liu <sdl.web@gmail.com>
14297 * progmodes/octave.el (octave-font-lock-keywords)
14298 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14299 (inferior-octave-send-list-and-digest): Improve error message.
14300 (octave-mode, inferior-octave-mode): Use setq-local.
14301 (octave-help): Set info-lookup-mode.
14303 2013-05-05 Richard Stallman <rms@gnu.org>
14305 * vc/compare-w.el (compare-windows-whitespace):
14306 Treat no-break space as whitespace.
14308 * mail/rmailsum.el (rmail-summary-rmail-update):
14309 Detect empty summary and don't change selected message.
14310 (rmail-summary-goto-msg): Likewise.
14312 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14313 Doc fixes, rename args.
14315 2013-05-05 Alan Mackenzie <acm@muc.de>
14317 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14319 2013-05-05 Juri Linkov <juri@jurta.org>
14321 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14322 to not add the length of the summary segment to the return value.
14325 2013-05-05 Leo Liu <sdl.web@gmail.com>
14327 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14328 (inferior-octave-output-filter): Remove.
14329 (octave-send-region, inferior-octave-startup): Fix callers.
14330 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14331 (octave-binary-file-extensions): New user variable.
14332 (octave-find-definition): Confirm if opening binary files.
14333 (octave-help-file): Use octave-find-definition to get the binary
14335 (octave-help): Adjust for octave-help-file change.
14337 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14339 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14340 Merge the two entries that handle function definitions.
14341 (pascal--syntax-propertize): New const.
14342 (pascal-mode): Use it. Use setq-local.
14344 2013-05-04 Glenn Morris <rgm@gnu.org>
14346 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14347 (diary-from-outlook): Respect diary-from-outlook-function.
14349 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14351 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14352 Move the declaration from C.
14353 (read-minibuffer, eval-minibuffer): Move from C.
14354 (completion-setup-function): Avoid minibuffer-completion-contents.
14356 2013-05-03 Leo Liu <sdl.web@gmail.com>
14358 * progmodes/octave.el (octave-font-lock-keywords): Do not
14359 dehighlight 'end' in comments or strings.
14360 (octave-completing-read, octave-goto-function-definition):
14362 (octave-help-buffer): New user variable.
14363 (octave-help-file, octave-help-function): New button types.
14364 (octave-help): New command and bind it to C-h ;.
14365 (octave-find-definition): New command and bind it to M-.
14366 (user-error): Alias to error if not defined.
14368 2013-05-02 Leo Liu <sdl.web@gmail.com>
14370 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14372 (octave-font-lock-keywords): Include [ and {.
14374 2013-05-02 Leo Liu <sdl.web@gmail.com>
14376 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14377 (inferior-octave): Remove calling comint-mode and return the buffer.
14378 (inferior-octave-startup): Cosmetic changes.
14380 2013-05-02 Leo Liu <sdl.web@gmail.com>
14382 * progmodes/octave.el (octave-syntax-propertize-function):
14383 Include the case when ' is at line beginning. (Bug#14336)
14385 2013-05-02 Glenn Morris <rgm@gnu.org>
14387 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14388 * desktop.el (vc-dir-mode): Just autoload it here.
14390 2013-05-02 Alan Mackenzie <acm@muc.de>
14392 Eliminate variable c-standard-font-lock-fontify-region-function.
14393 * progmodes/cc-mode.el
14394 (c-standard-font-lock-fontify-region-function): Remove.
14395 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14397 2013-05-01 Leo Liu <sdl.web@gmail.com>
14399 * progmodes/octave.el: Compatible with older emacs-24 releases.
14400 (inferior-octave-has-built-in-variables): Remove. Built-in
14401 variables were removed from Octave in 2007.
14402 (inferior-octave-startup): Fix uses.
14403 (comint-line-beginning-position): Remove compatibility code for
14406 2013-05-01 Juri Linkov <juri@jurta.org>
14408 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14410 2013-05-01 Juri Linkov <juri@jurta.org>
14412 * comint.el (comint-previous-matching-input): Don't print message
14413 "History item: %d" when `isearch-mode' is active.
14414 (comint-history-isearch-message): Print message "History item: %d"
14415 when `comint-input-ring-index' is not empty and this function is
14416 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14418 2013-05-01 Leo Liu <sdl.web@gmail.com>
14420 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14421 definitions. Use completion-at-point to insert keywords.
14422 (octave-abbrev-start): Remove.
14423 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14425 2013-04-30 Leo Liu <sdl.web@gmail.com>
14427 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14430 2013-04-30 Alan Mackenzie <acm@muc.de>
14432 Handle arbitrarily long C++ member initialisation lists.
14433 * progmodes/cc-engine.el (c-back-over-member-initializers):
14435 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14436 (most) member init lists.
14438 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14440 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14443 2013-04-30 Leo Liu <sdl.web@gmail.com>
14445 * progmodes/octave.el (octave-variables): Remove. No builtin
14446 variables any more. All converted to functions.
14447 (octave-font-lock-keywords, octave-completion-at-point-function):
14449 (octave-font-lock-texinfo-comment): New user variable.
14450 (octave-texinfo-font-lock-keywords): New variable for texinfo
14452 (octave-function-comment-block): New face.
14453 (octave-font-lock-texinfo-comment): New function.
14454 (octave-mode): Font lock texinfo comment block.
14456 2013-04-29 Leo Liu <sdl.web@gmail.com>
14458 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14459 indexing expression.
14460 (octave-continuation-string): Do not use \.
14461 (inferior-octave-complete-impossible): Remove.
14462 (inferior-octave-completion-table)
14463 (inferior-octave-completion-at-point): Remove its uses.
14464 (inferior-octave-startup): completion_matches was introduced to
14465 Octave in 1996 so safe to assume it.
14466 (octave-function-file-comment): Improve to follow how Octave does it.
14467 (octave-update-function-file-comment): Tweak.
14469 2013-04-29 Leo Liu <sdl.web@gmail.com>
14471 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14472 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14473 (octave-function-file-comment): Fix typo.
14474 (octave-sync-function-file-names): Use read-char-choice.
14476 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14478 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14479 to t for the less important warnings.
14481 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14483 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14485 2013-04-27 Glenn Morris <rgm@gnu.org>
14487 * vc/log-view.el (log-view-current-entry):
14488 Treat "---" separator lines as part of the following rev. (Bug#14169)
14490 2013-04-27 Juri Linkov <juri@jurta.org>
14492 * subr.el (read-number): Doc fix about using it by interactive
14493 code letter `n'. (Bug#14254)
14495 2013-04-27 Juri Linkov <juri@jurta.org>
14497 * desktop.el (desktop-auto-save-timeout): New option.
14498 (desktop-file-checksum): New variable.
14499 (desktop-save): Add optional arg `auto-save' and don't auto-save
14500 if nothing changed.
14501 (desktop-auto-save-timer): New variable.
14502 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14503 (after-init-hook): Call `desktop-auto-save-set-timer'.
14504 Suggested by Reuben Thomas <rrt@sc3d.org> in
14505 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14507 2013-04-27 Leo Liu <sdl.web@gmail.com>
14509 * progmodes/octave.el (octave-function-file-p)
14510 (octave-skip-comment-forward, octave-function-file-comment)
14511 (octave-update-function-file-comment): New functions.
14512 (octave-mode-map): Bind C-c ; to
14513 octave-update-function-file-comment.
14514 (octave-mode-menu): Add octave-update-function-file-comment.
14515 (octave-mode, inferior-octave-mode): Fix doc-string.
14516 (octave-insert-defun): Conform to Octave's coding convention.
14519 * files.el (basic-save-buffer): Don't let errors in
14520 before-save-hook prevent saving buffer.
14522 2013-04-20 Roland Winkler <winkler@gnu.org>
14524 * faces.el (read-face-name): Use completing-read if arg multiple
14527 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14529 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14530 displayed, move point to after the totals line.
14531 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14534 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14536 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14537 Add current dir to the load-path.
14538 (package-generate-autoloads): Don't rely on
14539 autoload-ensure-default-file.
14541 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14543 * textmodes/remember.el (remember-store-in-files): Document that
14544 the file name format is passed to `format-time-string'.
14546 2013-04-26 Leo Liu <sdl.web@gmail.com>
14548 * progmodes/octave.el (octave-sync-function-file-names): New function.
14549 (octave-mode): Use it in before-save-hook.
14551 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14553 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14556 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14557 \n and comment, even if it's not an implicit ; (bug#14218).
14559 2013-04-26 Glenn Morris <rgm@gnu.org>
14561 * subr.el (read-number): Once more use `read' rather than
14562 `string-to-number', to trap non-numeric input. (Bug#14254)
14564 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14566 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14567 Use `syntax-multiline' text property consistently instead of
14568 `font-lock-multiline'. (Bug#14237)
14570 2013-04-26 Glenn Morris <rgm@gnu.org>
14572 * emacs-lisp/shadow.el (list-load-path-shadows):
14573 No longer necessary to check for duplicate simple.el, since
14574 2012-07-07 change to init_lread to not include installation lisp
14575 directories in load-path when running uninstalled. (Bug#14270)
14577 2013-04-26 Leo Liu <sdl.web@gmail.com>
14579 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14580 (octave-mode, inferior-octave-mode): Use setq-local.
14581 (octave-not-in-string-or-comment-p): Rename to
14582 octave-in-string-or-comment-p.
14583 (octave-in-comment-p, octave-in-string-p)
14584 (octave-in-string-or-comment-p): Replace defsubst with defun.
14586 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14588 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14590 2013-04-25 Bastien Guerry <bzg@gnu.org>
14592 * textmodes/remember.el (remember-data-directory)
14593 (remember-directory-file-name-format): Fix custom types.
14595 2013-04-25 Leo Liu <sdl.web@gmail.com>
14597 * progmodes/octave.el (octave-completion-at-point-function):
14598 Make use of inferior octave process.
14599 (octave-initialize-completions): Remove.
14600 (inferior-octave-completion-table): New function.
14601 (inferior-octave-completion-at-point): Use it.
14602 (octave-completion-alist): Remove.
14604 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14606 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14607 (opascal-mode-syntax-table): New var.
14608 (opascal-literal-kind, opascal-is-literal-end)
14609 (opascal-literal-token-at): Rewrite.
14610 (opascal--literal-start-re, opascal-font-lock-keywords)
14611 (opascal--syntax-propertize): New constants.
14612 (opascal-font-lock-defaults): Adjust.
14613 (opascal-mode): Use them. Set comment-<foo> variables as well.
14614 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14615 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14616 (delphi-other-face, opascal-other-face): Remove face variables.
14617 (opascal-save-state): Remove macro.
14618 (opascal-fontifying-progress-step): Remove constant.
14619 (opascal--ignore-changes): Remove var.
14620 (opascal-set-token-property, opascal-parse-next-literal)
14621 (opascal-is-stable-literal, opascal-complete-literal)
14622 (opascal-is-literal-start, opascal-face-of)
14623 (opascal-parse-region, opascal-parse-region-until-stable)
14624 (opascal-fontify-region, opascal-after-change)
14625 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14626 (opascal-debug-parse-region, opascal-debug-parse-window)
14627 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14628 (opascal-debug-fontify-buffer): Remove.
14629 (opascal-debug-mode-map): Adjust accordingly.
14631 2013-04-25 Leo Liu <sdl.web@gmail.com>
14633 Merge octave-mod.el and octave-inf.el into octave.el with some
14635 * progmodes/octave.el: New file renamed from octave-mod.el.
14636 * progmodes/octave-inf.el: Merged into octave.el.
14637 * progmodes/octave-mod.el: Renamed to octave.el.
14639 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14641 * textmodes/reftex-vars.el
14642 (reftex-label-ignored-macros-and-environments): New defcustom.
14644 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14646 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14648 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14649 (smie-indent-keyword): Improve the check to ensure that the next
14650 comment is really on the same line.
14651 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14653 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14654 semi-colons if the line is not otherwise empty (bug#14218).
14656 2013-04-25 Glenn Morris <rgm@gnu.org>
14658 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14660 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14662 * progmodes/opascal.el (opascal-set-token-property): Rename from
14663 opascal-set-text-properties and only set `token' (bug#14134).
14664 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14665 (opascal-literal-text-properties): Remove.
14666 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14669 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14671 * textmodes/remember.el (remember-handler-functions): Add an
14672 option for a new handler `remember-store-in-files'.
14673 (remember-data-directory, remember-directory-file-name-format):
14675 (remember-store-in-files): New function to store remember notes
14676 as separate files within a directory.
14678 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14680 * progmodes/compile.el (compilation-next-error-function):
14681 Pass "formats" to compilation-find-file (bug#11777).
14683 2013-04-24 Glenn Morris <rgm@gnu.org>
14685 * vc/vc-bzr.el (vc-bzr-print-log):
14686 * vc/vc-hg.el (vc-hg-print-log):
14687 * vc/vc-svn.el (vc-svn-print-log):
14688 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14690 * vc/vc-bzr.el (vc-bzr-print-log):
14691 * vc/vc-cvs.el (vc-cvs-print-log):
14692 * vc/vc-git.el (vc-git-print-log):
14693 * vc/vc-hg.el (vc-hg-print-log):
14694 * vc/vc-mtn.el (vc-mtn-print-log):
14695 * vc/vc-rcs.el (vc-rcs-print-log):
14696 * vc/vc-sccs.el (vc-sccs-print-log):
14697 * vc/vc-svn.el (vc-svn-print-log):
14698 * vc/vc.el (vc-print-log-internal): Doc fixes.
14700 2013-04-23 Glenn Morris <rgm@gnu.org>
14702 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14703 Remove venerable code attempting to avoid substitute-command-keys.
14705 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14707 * textmodes/reftex-vars.el (reftex-label-regexps):
14708 Call `reftex-compile-variables' after changes to this variable.
14710 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14712 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14713 Use lexical-binding.
14714 (jit-lock-force-redisplay): Use markers, check buffer's continued
14715 existence and beware narrowed buffers.
14716 (jit-lock-fontify-now): Adjust call accordingly.
14718 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14721 to avoid misleading the user.
14723 2013-04-22 Leo Liu <sdl.web@gmail.com>
14725 * info-look.el: Prefer latex2e.info. (Bug#14240)
14727 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14729 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14731 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14732 * net/tramp.el (tramp-call-process): ... here.
14733 (tramp-set-completion-function, tramp-parse-putty):
14734 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14735 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14736 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14737 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14738 (tramp-call-local-coding-command): Use `tramp-call-process'
14739 instead of `tramp-compat-call-process'.
14741 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14742 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14743 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14744 (tramp-find-inline-compress): Improve traces.
14745 (tramp-maybe-send-script): Check for Perl binary.
14746 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14748 2013-04-22 Daiki Ueno <ueno@gnu.org>
14750 * epg.el (epg-context-pinentry-mode): New function.
14751 (epg-context-set-pinentry-mode): New function.
14752 (epg--start): Pass --pinentry-mode option to gpg command.
14754 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14756 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14757 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14758 `completion-at-point'. (Bug#13774)
14760 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14761 default key binding for `describe-distribution' has been moved to
14762 `C-h C-o'. (Bug#13970)
14764 2013-04-21 Glenn Morris <rgm@gnu.org>
14766 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14768 (vc-print-log): Clarify interactive prompt.
14770 2013-04-20 Glenn Morris <rgm@gnu.org>
14772 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14773 No longer include timestamp etc information.
14775 2013-04-20 Roland Winkler <winkler@gnu.org>
14777 * faces.el (read-face-name): Bug fix, return just one face if arg
14778 multiple is nil. (Bug#14209)
14780 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14782 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14783 (remove-function): Autoload.
14785 * comint.el (comint-redirect-original-filter-function): Remove.
14786 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14787 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14788 (vc-cvs-annotate-command):
14789 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14790 * progmodes/prolog.el (prolog-consult-compile):
14791 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14792 Use add/remove-function instead.
14793 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14794 (gud-tooltip-process-output, gud-tooltip-tips):
14795 Use add/remove-function instead.
14796 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14797 (scheme-interaction-mode, exit-scheme-interaction-mode):
14798 Use add/remove-function instead.
14800 * vc/vc-dispatcher.el: Use lexical-binding.
14801 (vc--process-sentinel): Rename from vc-process-sentinel.
14802 Change last arg to be the code to run. Don't use vc-previous-sentinel
14803 and vc-sentinel-commands any more.
14804 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14805 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14807 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14809 * progmodes/sh-script.el (sh-imenu-generic-expression):
14810 Handle function names with a single character. (Bug#14111)
14812 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14814 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14815 for subroutines defined in an eval (bug#14182).
14817 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14819 * bookmark.el (bookmark-completing-read): Improve handling of empty
14820 string (bug#14176).
14822 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14824 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14826 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14828 New faster Imenu implementation (bug#14058).
14829 * progmodes/python.el (python-imenu-prev-index-position)
14830 (python-imenu-format-item-label-function)
14831 (python-imenu-format-parent-item-label-function)
14832 (python-imenu-format-parent-item-jump-label-function):
14834 (python-imenu-format-item-label)
14835 (python-imenu-format-parent-item-label)
14836 (python-imenu-format-parent-item-jump-label)
14837 (python-imenu--put-parent, python-imenu--build-tree)
14838 (python-imenu-create-index, python-imenu-create-flat-index)
14839 (python-util-popn): New functions.
14840 (python-mode): Set imenu-create-index-function to
14841 python-imenu-create-index.
14843 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14845 * winner.el (winner-active-region): Use region-active-p, activate-mark
14846 and deactivate-mark (bug#14225).
14848 * simple.el (deactivate-mark): Don't inline it.
14850 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14852 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14854 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14856 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14857 file extensions from the archive-mode entry in order to prefer
14858 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14860 2013-04-18 Leo Liu <sdl.web@gmail.com>
14862 * bindings.el (help-event-list): Add ?\?.
14864 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14866 * subr.el (with-wrapper-hook): Declare obsolete.
14867 * simple.el (filter-buffer-substring-function): New hook.
14868 (filter-buffer-substring): Use it.
14869 (filter-buffer-substring-functions): Mark obsolete.
14870 * minibuffer.el (completion-in-region-function): New hook.
14871 (completion-in-region): Use it.
14872 (completion-in-region-functions): Mark obsolete.
14873 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14874 * abbrev.el (abbrev-expand-function): New hook.
14875 (expand-abbrev): Use it.
14876 (abbrev-expand-functions): Mark obsolete.
14877 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14878 and :filter-return.
14880 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14882 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14883 and do not care about match data.
14885 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14887 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14888 completion tables when completing error conditions and
14889 `declare' arguments.
14890 (lisp-complete-symbol, field-complete): Mark as obsolete.
14891 (check-parens): Unmatched parens are user errors.
14892 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14894 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14896 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14897 command changed buffer (ie. `flyspell-pre-buffer' is not current
14898 buffer), which prevents making decisions based on invalid value of
14899 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14900 cause an error when `flyspell-pre-point' was nil after switching
14902 (flyspell-post-command-hook): No longer needs to change buffers when
14903 checking pre-word. While at it remove unnecessary progn.
14905 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14907 * textmodes/ispell.el (ispell-add-per-file-word-list):
14908 Fix `flyspell-correct-word-before-point' error when accepting
14909 words and `coment-padding' is an integer by using
14910 `comment-normalize-vars' (Bug #14214).
14912 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14914 New defun movement commands.
14915 * progmodes/python.el (python-nav--syntactically)
14916 (python-nav--forward-defun, python-nav-backward-defun)
14917 (python-nav-forward-defun): New functions.
14919 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14921 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14922 (python-syntax-context): Use named compiler-macro for backwards
14923 compatibility with Emacs 24.x.
14925 2013-04-17 Leo Liu <sdl.web@gmail.com>
14927 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14928 octave-hide-process-buffer.
14930 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14932 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14935 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14937 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14938 Fix adjustment of offset when receiving incomplete responses from GDB
14941 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14943 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14944 python-mode-abbrev-table.
14945 (python-skeleton-define): Adjust accordingly.
14946 (python-mode-abbrev-table): New table that inherits from it so that
14947 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14949 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14950 (abbrev-symbol): Use it.
14951 (abbrev--before-point): Use it since we already handle inheritance.
14953 2013-04-16 Leo Liu <sdl.web@gmail.com>
14955 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14956 binding to info-lookup-symbol.
14958 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14960 * minibuffer.el (completion--twq-all):
14961 * term/ns-win.el (ns-initialize-window-system):
14962 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14964 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14966 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14969 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14971 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14973 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14974 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14976 (ruby-end-of-defun): Remove the unused arg, change the docstring
14977 to reflect that this function is only used as the value of
14978 `end-of-defun-function'.
14979 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14980 to reflect an earlier change that beginning/end-of-defun functions
14981 jump between methods in a class definition, as well as top-level
14984 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14986 * minibuffer.el (minibuffer-complete): Don't just scroll
14987 a *Completions* that's been iconified.
14988 (minibuffer-force-complete): Make sure repetitions do cycle when going
14989 through completion-in-region -> minibuffer-complete.
14991 2013-04-15 Alan Mackenzie <acm@muc.de>
14993 Correct the placement of c-cpp-delimiters when there're #s not at
14996 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14997 place a submatch around the #.
14998 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14999 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15002 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15004 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15005 (advice--member-p): New arg `name'.
15006 (advice--add-function, advice-member-p): Use it (bug#14202).
15008 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15010 Reformulate java imenu-generic-expression.
15011 The old expression contained ill formed regexps.
15013 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15014 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15015 (cc-imenu-java-method-arg-regexp): New defconsts.
15016 (cc-imenu-java-build-type-args-regex): New defun.
15017 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15018 handling of spaces in the regexp.
15020 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15022 * textmodes/ispell.el (ispell-command-loop): Remove
15023 flyspell highlight of a word when ispell accepts it (bug #14178).
15025 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15027 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15028 uses code from the previous `ange-ftp-run-real-handler'.
15029 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15030 only in case that function exist. This is needed for proper
15031 unloading of Tramp.
15033 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15035 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15037 * textmodes/reftex.el (reftex-compile-variables): Use it.
15039 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15041 * files.el (normal-mode): Only use default major-mode if no other mode
15044 * emacs-lisp/trace.el (trace-values): New function.
15046 * files.el: Allow : in local variables (bug#14089).
15047 (hack-local-variable-regexp): New var.
15048 (hack-local-variables-prop-line, hack-local-variables): Use it.
15050 2013-04-13 Roland Winkler <winkler@gnu.org>
15052 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15053 data before it gets modified by bibtex-beginning-of-entry.
15055 2013-04-13 Roland Winkler <winkler@gnu.org>
15057 * textmodes/bibtex.el (bibtex-url): Doc fix.
15059 2013-04-13 Roland Winkler <winkler@gnu.org>
15061 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15062 does not visit a BibTeX file, exclude it from the list of buffers
15063 returned by bibtex-initialize.
15065 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15067 * window.el (split-window): Remove interactive form, since as a
15068 command this function is a special case of split-window-below.
15069 Correct doc string.
15071 2013-04-12 Roland Winkler <winkler@gnu.org>
15073 * faces.el (read-face-name): Do not override value of arg default.
15074 Allow single faces and strings as default values. Remove those
15075 elements from return value that are not faces.
15076 (describe-face): Simplify.
15077 (face-at-point): New optional args thing and multiple so that this
15078 function can provide the same functionality previously provided by
15080 (make-face-bold, make-face-unbold, make-face-italic)
15081 (make-face-unitalic, make-face-bold-italic, invert-face)
15082 (modify-face, read-face-and-attribute): Use face-at-point.
15084 * cus-edit.el (customize-face, customize-face-other-window)
15085 * cus-theme.el (custom-theme-add-face)
15086 * face-remap.el (buffer-face-set)
15087 * facemenu.el (facemenu-set-face): Use face-at-point.
15089 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15091 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15093 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15095 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15096 off leading { and trailing } from field values.
15098 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15100 * emacs-lisp/timer.el (timer--check): New function.
15101 (timer--time, timer-set-function, timer-event-handler): Use it.
15102 (timer-set-idle-time): Simplify.
15103 (timer--activate): CSE.
15104 (timer-event-handler): Give more info in error message.
15105 (internal-timer-start-idle): New function, moved from C.
15107 * mpc.el (mpc-proc): Add `restart' argument.
15108 (mpc-proc-cmd): Use it.
15109 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15110 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15113 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15115 * progmodes/sh-script.el: Implement `sh-mode' own
15116 `add-log-current-defun-function' (bug#14112).
15117 (sh-current-defun-name): New function.
15118 (sh-mode): Use the function.
15120 2013-04-09 Bastien Guerry <bzg@gnu.org>
15122 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15124 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15126 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15128 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15131 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15133 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15136 2013-04-07 Leo Liu <sdl.web@gmail.com>
15138 * pcmpl-x.el: New file.
15140 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15142 Do not set x-display-name until X connection is established.
15143 This is needed to prevent from weird situation described at
15144 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15145 * frame.el (make-frame): Set x-display-name after call to
15146 window system initialization function, not before.
15147 * term/x-win.el (x-initialize-window-system): Add optional
15148 display argument and use it.
15149 * term/w32-win.el (w32-initialize-window-system):
15150 * term/ns-win.el (ns-initialize-window-system):
15151 * term/pc-win.el (msdos-initialize-window-system):
15152 Add compatible optional display argument.
15154 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15156 * files.el (normal-backup-enable-predicate): On MS-Windows and
15157 MS-DOS compare truenames of temporary-file-directory and of the
15158 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15159 don't fail comparison by compare-strings. Also, compare file
15160 names case-insensitively on MS-Windows and MS-DOS.
15162 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15164 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15165 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15167 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15169 * whitespace.el (whitespace-color-on, whitespace-color-off):
15170 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15172 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15174 * ispell.el (ispell-set-spellchecker-params):
15175 Really set `ispell-args' for all equivs.
15177 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15179 * ido.el (ido-completions): Use extra elements of ido-decorations
15181 (ido-decorations): Update docstring.
15183 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15185 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15186 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15187 nil during initialization, in order not to miss changes since the
15188 file was opened. (Bug#14140)
15190 2013-04-05 Leo Liu <sdl.web@gmail.com>
15192 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15194 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15196 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15198 2013-04-04 Glenn Morris <rgm@gnu.org>
15200 * electric.el (electric-pair-inhibit-predicate): Add :version.
15202 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15204 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15205 when a package is required several times (bug#14082).
15207 2013-04-04 Roland Winkler <winkler@gnu.org>
15209 * faces.el (read-face-name): Behave as promised by the docstring.
15210 Assume that arg default is a list of faces.
15211 (describe-face): Call read-face-name with list of default faces.
15213 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15215 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15216 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15217 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15219 (bookmark-exit-hook-internal): Save even if list is empty.
15221 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15223 * emacs-lisp/package.el (package-pinned-packages): New var.
15224 (package--add-to-archive-contents): Obey it (bug#14118).
15226 2013-04-03 Alan Mackenzie <acm@muc.de>
15228 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15229 Also adapt to the new values of element 7 of a parse state.
15231 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15232 parameter `not-in-delimiter'. Handle being inside comment opener.
15233 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15234 character in case we're typing a '*' after a '/'.
15235 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15236 instead by passing the parameter to c-state-pp-to-literal.
15238 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15239 for elt. 7 of a parse state.
15241 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15243 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15244 * international/latin1-disp.el, international/mule-util.el:
15245 * language/cyril-util.el, language/european.el, language/ind-util.el:
15246 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15247 * language/tibetan.el, language/viet-util.el:
15248 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15250 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15252 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15253 (electric-pair-post-self-insert-function): Use it.
15254 (electric-pair-default-inhibit): New function, extracted from
15255 electric-pair-post-self-insert-function.
15257 2013-03-31 Roland Winkler <winkler@gnu.org>
15259 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15261 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15263 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15265 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15267 Un-indent after "pass" and "return" statements (Bug#13888)
15268 * progmodes/python.el (python-indent-block-enders): New var.
15269 (python-indent-calculate-indentation): Use it.
15271 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15273 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15274 defun. Defining it as defalias could introduce too eager
15275 byte-compiler optimization. (Bug#14030)
15277 2013-03-30 Chong Yidong <cyd@gnu.org>
15279 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15281 2013-03-30 Leo Liu <sdl.web@gmail.com>
15283 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15284 (kmacro-execute-from-register): Pass the keyboard macro to
15285 kmacro-call-macro or repeating won't work correctly.
15287 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15289 * progmodes/subword.el: Back to using `forward-symbol'.
15291 * subr.el (forward-whitespace, forward-symbol)
15292 (forward-same-syntax): Move from thingatpt.el.
15294 2013-03-29 Leo Liu <sdl.web@gmail.com>
15296 * kmacro.el (kmacro-to-register): New command.
15297 (kmacro-execute-from-register): New function.
15298 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15300 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15302 * mpc.el: Use defvar-local and setq-local.
15303 (mpc--proc-connect): Connection failures are not bugs.
15304 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15305 (mpc-volume-map): Bind to the up-events.
15307 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15309 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15310 instead of `forward-symbol'.
15312 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15314 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15315 (edebug--recursive-edit): Use it.
15316 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15317 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15319 2013-03-28 Leo Liu <sdl.web@gmail.com>
15321 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15323 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15325 * facemenu.el (list-colors-callback): New defvar.
15326 (list-colors-redisplay): New function.
15327 (list-colors-display): Install list-colors-redisplay as the
15328 revert-buffer-function. (Bug#14063)
15330 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15332 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15333 and suffixes don't overlap (bug#14061).
15335 * case-table.el: Use lexical-binding.
15336 (case-table-get-table): New function.
15337 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15339 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15341 * progmodes/subword.el: Add `superword-mode' to do word motion
15342 over symbol_words (parallels and leverages `subword-mode' which
15343 does word motion inside MixedCaseWords).
15345 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15347 * eshell/em-unix.el: Move su and sudo to...
15348 * eshell/em-tramp.el: ...Eshell tramp module.
15350 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15352 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15353 Change return value to be a sexp. Delay `get-buffer' to after
15354 restoring the desktop (bug#13951).
15356 2013-03-26 Leo Liu <sdl.web@gmail.com>
15358 * register.el: Move semantic tag handling back to
15359 cedet/semantic/senator.el. (Bug#14052)
15361 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15363 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15364 into the prompt either (bug#13963).
15366 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15368 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15369 part of "(error-foo)".
15371 2013-03-24 Juri Linkov <juri@jurta.org>
15373 * replace.el (list-matching-lines-prefix-face): New defcustom.
15374 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15375 `occur-engine' if `face-differs-from-default-p' returns t.
15376 (occur-engine): Add `,' inside backquote construct to evaluate
15377 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15378 Pass `prefix-face' to the functions `occur-context-lines' and
15379 `occur-engine-add-prefix'.
15380 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15381 `prefix-face' and propertize the prefix with `prefix-face'.
15384 2013-03-24 Leo Liu <sdl.web@gmail.com>
15386 * nxml/rng-valid.el (rng-validate-while-idle)
15387 (rng-validate-quick-while-idle): Guard against deleted buffer.
15390 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15391 is the last entry in kill-buffer-hook.
15393 * files.el (kill-buffer-hook): Doc fix.
15395 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15397 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15398 Make it safe-local.
15400 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15402 2013-03-23 Leo Liu <sdl.web@gmail.com>
15404 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15407 * nxml/rng-valid.el (rng-validate-mode)
15408 (rng-after-change-function, rng-do-some-validation):
15409 * nxml/rng-maint.el (rng-validate-buffer):
15410 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15411 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15412 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15413 (nxml-extend-after-change-region): Use with-silent-modifications.
15415 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15418 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15419 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15420 timer-idle-list. (Bug#13999)
15422 2013-03-23 Juri Linkov <juri@jurta.org>
15424 * info.el (info-index-match): New face.
15425 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15426 main pattern and add text properties with the new face to matches
15427 in index entries relative to the beginning of the index entry.
15430 2013-03-21 Eric Ludlam <zappo@gnu.org>
15432 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15433 Inhibit read only while inserting objects.
15435 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15437 * progmodes/cfengine.el: Update docs to mention
15438 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15439 symbol motion. Remove "_" from the word syntax.
15441 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15443 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15444 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15446 2013-03-20 Juri Linkov <juri@jurta.org>
15448 * info.el (Info-next-reference-or-link)
15449 (Info-prev-reference-or-link): New functions.
15450 (Info-next-reference, Info-prev-reference): Use them.
15451 (Info-try-follow-nearest-node): Handle footnote navigation.
15452 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15454 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15456 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15457 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15459 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15461 Suppress unnecessary non-ASCII chatter during build process.
15462 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15463 (batch-skkdic-convert): Suppress most of the chatter.
15464 It's not needed so much now that machines are faster,
15465 and its non-ASCII component was confusing; see Dmitry Gutov in
15466 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15468 2013-03-20 Leo Liu <sdl.web@gmail.com>
15470 * ido.el (ido-chop): Fix bug#10994.
15472 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15474 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15476 (whitespace-color-on, whitespace-color-off):
15477 Use `font-lock-fontify-buffer' (Bug#13817).
15479 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15481 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15482 remapping in mode-line.
15483 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15485 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15487 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15488 value for `whitespace-line' face (Bug#13875).
15489 (whitespace-font-lock-keywords): Change description.
15490 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15491 the constructed keywords instead.
15492 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15494 2013-03-19 Leo Liu <sdl.web@gmail.com>
15496 * progmodes/compile.el (compilation-display-error): New command.
15497 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15500 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15502 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15504 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15506 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15508 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15510 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15512 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15513 * net/tramp-gvfs.el (top):
15514 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15515 (tramp-handle-shell-command): Use it.
15516 (tramp-dissect-file-name): Raise an error when hostname is a
15517 method name, and neither method nor user is specified.
15519 * net/trampver.el: Update release number.
15521 2013-03-18 Leo Liu <sdl.web@gmail.com>
15523 Make sure eldoc can be turned off properly.
15524 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15526 (eldoc-display-message-p): Revert last change.
15527 (eldoc-display-message-no-interference-p)
15528 (eldoc-print-current-symbol-info): Tweak.
15530 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15532 * doc-view.el (doc-view-new-window-function): Check the new window
15533 overlay's display property instead the char property of the
15534 buffer's first char. Use `with-selected-window' instead of
15535 `save-window-excursion' with `select-window'.
15536 (doc-view-document->bitmap): Check the current doc-view overlay's
15537 display property instead the char property of the buffer's first char.
15539 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15541 Automate the build of ja-dic.el (Bug#13984).
15542 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15543 from the input, rather than assume that it's been done for us by the
15544 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15545 the current date into a ja-dic.el comment, as that complicates
15546 regression testing.
15548 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15550 * whitespace.el: Fix double evaluation.
15551 (whitespace-space, whitespace-hspace, whitespace-tab)
15552 (whitespace-newline, whitespace-trailing, whitespace-line)
15553 (whitespace-space-before-tab, whitespace-indentation)
15554 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15556 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15557 (whitespace-color-on): Use a single font-lock-add-keywords call.
15558 Fix double-evaluation of face variables.
15560 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15562 * net/tramp-adb.el (tramp-adb-parse-device-names):
15563 Use `start-process' instead of `call-process'. Otherwise, the
15564 function might be blocked under MS Windows. (Bug#13299)
15566 2013-03-17 Leo Liu <sdl.web@gmail.com>
15568 Extend eldoc to display info in the mode-line. (Bug#13978)
15569 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15570 (eldoc-mode-line-string): New variable.
15571 (eldoc-minibuffer-message): New function.
15572 (eldoc-message-function): New variable.
15573 (eldoc-message): Use it.
15574 (eldoc-display-message-p)
15575 (eldoc-display-message-no-interference-p):
15576 Support eldoc-post-insert-mode.
15578 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15579 (eval-expression): Run it.
15581 2013-03-17 Roland Winkler <winkler@gnu.org>
15583 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15584 strings in the list of return values.
15586 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15588 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15589 radix before checking for HMS forms.
15591 2013-03-16 Leo Liu <sdl.web@gmail.com>
15593 * progmodes/scheme.el: Add indentation and font-locking for λ.
15596 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15599 token before point (bug#13942).
15601 2013-03-16 Leo Liu <sdl.web@gmail.com>
15603 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15605 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15607 * startup.el (command-line-normalize-file-name): Fix handling of
15608 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15609 <xfq.free@gmail.com> in
15610 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15612 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15614 Sync with Tramp 2.2.7.
15616 * net/trampver.el: Update release number.
15618 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15620 * doc-view.el: Fix bug#13887.
15621 (doc-view-insert-image): Don't modify overlay associated to
15622 non-live windows, and implement horizontal centering of image in
15623 case it's smaller than the window.
15624 (doc-view-new-window-function): Force redisplay of new windows on
15627 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15629 * saveplace.el (save-place-alist-to-file): Don't sort
15630 `save-place-alist', just pretty-print it (bug#13882).
15632 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15634 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15635 Check whether `default-file-name-coding-system' is bound.
15636 It isn't in XEmacs.
15638 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15640 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15641 backquotes for `obsolete' (bug#13929).
15643 * international/mule.el (find-auto-coding): Include file name in
15644 obsolescence warning (bug#13922).
15646 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15648 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15649 for CFEngine 3-specific indentation.
15650 (cfengine3-indent-line): Use it. Fix up category regex.
15651 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15653 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15655 * type-break.el (type-break-file-name):
15656 * textmodes/remember.el (remember-data-file):
15657 * strokes.el (strokes-file):
15658 * shadowfile.el (shadow-initialize):
15659 * saveplace.el (save-place-file):
15660 * ps-bdf.el (bdf-cache-file):
15661 * progmodes/idlwave.el (idlwave-config-directory):
15662 * net/quickurl.el (quickurl-url-file):
15663 * international/kkc.el (kkc-init-file-name):
15664 * ido.el (ido-save-directory-list-file):
15665 * emulation/viper.el (viper-custom-file-name):
15666 * emulation/vip.el (vip-startup-file):
15667 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15668 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15670 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15672 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15673 * language/thai-word.el: Switch to UTF-8.
15675 See ChangeLog.16 for earlier changes.
15677 ;; Local Variables:
15681 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15683 This file is part of GNU Emacs.
15685 GNU Emacs is free software: you can redistribute it and/or modify
15686 it under the terms of the GNU General Public License as published by
15687 the Free Software Foundation, either version 3 of the License, or
15688 (at your option) any later version.
15690 GNU Emacs is distributed in the hope that it will be useful,
15691 but WITHOUT ANY WARRANTY; without even the implied warranty of
15692 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15693 GNU General Public License for more details.
15695 You should have received a copy of the GNU General Public License
15696 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.