1 2015-03-20 Alan Mackenzie <acm@muc.de>
5 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
6 Return the calculated values, as per spec.
8 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
10 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
11 and `callcc' to the "methods with required arguments" section,
12 they need a block argument. Remove a `throw' duplicate.
14 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
16 * progmodes/cperl-mode.el (cperl-electric-backspace):
17 Call delete-backward-space interactively instead of delete-char.
19 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
21 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
23 * emacs-lisp/eieio.el (object-slots): Return slot names as before
26 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
28 EIEIO: Change class's representation to unify instance and class slots
29 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
30 to match those of cl--class; use cl--slot for both instance slots and
32 (eieio--object-num-slots): Use cl-struct-slot-info.
33 (eieio--object-class): Rename from eieio--object-class-object.
34 (eieio--object-class-name): Remove.
35 (eieio-defclass-internal): Adjust to new slot representation.
36 Store doc in class rather than in `variable-documentation'.
37 (eieio--perform-slot-validation-for-default): Change API to take
39 (eieio--slot-override): New function.
40 (eieio--add-new-slot): Rewrite.
41 (eieio-copy-parents-into-subclass): Rewrite.
42 (eieio--validate-slot-value, eieio--validate-class-slot-value)
43 (eieio-oref-default, eieio-oset-default)
44 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
46 (eieio--c3-merge-lists): Simplify.
47 (eieio--class/struct-parents): New function.
48 (eieio--class-precedence-bfs): Use it.
50 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
51 (object-class-fast): Change recommend replacement.
52 (eieio-object-class): Rewrite.
53 (slot-exists-p): Adjust to new slot representation.
54 (initialize-instance): Adjust to new slot representation.
55 (object-write): Adjust to new slot representation.
57 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
58 extracted from eieio-help-class-slots.
59 (eieio-help-class-slots): Use it. Adjust to new slot representation.
61 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
62 Declare to silence warnings.
63 (data-debug-insert-object-button): Avoid `object-slots'.
64 (data-debug/eieio-insert-slots): Adjust to new slot representation.
66 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
67 (eieio-object-value-get): Adjust to new slot representation.
69 * emacs-lisp/eieio-compat.el
70 (eieio--generic-static-symbol-specializers):
71 Extract from eieio--generic-static-symbol-generalizer.
72 (eieio--generic-static-symbol-generalizer): Use it.
74 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
75 Manually map initargs to slot names.
76 (eieio-persistent-validate/fix-slot-value): Adjust to new
79 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
81 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
83 * leim/quail/hangul.el (hangul-delete-backward-char)
84 (hangul-to-hanja-conversion):
85 * progmodes/cperl-mode.el (cperl-electric-keyword)
86 (cperl-electric-backspace): Use delete-char instead of
87 delete-backward-char, fixes compilation warnings.
89 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
91 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
92 Mark apostrophs with ?/ instead of \037. (Bug#20117)
94 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
96 Add classes as run-time descriptors of cl-structs.
97 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
98 (cl--make-slot-desc): New constructor.
99 (cl--plist-remove, cl--struct-register-child): New functions.
100 (cl-struct-define): Rewrite.
101 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
102 (cl--class): New structs.
103 (cl--struct-default-parent): Initialize it here.
104 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
105 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
106 (cl--struct-default-parent): New var.
107 (cl-defstruct): Adjust to new representation of classes; add
108 default parent. In accessors, signal `wrong-type-argument' rather than
110 (cl-struct-sequence-type, cl-struct-slot-info)
111 (cl-struct-slot-offset): Rewrite.
112 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
113 (cl-generic-generalizers): Rewrite.
115 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
116 (internal-macroexpand-for-load): Use it.
118 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
119 Bind inhibit-debug-on-entry here...
120 (debug): Instead of here.
122 2015-03-18 Dima Kogan <dima@secretsauce.net>
124 Have gud-display-line not display source buffer in gud window.
125 * progmodes/gud.el (gud-display-line): Make display-buffer
126 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
128 2015-03-17 Tassilo Horn <tsdh@gnu.org>
130 * emacs-lisp/byte-run.el (macro-declarations-alist):
131 New declaration no-font-lock-keyword.
132 (defmacro): Flush font-lock in existing elisp buffers.
134 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
135 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
136 Delete functions and defconst.
137 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
138 (lisp--el-font-lock-flush-elisp-buffers): New function.
139 (lisp-mode-variables): Remove code for updating
140 lisp--el-macro-regexp, and add
141 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
143 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
145 * textmodes/css-mode.el (css--font-lock-keywords):
146 Discriminate between pseudo-classes and pseudo-elements.
147 (css-pseudo-ids): Remove.
148 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
149 (css--complete-property): New function for completing CSS properties.
150 (css--complete-pseudo-element-or-class): New function
151 completing CSS pseudo-elements and pseudo-classes.
152 (css--complete-at-rule): New function for completing CSS at-rules.
153 (css-completion-at-point): New function.
154 (css-mode): Add support for completion.
155 (css-extract-keyword-list, css-extract-parse-val-grammar)
156 (css-extract-props-and-vals): Remove function in favor of manual
158 (css-at-ids): Update list of CSS at-rule ids.
159 (css-property-ids): Update list of CSS properties.
161 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
163 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
166 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
168 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
169 shell scripts. (Bug#20118)
171 2015-03-17 Eli Zaretskii <eliz@gnu.org>
173 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
174 nil, construct a menu of fixed fonts. This resurrects a feature
177 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
178 reset mouse-appearance-menu-map, so the font dialog is recomputed
179 the next time the menu is requested.
180 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
182 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
184 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
187 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
189 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
190 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
192 2015-03-16 Alan Mackenzie <acm@muc.de>
194 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
195 Also display the overlay arrow in go and go-nonstop modes.
197 * emacs-lisp/edebug.el (edebug--display-1): Move the
198 `input-pending' test to after trace mode's `sit-for'.
199 (edebug--recursive-edit): Insert "(sit-for 0)" after
200 "(edebug-overlay-arrow)".
202 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
204 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
205 cl--do-arglist in more cases; add comments to explain what's going on.
206 (cl--do-&aux): New function extracted from cl--do-arglist.
207 (cl--do-arglist): Use it.
209 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
211 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
212 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
213 * ido.el (ido-read-buffer): Add `predicate' argument.
214 * misearch.el (unload-function-defs-list): Declare before use.
216 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
218 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
219 (browse-url-conkeror-program, browse-url-conkeror-arguments)
220 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
221 (browse-url-default-browser): Check for `browse-url-conkeror'
222 and call `browse-url-conkeror-program'.
223 (browse-url-conkeror): New command.
226 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
228 * eshell/esh-mode.el (eshell/clear): New function.
230 2015-03-16 Alan Mackenzie <acm@muc.de>
232 Make Edebug work with Follow Mode.
234 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
235 edebug-adjust-window.
236 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
237 over the recursive edit.
238 (edebug-adjust-window): Remove.
240 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
245 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
247 * net/tramp.el (tramp-ssh-controlmaster-options)
248 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
249 (tramp-default-method): Do not check for
250 `tramp-ssh-controlmaster-options'.
252 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
253 New defcustom, moved from tramp.el.
254 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
255 but with a nil initial value.
256 (tramp-ssh-controlmaster-options): New defun.
257 (tramp-do-copy-or-rename-file-out-of-band)
258 (tramp-maybe-open-connection): Use it. (Bug#20015)
260 2015-03-15 Tassilo Horn <tsdh@gnu.org>
262 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
263 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
264 (lisp--el-match-macro): New functions.
265 (lisp-mode-variables): Update lisp--el-macro-regexp and add
266 lisp--el-update-after-load to after-load-functions.
268 2015-03-15 Daniel Colascione <dancol@dancol.org>
270 * emacs-lisp/cl-indent.el
271 (lisp-indent-backquote-substitution-mode): New user option.
272 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
273 (common-lisp-indent-function): Support normally indenting
274 backquote substitutions.
275 (extended-loop-p): Rename to `lisp-extended-loop-p'.
277 2015-03-14 Michael R. Mauger <michael@mauger.com>
279 * progmodes/sql.el: Version 3.5
280 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
281 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
283 2015-03-14 Daniel Colascione <dancol@dancol.org>
285 * widget.el (define-widget): Check that documentation is a string
286 or nil; prevent wailing and gnashing of teeth when users forget to
287 pass a docstring and wonder why their properties don't work.
289 * startup.el (command-line): Process "--no-x-resources".
291 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
293 info-look fixes for Texinfo 5
294 * info-look.el (c-mode, bison-mode, makefile-mode)
295 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
296 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
297 Match `foo' and 'foo' and ‘foo’ for @item and similar.
298 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
301 2015-03-12 Juri Linkov <juri@linkov.net>
303 * simple.el (next-line-or-history-element)
304 (previous-line-or-history-element): Remember the goal column of
305 possibly multi-line input, and restore it afterwards. (Bug#19824)
307 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
309 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
312 2015-03-12 Eli Zaretskii <eliz@gnu.org>
314 * international/fontset.el (script-representative-chars): Add a
315 representative character for 'vai'.
317 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
319 * international/quail.el (quail-input-method):
320 Use with-silent-modifications.
322 * simple.el (goto-history-element): Don't burp on t history.
324 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
326 Prefer "initialize" to "initialise"
327 * progmodes/js.el (js-indent-first-init):
328 Rename from js-indent-first-initialiser, to avoid worrying about
329 American vs British spelling. All uses changed.
331 2015-03-10 Glenn Morris <rgm@gnu.org>
333 * progmodes/js.el (js-indent-first-initialiser):
334 Fix doc, type, version.
336 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
338 * progmodes/js.el (js-indent-first-initialiser): New option.
339 (js--maybe-goto-declaration-keyword-end): New function.
340 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
342 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
344 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
345 from RFC2798 Section 9.1.1. (Bug#8983)
347 2015-03-09 Nicolas Petton <nicolas@petton.fr>
349 * emacs-lisp/seq.el (seq-into): New function.
350 Bump seq.el version to 1.3.
352 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
354 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
355 `=' a part of symbol when followed by `>'. (Bug#18644)
356 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
359 2015-03-09 Eli Zaretskii <eliz@gnu.org>
361 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
363 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
364 Thomas Fitzsimmons <fitzsim@fitzsim.org>
366 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
367 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
368 (eudc-bbdb-format-record-as-result): Likewise.
370 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
372 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
373 Use `font-lock-constant-face' for nil, true and false.
374 Highlight `self' as a keyword. (Bug#17733)
376 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
378 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
379 Expect beginning of regexp also after open brace or vertical bar.
382 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
384 * battery.el (battery-echo-area-format): Simplify default.
385 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
388 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
389 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
392 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
394 * net/browse-url.el (browse-url-firefox): Remove outdated
395 MS-Windows limitations.
397 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
399 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
401 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
402 Don't clean up postal addresses if ldap-ignore-attribute-codings
403 is set. Combine mail addresses into one field. (Bug#17720)
404 (eudc-ldap-simple-query-internal):
405 Call eudc-ldap-cleanup-record-filtering-addresses instead of
406 eudc-ldap-cleanup-record-simple.
407 (eudc-ldap-get-field-list): Likewise.
409 2015-03-05 Ivan Shmakov <ivan@siamics.net>
411 * net/eww.el (eww-html-p): New function (bug#20009).
412 (eww-render): Use it.
414 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
416 * desktop.el (desktop-buffer-info): Write docstring.
417 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
420 * emacs-lisp/package.el (package-refresh-contents): Update doc.
422 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
424 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
426 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
428 Replace *-function vars with generic functions in cl-generic.
429 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
430 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
431 (cl--generic-t-generalizer): New const.
432 (cl--generic-make-method): Rename from `cl--generic-method-make'.
433 (cl--generic-make): Change calling convention.
434 (cl--generic): Add `options' field.
435 (cl-generic-function-options): New function.
436 (cl-defgeneric): Rewrite handling of options. Add support for :method
437 options and allow the use of a default body.
438 (cl-generic-define): Save options in the corresponding new field.
439 (cl-defmethod): Fix ordering of qualifiers.
440 (cl-generic-define-method): Use cl-generic-generalizers.
441 (cl--generic-get-dispatcher): Change calling convention, and change
442 calling convention of the returned function as well so as to take the
443 list of methods separately from the generic function object, so that it
444 can receive the original generic function object.
445 (cl--generic-make-next-function): New function, extracted from
446 cl--generic-make-function.
447 (cl--generic-make-function): Use it.
448 (cl-generic-method-combination-function): Remove.
449 (cl--generic-cyclic-definition): New error.
450 (cl-generic-call-method): Take a generic function object rather than
452 (cl-method-qualifiers): New alias.
453 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
454 don't segregate by qualifiers here any more.
455 (cl--generic-standard-method-combination): Segregate by qualifiers
456 here instead. Add support for the `:extra' qualifier.
457 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
458 (cl-generic-generalizers, cl-generic-combine-methods):
459 New generic functions.
460 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
461 Use the new "default method in defgeneric" functionality, change
462 calling convention to receive a generic function object.
463 (cl--generic-head-used): New var.
464 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
465 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
467 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
468 (eieio--generic-subclass-generalizer): New consts.
469 (cl-generic-generalizers): New methods.
470 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
471 (eieio--generic-static-object-generalizer): New consts.
472 (cl-generic-generalizers) <(head eieio--static)>: New method.
473 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
474 Unfold closures like lambdas.
476 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
478 * autorevert.el (auto-revert-notify-add-watch):
479 Fix handler installation. (Bug#20000)
481 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
483 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
484 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
485 (eww): Do not end error messages with a period.
487 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
489 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
491 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
492 names starting with a space.
493 (tramp-methods): Add `tramp-default-port' for "adb".
494 (tramp-adb-parse-device-names): Add traces. Return device names
495 with port, if present.
496 (tramp-adb-handle-directory-files-and-attributes): Quote all
498 (tramp-adb-get-device): New defun.
499 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
501 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
502 variables. Remove checks for listed devices.
504 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
506 * net/tramp.el (tramp): Add :link property.
507 (tramp-login-prompt-regexp): Allow also "user", as required by
509 (tramp-autoload-file-name-handler): Use "/".
510 (tramp-handle-unhandled-file-name-directory): Return nil when
511 required by the spec.
513 * net/tramp-cache.el (tramp-dump-connection-properties):
514 Use `with-temp-file'.
516 * net/tramp-sh.el (tramp-perl-file-attributes)
517 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
519 (tramp-do-file-attributes-with-stat): Quote file name.
520 (tramp-sh-handle-directory-files-and-attributes): Fall back to
521 `tramp-handle-directory-files-and-attributes' in case of problems.
522 (tramp-do-directory-files-and-attributes-with-stat)
523 (tramp-sh-handle-file-name-all-completions)
524 (tramp-sh-handle-delete-directory)
525 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
526 Normalize use of "cd".
527 (tramp-do-directory-files-and-attributes-with-stat): Use the
528 `quoting-style' arg of `ls' if possible. Make it also working for
529 file names with apostrophes.
530 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
532 (tramp-do-copy-or-rename-file-via-buffer)
533 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
534 (tramp-get-remote-locale): Accept also \r in output.
535 (tramp-get-ls-command-with-quoting-style): New defun.
536 (tramp-get-inline-coding): Set `default-directory' to a local
537 directory. Sporadically, `call-process-region' does not handle a
538 remote default directory properly.
540 * net/trampver.el: Update release number.
542 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
544 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
545 .dat files for aspell dicts are also searched for in location
546 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
549 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
551 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
552 (ispell-hunspell-fill-dictionary-entry)
553 (ispell-find-hunspell-dictionaries)
554 (ispell-set-spellchecker-params): New generic name for
555 `ispell-hunspell-dictionary-equivs-alist'.
556 (ispell-aspell-add-aliases): Also use
557 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
560 2015-03-03 Glenn Morris <rgm@gnu.org>
562 * net/browse-url.el (browse-url-firefox-startup-arguments):
564 (browse-url-firefox): Doc fix. Remove -remote, which no longer
565 exists in Firefox 36. (Bug#19921)
566 (browse-url-firefox-sentinel): Remove function.
568 2015-03-03 Eli Zaretskii <eliz@gnu.org>
570 * frame.el (blink-cursor-timer-function): Don't increment
571 blink-cursor-blinks-done counter when a menu is active on a w32
574 2015-03-03 Juri Linkov <juri@linkov.net>
576 * comint.el (comint-line-beginning-position): Revert searching for
577 the prompt when comint-use-prompt-regexp is non-nil because it
578 doesn't distinguish input from output. Check the field property
579 `output' for the case when comint-use-prompt-regexp is nil.
582 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
584 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
585 with PAGER=cat. (Bug#19870)
587 2015-03-03 Glenn Morris <rgm@gnu.org>
589 * textmodes/flyspell.el (flyspell-duplicate-distance):
592 2015-03-03 Eli Zaretskii <eliz@gnu.org>
594 * textmodes/text-mode.el (text-mode-syntax-table): Make some
595 punctuation character behave as word-constituent, for more
596 compatibility with Unicode.
598 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
600 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
602 Improve string search in `flyspell-word-search-*`. (Bug#16800)
603 * textmodes/flyspell.el (flyspell-duplicate-distance):
604 Limit default search distance for duplicated words to 40000.
605 (flyspell-word-search-backward, flyspell-word-search-forward):
606 Search as full word with defined casechars, not as substring.
608 2015-03-03 Juri Linkov <juri@linkov.net>
610 Better support for the case of typing RET on the prompt in comint.
611 * comint.el (comint-get-old-input-default): Go to the field end
612 when comint-use-prompt-regexp is nil.
613 (comint-line-beginning-position): Check if point is already
614 on the prompt before searching for the prompt when
615 comint-use-prompt-regexp is non-nil. (Bug#19710)
617 2015-03-03 Eli Zaretskii <eliz@gnu.org>
619 * frame.el (frame-notice-user-settings): Refresh the value of
620 frame parameters after calling tty-handle-reverse-video.
621 Call face-set-after-frame-default with the actual parameters, to avoid
622 resetting colors back to unspecified.
623 (set-background-color, set-foreground-color): Pass the foreground
624 and background colors to face-set-after-frame-default. (Bug#19802)
626 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
628 * net/network-stream.el (network-stream-open-tls): Respect the
629 :end-of-capability setting.
631 2015-03-03 Juri Linkov <juri@linkov.net>
633 Revert the previous change of comint-line-beginning-position callers,
634 and modify comint-line-beginning-position instead.
636 * comint.el (comint-history-isearch-search)
637 (comint-history-isearch-message, comint-history-isearch-wrap):
638 Use comint-line-beginning-position instead of field-beginning.
639 (comint-send-input): Use either end-of-line or field-end
640 depending on comint-use-prompt-regexp.
641 (comint-line-beginning-position): Search backward
642 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
643 Use field-beginning instead of line-beginning-position
644 if comint-use-prompt-regexp is nil. (Bug#19710)
646 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
648 * calendar/todo-mode.el (todo-item-done): When done items are
649 hidden, restore point to its location prior to invoking this
652 2015-03-03 Eli Zaretskii <eliz@gnu.org>
654 * textmodes/artist.el (artist-ellipse-compute-fill-info):
655 Use mapcar, not mapc, to create the other half of fill-info.
658 2015-03-03 Nicolas Petton <nicolas@petton.fr>
660 * emacs-lisp/authors.el (authors-ignored-files)
661 (authors-renamed-files-alist): Additions.
663 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
665 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
666 tempfile for ControlPath. (Bug#19702)
668 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
670 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
671 ControlPath if possible. (Bug#19702)
673 2015-03-03 Glenn Morris <rgm@gnu.org>
675 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
676 (authors-valid-file-names, authors-renamed-files-alist): Additions.
678 2015-03-03 Alan Mackenzie <acm@muc.de>
680 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
681 * progmodes/cc-mode.el (c-font-lock-init):
682 Set font-lock-extend-region-functions to nil.
684 2015-03-03 Daniel Colascione <dancol@dancol.org>
686 * emacs-lisp/generator.el: Make globals conform to elisp
687 style throughout. Use more efficient font-lock patterns.
688 (cps-inhibit-atomic-optimization): Rename from
689 `cps-disable-atomic-optimization'.
690 (cps--gensym): New macro; replaces `cl-gensym' throughout.
691 (cps-generate-evaluator): Move the `iter-yield' local macro
693 (iter-defun, iter-lambda): from here.
695 (iter-defun): Use `macroexp-parse-body'.
697 2015-03-03 Daniel Colascione <dancol@dancol.org>
699 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
701 * progmodes/gud.el: Use lexical-binding (bug#19966).
703 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
705 2015-03-03 Daniel Colascione <dancol@dancol.org>
707 * emacs-lisp/generator.el: Make globals conform to elisp
708 style throughout. Use more efficient font-lock patterns.
709 (cps-inhibit-atomic-optimization): Rename from
710 `cps-disable-atomic-optimization'.
711 (cps--gensym): New macro; replaces `cl-gensym' throughout.
712 (cps-generate-evaluator): Move the `iter-yield' local macro
714 (iter-defun, iter-lambda): ...from here.
716 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
718 * emacs-lisp/package.el (package-autoremove): Fix if logic.
720 2015-03-03 Martin Rudalics <rudalics@gmx.at>
722 * window.el (window--dump-frame): For pixel height return total
723 number of frame's lines.
725 2015-03-03 Daniel Colascione <dancol@dancol.org>
727 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
729 * emacs-lisp/generator.el (iter-defun): Correctly propagate
730 docstrings and declarations to underlying function.
732 2015-03-02 Daniel Colascione <dancol@dancol.org>
734 * emacs-lisp/generator.el: New file.
736 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
737 `vc-responsible-backend'.
739 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
741 * vc/vc-hooks.el (vc-state, vc-working-revision):
742 Use `vc-responsible-backend' in order to support unregistered files.
744 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
746 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
747 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
750 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
752 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
754 * net/shr.el (shr-insert): Remove soft hyphens.
755 (shr-insert): Also remove soft hypens from non-folded text.
757 2015-02-28 Eli Zaretskii <eliz@gnu.org>
759 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
760 when the charset is only given by the HTML <head>, and allow to
761 specify the encoding with "C-x RET c".
763 2015-02-27 Mark Laws <mdl@60hz.org>
765 Support daemon mode on MS-Windows (bug#19688)
766 * server.el (server-process-filter): Force GUI frames on
767 MS-Windows in daemon mode, even if a TTY frame was requested.
769 * frameset.el (frameset-keep-original-display-p): Don't assume
770 windows-nt cannot be in daemon mode.
772 * frame.el (window-system-for-display): Don't assume windows-nt
773 cannot be in daemon mode.
775 2015-02-26 Ivan Shmakov <ivan@siamics.net>
777 * faces.el (face-list-p): Split from face-at-point.
778 (face-at-point): Use it.
779 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
781 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
783 * vc/vc.el (vc-annotate-switches): New defcustom.
784 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
785 (vc-bzr-annotate-command): Use vc-switches.
786 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
787 (vc-cvs-annotate-command): Use vc-switches.
788 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
789 (vc-git-annotate-command): Use vc-switches.
790 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
791 (vc-hg-annotate-command): Use vc-switches.
792 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
793 (vc-mtn-annotate-command): Use vc-switches.
794 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
795 (vc-svn-annotate-command): Use vc-switches.
797 2015-02-26 Alan Mackenzie <acm@muc.de>
799 Handle "#" operator properly inside macro. Fix coding bug.
801 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
802 On finding a "#" which looks like the start of a macro, check it
803 isn't already inside a macro.
805 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
806 "safe" position into the list of them when this is beyond our
809 2015-02-26 Martin Rudalics <rudalics@gmx.at>
811 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
812 the menu frame is dead. (Bug#19728)
814 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
816 python.el: Handle tabs in python-indent-dedent-line.
817 * progmodes/python.el (python-indent-dedent-line): Fixes for
818 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
820 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
822 * progmodes/python.el (python-indent-context): Respect user
823 indentation after comment.
825 2015-02-26 Tassilo Horn <tsdh@gnu.org>
827 * textmodes/reftex-vars.el (featurep): Conditionalize value of
828 reftex-label-regexps in order to stay compatible with XEmacs 21.5
829 which has no explicitly numbered groups in regexps (bug#19714).
831 2015-02-26 Daiki Ueno <ueno@gnu.org>
833 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
834 integer before comparison.
836 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
838 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
840 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
842 * emacs-lisp/check-declare.el (check-declare-warn):
843 Use compilation-style warnings.
844 (check-declare-files): Make sure that
845 `check-declare-warning-buffer' is in `compilation-mode'.
847 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
849 * emacs-lisp/check-declare.el (check-declare-ext-errors):
851 (check-declare): New defgroup.
852 (check-declare-verify): When `check-declare-ext-errors' is
853 non-nil, warn about an unfound function, instead of saying
854 "skipping external file".
856 2015-02-25 Tassilo Horn <tsdh@gnu.org>
858 * textmodes/reftex-vars.el (reftex-include-file-commands):
859 Call reftex-set-dirty on changes.
861 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
863 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
864 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
867 2015-02-24 Glenn Morris <rgm@gnu.org>
869 * mail/rmailsum.el (rmail-summary-previous-all)
870 (rmail-summary-previous-msg): Simplify.
872 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
874 * simple.el (region-active-p): Fix doc to say non-nil.
876 2015-02-24 Samer Masterson <nosefrog@gmail.com>
878 * eshell/em-hist.el (eshell-hist-parse-word-designator):
879 Return args joined with " ".
880 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
881 (eshell-hist-parse-modifier): Pass mod a list instead of a string
884 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
886 * comint.el (comint-mode-map): Fix obvious typo.
888 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
890 * filecache.el (file-cache-filter-regexps):
891 Add lock files. (Bug#19516)
893 2015-02-24 Glenn Morris <rgm@gnu.org>
895 * mail/rmailsum.el (rmail-summary-next-all)
896 (rmail-summary-previous-all, rmail-summary-next-msg):
897 Fix handling of optional argument. (Bug#19916)
899 * progmodes/f90.el (f90-beginning-of-subprogram)
900 (f90-end-of-subprogram, f90-match-end):
901 Handle continued strings where the continuation does not start
902 with "&" and happens to match our regexp. (Bug#19809)
904 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
906 * comint.el (comint-clear-buffer): New command.
907 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
909 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
911 Use ${EXEEXT} more uniformly in makefiles
912 * Makefile.in (EMACS): Append ${EXEEXT}.
914 2015-02-23 Sam Steingold <sds@gnu.org>
916 * files.el (recover-session): Handle `auto-save-list-file-prefix'
917 being a directory (empty non-directory part).
919 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
921 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
922 instead of sasl-scram-sha-1, as the former is the name that can be
925 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
926 (sasl-scram-sha-1-client-final-message)
927 (sasl-scram-sha-1-authenticate-server): Move to end of file.
929 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
931 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
934 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
936 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
937 and :documentation. Change return value format accordingly.
938 * emacs-lisp/cl-generic.el (cl--generic-lambda):
939 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
940 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
942 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
944 Introduce `xref-etags-mode'.
945 * progmodes/xref.el (xref-etags-mode--saved): New variable.
946 (xref-etags-mode): New minor mode. (Bug#19466)
948 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
950 * dom.el (dom-previous-sibling): New function.
952 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
954 * bindings.el (ctl-x-map): There is no 'C-;'.
955 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
956 Perhaps some other binding should be chosen. (Bug#19826)
958 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
960 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
962 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
964 * autorevert.el (auto-revert-notify-add-watch)
965 (auto-revert-notify-handler, auto-revert-buffers): Handle also
966 buffers without an associated file, like dired buffers. (Bug#16112)
968 2015-02-21 Dima Kogan <dima@secretsauce.net>
970 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
971 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
972 wrappers. Call (auto-revert-buffers) consequently in order to
975 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
977 Sync with upstream verilog-mode revision 0d6420b.
978 * progmodes/verilog-mode.el (verilog-mode-version): Update.
979 (vector-skip-list): Remove.
980 (verilog-auto-inst-port, verilog-auto-inst-port-list)
981 (verilog-auto-inst, verilog-auto-inst-param):
982 Use arguments rather than vector-skip.
983 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
984 modport if signal attachment is itself a modport.
985 Reported by Matthew Lovell.
987 2015-02-21 Reto Zimmermann <reto@gnu.org>
989 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
990 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
991 (vhdl-doc-release-notes): Update.
992 (vhdl-standard): Add VHDL'08 option.
993 (vhdl-sensitivity-list-all): New option.
994 (vhdl-directive-keywords): Add psl.
995 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
996 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
997 (vhdl-imenu-generic-expression): Add context, directive.
998 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
999 (vhdl-template-map-init): Add vhdl-template-context.
1000 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1001 (vhdl-create-mode-menu): Add some entries.
1002 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1003 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1005 (vhdl-directives): New variable.
1006 (vhdl-words-init, vhdl-template-process)
1007 (vhdl-template-replace-header-keywords): Support VHDL'08.
1008 (vhdl-abbrev-list-init): Add vhdl-directives.
1009 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1010 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1011 (vhdl-lineup-comment): Handle block comments and directives.
1012 (vhdl-beginning-of-directive, vhdl-template-context)
1013 (vhdl-template-context-hook): New functions.
1014 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1015 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1016 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1017 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1018 (vhdl-scan-context-clause): Add context.
1020 2015-02-20 Glenn Morris <rgm@gnu.org>
1022 * calendar/solar.el (solar-sunrise-sunset-string):
1023 Shorten message a little.
1024 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1026 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1027 (f90-font-lock-keywords-2): Some F2008 additions.
1029 2015-02-19 Dima Kogan <dima@secretsauce.net>
1031 * autorevert.el (auto-revert-buffers-counter)
1032 (auto-revert-buffers-counter-lockedout): New variables.
1033 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1034 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1035 suppressed by lockout. (Bug#18958)
1037 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1039 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1040 returns classes, not class names (bug#19891).
1042 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1044 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1046 2015-02-18 Kelly Dean <kelly@prtime.org>
1048 * register.el (jump-to-register):
1049 * emacs-lisp/lisp.el (check-parens):
1050 Push mark before goto-char so user doesn't lose his previous place.
1052 2015-02-18 Kelly Dean <kelly@prtime.org>
1054 * rect.el (rectangle-mark-mode):
1055 Suppress superfluous "Mark set" message from push-mark.
1057 2015-02-18 Kelly Dean <kelly@prtime.org>
1059 * help-mode.el (help-go-back, help-go-forward, help-follow):
1060 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1061 * winner.el (winner-redo):
1062 * windmove.el (windmove-do-window-select):
1063 * register.el (jump-to-register, increment-register, insert-register)
1064 (append-to-register, prepend-to-register):
1065 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1066 (set-visited-file-name):
1067 * emacs-lisp/lisp.el (kill-backward-up-list):
1068 Use user-error instead of error. (Bug#14480)
1070 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1072 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1073 assumptions about window ordering.
1075 2015-02-16 Kelly Dean <kelly@prtime.org>
1077 * files.el (insert-file-contents-literally): Fix docstring typo.
1079 2015-02-16 Kelly Dean <kelly@prtime.org>
1081 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1082 arguments correctly. (Bug#19685)
1083 (define-minor-mode): Clarify docstring.
1084 Clarify mode switch messages for minor modes. (Bug#19690)
1086 2015-02-16 Kelly Dean <kelly@prtime.org>
1088 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1089 Create valid tar files. (Bug#19536)
1091 2015-02-16 Kelly Dean <kelly@prtime.org>
1093 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1096 2015-02-16 Kelly Dean <kelly@prtime.org>
1098 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1099 buffer, and prevent interference with existing buffer. (Bug#13190)
1101 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1103 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1105 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1106 Do not deactivate mark on fontification.
1108 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1110 * net/eww.el: Fix desktop support. (Bug#19226)
1111 (eww-mode): Add autoload cookie.
1112 (eww-restore-desktop): Use inhibit-read-only.
1114 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1115 add-hook works correctly even if the file is not yet loaded.
1117 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1119 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1121 (set-slot-value): Mark as obsolete.
1122 (eieio-object-class-name): Improve call to eieio-class-name.
1123 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1124 (object-slots): Use it. Declare obsolete.
1125 (eieio-constructor): Merge it with `make-instance'.
1126 (initialize-instance): Use `dolist'.
1127 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1128 Use eieio--class-print-name.
1130 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1131 (eieio-class-name): Make it do what the docstring claims.
1132 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1133 (eieio--slot-name-index): Simplify accordingly.
1134 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1135 name to `slot-unbound'.
1137 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1138 than on eieio-constructor.
1140 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1142 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1143 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1144 about relationship between `type', `named', and `slots'.
1145 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1146 value of `cl-struct-type' property.
1148 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1150 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1151 with PAGER=cat. (Bug#19870)
1153 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1155 * emacs-lisp/package.el (package-read-all-archive-contents):
1156 Don't build the compatibility table.
1157 (package-refresh-contents, package-initialize): Do build the
1158 compatibility table.
1159 (package--build-compatibility-table): New function.
1160 (describe-package-1): Describe why a package is incompatible.
1162 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1166 (cl--assertion-failed): New function.
1167 (cl-assertion-failed): Move in from cl-lib.el.
1169 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1170 as children of its parents.
1171 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1172 (cl-typep): Reimplement using define-inline.
1173 (cl-assert): Use cl--assertion-failed.
1174 (cl-struct-slot-value): Use define-inline.
1176 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1178 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1179 (flyspell-generic-check-word-p): Mark as obsolete.
1181 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1183 * emacs-lisp/package.el (package--compatibility-table): New var.
1184 (package--add-to-compatibility-table): New function.
1185 (package-read-all-archive-contents): Populate compatibility table.
1186 (package--incompatible-p): Also look in dependencies.
1187 (describe-package-1): Fix "incompat" handling.
1189 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1191 * net/rfc2104.el: Moved here from lisp/gnus.
1193 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1195 * net/sasl-scram-rfc.el: New file.
1197 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1198 Add SCRAM-SHA-1 first.
1199 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1202 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1204 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1207 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1209 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1210 (gdb-inferior-filter): Don't pop up the buried output buffer when
1211 `gdb-display-io-nopopup' is non-nil.
1213 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1215 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1217 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1218 Don't require a running process.
1219 (python-shell-font-lock-post-command-hook): Fontify only if the
1220 shell process is running.
1222 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * hi-lock.el (hi-lock-unface-buffer): Don't call
1225 font-lock-remove-keywords if not needed (bug#19796).
1227 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1229 * emacs-lisp/package.el (package-install): Invert the second
1230 argument, for better backwards compatibility.
1231 (package-install-button-action, package-reinstall)
1232 (package-menu-execute): Account for the change.
1234 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1236 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1237 version of seq-reverse that works on sequences in Emacs 24.
1238 Bump seq.el version to 1.2.
1240 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1242 * emacs-lisp/package.el (package--incompatible-p): New function.
1243 Return non-nil if PKG has no chance of being installable.
1244 (package--emacs-version-list): New variable.
1245 (describe-package-1, package-desc-status)
1246 (package-menu--print-info, package-menu--status-predicate):
1247 Account for the "incompat" status.
1249 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1251 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1252 Rename frame parameter `maximized' to `fullscreen-restore'.
1253 Restore fullwidth/-height after fullboth state. Update doc-strings.
1255 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1257 * net/shr.el (shr-insert): Make sure the space inserted has the
1258 right font (for width).
1259 (shr-fill-line): Preserve background colours when indenting/folding.
1260 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1263 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1265 * net/shr.el (shr-use-fonts): New variable.
1266 (shr-fill-text): Rename from "fold".
1267 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1269 (shr-insert): Just insert, don't fill the text. Filling is now
1270 done afterwards per display unit.
1271 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1273 (shr-find-fill-point): Take a "beginning" parameter.
1274 (shr-indent): Indent using the :width display parameter when using
1276 (shr-parse-style): Ignore "inherit" values, since we already do that.
1277 (shr-tag-img): Remove the insertion states.
1278 (shr-tag-blockquote): New-style filling.
1279 (shr-tag-dd): Ditto.
1280 (shr-tag-li): Ditto.
1281 (shr-mark-fill): New function to mark lines that need filling.
1282 (shr-tag-h1): Use a larger font.
1283 (shr-tag-table-1): Get the natural and suggested widths in one
1285 (shr-tag-table): Create the "fixed" version of the table only once
1286 so that we can cache data in the table.
1287 (shr-insert-table): Get colspan calculations right by having
1288 zero-width columns after colspan ones.
1289 (shr-expand-alignments): New function to make :align-to specs work
1290 right when rendered in one buffer and displayed in another one.
1291 (shr-insert-table-ruler): Use :align-to to get the widths right.
1292 (shr-make-table): Cache more.
1293 (shr-make-table-1): Use the new <td> data layout.
1294 (shr-pixel-buffer-width): New function.
1295 (shr-render-td): Add a caching layer.
1296 (shr-dom-max-natural-width): New function.
1297 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1298 (shr-tag-tt): New function.
1299 (shr-tag-hr): Compute the right length when using fonts.
1300 (shr-table-widths): Off-by-one error in width computation.
1301 (shr-expand-newlines): Remove dead code.
1302 (shr-insert-table): Extend background colors to the end of the column.
1303 (shr-insert-table): Only copy the background, not underline and
1305 (shr-face-background): New function.
1307 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1309 python.el: Improved shell font lock respecting markers. (Bug#19650)
1311 * progmodes/python.el
1312 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1313 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1314 (python-shell-font-lock-post-command-hook): Fontify by copying text
1315 properties from fontified buffer to shell, keeping markers unchanged.
1316 (python-shell-font-lock-turn-off): Fix typo.
1317 (python-util-text-properties-replace-name): Delete function.
1319 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1321 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1322 return sequence elements in correct order.
1324 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1326 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1328 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1330 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1332 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1333 case where the default value would be re-interpreted as a form!
1335 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1337 * help-fns.el (help-fns--signature): Keep doc for keymap.
1339 2015-02-09 Kelly Dean <kelly@prtime.org>
1341 * desktop.el: Save mark-ring less verbosely.
1342 (desktop-var-serdes-funs): New var.
1343 (desktop-buffer-info, desktop-create-buffer): Use it.
1344 (desktop-file-version): Update to 208.
1346 2015-02-09 Leo Liu <sdl.web@gmail.com>
1348 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1350 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1352 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1354 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1356 Port to platforms lacking test -a and -o
1357 * Makefile.in (compile-clean):
1358 * net/tramp-sh.el (tramp-find-executable):
1359 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1361 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1363 * newcomment.el (comment-line): Fix missing paren.
1365 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1367 * play/gamegrid.el: Update comment to reflect that the
1368 'update-game-score' helper program is now setgid by default.
1370 2015-02-08 David Kastrup <dak@gnu.org>
1372 * subr.el (apply-partially): Use lexical binding here.
1374 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1376 * newcomment.el (comment-line): New command.
1378 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1380 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1382 * outline.el (outline-show-entry): Fix one invisible char for the
1383 file's last outline. (Bug#19493)
1385 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * subr.el (indirect-function): Change advertised calling convention.
1389 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1391 python.el: Fix completion-at-point. (Bug#19667)
1393 * progmodes/python.el
1394 (python-shell-completion-native-get-completions): Force process buffer.
1395 (python-shell-completion-at-point): Handle case where call is not
1398 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1400 python.el: Fix shell font-lock multiline input. (Bug#19744)
1402 * progmodes/python.el
1403 (python-shell-font-lock-post-command-hook): Handle multiline input.
1405 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1407 python.el: Make shell font-lock respect markers. (Bug#19650)
1409 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1411 (python-shell-font-lock-comint-output-filter-function):
1413 (python-shell-font-lock-post-command-hook): Respect markers on
1416 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1418 python.el: Keep eldoc visible while typing args. (Bug#19637)
1419 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1420 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1421 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1423 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1425 Fix hideshow integration. (Bug#19761)
1426 * progmodes/python.el
1427 (python-hideshow-forward-sexp-function): New function based on
1428 Carlos Pita <carlosjosepita@gmail.com> patch.
1429 (python-mode): Make `hs-special-modes-alist` use it and initialize
1430 the end regexp with the empty string to avoid skipping parens.
1432 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1434 * progmodes/python.el (python-check-custom-command): Do not use
1435 defvar-local for compat with Emacs<24.3.
1437 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1439 * frame.el (frame-notice-user-settings):
1440 Update `frame-size-history'.
1441 (make-frame): Update `frame-size-history'.
1442 Call `frame-after-make-frame'.
1443 * faces.el (face-set-after-frame-default): Remove call to
1444 frame-can-run-window-configuration-change-hook.
1446 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1448 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1449 `vc-cvs-command' (bug#19732).
1451 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1453 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1455 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1456 (seq--drop-list, seq--take-list, seq--take-while-list):
1459 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1461 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1462 `image-kill-buffer' instead.
1464 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1466 * net/ldap.el (ldap-search-internal): Fix docstring.
1468 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1470 * subr.el (define-error): The error conditions may be constant
1471 lists, so use `append' to concatenate them.
1473 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1475 * net/network-stream.el (network-stream-open-tls): Respect the
1476 :end-of-capability setting.
1478 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1480 * emacs-lisp/package.el (package--sort-by-dependence):
1481 New function. Return PACKAGE-LIST sorted by dependencies.
1482 (package-menu-execute): Use it to delete packages in order.
1483 (package--sort-deps-in-alist): New function.
1484 (package-menu-mark-install): Can mark dependencies.
1485 (package--newest-p): New function.
1486 (package-delete): Don't deselect when deleting an older version of
1487 an upgraded package.
1489 * emacs-lisp/package.el: Add missing (require 'subr-x)
1491 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1494 hyphenated (bug#19263).
1496 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1497 of variable interpolation (bug#19751).
1499 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1501 * json.el (json-end-of-file): New error (bug#19768).
1502 (json-pop, json-read): Use it.
1504 2015-02-05 Kelly Dean <kelly@prtime.org>
1506 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1507 `describe-variable'.
1509 * help-fns.el (describe-function-or-variable): New function.
1511 * help.el (help-map): Bind `describe-function-or-variable' to o.
1512 (help-for-help-internal): Document o key.
1514 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1516 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1517 special (:documentation ...) feature.
1518 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1519 (eieio-make-child-predicate): Same.
1520 (eieio-copy-parents-into-subclass): Remove unused arg.
1521 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1523 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1524 callers accordingly.
1526 * emacs-lisp/cconv.el (cconv--convert-function):
1527 Add `docstring' argument.
1528 (cconv-convert): Use it to handle the new (:documentation ...) form.
1529 (cconv-analyze-form): Handle the new (:documentation ...) form.
1531 * emacs-lisp/bytecomp.el:
1532 (byte-compile-initial-macro-environment): Use macroexp-progn.
1533 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1534 (byte-compile-file-form-defvar-function): Rename from
1535 byte-compile-file-form-define-abbrev-table.
1536 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1537 (byte-compile): Use byte-compile-top-level rather than
1538 byte-compile-lambda so we can compile non-values.
1539 (byte-compile-form): Add warnings for failed uses of lexical vars via
1541 (byte-compile-unfold-bcf): Improve message for failed inlining.
1542 (byte-compile-make-closure): Handle new format of internal-make-closure
1543 for dynamically-generated docstrings.
1545 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1546 (open-line): Delete like all other commands, instead of killing.
1547 (delete-active-region): Don't define any return any value.
1549 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1550 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1553 2015-02-04 Sam Steingold <sds@gnu.org>
1555 * progmodes/python.el (python-indent-calculate-indentation):
1556 Avoid the error when computing top-level indentation.
1558 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1560 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1562 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1563 (mail-mode-flyspell-verify): Fix last change.
1564 (flyspell-external-point-words, flyspell-large-region):
1565 Avoid add-to-list on local vars.
1567 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1569 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1570 void-variable error.
1572 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1574 * image-mode.el (image-kill-buffer): New command.
1575 (image-mode-map): Bind it to k.
1577 * emacs-lisp/package.el (package-delete): Remove package from
1578 `package-selected-packages' even if it can't be deleted.
1579 (package-installed-p): Accept package-desc objects.
1580 (package-install): Can be used to mark dependencies as
1581 selected. When given a package-desc object which is already
1582 installed, the package is not downloaded again, but it is marked
1583 as selected (if it wasn't already).
1584 (package-reinstall): Accept package-desc objects.
1586 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1588 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1589 (package--get-deps): delete-dups when ONLY is nil.
1590 (package-autoremove): Warn the user if `package-selected-packages'
1593 (package--user-selected-p): New function.
1594 (package-delete, package-install, package-install-from-buffer):
1596 (package-selected-packages): Mention it.
1598 (package-initialize): Don't populate `package-selected-packages'.
1599 (package-install-user-selected-packages, package-autoremove):
1600 Special handling for empty `package-selected-packages'.
1601 (package-install): Fix when PKG is a package-desc.
1603 (package-desc-status): Add "dependency" status to the Package
1605 (package-menu--status-predicate, package-menu--print-info)
1606 (package-menu-mark-delete, package-menu--find-upgrades)
1607 (package-menu--status-predicate, describe-package-1): Use it
1609 (package--removable-packages): New function.
1610 (package-autoremove): Use it.
1611 (package-menu-execute): Offer to remove unneeded packages.
1613 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1616 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1618 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1619 (package-delete): New NOSAVE argument.
1621 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1623 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1624 (tramp-open-shell, tramp-maybe-open-connection): Set also
1625 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1627 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1629 * emacs-lisp/package.el (package--find-non-dependencies):
1631 (package-initialize): Use it to populate `package-selected-packages'.
1632 (package-menu-execute): Clean unnecessary `and'.
1633 (package--get-deps): Fix returning duplicates.
1635 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1637 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1639 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1642 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1644 * emacs-lisp/package.el (package-delete): Remove package from
1645 package-selected-packages.
1646 (package-autoremove): Remove unneeded variable.
1648 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1650 * emacs-lisp/package.el (package-selected-packages): Fix :type
1651 (package-install): Rename ARG to MARK-SELECTED.
1652 (package--get-deps): Fix for indirect dependencies.
1653 (package-used-elsewhere-p): Rename to
1654 (package--used-elsewhere-p): New function.
1655 (package-reinstall, package-user-selected-packages-install)
1656 (package-autoremove): Use sharp-quote.
1657 (package-user-selected-packages-install): Reindent and rename to
1658 (package-install-user-selected-packages): New function.
1660 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1662 * emacs-lisp/package.el: Don't allow deleting dependencies.
1664 (package-used-elsewhere-p): New function.
1665 (package-delete): Use it, return now an error when trying to
1666 delete a package used as dependency by another package.
1668 Add a reinstall package command.
1669 (package-reinstall): New function.
1671 Add a package-autoremove command.
1672 (package-selected-packages): New user var.
1673 (package-install): Add an optional arg to notify interactive use.
1674 Fix docstring. Save installed package to
1675 packages-installed-directly.
1676 (package-install-from-buffer): Same.
1677 (package-user-selected-packages-install): Allow installing all
1678 packages in packages-installed-directly at once.
1679 (package--get-deps): New function.
1680 (package-autoremove): New function.
1681 (package-install-button-action): Call package-install with
1683 (package-menu-execute): Same but only for only for not installed
1686 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1688 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1689 and eieio-make-child-predicate.
1690 (eieio-class-parents): Use eieio--class-object.
1691 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1692 (slot-exists-p): Use find-class.
1694 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1695 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1696 convention for eieio-class-def.
1697 (eieio-build-class-list): Remove function, unused.
1698 (eieio-method-def): Remove button type, unused.
1699 (eieio-class-def): Inherit from help-function-def.
1700 (eieio--defclass-regexp): New constant.
1701 (find-function-regexp-alist): Use it.
1702 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1703 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1706 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1707 Use cl-check-type everywhere instead.
1708 (eieio-class-object): Remove, use find-class instead when needed.
1709 (class-p): Don't inline.
1710 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1711 such as eieio classes, as objects. Don't inline.
1712 (object-p): Mark as obsolete.
1713 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1714 (eieio--generic-tagcode): Avoid `class-p'.
1715 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1716 (eieio-defclass-internal): Use current-load-list rather than
1719 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1721 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1723 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1724 since it may be "equivalent" in some sense, yet different (bug#19734).
1726 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1728 * outline.el (outline-font-lock-face): Add docstring.
1729 (outline-invisible-p): Improve docstring.
1730 (outline-invent-heading): Add docstring.
1731 (outline-promote): Improve docstring.
1732 (outline-demote): Improve docstring.
1733 (outline-head-from-level): Improve docstring.
1734 (outline-end-of-heading): Add docstring.
1735 (outline-next-visible-heading): Improve docstring.
1736 (outline-previous-visible-heading): Improve docstring.
1737 (outline-hide-region-body): Improve docstring.
1738 (outline-flag-subtree): Add docstring.
1739 (outline-end-of-subtree): Add docstring.
1740 (outline-headers-as-kill): Improve docstring.
1742 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1744 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1745 (hide-entry): Declare as obsolete.
1746 (outline-show-entry): Rename from `show-entry'.
1747 (show-entry): Declare as obsolete.
1748 (outline-hide-body): Rename from `hide-body'.
1749 (hide-body): Declare as obsolete.
1750 (outline-hide-region-body): Rename from `hide-region-body'.
1751 (hide-region-body): Declare as obsolete.
1752 (outline-show-all): Rename from `show-all'.
1753 (show-all): Declare as obsolete.
1754 (outline-hide-subtree): Rename from `hide-subtree'.
1755 (hide-subtree): Declare as obsolete.
1756 (outline-hide-leaves): Rename from `hide-leaves'.
1757 (hide-leaves): Declare as obsolete.
1758 (outline-show-subtree): Rename from `show-subtree'.
1759 (show-subtree): Declare as obsolete.
1760 (outline-hide-sublevels): Rename from `hide-sublevels'.
1761 (hide-sublevels): Declare as obsolete.
1762 (outline-hide-other): Rename from `hide-other'.
1763 (hide-other): Declare as obsolete.
1764 (outline-show-children): Rename from `show-children'.
1765 (show-children): Declare as obsolete.
1766 (outline-show-branches): Rename from `show-branches'.
1767 (show-branches): Declare as obsolete.
1769 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1771 * outline.el (outline-mode): Clean up docstring.
1772 (font-lock-warning-face): Remove obsolete declaration.
1773 (outline-font-lock-face): Remove obsolete comment.
1775 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1777 * custom.el (defface): Set `indent' to 1.
1779 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1781 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1783 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1785 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1786 is set, but user has just been asked whether they really want to
1787 kill Emacs (for example with a ‘Modified buffers exist; exit
1788 anyway?’ prompt), do not ask them for another confirmation.
1790 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1792 * calc/calc-units.el (calc-convert-exact-units): New function.
1793 (calc-convert-units): Check for missing units.
1794 (math-consistent-units-p): Strengthen the test for consistent units.
1796 * calc/calc-ext.el (calc-init-extensions): Autoload
1797 `calc-convert-exact-units' and assign it a keybinding.
1799 * calc/calc-help (calc-u-prefix-help): Add help for the
1802 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1804 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1806 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1808 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1809 punctuation syntax since to allow bibtex fields with values such
1810 as {Test 1) and 2)} (bug#19205, bug#19707).
1811 (reftex--prepare-syntax-tables): New function.
1812 (reftex-mode): Use it.
1814 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1816 python.el: New non-global state dependent indentation engine.
1817 (Bug#18319, Bug#19595)
1818 * progmodes/python.el (python-syntax-comment-or-string-p):
1819 Accept PPSS as argument.
1820 (python-syntax-closing-paren-p): New function.
1821 (python-indent-current-level)
1822 (python-indent-levels): Mark obsolete.
1823 (python-indent-context): Return more context cases.
1824 (python-indent--calculate-indentation)
1825 (python-indent--calculate-levels): New functions.
1826 (python-indent-calculate-levels): Use them.
1827 (python-indent-calculate-indentation, python-indent-line):
1828 (python-indent-line-function): Rewritten to use new API.
1829 (python-indent-dedent-line): Simplify logic.
1830 (python-indent-dedent-line-backspace): Use `unless`.
1831 (python-indent-toggle-levels): Delete function.
1833 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1835 * subr.el (posnp): Correct docstring of `posnp'.
1836 (posn-col-row): Make it work with all mouse position objects.
1837 * textmodes/artist.el (artist-mouse-draw-continously):
1838 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1840 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1842 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1844 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1846 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1848 (file-notify--descriptor): New defun.
1849 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1850 Adapt docstring. Handle multiple values for
1851 `file-notify-descriptors' entries. (Bug#18880)
1853 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1854 `file-notify-descriptors', the implementation has been changed.
1856 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1858 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1859 On MS-Windows, bind coding-system-for-read to the console output
1860 codepage. (Bug#19458)
1862 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1864 Unbreak `mouse-action' property in text buttons.
1865 * button.el (push-button): Fix regression from 2012-12-06.
1867 2015-01-28 Glenn Morris <rgm@gnu.org>
1869 * progmodes/sh-script.el (sh-mode): Doc fix.
1870 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1872 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1874 Fix dired quoting bug with "Hit`N`Hide".
1875 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1877 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1879 Tighten up the tagcode used for eieio and cl-struct objects.
1880 * loadup.el: Load cl-preloaded.
1881 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1882 slot of the tag symbol to :quick-object-witness-check.
1883 (eieio-object-p): Use :quick-object-witness-check.
1884 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1885 * emacs-lisp/cl-preloaded.el: New file.
1886 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1887 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1888 (cl--make-usage-args): Strip away &aux args.
1889 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1890 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1891 (cl-defstruct): Use `declare' and cl-struct-define.
1892 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1893 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1895 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1897 * emacs-lisp/cl.el (cl--function-convert):
1898 Merge cache that cl--labels-convert adds (bug#19699).
1900 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1902 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1903 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1904 (tar-header-serialize): New functions.
1905 (tar-current-position): Split from tar-current-descriptor.
1906 (tar-current-descriptor): Use it.
1907 (tar-new-entry): New command.
1908 (tar-mode-map): Bind it.
1910 2015-01-27 Sam Steingold <sds@gnu.org>
1912 * progmodes/python.el (python-check-custom-command): Buffer local
1913 because it usually includes the buffer name.
1914 (python-check-command): Set to epylint when pyflakes is not available.
1916 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1918 * isearch.el (isearch-process-search-char): Add docstring.
1920 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1922 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1924 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1926 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1927 for the case cl-flet or cl-labels form is wrapped with lexical-let
1930 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1933 (cl--generic): The method-table is now a (list-of cl--generic-method).
1934 (cl--generic-member-method): New function.
1935 (cl-generic-define-method): Use it.
1936 (cl--generic-build-combined-method, cl--generic-cache-miss):
1937 Adapt to new method-table.
1938 (cl--generic-no-next-method-function): Add `method' argument.
1939 (cl-generic-call-method): Adapt to new method representation.
1940 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1941 (cl-find-method, cl-method-qualifiers): New functions.
1942 (cl--generic-method-info): Adapt to new method representation.
1943 Return a string for the qualifiers.
1944 (cl--generic-describe):
1945 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1946 (eieio-all-generic-functions, eieio-method-documentation):
1947 Adjust to new method representation.
1949 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1951 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1953 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1954 (cl-generic-method-combination-function): New var.
1955 (cl--generic-lambda): Remove `with-cnm' arg.
1956 (cl-defmethod): Change accordingly.
1957 (cl-generic-define-method): Don't check qualifiers validity.
1958 Preserve all qualifiers in `method-table'.
1959 (cl-generic-call-method): New function.
1960 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1961 (cl--generic-build-combined-method): Adjust to new format of method-table
1962 and use cl-generic-method-combination-function.
1963 (cl--generic-standard-method-combination): New function, extracted from
1964 cl--generic-build-combined-method.
1965 (cl--generic-cnm-sample): Adjust to new format of method-table.
1967 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1968 instead of :primary.
1970 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1971 Remove obsolete function.
1973 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1975 * net/shr.el (shr-make-table-1): Fix colspan typo.
1976 (shr-make-table-1): Add comments.
1977 (shr-make-table-1): Make colspan display more sensibly.
1979 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1982 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1985 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1987 (cl--generic-typeof-types): Add support for `sequence'.
1988 (cl-defmethod): Add non-keywords in the qualifiers.
1990 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
1992 * emacs-lisp/find-func.el (find-function-regexp): Don't match
1993 `defgroup' (regression from the previous change here).
1995 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1997 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1998 credentials error message.
2000 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2002 * net/ldap.el (ldap-password-read): Validate password before
2004 (ldap-search-internal): Handle ldapsearch error conditions.
2006 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2008 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2010 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2012 * net/eudc.el (eudc-expand-inline): Always restore former server
2015 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2017 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2018 provided by the LDAP system configuration file.
2020 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2022 * net/eudc.el (eudc-format-query): Preserve the
2023 eudc-inline-query-format ordering of attributes in the returned list.
2024 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2025 Append the LDAP wildcard character to the last attribute value.
2027 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2029 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2030 Downcase field names of LDAP results.
2031 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2033 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2035 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2036 (ldap-search-internal): Send password to ldapsearch through a pipe
2037 instead of via the command line.
2039 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2041 * net/ldap.el: Require password-cache.
2042 (ldap-password-read): New function.
2043 (ldap-search-internal): Call ldap-password-read when it is
2044 configured to be called.
2046 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2048 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2049 Change default to nil.
2051 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2053 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2056 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2058 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2059 format that includes first name and surname.
2061 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2063 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2064 query email and first name instead of surname.
2066 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2068 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2070 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2072 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2073 eudc-server-hotlist.
2074 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2075 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2076 (eudc-set-server): Allow setting protocol to nil.
2077 (eudc-expand-inline): Support hotlist-only expansions when server
2080 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2082 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2083 (cl--generic-build-combined-method): Use it.
2085 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2087 Don't downcase system diagnostics' first letters
2088 * emacs-lisp/bytecomp.el (byte-compile-file):
2089 * ffap.el (find-file-at-point):
2090 * files.el (insert-file-1):
2091 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2092 (ange-ftp-copy-file-internal):
2093 * progmodes/etags.el (visit-tags-table):
2094 Keep diagnostics consistent with system's.
2095 * ffap.el (ffap-machine-p):
2096 Ignore case while comparing diagnostics.
2098 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2100 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2102 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2103 body with a docstring.
2105 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2107 * progmodes/xref.el (xref-location-marker, xref-location-group):
2108 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2111 * progmodes/etags.el (xref-location-marker): Same.
2113 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2114 (xref--inhibit-mark-current): Rename from
2115 `xref--inhibit-mark-selected'. Update the usages.
2116 (xref-quit): Reword the docstring. Kill buffers after quitting
2117 windows instead of before.
2118 (xref--insert-xrefs): Tweak help-echo.
2119 (xref--read-identifier-history, xref--read-pattern-history):
2121 (xref--read-identifier, xref-find-apropos): Use them.
2123 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2125 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2126 Allow the 'update-game-score' helper program to run suid or sgid.
2128 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2130 * emacs-lisp/eieio.el: Use cl-defmethod.
2131 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2132 (eieio-object-name-string): Declare as obsolete.
2134 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2135 (eieio--specializers-apply-to-class-p): New function.
2136 (eieio-all-generic-functions): Use it.
2137 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2138 Change format of return value.
2139 (eieio-help-class): Adapt accordingly.
2141 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2142 errors when there's a `before' but no `primary' (bug#19645).
2143 (next-method-p): Return nil rather than signal an error.
2144 (eieio-defgeneric): Remove bogus (fboundp 'method).
2146 * emacs-lisp/eieio-speedbar.el:
2147 * emacs-lisp/eieio-datadebug.el:
2148 * emacs-lisp/eieio-custom.el:
2149 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2151 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2152 (cl--generic-setf-rewrite): Setup the setf expander right away.
2153 (cl-defmethod): Make sure the setf expander is setup before we expand
2155 (cl-defmethod): Silence byte-compiler warnings.
2156 (cl-generic-define-method): Shuffle code to change return value.
2157 (cl--generic-method-info): New function, extracted from
2158 cl--generic-describe.
2159 (cl--generic-describe): Use it.
2161 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2163 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2164 the major mode. Remap `quit-window' to `xref-quit'.
2165 (xref--xref-buffer-mode): Inherit from special-mode.
2167 xref: Keep track of temporary buffers (bug#19466).
2168 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2169 (xref--inhibit-mark-selected): New variables.
2170 (xref--mark-selected): New function.
2171 (xref--show-location): Maybe add the buffer to
2172 `xref--temporary-buffers', add `xref--mark-selected' to
2173 `buffer-list-update-hook' there.
2174 (xref--window): Add docstring.
2175 (xref-quit): Rename from `xref--quit'. Update both references.
2176 Add KILL argument. When it's non-nil, kill the temporary buffers
2177 that haven't been selected by the user.
2178 (xref--show-xref-buffer): Change the second argument to alist,
2179 extract the values for `xref--window' and
2180 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2181 `buffer-list-update-hook' to each buffer in the list.
2182 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2183 here. Save the difference between buffer lists before and after
2184 it's called as "temporary buffers", and `pass it to
2185 `xref-show-xrefs-function'.
2186 (xref--find-definitions, xref-find-references)
2187 (xref-find-apropos): Update accordingly.
2189 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2191 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2193 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2195 * emacs-lisp/eieio-generic.el: Remove.
2196 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2197 * emacs-lisp/eieio-compat.el: New file.
2198 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2199 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2200 Remove unused function.
2201 (eieio-defclass): Move to eieio-compat.el.
2202 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2203 (macroexp--expand-all): Use it.
2204 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2206 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2208 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2209 major modes should use `add-function' to alter value of the variable.
2210 * hexl.el (hexl-mode):
2211 * ielm.el (inferior-emacs-lisp-mode):
2212 * progmodes/cfengine.el (cfengine3-mode):
2213 * progmodes/elisp-mode (emacs-lisp-mode):
2214 * progmodes/octave.el (octave-mode):
2215 * progmodes/python.el (python-mode):
2216 * simple.el (read--expression): Set `eldoc-documentation-function'
2217 using `add-function' so the default value is always used.
2219 * descr-text.el (describe-char-eldoc): New function returning
2220 basic Unicode codepoint information (e.g. name) about character
2221 at point. It is meant to be used as a default value of the
2222 `eldoc-documentation-function' variable.
2223 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2224 New helper functions for `describe-char-eldoc' function.
2226 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2228 * textmodes/paragraphs.el (sentence-end-base): Include an
2229 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2230 and a closing single quote (’) as an end of a quote.
2232 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2234 * textmodes/tildify.el (tildify-double-space-undos): A new
2235 variable specifying whether pressing space in `tildify-mode' after
2236 a space has been replaced with hard space undos the substitution.
2237 (tildify-space): Add code branch for handling `tildify-doule-space'.
2239 * textmodes/tildify.el (tildify-space): A new function
2240 which can be used as a `post-self-insert-hook' to automatically
2241 convert spaces into hard spaces.
2242 (tildify-space-pattern): A new variable specifying pattern where
2243 `tildify-space' should take effect.
2244 (tildify-space-predicates): A new variable specifying list of
2245 predicate functions that all must return non-nil for
2246 `tildify-space' to take effect.
2247 (tildify-space-region-predicate): A new functions meant to be
2248 used as a predicate in `tildify-space-predicates' list.
2249 (tildify-mode): A new minor mode enabling `tildify-space' as a
2250 `post-self-insert-hook'
2252 2015-01-20 Daniel Colascione <dancol@dancol.org>
2254 * vc/vc-dir.el (vc-dir): Default to repository root, not
2257 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2259 * progmodes/etags.el (xref-etags-location): New class.
2260 (xref-make-etags-location): New function.
2261 (etags--xref-find-definitions): Use it.
2262 (xref-location-marker): New method implementation.
2264 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2265 (xref--insert-xrefs): Expand help-echo string.
2267 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2269 * ido.el: Update Customization instructions.
2271 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2273 Define Ido keymaps once (bug#17000).
2274 * ido.el (ido-common-completion-map)
2275 (ido-file-dir-completion-map)
2276 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2277 bindings when each variable is defined.
2278 (ido-completion-map): Move definition.
2279 (ido-init-completion-maps): Noop.
2280 (ido-common-initialization): Don't call it.
2281 (ido-setup-completion-map): Improve doc-string, cleanup.
2283 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2285 * cus-dep.el (custom-make-dependencies): Ensure that
2286 default-directory is interpreted as a directory (see bug#19140.)
2288 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2290 * progmodes/xref.el (xref--display-position):
2291 Set `other-window-scroll-buffer'.
2292 (xref-goto-xref): Use `user-error'.
2294 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2296 * progmodes/xref.el (xref--display-history): New variable.
2297 (xref--window-configuration): Remove.
2298 (xref--save-to-history): New function.
2299 (xref--display-position): Use it. Add new argument.
2300 (xref--restore-window-configuration): Remove.
2301 (xref--show-location, xref-show-location-at-point):
2303 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2304 (xref--quit): New command.
2305 (xref-goto-xref): Use it.
2306 (xref--xref-buffer-mode-map): Bind `q' to it.
2308 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2310 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2311 indentation or at eol.
2313 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2316 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2318 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2320 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2323 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2324 introduction of a new dispatch argument.
2325 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2326 considered as dispatchable for this method.
2327 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2328 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2330 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2332 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2334 * emacs-lisp/package.el (package--append-to-alist): Rename from
2335 `package--add-to-alist'
2336 Updated docstring due to new name.
2338 2015-01-18 Leo Liu <sdl.web@gmail.com>
2340 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2341 multiple evaluation. (Bug#19519)
2343 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2346 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2348 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2349 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2351 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2353 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2355 (cl-struct-type-p): New function.
2357 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2358 (cl-defmethod): Add edebug spec.
2359 (cl--generic-build-combined-method): Fix call to
2360 cl-no-applicable-method.
2361 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2362 (cl--generic-isnot-nnm-p): New function.
2363 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2364 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2365 (cl-next-method-p): New function.
2367 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2369 * version.el (emacs-repository-get-version): Update docstring.
2371 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2373 * files.el (find-file-other-window, find-file-other-frame):
2374 Use mapc instead of mapcar. (Bug#18175)
2376 * files.el (dir-locals-collect-variables): Use default-directory
2377 in place of the file name while working on non-file buffers, just
2378 like hack-dir-local-variables already does. (Bug#19140)
2380 * textmodes/enriched.el (enriched-encode):
2381 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2384 * desktop.el (desktop-read): Do not call desktop-clear when no
2385 desktop file is found. (Bug#18371)
2387 * misearch.el (multi-isearch-unload-function): New function.
2388 (misearch-unload-function): New alias. (Bug#19566)
2390 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2393 class-constructor, and make it an alias for `identity'.
2396 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2397 argument here (bug#19620)...
2398 (defclass): ...instead of in the constructor here.
2400 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2402 * emacs-lisp/package.el (package-archive-priorities):
2403 Specify correct type.
2405 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2407 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2409 (emacs-repository-get-version): Discard the Bazaar case.
2410 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2411 emacs-bzr-version-dirstate and move from version.el to here.
2412 (vc-bzr-working-revision): Use it.
2414 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2416 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2417 eieio--scoped-class any more.
2419 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2420 (eieio--scoped-class): Remove function.
2421 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2422 (eieio--slot-name-index): Don't check the :protection anymore.
2423 (eieio-initializing-object): Remove var.
2424 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2426 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2428 Improve handling of doc-strings and describe-function for cl-generic.
2430 * help-mode.el (help-function-def): Add optional arg `type'.
2432 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2434 (help-fns-short-filename): New function.
2435 (describe-function-1): Use it. Use autoload-do-load.
2437 * emacs-lisp/find-func.el: Use lexical-binding.
2438 (find-function-regexp): Don't rule out `defgeneric'.
2439 (find-function-regexp-alist): Document new possibility of including
2440 a function instead of a regexp.
2441 (find-function-search-for-symbol): Implement that new possibility.
2442 (find-function-library): Don't assume that `function' is a symbol.
2443 (find-function-do-it): Remove unused var `orig-buf'.
2445 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2446 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2447 (eieio--method-optimize-primary): Don't mess with the docstring.
2448 (defgeneric): Keep the `args' in the docstring.
2449 (defmethod): Don't use the method's docstring for the generic
2450 function's docstring.
2452 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2453 (eieio-defclass-autoload): Don't record the superclasses any more.
2454 (eieio-defclass-internal): Reuse the old class object if it was just an
2456 (eieio--class-precedence-list): Load the class if it's autoloaded.
2458 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2459 override an autoload.
2460 (cl-generic-current-method-specializers): Replace dyn-bind variable
2461 with a lexically-scoped macro.
2462 (cl--generic-lambda): Update accordingly.
2463 (cl-generic-define-method): Record manually in the load-history with
2464 type `cl-defmethod'.
2465 (cl--generic-get-dispatcher): Minor optimization.
2466 (cl--generic-search-method): New function.
2467 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2468 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2469 specializers and the function's arguments.
2471 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2473 * emacs-lisp/package.el (package--read-pkg-desc):
2474 New function. Read a `define-package' form in current buffer.
2475 Return the pkg-desc, with desc-kind set to KIND.
2476 (package-dir-info): New function. Find package information for a
2477 directory. The return result is a `package-desc'.
2478 (package-install-from-buffer): Install packages from dired buffer.
2479 (package-install-file): Install packages from directory.
2480 (package-desc-suffix)
2481 (package-install-from-archive)
2482 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2483 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2486 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2488 * emacs-lisp/package.el: Provide repository priorities.
2489 (package-archive-priorities): New variable.
2490 (package--add-to-alist): New function.
2491 (package--add-to-archive-contents): Use it.
2492 (package-menu--find-upgrades): Use it as well. Small clean up to
2493 make the use of the package name here explicit.
2494 (package-archive-priority): New function.
2495 (package-desc-priority-version): New function.
2497 2015-01-16 Daniel Colascione <dancol@dancol.org>
2499 * cus-start.el (all): Make `ring-bell-function' customizable.
2501 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2503 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2504 vc-svn-after-dir-status's second argument. (Bug#19429)
2506 2015-01-16 Samer Masterson <samer@samertm.com>
2508 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2509 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2511 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2513 * dom.el (dom-strings): New function.
2515 * files.el (directory-files-recursively): Don't use the word
2516 "path" for a file name.
2518 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2520 * calc/calc-units.el (math-units-in-expr-p)
2521 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2522 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2524 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2527 (cl--labels-convert): Use it to ask the macro what is its replacement
2530 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2531 Return the value of the primary rather than the after method.
2533 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2534 (eieio--generic-tagcode): New function.
2535 (cl-generic-tagcode-function): Use it.
2536 (eieio--generic-tag-types): New function.
2537 (cl-generic-tag-types-function): Use it.
2538 (eieio-object-p): Tighten up the test.
2540 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2542 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * emacs-lisp/cl-generic.el: New file.
2546 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2547 (cl-load-time-value, cl-labels): Use closures rather than
2549 (cl-macrolet): Use `eval' to create the function value, and support CL
2550 style arguments in for the defined macros.
2552 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * net/eww.el: Use lexical-binding.
2555 (eww-links-at-point): Remove unused arg.
2556 (eww-mode-map): Inherit from special-mode-map.
2557 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2559 2015-01-13 Alan Mackenzie <acm@muc.de>
2561 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2562 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2563 New function which walks the stack to discover whether we're compiling
2565 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2566 (cc-bytecomp-is-loading): New defsubst.
2567 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2568 Use the above defsubsts.
2569 (cc-require-when-compile, cc-bytecomp-defvar)
2570 (cc-bytecomp-defun): Simplify conditionals.
2571 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2572 "Borrow" this function from cc-bytecomp.el.
2573 (c-get-current-file): Reformulate using the above.
2574 (c-lang-defconst): Prevent duplicate entries of file names in a
2575 symbol's 'source property.
2576 (c-lang-const): Use cc-bytecomp-is-compiling.
2577 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2578 Use cc-bytecomp-is-compiling.
2580 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2585 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2587 * menu-bar.el (menu-bar-goto-menu): Before calling
2588 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2591 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2593 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2596 * frame.el (frame-notice-user-settings): Remove code dealing with
2597 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2598 only if `window-system-frame-alist' or `default-frame-alist' ask
2600 (make-frame): Update frame-adjust-size-history if needed.
2602 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2604 Have 'make' output better GEN names
2605 * Makefile.in (PHONY_EXTRAS): New macro.
2606 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2607 relevant files' time stamps are ignored.
2608 (custom-deps, $(lisp)/cus-load.el, finder-data)
2609 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2610 (custom-deps, $(lisp)/cus-load.el, finder-data)
2611 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2612 ($(lisp)/subdirs.el, update-subdirs):
2613 Output more-accurate destination names with GEN.
2615 Say "ELC foo.elc" instead of "GEN foo.elc"
2616 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2618 ($(THEFILE)c, .el.elc): Use them.
2620 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2622 * files.el (directory-files-recursively): Do not include
2623 superfluous remote file names.
2625 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2627 * net/eww.el (eww): Interpret anything that looks like a protocol
2628 designator as a full URL.
2630 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2632 * net/shr.el (shr-urlify): Don't bother the user about
2633 invalidly-encoded display strings.
2635 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2637 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2640 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642 * net/eww.el (eww): Always interpret URLs that start with https?:
2643 as plain URLs, even if they have spaces in them (bug#19556).
2644 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2645 software" as an URL.
2646 (eww): Don't interpret "org/foo" as an URL.
2647 (eww): Clear the title when loading so that we don't display
2648 misleading information.
2650 2015-01-10 Daniel Colascione <dancol@dancol.org>
2652 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2653 by analogy with dired.
2655 2015-01-09 Daniel Colascione <dancol@dancol.org>
2657 * progmodes/js.el (js--function-heading-1-re)
2658 (js--function-prologue-beginning): Parse ES6 generator function
2659 declarations. (That is, "function* name()").
2661 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2664 that creates functions, and most of the sanity checks.
2665 Mark as obsolete the <class>-child-p function.
2666 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2667 (eieio--class, eieio--object): Use cl-defstruct.
2668 (eieio--object-num-slots): Define manually.
2669 (eieio-defclass-autoload): Use eieio--class-make.
2670 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2671 `(lambda...) definitions and most of the sanity checks to `defclass'.
2672 Mark as obsolete the <class>-list-p function, the <class> variable and
2673 the <initarg> variables. Use pcase-dolist.
2674 (eieio-defclass): New compatibility function.
2675 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2676 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2678 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2680 * emacs-lisp/eieio-generic.el: New file.
2681 * emacs-lisp/eieio-core.el: Move all generic function code to
2683 (eieio--defmethod): Declare.
2685 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2686 function code to eieio-generic.el.
2687 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2689 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2690 to eieio--generic-call.
2691 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2694 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2697 Don't use <class> as a variable.
2699 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2700 (call-next-method): Simplify.
2701 (clone): Obey eieio-backward-compatibility.
2703 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2704 (eieio-read-generic): Use `generic-p' instead.
2706 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2707 (eieio-defclass-autoload): Obey it.
2708 (eieio--class-object): Improve error behavior.
2709 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2711 (eieio--defgeneric-form-primary-only): Rename from
2712 eieio-defgeneric-form-primary-only; update all callers.
2713 (eieio--defgeneric-form-primary-only-one): Rename from
2714 eieio-defgeneric-form-primary-only-one; update all callers.
2715 (eieio-defgeneric-reset-generic-form)
2716 (eieio-defgeneric-reset-generic-form-primary-only)
2717 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2718 (eieio--method-optimize-primary): New function to replace them.
2719 (eieio--defmethod, eieio-defmethod): Use it.
2720 (eieio--perform-slot-validation): Rename from
2721 eieio-perform-slot-validation; update all callers.
2722 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2723 Change `class' to be a class object. Update all callers.
2724 (eieio--validate-class-slot-value): Rename from
2725 eieio-validate-class-slot-value. Change `class' to be a class object.
2727 (eieio-oset-default): Accept class object as well.
2728 (eieio--generic-call-primary-only): Rename from
2729 eieio-generic-call-primary-only. Update all callers.
2731 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2732 Improve error messages.
2733 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2734 well as user-defined types. Emit errors for legacy types like
2735 <class>-child and <class>-list, if not eieio-backward-compatibility.
2737 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2739 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2740 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2741 Change `class' arg to be a class object. Update all callers.
2742 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2743 (eieio-default-superclass): Set var to the class object.
2744 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2745 Change print behavior to affect class objects rather than
2748 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2749 (eieio-class-parents-fast): Remove macro.
2750 (eieio--class-option-assoc): Rename from class-option-assoc.
2752 (eieio--class-option): Rename from class-option. Change `class' arg to
2753 be a class object. Update all callers.
2754 (eieio--class-method-invocation-order): Rename from
2755 class-method-invocation-order. Change `class' arg to be a class
2756 object. Update all callers.
2757 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2758 a list of class objects rather than names.
2759 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2760 for accessors to class allocated slots.
2761 (eieio--perform-slot-validation-for-default): Rename from
2762 eieio-perform-slot-validation-for-default. Update all callers.
2763 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2764 Update all callers. Use push.
2765 (eieio-copy-parents-into-subclass): Adjust to new content of
2766 `parent' field. Use dolist.
2767 (eieio-oref): Remove support for providing a class rather than
2769 (eieio-oref-default): Prefer class objects over class names.
2770 (eieio--slot-originating-class-p): Rename from
2771 eieio-slot-originating-class-p. Update all callers. Use `or'.
2772 (eieio--slot-name-index): Turn check into assertion.
2773 (eieio--class-slot-name-index): Rename from
2774 eieio-class-slot-name-index. Change `class' arg to be a class object.
2776 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2777 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2779 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2781 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2783 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2785 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2786 Update all callers. Adjust to new `parent' content.
2787 (eieio--class-precedence-list): Rename from -class-precedence-list.
2789 (eieio-generic-call): Use autoloadp and autoload-do-load.
2790 Slight simplification.
2791 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2792 return value of `eieio-generic-form'.
2793 (eieiomt-add): Index the hashtable with class objects rather than
2795 (eieio-generic-form): Accept class objects as well.
2797 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2798 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2799 (eieio-persistent-validate/fix-slot-value):
2800 Change `class' arg to be a class object. Update all callers.
2802 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2804 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2805 additionally to class names.
2807 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2808 (object): Remove first (constant) slot; rename second to `class-tag'.
2809 (eieio--object-class-object, eieio--object-class-name): New funs
2810 to replace eieio--object-class.
2811 (eieio--class-object, eieio--class-p): New functions.
2812 (same-class-fast-p): Make it a defsubst, change its implementation
2813 to check the class objects rather than their names.
2814 (eieio-object-p): Rewrite.
2815 (eieio-defclass): Adjust the object initialization according to the new
2817 (eieio--scoped-class): Declare it returns a class object (not a class
2818 name any more). Adjust calls accordingly (along with calls to
2819 eieio--with-scoped-class).
2820 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2821 its class arg to be a class object. Adjust callers accordingly.
2822 (eieio-slot-originating-class-p): Make its start-class arg a class
2823 object. Adjust all callers.
2824 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2825 Make its `class' arg a class object. Adjust all callers.
2827 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2828 Use eieio--slot-name-index rather than eieio-slot-name-index.
2830 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2834 (eieio-object-name): Use eieio-object-name-string.
2835 (eieio--object-names): New const.
2836 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2837 using a hashtable rather than a built-in slot.
2838 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2839 (clone): Don't mess with the object's "name".
2841 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2842 (eieio-object-value-get): Use eieio-object-set-name-string.
2844 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2845 (eieio--object): Remove `name' field.
2846 (eieio-defclass): Adjust to new convention where constructors don't
2847 take an "object name" any more.
2848 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2849 (eieio-validate-slot-value, eieio-oset-default)
2850 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2851 (eieio-generic-call-primary-only): Simplify.
2853 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2854 Use call-next-method.
2855 (eieio-constructor): Rename from `constructor'.
2856 (eieio-persistent-convert-list-to-object): Drop objname.
2857 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2858 eieio--object-num-slots.
2859 (eieio-named): Use a normal slot.
2860 (slot-missing) <eieio-named>: Remove.
2861 (eieio-object-name-string, eieio-object-set-name-string, clone)
2862 <eieio-named>: New methods.
2864 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2867 (method-*): Add a "eieio--" prefix to those constants.
2869 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2871 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2873 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2876 `eieio-default-superclass'.
2878 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2880 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2881 (eieio-object-value-to-abstract): Simplify.
2883 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2884 (eieio-build-class-alist): Use dolist.
2885 (eieio-all-generic-functions): Adjust to use of hashtables.
2887 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2888 symbol-hashtable. It contains a hashtable instead of an obarray.
2889 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2890 `eieio-method-obarray'.
2891 (generic-primary-only-p, generic-primary-only-one-p):
2892 Slight optimization.
2893 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2894 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2895 (eieio-class-un-autoload): Use autoload-do-load.
2896 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2897 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2898 Don't hardcode the value of eieio--object-num-slots.
2899 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2900 Use a closure rather than a backquoted lambda.
2901 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2902 function-documentation property.
2903 (eieio-slot-originating-class-p, eieio-slot-name-index)
2904 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2905 (eieio-generic-form): Adjust to use of hashtables.
2906 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2907 additional class argument.
2908 (eieio-generic-call-methodname): Remove, unused.
2910 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2913 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2915 * simple.el (line-move-visual): When converting X pixel coordinate
2916 to temporary-goal-column, adjust the value for right-to-left
2917 screen lines. This fixes vertical-motion, next/prev-line, etc.
2919 2015-01-08 Glenn Morris <rgm@gnu.org>
2921 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2923 2015-01-07 K. Handa <handa@gnu.org>
2925 * international/ccl.el (define-ccl-program): Improve the docstring.
2927 2015-01-06 Sam Steingold <sds@gnu.org>
2929 * shell.el (shell-display-buffer-actions): Remove,
2930 use `display-buffer-alist' instead.
2932 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2934 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2937 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * minibuffer.el (completion-category-defaults): New var.
2940 Set unicode-name to use substring completion.
2941 (completion-category-defaults): Set it to nil.
2943 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2945 Add mouse interaction to xref.
2946 * progmodes/xref.el (xref--button-map): New variable.
2947 (xref--mouse-2): New command.
2948 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2949 the inserted references.
2951 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2953 Less 'make' chatter for lisp dir
2954 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2955 to make it clearer that the caller must specify it.
2956 (compile-onefile): Remove, replacing by ...
2957 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2958 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2959 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2960 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2961 Use AM_V_GEN to lessen 'make' chatter.
2962 (.el.elc): Omit duplicate comment.
2964 Less 'make' chatter in batch mode
2965 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2966 * emacs-lisp/bytecomp.el (byte-compile-file):
2967 * files.el (save-buffer, basic-save-buffer):
2968 * international/quail.el (quail-update-leim-list-file):
2969 Don't output messages like "Generating ..." in batch mode.
2971 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2973 Unbreak `mouse-action' property in text buttons.
2974 * button.el (push-button): Fix regression from 2012-12-06.
2976 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2978 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2980 * menu-bar.el (menu-bar-goto-menu): Use it.
2982 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2984 * progmodes/xref.el (xref--window-configuration): New variable.
2985 (xref-show-location-at-point): New command.
2986 (xref--restore-window-configuration): New function.
2987 (xref-next-line, xref-prev-line): Delegate to
2988 `xref-show-location-at-point'.
2989 (xref--location-at-point): Don't signal the error.
2990 (xref-goto-xref): Do that here instead.
2991 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2992 to `pre-command-hook'.
2993 (xref--xref-buffer-mode-map): Don't remap `next-line' and
2994 `previous-line'. Additionally bind `xref-next-line' and
2995 `xref-prev-line' to `n' and `p' respectively.
2996 Bind `xref-show-location-at-point' to `C-o'.
2998 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3000 * tool-bar.el (tool-bar-local-item)
3001 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3002 make sure the tool-bar changes show on display.
3004 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3006 Sync with Tramp 2.2.11.
3008 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3009 Make an alias for `default-toplevel-value' if it doesn't exist.
3011 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3012 Use `tramp-compat-delete-directory'.
3014 * net/trampver.el: Update release number.
3016 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3018 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3019 for remote files. (Bug#19449)
3021 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3023 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3025 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3027 Less 'make' chatter in lisp directory
3028 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3029 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3030 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3032 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3034 * info.el (info-display-manual): Limit the completion alternatives
3035 to currently visited manuals if prefix argument is non-nil.
3037 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3039 * Makefile.in (semantic): Simplify.
3041 2014-12-30 Juri Linkov <juri@linkov.net>
3043 * net/eww.el (eww-isearch-next-buffer): New function.
3044 (eww-mode): Set multi-isearch-next-buffer-function to it.
3046 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3048 * progmodes/xref.el (xref-find-definitions): Mention "no
3049 identifier at point" case in the docstring.
3051 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3052 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3053 and `separator-tag-file' items.
3055 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3057 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3058 This is instead of system-name, which is both wrong here and obsolete.
3059 * desktop.el (desktop-save-frameset):
3060 * dnd.el (dnd-get-local-file-uri):
3061 * nxml/rng-uri.el (rng-uri-file-name-1):
3062 Prefer (system-name) to system-name, and avoid naming
3063 locals 'system-name'.
3064 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3066 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3068 * menu-bar.el (menu-bar-next-tag-other-window)
3069 (menu-bar-next-tag): Remove.
3071 2014-12-29 K. Handa <handa@gnu.org>
3073 * international/mule.el (make-translation-table-from-alist):
3074 Accept nil or zero-length vector for FROM and TO.
3076 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3078 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3079 display when resizing.
3081 * net/shr.el (shr-width): Default to using the window width when
3084 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3086 Unbreak jumping to an alias's definition.
3087 * emacs-lisp/find-func.el (find-function-library): Return a pair
3088 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3089 (find-function-noselect): Use it.
3090 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3091 `elisp--xref-identifier-location', incorporate logic from
3092 `elisp--xref-find-definitions', use the changed
3093 `find-function-library' return value.
3095 2014-12-29 Juri Linkov <juri@linkov.net>
3097 * comint.el (comint-history-isearch-message): Use field-beginning
3098 instead of comint-line-beginning-position - that's more fixes for
3099 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3100 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3102 2014-12-29 Juri Linkov <juri@linkov.net>
3104 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3105 (vc-dir-mode-map): Bind it to "\C-o".
3106 (vc-dir-menu-map): Add it to menu.
3108 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3110 * progmodes/etags.el (find-tag-other-window)
3111 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3112 (tags-apropos): Declare obsolete.
3114 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3117 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3119 * international/mule.el (define-coding-system): Fix typos in the
3122 2014-12-28 Kenichi Handa <handa@gnu.org>
3124 * international/mule.el (define-coding-system): Improve the doc
3127 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3129 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3130 elements in tables (bug#19444).
3132 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3135 2014-12-28 Juri Linkov <juri@linkov.net>
3137 * vc/compare-w.el: Require diff-mode for diff faces.
3138 (compare-windows-removed, compare-windows-added): New faces
3139 inheriting from diff faces.
3140 (compare-windows): Define obsolete face alias.
3141 (compare-windows-highlight): Replace face `compare-windows' with
3142 new faces `compare-windows-added' and `compare-windows-removed'
3144 (compare-windows-get-recent-window): Signal an error when
3145 no other window is found (bug#19170).
3147 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3149 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3150 Skip features that have no sources.
3152 * simple.el (execute-extended-command):
3153 When `suggest-key-bindings' is nil, don't.
3155 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3157 python.el: Native readline completion.
3158 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3159 (python-shell-completion-native-enable)
3160 (python-shell-completion-native-output-timeout): New defcustoms.
3161 (python-shell-completion-native-interpreter-disabled-p)
3162 (python-shell-completion-native-try)
3163 (python-shell-completion-native-setup)
3164 (python-shell-completion-native-turn-off)
3165 (python-shell-completion-native-turn-on)
3166 (python-shell-completion-native-turn-on-maybe)
3167 (python-shell-completion-native-turn-on-maybe-with-msg)
3168 (python-shell-completion-native-toggle): New functions.
3169 (python-shell-completion-native-get-completions): New function.
3170 (python-shell-completion-at-point): Use it.
3172 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3174 python.el: Enhance shell user interaction and deprecate
3175 python-shell-get-or-create-process.
3176 * progmodes/python.el (python-shell-get-process-or-error):
3178 (python-shell-with-shell-buffer): Use it.
3179 (python-shell-send-string, python-shell-send-region)
3180 (python-shell-send-buffer, python-shell-send-defun)
3181 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3182 Add argument MSG to display user-friendly message when no process
3184 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3185 (python-shell-make-comint): Rename argument SHOW from POP.
3186 Use display-buffer instead of pop-to-buffer.
3187 (run-python): Doc fix. Return process.
3188 (python-shell-get-or-create-process): Make obsolete.
3190 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3192 * progmodes/python.el (python-shell-buffer-substring):
3193 Handle cornercase when region sent starts at point-min.
3195 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3197 * language/misc-lang.el (composition-function-table): Add Syriac
3198 characters and also ZWJ/ZWNJ.
3199 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3202 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3204 python.el: Fix message when sending region.
3205 * progmodes/python.el (python-shell-send-region): Rename argument
3206 send-main from nomain. Fix message.
3207 (python-shell-send-buffer): Rename argument send-main from arg.
3209 python.el: Cleanup temp files even with eval errors.
3210 * progmodes/python.el (python-shell-send-file): Make file-name
3211 mandatory. Fix temp file removal in the majority of cases.
3213 python.el: Handle file encoding for shell.
3214 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3215 (python-shell--save-temp-file): Write file with proper encoding.
3216 (python-shell-buffer-substring): Add coding cookie for detected
3217 encoding to generated content. Fix blank lines when removing
3219 (python-shell-send-file): Handle file encoding.
3220 (python-info-encoding-from-cookie)
3221 (python-info-encoding): New functions.
3223 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3226 Use `tramp-rsh-end-of-line', it ought to be more robust.
3228 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3230 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3233 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3235 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3238 as end-of-line delimeter for passwords, when running on MS Windows.
3240 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3243 of indent-line-function (bug#19433).
3245 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3247 Fix line numbers on Python shell.
3248 * progmodes/python.el (python-shell--save-temp-file): Do not
3249 append coding cookie.
3250 (python-shell-send-string): Generalize for
3251 python-shell-send-region.
3252 (python--use-fake-loc): Delete var.
3253 (python-shell-buffer-substring): Cleanup fake-loc logic.
3254 (python-shell-send-region): Remove fake-loc logic, simplify.
3256 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3258 * progmodes/python.el (python-indent-post-self-insert-function):
3259 Make colon to re-indent only for dedenters, handling
3260 multiline-statements gracefully.
3262 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3264 * net/tramp.el (tramp-handle-insert-file-contents):
3265 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3267 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3269 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3271 (tramp-get-remote-path): Use it.
3273 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3275 * subr.el (redisplay-dont-pause): Mark as obsolete.
3277 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3279 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3280 (tramp-accept-process-output): Use nil as argument for
3281 `accept-process-output', when there is a gateway prepended.
3283 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3285 (tramp-gw-open-connection): Set process coding system 'binary.
3286 (tramp-gw-open-network-stream): Handle HTTP error 403.
3288 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3290 (tramp-maybe-open-connection): Set connection property "gateway".
3292 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * subr.el (sit-for): Tweak docstring (bug#19381).
3296 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3298 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3299 stage to after `diff-index' (bug#19386).
3301 2014-12-27 João Távora <joaotavora@gmail.com>
3303 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3304 `electric-pair-mode' (bug#19356).
3306 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3308 elisp-xref-find: Don't create buffers eagerly.
3310 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3311 into `elisp--company-location'.
3312 (elisp--identifier-completion-table): Rename to
3313 `elisp--identifier-completion-table', and do not include just any
3314 symbols with a property list.
3315 (elisp-completion-at-point): Revert the 2014-12-25 change.
3316 (elisp--xref-identifier-file): New function.
3317 (elisp--xref-find-definitions): Use it.
3319 * emacs-lisp/find-func.el (find-function-library): New function,
3320 extracted from `find-function-noselect'.
3322 * progmodes/xref.el (xref-elisp-location): New class.
3323 (xref-make-elisp-location): New function.
3324 (xref-location-marker): New implementation.
3326 2014-12-27 Juri Linkov <juri@linkov.net>
3328 * minibuffer.el (minibuffer-completion-help):
3329 Use shrink-window-if-larger-than-buffer in window-height
3330 when temp-buffer-resize-mode is nil.
3332 * window.el (with-displayed-buffer-window): Remove window-height
3333 from the action alist in the temp-buffer-window-show call
3334 when window-height is handled explicitly afterwards (bug#19355).
3336 2014-12-27 Juri Linkov <juri@linkov.net>
3338 Support subdirectories when saving places in dired.
3339 * saveplace.el (toggle-save-place, save-place-to-alist)
3340 (save-places-to-alist, save-place-dired-hook):
3341 Use dired-current-directory instead of dired-directory (bug#19436).
3342 (save-place-dired-hook): Add check for alist to make the new
3343 format future-proof to allow other possible formats.
3345 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3347 python.el: Generate clearer shell buffer names.
3348 * progmodes/python.el (python-shell-get-process-name)
3349 (python-shell-internal-get-process-name): Use `buffer-name`.
3350 (python-shell-internal-get-or-create-process): Simplify.
3352 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3354 Add basic xref apropos implementation to elisp-mode.
3356 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3357 Filter out nil results.
3358 (elisp--xref-find-apropos): New function.
3359 (elisp-xref-find): Use it.
3361 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3363 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3365 * dired-aux.el (dired-maybe-insert-subdir):
3366 Make dired-maybe-insert-subdir always skip trivial files.
3368 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3369 Dmitry Gutov <dgutov@yandex.ru>
3371 Consolidate cross-referencing commands.
3373 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3374 `C-x 5 .' from etags.el to xref.el.
3376 * progmodes/xref.el: New file.
3378 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3379 (elisp--identifier-location): New function, extracted from
3380 `elisp--company-location'.
3381 (elisp--company-location): Use it.
3382 (elisp--identifier-completion-table): New variable.
3383 (elisp-completion-at-point): Use it.
3384 (emacs-lisp-mode): Set the local values of `xref-find-function'
3385 and `xref-identifier-completion-table-function'.
3386 (elisp-xref-find, elisp--xref-find-definitions)
3387 (elisp--xref-identifier-completion-table): New functions.
3389 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3390 favor of `xref--marker-ring'.
3391 (tags-lazy-completion-table): Autoload.
3392 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3393 (find-tag-noselect): Use `xref-push-marker-stack'.
3394 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3395 (etags--xref-limit): New constant.
3396 (etags-xref-find, etags--xref-find-definitions): New functions.
3398 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3400 * cus-start.el (resize-mini-windows): Make it customizable.
3402 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3404 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3405 to (info "(emacs)Contributing"). (Bug#19299)
3407 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3409 * window.el (mouse-autoselect-window-position-1): New variable.
3410 (mouse-autoselect-window-cancel)
3411 (mouse-autoselect-window-select, handle-select-window):
3412 With delayed autoselection select window only if mouse moves after
3413 selecting its frame.
3415 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3417 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3418 remote file names. (Bug#18782)
3420 2014-12-23 Sam Steingold <sds@gnu.org>
3422 * shell.el (shell-display-buffer-actions): New user option.
3423 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3424 `pop-to-buffer-same-window'.
3426 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3429 (js-syntax-propertize-regexp): Use it to recognize "slash in
3430 a character class" (bug#19397).
3432 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3434 * completion.el: Use post-self-insert-hook (bug#19400).
3435 (completion-separator-self-insert-command)
3436 (completion-separator-self-insert-autofilling): Remove.
3437 (completion-separator-chars): New var.
3438 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3439 of changing the keymap.
3440 (completion--post-self-insert): New function.
3441 (dynamic-completion-mode): Use it instead of rebinding keys.
3442 (cmpl--completion-string): Rename from completion-string.
3443 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3445 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3447 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3448 by leveraging `syntax-ppss'.
3450 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3452 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3454 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3456 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3458 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3460 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3462 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3464 * let-alist.el (let-alist): Enable access to deeper alists by
3465 using dots inside the dotted symbols.
3467 2014-12-19 Alan Mackenzie <acm@muc.de>
3469 Make C++11 uniform init syntax work.
3470 New keywords "final" and "override".
3471 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3473 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3475 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3476 carefully for "are we at a declarator?" using
3477 c-back-over-member-initializers.
3478 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3479 and "override" in the C++ value.
3481 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3483 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3485 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3487 * net/nsm.el (nsm-save-host): Don't save the host name twice
3490 2014-12-18 Sam Steingold <sds@gnu.org>
3492 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3493 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3494 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3495 * menu-bar.el (menu-bar-buffer-vector): Extract from
3496 `menu-bar-update-buffers'.
3497 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3498 (buffer-menu-open): New user command, bound globally to C-f10,
3499 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3500 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3501 convert the value returned by `mouse-buffer-menu-map' to a list
3502 acceptable to `popup-menu' for `buffer-menu-open'.
3504 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3506 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3508 2014-12-18 Sam Steingold <sds@gnu.org>
3510 * emacs-lisp/package.el: Avoid compilation warning by declaring
3511 the `find-library-name' function.
3512 (package-activate-1): Fix the `with-demoted-errors' calls:
3513 the first argument must be a string literal.
3515 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3517 Add code for "preserving" window sizes.
3518 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3520 (dired-mark-pop-up): Preserve size of window showing marked files.
3521 * electric.el (Electric-pop-up-window):
3522 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3523 with `preserve-size' t.
3524 * minibuffer.el (minibuffer-completion-help):
3525 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3526 (Bug#19355). Preserve size of completions window.
3527 * register.el (register-preview): Preserve size of register
3529 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3530 with `preserve-size' t (Bug#1291).
3531 * window.el (with-displayed-buffer-window): Add calls to
3532 `window-preserve-size'.
3533 (window-min-pixel-size, window--preservable-size)
3534 (window-preserve-size, window-preserved-size)
3535 (window--preserve-size, window--min-size-ignore-p): New functions.
3536 (window-min-size, window-min-delta, window--resizable)
3537 (window--resize-this-window, split-window-below)
3538 (split-window-right): Amend doc-string.
3539 (window--min-size-1, window-sizable, window--size-fixed-1)
3540 (window-size-fixed-p, window--min-delta-1)
3541 (frame-windows-min-size, window--max-delta-1, window-resize)
3542 (window--resize-child-windows, window--resize-siblings)
3543 (enlarge-window, shrink-window, split-window): Handle preserving
3545 (adjust-window-trailing-edge): Handle preserving window
3546 sizes. Signal user-error instead of an error when there's no
3547 window above or below.
3548 (window--state-put-2): Handle horizontal scroll bars.
3549 (window--display-buffer): Call `preserve-size' if asked for.
3550 (display-buffer): Mention `preserve-size' alist member in doc-string.
3551 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3552 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3553 scroll bar on ispell's windows. Don't count window lines and
3554 don't deal with dedicated windows.
3555 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3556 do the window handling.
3557 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3558 (ispell-display-buffer): New function to reuse, create and fit
3559 window to ispell's buffers. (Bug#3413)
3561 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3563 * emacs-lisp/package.el (package-activate): Do not re-activate or
3564 reload the dependencies (bug#19390).
3566 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3568 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3569 (c-update-modeline):
3570 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3571 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3572 (c-mode-base-map): Use c-subword-mode.
3574 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3576 * international/mule-diag.el (describe-font-internal):
3577 Display additional info returned by font-info.
3579 * linum.el (linum--face-width): Rename from linum--face-height,
3580 and use the new functionality of font-info.
3581 (linum-update-window): Use linum--face-width and frame-char-width,
3582 instead of approximating with height.
3584 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3586 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3587 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3589 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3591 (package-activate): Call itself on dependencies on PACKAGE with
3592 the same FORCE argument. Pass FORCE as RELOAD into
3593 `package-activate-1' (bug#19390).
3595 2014-12-17 Sam Steingold <sds@gnu.org>
3597 * emacs-lisp/package.el (package--list-loaded-files):
3598 Handle `(nil ...)' elements in `load-history'.
3600 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3602 * net/tramp-sh.el (tramp-histfile-override): New variable.
3603 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3605 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3607 * vc/vc.el: Improve `dir-status-files' description.
3609 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3610 file-truename on load-history elements (bug#19390).
3612 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3614 * emacs-lisp/seq.el: New file.
3616 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3618 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3619 is 0 and there is no input pending.
3621 2014-12-15 Juri Linkov <juri@linkov.net>
3623 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3624 only on the return value (bug#19383).
3626 2014-12-15 Juri Linkov <juri@linkov.net>
3628 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3629 the wrapped search by the length of the search string to be able
3630 to lazy-highlight the whole search string at point (bug#19353).
3632 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3634 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3636 2014-12-14 Alan Mackenzie <acm@muc.de>
3638 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3640 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3642 * let-alist.el: Add lexical binding.
3644 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3646 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3647 for the "Version" column, to accomodate date-and-time-based versions.
3649 2014-12-14 Cameron Desautels <camdez@gmail.com>
3651 * cus-edit.el (custom-unsaved-options): New function, extracted
3652 from `customize-unsaved'.
3653 (custom-unsaved): Use it.
3654 (custom-prompt-customize-unsaved-options): New function.
3657 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3659 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3661 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3663 Move ASYNC argument to the `diff' VC command to the fifth
3664 position, for better compatibility with existing third-party code,
3667 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3668 backend `diff' command in the last position.
3670 * vc/vc-svn.el (vc-svn-diff):
3671 * vc/vc-src.el (vc-src-diff):
3672 * vc/vc-sccs.el (vc-sccs-diff):
3673 * vc/vc-rcs.el (vc-rcs-diff):
3674 * vc/vc-mtn.el (vc-mtn-diff):
3675 * vc/vc-hg.el (vc-hg-diff):
3676 * vc/vc-git.el (vc-git-diff):
3677 * vc/vc-dav.el (vc-dav-diff):
3678 * vc/vc-cvs.el (vc-cvs-diff):
3679 * vc/vc-bzr.el (vc-bzr-diff):
3680 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3682 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3684 * emacs-lisp/cconv.el (cconv--analyze-use):
3685 Rename from cconv--analyse-use.
3686 (cconv--analyze-function): Rename from cconv--analyse-function.
3687 (cconv-analyze-form): Rename from cconv-analyse-form.
3689 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3691 * net/shr.el (shr-next-link): Don't error out at eob.
3693 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3695 * isearch.el (isearch-open-necessary-overlays): Open overlay
3696 ending at point (bug#19333).
3698 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3700 * net/shr.el (shr-fold-text): New function.
3701 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3703 (shr-fold-text): Inhibit state from being altered.
3705 * files.el (directory-files-recursively): Really check whether
3707 (directory-name-p): New function.
3708 (directory-files-recursively): Use it.
3710 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3712 * emacs-lisp/package.el (package--list-loaded-files): New function
3713 to list files in a given directory which correspond to already
3715 (package-activate-1): Reload files given by `package--list-loaded-files'.
3716 Fix bug#10125, bug#18443, and bug#18448.
3718 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3720 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3722 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3724 * simple.el (password-word-equivalents): Add "passcode", used for
3725 numeric secrets like PINs or RSA tokens.
3727 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3729 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3730 order to determine `tramp-own-remote-path'.
3732 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3734 * progmodes/python.el (python-shell-parse-command):
3735 Quote `python-shell-interpreter`. (Bug#19289)
3737 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3739 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3740 (python-indent-levels): Document extra value.
3741 (python-indent-calculate-indentation): Return `noindent' in strings.
3742 (python-indent-post-self-insert-function)
3743 (python-indent-calculate-levels): Handle new value.
3745 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3747 * net/network-stream.el (network-stream-open-starttls): No need to
3748 check for the availability of `gnutls-available-p'.
3750 * files.el (directory-files-recursively): Don't follow symlinks to
3753 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3755 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3756 * vc/vc.el: latest-on-branch-p is no longer a public method.
3758 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3759 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3760 Remove `rollback' method, to be replaced in the future by uncommit.
3762 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3764 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3765 that there is empty output.
3767 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3770 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3772 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3774 * let-alist.el: Add new package and macro.
3776 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3778 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3779 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3780 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3782 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3784 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3785 trouble with ls over ftp. These flags result in ls returning no
3786 output, causing Tramp-breakage. (bug#19192)
3788 2014-12-10 Andreas Schwab <schwab@suse.de>
3790 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3792 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3794 * files.el (directory-files-recursively):
3795 Use `file-name-all-completions' instead of `directory-files' for
3798 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3801 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3803 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3805 (ruby-toggle-string-quotes): New command that allows you to quickly
3806 toggle between single-quoted and double-quoted string literals.
3808 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3810 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3811 list, avoids problems witt names containing hyphens.
3813 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3815 Sync with upstream verilog-mode revision aa4b777.
3816 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3817 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3818 (verilog-set-auto-endcomments): Automatically comment property/
3819 endproperty blocks to match other similar blocks like sequence/
3820 endsequence, function/endfunction, etc. Reported by Alex Reed.
3821 (verilog-set-auto-endcomments): Fix end comments for functions of
3822 type void, etc. Detect the function- or task-name when
3823 auto-commenting blocks that lack an explicit portlist.
3824 Reported by Alex Reed.
3825 (verilog-nameable-item-re): Fix nameable items that can have an
3826 end-identifier to include endchecker, endgroup, endprogram,
3827 endproperty, and endsequence. Reported by Alex Reed.
3828 (verilog-preprocessor-re, verilog-beg-of-statement):
3829 Fix indentation of property/endproperty around pre-processor
3830 directives. Reported by Alex Reed.
3831 (verilog-label-be): When auto-commenting a buffer, consider
3832 auto-comments on all known keywords (not just a subset thereof).
3833 Reported by Alex Reed.
3834 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3835 Reported by Alex Reed.
3836 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3837 Fix hanging with many curly-bracket pairs, bug663.
3838 (verilog-do-indent): Fix electric tab deleting form-feeds.
3839 Note caused by indent-line-to deleting tabls pre 24.5.
3840 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3841 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3842 (verilog-read-always-signals, verilog-auto-sense-sigs)
3843 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3844 bug844. Reported by Greg Hilton.
3846 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3848 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3849 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3850 'foreach', and 'do' keywords.
3851 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3852 Fix labeling do-while blocks, bug842.
3853 (verilog-backward-token): Fix indenting sensitivity lists with
3854 named events, bug840.
3856 2014-12-09 Reto Zimmermann <reto@gnu.org>
3858 Sync with upstream vhdl mode v3.36.1.
3859 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3860 (vhdl-compiler-alist): Anchor all error regexps.
3861 (vhdl-compile-use-local-error-regexp): Change default to nil.
3862 (vhdl-asort, vhdl-anot-head-p): Remove.
3863 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3864 Remove optional argument of vhdl-aget and update all callers.
3865 (vhdl-import-project): Also set `vhdl-compiler'.
3867 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3869 * files.el (find-files): New function.
3871 * net/shr.el (shr-dom-print): Don't print comments.
3872 (shr-tag-svg): Give inline SVG images the right type.
3874 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3875 certificates in the header line.
3876 (eww-invalid-certificate, eww-valid-certificate): New faces.
3878 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3880 * progmodes/python.el (inferior-python-mode):
3881 Set `comint-prompt-read-only` to `t` only locally.
3883 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3885 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3886 (nsm-format-certificate): Include more data about the connection.
3887 (nsm-query): Fill the text to that it looks nicer.
3888 (nsm-check-protocol): Also warn if using SSL3 or older.
3890 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3894 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3896 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3898 * info.el (Info-mode-map): Remove left-over binding.
3900 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3901 (avl-tree--root): Remove redundant defsetf.
3903 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905 * net/nsm.el (network-security-level): Remove the detailed
3906 description, which was already outdated, and refer the users to
3908 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3911 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3913 * net/eww.el (eww-buffers-mode): New major mode.
3914 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3915 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3916 New commands/functions (bug#19131).
3918 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3921 'file-name-handler-alist' since the gnutls library can't use those
3924 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3926 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3927 when FILES is non-nil (bug#19304).
3929 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3931 * vc/vc-arch.el: Move to obsolete directory so a test framework
3932 won't trip over bit-rot in it. There has been no Arch snapshot
3935 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3937 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3939 (eww-copy-page-url): Add doc string.
3941 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3943 * net/eww.el (eww): Move history recording here...
3944 (eww-browse-url): ... from here (bug#19253).
3946 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3947 iterating over possible buffer names.)
3949 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3951 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3952 (eww-current-buffer): Compilation fix for bug#18550 patch.
3954 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3956 * net/eww.el (eww-list-histories): Restore the history in the
3957 correct buffer (bug#18550).
3959 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3961 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3962 displaying shortened titles first (bug#16398).
3964 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3966 * progmodes/python.el: Recognize docstrings.
3967 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3969 (python-mode): Use them.
3971 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3973 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3974 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3975 (newsticker--treeview-create-groups-menu)
3976 (newsticker--treeview-create-tree-menu): Remove.
3977 (newsticker--treeview-tree-open-menu): New.
3978 (newsticker-treeview-tree-click): Pass event to
3979 `newsticker-treeview-tree-do-click'.
3980 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3982 2014-12-05 Juri Linkov <juri@linkov.net>
3984 * comint.el (comint-history-isearch-search)
3985 (comint-history-isearch-wrap): Use field-beginning instead of
3986 comint-line-beginning-position.
3987 (comint-send-input): Go to the end of the field instead of the end
3988 of the line to accept whole multi-line input.
3989 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3991 2014-12-05 Juri Linkov <juri@linkov.net>
3993 * minibuffer.el (minibuffer-completion-help):
3994 Compare selected-window with minibuffer-window to check whether
3995 completions should be displayed near the minibuffer. (Bug#17809)
3996 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3998 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4000 * vc/vc-mtn.el (vc-mtn-root):
4001 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4003 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4005 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4006 of the whole pipe when indenting an opening keyword after a |.
4007 Generalize this treatment to opening keywords like "while" (bug#18031).
4009 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * simple.el (newline): Place the hook buffer-locally,
4012 to make sure it's first.
4014 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4015 Fix handling of symbols with different syntax at beginning/end or with
4016 symbol rather than word syntax.
4018 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4020 * simple.el (line-move): If noninteractive, call line-move-1, not
4021 forward-line, since the former is compatible with line-move-visual
4022 both in terms of the column to which it moves and the return
4025 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * vc/ediff-init.el (ediff-odd-p): Remove.
4028 (ediff-background-face): Use cl-oddp instead.
4029 (ediff-buffer-live-p): Make it a defsubst.
4031 * tooltip.el (tooltip-region-active-p): Remove.
4033 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4034 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4036 * fringe.el (fringe-bitmap-p): Make it a plain function.
4038 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4039 (class-p, generic-p, eieio-object-p, class-abstract-p):
4040 Make them defsubst, so as to avoid corner case problems where
4041 the arg might be evaluated in the condition-case, or it can't be passed
4042 to higher-order functions like `cl-some'.
4044 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4046 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4047 and remove old menu-related code.
4049 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4051 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4052 display PDF files (bug#19270).
4054 2014-12-05 Juri Linkov <juri@linkov.net>
4056 Compare with the most recent window by default.
4057 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4058 (compare-windows-get-recent-window)
4059 (compare-windows-get-next-window): New functions.
4060 (compare-windows, compare-windows-sync-default-function):
4061 Use `compare-windows-get-window-function' instead of `next-window'.
4062 (compare-windows): Add diff/match messages with region boundaries.
4065 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4067 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4069 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4071 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4073 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4075 Implement copying of a buffer portion while preserving visual order.
4076 * simple.el (bidi-directional-controls-chars)
4077 (bidi-directional-non-controls-chars): New variables.
4078 (squeeze-bidi-context-1, squeeze-bidi-context)
4079 (line-substring-with-bidi-context)
4080 (buffer-substring-with-bidi-context): New functions.
4082 * files.el (file-tree-walk): Doc fix.
4084 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4085 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4087 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4088 program support to match more extensions. Replace non-alnum
4089 characters when generating include guards (headers) and check for
4090 more extensions when generating includes (programs)
4093 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4095 * files.el (file-tree-walk): Fix docstring.
4097 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4099 Fix bug whereby saving files hung in VC hook.
4101 Saving a buffer visiting a file under SVN control would hang if
4102 the remote repository were unreachable, because the VC hooks tried
4103 to run "svn status -u" on the file, where the "-u" tells svn to
4104 get update information from the remote repository.
4105 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4107 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4108 argument and always pass "-v" to "svn status", never "-u".
4110 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4112 * emacs-lisp/inline.el: Fix up copyright header.
4113 (inline-quote, inline-const-p, inline-const-val, inline-error):
4114 Silence compiler warnings.
4115 (inline-letevals): Fix edebug spec.
4116 (inline--testconst-p): Consider lambda expressions as const-p.
4117 (inline--getconst-val): Use inline--testconst-p.
4119 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4120 and change default to stay in the minibuffer when called from
4121 the minibuffer (bug#19250).
4122 (lazy-completion-table): Use this new argument to preserve the
4125 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4126 incorrect lexical elements (bug#19250).
4128 2014-12-03 A. N. Other <none@example.com>
4130 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4132 2014-12-02 Glenn Morris <rgm@gnu.org>
4134 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4136 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4138 * subr.el (filter): New macro. Because it's just silly for a Lisp
4139 not to have this in 2014. And VC needs it.
4141 * vc.el: All backends: API simplification: Abolish dir-status.
4142 It's replaced by dir-status-files.
4144 * vc.el: All backends: API simplification: Remove 4th
4145 'default-state' argument from vc-dir-status files and its backend
4146 methods - no backend method ever set it. It was used only in the
4147 fallback method to to set a default of 'up-to-date, though a
4148 convoluted call chain obscured this.
4150 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4152 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4153 improving behavior on directories using multiple file-oriented VCSes.
4155 * vc/vc.el: All backends: API simplification; clear-headers
4156 is no longer a public method. It is now local to the one place
4157 it's used, in the RCS steal-lock method.
4159 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4161 * vc/vc.el: In all backends: API simplification; could-register
4162 is no longer a public method. (vc-cvs.el still has a private
4165 * vc/vc.el: In all backends: API cleanup; the backend diff method
4166 takes an explicit async flag. This eliminates a particularly ugly
4169 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4170 VC randomly/unpredictably fails without it; cause not yet established.
4172 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4174 Merge some of the differences from the standalone CC-mode.
4175 The main change is to only use the `category' text-property only when
4176 available. For that many calls are changed to use c-get-char-property,
4177 c-next-single-property-change, c-sc-scan-lists,
4178 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4180 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4181 (c-basic-common-init): Initialize it.
4182 (c-common-init): Only use mode-require-final-newline when available.
4183 (c-before-change): Check and set c-just-done-before-change.
4184 (c-after-change): Re-set c-just-done-before-change.
4185 (c-advise-fl-for-region): New macro.
4186 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4187 (font-lock-after-change-function, jit-lock-after-change):
4190 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4191 (c-known-type-key): Don't make a list just to throw it away.
4193 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4194 Handle the case where categories are not available.
4195 (c-record-parse-state-state, c-replay-parse-state-state):
4196 Handle marker values.
4197 (c-before-change-check-<>-operators): Look for the `syntax-table'
4198 property rather than for the corresponding `category'.
4199 (c-looking-at-decl-block): Remove unused var
4200 `c-disallow-comma-in-<>-arglists'.
4201 (c-forward-<>-arglist-recur): Remove unused var
4202 `orig-record-found-types'.
4204 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4205 (c-use-category): New const.
4206 (c-next-single-property-change): New macro.
4207 (c-region-is-active-p): Prefer region-active-p when available.
4208 (c-search-backward-char-property): Fix old min/max typo; probably
4210 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4211 Turn them into macros that obey c-use-category.
4212 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4213 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4214 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4215 (c-looking-at-non-alphnumspace): New macros.
4216 (c-sc-parse-partial-sexp-no-category): New function.
4217 (c-emacs-features): Add `category-properties' element.
4219 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4220 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4222 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4223 (c-indent-line-or-region): Use c-region-is-active-p.
4225 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4226 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4227 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4228 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4229 (cc-bytecomp-obsolete-fun): Delete unused functions.
4231 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4233 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4235 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4238 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4240 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4241 current "project" rather than just the current directory.
4242 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4243 the file names make sense.
4245 * vc/smerge-mode.el (smerge-swap): New command.
4247 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4249 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4251 * net/newst-treeview.el (newsticker--treeview-item-show):
4252 Check window liveliness before measuring its width.
4254 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4255 Pass correct status to `newsticker--sentinel-work'.
4256 (newsticker--sentinel-work): Use "newsticker--download-error" as
4257 guid in order to prevent multiple "Could not download..."
4258 messages. (Bug#19166)
4260 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4262 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4263 correct buffer (bug#19225).
4265 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4267 * net/nsm.el (network-security-level): Change the default to `medium'.
4269 * net/eww.el (eww): Leave point in a place that doesn't cause
4270 scrolling when displaying "Loading...".
4272 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4274 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4275 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4276 'merge-branch'. Prompting for merge revisions is pushed down to
4277 the back ends; this fixes a layering violation that caused bad
4280 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4281 vc-stay-local-p and repository-hostname are no longer public
4282 methods. Only the CVS and SVN backends used these, and the SVN
4283 support was conditioned out because svn status -v is too slow.
4284 The CVS back end retains this machinery and the vc-stay-local
4285 configuration variable now only affects it.
4287 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * emacs-lisp/inline.el: New file.
4291 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4293 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4294 vc-state-heuristic is no longer a public method, having been
4295 removed where it is redundant, unnecessary, or known buggy.
4296 This eliminated all backends except CVS. Eliminates bug#7850.
4298 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4299 Eliminate vc-mistrust-permissions. It was only relevant to the
4300 RCS and SCCS back ends and defaulted to t. Code now always
4301 mistrusts permissions - by actual measurement the effect on
4302 performance is negligible. As a side effect bug#11490 is now
4305 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4306 vc-workfile-unchanged-p is no longer a public method (but the RCS
4307 and SCCS back ends retain it as a private method used in state
4308 computation). This method was redundant with vc-state and usually
4309 implemented as a trivial call to same. Fixes the failure mode
4310 described in bug#694.
4312 * vc/vc.el: All backends: API simplification; init-revision is
4313 gone, and vc-registered functions no longer take an
4314 initial-revision argument.
4316 2014-11-29 Glenn Morris <rgm@gnu.org>
4318 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4319 (vc-src-master-templates): Fix :version tags.
4321 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4323 * outline.el (outline-move-subtree-down): Refactor and improve code.
4325 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4326 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * outline.el (outline-move-subtree-down): Make sure we can move
4329 forward to find the end of the subtree and the insertion point
4332 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4334 * progmodes/python.el (python-shell-completion-setup-code):
4335 Use __builtin__ module (or builtins in Python 3) and catch all errors
4336 when importing readline and rlcompleter.
4338 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4340 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4341 (todo-revert-buffer): New function.
4342 (todo-modes-set-1): Use it as the buffer-local value of
4343 revert-buffer-function.
4345 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4347 * calendar/todo-mode.el (todo-mode): If called interactively, just
4348 display a message saying to call todo-show to enter Todo mode
4351 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4353 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4356 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4359 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4361 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4362 remote `buffer-file-name'.
4364 2014-11-29 Leo Liu <sdl.web@gmail.com>
4366 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4368 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4370 Set PYTHONUNBUFFERED on shell startup.
4372 * progmodes/python.el (python-shell-unbuffered): New var.
4373 (python-shell-calculate-process-environment): Use it.
4375 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4377 * net/tramp.el (tramp-action-password): Clean password on subsequent
4378 attempts even if there was no wrong password indication. (Bug#19047)
4380 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4382 (tramp-open-connection-setup-interactive-shell): No need to check
4383 for nil as `tramp-get-remote-locale' return value.
4385 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4387 * vc/vc-git.el (vc-git-command, vc-git--call):
4388 Bind coding-system-for-read and coding-system-for-write to
4389 vc-git-commits-coding-system.
4390 (vc-git-previous-revision): Use "~1" instead of "^", since the
4391 latter is a special character for MS-Windows system shells.
4393 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4395 Improve XEmacs compatibility.
4397 * net/tramp.el (tramp-autoload-file-name-handler):
4398 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4400 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4401 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4402 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4403 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4404 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4405 * net/tramp-cache.el (tramp-get-file-property):
4406 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4407 Use `time-less-p' and `time-subtract, respectively.
4409 * net/tramp-adb.el (top): Do not require time-date.el.
4411 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4413 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4414 Check, whether `utf-8' is a valid coding system.
4416 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4418 * vc/vc.el (vc-retrieve-tag): Doc fix.
4420 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4425 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4427 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4428 * help.el (help-window-old-frame): New variable.
4429 (help-window-select): Default to nil (Bug#11039).
4431 (help-window-setup): When the help window appears on another
4432 frame and `help-window-select' is non-nil, give that frame input
4433 focus too (Bug#19012).
4434 (with-help-window): Store selected frame in
4435 help-window-old-frame.
4437 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4439 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4440 nil value for `newsticker-groups-filename'.
4442 2014-11-28 Daiki Ueno <ueno@gnu.org>
4444 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4445 (epa-sign-region, epa-encrypt-region):
4446 Use `epg-context-set-{passphrase,progress}-callback', instead of
4447 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4448 Reported by José A. Romero L.
4450 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4452 * net/eww.el (eww-restore-history):
4453 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4455 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4457 * net/newst-backend.el (newsticker--parse-atom-1.0):
4458 Handle embedded (x)html in summary node.
4460 2014-11-27 Sam Steingold <sds@gnu.org>
4462 * menu-bar.el (menu-bar-open): When everything else fails,
4463 use (mouse-menu-bar-map).
4465 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4467 * net/newst-treeview.el (newsticker-groups-filename):
4468 Change default value to nil. Point out that variable is obsolete in doc
4470 (newsticker--treeview-load): Change wording of the questions the
4471 user is asked when `newsticker-groups-filename' is found to be
4472 used and we offer to read and remove the groups file. (Bug#19165)
4474 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4476 * net/eww.el (eww): Record the new URL immediately, so that if the
4477 HTTP fetch fails, we have the right URL in the buffer.
4478 (eww-process-text-input): Don't shorten the input field if
4479 deleting at the last character (bug#19085).
4480 (eww-restore-history): Inhibit change functions while restoring
4482 (eww-process-text-input): Fix deletion at the start of the field, too.
4483 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4484 (eww-process-text-input): Try to keep track of the size more reliably.
4486 * dom.el (dom-pp): New function.
4488 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4490 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4491 Don't assume --long is the default for "bzr log", always specify
4492 it explicitly, in case the user defined an alias for 'log' that
4493 uses some other format.
4495 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4497 * progmodes/python.el (python-eldoc--get-doc-at-point):
4498 Strip shell output before returning. (bug#18794)
4500 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4502 Fix indentation before `!=' and after `+='. Originally reported
4503 in https://github.com/mooz/js2-mode/issues/174.
4504 * progmodes/js.el (js--indent-operator-re): Make assignments and
4505 (in)equality operator a separate case.
4506 (js--continued-expression-p): Escape the second `+' in the regexp.
4508 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4512 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4514 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4515 when querying about new certificates.
4517 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4519 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4521 (dom-elements): Protect against non-text nodes.
4522 (dom-non-text-children): New function.
4524 * net/eww.el (eww-tag-title): Use `dom-text'.
4526 2014-11-26 Sam Steingold <sds@gnu.org>
4528 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4530 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4532 * net/eww.el (eww-highest-readability): More dom.el fixes.
4534 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4536 * net/newst-backend.el (newsticker--parse-generic-items):
4537 Take care of UIDs when adding elements to cache.
4539 2014-11-26 Alan Mackenzie <acm@muc.de>
4541 Remove spurious reference to symbol category_properties.
4542 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4544 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4546 * net/eww.el: Use the new dom.el accessors throughout.
4548 * net/shr.el: Ditto.
4552 2014-11-26 Glenn Morris <rgm@gnu.org>
4554 * arc-mode.el (archive-visit-single-files): Add :version.
4556 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4560 (nsm-warnings-ok-p): The new version of this function always
4561 returned nil when everything was OK.
4563 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4565 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4567 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4568 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4570 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4572 * emacs-lisp/byte-run.el (function-put): Match argument names to
4575 2014-11-24 Sam Steingold <sds@gnu.org>
4577 * vc/vc-hooks.el (vc-directory-exclusion-list):
4578 Fix a trivial typo (bug#19171).
4580 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * vc/vc-hooks.el (vc-state-base-face): Don't override
4585 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4587 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4588 (eww-process-text-input): Inhibit read only so that input fields
4589 don't get shortened (bug#19085).
4591 2014-11-24 Leo Liu <sdl.web@gmail.com>
4593 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4595 * window.el (with-temp-buffer-window)
4596 (with-current-buffer-window, with-displayed-buffer-window):
4597 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4598 * emacs-lisp/cl-lib.el (substring):
4599 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4601 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4603 * isearch.el (isearch-update): Don't assume
4604 pos-visible-in-window-p will return nil when point is hscrolled
4605 out of view. (Bug#19157)
4607 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4609 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4610 (eww-follow-link): Follow in new buffer in case of prefix
4611 argument, open externally with double prefix (bug#19130).
4613 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4615 * net/eww.el (eww-display-html): Decode the document-defined charset.
4616 (eww): Pop to the *eww* buffer immediately after executing the
4617 `M-x eww' command to avoid having buffers pop up later.
4618 (eww-display-html): Don't pop the *eww* buffer.
4619 (eww-display-raw): Ditto.
4620 (eww-display-image): Ditto.
4621 (eww-follow-link): Make going to #targets in the page work again.
4623 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4625 * net/eww.el (eww-suggest-uris): New variable.
4626 (eww-suggested-uris): New function.
4627 (eww): Default to URL under point.
4628 (eww-links-at-point): New function.
4630 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4632 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4634 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4636 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4638 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4640 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4641 (eww-display-raw): Use it (bug#16225).
4643 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4645 * net/nsm.el (network-security-level): Rename from
4646 `nsm-security-level' and documented.
4648 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4649 we're sending a password.
4651 * net/nsm.el: New file that implements a Network Security Manager.
4653 * net/network-stream.el (open-network-stream): Add a new
4654 :warn-unless-encrypted parameter.
4655 (network-stream-open-plain): Allow warning unless encrypted.
4656 (network-stream-open-starttls): Call the Network Security Manager.
4657 (network-stream-open-tls): Ditto.
4659 2014-11-23 Leo Liu <sdl.web@gmail.com>
4661 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4662 (calendar-chinese-to-absolute-for-diary)
4663 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4664 Handle leap months in Chinese calendar. (Bug#18953)
4666 2014-11-22 Alan Mackenzie <acm@muc.de>
4668 Fix error with `mark-defun' and "protected:" in C++ Mode.
4669 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4670 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4672 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4674 * net/newst-backend.el (newsticker--sentinel-work):
4675 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4677 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4679 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4680 (tramp-sh-handle-process-file): Propagate `process-environment'.
4682 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4683 Tramp propagates environment variables now.
4685 2014-11-22 Eric S. Raymond <esr@snark>
4687 * vc/vc-filewise.el: New file to isolate code used only by the
4688 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4689 live in vc.el and certainly not in vc-hooks.el.
4691 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4692 This is preparatory to isolating all the 'master' functions
4693 used only by the file-oriented back ends. With this done first,
4694 the substantive diffs will be easier to read.
4696 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4698 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4699 that is recognized by `help-mode'.
4701 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * desktop.el (desktop-create-buffer): Use activate-mark to set
4704 `mark-active' (bug#19058).
4706 2014-11-21 Eric S. Raymond <esr@snark>
4708 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4711 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4713 * vc/vc.el (vc-deduce-fileset): Support invocation from
4714 *vc-change-log* buffer. (Bug#19084)
4716 2014-11-13 Matthew Leach <matthew@mattleach.net>
4718 * arc-mode.el (archive-visit-single-files): New.
4719 (archive-mode): Visit file if archive contains a single file.
4722 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4724 * vc/vc.el: Fix a typo in the commentary.
4726 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4728 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4729 testing and a real log-view mode.
4731 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4732 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4733 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4734 checkout methods; where it matters (which is only in SCCS and RCS)
4735 files are always checked out editable. This may actually have
4736 been dynamically true already - it looks like the vc-next-action
4737 code evolved past visiting the other case. Tested with RCS.
4739 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4740 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4741 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4742 argument from the backend checkin methods. Only the RCS, SCCS,
4743 and CVS back ends tried to do anything with it, and that code was
4744 never exercised. Chiseling away the cruft of decades...
4746 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4748 * net/eww.el (eww-render): Remove a no-op :title setting.
4750 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4752 * net/eww.el (eww-history-limit): New variable.
4753 (eww-save-history): Use it (bug#19105).
4754 (eww-reload): Reload the page in the right buffer.
4756 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4760 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4762 * net/eww.el (eww-desktop-remove-duplicates)
4763 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4764 (eww-mode): Set up desktop mode (bug#18010).
4765 (eww-desktop-data-save, eww-desktop-data-1)
4766 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4767 (eww-restore-desktop): New functions.
4769 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4771 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4772 correct buffer. (Bug#19101)
4774 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4776 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4777 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4779 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4781 * ido.el (ido-bury-buffer-at-head): New command.
4782 (ido-buffer-completion-map): Bind it to C-S-b.
4784 2014-11-18 Juri Linkov <juri@linkov.net>
4786 * simple.el (next-line-or-history-element): Wrap next-line
4787 in with-no-warnings.
4788 (previous-line-or-history-element): Wrap previous-line
4789 in with-no-warnings.
4791 2014-11-18 Juri Linkov <juri@linkov.net>
4793 * progmodes/grep.el (grep-compute-defaults):
4794 Compute grep-highlight-matches before its use.
4796 2014-11-18 Juri Linkov <juri@linkov.net>
4798 * replace.el (query-replace-from-to-separator): Turn defvar into
4799 defcustom. Wrap char-displayable-p in ignore-errors because an
4800 attempt to autoload char-displayable-p fails during pre-loading.
4801 Move (propertize "\0" ... 'separator t) out of customizable part
4802 to query-replace-read-from.
4803 (query-replace-read-from): Call custom-reevaluate-setting on
4804 query-replace-from-to-separator to reevaluate the separator
4805 depending on the return value of char-displayable-p.
4806 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4808 2014-11-18 Juri Linkov <juri@linkov.net>
4810 * bindings.el (minibuffer-local-map): Rebind [down] from
4811 next-history-element to next-line-or-history-element, and [up]
4812 from previous-history-element to previous-line-or-history-element.
4814 * simple.el (next-line-or-history-element)
4815 (previous-line-or-history-element): New commands.
4816 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4818 2014-11-18 Leo Liu <sdl.web@gmail.com>
4820 * emacs-lisp/nadvice.el (define-advice): New macro.
4821 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4823 (lisp-font-lock-keywords-1): Add define-advice.
4825 2014-11-18 Daiki Ueno <ueno@gnu.org>
4827 * epg.el (epg-context): New slot EDIT-CALLBACK.
4828 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4829 (epg-reset): Reset EDIT-CALLBACK of the context.
4830 (epg-start-edit-key): New function.
4831 (epg-edit-key): New function.
4833 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4835 Port new time stamp handling to Emacs 23.2.
4836 This fix is for Gnus. Reported by Katsumi Yamaoka.
4837 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4838 Use eval-and-compile, not eval-when-compile.
4840 2014-11-18 Daiki Ueno <ueno@gnu.org>
4842 * epg.el (epg-context-set-passphrase-callback)
4843 (epg-context-set-progress-callback): Check if the CALLBACK
4844 argument is a function, instead of a cons.
4846 2014-11-18 Daiki Ueno <ueno@gnu.org>
4848 * epa-file.el (epa-file-insert-file-contents)
4849 (epa-file-write-region): Remove redundant check of
4851 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4852 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4855 2014-11-18 Daiki Ueno <ueno@gnu.org>
4857 * epa-file.el (epa-file-insert-file-contents): Don't show
4858 "*Error*" buffer if input file does not exist.
4859 Reported by Herbert J. Skuhra.
4861 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4862 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4864 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4865 An alternative version of the patch from bug#13871.
4866 (c-operators): Add "alignof".
4867 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4868 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4869 (c-modifier-kwds): Add "thread_local".
4870 (c-constant-kwds): Add "nullptr".
4872 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4874 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4875 New variables for specifying tildify pattern and representation of
4876 a hard space -- a no-break space by default -- respectively.
4877 Being buffer-local they are much easier to handle than
4878 `tildify-string-alist' and `tildify-pattern-alist' respectively
4879 that have been used so far. They also works better with derived
4881 (tildify-foreach-region-function): New variable specifying
4882 a function determining portions of buffer that should be
4883 tildified. It allows major modes to create a filtering function
4884 more elaborate than a set of regular expressions. Initialized to
4885 `tildify--deprecated-ignore-evironments' by default to handle now
4886 deprecated `tildify-ignored-environments-alist' variable.
4887 (tildify--foreach-region): A new function that takes
4888 `tildify-foreach-region-function' into account and calls callback
4889 for regions of the buffer that should be tildified.
4890 (tildify-foreach-ignore-environments): A new function which can be
4891 partially applied and used as `tildify-foreach-region-function'.
4892 (tildify-ignored-environments-alist, tildify-pattern)
4893 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4894 (tildify--find-env): Rename from `tildify-find-env' and mark as
4896 (tildify--deprecated-ignore-evironments): New function,
4897 immediately marked as obsolete, used to handle deprecated
4898 `tildify-ignored-environments-alist'.
4900 * textmodes/tex-mode.el (tex-common-initialization):
4901 Set `tildify-space-string' and `tildify-foreach-region-function'
4902 variables in all variants of TeX mode since `tildify-string-alist'
4903 and `tildify-ignored-environments-alist' are now empty by default.
4905 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4906 If encoding supports it use no-break space instead of character
4907 entity; this changes previous default which used a numeric
4910 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4911 If encoding does not support no-break space, use numeric reference;
4912 this changes previous default which used named entity (“ ”)
4915 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4917 * calendar/icalendar.el (icalendar-export-alarms):
4918 New customizable variable. (Bug#5433)
4919 (icalendar-export-region): Export alarms as specified in
4920 `icalendar-export-alarms'.
4921 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4922 New functions for exporting alarms.
4924 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4926 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4928 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4930 Port new time stamp handling to old Emacs and to XEmacs.
4931 This is needed for Gnus, which copies time-date.el and which
4932 runs on older Emacs implementations.
4933 * calendar/time-date.el (with-decoded-time-value):
4934 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4935 (encode-time-value, with-decoded-time-value):
4936 Obsolete only if new Emacs.
4937 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4939 Improve time stamp handling, and be more consistent about it.
4940 This implements a suggestion made in:
4941 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4942 Among other things, this means timer.el no longer needs to
4943 autoload the time-date module.
4944 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4945 * arc-mode.el (archive-ar-summarize):
4946 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4947 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4948 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4949 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4950 * proced.el (proced-time-lessp):
4951 * timezone.el (timezone-time-from-absolute):
4952 * type-break.el (type-break-schedule, type-break-time-sum):
4953 Simplify by using new functionality.
4954 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4955 Do not return time values in obsolete and undocumented (HI . LO)
4956 format; use (HI LO) instead.
4957 * calendar/time-date.el (with-decoded-time-value):
4958 Treat 'nil' as current time. This is mostly for XEmacs.
4959 (encode-time-value, with-decoded-time-value): Obsolete.
4960 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4961 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4962 * ldefs-boot.el: Update to match new time-date.el
4963 * proced.el: Do not require time-date.
4965 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4967 * net/eww.el (eww-mode): Make the buffer read-only.
4968 (eww-form-text): Inhibit read-only-ness in text input fields
4971 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * simple.el (execute-extended-command--shorter): Cut search here.
4974 (execute-extended-command): Instead of here.
4976 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4978 * progmodes/python.el (python-mode): Avoid use of set-local to
4979 keep Emacs 24.x compatibility.
4981 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4983 * net/shr.el (shr): Move to the new defgroup `web'.
4985 * net/eww.el (eww): Ditto.
4987 * simple.el (execute-extended-command): Don't show the help
4988 message if the binding isn't significantly shorter than the
4989 M-x command the user typed (bug#19013).
4991 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
4993 * calendar/icalendar.el (icalendar--convert-tz-offset):
4994 Return complete cons when offsets of standard time and daylight saving
4996 (icalendar-export-region): Fix unbound variable warning.
4998 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5000 * progmodes/python.el (run-python): Allow CMD to be optional and
5001 default it to a safe command, even for Windows. (bug#18596)
5003 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5005 * progmodes/python.el (python-shell-calculate-command):
5006 Rename from python-shell-parse-command. Cleanup.
5007 (run-python, run-python-internal): Use it.
5008 (python-shell-calculate-pythonpath): Rename from
5009 python-new-pythonpath.
5010 (python-shell-calculate-process-environment): Use it.
5011 (python-shell-calculate-exec-path): Add comment.
5013 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5015 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5018 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5020 * version.el (emacs-repository-get-version): Use git rev-parse
5023 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5025 * progmodes/python.el (python-indent-calculate-levels):
5026 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5028 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5030 * progmodes/python.el (python-indent-region):
5031 Use python-indent-line and skip special cases. (Bug#18843)
5033 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5035 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5036 envelope-from when reporting through sendmail (bug#19054).
5038 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5040 Add faces for the VC modeline state indicator.
5042 (vc-state-faces, vc-state-base-face)
5043 (vc-up-to-date-state, vc-needs-update-state)
5044 (vc-locked-state, vc-locally-added-state)
5045 (vc-conflict-state, vc-removed-state)
5046 (vc-missing-state, vc-edited-state):
5048 (vc-default-mode-line-string): Use them
5050 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5054 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5056 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5058 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5060 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5061 type checks, simplify printing. (Bug#18962)
5063 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5065 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5066 (python-shell-font-lock-with-font-lock-buffer)
5067 (python-shell-get-buffer, python-ffap-module-path):
5068 Use `derived-mode-p' instead of equality test on `major-mode'.
5070 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5072 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5073 python-shell-virtualenv-path.
5074 (python-shell-internal-get-process-name)
5075 (python-shell-calculate-process-environment)
5076 (python-shell-calculate-exec-path): Use it.
5078 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5080 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5081 bindings.el, since it is not yet loaded when bindings.el is
5084 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5086 * progmodes/python.el (python-shell-completion-get-completions):
5089 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091 * net/eww.el (eww-render): Don't set the title to the URL.
5093 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5095 * version.el (emacs-repository-get-version): Call `git log'
5096 command with proper format argument (bug#19049).
5098 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5100 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5102 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5104 * net/eww.el (eww-search-words): New command (bug#16258).
5106 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5108 * net/shr.el (shr-inhibit-images): Add a doc string.
5110 * net/eww.el (eww-after-render-hook): New variable.
5111 (eww-render): Use it.
5113 * net/shr.el (shr-descend): Don't descend further than
5114 `max-specpdl-size' allows (bug#16587).
5115 (shr-depth): New variable.
5116 (shr-warning): New variable.
5118 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5120 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5121 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5123 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5125 * net/eww.el (eww): Add comment to clarify.
5127 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5128 external SVG images.
5129 (shr-tag-object): Display images in <object> forms (bug#16244).
5130 (shr-tag-table): Also insert <objects> after the tables.
5132 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5134 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5136 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5138 * net/eww.el (eww-form-file): Fix version number.
5140 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5144 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5146 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5147 (eww-submit-file): New key map of file upload.
5148 (eww-form-file): New file upload button and file name context.
5149 (eww-select-file): Select file and display selected file name.
5150 (eww-tag-input): Handle input tag of file type.
5151 (eww-update-field): Add point offset.
5152 (eww-submit): Add submit with multipart/form-data.
5154 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5156 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5157 Allow taking a buffer to render data in. This allows using several
5158 eww buffers (bug#16211).
5160 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5162 * net/eww.el (eww-download-callback): Save only the file contents,
5165 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5167 * net/eww.el (eww-data): New plist to store all the data relevant
5168 to a single page, used throughout the file instead of the
5169 variables `eww-current-url', `eww-current-dom',
5170 `eww-current-source', and `eww-current-title'.
5171 (eww-readable): Copy over pertinent data from the parent page.
5172 (eww-save-history): Don't let the history grow infinitely.
5174 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5175 `eww-up-url', `eww-home-url', `eww-start-url' and
5176 `eww-contents-url' and put the data into the `eww-data' plist.
5177 This allow restoring these values after going back in the history.
5179 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5181 Allow VTIMEZONE where daylight and standard time zones are equal.
5182 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5183 * calendar/icalendar.el (icalendar--convert-tz-offset):
5184 Support timezone without daylight saving time.
5186 2014-11-10 Glenn Morris <rgm@gnu.org>
5188 * startup.el (command-line): Handle nil elements in load-path.
5190 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * help.el (view-lossage): Include the actual commands run.
5194 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5196 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5197 no state is specified. (Bug#18964)
5199 2014-11-09 Eric Ludlam <zappo@gnu.org>
5201 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5202 Set eieio-cog (current group) to g, which is an improved form of input
5205 2014-11-09 Juri Linkov <juri@jurta.org>
5207 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5208 "Multi-buffer" instead of "Multi". (Bug#13592)
5210 * misearch.el (multi-isearch-file-list):
5211 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5212 (multi-isearch-end): Reset multi-isearch-buffer-list and
5213 multi-isearch-file-list to nil.
5215 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5217 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5218 Don't call byte-compile-preprocess since the result will go through
5220 (byte-compile-output-docform): Handle uninterned `name' correctly.
5221 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5222 to circumvent byte-compiler bug.
5224 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5225 (macroexp--compiler-macro): Remove left-over debug code.
5227 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5229 2014-11-08 Juri Linkov <juri@jurta.org>
5231 * simple.el (shell-command): Use buffer-name when output-buffer is
5232 a buffer. (Bug#18096)
5234 2014-11-08 Juri Linkov <juri@jurta.org>
5236 * minibuffer.el (minibuffer-completion-help): Compare this-command
5237 with completion-at-point. (Bug#17809)
5239 2014-11-08 Glenn Morris <rgm@gnu.org>
5241 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5242 Allow the argument to be a string. Due to the vague doc,
5243 it was already being used this way.
5245 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5247 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5248 the constructed Tramp file name. (Bug#18943)
5250 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5254 (cua-set-mark, cua--post-command-handler-1):
5255 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5257 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5259 * files.el (file-name-non-special): Wrap the call of
5260 `insert-file-contents' by `unwind-protect', in order to set the
5261 buffer's file name anyway. (Bug#18891)
5263 2014-11-08 Alan Mackenzie <acm@muc.de>
5265 Fix wrong bound to c-font-lock-declarators.
5266 * progmodes/cc-fonts.el (c-font-lock-declarations):
5267 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5268 the buffer is sometimes narrowed to less than "limit" (e.g., in
5269 the presence of macros). (Bug#18948)
5271 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5273 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5274 only when message appeared in minibuffer. (Bug#18891)
5276 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5277 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5278 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5281 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5283 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5284 Don't compile before eval in `eval-and-compile'.
5285 (byte-compile-arglist-warn): Add check for defining macros after their
5286 first use. Check call use even if the function is fboundp.
5288 2014-11-08 Richard Stallman <rms@gnu.org>
5290 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5291 Check more carefully for mime-part specified character set.
5292 Check for mime-part Content Transfer Encoding.
5293 Notify if no armor found.
5295 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5297 * faces.el (face-set-after-frame-default): Enable running
5298 `window-configuration-change-hook'.
5300 2014-11-07 Juri Linkov <juri@jurta.org>
5302 * replace.el: History for query replace pairs.
5303 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5304 (query-replace-from-to-separator): New variable.
5305 (query-replace-read-from): Let-bind query-replace-from-to-history
5306 to a list of FROM-TO strings created from query-replace-defaults
5307 and separated by query-replace-from-to-separator. Use it as
5308 the history while reading from the minibuffer. Split the returned
5309 string by the separator to get FROM and TO parts, and add them
5310 to the history variables.
5311 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5312 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5313 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5315 * isearch.el (isearch-text-char-description): Keep characters
5316 intact and put formatted strings with the `display' property.
5318 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5320 * cus-start.el (frame-resize-pixelwise): Fix group.
5321 (frame-inhibit-implied-resize): Add entry.
5323 2014-11-07 Daiki Ueno <ueno@gnu.org>
5325 * epa.el (epa-pinentry-mode): New user option.
5326 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5327 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5328 * epa-file.el (epa-file-insert-file-contents)
5329 (epa-file-write-region): Respect epa-pinentry-mode.
5331 2014-11-07 Daiki Ueno <ueno@gnu.org>
5333 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5334 (bug#18979). Reported by Hideki Saito.
5336 2014-11-06 Daiki Ueno <ueno@gnu.org>
5338 * emacs-lisp/package.el (package--display-verify-error): New function.
5339 (package--check-signature): Use it to display output sent to stderr.
5341 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * subr.el (pop): Don't call the getter twice (bug#18968).
5345 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5348 2014-11-06 Daiki Ueno <ueno@gnu.org>
5350 * epa.el (epa-error-buffer): New variable.
5351 (epa-display-error): New function.
5352 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5353 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5354 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5355 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5356 Use setf instead of epg-context-set-*.
5357 * epa-file.el (epa-file-insert-file-contents):
5358 Use epa-display-error instead of epa-display-info. Mimic the behavior
5359 of jka-compr when decryption program is not found.
5360 (epa-file-write-region): Use epa-display-error instead of
5363 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5365 * vc/vc.el (vc-region-history): New command.
5366 (vc-print-log-internal): Use cl-some.
5368 * vc/vc-git.el (vc-git-region-history): New function.
5369 (vc-git-region-history-mode-map)
5370 (vc-git--log-view-long-font-lock-keywords)
5371 (vc-git-region-history-font-lock-keywords): New vars.
5372 (vc-git-region-history-font-lock): New function.
5373 (vc-git-region-history-mode): New major mode.
5375 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5377 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5380 2014-11-05 Daiki Ueno <ueno@gnu.org>
5382 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5383 (epg-error-output): New buffer-local variable.
5384 (epg--start): Initialize epg-error-output.
5385 (epg--process-filter): Record output lines sent to stderr, in
5387 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5389 * epa-file.el (epa-file-insert-file-contents): On error, display
5390 output sent to stderr.
5391 (epa-file-write-region): Likewise.
5393 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5395 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5396 returned by load-average.
5398 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5401 a local copy; setting `inhibit-file-name-handlers' proper might be
5402 more performant. (Bug#18751)
5404 2014-11-05 Glenn Morris <rgm@gnu.org>
5406 * mail/emacsbug.el (report-emacs-bug): No longer include
5407 recent-keys in the report. (Bug#18900)
5409 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5411 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5413 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5415 * net/eww.el (eww): Trim URL with `string-trim'.
5416 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5418 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5420 * net/eww.el (eww-score-readability): Don't count comments positively.
5422 * net/shr.el (shr-retransform-dom): Typo fix.
5424 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5425 (eww-display-html): Don't leave point inside forms.
5427 * net/shr.el: Ditto.
5429 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5431 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5432 edebug-prin1-to-string already handles circularity.
5434 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5435 autoloading when specified as a lambda.
5437 * simple.el (execute-extended-command--last-typed): New var.
5438 (read-extended-command): Set it.
5439 Don't complete obsolete commands.
5440 (execute-extended-command--shorter-1)
5441 (execute-extended-command--shorter): New functions.
5442 (execute-extended-command): Use them to suggest shorter names.
5443 (indicate-copied-region, deactivate-mark): Use region-active-p.
5445 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5447 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5448 local copy of FILENAME, when it is remote. (Bug#18751)
5450 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5451 an error when the command fails; the return code must indicate.
5452 (tramp-adb-send-command-and-check): Fix docstring.
5454 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5456 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5457 have no children like <br />.
5459 * net/eww.el (eww-display-html): Clear `url-queue'.
5460 (eww-display-pdf): New function.
5461 (eww-render): Display PDFs with `doc-view'.
5462 (url-queue): Require `url-queue' to avoid compilation warning.
5463 (eww-colorize-region): Remove duplicate function.
5464 (eww-tag-body): Use `shr-colorize-region'.
5466 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5468 * net/eww.el (eww-list-bookmarks): Autoload.
5470 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5472 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5474 * net/eww.el (eww-display-html): The charset is called `utf-8',
5476 (eww-readable): Decode the saved text correctly.
5477 (eww-readable): Save the history before displaying so that we can
5478 go back to the non-readable version.
5479 (eww-display-html): Don't try to decode the text if we've been
5480 passed in a pre-parsed DOM.
5481 (eww-tag-title): Remove newlines and extra whitespace from the
5484 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486 * net/eww.el (eww-readable): New command and keystroke.
5488 * net/shr.el (shr-retransform-dom): New function.
5490 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5492 (eww-view-source): Use it.
5494 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5496 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5499 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5501 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5503 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5505 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5507 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5509 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5512 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5514 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5516 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5518 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5520 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5522 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5524 2014-11-01 Michael R. Mauger <michael@mauger.com>
5526 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5527 syntax, add new keywords, and parse longer keywords first.
5528 (sql-redirect-one): Protect against empty command.
5529 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5532 2014-11-01 Michael R. Mauger <michael@mauger.com>
5534 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5535 Bug#16814 with let-bind of comint-input-ring variables around read
5538 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5540 * net/tramp-cache.el (tramp-get-file-property)
5541 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5542 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5543 be compiler warnings.
5545 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5546 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5548 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5550 * progmodes/compile.el (compilation-mode): Turn off deferred
5551 fontifications locally. (Bug#18856)
5553 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5555 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5556 remote-echo connection property is non-nil (bug#18858).
5558 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5560 * simple.el (newline): Add assertions to try and help catch bug#18913.
5562 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5564 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5566 2014-11-01 Kim F. Storm <storm@cua.dk>
5568 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5569 * delsel.el (delete-selection-save-to-register)
5570 (delsel--replace-text-or-position): New vars.
5571 (delete-active-region): Use them.
5572 (delete-selection-repeat-replace-region): New command, moved from
5574 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5575 (cua-repeat-replace-region): Move command to delsel.el.
5576 (cua--init-keymaps): Update binding accordingly.
5577 (cua-mode): Set delete-selection-save-to-register.
5579 2014-11-01 Alan Mackenzie <acm@muc.de>
5581 Make blink-parens work with a closing template delimiter.
5582 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5583 before calling blink-paren-function, so as to apply syntax-table
5584 properties to the ">".
5586 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5588 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5590 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5593 (macroexp--expand-all): Unrelated tweaks.
5595 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5597 2014-10-30 Glenn Morris <rgm@gnu.org>
5599 * startup.el (command-line): Remove pointless attempt to avoid
5600 statting the file-system (which expand-file-name doesn't do).
5602 2014-10-30 Daniel Colascione <dancol@dancol.org>
5604 Add "enum class" support to C++ mode.
5605 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5606 (c-after-brace-list-key): New language consts/variables.
5607 * progmodes/cc-engine.el (c-looking-at-decl-block):
5608 Exclude spurious match of "enum struct" from decl-block recognition.
5609 (c-backward-colon-prefixed-type): New function.
5610 (c-backward-over-enum-header): Call above function to extend
5611 recognition of enum structure.
5613 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5615 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5617 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5619 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5621 * progmodes/compile.el (compilation-start):
5622 If compilation-scroll-output is non-nil, don't force window-start of
5623 the compilation buffer to be at beginning of buffer. (Bug#18874)
5625 * startup.el (fancy-about-text): Read the entire tutorial, not
5626 just its first 256 bytes. (Bug#18760)
5628 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5631 * emacs-lisp/cl-extra.el: Add missing provide.
5633 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5634 all args are copyable (bug#18767).
5635 (=, <, >, <=, >=): Re-enable the optimization.
5637 2014-10-29 Glenn Morris <rgm@gnu.org>
5639 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5641 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5642 Revert 2014-10-26 change.
5644 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5646 Simplify use of current-time and friends.
5647 * allout-widgets.el (allout-widgets-hook-error-handler):
5648 * calendar/appt.el (appt-display-message):
5649 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5650 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5651 (timeclock-last-period, timeclock-day-base):
5652 * eshell/em-ls.el (eshell-ls-file):
5653 * eshell/esh-util.el (eshell-parse-ange-ls):
5654 * generic-x.el (named-database-print-serial):
5655 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5656 (newsticker-get-news, newsticker--sentinel-work)
5657 (newsticker--image-get, newsticker--image-sentinel):
5658 * net/tramp-sh.el (tramp-get-remote-touch):
5659 * progmodes/opascal.el (opascal-debug-log):
5660 * textmodes/remember.el (remember-mail-date)
5661 (remember-store-in-files):
5662 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5663 (vc-default-annotate-current-time):
5664 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5665 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5666 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5667 Omit unnecessary call to current-time.
5668 * calendar/time-date.el (time-to-seconds) [!float-time]:
5669 * vc/vc-annotate.el (vc-annotate-convert-time):
5670 Use current time if arg is nil, to be compatible with float-time.
5671 (time-date--day-in-year): New function, with most of the guts of
5672 the old time-to-day-in-year.
5673 (time-to-day-in-year): Use it.
5674 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5675 * calendar/timeclock.el (timeclock-time-to-date):
5676 Arg is now optional, like current-time-string.
5677 (timeclock-update-mode-line):
5678 Don't call current-time twice to get the current time stamp,
5679 as this can lead to inconsistent results.
5680 * completion.el (cmpl-hours-since-origin):
5681 * ido.el (ido-time-stamp):
5682 * vc/vc-annotate.el (vc-annotate-convert-time):
5683 Simplify by using float-time.
5684 * completion.el (save-completions-to-file):
5685 Rename local var to avoid confusion.
5686 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5687 time-to-seconds now behaves like float-time with respect to nil arg.
5688 * subr.el (progress-reporter-do-update):
5689 Don't call float-time unless needed.
5691 2014-10-29 Leo Liu <sdl.web@gmail.com>
5693 * net/rcirc.el (rcirc-fill-column): Use function.
5694 (rcirc-markup-fill): Remove adjustment.
5696 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5698 * calc/calc.el (quick-calc):
5699 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5701 2014-10-28 Sam Steingold <sds@gnu.org>
5703 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5704 the sake of `window-body-width' (in addition to `frame-width').
5706 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5708 * version.el: Fix some fallback values to conform to the actual
5711 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5713 * Makefile.in: Change some production names so they're neutral
5714 about the repository type.
5716 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5718 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5719 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5720 during initialization. (Bug#18774)
5722 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5724 * ses.el (macroexp): Add require for this package, so that
5725 function `ses--cell' gets macroexp-quote --- this change was
5726 supposed to be in my previous commit, but left out by mistake.
5727 (ses--cell): Do not make formula a macroexp-quote of value when
5728 value, not formula, is *skip*.
5730 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5732 * ses.el (macroexp): Add require for this package, so that function
5733 `ses--cell gets macroexp-quote.
5734 (ses--cell): Makes formula a macroexp-quote of value when formula
5735 is nil. The rationale of this changr is to allow in the future
5736 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5737 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5738 reference list REFLIST would be re-computed after load --- thus
5739 trading off load time against file size.
5741 * emacs-lisp/package.el (package--alist-to-plist-args):
5742 Use macroexp-quote instead of a lambda expression which has the same
5743 content as macroexp-quote.
5744 (macroexp): Add require for this package, so that function
5745 `package--alist-to-plist-args' gets macroexp-quote.
5747 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5749 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5751 * term/ns-win.el (ns-store-cut-buffer-internal)
5752 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5754 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5756 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5757 Calculate increment from last position instead of window edge.
5758 Add right- and bottom-divider bindings to transient map.
5760 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5762 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5763 even if :predicate was nil, for the benefit of typep.
5764 Record the name of the predicate for typep's use.
5765 (cl--make-type-test): Use pcase. Obey new
5766 cl-deftype-satisfies property.
5768 * epg.el: Use cl-defstruct.
5769 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5770 (epg-data-string): Define via cl-defstruct.
5771 (epg--gv-nreverse): New macro.
5772 (epg-context--make): New constructor (provided vi cl-defstruct).
5773 (epg-make-context): Rewrite using it.
5774 (epg-context-protocol, epg-context-program)
5775 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5776 (epg-context-include-certs, epg-context-cipher-algorithm)
5777 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5778 (epg-context-passphrase-callback, epg-context-progress-callback)
5779 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5780 (epg-context-output-file, epg-context-result, epg-context-operation)
5781 (epg-context-pinentry-mode): Define using cl-defstruct.
5782 (epg-context-set-protocol, epg-context-set-program)
5783 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5784 (epg-context-set-digest-algorithm)
5785 (epg-context-set-sig-notations, epg-context-set-process)
5786 (epg-context-set-output-file, epg-context-set-result)
5787 (epg-context-set-operation, epg-context-set-pinentry-mode)
5788 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5789 (epg-context-set-armor, epg-context-set-textmode)
5790 (epg-context-set-signers): Redefine using setf
5791 and declare as obsolete.
5792 (epg-context-set-passphrase-callback)
5793 (epg-context-set-progress-callback): Use setf.
5794 (epg-signature-notations): Rename from epg-sig-notations.
5795 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5796 (epg-signature-validity, epg-signature-fingerprint)
5797 (epg-signature-creation-time, epg-signature-expiration-time)
5798 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5799 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5800 (epg-signature-set-status, epg-signature-set-key-id)
5801 (epg-signature-set-validity, epg-signature-set-fingerprint)
5802 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5803 (epg-signature-set-pubkey-algorithm)
5804 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5805 (epg-signature-set-version, epg-signature-set-notations): Remove.
5807 (epg-make-new-signature, epg-new-signature-type)
5808 (epg-new-signature-pubkey-algorithm)
5809 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5810 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5811 Define using cl-defstruct.
5812 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5813 (epg-key-user-id-list): Define using cl-defstruct.
5814 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5816 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5817 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5818 (epg-sub-key-id, epg-sub-key-creation-time)
5819 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5821 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5822 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5823 (epg-user-id-signature-list): Define using cl-defstruct.
5824 (epg-user-id-set-signature-list): Remove. Use setf instead.
5825 (epg-make-key-signature, epg-key-signature-validity)
5826 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5827 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5828 (epg-key-signature-user-id, epg-key-signature-class)
5829 (epg-key-signature-exportable-p): Define using cl-defstruct.
5830 (epg-make-sig-notation, epg-sig-notation-name)
5831 (epg-sig-notation-value, epg-sig-notation-human-readable)
5832 (epg-sig-notation-critical): Define using cl-defstruct.
5833 (epg-sig-notation-set-value): Remove. Use setf instead.
5834 (epg-make-import-status, epg-import-status-fingerprint)
5835 (epg-import-status-reason, epg-import-status-new)
5836 (epg-import-status-user-id, epg-import-status-signature)
5837 (epg-import-status-sub-key, epg-import-status-secret): Define using
5839 (epg-make-import-result, epg-import-result-considered)
5840 (epg-import-result-no-user-id, epg-import-result-imported)
5841 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5842 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5843 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5844 (epg-import-result-secret-read, epg-import-result-secret-imported)
5845 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5846 (epg-import-result-imports): Define using cl-defstruct.
5848 * emacs-lisp/package.el: Require EPG during macroexpansion.
5849 (package--check-signature, package-import-keyring): Use setf instead of
5850 epg-context-set-home-directory.
5852 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5854 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5856 2014-10-23 Leo Liu <sdl.web@gmail.com>
5858 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5859 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5860 (cfengine3-current-defun): New function.
5861 (cfengine3-mode): Set add-log-current-defun-function.
5863 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5865 * select.el: Use lexical-binding.
5866 (gui-set-selection): Provide an implementation for non-GUI frames
5868 * term/x-win.el: Use lexical-binding.
5869 (x-clipboard-yank): Fix up missed renamings.
5870 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5871 (w32--set-selection): Fix up var names.
5872 * term/pc-win.el: Use lexical-binding.
5873 (w16-selection-exists-p): Silence compiler warning.
5874 (w16-selection-owner-p): Fix up missed renamings.
5876 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5878 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5880 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5882 * doc-view.el (doc-view-open-text): View the document's plain text
5883 in the current buffer instead of a new one.
5884 (doc-view-toggle-display): Handle the case where the current
5885 buffer contains the plain text contents of the document.
5886 (doc-view-initiate-display): Don't switch to fallback mode if the
5887 user wants to view the doc's plain text.
5888 (doc-view-set-doc-type): Use assoc-string instead of
5891 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5893 * subr.el (read-key): Fix clicks on the mode-line.
5894 (set-transient-map): Return exit function.
5896 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5897 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5898 (mouse-yank-secondary): Use gui-get-selection.
5899 (mouse--down-1-maybe-follows-link): Use read-key.
5901 * xt-mouse.el: Add `event-kind' property on the fly from
5902 xterm-mouse-translate-1 rather than statically at the outset.
5904 2014-10-21 Daniel Colascione <dancol@dancol.org>
5906 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5907 change window configuration when we turn it off.
5909 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5911 Get rid of backend-dependent selection-handling functions for kill/yank
5912 and make it generic instead by relying on the lower-level selection
5913 management functions.
5915 * select.el (select-enable-clipboard): Rename from
5916 gui-select-enable-clipboard.
5917 (select-enable-primary): Move from x-win.el and rename from
5918 x-select-enable-primary.
5919 (gui-last-selected-text): Remove.
5920 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5922 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5923 (gui-select-text-alist, gui-selection-value-alist): Remove.
5924 (x-select-request-type): Move from x-win.el.
5925 (gui--selection-value-internal): New function, taken from x-win's
5926 x-selection-value-internal.
5927 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5928 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5929 extend it to handle a nil value as a "disown" request.
5930 (gui-disown-selection-alist): Remove.
5931 (xselect-convert-to-delete): Adjust accordingly.
5932 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5934 * term/x-win.el (x-last-selected-text-primary)
5935 (x-select-enable-primary): Remove (moved to select.el).
5936 (x-select-request-type): Move to select.el.
5937 (x-selection-value-internal, x--selection-value): Remove functions.
5938 (gui-selection-value, gui-select-text): Remove moethods.
5939 (gui-set-selection): Merge own and disown methods.
5941 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5942 Delete function (move functionality into w32--set-selection and
5943 w32--get-selection).
5944 (gui-select-text, gui-selection-value): Don't define methods.
5945 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5947 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5949 (gui-selection-exists-p): Adjust to new name of C primitive.
5951 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5952 test of gui-select-enable-clipboard, to make it usable as
5953 a gui-get-selection method.
5954 (gui-selection-exists-p): Adjust to new name of C primitive.
5955 (gui-set-selection): Merge own and disown methods.
5956 (gui-select-text, gui-selection-value): Delete methods.
5957 (w16--select-text): Delete function.
5959 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5960 (ns-selection-value): Remove functions.
5961 (gui-select-text, gui-selection-value): Don't define method any more.
5962 (gui-set-selection): Merge the old own and disown methods.
5963 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5964 underlying C primitive.
5966 * startup.el (command-line): Adjust now that `gui-method' expects nil
5969 * frame.el (gui-method): Use window-system rather than framep.
5970 (gui-method-declare): The tty case is now nil rather than t.
5971 (make-frame): Adjust accordingly.
5973 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5975 * net/newst-reader.el (newsticker--image-read): Simplify.
5976 (newsticker--icon-read): Use dolist and fix free var error.
5978 * imenu.el (imenu--menubar-keymap): New var.
5979 (imenu-add-to-menubar): Set it to remember the keymap we used.
5980 (imenu-update-menubar): Use it instead of asking lookup-key.
5982 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5984 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5986 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5989 2014-10-21 Glenn Morris <rgm@gnu.org>
5991 * Merge in all changes up to version 24.4 release.
5993 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5998 2014-10-20 Glenn Morris <rgm@gnu.org>
6000 * Merge in all changes up to 24.4 release.
6002 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6004 * net/newst-backend.el
6005 (newsticker--image-download-by-url-callback): Make this function
6006 actually work: Check status properly, then save image.
6008 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6010 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6012 (mouse-drag-line): Unless there's no actual mouse, use the event's
6015 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * textmodes/css-mode.el (scss-mode): New major-mode.
6018 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6019 (css-ident-re): Allow things like @-moz-keyframes.
6020 (scss--hash-re): New const.
6021 (css--font-lock-keywords): New function, extracted from
6022 css-font-lock-keywords.
6024 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6026 * net/newst-backend.el: Require url-parse.
6027 (newsticker--get-news-by-wget): Store feed name as process property.
6028 (newsticker--sentinel): Read feed name from process property.
6029 (newsticker--sentinel-work): Rename argument name to feed-name.
6030 Rename variable imageurl to image-url. Pick icon url from Atom
6031 1.0 data. Launch download of feed icon.
6032 (newsticker--get-icon-url-atom-1.0): New.
6034 (newsticker--unxml-node)
6035 (newsticker--unxml-attribute): Documentation.
6036 (newsticker--icons-dir): New.
6037 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6038 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6039 (newsticker--image-download-by-wget): New. Use process properties
6040 for storing informations.
6041 (newsticker--image-sentinel): Read informations from process properties.
6042 (newsticker--image-save)
6043 (newsticker--image-remove)
6044 (newsticker--image-download-by-url)
6045 (newsticker--image-download-by-url-callback): New.
6046 (newsticker-opml-export): Handle url list entries containing a
6047 function instead of an url string.
6049 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6050 (newsticker--print-extra-elements)
6051 (newsticker--do-print-extra-element):
6052 Documentation (newsticker--image-read): Optionally limit image height.
6053 Use imagemagick if possible.
6054 (newsticker--icon-read): New.
6056 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6057 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6058 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6059 (newsticker--tree-widget-leaf-icon): Use feed icon.
6061 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6063 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6064 Use help-function-arglist instead.
6066 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6067 (eieio--with-scoped-class): Use `declare'.
6068 (eieio-defclass): Remove compatibility code.
6069 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6070 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6072 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6074 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6076 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6077 replacements to stock names before stock names in a list.
6078 Cdr may be a list, each name is tried in turn until one is found.
6080 2014-10-18 Alan Mackenzie <acm@muc.de>
6082 Check that a "macro" found near point-min isn't a ## operator.
6083 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6084 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6086 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6088 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6089 correct data to `gnutls-boot' (Bug#18664).
6090 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6092 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6094 * whitespace.el (whitespace-style, whitespace-big-indent)
6095 (whitespace-big-indent-regexp, whitespace-style-value-list)
6096 (whitespace-toggle-option-alist, whitespace-interactive-char)
6097 (whitespace-toggle-options)
6098 (global-whitespace-toggle-options, whitespace-help-text)
6099 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6100 style to `whitespace-mode' to indicate that the line indentation
6101 is too deep. By default, 32 SPACEs or four TABs are considered
6102 too many but `whitespace-big-indent-regexp' can be configured.
6104 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6106 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6109 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6111 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6112 (defclass, defgeneric, defmethod): Add doc-string position.
6113 (with-slots): Require cl-lib.
6115 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6116 (list-of): New type.
6117 (eieio--typep): Remove.
6118 (eieio-perform-slot-validation): Use cl-typep instead.
6120 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6122 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6124 2014-10-16 Alan Mackenzie <acm@muc.de>
6126 Trigger showing when point is in the "periphery" of a line or just
6128 * paren.el (show-paren-style, show-paren-delay)
6129 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6130 Remove superfluous :group specifications.
6131 (show-paren-when-point-inside-paren)
6132 (show-paren-when-point-in-periphery): New customizable variables.
6133 (show-paren-highlight-openparen): Make into a defcustom.
6134 (show-paren--unescaped-p, show-paren--categorize-paren)
6135 (show-paren--locate-near-paren): New defuns.
6136 (show-paren--default): Refaactor and trigger on more paren
6138 (show-paren-function): Small consequential changes.
6140 2014-10-16 Tom Tromey <tom@tromey.com>
6142 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6145 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6147 * international/characters.el (bracket-type): Force pre-loading of
6150 2014-10-16 Alan Mackenzie <acm@muc.de>
6152 * cus-edit.el (custom-command-apply): Specify the return value in
6154 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6155 custom-command-apply has returned non-nil.
6157 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6159 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6160 Remove incorrect handling of eldoc-print-after-edit.
6161 (eldoc-message-commands, eldoc-last-data): Use defvar.
6162 * loadup.el (emacs-lisp/eldoc): Load it.
6164 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6166 (m4--quoted-p): New function.
6167 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6168 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6169 for most special characters.
6171 * progmodes/compile.el (compilation--previous-directory): Simplify.
6172 (compilation-next-error): Ensure the parse before we look at
6173 compilation-message property.
6175 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6177 * simple.el (what-cursor-position):
6178 * descr-text.el (describe-char): Update to support the new bidi
6181 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6182 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6183 buffer-menu display when the first buffer happens to start with
6186 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6188 * progmodes/elisp-mode.el (elisp--local-variables-1):
6189 Handle quoted expressions (bug#18688).
6191 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6192 Michael Albinus <michael.albinus@gmx.de>
6194 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6195 Reduce the amount of set environment variable commands.
6197 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6199 Fix import completion. (Bug#18582)
6200 * progmodes/python.el (python-shell-completion-get-completions):
6201 Fix import case regexp.
6203 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6206 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6207 * progmodes/prolog.el (prolog-electric--underscore): Same.
6209 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6211 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6213 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6215 * cus-start.el (all): Add missing ns and boolean to
6216 ns-use-fullscreen-animation.
6218 2014-10-11 Leo Liu <sdl.web@gmail.com>
6220 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6222 (cfengine3-create-imenu-index): New function.
6223 (cfengine3-mode): Use it for `imenu-create-index-function'.
6224 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6227 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6229 * cus-start.el (all): Add ns-use-fullscreen-animation.
6231 2014-10-11 Glenn Morris <rgm@gnu.org>
6233 * calendar/diary-lib.el (diary-display-function):
6234 Drop support for deprecated nil and list forms.
6235 (diary-list-entries): Update for the above.
6236 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6238 2014-10-10 Leo Liu <sdl.web@gmail.com>
6240 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6243 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6245 * select.el (gui-selection-exists-p-alist): New method.
6246 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6247 * simple.el (deactivate-mark): Use it.
6248 * term/x-win.el (gui-selection-exists-p):
6249 * term/w32-win.el (gui-selection-exists-p):
6250 * term/pc-win.el (gui-selection-exists-p):
6251 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6253 2014-10-10 Glenn Morris <rgm@gnu.org>
6255 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6256 Fix :type. Allow t to mean no limit.
6257 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6259 2014-10-09 Glenn Morris <rgm@gnu.org>
6261 * frame.el (display-monitor-attributes-list): Doc tweaks.
6263 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6265 * faces.el (display-grayscale-p): Mention in the doc string that
6266 the argument can be either a display name or a frame.
6268 * frame.el (display-pixel-height, display-pixel-width)
6269 (display-mm-height, display-mm-width, display-backing-store)
6270 (display-save-under, display-planes, display-color-cells)
6271 (display-visual-class, display-monitor-attributes-list)
6272 (display-screens): Mention in the doc string that the argument can
6273 be either a display name or a frame. Improve the docs of the
6274 monitor attributes. (Bug#18636)
6276 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6278 * term.el (term-window-width): Subtract 1 from the width when
6279 any fringe has zero width, not just the right fringe. (Bug#18601)
6281 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6285 2014-10-08 Leo Liu <sdl.web@gmail.com>
6287 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6289 2014-10-08 Glenn Morris <rgm@gnu.org>
6291 * calendar/cal-x.el (calendar-dedicate-diary):
6292 Drop support for recently deleted aliases.
6294 2014-10-08 Leo Liu <sdl.web@gmail.com>
6296 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6297 Always return a syntax. Replace call-process-shell-command with
6298 process-file. Ensure cfengine-mode-syntax-functions-regex is
6299 always set. Ensure cache when cfengine-cf-promises fails.
6302 2014-10-07 Glenn Morris <rgm@gnu.org>
6304 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6306 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6308 Sync with upstream verilog-mode revision c075a492.
6309 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6310 (verilog-menu): Add AUTOINSERTLAST.
6311 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6312 is nil, fix indenting initial/final to match always statements, bug825.
6313 Reported by Tim Clapp.
6314 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6315 bug557. Reported by ZeDong Mao and Jason Forkey.
6316 (verilog-read-decls): Fix parsing typed interfaces.
6317 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6318 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6319 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6320 Reported by Pierre-David Pfister.
6321 (verilog-auto-insert-lisp): Doc fix.
6322 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6323 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6324 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6325 (verilog-sk-uvm-component): Fix missing string keyword in class
6326 skeletons, bug824. Reported by eldad faruhi.
6328 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6330 * term/w32-win.el: Move all code from 32-common-fns.el here.
6331 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6332 console as well (bug#18629).
6333 * w32-common-fns.el: Remove.
6334 * loadup.el: Don't load w32-common-fns.el.
6335 * w32-fns.elc: Don't require w32-common-fns.
6337 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6338 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6339 Remove redundant obsolescence thingy.
6340 * loadup.el: Don't load obsolete/loaddefs.el.
6341 * Makefile.in (obsolete-autoloads): Remove.
6342 (AUTOGENEL): Remove obsolete/loaddefs.el.
6344 2014-10-06 Glenn Morris <rgm@gnu.org>
6346 * Makefile.in (obsolete-autoloads): Write to a separate file,
6347 to workaround autoloads bug. (Bug#17407)
6348 (AUTOGENEL): Add obsolete/loaddefs.el.
6349 * loadup.el: Load obsolete/loaddefs.el if present.
6350 * subr.el (do-after-load-evaluation):
6351 Don't warn about obsolete/loaddefs.el.
6353 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6354 It has zero relationship to a game.
6356 2014-10-06 Leo Liu <sdl.web@gmail.com>
6358 * imenu.el (imenu): Re-write for clarity.
6360 2014-10-06 Glenn Morris <rgm@gnu.org>
6362 Remove calendar code obsolete since at least version 23.1.
6363 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6364 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6365 (calendar-goto-bahai-date, list-bahai-diary-entries)
6366 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6367 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6368 (insert-yearly-bahai-diary-entry):
6369 * calendar/cal-china.el (chinese-calendar-time-zone)
6370 (chinese-calendar-location-name)
6371 (chinese-calendar-daylight-time-offset)
6372 (chinese-calendar-standard-time-zone-name)
6373 (chinese-calendar-daylight-time-zone-name)
6374 (chinese-calendar-daylight-savings-starts)
6375 (chinese-calendar-daylight-savings-ends)
6376 (chinese-calendar-daylight-savings-starts-time)
6377 (chinese-calendar-daylight-savings-ends-time)
6378 (chinese-calendar-celestial-stem)
6379 (chinese-calendar-terrestrial-branch)
6380 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6381 (calendar-goto-chinese-date):
6382 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6383 (calendar-print-coptic-date, coptic-prompt-for-date)
6384 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6385 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6386 * calendar/cal-french.el (calendar-absolute-from-french)
6387 (calendar-print-french-date, calendar-goto-french-date):
6388 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6389 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6390 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6391 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6392 (holiday-passover-etc, holiday-tisha-b-av-etc)
6393 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6394 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6395 (insert-monthly-hebrew-diary-entry)
6396 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6397 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6398 (diary-sabbath-candles):
6399 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6400 (calendar-print-islamic-date, calendar-goto-islamic-date)
6401 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6402 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6403 (insert-monthly-islamic-diary-entry)
6404 (insert-yearly-islamic-diary-entry):
6405 * calendar/cal-iso.el (calendar-absolute-from-iso)
6406 (calendar-print-iso-date, calendar-iso-read-args)
6407 (calendar-goto-iso-date, calendar-goto-iso-week):
6408 * calendar/cal-julian.el (calendar-absolute-from-julian)
6409 (calendar-print-julian-date, calendar-goto-julian-date)
6410 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6411 (calendar-goto-astro-day-number):
6412 * calendar/cal-mayan.el (calendar-print-mayan-date)
6413 (calendar-next-haab-date, calendar-previous-haab-date)
6414 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6415 (calendar-next-calendar-round-date)
6416 (calendar-previous-calendar-round-date)
6417 (calendar-absolute-from-mayan-long-count)
6418 (calendar-goto-mayan-long-count-date):
6419 * calendar/cal-move.el (scroll-calendar-left)
6420 (scroll-calendar-right, scroll-calendar-left-three-months)
6421 (scroll-calendar-right-three-months):
6422 * calendar/cal-persia.el (calendar-absolute-from-persian)
6423 (calendar-print-persian-date, persian-prompt-for-date)
6424 (calendar-goto-persian-date):
6425 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6426 * calendar/calendar.el (view-diary-entries-initially)
6427 (mark-diary-entries-in-calendar, calendar-today-face)
6428 (diary-face, holiday-face, view-calendar-holidays-initially)
6429 (mark-holidays-in-calendar, initial-calendar-window-hook)
6430 (today-visible-calendar-hook, today-invisible-calendar-hook)
6431 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6432 (bahai-diary-entry-symbol, american-date-diary-pattern)
6433 (european-date-diary-pattern, european-calendar-display-form)
6434 (american-calendar-display-form, holidays-in-diary-buffer)
6435 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6436 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6437 (fancy-diary-buffer, increment-calendar-month)
6438 (extract-calendar-month, extract-calendar-day)
6439 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6440 (mark-visible-calendar-date, calendar-version):
6441 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6442 (diary-display-hook, list-diary-entries-hook)
6443 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6444 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6445 (abbreviated-calendar-year, number-of-diary-entries)
6446 (view-other-diary-entries, add-to-diary-list)
6447 (include-other-diary-files, simple-diary-display)
6448 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6449 (mark-sexp-diary-entries, mark-included-diary-files)
6450 (mark-calendar-days-named, mark-calendar-month)
6451 (mark-calendar-date-pattern, sort-diary-entries)
6452 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6453 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6454 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6455 (insert-block-diary-entry, insert-cyclic-diary-entry)
6456 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6457 * calendar/holidays.el (general-holidays, oriental-holidays)
6458 (local-holidays, other-holidays, hebrew-holidays)
6459 (christian-holidays, islamic-holidays, bahai-holidays)
6460 (solar-holidays, list-calendar-holidays)
6461 (check-calendar-holidays, mark-calendar-holidays)
6462 (filter-visible-calendar-holidays):
6463 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6464 (diary-phases-of-moon): Remove obsolete aliases.
6465 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6466 * calendar/cal-x.el (calendar-one-frame-setup)
6467 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6468 Remove obsolete functions.
6469 (cal-x-load-hook): Remove obsolete hook.
6470 * calendar/calendar.el (european-calendar-style):
6471 Remove obsolete variable.
6472 (calendar-date-style): No longer consult european-calendar-style.
6473 * calendar/calendar.el (european-calendar, american-calendar):
6474 Remove obsolete commands.
6475 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6476 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6477 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6478 Use the face `diary' instead of the variable `diary-face'.
6479 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6480 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6481 * calendar/icalendar.el (icalendar--date-style): Remove function.
6482 Replace all uses with calendar-date-style.
6483 * textmodes/remember.el (calendar-date-style): Declare.
6484 (remember-diary-convert-entry):
6485 No longer consult european-calendar-style.
6487 2014-10-05 Leo Liu <sdl.web@gmail.com>
6489 * imenu.el (imenu-default-goto-function): Fix typo.
6491 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6493 * net/ntlm.el (ntlm-build-auth-request):
6494 Add NTLM2 Session support. (Bug#15603)
6496 2014-10-04 Glenn Morris <rgm@gnu.org>
6498 * apropos.el (apropos-symbols-internal):
6499 Avoid error with non-symbol properties. (Bug#18337#16)
6501 * startup.el (command-line):
6502 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6504 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6506 * window.el (window-full-height-p): Make it behave correctly for
6508 (window-current-scroll-bars): Fix code.
6509 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6511 * frame.el (frame-current-scroll-bars): Fix doc-string.
6512 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6514 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6516 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6518 2014-10-04 Glenn Morris <rgm@gnu.org>
6520 * frame.el (frame-monitor-attributes)
6521 (display-monitor-attributes-list): Doc fixes.
6523 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6525 Merge trivially safe differences from standalone CC-mode.
6526 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6527 just to then pass it to `symbol-value'.
6528 (prog-mode): Provide fallback definition, if needed.
6529 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6530 Remove "cl-" prefix accordingly.
6531 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6532 characterp depending on the type of characters.
6533 (c-font-lock-enum-tail): Remove unused var `start'.
6534 * progmodes/cc-engine.el: Load CL at compile-time.
6535 (c-declare-lang-variables): Use mapcan.
6536 (c-append-to-state-cache): Remove unused var `ce+1'.
6537 (c-parse-state-state): Make buffer-local.
6538 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6539 (c-just-after-func-arglist-p): Remove unused var `end'.
6540 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6541 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6542 (c-make-keywords-re): Use delete-dups.
6543 (c-get-current-file): Avoid file-name-base.
6544 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6545 `close-paren-inserted'.
6546 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6548 * progmodes/python.el: Avoid building unneeded markers.
6549 (python-font-lock-keywords, python-indent-dedent-line)
6550 (python-fill-paren, python-shell-completion-complete-or-indent):
6551 Prefer point over point-marker.
6552 (inferior-python-mode): Remove redundant completion settings.
6554 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6556 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6557 (vc-svn-ignore): Use it. (Bug#18619)
6559 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6561 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6562 In doc-string mention need to set `frame-resize-pixelwise'.
6564 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6566 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6567 similarly to Rogers's 2010-06-16 change for the remote case
6570 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6572 New gui-selection-value consolidating x-selection-value.
6573 * select.el (gui-selection-value-alist): New method.
6574 (gui-selection-value): New function.
6575 (x-selection-value): Make it an obsolete alias.
6576 * simple.el (interprogram-paste-function): Default to
6577 gui-selection-value.
6578 * w32-common-fns.el (w32-get-selection-value): Simplify.
6579 (x-selection-value): Remove alias.
6580 (interprogram-paste-function): Don't set.
6581 (gui-selection-value): Define for w32.
6582 * term/x-win.el (gui-selection-value): Define for x.
6583 (x--selection-value): Rename from x--selection-value.
6584 (interprogram-paste-function): Don't set.
6585 * term/pc-win.el (w16-get-selection-value): Simplify.
6586 (msdos-initialize-window-system): Don't set
6587 interprogram-paste-function.
6588 (gui-selection-value): Define for pc.
6589 * term/ns-win.el (x-selection-value): Remove.
6590 (gui-selection-value): Define for ns, instead.
6591 * term/common-win.el (x-setup-function-keys): Don't set
6592 interprogram-paste-function.
6593 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6594 Use gui-selection-value.
6596 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6598 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6600 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6602 * obsolete/lucid.el (read-number): Remove, redundant.
6603 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6606 2014-10-02 Glenn Morris <rgm@gnu.org>
6608 * emacs-lisp/package.el (package-import-keyring):
6609 Create gnupg directory private. (Bug#17625#155)
6611 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * progmodes/python.el (python-shell-completion-get-completions):
6614 Use python-shell--prompt-calculated-input-regexp from the
6615 process buffer (bug#18582).
6616 Don't assume that `line' comes from the process buffer.
6618 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6620 * frame.el: Use lexical-binding (bug#18598).
6621 (make-frame): Use t rather than nil for tty's window-system.
6622 * startup.el (command-line): Use gui-method.
6624 Consolidate management/ownership of selections.
6625 * select.el (gui-get-selection-alist): New method.
6626 (gui-get-selection): Use it. Rename from x-get-selection.
6627 (x-get-selection): Define as obsolete alias.
6628 (x-get-clipboard): Mark obsolete.
6629 (gui-get-primary-selection): New function.
6630 (x-get-selection-value): Mark obsolete.
6631 (gui-own-selection-alist, gui-disown-selection-alist)
6632 (gui-selection-owner-p-alist): New methods.
6633 (gui-set-selection): Use them. Rename from x-set-selection.
6634 (x-set-selection): Define as obsolete alias.
6635 (gui--valid-simple-selection-p): Rename from
6636 x-valid-simple-selection-p.
6637 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6638 (gui-selection-owner-p, gui-get-selection): Define for w32.
6639 (w32-get-selection-value): Rename from x-get-selection-value.
6640 Use the new gui-last-selected-text.
6641 * term/x-win.el (x-get-selection-value): Remove.
6642 (x-clipboard-yank): Declare obsolete.
6643 (gui-own-selection, gui-disown-selection, gui-get-selection)
6644 (gui-selection-owner-p): Define for x.
6645 * term/w32-win.el (w32-win-suspend-error): Rename from
6646 x-win-suspend-error.
6647 * term/pc-win.el (w16-get-selection-value): Rename from
6648 x-get-selection-value.
6649 (w16-selection-owner-p): Rename from x-selection-owner-p.
6650 (gui-own-selection, gui-disown-selection, gui-get-selection)
6651 (gui-selection-owner-p): Define for pc.
6652 (w16--select-text): New function.
6653 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6654 (gui-get-selection, gui-selection-owner-p): Define for ns.
6655 * term.el (term-mouse-paste):
6656 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6658 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6660 * calc/calc-help.el (calc-describe-thing): Quote strings
6661 which could look like regexps.
6663 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6665 Consolidate x-select-text.
6666 * frame.el (gui-method, gui-method-define, gui-method-declare)
6667 (gui-call): New macros.
6668 (gui-method--name): New function.
6669 (frame-creation-function-alist): Use gui-method-declare.
6670 (make-frame): Use gui-method.
6671 * select.el (gui-select-enable-clipboard): Rename from
6672 x-select-enable-clipboard and move here.
6673 (x-select-enable-clipboard): Define as obsolete alias.
6674 (gui-last-selected-text): New var, to replace x-last-selected-text.
6675 (gui-select-text): New GUI method.
6676 (gui-select-text): New function.
6677 (x-select-text): Define as obsolete alias.
6678 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6680 * simple.el (interprogram-cut-function): Change default to
6682 (interprogram-paste-function): Change default to `ignore'.
6683 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6684 * term/x-win.el (interprogram-cut-function): Don't modify.
6685 (gui-select-text): Add method for x.
6686 * term/w32-win.el (gui-select-text): Add method for w32.
6687 * term/pc-win.el (x-last-selected-text): Remove, use
6688 gui-last-selected-text instead.
6689 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6690 (gui-select-text): Add method for pc.
6691 * term/ns-win.el (ns-last-selected-text): Remove, use
6692 gui-last-selected-text instead.
6693 (gui-select-text): Add method for ns.
6694 (x-setup-function-keys): Don't change interprogram-cut-function.
6695 * loadup.el ("startup"): Load after "frame".
6696 * subr.el (package--builtin-versions, package--description-file):
6697 Move from startup.el.
6698 * startup.el (package--builtin-versions, package--description-file):
6700 (handle-args-function-alist, window-system-initialization-alist):
6701 Use gui-method-declare.
6702 (command-line): Use gui-method.
6704 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * subr.el (alist-get): New accessor.
6707 * emacs-lisp/gv.el (alist-get): Provide expander.
6708 * winner.el (winner-remember):
6709 * tempo.el (tempo-use-tag-list):
6710 * progmodes/gud.el (minor-mode-map-alist):
6711 * international/mule-cmds.el (define-char-code-property):
6712 * frameset.el (frameset-filter-params):
6713 * files.el (dir-locals-set-class-variables):
6714 * register.el (get-register, set-register):
6715 * calc/calc-yank.el (calc-set-register): Use it.
6716 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6717 * tooltip.el (tooltip-set-param): Mark as obsolete.
6718 (tooltip-show): Use alist-get instead.
6719 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6721 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6723 * net/newst-backend.el: Remove Time-stamp. Rename variable
6724 `newsticker--download-logos' to `newsticker-download-logos' and
6725 make it customizable.
6726 (newsticker--sentinel-work): Move xml-workarounds to function
6727 `newsticker--do-xml-workarounds', call unless libxml-parser is
6728 used. Allow single quote in regexp for encoding.
6729 Use libxml-parser if available, else fall back to `xml-parse-region'.
6730 Take care of possibly missing namespace prefixes (like "RDF"
6731 instead of "rdf:RDF") when checking xml nodes and attributes (as
6732 libxml correctly removes the prefixes). Always use Atom 1.0 as
6733 fallback feed type. Rename `newsticker--download-logos' to
6734 `newsticker-download-logos'
6735 (newsticker--unxml, newsticker--unxml-node)
6736 (newsticker--unxml-attribute): New.
6737 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6738 HTML code has become part of the xml parse tree.
6739 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6740 of possibly missing namespace prefixes.
6741 (newsticker--parse-generic-items): Code formatting. Typo.
6742 (newsticker--images-dir): Add trailing slash.
6743 (newsticker--image-get): Fix error message.
6745 * net/newst-plainview.el: Remove Time-stamp.
6747 * net/newst-reader.el: Remove Time-stamp.
6748 (newsticker-download-logos): Rename variable
6749 `newsticker--download-logos' to `newsticker-download-logos' and
6750 make it customizable.
6751 (newsticker--print-extra-elements): Add optional parameter
6752 'htmlish for using html markup. Amend list of ignored elements.
6753 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6756 * net/newst-ticker.el: Remove Time-stamp.
6758 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6759 for formatting extra elements.
6761 * net/newsticker.el: Remove Time-stamp, Version.
6762 (newsticker-version): Make obsolete.
6764 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6766 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6769 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * emacs-lisp/package.el (package-check-signature): Default to nil if
6772 GPG is not available.
6773 (package-refresh-contents): Don't mess with the keyring if we won't
6774 check the signatures anyway.
6776 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6778 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6779 (ses-center, ses-center-span): Use them.
6780 (ses-print-cell): Bind them while calling the printer.
6781 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6782 (ses-dorange): Revert last change.
6783 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6785 (ses-set-cell): Avoid `eval'.
6786 (ses--time-check): Rename it from ses-time-check and turn it into
6789 * ses.el (ses-setup): Don't assume modifying the iteration var of
6790 dotimes affects the iteration (bug#18191).
6792 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6794 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6795 their values with 'cl-progv'.
6796 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6797 their values with 'cl-progv', also use non-interned symbols for
6798 row, minrow, maxrow, mincol and maxcol.
6799 (maxrow maxcol): New defvar, to make the compiler happy.
6801 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6803 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6804 completion functions.
6806 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6808 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6810 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6812 Font-lock `cl-flet*', too.
6813 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6814 Add "flet*" to intermediate var `cl-lib-kw'.
6816 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * epg-config.el (epg-gpg-program): Use the plain program names rather
6819 than their absolute file name.
6821 * subr.el (track-mouse): New macro.
6822 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6823 Remove track-mouse case.
6824 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6826 2014-09-27 Leo Liu <sdl.web@gmail.com>
6828 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6830 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6832 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6834 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6835 Handle the case where `match' is :pcase--succeed or :pcase--fail
6838 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6839 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6840 (eldoc-schedule-timer): Obey it.
6841 (eldoc-documentation-function): Default to nil.
6842 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6843 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6844 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6845 (eldoc-last-data-store, eldoc-docstring-first-line)
6846 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6847 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6848 (eldoc-function-argstring): Move to elisp-mode.el.
6849 (eldoc-symbol-function): Remove, unused.
6850 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6851 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6852 (elisp--preceding-sexp): Rename from preceding-sexp.
6853 * loadup.el: Load new file progmodes/elisp-mode.
6854 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6855 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6856 (lisp--local-variables-completion-table, lisp--expect-function-p)
6857 (lisp--form-quoted-p, lisp--company-doc-buffer)
6858 (lisp--company-doc-string, lisp--company-location)
6859 (lisp-completion-at-point): Move to elisp-mode.el.
6860 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6861 extracted from emacs-lisp-mode-syntax-table.
6862 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6864 (lisp-imenu-generic-expression): Add comments to document what comes
6865 from which Lisp dialect.
6866 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6867 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6868 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6869 (emacs-lisp-byte-code-comment)
6870 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6871 (lisp-interaction-mode-map, lisp-interaction-mode)
6872 (eval-print-last-sexp, last-sexp-setup-props)
6873 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6874 (eval-last-sexp-1, eval-last-sexp-print-value)
6875 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6876 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6878 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6880 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6881 Do not match file names that end in '/', as they cannot be 'grep'
6882 hits nowadays. This prevents confusion when 'grep -r' reports a
6883 match in a file whose basename is ':12345:'. Conversely, do not
6884 require exactly the same sequence of spaces and tabs after both
6885 colons, and allow spaces or tabs before the second colon, as per
6886 the POSIX spec for 'grep' output.
6888 2014-09-26 Leo Liu <sdl.web@gmail.com>
6890 Add cl-parse-integer based on parse-integer (Bug#18557)
6891 * calendar/parse-time.el (parse-time-digits): Remove.
6892 (digit-char-p, parse-integer) Moved to cl-lib.el.
6893 (parse-time-tokenize, parse-time-rules, parse-time-string):
6894 Use cl-parse-integer.
6896 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6898 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6899 (cl-digit-char-p): New function.
6901 2014-09-25 Juri Linkov <juri@jurta.org>
6903 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6904 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6905 Return the current buffer if no files match the default pattern
6906 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6908 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6910 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6911 the global vc-handled-backends (bug#18535).
6913 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6915 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6916 Suggested by <lompik@voila.fr>.
6918 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6920 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6921 Rename from `newsticker--treeview-do-get-node'.
6922 (newsticker--treeview-get-node-by-id):
6923 Rename from `newsticker--treeview-get-node'.
6924 (newsticker--treeview-buffer-init)
6925 (newsticker--treeview-buffer-init): Disable buffer undo.
6926 (newsticker--treeview-unfold-node): Adapt to modified
6927 `newsticker--group-find-parent-group'.
6928 (newsticker--group-do-find-group):
6929 Rename from `newsticker--group-do-find-group-for-feed'.
6930 Now works for both, groups and feeds.
6931 (newsticker--group-find-parent-group):
6932 Rename from `newsticker--group-find-group-for-feed'.
6933 Now works for both, groups and feeds.
6934 (newsticker--group-do-get-parent-group)
6935 (newsticker--group-get-parent-group): Remove.
6936 (newsticker-group-add-group): Change interactive prompts.
6937 (newsticker-group-add-group): Finally jump to added group.
6938 (newsticker-group-delete-group): Finally jump to current feed.
6939 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6940 (newsticker--get-group-names, newsticker--group-names): New.
6941 (newsticker-group-move-feed): Finally jump to moved feed.
6942 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6943 (newsticker-group-shift-group-down)
6944 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6945 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6947 * net/newst-backend.el (newsticker--item-list)
6948 (newsticker--item-position, newsticker--prev-message)
6949 (newsticker--scrollable-text): Move to newst-ticker.el.
6951 * net/newst-ticker.el (newsticker--item-list)
6952 (newsticker--item-position, newsticker--prev-message)
6953 (newsticker--scrollable-text): Move from newst-backend.el.
6955 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6957 * window.el (fit-window-to-buffer): When counting buffer width,
6958 count the whole visible buffer. Correctly convert the body-height
6959 to pixel size for window-text-pixel-size (Bug#18498).
6961 2014-09-22 Sam Steingold <sds@gnu.org>
6963 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6964 (sql-execute): Use `special-mode'.
6966 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6968 Add pcase-defmacro, as well as `quote' and `app' patterns.
6969 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6970 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6971 (pcase--funcall, pcase--eval): New functions.
6972 (pcase--u1): Use them for guard, pred, let, and app.
6973 (\`): Use the new feature to generate better code for vector patterns.
6974 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6975 (pcase--upat): Remove.
6976 (pcase--macroexpand): Don't hardcode handling of `.
6977 (pcase--split-consp, pcase--split-vector): Remove.
6978 (pcase--split-equal): Disregard ` since it's expanded away.
6979 (pcase--split-member): Optimize for quote rather than for `.
6980 (pcase--split-pred): Optimize for quote rather than for `.
6981 (pcase--u1): Remove handling of ` (and of `or' and `and').
6982 Quote non-selfquoting values when passing them to `eq'.
6983 Drop `app's let-binding if the variable is not used.
6984 (pcase--q1): Remove.
6985 (`): Define as a pattern macro.
6986 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6987 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6988 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6990 (pcase--split-match): Don't hoist or/and here any more.
6991 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6992 (pcase--flip): New helper macro.
6993 (pcase--u1): Optimize the memq case directly.
6994 Don't handle neither self-quoting nor and/or patterns any more.
6995 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6996 (pcase--macroexpand): New function.
6997 (pcase--expand): Use it.
6998 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6999 New optimization functions.
7000 (pcase--u1): Add support for `quote' and `app'.
7001 (pcase): Document them in the docstring.
7003 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7005 Use lexical-bindin in Ibuffer.
7006 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7007 (ibuffer-compile-format): Simplify.
7008 (ibuffer-clear-summary-columns): Simplify.
7009 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7010 elem of dotimes when we don't refer to the iteration var from it.
7011 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7012 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7013 Silence byte-compiler.
7015 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7017 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7018 expression for a list.
7020 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7021 for functions with no arguments.
7023 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7024 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7026 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7028 * simple.el (clone-indirect-buffer): Mention the return value
7031 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7032 Text mode in docstring (bug#18464).
7034 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7037 Accept underscores in identifiers after "sub" (bug#18502).
7039 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7041 * textmodes/reftex-sel.el (reftex-select-label-mode)
7042 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7043 from special-mode (instead of fundamental-mode) and propertize
7044 with font-lock-face instead of just face. (Bug#18496)
7046 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7048 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7050 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7051 `table-etc' when `end' is non-nil.
7052 (lisp-completion-at-point): Move `end' back if it's after quote.
7053 If in comment or string, only complete when after backquote.
7055 (lisp-completion-at-point): Don't use
7056 `lisp--local-variables-completion-table' in the
7057 `lisp--form-quoted-p' case.
7059 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7061 * emacs-lisp/lisp.el (lisp--expect-function-p)
7062 (lisp--form-quoted-p): New functions.
7063 (lisp-completion-at-point): Use them to see if we're completing a
7064 variable reference, a function name, or just any symbol.
7065 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7067 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7069 * net/shr.el, net/eww.el: Don't override `shr-width', but
7070 introduce a new variable `shr-internal-width'. This allows users
7071 to specify a width themselves.
7073 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7075 * image-mode.el (image-toggle-display-image): If we have a
7076 `fit-width' or a `fit-height', don't limit the size of the image
7077 to the window size, because that doesn't preserve the aspect ratio.
7078 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7081 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7083 * progmodes/js.el: Add interpreter-mode-alist support for various
7084 JavaScript interpreters.
7086 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7088 Don't assume 'grep' supports GREP_OPTIONS.
7089 The GREP_OPTIONS environment variable is planned to be marked
7090 obsolescent in GNU grep, due to problems in its use, so stop
7092 * progmodes/grep.el (grep-highlight-matches): Document this.
7093 (grep-process-setup): Do not set GREP_OPTIONS.
7094 (grep-compute-defaults): Use an explicit --color option if supported.
7096 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7098 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7099 Don't add outdated key-shortcut cache (bug#18482).
7101 2014-09-15 Glenn Morris <rgm@gnu.org>
7103 * image.el (image-multi-frame-p): Fix thinko - do not force
7104 a delay if none was specified. (Bug#18334)
7106 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7108 * window.el (fit-window-to-buffer): Doc fix.
7110 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7112 * desktop.el (desktop-create-buffer): Check that buffers are still live
7113 before burying them (bug#18373).
7115 2014-09-15 Glenn Morris <rgm@gnu.org>
7117 * calendar/diary-lib.el (diary-list-entries):
7118 Restore 24.3 display behavior. (Bug#18381)
7120 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7122 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7123 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7124 discrepancy between window-pixel-edges and mouse events, and
7125 avoids moving mode line up when the mouse click is on the modeline
7126 and no drag is attempted.
7128 2014-09-14 Daniel Colascione <dancol@dancol.org>
7130 * register.el (insert-register): Change default interactive
7133 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7135 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7136 Suppress debug messages.
7138 * net/tramp.el (tramp-file-name-handler):
7139 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7142 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7144 * calendar/calendar.el (calendar-update-mode-line):
7145 Do not overwrite mode-line-format if calendar-mode-line-format is
7148 2014-09-13 Leo Liu <sdl.web@gmail.com>
7150 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7151 (pcase--expand): Use it.
7152 (pcase-exhaustive): New macro. (Bug#16567)
7154 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7155 Add pcase-exhaustive.
7157 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7159 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7160 using the specified transfer-encoding, if any, or 'undecided'.
7161 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7162 broken at the window margin.
7164 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7166 Support rendering of HTML parts in Rmail (bug#4258).
7167 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7168 separately from other text/ types. Suppress tagline for
7170 (rmail-mime-parse): Don't change visibility of tagline here.
7171 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7172 Handle text/html specially.
7173 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7174 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7175 (rmail-mime-render-html-lynx): New functions.
7176 (rmail-mime-fix-inserted-faces): New function.
7177 (rmail-mime-process-multipart): Find the best part to show
7178 following rmail-mime-prefer-html if set.
7179 (rmail-mime-searching): New variable.
7180 (rmail-search-mime-message): Bind rmail-mime-searching to
7181 suppress rendering while searching.
7183 2014-09-12 Sam Steingold <sds@gnu.org>
7185 * progmodes/sql.el (sql-product-alist): Add vertica.
7186 (sql-vertica-program, sql-vertica-options)
7187 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7188 New functions and variables to support Vertica.
7189 Inspired by code by Roman Scherer <roman@burningswell.com>.
7191 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7193 * ses.el (ses-file-format-extend-parameter-list): Rename from
7194 ses-file-format-extend-paramter-list, to correct a misspelling.
7197 2014-09-10 Alan Mackenzie <acm@muc.de>
7199 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7200 gets loaded at run-time).
7201 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7202 c-lang-const to c-make-no-parens-syntax-table and correct the
7204 (c-no-parens-syntax-table): Correct the logic of the
7207 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7209 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7211 * progmodes/cc-mode.el (c-basic-common-init):
7212 Set open-paren-in-column-0-is-defun-start.
7213 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7214 Remove declarations, unused.
7215 (run-mode-hooks): Remove declaration.
7216 (font-lock-defaults): Use plain `defvar' to declare.
7217 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7218 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7219 (c-make-mode-syntax-table): Don't micro-optimize.
7220 (c-keywords, c-keyword-member-alist): Simplify.
7221 (c-kwds-lang-consts): Don't eval at compile-time.
7222 (c-primary-expr-regexp): Comment out unused vars.
7223 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7224 (c-font-byte-compile): New var.
7225 (c--compile): New function. Use it instead of `byte-compile'.
7226 (c-cpp-matchers): Quote the value returned by
7227 `c-make-syntactic-matcher' in case it's not self-evaluating.
7228 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7229 parentheses instead (in case MATCHER happens to be a list).
7230 (c-font-lock-enum-tail): Remove unused var `start'.
7231 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7232 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7233 test into an argument.
7234 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7235 (c-get-char-property): Don't use `eval' just to unquote a constant.
7236 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7238 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7239 (c-clear-char-property, c-clear-char-properties): Check that `property'
7240 is a quoted constant.
7241 (c-emacs-features): Remove `infodock', `syntax-properties', and
7242 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7243 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7244 changing buffer, so we don't have to setq them again afterwards.
7245 (c-lang-const): Remove redundant symbolp assertions.
7246 (c-find-assignment-for-mode): Use `or'.
7247 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7249 2014-09-09 Sam Steingold <sds@gnu.org>
7251 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7253 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7256 Change doc comments into docstrings.
7257 * Makefile.in: Remove cc-awk dependency.
7259 2014-09-08 Sam Steingold <sds@gnu.org>
7261 * progmodes/sql.el (sql-send-line-and-next): New command,
7263 (sql-show-sqli-buffer): Display the buffer instead of its name and
7264 bind the command to C-c C-z.
7265 (sql-default-directory): New user option.
7266 (sql-product-interactive): Bind `default-directory' to it to
7267 enable remote connections using Tramp.
7268 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7269 suitable buffer is available.
7271 2014-09-08 Glenn Morris <rgm@gnu.org>
7273 * calendar/calendar.el (calendar-basic-setup):
7274 Fix calendar-view-holidays-initially-flag and fancy display.
7275 * calendar/diary-lib.el (diary-live-p): Doc fix.
7277 * calendar/calendar.el (calendar-basic-setup):
7278 Avoid clobbering calendar with diary. (Bug#18381)
7280 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7284 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7286 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7287 as well (bug#18400).
7289 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7291 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7293 2014-09-06 Leo Liu <sdl.web@gmail.com>
7295 * emacs-lisp/pcase.el (pcase): Doc fix.
7296 (pcase--split-vector): New function.
7297 (pcase--q1): Support vector qpattern. (Bug#18327)
7299 2014-09-05 Sam Steingold <sds@gnu.org>
7301 * textmodes/tex-mode.el (tex-print-file-extension): New user
7303 (tex-print): Use it instead of the hard-coded string.
7305 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7307 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7308 Expand `default-directory'.
7310 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7312 * scroll-bar.el (horizontal-scroll-bars-available-p):
7314 (horizontal-scroll-bar-mode): Rewrite using
7315 horizontal-scroll-bars-available-p.
7316 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7317 horizontal-scroll-bars-available-p.
7319 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * subr.el (call-process-shell-command, process-file-shell-command):
7322 Make the `args' obsolete (bug#18409).
7323 (start-process-shell-command, start-file-process-shell-command):
7326 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7328 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7329 "negative" hms forms.
7331 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7333 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7334 returns nil (bug#18391).
7336 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7339 terminating paren (bug#18352).
7340 (eldoc-last-data-store): Return cached data.
7341 (eldoc-get-var-docstring): Avoid setq.
7342 (eldoc-get-fnsym-args-string): Clarify data flow.
7344 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7346 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7347 case where we're currently providing part of the &rest arg after some
7348 &key args, as in define-ibuffer-op (bug#18048).
7350 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7352 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7353 buffer-local setting of which-func-mode.
7354 (which-func-mode): Use defvar-local.
7355 (which-function-mode): Don't reset which-func-mode in each buffer since
7356 it might have been set by someone else.
7357 (which-func-update-ediff-windows): Check which-function-mode.
7359 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7361 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7362 from frame-initial-frame-alist.
7363 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7364 (horizontal-scroll-bar-mode-explicit)
7365 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7366 (toggle-horizontal-scroll-bar): Remove.
7367 (horizontal-scroll-bar-mode): Remove defcustom.
7368 (horizontal-scroll-bar-mode): Fix doc-string.
7369 (scroll-bar-toolkit-scroll)
7370 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7372 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7374 * emacs-lisp/package.el (package-generate-description-file):
7375 Properly quote the arguments (bug#18332). Change second arg.
7376 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7378 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7379 the *-pkg.el file. Adjust to new calling convention of
7380 package-generate-description-file.
7382 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7383 (gud-gdb-completions): Remove obsolete workaround.
7385 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7387 * subr.el (posn-col-row): Revert the change from commit
7388 2010-11-13T21:07:58Z!eliz@gnu.org, which
7389 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7390 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7391 introduced an off-by-one error in the reported row when there is a
7392 header line. (Bug#18384)
7394 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7396 * progmodes/python.el (python-indent-post-self-insert-function):
7397 Avoid electric colon at beginning-of-defun. (Bug#18228)
7399 2014-09-03 Glenn Morris <rgm@gnu.org>
7401 * tutorial.el (tutorial--display-changes):
7402 Fix 2014-08-01 change. (Bug#18382)
7404 2014-09-03 Ken Brown <kbrown@cornell.edu>
7406 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7407 the Cygwin-w32 build. (Bug#18347)
7409 2014-09-03 Glenn Morris <rgm@gnu.org>
7411 * tar-mode.el (tar--extract, tar-extract):
7412 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7414 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7417 handle multiline elements (bug#18380).
7419 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7421 * ls-lisp.el (ls-lisp-use-string-collate)
7422 (ls-lisp-UCA-like-collation): New defcustoms.
7423 (ls-lisp-string-lessp): Use them to control sorting by file
7425 (ls-lisp-version-lessp): New function.
7426 (ls-lisp-handle-switches): Use it to implement the -v switch of
7428 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7430 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7432 * ibuffer.el: Replace mode-specific quit function with
7433 `quit-window' via `special-mode'.
7434 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7436 (ibuffer): Don't store previous windows configuration.
7437 Let `quit-window' handle restoring.
7438 (ibuffer-quit): Remove function. Use `quit-window' instead.
7439 (ibuffer-restore-window-config-on-quit): Remove variable.
7440 (ibuffer-prev-window-config): Remove variable.
7442 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7444 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7445 name instead of variable name in hook docstring. (Bug#18349)
7447 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7449 * window.el (display-buffer-at-bottom): Prefer bottom-left
7450 window to other bottom windows. Reuse a bottom window if it
7451 shows the buffer already. Suggested by Juri Linkov
7452 <juri@jurta.org> in discussion of (Bug#18181).
7454 2014-08-29 Leo Liu <sdl.web@gmail.com>
7456 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7457 append to minibuffer-setup-hook. (Bug#18341)
7459 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7463 (lookup-syntax-properties): Silence byte-compiler.
7464 (c-lang-defconst): Quote the code with `lambda' rather than with
7466 (c-lang-const): Avoid unneeded setq.
7467 (c-lang-constants-under-evaluation): Add docstring.
7468 (c-lang--novalue): New constant.
7469 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7470 (c-get-lang-constant): Same here.
7471 Get the mode's value using `funcall' now that the code is quoted
7474 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7476 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7479 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7481 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7482 interpretation of `portion-whole'.
7484 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7486 * net/tramp-adb.el: Spell author name correctly.
7488 2014-08-28 João Távora <joaotavora@gmail.com>
7490 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7491 use url-expand-file-name. (Bug#18310)
7493 2014-08-28 Glenn Morris <rgm@gnu.org>
7495 * emulation/cua-rect.el (cua--highlight-rectangle):
7496 Avoid error at point-min. (Bug#18309)
7498 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7500 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7501 executable-find (bug#18244).
7503 * simple.el (self-insert-uses-region-functions): Defvar.
7505 2014-08-28 Glenn Morris <rgm@gnu.org>
7507 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7509 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7511 * startup.el (normal-top-level): Now use internal--top-level-message.
7513 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7515 * startup.el (normal-top-level): Use top-level-message.
7517 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7519 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7520 URLs containing spaces and the like.
7522 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7524 * subr.el (remq): Fix docstring (Bug#18253).
7526 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7528 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7530 2014-08-24 Alan Mackenzie <acm@muc.de>
7532 Handle C++11's "auto" and "decltype" constructions.
7533 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7534 and return 'decltype.
7535 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7536 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7538 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7540 (c-font-lock-c++-new): Handle "decltype" constructions.
7541 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7542 New c-lang-defconsts/defvars.
7543 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7544 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7545 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7546 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7548 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7549 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7550 off from c->-op-cont-re.
7551 (c->-op-cont-tokens): Change to use the above.
7552 (c->-op-without->-cont-regexp): New lang-const.
7553 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7554 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7557 2014-08-23 Alan Mackenzie <acm@muc.de>
7559 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7560 loop, bug #18306. The bug was introduced on 2014-08-02.
7562 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7564 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7565 Don't recognize a Top node if there are other sectioning commands
7566 earlier in the Texinfo file. This fixes a bug in
7567 texinfo-make-menu and avoids inflooping in
7568 texinfo-all-menus-update when they are invoked on texinfo.texi.
7570 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7572 * window.el (window--side-window-p): New function.
7573 (split-window, window-splittable-p): Use window--side-window-p to
7574 determine whether WINDOW can be split (Bug#18304).
7575 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7576 `window-splittable-p' and add another (Bug#18304).
7578 2014-08-20 Sam Steingold <sds@gnu.org>
7580 * progmodes/python.el (python-new-pythonpath): Extract from
7581 `python-shell-calculate-process-environment'.
7583 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7585 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7586 for &key args (bug#18048).
7588 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7590 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7591 (eldoc-function-argstring-format): Remove.
7592 (eldoc-function-argstring): Always return upcase args.
7593 Use help-make-usage. Don't add parens.
7594 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7595 it's too late to do it right (bug#18048).
7597 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7599 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7600 (scroll-bar-toolkit-horizontal-scroll): When determining the
7601 paragraph direction, use the buffer of the window designated in
7604 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7606 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7607 context of unified diff.
7609 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7611 Add dependencies to fix loaddefs race during parallel builds.
7612 Without this, for example, 'make -j bootstrap' can fail and report
7613 "Opening input file: no such file or directory,
7614 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7615 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7616 got confused because diary-loaddefs.el was being built in parallel.
7617 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7618 Depend on $(CAL_DIR)/cal-loaddefs.el.
7619 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7621 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7623 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7624 portion-whole for scrolling right-to-left text.
7626 2014-08-15 Leo Liu <sdl.web@gmail.com>
7628 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7629 elements from imenu.
7631 2014-08-15 Glenn Morris <rgm@gnu.org>
7633 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7635 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7638 Add Guile regexpses.
7640 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7642 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7643 add Guile debugger support for GUD.
7645 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7648 (mouse-sel--ignore): New function.
7649 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7650 (mouse-sel-original-interprogram-cut-function)
7651 (mouse-sel-original-interprogram-paste-function): Remove.
7653 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7655 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7656 Call "git add" when there are no longer conflict markers.
7658 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7660 * vc/vc-git.el (vc-git-find-file-hook): New function.
7661 Adds support for calling smerge (and resolve) on a conflicted file.
7662 (vc-git-conflicted-files): New function.
7663 Useful in itself and a step towards better smerge support.
7665 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7668 to the first part if they're the same as the selection.
7670 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672 * image-mode.el (image-transform-reset): New command and menu item.
7673 (image-mode-map): Rearrange the menu items to put presumably more
7674 obscure items at the end.
7676 2014-08-12 Juri Linkov <juri@jurta.org>
7678 * vc/vc-annotate.el (vc-annotate-background-mode):
7679 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7681 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7685 2014-08-11 Sam Steingold <sds@gnu.org>
7687 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7688 the presence of known validators (tidy, (o)nsgmls).
7690 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7692 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7693 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7694 (newsticker--treeview-list-add-item):
7695 Use `newsticker-treeview-date-format'.
7697 2014-08-11 Glenn Morris <rgm@gnu.org>
7699 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7700 chose coding system for writing before backing up, since it causes
7701 a more serious problem than the one it solves. (Closes Bug#18141,
7704 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7706 * window.el (window-total-size): Make doc-string more self-contained.
7708 * window.el (display-buffer-below-selected): Restore original
7709 behavior if buffer is already displayed in the window below the
7710 selected one (Bug#18181).
7712 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7714 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7717 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7719 * info.el (info): Doc fix.
7721 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7723 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7726 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7728 * simple.el (default-line-height): A floating-point value of
7729 line-spacing means a fraction of the default frame font's height,
7730 not of the font currently used by the 'default' face.
7731 Truncate the pixel value, like the display engine does.
7732 (window-screen-lines): Use window-inside-pixel-edges for
7733 determining the window height in pixels. (Bug#18195)
7735 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7737 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7739 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7741 Enumerate evaluated sexp diary entries (Bug#7911).
7742 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7743 (icalendar-export-sexp-enumeration-days): New.
7744 (icalendar-export-region): Now `icalendar--convert-to-ical'
7745 returns a cons cell or a list of cons cells.
7746 (icalendar--convert-to-ical): Take care of
7747 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7748 (icalendar--convert-ordinary-to-ical)
7749 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7750 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7751 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7752 (icalendar--convert-anniversary-to-ical): Return cons cell.
7753 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7754 entries. Return (list of) cons cells.
7756 2014-08-09 Juri Linkov <juri@jurta.org>
7758 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7759 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7761 2014-08-09 Alan Mackenzie <acm@muc.de>
7763 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7764 for top-level that can cause unacceptable slow-down in scrolling.
7765 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7766 Antipov from 2013-10-14 in emacs-devel.
7768 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7770 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7771 `ibuffer-auto-mode' menu entry.
7772 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7774 2014-08-08 Matthias Meulien <orontee@gmail.com>
7776 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7779 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7781 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7782 calls of window-min-pixel-height and window-min-pixel-width.
7784 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7786 * progmodes/ada-mode.el:
7787 * net/tramp.el (tramp-handle-file-symlink-p):
7788 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7789 about VMS, which we no longer support.
7790 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7791 and fix a FIXME, using convert-standard-filename in place of
7792 removed ada-convert-file-name.
7794 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7796 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7798 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7800 Refer to MS-DOS using the same name everywhere.
7801 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7802 ``msdog'' become ``MS-DOS''.
7804 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7806 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7807 Use cached "remote-copy-args" value, if available. (Bug#18199)
7809 2014-08-07 Leo Liu <sdl.web@gmail.com>
7811 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7812 Revert change on 2014-03-22.
7814 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7816 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7817 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7821 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823 * image-mode.el (image-toggle-display-image): Always rescale images
7824 to not be bigger than the current window.
7826 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7828 * net/eww.el (eww-bookmarks-directory): New variable.
7829 (eww-write-bookmarks): Use it.
7830 (eww-read-bookmarks): Ditto.
7832 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7834 * net/shr.el (shr-copy-url): Also copy the image URL.
7836 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7838 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7839 also for Tramp working buffers.
7841 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7843 * progmodes/python.el: Fix completions inside (i)pdb.
7844 (python-shell-completion-pdb-string-code): Make obsolete.
7845 (python-shell-completion-get-completions):
7846 Use python-shell-completion-string-code resending setup code
7847 continuously for (i)pdb.
7849 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7851 * rect.el (rectangle--default-line-number-format): Rename
7852 from misspelled rectange--default-line-number-format (Bug#18045).
7855 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7857 Don't mishandle year-9999 dates (Bug#18176).
7858 * calendar/parse-time.el (parse-time-rules):
7859 Allow years up to most-positive-fixnum.
7860 * calendar/time-date.el (date-to-time):
7861 Pass "Specified time is not representable" errors through.
7863 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7865 * progmodes/python.el: Completion code cleanups.
7866 (python-shell-completion-get-completions): Detect and send import
7867 statements directly to completion function.
7868 (python-shell-completion-at-point): Simplify prompt calculation
7869 and import vs input completion logic.
7871 2014-08-02 Alan Mackenzie <acm@muc.de>
7873 Fix confusion in C++ file caused by comma in "= {1,2},".
7875 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7876 for a statement boundary marked by "}", check there's no "="
7878 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7879 non-nil `comma-delim' argument.
7880 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7881 initializer expression more accurately.
7883 Correct loop termination condition in c-syntactic-skip-backward.
7884 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7885 the situation where, after moving back out of a literal,
7886 skip-chars-backward doesn't move further, yet checks have still to
7889 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7891 * tutorial.el (tutorial--display-changes): Accept punctuation
7892 characters before the key binding. (Bug#18146)
7894 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7896 * progmodes/python.el: Shell output capture enhancements.
7897 (python-shell-accept-process-output): New function.
7898 (inferior-python-mode)
7899 (python-shell-send-setup-code): Use it.
7901 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7903 * calendar/icalendar.el (icalendar--decode-isodatetime):
7904 Use actual current-time-zone when converting to local time. (Bug#15408)
7906 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7908 * window.el (window--state-put-2): Handle horizontal scroll
7911 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7913 * menu-bar.el (menu-bar-update-buffers): Update item list format
7914 in `buffers-menu' to confirm with changes to `get_keyelt'
7915 (r117463). (Bug#18016)
7917 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7919 * progmodes/python.el (inferior-python-mode): Make input prompts
7922 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7924 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7925 executables named "python2" or "python3".
7926 (tramp-get-remote-uid-with-python): Use parentheses around
7927 arguments to `print' to make it compatible with Python 3.
7928 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7930 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7932 * window.el (window--pixel-to-total): Use FRAME's root window, not
7933 that of the selected frame. (Bug#18112, Bug#16674)
7935 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7937 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7940 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7942 * progmodes/python.el (inferior-python-mode): Doc fix.
7944 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7946 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7947 not a character, ignore it instead of raising an error.
7949 * calendar/todo-mode.el: Fix handling of marked items and make
7950 minor code improvements.
7951 (todo-edit-item): If there are marked items, ensure user can only
7952 invoke editing commands that work with marked items.
7953 (todo-edit-item--text): When there are marked items, make it a
7954 noop if invoked with point not on an item; otherwise, ensure it
7955 applies only to item at point.
7956 (todo-item-undone): If there are marked not-done items, return
7957 point to its original position before signaling user error.
7958 (todo--user-error-if-marked-done-item): New function.
7959 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7960 (todo-item-done): Use it.
7962 2014-07-28 Glenn Morris <rgm@gnu.org>
7964 * files.el (toggle-read-only): Re-add basic doc-string.
7965 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7967 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7968 Replace missing `switch-to-prolog' with `run-prolog'.
7969 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7971 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7973 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7974 of file-wide setting when changing category-wide setting.
7976 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7978 * doc-view.el (doc-view-open-text): Don't require that the
7979 document is saved in a file (e.g., email attachment).
7981 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7983 Parse completion input in a iPython friendly way. (Bug#18084)
7984 * progmodes/python.el
7985 (python-shell-completion-at-point): Rename from
7986 python-shell-completion-complete-at-point.
7987 (inferior-python-mode): Use it.
7988 (python-completion-at-point): Rename from
7989 python-completion-complete-at-point. Parse input up to first
7990 backward occurrence of whitespace, open-paren, close-paren or
7992 (python-mode): Use it.
7994 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7996 * progmodes/python.el
7997 (python-shell-with-shell-buffer): New macro.
7998 (python-shell-font-lock-get-or-create-buffer)
7999 (python-shell-font-lock-kill-buffer)
8000 (python-shell-font-lock-with-font-lock-buffer)
8001 (python-shell-font-lock-cleanup-buffer)
8002 (python-shell-font-lock-toggle): Use it.
8003 (python-shell-font-lock-turn-on)
8004 (python-shell-font-lock-turn-off): Use it. Make command.
8006 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8008 Grab all Python process output before inferior-python-mode hooks.
8009 * progmodes/python.el (inferior-python-mode):
8010 Call accept-process-output and sit-for to ensure all output for process
8011 has been received before running hooks.
8012 (python-shell-internal-get-or-create-process):
8013 Cleanup accept-process-output and sit-for calls.
8015 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8017 More robust shell startup and code setup.
8018 * progmodes/python.el (python-shell-make-comint):
8019 Remove accept-process-output call.
8020 (python-shell-get-buffer): Return current buffer if major-mode is
8021 inferior-python-mode.
8022 (python-shell-get-or-create-process): Use it.
8023 (python-shell-send-setup-code): Send all setup code in one string,
8024 output success message and accept-process-output.
8026 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8028 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8029 Add rudimentary support for bidirectional text.
8031 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8033 * frame.el (frame-notice-user-settings): Rewrite using
8034 frame-initial-frame-tool-bar-height.
8035 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8036 (menu-bar-no-horizontal-scroll-bar): New functions.
8037 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8039 * scroll-bar.el (scroll-bar-lines)
8040 (set-horizontal-scroll-bar-mode)
8041 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8042 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8043 (scroll-bar-toolkit-horizontal-scroll): New functions.
8044 (horizontal-scroll-bar-mode)
8045 (previous-horizontal-scroll-bar-mode)
8046 (horizontal-scroll-bar-mode-explicit): New variables.
8047 (horizontal-scroll-bar-mode): New option.
8048 (toggle-horizontal-scroll-bar): Do something.
8049 (top-level): Bind horizontal-scroll-bar mouse-1.
8050 * startup.el (tool-bar-originally-present): Remove variable.
8051 (command-line): Don't set tool-bar-originally-present.
8052 * window.el (window-min-height): Update doc-string.
8053 (window--dump-frame): Dump horizontal scroll bar values.
8054 (window--min-size-1): Handle minibuffer window separately.
8055 Count in margins and horizontal scroll bar. Return safe value
8056 iff IGNORE equals 'safe.
8057 (frame-windows-min-size): New function (used by frame resizing
8059 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8061 (window--sanitize-window-sizes): New function.
8062 (window-split-min-size): Remove.
8063 (split-window): Count divider-width. Don't use
8064 `window-split-min-size' any more. Reword error messages.
8065 Sanitize windows sizes after splitting.
8067 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8069 Use `defvar-local' more.
8070 * progmodes/hideshow.el
8071 (hs-c-start-regexp, hs-block-start-regexp)
8072 (hs-block-start-mdata-select, hs-block-end-regexp)
8073 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8074 remove corresponding `make-variable-buffer-local' top-level calls.
8076 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8078 Cleanup error signals. (Bug#18067)
8079 * progmodes/python.el
8080 (python-indent-shift-left): Use user-error instead.
8081 (python-shell-prompt-detect): Use lwarn with python group.
8082 (python-completion-complete-at-point)
8083 (python-eldoc--get-doc-at-point): Don't signal error.
8085 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8087 Support for packages in Python shell. (Bug#13570)
8088 * progmodes/python.el (python-shell--package-depth): New var.
8089 (python-shell-package-enable): New command.
8090 (python-util-list-directories, python-util-list-files)
8091 (python-util-list-packages): New functions.
8093 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8095 Faster comint output. (Bug#16875)
8096 * progmodes/python.el:
8097 (python-comint-output-filter-function): Make obsolete.
8098 (python-comint-postoutput-scroll-to-bottom): New function.
8099 (inferior-python-mode): Set comint-output-filter-functions to a
8102 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8104 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8105 Safeguard current point and undo history.
8107 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8109 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8110 * progmodes/python.el:
8111 (python-shell-prompt-input-regexps): Add iPython block prompt.
8112 (python-shell-output-syntax-table): Delete var.
8113 (python-shell-font-lock-with-font-lock-buffer): New macro.
8114 (python-shell-font-lock-get-or-create-buffer)
8115 (python-shell-font-lock-kill-buffer)
8116 (python-shell-font-lock-cleanup-buffer)
8117 (python-shell-font-lock-post-command-hook)
8118 (python-shell-font-lock-turn-off): New functions.
8119 (python-shell-font-lock-turn-on): New function.
8120 (inferior-python-mode): Use it.
8121 (python-shell-font-lock-toggle): New command.
8122 (python-shell-font-lock-enable): Rename from
8123 python-shell-enable-font-lock.
8124 (run-python-internal): Use it.
8125 (python-shell-font-lock-comint-output-filter-function): New function.
8126 (python-shell-comint-end-of-output-p): New function.
8127 (python-shell-output-filter): Use it.
8128 (python-util-comint-last-prompt): New function.
8129 (python-util-text-properties-replace-name): New function.
8131 2014-07-25 Glenn Morris <rgm@gnu.org>
8133 * vc/ediff-init.el (ediff-toggle-read-only-function):
8134 * vc/ediff-util.el (ediff-toggle-read-only):
8135 Replace obsolete toggle-read-only with read-only-mode.
8137 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8139 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8140 with `save-match-data'. (Bug#18095)
8142 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8144 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8145 order to ensure that row and col are lexically bound inside the
8148 2014-07-21 Glenn Morris <rgm@gnu.org>
8150 * progmodes/hideif.el (hide-ifdef-mode-submap):
8151 Also substitute read-only-mode.
8152 * bindings.el (mode-line-toggle-read-only):
8153 * bs.el (bs-toggle-readonly):
8154 * buff-menu.el (Buffer-menu-toggle-read-only):
8155 * dired.el (dired-toggle-read-only):
8156 * files.el (view-read-only, find-file-read-only)
8157 (find-file-read-only-other-window)
8158 (find-file-read-only-other-frame):
8159 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8160 Doc fixes re toggle-read-only.
8162 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8164 * progmodes/python.el: Add comment about pipe buffering and
8165 solutions for missing/delayed output in inferior Python shells.
8168 * progmodes/python.el (python-mode): Don't set
8169 mode-require-final-newline. (Bug#17990)
8171 Make python.el work with IPython automatically. (Bug#15510)
8172 * progmodes/python.el:
8173 (python-shell-completion-setup-code): New value supporting iPython.
8174 (python-shell-completion-string-code): New value supporting iPython.
8175 (python-shell-completion-get-completions): Use them.
8176 (python-shell-completion-module-string-code): Make obsolete.
8177 (python-shell-prompt-input-regexps)
8178 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8179 (python-shell-output-filter): Fix comment typo.
8181 Fix Python shell prompts detection for remote hosts.
8182 * progmodes/python.el (python-shell-prompt-detect):
8183 Replace call-process with process-file and make it more robust.
8185 Autodetect Python shell prompts. (Bug#17370)
8186 * progmodes/python.el:
8187 (python-shell-interpreter-interactive-arg)
8188 (python-shell-prompt-detect-enabled)
8189 (python-shell-prompt-detect-failure-warning)
8190 (python-shell-prompt-input-regexps)
8191 (python-shell-prompt-output-regexps): New vars.
8192 (python-shell-prompt-calculated-input-regexp)
8193 (python-shell-prompt-calculated-output-regexp): New vars.
8194 (python-shell-get-process-name)
8195 (python-shell-internal-get-process-name)
8196 (python-shell-output-filter)
8197 (python-shell-completion-get-completions): Use them.
8198 (python-shell-prompt-detect)
8199 (python-shell-prompt-validate-regexps): New functions.
8200 (python-shell-prompt-set-calculated-regexps): New function.
8201 (inferior-python-mode): Use it. Also honor overriden
8202 python-shell-interpreter and python-shell-interpreter-args.
8203 (python-shell-make-comint): Honor overriden
8204 python-shell-interpreter and python-shell-interpreter-args.
8205 (python-shell-get-or-create-process): Make it testable by allowing
8206 to call run-python non-interactively.
8207 (python-util-valid-regexp-p): New function.
8208 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8209 (python-shell-prompt-output-regexp)
8210 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8212 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8216 (smie-config--guess): Use it.
8218 * emacs-lisp/edebug.el: Use nadvice.
8219 (edebug-original-read): Remove.
8220 (edebug--read): Rename from edebug-read and add `orig' arg.
8221 (edebug-uninstall-read-eval-functions)
8222 (edebug-install-read-eval-functions): Use nadvice.
8223 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8224 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8225 (edebug-read-string, edebug-read-function): Use just `read'.
8226 (edebug-original-debug-on-entry): Remove.
8227 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8229 (debug-on-entry): Override with nadvice.
8231 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8232 it also makes sense to bind it to a non-mouse event.
8234 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8236 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8238 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8241 * rect.el (rectangle--string-preview): Don't assume there
8242 a non-nil default (bug#17984).
8244 2014-07-16 Glenn Morris <rgm@gnu.org>
8246 * desktop.el (after-init-hook): Disable startup frame restoration
8247 in non-graphical situations. (Bug#17693)
8249 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8250 if it was "empty", or used for a different set of files. (Bug#17884)
8252 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8254 * bindings.el (mode-line-remote): If default-directory is not a
8255 string, don't call file-remote-p on it; instead state in the
8256 help-echo that it is nil. (Bug#17986)
8258 2014-07-14 Daniel Colascione <dancol@dancol.org>
8260 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8261 to `macroexpand-all'
8263 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8264 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8266 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8268 Fix bug: C-x v v discarded existing log message (Bug#17884).
8269 * vc/vc-dispatcher.el (vc-log-edit):
8270 Don't clobber an already-existing log message.
8272 2014-07-12 Glenn Morris <rgm@gnu.org>
8274 * vc/log-edit.el (log-edit-changelog-entries):
8275 Check for a visited-but-never-saved ChangeLog.
8277 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8279 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8280 a non-existing file (bug#17970).
8282 * faces.el (face-name): Undo last change.
8283 (x-resolve-font-name): Don't call face-name (bug#17956).
8285 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8287 Fix dedenters and electric colon handling. (Bug#15163)
8288 * progmodes/python.el
8289 (python-rx-constituents): Add dedenter and block-ender.
8290 (python-indent-dedenters, python-indent-block-enders): Delete.
8291 (python-indent-context): Return new case for dedenter-statement.
8292 (python-indent-calculate-indentation): Handle new case.
8293 (python-indent-calculate-levels): Fix levels calculation for
8294 dedenter statements.
8295 (python-indent-post-self-insert-function): Fix colon handling.
8296 (python-info-dedenter-opening-block-message): New function.
8297 (python-indent-line): Use it.
8298 (python-info-closing-block)
8299 (python-info-closing-block-message): Remove.
8300 (python-info-dedenter-opening-block-position)
8301 (python-info-dedenter-opening-block-positions)
8302 (python-info-dedenter-statement-p): New functions.
8304 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8306 * files.el (out-of-memory-warning-percentage): New defcustom.
8307 (warn-maybe-out-of-memory): Use it.
8309 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8311 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8312 when calling `read-string'. (Bug#17839)
8314 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8316 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8319 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8321 * files.el (warn-maybe-out-of-memory): New function.
8322 (find-file-noselect): Use it.
8324 2014-07-09 Sam Steingold <sds@gnu.org>
8326 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8327 `constant' like `bless', `return' &c
8329 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8331 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8334 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8337 the middle of a line (bug#17896).
8339 2014-07-09 Juri Linkov <juri@jurta.org>
8341 * startup.el (command-line): Append displaying the warning about
8342 the errors in the init file to the end of `after-init-hook'.
8345 * faces.el (face-name): Return input arg `face' as-is
8346 when it's not a symbol.
8347 (x-resolve-font-name): Don't check if the face is a symbol.
8350 * facemenu.el (list-colors-print): In help-echo format use %.2f
8351 instead of %d because now HSV values are floating-point components
8352 between 0.0 and 1.0.
8354 2014-07-09 Glenn Morris <rgm@gnu.org>
8356 * emulation/cua-rect.el (cua--activate-rectangle):
8357 Avoid setting cua--rectangle to nil. (Bug#17877)
8359 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8361 * calendar/todo-mode.el: Fix wrong-type-argument error when
8362 marking multiple consecutive items.
8363 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8364 end of the todo and done items sections. Note in doc string that
8365 items marked by passing a numeric prefix argument can include the
8366 last todo and first done items.
8367 (todo-mark-category): Don't try to mark the empty line between the
8368 todo and done items sections.
8370 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8373 proper Lisp quoting (bug#17934).
8375 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8376 require-final-newline since prog-mode already took care of it (bug#17947).
8378 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8380 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8381 refer to the Todo mode Info manual. Update the comment on
8383 (todo-find-filtered-items-file): Add todo-prefix overlays.
8384 (todo-filter-items): Reorder a let-bound variable to avoid a
8385 wrong-type-argument error on canceling the file choice dialog.
8387 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * progmodes/octave.el (inferior-octave-mode):
8390 Set comint-input-ring-size to a number (bug#17912).
8392 2014-07-09 Juri Linkov <juri@jurta.org>
8394 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8395 and `isearch-mode' associated with nil. (Bug#17849)
8397 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * linum.el (linum--face-height): New function (bug#17813).
8400 (linum-update-window): Use it to adjust margin to linum's width.
8402 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8403 * eshell/em-smart.el (eshell-smart-scroll-window):
8404 Use with-selected-window.
8406 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8407 Remove also pointless window&mark manipulation.
8409 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8410 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8411 (perl-continuation-line-p): Don't skip over anything else than labels.
8412 Return the previous char.
8413 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8414 and update callers accordingly. For continuation lines, check the
8415 the case of array hashes.
8416 (perl-backward-to-noncomment): Make it non-interactive.
8417 (perl-backward-to-start-of-continued-exp): Rewrite.
8419 2014-07-08 Sam Steingold <sds@gnu.org>
8421 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8424 2014-07-08 Juri Linkov <juri@jurta.org>
8426 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8427 (vc-annotate-color-map): Use less saturated colors (20%) for
8429 (vc-annotate-very-old-color): Add default value for background-mode.
8430 (vc-annotate-background): Set default value to nil since now text on
8431 the default backgrounds should be legible in light and dark modes.
8432 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8435 2014-07-08 Juri Linkov <juri@jurta.org>
8437 * simple.el (transpose-chars): Don't move point into read-only area.
8440 2014-07-08 Juri Linkov <juri@jurta.org>
8442 * window.el (with-displayed-buffer-window): New macro.
8443 (with-temp-buffer-window, with-current-buffer-window):
8444 Use `macroexp-let2' to evaluate and bind variables
8445 in the same order as macro arguments.
8446 (display-buffer--action-function-custom-type):
8447 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8449 * minibuffer.el (minibuffer-completion-help): Replace
8450 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8451 with actions that display *Completions* at-bottom when called
8452 from the minibuffer, or below-selected in a normal buffer.
8453 Associate `window-height' with `fit-window-to-buffer'.
8454 Let-bind `pop-up-windows' to nil.
8456 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8457 instead of `with-current-buffer-window'. (Bug#17809)
8459 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8461 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8462 (hide-ifdef-env-backup): New variable.
8463 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8464 New customizable variables.
8465 (hif-clear-all-ifdef-defined): New defun.
8466 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8467 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8468 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8469 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8470 Fix bug to hide the correct #elif region(s).
8471 (hif-range-elif): New defun.
8472 (hif-recurse-level): New var.
8473 (hif-evaluate-region, hif-evaluate-macro): New defun.
8474 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8476 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8479 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8481 * net/dbus.el (dbus-peer-handler): New defun.
8482 (dbus-register-service): Register it. (Bug#17858)
8483 (dbus-managed-objects-handler): Fix docstring.
8485 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8487 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8488 (narrow-to-defun): New arg include-comments, defaulting to it
8491 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8493 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8494 different calling convention to rectangle--unhighlight-for-redisplay.
8496 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8498 * net/tramp.el (tramp-call-process): Handle error strings.
8500 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8502 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8503 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8505 * net/trampver.el: Update release number.
8507 2014-07-03 Juri Linkov <juri@jurta.org>
8509 * desktop.el (desktop-save): Rename arg `auto-save' to
8510 `only-if-changed'. Doc fix. (Bug#17873)
8512 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8514 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8515 Use insert-for-yank (bug#17271).
8517 2014-07-03 Leo Liu <sdl.web@gmail.com>
8519 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8520 Support lexical-binding.
8522 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * vc/log-edit.el (log-edit-goto-eoh): New function.
8525 (log-edit--match-first-line): Use it (bug#17861).
8527 2014-07-03 Glenn Morris <rgm@gnu.org>
8529 * vc/log-edit.el (log-edit-hook): Add missing :version.
8531 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8533 * progmodes/python.el (python-indent-post-self-insert-function):
8534 Enhancements to electric indentation behavior inside
8537 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8540 buffer-invisibility-spec (bug#17867).
8542 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8544 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8547 2014-07-03 Glenn Morris <rgm@gnu.org>
8549 * cus-edit.el (help):
8550 * finder.el (finder-known-keywords):
8551 * help.el (help-for-help-internal):
8552 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8553 (ediff-redraw-registry-buffer):
8554 * vc/ediff-ptch.el (ediff-patch-file-internal):
8555 Doc fixes re "online" help. (Bug#17803)
8557 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8558 (idlwave-mode): Doc URL update.
8560 2014-07-01 Juri Linkov <juri@jurta.org>
8562 * man.el: Display man pages immediately and use process-filter
8563 to format them asynchronously.
8564 (Man-width): Doc fix.
8566 (Man-start-calling): Use `with-selected-window' to get
8567 `frame-width' and `window-width'.
8568 (Man-getpage-in-background): Call `Man-notify-when-ready'
8569 immediately after creating a new buffer. Call `Man-mode' and set
8570 `mode-line-process' in the created buffer. Set process-filter to
8571 `Man-bgproc-filter' in start-process branch. In call-process branch
8572 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8573 Use `Man-start-calling' inside `with-current-buffer'.
8574 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8575 (Man-cleanup-manpage): Don't print messages.
8576 (Man-bgproc-filter): New function.
8577 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8578 user moved it during asynchronous formatting. Move calls of
8579 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8580 `Man-bgproc-filter'. Move the call of `Man-mode' to
8581 `Man-getpage-in-background'. Use `quit-restore-window'
8582 instead of `kill-buffer'. Use `message' instead of `error'
8583 because errors are caught by process sentinel.
8584 (Man-mode): Move calls of `Man-build-page-list',
8585 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8586 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8588 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8589 for the message about the man page cleaned up.
8591 2014-07-01 Mario Lang <mlang@delysid.org>
8593 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8594 cosutomization option `gnutls-verify-error'.
8596 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8598 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8599 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8601 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8602 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8603 is suspended (bug#17857).
8605 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8607 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8608 Prefer utf-8 coding. (Bug#17859)
8610 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8612 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8615 2014-06-30 Glenn Morris <rgm@gnu.org>
8617 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8618 (autoload-ensure-default-file): Maybe make existing output writable.
8619 * Makefile.in (AUTOGEN_VCS): Remove.
8620 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8622 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8624 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8626 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8628 New if-let, when-let, thread-first and thread-last macros.
8630 * emacs-lisp/subr-x.el
8631 (internal--listify, internal--check-binding)
8632 (internal--build-binding-value-form, internal--build-binding)
8633 (internal--build-bindings): New functions.
8634 (internal--thread-argument, thread-first, thread-last)
8635 (if-let, when-let): New macros.
8637 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8639 * net/rcirc.el (rcirc-buffer-process): Restore previous
8640 behaviour. (Bug#17772)
8642 2014-06-29 Alan Mackenzie <acm@muc.de>
8644 Don't call c-parse-state when c++-template-syntax-table is active.
8645 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8646 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8647 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8649 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8651 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8652 account for file-wide setting of todo-top-priorities-overrides.
8653 Make code a bit cleaner.
8655 2014-06-28 Glenn Morris <rgm@gnu.org>
8657 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8659 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8661 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8662 category-wide setting of todo-top-priorities-overrides, check for
8663 a file-wide setting and fontify accordingly.
8665 2014-06-28 Glenn Morris <rgm@gnu.org>
8667 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8669 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8671 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8673 2014-06-28 K. Handa <handa@gnu.org>
8677 * composite.el: Setup composition-function-table for dotted circle.
8678 (compose-gstring-for-dotted-circle): New function.
8680 * international/characters.el: Add category "^" to all
8681 non-spacing characters.
8683 2014-06-28 Glenn Morris <rgm@gnu.org>
8685 * Makefile.in (doit): Remove force rule.
8686 (custom-deps, finder-data, autoloads, update-subdirs)
8687 (compile-one-process): PHONY targets do not need force rules.
8689 * Makefile.in (compile-main, compile, compile-always):
8690 No need to explicitly pass variables to ourself in recursive calls.
8692 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8694 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8696 2014-06-26 Glenn Morris <rgm@gnu.org>
8698 * Makefile.in (update-authors): Update for moved authors.el.
8700 2014-06-26 Leo Liu <sdl.web@gmail.com>
8702 * skeleton.el (skeleton-end-hook): Default to nil and move the
8703 work to skeleton-insert. (Bug#17850)
8705 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8707 * calc/calc-alg.el (math-beforep):
8708 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8709 Simplify because string-lessp can accept symbols as args.
8711 2014-06-26 Daiki Ueno <ueno@gnu.org>
8713 * emacs-lisp/package.el (package--check-signature):
8714 If package-check-signature is allow-unsigned, don't signal error when
8715 we can't verify signature because of missing public key
8718 2014-06-26 Glenn Morris <rgm@gnu.org>
8720 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8721 Remove outdated declaration.
8723 * emacs-lisp/authors.el (authors-valid-file-names)
8724 (authors-renamed-files-alist): Additions.
8726 2014-06-26 Leo Liu <sdl.web@gmail.com>
8728 * textmodes/picture.el (picture-set-tab-stops):
8729 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8730 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8732 * progmodes/asm-mode.el (asm-calculate-indentation):
8733 Use indent-next-tab-stop.
8735 * indent.el (indent-accumulate-tab-stops): New function.
8737 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8739 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8740 (package-desc-status): Obey it.
8742 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8744 * calendar/todo-mode.el: Fix two bugs.
8745 (todo-insert-item--basic): If user cancels item insertion to
8746 another category before setting priority, show original category
8747 whether it is in the same or a different file.
8748 (todo-set-item-priority): After selecting category, instead of
8749 moving point to top, which extends an active region, restore it.
8751 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * help-fns.el (describe-function-1): Check file-name is a string before
8754 calling help-fns--autoloaded-p (bug#17564).
8756 2014-06-26 Juri Linkov <juri@jurta.org>
8758 * desktop.el (desktop-auto-save-enable)
8759 (desktop-auto-save-disable): New functions.
8760 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8761 (desktop-read): Disable the autosave before loading the desktop,
8762 and enable afterwards. (Bug#17351)
8764 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8766 Fix some indentation problem with \; and pipes (bug#17842).
8767 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8768 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8770 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8771 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8772 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8774 2014-06-26 Glenn Morris <rgm@gnu.org>
8776 * emacs-lisp/find-func.el (find-function-C-source-directory):
8777 Use file-accessible-directory-p.
8779 * ps-samp.el: Make it slightly less awful.
8780 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8781 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8782 Only set local values.
8783 (ps-article-subject, ps-article-author): Use standard functions
8784 like mail-fetch-field.
8785 (ps-info-file, ps-info-node): Use match-string.
8786 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8787 (ps-samp-ps-setup): ... new function.
8789 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8790 Optimize away code unneeded on any modern Emacs.
8792 * emacs-lisp/authors.el: Move to ../admin.
8794 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8796 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8798 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8799 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8800 performance enhancements.
8801 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8803 (hif-factor, hif-string-concatenation, intern-safe): Support string
8804 concatenation and argumented macro expansion.
8805 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8806 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8807 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8808 (hif-canonicalize-tokens, hif-place-macro-invocation)
8809 (hif-parse-macro-arglist): Mostly new functions for supporting
8810 argumented macro expansion.
8811 (hif-string-concatenation, hif-stringify, hif-token-concat)
8812 (hif-token-stringification, hif-token-concatenation):
8813 Stringification and concatenation.
8814 (hif-find-next-relevant): Fix comments.
8815 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8816 some cases involving #elif.
8817 (hif-find-define, hif-add-new-defines): New functions for automatically
8818 scanning of defined symbols.
8819 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8820 (hide-ifdef-undef): Fix behavior to match CPP.
8822 2014-06-25 Glenn Morris <rgm@gnu.org>
8824 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8825 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8826 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8827 files. They are not relevant to the original issue (bug#1004),
8828 and cause unnecessary recompilation (bug#2151).
8830 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8833 (landmark--last-pos): New var.
8834 (landmark--intangible-chars): New const.
8835 (landmark--intangible): New function.
8836 (landmark-mode, landmark-move): Use it.
8837 (landmark-mode): Remove properties.
8838 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8839 (landmark-cross-qtuple):
8840 Don't worry about `intangible' any more.
8841 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8842 (landmark-init-display): Don't set `intangible' and `point-entered'.
8843 (square): Remove. Inline it instead.
8844 (landmark--distance): Rename from `distance'.
8845 (landmark-calc-distance-of-robot-from): Rename from
8846 calc-distance-of-robot-from.
8847 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8849 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8851 * files.el (dir-locals-find-file, file-relative-name):
8852 * info.el (Info-complete-menu-item):
8853 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8854 to compare-strings to avoid out-of-range errors.
8855 * subr.el (string-prefix-p): Adjust to match strict range
8856 checking in compare-strings.
8858 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8860 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8861 for comment lines non-greedy and stopping at newlines to fix stack
8862 overflows with large files.
8864 2014-06-24 Eli Barzilay <eli@barzilay.org>
8866 * calculator.el (calculator-last-input): Drop 'ascii-character property
8869 2014-06-24 Leo Liu <sdl.web@gmail.com>
8871 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8872 tab-stop-list to nil. (Bug#16381)
8874 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8875 (indent-rigidly-left-to-tab-stop)
8876 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8877 (move-to-tab-stop): Change callers.
8879 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8881 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8882 wrt behavior of \n as the first/last element of a skeleton.
8884 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8886 * net/tramp-adb.el (tramp-adb-handle-process-file):
8887 * net/tramp-sh.el (tramp-sh-handle-process-file):
8888 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8889 the output buffer when DISPLAY is non-nil. (Bug#17815)
8891 2014-06-24 Glenn Morris <rgm@gnu.org>
8893 * play/landmark.el (landmark-move-down, landmark-move-up):
8894 Fix 2007-10-20 change - preserve horizontal position.
8896 2014-06-23 Sam Steingold <sds@gnu.org>
8898 * simple.el (kill-append): Remove undo boundary depending on ...
8899 (kill-append-merge-undo): New user option.
8901 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8903 * simple.el (handle-shift-selection, exchange-point-and-mark)
8904 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8905 (transient-mark-mode): Use&set the global value.
8906 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8907 * emulation/edt.el (edt-emulation-off): Save&restore the global
8908 transient-mark-mode setting.
8909 * obsolete/pc-select.el (pc-selection-mode): Use the
8910 transient-mark-mode function.
8912 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8914 * international/fontset.el (script-representative-chars):
8915 Add representative characters for scripts added in Unicode 7.0.
8916 (otf-script-alist): Synchronize with the latest registry of OTF
8919 * international/characters.el (char-script-table): Update for
8920 scripts added and codepoint ranges changed in Unicode 7.0.
8922 2014-06-23 Eli Barzilay <eli@barzilay.org>
8924 * calculator.el (calculator-standard-displayer): Fix bug in use of
8925 `calculator-groupize-number'.
8926 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8927 `eval' code, so it works in v24.3.1 too.
8928 (calculator-last-input): Comment to clarify purpose.
8930 2014-06-22 Mario Lang <mlang@delysid.org>
8932 * textmodes/rst.el (rst-comment-region): From from -> from.
8934 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8936 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8938 * electric.el (electric-layout-post-self-insert-function):
8939 * emacs-lisp/ert.el (ert--insert-infos):
8940 * obsolete/vi.el (vi-set-mark):
8941 * term.el (term-handle-scroll):
8942 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8943 * wid-edit.el (widget-editable-list-value-create):
8944 Prefer point-marker to copy-marker of point.
8946 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8948 Fix completion retrieval parsing (bug#17209).
8949 * progmodes/python.el (python-mode):
8950 (python-util-strip-string): New function.
8951 (python-shell-completion-get-completions): Use it.
8953 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8955 * skeleton.el (skeleton-insert): Fix last change.
8957 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8959 Enhancements for outline integration (bug#17796).
8960 * progmodes/python.el (python-mode): Properly set
8961 outline-heading-end-regexp so that comments after colons for
8962 defuns are supported.
8964 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8966 * skeleton.el (skeleton-insert): Doc fix.
8968 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8971 (smie-config-guess): Use smie-config-local so the rules are obeyed
8974 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8975 since it's already done inside the loop (bug#17819).
8977 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8979 * mouse.el (mouse-drag-line): Re-remove code initially removed
8980 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8983 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8986 align with the surrounding parent (bug#17721).
8988 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8990 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8992 (texinfo-insert-block, texinfo-insert-@end)
8993 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8994 local setting of skeleton-end-newline by adding an explicit \n to
8995 the skeletons where appropriate. (Bug#17801)
8997 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9000 (smie-indent--hanging-p): Use it.
9001 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9003 2014-06-21 Leo Liu <sdl.web@gmail.com>
9005 * simple.el (read-quoted-char): Don't let help chars pop up help
9008 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9013 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9014 Drop unknown events instead of burping.
9016 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9018 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9019 and later. (Bug#17790)
9021 2014-06-21 Juri Linkov <juri@jurta.org>
9023 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9024 to `soft'. (Bug#17554)
9026 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9028 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9031 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9033 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9034 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9036 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9038 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9039 `unread-command-events'.
9041 2014-06-19 William Xu <william.xwl@gmail.com>
9043 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9044 hex integer constants (bug#17807).
9046 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9048 * international/mule-util.el (truncate-string-ellipsis): New var.
9049 (truncate-string-to-width): Use it.
9051 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9053 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9054 (lisp-string-in-doc-position-p): New function, extracted from
9055 lisp-font-lock-syntactic-face-function.
9056 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9058 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9060 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9062 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9064 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9065 (bubbles--game-over): Don't add `intangible' properties since they
9068 2014-06-18 Juri Linkov <juri@jurta.org>
9070 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9071 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9072 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9073 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9074 Add `min-colors 88' version with removed black/white foregrounds.
9077 2014-06-18 Juri Linkov <juri@jurta.org>
9079 * vc/diff-mode.el (diff-changed): Empty face definition to use
9080 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9081 (diff-context): Use darker color on light background and
9082 lighter color on dark background.
9084 2014-06-18 Juri Linkov <juri@jurta.org>
9086 * vc/diff-mode.el (diff-refine-changed): Rename from
9087 `diff-refine-change' for consistency with `diff-changed'.
9088 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9090 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9091 `smerge-refined-change'.
9092 (smerge-refined-change): Add obsolete face alias.
9094 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * rect.el (rectangle-preview): New custom.
9097 (rectangle): New group.
9098 (rectangle--pos-cols): Add `window' argument.
9099 (rectangle--string-preview-state, rectangle--string-preview-window):
9101 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9102 (rectangle--space-to, rectangle--string-preview): New functions.
9103 (string-rectangle): Use them.
9104 (rectangle--inhibit-region-highlight): New var.
9105 (rectangle--highlight-for-redisplay): Obey it. Make sure
9106 `apply-on-region' uses the point-crutches of the right window.
9107 Use :align-to rather than multiple spaces.
9109 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9111 * ruler-mode.el (ruler-mode-window-col)
9112 (ruler-mode-mouse-set-left-margin)
9113 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9114 from mouse position (Bug#17768).
9116 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9118 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9119 without varname or rhs causes crash.
9120 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9121 impossible to win endgame.
9122 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9124 (dun-help): Bump version number; update contact info.
9126 2014-06-15 Eli Barzilay <eli@barzilay.org>
9128 * calculator.el (calculator-prompt, calculator-remove-zeros)
9129 (calculator-mode-hook, calculator-operators, calculator-stack)
9130 (calculator-mode): Tweak docstring.
9131 (calculator-user-operators): Tweak docstring, fix a bug in the last
9133 (calculator-displayer): `std' case has an optional boolean.
9134 (calculator-displayers): Use the new boolean to group in decimal mode.
9135 (calculator-mode-map, calculator, calculator-message)
9136 (calculator-op-arity, calculator-add-operators)
9137 (calculator-string-to-number, calculator-displayer-prev)
9138 (calculator-displayer-next, calculator-remove-zeros)
9139 (calculator-eng-display, calculator-number-to-string)
9140 (calculator-update-display, calculator-last-input)
9141 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9142 (calculator-exp, calculator-saved-move, calculator-clear)
9143 (calculator-copy, calculator-put-value, calculator-help)
9144 (calculator-expt, calculator-truncate): Minor code improvements.
9145 (calculator-need-3-lines): New function pulling out code from
9147 (calculator-get-display): Rename from `calculator-get-prompt', and
9149 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9150 extended for all uses of it. All callers changed.
9151 (calculator-groupize-number): New utility for splitting a number into
9153 (calculator-standard-displayer): Improve code, new optional argument to
9154 use comma-split groups, make second argument optional too to use with
9155 'left/'right inputs. All callers changed.
9156 (calculator-reduce-stack-once): New utility, doing the meat of what
9157 `calculator-reduce-stack' used to do, much improved (mostly using
9158 `pcase' for conciseness and clarity).
9159 (calculator-reduce-stack): Now doing just the reduction loop using
9160 `calculator-reduce-stack-once'.
9161 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9162 (calculator-last-input): Improve code, remove some old cruft.
9163 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9164 (calculator-integer-p): Remove.
9165 (calculator-fact): Improve code, make it work on non-integer values
9166 too (using truncated numbers).
9168 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9170 Sync with Tramp 2.2.10.
9172 * net/tramp.el (tramp-methods): Tweak docstring.
9173 (tramp-handle-file-accessible-directory-p): Check for
9174 `file-readable-p' instead of `file-executable-p'.
9175 (tramp-check-cached-permissions):
9176 Use `tramp-compat-file-attributes'.
9177 (tramp-call-process): Add new argument VEC. Adapt callees in all
9180 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9181 (tramp-adb-maybe-open-connection): Don't set
9182 `tramp-current-*' variables.
9184 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9185 file properties of temporary buffers.
9187 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9189 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9190 (tramp-gvfs-handle-delete-file): Flush file
9191 properties, not directory properties.
9192 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9193 reading "unix::mode".
9194 (tramp-gvfs-handle-file-name-all-completions):
9195 Use "-h" option for "gvfs-ls".
9196 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9197 (tramp-gvfs-send-command): Simplify traces.
9199 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9200 (vc-git-program, vc-hg-program): Declare.
9201 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9202 (tramp-methods) <nc>: Add new method.
9203 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9204 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9206 (tramp-default-user-alist): Add "nc".
9207 (top): Remove completion function for "sftp". Add completion
9208 functions for "nc" and "psftp".
9209 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9210 Implement support for "nc" method.
9211 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9212 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9214 (tramp-sh-handle-write-region): Tweak error message.
9215 (tramp-sh-handle-vc-registered): Remove backends when the remote
9216 binary does not exist.
9217 (tramp-find-inline-encoding): Do not raise an error.
9218 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9219 the "nc" case. Quote result also locally.
9221 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9222 (tramp-smb-handle-set-file-acl): Use `start-process'.
9223 (tramp-smb-handle-insert-directory): Use progress reporter.
9224 (tramp-smb-handle-rename-file): Flush also file properties of
9227 * net/trampver.el: Update release number.
9229 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9233 (ses-localvars): Remove ses--local-printer-list, unused.
9234 (ses--metaprogramming): New macro. Use it to defvar variables.
9235 (ses-set-localvars): Simplify.
9236 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9237 property-list into an alist.
9238 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9239 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9240 Remove; use defstruct accessors/setters instead.
9241 (ses-cell-formula-aset, ses-cell-printer-aset)
9242 (ses-cell-references-aset): Remove, use setf instead.
9243 (ses--alist-get): New function.
9244 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9245 Use an alist instead of a plist and don't do move-to-front since the
9246 list is always short.
9247 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9248 (ses-cell-property-set-fun, ses-cell-property-set)
9249 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9250 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9251 (ses--letref): New macro.
9252 (ses-cell-property-pop): Rewrite.
9253 (ses--cell): Rename from ses-cell and make it into a function.
9254 Make `formula' fallback on `value' if nil.
9255 (ses--local-printer): Rename from ses-local-printer and make it into
9257 (ses-set-cell): Turn it into a macro so finding the accessor from the
9258 field name is done at compile time.
9259 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9260 `ref' before adding `sym' to :ses-repair-reference.
9261 (ses-calculate-cell): Use ses--letref rather than
9262 ses-cell-property-get-handle.
9263 (ses-write-cells): Use a single prin1-to-string.
9264 (ses-setter-with-undo): New function.
9265 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9266 (ses-unset-with-undo): Remove.
9267 (ses-load): Prefer apply' over `eval'.
9268 (ses-read-printer, ses-set-column-width): Use standard "(default
9271 2014-06-15 Glenn Morris <rgm@gnu.org>
9273 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9275 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9276 Replace delete-duplicates and mapcan by cl- versions throughout.
9277 And cl-macroexpand-all by macroexpand-all.
9278 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9280 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9282 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9284 2014-06-15 Juri Linkov <juri@jurta.org>
9286 * bindings.el: Put `ascii-character' property on keypad keys
9287 mapped to characters. (Bug#17759)
9289 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9291 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9292 bumping forward into a closing paren (bug#17761).
9294 * term/xterm.el (xterm--version-handler): Work around for OSX
9295 Terminal.app (bug#17607).
9297 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9299 * play/dunnet.el (dun-describe-room, dun-mode):
9300 If a lamp is in the room, you won't be eaten by a grue.
9302 2014-06-13 Glenn Morris <rgm@gnu.org>
9304 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9305 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9306 (compile-always): GNU make automatically passes
9307 command-line arguments to sub-makes.
9309 * calendar/calendar.el (calendar-generate-window):
9310 Remove pointless call to font-lock-fontify-buffer.
9312 2014-06-13 Matthias Meulien <orontee@gmail.com>
9314 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9317 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * simple.el (set-mark-command): Simplify a bit.
9321 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9323 * help.el (help--key-binding-keymap): New function.
9324 (help--binding-locus): New function.
9325 (describe-key): Mention the keymap in which the binding was
9328 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9330 * hippie-exp.el (he--all-buffers): New function.
9331 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9332 (try-expand-dabbrev-all-buffers): Use it.
9334 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9336 * hippie-exp.el (try-expand-line-all-buffers)
9337 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9338 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9339 original buffer, in case they're buffer-local.
9341 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9343 * ses.el (ses-initial-global-parameters-re): New defconst, a
9344 specific regexp is needed now that ses.el can handle both
9345 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9347 (ses-localvars): Add local variables needed for local printer handling.
9348 (ses-set-localvars): Handle hashmap initialization.
9349 (ses-paramlines-plist): Add param-line for number of local printers.
9350 (ses-paramfmt-plist): New defconst, needed for code factorization
9351 between functions `ses-set-parameter' and
9352 `ses-file-format-extend-paramter-list'
9353 (ses-make-local-printer-info): New defsubst.
9354 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9355 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9356 (ses-cell-printer-aset): New defmacro.
9357 (ses-local-printer-compile): New defun.
9358 (ses-local-printer): New defmacro.
9359 (ses-printer-validate, ses-call-printer): Add support for local
9361 (ses-file-format-extend-paramter-list): New defun.
9362 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9364 (ses-load): Add support for local printer functions.
9365 (ses-read-printer): Update docstring and add support for local printer
9367 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9368 (ses-safe-printer): Add support for local printer functions.
9370 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9372 * ffap.el (ffap-lax-url): New var (bug#17723).
9373 (ffap-url-at-point): Use it.
9374 (ffap-file-at-point): Avoid returning just "/".
9376 2014-06-12 Matthias Meulien <orontee@gmail.com>
9378 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9379 (python-mode-map): Bind it.
9381 * progmodes/python.el (class skeleton): Don't erase last char of class
9384 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9386 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9388 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9390 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9393 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9395 * international/mule-cmds.el: Use lexical-binding.
9396 (ucs-names): Simplify.
9398 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9400 * progmodes/python.el (run-python): Use read-shell-command.
9402 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9404 * rect.el: Make it possible to move bounds past EOL or into TABs.
9405 (operate-on-rectangle): Use apply-on-rectangle.
9406 (rectangle--mark-crutches): New var.
9407 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9408 (rectangle--crutches, rectangle--reset-crutches): New functions.
9409 (apply-on-rectangle): Obey crutches. Avoid setq.
9410 Fix missing final iteration if end is at EOB&BOL.
9411 (rectangle-mark-mode-map): Add remap bindings for
9412 exchange-point-and-mark and char/line movements.
9413 (rectangle--*-char): New function.
9414 (rectangle-exchange-point-and-mark, rectangle-right-char)
9415 (rectangle-left-char, rectangle-forward-char)
9416 (rectangle-backward-char, rectangle-next-line)
9417 (rectangle-previous-line): New commands.
9418 (rectangle--place-cursor): New function.
9419 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9421 2014-06-08 Glenn Morris <rgm@gnu.org>
9423 * startup.el (initial-buffer-choice): Doc fix.
9424 Reset :version (adding an option does not merit a :version bump).
9426 * bookmark.el (bookmark-load):
9427 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9429 2014-06-08 Juri Linkov <juri@jurta.org>
9431 * desktop.el: Activate auto-saving on window configuration changes.
9432 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9433 `desktop-auto-save-set-timer' to/from
9434 `window-configuration-change-hook'.
9435 (desktop-auto-save-set-timer): Change REPEAT arg of
9436 `run-with-idle-timer' from t to nil.
9437 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9439 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9441 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9442 vc-hg-command (bug#17570).
9444 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9449 2014-06-08 Glenn Morris <rgm@gnu.org>
9451 * startup.el (window-setup-hook): Doc fix.
9453 * emacs-lisp/package.el (package-check-signature)
9454 (package-unsigned-archives): Doc fixes.
9456 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9458 * window.el (display-buffer-use-some-window): Don't make window
9459 used smaller than it was before (Bug#17671).
9461 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9463 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9464 'redisplay' instead of '(sit-for 0)'.
9466 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9468 * net/tramp.el (tramp-ssh-controlmaster-options):
9469 Improve search regexp. (Bug#17653)
9471 2014-06-08 Glenn Morris <rgm@gnu.org>
9473 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9475 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9477 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9479 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9481 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9484 * vc/vc-hg.el (vc-hg-log-graph): New var.
9485 (vc-hg-print-log): Use it.
9486 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9487 graph output (bug#17515).
9489 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9491 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9492 even happened elsewhere.
9494 2014-06-06 Mario Lang <mlang@delysid.org>
9496 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9497 `recenter' if `current-buffer' is equal to `window-buffer'.
9499 2014-06-05 Leo Liu <sdl.web@gmail.com>
9501 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9503 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9505 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9506 New function which calls a callback on portions of the buffer that are
9507 outside of ignored environments.
9508 (tildify-build-regexp): Remove function since it is now
9509 incorporated in `tildify-foreach-region-outside-env' where it is
9510 optimized and simplified by the use of `mapconcat'.
9511 (tildify-tildify): Return number of substitutions made so that…
9512 (tildify-count): …can be removed.
9513 (tildify-find-env): Accept a new PAIRS argument which was
9514 previously looked up in `tildify-ignored-environments-alist' each
9515 time the function was called. With this change, the lookup is
9516 performed only once in `tildify-foreach-region-outside-env'.
9517 (tildify-region): Greatly simplify the function since now most of
9518 the work is done by `tildify-foreach-region-outside-env'.
9519 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9520 and instead using or.
9522 * textmodes/tildify.el (tildify-ignored-environments-alist):
9523 Optimize environments regexes
9525 Each time beginning of an environment to ignore is found,
9526 `tildify-find-env' needs to identify regexp for the ending
9527 of the environment. This is done by trying all the opening
9528 regexes on matched text in a loop, so to speed that up, this
9529 loop should have fewer things to match, which can be done by
9530 using alternatives in the opening regexes.
9532 Coincidentally, this should make matching of the opening
9533 regexp faster as well thanks to the use of `regexp-opt' and
9534 having common prefix pulled from many regexes.
9536 * textmodes/tildify.el (tildify-string-alist)
9537 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9538 of supported modes since `xml-mode' is no longer a thing but just
9539 an alias to the former. Also include comments and insides of tags
9540 in `tildify-ignored-environments-alist' for XML modes. Finally,
9541 since XML does not define “ ”[1], use a numeric reference for
9542 a no-break space (namely “ ”)
9544 [1] XML specification defines only a handful of predefined entities.
9545 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9546 and includes only <, >, &, ' and " (meaning <,
9547 >, &, ' and " respectively). This is in contrast to HTML and even
9548 XHTML which defined a whole bunch of entities including “ ”.
9550 * textmodes/tildify.el (tildify-pattern-alist)
9551 (tildify-string-alist, tildify-ignored-environments-alist):
9552 Improve defcustom's types by adding more tags explaining what each
9553 value means and replace “sexp” used in
9554 `tildify-ignored-environments-alist' with a full type declaration.
9556 * textmodes/tildify.el (tildify-find-env): Fix matched group
9557 indexes in end-regex building
9559 When looking for a start of an ignore-environment, the regex is built
9560 by concatenating regexes of all the environments configured in
9561 `tildify-ignored-environments-alist'. So for example, the following
9562 list could be used to match TeX's \verb and \verb* commands:
9564 (("\\\\verb\\(.\\)" . (1))
9565 ("\\\\verb\\*\\(.\\)" . (1)))
9567 This would result in the following regex being used to find the start
9568 of any of the variants of the \verb command:
9570 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9572 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9573 won't match anything, and thus (match-string 1) will be nil, which
9574 will cause building of the end-matching regex to fail.
9576 Fix this by using capture groups from the time when the opening
9577 regexes are matched individually.
9579 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9580 in `tildify-find-env'
9582 The `tildify-ignored-environments-alist' allows the end-regex to
9583 be provided not as a static string but mix of strings and indexes
9584 of groups matched the begin-regex. For example, the “\verb!…!”
9585 TeX-command (where “!” is an arbitrary character) is handled
9588 ("\\\\verb\\*?\\(.\\)" . (1))
9590 In the same way, the following should be supported as well:
9592 ("open-\\(.\\)" . ("end-" 1))
9594 However the tildify-find-env function fails at
9597 (if (stringp (setq aux (car expression)))
9598 expression ; BUG: expression is a list
9599 (regexp-quote (match-string aux))))
9601 where the string part is handled incorrectly.
9603 The most trivial fix would be to replace `expression' in the
9604 true-part of the if-statement with `aux', but instead, this commit
9605 optimizes `tildify-find-env' by changing it to use `mapconcat'
9606 rather than open-coded while-loop.
9608 2014-06-05 Mario Lang <mlang@delysid.org>
9610 * woman.el (woman-mapcan): Remove.
9611 (woman-parse-colon-path): Use cl-mapcan instead.
9613 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9615 * register.el: Add link to Emacs manual in Commentary.
9617 2014-06-02 Sam Steingold <sds@gnu.org>
9619 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9620 (popup-menu): ...here.
9621 (menu-bar-open): Use it to avoid an error when `lookup-key'
9624 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9626 * net/tramp.el (tramp-call-process): Add traces.
9627 (tramp-handle-unhandled-file-name-directory): Return "/".
9629 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9631 Sync with upstream verilog-mode revision 3cd8144.
9632 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9633 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9634 (verilog-type-font-keywords): Add nor.
9635 (verilog-batch-execute-func): Force reading of Local Variables.
9636 Fix printing "no changes to be saved" with verilog-batch.
9637 (verilog-auto-arg-ports): Doc fix.
9638 Add verilog-auto-arg-format to support newlines in AUTOARG.
9639 (verilog-auto-arg): Doc fix.
9641 2014-06-02 Glenn Morris <rgm@gnu.org>
9643 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9644 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9645 * emulation/ws-mode.el: Move to obsolete/.
9646 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9648 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9650 * simple.el (keyboard-quit): Force update of mode lines, to remove
9651 the "Def" indicator, if we were defining a macro. (Bug#17615)
9653 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9655 * minibuffer.el (minibuffer-force-complete-and-exit):
9656 Obey minibuffer-default (bug#17545).
9658 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9661 * subr.el (set-transient-map): Don't wait for some "nested"
9662 transient-map to finish if we're only supposed to be active for
9663 the next command (bug#17642).
9665 2014-06-02 Leo Liu <sdl.web@gmail.com>
9667 * emacs-lisp/gv.el (window-buffer, window-display-table)
9668 (window-dedicated-p, window-hscroll, window-point, window-start):
9669 Fix gv-expander. (Bug#17630)
9671 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9673 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9676 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9677 for the single comma, since ", " is *very* common in normal French text
9680 2014-06-02 Glenn Morris <rgm@gnu.org>
9682 * emacs-lisp/package.el (package-check-signature)
9683 (package-unsigned-archives): Fix :version.
9685 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * subr.el (sit-for): Don't run input-methods (bug#15614).
9689 2014-06-02 Glenn Morris <rgm@gnu.org>
9691 * cus-start.el: Fix some :version numbers.
9693 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * simple.el (deactivate-mark): Set mark-active to nil even if
9696 deactivation is done via setting transient-mark-mode to nil,
9697 since one is buffer-local and the other is global.
9699 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9700 there can't be more than 2 arguments (bug#17584).
9702 2014-06-02 Glenn Morris <rgm@gnu.org>
9704 * simple.el (filter-buffer-substring-functions)
9705 (filter-buffer-substring-function, buffer-substring-filters)
9706 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9708 * minibuffer.el (completion-in-region-functions, completion-in-region)
9709 (completion--in-region): Doc fixes.
9711 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9712 (expand-abbrev, abbrev--default-expand): Doc fixes.
9714 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9716 Include sources used to create macuvs.h.
9717 * international/README: Refer to the Unicode Terms of Use rather
9718 than copying it bodily here, as that simplifies maintenance.
9720 2014-06-01 Glenn Morris <rgm@gnu.org>
9722 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9724 2014-05-31 Glenn Morris <rgm@gnu.org>
9726 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9728 2014-05-30 Glenn Morris <rgm@gnu.org>
9730 * loadup.el: Treat `command-line-args' more flexibly.
9732 2014-05-30 Alan Mackenzie <acm@muc.de>
9734 Guard (looking-at "\\s!") from XEmacs.
9735 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9737 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9739 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9740 The argument COUNT is now optional, to be more backward-compatible.
9741 Doc fix. (Bug#17560)
9743 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9745 * whitespace.el (whitespace-report-region):
9746 Simplify documentation.
9747 (whitespace-report-region): Allow report-if-bogus to take the
9748 value `never', for non-interactive use.
9749 (whitespace-report): Refer to whitespace-report-region's
9752 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9754 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9755 Side benefit: it works without jit-lock.
9756 (whitespace-point--used): New buffer-local var.
9757 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9758 (whitespace-color-off): Use font-lock-flush.
9759 (whitespace-point--used, whitespace-point--flush-used): New functions.
9760 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9761 (whitespace-empty-at-eob-regexp): Use them.
9762 (whitespace-post-command-hook): Rewrite.
9764 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9765 (font-lock-fontify-buffer): Mark interactive-only.
9766 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9768 (font-lock-specified-p): Remove redundant boundp check.
9769 (font-lock-flush-function, font-lock-ensure-function): New vars.
9770 (font-lock-turn-on-thing-lock): Set them.
9771 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9772 (font-lock-after-change-function): Make `old-len' optional.
9773 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9774 Call font-lock-flush, just in case.
9775 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9777 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9778 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9779 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9780 and with-syntax-table.
9781 * textmodes/conf-mode.el (conf-quote-normal):
9782 * progmodes/sh-script.el (sh-set-shell):
9783 * progmodes/prog-mode.el (prettify-symbols-mode):
9784 * progmodes/f90.el (f90-font-lock-n):
9785 * progmodes/cwarn.el (cwarn-mode):
9786 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9787 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9788 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9789 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9790 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9791 font-lock-fontify-buffer-function and
9792 font-lock-unfontify-buffer-function.
9793 (rmail-unfontify-buffer-function, rmail-fontify-message):
9794 Use with-silent-modifications.
9795 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9796 and font-lock-ensure.
9797 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9799 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9801 * emacs-lisp/package.el (package-generate-autoloads):
9802 Inhibit backup files.
9804 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9809 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9811 * textmodes/tildify.el (tildify-buffer, tildify-region):
9812 Add dont-ask option.
9814 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9816 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9817 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9819 * subr.el (internal--funcall-interactively): New.
9820 (internal--call-interactively): Remove.
9821 (called-interactively-p): Detect funcall-interactively instead of
9823 * simple.el (repeat-complex-command): Use funcall-interactively.
9824 (repeat-complex-command--called-interactively-skip): Remove.
9826 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9828 * register.el (register-read-with-preview): Don't burp on
9829 frame switches (e.g. due to the frame we just popped).
9831 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9832 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9834 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9836 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9838 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9840 * window.el (window--dump-frame): Remove interactive specification.
9842 2014-05-26 Glenn Morris <rgm@gnu.org>
9844 * hippie-exp.el (he-line-search-regexp):
9845 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9847 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9849 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9850 to avoid errors when trying to create or visit a file foo.todo
9851 located outside to todo-directory, and to allow having such files
9852 without them being tied to Todo mode (bug#17482).
9853 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9854 (todo-archive-done-item, todo-find-filtered-items-file)
9855 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9856 (todo-category-completions, todo-read-category): When visiting a
9857 Todo file, make sure we're in the right mode and the buffer local
9859 (todo-make-categories-list, todo-reset-nondiary-marker)
9860 (todo-reset-done-string, todo-reset-comment-string):
9861 After processing all Todo files, kill the buffers of those files that
9862 weren't being visited before the processing.
9863 (todo-display-as-todo-file, todo-add-to-buffer-list)
9864 (todo-visit-files-commands): Comment out.
9865 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9866 (auto-mode-alist): Remove add-to-list calls making Todo file
9867 extensions unrestrictedly tied to Todo modes.
9869 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9871 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9872 (advice-function-member-p): Tell it to check both names and functions
9874 (advice--add-function): Adjust call accordingly.
9876 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9878 * calendar/todo-mode.el: Miscellaneous bug fixes.
9879 (todo-delete-file): When deleting an archive but not its todo
9880 file, make sure to update the todo file's category sexp.
9881 (todo-move-category): Keep the moved category's name unless the
9882 file moved to already has a category with that name. If the
9883 numerically last category of the source file was moved, make the
9884 first category current to avoid selecting a nonexisting category.
9885 (todo-merge-category): Fix implementation to make merging to a
9886 category in another file work as documented. Eliminate now
9887 insufficient and unnecessary renaming of archive category, correct
9888 document string accordingly, and clarify it. If the numerically
9889 last category of the source file was merged, make the first
9890 category current to avoid selecting a nonexisting category.
9891 (todo-archive-done-item): When there are marked items and point
9892 happens to be on an unmarked item, ignore the latter. Don't leave
9893 point below last item after archiving marked items.
9894 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9895 from an archive with only one category deletes the archive only
9896 when the category is empty after unarchiving. Make sure the todo
9897 file's category sexp is updated.
9898 (todo-read-file-name): Allow an existing file name even when it is
9899 not required (todo-move-category needs this to work as documented).
9900 (todo-add-file): Call todo-validate-name to reject the name of an
9901 existing todo file (needed due to fix in todo-read-file-name).
9902 (todo-reset-nondiary-marker): Also reset in filtered items files.
9903 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9904 regexp filtered items files.
9905 (todo-reset-highlight-item): Also reset in filtered items files.
9906 Fix incorrect variable reference in document string.
9908 2014-05-26 Glenn Morris <rgm@gnu.org>
9910 * window.el (window--dump-frame): Avoid error in --without-x builds.
9912 2014-05-26 Glenn Morris <rgm@gnu.org>
9914 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9916 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9918 * frame.el (set-frame-font): Doc fix.
9920 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9922 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9924 * emacs-lisp/package.el (package--download-one-archive):
9925 Use `write-region' instead of `save-buffer' to avoid running various
9927 (describe-package-1): Same. Insert newline at the end of the
9928 buffer if appropriate.
9930 2014-05-26 Juri Linkov <juri@jurta.org>
9932 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9933 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9934 Add more modifiers: meta, control, shift, hyper, super, alt.
9937 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9938 to allow changing its value with `set-variable'.
9940 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9944 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9946 (scheme-mode-variables): Set syntax-propertize-function instead of
9947 font-lock-syntactic-face-function.
9948 (scheme-font-lock-syntactic-face-function): Delete.
9950 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9952 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9955 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9957 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9958 for a temporary file name.
9960 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9962 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9964 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9966 * net/dbus.el (dbus-init-bus, dbus-call-method)
9967 (dbus-call-method-asynchronously, dbus-send-signal)
9968 (dbus-method-return-internal, dbus-method-error-internal):
9969 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9971 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9973 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9974 methods which do not have a doc string. (Bug#17490)
9976 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9978 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9979 also for AMS Math's \eqref macro.
9981 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9983 Arrange to never byte-compile the generated -pkg.el file.
9985 * emacs-lisp/package.el (package-generate-description-file):
9986 Output first-line comment to set buffer-local var `no-byte-compile'.
9987 Suggested by Dmitry Gutov:
9988 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9990 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9992 Fix bug: Properly quote args to generated -pkg.el `define-package'.
9994 * emacs-lisp/package.el (package-generate-description-file):
9995 Inline `package--alist-to-plist'; rewrite to selectively
9996 quote alist values that are not self-quoting.
9997 (package--alist-to-plist): Delete func.
9999 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10001 * term/xterm.el (xterm-function-map): Add mapping for shifted
10004 2014-05-24 Daniel Colascione <dancol@dancol.org>
10006 * progmodes/subword.el (subword-find-word-boundary): Move point to
10007 correct spot before search. (Bug#17580)
10009 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10010 breaking the build.
10012 2014-05-24 Leo Liu <sdl.web@gmail.com>
10014 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10016 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10018 * minibuffer.el (completion--sreverse): Remove.
10019 (completion--common-suffix): Use `reverse' instead.
10020 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10022 2014-05-22 Glenn Morris <rgm@gnu.org>
10024 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10026 2014-05-21 Daniel Colascione <dancol@dancol.org>
10028 * files.el (interpreter-mode-alist): Add mksh.
10030 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10032 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10033 mksh. Improve custom spec; allow regular expressions.
10034 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10035 (sh-after-hack-local-variables): New function.
10036 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10037 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10039 (sh-canonicalize-shell): Rewrite to support regexes.
10041 2014-05-21 Leo Liu <sdl.web@gmail.com>
10043 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10045 2014-05-19 Leo Liu <sdl.web@gmail.com>
10047 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10049 2014-05-18 Glenn Morris <rgm@gnu.org>
10052 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10054 2014-05-14 Sam Steingold <sds@gnu.org>
10056 * progmodes/python.el (python-shell-get-or-create-process):
10057 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10058 back unless requested.
10060 2014-05-14 Glenn Morris <rgm@gnu.org>
10062 * subr.el (with-file-modes): New macro.
10063 * printing.el (pr-save-file-modes): Make obsolete.
10064 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10065 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10066 Add with-file-modes.
10067 * doc-view.el (doc-view-make-safe-dir):
10068 * epg.el (epg--start):
10069 * files.el (locate-user-emacs-file, make-temp-file)
10070 (backup-buffer-copy, move-file-to-trash):
10071 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10072 * eshell/esh-util.el (eshell-with-private-file-modes)
10073 (eshell-make-private-directory):
10074 * net/browse-url.el (browse-url-mosaic):
10075 * obsolete/mailpost.el (post-mail-send-it):
10076 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10077 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10078 Use with-file-modes.
10080 * vc/emerge.el (emerge-make-temp-file): Simplify.
10082 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10083 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10086 suffix (bug#15419).
10088 2014-05-14 Glenn Morris <rgm@gnu.org>
10090 * vc/emerge.el (emerge-temp-file-prefix):
10091 Make pointless option obsolete.
10092 (emerge-temp-file-mode): Make non-functional option obsolete.
10094 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10096 * net/browse-url.el (browse-url):
10097 Use `unhandled-file-name-directory' when setting `default-directory',
10098 in order to circumvent stalled remote connections. (Bug#17425)
10100 2014-05-14 Glenn Morris <rgm@gnu.org>
10102 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10103 Optimize on Emacs, which has the relevant functions for ages.
10105 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10107 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10109 2014-05-12 Sam Steingold <sds@gnu.org>
10111 * calendar/time-date.el (seconds-to-string): New function to
10112 pretty print time delay in seconds.
10114 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10116 * mpc.el (mpc-format): Trim Date to the year.
10117 (mpc-songs-hashcons): Shorten the Date field.
10119 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10120 into autoloading just because of a silly indirection.
10122 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10124 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10126 2014-05-12 Glenn Morris <rgm@gnu.org>
10128 * emacs-lisp/find-gc.el: Move to ../admin.
10130 * printing.el (pr-version):
10131 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10133 * net/browse-url.el (browse-url-mosaic):
10134 Create /tmp/Mosaic.PID as a private file.
10136 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10139 (advice--member-p): If name is given, only compare the name.
10140 (advice--remove-function): Don't stop at the first match.
10141 (advice--normalize-place): New function.
10142 (add-function, remove-function): Use it.
10143 (advice--add-function): Pass the name, if any, to
10144 advice--remove-function.
10146 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10148 * electric.el (electric-indent-post-self-insert-function): Don't use
10149 `pos' after modifying the buffer (bug#17449).
10151 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10153 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10154 Correct argument list to conform to todo-insert-item--basic.
10156 2014-05-12 Glenn Morris <rgm@gnu.org>
10158 * files.el (cd-absolute): Test if directory is accessible
10159 rather than executable. (Bug#17330)
10161 * progmodes/compile.el (recompile):
10162 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10164 * net/browse-url.el (browse-url-mosaic):
10165 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10166 This is CVE-2014-3423.
10168 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10170 * mouse.el: Use the normal toplevel loop while dragging.
10171 (mouse-set-point): Handle multi-clicks.
10172 (mouse-set-region): Handle multi-clicks for drags.
10173 (mouse-drag-region): Update call accordingly.
10174 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10175 Use the normal event loop instead of a local while/read-event loop.
10176 (global-map): Remove redundant bindings for double/triple-mouse-1.
10177 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10178 Generate synthetic down events when the protocol only sends up events.
10179 (xterm-mouse-last): Remove.
10180 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10181 terminal parameter instead.
10182 (xterm-mouse--set-click-count): New function.
10183 (xterm-mouse-event): Detect/generate double/triple clicks.
10184 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10186 * info.el (Info-quoted): New face.
10187 (Info-mode-font-lock-keywords): New var.
10188 (Info-mode): Use it.
10190 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10191 are a hindrance for C-x C-e.
10193 2014-05-11 Leo Liu <sdl.web@gmail.com>
10195 * net/rcirc.el (rcirc-sentinel): Fix last change.
10197 2014-05-08 Sam Steingold <sds@gnu.org>
10199 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10200 (rcirc-sentinel): Auto-reconnect to the server if
10201 `rcirc-reconnect-delay' is non-0 (but not more often than its
10202 value in case the host is off-line).
10204 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10206 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10208 2014-05-09 Glenn Morris <rgm@gnu.org>
10210 * files.el (file-expand-wildcards):
10211 * man.el (Man-support-local-filenames):
10212 * printing.el (pr-i-directory, pr-interface-directory):
10213 * progmodes/grep.el (lgrep, rgrep):
10214 * textmodes/ispell.el (ispell-call-process)
10215 (ispell-call-process-region, ispell-start-process)
10216 (ispell-init-process): Use file-accessible-directory-p.
10218 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10220 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10221 (xterm-mouse--read-event-sequence-1000): Return nil if something
10223 (xterm-mouse-event): Propagate it.
10224 (xterm-mouse-translate-1): Handle it.
10226 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10228 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10229 four slots of the parameter list are filled, make sure to pass it
10230 to the argument list of todo-insert-item--basic.
10232 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10234 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10235 Add optional `seen' argument to detect and break infinite loops.
10237 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10239 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10240 (trace-unsafe, trace-use-tree): Make parentheses style be
10241 according to Emacs style.
10243 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10245 * net/tramp-sh.el (tramp-remote-process-environment):
10246 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10247 Add :version entry.
10248 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10249 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10250 extra "PSx=..." commands.
10251 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10254 (tramp-uudecode): Replace the hard-coded temporary file name by a
10256 (tramp-remote-coding-commands): Enhance docstring.
10257 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10259 This is CVE-2014-3424.
10261 2014-05-08 Glenn Morris <rgm@gnu.org>
10263 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10264 (find-gc-source-files): Update some names.
10265 (trace-call-tree): Simplify and update.
10266 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10267 This is CVE-2014-3422.
10269 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * minibuffer.el (completion--try-word-completion): Revert fix for
10272 Bug#15980 (bug#17375).
10274 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10275 Always store button numbers in the same way in xterm-mouse-last;
10276 Don't burp is xterm-mouse-last is not set as expected.
10277 Never return negative indices.
10279 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10281 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10282 Backtrack one char if the global/char-literal var matcher hits
10283 inside a string. The next char could be the beginning of an
10284 expression expansion.
10286 2014-05-08 Glenn Morris <rgm@gnu.org>
10288 * help-fns.el (describe-function-1): Test for an autoload before a
10289 macro, since `macrop' works on autoloads. (Bug#17410)
10291 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10293 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10295 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10296 Make sure the new point we return is within the new string (bug#17239).
10298 2014-05-05 Daniel Colascione <dancol@dancol.org>
10300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10301 Port `gnu' pattern to rx.
10303 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10305 Remove unneeded prompt when closing a buffer with active
10306 emacsclient ("Buffer ... still has clients"), #16548.
10307 * server.el (server-start): Remove the only call to:
10308 (server-kill-buffer-query-function): Remove.
10310 2014-05-04 Leo Liu <sdl.web@gmail.com>
10312 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10313 Defvar to pacify compiler.
10315 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10317 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10319 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10321 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10322 Use nil rather than `default' for the "default" appearance (bug#17388).
10323 * vc/ediff-util.el (ediff-inferior-compare-regions)
10324 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10325 a misleading `default' value when it's really a boolean.
10326 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10327 overlay is not visible.
10329 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10331 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10332 (todo-menu): Uncomment and update.
10334 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10336 * calendar/todo-mode.el: Reimplement item editing to have the same
10337 basic user interface as item insertion, and make small UI and
10338 larger internal improvements to the latter.
10339 (todo-insert-item): Add reference to the Todo mode user manual to
10340 the documentation string.
10341 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10342 adjust all callers. Change signature to combine diary and
10343 nonmarking arguments. Incorporate functionality of deleted item
10344 copying command and add error checking. Remove detailed
10345 descriptions of the arguments from the documentation string, since
10346 this is treated in the Todo mode user manual.
10347 (todo-copy-item, todo-edit-multiline-item)
10348 (todo-edit-done-item-comment, todo-edit-item-header)
10349 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10350 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10351 (todo-edit-item-date-year, todo-edit-item-date-month)
10352 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10354 (todo-edit-item): Reimplement as wrapper command for
10355 todo-edit-item--next-key and make it distinguish done and not done
10357 (todo-edit-item--text): New function, replacing old command
10358 todo-edit-item and incorporating deleted commands
10359 todo-edit-multiline-item and todo-edit-done-item-comment.
10360 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10361 Use only numeric value of prefix argument. Remove detailed
10362 descriptions of the arguments from the documentation string, since
10363 this is treated in the Todo mode user manual.
10364 (todo-edit-item--diary-inclusion): New function, replacing old
10365 command todo-edit-item-diary-inclusion and incorporating and fixing
10366 functionality of deleted command todo-edit-item-diary-nonmarking,
10367 making sure to remove todo-nondiary-marker when adding
10368 diary-nonmarking-symbol.
10369 (todo-edit-category-diary-inclusion): Make sure to delete
10370 diary-nonmarking-symbol when adding todo-nondiary-marker.
10371 (todo-edit-category-diary-nonmarking): Fix indentation.
10372 (todo-insert-item--parameters): Group diary and nonmarking
10373 parameters together.
10374 (todo-insert-item--apply-args): Adjust to signature of
10375 todo-insert-item--basic and incorporate copy parameter.
10376 Make small code improvements.
10377 (todo-insert-item--next-param): Improve prompt and adjust it to
10378 new parameter grouping. Remove obsolete code.
10379 (todo-edit-item--param-key-alist)
10380 (todo-edit-item--date-param-key-alist)
10381 (todo-edit-done-item--param-key-alist): New defconsts.
10382 (todo-edit-item--prompt): New variable.
10383 (todo-edit-item--next-key): New function.
10384 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10385 Remove bindings of deleted commands.
10387 2014-05-04 Leo Liu <sdl.web@gmail.com>
10389 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10391 2014-05-04 Glenn Morris <rgm@gnu.org>
10393 * allout-widgets.el (allout-widgets-tally)
10394 (allout-decorate-item-guides):
10395 * menu-bar.el (menu-bar-positive-p):
10396 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10397 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10398 * progmodes/js.el (js--inside-param-list-p)
10399 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10400 * progmodes/prolog.el (region-exists-p):
10401 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10402 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10403 Doc fixes (replace `iff').
10405 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10409 2014-05-04 Leo Liu <sdl.web@gmail.com>
10411 Support Chinese diary entries in calendar and diary. (Bug#17393)
10412 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10413 (calendar-chinese-from-absolute-for-diary)
10414 (calendar-chinese-to-absolute-for-diary)
10415 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10416 (diary-chinese-list-entries): New functions to list and mark
10417 Chinese diary entries in the calendar window.
10418 (diary-chinese-anniversary)
10419 (diary-chinese-insert-anniversary-entry)
10420 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10421 (diary-chinese-insert-yearly-entry): New commands to insert
10422 Chinese diary entries.
10424 * calendar/diary-lib.el (diary-font-lock-keywords):
10425 Support font-locking Chinese dates.
10427 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10428 inserting Chinese diary entries.
10430 * calendar/calendar.el (diary-chinese-entry-symbol):
10431 New customizable variable.
10432 (calendar-mode-map): Add bindings for inserting Chinese diary
10435 2014-05-03 Juri Linkov <juri@jurta.org>
10437 * dired.el (dired-check-switches, dired-switches-recursive-p):
10438 New functions. (Bug#17218)
10439 (dired-switches-escape-p, dired-move-to-end-of-filename):
10440 Use `dired-check-switches'.
10441 (dired-insert-old-subdirs, dired-build-subdir-alist)
10442 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10444 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10446 * simple.el (undo-make-selective-list): New algorithm fixes
10447 incorrectness of position adjustments when undoing in region.
10449 (undo-elt-crosses-region): Make obsolete.
10450 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10451 New functions to adjust positions using undo-deltas.
10453 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10456 the last consecutive closing paren (bug#17345).
10458 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10460 * dired.el (dired-mode): make terminology for eXpunge command
10461 consistent. (Bug#17276)
10463 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10465 * dired.el (dired-initial-position-hook, dired-initial-position):
10468 2014-04-30 Glenn Morris <rgm@gnu.org>
10470 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10472 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10474 * faces.el (face-spec-recalc): Apply X resources only after the
10475 defface spec has been applied. Thus, X resources are no longer
10476 overriden by the defface spec which also fixes issues on win32 where
10477 the toolbar coloring was wrong because it is set through X resources
10478 and was (wrongfully) overriden. (Bug#16694)
10480 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * textmodes/rst.el (electric-pair-pairs): Declare.
10483 (rst-mode): Set it (bug#17131).
10485 2014-04-30 Juri Linkov <juri@jurta.org>
10487 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10488 and `print-level' to nil. (Bug#17351)
10490 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10492 * battery.el (battery-update): Handle the case where battery
10493 status is "N/A" (bug#17319).
10495 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10497 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10498 to syntax-propertize.
10499 (ps-mode-auto-indent): Mark as obsolete.
10500 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10501 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10502 word regexp operators.
10503 (ps-mode-map): Move initialization into declaration. Remove binding
10504 for TAB, RET, >, ], and }.
10505 (ps-mode-syntax-table): Move initialization into declaration.
10506 Don't give word syntax to non-word chars.
10507 (ps-run-mode-map): Move initialization into declaration.
10508 (ps-mode-menu-main): Remove auto-indent entry.
10509 (ps-mode-smie-rules): New function.
10510 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10511 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10512 (ps-mode--string-syntax-table): New const.
10513 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10515 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10516 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10518 2014-04-27 Daniel Colascione <dancol@dancol.org>
10520 * term/xterm.el (xterm-paste): Use large finite timeout when
10521 reading event to avoid putting keys in this-command-keys.
10523 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10525 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10526 (perl-syntax-propertize-function): Use it. Extend handling of
10527 here-docs to the unquoted case.
10529 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10531 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10532 Use equal-including-properties to compare help-echo strings (bug#17331).
10534 2014-04-25 Leo Liu <sdl.web@gmail.com>
10536 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10537 Fix syntax for @. (Bug#17325)
10539 2014-04-25 Daniel Colascione <dancol@dancol.org>
10541 * emacs-lisp/cl.el (gv): Require gv early to break eager
10542 macro-expansion cycles.
10544 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10546 * simple.el (region-active-p): Check there's a mark (bug#17324).
10548 * simple.el (completion-list-mode-map): Use choose-completion for the
10549 mouse binding as well (bug#17302).
10550 (completion-list-mode, completion-setup-function): Adjust docstring and
10551 echo area message accordingly.
10552 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10553 calling convention of choose-completion.
10554 * comint.el (comint-dynamic-list-completions):
10555 * term.el (term-dynamic-list-completions): Accept choose-completion.
10557 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10558 &, |, +, - and * can't be a division (bug#17317).
10560 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10561 features on gnome-terminal (bug#16988).
10563 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10565 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10567 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10568 the declared object, ignore zero or more parens, not zero or one.
10570 2014-04-24 Leo Liu <sdl.web@gmail.com>
10572 * progmodes/xscheme.el (xscheme-expressions-ring)
10573 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10574 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10575 (xscheme-allow-output-p, xscheme-prompt)
10576 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10578 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10579 Comment out unused functions.
10581 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10583 * info.el: Use lexical-binding and cl-lib.
10584 Use defvar-local and setq-local instead of make-local-variable.
10585 (Info-apropos-matches): Avoid add-to-list.
10586 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10588 2014-04-24 Daniel Colascione <dancol@dancol.org>
10590 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10592 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10594 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10596 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10598 * dired.el (dired-insert-set-properties): Do not consider
10599 subdirectory headings and empty lines to be information that
10600 `dired-hide-details-mode' should hide. (Bug#17228)
10602 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10604 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10605 Remove test messages.
10606 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10607 and `target' twice.
10609 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10612 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10614 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10616 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10618 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10619 Set "IFS=" when using read builtin, in order to preserve spaces in
10620 the file name. Add test messages for hunting a bug on hydra.
10621 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10623 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10626 Don't prettify a word within a symbol.
10628 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10630 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10633 2014-04-22 Daniel Colascione <dancol@dancol.org>
10635 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10636 use defun to define `function-put'.
10638 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10641 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10642 (lisp-mode-variables): Set font-lock-extra-managed-props.
10644 * emacs-lisp/byte-run.el (function-put): New function.
10645 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10646 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10647 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10650 2014-04-22 Daniel Colascione <dancol@dancol.org>
10652 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10653 Add `full-p' parameter; when nil, call `macroexpand' instead of
10656 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10657 Improve docstrings.
10659 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10660 Use lambda function values, not quoted lambdas.
10661 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10663 * emacs-lisp/cl-macs.el
10664 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10665 (cl-struct-slot-value): Conditionally use aref or nth so that the
10666 compiler produces optimal code.
10668 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10670 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10671 (inline): Don't inline cl--set-elt.
10672 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10673 Define as inlinable instead.
10674 (cl-struct-set-slot-value): Remove.
10676 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10677 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10680 2014-04-21 Daniel Colascione <dancol@dancol.org>
10682 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10683 last two parameters after all.
10684 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10685 (cl--compiler-macro-assoc,cl-struct-slot-value)
10686 (cl-struct-set-slot-value): Stop using them.
10688 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10691 entry in image-mode-winprops-alist.
10693 2014-04-21 Daniel Colascione <dancol@dancol.org>
10695 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10696 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10697 (byte-compile-toplevel-file-form): Use it.
10699 * emacs-lisp/cl-macs.el:
10700 (cl--loop-let): Properly destructure `while' clauses.
10702 2014-04-20 Daniel Colascione <dancol@dancol.org>
10704 * vc/vc.el (vc-root-dir): New public autoloaded function for
10705 generically finding the current VC root.
10706 * vc/vc-hooks.el (vc-not-supported): New error.
10707 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10709 2014-04-20 Daniel Colascione <dancol@dancol.org>
10711 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10713 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10714 argument in case we're inside a symbol-macrolet.
10715 (cl--do-arglist, cl--compiler-macro-typep)
10716 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10717 environment to `cl--const-expr-val'.
10718 (cl-struct-sequence-type,cl-struct-slot-info)
10719 (cl-struct-slot-offset, cl-struct-slot-value)
10720 (cl-struct-set-slot-value): New functions.
10722 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10725 assignments such as "case=hello" (bug#17297).
10727 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10729 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10731 (tramp-file-name-handler, tramp-completion-file-name-handler):
10732 Revert patch from 2014-04-10, it isn't necessary anymore.
10733 (tramp-autoload-file-name-handler)
10734 (tramp-register-autoload-file-name-handlers): New defuns.
10735 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10736 (tramp-register-file-name-handlers): Remove also
10737 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10738 Do not autoload its invocation, but eval it after loading of 'tramp.
10740 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10742 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10744 2014-04-17 Daniel Colascione <dancol@dancol.org>
10746 Add support for bracketed paste mode; add infrastructure for
10747 managing terminal mode enabling and disabling automatically.
10750 (xterm-mouse-mode): Simplify.
10751 (xterm-mouse-tracking-enable-sequence)
10752 (xterm-mouse-tracking-disable-sequence): New constants.
10753 (turn-on-xterm-mouse-tracking-on-terminal)
10754 (turn-off-xterm-mouse-tracking-on-terminal):
10755 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10756 parameters instead of random hooks.
10757 (turn-on-xterm-mouse-tracking)
10758 (turn-off-xterm-mouse-tracking): Delete.
10760 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10761 (xterm-paste-ending-sequence): New constant.
10762 (xterm-paste): New command used for bracketed paste support.
10764 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10765 (terminal-init-xterm-bracketed-paste-mode): New function.
10766 (terminal-init-xterm): Call it.
10767 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10768 and tty-mode-reset-strings instead of random hooks.
10769 (xterm-turn-on-modify-other-keys)
10770 (xterm-turn-off-modify-other-keys)
10771 (xterm-remove-modify-other-keys): Delete obsolete functions.
10773 * term/screen.el: Rewrite to just use the xterm code.
10774 Add copyright notice. Mention tmux.
10776 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10778 * image-mode.el (image-mode-window-put): Also update the property of
10779 the "default window".
10780 * doc-view.el (doc-view-new-window-function): If no window
10781 exists, move to the last known page.
10783 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10786 here-documents (bug#17262).
10788 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10790 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10791 Provide doc strings, as required by snarf-documentation.
10793 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10795 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10796 arg of overlays-at. Use `invisible-p'.
10798 * obsolete/lucid.el (extent-at):
10799 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10801 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10803 2014-04-16 João Távora <joaotavora@gmail.com>
10805 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10806 links. (Bug#17217).
10808 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10810 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10811 Use mapc to loop over a vector. (Bug#17257).
10813 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10815 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10816 patch, there are new problems with file names containing spaces.
10817 Get rid of backticks. (Bug#17238)
10819 2014-04-16 João Távora <joaotavora@gmail.com>
10821 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10824 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10826 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10827 (blink-cursor-mode): Mention customization variables and the
10828 effect of 'blink-cursor-blinks'.
10830 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10832 * simple.el (undo): Prevent insertion of identity mapping into
10833 undo-equiv-table so as undo-only does not inf loop in the presence
10834 of consecutive nils in undo list.
10836 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10838 * faces.el (make-face): Deprecate optional argument as it is no
10839 longer needed/used since the conditional X resources handling
10840 has been pushed down to make-face-x-resource-internal itself.
10841 (make-empty-face): Don't pass optional argument to make-face.
10843 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10845 * savehist.el (savehist-save): Remove workaround for a read-passwd
10846 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10847 noticing that the shim was still present.
10849 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10851 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10853 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10855 * faces.el (face-set-after-frame-default): Remove unused local variable.
10857 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * progmodes/grep.el: Use lexical-binding.
10860 (grep-expand-template): Pass explicit lexical env to `eval'.
10861 (zrgrep): Let-bind grep-find-template explicitly.
10863 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10864 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10866 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10868 * international/characters.el <standard-case-table>: Add entries
10869 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10870 Set category of Coptic characters be 'g' (Greek).
10872 2014-04-12 Leo Liu <sdl.web@gmail.com>
10874 * progmodes/octave.el (completion-table-with-cache):
10875 Define if not available.
10876 (octave-goto-function-definition, octave-sync-function-file-names)
10877 (octave-find-definition-default-filename):
10878 Backquote upattern for compatibility.
10880 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10882 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10883 name twice due to backticks. (Bug#17238)
10885 2014-04-12 Glenn Morris <rgm@gnu.org>
10887 * term/w32-win.el (x-win-suspend-error):
10888 * term/x-win.el (x-win-suspend-error): Sync docs.
10890 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10892 * faces.el (make-face): Remove deprecated optional argument.
10893 The conditional application of X resources is handled directly by
10894 make-face-x-resource-internal since Emacs 24.4.
10895 (make-empty-face): Don't pass optional argument to make-face.
10897 2014-04-11 Glenn Morris <rgm@gnu.org>
10899 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10901 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10903 Ediff's overlay priorities cause more trouble than they solve.
10904 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10905 (ediff-highest-priority): Remove function (bug#17234).
10906 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10907 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10908 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10909 overlay priorities.
10911 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10913 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10914 entry; use symbol boundaries to avoid mis-matches.
10916 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10918 * net/tramp.el (tramp-file-name-handler)
10919 (tramp-completion-file-name-handler): Avoid recursive loading.
10921 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10922 Quote result also locally.
10924 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10927 Remove left-over code.
10929 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10930 Reuse the previous comment's indentation unconditionally if it's on its
10933 2014-04-09 Daniel Colascione <dancol@dancol.org>
10935 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10936 `no-syntax-crossing' arguments. Forward to `up-list'.
10937 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10938 Implement logic for escaping from strings. Use narrowing to deal
10941 2014-04-09 Leo Liu <sdl.web@gmail.com>
10943 * net/rcirc.el (rcirc-connection-info): New variable.
10944 (rcirc-connect): Use it to store connection info.
10945 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10946 for killed process.
10947 (rcirc-cmd-reconnect): New command. (Bug#17045)
10948 (rcirc-mode, set-rcirc-encode-coding-system)
10949 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10951 2014-04-09 Daniel Colascione <dancol@dancol.org>
10953 * emacs-lisp/cl-indent.el: Add comment claiming
10954 facility is also good for elisp.
10955 (lisp-indent-find-method): New function.
10956 (common-lisp-indent-function): Recognize cl-loop.
10957 (common-lisp-indent-function-1): Recognize cl constructs; use
10958 `lisp-indent-find-method' instead of `get' directly.
10959 (if): Use else-body style for elisp.
10961 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10963 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10964 Module methods. (Bug#17216)
10966 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10968 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10969 (describe-bindings-internal): Mark obsolete.
10971 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10973 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10974 buffer-file-name, and buffer-file-truename any more.
10976 2014-04-08 Leo Liu <sdl.web@gmail.com>
10978 Use lexical-binding and require cl-lib.
10979 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10980 (rcirc-handler-generic, rcirc-fill-paragraph)
10981 (rcirc-format-response-string, rcirc-target-buffer)
10982 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10983 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10984 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10985 (rcirc-markup-timestamp, rcirc-markup-attributes)
10986 (rcirc-markup-my-nick, rcirc-markup-urls)
10987 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10988 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10989 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10990 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10991 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10992 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10993 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10994 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10995 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10996 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10997 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11000 2014-04-07 João Távora <joaotavora@gmail.com>
11002 * elec-pair.el (electric-pair--syntax-ppss):
11003 When inside comments parse from comment beginning.
11004 (electric-pair--balance-info): Fix typo in comment.
11005 (electric-pair--in-unterminated-string-p): Delete.
11006 (electric-pair--unbalanced-strings-p): New function.
11007 (electric-pair-string-bound-function): New var.
11008 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11009 according to `electric-pair--in-unterminated-string-p'
11011 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11012 Inhibit quote pairing if point-max is inside an unterminated string.
11013 (electric-pair--looking-at-unterminated-string-p): Delete.
11014 (electric-pair--in-unterminated-string-p): New function.
11016 2014-04-07 Glenn Morris <rgm@gnu.org>
11018 * shell.el (shell-directory-tracker):
11019 Go back to just ignoring failures. (Bug#17159)
11021 2014-04-07 João Távora <joaotavora@gmail.com>
11023 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11024 backspace. (Bug#16981)
11025 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11026 (electric-pair-backward-delete-char-untabify): Delete.
11027 (electric-pair-mode-map): Bind backspace to a menu item filtering
11028 a new `electric-pair-delete-pair' command.
11029 (electric-pair-delete-pair): New command.
11031 * progmodes/python.el (python-electric-pair-string-delimiter):
11032 Fix triple-quoting electricity. (Bug#17192)
11034 * elec-pair.el (electric-pair-post-self-insert-function):
11035 Don't skip whitespace when `electric-pair-text-pairs' and
11036 `electric-pair-pairs' were used. syntax to
11037 electric-pair--skip-whitespace. (Bug#17183)
11039 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11041 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11044 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11047 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11049 2014-04-07 Glenn Morris <rgm@gnu.org>
11051 * help.el (view-lossage): Doc tweak.
11053 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11055 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11056 only when inhibit-x-resources is nil, and do that earlier in the
11057 function. Doc fix. (Bug#16694)
11058 (face-spec-choose): Accept additional optional argument, whose
11059 value is returned if no matching attributes are found.
11060 (face-spec-recalc): Use the new optional argument when calling
11061 face-spec-choose. (Bug#16378)
11062 (make-face-x-resource-internal): Do nothing when
11063 inhibit-x-resources is non-nil. Don't touch the default face if
11064 reversed video is given--as was done in previous versions of Emacs.
11065 (face-set-after-frame-default): Don't call
11066 make-face-x-resource-internal here. (Bug#16434)
11068 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11070 * doc-view.el (doc-view-bookmark-jump):
11071 Use `bookmark-after-jump-hook' to jump to the right page after the
11072 buffer is shown in a window. (bug#16090)
11074 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11076 * international/characters.el (mirroring): Fix last change:
11077 instead of loading uni-mirrored.el explicitly, do that implicitly
11078 by creating the 'mirroring' uniprop table. This avoids announcing
11079 the loading of uni-mirrored.el.
11081 2014-04-07 Glenn Morris <rgm@gnu.org>
11083 * files.el (buffer-stale--default-function)
11084 (buffer-stale-function, revert-buffer--default):
11085 * autorevert.el (auto-revert-buffers): Doc tweaks.
11087 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11089 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11091 2014-04-07 Glenn Morris <rgm@gnu.org>
11093 * files.el (make-backup-file-name-function)
11094 (make-backup-file-name, make-backup-file-name--default-function)
11095 (make-backup-file-name-1, find-backup-file-name)
11096 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11097 (buffer-stale--default-function, buffer-stale-function)
11098 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11099 (revert-buffer, revert-buffer--default)
11100 (revert-buffer-insert-file-contents--default-function):
11101 Doc fixes related to defaults no longer being nil.
11102 (make-backup-file-name-function): Bump :version.
11103 Restore nil as a valid but deprecated custom type.
11105 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11107 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11108 Handle $' used as a variable (bug#17174).
11110 * progmodes/perl-mode.el (perl-indent-new-calculate):
11111 Handle forward-sexp failure (bug#16985).
11112 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11113 modifiers introducing expressions (bug#17116).
11115 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11117 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11119 2014-04-05 Leo Liu <sdl.web@gmail.com>
11121 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11122 Add define-compilation-mode.
11124 2014-04-04 João Távora <joaotavora@gmail.com>
11126 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11127 parse from comment beginning.
11128 (electric-pair--balance-info): Fix typo in comment.
11129 (electric-pair--in-unterminated-string-p): Delete.
11130 (electric-pair--unbalanced-strings-p): New function.
11131 (electric-pair-string-bound-function): New var.
11132 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11133 according to `electric-pair--in-unterminated-string-p'.
11135 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11138 Move declaration before first use.
11139 (reftex-move-to-next-arg): Silence compiler warning.
11141 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11143 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11144 Use `window-total-width' instead of `window-width'.
11146 2014-04-03 Daniel Colascione <dancol@dancol.org>
11148 * subr.el (set-transient-map): Remove rms's workaround entirely;
11149 use new `suspicious-object' subr to mark our lambda for closer
11150 scrutiny during gc.
11152 2014-04-02 Richard Stallman <rms@gnu.org>
11154 * subr.el (set-transient-map): Comment out previous change.
11156 2014-04-02 Glenn Morris <rgm@gnu.org>
11158 * menu-bar.el (menu-bar-file-menu):
11159 * vc/ediff.el (ediff-current-file):
11160 Update for revert-buffer-function no longer being nil by default.
11162 * simple.el (command-execute): Respect nil disabled-command-function.
11164 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11166 * simple.el (command-execute): Do not execute the command when it
11167 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11169 2014-04-02 Juri Linkov <juri@jurta.org>
11171 * dired-aux.el (dired-compress-file): Don't use string-match-p
11172 because its match data is used afterwards.
11174 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11179 2014-04-02 João Távora <joaotavora@gmail.com>
11181 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11182 Inhibit quote pairing if point-max is inside an unterminated string.
11183 (electric-pair--looking-at-unterminated-string-p):
11185 (electric-pair--in-unterminated-string-p): New function.
11187 2014-04-01 Daniel Colascione <dancol@dancol.org>
11189 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11190 when trying to complete the prompt.
11192 2014-03-31 Leo Liu <sdl.web@gmail.com>
11194 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11195 Refactor out eldoc-documentation-function-default.
11196 (eldoc-documentation-function-default): New function.
11197 (eldoc-documentation-function): Change value.
11199 2014-03-31 Glenn Morris <rgm@gnu.org>
11201 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11203 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11204 (vhdl-compose-components-package, vhdl-compose-configuration):
11205 Abbreviate default-directory (missing from some previous upstream sync).
11207 2014-03-31 Reto Zimmermann <reto@gnu.org>
11209 Sync with upstream vhdl mode v3.35.2.
11210 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11211 (top-level): No longer require assoc.
11212 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11213 New functions. Use throughout to replace aget etc.
11214 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11215 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11216 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11217 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11218 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11219 except `vhdl-compiler'.
11220 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11223 2014-03-31 Glenn Morris <rgm@gnu.org>
11225 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11226 Revert 2014-03-26 merge goof; go back to using defalias.
11228 2014-03-30 Daniel Colascione <dancol@dancol.org>
11230 * comint.el (comint-send-input):
11231 Deactivate completion-in-region-mode before we send comint input.
11234 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11237 2014-03-29 Glenn Morris <rgm@gnu.org>
11239 * textmodes/reftex.el: Manage most autoloads automatically.
11240 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11241 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11242 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11243 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11244 * textmodes/reftex-toc.el: Set generated-autoload-file,
11245 and add autoload cookies for reftex.el.
11246 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11248 2014-03-28 Glenn Morris <rgm@gnu.org>
11250 * cus-start.el (report-emacs-bug-address): Set custom properties.
11251 * mail/emacsbug.el (report-emacs-bug-address):
11252 Variable is now defined in emacs.c.
11254 * mail/emacsbug.el (report-emacs-bug):
11255 Include system-configuration-features.
11257 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11259 * simple.el (cycle-spacing): Never delete spaces on first run by
11260 default, but do so in a new 'fast mode and if there are already
11261 N spaces (the previous behavior).
11262 Compare N with its value in previous invocation so that changing
11263 prefix argument restarts `cycle-spacing' sequence.
11264 The idea is that with this change, binding M-SPC to
11265 `cycle-spacing' should not introduce any changes in behavior of
11266 the binding so long as users do not type M-SPC twice in a raw with
11267 the same prefix argument or lack thereof.
11269 2014-03-28 Glenn Morris <rgm@gnu.org>
11271 * faces.el (term-file-aliases): New variable.
11272 (tty-run-terminal-initialization): Respect term-file-aliases.
11273 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11274 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11275 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11277 2014-03-27 Glenn Morris <rgm@gnu.org>
11279 * startup.el (inhibit-startup-hooks): Doc tweak.
11280 (normal-top-level): Simplify running of hooks.
11281 For window-setup-hook, respect inhibit-startup-hooks.
11282 (command-line-1): Don't set window-setup-hook to nil.
11284 Allow selective autoloading from obsolete/ directory.
11285 * Makefile.in (obsolete-autoloads): New rule.
11286 (autoloads): Run obsolete-autoloads.
11287 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11288 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11290 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11292 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11293 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11295 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11296 Don't propertize `?' or `!' as symbol constituent when after
11299 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11301 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11302 which is no longer needed and causes trouble in GTK builds (bug#17046).
11304 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11305 Use url-insert-file-contents; package-handle-response no longer exists.
11307 2014-03-26 Daniel Colascione <dancol@dancol.org>
11309 * simple.el (process-menu-mode-map): New variable.
11310 (process-menu-delete-process): New command.
11312 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11314 * emacs-lisp/package.el: Fix bug#16733 (again).
11315 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11316 (url-http-target-url): Remove unused declarations.
11317 (package-handle-response): Remove.
11318 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11319 (package--download-one-archive): Use current-buffer instead of
11320 dynamic binding of `buffer'.
11321 (describe-package-1): Do not decode readme-string.
11323 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11325 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11327 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11328 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11329 `remote-file-name-inhibit-cache' to nil in the second pass.
11330 (tramp-find-executable): Do not call "which" on SunOS.
11331 (tramp-send-command-and-check): Fix docstring.
11332 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11333 check whether source directory has set the sticky bit.
11335 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11337 * simple.el (primitive-undo): Only process marker adjustments
11338 validated against their corresponding (TEXT . POS). Issue warning
11339 for lone marker adjustments in undo history. (Bug#16818)
11340 (undo-make-selective-list): Add marker adjustments to selective
11341 undo list based on whether their corresponding (TEXT . POS) is in
11342 the region. Remove variable adjusted-markers, which was unused
11343 and only non nil during undo-make-selective-list.
11344 (undo-elt-in-region): Return nil when passed a marker adjustment
11345 and explain in function doc.
11347 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11349 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11351 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11353 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11354 Match special global variables without curlies, too.
11355 (ruby-font-lock-keywords): Simplify the matcher for special global
11356 variables. Don't require a non-word character after the variable.
11359 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * simple.el (redisplay-highlight-region-function): Increase priority of
11362 overlay to make sure boundaries are visible (bug#15899).
11364 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11366 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11367 (frameset-restore): Compare display strings with equal.
11369 * frame.el (make-frame): Don't quote display name in error message,
11370 it is already a string.
11372 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11374 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11377 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11379 * emacs-lisp/package.el (package--add-to-archive-contents):
11380 Include already installed and built-in packages in
11381 `package-archive-contents'.
11382 (package-install): Don't include already installed packages in the
11383 options during interactive invocation. (Bug#16762)
11384 (package-show-package-list): If the buffer is already displayed in
11385 another window, switch to that window.
11387 2014-03-26 Reto Zimmermann <reto@gnu.org>
11389 Sync with upstream vhdl mode v3.35.1.
11390 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11391 (vhdl-compiler-alist): Doc fix.
11392 (vhdl-goto-line): Remove.
11393 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11394 (vhdl-mode) <paragraph-start>: Fix value.
11395 (vhdl-fix-statement-region): Not `for' in wait-statement.
11396 (vhdl-beautify-region): Also (un)tabify.
11397 (vhdl-get-visible-signals):
11398 Scan declarative part of generate statements.
11399 (vhdl-template-record): Fix indentation for record type declaration.
11400 (vhdl-expand-abbrev, vhdl-expand-paren):
11401 Revert to using fset again rather than defalias.
11402 (vhdl-scan-directory-contents): Tweak.
11403 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11404 (vhdl-compose-components-package):
11405 Replace vhdl-goto-line with forward-line.
11406 (top-level): Tweak speedbar frame selection.
11407 (vhdl-generate-makefile-1): Support for compilers with no
11408 unit-to-file name mapping (create directory with dummy files).
11410 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11412 Sync with upstream verilog-mode revision 702457d.
11413 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11414 (create-lockfiles): Declare.
11415 (verilog-read-decls): Fix module header imports, bug709.
11416 Reported by Victor Lau.
11417 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11418 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11419 interface-only modules, bug721. Reported by Dean Hoyt.
11421 2014-03-26 Glenn Morris <rgm@gnu.org>
11423 * obsolete/gulp.el: Move here from emacs-lisp/.
11425 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11426 Remove fallback aliases, since they are always defined now.
11428 2014-03-24 Daniel Colascione <dancol@dancol.org>
11430 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11431 instead of cl-loop search function.
11433 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11435 * calendar/parse-time.el (parse-time-iso8601-regexp)
11436 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11439 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11441 * net/dns.el (network-interface-list): Define for XEmacs.
11443 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11445 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11446 the network interfaces changed.
11447 (dns-query): Use it to flush the data.
11449 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11451 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11453 2014-03-23 Daniel Colascione <dancol@dancol.org>
11455 Change subword-mode to use `find-word-boundary-function-table' and
11456 replace `capitalized-words-mode'. Also, convert to lexical binding.
11457 * progmodes/cap-words.el: Delete now-obsolete file.
11458 * progmodes/subword.el: Reimplement using
11459 `find-word-boundary-function-table'.
11460 (subword-mode-map): Hollow out.
11461 (capitalized-words-mode): Define as obsolete alias for
11463 (subword-mode, superword-mode): Tweak documentation to reflect new
11464 implementation; call `subword-setup-buffer'.
11465 (subword-forward, subword-capitalize): Add underscore to indicate
11467 (subword-find-word-boundary-function-table): New constant.
11468 (subword-empty-char-table): New constant.
11469 (subword-setup-buffer): New function.
11470 (subword-find-word-boundary): New function.
11472 2014-03-23 Daniel Colascione <dancol@dancol.org>
11474 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11475 list to look for keyword arguments instead of `memq', fixing
11476 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11477 Please make bootstrap.
11479 2014-03-22 Glenn Morris <rgm@gnu.org>
11481 * dired.el (dired-read-regexp): Make obsolete.
11482 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11483 (dired-flag-files-regexp):
11484 * dired-aux.el (dired-mark-read-regexp):
11485 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11487 * startup.el (fancy-startup-text):
11488 * help.el (describe-gnu-project): Visit online info about GNU project.
11490 * help-fns.el (help-fns--interactive-only): New function.
11491 (help-fns-describe-function-functions): Add the above function.
11492 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11493 (next-line, previous-line): Remove hand-written interactive-only
11494 information from doc strings, it is auto-generated now.
11495 * bookmark.el (bookmark-write):
11496 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11497 (epa-mail-import-keys): Mark interactive-only,
11498 and remove hand-written interactive-only information from doc strings.
11499 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11500 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11501 * files.el (not-modified):
11502 * simple.el (mark-whole-buffer): Mark interactive-only.
11504 * emacs-lisp/byte-run.el (defun-declarations-alist):
11505 Add interactive-only. Doc tweak.
11506 (macro-declarations-alist): Doc tweak.
11507 * subr.el (declare): Doc tweak (add xref to manual).
11508 * comint.el (comint-run):
11509 * files.el (insert-file-literally, insert-file):
11510 * replace.el (replace-string, replace-regexp):
11511 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11512 (delete-forward-char, goto-line, insert-buffer, next-line)
11513 (previous-line): Set interactive-only via declare.
11515 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11517 * emacs-lisp/package.el (package-desc): Use the contents of the
11518 quoted form, not its cdr. (Bug#16873)
11520 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11522 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11523 benefit of doc.c; change parameter profile to match the X function.
11525 2014-03-22 Leo Liu <sdl.web@gmail.com>
11527 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11528 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11530 2014-03-21 Richard Stallman <rms@gnu.org>
11532 * battery.el (battery-linux-sysfs): Search for each field
11533 from the beginning of the buffer.
11535 * subr.el (set-transient-map): Clear out function and value
11536 of the temporary symbol when we're done with it.
11538 * mail/rmailsum.el (rmail-summary-delete-forward):
11539 Optimize case of reaching end and handling count.
11540 (rmail-summary-mark-deleted): Optimize when N is current msg.
11541 Don't create new summary line.
11542 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11543 (rmail-summary-undelete-many): Rewrite for speed.
11544 (rmail-summary-msg-number): New function.
11546 * mail/rmail.el (rmail-delete-message): Update summary.
11547 (rmail-undelete-previous-message): Handle repeat count arg.
11548 (rmail-delete-backward, rmail-delete-forward): Likewise.
11550 2014-03-21 Daniel Colascione <dancol@dancol.org>
11552 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11553 information in bug reports.
11555 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11557 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11558 and `tramp-copy-env'.
11560 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11561 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11563 2014-03-21 Glenn Morris <rgm@gnu.org>
11565 * electric.el (electric-indent-post-self-insert-function): Add doc.
11567 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11569 * emacs-lisp/package.el (package-compute-transaction):
11570 Use `version-list-<=' to compare the requirement version against
11571 the version of package already to be installed. Update the error
11572 message. (Bug#16826)
11574 * progmodes/ruby-mode.el (ruby-smie-rules):
11575 Add indentation rule for ` @ '. (Bug#17050)
11577 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11579 * align.el (align-regexp): Remove superfluous backslash.
11581 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11582 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11583 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11584 Fix docstring typos.
11585 (ffap-next): Use C-u in docstring.
11586 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11587 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11588 Remove superfluous backslashes.
11589 (ffap-string-at-point): Reflow docstring.
11591 * server.el (server-host): Reflow docstring.
11592 (server-unload-function): Fix docstring typo.
11593 (server-eval-at): Remove superfluous backslash.
11595 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11596 (skeleton-insert): Doc fix.
11597 (skeleton-insert): Reflow docstring.
11599 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11600 (tty-color-approximate, tty-color-by-index, tty-color-values)
11601 (tty-color-desc): Remove superfluous backslashes.
11603 2014-03-21 Glenn Morris <rgm@gnu.org>
11605 * cus-start.el (history-length): Bump :version.
11607 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11608 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11609 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11610 Don't set `make-backup-files'.
11612 * info.el (info--prettify-description): New function,
11613 to give info-finder descriptions consistent case, punctuation.
11614 (Info-finder-find-node): Use it. Sort packages.
11615 Refer to "description" rather than "commentary".
11617 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11619 * frameset.el (frameset--print-register): New function.
11620 (frameset-to-register): Use it.
11622 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11624 * progmodes/hideif.el (hif-string-to-number): New function.
11625 (hif-tokenize): Use it to understand non-decimal floats.
11627 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11629 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11631 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * electric.el (electric-newline-and-maybe-indent): New command.
11634 Bind it globally to C-j.
11635 (electric-indent-mode): Don't mess with the global map any more.
11636 Don't drop the post-self-insert-hook is some buffer is still using it
11639 * bindings.el (global-map): Remove C-j binding.
11641 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11642 the docstring of functions advised before dumping (bug#16993).
11644 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11646 * ps-print.el (ps-generate-postscript-with-faces):
11647 Explicitly deactivate the mark (bug#16866).
11648 * simple.el (deactivate-mark): Update region highlight.
11650 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11652 * emacs-lisp/package.el (describe-package-1):
11653 Decode commentary (bug#16733).
11655 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11657 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11658 modification of the value argument of :set (bug#16755).
11660 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11662 * simple.el (newline-and-indent): Do autofill (bug#17031).
11664 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11666 * newcomment.el (comment-normalize-vars): Only add escaping check
11667 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11668 (comment-beginning): Use `narrow-to-region' instead of moving back
11670 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11671 (comment-start-skip): Update the docstring.
11673 2014-03-18 Richard Stallman <rms@gnu.org>
11675 * dired.el (dired-display-file): Force use of other window.
11677 2014-03-18 Daniel Colascione <dancol@dancol.org>
11679 * startup.el (tty-handle-args): Remove debug message from 2007.
11681 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11683 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11684 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11685 (advice--make-1, advice-add, advice-remove):
11686 Remove braindead :advice-pending hack.
11688 2014-03-17 Glenn Morris <rgm@gnu.org>
11690 * calendar/calendar.el (calendar-generate-month): Apply weekend
11691 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11693 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11695 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11696 (tramp-call-process): Trace also DESTINATION.
11698 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11699 Quote file names when they are local. Remove superfluous trace.
11701 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11703 * newcomment.el (comment-beginning): If `comment-start-skip'
11704 doesn't match, move back one char and try again. (Bug#16971)
11706 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11707 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11708 Set `comment-start-skip' to a simpler value that doesn't try to
11709 check if the semicolon is escaped (this is handled by
11710 `syntax-ppss' now). (Bug#16971)
11712 * progmodes/scheme.el (scheme-mode-variables): Same.
11714 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11716 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11717 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11718 current (Bug#16816, Bug#17007).
11719 (with-current-buffer-window): New macro doing the same as
11720 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11721 * help.el (help-print-return-message): Warn in doc-string to not
11722 use this in `with-help-window'.
11723 (describe-bindings-internal): Call `describe-buffer-bindings'
11724 from within help buffer. See Juanma's scenario in (Bug#16816).
11725 (with-help-window): Update doc-string.
11726 * dired.el (dired-mark-pop-up):
11727 * files.el (save-buffers-kill-emacs):
11728 * register.el (register-preview): Use `with-current-buffer-window'
11729 instead of `with-temp-buffer-window'.
11731 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11733 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11734 Implement inserting into current buffer, documented in their docstrings.
11735 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11736 (rst-section-tree-point, rst-forward-section, rst-indent)
11737 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11738 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11739 (rst-font-lock-handle-adornment-pre-match-form)
11740 (rst-repeat-last-character): Reflow docstrings.
11741 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11742 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11743 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11744 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11745 Fix docstring typos.
11746 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11747 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11748 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11750 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11752 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11753 for compatibility with other ports.
11754 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11755 from the -xrm command line argument, but in the Nextstep port its value
11756 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11758 * progmodes/python.el (defconst, python-syntax-count-quotes)
11759 (python-indent-region, python-indent-shift-right)
11760 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11761 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11762 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11763 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11764 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11765 (python-shell-buffer-substring, python-shell-send-buffer)
11766 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11767 (python-completion-complete-at-point, python-fill-docstring-style)
11768 (python-eldoc-function, python-imenu-format-item-label)
11769 (python-imenu-format-parent-item-label)
11770 (python-imenu-format-parent-item-jump-label)
11771 (python-imenu--build-tree, python-imenu-create-index)
11772 (python-imenu-create-flat-index): Fix docstring typos.
11773 (python-indent-context, python-shell-prompt-regexp, run-python):
11774 Remove superfluous backslashes.
11775 (python-indent-line, python-nav-beginning-of-defun)
11776 (python-shell-get-buffer, python-shell-get-process)
11777 (python-info-current-defun, python-info-current-line-comment-p)
11778 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11779 (python-indent-post-self-insert-function, python-shell-send-file)
11780 (python-shell-completion-get-completions)
11781 (python-shell-completion-complete-or-indent)
11782 (python-eldoc--get-doc-at-point): Reflow docstrings.
11784 2014-03-14 Glenn Morris <rgm@gnu.org>
11786 * emacs-lisp/package.el (package-menu-mode-map):
11787 Replace use of obsolete function alias. Tweak menu item text.
11789 * info.el (Info-finder-find-node):
11790 Ignore the `emacs' metapackage. (Bug#10813)
11792 * finder.el (finder-list-matches): Include unversioned packages
11793 in the result of a keyword search.
11795 * finder.el (finder--builtins-descriptions): New constant.
11796 (finder-compile-keywords): Use finder--builtins-descriptions.
11798 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11800 * simple.el (blink-matching-paren): Describe the new value,
11801 `jump', enabling the old behavior.
11802 (blink-matching-open): Use that value. (Bug#17008)
11804 2014-03-14 Glenn Morris <rgm@gnu.org>
11806 * finder.el (finder-no-scan-regexp): Add leim-list.
11807 (finder-compile-keywords):
11808 Don't skip files with same basename. (Bug#14010)
11809 * Makefile.in (setwins_finder): New, excluding leim.
11810 (finder-data): Use setwins_finder.
11812 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11813 (help-function-arglist, help-make-usage): Move from here...
11814 * help.el (help-split-fundoc, help-add-fundoc-usage)
11815 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11816 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11818 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11820 * net/socks.el (socks, socks-override-functions)
11821 (socks-find-services-entry):
11822 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11823 (hif-find-ifdef-block):
11824 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11826 * net/tls.el (tls-program): Reflow docstring.
11828 * progmodes/pascal.el (pascal-mode-abbrev-table)
11829 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11830 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11831 (pascal-outline-mode): Fix docstring typos.
11832 (pascal-mode): Let define-derived-mode document mode hook.
11833 (pascal-uncomment-area): Reflow.
11834 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11836 * progmodes/opascal.el (opascal-compound-block-indent)
11837 (opascal-case-label-indent): Fix docstring typos.
11838 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11840 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11842 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11843 Fontify multiple adjacent negation chars. (Bug#17004)
11845 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11847 * emacs-lisp/package.el (package--prepare-dependencies):
11848 Accept requirements without explicit version (bug#14941).
11850 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11852 * register.el (register-separator, copy-to-register): Doc fixes.
11853 (register-preview-default): Remove unnecessary call to concat.
11855 * frameset.el (frameset-restore): When checking for a visible frame,
11856 use the action map instead of calling visible-frame-list.
11858 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11860 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11862 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11864 * window.el (fit-frame-to-buffer): Get maximum width from
11865 display's width instead of height.
11867 2014-03-12 Glenn Morris <rgm@gnu.org>
11869 * desktop.el (desktop-restore-frames)
11870 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11871 (desktop-restore-reuses-frames): Doc tweaks.
11873 * electric.el (electric-indent-mode): Doc fix.
11875 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11877 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11878 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11879 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11880 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11881 (cvs-dired-use-hook): Fix docstring typos.
11882 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11885 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11886 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11887 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11888 (cvs-execute-single-dir): Fix docstring typos.
11890 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11891 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11893 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11895 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11896 Fix docstring typos.
11898 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11900 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11901 called from jump-to-register after unloading the frameset package.
11903 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11905 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11906 (bug#16975). Deactivate the mark before setting it to nil.
11907 (activate-mark): Do nothing if region is already active.
11909 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11911 * frameset.el (frameset--target-display): Remove definition; declare.
11912 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11914 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11916 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11917 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11918 when the advice is pending.
11919 (advice-remove): Remove this marker when not needed any more.
11921 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11923 * frameset.el: Separate options for reusing frames and cleaning up.
11924 (frameset--reuse-list): Remove definition; declare.
11925 (frameset--action-map): Declare.
11926 (frameset--find-frame-if): Doc fix.
11927 (frameset--restore-frame): Cache frame action.
11928 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11929 how to clean up the frame list after restoring. Remove cleaning
11930 options from REUSE-FRAMES. Change all keyword values to symbols.
11931 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11933 * desktop.el (desktop-restore-forces-onscreen)
11934 (desktop-restore-reuses-frames): Use non-keyword values.
11935 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11937 2014-03-10 Glenn Morris <rgm@gnu.org>
11939 * files.el (find-file): Doc fix: update info node name.
11941 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11942 Doc fix: remove references to deleted info nodes.
11944 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11946 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11947 Do not add nil to the environment, when there's no remote `locale'.
11948 (tramp-find-inline-encoding): Check, that the remote host has
11949 installed perl, before sending scripts.
11951 2014-03-10 Leo Liu <sdl.web@gmail.com>
11953 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11954 Clear eldoc-last-message. (Bug#16920)
11956 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11961 2014-03-09 Juri Linkov <juri@jurta.org>
11963 * ansi-color.el (ansi-color-names-vector): Copy default colors
11964 from `xterm-standard-colors' that look well on the default white
11965 background (and also on the black background) to avoid illegible
11966 color combinations like yellow-on-white and white-on-white.
11967 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11969 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11971 * frameset.el (frameset-restore): When no frame is visible, do not
11972 generate a list of frames, just make visible the selected one.
11974 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11976 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11977 it only contains the repository root. (Bug#16897)
11979 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11981 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11982 only when `remote-file-name-inhibit-cache' is nil.
11983 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11985 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11987 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11989 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
11990 fit-frame-to-buffer variable. Fix doc-string.
11991 (fit-window-to-buffer): Set ONLY argument in call of
11992 fit-frame-to-buffer. Fix doc-string.
11994 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
11996 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11997 (tramp-action-password): Clear password cache if needed.
11998 (tramp-read-passwd): Do not clear password cache.
12000 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12001 cache unless it is the first password request.
12003 2014-03-06 Glenn Morris <rgm@gnu.org>
12005 * simple.el (newline): Doc tweak.
12007 * emacs-lisp/shadow.el (load-path-shadows-find):
12008 Ignore dir-locals. (Bug#12357)
12010 2014-03-05 Glenn Morris <rgm@gnu.org>
12012 * files.el (interpreter-mode-alist):
12013 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12015 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12017 * frameset.el (frameset--initial-params): Filter out null entries.
12019 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12021 * window.el (window-min-height, window-min-width):
12022 Rewrite doc-strings.
12023 (window-body-size): Add PIXELWISE argument to make it consistent
12026 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12028 * finder.el (finder-mode-map, finder-mode-syntax-table):
12029 Revert part of 2014-02-28 change.
12031 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12033 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12034 (eww-setup-buffer): Clear next/prev/etc more reliably.
12035 (eww-textarea-map): [tab] doesn't work on tty.
12036 Reported by Mario Lang.
12038 * net/shr.el (shr-map): Ditto.
12040 2014-03-04 Glenn Morris <rgm@gnu.org>
12042 * minibuffer.el (completion-hilit-commonality):
12043 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12045 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12047 * hilit-chg.el (hilit-chg-unload-function): New function.
12048 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12049 (hilit-chg-map-changes): Prefer cardinal number to digit.
12050 (hilit-chg-display-changes): Reflow docstring.
12051 (highlight-changes-rotate-faces): Remove superfluous backslash.
12053 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12055 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12056 `tramp-send-command-and-check'.
12058 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12060 * hexl.el (hexl-address-region, hexl-ascii-region)
12061 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12062 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12063 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12064 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12065 (hexl-mode): Doc fix.
12066 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12067 (hexl-mode-ruler): Fix typos in docstrings.
12069 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12070 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12071 Remove superfluous backslashes.
12072 (strokes-last-stroke, strokes-global-map, strokes-mode):
12074 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12075 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12076 (strokes-distance-squared, strokes-global-set-stroke)
12077 (strokes-global-set-stroke-string): Doc fixes.
12078 (strokes-help): Fix typos; reflow docstring.
12080 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12082 * window.el (window-in-direction): Fix doc-string.
12084 2014-03-04 Glenn Morris <rgm@gnu.org>
12086 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12087 Explicit error if no grammar.
12088 (smie-config-save): Doc fix. Fix quote typo.
12090 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12092 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12093 electric-indent-mode-hook if we obey electric-indent-mode.
12094 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12095 decide whether we obey electric-indent-mode.
12096 (c-change-set-fl-decl-start, c-extend-after-change-region):
12098 (c-electric-indent-mode-hook): Assume we do want to obey
12099 electric-indent-mode.
12101 * electric.el (electric-indent-mode-has-been-called): Remove.
12102 (electric-indent-mode): Fix accordingly.
12104 * files.el (hack-local-variables): Mention file name in warning.
12106 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12108 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12110 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12111 * simple.el (delete-forward-char): Mark as interactive-only.
12113 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12115 * icomplete.el (icomplete-completions):
12116 Follow-up to 2014-03-01 change.
12118 * icomplete.el: Miscellaneous doc fixes.
12119 Use Icomplete everywhere instead of icomplete for consistency.
12120 (icomplete-max-delay-chars): Fix typo.
12121 (icomplete-mode): Use \[].
12122 (icomplete-tidy, icomplete-exhibit): Reflow.
12123 (icomplete-minibuffer-setup-hook, icomplete-completions):
12124 Remove superfluous backlashes.
12126 * ido.el: Miscellaneous doc fixes.
12127 Use Ido everywhere instead of ido or `ido' for consistency.
12128 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12129 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12130 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12131 (ido-separator): Extract obsolescence info from docstring and declare
12132 with make-obsolete-variable.
12133 (ido-minibuffer-setup-hook): Simplify example.
12134 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12135 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12136 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12137 (ido-everywhere): Reflow docstring.
12138 (ido-toggle-vc): Doc fix.
12139 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12140 of long list of keybindings.
12142 2014-03-03 Glenn Morris <rgm@gnu.org>
12144 * frame.el (display-pixel-height, display-pixel-width)
12145 (display-mm-dimensions-alist, display-mm-height)
12146 (display-mm-width): Doc tweaks.
12148 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12150 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12151 case of undo in region.
12153 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12155 * window.el (fit-window-to-buffer): Fix argument in window-size
12156 call when window is horizontally combined.
12158 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12160 * icomplete.el (icomplete-completions): Use string-width.
12161 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12163 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12165 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12166 Highlight regexp options. (Bug#16914)
12168 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12170 * window.el (window--max-delta-1): Round down when calculating
12171 how many lines/columns we can get from a window.
12173 2014-03-01 Glenn Morris <rgm@gnu.org>
12175 * isearch.el (search-invisible): Doc fix.
12177 * minibuffer.el (completion-hilit-commonality):
12178 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12179 * comint.el (comint-dynamic-list-completions): Doc fix.
12180 * comint.el (comint-dynamic-list-completions):
12181 * filecache.el (file-cache-minibuffer-complete):
12182 * tempo.el (tempo-display-completions):
12183 * eshell/em-hist.el (eshell-list-history):
12184 Replace use of obsolete argument of display-completion-list.
12186 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12188 * icomplete.el (icomplete-completions):
12189 Revert back to using "..." when ?… cannot be displayed.
12191 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12193 * finder.el (finder-unload-function): New function.
12195 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12197 * dframe.el (dframe-detach):
12198 * find-dired.el (find-dired, find-name-dired):
12199 * finder.el (finder-mode-map, finder-mode-syntax-table)
12200 (finder-headmark, finder-select, finder-mouse-select):
12201 Fix docstring typos.
12203 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12205 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12206 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12207 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12208 Fix doc-string based on a suggestion by Nicolas Richard
12209 <theonewiththeevillook@yahoo.fr>.
12210 * help.el (with-help-window): Fix doc-string.
12212 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12214 * net/shr.el (shr-image-animate): New option.
12215 (shr-put-image): Respect shr-image-animate.
12217 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12219 * net/tramp-adb.el (tramp-adb-parse-device-names):
12220 Use `accept-process-output'.
12221 (tramp-adb-handle-file-truename): Cache the localname only.
12222 (tramp-adb-handle-make-directory)
12223 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12224 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12225 modes cannot be changed.
12227 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12228 file properties of symlinks.
12230 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12232 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12233 required/optional fields to match development biblatex. (Bug#16781)
12235 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12237 * saveplace.el (toggle-save-place):
12238 Fix argument handling. (Bug#16673)
12240 2014-02-28 Glenn Morris <rgm@gnu.org>
12242 * minibuffer.el (completions-first-difference)
12243 (completions-common-part, completion-hilit-commonality): Doc fixes.
12245 2014-02-28 Karl Berry <karl@gnu.org>
12247 * info.el (Info-mode-map): Add H for describe-mode,
12248 to synchronize with standalone Info.
12250 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12252 * progmodes/sql.el (sql-interactive-mode):
12253 Avoid setting global comint-input-ring-separator. (Bug#16814)
12255 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12257 * net/dbus.el (dbus--init-bus): Declare function.
12258 (dbus-path-local, dbus-interface-local): New defconst.
12259 (dbus-init-bus): Use them.
12260 (dbus-return-values-table): Extend doc.
12261 (dbus-handle-bus-disconnect): Extend error message.
12263 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12265 * subr.el (y-or-n-p): Fix double space issue in message.
12267 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12269 * net/tramp.el (tramp-call-process): Improve trace message.
12270 (tramp-handle-insert-file-contents): Trace error case.
12272 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12273 <insert-directory>: Use `tramp-handle-insert-directory'.
12274 (tramp-adb-handle-insert-directory): Remove function.
12275 (tramp-adb-send-command-and-check): New defun, replacing
12276 `tramp-adb-command-exit-status'. Change all callees.
12277 (tramp-adb-handle-file-attributes)
12278 (tramp-adb-handle-directory-files-and-attributes): Use it.
12279 (tramp-adb-ls-output-name-less-p):
12280 Use `directory-listing-before-filename-regexp'.
12281 (tramp-adb-handle-delete-directory): Flush also file properties of
12282 the truename of directory.
12283 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12284 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12285 (tramp-adb-handle-write-region): Implement APPEND.
12286 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12287 properties correctly.
12288 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12289 variables. Check for connected devices only when needed.
12291 2014-02-27 Glenn Morris <rgm@gnu.org>
12293 * minibuffer.el (completion-table-dynamic)
12294 (completion-table-with-cache): Doc fixes.
12296 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12297 (completing-read-multiple): Doc fixes.
12299 2014-02-27 Daniel Colascione <dancol@dancol.org>
12301 * minibuffer.el (completion--nth-completion): Fix indentation.
12303 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12304 explicit tramp path is empty.
12306 2014-02-27 Glenn Morris <rgm@gnu.org>
12308 * emacs-lisp/crm.el (completing-read-multiple):
12309 Empower help-enable-auto-load.
12311 2014-02-26 Glenn Morris <rgm@gnu.org>
12313 * startup.el (command-line): Don't init the tty in daemon mode.
12315 Avoid calling tty-setup-hook twice, eg if a term file
12316 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12317 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12318 (tty-create-frame-with-faces): Use it.
12319 * startup.el (command-line): Pass run-hook argument
12320 to tty-run-terminal-initialization.
12322 * dired.el (dired-restore-desktop-buffer): Demote errors;
12323 eg in case a glob match fails. (Bug#16884)
12325 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12327 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12328 error from `read-from-string'. (Bug#16850)
12330 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12331 result of `completing-read' in the interactive form. (Bug#16854)
12333 2014-02-25 Glenn Morris <rgm@gnu.org>
12335 * image.el (image-animate, image-animate-timeout):
12336 Stop animating images in dead buffers. (Bug#16878)
12338 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12340 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12342 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12343 * term/sun.el (sun-raw-prefix-hooks):
12344 Use tty-setup-hook instead of term-setup-hook.
12345 (terminal-init-sun): Construct message from bytecomp plist.
12346 * term/wyse50.el (enable-arrow-keys): Doc fix.
12348 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12350 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12351 Fix docstring typos.
12353 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12355 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12357 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12359 * minibuffer.el (completion--try-word-completion):
12360 Fix error when completing M-x commands (bug#16808).
12362 2014-02-24 Leo Liu <sdl.web@gmail.com>
12364 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12366 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12368 * apropos.el (apropos-print): Avoid formatting error when
12369 apropos-do-all and apropos-compact-layout are both t.
12371 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12373 * apropos.el (apropos-property, apropos-all-words-regexp)
12374 (apropos-true-hit, apropos-variable, apropos-print):
12375 Fix docstring typos, and remove obsolete comment.
12377 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12379 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12380 Preserve trailing "/". (Bug#16851)
12382 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12384 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12385 after `=>' (bug#16811).
12386 (ruby-smie-rules): Handle the inconsistent second element of the
12387 list returned by `smie-indent--parent'.
12388 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12391 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12393 * elec-pair.el (electric-pair-text-syntax-table)
12394 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12395 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12396 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12397 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12399 2014-02-22 Glenn Morris <rgm@gnu.org>
12401 * imenu.el (imenu--generic-function): Doc fix.
12403 * register.el (frame-configuration-to-register): Make obsolete.
12405 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12407 * desktop.el (desktop-save-buffer-p): Do not fail when
12408 desktop-files-not-to-save is nil. Return t for true result
12411 2014-02-22 Daniel Colascione <dancol@dancol.org>
12413 * net/secrets.el (secrets-create-item, secrets-search-items):
12414 Check that attribute values are strings, avoiding the construction
12415 of invalid dbus messages.
12417 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12419 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12420 defun-declarations-alist.
12422 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12424 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12427 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12429 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12430 (whitespace-newline, whitespace-trailing, whitespace-line)
12431 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12432 (whitespace-space-after-tab): Fix typo in docstrings.
12434 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12436 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12438 * electric.el (electric-indent-functions-without-reindent):
12439 Add `yaml-indent-line'.
12441 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12443 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12444 It has done nothing for years; should be removed after the release.
12446 * simple.el (choose-completion): Fix docstring typo.
12447 (read-quoted-char-radix): Remove unneeded * in docstring.
12448 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12449 Don't escape parentheses unnecessarily in docstrings.
12451 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12453 Fix handling of window-min-height/-width (Bug#16738).
12454 * window.el (window--dump-window, window--dump-frame):
12456 (window--min-size-1): Account for window dividers.
12457 When window-resize-pixelwise is nil, delay rounding till after the
12458 sum of the window components has been calculated.
12459 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12460 nil make sure at least one text line and two text columns remain
12462 (window-resize): Signal an error when window-resize-apply fails.
12463 (window--resize-child-windows): Fix calculation of by how many
12464 pixels a window can still be shrunk via window-new-normal.
12465 (adjust-window-trailing-edge): Call window--resizable with
12466 correct TRAIL argument.
12468 (with-temp-buffer-window): Don't evaluate BODY within
12469 with-current-buffer (Bug#16816).
12471 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12473 * net/tramp.el (tramp-check-cached-permissions):
12474 Call `file-attributes' with `suffix' being a symbol but a string.
12476 2014-02-21 Daniel Colascione <dancol@dancol.org>
12478 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12479 (dbus-init-bus): New function: call into dbus-init-bus-1
12480 and installs a handler for the disconnect signal.
12481 (dbus-call-method): Rewrite to look for result in cons.
12482 (dbus-call-method-handler): Store result in cons.
12483 (dbus-check-event): Recognize events with nil sender as valid.
12484 (dbus-handle-bus-disconnect): New function. React to bus
12485 disconnection signal by synthesizing dbus error for each
12486 pending synchronous or asynchronous call.
12487 (dbus-notice-synchronous-call-errors): New function.
12488 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12489 is true, not all the time.
12491 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12493 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12494 Remove obsolescence declarations, these variables do not exist anymore.
12496 * savehist.el (savehist-save-minibuffer-history)
12497 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12498 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12499 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12500 mostly, refer to "Savehist mode" when talking about the mode,
12501 and not the function.
12503 * saveplace.el (save-place): Remove redundant info in docstring.
12504 (save-place-forget-unreadable-files, toggle-save-place)
12505 (save-place-forget-unreadable-files, save-place-dired-hook):
12506 Fix typos and remove unneeded backslashes.
12508 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12510 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12511 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12513 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12514 <insert-directory>: Use `tramp-handle-insert-directory'.
12515 (tramp-gvfs-handle-insert-directory): Remove function.
12517 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12518 Call `tramp-handle-insert-directory'.
12520 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12522 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12523 before the start of buffer/region (bug#16799).
12525 2014-02-20 Glenn Morris <rgm@gnu.org>
12527 * isearch.el (search-invisible): Doc fix.
12529 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12531 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12534 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12536 * frameset.el (frameset-restore): Delay removing an old frame's
12537 duplicate id until the new frame has been correctly created.
12539 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12541 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12542 (tramp-check-cached-permissions): Call `file-attributes' if the
12545 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12546 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12548 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12549 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12550 (tramp-gvfs-maybe-open-connection): Set always connection
12551 properties, even if target is mounted already.
12553 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12554 Set tramp-autoload cookie.
12555 (tramp-get-remote-touch): New defun.
12556 (tramp-sh-handle-set-file-times): Use it.
12557 (tramp-sh-handle-directory-files-and-attributes):
12558 Use `tramp-handle-directory-files-and-attributes' if neither stat
12559 nor perl are available on the remote host.
12561 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12562 "/". Write long listing only when "l" belongs to the switches.
12564 * net/trampver.el: Update release number.
12566 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12568 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12570 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12572 * window.el (window-state-put): Allow WINDOW to refer to an
12573 internal window (Bug#16793).
12575 2014-02-19 Glenn Morris <rgm@gnu.org>
12577 * textmodes/remember.el: Move provide statement to end.
12578 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12579 (remember-notes): Doc fixes.
12581 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12583 * delsel.el (delete-char): Restore incorrectly erased property
12586 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12588 * frameset.el (frameset--restore-frame): When a frame is being reused
12589 and its root window is not alive, delete all the frame's windows before
12590 restoring the window state. This works around the issue in bug#16793.
12592 2014-02-18 Glenn Morris <rgm@gnu.org>
12594 * textmodes/remember.el (remember-data-directory)
12595 (remember-directory-file-name-format, remember-store-in-files)
12596 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12597 (remember-notes-save-and-bury-buffer)
12598 (remember-notes--kill-buffer-query): Doc fixes.
12600 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12602 2014-02-17 Alan Mackenzie <acm@muc.de>
12604 Connect electric-indent-mode up with CC Mode. Bug #15478.
12605 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12606 to electric-indent-{,local-}-mode.
12607 (c-basic-common-init): Set electric-indent-inhibit.
12608 Initialize c-electric-flag from electric-indent-mode.
12609 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12610 New hook functions which propagate electric-indent-mode to CC mode.
12612 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12613 hit, toggle electric-indent-local-mode.
12615 * electric.el (electric-indent-mode-has-been-called):
12618 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12620 * frameset.el (frameset-cfg-id): New function.
12621 (frameset--reuse-frame, frameset-restore): Use it.
12622 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12624 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12626 * ido.el (ido-file-internal): Remove unused var `d'.
12627 Use \` for to match BoS. Fit within 80n columns.
12629 2014-02-17 Daniel Colascione <dancol@dancol.org>
12631 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12632 dbus-call-method check for completion using a busy-wait loop with
12635 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12637 Sync with Tramp 2.2.9.
12639 * net/trampver.el: Update release number.
12641 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12643 * ido.el (ido-file-internal): Don't add the name of an existing
12644 directory twice. (Bug#16747)
12646 2014-02-16 Glenn Morris <rgm@gnu.org>
12648 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12649 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12651 2014-02-15 Michael R. Mauger <michael@mauger.com>
12653 * progmodes/sql.el: Version 3.4
12654 (sql-oracle-options): New default value ("-L").
12655 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12656 (sql-placeholders-filter): Correct placeholder pattern.
12657 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12658 (sql-login-delay): New variable.
12659 (sql-product-interactive): Use it.
12661 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12663 * frameset.el (frameset--jump-to-register): Check that buffer is live
12666 2014-02-15 Glenn Morris <rgm@gnu.org>
12668 * info.el (info-initialize): Revert 2014-01-10 change.
12670 2014-02-14 Glenn Morris <rgm@gnu.org>
12672 * replace.el (map-query-replace-regexp)
12673 (read-regexp-defaults-function, read-regexp): Doc fixes.
12675 * dired.el (dired-read-regexp):
12676 * faces.el (list-faces-display):
12677 * misearch.el (multi-isearch-read-matching-buffers)
12678 (multi-isearch-read-matching-files):
12679 * play/cookie1.el (cookie-apropos):
12680 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12682 * textmodes/remember.el (remember): Use frameset-to-register
12683 rather than frame-configuration-to-register.
12685 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12687 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12688 incorrect keybinding.
12690 2014-02-13 Daniel Colascione <dancol@dancol.org>
12692 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12693 when adding overlays so that line numbers from compiler match line
12696 2014-02-13 Glenn Morris <rgm@gnu.org>
12698 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12700 * jit-lock.el (jit-lock-mode): Doc fix.
12702 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12704 * apropos.el (apropos-read-pattern): When the user passes an empty
12705 string, give a more helpful error message than "Wrong type
12706 argument: stringp, nil".
12708 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12710 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12712 2014-02-13 Glenn Morris <rgm@gnu.org>
12714 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12716 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12719 shift-select commands.
12721 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12723 * progmodes/js.el (js-indent-line): Don't widen.
12724 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12726 2014-02-12 Glenn Morris <rgm@gnu.org>
12728 * icomplete.el (icomplete): Add info-link to defgroup.
12729 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12730 (icomplete-minibuffer-map, icomplete-mode)
12731 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12733 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12734 (package-menu-filter): Rename from package-menu-filter-interactive.
12737 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12739 * frameset.el (frameset--jump-to-register): Select the required
12740 window and buffer before restoring position (bug#16696).
12742 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12744 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12746 2014-02-10 Glenn Morris <rgm@gnu.org>
12748 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12750 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12752 * w32-common-fns.el (x-get-selection): Doc fix.
12753 * select.el (x-get-selection): Doc fix. (Bug#15109)
12755 * face-remap.el (face-remap-add-relative)
12756 (face-remap-remove-relative, face-remap-reset-base)
12757 (face-remap-set-base): Call force-mode-line-update to redisplay
12758 the current buffer due to potential change in faces. (Bug#16709)
12760 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12762 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12763 script more robustly.
12765 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12767 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12769 * simple.el (choose-completion): Doc fix (bug#14160).
12771 * subr.el (event-start): Say what a nil EVENT value means.
12773 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12776 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12778 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12780 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12782 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12783 predicate function (bug#15455).
12785 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12787 * ielm.el (inferior-emacs-lisp-mode): Instead of
12788 `comment-use-global-state', set `comment-use-syntax'.
12790 2014-02-10 Glenn Morris <rgm@gnu.org>
12792 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12794 2014-02-09 Alan Mackenzie <acm@muc.de>
12796 Fix c-invalidate-state-cache on narrowed buffers.
12797 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12798 Widen when setting and clearing the CPP delimiter properties.
12800 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12802 * help.el (describe-bindings): Doc fix (bug#9888).
12804 * files.el (save-buffer): Use ARG as the parameter name for
12805 consistency (bug#10346).
12806 (save-buffer): Clarify the 0 argument (bug#10346).
12808 * cus-edit.el (customize-apropos): Fix error string.
12809 (custom-buffer-create): Doc fix (bug#11122).
12810 (custom-sort-items): Doc fix (bug#11121).
12812 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12814 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12815 (icomplete-simple-completing-p): Mention the previous variable.
12817 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12818 meaning of the parameter (bug#12282).
12820 * files.el (find-file-noselect): Clarify prompt when changing
12821 readedness (bug#13261).
12822 (locate-file): Suffixes aren't returned, so don't say that they
12824 (backup-inhibited): Doc clarification (bug#12525).
12826 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12827 before we actually start to delete things (bug#16331).
12829 * subr.el (event-start): Doc fix (bug#14228).
12830 (event-end): Ditto.
12832 2014-02-09 Glenn Morris <rgm@gnu.org>
12834 * emacs-lisp/warnings.el (lwarn):
12835 Empower help-enable-auto-load. (Bug#15940)
12837 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12839 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12842 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12844 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12845 Insert output at end of buffer. (Bug#16120)
12847 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12849 * simple.el (choose-completion-string-functions): Document new
12850 calling convention (bug#14153).
12851 (execute-extended-command): Clarify doc string (bug#13373).
12853 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12855 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12856 (find-grep-dired): Doc fix (bug#14288).
12858 2014-02-08 Juri Linkov <juri@jurta.org>
12860 * isearch.el (isearch-quote-char): Check character validity
12861 like in `quoted-insert' (bug#16677).
12863 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12865 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12867 * isearch.el (isearch-hide-immediately): Doc clarification
12870 * simple.el (line-move): Document utility function used many
12871 places in the Emacs sources (bug#14843).
12873 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12874 (dired-prev-marked-file): Doc fix (bug#14855).
12875 (dired-up-directory): Doc fix (bug#14848).
12877 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12879 * files.el (file-relative-name): Doc fix (bug#15159).
12881 * fringe.el (fringe-styles): Doc fix (bug#15239).
12883 * isearch.el (isearch-filter-predicate): Documentation typo fix
12886 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12888 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12890 * replace.el (replace-match-maybe-edit): Doc clarification
12893 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12895 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12897 2014-02-08 Glenn Morris <rgm@gnu.org>
12899 * help-fns.el (describe-variable):
12900 Check {file,dir}-local-variables-alist, and buffer-file-name,
12901 in the correct buffer.
12903 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12905 * help-fns.el (describe-variable): Fix the case where
12906 a value is directory-local with no dir-locals file. (Bug#16635)
12908 2014-02-08 Glenn Morris <rgm@gnu.org>
12910 * abbrev.el (edit-abbrevs-mode):
12911 Derive from fundamental-mode. (Bug#16682)
12913 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12915 * simple.el (quoted-insert): Check character validity (bug#16677).
12917 2014-02-07 Juri Linkov <juri@jurta.org>
12919 * desktop.el (desktop-read): Claim the lock when the owner is not
12920 the current process. (Bug#16157)
12922 2014-02-07 Juri Linkov <juri@jurta.org>
12924 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12925 to "\\` ". (Bug#16651)
12927 2014-02-07 Juri Linkov <juri@jurta.org>
12929 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12930 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12931 (desktop-auto-save-cancel-timer): New function with some code from
12932 `desktop-auto-save-set-timer'.
12933 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12934 Instead of setting `desktop-save-mode' to nil, call
12935 `desktop-save-mode' with arg 0. (Bug#16630)
12937 2014-02-07 Glenn Morris <rgm@gnu.org>
12939 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12940 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12941 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12943 * obsolete/iswitchb.el: Move to obsolete/.
12944 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12945 since obsolete/ is not scanned for autoloads.
12946 * emacs-lisp/authors.el (authors-valid-file-names):
12949 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12950 Disable now non-functional find-file-hook.
12952 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12954 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12955 instead of ";" in order to avoid additional prompts. Let heredoc
12956 scripts read from tty. (Bug#16582)
12957 (tramp-send-command): No special handling of heredocs, it isn't
12960 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12962 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12963 with a space (bug#16664). Limit the symbols considered to the ones
12964 that are bound or fbound (bug#16646).
12966 2014-02-06 Glenn Morris <rgm@gnu.org>
12968 * epa.el (epa-mail-aliases): Doc fix.
12970 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12972 * emacs-lisp/lisp.el (lisp-completion-at-point):
12973 Use `completion-table-merge' instead of `completion-table-in-turn'
12976 * minibuffer.el (completion-table-merge): New function.
12978 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12980 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12981 (tramp-sh-handle-set-file-acl)
12982 (tramp-sh-handle-start-file-process)
12983 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12984 (tramp-find-executable, tramp-send-command): Use it.
12986 2014-02-05 Glenn Morris <rgm@gnu.org>
12988 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
12990 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
12992 * progmodes/python.el (python-shell-send-string)
12993 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12995 2014-02-04 Anders Lindgren <andlind@gmail.com>
12997 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12998 the names (bug#16620).
13000 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13002 * faces.el (window-divider): New default value. Rewrite doc-string.
13003 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13005 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13007 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13008 `protected' and `public' can also be called without arguments.
13010 2014-02-03 Glenn Morris <rgm@gnu.org>
13012 * register.el (window-configuration-to-register)
13013 (frame-configuration-to-register): Unadvertise unused argument.
13014 * frameset.el (frameset-to-register): Remove unused argument.
13016 * frameset.el (frameset-to-register):
13017 * kmacro.el (kmacro-to-register):
13018 * register.el (increment-register):
13019 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13020 (calc-append-to-register, calc-prepend-to-register):
13021 * play/gametree.el (gametree-layout-to-register)
13022 (gametree-apply-register-layout):
13023 * textmodes/picture.el (picture-clear-rectangle-to-register)
13024 (picture-yank-rectangle-from-register):
13025 * vc/emerge.el (emerge-combine-versions-register):
13026 Use register-read-with-preview to read registers.
13028 2014-02-03 João Távora <joaotavora@gmail.com>
13030 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13031 when at beginning of (possibly narrowed) buffer.
13033 2014-02-02 Daniel Colascione <dancol@dancol.org>
13035 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13036 Also try to display local help from just before point.
13038 2014-02-02 Alan Mackenzie <acm@muc.de>
13040 c-parse-state. Don't "append-lower-brace-pair" in certain
13041 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13042 recognised as a comment.
13044 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13045 as well as normal comment starter.
13046 (c-parse-state-get-strategy): Extra return possibility
13048 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13049 return value list to indicate replacement of a brace-pair cons
13051 (c-parse-state-1): With 'back-and-forward, only call
13052 c-append-lower-brace-pair-to state-cache when cons-separated.
13054 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13056 * term/ns-win.el (ns-suspend-error): New function.
13057 (ns-initialize-window-system): Add ns-suspend-error to
13058 suspend-hook (Bug#16612).
13060 2014-02-02 Daniel Colascione <dancol@dancol.org>
13062 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13063 Make loading cc-mode silent.
13065 2014-02-02 Daniel Colascione <dancol@dancol.org>
13067 * comint.el (comint-prompt-read-only): Change doc to suggest
13070 2014-02-02 Glenn Morris <rgm@gnu.org>
13072 * register.el (register-read-with-preview, point-to-register)
13073 (window-configuration-to-register, frame-configuration-to-register)
13074 (jump-to-register, number-to-register, view-register, insert-register)
13075 (copy-to-register, append-to-register, prepend-to-register)
13076 (copy-rectangle-to-register): Doc fixes.
13078 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13080 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13081 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13082 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13083 * help-fns.el (describe-function-1): Use it.
13085 2014-02-02 Glenn Morris <rgm@gnu.org>
13087 * register.el (register-preview-default): New function,
13088 split from register-preview.
13089 (register-preview-function): Rename from register-preview-functions,
13090 make it not a hook.
13091 (register-preview): Use register-preview-function.
13092 (register-read-with-preview): Error on non-character event. (Bug#16595)
13094 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13096 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13097 `:' before binary operators (bug#16609). Don't check for `:'
13098 before `[' and `(', or their syntax status. A percent literal
13099 can't end with either.
13100 (ruby-font-lock-keywords): For built-ins that require arguments,
13101 check that they're followed by something that looks like argument
13104 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13106 * subr.el (butlast): Document what an omitted N means (bug#13437).
13109 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13111 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13112 depth shallower (bug#16587).
13113 (shr-tag-svg): Respect `shr-inhibit-images'.
13114 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13116 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13118 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13119 (ruby-smie-grammar): Make "." right-associative. Make its priority
13120 lower than the ternary and all binary operators.
13121 (ruby-smie-rules): Indent "(" relative to the first non-"."
13122 parent, or the first "." parent at indentation.
13123 Use `ruby-align-chained-calls' for indentation of "." tokens.
13126 2014-01-31 Juri Linkov <juri@jurta.org>
13128 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13129 from `make-hash-table'.
13131 * textmodes/ispell.el (ispell-init-process): Change message format
13132 to be consistent with other messages.
13134 2014-01-31 Glenn Morris <rgm@gnu.org>
13136 * delsel.el (delete-selection-mode): Doc fix.
13138 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13139 (trace-function-background): Doc fixes.
13141 * ido.el (ido-use-virtual-buffers): Doc fix.
13142 Reset :version, since the default value has not changed.
13144 * register.el (register-preview-delay, register-read-with-preview):
13147 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13148 do not mess with mail-buffer position (fixes 2009-11-03 change).
13149 * progmodes/cc-mode.el (c-submit-bug-report):
13150 Check auto-fill-mode is bound. (Bug#16592)
13152 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13154 * startup.el (fancy-splash-image-file): New function,
13155 split from fancy-splash-head.
13156 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13157 so that we are both using the same image. (Bug#16574)
13159 2014-01-30 Glenn Morris <rgm@gnu.org>
13161 * simple.el (eval-expression): Doc fix.
13163 * hexl.el (hexl-mode-hook):
13164 * ielm.el (ielm-mode-hook):
13165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13166 (lisp-interaction-mode-hook):
13167 * progmodes/cfengine.el (cfengine3-documentation-function):
13168 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13170 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13172 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13173 is a symbol (bug#16584).
13175 2014-01-30 Glenn Morris <rgm@gnu.org>
13177 * help.el (help-for-help-internal): Add "P" to text.
13179 2014-01-29 Glenn Morris <rgm@gnu.org>
13181 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13183 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13185 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13186 height constraints.
13188 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13190 * progmodes/hideif.el: Extend to full CPP expression syntax.
13191 (hif-token-alist): Add missing tokens.
13192 (hif-token-regexp): Add support for float/octal/hex immediates.
13193 (hif-string-literal-regexp): New const.
13194 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13195 (hif-exprlist): New function.
13196 (hif-parse-if-exp): Use it.
13197 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13198 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13199 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13200 (hif-logxor, hif-comma): New functions.
13202 2014-01-28 Glenn Morris <rgm@gnu.org>
13204 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13206 * indent.el (tab-stop-list): Doc fix. Add :version.
13208 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13209 (cvs-append-to-ignore): Add compatibility alias.
13211 2014-01-27 Glenn Morris <rgm@gnu.org>
13213 * dired.el (dired-hide-details-mode): Don't autoload it,
13214 since it cannot be used outside Dired buffers anyway.
13216 * emulation/cua-base.el (cua-mode): Doc fix.
13218 * dired.el (dired-hide-details-hide-symlink-targets)
13219 (dired-hide-details-hide-information-lines)
13220 (dired-hide-details-mode): Doc fixes.
13222 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13223 * strokes.el (strokes-file): Doc fix. Bump :version.
13224 (strokes-help): Doc fix.
13225 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13226 * emulation/viper.el (viper): Doc fix for custom group.
13227 (top-level): Remove oh-so-no-longer-relevant text about vip.
13228 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13230 * ido.el (ido-save-directory-list-file):
13231 * saveplace.el (save-place-file):
13232 * calendar/timeclock.el (timeclock-file):
13233 * net/quickurl.el (quickurl-url-file):
13234 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13235 * progmodes/idlwave.el (idlwave-config-directory):
13236 * textmodes/remember.el (remember-data-file):
13239 2014-01-26 Glenn Morris <rgm@gnu.org>
13241 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13242 Doc fix. Make obsolete.
13243 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13245 * sort.el (delete-duplicate-lines): Doc fix.
13247 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13249 * progmodes/ada-mode.el (ada):
13250 * woman.el (woman): Link to info manual and Commentary section.
13252 * progmodes/flymake.el (flymake):
13253 * nxml/nxml-mode.el (nxml):
13254 * net/eww.el (eww):
13255 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13256 * htmlfontify.el (htmlfontify):
13259 * ido.el (ido): Link to info manual.
13261 2014-01-25 Leo Liu <sdl.web@gmail.com>
13263 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13265 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13267 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13270 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13272 * net/eww.el (eww-download-callback):
13273 Fix reference to eww-download-directory.
13275 * emacs-lisp/bytecomp.el (byte-compile-file):
13276 Remove unused local variable `file-name'.
13278 2014-01-24 Glenn Morris <rgm@gnu.org>
13280 * woman.el (woman-default-faces, woman-monochrome-faces):
13281 Fix obsolescence specification.
13283 * subr.el (with-demoted-errors): Doc fix.
13285 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13287 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13288 (cl--macroexp-fboundp): New function.
13289 (cl--make-type-test): Use it.
13291 2014-01-23 Glenn Morris <rgm@gnu.org>
13293 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13294 * simple.el (eval-expression): Doc fixes.
13296 2014-01-22 Glenn Morris <rgm@gnu.org>
13298 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13300 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13302 * emacs-lisp/package.el: Write files silently.
13303 (package-autoload-ensure-default-file, package--write-file-no-coding)
13304 (package-generate-description-file, package--download-one-archive)
13305 (package-install-from-archive): Tell `write-region' to stay quiet.
13306 (package-menu-mode, package-menu--print-info): Omit the Archive column
13307 if there's only one archive.
13308 (package-all-keywords, package--has-keyword-p): Remove dead code.
13310 2014-01-22 Glenn Morris <rgm@gnu.org>
13312 * version.el (emacs-bzr-version-bzr): Fix typo.
13314 * version.el (emacs-repository-get-version):
13315 Check either .bzr or .git, but not both.
13316 Make the git case actually use the DIR argument, and return nil
13317 rather than the empty string.
13318 Avoid error if .git exists but the git executable is not found.
13320 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13322 Fixes in window size functions around Bug#16430 and Bug#16470.
13323 * window.el (window-total-size, window-size): New argument ROUND.
13324 (window--min-delta-1, window-min-delta, window--max-delta-1):
13325 Be more conservative when calculating the numbers of lines or
13326 columns a window can shrink (Bug#16430).
13327 (fit-window-to-buffer): Simplify code.
13328 * term.el (term-window-width): Call window-body-width again.
13330 2014-01-22 Glenn Morris <rgm@gnu.org>
13332 * image.el (image-format-suffixes): Doc fix.
13334 * international/quail.el (quail-define-package): Doc fix.
13336 * emacs-lisp/authors.el (authors-valid-file-names)
13337 (authors-renamed-files-alist): Additions.
13339 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13340 reverts 2014-01-09 change. (Bug#16422)
13342 * calc/calc-embed.el (thing-at-point-looking-at):
13343 * emacs-lisp/map-ynp.el (x-popup-dialog):
13344 * obsolete/lmenu.el (x-popup-dialog):
13345 * emacs-lisp/package.el (url-recreate-url):
13346 * mail/mailclient.el (clipboard-kill-ring-save):
13347 * subr.el (x-popup-dialog): Update declaration.
13348 * mail/rmail.el (rmail-mime-message-p):
13349 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13351 2014-01-21 Daniel Colascione <dancol@dancol.org>
13353 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13354 Correctly detect when we're inside an arithmetic expansion form
13355 containing nested parenthesis.
13356 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13357 to detect cases where we shouldn't expand "<<" to a heredoc
13360 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13362 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13363 (eldoc--message-command-p): New function.
13364 (eldoc-display-message-p): Use it.
13365 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13366 message is not automatically erased for us.
13367 (eldoc-print-current-symbol-info): Erase previous message, if any.
13369 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13371 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13372 specify it's an interactive function.
13374 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13375 Fix regex used for scanning for citation keys which failed for
13376 citations with optional arguments.
13378 2014-01-21 Leo Liu <sdl.web@gmail.com>
13380 * simple.el (read--expression): Don't enable eldoc-mode.
13382 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13384 * simple.el (move-beginning-of-line): Make sure we don't move forward
13387 2014-01-20 Juri Linkov <juri@jurta.org>
13389 * saveplace.el (toggle-save-place, save-place-to-alist)
13390 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13391 'dired-mode) before checking for dired-directory. (Bug#16477)
13393 2014-01-20 Juri Linkov <juri@jurta.org>
13395 * indent.el (indent-line-to): Use backward-to-indentation
13396 instead of back-to-indentation. (Bug#16461)
13398 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13400 Revert some of the CANNOT_DUMP fix (Bug#16494).
13401 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13402 but fixing this can wait until after the next release.
13403 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13405 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13407 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13408 Use `password-word-equivalents'.
13409 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13410 to t. (Bug#5664, Bug#13124)
13412 2014-01-19 Alan Mackenzie <acm@muc.de>
13414 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13416 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13417 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13418 * progmodes/cc-mode.el (c-before-change, c-after-change)
13419 (c-font-lock-fontify-region): Bind it here.
13421 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13423 * term.el (term-window-width): Call window-text-width instead of
13424 window-width (Bug#16470).
13426 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13428 * simple.el (password-word-equivalents): Remove duplicates.
13429 Sort, to make this easier next time.
13430 Downcase. Omit ": " after "jelszó".
13432 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13434 * term/common-win.el (saved-region-selection): Defvar it.
13435 (x-select-text): Set saved-region-selection (Bug#16382).
13437 2014-01-18 Glenn Morris <rgm@gnu.org>
13439 * emacs-lisp/authors.el (authors-aliases)
13440 (authors-renamed-files-alist): Add some entries.
13442 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13444 * net/tramp.el (tramp-password-prompt-regexp):
13445 Use `password-word-equivalents' if available.
13446 (tramp-action-password, tramp-process-one-action)
13447 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13449 2014-01-17 Chong Yidong <cyd@gnu.org>
13451 * simple.el (password-word-equivalents): New defcustom.
13452 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13454 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13457 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13459 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13460 (ruby-align-to-stmt-keywords): Change the default value.
13461 Use `ruby-alignable-keywords' to generate the possible customization
13463 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13464 keywords, check against the value of `ruby-alignable-keywords'
13465 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13467 2014-01-17 Glenn Morris <rgm@gnu.org>
13469 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13471 Make M-x authors return zero *Authors Errors* from current logs.
13472 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13473 (authors-ignored-files): Add some entries, remove others.
13474 (authors-ambiguous-files, authors-valid-file-names):
13476 (authors-renamed-files-alist): Add, remove, and adjust entries.
13477 (authors-renamed-files-regexps): Add some entries.
13478 Remove some very broad ones. Make some entries `lax'.
13479 (authors-lax-changelogs): New constant.
13480 (authors-disambiguate-file-name): Treat top-level specially.
13481 (authors-lax-changelog-p): New function.
13482 (authors-canonical-file-name): Check file as written against
13483 authors-valid-file-names. Do not special-case etc/.
13484 Handle `lax' logs and authors-renamed-files-regexps elements.
13486 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13488 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13489 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13492 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13494 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13495 Assume we're already in the proper buffer.
13496 Inspired by Anders Lindgren <andlind@gmail.com>.
13497 (follow-post-command-hook): Call it from the right buffer.
13498 (follow-comint-scroll-to-bottom): Adjust call.
13499 (follow-all-followers): Use get-buffer-window-list.
13501 2014-01-15 Daniel Colascione <dancol@dancol.org>
13503 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13504 `buffer-file-name' in interactive-form so that we don't leave
13505 pathless file names in `file-name-history'.
13507 2014-01-15 Juri Linkov <juri@jurta.org>
13509 * indent.el (indent-rigidly): Set deactivate-mark to nil
13510 in transient indentation mode. (Bug#16438)
13512 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13514 * emacs-lisp/package.el (package-desc-keywords): New function
13516 (describe-package-1, package-all-keywords)
13517 (package--has-keyword-p): Use it.
13519 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13521 * simple.el (define-alternatives): When creating the
13522 COMMAND-alternatives variable, assign COMMAND as its definition
13523 name so that `describe-variable' can relocate it.
13525 2014-01-14 Matthew Leach <matthew@mattleach.net>
13527 * font-lock.el (font-lock-keywords): Fix typo in docstring
13530 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13532 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13533 line instead of wrongly reset `add-coment' (bug#13577).
13535 2014-01-14 Daiki Ueno <ueno@gnu.org>
13537 * epa-file.el (epa-file-write-region): Encode the region according
13538 to `buffer-file-format'. Problem reported at:
13539 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13541 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13543 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13544 so it applies in the right buffer (bug#16410).
13546 2014-01-13 Daniel Colascione <dancol@dancol.org>
13548 * textmodes/rst.el (rst-define-key): Provide deprecated
13549 keybindings through named functions instead of anonymous ones so
13550 that "??" doesn't appear in describe-mode output.
13552 2014-01-13 Bastien Guerry <bzg@gnu.org>
13554 * simple.el (define-alternatives): Call the selected command
13555 interactively. When setting `COMMAND--implementation' for the
13556 first time, tell the user how to chose another implementation.
13557 Enhance the docstring.
13559 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13561 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13562 (log-edit--match-first-line): New function.
13563 (log-edit-font-lock-keywords): Use it.
13564 (log-edit-mode): Make jit-lock-defer-multiline work.
13566 2014-01-13 Bastien Guerry <bzg@gnu.org>
13568 * rect.el (rectangle-mark-mode): When the region is not active,
13569 display a message saying that the mark as been set and that
13570 rectangle mode is in use.
13571 (rectangle--highlight-for-redisplay): Only put an overlay with a
13572 visible vertical bar when (display-graphic-p) is non-nil.
13573 This partially fixes Bug#16403.
13575 2014-01-13 Juri Linkov <juri@jurta.org>
13577 * info.el (Info-find-file): Go to DIR before displaying the error
13578 about a nonexistent file if no previous Info file is visited.
13579 Use `user-error' instead of `error' for "Info file %s does not exist".
13580 (Info-find-node-2): In case of a nonexistent node in unwind forms
13581 go to the Top node if there is no previous node to revert to.
13584 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13586 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13587 * window.el (fit-frame-to-buffer): Fix doc-string.
13588 Respect window-min-height/-width. Fit pixelwise when
13589 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13590 when avoiding that frame goes partially off-screen.
13591 (fit-window-to-buffer): Respect window-min-height/-width
13594 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13596 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13597 after an empty line.
13599 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13601 * net/shr.el (shr-render-region): Autoload.
13603 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13605 * net/eww.el (eww-download-directory): Rename from
13606 `eww-download-path' (Bug#16419).
13608 2014-01-12 Leo Liu <sdl.web@gmail.com>
13610 * dired-x.el (dired-mode-map): Fix last change.
13612 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13614 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13617 * emacs-lisp/generic.el (generic--normalize-comments):
13618 Rename from generic--normalise-comments. All uses changed.
13619 * play/bubbles.el (bubbles--neighborhood-score)
13620 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13621 (bubbles--neighborhood-available)
13622 (bubbles--update-neighborhood-score):
13623 Rename from names with 'neighbourhood'. All uses changed.
13625 2014-01-12 Leo Liu <sdl.web@gmail.com>
13627 Re-implement the feature of showing eldoc info after editing.
13628 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13629 (eldoc-edit-message-commands): New function.
13630 (eldoc-print-after-edit): New variable.
13631 (eldoc-pre-command-refresh-echo-area): Emit message only by
13632 eldoc-message-commands.
13633 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13634 if eldoc-print-after-edit is set. (Bug#16346)
13635 * simple.el (read--expression): Enable eldoc-mode.
13636 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13638 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13639 Eric S. Raymond <esr@thyrsus.com>
13641 * version.el (emacs-repository-get-version): Enhance so the
13642 function works correctly in either a Bazaar or Git repo.
13644 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13646 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13647 Goes with removal of the joke manpages from /etc.
13649 2014-01-10 Kenichi Handa <handa@gnu.org>
13651 * mail/rmail.el (rmail-get-coding-system):
13652 Check rmail-get-coding-function before "funcall"ing it.
13654 2014-01-10 Glenn Morris <rgm@gnu.org>
13656 * emacs-lisp/authors.el (authors-fixed-entries):
13657 Update for files that no longer exist.
13659 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13661 * version.el (emacs-bzr-get-version): Restore compatibilty with
13664 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13666 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13669 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13671 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13673 2014-01-10 Chong Yidong <cyd@gnu.org>
13675 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13677 2014-01-10 Anders Lindgren <andlind@gmail.com>
13679 * follow.el (follow-cache-command-list): Include right-char and
13682 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13685 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13686 * woman.el (woman-mark-horizontal-position):
13687 Rename from woman-mark-horizonal-position. Use changed.
13689 2014-01-10 Glenn Morris <rgm@gnu.org>
13691 * info.el (info-initialize): If running uninstalled, ensure our
13692 own info files are always found first, even if INFOPATH is set.
13694 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13696 2014-01-09 David Engster <deng@randomsample.de>
13698 * emacs-lisp/eieio-custom.el:
13699 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13700 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13701 * emacs-lisp/eieio.el: Regenerate autoloads.
13703 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13705 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13706 following renames. (Bug#8756)
13708 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13710 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13712 (activate-mark): Add `no-tmm' argument.
13713 (set-mark, push-mark-command): Use it instead of running
13714 activate-mark-hook by hand.
13716 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13718 In preparation for the move to git, sanitize out some
13719 Bazaar-specific names.
13721 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13723 * version.el (emacs-bzr-version): Name changed to
13724 emacs-repository-version. Obsolete-variable alias made.
13725 * loadup.el: Follow through on this name change.
13726 * mail/emacsbug.el (report-emacs-bug): Factor out any
13727 assumption about the version control system in use.
13729 2014-01-08 David Engster <deng@randomsample.de>
13731 * help-fns.el (help-fns-describe-function-functions):
13732 New variable to call functions for augmenting help buffers.
13733 (describe-function-1): Remove explicit calls to
13734 `help-fns--compiler-macro', `help-fns--parent-mode' and
13735 `help-fns--obsolete'. Put them in above new variable instead, and
13736 call them through `run-hook-with-args'.
13737 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13738 `eieio-describe-class'. Not meant for interactive use anymore,
13739 but to augment existing help buffers. Remove optional second
13740 argument. Create proper button for file location.
13741 Rewrite function to use `insert' instead of `princ' and `prin1' where
13743 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13744 (eieio-method-def, eieio-class-def): Move further up.
13745 (describe-method, describe-generic, eieio-describe-method):
13747 (eieio-help-constructor, eieio-help-generic): Rename from
13748 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13749 Rewrite to use `insert' in the current buffer and use proper help
13751 (eieio-help-find-method-definition)
13752 (eieio-help-find-class-definition): Also accept symbols as
13754 (eieio-help-mode-augmentation-maybee): Remove.
13755 (eieio-describe-class-sb): Use `describe-function'.
13756 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13757 Add `eieio-help-generic' and `eieio-help-constructor'.
13759 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13762 * language/china-util.el (hz-ascii-designation):
13763 Rename from hz-ascii-designnation.
13764 (hz-ascii-designation): Rename from hz-ascii-designnation.
13767 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13769 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13772 2014-01-08 Bastien Guerry <bzg@gnu.org>
13774 * emacs-lisp/package.el (package-delete):
13775 Correctly delete the package from package-alist.
13777 2014-01-08 Daiki Ueno <ueno@gnu.org>
13779 * emacs-lisp/package.el (url-recreate-url): Declare.
13780 (url-http-target-url): Declare.
13781 (package-handle-response): Include requested URL in the error message.
13782 (package--check-signature): Don't re-signal errors from
13783 package--with-work-buffer. Suggested by Stefan Monnier.
13785 2014-01-07 Bastien Guerry <bzg@gnu.org>
13787 * minibuffer.el (completion--try-word-completion): When both a
13788 hyphen and a space are possible candidates for the character
13789 following a word, display both candidates. (Bug#15980)
13791 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13793 * window.el (balance-windows-2): While rounding don't give a
13794 window more than the remainder. Bug#16351, bug#16383.
13796 2014-01-07 Glenn Morris <rgm@gnu.org>
13798 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13799 (menu-bar-help-menu): Use view-external-packages instead.
13801 2014-01-07 Bastien Guerry <bzg@gnu.org>
13803 * emacs-lisp/package.el (package-delete): Also delete the package
13804 name from `package-alist', not its description only.
13806 2014-01-07 Glenn Morris <rgm@gnu.org>
13808 * help.el (view-external-packages):
13809 * menu-bar.el (menu-bar-help-extra-packages):
13810 Visit efaq.info rather than etc/MORE.STUFF.
13812 2014-01-07 Juri Linkov <juri@jurta.org>
13814 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13815 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13817 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13818 that shadows RET. (Bug#16342)
13820 2014-01-07 Chong Yidong <cyd@gnu.org>
13822 * isearch.el (isearch-yank-char, isearch-yank-word)
13823 (isearch-yank-line): Doc fix.
13825 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13827 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13828 * emacs-lisp/elint.el (elint-find-builtins):
13829 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13830 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13831 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13832 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13833 * apropos.el (apropos-safe-documentation):
13834 * subr.el (symbol-file): Remove redundant fboundp.
13835 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13837 2014-01-06 Bastien Guerry <bzg@gnu.org>
13839 * hl-line.el (global-hl-line-overlay): Make a local variable.
13840 (global-hl-line-overlays): New variable to store all overlays.
13841 (global-hl-line-mode): Don't delete overlays from the current
13842 buffer when `global-hl-line-sticky-flag' is non-nil.
13843 (global-hl-line-highlight): Add new overlays to
13844 `global-hl-line-overlays'.
13845 (global-hl-line-unhighlight-all): New function to delete all
13846 overlays when turning off `global-hl-line-mode'.
13847 This fixes Bug#16183.
13849 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13851 * subr.el (set-transient-map): Fix nested case and docstring.
13853 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13855 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13858 2014-01-06 Daniel Colascione <dancol@dancol.org>
13860 Fix defun navigation in vc log view.
13862 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13863 like `beginning-of-defun'.
13864 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13865 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13866 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13867 (log-view-extract-comment): Call `log-view-current-entry' directly
13868 instead of relying on broken `log-view-beginning-of-defun' behavior.
13870 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13873 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13874 * emacs-lisp/debug.el (cancel-debug-on-entry):
13875 * epg.el (epg-error-to-string):
13876 * files.el (recover-file):
13877 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13878 * mail/emacsbug.el (report-emacs-bug-hook):
13879 * mail/sendmail.el (mail-recover):
13880 * ses.el (ses-yank-resize):
13881 * term/ns-win.el (ns-print-buffer):
13882 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13883 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13885 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13887 2014-01-06 Leo Liu <sdl.web@gmail.com>
13889 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13890 to avoid shadowing global key. (Bug#16354)
13892 2014-01-06 Daniel Colascione <dancol@dancol.org>
13894 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13897 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13899 * window.el (balance-windows): Add mising t to fix Bug#16351.
13901 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13903 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13905 (shr-insert): If we have a word that's longer than `shr-width',
13906 break after it anyway. Otherwise we'll do no breaking once we get
13909 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13911 * net/eww.el (eww): Support single/double quote for search.
13912 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13913 (eww-history-quit): Delete and use quit-window.
13914 (eww-history-kill): Delete, because it doesn't work well and
13916 (eww-history-mode-map): Delete some keys and add easy-menu.
13918 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13920 Fix misspelling of 'chinese' in rx (Bug#16237).
13921 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13924 Change subword regexps back to vars (Bug#16296).
13925 * progmodes/subword.el (subword-forward-regexp)
13926 (subword-backward-regexp): Change these back to variables.
13928 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13930 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13931 syntax-begin-function (bug#16247).
13933 2014-01-03 Chong Yidong <cyd@gnu.org>
13935 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13936 (advice--docstring): Delete variable.
13937 (advice--make-1): Leave the docstring empty.
13938 (advice-add): Use function-documentation for advised docstring.
13940 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13941 Ignore function-documentation property when getting documentation.
13942 (ad-activate-advised-definition): Use function-documentation
13943 generate the docstring.
13944 (ad-make-advised-definition): Don't call
13945 ad-make-advised-definition-docstring.
13946 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13949 * progmodes/sql.el (sql-help): Use function-documentation instead
13950 of dynamic-docstring-function property. No need to autoload now.
13951 (sql--help-docstring): New variable.
13952 (sql--make-help-docstring): Use it.
13954 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13956 * ielm.el (ielm-tab): Retarget.
13957 (ielm-map): Use ielm-tab for tab.
13958 (ielm-complete-filename): Use comint-filename-completion.
13959 (ielm-complete-symbol): Remove.
13960 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13961 remove ielm-tab from completion-at-point-functions (bug#16224).
13963 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13964 Beware signals raised by predicates (bug#16201).
13966 2014-01-02 Richard Stallman <rms@gnu.org>
13968 * dired-aux.el (dired-do-print): Handle printer-name.
13970 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13971 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13972 (rmail-epa-decrypt): Turn off mime processing.
13974 * mail/rmail.el (rmail-make-in-reply-to-field):
13975 Add parens in message-id.
13977 * mail/rmail.el (rmail-get-coding-function): Variable.
13978 (rmail-get-coding-system): Use it.
13980 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13982 * international/mule-conf.el: Unify the charset indian-is13194.
13983 (indian-is13194): Specify unify-map.
13985 2013-12-31 Leo Liu <sdl.web@gmail.com>
13987 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13989 2013-12-30 Daniel Colascione <dancol@dancol.org>
13991 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13992 of printing a useless when we resume from sleep.
13994 * progmodes/sh-script.el
13995 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13996 in indentation code. (Bug#16233)
13998 2013-12-28 João Távora <joaotavora@gmail.com>
14000 * elec-pair.el (electric-pair-post-self-insert-function):
14001 Don't open extra newlines at beginning of buffer. (Bug#16272)
14003 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14005 * frame.el (window-system-for-display): Don't allow to create a
14006 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14008 2013-12-28 Glenn Morris <rgm@gnu.org>
14010 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14013 * apropos.el (apropos-match-face):
14014 * calculator.el (calculator-displayer):
14015 * dabbrev.el (dabbrev-search-these-buffers-only):
14016 * face-remap.el (buffer-face-mode-face):
14017 * simple.el (yank-handled-properties):
14018 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14019 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14020 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14021 (hashcash-double-spend-database):
14022 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14023 (ruby-deep-indent-paren-style):
14024 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14025 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14026 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14027 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14028 Specify custom types.
14030 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14031 * bookmark.el (bookmark-bmenu-use-header-line):
14032 * doc-view.el (doc-view-scale-internally):
14033 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14034 * register.el (register-preview-delay):
14035 * net/shr.el (shr-bullet):
14036 * progmodes/cfengine.el (cfengine-cf-promises)
14037 (cfengine-parameters-indent):
14038 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14039 * textmodes/reftex-vars.el (reftex-label-regexps):
14040 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14042 * net/tls.el (tls-certtool-program): Fix default value.
14044 * desktop.el (desktop-restore-in-current-display):
14045 * newcomment.el (comment-empty-lines):
14046 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14047 (idlwave-pad-keyword):
14048 * progmodes/tcl.el (tcl-tab-always-indent):
14049 * textmodes/reftex-vars.el (reftex-index-default-tag):
14050 * elec-pair.el (electric-pair-skip-whitespace):
14051 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14053 * emacs-lisp/authors.el (authors-ignored-files)
14054 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14056 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14058 * shell.el (shell-dynamic-complete-command): Doc fix.
14059 (shell--command-completion-data): Shell completion now matches
14060 executable filenames from the current buffer's directory, on
14061 systems in which this behavior is the default (windows-nt, ms-dos).
14063 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14065 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14067 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14069 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14072 * electric.el: Move all electric-pair-* to elec-pair.el.
14073 * elec-pair.el: New file, split from electric.el.
14075 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14077 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14078 indentation level is larger than the width, because that will
14080 (shr-insert): Fill repeatedly long texts, so that Japanese is
14081 formatted correctly (bug#16263).
14082 (shr-find-fill-point): Off by one error in comparison with the
14085 2013-12-26 João Távora <joaotavora@gmail.com>
14087 * electric.el (electric-pair-mode): More flexible engine for skip-
14088 and inhibit predicates, new options for pairing-related functionality.
14089 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14090 if that keeps or improves their balance in buffers.
14091 (electric-pair-delete-adjacent-pairs): Delete the pair when
14092 backspacing over adjacent matched delimiters.
14093 (electric-pair-open-extra-newline): Open extra newline when
14094 inserting newlines between adjacent matched delimiters.
14095 (electric--sort-post-self-insertion-hook):
14096 Sort post-self-insert-hook according to priority values when
14097 minor-modes are activated.
14098 * simple.el (newline-and-indent): Call newline with interactive
14100 (blink-paren-post-self-insert-function): Set priority to 100.
14101 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14102 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14103 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14104 electric-pair-open-newline-between-pairs to nil.
14106 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14108 * progmodes/python.el: Use lexical-binding.
14109 (python-nav-beginning-of-defun): Stop searching ASAP.
14111 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14113 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14114 Fix interactive spec. Doc fix. (Bug#15754)
14116 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14118 * emacs-lisp/byte-run.el (eval-when-compile):
14119 * progmodes/cc-defs.el (cc-eval-when-compile):
14120 Fix edebug spec (bug#16184).
14122 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14124 * net/shr.el (shr-visit-file): Remove debugging function.
14125 (shr-insert): Don't infloop if we can't find a good place to break
14126 the line (bug#16256).
14128 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14130 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14131 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14132 python-nav-lisp-forward-sexp-safe.
14133 (python-nav--forward-sexp): New argument SAFE allows switching
14134 forward sexp movement behavior for parens.
14135 (python-nav-forward-sexp): Throw errors on unterminated parens
14137 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14138 (python-nav-backward-sexp-safe): New functions.
14139 (python-shell-buffer-substring):
14140 Use `python-nav-forward-sexp-safe'.
14142 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14144 * net/shr.el (shr-find-fill-point): Don't break lines before a
14146 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14147 (shr-find-fill-point): Remove the special checks for the quotation
14148 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14150 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14152 * net/eww.el (eww-form-textarea): Use a different face for
14153 textareas than text input since they have different keymaps
14156 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14158 * progmodes/python.el (python-nav-beginning-of-statement):
14159 Speed up (Bug#15295).
14161 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14163 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14164 the window configuration.
14166 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14168 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14169 we run on MS-Windows or MS-DOS.
14171 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14173 * window.el (balance-windows-area): Call window-size instead of
14174 window-height and window-width. Bug#16241.
14176 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14178 * net/eww.el (eww-bookmark-quit): Remove.
14179 (eww-bookmark-browse): Restore the window configuration when you
14180 choose a bookmark (bug#16144).
14182 2013-12-24 Daniel Colascione <dancol@dancol.org>
14184 * icomplete.el: Remove redundant :group arguments to `defcustom'
14186 (icomplete-show-matches-on-no-input): New customizable variable.
14187 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14188 we have something to show.
14189 (icomplete-exhibit): Compute completions even if we have no user input.
14191 2013-12-23 Daniel Colascione <dancol@dancol.org>
14193 * icomplete.el: Move `provide' to end of file.
14195 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14197 * net/gnutls.el (gnutls-verify-error): Add version tag.
14199 2013-12-23 Chong Yidong <cyd@gnu.org>
14201 * subr.el (set-transient-map): Rename from
14202 set-temporary-overlay-map. Doc fix.
14204 * face-remap.el (text-scale-adjust):
14205 * indent.el (indent-rigidly):
14206 * kmacro.el (kmacro-call-macro):
14207 * minibuffer.el (minibuffer-force-complete):
14208 * repeat.el (repeat):
14209 * simple.el (universal-argument--mode):
14210 * calendar/todo-mode.el (todo-insert-item--next-param):
14211 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14213 * indent.el (indent-rigidly): Use substitute-command-keys.
14215 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14217 * net/eww.el (eww-tag-select): Add text-property to jump to next
14219 (eww): Add non-supported ftp error.
14221 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14223 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14224 comments. Handle electric indent after typing `?' and `!'.
14226 2013-12-22 Chong Yidong <cyd@gnu.org>
14228 * faces.el (face-spec-recalc): If the theme specs are not
14229 applicable to a frame, fall back on the defface spec.
14230 This prevents themes from obliterating faces on low-color terminals.
14232 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14234 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14235 after `{'. We need it after block openers, and it doesn't seem
14236 to hurt after hash openers.
14238 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14240 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14241 extracted from `ruby-smie-rules'.
14242 (ruby--electric-indent-chars): New variable.
14243 (ruby--electric-indent-p): New function.
14244 (ruby-mode): Use `electric-indent-functions' instead of
14245 `electric-indent-chars'.
14247 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14249 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14251 (ruby-smie-rules): Indent plus one level after `=>'.
14253 2013-12-21 Richard Stallman <rms@gnu.org>
14255 * simple.el (newline): Doc fix.
14257 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14259 * net/eww.el (eww-list-histories, eww-list-histories)
14260 (eww-history-browse, eww-history-quit, eww-history-kill)
14261 (eww-history-mode-map, eww-history-mode): New command and
14262 functions to list browser histories.
14263 (eww-form-text): Support text form with disabled
14264 and readonly attributes.
14265 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14267 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14269 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14270 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14271 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14272 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14274 (eww-bookmark-mode-map): Add menu.
14275 (eww-render, eww-mode): Use `setq-local'.
14276 (eww-tool-bar-map): New variable.
14277 (eww-mode): Set `tool-bar-map'.
14278 (eww-view-source): Check for `html-mode' with `fboundp'.
14280 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14282 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14283 elements with text inside. Also remove debugging.
14285 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14287 * cus-start.el (all): Add ns-use-srgb-colorspace.
14289 2013-12-21 Chong Yidong <cyd@gnu.org>
14291 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14292 undefined. Thus, theme settings for undefined faces do not take
14293 effect until the faces are defined with defface, the same as with
14296 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14297 (face-spec-reset-face): Don't assign extra properties in temacs.
14298 (face-spec-recalc): Apply X resources too.
14300 2013-12-21 Chong Yidong <cyd@gnu.org>
14302 * faces.el (face-spec-set):
14303 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14304 * custom.el (defface): Doc fixes (Bug#16203).
14306 * indent.el (indent-rigidly-map): Add docstring, and move commands
14307 into named functions.
14308 (indent-rigidly-left, indent-rigidly-right)
14309 (indent-rigidly-left-to-tab-stop)
14310 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14311 indentation direction based on bidi direction, and accumulate
14312 sequential commands in a single undo boundary.
14313 (indent-rigidly--pop-undo): New utility function.
14315 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14317 * faces.el (read-face-name): Require crm.el when using crm-separator.
14319 2013-12-20 Daniel Colascione <dancol@dancol.org>
14321 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14322 so that we don't reflow comments into the shebang line.
14324 2013-12-20 Juri Linkov <juri@jurta.org>
14326 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14327 a position when `dired-directory' is non-nil. Check integer
14328 positions with `integerp'.
14329 (toggle-save-place, save-places-to-alist): Add check for
14331 (save-place-find-file-hook): Check integer positions with
14333 (save-place-dired-hook): Use `dired-goto-file' when
14334 `dired-filename' is found in the assoc list. Check integer
14335 positions with `integerp'.
14336 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14338 * dired.el (dired-initial-position-hook): Rename back from
14339 `dired-initial-point-hook'.
14340 (dired-initial-position): Rename `dired-initial-point-hook' to
14341 `dired-initial-position-hook'.
14342 (dired-file-name-at-point): Doc fix. (Bug#15329)
14344 2013-12-20 Juri Linkov <juri@jurta.org>
14346 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14347 (read-regexp-suggestions): New function.
14348 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14349 Use `read-regexp-suggestions'. Add non-empty default to history
14351 (occur-read-regexp-defaults-function): Remove function.
14352 (occur-read-primary-args): Use `regexp-history-last' instead of
14353 `occur-read-regexp-defaults-function'.
14355 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14356 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14357 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14358 `hi-lock-read-regexp-defaults-function'. Doc fix.
14359 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14360 with `find-tag-default-as-symbol-regexp'. Doc fix.
14361 (hi-lock-read-regexp-defaults): Remove function.
14362 (hi-lock-regexp-okay): Add check for null.
14364 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14365 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14367 * subr.el (find-tag-default-as-symbol-regexp): New function.
14368 (find-tag-default-as-regexp): Move symbol regexp formatting to
14369 `find-tag-default-as-symbol-regexp'.
14371 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14373 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14376 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14378 * calendar/todo-mode.el: New implementation of item insertion
14379 commands and key bindings.
14380 (todo-key-prompt): New face.
14381 (todo-insert-item): New command.
14382 (todo-insert-item--parameters): New defconst, replacing defvar
14383 todo-insertion-commands-args-genlist.
14384 (todo-insert-item--param-key-alist): New defconst, replacing
14385 defvar todo-insertion-commands-arg-key-list.
14386 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14387 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14388 (todo-insert-item--next-param): New functions.
14389 (todo-insert-item--args, todo-insert-item--argleft)
14390 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14392 (todo-key-bindings-t): Change binding of "i" from
14393 todo-insertion-map to todo-insert-item.
14394 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14395 (todo-insertion-command-name, todo-insertion-commands-names)
14396 (todo-define-insertion-command, todo-insertion-commands)
14397 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14399 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14401 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14402 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14404 (todo-move-category): Allow choosing a non-existing todo file to
14405 move the category to, and create that file.
14406 (todo-default-priority): New user option.
14407 (todo-set-item-priority): Use it.
14408 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14409 (desktop-restore-file-buffer): Declare.
14410 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14411 (todo-modes-set-2): Locally set desktop-save-buffer to
14412 todo-desktop-save-buffer.
14413 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14414 (auto-mode-alist): Add autoload cookie.
14416 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14418 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14419 helpers.el was a poor choice of name.
14420 (string-remove-prefix): New function.
14421 (string-remove-suffix): New function.
14423 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14425 Fix assignment for new window total sizes.
14426 * window.el (window--pixel-to-size): Remove function.
14427 (window--pixel-to-total-1, window--pixel-to-total):
14428 Fix calculation of new total sizes.
14430 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14432 * comint.el (comint-output-filter): Fix rear-nonsticky property
14433 placement (Bug#16010).
14435 2013-12-20 Chong Yidong <cyd@gnu.org>
14437 * faces.el (read-color): Minor fix for completion function.
14439 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14441 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14442 New option. (Bug#16182)
14443 (ruby-smie--indent-to-stmt-p): Use it.
14444 (ruby-smie-rules): Revert the logic in the handling of `when'.
14445 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14446 (ruby-deep-arglist, ruby-deep-indent-paren)
14447 (ruby-deep-indent-paren-style): Update docstrings to note that the
14448 vars don't have any effect with SMIE.
14450 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14452 * calc/calc.el (calc-enter, calc-pop): Use the variable
14453 `calc-context-sensitive-enter'.
14455 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14457 * net/shr.el (shr-insert): Protect against infloops in degenerate
14460 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14462 * progmodes/octave.el (octave): Add link to manual and octave
14464 (octave-mode-menu): Link to octave-mode manual.
14466 2013-12-20 Leo Liu <sdl.web@gmail.com>
14468 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14469 insertion using skeleton-end-newline. (Bug#16138)
14471 2013-12-20 Juri Linkov <juri@jurta.org>
14473 * replace.el (occur-engine): Use `add-face-text-property'
14474 to add the face property to matches and titles. (Bug#14645)
14476 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14477 the palette of other hi-lock colors.
14478 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14480 2013-12-19 Juri Linkov <juri@jurta.org>
14482 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14483 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14484 (minibuffer-history-symbol): Move variable declaration closer to
14487 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14490 2013-12-19 Juri Linkov <juri@jurta.org>
14492 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14494 (log-edit-hook): Add it to :options. (Bug#16170)
14496 2013-12-19 Juri Linkov <juri@jurta.org>
14498 * simple.el (eval-expression-print-format): Don't check for
14499 command names and the last command. Always display additional
14500 formats of the integer result in the echo area, and insert them
14501 to the current buffer only with a zero prefix arg.
14502 Display character when char-displayable-p is non-nil.
14503 (eval-expression): With a zero prefix arg, set `print-length' and
14504 `print-level' to nil, and insert the integer values from
14505 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14507 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14508 `eval-last-sexp-arg-internal'. Doc fix.
14509 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14510 `eval-last-sexp-print-value'. Doc fix.
14511 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14512 Set `print-length' and `print-level' to nil when arg is zero.
14513 (eval-last-sexp): Doc fix.
14514 (eval-defun-2): Print the integer values from
14515 `eval-expression-print-format' at the end.
14517 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14518 values from `eval-expression-print-format' at the end.
14520 * ielm.el (ielm-eval-input): Print the integer
14521 values from `eval-expression-print-format' at the end.
14523 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14525 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14526 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14528 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14530 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14531 (hl-line-highlight, global-hl-line-highlight): Use it.
14532 (hl-line-overlay): Use defvar-local.
14534 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14536 * term/ns-win.el: Require dnd.
14537 (global-map): Remove drag items.
14538 (ns-insert-text, ns-set-foreground-at-mouse)
14539 (ns-set-background-at-mouse):
14540 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14541 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14544 2013-12-19 Glenn Morris <rgm@gnu.org>
14546 * emacs-lisp/ert.el (ert-select-tests):
14547 Fix string/symbol mixup. (Bug#16121)
14549 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14551 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14552 keywords to their parent.
14554 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14556 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14557 first arg to be a string (fixed dead code), or an operator symbol.
14558 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14560 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14561 did nothing. Don't respond to `(:after ".")', it will be called
14562 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14563 change anything. Only return indentation for binary operators
14564 when they are hanging. De-dent opening paren when its parent is
14565 `.', otherwise it looks bad when the dot is not at bol or eol
14568 2013-12-19 Juri Linkov <juri@jurta.org>
14570 * replace.el (query-replace-read-args): Split a non-negative arg
14571 and a negative arg into separate elements.
14572 (query-replace, query-replace-regexp, replace-string)
14573 (replace-regexp): Add arg `backward'. Doc fix.
14574 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14575 move point to the beginning of the match.
14576 (replace-search, replace-highlight): Use new arg `backward'
14577 to set the value of `isearch-forward'.
14578 (perform-replace): Add arg `backward' and use it to perform
14579 replacement backward. (Bug#14979)
14581 * isearch.el (isearch-query-replace): Use a negative prefix arg
14582 to call `perform-replace' with a non-nil arg `backward'.
14584 2013-12-18 Juri Linkov <juri@jurta.org>
14586 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14587 to the default list. Move `log-edit-show-files' to the end.
14588 Add more available functions to options.
14589 (log-edit): Move default specific settings to
14590 `log-edit-insert-message-template'. Don't move point.
14591 (log-edit-insert-message-template): New function.
14592 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14595 2013-12-18 Juri Linkov <juri@jurta.org>
14597 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14598 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14600 2013-12-18 Leo Liu <sdl.web@gmail.com>
14602 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14605 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14607 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14608 formats for displaying file sizes when the -s switch is given.
14609 Instead, compute a separate format for displaying the size in
14610 blocks, which is displayed in addition to the "regular" size.
14611 When -h is given in addition to -s, produce size in blocks in
14612 human-readable form as well. (Bug#16179)
14614 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14616 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14617 Reference tables with ~\ref{...} instead of only \ref{...}.
14619 2013-12-18 Chong Yidong <cyd@gnu.org>
14621 * cus-edit.el (custom-magic-alist): Fix "themed" description
14624 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14625 is non-nil, do not create a new entry in the symbol's theme-value
14626 or theme-face property; update theme-settings only (Bug#14664).
14627 (custom-available-themes): Doc fix.
14629 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14632 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14634 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14636 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14639 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14641 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14643 2013-12-18 Glenn Morris <rgm@gnu.org>
14645 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14646 * cus-start.el (load-prefer-newer): New option.
14648 2013-12-18 Le Wang <l26wang@gmail.com>
14650 * comint.el (comint-previous-matching-input-from-input):
14651 Retain point (Bug#13404).
14653 2013-12-18 Chong Yidong <cyd@gnu.org>
14655 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14657 2013-12-18 Glenn Morris <rgm@gnu.org>
14659 * mail/emacsbug.el (report-emacs-bug):
14660 Only mention enable-multibyte-characters if non-standard.
14662 2013-12-17 Juri Linkov <juri@jurta.org>
14664 * arc-mode.el (archive-extract-by-file): Check if directory exists
14665 before deletion to not show irrelevant errors if it doesn't exist.
14667 2013-12-17 Juri Linkov <juri@jurta.org>
14669 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14672 * net/eww.el (browse-web): Add alias to `eww'.
14673 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14674 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14676 * net/browse-url.el (browse-url-browser-function): Move `eww'
14677 closer to similar functions.
14679 * startup.el (fancy-startup-screen, fancy-about-screen):
14680 Set browse-url-browser-function to eww-browse-url locally.
14683 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14685 * window.el (window--pixel-to-total): Remove unused `mini' var.
14686 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14687 (split-window): Remove unused `new' var.
14688 (window--display-buffer): Remove unused `frame' and `delta' vars.
14689 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14690 and display-width'.
14692 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14694 * dired.el (dired-mark-pop-up):
14695 * register.el (register-preview): Don't bind
14696 split-height-threshold here since it's now done in
14697 display-buffer-below-selected.
14699 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14701 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14702 xterm-rgb-convert-to-16bit.
14703 (rxvt-register-default-colors): Standardize with
14704 xterm-register-default-colors (Bug#14078).
14706 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14708 * simple.el (kill-region): Pass mark first, then point, so that
14709 kill-append works right (Bug#12819).
14710 (copy-region-as-kill, kill-ring-save): Likewise.
14712 2013-12-17 Leo Liu <sdl.web@gmail.com>
14714 * net/rcirc.el (rcirc-add-face):
14715 * eshell/em-prompt.el (eshell-emit-prompt):
14716 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14719 2013-12-17 Chong Yidong <cyd@gnu.org>
14721 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14722 Suggested by Xue Fuqiao.
14724 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14726 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14728 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14730 * net/shr.el (shr-insert-document): Remove unused var
14731 `shr-preliminary-table-render'.
14732 (shr-rescale-image): Remove unused arg `force'.
14733 (shr-put-image): Update calls accordingly.
14734 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14736 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14738 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14739 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14740 :close-all, to see which indentation method to use (Bug#16116).
14741 (smie-rules-function): Document the method :close-all.
14743 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14745 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14747 * net/eww.el (eww-display-html): If we can't find the anchor we're
14748 looking for, then go to point-min.
14750 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14752 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14753 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14754 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14755 Expand dir too, in case it's relative.
14757 2013-12-16 Juri Linkov <juri@jurta.org>
14759 * desktop.el (desktop-auto-save-timeout): Change default to
14760 `auto-save-timeout'. Doc fix.
14761 (desktop-save): Skip the timestamp in desktop-saved-frameset
14762 when checking for auto-save changes.
14763 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14764 `desktop-auto-save' is called repeatedly by the idle timer.
14765 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14766 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14769 2013-12-16 Juri Linkov <juri@jurta.org>
14771 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14773 (isearch-pre-command-hook): Check `this-command' for symbolp.
14775 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14777 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14779 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14781 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14782 (cfengine3--current-function): Bring in the current-function
14783 functionality from `cfengine3--current-word'.
14784 (cfengine3-completion-function): Bring in the
14785 bounds-of-current-word functionality from
14786 `cfengine3--current-word'.
14788 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14790 * window.el (display-buffer-below-selected):
14791 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14793 2013-12-16 Leo Liu <sdl.web@gmail.com>
14795 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14796 Remove NOMSG arg and all uses changed.
14798 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14800 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14801 (cua--deactivate-rectangle): Don't deactivate the mark.
14802 (cua-set-rectangle-mark): Don't set mark-active since
14803 cua--activate-rectangle already does it for us.
14804 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14805 non-rectangular region.
14807 * emulation/cua-base.el (cua-repeat-replace-region):
14808 Use with-current-buffer.
14810 * net/gnutls.el: Use cl-lib.
14811 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14813 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14815 * emacs-lisp/package.el (package-built-in-p): Support both
14816 built-in and the package.el converted package descriptions.
14817 (package-show-package-list): Allow keywords.
14818 (package-keyword-button-action): Use it instead of
14819 `finder-list-matches'.
14820 (package-menu-filter-interactive): Interactive filtering (by
14822 (package-menu--generate): Support keywords and change keymappings
14823 and headers when they are given.
14824 (package--has-keyword-p): Helper function.
14825 (package-menu--refresh): Use it.
14826 (package--mapc): Helper function.
14827 (package-all-keywords): Use it.
14828 (package-menu-mode-map): Set up menu items and keybindings to
14829 provide a filtering UI.
14831 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14833 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14834 the behavior when a certificate fails validation. Defaults to
14835 old behavior: never abort, just warn.
14836 (gnutls-negotiate): Use it.
14838 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14840 * window.el (display-buffer-below-selected): Never split window
14841 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14843 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14845 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14846 (package-buffer-info): Use it (bug#15108).
14848 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14850 * icomplete.el (icomplete-completions): Make sure the prefix is already
14851 displayed elsewhere before hiding it (bug#16219).
14853 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14855 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14856 open-paren tokens when preceded by a open-paren, too.
14857 (ruby-smie-rules): Handle virtual indentation after open-paren
14858 tokens specially. If there is code between it and eol, return the
14859 column where is starts (Bug#16118).
14861 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14863 * progmodes/cfengine.el: Fix `add-hook' doc.
14864 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14865 (cfengine3--current-word): Fix parameters.
14866 (cfengine3-make-syntax-cache): Simplify further.
14867 (cfengine3-completion-function, cfengine3--current-function):
14868 Use `assq' for symbols.
14869 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14871 2013-12-13 Glenn Morris <rgm@gnu.org>
14873 * loadup.el (load-path): Warn if site-load or site-init changes it.
14874 No more need to reset it when bootstrapping.
14876 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14878 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14879 locations for cf-promises.
14880 (cfengine-mode-syntax-functions-regex): New caching variable.
14881 (cfengine3-fallback-syntax): Fallback syntax for cases where
14882 cf-promises doesn't run.
14883 (cfengine3--current-word): Reimplement using
14884 `cfengine-mode-syntax-functions-regex'.
14885 (cfengine3-completion-function, cfengine3--current-function):
14886 Use `cfengine3-make-syntax-cache' directly.
14887 (cfengine3-clear-syntax-cache): New function.
14888 (cfengine3-make-syntax-cache): Simplify and create
14889 `cfengine-mode-syntax-functions-regex' on demand.
14890 (cfengine3-format-function-docstring): Don't call
14891 `cfengine3-make-syntax-cache' explicitly.
14893 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14895 Fix windmove-find-other-window broken after pixelwise resizing
14897 * windmove.el (windmove-other-window-loc): Revert change from
14899 (windmove-find-other-window): Call window-in-direction.
14900 * window.el (window-in-direction): New arguments SIGN, WRAP and
14901 MINI to emulate original windmove-find-other-window behavior.
14903 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14905 * simple.el (blink-matching--overlay): New variable.
14906 (blink-matching-open): Instead of moving point, highlight the
14907 matching paren with an overlay
14908 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14910 * faces.el (paren-showing-faces, show-paren-match)
14911 (show-paren-mismatch): Move from paren.el.
14913 2013-12-13 Leo Liu <sdl.web@gmail.com>
14915 * indent.el (indent-region): Disable progress reporter in
14916 minibuffer. (Bug#16108)
14918 * bindings.el (visual-order-cursor-movement): Fix version.
14920 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14922 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14923 Also match after beginning of line.
14924 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14925 files. Thanks to Russell Sim. (Bug#15378)
14927 2013-12-13 Juri Linkov <juri@jurta.org>
14929 * simple.el <Keypad support>: Remove key bindings duplicated
14930 with bindings.el. (Bug#14397)
14932 2013-12-13 Juri Linkov <juri@jurta.org>
14934 * comint.el (comint-mode-map): Replace `delete-char' with
14935 `delete-forward-char'. (Bug#16109)
14937 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14939 * progmodes/python.el (python-indent-calculate-indentation):
14940 Fix de-denters cornercase. (Bug#15731)
14942 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14944 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14945 (advice--make): Pay attention to `depth'.
14946 (advice--make-1): Don't autoload commands eagerly.
14947 * emacs-lisp/elp.el (elp-instrument-function):
14948 * emacs-lisp/trace.el (trace-function-internal):
14949 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14951 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14953 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14955 * term/w32-win.el (w32-handle-dropped-file):
14956 * startup.el (normal-top-level):
14957 * net/browse-url.el (browse-url-file-url):
14958 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14959 decode file names using 'utf-8' rather than
14960 file-name-coding-system.
14962 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14964 * progmodes/python.el (python-indent-context)
14965 (python-indent-calculate-indentation): Fix auto-identation
14966 behavior for comment blocks. (Bug#15916)
14968 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14970 * progmodes/python.el (python-indent-calculate-indentation):
14971 When determining indentation, don't treat "return", "pass", etc., as
14972 operators when they are just string constituents. (Bug#15812)
14974 2013-12-12 Juri Linkov <juri@jurta.org>
14976 * uniquify.el (uniquify-buffer-name-style): Change default to
14977 `post-forward-angle-brackets'.
14979 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14980 `uniquify'. Change default to `post-forward-angle-brackets'.
14982 2013-12-11 Glenn Morris <rgm@gnu.org>
14984 * emacs-lisp/package.el (finder-list-matches):
14985 Autoload rather than falsely declaring.
14987 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14989 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14990 (eww-mode-map): Use them.
14992 2013-12-11 Martin Rudalics <rudalics@gmx.at>
14994 * window.el (display-buffer-in-side-window): Fix doc-string
14997 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
14999 * vc/vc-git.el: Silence byte-compiler warnings.
15000 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15001 (log-edit-set-header): Declare.
15003 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15005 * Makefile.in (custom-deps, finder-data): Run output file names
15006 through unmsys--file-name. (Bug#16099)
15008 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15010 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15011 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15013 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15014 instead of deleting the selection "by hand" (bug#16098).
15015 Rely on insert-for-yank to yank rectangles.
15016 (cua-highlight-region-shift-only): Mark obsolete.
15017 (cua-mode): Don't enable/disable transient-mark-mode,
15018 shift-select-mode (cua-mode works both with and without them), and
15019 pc-selection-mode (obsolete).
15020 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15021 (cua--deactivate-rectangle): Deactivate it.
15023 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15024 (delete-selection-helper): Make sure yank starts at the top of the
15026 (minibuffer-keyboard-quit): Use region-active-p.
15028 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15030 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15031 to `delete' (bug#16109).
15033 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15035 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15036 info manual and show keybindings and set `:group' keyword.
15038 2013-12-11 Juri Linkov <juri@jurta.org>
15040 * delsel.el (delete-active-region): Let-bind `this-command'
15041 to prevent `kill-region' from changing its original value.
15042 (delete-selection-helper): Handle `overwrite-mode' for the type
15043 `kill' exactly the same way as for the type `t'.
15044 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15045 Support more commands. (Bug#13312)
15047 2013-12-11 Juri Linkov <juri@jurta.org>
15049 * bindings.el: Map kp keys to non-kp keys systematically
15050 with basic modifiers control, meta and shift. (Bug#14397)
15052 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15054 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15055 "Close browser" menu items. Fix wrong function of "List
15058 2013-12-11 Juri Linkov <juri@jurta.org>
15060 * misearch.el (multi-isearch-buffers): Set the value of
15061 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15062 arg of isearch-forward to t.
15063 (multi-isearch-buffers-regexp): Set the value of
15064 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15065 arg of isearch-forward-regexp to t.
15066 (multi-isearch-files): Set the value of
15067 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15068 arg of isearch-forward to t.
15069 (multi-isearch-files-regexp): Set the value of
15070 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15071 arg of isearch-forward-regexp to t. (Bug#16035)
15073 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15074 arg of isearch-forward to t.
15075 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15076 arg of isearch-forward-regexp to t.
15077 (dired-isearch-filter-filenames): Remove unnecessary check for
15078 `dired-isearch-filenames'.
15080 * comint.el (comint-history-isearch-backward):
15081 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15082 (comint-history-isearch-backward-regexp):
15083 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15085 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15087 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15088 unmsys--file-name. (Bug#16099)
15090 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15092 * emacs-lisp/package.el (package-keyword-button-action):
15093 Remove finder.el require dependency.
15095 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15097 * emacs-lisp/package.el: Require finder.el.
15098 (describe-package-1): Add keyword buttons.
15099 (package-make-button): New convenience function.
15100 (package-keyword-button-action): Keyword button action using
15101 `finder-list-matches'.
15103 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15105 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15108 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15110 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15113 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15115 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15116 after the end of a percent literal.
15118 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15120 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15121 Handle caret-delimited strings (Bug#16079).
15123 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15125 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15126 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15127 `ruby-parse-partial' (Bug#16078).
15129 2013-12-09 Leo Liu <sdl.web@gmail.com>
15131 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15133 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15135 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15136 (js-switch-indent-offset): New option.
15137 (js--proper-indentation): Use it. And handle the case when
15138 "default" is actually a key in an object literal.
15139 (js--same-line): New function.
15140 (js--multi-line-declaration-indentation): Use it.
15141 (js--indent-in-array-comp, js--array-comp-indentation):
15143 (js--proper-indentation): Use them, to handle array comprehension
15146 2013-12-08 Leo Liu <sdl.web@gmail.com>
15148 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15149 (flymake-make-overlay): Remove arg MOUSE-FACE.
15150 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15152 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15154 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15156 (redisplay-highlight-region-function): Use it.
15158 * emulation/cua-base.el (cua--explicit-region-start)
15159 (cua--last-region-shifted): Remove.
15160 (cua--deactivate): Use deactivate-mark.
15161 (cua--pre-command-handler-1): Don't handle shift-selection.
15162 (cua--post-command-handler-1): Don't change transient-mark-mode.
15163 (cua--select-keymaps): Use region-active-p rather than
15164 cua--explicit-region-start or cua--last-region-shifted.
15165 (cua-mode): Enable shift-select-mode.
15167 2013-12-08 Leo Liu <sdl.web@gmail.com>
15169 * progmodes/flymake.el (flymake-popup-current-error-menu):
15170 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15171 (flymake-posn-at-point-as-event, flymake-popup-menu)
15172 (flymake-make-emacs-menu): Remove. (Bug#16077)
15174 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15176 * rect.el (rectangle-mark-mode): Activate mark even if
15177 transient-mark-mode is off (bug#16066).
15178 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15179 is > mark and at bolp.
15181 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15182 (region-extract-function): Use it.
15183 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15184 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15186 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15187 kill-ring-save, kill-region, delete-char, delete-forward-char.
15188 Ignore self-insert-iso.
15190 * emulation/cua-gmrk.el (cua--init-global-mark):
15191 Ignore `self-insert-iso'.
15193 * emulation/cua-base.el (cua--prefix-copy-handler)
15194 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15195 checking cua--rectangle.
15196 (cua-delete-region): Use region-extract-function.
15197 (cua-replace-region): Delete function.
15198 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15199 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15200 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15201 (cua--init-keymaps): Don't remap delete-selection commands.
15202 (cua-mode): Use delete-selection-mode instead of rolling our own
15205 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15206 Obey region-extract-function.
15208 Make registers and delete-selection-mode work on rectangles.
15209 * register.el (describe-register-1): Don't modify the register's value.
15210 (copy-to-register): Obey region-extract-function.
15211 * delsel.el (delete-active-region): Obey region-extract-function.
15213 2013-12-08 Leo Liu <sdl.web@gmail.com>
15215 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15216 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15217 (flymake-compilation-prevents-syntax-check)
15218 (flymake-start-syntax-check-on-newline)
15219 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15220 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15221 (flymake-xml-program, flymake-master-file-dirs)
15222 (flymake-master-file-count-limit)
15223 (flymake-allowed-file-name-masks): Relocate.
15224 (flymake-makehash, flymake-float-time)
15225 (flymake-replace-regexp-in-string, flymake-split-string)
15226 (flymake-get-temp-dir): Remove.
15227 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15228 (flymake-current-row, flymake-selected-frame)
15229 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15230 related functions. (Bug#16077)
15232 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15234 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15236 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15238 * help-fns.el (describe-function-1): Use new advice-* functions
15239 rather than old ad-* functions. Fix function type description and
15240 source links for advised functions and subrs.
15242 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15244 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15246 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15248 * progmodes/compile.el (compilation-start):
15249 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15251 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15252 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15254 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15256 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15257 Touch up the last change.
15259 2013-12-06 Leo Liu <sdl.web@gmail.com>
15261 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15262 (inferior-octave-startup): Always use "octave> " for prompt.
15263 (octave-goto-function-definition)
15264 (octave-sync-function-file-names)
15265 (octave-find-definition-default-filename): Remove redundant backquotes.
15267 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15269 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15271 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15272 where appropriate already.
15273 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15274 end of method names (Bug#15874).
15276 2013-12-06 Juri Linkov <juri@jurta.org>
15278 * isearch.el (isearch--saved-overriding-local-map):
15279 New internal variable.
15280 (isearch-mode): Set it to the initial value of
15281 `overriding-terminal-local-map'.
15282 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15283 with `isearch--saved-overriding-local-map'. (Bug#16035)
15285 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15287 * progmodes/octave.el (inferior-octave-completion-table):
15288 Turn back into function, use `completion-table-with-cache'
15289 (Bug#11906). Update all references.
15291 * minibuffer.el (completion-table-with-cache): New function.
15293 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15295 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15297 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15299 * net/eww.el (eww-current-source): New variable to store page
15301 (eww-display-html, eww-mode, eww-save-history)
15302 (eww-restore-history): Use it.
15303 (eww-view-source): New command to view page source.
15304 Opportunistically uses `html-mode' to highlight the buffer.
15305 (eww-mode-map): Install it.
15307 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15309 * net/dbus.el (dbus-unregister-service)
15310 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15312 (dbus-unregister-service): Skip :serial entries in
15313 `dbus-registered-objects-table'.
15314 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15316 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15318 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15319 around keywords with extra `split-string' argument.
15321 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15323 * windmove.el (windmove-other-window-loc): Handle navigation
15324 between windows (excluding the minibuffer window - Bug#16017).
15326 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15328 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15329 in D-Bus type syntax.
15330 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15331 preserve unibyte strings. (Bug#16048)
15333 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15335 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15336 Call force-mode-line-update is the proper buffer (bug#16042).
15338 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15340 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15341 `log-edit-remember-comment', make argument optional. Adjust all
15343 (log-edit-mode): Add `log-edit-remember-comment' to
15344 `kill-buffer-hook' locally.
15345 (log-edit-kill-buffer): Don't remember comment explicitly since
15346 the buffer is killed anyway.
15348 2013-12-04 Juri Linkov <juri@jurta.org>
15350 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15351 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15353 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15355 * notifications.el (notifications-close-notification): Call the
15356 D-Bus method with ID being a `:uint32'. (Bug#16030)
15358 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15360 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15362 2013-12-03 Juri Linkov <juri@jurta.org>
15364 * progmodes/compile.el (compilation-start): Rename window alist
15365 entry `no-display-ok' to `allow-no-window'.
15367 * simple.el (shell-command): Add window alist entry
15368 `allow-no-window' to `display-buffer'.
15369 (async-shell-command): Doc fix.
15371 * window.el (display-buffer-no-window): New action function.
15372 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15374 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15376 * vc/log-edit.el (log-edit-set-header): Extract from
15377 `log-edit-toggle-header'.
15378 (log-edit-extract-headers): Separate the summary, when extracted
15379 from header, from the rest of the message with an empty line.
15381 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15382 line, if present, to the Summary header.
15384 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15386 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15387 in current-buffer (bug#16029).
15389 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15391 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15392 (debugger-mode-map): Bind it.
15393 (debugger--backtrace-base): New function.
15394 (debugger-eval-expression): Use it.
15395 (debugger-frame-number): Skip local vars when present.
15396 (debugger--locals-visible-p, debugger--insert-locals)
15397 (debugger--show-locals, debugger--hide-locals): New functions.
15399 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15401 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15403 (tramp-get-remote-locale): New defun.
15404 (tramp-open-connection-setup-interactive-shell): Use it.
15406 2013-12-02 Leo Liu <sdl.web@gmail.com>
15408 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15410 * progmodes/sh-script.el (sh-shell-process):
15411 * progmodes/octave.el (inferior-octave-process-live-p):
15412 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15413 (gdb-inferior-io-sentinel):
15414 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15416 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15418 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15419 `save-selected-window' to `log-edit-hide-buf'. This makes
15420 `log-edit-show-files' idempotent.
15421 (log-edit-show-files): Mark the new window as dedicated.
15423 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15425 * vc/log-edit.el (log-edit-mode-map): Add binding for
15426 `log-edit-kill-biffer'.
15427 (log-edit-hide-buf): Add a FIXME comment.
15428 (log-edit-add-new-comment): New function, extracted from
15430 (log-edit-done, log-edit-add-to-changelog): Use it.
15431 (log-edit-kill-buffer): New command.
15433 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15435 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15436 instead of killing the buffer.
15438 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15440 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15442 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15444 * net/eww.el (eww-form-checkbox-selected-symbol)
15445 (eww-form-checkbox-symbol): New customizable variable.
15446 (eww-form-checkbox, eww-toggle-checkbox):
15447 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15449 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15450 (shr--get-media-pref, shr--extract-best-source): New function.
15451 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15452 no :src tag was specified.
15454 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15455 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15456 Use \\` to match beginning of string instead of ^.
15457 (eww-browse-with-external-browser): Provide optional URL parameter.
15458 (eww-render): Set `eww-current-title' back to "".
15460 * net/shr.el (shr-tag-video): Display content for video if no
15461 poster is available.
15462 (shr-tag-audio): Add support for <audio> tag.
15464 * net/eww.el (eww-text-input-types): New const.
15465 (eww-process-text-input): Treat input types in
15466 `eww-text-input-types' as text.
15468 * net/shr.el (shr-tag-table): Fix comment typo.
15470 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15472 * net/eww.el (eww-follow-link): New command to avoid reloading
15473 pages when we follow #target links (bug#15243).
15474 (eww-quit): Special mode buffers shouldn't query before exiting.
15476 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15478 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15481 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15483 * net/eww.el (eww-restore-history): Update the window title after
15484 moving in the history.
15485 (eww-current-dom): New variable used to save the current DOM.
15487 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15489 * vc/log-edit.el (log-edit-mode-map): Add binding for
15490 `log-edit-beginning-of-line'.
15491 (log-edit-setup-add-author): New user option.
15492 (log-edit-beginning-of-line): New command.
15493 (log-edit): Move major mode call above the contents setup so that
15494 the local variable values are already applied.
15495 (log-edit): Only insert "Author: " when
15496 `log-edit-setup-add-author' is non-nil.
15497 (log-edit): When SETUP is non-nil, position point after ": "
15498 instead of point-min.
15500 2013-12-01 Glenn Morris <rgm@gnu.org>
15502 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15504 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15506 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15507 redisplay to make sure the initial frame gets a chance to become
15508 visible. (Bug#16014)
15510 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15512 Support resizing frames and windows pixelwise.
15513 * cus-start.el (frame-resize-pixelwise)
15514 (window-resize-pixelwise): New entries.
15515 * emacs-lisp/debug.el (debug): Use window-total-height instead
15516 of window-total-size.
15517 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15518 * help.el (describe-bindings-internal): Use help-buffer as
15519 argument for with-help-window.
15520 (temp-buffer-max-width): New option.
15521 (resize-temp-buffer-window, help-window-setup)
15522 (with-help-window): Rewrite.
15523 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15525 * window.el (frame-char-size, window-min-pixel-height)
15526 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15527 (window-min-pixel-width, window-safe-min-pixel-size)
15528 (window-combination-p, window-safe-min-size)
15529 (window-resizable-p, window--size-to-pixel)
15530 (window--pixel-to-size, window--resize-apply-p): New functions.
15531 (window-safe-min-height): Fix doc-string.
15532 (window-size, window-min-size, window--min-size-1)
15533 (window-sizable, window-sizable-p, window--min-delta-1)
15534 (window-min-delta, window--max-delta-1, window-max-delta)
15535 (window--resizable, window--resizable-p, window-resizable)
15536 (window-full-height-p, window-full-width-p, window-at-side-p)
15537 (window--in-direction-2, window-in-direction)
15538 (window--resize-reset-1, window--resize-mini-window)
15539 (window-resize, window-resize-no-error)
15540 (window--resize-child-windows-normal)
15541 (window--resize-child-windows, window--resize-siblings)
15542 (window--resize-this-window, window--resize-root-window)
15543 (window--resize-root-window-vertically)
15544 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15545 (maximize-window, minimize-window, delete-window)
15546 (quit-restore-window, window-split-min-size, split-window)
15547 (balance-windows-2, balance-windows)
15548 (balance-windows-area-adjust, balance-windows-area)
15549 (window--state-get-1, window-state-get, window--state-put-1)
15550 (window--state-put-2, window-state-put)
15551 (display-buffer-record-window, window--display-buffer):
15552 Make functions handle pixelwise sizing of windows.
15553 (display-buffer--action-function-custom-type)
15554 (display-buffer-fallback-action):
15555 Add display-buffer-in-previous-window.
15556 (display-buffer-use-some-window): Resize window to height it had
15558 (fit-window-to-buffer-horizontally): New option.
15559 (fit-frame-to-buffer): Describe new values.
15560 (fit-frame-to-buffer-bottom-margin): Replace with
15561 fit-frame-to-buffer-margins.
15562 (window--sanitize-margin): New function.
15563 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15564 using window-text-pixel-size.
15566 2013-11-30 Glenn Morris <rgm@gnu.org>
15568 * emacs-lisp/bytecomp.el (byte-compile-form):
15569 Make the `interactive-only' warning like the `obsolete' one.
15570 * comint.el (comint-run):
15571 * files.el (insert-file-literally, insert-file):
15572 * replace.el (replace-string, replace-regexp):
15573 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15574 (goto-line, insert-buffer, next-line, previous-line):
15575 Tweak `interactive-only' spec.
15577 Stop keeping (most) generated cedet grammar files in the repository.
15578 * Makefile.in (semantic): New.
15579 (compile-main): Depend on semantic.
15581 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15584 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15586 * uniquify.el (uniquify-buffer-name-style): Change default.
15588 * loadup.el: Preload "uniquify".
15590 * time.el (display-time-update): Update all mode lines (bug#15999).
15592 * electric.el (electric-indent-mode): Enable by default.
15593 * loadup.el: Preload "electric".
15595 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15597 * emacs-lisp/helpers.el (string-empty-p): New function.
15598 (string-blank-p): New function.
15600 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15602 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15605 2013-11-29 Andreas Politz <politza@fh-trier.de>
15606 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15607 allow non-lambda lists as functions.
15608 (imenu--in-alist): Don't recurse into non-subalists.
15609 (imenu): Don't pass function itself as an argument (Bug#14029).
15611 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15613 * progmodes/python.el (python-mode-map): Remove binding for ":".
15614 (python-indent-electric-colon): Remove command.
15615 (python-indent-post-self-insert-function): Integrate the previous code
15616 of python-indent-electric-colon. Make it conditional on
15617 electric-indent-mode.
15618 (python-mode): Add ?: to electric-indent-chars.
15619 Move python-indent-post-self-insert-function to the end of
15620 post-self-insert-hook.
15622 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15624 * doc-view.el (doc-view-goto-page): Update mode-line.
15626 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15628 2013-11-27 Glenn Morris <rgm@gnu.org>
15630 * international/charprop.el, international/uni-bidi.el:
15631 * international/uni-category.el, international/uni-combining.el:
15632 * international/uni-comment.el, international/uni-decimal.el:
15633 * international/uni-decomposition.el, international/uni-digit.el:
15634 * international/uni-lowercase.el, international/uni-mirrored.el:
15635 * international/uni-name.el, international/uni-numeric.el:
15636 * international/uni-old-name.el, international/uni-titlecase.el:
15637 * international/uni-uppercase.el:
15638 Remove generated files from VCS repository.
15640 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15642 * filenotify.el (file-notify-add-watch): Don't special-case
15643 w32notify when computing the directory to watch.
15645 2013-11-27 Glenn Morris <rgm@gnu.org>
15647 Make bootstrap without generated uni-*.el files possible again.
15648 * loadup.el: Update command-line-args checking for unidata-gen.
15649 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15650 * composite.el, international/characters.el:
15651 Handle unicode tables being undefined.
15653 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15654 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15655 (compile-main): Depend on leim rule.
15657 * loadup.el: Move leim-list.el to leim/ subdirectory.
15658 * startup.el (normal-top-level): No more leim directory.
15659 * international/ja-dic-cnv.el (skkdic-convert):
15660 Disable version-control and autoloads in output files.
15661 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15662 Disable version-control and autoloads in output files.
15663 * leim/quail: Move here from ../leim.
15664 * leim/quail/hangul.el (hangul-input-method-activate):
15665 Add autoload cookie.
15666 (generated-autoload-load-name): Set file-local value.
15667 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15668 (generated-autoload-load-name): Set file-local value.
15670 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15672 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15673 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15674 (eww-quit): Ask confirmation before quitting eww.
15676 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15678 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15679 reading output from Diff on MS-Windows and MS-DOS.
15681 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15683 * emacs-lisp/helpers.el (string-reverse): New function.
15685 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15687 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15688 names on MS Windows, like "/[::1]:".
15690 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15693 2013-11-26 Glenn Morris <rgm@gnu.org>
15695 * progmodes/python.el (python-indent-guess-indent-offset):
15696 Avoid corner-case error. (Bug#15975)
15698 Preload leim-list.el. (Bug#4789)
15699 * loadup.el: Load leim-list.el when found.
15700 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15702 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15704 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15706 * emacs-lisp/helpers.el (string-join): New function.
15708 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15710 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15711 Mark as obsolete and replace it with a symbol property.
15712 (byte-compile-form): Use new 'interactive-only property.
15713 * comint.el, files.el, replace.el, simple.el:
15714 Apply new 'interactive-only properly.
15716 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15718 * window.el (display-buffer-at-bottom): Make sure that
15719 split-window-sensibly creates the new window on bottom
15722 2013-11-23 David Kastrup <dak@gnu.org>
15724 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15725 on the conflict markers when available.
15726 (smerge--get-marker): New function.
15727 (smerge-end-re, smerge-base-re): Add subgroup.
15729 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15731 * frame.el (handle-focus-in, handle-focus-out): Add missing
15734 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15736 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15737 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15739 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15742 (gomoku--last-pos): New var.
15743 (gomoku--intangible-chars): New const.
15744 (gomoku--intangible): New function.
15745 (gomoku-mode): Use it. Derive from special-mode.
15746 (gomoku-move-up): Adjust line count.
15747 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15748 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15749 Simplify accordingly.
15751 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15752 Remove blink-cursor code.
15753 (blink-cursor-timer-function, blink-cursor-suspend):
15754 Don't special-case GUIs.
15755 (blink-cursor-mode): Use focus-in/out-hook.
15757 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15759 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15760 work when annotation is invisible (Bug#13886).
15762 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15764 * json.el (json-alist-p): Only return non-nil if the alist has
15765 simple keys (Bug#13518).
15767 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15769 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15770 when control-statement is the first statement in a buffer (Bug#15956).
15772 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15774 * imenu.el (imenu-generic-skip-comments-and-strings):
15775 New option (Bug#15560).
15776 (imenu--generic-function): Use it.
15778 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15780 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15783 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15785 * emacs-lisp/helpers.el: Add some string helpers.
15786 (string-trim-left): Removes leading whitespace.
15787 (string-trim-right): Removes trailing whitespace.
15788 (string-trim): Removes leading and trailing whitespace.
15790 * subr.el (string-suffix-p): New function.
15792 2013-11-23 Glenn Morris <rgm@gnu.org>
15794 * progmodes/python.el (python-shell-send-file):
15795 Add option to delete file when done. (Bug#15647)
15796 (python-shell-send-string, python-shell-send-region): Use it.
15798 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15800 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15801 to set buffer-read-only to t, never to nil. (Bug#15938)
15803 * textmodes/tex-mode.el (latex-noindent-environments):
15804 Add safe-local-variable property. (Bug#15936)
15806 2013-11-23 Glenn Morris <rgm@gnu.org>
15808 * textmodes/enriched.el (enriched-mode): Doc fix.
15809 * emacs-lisp/authors.el (authors-renamed-files-alist):
15810 Add enriched.doc -> enriched.txt.
15812 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15814 2013-11-22 Leo Liu <sdl.web@gmail.com>
15816 * progmodes/octave.el (inferior-octave-startup): Spit out error
15819 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15821 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15824 (ruby-encoding-magic-comment-style): Add :version.
15826 2013-11-22 Leo Liu <sdl.web@gmail.com>
15828 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15830 (octave-help-mode): Adapt to change to help-mode-finish to use
15831 derived-mode-p on 2013-09-17.
15832 (inferior-octave-prompt): Also match octave-gui.
15833 (octave-kill-process): Don't ask twice. (Bug#10564)
15835 2013-11-22 Leo Liu <sdl.web@gmail.com>
15837 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15838 (inferior-octave-startup, inferior-octave-check-process)
15839 (inferior-octave-track-window-width-change)
15840 (octave-completion-at-point, octave-eldoc-function): Use it.
15841 (octave-kill-process): Provide confirmation. (Bug#10564)
15843 2013-11-21 Leo Liu <sdl.web@gmail.com>
15845 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15846 Fix obsolete variable comment-use-global-state.
15848 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15850 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15851 Add `octave-source-file'.
15852 (octave-source-file): New function. (Bug#15935)
15854 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15856 * net/eww.el (eww-local-regex): New variable.
15857 (eww): Use it to detect localhost and similar.
15859 2013-11-21 Leo Liu <sdl.web@gmail.com>
15861 Add completion for command `ag'.
15862 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15863 (pcomplete/ag): New function.
15864 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15866 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15868 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15870 (make-obsolete): Remove interactive spec.
15872 2013-11-21 Glenn Morris <rgm@gnu.org>
15874 * startup.el (command-line-1): Use path-separator with -L.
15876 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15878 * emacs-lisp/package.el (describe-package-1): Add package archive
15881 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15883 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15884 Change default to "# encoding: %s" to differentiate it from the
15885 default Ruby encoding comment template.
15887 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15889 * ses.el (ses-mode): Doc fix. (Bug#14748)
15891 2013-11-20 Leo Liu <sdl.web@gmail.com>
15893 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15895 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15897 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15898 when rebase or bisect are in progress.
15900 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15902 * filenotify.el (file-notify-add-watch): Doc fix.
15904 2013-11-19 Leo Liu <sdl.web@gmail.com>
15906 * obsolete/rcompile.el: Mark obsolete.
15908 * progmodes/compile.el (compilation-start)
15909 (compilation-goto-locus, compilation-find-file):
15910 Pass no-display-ok and handle nil value from display-buffer.
15913 * window.el (display-buffer-alist, display-buffer): Document the
15914 new parameter no-display-ok. Return either a window or nil
15915 but never a non-window value.
15917 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * electric.el (electric-indent-mode-map): Remove.
15920 (electric-indent-mode): Change the global-map instead (bug#15915).
15922 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15925 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15927 * emacs-lisp/nadvice.el (remove-function): Align with
15928 add-function's behavior.
15930 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15931 (gdb--string-regexp): New constant.
15932 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15933 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15934 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15936 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15937 Adjust use accordingly.
15938 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15940 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15942 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15943 interpolation curlies (Bug#15914).
15945 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15947 * calc/calc.el (calc-context-sensitive-enter): New variable.
15948 (calc-enter): Use `calc-context-sensitive-enter'.
15950 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15952 * progmodes/cfengine.el: Version bump.
15953 (cfengine-cf-promises): New defcustom to locate cf-promises.
15954 (cfengine3-vartypes): Add new "data" type.
15955 (cfengine3--current-word): New function to get current name-like
15956 word or its bounds.
15957 (cfengine3--current-function): New function to look up a CFEngine
15958 function's definition.
15959 (cfengine3-format-function-docstring): New function.
15960 (cfengine3-make-syntax-cache): New function.
15961 (cfengine3-documentation-function): New function: ElDoc glue.
15962 (cfengine3-completion-function): New function: completion glue.
15963 (cfengine3-mode): Set `compile-command',
15964 `eldoc-documentation-function', and add to
15965 `completion-at-point-functions'.
15967 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15969 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15970 `tramp-current-connection'.
15972 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15975 nil/self/true/false with "end of symbol".
15977 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15979 * subr.el (version-regexp-alist): Fix a typo.
15981 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15983 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15984 "en_US.utf8" and "LC_CTYPE" to "".
15985 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15986 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15988 2013-11-15 Leo Liu <sdl.web@gmail.com>
15990 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
15992 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15994 * progmodes/gud.el (ctl-x-map):
15995 Remove C-x SPC binding. (Bug#12342)
15996 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15998 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16000 * subr.el (version-regexp-alist):
16001 Recognize hg, svn and darcs versions as snapshot versions.
16003 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16004 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16005 (ruby--encoding-comment-required-p): Extract from
16006 `ruby-mode-set-encoding'.
16007 (ruby-mode-set-encoding): Add the ability to always insert an
16008 utf-8 encoding comment. Fix and simplify coding comment update
16011 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16013 * net/tramp-gvfs.el (top): Run init code only when
16014 `tramp-gvfs-enabled' is not nil.
16015 (tramp-gvfs-enabled): Check also :system bus.
16017 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16019 Sync with upstream verilog-mode revision 78e66ba.
16020 * progmodes/verilog-mode.el (verilog-end-of-defun)
16021 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16022 (verilog-get-end-of-defun): Remove unused argument.
16023 (verilog-comment-depth): Remove unused local `e'.
16024 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16025 Don't pass arg to verilog-get-end-of-defun.
16027 2013-11-14 Glenn Morris <rgm@gnu.org>
16029 * obsolete/assoc.el (aget): Prefix dynamic variable.
16031 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16033 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16035 * widget.el, hfy-cmap.el: Remove bogus package version number.
16037 2013-11-13 Glenn Morris <rgm@gnu.org>
16039 * replace.el (replace-eval-replacement):
16040 Try to give more helpful error message. (Bug#15836)
16042 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16043 (archive-7z-update): Avoid custom type mismatches.
16045 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16047 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16049 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16050 address can be empty.
16052 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16053 Accept nil SWITCHES.
16054 (tramp-gvfs-handle-write-region): Implement APPEND.
16056 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16058 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16059 binary "|" operator and closing block args delimiter.
16060 Remove FIXME comment referring to Ruby 1.8-only syntax.
16061 (ruby-smie--implicit-semi-p): Not after "|" operator.
16062 (ruby-smie--closing-pipe-p): New function.
16063 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16064 (ruby-smie-rules): Indent after "|".
16066 2013-11-12 Glenn Morris <rgm@gnu.org>
16068 * ps-print.el (ps-face-attribute-list):
16069 Handle anonymous faces. (Bug#15827)
16071 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16073 * window.el (display-buffer-other-frame): Fix doc-string.
16076 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16080 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16083 (tramp-sh-handle-file-local-copy): Don't write a message when
16084 saving temporary files.
16086 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16087 both directories are remote.
16088 (tramp-smb-handle-directory-files): Do not return double entries.
16089 Do not expand full file names.
16090 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16091 (tramp-smb-handle-write-region): Implement APPEND.
16092 (tramp-smb-get-stat-capability): Fix a stupid bug.
16094 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16096 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16098 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16100 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16101 throwing error over malformed let/let* (bug#15814).
16103 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16105 * iswitchb.el (iswitchb-mode): Mark obsolete.
16107 2013-11-11 Glenn Morris <rgm@gnu.org>
16109 * international/uni-bidi.el, international/uni-category.el:
16110 * international/uni-name.el, international/uni-numeric.el:
16111 Regenerate for Unicode 6.3.0.
16113 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16115 * net/tramp.el (tramp-methods):
16116 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16117 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16119 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16121 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16122 Force highlighting text after Summary keyword in doc face for rpm.
16124 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16126 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16127 available and the word has no wildcards, append one to the grep pattern.
16128 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16129 (ispell-complete-word): Call `ispell-lookup-words' with the value
16130 independent of `ispell-look-p'.
16132 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16134 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16136 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16139 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16141 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16142 (ruby-font-lock-keywords): Use backquote.
16144 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16146 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16147 (ruby-smie--backward-token): Only consider full-string matches.
16149 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16151 * faces.el (describe-face): Add distant-foreground.
16153 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16155 * progmodes/ruby-mode.el: Improve encoding comment handling.
16156 (ruby-encoding-magic-comment-style): New option.
16157 (ruby-custom-encoding-magic-comment-template): New option.
16158 (ruby--insert-coding-comment, ruby--detect-encoding):
16159 New functions extracted from `ruby-mode-set-encoding'.
16160 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16161 to control the style of the auto-inserted encoding comment.
16163 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16165 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16166 Use `smie-backward-sexp' with token argument.
16168 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16170 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16171 Remove instrumentation code.
16173 2013-11-08 Glenn Morris <rgm@gnu.org>
16175 * progmodes/autoconf.el (autoconf-mode):
16176 Tweak comment-start-skip. (Bug#15822)
16178 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16180 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16181 at bobp (bug#15826).
16182 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16184 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16186 * man.el (Man-start-calling): New macro, extracted from
16187 Man-getpage-in-background.
16188 (Man-getpage-in-background): Use it.
16189 (Man-update-manpage): New command.
16190 (Man-mode-map): Bind it.
16192 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16194 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16195 of "and", "or", "&&" and "||".
16196 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16197 argument. Prohibit opening curly brace because it could only be a
16198 block opener in that position.
16199 (ruby-smie--forward-token, ruby-smie--backward-token):
16200 Separate "|" from "&" or "*" going after it. That can happen in block
16202 (ruby-smie--indent-to-stmt): New function, seeks the end of
16203 previous statement or beginning of buffer.
16204 (ruby-smie-rules): Use it.
16205 (ruby-smie-rules): Check if there's a ":" before a curly block
16206 opener candidate; if there is, it's a hash.
16208 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16210 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16211 (cl--block-wrapper): Fix last accidental change.
16213 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16215 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16216 Instrument, in order to hunt failure on hydra.
16218 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16220 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16221 malformed bindings form (bug#15814).
16223 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16225 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16226 "." compared to " @ ". This incidentally fixes some indentation
16227 examples with "do".
16228 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16229 (ruby-smie-grammar): New tokens: "and" and "or".
16230 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16231 Exclude "and" and "or". Remove "do" in order to work around token
16233 (ruby-smie-rules): Add all infix tokens. Handle the case of
16234 beginning-of-buffer.
16236 2013-11-06 Glenn Morris <rgm@gnu.org>
16238 * Makefile.in (setwins_almost, setwins_for_subdirs):
16239 Avoid accidental matches.
16241 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16243 * menu-bar.el (popup-menu): Use key-binding.
16245 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16247 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16248 menus, support also the menus produced by minor modes.
16251 2013-11-06 Leo Liu <sdl.web@gmail.com>
16253 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16254 DISTANCE to bound the search. All uses changed. (Bug#15808)
16256 2013-11-06 Glenn Morris <rgm@gnu.org>
16258 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16259 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16260 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16262 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16264 * electric.el (electric-indent-just-newline): New command.
16265 (electric-indent-mode-map): New keymap.
16266 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16267 Re-add :group which weren't redundant.
16269 * electric.el (electric-indent-local-mode): New minor mode.
16270 (electric-indent-functions-without-reindent): New var.
16271 (electric-indent-post-self-insert-function): Use it.
16272 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16274 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16276 * international/quail.el (quail-help): Be more explicit about the
16277 meaning of the labels shown on the keys. (Bug#15800)
16279 * startup.el (normal-top-level): Load the subdirs.el files before
16280 setting the locale environment. (Bug#15805)
16282 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16284 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16285 via arguments so as to get the right ones (bug#15418).
16287 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16289 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16291 Fix problems found while writing a test suite.
16293 * net/tramp-compat.el (tramp-compat-load): New defun.
16294 * net/tramp.el (tramp-handle-load): Use it.
16296 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16297 "(numberp ok-if-already-exists)" correctly.
16299 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16301 * international/characters.el (glyphless-char-display-control):
16304 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16306 * progmodes/python.el (python-mode):
16307 * progmodes/scheme.el (scheme-mode):
16308 * progmodes/prolog.el (prolog-mode):
16309 * progmodes/ruby-mode.el (ruby-mode):
16310 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16311 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16313 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16315 * rect.el (rectangle--highlight-for-redisplay):
16316 * emacs-lisp/smie.el (smie--next-indent-change):
16317 Use buffer-chars-modified-tick.
16319 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16321 * electric.el (electric-indent-post-self-insert-function):
16322 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16324 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16326 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16328 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16330 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16333 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16335 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16337 * progmodes/python.el: Fix up last change.
16338 (python-shell--save-temp-file): New function.
16339 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16340 `string' comes from the current buffer.
16341 (python-shell-send-string-no-output): Remove `msg' arg.
16342 (python--use-fake-loc): New var.
16343 (python-shell-buffer-substring): Obey it. Try to compensate for the
16344 extra coding line added by python-shell--save-temp-file.
16345 (python-shell-send-region): Use python-shell--save-temp-file and
16346 python-shell-send-file directly. Add `nomain' argument.
16347 (python-shell-send-buffer): Use python-shell-send-region.
16348 (python-electric-pair-string-delimiter): New function.
16349 (python-mode): Use it.
16351 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16353 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16354 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16355 environment and decoding all of the default-directory's to here
16357 (command-line): Decode also argv[0].
16359 * loadup.el: Error out if default-directory is a multibyte string
16360 when we are dumping.
16362 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16364 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16366 * emacs-lisp/package.el (package-menu-mode)
16367 (package-menu--print-info, package-menu--archive-predicate):
16368 Add Archive column to package list.
16370 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16372 Fix problems found while writing a test suite.
16374 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16375 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16376 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16377 to nil when running original file name handler. Otherwise,
16378 there are problems with constructs like "$$FOO".
16380 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16383 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16385 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16387 * subr.el (version<, version<=, version=):
16388 Update docstrings with information for snapshot versions.
16390 * helpers.el: New library for misc helper functions.
16391 (hash-table-keys): New function returning a list of hash keys.
16392 (hash-table-values): New function returning a list of hash values.
16394 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16396 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16397 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16399 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16401 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16402 checking whether point is after a 1-letter word.
16404 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16406 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16407 Don't infloop when expanding region over `multiline' syntax-type that
16408 begins a line (bug#15778).
16410 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16412 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16413 Make it into a proper minor mode.
16414 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16415 (rectangle-mark-mode-map): New keymap.
16416 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16418 2013-11-04 Glenn Morris <rgm@gnu.org>
16420 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16422 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16424 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16425 (ruby-smie-rules): Use smie-rule-parent instead.
16427 * emacs-lisp/smie.el (smie-rule-parent): Always call
16428 smie-indent-virtual rather than only for hanging tokens.
16429 (smie--next-indent-change): New helper command.
16431 2013-11-03 Glenn Morris <rgm@gnu.org>
16433 * Makefile.in (abs_srcdir): Remove.
16434 (emacs): Unset EMACSLOADPATH.
16436 2013-11-02 Glenn Morris <rgm@gnu.org>
16438 * Makefile.in (EMACS): Use a relative filename.
16439 (abs_top_builddir): Remove.
16440 (custom-deps, finder-data, autoloads): Use --chdir.
16442 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16444 Use relative filenames in TAGS files.
16445 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16446 (lisptagsfiles4, TAGS): Use relative file names.
16447 (TAGS-LISP): Remove.
16448 (maintainer-clean): No more TAGS-LISP file.
16450 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16451 (lisptagsfiles4): Use absolute filenames again.
16452 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16453 Remove all *loaddefs files, not just the first. Remove esh-groups.
16454 (maintainer-clean): Delete TAGS, TAGS-LISP.
16456 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16458 * emacs-lisp/package.el (package-version-join):
16459 Recognize snapshot versions.
16461 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16463 * subr.el (version-regexp-alist): Add support for snapshot versions.
16465 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16467 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16468 New function, replacement for `smie-rule-parent' for when we want to
16469 skip over our direct parent if it's an assignment token..
16470 (ruby-smie-rules): Use it.
16472 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16474 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16475 unconditionally. Remove now unnecessary forward declarations.
16476 Remove XEmacs-specific setup.
16477 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16478 (ruby-font-lock-syntactic-keywords)
16479 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16480 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16481 (ruby-here-doc-end-syntax): Remove.
16482 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16483 defined as function.
16485 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16487 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16489 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16491 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16492 table and abbrev table, `define-derived-mode' does that for us
16495 2013-11-01 Glenn Morris <rgm@gnu.org>
16497 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16498 files is atomic for some time, so no parallel compilation issues).
16500 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16502 * faces.el (face-x-resources): Add :distant-foreground.
16503 (region): Use :distant-foreground for gtk and ns.
16505 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16507 Allow multiple bibliographies when BibLaTeX is used rather than
16509 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16510 (reftex-locate-bibliography-files): Us it.
16512 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16514 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16515 allow comments in pbm files.
16517 * term/w32-win.el (dynamic-library-alist): Support newer versions
16518 of libjpeg starting with v7: look only for the DLL from the
16519 version against which Emacs was built.
16520 Support versions of libpng beyond 1.4.x.
16521 Support libtiff v4.x.
16523 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16525 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16526 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16527 Add property :safe.
16528 (ruby-deep-arglist): Add property :type.
16530 2013-10-31 Glenn Morris <rgm@gnu.org>
16532 * Makefile.in (custom-deps, finder-data): No need to setq the target
16533 variables, we are in the right directory and the defaults work fine.
16535 2013-10-30 Glenn Morris <rgm@gnu.org>
16537 * Makefile.in (autoloads): Do not use abs_lisp.
16539 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16540 `newline' does not respect `standard-output', so use `princ'.
16542 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16544 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16545 * buff-menu.el (Buffer-menu--unmark): New function.
16546 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16548 2013-10-30 Glenn Morris <rgm@gnu.org>
16550 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16552 * emacs-lisp/package.el (lm-homepage): Declare.
16554 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16557 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16559 * Makefile.in (finder-data, autoloads, update-subdirs)
16560 (compile-main, compile-clean, compile-always, bootstrap-clean):
16561 Check return value of cd.
16562 (compile-calc): Remove.
16564 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16566 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16568 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16569 (byte-compile-and-folded): New function.
16570 (=, <, >, <=, >=): Use it.
16572 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16573 (path-separator, null-device, buffer-file-coding-system)
16574 (lpr-headers-switches): Check system-type before modifying them.
16575 (find-buffer-file-type-coding-system): Mark obsolete.
16576 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16577 find-file-not-found-set-buffer-file-coding-system.
16578 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16579 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16580 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16581 (w32-direct-print-region-helper, w32-direct-print-region-function)
16582 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16583 * startup.el (normal-top-level-add-subdirs-to-load-path):
16584 * ps-print.el (ps-print-region-function):
16585 * lpr.el (print-region-function): Use new name.
16587 * subr.el (custom-declare-variable-early): Remove function.
16588 (custom-declare-variable-list): Remove var.
16589 (error, user-error): Remove `while' loop.
16590 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16591 (user-emacs-directory-warning, locate-user-emacs-file):
16593 * simple.el (read-quoted-char-radix, read-quoted-char):
16594 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16596 * custom.el (custom-declare-variable-list): Don't process
16597 custom-declare-variable-list.
16599 * progmodes/python.el (python-shell-get-buffer): New function.
16600 (python-shell-get-process): Use it.
16601 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16602 Python which encoding was used. Don't split-string since we only care
16603 about the first line. Return the temp-file, if applicable.
16604 (python-shell-send-region): Tell compile.el how to turn locations in
16605 the temp-file into locations in the source buffer.
16607 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16609 * subr.el (undefined): Add missing behavior from the C code for
16612 * rect.el: Use lexical-binding. Add new rectangular region support.
16613 (rectangle-mark): New command.
16614 (rectangle--region): New var.
16615 (deactivate-mark-hook): Reset rectangle--region.
16616 (rectangle--extract-region, rectangle--insert-for-yank)
16617 (rectangle--highlight-for-redisplay)
16618 (rectangle--unhighlight-for-redisplay): New functions.
16619 (region-extract-function, redisplay-unhighlight-region-function)
16620 (redisplay-highlight-region-function): Use them to handle
16621 rectangular region.
16622 * simple.el (region-extract-function): New var.
16623 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16624 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16625 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16626 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16627 (redisplay-unhighlight-region-function)
16628 (redisplay-highlight-region-function): New vars.
16629 (redisplay--update-region-highlight): New function.
16630 (pre-redisplay-function): Use it.
16631 (exchange-point-and-mark): Don't deactivate the mark before
16632 reactivate-it anyway.
16633 * comint.el (comint-kill-region): Remove yank-handler argument.
16634 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16635 (delete-char): Remove property, since it's now part of their
16637 (self-insert-iso): Remove property since this command doesn't exist.
16639 * emacs-lisp/package.el (package--download-one-archive)
16640 (describe-package-1): Don't query the user about final newline.
16642 2013-10-29 Daniel Colascione <dancol@dancol.org>
16644 * net/tramp.el (tramp-methods): Document new functionality.
16645 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16646 tramp-hostname-checker if method provides one instead of scanning
16647 argument list for "%h" to decide hostname acceptability.
16649 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16651 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16652 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16653 Handle COPY-CONTENTS. (Bug#15737)
16655 2013-10-28 Daiki Ueno <ueno@gnu.org>
16657 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16658 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16660 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16662 * image.el (defimage, image-load-path): Doc fixes.
16664 2013-10-27 Alan Mackenzie <acm@muc.de>
16666 Indent statements in macros following "##" correctly.
16667 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16668 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16670 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16672 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16674 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16676 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16677 after `=' is probably a new expression.
16679 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16681 * man.el (man-imenu-title): New option.
16682 (Man-mode-map): Add menu. (Bug#15722)
16683 (Man-mode): Add imenu to menu.
16685 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16687 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16688 specific in what the first arg can be: a non-keyword word,
16689 string/regexp/percent literal opener, opening paren, or unary
16690 operator followed directly by word.
16692 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16694 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16695 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16696 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16697 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16698 Remove vars, they do not apply any more.
16699 (prolog-mode-abbrev-table): Remove redundant declaration.
16700 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16701 (prolog-use-smie): Remove.
16702 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16703 supported by prolog-electric-if-then-else-flag.
16704 (prolog-mode-variables, prolog-menu): Use setq-local.
16705 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16706 Remove binding to `Backspace' since this key doesn't exist anyway.
16707 Remove bindings for electric self-inserting keys.
16708 (prog-mode): Assume it's defined.
16709 (prolog-post-self-insert): New function.
16710 (prolog-mode): Use it.
16711 (prolog-indent-line, prolog-indent-level)
16712 (prolog-find-indent-of-matching-paren)
16713 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16714 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16715 (prolog-goto-next-paren, prolog-in-string-or-comment)
16716 (prolog-tokenize, prolog-inside-mline-comment)
16717 (prolog-find-start-of-mline-comment): Remove functions.
16718 (prolog-find-unmatched-paren, prolog-clause-end)
16719 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16720 (prolog-electric--if-then-else): Rename from
16721 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16722 (prolog-tokenize-searchkey): Remove const.
16723 (prolog-clause-info): Use forward-sexp.
16724 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16725 (prolog-electric-if-then-else): Remove commands.
16726 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16727 for use in post-self-insert-hook.
16728 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16729 for use in post-self-insert-hook.
16730 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16731 for use in post-self-insert-hook.
16732 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16733 adapt it for use in post-self-insert-hook.
16735 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16737 * emacs-lisp/ert.el (ert-run-tests-interactively):
16738 Use `completing-read'. (Bug#9756)
16740 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16742 * simple.el (line-move): Call line-move-1 instead of
16743 line-move-visual when the current window hscroll is zero, but
16744 temporary-goal-column indicates we will need to hscroll as result
16745 of the movement. (Bug#15712)
16747 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16749 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16750 capitalization. Use :visible instead of :active.
16751 Fix `ruby-indent-exp' reference. Add menu items for the generic
16752 commands that are used with SMIE.
16753 (ruby-do-end-to-brace): Insert space after `{'.
16755 2013-10-25 John Anthony <john@jo.hnanthony.com>
16757 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16759 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16761 2013-10-25 Glenn Morris <rgm@gnu.org>
16763 * vc/vc.el (vc-print-log): Don't use a working revision unless
16764 one was explicitly specified. (Bug#15322)
16766 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16768 * subr.el (add-to-list): Preserve return value in compiler-macro
16771 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16773 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16774 result. Ask user to retry using '-all' flag. (Bug#15701)
16776 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16778 * emacs-lisp/smie.el: New smie-config system.
16779 (smie-config): New defcustom.
16780 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16781 (smie-config-guess, smie-config-save): New commands.
16782 (smie-config--mode-local, smie-config--buffer-local)
16783 (smie-config--trace, smie-config--modefuns): New vars.
16784 (smie-config--advice, smie-config--mode-hook)
16785 (smie-config--setter, smie-config-local, smie-config--get-trace)
16786 (smie-config--guess-value, smie-config--guess): New functions.
16787 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16788 text properties. Treat "string fence" syntax like string syntax.
16790 * progmodes/sh-script.el (sh-use-smie): Change default.
16791 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16792 (sh-var-value): Simplify by CSE.
16793 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16794 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16796 (sh-guess-basic-offset): Use cl-incf.
16797 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16799 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16801 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16804 2013-10-24 Glenn Morris <rgm@gnu.org>
16806 * Makefile.in (abs_top_srcdir): Remove.
16807 (update-subdirs): Use relative path to update-subdirs.
16809 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16811 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16812 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16813 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16814 Call unmsys--file-name before expand-file-name, not after it.
16816 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16818 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16819 (ert-test-skipped): New error.
16820 (ert-skip, ert-stats-skipped): New defuns.
16821 (ert--skip-unless): New macro.
16822 (ert-test-skipped): New struct.
16823 (ert--run-test-debugger, ert-test-result-type-p)
16824 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16825 (ert--stats-set-test-and-result, ert-char-for-test-result)
16826 (ert-string-for-test-result, ert-run-tests-batch)
16827 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16828 Handle skipped tests. (Bug#9803)
16830 2013-10-24 Glenn Morris <rgm@gnu.org>
16832 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16834 * Makefile.in (abs_top_srcdir): New, set by configure.
16835 (update-subdirs): Correct build-aux location.
16837 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16839 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16840 value, whether we could auto-deduce `backend', or not.
16842 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16843 with parameters" example. Simplify the "is it block or is it
16844 hash" check, but also make it more thorough.
16846 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16848 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16850 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16852 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16853 { if it is hanging.
16855 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16858 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16860 * progmodes/compile.el (compilation-directory-matcher)
16861 (compilation-page-delimiter):
16862 Support GNU Make-4.0 directory quoting. (Bug#15678)
16864 2013-10-23 Leo Liu <sdl.web@gmail.com>
16866 * ido.el (ido-tidy): Handle read-only text.
16868 2013-10-23 Glenn Morris <rgm@gnu.org>
16870 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16871 (emacs, compile, compile-always):
16872 Quote entities that might contain whitespace.
16873 (custom-deps, finder-data, autoloads): Use abs_lisp.
16874 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16875 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16876 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16878 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16880 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16881 Use `following-char'.
16883 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16885 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16886 * progmodes/ruby-mode.el (ruby-smie-rules):
16887 Remove corresponding workaround. Fix indentation rule of ";" so it
16888 also applies when ";" is the parent.
16890 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16892 * frame.el (display-screens, display-pixel-height)
16893 (display-pixel-width, display-mm-width, display-backing-store)
16894 (display-save-under, display-planes, display-color-cells)
16895 (display-visual-class, display-monitor-attributes-list):
16896 Mention the optional ‘display’ argument in doc strings.
16898 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16900 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16901 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16903 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16905 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16906 TODO. Add "." after " @ ".
16907 (ruby-smie--at-dot-call): New function. Checks if point at method
16908 call with explicit target.
16909 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16910 to the method name tokens when it precedes them.
16911 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16912 (ruby-smie-rules): Add rule for indentation before and after "."
16915 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16917 * textmodes/remember.el (remember-diary-extract-entries):
16920 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16923 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16925 * progmodes/ruby-mode.el (ruby-smie-grammar):
16926 Add (almost) all infix operators.
16927 (ruby-smie--implicit-semi-p): Add new operator chars.
16929 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16931 (ruby-smie--args-separator-p): Check that there's no newline
16932 between method call and its arguments.
16934 2013-10-20 Alan Mackenzie <acm@muc.de>
16936 Allow comma separated lists after Java "implements".
16938 * progmodes/cc-engine.el (c-backward-over-enum-header):
16940 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16941 from a "disallowed" list in enum fontification.
16943 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16945 * startup.el (default-frame-background-mode): Remove unused defvar.
16947 * progmodes/verilog-mode.el (verilog-mode): Don't set
16948 comment-indent-function globally.
16950 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16952 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16953 Move Info menu item creation to ns-win.el.
16955 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16958 * menu-bar.el: Move GNUstep specific menus...
16960 * term/ns-win.el (ns-initialize-window-system): ... to here.
16962 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16964 * simple.el (newline): Only run post-self-insert-hook when
16965 called interactively.
16967 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16969 * icomplete.el (icomplete-with-completion-tables): Add :version.
16971 2013-10-19 Alan Mackenzie <acm@muc.de>
16973 Fix fontification bugs with constructors and const.
16975 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16976 CASE 2) Remove the check for the absence of a suffix construct
16977 after a function declaration with only types (no identifiers) in
16978 the parentheses. Also, accept a function declaration with just a
16979 type inside the parentheses, if this type can be positively
16980 recognised as such, or if a prefix keyword like "explicit" nails
16981 down the construct as a declaration.
16983 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16985 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16986 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16987 the problem whereby selecting a menu item that leads to a
16988 minibuffer prompt moves the cursor out of the minibuffer window,
16989 making it hard to type at the prompt. Suggested by Stefan Monnier
16990 <monnier@iro.umontreal.ca>.
16992 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
16994 * menu-bar.el: Don't make Services menu.
16996 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16998 * ffap.el: Handle "/usr/include/c++/<version>" directories.
16999 (ffap-alist): Use ffap-c++-mode for c++-mode.
17000 (ffap-c++-path): New variable.
17001 (ffap-c++-mode): New function.
17003 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17005 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17007 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17009 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17010 introduced on 2013-09-08, which results in an infinite loop
17011 requesting a password.
17013 2013-10-18 Glenn Morris <rgm@gnu.org>
17015 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17017 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17019 Sync with upstream verilog-mode revision 1a6ecec7.
17020 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17021 (verilog-mode-release-date): Remove.
17022 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17023 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17024 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17025 (verilog-auto-tieoff-ignore-regexp)
17026 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17027 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17028 (verilog-signals-with, verilog-dir-cache-preserving)
17029 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17031 (verilog-case-fold): New option, to control case folding in
17032 regexp searches, bug597.
17033 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17034 (verilog-string-match-fold, verilog-in-paren-count)
17035 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17036 (verilog-at-close-struct-p): New functions.
17037 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17038 (verilog-forward-sexp, verilog-set-auto-endcomments)
17039 (verilog-leap-to-case-head): Handle "unique0" case.
17040 (verilog-in-constraint-re): New constant.
17041 (verilog-keywords, verilog-type-font-keywords):
17042 Add some SystemVerilog 1800-2012 keywords.
17043 (verilog-label-be): Remove unimplemented argument, bug669.
17044 (verilog-batch-execute-func): When batch expanding clear
17045 create-lockfiles to prevent spurious user locks when a file ends
17047 (verilog-calculate-indent, verilog-calc-1)
17048 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17049 (verilog-do-indent): Fix indentation of nested constraints
17051 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17052 (verilog-auto-inst-param): Use verilog-string-match-fold.
17053 (verilog-read-inst-module-matcher):
17054 Fix AUTOINST on gate primitives with #1.
17055 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17056 Reads all user-defined typed variables.
17057 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17058 (verilog-signals-matching-regexp)
17059 (verilog-signals-not-matching-regexp, verilog-auto):
17060 Respect verilog-case-fold.
17061 (verilog-diff-report): Fix line count.
17062 (verilog-auto-assign-modport): Remove unused local `modi'.
17063 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17064 better handle multidimensional arrays.
17065 Fix packed array ports misadding bit index in AUTOINST, bug637.
17066 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17067 to not double-declare existing outputs and inputs, respectively.
17068 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17069 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17070 (verilog-sk-uvm-component): New skeleton.
17071 (verilog-submit-bug-report): Add verilog-case-fold,
17072 remove verilog-mode-release-date.
17074 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17076 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17079 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17081 * textmodes/remember.el (remember): Set buffer-offer-save in
17082 remember buffers (bug#13566).
17084 2013-10-18 Daniel Colascione <dancol@dancol.org>
17086 When evaluating forms in ielm, direct standard output to ielm
17087 buffer. Add new ielm-return-for-effect command. Remove trailing
17088 whitespace throughout.
17090 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17091 (ielm-return-for-effect): New command.
17092 (ielm-send-input): Accept optional `for-effect' parameter.
17093 (ielm-eval-input): Accept optional `for-effect' parameter.
17094 Bind `standard-output' to stream we create using
17095 `ielm-standard-output-impl'. Suppress printing result when
17097 (ielm-standard-output-impl): New function.
17098 (inferior-emacs-lisp-mode): Explain new features in documentation.
17100 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17104 * net/tramp.el (tramp-debug-message): Do not check for connection
17106 (tramp-message): Use "vector" connection property.
17108 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17109 (tramp-equal-remote, tramp-eshell-directory-change)
17110 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17111 (tramp-adb-handle-rename-file)
17112 * net/tramp-cmds.el (tramp-list-remote-buffers)
17113 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17114 * net/tramp-compat.el (tramp-compat-process-running-p)
17115 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17116 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17117 (tramp-gvfs-handle-rename-file)
17118 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17119 (tramp-set-file-uid-gid)
17120 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17121 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17122 of `file-remote-p'.
17124 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17125 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17126 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17127 (tramp-gw-open-network-stream): Suppress unrelated traces.
17129 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17130 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17132 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17133 connection property.
17135 * net/tramp-cache.el (top): Suppress traces when reading
17138 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17139 Refactor common code. Improve debug message.
17140 (tramp-maybe-open-connection)
17141 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17142 connection buffer too early.
17144 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17145 from `tramp-smb-actions-with-acl'.
17146 (tramp-smb-actions-set-acl): New defconst.
17147 (tramp-smb-handle-copy-directory)
17148 (tramp-smb-action-get-acl): New defun, renamed from
17149 `tramp-smb-action-with-acl'.
17150 (tramp-smb-action-set-acl): New defun.
17151 (tramp-smb-handle-set-file-acl): Rewrite.
17153 2013-10-17 Glenn Morris <rgm@gnu.org>
17155 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17157 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17159 * skeleton.el (skeleton-newline): Remove.
17160 (skeleton-internal-1): Use (insert "\n") instead.
17162 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17165 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17166 forward-sexp-function while we redo its job (bug#15613).
17168 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17170 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17171 represented by lists.
17173 2013-10-16 Glenn Morris <rgm@gnu.org>
17175 * tmm.el (tmm--history): New dynamic variable.
17176 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17178 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17180 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17181 (tramp-smb-errors): Add error messages.
17182 (tramp-smb-actions-with-acl): New defconst.
17183 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17184 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17185 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17186 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17187 (tramp-smb-get-stat-capability): Fix tests.
17189 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17191 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17194 2013-10-16 Glenn Morris <rgm@gnu.org>
17196 * ansi-color.el (ansi-color-drop-regexp):
17197 Add 1J, 1K, 2K. (Bug#15617)
17199 * files.el (hack-local-variables--warned-lexical): New.
17200 (hack-local-variables):
17201 Warn about misplaced lexical-binding. (Bug#15616)
17203 * net/eww.el (eww-render): Always set eww-current-url,
17204 and update header line. (Bug#15622)
17205 (eww-display-html): ... Rather than just doing it here.
17207 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17209 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17210 menu navigations commands.
17212 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17214 * progmodes/subword.el (subword-capitalize): Be careful when
17215 the search for [[:alpha:]] fails (bug#15580).
17217 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17219 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17220 to commands that scroll the menu.
17222 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17224 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17225 Handle methods ending with `?' and `!'.
17227 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17229 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17230 `japanese-cp932' to `cp932' to fix the problem where saving a
17231 source file written in Shift_JIS twice would end up having
17232 `coding: japanese-cp932' which Ruby could not recognize.
17233 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17234 in `ruby-encoding-map'.
17235 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17236 doesn't need to be explicitly declared in magic comment.
17237 (ruby-encoding-map): Add type declaration for better customize UI.
17239 2013-10-13 Glenn Morris <rgm@gnu.org>
17241 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17242 Occur buffers are read-only. http://bugs.debian.org/720775
17244 * emacs-lisp/authors.el (authors-fixed-entries):
17245 Comment out old alpha stuff.
17247 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17249 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17250 to `after-save-hook' instead of `before-save-hook'.
17251 (ruby-mode-set-encoding): Use the value of coding system used to
17252 write the file. Call `basic-save-buffer-1' after modifying the
17255 2013-10-13 Alan Mackenzie <acm@muc.de>
17257 Fix indentation/fontification of Java enum with
17258 "implements"/generic.
17260 * progmodes/cc-engine.el (c-backward-over-enum-header):
17261 Extracted from the three other places and enhanced to handle generics.
17262 (c-inside-bracelist-p): Uses new function above.
17263 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17265 (c-font-lock-enum-tail): Uses new function above.
17267 2013-10-13 Kenichi Handa <handa@gnu.org>
17269 * international/mule-cmds.el (select-safe-coding-system): Remove a
17270 superfluous condition in chekcing whether a coding system is safe
17273 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17275 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17277 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17279 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17281 2013-10-13 Glenn Morris <rgm@gnu.org>
17283 * menu-bar.el (menu-bar-update-buffers):
17284 Unify Buffers menu prompt string. (Bug#15576)
17286 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17288 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17290 (authors-fixed-entries): Use accented form of name.
17292 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17294 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17295 method calls (bug#15594).
17296 (ruby-smie--args-separator-p): New function.
17297 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17298 recognize paren-free method calls.
17300 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17301 internals of universal-argument.
17303 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17305 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17306 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17307 dropped menu on second mouse click on the menu bar.
17309 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17311 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17312 (explicit-shell-file-name): Declare.
17313 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17314 (sh-completion-at-point-function): New function.
17316 (sh-smie--keyword-p): Remove unused argument.
17317 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17319 (sh-set-shell): Always setup SMIE, even if we use the
17320 old indentation code.
17322 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17324 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17326 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17327 predicate would return nil are almost non-existent.
17328 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17330 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17331 cache also after commands that modify the buffer but don't move
17334 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17336 * env.el (substitute-env-in-file-name): New function.
17337 (substitute-env-vars): Extend the meaning of the optional arg.
17339 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17341 * term/w32-win.el (dynamic-library-alist): Define separate lists
17342 of GIF DLLs for versions before and after 5.0.0 of giflib.
17345 2013-10-10 João Távora <joaotavora@gmail.com>
17347 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17348 not locked, use last revision and current source as
17349 defaults. (Bug#15569)
17351 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17353 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17354 menu-bar is hidden.
17356 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17358 * window.el (pop-to-buffer-same-window): Fix doc-string.
17361 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17363 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17365 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17367 * calendar/icalendar.el (icalendar-import-file):
17368 Fix interactive spec. (Bug#15482)
17370 2013-10-10 Glenn Morris <rgm@gnu.org>
17372 * desktop.el (desktop-save): Default to saving in .emacs.d,
17373 since PWD is no longer in desktop-path by default. (Bug#15319)
17375 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17376 now that text mode has a menu with the same entry.
17377 (menu-bar-text-mode-auto-fill): Remove now unused func.
17378 * textmodes/text-mode.el (text-mode-map):
17379 Use auto-fill help text from menu-bar.el.
17381 2013-10-10 John Anthony <john@jo.hnanthony.com>
17383 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17385 2013-10-09 Juri Linkov <juri@jurta.org>
17387 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17388 instead of this-command-keys. Add universal-argument-more and
17389 universal-argument-minus to the list of prefix commands. (Bug#15568)
17391 2013-10-09 Glenn Morris <rgm@gnu.org>
17393 * vc/vc-svn.el (vc-svn-create-repo):
17394 Expand paths in file://... url. (Bug#15446)
17396 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17398 (authors): Remove unused local variables.
17400 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17402 * profiler.el: Create a more coherent calltree from partial backtraces.
17403 (profiler-format): Hide the tail with `invisible' so that C-s can still
17404 find the hidden elements.
17405 (profiler-calltree-depth): Don't recurse so enthusiastically.
17406 (profiler-function-equal): New hash-table-test.
17407 (profiler-calltree-build-unified): New function.
17408 (profiler-calltree-build): Use it.
17409 (profiler-report-make-name-part): Indent the calltree less.
17410 (profiler-report-mode): Add visibility specs for profiler-format.
17411 (profiler-report-expand-entry, profiler-report-toggle-entry):
17412 Expand the whole subtree when provided with a prefix arg.
17414 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17416 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17418 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17419 hanging iuwu-mod token.
17420 (ruby-smie--forward-token): Do not include a dot after a token in
17422 (ruby-smie--backward-token): Likewise.
17424 2013-10-08 Juri Linkov <juri@jurta.org>
17426 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17427 to isearch-other-control-char.
17428 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17429 and isearch-post-command-hook to post-command-hook.
17430 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17431 and isearch-post-command-hook from post-command-hook.
17432 (isearch-unread-key-sequence)
17433 (isearch-reread-key-sequence-naturally)
17434 (isearch-lookup-scroll-key, isearch-other-control-char)
17435 (isearch-other-meta-char): Remove functions.
17436 (isearch-pre-command-hook, isearch-post-command-hook):
17437 New functions based on isearch-other-meta-char rewritten
17438 relying on the new behavior of overriding-terminal-local-map
17439 that does not replace the local keymaps any more. (Bug#15200)
17441 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17443 Support menus on text-mode terminals.
17444 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17447 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17449 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17450 Move here from mouse.el.
17451 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17453 (tty-menu-navigation-map): New map for TTY menu navigation.
17455 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17457 * frame.el (display-mouse-p): Report text-mode mouse as available
17459 (display-popup-menus-p): Report availability if mouse is
17460 available; don't condition on window-system.
17462 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17463 (tty-menu-selected-face): New faces.
17465 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17467 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17468 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17469 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17470 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17472 (lisp-mode-variables): New `elisp' argument.
17473 (emacs-lisp-mode): Use it.
17474 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17475 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17477 * indent.el: Use lexical-binding.
17478 (indent-region): Add progress reporter.
17479 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17481 (indent--next-tab-stop): New function to implement this behavior.
17482 (tab-to-tab-stop, move-to-tab-stop): Use it.
17484 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17486 * indent.el (indent-rigidly--current-indentation): New function.
17487 (indent-rigidly-map): New var.
17488 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17490 2013-10-08 Bastien Guerry <bzg@gnu.org>
17492 * register.el (insert-register): Fix 2013-10-07 change.
17494 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17496 * progmodes/perl-mode.el: Use lexical-binding.
17497 Remove redundant :group args.
17498 (perl-nochange): Change default to be closer to other major modes's
17500 (perl-indent-line): Don't consider text on current line as a
17501 valid beginning of function from which to indent.
17503 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17504 with more than one argument (bug#15538).
17506 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17508 * vc/pcvs.el: Use lexical-binding.
17509 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17510 environment of `eval'.
17511 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17512 than a list of expressions. Adjust callers.
17513 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17515 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17517 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17518 case of the dot in a chained method call being on the following line.
17520 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17522 * electric.el (electric-indent-inhibit): New var.
17523 (electric-indent-post-self-insert-function): Use it.
17524 * progmodes/python.el (python-mode): Set it.
17526 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17529 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17531 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17532 (css-mode): Use electric-indent-chars.
17534 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17535 (font-lock-beg, font-lock-end): Move before first use.
17536 (nxml-mode): Use syntax-propertize-function.
17537 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17538 (nxml-extend-after-change-region): Remove.
17539 * nxml/xmltok.el: Use lexical-binding.
17540 (xmltok-save): Use `declare'.
17541 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17542 * nxml/nxml-util.el: Use lexical-binding.
17543 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17545 * nxml/nxml-ns.el: Use lexical-binding.
17546 (nxml-ns-save): Use `declare'.
17547 (nxml-ns-prefixes-for): Avoid add-to-list.
17548 * nxml/rng-match.el: Use lexical-binding.
17549 (rng--ipattern): Use cl-defstruct.
17550 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17551 (rng-cons-group-after, rng-subst-group-after)
17552 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17553 Use closures instead of `(lambda...).
17555 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17557 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17560 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17561 Use `tramp-handle-insert-file-contents'.
17562 (tramp-gvfs-handle-insert-file-contents): Remove function.
17564 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17565 Use `save-restriction' in order to keep markers.
17567 * net/trampver.el: Update release number.
17569 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17571 * progmodes/compile.el (compilation-parse-errors):
17572 Use compilation--put-prop.
17573 (compilation--ensure-parse): Check compilation-multiline.
17575 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17577 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17580 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17582 * progmodes/ruby-mode.el: Fix recently added tests.
17583 (ruby-smie-grammar): Add - and +.
17584 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17585 (ruby-smie--backward-id): New functions.
17586 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17587 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17590 2013-10-07 Leo Liu <sdl.web@gmail.com>
17592 * register.el (register-preview-delay)
17593 (register-preview-functions): New variables.
17594 (register-read-with-preview, register-preview)
17595 (register-describe-oneline): New functions.
17596 (point-to-register, window-configuration-to-register)
17597 (frame-configuration-to-register, jump-to-register)
17598 (number-to-register, view-register, insert-register)
17599 (copy-to-register, append-to-register, prepend-to-register)
17600 (copy-rectangle-to-register): Use register-read-with-preview to
17601 read register. (Bug#15525)
17603 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17605 * net/network-stream.el (network-stream-open-starttls): Don't add
17606 --insecure if it's already present, because that gnutls-cli
17607 rejects getting that parameter twice.
17609 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17611 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17614 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17616 * newcomment.el (comment-use-global-state): Change default value
17617 to t, mark obsolete (Bug#15251).
17618 (comment-beginning): In addition to `comment-to-syntax', check the
17619 value of `comment-use-global-state'.
17621 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17623 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17624 (ruby-comment-column): Follow the global default, by default.
17625 (ruby-smie-grammar): Add assignment syntax.
17626 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17627 open-paren, a comma, or a \.
17628 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17629 and line continuations.
17630 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17631 followed by implicit semi-colons. Add rule for string concatenation
17632 and for indentation at BOB.
17633 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17635 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17636 calling next-sexp, since next-token may have skipped chars which
17637 next-sexp doesn't know should be skipped!
17639 2013-10-05 Leo Liu <sdl.web@gmail.com>
17641 * progmodes/octave.el (octave-send-region):
17642 Call compilation-forget-errors.
17644 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17646 * vc/vc-svn.el (vc-svn-find-admin-dir):
17647 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17648 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17649 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17650 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17652 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17654 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17656 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17658 * subr.el (read-passwd): Hide chars even when called within a context
17659 where after-change-functions is disabled (bug#15501).
17660 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17661 until we removed ourself from overriding-terminal-local-map.
17663 2013-10-04 Leo Liu <sdl.web@gmail.com>
17665 * progmodes/octave.el (inferior-octave-mode):
17666 Call compilation-forget-errors.
17668 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17670 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17672 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17674 * net/secrets.el (secrets-create-collection): Add optional
17675 argument ALIAS. Use proper Label keyword. Append ALIAS as
17676 dbus-call-method argument. (Bug#15516)
17678 2013-10-04 Leo Liu <sdl.web@gmail.com>
17680 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17681 (inferior-octave-compilation-font-lock-keywords): New variables.
17682 (compilation-error-regexp-alist)
17683 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17684 (inferior-octave-mode): Use compilation-shell-minor-mode.
17686 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17688 * minibuffer.el (completion--replace): Be careful that `end' might be
17691 2013-10-03 Daiki Ueno <ueno@gnu.org>
17693 Add support for package signature checking.
17694 * emacs-lisp/package.el (url-http-file-exists-p)
17695 (epg-make-context, epg-context-set-home-directory)
17696 (epg-verify-string, epg-context-result-for)
17697 (epg-signature-status, epg-signature-to-string)
17698 (epg-check-configuration, epg-configuration)
17699 (epg-import-keys-from-file): Declare.
17700 (package-check-signature): New user option.
17701 (package-unsigned-archives): New user option.
17702 (package-desc): Add `signed' field.
17703 (package-load-descriptor): Set `signed' field if .signed file exists.
17704 (package--archive-file-exists-p): New function.
17705 (package--check-signature): New function.
17706 (package-install-from-archive): Check package signature.
17707 (package--download-one-archive): Check archive signature.
17708 (package-delete): Remove .signed file.
17709 (package-import-keyring): New command.
17710 (package-refresh-contents): Import default keyring.
17711 (package-desc-status): Add "unsigned" status.
17712 (describe-package-1, package-menu--print-info)
17713 (package-menu-mark-delete, package-menu--find-upgrades)
17714 (package-menu--status-predicate): Support "unsigned" status.
17716 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17718 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17719 the new compilation scheme using the new byte-codes.
17721 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17722 (byte-pophandler): New byte codes.
17723 (byte-goto-ops): Adjust accordingly.
17724 (byte-compile--use-old-handlers): New var.
17725 (byte-compile-catch): Use new byte codes depending on
17726 byte-compile--use-old-handlers.
17727 (byte-compile-condition-case--old): Rename from
17728 byte-compile-condition-case.
17729 (byte-compile-condition-case--new): New function.
17730 (byte-compile-condition-case): New function that dispatches depending
17731 on byte-compile--use-old-handlers.
17732 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17735 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17736 Optimize under `condition-case' and `catch' if
17737 byte-compile--use-old-handlers is nil.
17738 (disassemble-offset): Handle new bytecodes.
17740 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17742 * subr.el (error): Use `declare'.
17743 (decode-char, encode-char): Use advertised-calling-convention instead
17744 of the docstring to discourage use of the `restriction' arg.
17746 2013-10-03 Daiki Ueno <ueno@gnu.org>
17748 * epg.el (epg-verify-file): Add a comment saying that it does not
17749 notify verification error as a return value nor a signal.
17750 (epg-verify-string): Ditto.
17752 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17754 * progmodes/compile.el (compilation-start): Try globbing the arg to
17757 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17759 Sync with Tramp 2.2.8.
17761 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17762 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17763 * net/trampver.el: Update release number.
17765 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17767 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17768 and default-process-coding-system for darwin only.
17770 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17772 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17774 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17776 * vc/vc-git.el (vc-git-grep): Disable pager.
17778 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17780 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17781 Use :url instead of :homepage, as per
17782 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17784 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17785 non-nil, use `syntax-ppss' (Bug#15251).
17787 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17789 * progmodes/octave.el (inferior-octave-startup-file):
17790 Prefer ~/.emacs.d/init_octave.m.
17792 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17794 * emacs-lisp/package.el (package-desc-from-define):
17795 Accept additional arguments as plist, convert them to an alist and store
17796 them in the `extras' slot.
17797 (package-generate-description-file): Convert extras alist back to
17798 plist and append to the `define-package' form arguments.
17799 (package--alist-to-plist): New function.
17800 (package--ac-desc): Add `extras' slot.
17801 (package--add-to-archive-contents): Check if the archive-contents
17802 vector is long enough, and if it is, pass its `extras' slot value
17803 to `package-desc-create'.
17804 (package-buffer-info): Call `lm-homepage', pass the returned value
17805 to `package-desc-from-define'.
17806 (describe-package-1): Render the homepage button (Bug#13291).
17808 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17809 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17811 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17813 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17814 and default-process-coding-system to utf-8-unix (Bug#15402).
17816 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17818 * subr.el (looking-back): Do not recommend using looking-back.
17820 2013-09-28 Alan Mackenzie <acm@muc.de>
17822 Fix indentation/fontification of Java enum with "implements".
17824 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17825 regexp which matches "implements", etc., in Java.
17826 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17827 specifier clauses coming after "enum".
17828 * progmodes/cc-fonts.el (c-font-lock-declarations)
17829 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17832 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17834 * faces.el (region): Change ns_selection_color to
17835 ns_selection_fg_color, add ns_selection_bg_color.
17837 2013-09-28 Leo Liu <sdl.web@gmail.com>
17839 * progmodes/octave.el (inferior-octave-completion-table)
17840 (inferior-octave-completion-at-point): Minor tweaks.
17842 * textmodes/ispell.el (ispell-lookup-words): Rename from
17843 lookup-words. (Bug#15460)
17844 (lookup-words): Obsolete.
17845 (ispell-complete-word, ispell-command-loop): All uses changed.
17847 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17849 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17850 (octave-mode-menu): Add octave-send-buffer.
17851 (octave-send-buffer): New function.
17853 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17855 * progmodes/octave.el (octave-mode-map): Add key binding for
17857 (octave-mode-menu): Add octave-lookfor.
17858 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17860 (octave-lookfor): New function.
17862 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17864 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17865 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17867 (cl--loop-set-iterator-function): New function.
17868 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17869 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17870 Bind `it' with `let' instead of substituting it with `cl-subst'.
17871 (cl--unused-var-p): New function.
17872 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17873 Eliminate some unused variable warnings (bug#15326).
17875 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17877 * doc-view.el (doc-view-scale-reset): Rename from
17878 `doc-view-reset-zoom-level'.
17879 (doc-view-scale-adjust): New command.
17880 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17881 `doc-view-scale-adjust'.
17883 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17885 * doc-view.el (doc-view-reset-zoom-level): New command.
17886 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17887 zoom commands (bug#15466).
17889 2013-09-26 Kenichi Handa <handa@gnu.org>
17891 * international/quail.el (quail-help): Make it not a command.
17893 2013-09-26 Leo Liu <sdl.web@gmail.com>
17895 * minibuffer.el (completion-all-sorted-completions): Make args
17896 optional as they are.
17898 2013-09-25 Daniel Colascione <dancol@dancol.org>
17900 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17901 specs are and that they're not evaluated.
17903 2013-09-24 Sam Steingold <sds@gnu.org>
17905 * midnight.el (clean-buffer-list-kill-regexps)
17906 (clean-buffer-list-kill-buffer-names): Update for the new Man
17907 buffer naming which includes the object name.
17909 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17911 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17912 (eshell-parse-command, eshell-parse-pipeline): Use it since
17913 eshell-separate-commands requires a dynamic scoped var.
17914 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17916 2013-09-23 Leo Liu <sdl.web@gmail.com>
17918 * autoinsert.el (auto-insert-alist): Make the value of
17919 lexical-binding match its file setting.
17921 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17923 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17925 * autoarg.el (autoarg-kp-digit-argument):
17926 * electric.el (Electric-command-loop):
17927 * kmacro.el (kmacro-step-edit-insert):
17928 Do not set universal-argument-num-events.
17930 2013-09-22 Leo Liu <sdl.web@gmail.com>
17932 * files.el (interpreter-mode-alist): Add octave.
17934 2013-09-21 Alan Mackenzie <acm@muc.de>
17936 C++: fontify identifier in declaration following "public:" correctly.
17937 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17938 to match "public", etc.
17939 (c-decl-prefix-re): Add ":" into the C++ value.
17940 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17941 bit. Add a check for a ":" preceded by "public", etc.
17943 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17945 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17946 recognized by GDB 7.5 and later.
17948 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17950 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17952 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17954 * subr.el (internal--call-interactively): New const.
17955 (called-interactively-p): Use it (bug#3984).
17957 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17959 * vc/pcvs.el (cvs-mode-ignore):
17960 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17961 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17963 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17965 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17966 (eshell-ls-orig-insert-directory): Remove.
17967 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17968 (eshell-ls-use-in-dired): Use advice-add/remove.
17969 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17970 Add `orig-fun' arg for use in :around advice.
17971 Make it check (redundantly) eshell-ls-use-in-dired.
17973 2013-09-19 Glenn Morris <rgm@gnu.org>
17975 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17977 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17979 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17981 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17983 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17984 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17985 (tramp-get-remote-python): New defuns.
17986 (tramp-get-remote-uid-with-perl)
17987 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17988 contributed by yary <not.com@gmail.com> (tiny change).
17989 (tramp-get-remote-uid-with-python)
17990 (tramp-get-remote-gid-with-python): New defuns. Python code
17991 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17992 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17994 2013-09-19 Glenn Morris <rgm@gnu.org>
17996 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17998 * eshell/em-unix.el (eshell-remove-entries):
17999 Rename argument to avoid name-clash with global `top-level'.
18001 * eshell/esh-proc.el (eshell-kill-process-function):
18002 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18003 (eshell-reset-after-proc): Remove unused arg `proc'.
18005 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18006 (directory-files-and-attributes): Mark unused arg.
18008 * eshell/em-unix.el (eshell-remove-entries):
18009 Remove unused arg `path'. Update callers.
18011 * eshell/em-hist.el (eshell-hist-parse-arguments):
18012 Remove unused arg `silent'. Update callers.
18014 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18015 Fix (f)boundp mix-up.
18017 * eshell/em-smart.el (eshell-smart-scroll-window)
18018 (eshell-disable-after-change):
18019 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18021 2013-09-18 Alan Mackenzie <acm@muc.de>
18023 Fix fontification of type when followed by "const".
18024 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18025 "known" types from fontification.
18027 2013-09-18 Glenn Morris <rgm@gnu.org>
18029 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18030 (chart-face-list): Drop Emacsen without display-color-p.
18032 * net/eww.el (libxml-parse-html-region): Declare.
18033 (eww-display-html): Explicit error if no libxml2 support.
18035 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18037 * image.el (image-type-from-buffer, image-multi-frame-p):
18038 Remove --without-x warning/error.
18040 * mouse.el (mouse-yank-primary):
18041 * term.el (term-mouse-paste):
18042 Reorder to silence --without-x compilation.
18044 * mpc.el (doc-view-mode): Silence --without-x compilation.
18046 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18047 Silence --without-x compilation.
18049 * progmodes/gud.el (gud-find-file, gud-mode):
18050 Silence --without-x compilation.
18051 (tooltip-mode): Declare.
18053 * wdired.el (dired-backup-overwrite): Remove declaration.
18054 (wdired-mode-map): Add doc string.
18056 * custom.el (x-get-resource): Declare.
18058 * eshell/em-glob.el (ange-cache):
18059 * eshell/em-unix.el (ange-cache): Declare.
18061 * faces.el (x-display-list, x-open-connection, x-get-resource):
18064 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18065 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18068 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18070 * net/gnutls.el (gnutls-log-level): Declare.
18072 * net/shr.el (image-size, image-animate): Declare.
18074 * simple.el (font-info): Declare.
18076 * subr.el (x-popup-dialog): Declare.
18078 * term/common-win.el (x-select-enable-primary)
18079 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18082 * term/ns-win.el (x-handle-args): Declare.
18084 * term/x-win.el (x-select-enable-clipboard): Declare.
18086 * term/w32-win.el (create-default-fontset): Declare.
18088 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18091 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18092 (fit-frame-to-buffer): Explicit error if --without-x.
18093 (mouse-autoselect-window-select): Silence compiler.
18095 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18097 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18098 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18099 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18100 * eshell/esh-util.el (eshell-sublist):
18101 Remove unused local variables.
18103 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18105 * textmodes/two-column.el: Make 2C-split work for --without-x.
18106 (scroll-bar-columns): Autoload.
18107 (top-level): Require fringe when compiling.
18109 2013-09-18 Leo Liu <sdl.web@gmail.com>
18111 * subr.el (add-hook): Robustify to handle closure as well.
18113 2013-09-17 Glenn Morris <rgm@gnu.org>
18115 * simple.el (messages-buffer-mode-map): Unbind "g".
18117 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18119 * help-mode.el (help-mode-finish): Use derived-mode-p.
18120 Remove obsolete highlighting.
18122 * play/life.el (life-mode): Use define-derived-mode. Derive from
18124 (life): Let-bind inhibit-read-only.
18125 (life-setup): Avoid `setq'. Use `life-mode'.
18127 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18128 which should not be needed any more.
18129 (package-menu-refresh, package-menu-describe-package): Use user-error.
18131 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18132 (eshell-post-rewrite-command-hook): Make obsolete.
18133 (eshell-parse-command): Simplify.
18134 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18135 (eshell--cmd): Declare.
18136 (eshell-parse-pipeline): Remove unused var `final-p'.
18137 Pass a dynvar to eshell-post-rewrite-command-hook.
18138 Implement the new eshell-post-rewrite-command-function.
18139 (eshell-invoke-directly): Remove unused arg `input'.
18140 * eshell/esh-io.el (eshell-io-initialize):
18141 Use eshell-post-rewrite-command-function (bug#15399).
18142 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18143 adjust to new calling convention.
18144 (eshell-create-handles): Rename args to avoid clashing with dynvar
18147 2013-09-17 Glenn Morris <rgm@gnu.org>
18149 * simple.el (messages-buffer-mode): New major mode.
18150 (messages-buffer): New function.
18151 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18152 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18153 (ert-run-test): Use `messages-buffer' function.
18154 (ert--force-message-log-buffer-truncation): Ignore read-only.
18155 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18156 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18158 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18160 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18162 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18164 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18166 * icomplete.el (icomplete-in-buffer): New var.
18167 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18168 vars and replace them with functions.
18169 (icomplete-minibuffer-setup): Adjust accordingly.
18170 (icomplete--completion-table, icomplete--completion-predicate)
18171 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18173 (icomplete-forward-completions, icomplete-backward-completions)
18174 (icomplete-simple-completing-p, icomplete-exhibit)
18175 (icomplete-completions): Use them.
18176 (icomplete--in-region-buffer): New var.
18177 (icomplete--in-region-setup): New function.
18178 (icomplete-mode): Use it.
18180 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18182 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18183 return args and options.
18184 (eshell-eval-using-options): Use the new return value of
18185 eshell--do-opts to set the options's vars in their scope.
18186 (eshell--set-option): Rename from eshell-set-option.
18187 Add arg `opt-vals'.
18188 (eshell--process-option): Rename from eshell-process-option.
18189 Add arg `opt-vals'.
18190 (eshell--process-args): Use an `opt-vals' alist to store the options's
18191 values during their processing and return them additionally to the
18194 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18196 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18197 continuation character an operator, as far as indentation is
18198 concerned (Bug#15369).
18200 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18202 * window.el (window--state-put-2): Don't process buffer state
18203 when buffer doesn't exist any more (Bug#15382).
18205 2013-09-15 Glenn Morris <rgm@gnu.org>
18207 * eshell/em-unix.el (eshell/rm):
18208 Make -f ignore missing files. (Bug#15373)
18210 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18211 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18212 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18214 2013-09-14 Glenn Morris <rgm@gnu.org>
18216 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18218 2013-09-13 Glenn Morris <rgm@gnu.org>
18220 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18221 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18223 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18225 * frame.el (x-focus-frame): Mark as declared in frame.c.
18227 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18229 * ls-lisp.el: Use advice-add.
18230 (original-insert-directory): Remove.
18231 (ls-lisp--insert-directory): Rename from insert-directory; add
18232 `orig-fun' argument.
18233 (insert-directory): Advise.
18235 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18237 * term.el (term-emulate-terminal): Decode the command string
18238 before passing it to term-command-hook. (Bug#15337)
18240 2013-09-13 Glenn Morris <rgm@gnu.org>
18242 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18244 * eshell/esh-ext.el (eshell-search-path): Declare.
18246 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18247 Otherwise an error occurs if eshell-dirs module not loaded.
18249 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18251 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18253 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18254 `tramp-check-proper-host'. Check for a valid method name.
18256 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18257 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18258 * net/tramp-sh.el (tramp-maybe-open-connection):
18259 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18261 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18262 also for hash values.
18264 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18266 * term/ns-win.el (parameters): Don't declare as dynamic.
18267 (before-make-frame-hook): Don't add ineffective function.
18269 * eshell/*.el: Use lexical-binding (bug#15231).
18271 2013-09-12 Kenichi Handa <handa@gnu.org>
18273 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18275 2013-09-12 Glenn Morris <rgm@gnu.org>
18277 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18278 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18280 * subr.el (do-after-load-evaluation): Also give compiler warnings
18281 when obsolete files are used (except by obsolete files).
18283 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18284 in the status output, assume `filename' is the first. (Bug#15322)
18286 * vc/vc.el (vc-deduce-fileset): Doc fix.
18288 * calc/calc-help.el (Info-goto-node):
18289 * progmodes/cperl-mode.el (Info-find-node):
18290 * vc/ediff.el (Info-goto-node): Update declarations.
18292 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18294 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18295 (vc-bzr-pull): Require vc-dispatcher.
18296 * vc/vc-git.el (vc-compilation-mode): Declare.
18297 (vc-git-pull): Require vc-dispatcher.
18299 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18301 * progmodes/octave.el (help-button-action): Declare.
18303 * shell.el (shell-directory-tracker): Output error as a message
18304 rather than just returning it as a string.
18305 (shell-process-pushd): Remove useless use of message.
18307 * dframe.el (dframe-timer-fn):
18308 * files.el (dir-locals-read-from-file):
18309 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18311 * reveal.el (reveal-post-command):
18312 * saveplace.el (load-save-place-alist-from-file):
18313 * shell.el (shell-resync-dirs):
18314 * w32-common-fns.el (x-get-selection-value):
18315 * emacs-lisp/copyright.el (copyright-find-copyright):
18316 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18317 * emulation/tpu-edt.el (tpu-copy-keyfile):
18318 * play/bubbles.el (bubbles--mark-neighbourhood):
18319 * progmodes/executable.el
18320 (executable-make-buffer-file-executable-if-script-p):
18321 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18323 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18325 Cleanup Eshell to rely less on dynamic scoping.
18326 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18327 last-value, and ext-command here. Bind `args' closer to `body'.
18328 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18329 (eshell--args): Declare new dynamic var.
18330 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18331 last-value, and ext-command. Pass `args' to `body'.
18332 (eshell-process-args): Bind eshell--args.
18333 (eshell-set-option): Use eshell--args.
18334 * eshell/eshell.el (eshell): Use derived-mode-p.
18335 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18336 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18337 (eshell-glob-function): Declare.
18338 * eshell/esh-util.el: Require cl-lib.
18339 (eshell-read-hosts-file): Avoid add-to-list.
18340 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18342 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18344 (eshell/diff): Remove unused var `err'.
18345 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18347 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18348 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18350 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18351 Move declaration before first use.
18352 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18353 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18356 2013-09-12 Glenn Morris <rgm@gnu.org>
18358 * term/ns-win.el (global-map): Remove binding for ispell-next,
18359 deleted 1999-05-29. (Bug#15357)
18361 2013-09-11 Glenn Morris <rgm@gnu.org>
18363 * echistory.el (electric-command-history): Remove call to deleted func.
18365 * play/landmark.el (landmark-mode): Fix typos.
18367 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18368 Check cvs-sort-ignore-file is bound.
18370 * savehist.el: No need for cl when compiling on Emacs.
18372 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18374 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18376 (eshell-self-insert-command, eshell-send-invisible):
18377 Remove unused argument.
18378 (eshell-handle-control-codes): Remove unused var `orig'.
18379 Avoid delete-backward-char.
18381 * files.el (set-auto-mode): Simplify a bit further.
18383 2013-09-11 Glenn Morris <rgm@gnu.org>
18385 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18386 (set-auto-mode): Don't regexp-quote elements.
18387 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18388 * progmodes/cc-mode.el (interpreter-mode-alist):
18389 * progmodes/ruby-mode.el (interpreter-mode-alist):
18390 Revert previous change.
18392 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18394 * play/snake.el (snake-mode):
18395 * play/mpuz.el (mpuz-mode):
18396 * play/landmark.el (lm-mode):
18397 * play/blackbox.el (blackbox-mode):
18398 * play/5x5.el (5x5-mode):
18399 * obsolete/options.el (Edit-options-mode):
18400 * net/quickurl.el (quickurl-list-mode):
18401 * net/newst-treeview.el (newsticker-treeview-mode):
18402 * mail/rmailsum.el (rmail-summary-mode):
18403 * mail/mspools.el (mspools-mode):
18404 * locate.el (locate-mode):
18405 * ibuffer.el (ibuffer-mode):
18406 * emulation/ws-mode.el (wordstar-mode):
18407 * emacs-lisp/debug.el (debugger-mode):
18408 * array.el (array-mode):
18409 * net/eudc.el (eudc-mode): Use define-derived-mode.
18410 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18411 Move initialization into declaration.
18412 (mairix-searches-mode): Use define-derived-mode.
18413 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18414 (eudc-edit-hotlist): Use dolist.
18415 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18416 (Man-mode): Use define-derived-mode.
18417 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18418 (Info-edit-mode): Use define-derived-mode.
18419 (Info-cease-edit): Use Info-mode.
18420 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18422 (eshell-mode): Use define-derived-mode.
18423 * chistory.el (command-history-mode-map): Rename from
18424 command-history-map.
18425 (command-history-mode): Use define-derived-mode.
18426 (Command-history-setup): Remove function.
18427 * calc/calc.el (calc-trail-mode-map): New var.
18428 (calc-trail-mode): Use define-derived-mode.
18429 (calc-trail-buffer): Set calc-main-buffer manually.
18430 * bookmark.el (bookmark-insert-annotation): New function.
18431 (bookmark-edit-annotation): Use it.
18432 (bookmark-edit-annotation-mode): Make it a proper major mode.
18433 (bookmark-send-edited-annotation): Use derived-mode-p.
18434 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18435 closer to its ideal place. Use \' to match EOS.
18437 * profiler.el (profiler-calltree-find): Use function-equal.
18439 2013-09-10 Glenn Morris <rgm@gnu.org>
18441 * files.el (interpreter-mode-alist): Convert to regexps.
18442 (set-auto-mode): Adapt for this. (Bug#15306)
18443 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18444 Comment out unused variable.
18445 * progmodes/cc-mode.el (interpreter-mode-alist):
18446 * progmodes/python.el (interpreter-mode-alist):
18447 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18448 * progmodes/sh-script.el (sh-set-shell):
18449 No longer use interpreter-mode-alist to get list of shells.
18451 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18453 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18455 * simple.el: Use set-temporary-overlay-map for universal-argument.
18456 (universal-argument-map): Don't use default-bindings (bug#15317).
18457 Bind switch-frame explicitly. Replace universal-argument-minus with
18458 a conditional binding.
18459 (universal-argument-num-events, saved-overriding-map): Remove.
18460 (restore-overriding-map): Remove.
18461 (universal-argument--mode): Rename from save&set-overriding-map,
18463 (universal-argument, universal-argument-more, negative-argument)
18464 (digit-argument): Adjust accordingly.
18465 (universal-argument-minus): Remove.
18466 (universal-argument-other-key): Remove.
18468 * subr.el (with-demoted-errors): Add `format' argument.
18470 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18472 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18473 `tramp-cleanup-connection'.
18475 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18476 parameters KEEP-DEBUG and KEEP-PASSWORD.
18478 * net/tramp.el (tramp-file-name-handler):
18479 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18480 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18481 (tramp-maybe-open-connection):
18482 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18483 Use `tramp-cleanup-connection'.
18485 * net/tramp-sh.el (tramp-maybe-open-connection):
18486 Catch 'uname-changed inside the progress reporter.
18488 2013-09-10 Glenn Morris <rgm@gnu.org>
18490 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18492 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18493 returns "alternate access method" in mode (eg "-rw-r--r--.").
18495 2013-09-08 Glenn Morris <rgm@gnu.org>
18497 * saveplace.el (load-save-place-alist-from-file):
18498 Demote errors. (Bug#15305)
18500 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18502 Improve compatibility with older Emacsen, and XEmacs.
18504 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18505 only if it is bound. It isn't for XEmacs.
18506 (with-tramp-progress-reporter): Do not let-bind `result'.
18507 This yields to scoping errors in XEmacs.
18508 (tramp-handle-make-auto-save-file-name): New function, moved from
18511 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18512 for `make-auto-save-file-name'.
18513 (tramp-adb--gnu-switches-to-ash):
18514 Use `tramp-compat-replace-regexp-in-string'.
18516 * net/tramp-cache.el (tramp-cache-print): Call
18517 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18519 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18520 bound. It isn't for XEmacs.
18522 * net/tramp-compat.el (tramp-compat-copy-file):
18523 Catch `wrong-number-of-arguments' error.
18524 (tramp-compat-replace-regexp-in-string): New defun.
18526 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18527 for `make-auto-save-file-name'.
18528 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18530 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18531 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18532 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18534 * net/tramp-gw.el (tramp-gw-open-network-stream):
18535 Use `tramp-compat-replace-regexp-in-string'.
18537 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18538 Call `tramp-handle-make-auto-save-file-name'.
18539 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18540 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18541 (tramp-sh-file-inotifywait-process-filter):
18542 Use `tramp-compat-replace-regexp-in-string'.
18543 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18545 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18546 for `make-auto-save-file-name'.
18547 (tramp-smb-handle-copy-directory):
18548 Call `tramp-compat-replace-regexp-in-string'.
18549 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18550 (tramp-smb-handle-copy-file): Improve error message.
18551 (tramp-smb-handle-rename-file): Rename directly only in case
18552 `newname' does not exist yet. This is a restriction of smbclient.
18553 (tramp-smb-maybe-open-connection): Rerun the function only when
18554 `auth-sources' is non-nil.
18556 2013-09-08 Kenichi Handa <handa@gnu.org>
18558 * international/characters.el: Set category "^" (Combining) for
18561 2013-09-07 Alan Mackenzie <acm@muc.de>
18563 Correctly fontify Java class constructors.
18564 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18566 (c-recognize-typeless-decls): Set the Java value to t.
18567 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18568 While handling a "(", add a check for, effectively, Java, and handle a
18569 "typeless" declaration there.
18571 2013-09-07 Roland Winkler <winkler@gnu.org>
18573 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18574 field subtitle for entry type book.
18576 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18578 * minibuffer.el: Make minibuffer-complete call completion-in-region
18579 rather than other way around.
18580 (completion--some, completion-pcm--find-all-completions):
18581 Don't delay signals when debugging.
18582 (minibuffer-completion-contents): Beware fields within the
18583 minibuffer contents.
18584 (completion-all-sorted-completions): Use defvar-local.
18585 (completion--do-completion, completion--cache-all-sorted-completions)
18586 (completion-all-sorted-completions, minibuffer-force-complete):
18587 Add args `beg' and `end'.
18588 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18589 (minibuffer-complete): Use completion-in-region.
18590 (completion-complete-and-exit): New fun, extracted from
18591 minibuffer-complete-and-exit.
18592 (minibuffer-complete-and-exit): Use it.
18593 (completion--complete-and-exit): Rename from
18594 minibuffer--complete-and-exit.
18595 (completion-in-region--single-word): New function, extracted from
18596 minibuffer-complete-word.
18597 (minibuffer-complete-word): Use it.
18598 (display-completion-list): Make `common-substring' argument obsolete.
18599 (completion--in-region): Call completion--in-region-1 instead of
18600 minibuffer-complete.
18601 (completion-help-at-point): Pass boundaries to
18602 minibuffer-completion-help as args rather than via an overlay.
18603 (completion-pcm--string->pattern): Use `any-delim'.
18604 (completion-pcm--optimize-pattern): New function.
18605 (completion-pcm--pattern->regex): Handle `any-delim'.
18606 * icomplete.el (icomplete-forward-completions)
18607 (icomplete-backward-completions, icomplete-completions):
18608 Adjust calls to completion-all-sorted-completions and
18609 completion--cache-all-sorted-completions.
18610 (icomplete-with-completion-tables): Default to t.
18611 * emacs-lisp/crm.el (crm--current-element): Rename from
18612 crm--select-current-element. Don't put an overlay but return the
18613 boundaries instead.
18614 (crm--completion-command): Take two new args to bind to the boundaries.
18615 (crm-completion-help): Adjust accordingly.
18616 (crm-complete): Use completion-in-region.
18617 (crm-complete-word): Use completion-in-region--single-word.
18618 (crm-complete-and-exit): Use completion-complete-and-exit.
18620 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18622 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18625 2013-09-06 Juri Linkov <juri@jurta.org>
18627 * info.el (Info-display-images-node): When image file doesn't exist
18628 display text version of the image if it's provided in the Info file.
18629 Otherwise, display the location of missing image from SRC attribute.
18630 Add help-echo text property from ALT attribute. (Bug#15279)
18632 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18634 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18635 (edit-abbrevs-mode): Use define-derived-mode.
18637 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18638 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18640 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18641 Use define-derived-mode.
18643 * epg.el (epg-start-encrypt): Minor CSE simplification.
18645 2013-09-06 William Xu <william.xwl@gmail.com>
18647 * arc-mode.el: Add support for 7za (bug#15264).
18648 (archive-7z-program): New var.
18649 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18650 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18651 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18653 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18657 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18658 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18659 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18660 (tramp-postfix-host-format, tramp-file-name-regexp)
18661 (tramp-completion-file-name-regexp)
18662 (tramp-completion-dissect-file-name)
18663 (tramp-handle-substitute-in-file-name): Remove 'url case.
18664 (tramp-file-name-regexp-url)
18665 (tramp-completion-file-name-regexp-url): Remove constants.
18667 2013-09-06 Glenn Morris <rgm@gnu.org>
18669 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18671 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18673 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18674 keywords" below "here-doc beginnings" (Bug#15270).
18676 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18678 * subr.el (pop): Use `car-safe'.
18679 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18680 to detect unused `pop' return value.
18682 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18683 var `block-regexp'.
18684 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18685 (python-fill-string): Remove unused var `marker'.
18686 (python-skeleton-add-menu-items): Remove unused var `items'.
18688 * international/mule-cmds.el: Require CL.
18689 (find-coding-systems-for-charsets): Avoid add-to-list.
18690 (sanitize-coding-system-list): New function, extracted from
18691 select-safe-coding-system-interactively.
18692 (select-safe-coding-system-interactively): Use it.
18693 (read-input-method-name): Accept symbols for `default'.
18695 * emacs-lisp/advice.el (defadvice): Add indent rule.
18697 2013-09-05 Daniel Hackney <dan@haxney.org>
18701 * net/browse-url.el:
18704 * net/eudcb-ldap.el:
18708 * vc/ediff-diff.el:
18709 * vc/ediff-init.el:
18710 * vc/ediff-merg.el:
18711 * vc/ediff-mult.el:
18712 * vc/ediff-util.el:
18713 * vc/ediff-wind.el:
18717 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18718 byte compiler. Remove some unused let-bound variables.
18720 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18722 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18723 a "ref-cell", since it gets better optimized (bug#14883).
18725 2013-09-05 Glenn Morris <rgm@gnu.org>
18727 * progmodes/cc-awk.el (c-forward-sws): Declare.
18729 2013-09-04 Glenn Morris <rgm@gnu.org>
18731 * generic-x.el [rul-generic-mode]: Require cc-mode.
18732 (c++-mode-syntax-table): Declare.
18733 (rul-generic-mode-syntax-table): Init in the defvar.
18735 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18737 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18738 (vc-do-command, vc-set-async-update):
18739 * vc/vc-mtn.el (vc-mtn-dir-status):
18740 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18741 (vc-hg-pull, vc-hg-merge-branch):
18742 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18743 (vc-git-merge-branch):
18744 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18745 (vc-cvs-dir-status-files):
18746 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18747 (vc-bzr-dir-status-files):
18748 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18749 * vc/vc-annotate.el: Use lexical-binding.
18750 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18751 (vc-sentinel-movepoint): Declare.
18752 (vc-annotate): Don't use `goto-line'.
18753 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18754 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18755 (vc-sentinel-movepoint): Declare.
18756 * vc/vc-svn.el: Use lexical-binding.
18757 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18759 * vc/vc-rcs.el: Use lexical-binding.
18761 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18762 `deleted'. Don't drop errors silently.
18764 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18766 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18768 * vc/vc.el (vc-ignore): Rewrite.
18769 (vc-default-ignore): New function.
18770 (vc-default-ignore-completion-table): Use find-ignore-file.
18772 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18773 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18774 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18775 Remove. Most code moved to vc.el.
18777 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18779 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18780 * net/tramp-smb.el (tramp-smb-get-file-entries):
18781 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18782 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18784 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18786 (eww-change-select): Remove unused var `properties'.
18787 (eww-make-unique-file-name): Remove unused var `base'.
18789 * finder.el (finder-compile-keywords): Don't mess with windows.
18791 * calculator.el (calculator-funcall): Fix typo in last change.
18793 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18795 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18796 <pkg>-autoloads.el file stop us.
18798 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18799 warnings, and factor out common code.
18801 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18803 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18804 two-character operators and whether the character preceding them
18805 changes their meaning (Bug#15208).
18807 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18809 Format code sent to Python shell for robustness.
18810 * progmodes/python.el (python-shell-buffer-substring):
18812 (python-shell-send-region, python-shell-send-buffer): Use it.
18814 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18816 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18817 * net/tramp.el (tramp-user-error): ... here.
18818 (tramp-find-method, tramp-check-proper-host)
18819 (tramp-dissect-file-name, tramp-debug-message)
18820 (tramp-handle-shell-command):
18821 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18822 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18824 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18826 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18828 * avoid.el (mouse-avoidance-point-position)
18829 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18832 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18834 * progmodes/python.el (python-shell-completion-get-completions):
18835 Drop use of deleted `comint-last-prompt-overlay'.
18836 (python-nav-if-name-main): New command.
18838 2013-09-01 Glenn Morris <rgm@gnu.org>
18840 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18841 Avoid leading space in $wins. Otherwise the sed command used by
18842 eg compile-main ends up containing "/*.el". (Bug#15170)
18844 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18846 2013-08-30 Glenn Morris <rgm@gnu.org>
18848 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18849 Fix is-this-a-directory logic. (Bug#15220)
18851 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18853 * textmodes/css-mode.el: Use SMIE.
18854 (css-smie-grammar): New var.
18855 (css-smie--forward-token, css-smie--backward-token)
18856 (css-smie-rules): New functions.
18857 (css-mode): Use them.
18858 (css-navigation-syntax-table): Remove var.
18859 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18860 (css-indent-calculate, css-indent-line): Remove functions.
18862 Misc changes to reduce use of `(lambda...); and other cleanups.
18863 * cus-edit.el: Use lexical-binding.
18864 (customize-push-and-save, customize-apropos)
18865 (custom-buffer-create-internal): Use closures.
18866 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18867 * progmodes/ada-xref.el: Use setq.
18868 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18869 * dframe.el: Use lexical-binding.
18870 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18871 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18872 * descr-text.el: Use lexical-binding.
18873 (describe-text-widget, describe-text-sexp, describe-property-list):
18875 * comint.el (comint-history-isearch-push-state): Use a closure.
18876 * calculator.el: Use lexical-binding.
18877 (calculator-number-to-string): Make it work with lexical-binding.
18878 (calculator-funcall): Same and use cl-letf.
18880 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18881 (lisp--company-doc-string, lisp--company-location): New functions.
18882 (lisp-completion-at-point): Use them to improve Company support.
18884 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18885 params of lambda expressions.
18886 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18887 (ruby-smie--opening-pipe-p): New function.
18888 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18889 symbols and matched |...| for formal params.
18890 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18891 from being treated as hanging. Handle "rescue".
18893 2013-08-29 Glenn Morris <rgm@gnu.org>
18895 * progmodes/cc-engine.el (c-pull-open-brace):
18896 Move definition before use.
18898 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18900 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18901 are immutable. Don't use `unsafe' any more.
18902 (cl--defsubst-expand): Don't substitute at the same time as keeping
18903 a residual unused let-binding. Don't use `unsafe' any more.
18905 2013-08-29 Glenn Morris <rgm@gnu.org>
18907 * calendar/cal-china.el (calendar-chinese-year-cache):
18910 * nxml/nxml-util.el (nxml-debug-clear-inside):
18911 Use cl-loop rather than loop.
18913 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18915 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18917 2013-08-28 Glenn Morris <rgm@gnu.org>
18919 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18921 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18923 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18925 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18927 * simple.el (repeat-complex-command--called-interactively-skip):
18929 (repeat-complex-command): Use it (bug#14136).
18931 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18932 (c-define-abbrev-table): Add `doc' argument.
18933 (c-mode-abbrev-table, c++-mode-abbrev-table)
18934 (objc-mode-abbrev-table, java-mode-abbrev-table)
18935 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18936 (awk-mode-abbrev-table): Use it.
18937 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18938 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18939 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18940 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18941 Move initialization into the declaration; and remove any
18944 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18945 and dynamic let binding.
18947 * vc/smerge-mode.el: Remove redundant :group args.
18949 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18952 2013-08-28 Juri Linkov <juri@jurta.org>
18954 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18955 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18956 (isearch-other-meta-char): Handle an undefined shifted printing
18957 character by downshifting it. (Bug#15200)
18959 2013-08-28 Juri Linkov <juri@jurta.org>
18961 * isearch.el (isearch-search): Change regexp error message for
18962 non-regexp searches. (Bug#15166)
18964 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18966 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18967 for portability to hosts where /bin/sh has problems.
18969 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18971 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18973 2013-08-27 Juri Linkov <juri@jurta.org>
18975 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18976 in the keyboard macro. (Bug#15126)
18978 2013-08-27 Juri Linkov <juri@jurta.org>
18980 * isearch.el (isearch-quote-char): Comment out converting unibyte
18981 to multibyte, thus syncing with its `quoted-insert' counterpart.
18984 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18986 * window.el (display-buffer-use-some-window): Add missing
18987 argument in call of get-largest-window (Bug#15185).
18988 Reported by Stephen Leake.
18990 2013-08-27 Glenn Morris <rgm@gnu.org>
18992 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18994 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * progmodes/python.el (python-font-lock-keywords): Don't return nil
18997 from a matcher-function unless there's no more matches (bug#15161).
18999 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19001 * minibuffer.el: Revert change from 2013-08-20.
19003 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19004 with text property `tramp-default', if appropriate.
19005 (tramp-check-proper-host): New defun.
19006 (tramp-dissect-file-name): Do not check hostname. Revert change
19008 (tramp-backtrace): Make VEC-OR-PROC optional.
19010 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19011 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19012 * net/tramp-sh.el (tramp-maybe-open-connection):
19013 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19014 Apply `tramp-check-proper-host'.
19016 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19018 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19019 lambda expression in order to have `describe-variable' display it.
19021 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19023 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19024 BUF can be optional. (Bug#15186)
19026 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19028 * progmodes/flymake.el (flymake-get-real-file-name-function):
19029 Fix broken customization. (Bug#15184)
19031 2013-08-25 Alan Mackenzie <acm@muc.de>
19033 Improve indentation of bracelists defined by macros (without "=").
19035 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19036 expansion begins with "{", regard it as bracelist when it doesn't
19039 Parse C++ inher-intro when there's a template split over 2 lines.
19041 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19042 rigorously the search for "class" etc. followed by ":".
19044 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19045 random languages a regexp which never matches rather than nil.
19047 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19049 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19050 (c-awk-regexp-one-line-possibly-open-char-list-re)
19051 (c-awk-one-line-possibly-open-regexp-re)
19052 (c-awk-one-line-non-syn-ws*-re): Remove.
19053 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19054 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19055 (c-awk-space*-unclosed-regexp-/-re): New constants.
19056 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19057 aren't regexp delimiters.
19059 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19060 handling for a rare situation in AWK Mode involving unterminated
19063 2013-08-23 Glenn Morris <rgm@gnu.org>
19065 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19067 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19069 * files.el (create-file-buffer): If the result would begin with
19070 spaces, prepend a "|" instead of removing them. (Bug#15162)
19072 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19074 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19075 text-properties (bug#15155).
19077 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19079 (calc-keypad-redraw): Remove unused var `pad'.
19080 (calc-keypad-press): Remove unused var `menu'.
19082 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19084 * window.el (display-buffer-pop-up-frame):
19085 Call pop-up-frame-function with BUFFER current so `make-frame' will
19086 use it as the new frame's buffer (Bug#15133).
19088 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19090 * calendar/timeclock.el: Minor cleanups.
19091 (timeclock-ask-before-exiting, timeclock-use-display-time):
19093 (timeclock-modeline-display): Define as alias before the
19095 (timeclock-mode-line-display): Use define-minor-mode.
19096 (timeclock-day-list-template): Make it a function, add an argument.
19097 (timeclock-day-list-required, timeclock-day-list-length)
19098 (timeclock-day-list-debt, timeclock-day-list-span)
19099 (timeclock-day-list-break): Adjust calls accordingly.
19101 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19103 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19104 Use read--expression so that completion works again.
19106 2013-08-21 Sam Steingold <sds@gnu.org>
19108 Add rudimentary inferior shell interaction
19109 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19110 (sh-set-shell): Reset it.
19111 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19112 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19114 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19116 * align.el: Use lexical-binding.
19117 (align-region): Simplify accordingly.
19119 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19121 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19123 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19124 `non-essential' up.
19126 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19129 * net/tramp-adb.el:
19130 * net/tramp-cmds.el:
19131 * net/tramp-ftp.el:
19132 * net/tramp-gvfs.el:
19134 * net/tramp-sh.el: Don't wrap external variable declarations by
19135 `eval-when-compile'.
19137 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19139 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19140 now that Emacs supports ImageMagick animations.
19142 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19144 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19145 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19147 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19149 * window.el (mouse-autoselect-window-select): Do autoselect when
19150 mouse pointer is on margin.
19152 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19154 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19156 2013-08-16 Glenn Morris <rgm@gnu.org>
19158 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19159 Handle "Remote Directory" response of some clients. (Bug#15058)
19161 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19162 Tweak warning. (Bug#14926)
19164 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19165 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19167 * image-mode.el (image-mode-map): Add menu items to reverse,
19168 increase, decrease, reset animation speed.
19169 (image--set-speed, image-increase-speed, image-decrease-speed)
19170 (image-reverse-speed, image-reset-speed): New functions.
19171 (image-mode-map): Add bindings for speed commands.
19173 * image.el (image-animate-get-speed, image-animate-set-speed):
19175 (image-animate-timeout): Respect image :speed property.
19177 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19179 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19180 previous line (bug#15101).
19181 (debugger-eval-expression, debugger-record-expression):
19182 Use read--expression (bug#15102).
19184 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19186 Remove byte compiler warnings, visible when compiling with
19187 `byte-compile-force-lexical-warnings' set to t.
19189 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19190 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19191 (tramp-handle-unhandled-file-name-directory)
19192 (tramp-handle-file-notify-add-watch, tramp-action-login)
19193 (tramp-action-succeed, tramp-action-permission-denied)
19194 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19195 arguments with "_".
19197 * net/tramp-adb.el (tramp-adb-parse-device-names)
19198 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19199 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19200 (tramp-adb-handle-file-truename): Remove unused arguments.
19202 * net/tramp-cache.el (tramp-flush-directory-property)
19203 (tramp-flush-connection-property, tramp-list-connections)
19204 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19206 * net/tramp-compat.el (tramp-compat-make-temp-file):
19207 Rename FILENAME to F.
19209 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19210 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19211 (tramp-zeroconf-parse-workstation-device-names)
19212 (tramp-zeroconf-parse-webdav-device-names)
19213 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19215 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19216 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19218 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19220 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19221 (tramp-sh-handle-insert-file-contents-literally)
19222 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19224 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19225 Remove unused variables.
19227 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19228 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19229 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19231 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19232 Make them a defconst.
19233 (tramp-uuencode-region): Remove unused variable.
19235 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19237 * frameset.el (frameset--prop-setter): New function.
19238 (frameset-prop): Add gv-setter declaration.
19239 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19240 parameter was already set in FILTERED. Doc fix.
19241 (frameset--record-minibuffer-relationships): Allow saving a
19242 minibufferless frame without its corresponding minibuffer frame.
19243 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19244 frame, if the frame id matches.
19245 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19246 frames before orphaned ones.
19247 (frameset-restore): Warn about orphaned windows, instead of error out.
19249 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19251 * window.el (window-make-atom): Don't overwrite parameter
19253 (display-buffer-in-atom-window): Handle special case where we
19254 split an already atomic window.
19255 (window--major-non-side-window, display-buffer-in-side-window)
19256 (window--side-check): Ignore minibuffer window when walking
19258 (window-deletable-p): Return 'frame only if no other frame uses
19259 our minibuffer window.
19260 (record-window-buffer): Run buffer-list-update-hook.
19261 (split-window): Make sure window--check-frame won't destroy an
19262 existing atomic window in case the new window gets nested
19264 (display-buffer-at-bottom): Ignore minibuffer window when
19265 walking window tree. Don't split a side window.
19266 (pop-to-buffer): Don't set-buffer here, the select-window call
19268 (mouse-autoselect-window-select): Autoselect only if we are in the
19269 text portion of the window.
19271 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19273 * net/shr.el (shr-parse-image-data): New function to grab both the
19274 data itself and the Content-Type.
19275 (shr-put-image): Use it.
19277 * net/eww.el (eww-display-image): Ditto.
19279 * image.el (image-content-type-suffixes): New variable.
19281 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19283 * progmodes/python.el (python-imenu--build-tree)
19284 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19286 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19288 * simple.el (backward-word): Mention the optional argument.
19290 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19292 * frameset.el (frameset--make): Rename constructor from make-frameset.
19293 (frameset-p, frameset-valid-p): Don't autoload.
19294 (frameset-valid-p): Use normal accessors.
19296 2013-08-13 Glenn Morris <rgm@gnu.org>
19298 * progmodes/compile.el (compile-command): Tweak example in doc.
19299 * obsolete/scribe.el (scribe-mode):
19300 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19302 * mail/feedmail.el (feedmail-confirm-outgoing)
19303 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19305 * cus-start.el (truncate-partial-width-windows): Fix type.
19307 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19309 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19311 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19313 * emacs-lisp/timer.el (timer--time-setter): New function.
19314 (timer--time): Use it as gv-setter.
19316 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19317 setter is not a symbol.
19319 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19321 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19322 if sending fails. This makes debugging easier.
19324 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19326 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19327 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19328 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19330 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19332 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19334 2013-08-12 Glenn Morris <rgm@gnu.org>
19336 * format.el (format-annotate-function):
19337 Handle read-only text properties in the source. (Bug#14887)
19339 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19341 * net/eww.el (eww-display-html): Ignore coding system errors.
19342 One web site uses "utf-8lias" as the coding system.
19344 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19346 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19348 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19350 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19351 (tutorial--detailed-help): Remove unused local variables.
19352 (tutorial--save-tutorial-to): Use ignore-errors.
19353 (help-with-tutorial): Use looking-at-p.
19355 * view.el (view-buffer-other-window, view-buffer-other-frame):
19356 Mark unused arguments.
19358 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19359 (woman-select-symbol-fonts, woman, woman-find-file)
19360 (woman-insert-file-contents, woman-non-underline-faces):
19361 Use string-match-p.
19362 (woman1-unquote): Move declaration.
19364 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19365 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19366 argument. Remove unused local variable.
19367 (xml-parse-elem-type): Use string-match-p.
19368 (xml-substitute-numeric-entities): Use ignore-errors.
19370 * calculator.el (calculator): Mark unused argument.
19371 (calculator-paste, calculator-quit, calculator-integer-p):
19373 (calculator-string-to-number, calculator-decimal, calculator-exp)
19374 (calculator-op-or-exp): Use string-match-p.
19376 * dired.el (dired-buffer-more-recently-used-p): Declare.
19377 (dired-insert-set-properties, dired-insert-old-subdirs):
19380 * dired-aux.el (dired-compress): Use ignore-errors.
19381 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19382 (dired-do-async-shell-command, dired-do-shell-command)
19383 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19384 (dired-insert-subdir-validate): Use string-match-p.
19385 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19386 (dired-add-entry): Use string-match-p, looking-at-p.
19387 (dired-insert-subdir-newpos): Remove unused local variable.
19389 * filenotify.el (file-notify-callback): Remove unused local variable.
19391 * filesets.el (filesets-error): Mark unused argument.
19392 (filesets-which-command-p, filesets-filter-dir-names)
19393 (filesets-directory-files, filesets-get-external-viewer)
19394 (filesets-ingroup-get-data): Use string-match-p.
19396 * find-file.el (ff-other-file-name, ff-other-file-name)
19397 (ff-find-the-other-file, ff-cc-hh-converter):
19398 Remove unused local variables.
19399 (ff-get-file-name): Use string-match-p.
19400 (ff-all-dirs-under): Use ignore-errors.
19402 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19403 (follow-select-if-visible): Remove unused local variable.
19405 * forms.el (read-file-filter): Move declaration.
19406 (forms--make-format, forms--make-parser, forms-insert-record):
19407 Quote function with #'.
19408 (forms--update): Use string-match-p. Quote function with #'.
19410 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19411 (help-make-xrefs): Use looking-at-p.
19412 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19414 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19415 (ibuffer-confirm-operation-on): Use string-match-p.
19417 * msb.el (msb-item-handler, msb-dired-item-handler):
19418 Mark unused arguments.
19420 * ses.el (ses-decode-cell-symbol)
19421 (ses-kill-override): Remove unused local variable.
19422 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19423 (ses-load): Use ignore-errors, looking-at-p.
19424 (ses-jump-safe): Use ignore-errors.
19425 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19427 * tabify.el (untabify, tabify): Mark unused arguments.
19429 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19430 Mark unused argument.
19431 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19432 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19434 * emacs-lisp/timer.el (timer--time): Define setter with
19435 gv-define-setter to avoid deprecation warning.
19437 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19438 (*record-cmpl-statistics-p*): Remove (was commented out).
19439 (cmpl-statistics-block): Remove (body was commented out).
19440 All callers changed.
19441 (add-completions-from-buffer, load-completions-from-file):
19442 Remove unused variables.
19444 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19446 * filecache.el (file-cache-delete-file-list):
19447 Print message only when told so.
19448 (file-cache-files-matching): Use #' in mapconcat argument.
19450 * ffap.el (ffap-url-at-point): Fix reference to variable
19451 thing-at-point-default-mail-uri-scheme.
19453 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19455 * subr.el (define-error): New function.
19456 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19457 error-file-not-found and define with define-error.
19458 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19459 and define with define-error.
19460 * userlock.el (file-locked, file-supersession):
19461 * simple.el (mark-inactive):
19462 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19463 * progmodes/ada-mode.el (ada-mode-errors):
19464 * play/life.el (life-extinct):
19465 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19466 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19467 * nxml/rng-util.el (rng-error):
19468 * nxml/rng-uri.el (rng-uri-error):
19469 * nxml/rng-match.el (rng-compile-error):
19470 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19471 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19472 * nxml/nxml-rap.el (nxml-scan-error):
19473 * nxml/nxml-outln.el (nxml-outline-error):
19474 * net/soap-client.el (soap-error):
19475 * net/gnutls.el (gnutls-error):
19476 * net/ange-ftp.el (ftp-error):
19477 * mpc.el (mpc-proc-error):
19478 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19479 (json-number-format, json-string-escape, json-string-format)
19480 (json-key-format, json-object-format):
19481 * jka-compr.el (compression-error):
19482 * international/quail.el (quail-error):
19483 * international/kkc.el (kkc-error):
19484 * emacs-lisp/ert.el (ert-test-failed):
19485 * calc/calc.el (calc-error, inexact-result, math-overflow)
19487 * bookmark.el (bookmark-error-no-filename):
19488 * epg.el (epg-error): Define with define-error.
19490 * time.el (display-time-event-handler)
19491 (display-time-next-load-average): Don't call sit-for since it seems
19492 unnecessary (bug#15045).
19494 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19495 Use #' instead of ' to quote functions.
19496 (checkdoc-output-mode): Use setq-local.
19497 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19498 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19499 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19500 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19501 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19502 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19503 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19504 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19506 * ido.el (ido-completion-help): Fix up compiler warning.
19508 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19510 * frameset.el (frameset-p): Add autoload cookie.
19511 (frameset--jump-to-register): New function, based on code moved from
19513 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19515 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19516 (frameset-restore, frameset-save, frameset-session-filter-alist):
19517 Remove declarations.
19518 (register-alist): Doc fix.
19519 (frameset-to-register): Move to frameset.el.
19520 (jump-to-register, describe-register-1): Remove frameset-specific code.
19522 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19524 * allout-widgets.el (allout-widgets-pre-command-business)
19525 (allout-widgets-post-command-business)
19526 (allout-widgets-after-change-handler)
19527 (allout-decorate-item-and-context, allout-set-boundary-marker)
19528 (allout-body-modification-handler)
19529 (allout-graphics-modification-handler): Mark ignored arguments.
19530 (allout-widgets-post-command-business)
19531 (allout-widgets-exposure-change-processor)
19532 (allout-widgets-exposure-undo-processor)
19533 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19534 (allout-parse-item-at-point, allout-decorate-item-guides)
19535 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19536 * allout.el (epa-passphrase-callback-function): Declare.
19537 (allout-overlay-insert-in-front-handler)
19538 (allout-overlay-interior-modification-handler)
19539 (allout-isearch-end-handler, allout-chart-siblings)
19540 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19541 (allout-yank-processing, allout-process-exposed)
19542 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19543 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19544 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19545 (lisp-indent-defform): Mark ignored arguments.
19546 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19547 (calculate-lisp-indent): Remove unused variables.
19548 * international/characters.el (indian-2-column, arabic-2-column)
19549 (tibetan): Mark ignored arguments.
19550 (use-cjk-char-width-table): Mark ignored arguments.
19551 Remove unused variables.
19552 * international/fontset.el (build-default-fontset-data)
19553 (x-compose-font-name, create-fontset-from-fontset-spec):
19554 Mark ignored arguments.
19555 (fontset-plain-name): Remove unused variables.
19556 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19557 (keyboard-coding-system): Mark ignored arguments.
19558 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19559 * help.el (resize-temp-buffer-window):
19560 * window.el (display-buffer-in-major-side-window)
19561 (display-buffer-in-side-window, display-buffer-in-previous-window):
19562 Remove unused variables.
19563 * isearch.el (isearch-forward-symbol):
19564 * version.el (emacs-bzr-version-bzr):
19565 * international/mule-cmds.el (current-language-environment):
19566 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19567 (x-handle-display):
19568 * term/pc-win.el (x-list-fonts, x-display-planes)
19569 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19570 (x-server-version, x-display-screens, x-display-mm-height)
19571 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19572 (x-selection-owner-p, x-own-selection-internal)
19573 (x-disown-selection-internal, x-get-selection-internal)
19574 (msdos-initialize-window-system):
19575 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19576 * term/x-win.el (x-handle-no-bitmap-icon):
19577 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19578 (vc-default-find-file-hook, vc-default-extra-menu):
19579 Mark ignored arguments.
19581 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19583 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19584 break-condition in the context of the debugged code (bug#12685).
19586 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19589 Do not use an overlay to highlight the last prompt. (Bug#14744)
19590 (comint-mode): Make comint-last-prompt buffer local.
19591 (comint-last-prompt): New variable.
19592 (comint-last-prompt-overlay): Remove. Superseded by
19593 comint-last-prompt.
19594 (comint-snapshot-last-prompt, comint-output-filter):
19595 Use comint-last-prompt.
19597 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19599 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19600 (frameset-save): Check validity of the resulting frameset.
19602 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19604 * ido.el (ido-record-command): Add doc string.
19606 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19608 * frameset.el (frameset): Do not disable creation of the default
19609 frameset-p predicate. Doc fix.
19610 (frameset-valid-p): New function, copied from the old predicate-p.
19611 Add additional checks.
19612 (frameset-restore): Check with frameset-valid-p.
19613 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19614 (frameset-name, frameset-description, frameset-properties)
19615 (frameset-states): Add docstring.
19616 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19617 (frameset-filter-alist): Doc fixes.
19619 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19621 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19623 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19625 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19626 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19627 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19628 (byte-compile-normal-call): Remove obsolescence check.
19630 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19632 * frameset.el (frameset-restore): Doc fix.
19634 * register.el (frameset-frame-id, frameset-frame-with-id)
19635 (frameset-p, frameset-restore, frameset-save): Declare.
19636 (register-alist): Document framesets.
19637 (frameset-session-filter-alist): Declare.
19638 (frameset-to-register): New function.
19639 (jump-to-register): Implement jumping to framesets. Doc fix.
19640 (describe-register-1): Describe framesets.
19642 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19644 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19646 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19647 Use lexical-binding.
19649 * frameset.el (frameset): Use type vector, not list (incompatible
19650 change). Do not declare a new constructor, use the default one.
19651 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19652 `name' and `description', respectively, and add read-only slot
19653 `timestamp'. Doc fixes.
19654 (frameset-copy, frameset-persistent-filter-alist)
19655 (frameset-filter-alist, frameset-switch-to-gui-p)
19656 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19657 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19658 (frameset-filter-iconified, frameset-keep-original-display-p):
19660 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19661 Rename from frameset-filter-(save|restore)-param. All callers changed.
19663 (frameset-p): Adapt to change to vector and be more thorough.
19664 Change arg name to OBJECT. Doc fix.
19665 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19666 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19667 All callers changed.
19668 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19669 All callers changed.
19670 (frameset--record-minibuffer-relationships): Rename from
19671 frameset--process-minibuffer-frames. All callers changed.
19672 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19673 Use new default constructor (again). Doc fix.
19674 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19675 All callers changed.
19676 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19677 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19679 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19680 PARAMETERS and WINDOW-STATE, respectively.
19681 (frameset-restore): Add new keyword argument PREDICATE.
19682 Reset frameset--target-display to nil. Doc fix.
19684 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19686 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19687 (bat-mode): Use it.
19688 (bat-mode-syntax-table): Mark \n as end-of-comment.
19689 (bat-font-lock-keywords): Remove comment rule.
19691 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19692 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19694 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19695 (byte-compile-callargs-warn): Use `push'.
19696 (byte-compile-arglist-warn): Ignore higher-order "calls".
19697 (byte-compile-file-form-autoload): Use `pcase'.
19698 (byte-compile-function-form): If quoting a symbol, check that it exists.
19700 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19702 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19703 and add a few popular commands found in batch files.
19704 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19705 (dos-mode): Doc fixes.
19707 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19709 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19710 (dos-mode): Use setq-local. Add space after "rem".
19711 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19712 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19714 2013-08-07 Arni Magnusson <arnima@hafro.is>
19716 * progmodes/dos.el: New file.
19717 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19720 2013-08-06 Glenn Morris <rgm@gnu.org>
19722 * calendar/calendar.el: Add new faces, and day-header-array.
19723 (calendar-weekday-header, calendar-weekend-header)
19724 (calendar-month-header): New faces.
19725 (calendar-day-header-construct): New function.
19726 (calendar-day-header-width): Also :set calendar-day-header-array.
19727 (calendar-american-month-header, calendar-european-month-header)
19728 (calendar-iso-month-header): Use calendar- faces.
19729 (calendar-generate-month):
19730 Use calendar-day-header-array for day headers; apply faces to them.
19731 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19732 (calendar-abbrev-construct): Add optional maxlen argument.
19733 (calendar-day-name-array): Doc fix.
19734 (calendar-day-name-array, calendar-abbrev-length)
19735 (calendar-day-abbrev-array):
19736 Also :set calendar-day-header-array, and maybe redraw.
19737 (calendar-day-header-array): New option. (Bug#15007)
19738 (calendar-font-lock-keywords): Set to nil and make obsolete.
19739 (calendar-day-name): Add option to use header array.
19741 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19743 * net/shr.el (shr-render-td): Remove debugging.
19744 (shr-render-td): Make width computation consistent by defaulting
19745 all zero-width columns to 10 characters. This may not be optimal,
19746 but it's at least consistent.
19747 (shr-make-table-1): Redo last change to fix the real problem in
19750 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19752 * files.el (cache-long-line-scans):
19753 Make obsolete alias to `cache-long-scans'.
19755 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19757 * frameset.el (frameset, frameset-filter-alist)
19758 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19759 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19760 (frameset-compute-pos): Rename from frameset--compute-pos,
19762 (frameset-move-onscreen): Use frameset-compute-pos.
19763 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19765 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19766 Fix typos in docstrings.
19768 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19770 * frame.el (get-other-frame): Tiny cleanup.
19772 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19774 * vc/vc.el (vc-default-ignore-completion-table):
19775 Silence byte-compiler warning.
19777 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19778 slot, which can indeed be nil.
19779 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19780 Move entry for `left' from persistent to live filter alist.
19781 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19783 (frameset-filter-params): When restoring a frame, copy items added to
19784 `filtered', to avoid unwittingly modifying the original parameters.
19785 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19786 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19788 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19789 to use looking-at-p instead of looking-at. (Bug#15028)
19791 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19793 Revert introduction of isearch-filter-predicates (bug#14714).
19794 Rely on add-function instead.
19795 * isearch.el (isearch-filter-predicates): Rename it back to
19796 isearch-filter-predicate.
19797 (isearch-message-prefix): Use advice-function-mapc and advice
19798 properties to get the isearch-message-prefix.
19799 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19800 instead of run-hook-with-args-until-failure.
19801 (isearch-filter-visible): Not obsolete any more.
19802 * loadup.el: Preload nadvice.
19803 * replace.el (perform-replace): Revert to funcall
19804 instead of run-hook-with-args-until-failure.
19805 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19806 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19807 dired-isearch-filenames-toggle; make it into a proper minor mode.
19808 Use add/remove-function.
19809 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19810 Call the minor-mode rather than add/remove-hook.
19811 (dired-isearch-filter-filenames):
19812 Remove isearch-message-prefix property.
19813 * info.el (Info--search-loop): New function, extracted from Info-search.
19814 Funcall isearch-filter-predicate instead of
19815 run-hook-with-args-until-failure isearch-filter-predicates.
19816 (Info-search): Use it.
19817 (Info-mode): Use isearch-filter-predicate instead of
19818 isearch-filter-predicates.
19820 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19822 Do not call to `selected-window' where it is assumed by default.
19823 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19824 `window-hscroll', `window-width', `window-height', `window-buffer',
19825 `window-frame', `window-start', `window-point', `next-window'
19826 and `window-display-table'.
19827 * abbrev.el (abbrev--default-expand):
19828 * bs.el (bs--show-with-configuration):
19829 * buff-menu.el (Buffer-menu-mouse-select):
19830 * calc/calc.el (calc):
19831 * calendar/calendar.el (calendar-generate-window):
19832 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19833 (diary-make-entry):
19834 * comint.el (send-invisible, comint-dynamic-complete-filename)
19835 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19836 * completion.el (complete):
19837 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19838 * disp-table.el (describe-current-display-table):
19839 * doc-view.el (doc-view-insert-image):
19840 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19841 * ehelp.el (with-electric-help):
19842 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19843 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19844 * emacs-lisp/helper.el (Helper-help-scroller):
19845 * emulation/cua-base.el (cua--post-command-handler-1):
19846 * eshell/esh-mode.el (eshell-output-filter):
19847 * ffap.el (ffap-gnus-wrapper):
19848 * help-macro.el (make-help-screen):
19849 * hilit-chg.el (highlight-compare-buffers):
19850 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19851 * hl-line.el (global-hl-line-highlight):
19852 * icomplete.el (icomplete-simple-completing-p):
19853 * isearch.el (isearch-done):
19854 * jit-lock.el (jit-lock-stealth-fontify):
19855 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19856 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19857 * mpc.el (mpc-tagbrowser, mpc):
19858 * net/rcirc.el (rcirc-any-buffer):
19859 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19860 * play/landmark.el (landmark-max-width, landmark-max-height):
19861 * play/zone.el (zone):
19862 * progmodes/compile.el (compilation-goto-locus):
19863 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19864 * progmodes/etags.el (find-tag-other-window):
19865 * progmodes/fortran.el (fortran-column-ruler):
19866 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19867 * progmodes/verilog-mode.el (verilog-point-text):
19868 * reposition.el (reposition-window):
19869 * rot13.el (toggle-rot13-mode):
19870 * server.el (server-switch-buffer):
19871 * shell.el (shell-dynamic-complete-command)
19872 (shell-dynamic-complete-environment-variable):
19873 * simple.el (insert-buffer, set-selective-display)
19874 (delete-completion-window):
19875 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19876 (speedbar-recenter):
19877 * startup.el (fancy-splash-head):
19878 * textmodes/ispell.el (ispell-command-loop):
19879 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19880 * tutorial.el (help-with-tutorial):
19881 * vc/add-log.el (add-change-log-entry):
19882 * vc/compare-w.el (compare-windows):
19883 * vc/ediff-help.el (ediff-indent-help-message):
19884 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19885 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19886 (ediff-setup-control-frame):
19887 * vc/emerge.el (emerge-position-region):
19888 * vc/pcvs-util.el (cvs-bury-buffer):
19889 * window.el (walk-windows, mouse-autoselect-window-select):
19890 * winner.el (winner-set-conf, winner-undo): Related users changed.
19892 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19894 * frameset.el (frameset--set-id): Doc fix.
19895 (frameset-frame-id, frameset-frame-id-equal-p)
19896 (frameset-locate-frame-id): New functions.
19897 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19898 (frameset-restore): Use them.
19900 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19902 Do not call to `selected-frame' where it is assumed by default.
19903 Affected functions are `raise-frame', `redraw-frame',
19904 `frame-first-window', `frame-terminal' and `delete-frame'.
19905 * calendar/appt.el (appt-disp-window):
19906 * epg.el (epg-wait-for-completion):
19907 * follow.el (follow-delete-other-windows-and-split)
19908 (follow-avoid-tail-recenter):
19909 * international/mule.el (set-terminal-coding-system):
19910 * mail/rmail.el (rmail-mail-return):
19911 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19912 * progmodes/f90.el (f90-add-imenu-menu):
19913 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19914 * server.el (server-switch-buffer):
19915 * simple.el (delete-completion-window):
19917 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19918 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19919 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19920 * vc/ediff.el (ediff-documentation): Related users changed.
19921 * frame.el (selected-terminal): Remove the leftover.
19923 2013-08-05 Glenn Morris <rgm@gnu.org>
19925 * calendar/calendar.el (calendar-generate-month):
19926 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19927 (calendar-generate-month, calendar-font-lock-keywords):
19928 Fix for calendar-day-header-width > length of any day name.
19930 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19932 * desktop.el (desktop-clear): Use new name of sort predicate.
19934 * frameset.el (frameset): Add docstring. Move :version property to its
19935 own `version' slot.
19936 (frameset-copy): Rename from copy-frameset.
19937 (frameset-p): Check more thoroughly.
19938 (frameset-prop): Do not check for :version, which is no longer a prop.
19939 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19940 Use new :never value instead of t.
19941 (frameset-filter-alist): Expand and clarify docstring.
19942 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19943 (frameset-filter-minibuffer, frameset-filter-save-param)
19944 (frameset-filter-restore-param, frameset-filter-iconified):
19945 Add pointer to docstring of frameset-filter-alist.
19946 (frameset-filter-params): Rename filter values to be more meaningful:
19947 :never instead of t, and reverse the meanings of :save and :restore.
19948 (frameset--process-minibuffer-frames): Clarify error message.
19949 (frameset-save): Avoid unnecessary and confusing call to framep.
19950 Use new BOA constructor for framesets.
19951 (frameset--reuse-list): Doc fix.
19952 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19953 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19954 (frameset-minibufferless-first-p): Doc fix.
19955 Rename from frameset-sort-frames-for-deletion.
19956 (frameset-restore): Doc fixes. Use new function names.
19957 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19959 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19961 * desktop.el (desktop-restore-forces-onscreen)
19962 (desktop-restore-reuses-frames): Document :keyword constant values.
19963 (desktop-filter-parameters-alist): Remove, now identical to
19964 frameset-filter-alist.
19965 (desktop--filter-tty*): Remove, moved to frameset.el.
19966 (desktop-save-frameset, desktop-restore-frameset):
19967 Do not pass :filters argument.
19969 * frameset.el (frameset-live-filter-alist)
19970 (frameset-persistent-filter-alist): New variables.
19971 (frameset-filter-alist): Use them. Add autoload cookie.
19972 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19973 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19974 `frameset--id' (it's supposed to be internal to frameset.el).
19975 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19976 (frameset--initial-params): New function.
19977 (frameset--get-frame): Use it. Doc fix.
19978 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19979 Accept :all, not 'all.
19980 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19981 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19982 with fbound symbols. Fix frame id matching, and remove matching ids if
19983 the frame being restored is deleted. Obey :delete.
19985 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19987 * subr.el (macrop): New function.
19988 (text-clone--maintaining): New var.
19989 (text-clone--maintain): Rename from text-clone-maintain. Use it
19990 instead of inhibit-modification-hooks.
19992 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19993 a proxy, so as handle autoloads and redefinitions of the target.
19994 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19996 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19997 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
19998 (pcase--mutually-exclusive-p): New function.
19999 (pcase--split-consp): Use it.
20000 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20001 mutually exclusive with the current predicate.
20003 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20004 (edebug-macrop): Remove. Use `macrop' instead.
20005 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20007 * eshell/esh-cmd.el (eshell-macrop):
20008 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20010 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20012 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20013 (advice-mapc): New function, using it.
20014 (advice-function-member-p): New function.
20015 (advice--normalize): Store the cdr in advice--saved-rewrite since
20016 that's the part that will be changed.
20017 (advice--symbol-function): New function.
20018 (advice-remove): Handle removal before the function is defined.
20019 Adjust to new advice--saved-rewrite.
20020 (advice-member-p): Use advice-function-member-p and
20021 advice--symbol-function.
20023 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20025 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20026 (frameset-filter-minibuffer): Doc fix.
20027 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20028 (frameset--set-id, frameset--process-minibuffer-frames)
20029 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20030 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20032 * desktop.el (desktop-clear): Only delete frames when called
20033 interactively and desktop-restore-frames is non-nil. Doc fix.
20034 (desktop-read): Set desktop-saved-frameset to nil.
20036 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20038 * vc/vc.el (vc-ignore): Rewrite.
20039 (vc-default-ignore-completion-table, vc--read-lines)
20040 (vc--add-line, vc--remove-regexp): New functions.
20042 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20043 (vc-svn-ignore-completion-table): New function.
20045 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20046 (vc-hg-ignore-completion-table)
20047 (vc-hg-find-ignore-file): New functions.
20049 * vc/vc-git.el (vc-git-ignore): Rewrite.
20050 (vc-git-ignore-completion-table)
20051 (vc-git-find-ignore-file): New functions.
20053 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20055 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20056 (vc-bzr-ignore-completion-table)
20057 (vc-bzr-find-ignore-file): New functions.
20059 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20061 * frameset.el (frameset-prop): New function and setter.
20062 (frameset-save): Do not modify frame list passed by the caller.
20064 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20066 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20068 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20070 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20071 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20073 * custom.el (custom-initialize-default, custom-initialize-set)
20074 (custom-initialize-reset, custom-initialize-changed): Affect the
20075 toplevel-default-value (bug#6275, bug#14586).
20076 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20079 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20081 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20082 Add cl-def* expressions.
20084 * frameset.el (frameset-filter-params): Fix order of arguments.
20086 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20088 Move code related to saving frames to frameset.el.
20089 * desktop.el: Require frameset.
20090 (desktop-restore-frames): Doc fix.
20091 (desktop-restore-reuses-frames): Rename from
20092 desktop-restoring-reuses-frames.
20093 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20094 (desktop-clear): Clear frames too.
20095 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20096 (desktop--filter-tty*, desktop-save, desktop-read):
20097 Use frameset functions.
20098 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20099 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20100 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20101 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20102 (desktop--process-minibuffer-frames, desktop-save-frames)
20103 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20104 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20105 (desktop--sort-states, desktop-restoring-frames-p)
20106 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20107 (desktop-restoring-frameset-p, desktop-restore-frameset)
20108 (desktop--check-dont-save, desktop-save-frameset): New functions.
20109 (desktop--app-id): New constant.
20110 (desktop-first-buffer, desktop-buffer-ok-count)
20111 (desktop-buffer-fail-count): Move before first use.
20112 * frameset.el: New file.
20114 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20116 * files.el: Use lexical-binding.
20117 (dir-locals-read-from-file): Remove unused `err' variable.
20118 (hack-dir-local-variables--warned-coding): New var.
20119 (hack-dir-local-variables): Use it to avoid repeated warnings.
20120 (make-backup-file-name--default-function): New function.
20121 (make-backup-file-name-function): Use it as default.
20122 (buffer-stale--default-function): New function.
20123 (buffer-stale-function): Use it as default.
20124 (revert-buffer-insert-file-contents--default-function): New function.
20125 (revert-buffer-insert-file-contents-function): Use it as default.
20126 (insert-directory): Avoid add-to-list.
20128 * autorevert.el (auto-revert-handler): Simplify.
20129 Use buffer-stale--default-function.
20131 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20133 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20135 * whitespace.el (whitespace-ensure-local-variables): New function.
20136 (whitespace-cleanup-region): Call it.
20137 (whitespace-turn-on): Call it.
20139 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20141 Complete file name handlers.
20143 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20144 (tramp-handle-verify-visited-file-modtime)
20145 (tramp-handle-file-notify-rm-watch): New functions.
20146 (tramp-call-process): Do not bind `default-directory'.
20148 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20149 Order alphabetically.
20150 <access-file, add-name-to-file, dired-call-process>:
20151 <dired-compress-file, file-acl, file-notify-rm-watch>:
20152 <file-ownership-preserved-p, file-selinux-context>:
20153 <make-directory-internal, make-symbolic-link, set-file-acl>:
20154 <set-file-selinux-context, set-visited-file-modtime>:
20155 <verify-visited-file-modtime>: Add handler.
20156 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20159 <file-notify-add-watch, file-notify-rm-watch>:
20160 <set-file-times, set-visited-file-modtime>:
20161 <verify-visited-file-modtime>: Add handler.
20162 (with-tramp-gvfs-error-message)
20163 (tramp-gvfs-handle-set-visited-file-modtime)
20164 (tramp-gvfs-fuse-file-name): Remove.
20165 (tramp-gvfs-handle-file-notify-add-watch)
20166 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20167 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20169 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20170 Order alphabetically.
20171 <file-notify-rm-watch>: Use default Tramp handler.
20172 <executable-find>: Remove private handler.
20173 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20174 `default-directory'.
20175 (tramp-sh-handle-executable-find)
20176 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20177 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20178 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20179 Do not use `format' in `tramp-message'.
20181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20182 <file-notify-rm-watch, set-visited-file-modtime>:
20183 <verify-visited-file-modtime>: Add handler.
20184 (tramp-smb-call-winexe): Do not bind `default-directory'.
20186 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20188 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20190 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20192 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20194 (log-view-diff-changeset): Same.
20195 (log-view-diff-common): Call backend command `previous-revision'
20196 to find out the previous revision, in both cases. Swap the
20197 variables `to' and `fr', so that `fr' usually refers to the
20198 earlier revision (Bug#14989).
20200 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20202 * ibuf-ext.el (ibuffer-filter-by-filename):
20203 Make it work with dired buffers too.
20205 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20207 * emacs-lisp/re-builder.el (reb-color-display-p):
20208 * files.el (save-buffers-kill-terminal):
20209 * net/browse-url.el (browse-url):
20210 * server.el (server-save-buffers-kill-terminal):
20211 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20212 Prefer nil to selected-frame for the first arg of frame-parameter.
20214 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20216 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20218 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20220 * minibuffer.el (completion--twq-all): Try and preserve each
20221 completion's case choice (bug#14907).
20223 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20225 * net/network-stream.el (open-network-stream): Mention the new
20226 :nogreeting parameter.
20227 (network-stream-open-starttls): Use the :nogreeting parameter
20230 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20232 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20233 more natural than popping.
20235 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20236 (shr-urlify): Highlight under mouse.
20238 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20240 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20242 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20244 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20247 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20248 point-min==1. Fix search string. Fix parentheses missing.
20250 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20251 assume point-min==1. Fix search string. Fix parentheses missing.
20253 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20255 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20258 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20260 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20261 initial frame is minibuffer-less. (Bug#14841)
20263 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20265 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20269 (tramp-maybe-open-connection): Use it.
20271 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20273 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20274 minimal set of parameters passed when creating a frame, because
20275 the minibuffer status of a frame cannot be changed later.
20277 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20279 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20280 replace-regexp-in-string and inadvertent omissions in previous change.
20281 (todo-filter-items): Ensure only file names are comma-separated in
20282 name of filtered items buffer.
20284 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20286 * desktop.el: Optionally force offscreen frames back onscreen.
20287 (desktop-restoring-reuses-frames): New option.
20288 (desktop--compute-pos, desktop--move-onscreen): New functions.
20289 (desktop--make-frame): Use desktop--move-onscreen.
20291 2013-07-27 Alan Mackenzie <acm@muc.de>
20293 Fontify a Java generic method as a function.
20294 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20297 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20299 * calendar/todo-mode.el: Add command to rename todo files.
20300 (todo-rename-file): New command.
20301 (todo-key-bindings-t): Add key binding for it. Change the
20302 bindings of todo-filter-regexp-items(-multifile) to use `x'
20303 instead of `r', since the latter is better suited to the new
20306 2013-07-27 Alan Mackenzie <acm@muc.de>
20308 Make Java try-with-resources statement parse properly.
20309 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20310 (c-block-stmt-1-2-key): New language constants/variables.
20311 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20312 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20313 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20314 with c-block-stmt-1-2-key.
20316 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20318 * desktop.el (desktop--make-frame): Apply most frame parameters after
20319 creating the frame to force (partially or totally) offscreen frames to
20320 be restored as such.
20322 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20324 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20327 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20329 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20330 `base' arg of backtrace-frame.
20332 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20334 * simple.el (list-processes): Doc fix.
20336 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20338 * desktop.el (desktop--select-frame):
20339 Try harder to reuse existing frames.
20341 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20343 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20344 (edebug-eval): Use backtrace-eval.
20345 (edebug--display, edebug--recursive-edit): Don't let-bind the
20346 edebug-outer-* vars that keep track of variables we locally let-bind.
20347 (edebug-outside-excursion): Don't restore outside values of locally
20349 (edebug--display): Use user-error.
20350 (cl-lexical-debug, cl-debug-env): Remove.
20352 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20354 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20355 are restored to be sure that they are visible before deleting any
20358 2013-07-26 Matthias Meulien <orontee@gmail.com>
20360 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20361 vc-print-root-log. (Bug#14948)
20363 2013-07-26 Richard Stallman <rms@gnu.org>
20365 Add aliases for encrypting mail.
20366 * epa.el (epa-mail-aliases): New option.
20367 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20368 Bind inhibit-read-only so read-only text doesn't ruin everything.
20369 (epa-mail-default-recipients): New subroutine broken out.
20370 Handle epa-mail-aliases.
20372 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20374 Add support for lexical variables to the debugger's `e' command.
20375 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20376 vars, except for debugger-outer-match-data.
20377 (debugger-frame-number): Move check for "on a function call" from
20378 callers into it. Add `skip-base' argument.
20379 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20380 (debugger-env-macro): Only reset the state stored in non-variables,
20381 i.e. current-buffer and match-data.
20382 (debugger-eval-expression): Rewrite using backtrace-eval.
20383 * subr.el (internal--called-interactively-p--get-frame): Remove.
20384 (called-interactively-p):
20385 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20386 `base' arg of backtrace-frame instead.
20388 2013-07-26 Glenn Morris <rgm@gnu.org>
20390 * align.el (align-regexp): Doc fix. (Bug#14857)
20391 (align-region): Explicit error if subexpression missing/does not match.
20393 * simple.el (global-visual-line-mode):
20394 Do not duplicate the mode lighter. (Bug#14858)
20396 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20398 * window.el (display-buffer): In display-buffer bind
20399 split-window-keep-point to t, bug#14829.
20401 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20403 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20404 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20405 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20406 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20407 Change accordingly.
20408 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20409 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20411 2013-07-25 Glenn Morris <rgm@gnu.org>
20413 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20415 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20417 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20418 parameter to modify-frame-parameters if the value has not changed;
20419 this is a workaround for bug#14949.
20420 (desktop--make-frame): On cl-delete-if call, check parameter name,
20421 not full parameter.
20423 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20425 * vc/vc.el (vc-ignore): New function.
20427 * vc/vc-svn.el (vc-svn-ignore): New function.
20429 * vc/vc-hg.el (vc-hg-ignore): New function.
20431 * vc/vc-git.el (vc-git-ignore): New function.
20433 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20434 (vc-dir-ignore): New function.
20436 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20437 (cvs-append-to-ignore): Move here from pcvs.el.
20439 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20441 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20443 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20445 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20446 (desktop-restore-frames): Warn when deleting an existing frame failed.
20448 2013-07-24 Glenn Morris <rgm@gnu.org>
20450 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20452 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20454 * filenotify.el (file-notify-supported-p):
20455 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20458 * autorevert.el (auto-revert-use-notify)
20459 (auto-revert-notify-add-watch):
20460 * net/tramp.el (tramp-file-name-for-operation):
20461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20462 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20463 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20464 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20465 Remove `file-notify-supported-p' entry.
20467 2013-07-24 Glenn Morris <rgm@gnu.org>
20469 * printing.el: Replace all uses of deleted ps-windows-system,
20470 ps-lp-system, ps-flatten-list with lpr- versions.
20472 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20474 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20475 checked with memq (bug#14935).
20477 * files.el (revert-buffer-function): Use a non-nil default.
20478 (revert-buffer-preserve-modes): Declare var to
20479 provide access to the `preserve-modes' argument.
20480 (revert-buffer): Let-bind it.
20481 (revert-buffer--default): New function, extracted from revert-buffer.
20483 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20485 * lpr.el: Signal print errors more prominently.
20486 (print-region-function): Don't default to nil.
20487 (lpr-print-region): New function, extracted from print-region-1.
20488 Check lpr's return value and signal an error in case of problem.
20489 (print-region-1): Use it.
20490 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20492 (ps-printer-name): Default to nil.
20493 (ps-printer-name-option): Default to lpr-printer-switch.
20494 (ps-print-region-function): Don't default to nil.
20495 (ps-postscript-code-directory): Simplify default.
20496 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20497 (ps-string-list, ps-eval-switch, ps-flatten-list)
20498 (ps-flatten-list-1): Remove.
20499 (ps-multibyte-buffer): Avoid setq.
20500 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20501 (print-region-function, ps-print-region-function): Don't set them here.
20503 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20505 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20506 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20507 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20508 (ido-decorations): Doc fix.
20510 * ansi-color.el: Fix old URL.
20512 2013-07-23 Michael R. Mauger <michael@mauger.com>
20514 * progmodes/sql.el: Version 3.3
20515 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20516 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20517 (sql-interactive-remove-continuation-prompt): Rewrite, use
20518 functions above. Fix continuation prompt and complete output line
20520 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20521 redirected output buffer.
20522 (sql-mode): Restore deleted code (Bug#13591).
20524 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20526 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20528 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20530 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20532 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20533 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20534 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20536 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20538 * desktop.el (desktop-clear): Simplify; remove useless checks
20539 against invalid buffer names.
20540 (desktop-list*): Use cl-list*.
20541 (desktop-buffer-info, desktop-create-buffer): Simplify.
20543 2013-07-23 Leo Liu <sdl.web@gmail.com>
20545 * bookmark.el (bookmark-make-record): Restore NAME as a default
20548 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20550 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20551 extracted from autoload--insert-text.
20552 (autoload--insert-text): Remove.
20553 (autoload--print-cookie-text): New function, extracted from
20554 autoload--insert-cookie-text.
20555 (autoload--insert-cookie-text): Remove.
20556 (autoload-generate-file-autoloads): Adjust calls accordingly.
20558 * winner.el (winner-hook-installed-p): Remove.
20559 (winner-mode): Simplify accordingly.
20561 * subr.el (add-to-list): Fix compiler-macro when `append' is
20562 not constant. Don't use `cl-member' for the base case.
20564 * progmodes/subword.el: Fix boundary case (bug#13758).
20565 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20567 (subword-backward-regexp): Make it a constant.
20568 (subword-forward-internal): Don't treat a trailing capital as the
20569 beginning of a word.
20571 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20573 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20574 global value of tabulated-list-revert-hook (bug#14930).
20576 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20578 * desktop.el: Require 'cl-lib.
20579 (desktop-before-saving-frames-functions): New hook.
20580 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20581 for frames being saved. Rename from desktop--save-minibuffer-frames.
20582 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20583 Do not save frames with non-nil `desktop-dont-save' parameter.
20584 Filter out deleted frames.
20585 (desktop--find-frame): Use cl-find-if.
20586 (desktop--select-frame): Use cl-(first|second|third) to access values
20588 (desktop--make-frame): Use cl-delete-if.
20589 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20590 (desktop-restore-frames): Use cl-(first|second|third) to access values
20591 of desktop-mini. Look for visible frame at the end, not while
20594 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20595 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20596 Use string-match-p, looking-at-p (bug#14927).
20598 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20600 * desktop.el (desktop-saved-frame-states):
20601 Rename from desktop--saved-states; all users changed.
20602 (desktop-save-frames): Rename from desktop--save-frames.
20603 Do not save state to desktop file.
20604 (desktop-save): Save desktop-saved-frame-states to desktop file
20606 (desktop-restoring-frames-p): New function.
20607 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20608 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20609 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20611 * desktop.el: Correctly restore iconified frames.
20612 (desktop--filter-iconified-position): New function.
20613 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20615 2013-07-20 Glenn Morris <rgm@gnu.org>
20617 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20618 Let `message' do the formatting.
20619 (def-gdb-preempt-display-buffer): Add explicit format.
20621 * image-dired.el (image-dired-track-original-file):
20622 Use with-current-buffer.
20623 (image-dired-track-thumbnail): Use with-current-buffer.
20624 Avoid changing point of wrong window.
20626 * image-dired.el (image-dired-track-original-file):
20627 Avoid changing point of wrong window. (Bug#14909)
20629 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20631 * progmodes/gdb-mi.el (gdb-done-or-error):
20632 Guard against "%" in gdb output. (Bug#14127)
20634 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20636 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20639 * international/mule.el (coding-system-iso-2022-flags): Fix last
20642 2013-07-20 Kenichi Handa <handa@gnu.org>
20644 * international/mule.el (coding-system-iso-2022-flags):
20645 Add `8-bit-level-4'. (Bug#8522)
20647 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20649 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20652 * net/eww.el (eww-process-text-input): Allow inputting when the
20653 point is at the start of the line, as the properties aren't
20656 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20659 2013-07-19 Richard Stallman <rms@gnu.org>
20661 * epa.el (epa-popup-info-window): Doc fix.
20663 * subr.el (split-string): New arg TRIM.
20665 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20667 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20668 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20670 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20672 * filenotify.el (file-notify--library): Rename from
20673 `file-notify-support'. Do not autoload. Adapt all uses.
20674 (file-notify-supported-p): New defun.
20676 * autorevert.el (auto-revert-use-notify):
20677 Use `file-notify-supported-p' instead of `file-notify-support'.
20679 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20681 * net/tramp.el (tramp-file-name-for-operation):
20682 Add `file-notify-supported-p'.
20684 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20686 (tramp-sh-file-name-handler-alist): Add it as handler for
20687 `file-notify-supported-p '.
20689 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20690 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20691 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20692 Add `ignore' as handler for `file-notify-*' functions.
20694 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20696 * simple.el (line-move-partial, line-move): Don't start vscroll or
20697 scroll-up if the current line is not taller than the window.
20700 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20702 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20703 highlight question marks in the method names as strings.
20704 (ruby-block-beg-keywords): Inline.
20705 (ruby-font-lock-keyword-beg-re): Extract from
20706 `ruby-font-lock-keywords'.
20708 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20710 * frame.el (blink-cursor-blinks): New defcustom.
20711 (blink-cursor-blinks-done): New defvar.
20712 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20713 (blink-cursor-timer-function): Check if number of blinks has been
20715 (blink-cursor-suspend, blink-cursor-check): New defuns.
20717 2013-07-15 Glenn Morris <rgm@gnu.org>
20719 * edmacro.el (edmacro-format-keys): Fix previous change.
20721 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20723 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20724 The hack didn't work outside English locales anyway.
20726 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20728 * simple.el (define-alternatives): Rename from alternatives-define,
20729 per RMS' suggestion.
20731 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20733 * desktop.el (desktop-restore-frames): Change default to t.
20734 (desktop-restore-in-current-display): Now offer more options.
20735 (desktop-restoring-reuses-frames): New customization option.
20736 (desktop--saved-states): Doc fix.
20737 (desktop-filter-parameters-alist): New variable, renamed and expanded
20738 from desktop--excluded-frame-parameters.
20739 (desktop--target-display): New variable.
20740 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20741 (desktop--filter-tty*, desktop--filter-*-color)
20742 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20743 (desktop--filter-save-desktop-parm)
20744 (desktop-restore-in-original-display-p): New functions.
20745 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20746 (desktop--save-minibuffer-frames): New function, inspired by a similar
20747 function from Martin Rudalics.
20748 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20749 (desktop--restore-in-this-display-p): Remove.
20750 (desktop--find-frame): Rename from desktop--find-frame-in-display
20751 and add predicate argument.
20752 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20753 (desktop--reuse-list): New variable.
20754 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20756 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20758 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20760 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20762 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20764 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20765 Highlight conversion methods on Kernel.
20767 2013-07-13 Alan Mackenzie <acm@muc.de>
20769 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20770 and comment it out. This out-commenting enables certain C++
20771 declarations to be parsed correctly.
20773 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20775 * international/mule.el (define-coding-system): Doc fix.
20777 * simple.el (default-font-height): Don't call font-info if the
20778 frame's default font didn't change since the frame was created.
20781 2013-07-13 Leo Liu <sdl.web@gmail.com>
20783 * ido.el (ido-read-file-name): Guard against non-symbol value.
20785 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20787 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20790 2013-07-13 Leo Liu <sdl.web@gmail.com>
20792 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20793 ido-set-matches call. (Bug#6852)
20795 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20797 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20798 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20800 (ruby-font-lock-keywords): Distinguish calls to functions with
20801 module-like names from module references. Highlight character
20804 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20806 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20807 (gdb-send): Handle continued commands. (Bug#14847)
20809 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20811 * desktop.el (desktop--v2s): Remove unused local variable.
20812 (desktop-save-buffer): Make defvar-local; adjust docstring.
20813 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20814 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20816 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20818 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20820 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20822 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20825 2013-07-12 Glenn Morris <rgm@gnu.org>
20827 * doc-view.el: Require cl-lib at runtime too.
20828 (doc-view-remove-if): Remove.
20829 (doc-view-search-next-match, doc-view-search-previous-match):
20832 * edmacro.el: Require cl-lib at runtime too.
20833 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20834 (edmacro-mismatch, edmacro-subseq): Remove.
20836 * shadowfile.el: Require cl-lib.
20837 (shadow-remove-if): Remove.
20838 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20841 * wid-edit.el: Require cl-lib.
20842 (widget-choose): Use cl-remove-if.
20843 (widget-remove-if): Remove.
20845 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20846 (ebrowse-delete-if-not): Remove.
20847 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20848 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20849 Use cl-delete-if-not.
20851 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20853 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20854 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20856 2013-07-12 Leo Liu <sdl.web@gmail.com>
20858 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20860 2013-07-11 Glenn Morris <rgm@gnu.org>
20862 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20863 (edebug-gensym-index, edebug-gensym):
20864 Remove reimplementation of cl-gensym.
20865 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20867 * thumbs.el: Require cl-lib at run-time too.
20868 (thumbs-gensym-counter, thumbs-gensym):
20869 Remove reimplementation of cl-gensym.
20870 (thumbs-temp-file): Use cl-gensym.
20872 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20873 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20874 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20875 (ert--union, ert--gensym-counter, ert--gensym-counter)
20876 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20877 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20878 (ert-make-test-unbound, ert--expand-should-1)
20879 (ert--expand-should, ert--should-error-handle-error)
20880 (should-error, ert--explain-equal-rec)
20881 (ert--plist-difference-explanation, ert-select-tests)
20882 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20883 Use cl-lib functions rather than reimplementations.
20885 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20887 * net/tramp.el (tramp-methods): Extend docstring.
20888 (tramp-connection-timeout): New defcustom.
20889 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20890 (with-tramp-progress-reporter): Simplify.
20891 (tramp-process-actions): Improve messages.
20893 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20894 * net/tramp-sh.el (tramp-maybe-open-connection):
20895 Use `tramp-connection-timeout'.
20896 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20899 2013-07-11 Leo Liu <sdl.web@gmail.com>
20901 * ido.el (ido-read-file-name): Conform to the requirements of
20902 read-file-name. (Bug#11861)
20903 (ido-read-directory-name): Conform to the requirements of
20904 read-directory-name.
20906 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20908 * subr.el (delay-warning): New function.
20910 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20912 * simple.el (default-line-height): New function.
20913 (line-move-partial, line-move): Use it instead of computing the
20914 line height inline.
20915 (line-move-partial): Always compute ROWH. If the last line is
20916 partially-visible, but its text is completely visible, allow
20917 cursor to enter such a partially-visible line.
20919 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20921 Improve error messages. (Bug#14808)
20923 * net/tramp.el (tramp-current-connection): New defvar, moved from
20925 (tramp-message-show-progress-reporter-message): Remove, not
20927 (tramp-error-with-buffer): Show message in minibuffer.
20928 Discard input before waiting. Reset connection timestamp.
20929 (with-tramp-progress-reporter): Improve messages.
20930 (tramp-process-actions): Use progress reporter. Delete process in
20931 case of error. Improve messages.
20933 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20934 Call `tramp-error-with-buffer' with vector and buffer.
20935 (tramp-current-connection): Remove.
20936 (tramp-maybe-open-connection): The car of
20937 `tramp-current-connection' are the first 3 slots of the vector.
20939 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20941 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20942 inside continued strings.
20944 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20946 Timestamp fixes for undo (Bug#14824).
20947 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20949 2013-07-10 Leo Liu <sdl.web@gmail.com>
20951 * files.el (require-final-newline): Allow safe local value.
20954 2013-07-09 Leo Liu <sdl.web@gmail.com>
20956 * ido.el (ido-read-directory-name): Handle fallback.
20957 (ido-read-file-name): Update DIR to ido-current-directory.
20959 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20961 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20963 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20964 "autoload". Remove "warn lower camel case" section, previously
20965 commented out. Highlight negation char. Do not highlight the
20966 target in singleton method definitions.
20968 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20970 * faces.el (tty-setup-hook): Declare the hook.
20972 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20973 and detect when a guard/pred depends on local vars (bug#14773).
20974 (pcase--u1): Adjust caller.
20976 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20978 * simple.el (line-move-partial, line-move): Account for
20980 (line-move-partial): Avoid setting vscroll when the last
20981 partially-visible line in window is of default height.
20983 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20985 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20988 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
20990 * subr.el (read-quoted-char): Remove unused local variable `char'.
20992 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
20994 * vc/ediff.el (ediff-version): Version update.
20995 (ediff-files-command, ediff3-files-command, ediff-merge-command)
20996 (ediff-merge-with-ancestor-command, ediff-directories-command)
20997 (ediff-directories3-command, ediff-merge-directories-command)
20998 (ediff-merge-directories-with-ancestor-command): New functions.
20999 All are command-line interfaces to ediff: to facilitate calling
21000 Emacs with the appropriate ediff functions invoked.
21002 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21004 (viper-save-kill-buffer): Check if buffer is modified.
21006 * emulation/viper.el (viper-version): Version update.
21007 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21009 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21011 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21012 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21013 (viper-intercept-ESC-key): Simplify.
21014 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21016 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21017 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21018 (viper-setup-ESC-to-escape): New functions.
21019 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21020 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21022 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21024 * simple.el (default-font-height, window-screen-lines):
21026 (line-move, line-move-partial): Use them instead of
21027 frame-char-height and window-text-height. This makes scrolling
21028 text smoother when the buffer's default face uses a font that is
21029 different from the frame's default font.
21031 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21033 * files.el (write-file): Do not display confirm dialog for NS,
21034 it does its own dialog, which can't be canceled (Bug#14578).
21036 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21038 * simple.el (line-move-partial): Adjust the row returned by
21039 posn-at-point for the current window-vscroll. (Bug#14567)
21041 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21043 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21044 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21047 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21049 * window.el (window-state-put-stale-windows): New variable.
21050 (window--state-put-2): Save list of windows without matching buffer.
21051 (window-state-put): Remove "bufferless" windows if possible.
21053 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21055 * simple.el (alternatives-define): Remove leftover :group keyword.
21058 2013-07-06 Leo Liu <sdl.web@gmail.com>
21060 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21061 (ido-enable-virtual-buffers): New variable.
21062 (ido-buffer-internal, ido-toggle-virtual-buffers)
21063 (ido-make-buffer-list): Use it.
21064 (ido-exhibit): Support turning on and off virtual buffers
21067 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21069 * simple.el (alternatives-define): New macro.
21071 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21073 * subr.el (read-quoted-char): Use read-key.
21074 (sit-for): Let read-event decode tty input (bug#14782).
21076 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21078 * calendar/todo-mode.el: Add handling of file deletion, both by
21079 mode command and externally. Fix various related bugs.
21080 Clarify Commentary and improve some documentation strings and code.
21081 (todo-delete-file): New command.
21082 (todo-check-file): New function.
21083 (todo-show): Handle external deletion of the file we're trying to
21084 show (bug#14688). Replace called-interactively-p by an optional
21085 prefix argument to avoid problematic interaction with catch form
21086 when byte compiled (bug#14702).
21087 (todo-quit): Handle external deletion of the archive's todo file.
21088 Make sure the buffer that was visiting the archive file is still
21089 live before trying to bury it.
21090 (todo-category-completions): Handle external deletion of any
21091 category completion files.
21092 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21093 of todo files, in case of external deletion.
21094 (todo-add-file): Replace unnecessary setq by let-binding.
21095 (todo-find-archive): Check whether there are any archives.
21096 Replace unnecessary setq by let-binding.
21097 (todo-archive-done-item): Use find-file-noselect to get the
21098 archive buffer whether or not the archive already exists.
21099 Remove superfluous code. Use file size instead of buffer-file-name to
21100 check if the archive is new; if it is, update list of archives.
21101 (todo-default-todo-file): Allow nil to be a valid value for when
21102 there are no todo files.
21103 (todo-reevaluate-default-file-defcustom): Use corrected definition
21104 of todo-default-todo-file.
21105 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21106 (todo-delete-category, todo-show-categories-table)
21107 (todo-category-number): Clarify comment.
21108 (todo-filter-items): Clarify documentation string.
21109 (todo-show-current-file, todo-display-as-todo-file)
21110 (todo-reset-and-enable-done-separator): Tweak documentation string.
21111 (todo-done-separator): Make separator length window-width, since
21112 bug#2749 is now fixed.
21114 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21116 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21117 Support both "gvfs-monitor-dir" and "inotifywait".
21118 (tramp-sh-file-inotifywait-process-filter): Rename from
21119 `tramp-sh-file-notify-process-filter'.
21120 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21121 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21123 2013-07-05 Leo Liu <sdl.web@gmail.com>
21125 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21127 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21129 * frame.el (display-pixel-height, display-pixel-width)
21130 (display-mm-height, display-mm-width): Mention behavior on
21131 multi-monitor setups in docstrings.
21132 (w32-display-monitor-attributes-list): Declare function.
21133 (display-monitor-attributes-list): Use it.
21135 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21137 * filenotify.el: New package.
21139 * autorevert.el (top): Require filenotify.el.
21140 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21142 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21143 (auto-revert-notify-handler): Use `file-notify-*' functions.
21145 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21147 * net/tramp.el (tramp-file-name-for-operation):
21148 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21150 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21151 for `file-notify-add-watch' and `file-notify-rm-watch'.
21152 (tramp-process-sentinel): Improve trace.
21153 (tramp-sh-handle-file-notify-add-watch)
21154 (tramp-sh-file-notify-process-filter)
21155 (tramp-sh-handle-file-notify-rm-watch)
21156 (tramp-get-remote-inotifywait): New defuns.
21158 2013-07-03 Juri Linkov <juri@jurta.org>
21160 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21161 call of `occur-read-primary-args' to interactive spec.
21163 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21164 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21166 2013-07-03 Matthias Meulien <orontee@gmail.com>
21168 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21169 `Buffer-menu-multi-occur'. Add it to the menu.
21170 (Buffer-menu-mode): Document it in docstring.
21171 (Buffer-menu-multi-occur): New command. (Bug#14673)
21173 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21175 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21176 keywords and built-ins.
21178 2013-07-03 Glenn Morris <rgm@gnu.org>
21180 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21182 Make info-xref checks case-sensitive by default
21183 * info.el (Info-find-node, Info-find-in-tag-table)
21184 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21185 Add option for exact case matching of nodes.
21186 * info-xref.el (info-xref): New custom group.
21187 (info-xref-case-fold): New option.
21188 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21190 2013-07-03 Leo Liu <sdl.web@gmail.com>
21192 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21194 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21196 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21197 middle of block statement initially, lower the depth. Remove
21198 FIXME comment, not longer valid. Remove middle of block statement
21199 detection, no need to do that anymore since we've been using
21200 `ruby-parse-region' here.
21202 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21204 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21206 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21208 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21210 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21212 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21213 (desktop-restore-in-current-display): New customization option.
21214 (desktop--excluded-frame-parameters): Add `font'.
21215 (desktop--save-frames): Rename from desktop--save-windows.
21216 (desktop--restore-in-this-display-p): New function.
21217 (desktop--make-full-frame): Remove unwanted width/height from
21218 full(width|height) frames.
21219 (desktop--restore-frames): Rename from desktop--restore-windows.
21220 Obey desktop-restore-current-display. Do not delete old frames or
21221 select a new frame unless we were able to restore at least one frame.
21223 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21225 * files.el (find-file-noselect): Simplify conditional expression.
21227 * textmodes/remember.el (remember-append-to-file):
21228 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21230 Add `remember-notes' function to store random notes across Emacs
21232 * textmodes/remember.el (remember-data-file): Add :set callback to
21233 affect notes buffer (if any).
21234 (remember-notes): New command.
21235 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21236 New defcustoms for the `remember-notes' function.
21237 (remember-notes-save-and-bury-buffer): New command.
21238 (remember-notes-mode-map): New variable.
21239 (remember-mode): New minor mode.
21240 (remember-notes--kill-buffer-query): New function.
21241 * startup.el (initial-buffer-choice): Add notes to custom type.
21243 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21245 * bindings.el (right-char, left-char): Don't call sit-for, this is
21246 no longer needed. Use arithmetic comparison only for numerical
21249 * international/mule-cmds.el (select-safe-coding-system):
21250 Handle the case of FROM being a string correctly. (Bug#14755)
21252 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21254 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21255 progression on degenerate tables.
21256 (shr-rescale-image): ImageMagick animated images currently don't work.
21258 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21260 Some fixes and improvements for desktop frame restoration.
21261 It is still experimental and disabled by default.
21262 * desktop.el (desktop--save-windows): Put the selected frame at
21263 the head of the list.
21264 (desktop--make-full-frame): New function.
21265 (desktop--restore-windows): Try to re-select the frame that was
21266 selected upon saving. Do not abort if some frames fail to restore,
21267 just show an error message and continue. Set up maximized frames
21268 so they have default non-maximized dimensions.
21270 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21272 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21273 Don't start heredoc inside a string or comment.
21275 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21277 * bindings.el (visual-order-cursor-movement): New defcustom.
21278 (right-char, left-char): Provide visual-order cursor motion by
21279 calling move-point-visually. Update the doc strings.
21281 2013-06-28 Kenichi Handa <handa@gnu.org>
21283 * international/mule.el (define-coding-system): New coding system
21284 properties :inhibit-null-byte-detection,
21285 :inhibit-iso-escape-detection, and :prefer-utf-8.
21286 (set-buffer-file-coding-system): If :charset-list property of
21287 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21288 appropriate for setting.
21290 * international/mule-cmds.el (select-safe-coding-system):
21291 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21292 multibyte characters, return utf-8 (or one of its siblings).
21294 * international/mule-conf.el (prefer-utf-8): New coding system.
21295 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21298 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21300 * net/shr.el (shr-render-region): New function.
21302 * net/eww.el: Autoload `eww-browse-url'.
21304 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21306 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21307 Adapt to `package-desc-version' being a list.
21308 Use `package--ac-desc-version' to retrieve version from a package
21311 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21313 New experimental feature to save&restore window and frame setup.
21314 * desktop.el (desktop-save-windows): New defcustom.
21315 (desktop--saved-states): New var.
21316 (desktop--excluded-frame-parameters): New defconst.
21317 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21318 (desktop--restore-windows, desktop--save-windows): New functions.
21319 (desktop-save): Call `desktop--save-windows'.
21320 (desktop-read): Call `desktop--restore-windows'.
21322 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21324 * net/shr.el (add-face-text-property): Remove compat definition.
21326 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21328 * info.el (Info-try-follow-nearest-node): Move search for footnote
21329 above search for node name to prevent missing a footnote (bug#14717).
21331 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21333 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21335 2013-06-27 Leo Liu <sdl.web@gmail.com>
21337 * net/eww.el (eww-read-bookmarks): Check file size.
21339 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21341 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21342 advice--pending if newdef is nil or an autoload (bug#13820).
21343 (advice-mapc): New function.
21345 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21347 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21349 (eww-mode-map): Add a menu bar.
21350 (eww-add-bookmark): New command.
21351 (eww-bookmark-mode): New mode and commands.
21352 (eww-add-bookmark): Remove newlines from the title.
21353 (eww-bookmark-browse): Don't bug out if it's the only window.
21355 2013-06-26 Glenn Morris <rgm@gnu.org>
21357 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21358 (hfy-size): Handle ttys. (Bug#14668)
21360 * info-xref.el: Update for Texinfo 5 change in *note format.
21361 (info-xref-node-re, info-xref-note-re): New constants.
21362 (info-xref-check-buffer): Use info-xref-note-re.
21364 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21366 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21368 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21369 nil terminate the loop (bug#14718).
21371 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21373 * net/eww.el: Rework history traversal. When going forward/back,
21374 put these actions into the history, too, so that they can be
21376 (eww-render): Move the history reset to the correct buffer.
21378 2013-06-25 Juri Linkov <juri@jurta.org>
21380 * files-x.el (modify-dir-local-variable): Change the header comment
21381 in the file with directory local variables. (Bug#14692)
21383 * files-x.el (read-file-local-variable-value): Add `default'.
21386 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21388 * net/eww.el (eww-make-unique-file-name): Create a unique file
21389 name before saving to entering `y' accidentally asynchronously.
21391 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21393 * net/eww.el (eww-download): New command and keystroke.
21395 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21397 * net/eww.el (eww-copy-page-url): Change name of command.
21399 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21400 be more consistent with Info and dired.
21402 * net/eww.el (eww-mode-map): Ditto.
21404 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21406 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21407 packages from archives.
21408 (package-archive-contents): Change format; include obsolete packages.
21409 (package-desc): Use `dir' to mark builtin packages.
21410 (package--from-builtin): Set the `dir' field to `builtin'.
21411 (generated-autoload-file, version-control): Declare.
21412 (package-compute-transaction): Change first arg and return value to be
21413 lists of package-descs. Adjust to new package-archive-contents format.
21414 (package--add-to-archive-contents): Adjust to new
21415 package-archive-contents format.
21416 (package-download-transaction): Arg is now a list of package-descs.
21417 (package-install): If `pkg' is a package name, pass it as
21418 a requirement, so it is subject to the usual (e.g. disabled) checks.
21419 (describe-package): Accept package-desc as well.
21420 (describe-package-1): Describe a specific package-desc. Add links to
21421 other package-descs for the same package name.
21422 (package-menu-describe-package): Pass the actual package-desc.
21423 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21425 (package-desc-status): New function.
21426 (package-menu--refresh): New function, extracted
21427 from package-menu--generate.
21428 (package-menu--generate): Use it.
21429 (package-delete): Update package-alist.
21430 (package-menu-execute): Don't call package-initialize.
21432 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21433 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21434 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21435 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21436 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21437 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21439 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21441 * window.el (window--state-get-1): Workaround for bug#14527.
21442 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21444 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21446 * net/eww.el (eww-back-url): Implement the history by stashing all
21447 the data into a list.
21448 (eww-forward-url): Allow going forward in the history, too.
21450 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21452 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21453 for values and use read--expression for expressions (bug#14710).
21454 (read-file-local-variable): Avoid setq.
21455 (read-file-local-variable-mode): Use minor-mode-list.
21457 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21459 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21462 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21464 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21465 Update imenu-support when dialect changes.
21467 2013-06-25 Leo Liu <sdl.web@gmail.com>
21469 * ido.el (ido-read-internal): Allow forward slash on windows.
21471 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21473 * net/eww.el (eww): Start of strings is \\`, not ^.
21475 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21477 * net/shr.el (shr-browse-url): Fix interactive spec.
21479 * net/eww.el (eww): Add a trailing slash to domain names.
21481 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21483 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21485 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21487 * net/shr.el (shr-browse-url): Use an external browser if given a
21490 * net/eww.el (eww-external-browser): Move to shr.
21492 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21494 * net/eww.el (eww): Work more correctly for file: URLs.
21495 (eww-detect-charset): Allow quoted charsets.
21496 (eww-yank-page-url): New command and keystroke.
21498 2013-06-24 Daiki Ueno <ueno@gnu.org>
21500 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21501 file name of gpg executable.
21502 (epg-context-program): New function.
21503 (epg-context-home-directory): New function.
21504 (epg-context-set-program): New function.
21505 (epg-context-set-home-directory): New function.
21506 (epg--start): Use `epg-context-program' instead of
21508 (epg--list-keys-1): Likewise.
21510 2013-06-24 Leo Liu <sdl.web@gmail.com>
21512 * ido.el (ido-read-internal): Fix bug#14620.
21514 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21516 * faces.el (face-documentation): Simplify.
21517 (read-face-attribute, tty-find-type, x-resolve-font-name):
21518 Use `string-match-p'.
21519 (list-faces-display): Use `string-match-p'. Simplify.
21520 (face-spec-recalc): Check face to avoid face alias loops.
21521 (read-color): Use `string-match-p' and non-capturing parenthesis.
21523 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21525 * net/shr.el (shr-rescale-image): Use the new
21526 :max-width/:max-height functionality.
21528 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21530 * net/eww.el (eww-search-prefix): New variable.
21532 (eww-external-browser): New variable.
21533 (eww-mode-map): New keystroke.
21534 (eww-browse-with-external-browser): New command.
21536 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21538 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21540 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21541 Don't skip aligning the next header field when padding is 0;
21542 otherwise, field width is not respected unless the title is as
21545 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21547 * emacs-lisp/package.el (package-el-version): Remove.
21548 (package-process-define-package): Fix inf-loop.
21549 (package-install): Allow symbols as arguments again.
21551 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21553 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21554 add some more keyword-like methods.
21555 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21557 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21559 * bs.el (bs-buffer-show-mark): Make defvar-local.
21560 (bs-mode): Use setq-local.
21562 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21563 (emacs-lock--try-unlocking): Make defvar-local.
21565 2013-06-22 Glenn Morris <rgm@gnu.org>
21567 * play/cookie1.el (cookie-apropos): Minor simplification.
21569 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21571 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21573 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21574 `regexp-opt', it breaks the build during dumping.
21576 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21578 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21579 Highlight keyword-like methods on Kernel and Module with
21580 font-lock-builtin-face.
21581 (auto-mode-alist): Consolidate different entries into one regexp
21582 and add more *file-s.
21584 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21586 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21588 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21589 (diary-entry): Use it in the action of this button type instead of
21592 * calendar/todo-mode.el: New version.
21593 (todo-add-category): Append new category to end of file and give
21594 it the highest number, instead of putting it at the beginning and
21595 giving it 0. Incorporate noninteractive functionality.
21596 (todo-forward-category): Adapt to 1-based category numbering.
21597 Allow skipping over archived categories.
21598 (todo-backward-category): Derive from todo-forward-category.
21599 (todo-backward-item, todo-forward-item): Make noninteractive and
21600 delegate interactive part to new commands. Make sensitive to done items.
21601 (todo-categories): Make value an alist of category names and
21602 vectors of item counts.
21603 (todo-category-beg): Make a defconst.
21604 (todo-category-number): Use 1 instead of 0 as initial value.
21605 (todo-category-select): Make sensitive to overlays, optional item
21606 highlighting and done items.
21607 (todo-delete-item): Make sensitive to overlays and marked and done items.
21608 (todo-edit-item): Make sensitive to overlays and editing of
21609 date/time header optional. Add format checks.
21610 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21611 no-op if point is not on an item. Advertise using todo-edit-quit.
21612 (todo-edit-mode): Make sensitive to new format, font-locking, and
21613 multiple todo files.
21614 (todo-insert-item, todo-insert-item-here): Derive from
21615 todo-basic-insert-item and extend functionality.
21616 (todo-item-end, todo-item-start): Make sensitive to done items.
21617 (todo-item-string): Don't return text properties. Restore point.
21618 (todo-jump-to-category): Make sensitive to multiple todo files and
21619 todo archives. Use extended category completion.
21620 (todo-lower-item, todo-raise-item): Rename to *-priority and
21621 derive from todo-set-item-priority.
21622 (todo-mode): Derive from special-mode. Make sensitive to new
21623 format, font-locking and multiple todo files. Make read-only.
21624 (todo-mode-map): Don't suppress digit keys, so they can supply
21625 prefix arguments. Add many new key bindings.
21626 (todo-prefix): Insert as an overlay instead of file text.
21627 Change semantics from diary date expression to purely visual mark.
21628 (todo-print): Rename to todo-print-buffer. Make buffer display
21629 features printable. Remove option to restrict number of items
21630 printed. Add option to print to file.
21631 (todo-print-function): Rename to todo-print-buffer-function.
21632 (todo-quit): Extend to handle exiting new todo modes.
21633 (todo-remove-item): Make sensitive to overlays.
21634 (todo-save): Extend to buffers of filtered items.
21635 (todo-show): Make sensitive to done items, multiple todo files and
21636 new todo modes. Offer to convert legacy todo file before creating
21637 first new todo file.
21638 (todo-show-priorities): Rename to todo-top-priorities.
21639 Change semantics of value 0.
21640 (todo-top-priorities): Rename to todo-filter-top-priorities,
21641 derive from todo-filter-items and extend functionality.
21642 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21643 and extend functionality to other types of filtered items.
21644 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21645 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21646 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21647 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21648 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21649 (todo-edit-mode-hook, todo-entry-prefix-function)
21650 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21651 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21652 (todo-initials, todo-insert-threshold, todo-item-string-start)
21653 (todo-line-string, todo-menu, todo-mode-hook)
21654 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21655 (todo-print-priorities, todo-remove-separator)
21656 (todo-save-top-priorities-too, todo-string-count-lines)
21657 (todo-string-multiline-p, todo-time-string-format)
21658 (todo-tmp-buffer-name): Remove.
21659 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21660 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21661 (todo-edit-category-diary-inclusion)
21662 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21663 (todo-edit-file, todo-edit-item-date-day)
21664 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21665 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21666 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21667 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21668 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21669 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21670 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21671 (todo-filter-top-priorities-multifile, todo-find-archive)
21672 (todo-find-filtered-items-file, todo-go-to-source-item)
21673 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21674 (todo-jump-to-archive-category, todo-lower-category)
21675 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21676 (todo-move-category, todo-move-item, todo-next-button)
21677 (todo-next-item, todo-padded-string, todo-powerset)
21678 (todo-previous-button, todo-previous-item)
21679 (todo-print-buffer-to-file, todo-raise-category)
21680 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21681 (todo-set-category-number, todo-set-item-priority)
21682 (todo-set-top-priorities-in-category)
21683 (todo-set-top-priorities-in-file, todo-show-categories-table)
21684 (todo-sort-categories-alphabetically-or-numerically)
21685 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21686 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21687 (todo-toggle-item-header, todo-toggle-item-highlighting)
21688 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21689 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21690 (todo-unarchive-items, todo-unmark-category): New commands.
21691 (todo-absolute-file-name, todo-add-to-buffer-list)
21692 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21693 (todo-basic-insert-item, todo-category-completions)
21694 (todo-category-number, todo-category-string-matcher-1)
21695 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21696 (todo-check-format, todo-clear-matches)
21697 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21698 (todo-current-category, todo-date-string-matcher)
21699 (todo-define-insertion-command, todo-diary-expired-matcher)
21700 (todo-diary-goto-entry, todo-diary-item-p)
21701 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21702 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21703 (todo-done-item-section-p, todo-done-separator)
21704 (todo-done-string-matcher, todo-files, todo-filter-items)
21705 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21706 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21707 (todo-insert-category-line, todo-insert-item-from-calendar)
21708 (todo-insert-sort-button, todo-insert-with-overlays)
21709 (todo-insertion-command-name, todo-insertion-key-bindings)
21710 (todo-label-to-key, todo-longest-category-name-length)
21711 (todo-make-categories-list, todo-mode-external-set)
21712 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21713 (todo-modes-set-3, todo-multiple-filter-files)
21714 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21715 (todo-read-category, todo-read-date, todo-read-dayname)
21716 (todo-read-file-name, todo-read-time)
21717 (todo-reevaluate-category-completions-files-defcustom)
21718 (todo-reevaluate-default-file-defcustom)
21719 (todo-reevaluate-filelist-defcustoms)
21720 (todo-reevaluate-filter-files-defcustom)
21721 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21722 (todo-reset-done-separator, todo-reset-done-separator-string)
21723 (todo-reset-done-string, todo-reset-global-current-todo-file)
21724 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21725 (todo-reset-prefix, todo-set-categories)
21726 (todo-set-date-from-calendar, todo-set-show-current-file)
21727 (todo-set-top-priorities, todo-short-file-name)
21728 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21729 (todo-total-item-counts, todo-update-buffer-list)
21730 (todo-update-categories-display, todo-update-categories-sexp)
21731 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21733 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21735 (todo-categories, todo-display, todo-edit, todo-faces)
21736 (todo-filtered): New defgroups.
21737 (todo-archived-only, todo-button, todo-category-string, todo-date)
21738 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21739 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21740 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21741 (todo-add-item-if-new-category, todo-always-add-time-string)
21742 (todo-categories-align, todo-categories-archived-label)
21743 (todo-categories-category-label, todo-categories-diary-label)
21744 (todo-categories-done-label, todo-categories-number-separator)
21745 (todo-categories-todo-label, todo-categories-totals-label)
21746 (todo-category-completions-files, todo-completion-ignore-case)
21747 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21748 (todo-done-separator-string, todo-done-string)
21749 (todo-files-function, todo-filter-done-items, todo-filter-files)
21750 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21751 (todo-initial-category, todo-initial-file, todo-item-mark)
21752 (todo-legacy-date-time-regexp, todo-mode-line-function)
21753 (todo-nondiary-marker, todo-number-prefix)
21754 (todo-print-buffer-function, todo-show-current-file)
21755 (todo-show-done-only, todo-show-first, todo-show-with-done)
21756 (todo-skip-archived-categories, todo-top-priorities-overrides)
21757 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21758 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21760 (todo-category-done, todo-date-pattern, todo-date-string-start)
21761 (todo-diary-items-buffer, todo-done-string-start)
21762 (todo-filtered-items-buffer, todo-item-start)
21763 (todo-month-abbrev-array, todo-month-name-array)
21764 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21765 (todo-top-priorities-buffer): New defconsts.
21766 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21767 (todo-categories-with-marks, todo-category-string-face)
21768 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21769 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21770 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21771 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21772 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21773 (todo-font-lock-keywords, todo-global-current-todo-file)
21774 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21775 (todo-insertion-commands-args)
21776 (todo-insertion-commands-args-genlist)
21777 (todo-insertion-commands-names, todo-insertion-map)
21778 (todo-key-bindings-t, todo-key-bindings-t+a)
21779 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21780 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21781 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21782 (todo-visited): New variables.
21784 2013-06-21 Glenn Morris <rgm@gnu.org>
21786 * play/cookie1.el (cookie-apropos): Add optional display argument.
21787 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21788 (psychoanalyze-pinhead): Use cookie-doctor.
21790 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21792 * emacs-lisp/package.el (tar-get-file-descriptor)
21793 (tar--extract): Declare.
21795 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21797 Extend flymake's warning predicate to be a function (bug#14217).
21798 * progmodes/flymake.el (flymake-warning-predicate): New.
21799 (flymake-parse-line): Use it.
21800 (flymake-warning-re): Make obsolete alias to
21801 `flymake-warning-predicate'.
21803 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21805 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21806 (package-obsolete-list): Remove.
21807 (package-activate): Remove min-version argument. Add `force' argument.
21808 Adjust to new package-alist format.
21809 (package-mark-obsolete): Remove.
21810 (package-unpack): Force reload of the package's autoloads.
21811 (package-installed-p): Check builtins if the installed package is not
21813 (package-initialize): Don't reset package-obsolete-list.
21814 Don't specify which package version to activate.
21815 (package-process-define-package, describe-package-1)
21816 (package-menu--generate): Adjust to new package-alist format.
21818 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21820 * allout-widgets.el (allout-widgets-mode-off)
21821 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21822 (allout-widgets-post-command-business)
21823 (allout-widgets-after-copy-or-kill-function)
21824 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21825 (allout-decorate-item-and-context)
21826 (allout-graphics-modification-handler): Fix typos in docstrings.
21827 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21829 * cmuscheme.el (scheme-start-file): Doc fix.
21830 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21831 (scheme-input-filter): Use `string-match-p'.
21833 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21835 * dired-x.el: Use Dired consistently in docstrings.
21837 * dired.el: Use Dired consistently in docstrings.
21838 (dired-readin, dired-mode): Use `setq-local'.
21839 (dired-switches-alist): Make defvar-local.
21840 (dired-buffers-for-dir): Use `zerop'.
21841 (dired-safe-switches-p, dired-switches-escape-p)
21842 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21843 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21844 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21845 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21846 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21847 (dired-toggle-marks, dired-mark-files-containing-regexp)
21848 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21849 (dired-flag-auto-save-files, dired-flag-backup-files):
21850 Use `looking-at-p'.
21851 (dired-mark-files-regexp, dired-build-subdir-alist):
21852 Use `string-match-p', `looking-at-p'.
21854 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21855 (direct-print-region-helper): Use `string-match-p'.
21857 2013-06-21 Leo Liu <sdl.web@gmail.com>
21859 * comint.el (comint-redirect-results-list-from-process):
21862 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21864 * net/eww.el (eww-update-header-line-format): Quote % characters.
21866 2013-06-21 Glenn Morris <rgm@gnu.org>
21868 * play/cookie1.el (cookie): New custom group.
21869 (cookie-file): New option.
21870 (cookie-check-file): New function.
21871 (cookie): Make it interactive. Make start and end messages optional.
21872 Interactively, display the result. Default to cookie-file.
21873 (cookie-insert): Default to cookie-file.
21874 (cookie-snarf): Make start and end messages optional.
21875 Default to cookie-file. Use with-temp-buffer.
21876 (cookie-read): Rename from read-cookie.
21877 Make start and end messages optional. Default to cookie-file.
21878 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21879 Do not autoload it.
21880 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21881 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21883 2013-06-21 Leo Liu <sdl.web@gmail.com>
21885 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21887 2013-06-21 Glenn Morris <rgm@gnu.org>
21889 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21891 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21892 Daniel Hackney <dan@haxney.org>
21894 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21895 Consolidate the single-file vs tarball code.
21896 (package-desc-suffix): New function.
21897 (package-desc-full-name): Don't bother inlining it.
21898 (package-load-descriptor): Return the new package-desc.
21899 (package-mark-obsolete): Remove unused arg `package'.
21900 (package-unpack): Make it work for single files as well.
21901 Make it update package-alist.
21902 (package--make-autoloads-and-stuff): Rename from
21903 package--make-autoloads-and-compile. Don't compile any more.
21904 (package--compile): New function.
21905 (package-generate-description-file): New function, extracted from
21906 package-unpack-single.
21907 (package-unpack-single): Remove.
21908 (package--with-work-buffer): Add indentation and debugging info.
21909 (package-download-single): Remove.
21910 (package-install-from-archive): Rename from package-download-tar, make
21911 it take a pkg-desc, and make it work for single files as well.
21912 (package-download-transaction): Simplify.
21913 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21914 external tar program.
21915 (package-install-from-buffer): Remove `pkg-desc' argument.
21916 Use package-tar-file-info for tar-mode buffers.
21917 (package-install-file): Simplify accordingly.
21918 (package-archive-base): Change to take a pkg-desc.
21919 * tar-mode.el (tar--check-descriptor): New function, extracted from
21920 tar-get-descriptor.
21921 (tar-get-descriptor): Use it.
21922 (tar-get-file-descriptor): New function.
21923 (tar--extract): New function, extracted from tar-extract.
21924 (tar--extract): Use it.
21925 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21926 case the summary uses non-ascii. Adjust to new calling convention of
21927 package-tar-file-info.
21929 2013-06-21 Leo Liu <sdl.web@gmail.com>
21931 * comint.el (comint-redirect-results-list-from-process):
21932 Fix random delay. (Bug#14681)
21934 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21936 * profiler.el (profiler-format-number): Use log, not log10.
21938 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21940 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21942 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21944 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21945 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21947 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21948 (AUTOGENEL): ... here.
21949 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21950 (cl--defsubst-expand): Use it.
21952 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21954 * subr.el (log10): Move here from C code, and declare as obsolete.
21955 All uses of (log10 X) replaced with (log X 10).
21957 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21959 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21960 Declare with `defvar-local'.
21961 (tabulated-list-use-header-line, tabulated-list-entries)
21962 (tabulated-list-padding, tabulated-list-printer)
21963 (tabulated-list-sort-key): Declare with `defvar-local'.
21964 (tabulated-list-init-header, tabulated-list-print-fake-header):
21967 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21969 * arc-mode.el (archive-mode): Add `archive-write-file' to
21970 `write-contents-functions' also for remote files. (Bug#14652)
21972 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21974 * cus-edit.el (custom-commands): Fix typos.
21975 (custom-display): Fix tooltip text.
21976 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21977 Fix typos in docstrings.
21978 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21979 (custom-unlispify-menu-entry, custom-magic-value-create)
21980 (custom-add-see-also, custom-group-value-create): Use ?\s.
21981 (custom-guess-type, customize-apropos, editable-field)
21982 (custom-face-value-create): Use `string-match-p'.
21983 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21985 * custom.el (custom-load-symbol): Use `string-match-p'.
21987 * ansi-color.el: Convert to lexical binding.
21988 (ansi-colors): Fix URL.
21989 (ansi-color-context, ansi-color-context-region): Use defvar-local.
21990 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21991 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21993 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21995 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21997 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21999 2013-06-19 Tom Tromey <tromey@redhat.com>
22001 * net/eww.el (eww-top-url): Remove.
22002 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22003 (eww-render): Set new variables. Don't set eww-top-url.
22004 (eww-handle-link): Handle "prev", "home", and "contents".
22005 Downcase the rel text.
22006 (eww-top-url): Choose best top URL.
22008 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22010 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22011 relying in widget.el. Using widget.el leads to too many
22012 user interface inconsistencies.
22013 (eww-self-insert): Implement entering commands in text fields.
22014 (eww-process-text-input): New function to make text input field editing
22016 (eww-submit): Rewrite to use the new-style form methods.
22017 (eww-select-display): Display the correct selected item.
22018 (eww-change-select): Implement changing the select value.
22019 (eww-toggle-checkbox): Implement radio/checkboxes.
22020 (eww-update-field): Fix compilation error.
22021 (eww-tag-textarea): Implement <textarea>.
22023 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22024 we don't shadow mode-specific bindings.
22026 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22029 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22031 2013-06-19 Glenn Morris <rgm@gnu.org>
22033 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22035 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22037 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22040 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22042 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22044 * net/browse-url.el (browse-url-browser-function):
22045 `eww-browse-url' has the right calling signature, `eww' does not.
22047 2013-06-19 Glenn Morris <rgm@gnu.org>
22049 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22050 Only eval autoloaded macros.
22051 (byte-compile-autoload): Only give the macro warning for macros.
22053 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22054 (ps-underlined-faces): Declare.
22056 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22057 (speedbar-add-supported-extension): Declare.
22059 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22060 Don't include a date stamp in the header of the generated file;
22061 it leads to needless differences between output files.
22063 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22065 * net/secrets.el (secrets-struct-secret-content-type):
22066 Replace check of introspection data by a test call of "CreateItem".
22067 Some servers do not offer introspection.
22069 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22071 * electric.el (electric-pair-mode): Improve interaction with
22072 electric-layout-mode.
22073 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22074 (electric-pair-syntax): Use text-mode-syntax-table in comments
22076 (electric-pair--insert): New function.
22077 (electric-pair-post-self-insert-function): Use it and
22078 electric--after-char-pos.
22080 2013-06-19 Leo Liu <sdl.web@gmail.com>
22082 * progmodes/octave.el (octave-help): Fix regexp.
22084 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22086 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22087 (shr-table-horizontal-line): Allow nil as a value, and change the
22089 (shr-insert-table-ruler): Respect the nil value.
22091 2013-06-18 Tom Tromey <tromey@barimba>
22093 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22095 (eww-open-file): New defun.
22096 (eww-render): Initialize new variables.
22097 (eww-display-html): Handle "link" and "a".
22098 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22099 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22100 (eww-back-url): Rename from eww-previous-url.
22101 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22104 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22106 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22107 Distinguish ternary operator tokens from slash symbol and slash
22110 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22112 Convert symbol prettification into minor mode and global minor mode.
22114 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22115 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22116 (prettify-symbols--keywords): Rename from
22117 `prog-prettify-symbols-alist' and make a local defvar.
22118 (prettify-symbols--compose-symbol): Rename from
22119 `prog--prettify-font-lock-compose-symbol'.
22120 (prettify-symbols--make-keywords): Rename from
22121 `prog-prettify-font-lock-symbols-keywords' and simplify.
22122 (prog-prettify-install): Remove.
22123 (prettify-symbols-mode): New minor mode, based on
22124 `prog-prettify-install'.
22125 (turn-on-prettify-symbols-mode): New function.
22126 (global-prettify-symbols-mode): New globalized minor mode.
22128 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22129 * progmodes/cfengine.el (cfengine3-mode):
22130 * progmodes/perl-mode.el (perl-mode): Don't call
22131 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22133 2013-06-18 Juri Linkov <juri@jurta.org>
22135 * files-x.el (modify-file-local-variable-message): New function.
22136 (modify-file-local-variable)
22137 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22138 and call `modify-file-local-variable-message' when it's non-nil.
22139 (add-file-local-variable, delete-file-local-variable)
22140 (add-file-local-variable-prop-line)
22141 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22142 and use it. (Bug#9820)
22144 2013-06-18 Juri Linkov <juri@jurta.org>
22146 * emulation/vi.el (vi-shell-op):
22147 * emulation/vip.el (vip-execute-com, ex-command):
22148 * emulation/viper-cmd.el (viper-exec-bang):
22149 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22150 the call of `shell-command-on-region'. (Bug#14637)
22152 * simple.el (shell-command-on-region): Doc fix.
22154 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22156 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22159 2013-06-18 Glenn Morris <rgm@gnu.org>
22161 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22163 * newcomment.el (comment-search-forward, comment-search-backward):
22164 Doc fix. (Bug#14376)
22166 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22168 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22169 (buffer-face-mode-invoke): Doc fix.
22171 2013-06-18 Matthias Meulien <orontee@gmail.com>
22173 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22174 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22176 2013-06-18 Glenn Morris <rgm@gnu.org>
22178 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22179 Replace obsolete function generic-make-keywords with its expansion.
22181 * progmodes/python.el (ffap-alist): Declare.
22183 * textmodes/reftex.el (bibtex-mode-map): Declare.
22185 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22187 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22188 (package-unpack, package-unpack-single): Return the pkg-dir.
22189 (package-download-transaction): Use it to update package-alist.
22191 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22193 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22196 2013-06-17 Juri Linkov <juri@jurta.org>
22198 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22200 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22202 * emacs-lisp/package.el (package-load-descriptor):
22203 Remove `with-syntax-table' call, `read' doesn't need it.
22204 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22206 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22208 * startup.el (command-line): Expand package name returned by
22209 `package--description-file' (bug#14639).
22211 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22213 * emacs-lisp/package.el (package-load-descriptor): Do not call
22214 `emacs-lisp-mode', just use its syntax table.
22216 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22218 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22219 `font-lock-extra-managed-props' if any prettifying keyword is added.
22220 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22221 (prog-mode): Use `setq-local'.
22223 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22225 * international/characters.el (standard-case-table): Set syntax of ?»
22226 and ?« to punctuation.
22228 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22230 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22231 Save relevant match data before calling `syntax-ppss' (bug#14595).
22233 2013-06-15 Juri Linkov <juri@jurta.org>
22235 * files-x.el (modify-file-local-variable-prop-line): Add local
22236 variables to the end of the existing comment on the first line.
22237 Use `file-auto-mode-skip' to skip interpreter magic line,
22238 and also skip XML declaration.
22240 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22242 * startup.el (package--builtin-versions): New var.
22243 (package-subdirectory-regexp): Remove.
22244 (package--description-file): Hard code its value instead.
22246 * emacs-lisp/package.el: Don't activate packages older than builtin.
22247 (package-obsolete-list): Rename from package-obsolete-alist, and make
22248 it into a simple list of package-desc.
22249 (package-strip-version): Remove.
22250 (package-built-in-p): Use package--builtin-versions.
22251 (package-mark-obsolete): Simplify.
22252 (package-process-define-package): Mark it obsolete if older than the
22254 (package-handle-response): Use line-end-position.
22255 (package-read-archive-contents, package--download-one-archive):
22257 (package--add-to-archive-contents): Skip if older than the builtin or
22259 (package-menu-describe-package): Fix last change.
22260 (package-list-unversioned): New var.
22261 (package-menu--generate): Use it.
22263 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22264 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22265 (autoload-builtin-package-versions): New variable.
22266 (autoload-generate-file-autoloads): Use them.
22267 Remove the list of autoloaded functions/macros from the
22268 (autoload...) comments.
22270 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22272 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22274 * simple.el (line-move-partial): Don't jump to the next screen
22275 line as soon as it becomes visible. Instead, continue enlarging
22276 the vscroll until the portion of a tall screen line that's left on
22277 display is about the height of the frame's default font.
22280 2013-06-15 Glenn Morris <rgm@gnu.org>
22282 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22283 compilation-error-regexp-alist void, or local while let-bound.
22285 * progmodes/make-mode.el (makefile-mode-syntax-table):
22286 Treat "=" as punctuation. (Bug#14614)
22288 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22290 * help-fns.el (describe-variable):
22291 Add extra line for permanent-local variables.
22293 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22295 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22296 Add export, import, library. (Bug#9164)
22297 (library): Set indent function.
22299 2013-06-14 Glenn Morris <rgm@gnu.org>
22301 * term/xterm.el (xterm--query):
22302 Stop after first matching handler. (Bug#14615)
22304 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22306 Add support for dired in saveplace.
22307 * dired.el (dired-initial-position-hook): New variable.
22308 (dired-initial-position): Call hook to place cursor position.
22309 * saveplace.el (save-place-to-alist): Add dired position.
22310 (save-place-dired-hook): New function.
22312 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22314 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22315 through a symbol rather than letrec.
22317 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22318 (package-desc): Add `dir' field.
22319 (package-desc-full-name): New function.
22320 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22321 (package-maybe-load-descriptor): Remove.
22322 (package-load-all-descriptors): Just call package-load-descriptor.
22323 (package--disabled-p): New function.
22324 (package-desc-vers, package-desc-doc): Remove aliases.
22325 (package--dir): Remove function.
22326 (package-activate): Check if a package is disabled.
22327 (package-process-define-package): New function, extracted from
22329 (define-package): Turn into a place holder.
22330 (package-unpack-single, package-tar-file-info):
22331 Use package--description-file.
22332 (package-compute-transaction): Use package--disabled-p.
22333 (package-download-transaction): Don't call
22334 package-maybe-load-descriptor since they're all loaded anyway.
22335 (package-install): Change argument to be a pkg-desc.
22336 (package-delete): Use a single pkg-desc argument.
22337 (describe-package-1): Use package-desc-dir instead of package--dir.
22338 Use package-desc property instead of package-symbol.
22339 (package-install-button-action): Adjust accordingly.
22340 (package--push): Rewrite.
22341 (package-menu--print-info): Adjust accordingly. Change the ID format
22343 (package-menu-describe-package, package-menu-get-status)
22344 (package-menu--find-upgrades, package-menu-mark-upgrades)
22345 (package-menu-execute, package-menu--name-predicate):
22346 Adjust accordingly.
22347 * startup.el (package--description-file): New function.
22348 (command-line): Use it.
22349 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22350 Use package-desc-version.
22352 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22353 (byte-compile-preprocess): Use it.
22354 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22355 can't quite recognize.
22356 (byte-compile-add-to-list): Remove.
22357 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22358 (cconv-closure-convert): Add assertion.
22360 * emacs-lisp/map-ynp.el: Use lexical-binding.
22361 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22362 Factor out some repeated code.
22364 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22366 * subr.el (with-eval-after-load): New macro.
22367 (eval-after-load): Allow form to be a function.
22368 take advantage of lexical-binding.
22369 (do-after-load-evaluation): Use dolist and adjust to new format.
22370 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22372 2013-06-13 Juri Linkov <juri@jurta.org>
22374 * replace.el (perform-replace): Display "symbol " and other search
22375 modes from `isearch-message-prefix' in the *Help* buffer.
22377 * isearch.el (isearch-query-replace): Add " symbol" and other
22378 possible search modes from `isearch-message-prefix' to the prompt.
22379 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22380 when reading a regexp to collect.
22382 2013-06-13 Juri Linkov <juri@jurta.org>
22384 * isearch.el (word-search-regexp): Match whitespace if the search
22385 string begins or ends in whitespace. The LAX arg is applied to
22386 both ends of the search string. Use `regexp-quote' and explicit
22387 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22388 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22389 boundaries are replaced with symbol boundaries, and characters
22390 between symbols match non-word non-symbol syntax. (Bug#14602)
22392 2013-06-13 Juri Linkov <juri@jurta.org>
22394 * isearch.el (isearch-del-char): Don't exceed the length of
22395 `isearch-string' by the prefix arg. (Bug#14563)
22397 2013-06-13 Juri Linkov <juri@jurta.org>
22399 * isearch.el (isearch-yank-word, isearch-yank-line)
22400 (isearch-char-by-name, isearch-quote-char)
22401 (isearch-printing-char, isearch-process-search-char):
22402 Add optional count prefix arg. (Bug#14563)
22404 * international/isearch-x.el
22405 (isearch-process-search-multibyte-characters):
22406 Add optional count prefix arg.
22408 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22410 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22411 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22414 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22416 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22418 2013-06-13 Glenn Morris <rgm@gnu.org>
22420 * startup.el (tty-handle-args):
22421 Don't just discard "--" and anything after. (Bug#14608)
22423 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22425 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22427 Implement changes in Secret Service API. Make it backward compatible.
22428 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22429 (secrets-create-item): Use it. Prefix properties with interface.
22431 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22433 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22434 (term-emulate-terminal): Respect term-suppress-hard-newline.
22436 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22438 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22439 Only remove a `thumb-file' overlay. (Bug#14548)
22441 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22443 * mail/reporter.el (reporter-submit-bug-report):
22444 Handle missing package-name. (Bug#14600)
22446 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22448 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22449 (reftex-citation-prompt, reftex-default-bibliography)
22450 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22451 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22452 (reftex-bib-sort-author, reftex-bib-sort-year)
22453 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22454 (reftex-extract-bib-entries-from-thebibliography)
22455 (reftex-get-bibkey-default, reftex-get-bib-names)
22456 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22457 (reftex-format-bib-entry, reftex-parse-bibitem)
22458 (reftex-format-bibitem, reftex-do-citation)
22459 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22460 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22461 (reftex-insert-bib-matches, reftex-format-citation)
22462 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22463 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22464 existing comments into docstrings.
22466 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22468 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22470 2013-06-12 Andreas Schwab <schwab@suse.de>
22472 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22473 for auto-save files.
22475 2013-06-12 Glenn Morris <rgm@gnu.org>
22477 * ido.el (ido-delete-ignored-files): Remove.
22478 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22479 Go back to calling ido-ignore-item-p directly.
22481 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22483 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22485 * ido.el (ido-delete-ignored-files): New function,
22486 split from ido-make-file-list-1.
22487 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22488 (ido-make-file-list-1): Use ido-delete-ignored-files.
22490 2013-06-12 Leo Liu <sdl.web@gmail.com>
22492 * progmodes/octave.el (inferior-octave-startup)
22493 (inferior-octave-completion-table)
22494 (inferior-octave-track-window-width-change)
22495 (octave-eldoc-function-signatures, octave-help)
22496 (octave-find-definition): Use single quoted strings.
22497 (inferior-octave-startup-args): Change default value.
22498 (inferior-octave-startup): Do not hard code "-i" and
22499 "--no-line-editing".
22500 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22501 (inferior-octave-directory-tracker): Use it.
22502 (octave-goto-function-definition): Robustify.
22503 (octave-help): Support highlighting operators in 'See also'.
22504 (octave-find-definition): Find subfunctions only in Octave mode.
22506 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22508 * help-fns.el (help-fns--compiler-macro): If the handler function is
22509 named, then put a link to it.
22510 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22511 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22512 (cl-typep): Use it.
22513 (cl-eval-when): Simplify debug spec.
22514 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22515 compiler-macro function instead of setting `compiler-macro-file'.
22517 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22519 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22520 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22522 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22523 Daniel Hackney <dan@haxney.org>
22525 First part of Daniel Hackney's patch to package.el.
22526 * emacs-lisp/package.el: Use defstruct.
22527 (package-desc): New, main struct.
22528 (package--bi-desc, package--ac-desc): New structs, used to describe the
22529 format in external files.
22530 (package-desc-vers): Replace with package-desc-version accessor.
22531 (package-desc-doc): Replace with package-desc-summary accessor.
22532 (package-activate-1): Remove `package' arg since the pkg-vec now
22534 (define-package): Use package-desc-from-define.
22535 (package-unpack-single): Change file-name arg to be a symbol.
22536 (package--add-to-archive-contents): Use package-desc-create and new
22537 accessor functions to package--ac-desc.
22538 (package-buffer-info, package-tar-file-info): Return a package-desc.
22539 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22540 arg to be a package-desc.
22541 (package-install-file): Adjust accordingly. Use \' to match EOS.
22542 (package--from-builtin): New function.
22543 (describe-package-1, package-menu--generate): Use it.
22544 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22545 (package-generate-autoloads): Idem and return the name of the file.
22546 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22547 Change pkg-info arg to be a package-desc.
22548 Use package-make-ac-desc.
22549 (package-upload-file): Use \' to match EOS.
22550 * finder.el (finder-compile-keywords): Use package-make-builtin.
22552 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22554 * vc/vc.el (vc-deduce-fileset): Change error message.
22555 (vc-read-backend): New function.
22556 (vc-next-action): Use it.
22558 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22560 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22561 (prolog-font-lock-keywords): Use regexp-opt instead.
22562 Don't manually highlight strings.
22563 (prolog-mode-variables): Simplify comment-start-skip.
22564 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22566 * emacs-lisp/generic.el (generic--normalise-comments)
22567 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22568 (generic-mode-set-comments): Use them.
22569 (generic-bracket-support): Use setq-local.
22570 (generic-make-keywords-list): Declare obsolete.
22572 2013-06-11 Glenn Morris <rgm@gnu.org>
22574 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22575 Prettify after setting font-lock-defaults. (Bug#14574)
22577 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22579 * replace.el (query-replace, occur-read-regexp-defaults-function)
22581 * subr.el (declare-function, number-sequence, local-set-key)
22582 (substitute-key-definition, locate-user-emacs-file)
22583 (with-silent-modifications, split-string, eval-after-load):
22584 Fix typos, remove unneeded backslashes and reflow some docstrings.
22586 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22588 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22589 default for Elisp files.
22591 2013-06-11 Glenn Morris <rgm@gnu.org>
22593 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22594 although define-derived-mode was doing this anyway. (Bug#14583)
22596 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22598 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22599 Fix make-variable-buffer-local call to refer to the correct variable.
22601 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22603 * eshell/em-term.el (eshell-visual-commands)
22604 (eshell-visual-subcommands, eshell-visual-options):
22605 Add summary line to docstrings. Add cross-references.
22607 2013-06-10 Glenn Morris <rgm@gnu.org>
22609 * epa.el (epa-read-file-name): New function. (Bug#14510)
22610 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22612 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22614 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22615 output redirection to be ignored with visual commands.
22617 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22619 * eshell/em-term.el (eshell-visual-command-p): New function.
22620 (eshell-term-initialize): Move long lambda to separate function
22621 eshell-visual-command-p.
22622 * eshell/em-dirs.el (eshell-dirs-initialize):
22623 * eshell/em-script.el (eshell-script-initialize):
22624 Add missing #' to lambda.
22626 2013-06-08 Leo Liu <sdl.web@gmail.com>
22628 * progmodes/octave.el (octave-add-log-current-defun): New function.
22629 (octave-mode): Set add-log-current-defun-function.
22630 (octave-goto-function-definition): Do not move point if not found.
22631 (octave-find-definition): Enhance to try subfunctions first.
22633 2013-06-08 Glenn Morris <rgm@gnu.org>
22635 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22636 (byte-compile-backward-char, byte-compile-backward-word):
22637 Improve previous change, to handle non-explicit nil.
22639 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22641 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22642 (smie--opener/closer-at-point): New function.
22643 (smie--matching-block-data): Use it. Don't match from right after an
22644 opener or right before a closer. Obey smie-blink-matching-inners.
22645 Don't signal a mismatch for repeated inners like "switch..case..case".
22647 2013-06-07 Leo Liu <sdl.web@gmail.com>
22649 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22651 (octave-function-header-regexp): Fix. (Bug#14570)
22652 (octave-help-mode-finish-hook, octave-help-mode-finish):
22653 Remove. Just use temp-buffer-show-hook.
22655 * newcomment.el (comment-search-backward): Revert last change.
22658 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22660 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22662 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22663 through xargs, to avoid failure due to MS-Windows limitations on
22664 command-line length.
22666 2013-06-06 Glenn Morris <rgm@gnu.org>
22668 * font-lock.el (lisp-font-lock-keywords-2):
22669 Treat user-error like error.
22671 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22672 (byte-compile-backward-char, byte-compile-backward-word):
22673 Handle explicit nil arguments. (Bug#14565)
22675 2013-06-05 Alan Mackenzie <acm@muc.de>
22677 * isearch.el (isearch-allow-prefix): New user option.
22678 (isearch-other-meta-char): Don't exit isearch when a prefix
22679 argument is typed whilst `isearch-allow-prefix' is non-nil.
22682 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22684 * autorevert.el (auto-revert-notify-handler): Use memq.
22685 Hide assertion failure.
22687 * skeleton.el: Use cl-lib.
22688 (skeleton-further-elements): Use defvar-local.
22689 (skeleton-insert): Use cl-progv.
22691 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22693 * progmodes/prog-mode.el (prog-prettify-symbols)
22694 (prog-prettify-install): Update docstrings.
22696 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22698 * simple.el: Move all the prog-mode code to prog-mode.el.
22699 * progmodes/prog-mode.el: New file.
22700 * loadup.el: Add prog-mode.el.
22702 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22704 * simple.el (prog-prettify-symbols): Add version.
22705 (prog-prettify-install): Add convenience function to prettify symbols.
22707 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22708 (perl--augmented-font-lock-keywords-1)
22709 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22710 variables and use it.
22712 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22713 (cfengine3-mode): Remove unneeded variable and use it.
22715 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22716 (lisp--augmented-font-lock-keywords-1)
22717 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22718 Remove unneeded variables and use it.
22720 2013-06-05 João Távora <joaotavora@gmail.com>
22722 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22723 to point when opening the connection. (Bug#14380)
22725 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22727 * subr.el (load-history-regexp, load-history-filename-element)
22728 (eval-after-load, after-load-functions, do-after-load-evaluation)
22729 (eval-next-after-load, display-delayed-warnings)
22730 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22731 definition of save-match-data.
22732 (overriding-local-map): Remove accidental obsolescence declaration.
22734 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22736 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22738 Generalize symbol prettify support to prog-mode and implement it
22739 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22740 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22741 (prog--prettify-font-lock-compose-symbol)
22742 (prog-prettify-font-lock-symbols-keywords): New variables and
22743 functions to support symbol prettification.
22744 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22745 (lisp--augmented-font-lock-keywords-1)
22746 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22747 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22748 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22749 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22750 Implement prettify of -> => :: strings.
22751 * progmodes/perl-mode.el (perl-prettify-symbols)
22752 (perl--font-lock-compose-symbol)
22753 (perl--font-lock-symbols-keywords): Move to prog-mode.
22754 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22755 (perl-font-lock-keywords-1)
22756 (perl-font-lock-keywords-2): Remove explicit prettify support.
22757 (perl--augmented-font-lock-keywords)
22758 (perl--augmented-font-lock-keywords-1)
22759 (perl--augmented-font-lock-keywords-2, perl-mode):
22760 Implement prettify support.
22762 2013-06-05 Leo Liu <sdl.web@gmail.com>
22764 Re-implement SMIE matching block highlight using
22765 show-paren-data-function. (Bug#14395)
22766 * emacs-lisp/smie.el (smie-matching-block-highlight)
22767 (smie--highlight-matching-block-overlay)
22768 (smie--highlight-matching-block-lastpos)
22769 (smie-highlight-matching-block)
22770 (smie-highlight-matching-block-mode): Remove.
22771 (smie--matching-block-data-cache): New variable.
22772 (smie--matching-block-data): New function.
22773 (smie-setup): Use smie--matching-block-data for
22774 show-paren-data-function.
22776 * progmodes/octave.el (octave-mode-menu): Fix.
22777 (octave-find-definition): Skip garbage lines.
22779 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22781 Fix compilation error with simultaneous dynamic+lexical scoping.
22782 Add warning when a defvar appears after the first let-binding.
22783 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22784 (byte-compile-close-variables): Initialize it.
22785 (byte-compile--declare-var): New function.
22786 (byte-compile-file-form-defvar)
22787 (byte-compile-file-form-define-abbrev-table)
22788 (byte-compile-file-form-custom-declare-variable): Use it.
22789 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22790 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22791 (byte-compile-bind): Handle dynamic bindings that shadow
22793 (byte-compile-unbind): Make arg non-optional.
22794 (byte-compile-let): Simplify.
22795 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22796 (cconv--analyse-function, cconv-analyse-form): Populate it.
22797 Protect byte-compile-bound-variables to limit the scope of defvars.
22798 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22799 Remove unneeded rule for `declare'.
22801 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22802 so as to avoid depending on cl-adjoin at run-time.
22803 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22805 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22806 (macroexp--warn-and-return): Use it.
22808 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22810 * subr.el: Convert to lexical binding.
22811 (overriding-local-map): Make obsolete.
22812 (add-to-list): Doc fix. Add compiler macro.
22813 (read-key): Swap values of local maps.
22815 2013-06-05 Leo Liu <sdl.web@gmail.com>
22817 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22819 2013-06-04 Leo Liu <sdl.web@gmail.com>
22821 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22822 (compilation-auto-jump): Suppress the "Mark set" message to give
22823 way to exit message.
22825 2013-06-04 Alan Mackenzie <acm@muc.de>
22827 Remove faulty optimization from indentation calculation.
22828 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22829 search limit based on 2000 characters back from indent-point.
22831 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22833 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22835 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22837 * emacs-lisp/lisp.el: Use lexical-binding.
22838 (lisp--local-variables-1, lisp--local-variables): New functions.
22839 (lisp--local-variables-completion-table): New var.
22840 (lisp-completion-at-point): Use it complete let-bound vars.
22842 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22843 eagerly (bug#14422).
22845 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22847 * autorevert.el (auto-revert-notify-enabled)
22848 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22849 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22850 (auto-revert-notify-handler): Handle also gfilenotify.
22852 * subr.el (file-notify-handle-event): New defun. Replacing ...
22853 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22856 2013-06-03 Juri Linkov <juri@jurta.org>
22858 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22859 `M-s h .'. (Bug#14427)
22861 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22862 command `hi-lock-face-symbol-at-point'.
22863 (hi-lock-face-symbol-at-point): New command.
22864 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22865 (hi-lock-menu): Add `highlight-symbol-at-point'.
22866 (hi-lock-mode): Doc fix.
22868 * isearch.el (isearch-forward-symbol-at-point): New command.
22869 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22870 (isearch-highlight-regexp): Add a regexp which matches
22871 words/symbols for word/symbol mode.
22873 * subr.el (find-tag-default-bounds): New function with the body
22874 mostly moved from `find-tag-default'.
22875 (find-tag-default): Move most code to `find-tag-default-bounds',
22876 call it and apply `buffer-substring-no-properties' afterwards.
22878 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22880 * eshell/em-term.el (eshell-term-initialize):
22881 Use `cl-intersection' rather than `intersection'.
22883 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22885 * vc/log-view.el: Doc fix.
22886 (log-view-mode-map): Copy keymap from `special-mode-map'.
22888 2013-06-02 Eric Ludlam <zappo@gnu.org>
22890 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22891 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22892 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22893 (eieio-unbound, eieio-default-superclass)
22894 (eieio--define-field-accessors, method-static, method-before)
22895 (method-primary, method-after, method-num-lists)
22896 (method-generic-before, method-generic-primary)
22897 (method-generic-after, method-num-slots)
22898 (eieio-specialized-key-to-generic-key)
22899 (eieio--check-type, class-v, class-p)
22900 (eieio-class-name, define-obsolete-function-alias)
22901 (eieio-class-parents-fast, eieio-class-children-fast)
22902 (same-class-fast-p, class-constructor, generic-p)
22903 (generic-primary-only-p, generic-primary-only-one-p)
22904 (class-option-assoc, class-option, eieio-object-p)
22905 (class-abstract-p, class-method-invocation-order)
22906 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22907 (eieio-class-un-autoload, eieio-defclass)
22908 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22909 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22910 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22911 (eieio-defgeneric-reset-generic-form)
22912 (eieio-defgeneric-form-primary-only)
22913 (eieio-defgeneric-reset-generic-form-primary-only)
22914 (eieio-defgeneric-form-primary-only-one)
22915 (eieio-defgeneric-reset-generic-form-primary-only-one)
22916 (eieio-unbind-method-implementations)
22917 (eieio--defmethod, eieio--typep)
22918 (eieio-perform-slot-validation, eieio-validate-slot-value)
22919 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22920 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22921 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22922 (eieio-slot-name-index, eieio-class-slot-name-index)
22923 (eieio-set-defaults, eieio-initarg-to-attribute)
22924 (eieio-attribute-to-initarg, eieio-c3-candidate)
22925 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22926 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22927 (eieio-class-precedence-list, eieio-generic-call-methodname)
22928 (eieio-generic-call-arglst, eieio-generic-call-key)
22929 (eieio-generic-call-next-method-list)
22930 (eieio-pre-method-execution-functions, eieio-generic-call)
22931 (eieio-generic-call-primary-only, eieiomt-method-list)
22932 (eieiomt-optimizing-obarray, eieiomt-install)
22933 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22934 (eieio-generic-form, eieio-defmethod, make-obsolete)
22935 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22936 (defclass): Remove `eval-and-compile' from macro.
22937 (call-next-method, shared-initialize): Instead of using
22938 `scoped-class' variable, use new eieio--scoped-class, and
22939 eieio--with-scoped-class.
22940 (initialize-instance): Rename local variable 'scoped-class' to
22941 'this-class' to remove ambiguitity from old global.
22943 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22945 (eieio--scoped-class-stack): New variable.
22946 (eieio--scoped-class): New fcn.
22947 (eieio--with-scoped-class): New scoping macro.
22948 (eieio-defclass): Use pushnew instead of add-to-list.
22949 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22950 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22951 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22952 `scoped-class' variable, use new eieio--scoped-class, and
22953 eieio--with-scoped-class.
22955 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22957 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22959 * eshell/esh-ext.el (eshell-external-command): Pass args to
22960 `eshell-find-interpreter'.
22961 (eshell-find-interpreter): Add new second parameter ARGS.
22963 * eshell/em-script.el (eshell-script-initialize): Add second arg
22964 to the function added as MATCH to `eshell-interpreter-alist'.
22966 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22967 the function added as MATCH to `eshell-interpreter-alist'.
22969 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22970 (eshell-visual-options): New defcustom.
22971 (eshell-escape-control-x): Adapt docstring.
22972 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22973 `eshell-visual-options' in addition to `eshell-visual-commands'.
22974 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22976 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22978 * progmodes/python.el (python-indent-block-enders): Add break,
22979 continue and raise keywords.
22981 2013-06-01 Glenn Morris <rgm@gnu.org>
22983 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22985 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22986 * progmodes/cc-cmds.el (delete-forward-p):
22987 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22988 * progmodes/cc-engine.el (buffer-syntactic-context):
22989 * progmodes/cc-fonts.el (face-property-instance):
22990 * progmodes/cc-mode.el (set-keymap-parents):
22991 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22992 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22993 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22994 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22995 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22997 * progmodes/cc-vars.el (other): Emacs has this widget since
22998 at least 21.1, so don't (re)define it.
23000 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23001 Replace the obsolete alias pcomplete-arg-quote-list.
23003 2013-06-01 Leo Liu <sdl.web@gmail.com>
23005 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23006 punctuation syntax.
23007 (inferior-octave-minimal-columns)
23008 (inferior-octave-last-column-width): New variables.
23009 (inferior-octave-track-window-width-change): New function.
23010 (inferior-octave-mode): Adjust column width so that Octave output,
23011 for example from 'ls', can fit into the window nicely.
23013 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23015 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23016 Highlight expansions inside regexp literals.
23018 2013-05-31 Glenn Morris <rgm@gnu.org>
23020 * obsolete/sym-comp.el (symbol-complete):
23021 Replace obsolete completion-annotate-function.
23023 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23025 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23027 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23028 New function, checks if point is inside a literal that allows
23029 expression expansion.
23030 (ruby-syntax-propertize-expansion): Use it.
23031 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23034 2013-05-30 Juri Linkov <juri@jurta.org>
23036 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23038 (isearch-invisible): New variable.
23039 (isearch-forward): Doc fix.
23040 (isearch-mode): Set `isearch-invisible'
23041 to the value of `search-invisible'.
23042 (isearch-toggle-case-fold): Doc fix.
23043 (isearch-toggle-invisible): New command.
23044 (isearch-query-replace): Let-bind `search-invisible'
23045 to the value of `isearch-invisible'.
23046 (isearch-search): Use `isearch-invisible' instead of
23047 `search-invisible'. Let-bind `search-invisible'
23048 to the value of `isearch-invisible'. (Bug#11378)
23050 2013-05-30 Juri Linkov <juri@jurta.org>
23052 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23053 call when `query-flag' is nil and `search-invisible' is non-nil.
23056 2013-05-30 Glenn Morris <rgm@gnu.org>
23058 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23060 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23061 (cc-require): Suppress spurious "noruntime" warnings.
23062 (cc-require-when-compile): Use fboundp, for sake of compiler.
23064 * progmodes/cc-mode.el: Move load of cc-vars before that of
23065 cc-langs (which in turn loads cc-vars), to quieten compiler.
23067 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23069 * paren.el: Simplify the code.
23070 (show-paren-mode): Always start the timer.
23071 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23072 (show-paren--overlay, show-paren--overlay-1): Rename from
23073 show-paren-overlay and show-paren-overlay-1, and initialize to an
23074 overlay rather than to nil.
23075 (show-paren-function): Misc cleanup and simplifications.
23077 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23079 * paren.el (show-paren-data-function): New hook.
23080 (show-paren--default): New function, extracted from show-paren-function.
23081 (show-paren-function): Use show-paren-data-function.
23083 2013-05-30 Glenn Morris <rgm@gnu.org>
23085 * ielm.el (ielm-map, ielm-complete-symbol):
23086 Use completion-at-point rather than obsolete functions.
23087 (inferior-emacs-lisp-mode): Doc fix.
23088 Set completion-at-point-functions, rather than
23089 comint-dynamic-complete-functions.
23091 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23092 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23093 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23095 * image.el (image-animated-p): Tweak definition.
23097 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23098 (rlogin-process-connection-type): Tweak default. Add set-after.
23099 (rlogin-host): Doc fix.
23100 (rlogin): Tweak prompt.
23101 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23103 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23104 * progmodes/tcl.el (inferior-tcl-mode-map):
23105 Use completion-at-point rather than obsolete alias.
23107 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23109 * minibuffer.el (read-file-name-completion-ignore-case):
23110 Move before completion--in-region, for eager macro expansion.
23112 2013-05-29 Juri Linkov <juri@jurta.org>
23114 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23115 for total count of matching lines. Add `global-matches' for total
23116 count of matches. Rename `matches' to `lines' for count of
23117 matching lines. Add `matches' for count of matches.
23118 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23119 to `prev-line' for line number of prev match endpt.
23120 Increment `matches' for every match. Print the number of
23121 matching lines in the header.
23122 (occur-context-lines): Rename `lines' to `curr-line'.
23123 Rename `prev-lines' to `prev-line'. (Bug#14017)
23125 2013-05-29 Juri Linkov <juri@jurta.org>
23127 * replace.el (perform-replace): Add `skip-read-only-count',
23128 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23129 Increment them for corresponding conditions and report the number
23130 of skipped occurrences in the final message. (Bug#11746)
23131 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23132 (replace-string, replace-regexp): Doc fix.
23134 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23136 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23138 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23139 prog-mode-map (bug#14504).
23141 2013-05-29 Leo Liu <sdl.web@gmail.com>
23143 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23144 (octave-help): Small simplification.
23146 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23147 off the highlight first.
23149 2013-05-29 Glenn Morris <rgm@gnu.org>
23151 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23152 Handle idlwave-last-system-routine-info-cons-cell being nil.
23154 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23155 (idlwave-write-paths): Simplify via with-temp-buffer.
23157 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23158 * emulation/cua-rect.el: Also load cua-base at run time.
23160 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23161 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23162 (cperl-imenu-on-info): Require imenu.
23164 2013-05-28 Alan Mackenzie <acm@muc.de>
23166 Handle "capitalised keywords" correctly.
23167 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23169 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23171 * eshell/em-unix.el: Add -r option to cp.
23173 2013-05-28 Glenn Morris <rgm@gnu.org>
23175 * vc/vc-arch.el (vc-exec-after): Declare.
23176 (vc-switches): Autoload.
23177 * vc/vc-bzr.el: No need to require vc when compiling.
23178 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23179 (vc-resynch-buffer, vc-dir-refresh): Declare.
23180 (vc-setup-buffer, vc-switches): Autoload.
23181 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23182 (vc-resynch-buffer): Declare.
23183 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23184 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23185 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23186 (grep-read-regexp, grep-read-files, grep-expand-template)
23187 (vc-dir-refresh): Declare.
23188 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23189 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23190 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23191 * vc/vc-mtn.el (vc-exec-after): Declare.
23192 (vc-switches): Autoload.
23193 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23194 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23195 (vc-file-tree-walk): Declare.
23196 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23197 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23198 (vc-tag-precondition, vc-rename-master): Autoload.
23199 * vc/vc-svn.el (vc-exec-after): Declare.
23200 (vc-switches, vc-setup-buffer): Autoload.
23201 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23203 (vc-resynch-buffer): Declare.
23205 * obsolete/fast-lock.el (byte-compile-warnings):
23206 Don't warn about obsolete features in this obsolete file.
23208 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23209 Move definition before use.
23211 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23212 (dun-unix-verbs): Remove dun-zippy.
23213 (dun-zippy): Remove function.
23215 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23217 2013-05-27 Juri Linkov <juri@jurta.org>
23219 * replace.el (replace-search): New function with code moved out
23220 from `perform-replace'.
23221 (replace-highlight, replace-dehighlight): Move function definitions
23222 up closer to `replace-search'. (Bug#11746)
23224 2013-05-27 Juri Linkov <juri@jurta.org>
23226 * replace.el (perform-replace): Ignore invisible matches.
23227 In addition to checking `query-replace-skip-read-only', also
23228 filter out matches by calling `run-hook-with-args-until-failure'
23229 on `isearch-filter-predicates', and also check `search-invisible'
23230 for t or call `isearch-range-invisible'.
23231 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23233 2013-05-27 Juri Linkov <juri@jurta.org>
23235 * isearch.el (isearch-filter-predicates): Rename from
23236 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23237 (isearch-message-prefix): Display text from the property
23238 `isearch-message-prefix' of the currently active filters.
23239 (isearch-search): Don't compare `isearch-filter-predicate' with
23240 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23241 on `isearch-filter-predicates'. Also check `search-invisible' for t
23242 or call `isearch-range-invisible'.
23243 (isearch-filter-visible): Make obsolete.
23244 (isearch-lazy-highlight-search):
23245 Call `run-hook-with-args-until-failure' on
23246 `isearch-filter-predicates' and use `isearch-range-invisible'.
23248 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23249 `isearch-filter-predicates' instead of `funcall'ing
23250 `isearch-filter-predicate'.
23251 (Info-mode): Set `Info-isearch-filter' to
23252 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23254 * dired-aux.el (dired-isearch-filter-predicate-orig):
23256 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23257 (dired-isearch-filenames-end): Add and remove
23258 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23259 instead of changing the value of `isearch-filter-predicate'.
23260 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23261 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23262 Put property `isearch-message-prefix' to "filename " on
23263 `dired-isearch-filter-filenames'.
23265 * wdired.el (wdired-change-to-wdired-mode):
23266 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23267 locally instead of changing `isearch-filter-predicate'.
23268 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23270 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23272 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23273 return the commit hash (Bug#14459). Also set the
23274 `vc-git-detached' property.
23275 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23276 (vc-git-mode-line-string): Use the same help-echo format whether
23277 in detached mode or not, because we know the actual revision now.
23278 When in detached mode, shorten the revision to 7 chars.
23280 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23282 * emacs-lisp/easy-mmode.el (define-minor-mode):
23283 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23284 mode hook and provide a docstring.
23286 2013-05-27 Alan Mackenzie <acm@muc.de>
23288 Remove spurious syntax-table text properties inserted by C-y.
23289 * progmodes/cc-mode.el (c-after-change): Also clear hard
23290 syntax-table property with value nil.
23292 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23294 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23295 when reading the events; the buffer layout shall not be changed.
23297 2013-05-27 Leo Liu <sdl.web@gmail.com>
23299 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23301 (inferior-octave-directory-tracker): Automatically re-sync
23303 (octave-help): Improve handling of 'See also'.
23305 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23307 * doc-view.el: Minor naming convention tweaks.
23308 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23310 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23311 even if there's no `display' property yet (bug#14435).
23313 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23315 * subr.el (unmsys--file-name): Rename from reveal-filename.
23317 * Makefile.in (custom-deps, finder-data, autoloads)
23318 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23319 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23320 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23322 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23324 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23325 error-completion on the first 2 args of condition-case (bug#14446).
23328 2013-05-25 Leo Liu <sdl.web@gmail.com>
23330 * comint.el (comint-previous-matching-input): Do not flood the
23331 *Messages* buffer with trivial messages.
23333 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23335 * progmodes/flymake.el (flymake-nop): Don't return a string.
23336 (flymake-set-at): Fix typo.
23338 * simple.el (read--expression): New function, extracted from
23339 eval-expression. Set completion-at-point-functions (bug#14465).
23340 (eval-expression, eval-minibuffer): Use it.
23342 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23344 * progmodes/flymake.el (flymake-save-buffer-in-file)
23345 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23346 (flymake-selected-frame, flymake-log, flymake-ins-after)
23347 (flymake-set-at, flymake-get-buildfile-from-cache)
23348 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23349 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23350 Refine the doc string.
23351 (flymake-get-file-name-mode-and-masks): Reformat.
23352 (flymake-get-real-file-name-function): Fix a minor bug.
23354 2013-05-24 Juri Linkov <juri@jurta.org>
23356 * progmodes/grep.el (grep-mode-font-lock-keywords):
23357 Support =linenumber= format used by git-grep for lines with
23358 function names. (Bug#13549)
23360 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23362 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23363 0 after a semi-colon; it works better for smie-auto-fill.
23364 (octave--indent-new-comment-line): New function.
23365 (octave-indent-new-comment-line): Use it (indirectly).
23366 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23367 modify comment-line-break-function.
23369 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23370 (smie-setup): Use add-function to set it.
23372 2013-05-24 Sam Steingold <sds@gnu.org>
23374 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23375 argument (before the `interactive' argument).
23377 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23379 * image-mode.el (image-mode-winprops): Add winprops to
23380 image-mode-winprops-alist before running
23381 image-mode-new-window-functions.
23382 * doc-view.el (doc-view-new-window-function): Don't delay
23383 doc-view-goto-page via timers (bug#14435).
23385 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23387 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23388 (doc-view-desktop-save-buffer): New function.
23389 (doc-view-restore-desktop-buffer): New function.
23390 (desktop-buffer-mode-handlers):
23391 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23393 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23394 `desktop-save-buffer' function.
23396 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23398 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23399 (tramp-gvfs-file-name-handler): Raise a user error when
23400 `tramp-gvfs-enabled' is nil.
23401 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23402 Do not raise a user error when loading package. (Bug#14447)
23404 * net/xesam.el: Move to obsolete/.
23406 2013-05-24 Glenn Morris <rgm@gnu.org>
23408 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23410 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23412 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23413 (Info-find-node, Man-getpage-in-background): Declare.
23415 * mail/unrmail.el (unrmail):
23416 Replace obsolete detect-coding-with-priority.
23418 * net/socks.el (socks-split-string): Use this rather than split-string.
23419 (socks-nslookup-host): Update for above change.
23420 (dynamic-choice, s5-dynamic-choice-match)
23421 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23422 Comment out unused code.
23424 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23425 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23426 (gud-tooltip-echo-area): Make obsolete.
23427 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23429 * progmodes/js.el (js--optimize-arglist): Declare.
23431 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23433 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23434 (ediff-window-C): Declare.
23436 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23437 Tweak requires to silence compiler.
23439 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23440 (he-search-string, he-tried-table, he-expand-list)
23441 (he-init-string, he-string-member, he-substitute-string)
23442 (he-reset-string): Declare.
23444 * obsolete/options.el (list-options): Use custom-variable-p,
23445 rather than obsolete alias.
23447 2013-05-23 Sam Steingold <sds@gnu.org>
23449 * simple.el (shell-command-on-region): Pass the `replace' argument
23450 down to `call-process-region' to comply with the doc as reported on
23451 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23453 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23455 * emacs-lisp/smie.el (smie-indent-forward-token)
23456 (smie-indent-backward-token): Handle string tokens (bug#14381).
23458 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23460 * ielm.el (ielm-menu): New menu.
23461 (inferior-emacs-lisp-mode): Set comment-start.
23463 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23465 * textmodes/reftex.el (reftex-ref-style-toggle):
23466 Fix deactivate action.
23468 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23469 Add cleveref macros.
23471 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23472 Accept options for bibliography commands.
23473 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23474 Add addbibresource. Basic Biblatex support.
23476 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23478 * net/tramp-gvfs.el (top):
23479 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23480 when loading package. (Bug#14447)
23482 2013-05-23 Glenn Morris <rgm@gnu.org>
23484 * progmodes/js.el: No need to load comint when compiling.
23485 (ring-insert, comint-send-string, comint-send-input)
23486 (comint-last-input-end, ido-chop): Declare.
23488 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23489 * vc/ediff-mult.el: Adjust requires.
23490 (ediff-directories-internal, ediff-directory-revisions-internal)
23491 (ediff-patch-file-internal): Declare.
23492 * vc/ediff-ptch.el: Adjust requires.
23493 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23494 (ediff-find-file): Autoload.
23495 * vc/ediff-util.el: No need to load ediff when compiling.
23496 (ediff-regions-internal): Declare.
23497 * vc/ediff-wind.el: Adjust requires.
23498 (ediff-compute-toolbar-width): Define when compiling.
23499 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23500 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23501 (dired-get-filename, dired-get-marked-files)
23502 (ediff-last-dir-patch, ediff-patch-default-directory)
23503 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23504 (ediff-patch-buffer-internal): Declare.
23506 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23507 (ispell-process, ispell-buffer-local-words, lm-summary)
23508 (lm-section-start, lm-section-end): Declare.
23509 (checkdoc-ispell-init): Simplify.
23511 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23512 (he-string-member, he-reset-string, he-substitute-string): Declare.
23514 * eshell/em-ls.el: Adjust requires.
23515 (eshell-glob-regexp): Declare.
23516 * eshell/em-tramp.el: Adjust requires.
23517 (eshell-parse-command): Autoload.
23518 * eshell/em-xtra.el: Adjust requires.
23519 (eshell-parse-command): Autoload.
23520 * eshell/esh-ext.el: Adjust requires.
23521 (eshell-parse-command, eshell-close-handles): Autoload.
23522 * eshell/esh-io.el: Adjust requires.
23523 (eshell-output-filter): Autoload.
23524 * eshell/esh-util.el: No need to load tramp when compiling.
23525 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23527 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23528 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23529 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23530 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23531 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23532 * eshell/esh-opt.el, eshell/esh-proc.el:
23533 * eshell/esh-var.el: Adjust requires.
23534 * eshell/eshell.el: Do not require esh-util twice.
23535 (eshell-add-input-to-history): Declare.
23536 (eshell-command): Check history module is active before using it.
23538 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23540 2013-05-22 Leo Liu <sdl.web@gmail.com>
23542 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23544 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23546 * autorevert.el (auto-revert-notify-add-watch)
23547 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23548 it indicates changes in file modification time.
23550 2013-05-22 Glenn Morris <rgm@gnu.org>
23552 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23553 Always delete the autoloaded function from the noruntime and
23554 unresolved functions lists.
23556 * allout.el: No need to load epa, epg, overlay when compiling.
23557 (epg-context-set-passphrase-callback, epg-list-keys)
23558 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23559 (epg-key-user-id-list): Declare.
23561 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23562 (viper-set-parsing-style-toggling-macro)
23563 (viper-set-emacs-state-searchstyle-macros):
23564 Use called-interactively-p on Emacs.
23565 (viper-looking-back): Make it an obsolete alias. Update callers.
23566 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23567 Use looking-back rather than viper-looking-back.
23568 (viper-tmp-insert-at-eob, viper-enlarge-region)
23569 (viper-read-string-with-history, viper-register-to-point)
23570 (viper-append-to-register, viper-change-state-to-vi)
23571 (viper-backward-char-carefully, viper-forward-char-carefully)
23572 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23573 (viper-change-state-to-emacs): Declare.
23574 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23575 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23576 * emulation/viper-mous.el: Do not load viper-cmd.
23577 (viper-backward-char-carefully, viper-forward-char-carefully)
23578 (viper-forward-word, viper-adjust-window): Declare.
23580 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23582 * progmodes/idlw-help.el (idlwave-help-fontify):
23583 Use called-interactively-p.
23585 * term/w32console.el (w32-get-console-codepage)
23586 (w32-get-console-output-codepage): Declare.
23588 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23589 Remove unnecessary declarations.
23590 (dframe-message): Doc fix.
23592 * info.el (dframe-select-attached-frame, dframe-current-frame):
23595 * speedbar.el (speedbar-message): Make it an obsolete alias.
23596 Update all callers.
23597 (speedbar-with-attached-buffer)
23598 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23599 (speedbar-with-writable): Use backquote.
23600 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23601 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23602 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23603 rather than speedbar- aliases.
23604 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23605 (speedbar-make-specialized-keymap, speedbar-insert-button)
23606 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23607 (speedbar-do-function-pointer): Declare.
23608 (rmail-speedbar-button, rmail-speedbar-find-file)
23609 (rmail-speedbar-move-message):
23610 Use dframe-with-attached-buffer rather than speedbar- alias.
23611 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23612 (dframe-message, speedbar-make-specialized-keymap)
23613 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23614 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23615 (speedbar-insert-button, dframe-select-attached-frame)
23616 (dframe-maybee-jump-to-attached-frame)
23617 (speedbar-change-initial-expansion-list)
23618 (speedbar-previously-used-expansion-list-name): Declare.
23619 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23620 Use dframe-message, dframe-with-attached-buffer rather than
23622 (gud-sentinel): Silence compiler.
23623 * progmodes/vhdl-mode.el (speedbar-refresh)
23624 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23625 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23626 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23627 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23628 (speedbar-file-lists, speedbar-make-tag-line)
23629 (speedbar-line-directory, speedbar-goto-this-file)
23630 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23631 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23632 (speedbar-make-button, speedbar-reset-scanners)
23633 (speedbar-files-item-info, speedbar-line-text)
23634 (speedbar-find-file-in-frame, speedbar-set-timer)
23635 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23636 (speedbar-with-writable): Do not (re)define it.
23637 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23638 rather than speedbar- alias.
23640 2013-05-21 Leo Liu <sdl.web@gmail.com>
23642 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23644 (octave-mode): Tweak fill-nobreak-predicate.
23645 (inferior-octave-startup): Check process to avoid infinite loop.
23646 (inferior-octave): Pop to buffer first to show abornmal process
23649 2013-05-21 Glenn Morris <rgm@gnu.org>
23651 * printing.el (pr-menu-bar): Define when compiling.
23653 2013-05-21 Leo Liu <sdl.web@gmail.com>
23655 * progmodes/octave.el (octave-auto-fill): Remove.
23656 (octave-indent-new-comment-line): Improve.
23657 (octave-mode): Use auto fill mode through
23658 comment-line-break-function and fill-nobreak-predicate.
23659 (octave-goto-function-definition): Support DEFUN_DLD.
23660 (octave-beginning-of-defun): Small tweak.
23661 (octave-help): Show parent directory.
23663 2013-05-21 Glenn Morris <rgm@gnu.org>
23665 * files.el (dired-unmark):
23666 * progmodes/gud.el (gdb-input): Update declarations.
23668 * calculator.el (electric, ehelp): No need to load when compiling.
23669 (Electric-command-loop, electric-describe-mode): Declare.
23671 * doc-view.el (doc-view-current-converter-processes): Move before use.
23673 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23674 Move MODE-set-explicitly definition before use.
23676 * international/mule-diag.el (mule-diag):
23677 Don't use obsolete window-system-version.
23679 * mail/feedmail.el (smtpmail): No need to load when compiling.
23680 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23682 * mail/mail-utils.el (rfc822): No need to load when compiling.
23683 (rfc822-addresses): Autoload it.
23684 (mail-strip-quoted-names): Trivial simplification.
23686 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23687 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23689 * net/snmp-mode.el (tempo): Don't duplicate requires.
23691 * progmodes/prolog.el (info): No need to load when compiling.
23692 (comint): Require before shell requires it.
23693 (Info-goto-node): Autoload it.
23694 (Info-follow-nearest-node): Declare.
23695 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23697 * textmodes/artist.el (picture-mode-exit): Declare.
23699 * textmodes/reftex-parse.el (reftex-parse-from-file):
23700 Trivial rewrite so the compiler can parse it better.
23702 2013-05-20 Leo Liu <sdl.web@gmail.com>
23704 * progmodes/octave.el (octave-help-mode-map)
23705 (octave-help-mode-finish-hook): New variables.
23706 (octave-help-mode, octave-help-mode-finish): New functions.
23707 (octave-help): Use octave-help-mode.
23709 2013-05-20 Glenn Morris <rgm@gnu.org>
23711 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23713 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23715 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23716 start at point, so that expansion starting right after opening
23717 slash in a regexp is recognized.
23718 (ruby-syntax-before-regexp-re): New defvar, extracted from
23719 ruby-syntax-propertize-function. Since the value of this regexp
23720 is looked up at runtime now, we should be able to turn
23721 `ruby-syntax-methods-before-regexp' into a defcustom later.
23722 (ruby-syntax-propertize-function): Split regexp matching into two
23723 parts, for opening and closing slashes. That allows us to skip
23724 over string interpolations and support multiline regexps.
23725 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23726 for them, which calls `ruby-syntax-propertize-expansion'.
23727 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23728 call to `ruby-syntax-propertize-function'.
23729 (ruby-syntax-propertize-expansion): Extracted from
23730 `ruby-syntax-propertize-expansions'. Handles one expansion.
23731 (ruby-syntax-propertize-percent-literal): Leave point right after
23732 the percent symbol, so that the expression expansion rule can
23733 propertize the contents.
23734 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23736 (ruby-syntax-propertize-expansions): Remove.
23738 2013-05-18 Juri Linkov <juri@jurta.org>
23740 * man.el (Man-default-man-entry): Remove `-' from the end
23741 of the default value. (Bug#14400)
23743 2013-05-18 Glenn Morris <rgm@gnu.org>
23745 * comint.el (comint-password-prompt-regexp):
23746 Allow "password for XXX" where XXX contains colons (eg https://...).
23748 2013-05-18 Leo Liu <sdl.web@gmail.com>
23750 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23751 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23752 (octave-source-directories): Don't check process.
23753 (octave-source-directories, octave-find-definition): Doc fix.
23755 2013-05-18 Glenn Morris <rgm@gnu.org>
23757 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23758 Remove backspace/delete bindings. (Bug#14392)
23760 * cus-dep.el (custom-make-dependencies): Sort the output.
23761 (custom-versions-load-alist): Convert comment to doc.
23763 2013-05-17 Leo Liu <sdl.web@gmail.com>
23765 * newcomment.el (comment-search-backward): Stricter in finding
23766 comment start. (Bug#14303)
23768 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23769 (octave-comment-start-skip): Properly anchored.
23771 2013-05-17 Leo Liu <sdl.web@gmail.com>
23773 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23774 Clean up when turned off. (Bug#14395)
23775 (smie--highlight-matching-block-overlay): No longer buffer-local.
23776 (smie-highlight-matching-block): Adjust.
23778 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23780 Doc string fix for "nanoseconds" (Bug#14406).
23781 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23782 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23784 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23786 * calc/calc-units.el (math-extract-units): Preserve powers
23789 2013-05-17 Leo Liu <sdl.web@gmail.com>
23791 * subr.el (delete-consecutive-dups): New function.
23792 * ido.el (ido-set-matches-1): Use it.
23793 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23794 * ido.el (ido-remove-consecutive-dups): Remove.
23796 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23798 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23799 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23800 regexp-opt's `words'.
23802 2013-05-16 Leo Liu <sdl.web@gmail.com>
23804 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23805 (smie--highlight-matching-block-overlay)
23806 (smie--highlight-matching-block-lastpos)
23807 (smie--highlight-matching-block-timer): New variables.
23808 (smie-highlight-matching-block): New function.
23809 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23810 (smie-setup): Conditionally enable smie-blink-matching-open.
23812 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23814 Sync with upstream verilog-mode r840.
23815 * progmodes/verilog-mode.el (verilog-mode-version)
23816 (verilog-mode-release-date): Update.
23817 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23818 (verilog-sig-tieoff): Fix string error on
23819 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23820 (verilog-read-decls): Fix parameters confusing
23821 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23823 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23825 * subr.el (reveal-filename): New function.
23827 * loadup.el: Compute Emacs executable versions on MS-Windows,
23828 where executables have the .exe extension. Add a hard link
23829 emacs-XX.YY.ZZ.exe on MS-Windows.
23831 * Makefile.in (XARGS_LIMIT): New variable.
23832 (custom-deps, finder-data, autoloads)
23833 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23834 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23835 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23836 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23838 2013-05-16 Leo Liu <sdl.web@gmail.com>
23840 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23841 (octave-mode-menu, octave-mode-map): Remove its uses.
23843 2013-05-16 Reto Zimmermann <reto@gnu.org>
23845 Sync with upstream vhdl mode v3.34.2.
23846 * progmodes/vhdl-mode.el: Use `push' throughout.
23847 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23848 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23849 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23850 (vhdl-actual-generic-name): New option to derive actual generic name.
23851 (vhdl-port-paste-signals): Replace formal by actual generics.
23852 (vhdl-beautify): New name for old group vhdl-align. Update users.
23853 (vhdl-beautify-options): New option.
23854 (vhdl-last-input-event): New compat alias. Use throughout.
23855 (vhdl-goto-line): Replace user level function `goto-line'.
23856 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23857 vhdl-fix-statement-buffer.
23858 (vhdl-create-mode-menu): Add some entries.
23859 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23860 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23861 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23862 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23863 to force statements on one line.
23864 (vhdl-remove-trailing-spaces-region):
23865 New, split from vhdl-remove-trailing-spaces.
23866 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23867 Respect vhdl-beautify-options.
23868 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23869 (vhdl-update-sensitivity-list): Not add with index if exists without.
23870 Not include array index with signal. Ignore keywords in comments.
23871 (vhdl-get-visible-signals): Regexp tweaks.
23872 (vhdl-template-component-inst): Handle empty library.
23873 (vhdl-template-type): Add template for 'enum' type.
23874 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23875 Use vhdl-replace-string.
23876 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23877 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23878 (vhdl-speedbar-initialize): Update for above name change.
23879 (vhdl-compose-wire-components): Fix in handling of constants.
23880 (vhdl-error-regexp-emacs-alist): New variable.
23881 (vhdl-error-regexp-add-emacs): New function;
23882 adds support for new compile.el (Emacs 22+)
23883 (vhdl-generate-makefile-1): Change target order for single lib. units.
23884 Allow use of absolute file names.
23886 2013-05-16 Leo Liu <sdl.web@gmail.com>
23888 * simple.el (prog-indent-sexp): Indent enclosing defun.
23890 2013-05-15 Glenn Morris <rgm@gnu.org>
23892 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23893 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23894 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23895 (whitespace-highlight): Move to whitespace group.
23897 * comint.el (comint-source):
23898 * pcmpl-linux.el (pcmpl-linux):
23899 * shell.el (shell-faces):
23900 * eshell/esh-opt.el (eshell-opt):
23901 * international/ccl.el (ccl): Remove empty custom groups.
23903 * completion.el (dynamic-completion-mode):
23904 * jit-lock.el (jit-lock-debug-mode):
23905 * minibuffer.el (completion-in-region-mode):
23906 * type-break.el (type-break-mode-line-message-mode)
23907 (type-break-query-mode):
23908 * emulation/tpu-edt.el (tpu-edt-mode):
23909 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23910 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23911 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23913 * term/xterm.el (xterm): Change parent group to terminals.
23915 * master.el (master): Remove empty custom group.
23916 (master-mode): Remove unused :group argument.
23917 * textmodes/refill.el (refill): Remove empty custom group.
23918 (refill-mode): Remove unused :group argument.
23920 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23922 * cus-dep.el: Provide a feature.
23923 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23924 Don't mistakenly ignore files whose basenames match a basename
23925 from preloaded-file-list (eg cedet/ede/simple.el).
23926 Add a fallback method for getting :group.
23928 2013-05-15 Juri Linkov <juri@jurta.org>
23930 * isearch.el (isearch-char-by-name): Rename from
23931 `isearch-insert-char-by-name'. Doc fix.
23932 (isearch-forward): Mention `isearch-char-by-name' in
23933 the docstring. (Bug#13348)
23935 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23936 `exit-minibuffer' instead of
23937 `isearch-nonincremental-exit-minibuffer'.
23938 (isearch-edit-string): Remove mention of
23939 `isearch-nonincremental-exit-minibuffer' from docstring.
23940 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23941 (isearch-forward-exit-minibuffer)
23942 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23944 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23946 * loadup.el: Just use unversioned DOC.
23948 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23949 literals as extending to EOB.
23950 (nxml-last-fontify-end): Remove unused variable.
23951 (nxml-after-change1): Use with-silent-modifications.
23952 (nxml-extend-after-change-region): Simplify.
23953 (nxml-extend-after-change-region1): Remove function.
23954 (nxml-after-change1): Don't adjust for dependent regions.
23955 (nxml-fontify-matcher): Simplify.
23956 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23957 (xmltok-add-dependent): Remove function.
23958 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23959 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23960 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23961 unclosed <[[, <?, comment, and other literals as extending to EOB.
23962 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23963 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23965 (rng-do-some-validation-1): Don't mark dependent regions.
23966 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23967 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23968 (nxml-clear-dependent-regions): Remove functions.
23969 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23970 (nxml-ensure-scan-up-to-date):
23971 Don't clear&mark dependent regions.
23973 2013-05-15 Leo Liu <sdl.web@gmail.com>
23975 * progmodes/octave.el (octave-goto-function-definition):
23976 Improve and fix callers.
23978 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23980 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23981 the setter (bug#14387).
23983 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23984 surrounding group (bug#14402).
23986 2013-05-14 Juri Linkov <juri@jurta.org>
23988 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23991 2013-05-14 Glenn Morris <rgm@gnu.org>
23993 * progmodes/f90.el (f90-imenu-generic-expression):
23994 Fix typo in 2013-05-08 change. (Bug#14402)
23996 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23998 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23999 Remove signals for which replies are never received.
24001 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24003 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24004 (gdb-handler-alist, gdb-handler-number): Remove variables.
24005 (gdb-handler-list): New variable.
24006 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24007 (gdb-pending-handler-p, gdb-handle-reply)
24008 (gdb-remove-all-pending-triggers): New functions.
24009 (gdb-discard-unordered-replies): New defcustom.
24010 (gdb-handler): New defstruct.
24011 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24012 instead of gdb-pending-triggers. Update docstring.
24013 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24014 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24015 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24016 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24017 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24018 (gdb-frame-handler): Pending triggers are now automatically managed.
24019 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24021 (gdb-input): Automatically handles pending triggers. Update docstring.
24022 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24023 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24025 (gdb-done-or-error): Now use gdb-handle-reply.
24027 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24029 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24032 2013-05-14 Glenn Morris <rgm@gnu.org>
24034 * subr.el (user-emacs-directory-warning): New option.
24035 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24037 2013-05-14 Leo Liu <sdl.web@gmail.com>
24039 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24041 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24042 (octave-font-lock-texinfo-comment): Fix invalid search bound
24043 error: wrong side of point.
24045 2013-05-14 Glenn Morris <rgm@gnu.org>
24047 * progmodes/flymake.el (flymake-xml-program): New option.
24048 (flymake-xml-init): Use it.
24050 * term/xterm.el: Provide a feature.
24052 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24054 2013-05-13 Glenn Morris <rgm@gnu.org>
24056 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24057 Add compat aliases as a hack workaround. (Bug#14384)
24059 2013-05-13 Leo Liu <sdl.web@gmail.com>
24061 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24063 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24065 (octave-comment-start-skip): Include %!.
24066 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24068 2013-05-12 Leo Liu <sdl.web@gmail.com>
24070 * progmodes/octave.el (inferior-octave-startup): Store the value
24071 of __octave_srcdir__ for octave-source-directories.
24072 (inferior-octave-check-process): New function refactored out of
24073 inferior-octave-send-list-and-digest.
24074 (octave-source-directories)
24075 (octave-find-definition-filename-function): New variables.
24076 (octave-source-directories)
24077 (octave-find-definition-default-filename): New functions.
24078 (octave-find-definition): Improve to find functions implemented in C++.
24080 2013-05-12 Glenn Morris <rgm@gnu.org>
24082 * calendar/diary-lib.el (diary-outlook-format-1):
24083 Don't include dayname in the output. (Bug#14349)
24085 2013-05-11 Glenn Morris <rgm@gnu.org>
24087 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24089 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24090 Treat cc-provide like provide.
24092 2013-05-11 Kevin Ryde <user42@zip.com.au>
24094 * cus-dep.el (custom-make-dependencies):
24095 Use generated-autoload-load-name for the sake of files such
24096 such cedet/semantic/bovine/c.el, where the base file name
24097 is not in load-path. (Bug#5277)
24099 2013-05-11 Glenn Morris <rgm@gnu.org>
24101 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24104 2013-05-11 Leo Liu <sdl.web@gmail.com>
24106 * progmodes/octave.el (octave-indent-comment): Improve.
24107 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24108 (octave-eldoc-function-signatures, octave-eldoc-function):
24110 (octave-mode, inferior-octave-mode): Add eldoc support.
24112 2013-05-11 Richard Stallman <rms@gnu.org>
24114 * epa.el (epa-decrypt-file): Take output file name as argument
24115 and read it using `interactive'.
24117 2013-05-11 Leo Liu <sdl.web@gmail.com>
24119 * progmodes/octave.el (octave-beginning-of-line)
24120 (octave-end-of-line): Check before using up-list because it jumps
24121 out of more syntactic contructs since moving to smie.
24122 (octave-indent-comment): New function.
24123 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24124 (octave-begin-keywords, octave-end-keywords)
24125 (octave-reserved-words, octave-smie-bnf-table)
24126 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24128 2013-05-11 Glenn Morris <rgm@gnu.org>
24130 * faces.el (internal-face-x-get-resource):
24131 * frame.el (ns-display-monitor-attributes-list):
24132 * calc/calc-aent.el (math-to-radians-2):
24133 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24136 * calc/calc-menu.el: Make it loadable in isolation.
24138 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24139 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24140 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24141 (eudc-bbdb-query-internal): Require 'bbdb.
24143 * lpr.el (lpr-headers-switches):
24144 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24146 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24148 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24150 * term.el (term-set-escape-char): Make it idempotent.
24152 2013-05-10 Leo Liu <sdl.web@gmail.com>
24154 * progmodes/octave.el (inferior-octave-completion-table):
24155 No longer a function and all uses changed. Use cache to speed up
24156 completion due to bug#11906.
24157 (octave-beginning-of-defun): Re-write to be more general.
24159 2013-05-10 Glenn Morris <rgm@gnu.org>
24161 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24163 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24165 * comint.el (comint-redirect-send-command-to-process): Use :around
24166 rather than :override for comint-redirect-filter.
24167 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24168 Call it instead of comint-redirect-original-filter-function (which
24169 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24171 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24173 * frame.el (display-monitor-attributes-list): Add NS case.
24174 (ns-display-monitor-attributes-list): Declare.
24176 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24178 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24180 2013-05-09 Glenn Morris <rgm@gnu.org>
24182 * international/fontset.el (vertical-centering-font-regexp):
24183 Set standard-value.
24185 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24187 * bookmark.el (bookmark-search-delay):
24188 * cus-start.el (vertical-centering-font-regexp):
24189 * ps-mule.el (ps-mule-font-info-database-default):
24190 * ps-print.el (ps-default-fg, ps-default-bg):
24191 * type-break.el (type-break-good-break-interval):
24192 * whitespace.el (whitespace-indentation-regexp)
24193 (whitespace-space-after-tab-regexp):
24194 * emacs-lisp/testcover.el (testcover-1value-functions)
24195 (testcover-noreturn-functions, testcover-progn-functions)
24196 (testcover-prog1-functions):
24197 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24198 * eshell/em-glob.el (eshell-glob-translate-alist):
24199 * play/tetris.el (tetris-tty-colors):
24200 * progmodes/cpp.el (cpp-face-default-list):
24201 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24202 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24203 (idlwave-help-browser-generic-args):
24204 * progmodes/make-mode.el (makefile-special-targets-list):
24205 * progmodes/python.el (python-shell-virtualenv-path):
24206 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24207 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24208 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24209 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24210 * textmodes/reftex-vars.el (reftex-format-label-function):
24211 * textmodes/remember.el (remember-diary-file): Fix custom types.
24213 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24216 2013-05-09 Leo Liu <sdl.web@gmail.com>
24218 * progmodes/octave.el (inferior-octave-completion-at-point):
24219 Restore file completion. (Bug#14300)
24220 (inferior-octave-startup): Fix incorrect highlighting for the
24223 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24225 * progmodes/ruby-mode.el: First cut at SMIE support.
24226 (ruby-use-smie): New var.
24227 (ruby-smie-grammar): New constant.
24228 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24229 (ruby-smie--forward-token, ruby-smie--backward-token)
24230 (ruby-smie-rules): New functions.
24231 (ruby-mode-variables): Setup SMIE if applicable.
24233 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24235 * simple.el (line-move-visual): Signal beginning/end of buffer
24236 only if vertical-motion moved less than it was requested. Avoids
24237 silly incorrect error messages when there are display strings with
24238 multiple newlines at EOL.
24240 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24242 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24243 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24244 (prolog-char-quote-workaround):
24245 * progmodes/cperl-mode.el (cperl-under-as-char):
24246 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24248 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24250 (vhdl-mode-syntax-table-init): Remove.
24252 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24255 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24257 (ld-script-font-lock-keywords):
24258 Change regexps to use things like \_< and \_>.
24260 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24261 Change all regexps to use things like \_< and \_>.
24263 * progmodes/autoconf.el (autoconf-definition-regexp)
24264 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24265 Handle a _ with symbol syntax.
24266 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24268 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24269 Consolidate declaration.
24270 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24272 (ada-create-syntax-table): Remove.
24273 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24274 already has the right syntax nowadays.
24275 (ada-goto-next-word): Don't change the syntax of "_".
24277 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24280 2013-05-08 Sam Steingold <sds@gnu.org>
24282 * thingatpt.el (thing-at-point): Accept optional second argument
24283 NO-PROPERTIES to strip the text properties from the return value.
24284 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24285 to `thing-at-point' instead of stripping the properties ourselves.
24286 Also, when `thing-at-point' fails to find a url, prepend "http://"
24287 to the filename at point on the assumption that the user is
24288 pointing at something like gnu.org/gnu.
24290 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24292 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24293 * faces.el (crm-separator):
24294 Silence byte-compiler.
24296 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24297 (tool-bar-map): Remove unneeded defvars.
24299 2013-05-08 Leo Liu <sdl.web@gmail.com>
24301 Re-work a fix for bug#10994 based on Le Wang's patch.
24302 * ido.el (ido-remove-consecutive-dups): New helper.
24303 (ido-completing-read): Use it.
24304 (ido-chop): Revert fix for bug#10994.
24306 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24308 * cus-edit.el (custom-save-variables):
24309 Pretty-print long values. (Bug#14187)
24311 2013-05-08 Glenn Morris <rgm@gnu.org>
24313 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24314 (m4-mode-syntax-table): Init in the defvar.
24315 (m4-mode-abbrev-table): Let define-derived-mode define it.
24317 2013-05-08 Tom Tromey <tromey@redhat.com>
24319 * progmodes/m4-mode.el (m4-mode-syntax-table):
24320 Do not treat "_" as word constituent. (Bug#14167)
24322 2013-05-07 Glenn Morris <rgm@gnu.org>
24324 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24325 Remove explicit eshell-isearch-cancel-map.
24327 * progmodes/f90.el (f90-smart-end-names): New option.
24328 (f90-smart-end): Doc fix.
24329 (f90-end-block-optional-name): New constant.
24330 (f90-block-match): Respect f90-smart-end-names.
24332 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24334 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24335 about implicit semi-colons (bug#14218).
24337 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24339 * frame.el (display-monitor-attributes-list)
24340 (frame-monitor-attributes): New functions.
24342 2013-05-06 Leo Liu <sdl.web@gmail.com>
24344 * progmodes/octave.el (octave-syntax-propertize-function): Change
24345 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24346 (octave-font-lock-keywords): Use octave-operator-regexp.
24347 (octave-completion-at-point): Rename from
24348 octave-completion-at-point-function.
24349 (inferior-octave-directory-tracker): Robustify.
24350 (octave-text-functions): Remove and fix its uses. No such things
24353 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24355 * emacs-lisp/trace.el (trace--display-buffer): New function.
24356 (trace-make-advice): Use it.
24358 2013-05-06 Juri Linkov <juri@jurta.org>
24360 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24361 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24363 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24364 in the help string. (Bug#12985)
24366 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24368 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24370 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24372 * progmodes/perl-mode.el: Add support for here documents.
24373 (perl-syntax-propertize-function): Match here-doc markers.
24374 (perl-syntax-propertize-special-constructs): Find their end.
24375 (perl-imenu-generic-expression): Use [:alnum:].
24377 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24378 (advice--add-function): Refresh the advice if already present
24381 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24383 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24385 2013-05-06 Glenn Morris <rgm@gnu.org>
24387 * w32-fns.el (w32-charset-info-alist): Declare.
24389 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24390 of its defcustom properties.
24391 (eshell-cmpl-initialize): No need to load pcomplete.
24393 * generic-x.el: No need to require comint when compiling.
24395 * net/eudc-export.el: Make it loadable without bbdb.
24396 (top-level): Use require rather than load-library.
24397 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24398 (eudc-batch-export-records-to-bbdb)
24399 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24402 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24404 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24405 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24406 some tweaks, instead.
24408 2013-05-05 Leo Liu <sdl.web@gmail.com>
24410 * progmodes/octave.el (octave-font-lock-keywords)
24411 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24412 (inferior-octave-send-list-and-digest): Improve error message.
24413 (octave-mode, inferior-octave-mode): Use setq-local.
24414 (octave-help): Set info-lookup-mode.
24416 2013-05-05 Richard Stallman <rms@gnu.org>
24418 * vc/compare-w.el (compare-windows-whitespace):
24419 Treat no-break space as whitespace.
24421 * mail/rmailsum.el (rmail-summary-rmail-update):
24422 Detect empty summary and don't change selected message.
24423 (rmail-summary-goto-msg): Likewise.
24425 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24426 Doc fixes, rename args.
24428 2013-05-05 Alan Mackenzie <acm@muc.de>
24430 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24432 2013-05-05 Juri Linkov <juri@jurta.org>
24434 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24435 to not add the length of the summary segment to the return value.
24438 2013-05-05 Leo Liu <sdl.web@gmail.com>
24440 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24441 (inferior-octave-output-filter): Remove.
24442 (octave-send-region, inferior-octave-startup): Fix callers.
24443 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24444 (octave-binary-file-extensions): New user variable.
24445 (octave-find-definition): Confirm if opening binary files.
24446 (octave-help-file): Use octave-find-definition to get the binary
24448 (octave-help): Adjust for octave-help-file change.
24450 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24452 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24453 Merge the two entries that handle function definitions.
24454 (pascal--syntax-propertize): New const.
24455 (pascal-mode): Use it. Use setq-local.
24457 2013-05-04 Glenn Morris <rgm@gnu.org>
24459 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24460 (diary-from-outlook): Respect diary-from-outlook-function.
24462 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24464 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24465 Move the declaration from C.
24466 (read-minibuffer, eval-minibuffer): Move from C.
24467 (completion-setup-function): Avoid minibuffer-completion-contents.
24469 2013-05-03 Leo Liu <sdl.web@gmail.com>
24471 * progmodes/octave.el (octave-font-lock-keywords): Do not
24472 dehighlight 'end' in comments or strings.
24473 (octave-completing-read, octave-goto-function-definition):
24475 (octave-help-buffer): New user variable.
24476 (octave-help-file, octave-help-function): New button types.
24477 (octave-help): New command and bind it to C-h ;.
24478 (octave-find-definition): New command and bind it to M-.
24479 (user-error): Alias to error if not defined.
24481 2013-05-02 Leo Liu <sdl.web@gmail.com>
24483 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24485 (octave-font-lock-keywords): Include [ and {.
24487 2013-05-02 Leo Liu <sdl.web@gmail.com>
24489 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24490 (inferior-octave): Remove calling comint-mode and return the buffer.
24491 (inferior-octave-startup): Cosmetic changes.
24493 2013-05-02 Leo Liu <sdl.web@gmail.com>
24495 * progmodes/octave.el (octave-syntax-propertize-function):
24496 Include the case when ' is at line beginning. (Bug#14336)
24498 2013-05-02 Glenn Morris <rgm@gnu.org>
24500 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24501 * desktop.el (vc-dir-mode): Just autoload it here.
24503 2013-05-02 Alan Mackenzie <acm@muc.de>
24505 Eliminate variable c-standard-font-lock-fontify-region-function.
24506 * progmodes/cc-mode.el
24507 (c-standard-font-lock-fontify-region-function): Remove.
24508 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24510 2013-05-01 Leo Liu <sdl.web@gmail.com>
24512 * progmodes/octave.el: Compatible with older emacs-24 releases.
24513 (inferior-octave-has-built-in-variables): Remove. Built-in
24514 variables were removed from Octave in 2007.
24515 (inferior-octave-startup): Fix uses.
24516 (comint-line-beginning-position): Remove compatibility code for
24519 2013-05-01 Juri Linkov <juri@jurta.org>
24521 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24523 2013-05-01 Juri Linkov <juri@jurta.org>
24525 * comint.el (comint-previous-matching-input): Don't print message
24526 "History item: %d" when `isearch-mode' is active.
24527 (comint-history-isearch-message): Print message "History item: %d"
24528 when `comint-input-ring-index' is not empty and this function is
24529 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24531 2013-05-01 Leo Liu <sdl.web@gmail.com>
24533 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24534 definitions. Use completion-at-point to insert keywords.
24535 (octave-abbrev-start): Remove.
24536 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24538 2013-04-30 Leo Liu <sdl.web@gmail.com>
24540 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24543 2013-04-30 Alan Mackenzie <acm@muc.de>
24545 Handle arbitrarily long C++ member initialization lists.
24546 * progmodes/cc-engine.el (c-back-over-member-initializers):
24548 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24549 (most) member init lists.
24551 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24553 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24556 2013-04-30 Leo Liu <sdl.web@gmail.com>
24558 * progmodes/octave.el (octave-variables): Remove. No builtin
24559 variables any more. All converted to functions.
24560 (octave-font-lock-keywords, octave-completion-at-point-function):
24562 (octave-font-lock-texinfo-comment): New user variable.
24563 (octave-texinfo-font-lock-keywords): New variable for texinfo
24565 (octave-function-comment-block): New face.
24566 (octave-font-lock-texinfo-comment): New function.
24567 (octave-mode): Font lock texinfo comment block.
24569 2013-04-29 Leo Liu <sdl.web@gmail.com>
24571 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24572 indexing expression.
24573 (octave-continuation-string): Do not use \.
24574 (inferior-octave-complete-impossible): Remove.
24575 (inferior-octave-completion-table)
24576 (inferior-octave-completion-at-point): Remove its uses.
24577 (inferior-octave-startup): completion_matches was introduced to
24578 Octave in 1996 so safe to assume it.
24579 (octave-function-file-comment): Improve to follow how Octave does it.
24580 (octave-update-function-file-comment): Tweak.
24582 2013-04-29 Leo Liu <sdl.web@gmail.com>
24584 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24585 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24586 (octave-function-file-comment): Fix typo.
24587 (octave-sync-function-file-names): Use read-char-choice.
24589 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24591 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24592 to t for the less important warnings.
24594 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24596 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24598 2013-04-27 Glenn Morris <rgm@gnu.org>
24600 * vc/log-view.el (log-view-current-entry):
24601 Treat "---" separator lines as part of the following rev. (Bug#14169)
24603 2013-04-27 Juri Linkov <juri@jurta.org>
24605 * subr.el (read-number): Doc fix about using it by interactive
24606 code letter `n'. (Bug#14254)
24608 2013-04-27 Juri Linkov <juri@jurta.org>
24610 * desktop.el (desktop-auto-save-timeout): New option.
24611 (desktop-file-checksum): New variable.
24612 (desktop-save): Add optional arg `auto-save' and don't auto-save
24613 if nothing changed.
24614 (desktop-auto-save-timer): New variable.
24615 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24616 (after-init-hook): Call `desktop-auto-save-set-timer'.
24617 Suggested by Reuben Thomas <rrt@sc3d.org> in
24618 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24620 2013-04-27 Leo Liu <sdl.web@gmail.com>
24622 * progmodes/octave.el (octave-function-file-p)
24623 (octave-skip-comment-forward, octave-function-file-comment)
24624 (octave-update-function-file-comment): New functions.
24625 (octave-mode-map): Bind C-c ; to
24626 octave-update-function-file-comment.
24627 (octave-mode-menu): Add octave-update-function-file-comment.
24628 (octave-mode, inferior-octave-mode): Fix doc-string.
24629 (octave-insert-defun): Conform to Octave's coding convention.
24632 * files.el (basic-save-buffer): Don't let errors in
24633 before-save-hook prevent saving buffer.
24635 2013-04-20 Roland Winkler <winkler@gnu.org>
24637 * faces.el (read-face-name): Use completing-read if arg multiple
24640 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24642 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24643 displayed, move point to after the totals line.
24644 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24647 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24649 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24650 Add current dir to the load-path.
24651 (package-generate-autoloads): Don't rely on
24652 autoload-ensure-default-file.
24654 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24656 * textmodes/remember.el (remember-store-in-files): Document that
24657 the file name format is passed to `format-time-string'.
24659 2013-04-26 Leo Liu <sdl.web@gmail.com>
24661 * progmodes/octave.el (octave-sync-function-file-names): New function.
24662 (octave-mode): Use it in before-save-hook.
24664 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24666 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24669 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24670 \n and comment, even if it's not an implicit ; (bug#14218).
24672 2013-04-26 Glenn Morris <rgm@gnu.org>
24674 * subr.el (read-number): Once more use `read' rather than
24675 `string-to-number', to trap non-numeric input. (Bug#14254)
24677 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24679 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24680 Use `syntax-multiline' text property consistently instead of
24681 `font-lock-multiline'. (Bug#14237)
24683 2013-04-26 Glenn Morris <rgm@gnu.org>
24685 * emacs-lisp/shadow.el (list-load-path-shadows):
24686 No longer necessary to check for duplicate simple.el, since
24687 2012-07-07 change to init_lread to not include installation lisp
24688 directories in load-path when running uninstalled. (Bug#14270)
24690 2013-04-26 Leo Liu <sdl.web@gmail.com>
24692 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24693 (octave-mode, inferior-octave-mode): Use setq-local.
24694 (octave-not-in-string-or-comment-p): Rename to
24695 octave-in-string-or-comment-p.
24696 (octave-in-comment-p, octave-in-string-p)
24697 (octave-in-string-or-comment-p): Replace defsubst with defun.
24699 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24701 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24703 2013-04-25 Bastien Guerry <bzg@gnu.org>
24705 * textmodes/remember.el (remember-data-directory)
24706 (remember-directory-file-name-format): Fix custom types.
24708 2013-04-25 Leo Liu <sdl.web@gmail.com>
24710 * progmodes/octave.el (octave-completion-at-point-function):
24711 Make use of inferior octave process.
24712 (octave-initialize-completions): Remove.
24713 (inferior-octave-completion-table): New function.
24714 (inferior-octave-completion-at-point): Use it.
24715 (octave-completion-alist): Remove.
24717 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24719 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24720 (opascal-mode-syntax-table): New var.
24721 (opascal-literal-kind, opascal-is-literal-end)
24722 (opascal-literal-token-at): Rewrite.
24723 (opascal--literal-start-re, opascal-font-lock-keywords)
24724 (opascal--syntax-propertize): New constants.
24725 (opascal-font-lock-defaults): Adjust.
24726 (opascal-mode): Use them. Set comment-<foo> variables as well.
24727 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24728 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24729 (delphi-other-face, opascal-other-face): Remove face variables.
24730 (opascal-save-state): Remove macro.
24731 (opascal-fontifying-progress-step): Remove constant.
24732 (opascal--ignore-changes): Remove var.
24733 (opascal-set-token-property, opascal-parse-next-literal)
24734 (opascal-is-stable-literal, opascal-complete-literal)
24735 (opascal-is-literal-start, opascal-face-of)
24736 (opascal-parse-region, opascal-parse-region-until-stable)
24737 (opascal-fontify-region, opascal-after-change)
24738 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24739 (opascal-debug-parse-region, opascal-debug-parse-window)
24740 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24741 (opascal-debug-fontify-buffer): Remove.
24742 (opascal-debug-mode-map): Adjust accordingly.
24744 2013-04-25 Leo Liu <sdl.web@gmail.com>
24746 Merge octave-mod.el and octave-inf.el into octave.el with some
24748 * progmodes/octave.el: New file renamed from octave-mod.el.
24749 * progmodes/octave-inf.el: Merged into octave.el.
24750 * progmodes/octave-mod.el: Renamed to octave.el.
24752 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24754 * textmodes/reftex-vars.el
24755 (reftex-label-ignored-macros-and-environments): New defcustom.
24757 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24759 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24761 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24762 (smie-indent-keyword): Improve the check to ensure that the next
24763 comment is really on the same line.
24764 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24766 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24767 semi-colons if the line is not otherwise empty (bug#14218).
24769 2013-04-25 Glenn Morris <rgm@gnu.org>
24771 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24773 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24775 * progmodes/opascal.el (opascal-set-token-property): Rename from
24776 opascal-set-text-properties and only set `token' (bug#14134).
24777 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24778 (opascal-literal-text-properties): Remove.
24779 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24782 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24784 * textmodes/remember.el (remember-handler-functions): Add an
24785 option for a new handler `remember-store-in-files'.
24786 (remember-data-directory, remember-directory-file-name-format):
24788 (remember-store-in-files): New function to store remember notes
24789 as separate files within a directory.
24791 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24793 * progmodes/compile.el (compilation-next-error-function):
24794 Pass "formats" to compilation-find-file (bug#11777).
24796 2013-04-24 Glenn Morris <rgm@gnu.org>
24798 * vc/vc-bzr.el (vc-bzr-print-log):
24799 * vc/vc-hg.el (vc-hg-print-log):
24800 * vc/vc-svn.el (vc-svn-print-log):
24801 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24803 * vc/vc-bzr.el (vc-bzr-print-log):
24804 * vc/vc-cvs.el (vc-cvs-print-log):
24805 * vc/vc-git.el (vc-git-print-log):
24806 * vc/vc-hg.el (vc-hg-print-log):
24807 * vc/vc-mtn.el (vc-mtn-print-log):
24808 * vc/vc-rcs.el (vc-rcs-print-log):
24809 * vc/vc-sccs.el (vc-sccs-print-log):
24810 * vc/vc-svn.el (vc-svn-print-log):
24811 * vc/vc.el (vc-print-log-internal): Doc fixes.
24813 2013-04-23 Glenn Morris <rgm@gnu.org>
24815 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24816 Remove venerable code attempting to avoid substitute-command-keys.
24818 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24820 * textmodes/reftex-vars.el (reftex-label-regexps):
24821 Call `reftex-compile-variables' after changes to this variable.
24823 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24825 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24826 Use lexical-binding.
24827 (jit-lock-force-redisplay): Use markers, check buffer's continued
24828 existence and beware narrowed buffers.
24829 (jit-lock-fontify-now): Adjust call accordingly.
24831 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24833 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24834 to avoid misleading the user.
24836 2013-04-22 Leo Liu <sdl.web@gmail.com>
24838 * info-look.el: Prefer latex2e.info. (Bug#14240)
24840 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24842 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24844 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24845 * net/tramp.el (tramp-call-process): ... here.
24846 (tramp-set-completion-function, tramp-parse-putty):
24847 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24848 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24849 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24850 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24851 (tramp-call-local-coding-command): Use `tramp-call-process'
24852 instead of `tramp-compat-call-process'.
24854 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24855 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24856 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24857 (tramp-find-inline-compress): Improve traces.
24858 (tramp-maybe-send-script): Check for Perl binary.
24859 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24861 2013-04-22 Daiki Ueno <ueno@gnu.org>
24863 * epg.el (epg-context-pinentry-mode): New function.
24864 (epg-context-set-pinentry-mode): New function.
24865 (epg--start): Pass --pinentry-mode option to gpg command.
24867 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24869 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24870 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24871 `completion-at-point'. (Bug#13774)
24873 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24874 default key binding for `describe-distribution' has been moved to
24875 `C-h C-o'. (Bug#13970)
24877 2013-04-21 Glenn Morris <rgm@gnu.org>
24879 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24881 (vc-print-log): Clarify interactive prompt.
24883 2013-04-20 Glenn Morris <rgm@gnu.org>
24885 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24886 No longer include timestamp etc information.
24888 2013-04-20 Roland Winkler <winkler@gnu.org>
24890 * faces.el (read-face-name): Bug fix, return just one face if arg
24891 multiple is nil. (Bug#14209)
24893 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24895 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24896 (remove-function): Autoload.
24898 * comint.el (comint-redirect-original-filter-function): Remove.
24899 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24900 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24901 (vc-cvs-annotate-command):
24902 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24903 * progmodes/prolog.el (prolog-consult-compile):
24904 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24905 Use add/remove-function instead.
24906 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24907 (gud-tooltip-process-output, gud-tooltip-tips):
24908 Use add/remove-function instead.
24909 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24910 (scheme-interaction-mode, exit-scheme-interaction-mode):
24911 Use add/remove-function instead.
24913 * vc/vc-dispatcher.el: Use lexical-binding.
24914 (vc--process-sentinel): Rename from vc-process-sentinel.
24915 Change last arg to be the code to run. Don't use vc-previous-sentinel
24916 and vc-sentinel-commands any more.
24917 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24918 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24920 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24922 * progmodes/sh-script.el (sh-imenu-generic-expression):
24923 Handle function names with a single character. (Bug#14111)
24925 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24927 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24928 for subroutines defined in an eval (bug#14182).
24930 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24932 * bookmark.el (bookmark-completing-read): Improve handling of empty
24933 string (bug#14176).
24935 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24937 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24939 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24941 New faster Imenu implementation (bug#14058).
24942 * progmodes/python.el (python-imenu-prev-index-position)
24943 (python-imenu-format-item-label-function)
24944 (python-imenu-format-parent-item-label-function)
24945 (python-imenu-format-parent-item-jump-label-function):
24947 (python-imenu-format-item-label)
24948 (python-imenu-format-parent-item-label)
24949 (python-imenu-format-parent-item-jump-label)
24950 (python-imenu--put-parent, python-imenu--build-tree)
24951 (python-imenu-create-index, python-imenu-create-flat-index)
24952 (python-util-popn): New functions.
24953 (python-mode): Set imenu-create-index-function to
24954 python-imenu-create-index.
24956 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24958 * winner.el (winner-active-region): Use region-active-p, activate-mark
24959 and deactivate-mark (bug#14225).
24961 * simple.el (deactivate-mark): Don't inline it.
24963 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24965 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24967 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24969 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24970 file extensions from the archive-mode entry in order to prefer
24971 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24973 2013-04-18 Leo Liu <sdl.web@gmail.com>
24975 * bindings.el (help-event-list): Add ?\?.
24977 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24979 * subr.el (with-wrapper-hook): Declare obsolete.
24980 * simple.el (filter-buffer-substring-function): New hook.
24981 (filter-buffer-substring): Use it.
24982 (filter-buffer-substring-functions): Mark obsolete.
24983 * minibuffer.el (completion-in-region-function): New hook.
24984 (completion-in-region): Use it.
24985 (completion-in-region-functions): Mark obsolete.
24986 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24987 * abbrev.el (abbrev-expand-function): New hook.
24988 (expand-abbrev): Use it.
24989 (abbrev-expand-functions): Mark obsolete.
24990 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24991 and :filter-return.
24993 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24995 * progmodes/python.el (python-nav--syntactically): Fix cornercases
24996 and do not care about match data.
24998 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25000 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25001 completion tables when completing error conditions and
25002 `declare' arguments.
25003 (lisp-complete-symbol, field-complete): Mark as obsolete.
25004 (check-parens): Unmatched parens are user errors.
25005 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25007 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25009 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25010 command changed buffer (ie. `flyspell-pre-buffer' is not current
25011 buffer), which prevents making decisions based on invalid value of
25012 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25013 cause an error when `flyspell-pre-point' was nil after switching
25015 (flyspell-post-command-hook): No longer needs to change buffers when
25016 checking pre-word. While at it remove unnecessary progn.
25018 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25020 * textmodes/ispell.el (ispell-add-per-file-word-list):
25021 Fix `flyspell-correct-word-before-point' error when accepting
25022 words and `coment-padding' is an integer by using
25023 `comment-normalize-vars' (Bug #14214).
25025 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25027 New defun movement commands.
25028 * progmodes/python.el (python-nav--syntactically)
25029 (python-nav--forward-defun, python-nav-backward-defun)
25030 (python-nav-forward-defun): New functions.
25032 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25034 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25035 (python-syntax-context): Use named compiler-macro for backwards
25036 compatibility with Emacs 24.x.
25038 2013-04-17 Leo Liu <sdl.web@gmail.com>
25040 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25041 octave-hide-process-buffer.
25043 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25045 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25048 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25050 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25051 Fix adjustment of offset when receiving incomplete responses from GDB
25054 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25056 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25057 python-mode-abbrev-table.
25058 (python-skeleton-define): Adjust accordingly.
25059 (python-mode-abbrev-table): New table that inherits from it so that
25060 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25062 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25063 (abbrev-symbol): Use it.
25064 (abbrev--before-point): Use it since we already handle inheritance.
25066 2013-04-16 Leo Liu <sdl.web@gmail.com>
25068 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25069 binding to info-lookup-symbol.
25071 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25073 * minibuffer.el (completion--twq-all):
25074 * term/ns-win.el (ns-initialize-window-system):
25075 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25077 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25079 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25082 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25084 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25086 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25087 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25089 (ruby-end-of-defun): Remove the unused arg, change the docstring
25090 to reflect that this function is only used as the value of
25091 `end-of-defun-function'.
25092 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25093 to reflect an earlier change that beginning/end-of-defun functions
25094 jump between methods in a class definition, as well as top-level
25097 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25099 * minibuffer.el (minibuffer-complete): Don't just scroll
25100 a *Completions* that's been iconified.
25101 (minibuffer-force-complete): Make sure repetitions do cycle when going
25102 through completion-in-region -> minibuffer-complete.
25104 2013-04-15 Alan Mackenzie <acm@muc.de>
25106 Correct the placement of c-cpp-delimiters when there're #s not at
25109 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25110 place a submatch around the #.
25111 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25112 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25115 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25117 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25118 (advice--member-p): New arg `name'.
25119 (advice--add-function, advice-member-p): Use it (bug#14202).
25121 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25123 Reformulate java imenu-generic-expression.
25124 The old expression contained ill formed regexps.
25126 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25127 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25128 (cc-imenu-java-method-arg-regexp): New defconsts.
25129 (cc-imenu-java-build-type-args-regex): New defun.
25130 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25131 handling of spaces in the regexp.
25133 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25135 * textmodes/ispell.el (ispell-command-loop): Remove
25136 flyspell highlight of a word when ispell accepts it (bug #14178).
25138 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25140 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25141 uses code from the previous `ange-ftp-run-real-handler'.
25142 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25143 only in case that function exist. This is needed for proper
25144 unloading of Tramp.
25146 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25148 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25150 * textmodes/reftex.el (reftex-compile-variables): Use it.
25152 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25154 * files.el (normal-mode): Only use default major-mode if no other mode
25157 * emacs-lisp/trace.el (trace-values): New function.
25159 * files.el: Allow : in local variables (bug#14089).
25160 (hack-local-variable-regexp): New var.
25161 (hack-local-variables-prop-line, hack-local-variables): Use it.
25163 2013-04-13 Roland Winkler <winkler@gnu.org>
25165 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25166 data before it gets modified by bibtex-beginning-of-entry.
25168 2013-04-13 Roland Winkler <winkler@gnu.org>
25170 * textmodes/bibtex.el (bibtex-url): Doc fix.
25172 2013-04-13 Roland Winkler <winkler@gnu.org>
25174 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25175 does not visit a BibTeX file, exclude it from the list of buffers
25176 returned by bibtex-initialize.
25178 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25180 * window.el (split-window): Remove interactive form, since as a
25181 command this function is a special case of split-window-below.
25182 Correct doc string.
25184 2013-04-12 Roland Winkler <winkler@gnu.org>
25186 * faces.el (read-face-name): Do not override value of arg default.
25187 Allow single faces and strings as default values. Remove those
25188 elements from return value that are not faces.
25189 (describe-face): Simplify.
25190 (face-at-point): New optional args thing and multiple so that this
25191 function can provide the same functionality previously provided by
25193 (make-face-bold, make-face-unbold, make-face-italic)
25194 (make-face-unitalic, make-face-bold-italic, invert-face)
25195 (modify-face, read-face-and-attribute): Use face-at-point.
25197 * cus-edit.el (customize-face, customize-face-other-window)
25198 * cus-theme.el (custom-theme-add-face)
25199 * face-remap.el (buffer-face-set)
25200 * facemenu.el (facemenu-set-face): Use face-at-point.
25202 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25204 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25206 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25208 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25209 off leading { and trailing } from field values.
25211 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25213 * emacs-lisp/timer.el (timer--check): New function.
25214 (timer--time, timer-set-function, timer-event-handler): Use it.
25215 (timer-set-idle-time): Simplify.
25216 (timer--activate): CSE.
25217 (timer-event-handler): Give more info in error message.
25218 (internal-timer-start-idle): New function, moved from C.
25220 * mpc.el (mpc-proc): Add `restart' argument.
25221 (mpc-proc-cmd): Use it.
25222 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25223 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25226 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25228 * progmodes/sh-script.el: Implement `sh-mode' own
25229 `add-log-current-defun-function' (bug#14112).
25230 (sh-current-defun-name): New function.
25231 (sh-mode): Use the function.
25233 2013-04-09 Bastien Guerry <bzg@gnu.org>
25235 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25237 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25239 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25241 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25244 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25246 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25249 2013-04-07 Leo Liu <sdl.web@gmail.com>
25251 * pcmpl-x.el: New file.
25253 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25255 Do not set x-display-name until X connection is established.
25256 This is needed to prevent from weird situation described at
25257 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25258 * frame.el (make-frame): Set x-display-name after call to
25259 window system initialization function, not before.
25260 * term/x-win.el (x-initialize-window-system): Add optional
25261 display argument and use it.
25262 * term/w32-win.el (w32-initialize-window-system):
25263 * term/ns-win.el (ns-initialize-window-system):
25264 * term/pc-win.el (msdos-initialize-window-system):
25265 Add compatible optional display argument.
25267 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25269 * files.el (normal-backup-enable-predicate): On MS-Windows and
25270 MS-DOS compare truenames of temporary-file-directory and of the
25271 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25272 don't fail comparison by compare-strings. Also, compare file
25273 names case-insensitively on MS-Windows and MS-DOS.
25275 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25277 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25278 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25280 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25282 * whitespace.el (whitespace-color-on, whitespace-color-off):
25283 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25285 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25287 * ispell.el (ispell-set-spellchecker-params):
25288 Really set `ispell-args' for all equivs.
25290 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25292 * ido.el (ido-completions): Use extra elements of ido-decorations
25294 (ido-decorations): Update docstring.
25296 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25298 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25299 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25300 nil during initialization, in order not to miss changes since the
25301 file was opened. (Bug#14140)
25303 2013-04-05 Leo Liu <sdl.web@gmail.com>
25305 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25307 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25309 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25311 2013-04-04 Glenn Morris <rgm@gnu.org>
25313 * electric.el (electric-pair-inhibit-predicate): Add :version.
25315 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25317 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25318 when a package is required several times (bug#14082).
25320 2013-04-04 Roland Winkler <winkler@gnu.org>
25322 * faces.el (read-face-name): Behave as promised by the docstring.
25323 Assume that arg default is a list of faces.
25324 (describe-face): Call read-face-name with list of default faces.
25326 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25328 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25329 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25330 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25332 (bookmark-exit-hook-internal): Save even if list is empty.
25334 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25336 * emacs-lisp/package.el (package-pinned-packages): New var.
25337 (package--add-to-archive-contents): Obey it (bug#14118).
25339 2013-04-03 Alan Mackenzie <acm@muc.de>
25341 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25342 Also adapt to the new values of element 7 of a parse state.
25344 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25345 parameter `not-in-delimiter'. Handle being inside comment opener.
25346 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25347 character in case we're typing a '*' after a '/'.
25348 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25349 instead by passing the parameter to c-state-pp-to-literal.
25351 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25352 for elt. 7 of a parse state.
25354 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25356 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25357 * international/latin1-disp.el, international/mule-util.el:
25358 * language/cyril-util.el, language/european.el, language/ind-util.el:
25359 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25360 * language/tibetan.el, language/viet-util.el:
25361 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25363 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25365 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25366 (electric-pair-post-self-insert-function): Use it.
25367 (electric-pair-default-inhibit): New function, extracted from
25368 electric-pair-post-self-insert-function.
25370 2013-03-31 Roland Winkler <winkler@gnu.org>
25372 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25374 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25376 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25378 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25380 Un-indent after "pass" and "return" statements (Bug#13888)
25381 * progmodes/python.el (python-indent-block-enders): New var.
25382 (python-indent-calculate-indentation): Use it.
25384 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25386 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25387 defun. Defining it as defalias could introduce too eager
25388 byte-compiler optimization. (Bug#14030)
25390 2013-03-30 Chong Yidong <cyd@gnu.org>
25392 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25394 2013-03-30 Leo Liu <sdl.web@gmail.com>
25396 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25397 (kmacro-execute-from-register): Pass the keyboard macro to
25398 kmacro-call-macro or repeating won't work correctly.
25400 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25402 * progmodes/subword.el: Back to using `forward-symbol'.
25404 * subr.el (forward-whitespace, forward-symbol)
25405 (forward-same-syntax): Move from thingatpt.el.
25407 2013-03-29 Leo Liu <sdl.web@gmail.com>
25409 * kmacro.el (kmacro-to-register): New command.
25410 (kmacro-execute-from-register): New function.
25411 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25413 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25415 * mpc.el: Use defvar-local and setq-local.
25416 (mpc--proc-connect): Connection failures are not bugs.
25417 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25418 (mpc-volume-map): Bind to the up-events.
25420 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25422 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25423 instead of `forward-symbol'.
25425 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25427 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25428 (edebug--recursive-edit): Use it.
25429 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25430 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25432 2013-03-28 Leo Liu <sdl.web@gmail.com>
25434 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25436 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25438 * facemenu.el (list-colors-callback): New defvar.
25439 (list-colors-redisplay): New function.
25440 (list-colors-display): Install list-colors-redisplay as the
25441 revert-buffer-function. (Bug#14063)
25443 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25445 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25446 and suffixes don't overlap (bug#14061).
25448 * case-table.el: Use lexical-binding.
25449 (case-table-get-table): New function.
25450 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25452 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25454 * progmodes/subword.el: Add `superword-mode' to do word motion
25455 over symbol_words (parallels and leverages `subword-mode' which
25456 does word motion inside MixedCaseWords).
25458 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25460 * eshell/em-unix.el: Move su and sudo to...
25461 * eshell/em-tramp.el: ...Eshell tramp module.
25463 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25465 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25466 Change return value to be a sexp. Delay `get-buffer' to after
25467 restoring the desktop (bug#13951).
25469 2013-03-26 Leo Liu <sdl.web@gmail.com>
25471 * register.el: Move semantic tag handling back to
25472 cedet/semantic/senator.el. (Bug#14052)
25474 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25476 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25477 into the prompt either (bug#13963).
25479 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25481 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25482 part of "(error-foo)".
25484 2013-03-24 Juri Linkov <juri@jurta.org>
25486 * replace.el (list-matching-lines-prefix-face): New defcustom.
25487 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25488 `occur-engine' if `face-differs-from-default-p' returns t.
25489 (occur-engine): Add `,' inside backquote construct to evaluate
25490 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25491 Pass `prefix-face' to the functions `occur-context-lines' and
25492 `occur-engine-add-prefix'.
25493 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25494 `prefix-face' and propertize the prefix with `prefix-face'.
25497 2013-03-24 Leo Liu <sdl.web@gmail.com>
25499 * nxml/rng-valid.el (rng-validate-while-idle)
25500 (rng-validate-quick-while-idle): Guard against deleted buffer.
25503 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25504 is the last entry in kill-buffer-hook.
25506 * files.el (kill-buffer-hook): Doc fix.
25508 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25510 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25511 Make it safe-local.
25513 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25515 2013-03-23 Leo Liu <sdl.web@gmail.com>
25517 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25520 * nxml/rng-valid.el (rng-validate-mode)
25521 (rng-after-change-function, rng-do-some-validation):
25522 * nxml/rng-maint.el (rng-validate-buffer):
25523 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25524 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25525 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25526 (nxml-extend-after-change-region): Use with-silent-modifications.
25528 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25531 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25532 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25533 timer-idle-list. (Bug#13999)
25535 2013-03-23 Juri Linkov <juri@jurta.org>
25537 * info.el (info-index-match): New face.
25538 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25539 main pattern and add text properties with the new face to matches
25540 in index entries relative to the beginning of the index entry.
25543 2013-03-21 Eric Ludlam <zappo@gnu.org>
25545 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25546 Inhibit read only while inserting objects.
25548 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25550 * progmodes/cfengine.el: Update docs to mention
25551 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25552 symbol motion. Remove "_" from the word syntax.
25554 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25556 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25557 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25559 2013-03-20 Juri Linkov <juri@jurta.org>
25561 * info.el (Info-next-reference-or-link)
25562 (Info-prev-reference-or-link): New functions.
25563 (Info-next-reference, Info-prev-reference): Use them.
25564 (Info-try-follow-nearest-node): Handle footnote navigation.
25565 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25567 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25569 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25570 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25572 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25574 Suppress unnecessary non-ASCII chatter during build process.
25575 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25576 (batch-skkdic-convert): Suppress most of the chatter.
25577 It's not needed so much now that machines are faster,
25578 and its non-ASCII component was confusing; see Dmitry Gutov in
25579 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25581 2013-03-20 Leo Liu <sdl.web@gmail.com>
25583 * ido.el (ido-chop): Fix bug#10994.
25585 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25587 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25589 (whitespace-color-on, whitespace-color-off):
25590 Use `font-lock-fontify-buffer' (Bug#13817).
25592 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25594 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25595 remapping in mode-line.
25596 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25598 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25600 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25601 value for `whitespace-line' face (Bug#13875).
25602 (whitespace-font-lock-keywords): Change description.
25603 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25604 the constructed keywords instead.
25605 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25607 2013-03-19 Leo Liu <sdl.web@gmail.com>
25609 * progmodes/compile.el (compilation-display-error): New command.
25610 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25613 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25615 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25617 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25619 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25621 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25623 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25625 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25626 * net/tramp-gvfs.el (top):
25627 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25628 (tramp-handle-shell-command): Use it.
25629 (tramp-dissect-file-name): Raise an error when hostname is a
25630 method name, and neither method nor user is specified.
25632 * net/trampver.el: Update release number.
25634 2013-03-18 Leo Liu <sdl.web@gmail.com>
25636 Make sure eldoc can be turned off properly.
25637 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25639 (eldoc-display-message-p): Revert last change.
25640 (eldoc-display-message-no-interference-p)
25641 (eldoc-print-current-symbol-info): Tweak.
25643 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25645 * doc-view.el (doc-view-new-window-function): Check the new window
25646 overlay's display property instead the char property of the
25647 buffer's first char. Use `with-selected-window' instead of
25648 `save-window-excursion' with `select-window'.
25649 (doc-view-document->bitmap): Check the current doc-view overlay's
25650 display property instead the char property of the buffer's first char.
25652 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25654 Automate the build of ja-dic.el (Bug#13984).
25655 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25656 from the input, rather than assume that it's been done for us by the
25657 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25658 the current date into a ja-dic.el comment, as that complicates
25659 regression testing.
25661 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25663 * whitespace.el: Fix double evaluation.
25664 (whitespace-space, whitespace-hspace, whitespace-tab)
25665 (whitespace-newline, whitespace-trailing, whitespace-line)
25666 (whitespace-space-before-tab, whitespace-indentation)
25667 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25669 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25670 (whitespace-color-on): Use a single font-lock-add-keywords call.
25671 Fix double-evaluation of face variables.
25673 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25675 * net/tramp-adb.el (tramp-adb-parse-device-names):
25676 Use `start-process' instead of `call-process'. Otherwise, the
25677 function might be blocked under MS Windows. (Bug#13299)
25679 2013-03-17 Leo Liu <sdl.web@gmail.com>
25681 Extend eldoc to display info in the mode-line. (Bug#13978)
25682 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25683 (eldoc-mode-line-string): New variable.
25684 (eldoc-minibuffer-message): New function.
25685 (eldoc-message-function): New variable.
25686 (eldoc-message): Use it.
25687 (eldoc-display-message-p)
25688 (eldoc-display-message-no-interference-p):
25689 Support eldoc-post-insert-mode.
25691 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25692 (eval-expression): Run it.
25694 2013-03-17 Roland Winkler <winkler@gnu.org>
25696 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25697 strings in the list of return values.
25699 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25701 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25702 radix before checking for HMS forms.
25704 2013-03-16 Leo Liu <sdl.web@gmail.com>
25706 * progmodes/scheme.el: Add indentation and font-locking for λ.
25709 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25711 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25712 token before point (bug#13942).
25714 2013-03-16 Leo Liu <sdl.web@gmail.com>
25716 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25718 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25720 * startup.el (command-line-normalize-file-name): Fix handling of
25721 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25722 <xfq.free@gmail.com> in
25723 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25725 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25727 Sync with Tramp 2.2.7.
25729 * net/trampver.el: Update release number.
25731 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25733 * doc-view.el: Fix bug#13887.
25734 (doc-view-insert-image): Don't modify overlay associated to
25735 non-live windows, and implement horizontal centering of image in
25736 case it's smaller than the window.
25737 (doc-view-new-window-function): Force redisplay of new windows on
25740 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25742 * saveplace.el (save-place-alist-to-file): Don't sort
25743 `save-place-alist', just pretty-print it (bug#13882).
25745 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25747 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25748 Check whether `default-file-name-coding-system' is bound.
25749 It isn't in XEmacs.
25751 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25753 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25754 backquotes for `obsolete' (bug#13929).
25756 * international/mule.el (find-auto-coding): Include file name in
25757 obsolescence warning (bug#13922).
25759 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25761 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25762 for CFEngine 3-specific indentation.
25763 (cfengine3-indent-line): Use it. Fix up category regex.
25764 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25766 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25768 * type-break.el (type-break-file-name):
25769 * textmodes/remember.el (remember-data-file):
25770 * strokes.el (strokes-file):
25771 * shadowfile.el (shadow-initialize):
25772 * saveplace.el (save-place-file):
25773 * ps-bdf.el (bdf-cache-file):
25774 * progmodes/idlwave.el (idlwave-config-directory):
25775 * net/quickurl.el (quickurl-url-file):
25776 * international/kkc.el (kkc-init-file-name):
25777 * ido.el (ido-save-directory-list-file):
25778 * emulation/viper.el (viper-custom-file-name):
25779 * emulation/vip.el (vip-startup-file):
25780 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25781 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25783 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25785 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25786 * language/thai-word.el: Switch to UTF-8.
25788 See ChangeLog.16 for earlier changes.
25790 ;; Local Variables:
25794 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25796 This file is part of GNU Emacs.
25798 GNU Emacs is free software: you can redistribute it and/or modify
25799 it under the terms of the GNU General Public License as published by
25800 the Free Software Foundation, either version 3 of the License, or
25801 (at your option) any later version.
25803 GNU Emacs is distributed in the hope that it will be useful,
25804 but WITHOUT ANY WARRANTY; without even the implied warranty of
25805 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25806 GNU General Public License for more details.
25808 You should have received a copy of the GNU General Public License
25809 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.